python -m / -c put the current directory ahead of PYTHONPATH and site-packages, so a
hermes_cli/, tui_gateway/, agent/ or plugins/ package in the directory Hermes runs in
(a cloned repo, a task workspace) ran in place of Hermes' own. Spawn these children with
-P (safe path, Python >= 3.11) and keep their cwd: TUI slash worker, TUI cli.exec, setup
import-agent, profile uninstall, gateway restart watcher, plugin validate probe, Google
Meet bot, and the codex hermes-tools MCP server config. The validate probe now names the
Hermes tree on PYTHONPATH instead of finding providers through the cwd.
stamp_missing_config, the left-core toolset conversion and the auto-prune
answer now go through the config backend seam; setup_agent_import's
before/after byte snapshot of a child import run is marked as a local-file
change check.
The yes/no is a full-screen menu that hid the "Found on this computer: ..." lines printed before it,
so "Import your setup from any of them?" pointed at text the user could not see. prompt_yes_no
takes a description (the menu already rendered one) and the step passes the detection lines.
The plugin install is brief (one catalog line plus the outcome), and the import runs with the
plugin's --from-setup (hermes-official-plugins#159), so it does not tell the user to run
`hermes setup` from inside setup and folds OpenClaw's skipped items into one line.
The import child got HERMES_HOME but no profile selector, so on the root
home its _apply_profile_override followed a sticky active_profile into
another profile: the import failed there (no plugin) or wrote into the
wrong profile. A root home now passes --profile default, as
spawn_unmanaged_gateway does.
Enabling an installed-but-disabled agent-importers raises AdmissionRefused
when PM cannot admit it; only SystemExit was caught, so the refusal ended
the whole wizard. It is now caught like the install's exit: the import is
skipped with a warning and setup goes on.
`hermes claw` (hermes_cli/claw.py) and the openclaw-migration optional skill
moved into the agent-importers plugin (hermes-official-plugins #140/#141), which
keeps `hermes claw migrate|cleanup` as the older spelling of
`hermes import-agent openclaw`. Core drops them with their tests (ported to the
plugin) and the eval leg that loaded the skill's script.
Setup: hermes_cli/setup_agent_import.py replaces setup_migration's OpenClaw
offer. On a first-time `hermes setup` it checks ~/.openclaw (or ~/.clawdbot /
~/.moltbot), ~/.claude, ~/.codex and ~/.cursor; when any is found it asks
"Import your setup from <found>?" (default yes), shows a checklist when more
than one was found, installs agent-importers through the normal catalog install
(or enables it when present), then runs `hermes import-agent <agent>` for each
pick in a child process, which previews and asks first. OpenClaw gets
--migrate-secrets, as core's step did. Nothing found, a no, or
HERMES_NONINTERACTIVE: no prompt, nothing installed. The skip-configured-section
offer now follows any import that changed config.yaml or .env.
LEFT_CORE: `claw` joins the agent-importers row as old_cli, so `hermes claw`
without the plugin names the install. No automatic install for it: an OpenClaw
migration is one-shot and leaves no state that needs the plugin later.
Docs: import guide, OpenClaw guide, cli-commands, quickstart, bundled
cli-reference; locale tips and README pointers.