@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 809 B
TypeScript
export declare const CURSOR_AGENT_ENVIRONMENT_PASSTHROUGH: readonly ["PATH", "TERM", "LANG", "LC_ALL", "FORCE_COLOR"];
/**
* The one environment every cursor-agent spawn receives (turns, `models`, `--version`).
*
* Security contract: nothing beyond the passthrough list crosses into the child, so
* senpi secrets stay out and no `SSH_*`/`MOSH_*`/`VSCODE_SSH_*` marker arrives. The
* latter is load-bearing on macOS - cursor-agent treats those markers as a remote
* session and preflights the login keychain with `security add-generic-password`,
* which blocks on a GUI "Keychain Not Found" dialog when `HOME` has no login
* keychain (senpi#1722).
*/
export declare function cursorAgentEnvironment(home: string, source?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
//# sourceMappingURL=environment.d.ts.map