claude-evolve 1.5.10 → 1.5.12
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-analyze +8 -1
- package/bin/claude-evolve-autostatus +8 -1
- package/bin/claude-evolve-cleanup +8 -1
- package/bin/claude-evolve-config +14 -0
- package/bin/claude-evolve-edit +8 -1
- package/bin/claude-evolve-ideate +8 -1
- package/bin/claude-evolve-main +5 -0
- package/bin/claude-evolve-status +8 -1
- package/lib/ai-cli.sh +5 -0
- package/lib/config.sh +3 -2
- package/package.json +1 -1
- package/templates/config.yaml +2 -1
|
@@ -11,7 +11,14 @@ 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
|
+
# Don't export to avoid collision with parallel runs
|
|
17
|
+
CONFIG_FILE="$(pwd)/config.yaml"
|
|
18
|
+
load_config "$CONFIG_FILE"
|
|
19
|
+
else
|
|
20
|
+
load_config
|
|
21
|
+
fi
|
|
15
22
|
fi
|
|
16
23
|
|
|
17
24
|
# Parse arguments
|
|
@@ -35,7 +35,14 @@ done
|
|
|
35
35
|
if [[ -n ${CLAUDE_EVOLVE_CONFIG:-} ]]; then
|
|
36
36
|
load_config "$CLAUDE_EVOLVE_CONFIG"
|
|
37
37
|
else
|
|
38
|
-
|
|
38
|
+
# Check if config.yaml exists in current directory
|
|
39
|
+
if [[ -f "config.yaml" ]]; then
|
|
40
|
+
# Don't export to avoid collision with parallel runs
|
|
41
|
+
CONFIG_FILE="$(pwd)/config.yaml"
|
|
42
|
+
load_config "$CONFIG_FILE"
|
|
43
|
+
else
|
|
44
|
+
load_config
|
|
45
|
+
fi
|
|
39
46
|
fi
|
|
40
47
|
|
|
41
48
|
|
|
@@ -11,7 +11,14 @@ 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
|
+
# Don't export to avoid collision with parallel runs
|
|
17
|
+
CONFIG_FILE="$(pwd)/config.yaml"
|
|
18
|
+
load_config "$CONFIG_FILE"
|
|
19
|
+
else
|
|
20
|
+
load_config
|
|
21
|
+
fi
|
|
15
22
|
fi
|
|
16
23
|
|
|
17
24
|
# Function to show help
|
package/bin/claude-evolve-config
CHANGED
|
@@ -7,6 +7,20 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
7
7
|
# shellcheck source=../lib/config.sh
|
|
8
8
|
source "$SCRIPT_DIR/../lib/config.sh"
|
|
9
9
|
|
|
10
|
+
# Use CLAUDE_EVOLVE_CONFIG if set, otherwise default
|
|
11
|
+
if [[ -n ${CLAUDE_EVOLVE_CONFIG:-} ]]; then
|
|
12
|
+
load_config "$CLAUDE_EVOLVE_CONFIG"
|
|
13
|
+
else
|
|
14
|
+
# Check if config.yaml exists in current directory
|
|
15
|
+
if [[ -f "config.yaml" ]]; then
|
|
16
|
+
# Don't export to avoid collision with parallel runs
|
|
17
|
+
CONFIG_FILE="$(pwd)/config.yaml"
|
|
18
|
+
load_config "$CONFIG_FILE"
|
|
19
|
+
else
|
|
20
|
+
load_config
|
|
21
|
+
fi
|
|
22
|
+
fi
|
|
23
|
+
|
|
10
24
|
show_help() {
|
|
11
25
|
cat <<EOF
|
|
12
26
|
claude-evolve config - Manage configuration settings
|
package/bin/claude-evolve-edit
CHANGED
|
@@ -11,7 +11,14 @@ 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
|
+
# Don't export to avoid collision with parallel runs
|
|
17
|
+
CONFIG_FILE="$(pwd)/config.yaml"
|
|
18
|
+
load_config "$CONFIG_FILE"
|
|
19
|
+
else
|
|
20
|
+
load_config
|
|
21
|
+
fi
|
|
15
22
|
fi
|
|
16
23
|
|
|
17
24
|
# Function to show help
|
package/bin/claude-evolve-ideate
CHANGED
|
@@ -15,7 +15,14 @@ source "$SCRIPT_DIR/../lib/ai-cli.sh"
|
|
|
15
15
|
if [[ -n ${CLAUDE_EVOLVE_CONFIG:-} ]]; then
|
|
16
16
|
load_config "$CLAUDE_EVOLVE_CONFIG"
|
|
17
17
|
else
|
|
18
|
-
|
|
18
|
+
# Check if config.yaml exists in current directory
|
|
19
|
+
if [[ -f "config.yaml" ]]; then
|
|
20
|
+
# Don't export to avoid collision with parallel runs
|
|
21
|
+
CONFIG_FILE="$(pwd)/config.yaml"
|
|
22
|
+
load_config "$CONFIG_FILE"
|
|
23
|
+
else
|
|
24
|
+
load_config
|
|
25
|
+
fi
|
|
19
26
|
fi
|
|
20
27
|
|
|
21
28
|
# Setup logging to file
|
package/bin/claude-evolve-main
CHANGED
|
@@ -134,6 +134,11 @@ while [[ $# -gt 0 ]] && [[ "$1" =~ ^-- ]]; do
|
|
|
134
134
|
esac
|
|
135
135
|
done
|
|
136
136
|
|
|
137
|
+
# Auto-detect config.yaml in current directory if --working-dir not specified
|
|
138
|
+
if [[ -z $WORKING_DIR ]] && [[ -f "config.yaml" ]]; then
|
|
139
|
+
WORKING_DIR="."
|
|
140
|
+
fi
|
|
141
|
+
|
|
137
142
|
# Export config file path for subcommands
|
|
138
143
|
if [[ -n $WORKING_DIR ]]; then
|
|
139
144
|
# Remove trailing slash if present
|
package/bin/claude-evolve-status
CHANGED
|
@@ -11,7 +11,14 @@ 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
|
+
# Don't export to avoid collision with parallel runs
|
|
17
|
+
CONFIG_FILE="$(pwd)/config.yaml"
|
|
18
|
+
load_config "$CONFIG_FILE"
|
|
19
|
+
else
|
|
20
|
+
load_config
|
|
21
|
+
fi
|
|
15
22
|
fi
|
|
16
23
|
|
|
17
24
|
# Validate configuration
|
package/lib/ai-cli.sh
CHANGED
|
@@ -27,6 +27,11 @@ call_ai_model_configured() {
|
|
|
27
27
|
ai_output=$(timeout 420 codex exec --profile gpt5high --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
|
|
28
28
|
local ai_exit_code=$?
|
|
29
29
|
;;
|
|
30
|
+
gpt5)
|
|
31
|
+
local ai_output
|
|
32
|
+
ai_output=$(timeout 420 codex exec --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
|
|
33
|
+
local ai_exit_code=$?
|
|
34
|
+
;;
|
|
30
35
|
o3high)
|
|
31
36
|
local ai_output
|
|
32
37
|
ai_output=$(timeout 500 codex exec --profile o3high --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
|
package/lib/config.sh
CHANGED
|
@@ -54,7 +54,7 @@ DEFAULT_MAX_RETRIES=3
|
|
|
54
54
|
DEFAULT_MEMORY_LIMIT_MB=12288
|
|
55
55
|
|
|
56
56
|
# Default LLM CLI configuration - use simple variables instead of arrays
|
|
57
|
-
DEFAULT_LLM_RUN="sonnet cursor-sonnet"
|
|
57
|
+
DEFAULT_LLM_RUN="sonnet gpt5 cursor-sonnet"
|
|
58
58
|
DEFAULT_LLM_IDEATE="gemini opus gpt5high o3high cursor-opus"
|
|
59
59
|
|
|
60
60
|
# Load configuration from config file
|
|
@@ -238,7 +238,8 @@ load_config() {
|
|
|
238
238
|
if [[ "$config_file" != "evolution/config.yaml" ]]; then
|
|
239
239
|
# Extract directory from config file path
|
|
240
240
|
local config_dir=$(dirname "$config_file")
|
|
241
|
-
|
|
241
|
+
# Use the config directory as evolution directory (including "." for current dir)
|
|
242
|
+
if [[ "$config_dir" != "" ]]; then
|
|
242
243
|
EVOLUTION_DIR="$config_dir"
|
|
243
244
|
echo "[DEBUG] Using evolution directory from config path: $EVOLUTION_DIR" >&2
|
|
244
245
|
fi
|
package/package.json
CHANGED
package/templates/config.yaml
CHANGED
|
@@ -72,13 +72,14 @@ llm_cli:
|
|
|
72
72
|
|
|
73
73
|
# commented out because these change over time; if you want to fix them in a particular
|
|
74
74
|
# configuration, uncomment them and set them
|
|
75
|
-
#run: sonnet cursor-sonnet
|
|
75
|
+
#run: sonnet gpt5 cursor-sonnet
|
|
76
76
|
#ideate: gemini opus gpt5high o3high cursor-opus
|
|
77
77
|
|
|
78
78
|
# Available models:
|
|
79
79
|
# - sonnet: Claude 3.5 Sonnet via Claude CLI
|
|
80
80
|
# - opus: Claude 3 Opus via Claude CLI
|
|
81
81
|
# - gemini: Gemini via Gemini CLI
|
|
82
|
+
# - gpt5: GPT-5 via Codex CLI (standard)
|
|
82
83
|
# - gpt5high: GPT-5 via Codex CLI (high reasoning)
|
|
83
84
|
# - o3high: O3 via Codex CLI (high reasoning)
|
|
84
85
|
# - cursor-sonnet: Claude 3.5 Sonnet via Cursor Agent CLI
|