UNPKG

@code-yeongyu/senpi

Version:

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

10 lines • 631 B
/** Why a turn cannot start; the RPC `prompt` refusal carries it as `errorCode`. */ export type ModelNotReadyCode = "provider_credentials_missing" | "provider_credentials_expired" | "no_model_selected"; /** A turn cannot start: no model is selected, or its provider has no credentials. */ export declare class ModelNotReadyError extends Error { readonly code: ModelNotReadyCode; /** The selected model's provider; absent for `no_model_selected`. */ readonly provider: string | undefined; constructor(message: string, code: ModelNotReadyCode, provider?: string); } //# sourceMappingURL=model-not-ready-error.d.ts.map