Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / SANDBOX_AGENT_OPT_KEYS

Variable: SANDBOX_AGENT_OPT_KEYS

ts
const SANDBOX_AGENT_OPT_KEYS: readonly string[];

Defined in: packages/core/dist/index.d.ts

The sanctioned JSON subset of AgentOpts a sandbox script may pass: the planner-dialect allowlist. Exported as the single source both for the runtime validator below and for the planner API card, so the two can never drift (v1.22.0 review P2-4: the hand-maintained card had silently fallen three options behind).