claude-evolve 1.11.18 → 1.11.19

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.
Files changed (42) hide show
  1. package/README.md +0 -0
  2. package/bin/claude-evolve-check +19 -7
  3. package/lib/__pycache__/ai_cli.cpython-310.pyc +0 -0
  4. package/lib/__pycache__/ai_cli.cpython-314.pyc +0 -0
  5. package/lib/__pycache__/embedding.cpython-310.pyc +0 -0
  6. package/lib/__pycache__/embedding.cpython-314.pyc +0 -0
  7. package/lib/__pycache__/evolution_csv.cpython-310.pyc +0 -0
  8. package/lib/__pycache__/evolution_csv.cpython-314.pyc +0 -0
  9. package/lib/__pycache__/evolve_ideate.cpython-310.pyc +0 -0
  10. package/lib/__pycache__/evolve_ideate.cpython-314.pyc +0 -0
  11. package/lib/__pycache__/log.cpython-310.pyc +0 -0
  12. package/lib/ai-cli.sh +23 -11
  13. package/lib/ai_cli.py +3 -2
  14. package/lib/config.py +0 -0
  15. package/lib/config.sh +4 -4
  16. package/lib/csv-lock.sh +0 -0
  17. package/lib/editor.sh +0 -0
  18. package/lib/evolution_csv.py +0 -0
  19. package/lib/evolution_processor.py +0 -0
  20. package/lib/evolve_ideate.py +0 -0
  21. package/lib/evolve_worker.py +0 -0
  22. package/lib/llm_bandit.py +0 -0
  23. package/lib/log.py +0 -0
  24. package/lib/meta_learning.py +0 -0
  25. package/lib/sandbox.sb +0 -0
  26. package/lib/sandbox_wrapper.py +0 -0
  27. package/package.json +1 -1
  28. package/templates/BRIEF.md +0 -0
  29. package/templates/algorithm.py +0 -0
  30. package/templates/config.yaml +9 -7
  31. package/templates/evaluator.py +0 -0
  32. package/lib/__pycache__/ai_cli.cpython-311.pyc +0 -0
  33. package/lib/__pycache__/evolution_csv.cpython-311.pyc +0 -0
  34. package/lib/__pycache__/evolution_csv.cpython-313.pyc +0 -0
  35. package/lib/__pycache__/evolve_run.cpython-311.pyc +0 -0
  36. package/lib/__pycache__/evolve_run.cpython-314.pyc +0 -0
  37. package/lib/__pycache__/evolve_worker.cpython-314.pyc +0 -0
  38. package/lib/__pycache__/llm_bandit.cpython-314.pyc +0 -0
  39. package/lib/__pycache__/log.cpython-311.pyc +0 -0
  40. package/lib/__pycache__/log.cpython-314.pyc +0 -0
  41. package/lib/__pycache__/meta_learning.cpython-314.pyc +0 -0
  42. package/lib/__pycache__/sandbox_wrapper.cpython-314.pyc +0 -0
package/README.md CHANGED
File without changes
@@ -90,7 +90,7 @@ SCRIPT
90
90
  gemini-pro)
91
91
  cat > "$test_script" << 'SCRIPT'
92
92
  #!/usr/bin/env bash
93
- exec gemini -y -m gemini-3-pro-preview -p "$1"
93
+ exec gemini -y -m auto-gemini-3 -p "$1"
94
94
  SCRIPT
95
95
  ;;
96
96
  gemini-flash|gemini-3-flash)
@@ -141,10 +141,22 @@ SCRIPT
141
141
  exec codex exec --dangerously-bypass-approvals-and-sandbox "$1"
142
142
  SCRIPT
143
143
  ;;
144
- gpt-5-codex)
144
+ codex-think)
145
145
  cat > "$test_script" << 'SCRIPT'
146
146
  #!/usr/bin/env bash
147
- exec codex exec -m gpt-5-codex --dangerously-bypass-approvals-and-sandbox "$1"
147
+ exec codex exec -m gpt-5.4 -c model_reasoning_effort="high" --dangerously-bypass-approvals-and-sandbox "$1"
148
+ SCRIPT
149
+ ;;
150
+ codex-coding)
151
+ cat > "$test_script" << 'SCRIPT'
152
+ #!/usr/bin/env bash
153
+ exec codex exec -m gpt-5.4 -c model_reasoning_effort="medium" --dangerously-bypass-approvals-and-sandbox "$1"
154
+ SCRIPT
155
+ ;;
156
+ gpt-5.4)
157
+ cat > "$test_script" << 'SCRIPT'
158
+ #!/usr/bin/env bash
159
+ exec codex exec -m gpt-5.4 --dangerously-bypass-approvals-and-sandbox "$1"
148
160
  SCRIPT
149
161
  ;;
150
162
  gpt-5.2)
@@ -159,22 +171,22 @@ SCRIPT
159
171
  exec codex exec -m gpt-5.3-codex --dangerously-bypass-approvals-and-sandbox "$1"
160
172
  SCRIPT
161
173
  ;;
162
- gpt-5.3-codex-spark)
174
+ codex-spark|gpt-5.1-codex-mini)
163
175
  cat > "$test_script" << 'SCRIPT'
164
176
  #!/usr/bin/env bash
165
- exec codex exec -m gpt-5.3-codex-spark --dangerously-bypass-approvals-and-sandbox "$1"
177
+ exec codex exec -m gpt-5.1-codex-mini --dangerously-bypass-approvals-and-sandbox "$1"
166
178
  SCRIPT
167
179
  ;;
168
180
  gemini-5-flash)
169
181
  cat > "$test_script" << 'SCRIPT'
170
182
  #!/usr/bin/env bash
171
- exec gemini -y -m gemini-5-flash -p "$1"
183
+ exec gemini -y -m gemini-3-flash-preview -p "$1"
172
184
  SCRIPT
173
185
  ;;
174
186
  qwen-openrouter)
175
187
  cat > "$test_script" << 'SCRIPT'
176
188
  #!/usr/bin/env bash
177
- exec opencode -m openrouter/qwen/qwen3.5-plus-02-15 run "$1"
189
+ exec opencode -m openrouter/qwen/qwen3.6-plus:free run "$1"
178
190
  SCRIPT
179
191
  ;;
180
192
  *)
package/lib/ai-cli.sh CHANGED
@@ -105,10 +105,22 @@ $prompt"
105
105
  ai_output=$(codex exec -m "$codex_gpt5_model" --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
106
106
  local ai_exit_code=$?
107
107
  ;;
108
- gpt-5-codex)
108
+ codex-think)
109
109
  local ai_output
110
- # GPT-5 Codex - code-specialized variant via Codex CLI
111
- ai_output=$(codex exec -m gpt-5-codex --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
110
+ # GPT-5.4 high reasoning - for ideation tasks requiring deep thinking
111
+ ai_output=$(codex exec -m gpt-5.4 -c model_reasoning_effort="high" --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
112
+ local ai_exit_code=$?
113
+ ;;
114
+ codex-coding)
115
+ local ai_output
116
+ # GPT-5.4 medium reasoning - for coding/implementation tasks
117
+ ai_output=$(codex exec -m gpt-5.4 -c model_reasoning_effort="medium" --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
118
+ local ai_exit_code=$?
119
+ ;;
120
+ gpt-5.4)
121
+ local ai_output
122
+ # GPT-5.4 - latest frontier agentic coding model via Codex CLI
123
+ ai_output=$(codex exec -m gpt-5.4 --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
112
124
  local ai_exit_code=$?
113
125
  ;;
114
126
  gpt-5.2)
@@ -123,10 +135,10 @@ $prompt"
123
135
  ai_output=$(codex exec -m gpt-5.3-codex --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
124
136
  local ai_exit_code=$?
125
137
  ;;
126
- gpt-5.3-codex-spark)
138
+ codex-spark|gpt-5.1-codex-mini)
127
139
  local ai_output
128
- # GPT-5.3 Codex Spark - lightweight fallback via Codex CLI
129
- ai_output=$(codex exec -m gpt-5.3-codex-spark --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
140
+ # GPT-5.1 Codex Mini - cheap/fast lightweight fallback via Codex CLI
141
+ ai_output=$(codex exec -m gpt-5.1-codex-mini --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
130
142
  local ai_exit_code=$?
131
143
  ;;
132
144
  o3high)
@@ -136,8 +148,8 @@ $prompt"
136
148
  ;;
137
149
  gemini-pro)
138
150
  local ai_output
139
- # Gemini streams output while working
140
- ai_output=$(gemini -y -m gemini-3-pro-preview -p "$prompt" 2>&1)
151
+ # Gemini 3 auto-routing (gemini-3.1-pro / gemini-3-flash) - streams output while working
152
+ ai_output=$(gemini -y -m auto-gemini-3 -p "$prompt" 2>&1)
141
153
  local ai_exit_code=$?
142
154
  ;;
143
155
  gemini-flash)
@@ -149,7 +161,7 @@ $prompt"
149
161
  gemini-5-flash)
150
162
  local ai_output
151
163
  # Gemini 5 Flash - cheap fallback model
152
- ai_output=$(gemini -y -m gemini-5-flash -p "$prompt" 2>&1)
164
+ ai_output=$(gemini -y -m gemini-3-flash-preview -p "$prompt" 2>&1)
153
165
  local ai_exit_code=$?
154
166
  ;;
155
167
  gemini-3-pro-preview)
@@ -254,9 +266,9 @@ $prompt"
254
266
  ;;
255
267
  qwen-openrouter)
256
268
  local ai_output
257
- # Qwen latest - Alibaba's flagship model (currently qwen3.5-plus)
269
+ # Qwen latest - Alibaba's flagship model (currently qwen3.6-plus, free promotional tier)
258
270
  # Linear attention + sparse MoE, strong multimodal capabilities
259
- ai_output=$(opencode -m openrouter/qwen/qwen3.5-plus-02-15 run "$prompt" 2>&1)
271
+ ai_output=$(opencode -m openrouter/qwen/qwen3.6-plus:free run "$prompt" 2>&1)
260
272
  local ai_exit_code=$?
261
273
  ;;
262
274
  codex-oss-local)
package/lib/ai_cli.py CHANGED
@@ -248,8 +248,9 @@ MODEL_TIMEOUTS = {
248
248
  'gemini-pro': 1800, 'gemini-flash': 1200, 'gemini-3-flash': 600,
249
249
  'gemini-3-pro-preview': 1800, 'gemini-5-flash': 600,
250
250
  # Codex/OpenAI models - 10 min standard
251
- 'gpt-5-codex': 600, 'gpt-5.2': 600, 'gpt-5.3-codex': 600,
252
- 'gpt-5.3-codex-spark': 300,
251
+ 'codex-think': 900, 'codex-coding': 600, 'codex-spark': 300,
252
+ 'gpt-5.4': 600, 'gpt-5.2': 600, 'gpt-5.3-codex': 600,
253
+ 'gpt-5.1-codex-mini': 300,
253
254
  # Z.AI agentic modes - 30 min (can be slow)
254
255
  'glm-zai': 1800, 'glm-5-zai': 1800,
255
256
  # Codex local - 40 min (local inference can be slow)
package/lib/config.py CHANGED
File without changes
package/lib/config.sh CHANGED
@@ -63,13 +63,13 @@ DEFAULT_WORKER_MAX_CANDIDATES=3
63
63
  #
64
64
  # Run: Subscription-based agentic models for code generation
65
65
  # All CLI tools (opencode, claude, gemini, kimi) are agentic and can edit files
66
- DEFAULT_LLM_RUN="gemini-pro gemini-pro glm-5-zai glm-5-zai kimi-coder kimi-coder gpt-5-codex gpt-5-codex sonnet"
67
- DEFAULT_LLM_RUN_FALLBACK="haiku glm-5-zai gemini-5-flash gpt-5.3-codex-spark"
66
+ DEFAULT_LLM_RUN="gemini-pro gemini-pro glm-5-zai glm-5-zai kimi-coder kimi-coder codex-coding codex-coding sonnet"
67
+ DEFAULT_LLM_RUN_FALLBACK="haiku glm-5-zai gemini-5-flash codex-spark"
68
68
  #
69
69
  # Ideate: Agentic models that can edit files for ideation
70
70
  # All CLI tools (opencode, claude, gemini, kimi) are agentic and can edit files
71
- DEFAULT_LLM_IDEATE="opus-think glm-5-zai gemini-pro kimi-coder gpt-5.2 gpt-5.3-codex qwen-openrouter"
72
- DEFAULT_LLM_IDEATE_FALLBACK="haiku glm-5-zai gemini-5-flash gpt-5.3-codex-spark"
71
+ DEFAULT_LLM_IDEATE="opus-think glm-5-zai gemini-pro kimi-coder gpt-5.2 codex-think qwen-openrouter"
72
+ DEFAULT_LLM_IDEATE_FALLBACK="haiku glm-5-zai gemini-5-flash codex-spark"
73
73
 
74
74
  # Load configuration from a YAML file and update variables
75
75
  _load_yaml_config() {
package/lib/csv-lock.sh CHANGED
File without changes
package/lib/editor.sh CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/llm_bandit.py CHANGED
File without changes
package/lib/log.py CHANGED
File without changes
File without changes
package/lib/sandbox.sb CHANGED
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.11.18",
3
+ "version": "1.11.19",
4
4
  "bin": {
5
5
  "claude-evolve": "bin/claude-evolve",
6
6
  "claude-evolve-main": "bin/claude-evolve-main",
File without changes
File without changes
@@ -94,10 +94,10 @@ llm_cli:
94
94
 
95
95
  # Default configuration: sonnet at ~11%, rest doubled for cost savings
96
96
  # Commented out because these change over time; uncomment to override
97
- #run: gemini-pro gemini-pro glm-5-zai glm-5-zai kimi-coder kimi-coder gpt-5-codex gpt-5-codex sonnet
98
- #ideate: opus-think glm-5-zai gemini-pro kimi-coder gpt-5.2 gpt-5.3-codex
99
- #run_fallback: haiku glm-5-zai gemini-5-flash gpt-5.3-codex-spark
100
- #ideate_fallback: haiku glm-5-zai gemini-5-flash gpt-5.3-codex-spark
97
+ #run: gemini-pro gemini-pro glm-5-zai glm-5-zai kimi-coder kimi-coder codex-coding codex-coding sonnet
98
+ #ideate: opus-think glm-5-zai gemini-pro kimi-coder gpt-5.2 codex-think qwen-openrouter
99
+ #run_fallback: haiku glm-5-zai gemini-5-flash codex-spark
100
+ #ideate_fallback: haiku glm-5-zai gemini-5-flash codex-spark
101
101
 
102
102
  # Available models:
103
103
  # Claude (subscription-based, watch usage limits):
@@ -108,10 +108,12 @@ llm_cli:
108
108
  # - haiku: Claude Haiku via Claude CLI (cheap fallback)
109
109
  #
110
110
  # Codex/OpenAI (subscription-based):
111
- # - gpt-5-codex: GPT-5 Codex (code-specialized) via Codex CLI
111
+ # - codex-think: GPT-5.4 high reasoning effort (ideation)
112
+ # - codex-coding: GPT-5.4 medium reasoning effort (coding/run)
113
+ # - codex-spark: GPT-5.1 Codex Mini (lightweight fallback)
114
+ # - gpt-5.4: GPT-5.4 no reasoning effort override via Codex CLI
112
115
  # - gpt-5.2: GPT-5.2 via Codex CLI
113
- # - gpt-5.3-codex: GPT-5.3 Codex via Codex CLI
114
- # - gpt-5.3-codex-spark: GPT-5.3 Codex Spark (lightweight fallback) via Codex CLI
116
+ # - gpt-5.3-codex: GPT-5.3 Codex (code-specialized) via Codex CLI
115
117
  # - gpt5: GPT-5 via Codex CLI (legacy alias)
116
118
  # - gpt5high: GPT-5 via Codex CLI (high reasoning)
117
119
  # - o3high: O3 via Codex CLI (high reasoning)
File without changes
Binary file
Binary file