claude-evolve 1.5.29 → 1.5.30
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-worker +3 -1
- package/lib/ai-cli.sh +5 -0
- package/lib/config.sh +4 -3
- package/package.json +1 -1
package/bin/claude-evolve-worker
CHANGED
|
@@ -260,11 +260,13 @@ with EvolutionCSV('$FULL_CSV_PATH') as csv:
|
|
|
260
260
|
# Use relative path for AI prompt
|
|
261
261
|
local target_basename=$(basename "$target_file")
|
|
262
262
|
local evolution_prompt="Modify the algorithm in $target_basename based on this description: $description
|
|
263
|
-
|
|
263
|
+
|
|
264
264
|
The modification should be substantial and follow the description exactly. Make sure the algorithm still follows all interface requirements and can run properly.
|
|
265
265
|
|
|
266
266
|
Important: Make meaningful changes that match the description. Don't just add comments or make trivial adjustments.
|
|
267
267
|
|
|
268
|
+
CRITICAL: If you do not know how to implement what was asked for, or if the requested change is unclear or not feasible, you MUST refuse to make any changes. DO NOT modify the code if you are uncertain about the implementation. Simply respond that you cannot implement the requested change and explain why. It is better to refuse than to make incorrect or random changes.
|
|
269
|
+
|
|
268
270
|
CRITICAL: Do NOT use any git commands (git add, git commit, git reset, etc.). Only modify the file directly."
|
|
269
271
|
|
|
270
272
|
if [[ "$is_baseline" != "true" ]]; then
|
package/lib/ai-cli.sh
CHANGED
|
@@ -81,6 +81,11 @@ $prompt"
|
|
|
81
81
|
ai_output=$(timeout 300 opencode -m openrouter/z-ai/glm-4.6 run "$prompt" 2>&1)
|
|
82
82
|
local ai_exit_code=$?
|
|
83
83
|
;;
|
|
84
|
+
deepseek)
|
|
85
|
+
local ai_output
|
|
86
|
+
ai_output=$(timeout 300 opencode -m openrouter/deepseek/deepseek-v3.1-terminus run "$prompt" 2>&1)
|
|
87
|
+
local ai_exit_code=$?
|
|
88
|
+
;;
|
|
84
89
|
*)
|
|
85
90
|
echo "[ERROR] Unknown model: $model_name" >&2
|
|
86
91
|
return 1
|
package/lib/config.sh
CHANGED
|
@@ -54,8 +54,8 @@ 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 gpt5 cursor-sonnet glm"
|
|
58
|
-
DEFAULT_LLM_IDEATE="gemini sonnet-think sonnet-think gpt5high sonnet-think o3high"
|
|
57
|
+
DEFAULT_LLM_RUN="sonnet gpt5 cursor-sonnet glm deepseek"
|
|
58
|
+
DEFAULT_LLM_IDEATE="gemini sonnet-think sonnet-think gpt5high sonnet-think o3high glm"
|
|
59
59
|
|
|
60
60
|
# Load configuration from config file
|
|
61
61
|
load_config() {
|
|
@@ -109,6 +109,7 @@ load_config() {
|
|
|
109
109
|
LLM_CLI_cursor_sonnet='cursor-agent sonnet -p "{{PROMPT}}"'
|
|
110
110
|
LLM_CLI_cursor_opus='cursor-agent opus -p "{{PROMPT}}"'
|
|
111
111
|
LLM_CLI_glm='opencode -m openrouter/z-ai/glm-4.6 run "{{PROMPT}}"'
|
|
112
|
+
LLM_CLI_deepseek='opencode -m openrouter/deepseek/deepseek-v3.1-terminus run "{{PROMPT}}"'
|
|
112
113
|
LLM_RUN="$DEFAULT_LLM_RUN"
|
|
113
114
|
LLM_IDEATE="$DEFAULT_LLM_IDEATE"
|
|
114
115
|
|
|
@@ -328,7 +329,7 @@ show_config() {
|
|
|
328
329
|
echo " Memory limit: ${MEMORY_LIMIT_MB}MB"
|
|
329
330
|
echo " LLM configuration:"
|
|
330
331
|
# Show LLM configurations using dynamic variable names
|
|
331
|
-
for model in gpt5high o3high codex gemini opus opus_think sonnet sonnet_think cursor_sonnet cursor_opus glm; do
|
|
332
|
+
for model in gpt5high o3high codex gemini opus opus_think sonnet sonnet_think cursor_sonnet cursor_opus glm deepseek; do
|
|
332
333
|
var_name="LLM_CLI_${model}"
|
|
333
334
|
var_value=$(eval echo "\$$var_name")
|
|
334
335
|
if [[ -n "$var_value" ]]; then
|