claude-evolve 1.4.1 → 1.4.2
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/bin/claude-evolve-run
CHANGED
|
@@ -11,7 +11,18 @@ source "$SCRIPT_DIR/../lib/config.sh"
|
|
|
11
11
|
if [[ -n ${CLAUDE_EVOLVE_CONFIG:-} ]]; then
|
|
12
12
|
load_config "$CLAUDE_EVOLVE_CONFIG"
|
|
13
13
|
else
|
|
14
|
-
|
|
14
|
+
# Check if config.yaml exists in current directory
|
|
15
|
+
if [[ -f "config.yaml" ]]; then
|
|
16
|
+
export CLAUDE_EVOLVE_CONFIG="$(pwd)/config.yaml"
|
|
17
|
+
load_config "$CLAUDE_EVOLVE_CONFIG"
|
|
18
|
+
else
|
|
19
|
+
load_config
|
|
20
|
+
fi
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
# Export the config path for workers if not already set
|
|
24
|
+
if [[ -z ${CLAUDE_EVOLVE_CONFIG:-} ]] && [[ -f "config.yaml" ]]; then
|
|
25
|
+
export CLAUDE_EVOLVE_CONFIG="$(pwd)/config.yaml"
|
|
15
26
|
fi
|
|
16
27
|
|
|
17
28
|
# Validate configuration
|
package/bin/claude-evolve-worker
CHANGED
|
@@ -6,6 +6,13 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
|
|
|
6
6
|
source "$SCRIPT_DIR/../lib/config.sh"
|
|
7
7
|
source "$SCRIPT_DIR/../lib/csv-lock.sh"
|
|
8
8
|
|
|
9
|
+
# Load config using the same logic as dispatcher
|
|
10
|
+
if [[ -n ${CLAUDE_EVOLVE_CONFIG:-} ]]; then
|
|
11
|
+
load_config "$CLAUDE_EVOLVE_CONFIG"
|
|
12
|
+
else
|
|
13
|
+
load_config
|
|
14
|
+
fi
|
|
15
|
+
|
|
9
16
|
# Parse arguments
|
|
10
17
|
timeout_seconds=""
|
|
11
18
|
while [[ $# -gt 0 ]]; do
|
|
@@ -56,8 +63,8 @@ process_candidate() {
|
|
|
56
63
|
|
|
57
64
|
# Check if processing should be skipped
|
|
58
65
|
if [[ -f "$target_file" ]]; then
|
|
59
|
-
echo "[WORKER-$$] � Skipping copy - File already exists - skipping all processing"
|
|
60
|
-
echo "[WORKER-$$] � Skipping Claude processing - File already exists - skipping all processing"
|
|
66
|
+
echo "[WORKER-$$] � Skipping copy - File already exists - skipping all processing"
|
|
67
|
+
echo "[WORKER-$$] � Skipping Claude processing - File already exists - skipping all processing"
|
|
61
68
|
|
|
62
69
|
# Check if already evaluated
|
|
63
70
|
local current_status
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|