Files
craft-anything/apps/craft-anything-cli
BFlat a9121b3cf3 The CLI's capabilities list keeps Clean room's refusal of target tools (#323)
`craft-anything-cli capabilities` lists each tool with `available`, `needs_target` and `reason`. To show target tools as usable before anything is open, it marked every target tool available and dropped its reason. That also covered tools Clean room refuses, so in Clean room `native_function_pseudocode` read as available with no reason, though the engine refuses it.

Only the "nothing is open yet" refusal is waived now. A target tool the mode refuses keeps `available: false` and its Clean room reason, with `needs_target: true` as before. In Deep mode nothing changes.

**Verified:** a new CLI test runs `capabilities` in Clean room (the tool is unavailable with a reason) and with `--deep` (available, no reason). `cargo test -p craft-anything-cli` and clippy pass.

Fixes #249
2026-11-02 14:59:34 +07:00
..
2026-10-31 10:52:14 -04:00
2026-10-31 10:52:14 -04:00