AxJSRuntimeNodePermissionAllowlist Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxJSRuntimeNodePermissionAllowlist.md type AxJSRuntimeNodePermissionAllowlist

AxJSRuntimeNodePermissionAllowlist

TypeScript
type AxJSRuntimeNodePermissionAllowlist = Readonly<{
  addons?: boolean;
  childProcess?: boolean;
  fsRead?: readonly string[];
  fsWrite?: readonly string[];
  wasi?: boolean;
}>;

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

Fine-grained Node Permission Model allowlist. Scopes --allow-fs-* and gates additional --allow-* flags that aren’t covered by the high-level permission enum.

Docs