AxJSRuntimePermission Generated TypeScript API reference. typescript api api/reference build/apidocs/Enumeration.AxJSRuntimePermission.md enum AxJSRuntimePermission

AxJSRuntimePermission

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/funcs/jsRuntimeSecurity.ts#L13

Permissions that can be granted to the RLM JS interpreter sandbox. By default all dangerous globals are blocked; users opt in via this enum.

Enumeration Members

Enumeration MemberValueDescription
CHILD_PROCESS"child-process"node:child_process — gates –allow-child-process and Deno run
CODE_LOADING"code-loading"importScripts
COMMUNICATION"communication"BroadcastChannel
FILESYSTEM"filesystem"node:fs and related — gates Node Permission Model –allow-fs-* and Deno read/write
NETWORK"network"fetch, XMLHttpRequest, WebSocket, EventSource
STORAGE"storage"indexedDB, caches
TIMING"timing"performance
WORKERS"workers"Worker, SharedWorker. Warning: sub-workers spawn with fresh, unlocked globals — granting WORKERS without other restrictions implicitly grants all capabilities (e.g. fetch, indexedDB) inside child workers.
Docs