⚡ Sangsakala Proxy 🏠 Home
Skip to content

Support OSC 7501 agent-status reporting for herdr-app/herdr-core #5320

Open

Description

@YousefHadder

Feature request

Please add native OSC 7501 (Program Status Protocol) reporting to Copilot CLI so terminals such as the new Herdr app can display Copilot sessions and track their activity.

Current behavior

Copilot CLI launches and works inside a Herdr-managed terminal, but does not appear in the Agents sidebar.

For the running Copilot terminal, hc get <terminal> reports:

{
  "reported": false,
  "status": null
}

Codex running in the same Herdr instance appears in the sidebar and reports:

{
  "reported": true,
  "status": {
    "app": "codex",
    "state": "idle"
  }
}

This remains reproducible when launching Copilot manually from a Herdr terminal or through Herdr’s agent-launch menu.

Expected behavior

Copilot reports its identity and lifecycle state through OSC 7501, allowing Herdr to distinguish:

  • Idle and ready for input
  • Working
  • Waiting for permission or user input
  • Finished or errored

Status reporting should be observational only and should not change permission handling.

Steps to reproduce

  1. Open the new Herdr desktop app backed by herdr-core.
  2. Launch copilot inside a Herdr terminal.
  3. Observe that Copilot runs but is absent from the Agents sidebar.
  4. Run hc get <terminal> and observe that reported is false and status is null.
  5. Launch Codex in another Herdr terminal and observe that it reports status and appears in the sidebar.

Environment

  • OS: macOS, Apple Silicon
  • Copilot CLI: 1.0.106-2
  • herdr-core: 0.1.16

Context

This concerns the new herdr-app / herdr-core, not the older Herdr TUI. The new core relies on program-emitted OSC 7501 reports rather than screen scraping.

Herdr’s protocol overview:
https://herdr.dev/core/#status-from-the-source

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions