BackendProbeDeps
Defined in: src/sandbox.ts:84
detectBackend additionally needs a probe environment to build a self-test membrane.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”claudeDir?
Section titled “claudeDir?”
optionalclaudeDir?:string
Defined in: src/sandbox.ts:86
exists?
Section titled “exists?”
optionalexists?: (p) =>boolean
Defined in: src/sandbox.ts:69
Existence probe; default fs.existsSync.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”
optionalhome?:string
Defined in: src/sandbox.ts:85
nodeBinReal?
Section titled “nodeBinReal?”
optionalnodeBinReal?:string
Defined in: src/sandbox.ts:87
readdir?
Section titled “readdir?”
optionalreaddir?: (p) =>string[]
Defined in: src/sandbox.ts:71
Directory listing; default a safe readdirSync wrapper returning [] on error.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string[]
Inherited from
Section titled “Inherited from”
optionalrun?: (cmd,args) =>object
Defined in: src/sandbox.ts:67
Run a command; default uses the repo-wrapped execFileSync. Returns its exit status.
Parameters
Section titled “Parameters”string
string[]
Returns
Section titled “Returns”object
status
Section titled “status”status:
number