Skip to content

Add sub-agent resume rows to Claude transcripts - #533

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/bright-kestrel-5c7c3950
Aug 8, 2026
Merged

Add sub-agent resume rows to Claude transcripts#533
SDSLeon merged 1 commit into
masterfrom
poracode/bright-kestrel-5c7c3950

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 8, 2026

Copy link
Copy Markdown
Owner
  • Recognize resumed sub-agent runs in the Claude adapter: task_started events that continue an earlier agent are promoted to a live resume row via a parent tool-use alias redirect, so follow-up events nest under the live row instead of the dead launch.
  • Distinguish resume rows from fresh launches in the shared contract (isSubAgentResume, subAgentType) so payloads carry resume metadata and a provider-reported agent type.
  • Render new "Agent Resume" labels in the chat transcript while keeping fresh Agent launches labeled as plain agents; classify agent-addressing tools (e.g. SendMessage) as tool calls.
  • Localize the new strings across all 12 non-English catalogs.
  • Add tests covering resume promotion, alias lifecycle, and fresh-launch vs. resume labeling.

- Add subAgentType to the runtime tool-call contract
- Emit isSubAgentResume/subAgentType from tool payloads
- Add localized Agent Resume display labels for promoted rows
- Redirect superseded-parent aliases to the live resume row
@SDSLeon
SDSLeon merged commit 82d5c92 into master Aug 8, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the poracode/bright-kestrel-5c7c3950 branch August 8, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant