Add MiniMax API support, Apple Container runtime, and stop script
Some checks failed
Bump version / bump-version (push) Has been cancelled
Sync upstream & merge-forward skill branches / sync-and-merge (push) Has been cancelled
Merge-forward skill branches / merge-forward (push) Has been cancelled
Update token count / update-tokens (push) Has been cancelled
Some checks failed
Bump version / bump-version (push) Has been cancelled
Sync upstream & merge-forward skill branches / sync-and-merge (push) Has been cancelled
Merge-forward skill branches / merge-forward (push) Has been cancelled
Update token count / update-tokens (push) Has been cancelled
- Add ASSISTANT_NAME and claude-minimax.sh for MiniMax API usage - Switch container runtime from Docker to Apple Container - Add CJK character restriction notice to CLAUDE.md files - Add stop.sh for graceful shutdown Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
19
stop.sh
Executable file
19
stop.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
# Stop launchd service (if loaded)
|
||||
if launchctl list | grep -q "com.nanoclaw"; then
|
||||
echo "Stopping via launchctl..."
|
||||
launchctl unload ~/Library/LaunchAgents/com.nanoclaw.plist 2>/dev/null || true
|
||||
fi
|
||||
|
||||
# Kill direct node process running nanoclaw
|
||||
PIDS=$(pgrep -f "node.*dist/index.js" 2>/dev/null || true)
|
||||
if [ -n "$PIDS" ]; then
|
||||
echo "Killing node processes: $PIDS"
|
||||
echo "$PIDS" | xargs kill 2>/dev/null || true
|
||||
fi
|
||||
|
||||
echo "Stopped."
|
||||
Reference in New Issue
Block a user