claw-code/rust/crates
Yeachan-Heo ceaf9cbc23 Preserve structured JSON parity for `claw agents`
`claw agents --output-format json` was still wrapping the text report,
which meant automation could not distinguish empty inventories from
populated agent definitions. Add a dedicated structured handler in the
commands crate, wire the CLI to it, and extend the contracts to cover
both empty and populated agent listings.

Constraint: Keep text-mode `claw agents` output unchanged while aligning JSON behavior with existing structured inventory handlers
Rejected: Parse the text report into JSON in the CLI layer | brittle duplication and no reusable structured handler
Confidence: high
Scope-risk: narrow
Directive: Keep inventory subcommands on dedicated structured handlers instead of serializing human-readable reports
Tested: cargo test -p commands renders_agents_reports_as_json; cargo test -p rusty-claude-cli --test output_format_contract; cargo test --workspace; cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings
Not-tested: Manual invocation of `claw agents --output-format json` outside automated tests
2026-04-06 01:42:59 +00:00
..
api Fix retry exhaustion failure classification 2026-04-06 01:10:36 +00:00
commands Preserve structured JSON parity for `claw agents` 2026-04-06 01:42:59 +00: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 Restore a fully green workspace verification baseline 2026-04-05 18:46:06 +00:00
rusty-claude-cli Preserve structured JSON parity for `claw agents` 2026-04-06 01:42:59 +00:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools Classify quiet agent states before they look stale 2026-04-05 18:47:23 +00:00