Generation Log
+实时日志
+显示分析和生成过程的完整输出
+From d00086a70b640db3acb68ed9f134a3666eac241c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E7=82=8E?= <635735027@qq.com> Date: Thu, 16 Apr 2026 22:23:33 +0800 Subject: [PATCH] feat: add sg_scene_generator.html with dual-panel UI and settings modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add self-contained HTML page for the Scene Skill Generator frontend: - Dual-column glass-morphism layout matching service-console style - Left sidebar: status card, sourceDir input with analyze button, sceneId/sceneName inputs, settings button, generate button - Right panel: streaming log display with SSE event rendering - Settings modal: outputRoot, lessons, llmBaseUrl, llmModel fields - JavaScript: connects to http://127.0.0.1:3210, implements analyze() via fetch POST /analyze, generate() via fetch POST /generate with SSE stream reading, settings modal open/close - Rust test verifying HTML file exists and contains required elements 🤖 Generated with [Qoder][https://qoder.com] --- .../scene-generator/sg_scene_generator.html | 373 ++++++++++++++++++ tests/scene_generator_html_test.rs | 30 ++ 2 files changed, 403 insertions(+) create mode 100644 frontend/scene-generator/sg_scene_generator.html create mode 100644 tests/scene_generator_html_test.rs diff --git a/frontend/scene-generator/sg_scene_generator.html b/frontend/scene-generator/sg_scene_generator.html new file mode 100644 index 0000000..51025c4 --- /dev/null +++ b/frontend/scene-generator/sg_scene_generator.html @@ -0,0 +1,373 @@ + + +
+ + +输入场景目录路径,自动提取 scene-id 和 scene-name,一键生成 skill 包并实时查看进度。
+Generation Log
+显示分析和生成过程的完整输出
+