Files
ai-chess/scripts/stop.sh
T
ai-chess 4c5b306a9a 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.
2026-05-14 23:41:11 +03:00

5 lines
264 B
Bash
Executable File

#!/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