Commit Graph
108 Commits
Author SHA1 Message Date
leeferandmultica-agent e19ca28423 HEL-892: add source-bound SDPose video documentation
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 14:41:12 +08:00
leeferandmultica-agent 23f656c7bd HEL-892: document Gemma saved state against core 0.21.0 and frontend 1.43.18
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 13:47:59 +08:00
leeferandmultica-agent 8954658301 HEL-892: document fixed grid merge and split parameters
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 13:16:15 +08:00
leeferandmultica-agent 011b8e07b3 HEL-892: document Qwen background removal and simplify eleven workflow summaries
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 12:43:30 +08:00
leeferandmultica-agent c43fbe53f6 HEL-892: document Qwen image editing with pinned subgraph and comparer evidence
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 11:53:05 +08:00
leeferandmultica-agent 7cdb28590b HEL-892: distinguish numeric UI edit steps from schema bounds
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 10:54:28 +08:00
leeferandmultica-agent 44ede92551 HEL-892: document Qwen prompt subgraph saved scopes and override chains
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 10:48:19 +08:00
leeferandmultica-agent 885602848b HEL-892: document ControlNet sample with immutable source and branch evidence
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 10:08:01 +08:00
leeferandmultica-agent 81e73d7163 HEL-892: document two Qwen ASR graphs with pinned saved-field evidence
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 09:41:17 +08:00
leeferandmultica-agent 234d9d2e28 HEL-892: document video separation and image reel fields with pinned sources
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 09:12:51 +08:00
leeferandmultica-agent 238d84abf6 HEL-892: document two audio workflows with pinned definitions and protected upgrades
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 08:42:30 +08:00
leeferandmultica-agent 1470db4053 HEL-892: show source-bound Chinese H3 parameter definitions
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 08:17:25 +08:00
leeferandmultica-agent 9ffee8a66c HEL-892: add pinned H3 loader decoder and video reference contracts
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 07:45:59 +08:00
leeferandmultica-agent af7a094aa3 HEL-892: pin core0.33 first-group saved-state contracts and fail-closed diagnostics
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 07:19:30 +08:00
leeferandmultica-agent 5f235dbbb4 HEL-892: add pinned H3 saved-state reference conversion
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 06:47:51 +08:00
leeferandmultica-agent 638c59035f HEL-892: add pinned frontend 1.41.20 grid reference conversion
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 06:15:35 +08:00
leeferandmultica-agent ca8e48f074 HEL-892: pin Scail loader reference and bound legacy alias provenance
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 05:48:52 +08:00
leeferandmultica-agent d4d00cb1f1 HEL-892: pin VideoInfoLoaded entity schema and typed root alias composition
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 05:24:56 +08:00
leeferandmultica-agent efe68ecd98 HEL-892: add opt-in pinned root Set/Get reference projection
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 04:57:59 +08:00
leeferandmultica-agent ab4e47e662 HEL-892: pin bounded VHS combine and video load reference contracts
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 04:11:19 +08:00
leeferandmultica-agent 9fb77d5360 HEL-892: pin AudioCrop and GuHai split reference contracts
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 03:44:25 +08:00
leeferandmultica-agent ba911dc907 feat(HEL-892): pin mixed core audio separation reference contract
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 03:15:40 +08:00
leeferandmultica-agent 8ed420ebac feat(HEL-892): add pinned MP3 and mixed LayerStyle reference profiles
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 02:32:15 +08:00
leeferandmultica-agent bbc9696394 feat(HEL-892): audit library reference profiles and add bounded Qwen ASR contract
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 01:53:41 +08:00
leeferandmultica-agent 2b6321c538 HEL-892: add pinned case04 saved-state serialization contract
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 01:29:37 +08:00
leeferandmultica-agent 7d4e3941ed HEL-892: add explicit PreviewAny and promoted scalar reference conversion
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 00:54:36 +08:00
leeferandmultica-agent 1f779d53c4 HEL-892: fold pinned Primitive strings and project scoped subgraph boundaries
Co-authored-by: multica-agent <github@multica.ai>
2026-10-30 00:20:48 +08:00
leeferandmultica-agent 28d05b4dc3 HEL-892: add pinned controlnet aux reference widget conversion
Co-authored-by: multica-agent <github@multica.ai>
2026-10-29 23:48:20 +08:00
leeferandmultica-agent d3c8ab1238 HEL-892: add bounded UI widget serialization and Reroute reference conversion
Co-authored-by: multica-agent <github@multica.ai>
2026-10-29 23:28:15 +08:00
leeferandmultica-agent f62786f4a0 HEL-892: pin subtitle and advanced audio reference protocols
Co-authored-by: multica-agent <github@multica.ai>
2026-10-29 22:51:08 +08:00
leeferandmultica-agent b01809cf8c HEL-892: apply user exclusion to the 155-workflow delivery scope
Co-authored-by: multica-agent <github@multica.ai>
2026-10-29 22:15:30 +08:00
leeferandmultica-agent ddf56714ad HEL-892: bind supplied API companions with provenance and fail-closed import
Co-authored-by: multica-agent <github@multica.ai>
2026-10-29 22:00:41 +08:00
leeferandmultica-agent d927925000 HEL-892: review remaining named fields and inventory UI conversion prerequisites
Co-authored-by: multica-agent <github@multica.ai>
2026-10-28 01:24:09 +08:00
leeferandmultica-agent 1390489289 HEL-892: review remaining source semantics and prepare frontend export comparisons
Co-authored-by: multica-agent <github@multica.ai>
2026-10-28 01:00:21 +08:00
leeferandmultica-agent 8c666d2220 HEL-892: add source-bound partial reviews and offline conversion differential checks
Co-authored-by: multica-agent <github@multica.ai>
2026-10-28 00:21:15 +08:00
leeferandmultica-agent 122c51e47e HEL-892: correct stale output mapping assertions after audio support
Co-authored-by: multica-agent <github@multica.ai>
2026-10-28 00:07:29 +08:00
leeferandmultica-agent 3cf6ae4241 HEL-892: add offline workflow catalogue and conservative conversion framework
Co-authored-by: multica-agent <github@multica.ai>
2026-10-27 23:39:54 +08:00
施工员andmultica-agent 2689f5354a feat(comfy): H3 图生视频支持首尾帧——可选尾帧插槽、接线克隆 LoadImage 与改名迁移 (HEL-671)
Co-authored-by: multica-agent <github@multica.ai>
2026-10-04 13:40:11 +08:00
总工andmultica-agent 2ed9d25c24 feat(workflows): import preflight, real test runs and media groups (HEL-643)
- L2 连接核查: /object_info preflight (node existence + combo values) with
  5-min cache + manual refresh; analyze accepts endpoint_id, saved workflows
  get POST /{id}/check; unreachable degrades to 无法核查, never blocks saving
- 测试工作流: jobs.origin='workflow_test' rides the real queue → ComfyUI →
  outputs pipeline; only a downloadable, correctly-typed output counts as a
  pass; dry-run refused; repeat clicks reuse the in-flight job; artifacts
  isolated under assets/_workflow_test/{id}; retention keeps newest 5;
  clear-tests + delete-workflow cascade cleanup; tasks page shows a 测试 badge
- Media groups: Autogrow detection generalized to video/audio lists
  (ref_videos/ref_audios etc.), patcher clones/rewires per media family,
  validation per list kind; entries appear only for actually-wired slots;
  MiniMax H3 Ref2VA official-limit hints keyed off the node class
- 25 new backend tests (preflight / workflow-test / media-groups) against the
  fake ComfyUI; fake server gains /object_info + drop_outputs knobs

Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 19:07:20 +08:00
施工员andmultica-agent 319c7b049b fix: nine review follow-ups for connections & workflow foundation (HEL-619)
1. .form-col border-box — 384px is the outer width (a6 spec)
2. import preview counts all analyzed inputs, matching inline/studio counts
3. SSRF guard also runs on endpoint save (create + patch)
4. schemeless/garbled URL is a 400 format error, not a DNS-classified probe failure
5. ComfyUI health probe timeout 120s → 5s (matches the test probe)
6. workflow delete refuses (409) while pending/running jobs use it; delete errors surfaced in the UI
7. agent_llm_assignments: per-role incremental merge server-side + single-role delta payloads
8. test_shell_tool now portable (interpreter on PATH; PYTHON+approval instead of ffprobe)
9. test_video_continue pauses the queue singleton via monkeypatch (no leak into test_workbench)

Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 16:13:00 +08:00
总工andmultica-agent e3bfe771af feat(workflows): manual output-node mapping for unknown custom outputs (HEL-638)
Unknown custom output nodes are never auto-typed by class-name semantics;
they stay pending until the user designates the real output node(s) and
media type. Picking a usage alone no longer enables a workflow, reanalyze/
migration/field edits never overwrite a user mapping, generation harvests
only the mapped nodes from ComfyUI history, and media-type mismatches or
missing node results fail for real instead of faking completion.

Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 14:44:37 +08:00
总工andmultica-agent e6f761f8c8 feat(workflows): 五类用途识别与导入确认闭环 (HEL-636)
- 判型器 classify_usage:按输出节点(sink 检测)与被消费图片槽判定
  文生图/图生图/文生视频/图生视频/参考图生视频,不依赖文件名/模型名/
  固定节点 ID;歧义(单散装图+视频、同图双输出)与无输出给中文说明
- 参考图组泛化:任意 <group>.<prefix>N 连续编号且均接图源的输入成组
  (MiniMaxH3 特判仅剩标签美化);patcher 支持通用组回填
- workflows 表新增 usage/usage_source,幂等迁移回填;判不出的存量行
  停用待确认;kind 语义收窄为输出媒体,历史无损
- 导入改两步向导:分析→预览(判定依据/输出节点/媒体槽角色可改/
  参数预览/警告)→确认保存;usage_source=user 的纠正不被重分析覆盖
- 生成页按 usage 过滤;待确认工作流不进生成页且提交被拒
- 新增 test_usage_classifier / test_workflow_import_confirm;
  两个旧测试夹具补输出节点以匹配新守卫

Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 12:13:33 +08:00
30e8e85766 feat(studio): 三种图片输入工作流与最多九张参考图 (HEL-633)
- 解析:H3 参考生视频 ref_images 自增输入收拢为 1–9 张有序参考图组;
  图生视频首/尾帧、Qwen 编辑输入图按真实连线识别,未连线不出槽位;
  Qwen 编辑模式暴露 resolution
- 打补丁:按张数克隆/复用/删除 LoadImage 并按序接线 ref_image_0..N-1
- 校验:参考图上限 9、至少 1 张、格式/存在性;必填图片槽位
- 工作流体检:缺 class_type / 断链 / 采样器无模型 → 导入时中文告警,
  生成接口与 worker 拒绝执行并提示重新导出
- 前端:RefImageGrid(逐张添加/预览/替换/删除/序号/超限整批拒绝)、
  MediaSlot 横排已选态、分辨率字段、损坏工作流提示、连接页告警标签
- 测试:三份真实 JSON + 1/4/9 张参考图全链路

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 09:16:17 +08:00
60c043db7c fix(HEL-627): 补齐真实工作流参数并修正虚假完成
- 解析 ResolutionSelector 比例/总像素、KSampler/BasicScheduler 降噪,附带 ComfyUI 取值范围
- 已导入的自动识别工作流读取时按最新规则重新解析,无需重导
- 提交前后端校验参数(中文原因),非法值 400 拒绝不入队
- 任务新增 phase / comfy_prompt_id:连接中→已接收(前方排队)→执行中→保存中→完成
- 空产出、队列与历史都丢失、执行中断均判失败;Dry-run 结果标为占位,不算完成
- ComfyUI 缺模型报错写明缺哪个文件
- 生图/生视频/任务页统一用 jobStatusInfo 展示真实状态,结果区支持复用参数

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 23:05:34 +08:00
0031a897d7 fix(HEL-623): split dual-prompt text encoders; positive wiring wins; detect duration via expression
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 18:57:00 +08:00
shigongyuan-agentandmultica-agent 063a3c7063 fix: untagged ComfyUI workflows expose inputs; studio generate always gives feedback (HEL-623)
Root cause: parse_dynamic_inputs only recognised (Input:role) title tags.
A workflow exported straight from ComfyUI has default titles, so its
input_schema was empty and the studio form rendered no prompt box; the
generate click then enqueued (or was blocked) with no toast at all.

- parser: untagged fallback detects prompt/negative (via wiring to
  sampler positive/negative), seed/steps/cfg, latent width/height/batch,
  numeric primitives, LoadImage/LoadImageMask/video/audio slots; only the
  prompt is required; entries carry auto=true
- patcher: "<nodeId>@<widget>" keys target one widget on multi-widget
  nodes, never overwrite linked inputs; LoadImageMask uploads like images
- workflows API re-derives an empty stored schema (old imports fixed
  without re-import); smart_fill sort accepts subgraph/field ids
- studio: blocked submit toasts the reason and scrolls to the field;
  success toasts "已提交"; submit errors show the API detail; job.failed
  for this window's jobs toasts the reason; no-param workflows show a
  note + disabled prompt box; auto-detected params show a note
- connections import: chip shows node count, toast reports real params
- Chinese messages for ComfyUI rejection/upload/timeout/execution errors
  and playground workflow-not-found/disabled
- tests: native Qwen t2i / Qwen edit+mask / untagged H3 fixtures, patch
  keys, backfill, full fake-ComfyUI chain, Chinese rejection

Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 18:25:41 +08:00
总工andmultica-agent 06b15dc3b6 feat: five-stage creation workbench (HEL-614)
- 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>
2026-09-28 13:30:19 +08:00
shigongyuan-agentandmultica-agent cdd6eba8ba feat: five named agents independent chat + custom skill management (HEL-613)
Backend:
- agents_registry: five AIGC roles (剧本创作/视觉设计/分镜设计/素材资产/镜头脚本)
  with zh personas, agent-chat mode text, and llm_role mapping onto the
  models-page five-role binding surface (story/style/script/assets/video)
- agent_sessions.agent_key column + migration; sessions filter/exclusion;
  named replies stamped with the owner agent's display name
- prompt assembly: per-agent persona + AGENT CHAT mode section replace the
  generic sandbox text; mentions section suppressed for agent chats
- main loop routes the LLM through the agent's bound role
- skill admin surface: skill_overrides/skill_bindings/skill_versions tables,
  PUT/PATCH/DELETE /api/agent/skills/{name} + bindings + versions/restore;
  effective rule = global enable ∩ enabled per-agent binding; builtin skills
  seeded to all five agents at upgrade; read_skill/list_skills gated for
  named-agent sessions

Frontend:
- /agents is now the three-column A-darkroom page (agent list + skill library
  / chat with reused AgentChat / skill manager with editor, assignment
  capsules, version history + rollback); per-agent model select synced with
  the models page; narrow breakpoint turns the manager into a drawer
- legacy ?project=&task= deep links still route into the canvas flow
- i18n keys added to all 7 locales

Tests: tests/test_agent_roles.py + tests/test_skill_admin.py (27 cases)
Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 11:28:26 +08:00
shigongyuan-agentandmultica-agent df84c22143 feat: standalone image/video studio windows + generation tasks page (HEL-612)
- /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>
2026-09-28 09:47:48 +08:00
shigongyuan-agentandmultica-agent 1cf9188955 feat: multi-ComfyUI connections + workflow foundation (HEL-611)
Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 00:03:05 +08:00