style: format agent rotation updates

This commit is contained in:
Eyejoker
2026-03-24 17:09:17 +09:00
parent 8b2c46b89e
commit 744e2ce6e2
5 changed files with 9 additions and 12 deletions

View File

@@ -94,9 +94,7 @@ function isClaudeUsageExhaustedMessage(text: string): boolean {
function isClaudeAuthExpiredMessage(text: string): boolean {
const normalized = text.trim().toLowerCase().replace(/\s+/g, ' ');
const looksLikeAuthFailure = normalized.startsWith(
'failed to authenticate',
);
const looksLikeAuthFailure = normalized.startsWith('failed to authenticate');
const hasExpiredTokenMarker =
normalized.includes('oauth token has expired') ||
normalized.includes('authentication_error') ||