Repository navigation
v0.1.0
Initial public release of pi-opencode-mode 0.1.0.
Adds codemode_o, backed by OpenCode CodeMode 2.1.0, alongside Pi's unchanged native codemode.
Highlights
- Call already-available Pi tools and discover their signatures with synchronous
search. - Preserve Pi validation, permission/result hooks, and nested-call audits.
- Reject native-only programs before execution; no automatic fallback or replay.
- Await cooperative cancellation and cleanup; bound final text to 65,536 UTF-8 bytes with visible diagnostics.
- Highlighted source, collapsible output, and elapsed-time presentation.
Requirements
Node.js >= 22.19.0; Pi >= 0.99.0, < 2.0.0.
Install
pi install git:github.com/hyein-cbio/pi-opencode-mode@v0.1.0
# Or install from npm:
pi install npm:pi-opencode-mode@0.1.0CI covers Node 22.19.0 / 24.x × Pi 0.99.0 / 1.3.0 / 1.4.0, including isolated real-SDK sessions. The README includes a separately sourced historical benchmark; it is not a fresh 0.1.0 performance measurement.
The interpreter is not an OS or memory sandbox. Cancellation is cooperative, cannot undo side effects, and a non-settling host can delay delivery beyond the nominal 30-second interruption deadline.
See README, changelog, and security policy.