discuss button

This commit is contained in:
Ian Gulliver
2026-10-16 09:32:07 -07:00
parent 6ad3c8715d
commit d328aa5e1f
11 changed files with 183 additions and 183 deletions
+1 -1
View File
@@ -892,7 +892,7 @@ export interface components {
/** @description The title of the item to start. */
title: string;
model?: string;
/** @description Tell the agent the human wants to talk the item through, so it asks before changing anything. */
/** @description Tell the agent the human wants to discuss the item in chat before anything is built. */
discuss?: boolean;
};
Unmerged: {
+1 -1
View File
@@ -187,7 +187,7 @@ function todoBlock(project: Project, todo: Todo | string | undefined, active: Ta
const busy = starting.has(`${project.id}\n${item.title}`);
const startButton = h("button", { disabled: busy, title: "Start a task that gets straight to work" }, busy ? "Starting…" : "Start");
startButton.onclick = () => void start(project, item, false);
const discussButton = h("button", { disabled: busy, title: "Start a task that talks it through with you before changing anything" }, "Discuss");
const discussButton = h("button", { disabled: busy, title: "Start a task that discusses it with you in chat before building anything" }, "Discuss");
discussButton.onclick = () => void start(project, item, true);
action = h("span", { class: "todo-buttons" }, startButton, discussButton);
}
+1 -1
View File
@@ -62,7 +62,7 @@ function fill(el: HTMLElement, model: string): void {
};
const startButton = h("button", { disabled: busy, title: "Start a task that gets straight to work" }, busy ? "starting…" : "start");
startButton.onclick = () => void start(false);
const discussButton = h("button", { disabled: busy, title: "Start a task that talks it through with you before changing anything" }, "discuss");
const discussButton = h("button", { disabled: busy, title: "Start a task that discusses it with you in chat before building anything" }, "discuss");
discussButton.onclick = () => void start(true);
replace(action, startButton, h("span", { class: "todo-sep" }, " · "), discussButton);
}