Commit Graph

2 Commits

Author SHA1 Message Date
Teknium
27a4c4f9f1 chore(cli): mark the moved /platforms fallback as main's catch-all
The except in cli_info_lines.platforms_lines is CLIInfoMixin._show_gateway_status moved
verbatim; health flags a new BLE001 because the file is new.
2026-10-13 02:51:44 -07:00
Teknium
5707483e83 fix(gateway): /toolsets and /platforms read on the owner for a local session
Neither has a messaging handler; main's classic CLI and its TUI slash worker
printed them from the process holding the agent, which on the shared gateway
is the owner. Ink and Desktop got unsupported_command. The report bodies move
verbatim into hermes_cli/cli_info_lines.py (byte-identical CLI output,
checked old vs new), and slash.exec runs them for a local session
(gateway/session_info_reads.py): /toolsets marks THIS session's toolsets
(policy.current_toolsets), /platforms reads the owning profile's gateway
config. One text on every surface.

Proof: test_session_read_commands runs both through slash.exec on a real
daemon (session created with toolsets=['todo']).
2026-10-13 02:51:17 -07:00