From 4a1f1166ac27b9016a4e7b4d1468c2410ac1213d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 16 Oct 2026 14:15:27 +0200 Subject: 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 --- docs/superpowers/specs/2026-10-16-text-daemon-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/superpowers/specs/2026-10-16-text-daemon-design.md') 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}]` | -- cgit v1.2.3