Skip to content

AUTH_ERROR_SIGNATURES

const AUTH_ERROR_SIGNATURES: RegExp[]

Defined in: src/verify-key.ts:30

Conservative, auth-SPECIFIC signatures that flag an authentication failure in the agent’s pane text. Kept narrow so benign output (or a successful turn) never matches: each pattern names an unambiguous auth condition, not a generic error. Used to FAST-FAIL verifyApiKey the instant a 401/login error renders, instead of waiting out the full timeout.