claude-evolve 1.5.27 → 1.5.28
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 +5 -0
- package/lib/config.sh +3 -2
- package/package.json +1 -1
- package/templates/config.yaml +2 -1
package/lib/ai-cli.sh
CHANGED
|
@@ -76,6 +76,11 @@ $prompt"
|
|
|
76
76
|
ai_output=$(timeout 300 cursor-agent opus -p "$prompt" 2>&1)
|
|
77
77
|
local ai_exit_code=$?
|
|
78
78
|
;;
|
|
79
|
+
glm)
|
|
80
|
+
local ai_output
|
|
81
|
+
ai_output=$(timeout 300 opencode -m openrouter/z-ai/glm-4.6 run "$prompt" 2>&1)
|
|
82
|
+
local ai_exit_code=$?
|
|
83
|
+
;;
|
|
79
84
|
*)
|
|
80
85
|
echo "[ERROR] Unknown model: $model_name" >&2
|
|
81
86
|
return 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 gpt5 cursor-sonnet"
|
|
57
|
+
DEFAULT_LLM_RUN="sonnet gpt5 cursor-sonnet glm"
|
|
58
58
|
DEFAULT_LLM_IDEATE="gemini sonnet-think sonnet-think gpt5high sonnet-think o3high"
|
|
59
59
|
|
|
60
60
|
# Load configuration from config file
|
|
@@ -108,6 +108,7 @@ load_config() {
|
|
|
108
108
|
LLM_CLI_sonnet_think='claude --dangerously-skip-permissions --model sonnet -p "ultrathink\n\n{{PROMPT}}"'
|
|
109
109
|
LLM_CLI_cursor_sonnet='cursor-agent sonnet -p "{{PROMPT}}"'
|
|
110
110
|
LLM_CLI_cursor_opus='cursor-agent opus -p "{{PROMPT}}"'
|
|
111
|
+
LLM_CLI_glm='opencode -m openrouter/z-ai/glm-4.6 run "{{PROMPT}}"'
|
|
111
112
|
LLM_RUN="$DEFAULT_LLM_RUN"
|
|
112
113
|
LLM_IDEATE="$DEFAULT_LLM_IDEATE"
|
|
113
114
|
|
|
@@ -327,7 +328,7 @@ show_config() {
|
|
|
327
328
|
echo " Memory limit: ${MEMORY_LIMIT_MB}MB"
|
|
328
329
|
echo " LLM configuration:"
|
|
329
330
|
# Show LLM configurations using dynamic variable names
|
|
330
|
-
for model in gpt5high o3high codex gemini opus opus_think sonnet sonnet_think cursor_sonnet cursor_opus; do
|
|
331
|
+
for model in gpt5high o3high codex gemini opus opus_think sonnet sonnet_think cursor_sonnet cursor_opus glm; do
|
|
331
332
|
var_name="LLM_CLI_${model}"
|
|
332
333
|
var_value=$(eval echo "\$$var_name")
|
|
333
334
|
if [[ -n "$var_value" ]]; then
|
package/package.json
CHANGED
package/templates/config.yaml
CHANGED
|
@@ -72,7 +72,7 @@ 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 gpt5 cursor-sonnet
|
|
75
|
+
#run: sonnet gpt5 cursor-sonnet glm
|
|
76
76
|
#ideate: gemini sonnet-think sonnet-think gpt5high sonnet-think o3high
|
|
77
77
|
|
|
78
78
|
# Available models:
|
|
@@ -86,3 +86,4 @@ llm_cli:
|
|
|
86
86
|
# - o3high: O3 via Codex CLI (high reasoning)
|
|
87
87
|
# - cursor-sonnet: Claude 3.5 Sonnet via Cursor Agent CLI
|
|
88
88
|
# - cursor-opus: Claude 3 Opus via Cursor Agent CLI
|
|
89
|
+
# - glm: GLM-4.6 via OpenCode CLI
|