claude-evolve 1.5.10 → 1.5.11
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/__pycache__/evolution_csv.cpython-311.pyc +0 -0
- package/lib/__pycache__/evolution_csv.cpython-313.pyc +0 -0
- package/lib/config.sh +2 -1
- package/package.json +1 -1
- package/lib/__pycache__/evolution_csv.cpython-310.pyc +0 -0
|
@@ -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
|
|
Binary file
|
|
Binary file
|
package/lib/config.sh
CHANGED
|
@@ -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
|
Binary file
|