UNPKG

@earendil-works/pi-coding-agent

Version:

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

15 lines 849 B
import type { Credential, CredentialInfo, CredentialStore } from "@earendil-works/pi-ai"; /** Async credential store overlay for non-persistent runtime API keys. */ export declare class RuntimeCredentials implements CredentialStore { private readonly store; private readonly overrides; constructor(store: CredentialStore); setRuntimeApiKey(providerId: string, apiKey: string): void; removeRuntimeApiKey(providerId: string): void; hasRuntimeApiKey(providerId: string): boolean; read(providerId: string): Promise<Credential | undefined>; list(): Promise<readonly CredentialInfo[]>; modify(providerId: string, fn: (current: Credential | undefined) => Promise<Credential | undefined>): Promise<Credential | undefined>; delete(providerId: string): Promise<void>; } //# sourceMappingURL=runtime-credentials.d.ts.map