UNPKG

@code-yeongyu/senpi

Version:

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

8 lines • 556 B
import type { ProviderConfig, ProviderLoginStartEvent } from "./types.ts"; /** * Wraps a registered provider's OAuth login so `provider_login_start` is awaited before the provider's own login * code runs. Every login entry point (TUI, RPC, account commands) reaches the registered config, so one wrap at * registration covers them all. */ export declare function withProviderLoginStart(provider: string, config: ProviderConfig, emit: (event: ProviderLoginStartEvent) => Promise<void>): ProviderConfig; //# sourceMappingURL=provider-login-start.d.ts.map