You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support OSC 7501 program status in the interactive CLI #5112
Describe the feature or problem you'd like to solve
Report agent state to supporting terminals using OSC 7501.
Proposed solution
Please emit OSC 7501 Program Status Protocol reports from the interactive TUI: working, blocked (permission/question/auth), done/error, and idle, with a stable app name. Keep escape sequences out of JSON, ACP, and other machine-readable output.
When several agents run in separate terminal tabs, supporting terminals can show which are working, need input, or have finished without parsing screen text.
Example prompts or workflows
See that a background agent is still working.
Identify a tab waiting for approval or an answer.
Notice a completed or failed turn without opening every tab.
Reacted by Frank Bolero, Davor Babić, Alex Howells, Ennio Mara, Kashish Grover, Wannes Gennar, tnsholding, Sebastian Johansson, Bahawal Waraich, Trent Ogren and 10 more
+1. Claude Code added support as well: anthropics/claude-code@602df92 . It will be great to have a standard de facto way to get program status without parsing the bottom of the screen!
This appears to be resolved as of GitHub Copilot CLI v1.0.107. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.
Activity
dariopb commentedon Oct 17, 2026
+1. Claude Code added support as well: anthropics/claude-code@602df92 . It will be great to have a standard de facto way to get program status without parsing the bottom of the screen!
davorb commentedon Oct 31, 2026
This is badly needed
agh commentedon Oct 31, 2026
@mitchellh wrote about OSC 7501 here also: https://mitchellh.com/writing/program-status-osc7501
Would be fantastic to have support as it would make Copilot CLI work much better with Rex!
zhuangqh commentedon Nov 2, 2026
This is badly needed
leorochasantos commentedon Nov 2, 2026
+1 - This affects herdr-app as well
nunorbrito18 commentedon Nov 4, 2026
+1
copilot-cli-bot commentedon Nov 7, 2026
This appears to be resolved as of GitHub Copilot CLI v1.0.107. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.