feat: add portable evolve.sh launcher script - #181
Open
LIDONGname wants to merge 1 commit into
Open
LIDONGname wants to merge 1 commit into
LIDONGname wants to merge 1 commit into
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
evolve.sh, a one-command wrapper aroundevolution.skills.evolve_skillso users don't have to remember the module path, venv interpreter, andPYTHONPATHunsetting needed on Windows.Details
HERMES_AGENT_REPOenv var first, then~/.hermes/hermes-agent,%LOCALAPPDATA%/hermes/hermes-agent, or a sibling checkout.venv/Scripts/python.exeon Windows,.venv/bin/pythonelsewhere)PYTHONPATHfor the child process to avoid collisions with hermes' own venvTest Plan
./evolve.shwith no args prints usage and exits 1%LOCALAPPDATA%/hermes/hermes-agenton a non-default install./evolve.sh github-code-review 1 --dry-runvalidates setup end-to-end