Start a workflow from the switcher

This commit is contained in:
Ian Gulliver
2026-10-16 11:00:09 -07:00
parent db58d76837
commit eb0c80a645
12 changed files with 383 additions and 223 deletions
+3 -1
View File
@@ -185,7 +185,7 @@ export interface paths {
};
get: operations["listTasks"];
put?: never;
/** @description Creates the task's branch and worktree from the project's default branch. */
/** @description Creates the task's branch and worktree from the project's default branch, or with workflow, starts a run of that workflow from it. */
post: operations["createTask"];
delete?: never;
options?: never;
@@ -978,6 +978,8 @@ export interface components {
};
TaskCreate: {
title: string;
/** @description The name of a saved workflow to run instead of creating one task with no agent: each stage with no after stages becomes its own task, titled "<title>: <stage>", with the title as the run's brief. The response is the first of those tasks. */
workflow?: string;
};
WorkflowSummary: {
name: string;