feat(FN-705): add rate-limit retry with exponential backoff for AI agents

- Add rate-limit retry utility with exponential backoff, jitter, and configurable limits
- Integrate retry logic into executor, triage, and merger agent sessions
- Export retryOnRateLimit from engine package index
- Remove unused DirectoryPicker component, stale CSS, and dead dashboard routes
- Update SetupWizardModal and usage tests to reflect cleanup
This commit is contained in:
gsxdsm
2026-04-02 13:39:04 -07:00
parent cba40636da
commit 281fd206ba
8 changed files with 399 additions and 7 deletions

View File

@@ -14,6 +14,10 @@ vi.mock("node:fs", () => ({
readFileSync: vi.fn(),
}));
vi.mock("./rate-limit-retry.js", () => ({
withRateLimitRetry: (fn: () => Promise<any>) => fn(),
}));
import {
aiMergeTask,
findWorktreeUser,