claude-evolve 1.0.5 → 1.0.7
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-ideate
CHANGED
|
@@ -144,7 +144,7 @@ ideate_ai() {
|
|
|
144
144
|
|
|
145
145
|
# Build prompt
|
|
146
146
|
local prompt
|
|
147
|
-
prompt="You are helping with algorithm evolution. Generate exactly $count new algorithm idea(s) based on the following context.
|
|
147
|
+
prompt="It's time for your megathinking mode! You are helping with algorithm evolution. Generate exactly $count new algorithm idea(s) based on the following context.
|
|
148
148
|
|
|
149
149
|
Project Brief:
|
|
150
150
|
$(cat evolution/BRIEF.md)
|
package/bin/claude-evolve-run
CHANGED
|
@@ -166,9 +166,11 @@ fi
|
|
|
166
166
|
if [ $((LOOP_COUNTER % 4)) -eq 0 ]; then
|
|
167
167
|
echo -e "\033[33m**** MEGATHINKING MODE ACTIVATED ****\033[0m"
|
|
168
168
|
CLAUDE_MODEL="opus"
|
|
169
|
+
MEGATHINK_PREFIX="megathink: "
|
|
169
170
|
echo "[INFO] Using Claude Opus for architectural thinking (iteration $LOOP_COUNTER)"
|
|
170
171
|
else
|
|
171
172
|
CLAUDE_MODEL="sonnet"
|
|
173
|
+
MEGATHINK_PREFIX=""
|
|
172
174
|
echo "[INFO] Using Claude Sonnet for development (iteration $LOOP_COUNTER)"
|
|
173
175
|
fi
|
|
174
176
|
|
|
@@ -176,7 +178,7 @@ fi
|
|
|
176
178
|
echo $((LOOP_COUNTER + 1)) > evolution/.loop_counter
|
|
177
179
|
|
|
178
180
|
# Create mutation prompt
|
|
179
|
-
prompt="You are an AI assistant helping to evolve algorithms through mutations. Please modify the Python algorithm file at $output_file based on the requested modification.
|
|
181
|
+
prompt="${MEGATHINK_PREFIX}You are an AI assistant helping to evolve algorithms through mutations. Please modify the Python algorithm file at $output_file based on the requested modification.
|
|
180
182
|
|
|
181
183
|
CONTEXT:
|
|
182
184
|
$(cat evolution/BRIEF.md 2>/dev/null || echo "No brief available")
|