Expose machine-readable “local agent session” state (for third-party dashboards / automation)

Feature request for product/service

3rd Party Extensions

Describe the request

Problem
I’m building a small macOS utility (“Command Center”) that shows per-workspace status for open Cursor projects. I want to reflect when a local agent turn is active—the same notion as in the Cursor UI when a user has submitted work to the agent and it’s still in progress (queued / running / planning / executing tools)—without guessing from ps, disk mtimes, or chat document heuristics.

Today there is a clear story for cloud agents via GET https://api.cursor.com/v0/agents/…, but local Composer / Agent sessions do not appear to offer a supported, stable signal for external tools.

What I need
One (or more) of:

Official API or extension API that can report, per workspace or per window: e.g. idle | planning | executing | streaming | …, or at least agentTurnActive: bool with a monotonic version or timestamp for UI sync.

Or a documented, stable location/event (e.g. workspace storage schema, extension event) that is explicitly supported for this purpose—not reverse-engineered state.vscdb / process sampling.

Why

Enables accessibility, integrations, and personal dashboards that stay aligned with what the user sees in the Agent pane.
Reduces fragile hacks that break every Cursor release.