Skip to content

feat: add OpenCode v2 plugin support - #311

Merged
tickernelz merged 1 commit into
tickernelz:mainfrom
EyJunge1:feat/opencode-v2-plugin
Sep 18, 2026
Merged

tickernelz merged 1 commit into
tickernelz:mainfrom
EyJunge1:feat/opencode-v2-plugin

Conversation

@EyJunge1

Copy link
Copy Markdown
Contributor

Summary

  • add a native OpenCode v2 plugin adapter while preserving the v1 server plugin
  • expose a shared installable package entrypoint for both host versions
  • bridge sessions, prompt/context hooks, events, structured output, and the memory tool
  • document v1 and v2 configuration and add adapter/loader contract tests

Verification

  • bun run format:check
  • bun run typecheck
  • bun run build
  • bun test (471 passed, 4 skipped)
  • live-loaded the packed npm artifact with OpenCode v1 1.18.31
  • live-loaded and initialized the packed npm artifact with OpenCode v2 beta-19271

The v2 host reached the model request successfully; its isolated free-tier request returned HTTP 426, unrelated to plugin loading or setup.

Keep the v1 server plugin, add a native v2 adapter, pin TypeScript 6 for ESLint 10, and keep LF checkouts so Windows format checks stay green.
@EyJunge1
EyJunge1 force-pushed the feat/opencode-v2-plugin branch from bd3438d to d413c2e Compare September 18, 2026 10:25
@EyJunge1

Copy link
Copy Markdown
Contributor Author

PTAL @tickernelz @x-Spartacus @amandeavor @lindixu6-hash @GraDea @NaNomicon

OpenCode v2 plugin support (V1 stays), plus ESLint 10 / Prettier / TS 6 and Windows eol=lf for CI.

Ready for review/merge.

@tickernelz
tickernelz merged commit cec1de4 into tickernelz:main Sep 18, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants