feat(acp): render child diff and terminal content - #211
Merged
Conversation
danielkov
enabled auto-merge (squash)
September 13, 2026 16:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Render captured child diffs and terminal output on the existing parent
subagent,prompt, orforktool card after a successful turn. Preserve content replacement semantics and reuse the bounded parent ACP projection.Closes #184.
Technical details
Child terminal IDs are scoped to the parent session and invocation. Replay preserves output order, applies the session-wide terminal payload budget, and marks incomplete captures without inventing a child process exit. Presentation does not rewrite the returned child output or terminal IDs.
V1 file snapshots use the parent's shared diff conversion. Native v2 diffs without complete before/after text and agent-owned terminals remain v2-only. Child content is projected at successful completion, not streamed live or published after failed turns.