Commit Graph
3 Commits
Author SHA1 Message Date
CheapestInference eb0b4bcdba fix: improve foreground process detection for macOS compatibility
Expand default foreground command list beyond node/claude to include
npx, tsx, bun, deno. Log actual detected process name for debugging.
Add configurable foregroundCommands in ~/.claude-auto-retry.json.
2026-03-29 03:52:16 +02:00
CheapestInference ba6cbc2c11 chore: bump version to 0.2.0 2026-03-28 10:58:29 +01:00
CheapestInference d47529a41a feat: claude-auto-retry v0.1.0
Auto-retry Claude Code sessions when hitting Anthropic subscription rate limits.
Uses tmux monitoring + send-keys to detect rate limit messages, wait for reset,
and send "continue" automatically. Zero dependencies, zero workflow change.

- Shell wrapper intercepts `claude` command transparently
- Background monitor polls tmux pane for rate limit patterns
- Timezone-aware reset time parsing with DST safety
- Safe send-keys with foreground process verification
- --print mode: buffers output, retries cleanly for pipes
- Config validation prevents bad values from causing crashes
- 59 tests, 0 dependencies
2026-03-18 11:43:36 +01:00