opencode spins codemode runtime into NormalScript, a tiny embeddable JS VM that can pause and resume

natesiggard · x · 2026-11-26

opencode extracted the runtime powering codemode into a standalone project: NormalScript, a small bytecode VM for a strict-mode JavaScript subset that embeds into Node ≥24 or Bun ≥1.4 with no WASM, native addons, or workers.

A lightweight, controllable option for embedding script execution in agent sandboxes.

Original post →

More from coding & agent

coding & agent channel →