Resumed /agents --output-format json was returning a human-readable text render wrapped in a JSON envelope field instead of the actual structured agent list. The run_resume_command handler was calling handle_agents_slash_command (text) for the json field instead of handle_agents_slash_command_json. Fix: use handle_agents_slash_command_json for the json outcome field, matching the pattern already used by /skills and /plugins. Test: extended resumed_inventory_commands_emit_structured_json_when_requested to cover /agents, asserting kind=="agents", action=="list", agents is an array, and count is a number (not a text render). |
||
|---|---|---|
| .. | ||
| cli_flags_and_config_defaults.rs | ||
| compact_output.rs | ||
| mock_parity_harness.rs | ||
| output_format_contract.rs | ||
| resume_slash_commands.rs | ||