fix(mcp,start): JSON-RPC notifications return 202; no tmux attach
- mcp_post: notifications (no `id` field) → HTTP 202 with empty body, per streamable-HTTP MCP transport spec. Fixes rmcp 'transport channel closed' on codex's notifications/initialized. - start.sh: don't attach to tmux; print URL only. Backend + tmux session run in background. UI is the only viewing surface. - scripts/stop.sh: convenience teardown.
This commit is contained in:
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
# scripts/stop.sh — tear down the tmux session and backend
|
||||
tmux kill-session -t chess 2>/dev/null && echo "[ai-chess] tmux session 'chess' killed" || true
|
||||
pkill -f 'python -m ai_chess' 2>/dev/null && echo "[ai-chess] backend stopped" || true
|
||||
Reference in New Issue
Block a user