@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 890 B
TypeScript
import type { AuthStorage } from "./auth-storage.ts";
import type { CredentialSlotRepository } from "./credential-pool/state-store.ts";
export declare class CredentialAccountNotFoundError extends Error {
readonly name = "CredentialAccountNotFoundError";
readonly code = "account_not_found";
constructor(accountName: string);
}
/**
* Clears one account's cooldown or block so the next request tries it again
* (senpi#3285). Both health sources are cleared: the pool sidecar and a block a
* provider lane stored on the account itself. Nothing else about the account
* changes; if it is still unhealthy, the next request blocks it again.
*/
export declare function resetCredentialAccount(storage: AuthStorage, provider: string, name: string, env?: NodeJS.ProcessEnv, repository?: CredentialSlotRepository): Promise<void>;
//# sourceMappingURL=credential-account-reset.d.ts.map