fix(vscode): improve subagent transcript performance - #13847
Merged
Merged
Conversation
marius-kilocode
enabled auto-merge
September 7, 2026 07:54
chrarnoldus
approved these changes
Sep 7, 2026
This was referenced Sep 8, 2026
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.
What Problem This Solves
Live subagent transcripts in sidebar-opened editor tabs and Agent Manager became slow with many parallel agents. Unrelated child updates could reload the selected inspector, and shared-board tool output was rendered even while collapsed.
Why This Change Was Made
The selected Agent Manager child now reacts only to selection changes. Opening many child tabs is batched, cached child transcripts reconcile instead of replacing, and unchanged close-state updates do not invalidate the reactive map. Collapsed board output defers Markdown rendering and skips duplicate formatted-output work.
User Impact
Switching and following live subagent traces stays responsive with many agents. Reading older output preserves scroll position during incoming updates. Sidebar editor tabs and Agent Manager continue to share one
kilo servebackend.Evidence
kilo serveFocused tests: 108 passed. Typecheck, lint, knip, and Kilo change checks passed. Manual self-test verified live scrolling, resume-follow, board expansion, multiple sidebar editor tabs, and one shared backend process.