claw-code/rust/crates
YeonGyu-Kim 64f92b1560 fix(mcp): exit 1 when JSON envelope contains ok:false
mcp info, mcp describe, and mcp list-filter all return
{"action":"error","ok":false,...} but previously exited 0,
requiring automation callers to inspect the envelope field.

After this fix: print_mcp detects ok:false in the rendered JSON
value and calls process::exit(1) after printing, so the exit code
reflects the semantic error in the envelope.

Unaffected: mcp list, mcp show, mcp help all have no ok field and
continue to exit 0 (they are not error paths).

Closes ROADMAP #68 (partial — agents bogus/mcp show nonexistent
found:false remain exit:0 as they use different envelope shapes).
2026-05-05 06:05:28 +09:00
..
api Restore Rust formatting compliance 2026-04-28 09:19:16 +00:00
commands fix(mcp): return typed error JSON for unsupported actions (info/describe/list-filter) (#2989) 2026-05-05 05:13:07 +09:00
compat-harness feat: ultraclaw droid batch — ROADMAP #41 test isolation + #50 PowerShell permissions 2026-04-12 03:06:24 +09:00
mock-anthropic-service feat(harness+usage): add auto_compact and token_cost parity scenarios 2026-04-03 22:41:42 +09:00
plugins Keep poisoned test locks from cascading across unrelated regressions 2026-04-12 13:52:41 +00:00
runtime Expose tool permission gates as structured worker blockers 2026-04-27 09:28:09 +00:00
rusty-claude-cli fix(mcp): exit 1 when JSON envelope contains ok:false 2026-05-05 06:05:28 +09:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools Clarify allowed tool status handling 2026-04-28 05:44:14 +00:00