feat(cloud): show idle pause diagnostics in machine status

Merged
TE
8d ago
+202-7

Expose idle auto-pause diagnostics in cmux cloud machine-status.

No capture: CLI text output only (machine-status prints idlePause fields); no UI drawn

The API now returns the last cron decision, probe timestamp, idle stretch, API activity timestamp, address availability, and run counters. This change decodes that object and includes it in both human-readable status text and structured --json action results, while tolerating older servers that omit it.

Two commits: a red decoding/output test followed by the implementation.

agent-identity footer --repo manaflow-ai/cmux
Agent session: agent session


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Shows idle auto-pause diagnostics in cmux cloud machine-status. The command now reports the last idle-check decision, probe timestamps, idle stretch, API activity, and private address availability in both human-readable text and --json output, while tolerating older servers that omit the diagnostics object. The status action also refreshes the VM record alongside stats so it observes a cron decision written after the sidebar last refreshed, and the server relays the diagnostics opaquely so new cron fields pass through to the CLI.