claude-evolve 1.5.18 → 1.5.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.
- package/lib/ai-cli.sh +18 -0
- package/lib/config.sh +4 -2
- package/package.json +1 -1
package/lib/ai-cli.sh
CHANGED
|
@@ -22,6 +22,24 @@ call_ai_model_configured() {
|
|
|
22
22
|
ai_output=$(timeout 300 claude --dangerously-skip-permissions --model "$model_name" -p "$prompt" 2>&1)
|
|
23
23
|
local ai_exit_code=$?
|
|
24
24
|
;;
|
|
25
|
+
sonnet-think)
|
|
26
|
+
local ai_output
|
|
27
|
+
# Use extended thinking with sonnet 4.5 - prepend ultrathink instruction
|
|
28
|
+
local think_prompt="ultrathink
|
|
29
|
+
|
|
30
|
+
$prompt"
|
|
31
|
+
ai_output=$(timeout 600 claude --dangerously-skip-permissions --model sonnet --extended-thinking -p "$think_prompt" 2>&1)
|
|
32
|
+
local ai_exit_code=$?
|
|
33
|
+
;;
|
|
34
|
+
opus-think)
|
|
35
|
+
local ai_output
|
|
36
|
+
# Use extended thinking with opus - prepend ultrathink instruction
|
|
37
|
+
local think_prompt="ultrathink
|
|
38
|
+
|
|
39
|
+
$prompt"
|
|
40
|
+
ai_output=$(timeout 600 claude --dangerously-skip-permissions --model opus --extended-thinking -p "$think_prompt" 2>&1)
|
|
41
|
+
local ai_exit_code=$?
|
|
42
|
+
;;
|
|
25
43
|
gpt5high)
|
|
26
44
|
local ai_output
|
|
27
45
|
ai_output=$(timeout 420 codex exec -m gpt-5 -c model_reasoning_effort="high" --dangerously-bypass-approvals-and-sandbox "$prompt" 2>&1)
|
package/lib/config.sh
CHANGED
|
@@ -55,7 +55,7 @@ DEFAULT_MEMORY_LIMIT_MB=12288
|
|
|
55
55
|
|
|
56
56
|
# Default LLM CLI configuration - use simple variables instead of arrays
|
|
57
57
|
DEFAULT_LLM_RUN="sonnet gpt5 cursor-sonnet"
|
|
58
|
-
DEFAULT_LLM_IDEATE="gemini opus gpt5high o3high cursor-opus"
|
|
58
|
+
DEFAULT_LLM_IDEATE="gemini opus-think sonnet-think gpt5high o3high cursor-opus"
|
|
59
59
|
|
|
60
60
|
# Load configuration from config file
|
|
61
61
|
load_config() {
|
|
@@ -103,7 +103,9 @@ load_config() {
|
|
|
103
103
|
LLM_CLI_codex='codex exec --dangerously-bypass-approvals-and-sandbox "{{PROMPT}}"'
|
|
104
104
|
LLM_CLI_gemini='gemini -y -p "{{PROMPT}}"'
|
|
105
105
|
LLM_CLI_opus='claude --dangerously-skip-permissions --model opus -p "{{PROMPT}}"'
|
|
106
|
+
LLM_CLI_opus_think='claude --dangerously-skip-permissions --model opus --extended-thinking -p "ultrathink\n\n{{PROMPT}}"'
|
|
106
107
|
LLM_CLI_sonnet='claude --dangerously-skip-permissions --model sonnet -p "{{PROMPT}}"'
|
|
108
|
+
LLM_CLI_sonnet_think='claude --dangerously-skip-permissions --model sonnet --extended-thinking -p "ultrathink\n\n{{PROMPT}}"'
|
|
107
109
|
LLM_CLI_cursor_sonnet='cursor-agent sonnet -p "{{PROMPT}}"'
|
|
108
110
|
LLM_CLI_cursor_opus='cursor-agent opus -p "{{PROMPT}}"'
|
|
109
111
|
LLM_RUN="$DEFAULT_LLM_RUN"
|
|
@@ -325,7 +327,7 @@ show_config() {
|
|
|
325
327
|
echo " Memory limit: ${MEMORY_LIMIT_MB}MB"
|
|
326
328
|
echo " LLM configuration:"
|
|
327
329
|
# Show LLM configurations using dynamic variable names
|
|
328
|
-
for model in gpt5high o3high codex gemini opus sonnet cursor_sonnet cursor_opus; do
|
|
330
|
+
for model in gpt5high o3high codex gemini opus opus_think sonnet sonnet_think cursor_sonnet cursor_opus; do
|
|
329
331
|
var_name="LLM_CLI_${model}"
|
|
330
332
|
var_value=$(eval echo "\$$var_name")
|
|
331
333
|
if [[ -n "$var_value" ]]; then
|