@t4lly/opencode-version-adapter
v0.1.1
Published
Capability-driven compatibility boundary for OpenCode plugin API generations.
Maintainers
Readme
opencode-version-adapter
Personal compatibility package for integrating multiple OpenCode generations behind a stable adapter boundary.
This package is primarily maintained for personal use.
It currently focuses on normalizing selected OpenCode v1 and v2 behaviors so consumers do not need to depend directly on generation-specific APIs.
This project is not built by the OpenCode team and is not affiliated with OpenCode.
Install
npm install @t4lly/opencode-version-adapter
Usage
Import the stable contract from the package root. createOpenCodeServerPlugin creates one server module shape for the supported OpenCode v1/v2 loader baselines without consumer-side version branching.
See docs/usage.md for integration guidelines and recommended usage patterns.
For applications that support more than one harness, see docs/harnesses.md.
Scope
This package is not intended to define a general cross-harness API.
Applications that support multiple harnesses should wrap it behind a higher-level harness abstraction such as OpenCodeHarness.
License
MIT
