All plugins

coder

Run Hermes terminal commands in an existing remote Coder workspace. Disclosure — runs terminal commands inside your Coder workspace at CODER_URL using CODER_API_KEY; starts a stopped workspace automatically; forwards only the env vars you list in TERMINAL_CODER_FORWARD_ENV.

perqinToolsv0.1.1Updated 10 days ago

About

Run Hermes terminal commands in an existing remote Coder workspace. Disclosure — runs terminal commands inside your Coder workspace at CODER_URL using CODER_API_KEY; starts a stopped workspace automatically; forwards only the env vars you list in TERMINAL_CODER_FORWARD_ENV.

hermes-plugin-coder

Third-party Coder terminal environment provider for Hermes Agent.

Requirements

  • A Coder deployment reachable over HTTPS and an existing workspace.
  • Hermes Agent with the terminal-backend plugin contract and agent.secret_scope.get_secret.
  • Python dependencies declared in pyproject.toml.

Configuration

Upstream Hermes currently passes only the standard provider factory arguments to terminal plugins, so this compatibility branch reads Coder settings from the active profile environment:

CODER_URL=https://coder.example.com
CODER_API_KEY=...
CODER_WORKSPACE=my-workspace
TERMINAL_CODER_FORWARD_ENV=["GITHUB_TOKEN"]
TERMINAL_CODER_WORKSPACE_STARTUP_TIMEOUT=180

The first three variables are required. TERMINAL_CODER_FORWARD_ENV defaults to [], and TERMINAL_CODER_WORKSPACE_STARTUP_TIMEOUT defaults to 180. Invalid or explicitly empty values fail closed.

Connection settings and forwarded variable values are resolved through Hermes's get_secret() API; the two TERMINAL_CODER_* options use its terminal_env() API. Both honor the active profile's environment (including its .env). This supports Desktop and multiplexed profiles without copying their credentials into the shared process environment. In single-profile mode, Hermes also supports process environment values.

Profile YAML under terminal.backends.coder, Dashboard/Desktop configuration fields, and config-aware probing are temporarily unavailable until upstream Hermes gains the provider-owned configuration contract. The API key remains stripped from model-authored subprocesses and is never included in probe details.

Development installation

Hermes source plugins are directories under $HERMES_HOME/plugins containing plugin.yaml and a root __init__.py. A symlink is sufficient:

ln -s /path/to/hermes-plugin-coder "${HERMES_HOME:-$HOME/.hermes}/plugins/coder-dev"
hermes plugins enable coder

The symlink makes the source plugin discoverable; plugins enable opts it into the active profile. Select it with hermes config set terminal.backend coder. The plugin registers a TerminalEnvironmentProvider; upstream Hermes owns environment creation and task lifecycle, while this compatibility branch resolves Coder settings from the active profile environment.

Coder workspaces are durable user infrastructure, so the provider keeps dangerous-command guards enabled even though it uses isolated remote filesystem semantics. Only names explicitly listed in forward_env are copied into the remote session snapshot. Their values are delivered after the authenticated PTY WebSocket opens and are never placed in its request URL.

Tests

From a Hermes Agent checkout with its virtual environment available:

PYTHONPATH=/path/to/hermes-plugin-coder:/path/to/hermes-agent \
  /path/to/hermes-agent/.venv/bin/python -m pytest tests -q

README from the reviewed commit 4bab3bb; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section