feat: release 1.5.0 — Build Scene 3D blockout composer + 1 scene : N shot clips

Build Scene (/build-scene): three.js + mannequin-js blockout viewport ported
from open-media, with per-session compositions (origin='scene' keeps rails
separate), agent shot_* tools as the only toolset for that surface, viewport
toolbar, keyframe motion + camera timeline with 60s video export, and
captures usable as project reference images.

Scene to Clips: clips table (1 scene : N renderable shots), coverage agent
breaks scenes into shots with full dialogue/action allocation, script
generation stays faithful to the screenplay (verbatim dialogue, content-
derived durations, chunked + durable inserts), video pipeline re-scoped to
clips (enqueue, continue-from, export, drafts), Script/Video UI clip-first
(#N.M labels, per-scene Break Into Shots scoped to one scene).

Agent loop: lean ReAct discipline with fail-streak escalation and budget
nudge; policy treats explicit user commands as permission; Build Scene tool
scope enforced mechanically; document + video attachments feed the VLM.
This commit is contained in:
Benjiyaya
2026-09-11 18:05:21 +08:00
parent f8faa72653
commit ce0b4e1983
90 changed files with 12482 additions and 913 deletions
@@ -33,16 +33,17 @@ class QueueManager:
kind: str,
workflow_id: int | None = None,
scene_id: int | None = None,
clip_id: int | None = None,
payload: dict[str, Any] | None = None,
) -> dict[str, Any]:
conn = get_db(config.settings.db_path)
try:
cur = conn.execute(
"""
INSERT INTO jobs (project_id, scene_id, kind, workflow_id, status, payload_json)
VALUES (?, ?, ?, ?, 'pending', ?)
INSERT INTO jobs (project_id, scene_id, clip_id, kind, workflow_id, status, payload_json)
VALUES (?, ?, ?, ?, ?, 'pending', ?)
""",
(project_id, scene_id, kind, workflow_id, json.dumps(payload or {})),
(project_id, scene_id, clip_id, kind, workflow_id, json.dumps(payload or {})),
)
conn.commit()
row = conn.execute("SELECT * FROM jobs WHERE id = ?", (cur.lastrowid,)).fetchone()