UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

10 lines • 644 B
import { AuthError, type McpErrorOptions } from "../errors.ts"; export type OAuthFailureKind = "s256_unsupported" | "needs_auth" | "invalid_grant" | "transient" | "state_mismatch" | "expired_code" | "no_verifier" | "headless" | "missing_env"; export declare class OAuthFlowError extends AuthError { readonly oauthKind: OAuthFailureKind; readonly terminal: boolean; constructor(oauthKind: OAuthFailureKind, message: string, options?: McpErrorOptions); } export declare function isInvalidGrant(error: unknown): boolean; export declare function isTransientTokenError(error: unknown): boolean; //# sourceMappingURL=oauth-errors.d.ts.map