When claw --output-format json hits an error, the error was previously
printed as plain prose to stderr, making it invisible to downstream tooling
that parses JSON output. Now:
{"type":"error","error":"api returned 401 ..."}
Detection: scan argv at process exit for --output-format json or
--output-format=json. Non-JSON error path unchanged. 156 CLI tests pass.
|
||
|---|---|---|
| .. | ||
| .claw/sessions | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||