Skip to content

v0.1.2

Choose a tag to compare

@hyein-cbio hyein-cbio released this 25 Oct 09:13
· 49 commits to main since this release
a738624

pi-opencode-mode 0.1.2

Changes

  • Report invalid JS source as SourceSyntaxError, preserving the bounded Acorn message and both string-start/newline-detection locations. Explain JS/JSON newline escaping instead of recommending native replay. Unexpected parser exceptions remain distinct (PreflightParserError).
  • Show live host-call rows with per-attempt status, bounded argument/error previews, and duration. Duplicate names stay separate; cancellation waits for host cleanup and final metadata survives restored sessions.
  • Format display-only source previews so batched calls and block statements appear on separate indented lines. Expansion also shows the original source. Execution input is never rewritten; malformed or incomplete source falls back without repair.

Verification

  • Clean-copy full suites passed with Pi 0.99.0, 1.3.0, and 1.4.0 on macOS/Node 26.12.1, without skips (76-test suite).
  • GitHub CI gates all six Node 22.19.0 / 24.x × Pi 0.99.0 / 1.3.0 / 1.4.0 combinations.
  • Non-peer dependency audit: 0 vulnerabilities. The full development tree retains existing test-host Pi/undici advisories (1 moderate / 1 high); see TESTING.md.
  • Attached npm tarball contents match the tagged source; SHA256SUMS identifies that artifact.

Limits

Rendering/session checks use safe fixtures, not a live-provider/model walkthrough or new performance measurement. Argument/error previews remain bounded and can be incomplete. The interpreter is not an OS sandbox; cooperative cancellation does not roll back host effects. No automatic source repair, delegation, or replay is added.

Install

pi install npm:pi-opencode-mode@0.1.2

Or:

pi install git:github.com/hyein-cbio/pi-opencode-mode@v0.1.2

Full changelog