opencode-mission-control icon indicating copy to clipboard operation
opencode-mission-control copied to clipboard

feat: Expose session state detection (idle/streaming/unknown) to users

Open nigel-dev opened this issue 9 months ago • 0 comments

Source

Audit report — Appendix B: README vs. Implementation Discrepancies

Description

The monitor already detects session states (idle, streaming, unknown) by hashing terminal output and checking for the idle prompt pattern. However, this information is never surfaced to users — it is only used internally for idle-based completion detection.

Current State

  • monitor.ts tracks session state per job
  • States: idle (waiting for input), streaming (AI is working), unknown
  • Not exposed in mc_status, mc_overview, or mc_jobs output

Proposed Solution

  1. Include session state in mc_status output (e.g., "Session: streaming (AI is actively working)")
  2. Include in mc_overview job list (e.g., "fix-auth: running [streaming]")
  3. Optionally expose in mc_jobs as a column

Impact

Users would get much better insight into whether a job is actively working vs. waiting for input vs. in an unknown state — reducing the need to mc_capture just to check if a job is still making progress.

nigel-dev avatar Feb 13 '26 18:02 nigel-dev