ultraworkers-claw-code/rust/crates
Yeachan-Heo 1a2fa1581e Keep status JSON machine-readable for automation
The global --output-format json flag already reached prompt-mode responses, but
status and sandbox still bypassed that path and printed human-readable tables.
This change threads the selected output format through direct command aliases
and resumed slash-command execution so status queries emit valid structured
JSON instead of mixed prose.

It also adds end-to-end regression coverage for direct status/sandbox JSON
and resumed /status JSON so shell automation can rely on stable parsing.

Constraint: Global output formatting must stay compatible with existing text-mode reports
Rejected: Require callers to scrape text status tables | fragile and breaks automation
Confidence: high
Scope-risk: narrow
Directive: New direct commands that honor --output-format should thread the format through CliAction and resumed slash execution paths
Tested: cargo build -p rusty-claude-cli
Tested: cargo test -p rusty-claude-cli -- --nocapture
Tested: cargo test --workspace
Tested: cargo run -q -p rusty-claude-cli -- --output-format json status
Tested: cargo run -q -p rusty-claude-cli -- --output-format json sandbox
Not-tested: cargo clippy --workspace --all-targets -- -D warnings (fails in pre-existing runtime files unrelated to this change)
2026-04-05 16:41:02 +00:00
..
api fix: suppress dead_code warnings for unused provider and lane completion items 2026-04-05 03:22:32 +00:00
commands feat(commands): reach upstream slash command parity — 135 → 141 specs 2026-04-03 19:55:12 +09:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
mock-anthropic-service feat(harness+usage): add auto_compact and token_cost parity scenarios 2026-04-03 22:41:42 +09:00
plugins feat: ultraclaw session outputs — registry tests, MCP bridge, PARITY.md, cleanup 2026-04-03 18:23:03 +09:00
runtime fix: suppress dead_code warnings for unused file_ops functions 2026-04-05 03:23:51 +00:00
rusty-claude-cli Keep status JSON machine-readable for automation 2026-04-05 16:41:02 +00:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools fix: suppress dead_code warnings for unused provider and lane completion items 2026-04-05 03:22:32 +00:00