MCPcopy Index your code
hub / github.com/callstack/agent-device / restrictedCommandPolicy

Function restrictedCommandPolicy

src/runtime.ts:90–98  ·  view source on GitHub ↗
(overrides: Partial<CommandPolicy> = {})

Source from the content-addressed store, hash-verified

88}
89
90export function restrictedCommandPolicy(overrides: Partial<CommandPolicy> = {}): CommandPolicy {
91 return {
92 allowLocalInputPaths: false,
93 allowLocalOutputPaths: false,
94 maxImagePixels: 20_000_000,
95 allowNamedBackendCapabilities: [],
96 ...overrides,
97 };
98}

Callers 6

recording.test.tsFile · 0.90
apps.test.tsFile · 0.90
createAgentDeviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected