@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 641 B
TypeScript
import { type ProviderDiagnostic } from "@earendil-works/pi-ai";
/**
* The providerDiagnostic for a Cursor CLI OAuth turn the extension refused locally (senpi#4092), mirroring
* the Anthropic Subscription lane (senpi#4672). Cursor blocks an account either for a rate limit, which carries
* an expiry, or for a failed login, which carries none: a refusal with a soonest expiry is `rate_limit` with that
* reset, and one without any is `auth`, because only a new login brings an account back.
*/
export declare function cursorCliDiagnostic(error: unknown): ProviderDiagnostic | undefined;
//# sourceMappingURL=provider-diagnostic.d.ts.map