`claw --output-format json mcp show` (no server name) previously emitted
error_kind:"unknown_mcp_action" — misleading because `show` IS a known
action; the problem is a missing required argument.
Fix:
- `render_mcp_report_json_for`: `Some("show")` arm now emits a dedicated
JSON response with error_kind:"missing_argument" + usage hint
- `classify_error_kind`: add classifier arm for "missing_argument:" prefix
One new test: mcp_show_missing_server_name_emits_missing_argument
572+ tests pass.
|
||
|---|---|---|
| .. | ||
| cli_flags_and_config_defaults.rs | ||
| compact_output.rs | ||
| compact_repl_panic.rs | ||
| mock_parity_harness.rs | ||
| output_format_contract.rs | ||
| resume_slash_commands.rs | ||