feat: add loop-status watch mode

This commit is contained in:
Affaan Mustafa
2026-04-30 08:55:40 -04:00
committed by Affaan Mustafa
parent b1456bd954
commit 38f4265a1c
3 changed files with 119 additions and 14 deletions

View File

@@ -40,10 +40,15 @@ tool calls that have no matching `tool_result`.
directly.
- `ecc loop-status --bash-timeout-seconds 1800` adjusts the stale Bash
threshold.
- `ecc loop-status --watch` refreshes status until interrupted.
- `ecc loop-status --watch --watch-count 3` emits a bounded watch stream for
scripts and handoffs.
## Watch Mode
When `--watch` is present, refresh status periodically and surface state changes.
When `--watch` is present, refresh status periodically. With `--json`, each
refresh is emitted as one JSON object per line so another terminal or script can
consume the stream.
## Arguments