- backend: project_stages/stage_runs tables; /api/workbench router
(overview, run agent with confirmed-upstream context only, edit draft,
confirm, restore, script import, in-flow image/video generation via the
shared queue with source=workbench); project stats gain real
stage_confirmed/stage_status/active_jobs
- frontend: /workbench picker + /workbench/[id] five-stage page (stepper,
per-stage editors, style direction chooser, storyboard table, asset
prompt cards with in-flow generation, shot video prompts with player,
agent + task side rail); nav 创作工作台 now opens it; home entries go
through the workbench (导入剧本 skips 剧本创作); project cards show
real five-stage progress; i18n keys in all seven dictionaries
- tests: 9 backend workbench tests (flow handoff, edit/confirm/restore,
import, generation, Chinese failure states)
Co-authored-by: multica-agent <github@multica.ai>
- /image and /video pages (a3/a4): three-column layout — params (connection,
workflow, upload slots driven by declared inputs, prompt/negative/seed/
size/duration fields, dynamic params), current-task card with live SSE
progress + cancel, result grid with zoom/send-to-img2img/download, video
player with custom amber controls + first/last-frame strip, right history
with retry/delete and failure reasons
- /tasks page: both task classes summarized with source labels
(独立生图/独立生视频/Playground/创作流程), filters, retry/cancel/delete
- nav: 生图/生视频/生成任务 real pages with active-jobs badge (进行数徽章)
- playground generate accepts source (studio-image/studio-video) for origin
labeling; api.ts types follow
- parseDbTs helper: UTC-naive backend timestamps parse as UTC so elapsed/
ETA/duration math is offset-correct
- backend tests: full-chain fake-ComfyUI server — image chain, video chain
with frame uploads, retry-after-failure, delete-removes-outputs, tasks
listing; i18n zh/en/es/fr/de/ja/ko complete
Co-authored-by: multica-agent <github@multica.ai>