claude-evolve 1.8.24 → 1.8.25

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.
@@ -335,14 +335,15 @@ print(max_gen)
335
335
  # Keep incrementing until we find a generation with no Python files
336
336
  local candidate_gen=$start_gen
337
337
  while true; do
338
- local gen_formatted=$(printf "%02d" $candidate_gen)
339
-
338
+ # No padding - generation numbers are used as-is in filenames
339
+ local gen_formatted="$candidate_gen"
340
+
340
341
  # Check if any Python files exist for this generation
341
342
  local py_files_exist=false
342
343
  if ls "$FULL_OUTPUT_DIR"/evolution_gen${gen_formatted}-*.py >/dev/null 2>&1; then
343
344
  py_files_exist=true
344
345
  fi
345
-
346
+
346
347
  if [[ "$py_files_exist" == "false" ]]; then
347
348
  # This generation is safe to use
348
349
  echo "$gen_formatted"
@@ -350,10 +351,10 @@ print(max_gen)
350
351
  else
351
352
  echo "[WARN] Generation $gen_formatted already has Python files, skipping to next generation" >&2
352
353
  candidate_gen=$((candidate_gen + 1))
353
-
354
+
354
355
  # Safety check to prevent infinite loop
355
- if [[ $candidate_gen -gt 999 ]]; then
356
- echo "[ERROR] Could not find a safe generation number (checked up to 999)" >&2
356
+ if [[ $candidate_gen -gt 9999 ]]; then
357
+ echo "[ERROR] Could not find a safe generation number (checked up to 9999)" >&2
357
358
  exit 1
358
359
  fi
359
360
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.8.24",
3
+ "version": "1.8.25",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",