Key Info

OpenCode has extracted the runtime that powers codemode into a standalone project: a simple package without WebAssembly that can directly execute JavaScript and pause/resume it mid-execution. A Rust implementation is in the works so native apps can use JS as a scripting language.

Highlights

  • The runtime is packaged standalone, separate from codemode itself
  • No WebAssembly dependency, keeping the package simple
  • Supports pausing and resuming JavaScript mid-execution
  • A Rust port is under development for native app scripting use cases