Commit Graph

15 Commits

Author SHA1 Message Date
395c55b6b0 feat: enrich AI requests with scene context and project root path 2026-06-15 14:31:23 +08:00
b1ea2e6474 fix: improve AI response JSON parsing robustness 2026-06-15 14:06:32 +08:00
7b3ad95549 fix: accumulate streaming AI text parts instead of replacing 2026-06-15 14:00:48 +08:00
f346f8d568 perf: use direct opencode binary path instead of npx 2026-06-15 12:30:57 +08:00
c2a9fcdb2e fix: conditionally enable shell on Windows for npx spawn calls 2026-06-15 12:20:12 +08:00
78208cd4b1 refactor: parse opencode JSON stream output directly, remove extra session list call, increase timeout to 60s 2026-06-15 12:02:40 +08:00
525fa5ef8f fix: add shell:true to spawn calls for cross-platform npx compatibility 2026-06-15 11:42:31 +08:00
a34f3cf240 fix: prevent double response with responded guard in spawn handlers 2026-06-15 11:36:50 +08:00
119b8201bb fix: use npx opencode instead of direct bin path, add spawn error handling 2026-06-15 11:33:34 +08:00
0aac429908 refactor: AI session managed server-side, sessionId returned from API 2026-06-15 11:23:14 +08:00
33357650c7 feat: AI assistant panel, editor improvements, vite and package config 2026-06-15 10:24:27 +08:00
c6afeb2691 chore: vite config update 2026-06-14 20:43:34 +08:00
59f6956b50 chore: editor store, graph, and vite config updates 2026-06-14 20:38:12 +08:00
3b4c6d7024 feat: P3 - visual scenario editor with Vue Flow
- editor/: stand-alone Vite multi-page app for visual scenario editing
- editor/components/SceneGraph.vue: Vue Flow graph with scene nodes, branch/default/QTE edges
- editor/components/NodeEditor.vue: right panel editing video/subtitle paths, choices, QTE params
- editor/components/PreviewPanel.vue: embedded video player previewing selected scene
- editor/composables/useGraphEditor.ts: bidirectional graph<->JSON sync
- editor/App.vue: toolbar (new scene, import/export JSON, load demo, start scene selector)
- @vue-flow/core|background|controls: graph visualization dependencies
- vite.config.ts: multi-page build (main + editor)
- ROADMAP: mark P3 as completed
2026-06-07 21:38:08 +08:00
aeb6dc46a4 init 2026-06-07 13:50:05 +08:00