fix(vscode): prevent shell output from blanking webview - #11402
Merged
Conversation
marius-kilocode
enabled auto-merge
June 18, 2026 08:19
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (4 files)
The fix is minimal and targeted: removing the Previous Review SummaryCurrent summary above is authoritative. Previous snapshots are kept for context only. Previous reviewStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Reviewed by glm-5.2-20260616 · 219,154 tokens Review guidance: REVIEW.md from base branch |
chrarnoldus
approved these changes
Jun 18, 2026
This was referenced Jun 19, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
fix(vscode): prevent shell output from blanking webview
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.
Agent Manager can turn into a blank gray editor after expanding a completed Shell tool call in a large session. The failure was reproduced by opening a long Agent Manager transcript, expanding a Shell output pane, and observing the webview stop painting while Agent Manager extension-host polling continued. Because the renderer fails below the application JavaScript, the webview console may show no exception.
The polished Shell preview from #11146 renders the command and output as Shiki-highlighted DOM. Its final restore-motion commit also enabled
BasicToolcontent-height animation for Shell.BasicToolanimates the details region from0pxtoauto. For a large highlighted output, Chromium repeatedly recalculates and lays out the full Shiki span tree and surrounding transcript during the animation. In an already large Agent Manager session, that layout pressure can make the webview renderer unresponsive, leaving only VS Code's gray webview background.Disable the content-height animation for Shell only. The command and output remain highlighted, copy and open-in-editor controls remain available, and the chevron still animates. Other tool previews retain their existing motion.