Skip to content

feat(acp): render child diff and terminal content - #211

Merged
danielkov merged 2 commits into
mainfrom
fix/184-child-tool-content
Sep 13, 2026
Merged

feat(acp): render child diff and terminal content#211
danielkov merged 2 commits into
mainfrom
fix/184-child-tool-content

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Render captured child diffs and terminal output on the existing parent subagent, prompt, or fork tool 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.

@danielkov
danielkov enabled auto-merge (squash) September 13, 2026 16:13

@kit-code-agent kit-code-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. The changes look good to merge.

@danielkov
danielkov merged commit 9eba7f7 into main Sep 13, 2026
6 checks passed
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.

Render diff and terminal tool content from children

1 participant