Gateway: per-watch notification switches, model list for new threads, and Ask before acting
Gateway / check (push) Successful in 9s
Gateway / image (push) Successful in 21s

This commit is contained in:
gib committed 2026-11-02 12:02:53 -05:00
1 parent a5222e14e8
commit 3cc7e40852
14 files changed
+472 -20

No files matched your search

+3
View File
@@ -14,6 +14,8 @@ export interface Push {
subtitle?: string;
body: string;
category: PushCategory;
/** True for a subagent's request, which watches can mute apart from their own threads'. */
fromSubagent?: boolean;
data: PushPayload;
/** Replaces an earlier push about the same thing on the watch. */
collapseId: string;
@@ -99,6 +101,7 @@ export class Notifier {
subtitle: project ? `${host.label} · ${project}` : host.label,
body: parent ? `Subagent ${thread.title}: ${text}` : text,
category: category(phase),
fromSubagent: parent !== undefined,
data: { hostId: host.id, threadId: thread.id, ...(requestId ? { requestId } : {}) },
collapseId: `${host.id}:${thread.id}`.slice(0, 64),
});