UNPKG

@code-yeongyu/senpi

Version:

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

10 lines • 831 B
import { type ProviderDiagnostic } from "@earendil-works/pi-ai"; /** * The providerDiagnostic for an Anthropic Subscription turn failure (senpi#4672), mirroring the * chatgpt-subscription adapter (senpi#3771). A pool the extension refused locally is `auth` when every * account waits on a new login, and `rate_limit` with the soonest reset only when every account that can * come back on its own is rate-limited (senpi#3975); a pool held by billing, organization, or unknown blocks * gets no diagnostic, so a goal never parks on it. A classified SDK failure maps to its provider token. The result is revalidated against the closed vocabulary, so nothing else escapes. */ export declare function anthropicSubscriptionDiagnostic(error: unknown): ProviderDiagnostic | undefined; //# sourceMappingURL=provider-diagnostic.d.ts.map