Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

10 lines
279 B
Bash

#!/bin/bash
# Pause game when Claude needs user input
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
FLAG="$SCRIPT_DIR/.plan-active"
# Only send pause if game is active
[ ! -f "$FLAG" ] && exit 0
curl -s --max-time 1 -X POST "http://localhost:3456/pause" > /dev/null 2>&1 || true