Queue controls, resume, secret requests and subagent stop, as in T3 Code

Queued messages show above the composer (Q to go through them: send now,
edit in the composer, remove; alt+up edits the last). An empty enter after
an interrupt continues where the run left off and releases held messages.
Secret requests get a masked field that never touches the message box.
Running subagents the web can stop get a palette command. Adds the
diagnostics:read and providers:manage scopes for usage limits.
This commit is contained in:
Callum Alpass committed 2026-11-02 20:36:39 +11:00
1 parent 43347d1d58
commit a8e35ee83a
12 files changed
+518 -9

No files matched your search

+5
View File
@@ -1,4 +1,5 @@
import type { OrchestrationV2TurnItem, RuntimeRequestId } from "@t3tools/contracts";
import { secretRequestDisplay } from "@t3tools/client-runtime/secret-request";
/** A turn item as one line or card: the fallback for timeline event rows the web app renders specially. */
export type Block =
@@ -76,6 +77,10 @@ export function blockFor(item: OrchestrationV2TurnItem, pending: ReadonlySet<str
return { kind: "notice", id, text: item.summary, tone: item.outcome === "failed" ? "bad" : item.outcome === "completed" ? "good" : "muted" };
case "compaction":
return { kind: "notice", id, text: "context compacted", tone: "muted" };
case "secret_request": {
const display = secretRequestDisplay(item, "local");
return { kind: "notice", id, text: `🔒 ${item.label} · ${display.kind === "answered" ? display.label : "waiting for your answer"}`, tone: display.kind === "answered" ? "muted" : "warn" };
}
case "handoff":
return { kind: "notice", id, text: `handed off${item.toModel ? ` to ${item.toModel}` : ""}`, tone: "muted" };
case "checkpoint":