@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 1.04 kB
TypeScript
import type { ExtensionAPI } from "../../types.ts";
import { type AnthropicSubscriptionProviderSettings } from "./settings.ts";
type CommandEnvironment = (name: string) => string | undefined;
export interface ClaudeAccountCommandDeps {
loadSettings?: (cwd: string) => AnthropicSubscriptionProviderSettings;
environment?: CommandEnvironment;
/** Browser launcher for the OAuth authorize URL; tests inject a recorder. */
openBrowser?: ((url: string) => void) | undefined;
}
export declare function getSessionClaudeAccountPin(sessionId: string | undefined): string | undefined;
/** CLI pins are request-local overrides; settings and stored pins remain fallback choices. */
export declare function resolveClaudeAccountPin(cliPinnedAccount: string | undefined, settingsPinnedAccount: string | undefined, storedPinnedAccount: string | undefined): string | undefined;
export declare function registerClaudeAccountCommand(pi: ExtensionAPI, deps?: ClaudeAccountCommandDeps): void;
export {};
//# sourceMappingURL=account-command.d.ts.map