@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 656 B
TypeScript
/**
* The credential an RPC `login_api_key` stores. With a `region`, the provider's own interactive
* API-key login runs with the region and key as its answers, so the stored credential is exactly
* what the CLI's `/login` stores for the same choices (Kimi Code: the key plus its region env,
* code-yeongyu/omo-desktop-app#4385). Without one it is the plain key, as before.
*/
import type { ApiKeyCredential, Provider } from "@earendil-works/pi-ai";
export declare function apiKeyLoginCredential(provider: Provider | undefined, key: string, region: string | undefined): Promise<ApiKeyCredential>;
//# sourceMappingURL=api-key-login-credential.d.ts.map