Add Start and Discuss buttons to lead suggestions

This commit is contained in:
Ian Gulliver
2026-10-17 08:10:55 -07:00
parent 62df39c5da
commit f5a495997f
16 changed files with 318 additions and 156 deletions
+5 -1
View File
@@ -218,7 +218,7 @@ export interface paths {
};
get: operations["listTasks"];
put?: never;
/** @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. */
/** @description Creates the task's branch and worktree from the project's default branch, and with prompt starts its agent, or with workflow, starts a run of that workflow from it. */
post: operations["createTask"];
delete?: never;
options?: never;
@@ -1097,6 +1097,10 @@ export interface components {
};
TaskCreate: {
title: string;
/** @description Starts the task's agent with this as its first message, in the same request. Not with workflow. */
prompt?: string;
/** @description The agent's model when prompt is given. */
model?: 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;
};