multica/src/agent/auth-profiles
yushen e8815dbb97 fix(agent): loop-based rotation, timeout rotatable, error classification tests
- Replace single-retry with while loop that exhausts all candidate profiles
- Add "format" detection to classifyError (400, malformed, bad request, schema)
- Make timeout errors rotatable (some providers hang on rate limit)
- Export classifyError and isRotatableError for testing
- Add error-classification.test.ts with coverage for all failure reasons

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:26:16 +08:00
..
constants.ts feat(agent): add auth profile rotation and cooldown module 2026-02-03 16:55:42 +08:00
error-classification.test.ts fix(agent): loop-based rotation, timeout rotatable, error classification tests 2026-02-03 17:26:16 +08:00
index.ts fix(auth-profiles): add file locking, type priority sort, credential filtering 2026-02-03 17:26:09 +08:00
order.test.ts fix(auth-profiles): add file locking, type priority sort, credential filtering 2026-02-03 17:26:09 +08:00
order.ts fix(auth-profiles): add file locking, type priority sort, credential filtering 2026-02-03 17:26:09 +08:00
store.test.ts fix(auth-profiles): add file locking, type priority sort, credential filtering 2026-02-03 17:26:09 +08:00
store.ts fix(auth-profiles): add file locking, type priority sort, credential filtering 2026-02-03 17:26:09 +08:00
types.ts fix(auth-profiles): add file locking, type priority sort, credential filtering 2026-02-03 17:26:09 +08:00
usage.test.ts feat(agent): add auth profile rotation and cooldown module 2026-02-03 16:55:42 +08:00
usage.ts feat(agent): add auth profile rotation and cooldown module 2026-02-03 16:55:42 +08:00