Skip to content

Support OSC 7501 program status in the interactive CLI #5112

Closed

Description

@maxffarrell

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.

Additional context

Prior art: Crush and Codex have merged support.

Activity

  1. dariopb commented on Oct 17, 2026

    @dariopb

    +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!

  2. davorb commented on Oct 31, 2026

    @davorb

    This is badly needed

  3. agh commented on Oct 31, 2026

    @agh

    @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!

  4. zhuangqh commented on Nov 2, 2026

    @zhuangqh

    This is badly needed

  5. leorochasantos commented on Nov 2, 2026

    @leorochasantos

    +1 - This affects herdr-app as well

  6. nunorbrito18 commented on Nov 4, 2026

    @nunorbrito18

    +1

  7. copilot-cli-bot commented on Nov 7, 2026

    @copilot-cli-bot

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions