Code Node
Sandboxed JavaScript execution node — currently disabled pending Pod VM infrastructure.
Code Node
The code node is designed to execute arbitrary JavaScript in an isolated environment. It is currently disabled while Pod VM infrastructure (Kata Containers / Firecracker) is being provisioned.
Code node execution is disabled. Invoking this node will immediately fail the execution with: "Code node execution is currently disabled. Arbitrary code execution requires a dedicated Pod VM for safe sandboxing."
Use the Agent node with the run_javascript tool as an interim solution (requires human approval per run).
Planned Configuration
Once enabled, the node will accept:
| Field | Type | Default | Description |
|---|---|---|---|
code | string | — | JavaScript to execute. input is bound to lastOutput. Must assign to output. |
language | javascript | javascript | Language (only JavaScript planned initially) |
timeoutMs | number | 5000 | Execution timeout |
Planned Example
Alternative: Agent + run_javascript Tool
Until the Code node is available, enable the run_javascript built-in tool on an Agent node:
Note that run_javascript always requires human approval due to the approval: 'always' policy.