Run workflow stages with finish_stage handoffs and lead signals

This commit is contained in:
Ian Gulliver
2026-10-15 22:11:25 -07:00
parent 0c698cd3c4
commit 2eccd23a98
15 changed files with 665 additions and 256 deletions
+3 -5
View File
@@ -923,11 +923,7 @@ export interface components {
Stage: {
/** @description One line of 1 to 100 characters, unique within the workflow. */
name: string;
/**
* @description Must be the vendor that runs model (gpt-* models run on Codex, every other model on Claude Code).
* @enum {string}
*/
vendor: "claude" | "codex";
/** @description The stage agent's model, which also picks its vendor: gpt-* models run on Codex, every other model on Claude Code. */
model: string;
/** @description The stage agent's instructions. */
prompt: string;
@@ -1076,6 +1072,8 @@ export interface components {
forked_from?: string;
/** @description With forked_from: the vendor's id of the last thing the fork keeps, a message for Claude Code, a turn for Codex. */
forked_at?: string;
/** @description The stage (from 1) of the task's workflow this session runs; absent for a session outside a workflow. */
workflow_stage?: number;
};
SessionCreate: {
prompt: string;