Skip to content

v0.1.12

Latest

Choose a tag to compare

@srnoob2570 srnoob2570 released this 24 Sep 03:58
  • Support for opencode V2 (2.x). The entry module now exports the dual shape {id, setup, server}: opencode 1.x reads .server (the classic factory, unchanged) and opencode 2.x validates id + setup and runs setup(ctx) against the v2 plugin context. Under V2 the plugin injects the catalog with official pricing through ctx.provider.transform → draft.models.set (verified end-to-end against opencode 2.0.15: the 20 catalog models appear and generation works). The transform is only registered after the catalog loads — on failure, models.dev's ollama-cloud fallback stays alive. Full findings in docs/research/soporte-v1-v2.md.