CLI: show idle / working / needs-approval in the terminal tab title, like Codex

Feature request for product/service

Cursor CLI

Describe the request

When several agent / cursor-agent sessions run as tabs in one terminal window (Warp, iTerm, Ghostty), there is no way to see which session needs attention without focusing each tab.

Codex already solves this by writing the host terminal window title (OSC 0/2). Unfocused tabs show status such as [ . ] Action Required | <cwd>. Cursor CLI does not. The tab keeps a static name, so parallel CLI sessions require either separate windows or constant tab cycling.

Please have the CLI emit window-title updates for at least:

  • working — turn in progress
  • needs approval / action required — waiting on the user (Run/Reject, AskQuestion, plan confirm)
  • idle / ready — turn finished, waiting for the next prompt

Include a stable session label (cwd folder or --workspace name) so multiple tabs are distinguishable.

This should be first-class TUI behavior, not a hook workaround. Hooks today cover stop (turn finished) but there is no documented waiting-for-approval hook, and OSC writes from hooks are unreliable because the Ink TUI owns the PTY.

Related: the status-events request (topic 165306) and the waiting-for-approval hook request (topic 166947). Same problem exists for IDE chat tabs.

CLI version: 2026.08.11-e8db854, macOS, Warp.

Operating System (if it applies)

MacOS

Hey @Rich_Wood, good news, the CLI can already do this today.

Inside a session, run the /status-indicators slash command (or set "display": {"showStatusIndicators": true} in your cli-config.json) and the terminal tab title will show live status like “Working…”, “Waiting for you”, “Waiting for confirmation”, and “Ready”, along with the session’s name so parallel tabs are easy to tell apart. I

t’s off by default right now, which is why you haven’t seen it.

Give it a try and let us know how it works in Warp!

Yup - works great - thanks!