perf(vscode): defer Agent Manager terminal addons - #12842
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The previous suggestion (rename the shadowed Files Reviewed (2 files)
Previous Review Summary (commit 2613ff9)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 2613ff9)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
The deferral itself looks correct: the double Files Reviewed (2 files)
Reviewed by kimi-k3 · Input: 71.9K · Output: 4.4K · Cached: 234.4K Review guidance: REVIEW.md from base branch |
…rtup-speed perf(vscode): defer Agent Manager terminal addons
The first Agent Manager terminal currently performs xterm addon initialization before the terminal can open its host or attach the shell WebSocket. This makes the first prompt wait on optional URL-link, OSC 52 clipboard, and Unicode grapheme setup.\n\nOpen and connect the xterm first, then defer those optional enhancements until after the first rendered frame. Deferred work is cancelled during terminal cleanup, and the enhancements remain enabled for normal terminal use after initialization.\n\nThis keeps the first prompt path focused on terminal creation and shell attachment while preserving the existing terminal features.