pi-mono/packages/coding-agent/src
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
..
cli Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00
core Auto-retry on transient provider errors (overloaded, rate limit, 5xx) 2025-12-10 23:36:46 +01:00
modes Auto-retry on transient provider errors (overloaded, rate limit, 5xx) 2025-12-10 23:36:46 +01:00
utils Move config.ts from utils/ to src/ 2025-12-09 01:28:06 +01:00
cli.ts Remove old implementation files (main.ts, cli.ts, tui-renderer.ts), rename new files 2025-12-09 01:21:28 +01:00
config.ts Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00
index.ts Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00
main.ts fixes #161: stop theme watcher and exit cleanly in print mode 2025-12-10 21:16:47 +01:00