hermes-agent/tui_gateway
teknium1 370cc9394b
feat(side): extend /side to CLI + TUI, shared prompt composer, tests, docs
Follow-ups on the #53969 salvage:

- hermes_cli/side_question.py: shared compose_side_prompt() used by all
  three surfaces; treats the parent history as read-only by construction.
- gateway: /side now uses the shared composer and registers its task in
  _background_tasks with a done-callback (same lifecycle as /background,
  addressing the sweeper review note); dropped the unused
  _SIDE_BOUNDARY_PROMPT and the dead /sidereturn no-op command (with its
  /return and /closeside alias squatting).
- CLI: /side snapshots self.conversation_history into a side prompt and
  reuses the /background daemon-thread runner (new prompt_override /
  display_prompt / task_label parameters); dispatch wired in cli.py.
- TUI: new prompt.side RPC (history snapshot under history_lock, throwaway
  AIAgent, background.complete delivery) + /side slash command in ui-tui.
- No /btw alias: /btw is a long-standing alias of /background
  (hermes_cli/commands.py) — /side ships alias-free and a registry test
  pins /btw -> background.
- tests: tests/gateway/test_side_command.py (19) covering the byte-identical
  main-history invariant, empty-history, no-session-entry, task lifecycle
  tracking, prompt composition, and registry; tests/cli/test_cli_side_command.py
  (7) covering the CLI surface and dispatch.
- docs: /side rows in the CLI and messaging tables of
  website/docs/reference/slash-commands.md + cross-surface list.
2026-07-26 16:17:57 -07:00
..
__init__.py
_stdin_recovery.py fix: Windows guard, dedup recovery, profile-safe paths, clear SO_RCVTIMEO 2026-07-20 12:48:50 +05:30
compute_host.py fix(windows): widen utf-8 subprocess decode guard to sibling desktop-backend sites 2026-07-24 09:48:28 -07:00
entry.py fix(mcp): propagate profile HERMES_HOME override into shared discovery owner; restore stdio startup + WSTransport tests 2026-07-26 14:14:03 -07:00
event_publisher.py
git_probe.py fix(windows): share one bounded, tree-killing git probe across both call sites (#68997) 2026-07-21 20:18:43 -05:00
host_supervisor.py fix(windows): widen utf-8 subprocess decode guard to sibling desktop-backend sites 2026-07-24 09:48:28 -07:00
loop_noise.py
project_tree.py fix(projects): don't promote a deleted workspace to a project 2026-07-26 00:57:17 -05:00
render.py
server.py feat(side): extend /side to CLI + TUI, shared prompt composer, tests, docs 2026-07-26 16:17:57 -07:00
slash_worker.py fix: Windows guard, dedup recovery, profile-safe paths, clear SO_RCVTIMEO 2026-07-20 12:48:50 +05:30
synthetic_turn.py feat(dashboard): isolate turns in compute host (#65895) 2026-07-16 15:24:03 -04:00
transport.py
turn_marker.py feat(desktop): crash-survivable in-flight turn journal 2026-07-24 23:31:55 -05:00
ws.py fix(tui-gateway): scope MCP discovery to active profile 2026-07-26 14:14:03 -07:00