aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs/2026-10-16-text-daemon-design.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 14:15:27 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 14:15:27 +0200
commit4a1f1166ac27b9016a4e7b4d1468c2410ac1213d (patch)
treeea45d6bdf3366a1acb748495ede41374210d1ec5 /docs/superpowers/specs/2026-10-16-text-daemon-design.md
parent460cd4456790092ea42a8848bb0ea517a1174fca (diff)
downloaddesktop-assistant-4a1f1166ac27b9016a4e7b4d1468c2410ac1213d.tar.gz
desktop-assistant-4a1f1166ac27b9016a4e7b4d1468c2410ac1213d.zip
Mark the errors that end a reply
Every client sees every event, so a command error from one client, such as opening a conversation another just deleted, reached a canvas watching a reply and was taken as that reply's end: the canvas stopped rendering tokens the daemon kept streaming. An error from the reply thread now carries turn: true; command errors carry none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers/specs/2026-10-16-text-daemon-design.md')
-rw-r--r--docs/superpowers/specs/2026-10-16-text-daemon-design.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/superpowers/specs/2026-10-16-text-daemon-design.md b/docs/superpowers/specs/2026-10-16-text-daemon-design.md
index 58d0240..223af38 100644
--- a/docs/superpowers/specs/2026-10-16-text-daemon-design.md
+++ b/docs/superpowers/specs/2026-10-16-text-daemon-design.md
@@ -102,7 +102,7 @@ Outbound:
| `token` | `delta` |
| `tool` | `name`, `done` (false when it starts, true when it returns) |
| `done` | `id`: the conversation the turn was saved in; `stopped`: true for a reply that was stopped |
-| `error` | `message` |
+| `error` | `message`; `turn`: true when the error ended the reply in flight, absent for a command error |
| `ctx` | `used`, `max` |
| `conversations` | `items`: `[{id, title, updated}]`, newest first |
| `conversation` | `id`, `turns`: `[{user, reply, tools}]` |