claude-evolve 1.4.2 → 1.4.3

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.
@@ -69,6 +69,8 @@ process_candidate() {
69
69
  # Check if already evaluated
70
70
  local current_status
71
71
  current_status=$("$PYTHON_CMD" -c "
72
+ import sys
73
+ sys.path.insert(0, '$SCRIPT_DIR/..')
72
74
  from lib.evolution_csv import EvolutionCSV
73
75
  csv = EvolutionCSV('$FULL_CSV_PATH')
74
76
  status = csv.get_candidate_status('$candidate_id')
@@ -126,6 +128,8 @@ Important: Make meaningful changes that match the description. Don't just add co
126
128
 
127
129
  # Update CSV with result
128
130
  "$PYTHON_CMD" -c "
131
+ import sys
132
+ sys.path.insert(0, '$SCRIPT_DIR/..')
129
133
  from lib.evolution_csv import EvolutionCSV
130
134
  csv = EvolutionCSV('$FULL_CSV_PATH')
131
135
  csv.update_candidate_status('$candidate_id', 'complete', performance='$score')
@@ -142,6 +146,8 @@ csv.update_candidate_status('$candidate_id', 'complete', performance='$score')
142
146
 
143
147
  # Mark as failed in CSV
144
148
  "$PYTHON_CMD" -c "
149
+ import sys
150
+ sys.path.insert(0, '$SCRIPT_DIR/..')
145
151
  from lib.evolution_csv import EvolutionCSV
146
152
  csv = EvolutionCSV('$FULL_CSV_PATH')
147
153
  csv.update_candidate_status('$candidate_id', 'failed')
@@ -157,6 +163,8 @@ echo "[WORKER-$$] Worker started"
157
163
  while true; do
158
164
  # Try to claim a pending candidate
159
165
  candidate_info=$("$PYTHON_CMD" -c "
166
+ import sys
167
+ sys.path.insert(0, '$SCRIPT_DIR/..')
160
168
  from lib.evolution_csv import EvolutionCSV
161
169
  csv = EvolutionCSV('$FULL_CSV_PATH')
162
170
  candidate = csv.claim_next_pending()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",