Keep subagent delivery out of assistant text

This commit is contained in:
iris committed 2026-09-13 01:05:35 -04:00
1 parent 83b113ef0f
commit cad0cbcfbe
2 files changed
+78 -4

No files matched your search

+5 -1
View File
@@ -28,7 +28,11 @@ items name the child thread and its lifecycle, and `collabAgentToolCall`
items carry the spawn prompt. The Codex translator routes a non-root
`threadId` exactly as Claude routes a `parent_tool_use_id`. The child thread
id is the subagent id on disk. An asynchronously delivered `agentMessage` is
a `PeerMessage`, not assistant text from the recipient.
a `PeerMessage`, not assistant text from the recipient. Its delta notification
does not repeat the completed item's `delivery` field, so the translator
remembers that field from `item/started` and suppresses those deltas. Letting
one into the recipient's provisional assistant row makes its next completed
message replace the combined row, visibly erasing text that Codex still has.
## Storage