Files
hermes-agent/website/docs/developer-guide
unsupportedpastels e166392fec feat(terminal): let plugin backends set their start dir and host Bot Desktop
Two opt-in additions to TerminalEnvironmentProvider; plugins that set
neither behave exactly as before.

- default_cwd: where commands start when terminal.cwd is unset, or is a
  host path the container guard discards, instead of the generic /root.
  Either an absolute in-sandbox path, or "~" for each sandbox's own home:
  it stays "~" (never expanded on the host), create_environment receives
  cwd="~", and the home the environment resolved is stamped on that
  environment. A recorded cwd under that home is kept for later commands
  instead of being dropped as a host /home/... path, and the file tools
  anchor relative paths at the same home.
- supports_streams: the backend's environments implement
  exec_prefix(*, user=None, interactive=True), a local argv that runs
  its remainder inside the sandbox with stdio open. streams.exec_prefix
  uses it for non-built-in environments, and bot_desktop placement
  treats such a backend like docker/ssh/singularity instead of refusing,
  so the screen, computer_use and the browser follow the terminal in.
  Under plugins.isolation: host the environment reaches Hermes as an
  opaque placeholder, so placement refuses with a reason naming the
  setting.
2026-10-20 16:17:56 -04:00
..