Files
hermes-agent/evals
alt-glitch ea4f672368 refactor(terminal): the process registry, terminal config and sudo move from tools/ to terminal_backends/
The 21 flat files that serve the terminal backends join the package:
the process registry and its nine parts, the environment-variable
passthrough, credential file mounts, workspace path resolution, the PTY
query responder, the terminal scope, and the backend table, config,
lifecycle, macOS open rewrite, sudo and sudo askpass of the terminal
tool. file_tools_paths becomes workspace_paths and the terminal_tool_
prefix drops (terminal_tool_backends becomes backends, and so on); every
other file keeps its stem. Function bodies are unchanged; only imports
and module-name strings follow the move. 22 tests move to
tests/terminal_backends/.

Ten old module names keep a generated old-path file and a compat key:
a session started on an older release imports them lazily after an
update from code it has already loaded (the gateway's process notices
and inbound media, an agent's next terminal command, sudo prompt or PTY
process). Each key also binds the module such a session holds to its new
name, so the process table, the sudo password cache and the registered
passthrough variables stay one object. The pinned catalog plugins'
modules are listed in the plugin guide.
2026-12-01 19:40:47 +05:30
..