Repository navigation
v0.1.4
Changes
- Update the pinned OpenCode CodeMode runtime to 2.1.4.
- Admit
switch/caseand supportedDate,RegExp,Map,Set,URL,EvalError, andURIErrorconstructors through preflight. - Prefer
codemode_ofor short compatible programs using ordinarybashandedithost calls. Namecodemode_oand nativecodemodeexplicitly as the model-only direct-call targets.
Fixes
- Keep
for...inrejected before runtime construction or any host effects. CodeMode 2.1.4 skips inherited properties and still visits keys deleted during iteration; regression tests cover both cases and rejection before earlier host calls. - Preserve the no-automatic-fallback/replay contract and existing constructor restrictions.
Verification
- Clean local full suite: 87 passed, 0 failures, 0 skips.
- Disposable full-suite checks passed against Pi 0.99.0 / 1.3.0 / 1.4.0, with no skips.
- All six hosted CI combinations passed on release commit
b963af77a64144378462af98ea2108f34a86c018: Node 22.19.0 / 24.x × Pi 0.99.0 / 1.3.0 / 1.4.0. - CI: https://github.com/hyein-cbio/pi-opencode-mode/actions/runs/40308655745
- CodeRabbit implementation review: no remaining findings.
- Inspected the 11-file tarball; installed it in a disposable directory and verified runtime, preflight rejection, prompt guidance, and byte-for-byte agreement with the release checkout.
- Non-peer dependency audit: 0 vulnerabilities. The full audit retains the previously documented moderate/high entries through the locked test host and undici, which are not bundled in this package. No live-provider walkthrough or new benchmark was performed.
Install
pi install npm:pi-opencode-mode@0.1.4Published to npm as pi-opencode-mode@0.1.4, with latest pointing to 0.1.4. The attached tarball matches the registry integrity and SHA-1 checksums. A fresh registry installation passed runtime and preflight smoke tests; all 11 installed files match the release checkout.