MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / allow

Function allow

src/tools/shell/code-run.ts:109–109  ·  view source on GitHub ↗
(cond: string)

Source from the content-addressed store, hash-verified

107 // sandbox-exec profile (SBPL — a Scheme dialect). Allows reads everywhere
108 // (most interpreters need to read libs from /usr), restricts writes to tempDir,
109 // and conditionally allows network outbound.
110 const allow = (cond: string): string => `(allow ${cond})`;
111 const networkLines = allowNetwork
112 ? [

Callers 1

macosSandboxProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected