feat(goal-run): add multi-checkpoint goal orchestration with H5 and admin surfaces.

Persist goal runs in MySQL, bind agent runs to checkpoints, expose awaiting-approval
UX in chat, and add admin inspection routes with local verify scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-01 17:03:16 +08:00
parent 43bc8bbc2b
commit 666db0b939
47 changed files with 4417 additions and 4 deletions
+1
View File
@@ -1508,6 +1508,7 @@ export async function createAgentRun(
...(options.selectedAssetIds?.length
? { selected_asset_ids: options.selectedAssetIds }
: {}),
...(options.goalRunId ? { goal_run_id: options.goalRunId } : {}),
}),
},
{ timeoutMs: AGENT_CONNECT_TIMEOUT_MS },