hermes-agent/tui_gateway
Teknium 9166530942 feat(models): unify selection-time guards into one registry across all surfaces
Adds hermes_cli/model_selection_guards.py: a single evaluation point that
runs every selection guard (cost + the new data-policy guard) and returns
the warnings that fired. All seven model-selection surfaces (CLI picker,
cli.py TUI modal, gateway typed /model, dashboard web_server, TUI gateway,
Telegram and Discord pickers) now call the registry instead of importing
model_cost_guard directly — so the data-training-tier warning from
PR #81416 fires everywhere at once, and future guards need zero surface
wiring.

Guard modules keep their public APIs; existing mock patch points
(hermes_cli.model_cost_guard.expensive_model_warning) remain valid.
2026-08-14 01:06:13 -07:00
..
__init__.py
…
_stdin_recovery.py
…
compute_host.py tui_gateway: close dedicated profile SessionDB handles at teardown too 2026-08-07 19:44:41 +05:30
entry.py fix(review): harden portable plugin boundaries 2026-08-07 09:44:21 -07:00
event_publisher.py
…
git_probe.py perf(gateway): stop spawning git for paths that cannot answer 2026-08-09 06:53:55 -05:00
host_supervisor.py
…
loop_noise.py
…
method_ctx.py
…
methods_complete.py feat(complete): offer agent profiles as @mention completions (#85799) 2026-08-13 20:43:41 -07:00
methods_config.py fix(personality): single-owner personality state + one-time reset migration 2026-08-09 10:33:58 -07:00
methods_images.py fix: route image.generate through the provider dispatcher (#85520) 2026-08-13 11:23:51 -07:00
methods_profiles.py feat(gateway): roster previews show the latest message, not the first (#85905) 2026-08-14 00:33:51 -07:00
methods_prompt.py refactor(gateway/desktop): consent-first truncation precedence + dedup (simplify pass) 2026-08-13 13:35:55 +05:30
methods_session.py fix(gateway/desktop): durable row-id addressing for rewind truncation 2026-08-13 13:35:55 +05:30
methods_tools.py feat: forward repeat through cron.manage add (#85602) 2026-08-13 13:14:57 -07:00
project_tree.py feat(profiles): serve a cross-profile project tree and per-profile usage totals 2026-08-10 03:13:08 -05:00
render.py
…
server.py feat(models): unify selection-time guards into one registry across all surfaces 2026-08-14 01:06:13 -07:00
slash_fuzzy.py Port from superagent-ai/grok-cli: description-aware slash-menu fuzzy scoring 2026-08-08 04:29:16 -07:00
slash_worker.py polish(mem): readonly config read, debug-level trim logs, loud frame test 2026-08-02 22:44:38 +05:30
synthetic_turn.py
…
transport.py
…
turn_marker.py
…
ws.py perf(cold-start): mitigate ~14s GIL stall during backend init (#60800) 2026-08-03 21:16:09 +05:30