pi-mono/packages/coding-agent/src/modes
Mario Zechner bb445d24f1 Auto-retry on transient provider errors (overloaded, rate limit, 5xx)
- Add retry logic with exponential backoff (2s, 4s, 8s) in AgentSession
- Disable Anthropic SDK built-in retries (maxRetries: 0) to allow app-level handling
- TUI shows retry status with Escape to cancel
- RPC mode: add set_auto_retry, abort_retry commands and auto_retry_start/end events
- Configurable via settings.json: retry.enabled, retry.maxRetries, retry.baseDelayMs
- Exclude context overflow errors from retry (handled by compaction)

fixes #157
2025-12-10 23:36:46 +01:00
..
interactive Auto-retry on transient provider errors (overloaded, rate limit, 5xx) 2025-12-10 23:36:46 +01:00
rpc Auto-retry on transient provider errors (overloaded, rate limit, 5xx) 2025-12-10 23:36:46 +01:00
index.ts Rewrite RPC mode with typed protocol and client 2025-12-09 14:13:28 +01:00
print-mode.ts Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00