Commit graph

2 commits

Author SHA1 Message Date
kfirfer
a13e03372e
Implement automatic client reconnection with exponential backoff and heartbeat timeout
- Add heartbeat timeout to client control connection using server heartbeats for dead connection detection
- Introduce exponential backoff with jitter for reconnection delays
- Add CLI flags: --no-reconnect to disable auto-reconnect, --max-reconnect-delay to configure backoff cap
- Classify authentication errors as fatal (never retried), all others retried automatically
- Configure TCP keepalive on control connections for OS-level dead connection detection
- Update documentation (README.md, CLAUDE.md) to describe reconnection behavior and new flags
- Add unit tests for backoff logic and error classification
2026-02-17 14:35:36 +07:00
kfirfer
58a9a19d73
Add AGENTS.md and CLAUDE.md with project and development documentation 2026-02-17 12:47:56 +07:00