relay_reconnect
Heal a stale Mercure relay connection by checking backend status and restarting only if unhealthy, with optional force restart.
Instructions
Heal a stale Mercure relay connection. Consults the backend's /api/cli/status first and no-ops if the listener is healthy; otherwise SIGTERMs the recorded PID and launches a fresh background listener. Pass force=true to skip the health-check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Restart even if the backend reports the listener as connected (default: false). |