Skip to content

feat: add portable evolve.sh launcher script - #181

Open
LIDONGname wants to merge 1 commit into
NousResearch:mainfrom
LIDONGname:feat/portable-evolve-runner
Open

LIDONGname wants to merge 1 commit into
NousResearch:mainfrom
LIDONGname:feat/portable-evolve-runner

Conversation

@LIDONGname

Copy link
Copy Markdown

Summary

Adds evolve.sh, a one-command wrapper around evolution.skills.evolve_skill so users don't have to remember the module path, venv interpreter, and PYTHONPATH unsetting needed on Windows.

Details

  • Auto-detects the hermes-agent repo: HERMES_AGENT_REPO env var first, then ~/.hermes/hermes-agent, %LOCALAPPDATA%/hermes/hermes-agent, or a sibling checkout
  • Picks the venv interpreter per platform (.venv/Scripts/python.exe on Windows, .venv/bin/python elsewhere)
  • Clears PYTHONPATH for the child process to avoid collisions with hermes' own venv

Test Plan

  • ./evolve.sh with no args prints usage and exits 1
  • Repo auto-detection finds %LOCALAPPDATA%/hermes/hermes-agent on a non-default install
  • ./evolve.sh github-code-review 1 --dry-run validates setup end-to-end

- One-command wrapper around evolution.skills.evolve_skill
- Auto-detect the hermes-agent repo via HERMES_AGENT_REPO env var,
  ~/.hermes/hermes-agent, %LOCALAPPDATA%/hermes/hermes-agent, or a
  sibling checkout
- Select the venv interpreter per platform (.venv/Scripts on Windows,
  .venv/bin elsewhere)
- Unset PYTHONPATH for the child process to avoid collisions with
  hermes' own venv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant