candor-query 0.5.5

candor's read-only report queries (show/where/callers/map/diff) in Rust — used by cargo-candor.
candor-query-0.5.5 is not a library.

candor-query — the read-only report queries (show / where / callers / map / diff) that used to be inline Python heredocs in cargo-candor. One typed binary over the shared candor-report types, so the JSON shape is defined once (in the lint and here) instead of re-parsed ad hoc in every script. The CLI keeps the exact argv convention and output of the Python it replaces, so the bash wrapper only swaps python3 - … <<'PY' for candor-query …; everything downstream (the integration tests, the MCP server, the agent) sees identical bytes.

Usage (positional, mirroring the old sys.argv): candor-query show <0|1> candor-query where <0|1> candor-query callers <0|1> candor-query map <0|1> candor-query diff <cur_prefix> <base_prefix> <0|1> <baseline_ver> <engine_ver> The trailing 0|1 is the want-JSON flag (the wrapper computes it from --json).