Skip to content

v0.1.2

Choose a tag to compare

@pty4 pty4 released this 15 Oct 23:17
d352f0e

Adds OpenCode 2 support while retaining compatibility with OpenCode 1.19.1+ (1.x).

  • Supports OpenCode 2.0.30+, including the provider, verification sidebar, and /tinfoil dialog.
  • Preserves verified, encrypted inference with saved credentials or TINFOIL_API_KEY on both versions.
  • Stops OpenCode 2 retries when enclave verification fails and prevents idle OpenCode 1 instances from overwriting the active verification status.

Install on OpenCode 2:

opencode plugin add @tinfoilsh/opencode-provider

Upgrade an existing OpenCode 2 installation:

opencode plugin update @tinfoilsh/opencode-provider
opencode service restart

For OpenCode 1.x:

opencode plugin @tinfoilsh/opencode-provider --global

Validated on OpenCode 1.19.1 and 2.0.30 with package installation, live encrypted inference, tool calls, verification failure blocking, and both TUIs. OpenCode 2's background service was also checked before and after a restart.

Fixes #8 via #9.

Full changelog