Skip to content

v0.2.1 — CodeMode serialization guard and CI matrix

Choose a tag to compare

@hyein-cbio hyein-cbio released this 19 Nov 17:32
ee0c57e

CodeMode runtime support

  • Pin @opencode/codemode to 2.3.0 and verify the package owning the actual ESM entry before loading it. This preserves the existing custom toJSON() behavior and Pi bridge execution limits.
  • Refuse unverified runtimes before any guest code or host tools run. Published 2.3.1 and 2.3.2 both drop custom toJSON() upstream; these versions are not supported, and no automatic fallback is attempted.

CI verification

The release commit passed the 12-cell Modal CI run: eight full compatibility suites on Node 22.19.0/24.x and Pi/TUI 0.99.0, 1.3.0, 1.4.0, and 1.5.0, plus four checks that 2.3.1/2.3.2 are rejected through the real Pi loader without guest or host effects.

Full changes: v0.2.0...v0.2.1