feat(agent-manager): show CLI activity in terminal tabs and worktrees - #13645
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
Previous Review Summary (commit 4e0d3d1)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 4e0d3d1)Status: No Issues Found | Recommendation: Merge Files Reviewed (17 files)
Reviewed by grok-4.6 · Input: 117.9K · Output: 12.9K · Cached: 312.6K Review guidance: REVIEW.md from base branch |
marius-kilocode
enabled auto-merge
September 1, 2026 10:03
marius-kilocode
disabled auto-merge
September 1, 2026 10:14
iscekic
approved these changes
Sep 1, 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
Agent Manager can show Run-script progress, but an interactive Kilo CLI inside an embedded terminal can be working or waiting for input while its terminal tab and worktree still look idle.
Why This Change Was Made
Use a small, opt-in OSC status message over the existing PTY stream rather than parse screen text or depend on terminal titles. Agent Manager enables the signal for its terminals. The CLI reports idle, busy, retry, waiting, error, and done from session state and turn outcomes.
Signals refresh every five seconds and expire after fifteen seconds. Old replay output cannot leave a permanent spinner. Disconnect, disposal, and normal CLI exit clear the activity. Worktree indicators combine terminal activity with existing session and Run activity, so an idle tab cannot clear another terminal's busy state. Run/Setup status and deletion guards remain separate.
User Impact
Both the extension and the interactive CLI must include this change, and existing terminal processes must be restarted to receive the opt-in environment. A system-installed
kiloon PATH is not updated by rebuilding the extension.kilo runand--miniare unchanged. Historical sessions without an observed completed turn remain idle rather than claiming success.Evidence
Supplied screenshot, cropped to show the matching needs-input indicators without publishing model details:
Isolated self-test with a pending CLI question: