Expand description
Hermes coding-agent adapter (Phase 42).
Launches hermes -z "<prompt>" --yolo --accept-hooks in headless-safe oneshot mode.
The prompt is passed via -z. Environment variable HERMES_ACCEPT_HOOKS=1 is injected
to avoid interactive prompts on shell hooks.
Slash commands (/gsd-*) are rendered via standard claude-style prompt rendering.
Subagent dispatch capability is dynamically probed via hermes tools list checking for
the enabled delegation toolset.
Structs§
- Hermes
Driver - The modular driver for Hermes (Phase 42): headless
-zoneshot launch,HERMES_ACCEPT_HOOKS=1environment, standard claude-style prompt rendering, and dynamic delegation subagent dispatch probing.
Functions§
- hermes_
subagent_ dispatch_ available - Dynamically probe whether Hermes has the
delegationtoolset enabled. - hermes_
subagent_ dispatch_ available_ with - Inner helper parameterized on output function for unit testing without invoking real CLI.
- parse_
hermes_ tools_ list_ for_ delegation - Parse
hermes tools liststdout to check if delegation toolset is enabled.