discuss button
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user