@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 670 B
TypeScript
import type { AuthStorage } from "./auth-storage.ts";
/**
* The retry-fallback recovery revision of `provider` (senpi#4099): the `loginId` the last sign-in
* stored, or "" when none did. A token refresh keeps the id or drops it to "" and never mints one, so
* only a sign-in moves it to a new non-empty value. The
* metadata read reloads another process's write without resolving key references. An unreadable
* store answers `undefined`, which never releases anything.
*/
export declare function credentialRecoveryRevision(storage: AuthStorage | undefined, provider: string): Promise<string | undefined>;
//# sourceMappingURL=credential-recovery-revision.d.ts.map