MembraneInputs
Defined in: src/sandbox.ts:163
Properties
Section titled “Properties”apiKeyHelperPath?
Section titled “apiKeyHelperPath?”
optionalapiKeyHelperPath?:string|null
Defined in: src/sandbox.ts:183
api-key mode: bind this helper script RO so claude can exec it. RESIDUAL: cat-able by an in-sandbox agent (host hygiene only, same class as audit R3/R4) — NOT in-membrane secrecy.
claudeDir
Section titled “claudeDir”claudeDir:
string
Defined in: src/sandbox.ts:171
CLAUDE_CONFIG_DIR ?? ~/.claude (caller passes resolved).
extraEnv?
Section titled “extraEnv?”
optionalextraEnv?:Record<string,string>
Defined in: src/sandbox.ts:179
Non-secret host env vars to pass through under --clearenv (e.g. LANG/TZ);
caller builds this via collectPassthroughEnv. HOME/PATH/TERM are always set
separately and must NOT be included here.
gitCommonDir
Section titled “gitCommonDir”gitCommonDir:
string
Defined in: src/sandbox.ts:166
ABSOLUTE shared object store (the worktree’s .git is a file pointing here).
home:
string
Defined in: src/sandbox.ts:172
isolated
Section titled “isolated”isolated:
boolean
Defined in: src/sandbox.ts:168
false => session runs in repoPath (bind repoPath rw) instead of worktree+common.
maskCredentials?
Section titled “maskCredentials?”
optionalmaskCredentials?:boolean
Defined in: src/sandbox.ts:189
api-key mode: present
nodeBinReal
Section titled “nodeBinReal”nodeBinReal:
string
Defined in: src/sandbox.ts:174
realpath of resolveNodeBin() (caller passes resolved).
repoPath
Section titled “repoPath”repoPath:
string
Defined in: src/sandbox.ts:169
optionalterm?:string
Defined in: src/sandbox.ts:175
worktreePath
Section titled “worktreePath”worktreePath:
string
Defined in: src/sandbox.ts:164