Repository navigation
v1.0.0-alpha.6
Pre-release
Pre-release
Changed
- Migrated the host contract from the legacy V1 plugin beta to the OpenCode v2 packages
@opencode/plugin/@opencode/sdk/@opencode/theme(2.0.15, types-only optional peer): import paths,ResolvedThemetext tokens (text.base/text.muted), anddialog.selectplaceholder. palette/slash.argumentsare literal types matching the v2KeymapCommand.- Added
KitModelShapeso the model accessors accept both messages (numericcost) and model-list entries /ModelInfo(arraycost). readAuth()now reads OpenCode 2's SQLite credential store, falling back to the legacyauth.json.
Fixed
tsconfig.jsonno longer excludestests/**/*.test-d.ts. The exclude was inherited by Vitest's typechecker, sohost.test-d.ts— the host-contract tripwire — was silently never typechecked.- Corrected
host.test-d.ts(missingKitStorageimport, a non-existentexpectTypeOf(...).get(), and the command subset omitting requiredrun).
Added
- Tests covering the OpenCode 2 SQLite credential store (restores the 100% coverage gate).