Nuke Shella State
Kill all shella processes and optionally clear state. This is destructive - only run when explicitly requested.
Steps
-
Confirm with user before proceeding. This will:
- Kill all processes on ports 47100-47200
- Optionally delete registry.json (layout and instance state)
-
Kill processes on shella ports:
lsof -i :47100-47200 -P -n -t 2>/dev/null | xargs -r kill -9 -
Kill any remaining shella-related node processes (if needed):
pkill -f "shella" 2>/dev/null || true -
Optionally clear state (ask user first):
rm -f ~/.local/state/shella/registry.json rm -f ~/.local/state/shella/dev.log -
Verify clean:
lsof -i :47100-47200 -P -n 2>/dev/null | grep LISTENShould return nothing.
After Nuking
Tell the user to restart with:
npm run dt dev daemon
Or for full stack:
npm run dt dev all
微信扫一扫