claude-evolve 1.8.9 → 1.8.10
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.
|
@@ -8,7 +8,7 @@ echo ""
|
|
|
8
8
|
# Find all claude-evolve related processes
|
|
9
9
|
# Patterns to match:
|
|
10
10
|
# - claude-evolve-* (but NOT this killall script)
|
|
11
|
-
# - evaluator.py
|
|
11
|
+
# - evaluator.py and evaluator_*.py (e.g., evaluator_fast.py)
|
|
12
12
|
# - evolution_*.py
|
|
13
13
|
# - algorithm.py
|
|
14
14
|
# - backtest.py
|
|
@@ -18,7 +18,7 @@ echo ""
|
|
|
18
18
|
|
|
19
19
|
# Get all matching processes with their PIDs
|
|
20
20
|
# Exclude this script itself and grep
|
|
21
|
-
PROCESSES=$(ps aux | grep -E '(claude-evolve
|
|
21
|
+
PROCESSES=$(ps aux | grep -E '(claude-evolve-|evaluator.*\.py|evolution_.*\.py|algorithm\.py|backtest\.py)' | grep -v grep | grep -v 'claude-evolve-killall' || true)
|
|
22
22
|
|
|
23
23
|
if [[ -z "$PROCESSES" ]]; then
|
|
24
24
|
echo "✓ No claude-evolve processes found running."
|
package/bin/claude-evolve-main
CHANGED
|
@@ -68,6 +68,7 @@ COMMANDS:
|
|
|
68
68
|
cleanup Clean up unchanged algorithms and descendants
|
|
69
69
|
clean-corrupted Remove corrupted records from evolution CSV
|
|
70
70
|
cleanup-duplicates Alias for cleanup (deprecated)
|
|
71
|
+
killall Kill all running evolution processes
|
|
71
72
|
help Show this help message
|
|
72
73
|
|
|
73
74
|
GLOBAL OPTIONS:
|
|
@@ -102,6 +103,7 @@ show_menu() {
|
|
|
102
103
|
echo " 7) autostatus - Auto-updating status display (real-time)"
|
|
103
104
|
echo " 8) clean-corrupted - Remove corrupted records from CSV"
|
|
104
105
|
echo " 9) config - Manage configuration settings"
|
|
106
|
+
echo " k) killall - Kill all running evolution processes"
|
|
105
107
|
echo " h) help - Show help message"
|
|
106
108
|
echo " 0) exit - Exit"
|
|
107
109
|
echo
|
|
@@ -154,7 +156,7 @@ check_for_updates
|
|
|
154
156
|
# Main logic
|
|
155
157
|
if [[ $# -eq 0 ]]; then
|
|
156
158
|
show_menu
|
|
157
|
-
read -r -p "Enter your choice (1-9, h, 0): " choice
|
|
159
|
+
read -r -p "Enter your choice (1-9, k, h, 0): " choice
|
|
158
160
|
|
|
159
161
|
case $choice in
|
|
160
162
|
1) exec "$SCRIPT_DIR/claude-evolve-setup" ;;
|
|
@@ -166,13 +168,14 @@ if [[ $# -eq 0 ]]; then
|
|
|
166
168
|
7) exec "$SCRIPT_DIR/claude-evolve-autostatus" ;;
|
|
167
169
|
8) exec "$SCRIPT_DIR/claude-evolve-clean-corrupted" ;;
|
|
168
170
|
9) exec "$SCRIPT_DIR/claude-evolve-config" ;;
|
|
171
|
+
k|K) exec "$SCRIPT_DIR/claude-evolve-killall" ;;
|
|
169
172
|
h|H) show_help ;;
|
|
170
173
|
0)
|
|
171
174
|
echo "Goodbye!"
|
|
172
175
|
exit 0
|
|
173
176
|
;;
|
|
174
177
|
*)
|
|
175
|
-
echo -e "${RED}Invalid choice. Please select 1-9, h, or 0.${NC}"
|
|
178
|
+
echo -e "${RED}Invalid choice. Please select 1-9, k, h, or 0.${NC}"
|
|
176
179
|
exit 1
|
|
177
180
|
;;
|
|
178
181
|
esac
|
|
@@ -225,6 +228,10 @@ config)
|
|
|
225
228
|
shift
|
|
226
229
|
exec "$SCRIPT_DIR/claude-evolve-config" "$@"
|
|
227
230
|
;;
|
|
231
|
+
killall)
|
|
232
|
+
shift
|
|
233
|
+
exec "$SCRIPT_DIR/claude-evolve-killall" "$@"
|
|
234
|
+
;;
|
|
228
235
|
*)
|
|
229
236
|
echo "Unknown command: ${1:-}"
|
|
230
237
|
echo
|