@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 761 B
TypeScript
export type ClaudeCliEnvironmentOptions = {
/** The account's own config dir; the CLI keys its credential store on this path. */
readonly configDir: string;
/** The login's browser helper; omitted for status and logout. */
readonly browser?: string;
};
/**
* Environment for every `claude auth *` spawn of a CLI-store account. An inherited `CLAUDE_CODE_OAUTH_TOKEN` or
* `ANTHROPIC_API_KEY` takes precedence over the stored claude.ai login inside the CLI, so they are stripped with the
* rest of the managed auth set before the account dir is pinned.
*/
export declare function buildClaudeCliEnvironment(parent: NodeJS.ProcessEnv, options: ClaudeCliEnvironmentOptions): NodeJS.ProcessEnv;
//# sourceMappingURL=claude-cli-environment.d.ts.map