Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / NoneSandboxOptions

Interface: NoneSandboxOptions

Defined in: packages/security/src/sandbox/none.ts:48

Options for NoneSandbox. Hosting code passes a registry of handlers; lookups are by module + export for 'handler' codes and by 'inline' key for 'source' / 'file' codes (which the adapter rejects — directly executing JS source bypasses the trust tier the user explicitly opted out of).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
resolveHandlerreadonly(code) => | NoneSandboxHandler<unknown, unknown> | undefinedResolver for code.kind === 'handler' invocations. The framework default registers built-in trusted tool handlers at startup.packages/security/src/sandbox/none.ts:53