harness-evolver 4.2.3 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/skills/setup/SKILL.md +14 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harness-evolver",
|
|
3
3
|
"description": "LangSmith-native autonomous agent optimization — evolves LLM agent code using multi-agent proposers, LangSmith experiments, and git worktrees",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Raphael Valdetaro"
|
|
7
7
|
},
|
package/package.json
CHANGED
package/skills/setup/SKILL.md
CHANGED
|
@@ -61,7 +61,21 @@ Look for:
|
|
|
61
61
|
|
|
62
62
|
To identify the **framework**, read the entry point file and its immediate imports. The proposer agents will use Context7 MCP for detailed documentation lookup — you don't need to detect every library, just identify the main framework (LangGraph, CrewAI, OpenAI Agents SDK, etc.) from the imports you see.
|
|
63
63
|
|
|
64
|
+
**Detect virtual environments** — check for venvs in the project or parent directories:
|
|
65
|
+
```bash
|
|
66
|
+
# Check common venv locations
|
|
67
|
+
for venv_dir in .venv venv ../.venv ../venv; do
|
|
68
|
+
if [ -f "$venv_dir/bin/python" ]; then
|
|
69
|
+
echo "VENV_FOUND: $venv_dir/bin/python"
|
|
70
|
+
break
|
|
71
|
+
fi
|
|
72
|
+
done
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
If a venv is found, **use it for the entry point** instead of bare `python`. The agent's dependencies are likely installed there, not in the system Python. For example: `../.venv/bin/python agent.py {input}` instead of `python agent.py {input}`.
|
|
76
|
+
|
|
64
77
|
Identify the **run command** — how to execute the agent. Use `{input}` as a placeholder for the JSON file path:
|
|
78
|
+
- `.venv/bin/python main.py {input}` — if venv detected (preferred)
|
|
65
79
|
- `python main.py {input}` — agent reads JSON file from positional arg
|
|
66
80
|
- `python main.py --input {input}` — agent reads JSON file from `--input` flag
|
|
67
81
|
- `python main.py --query {input_json}` — agent receives inline JSON string
|