Files
hermes-agent/tui_gateway
Bartok9 903a57c540 fix(tui_gateway): subtract disabled_toolsets from the client-surface fold-in
_get_platform_tools correctly subtracts agent.disabled_toolsets, but
_with_session_toolsets unions the client-surface (and profile-role)
toolsets back in afterwards — so disabled_toolsets: [project] was a
no-op on desktop/TUI, the only surfaces where the toolset exists, and
the agent kept hijacking the word "project" (#54433).

The fold-in now applies the same subtraction via _load_disabled_toolsets,
keeping desktop_ui (the client own control surface, not a model
toolset). Covers both the focus/coding posture path and the configured
fallback.

Fixes #54433

Co-authored-by: Hermes Agent <agent@hermes.local>
2026-09-25 18:09:26 -05:00
..
…
…
…