mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Three reliability improvements: 1. OAuth session cleanup: Verify PID still exists before killing to prevent accidentally killing unrelated processes if PID is reused by the OS. Uses kill -0 check before sending SIGTERM. 2. Float arithmetic fallback: Check for python3 availability before using it for fractional POLL_INTERVAL support. Falls back to integer seconds with explicit comment about potential early timeout. 3. Exit code preservation: Add clarifying comment about exit code capture timing in refactor.sh cleanup trap (already correct, now documented). Agent: code-health Co-authored-by: spawn-bot <bot@openrouter.ai> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||
| github-auth.sh | ||
| key-request.sh | ||