@alisio/plugin-opencode-go
v0.1.2
Published
OpenCode Go model provider for Alisio: fail-closed Responses, Chat Completions and Anthropic Messages routing over the unauthenticated OpenCode Go catalog.
Downloads
1,394
Maintainers
Readme
@alisio/plugin-opencode-go
The OpenCode Go model provider for Alisio. Discover the unauthenticated OpenCode Go catalog and route each model to the protocol OpenCode Go documents for it.
What it is
A model-provider plugin that registers the opencode-go provider with the Alisio host. Model
references use the canonical opencode-go/<model-id> form.
Installation
alisio install npm:@alisio/plugin-opencode-go # global, per-user
alisio plugins list # confirm it is installedFor an embedded host, load the package (or its dist/index.js) through your plugin host instead.
Using it: /connect
- Run
alisio, then/connectand choose OpenCode Go. - Enter the API key (secret, required). It is stored only in the global credentials store
(
credentials.json, mode 0600) — never in the profile or configuration. - Pick a model from the discovered catalog (
https://opencode.ai/zen/go/v1/models).
There is no hard-coded default API-key environment variable for this provider: the key is entered
in /connect and kept out of configuration files.
Features
- Unauthenticated catalog discovery of
opencode-go/<model-id>entries. - Fail-closed routing from the documented endpoint table: GPT, Grok and Muse through Responses; open compatible families through Chat Completions; MiniMax and Qwen through Anthropic Messages.
- Unknown catalog entries are hidden rather than guessed.
- Requests send
user-agent: alisio/<version>and an opaque, stablex-opencode-sessionconversation ID that never includes a workspace path, prompt or credential.
While registered, the provider also appears in /model and alisio doctor.
Requirements
Node.js >= 22.16 and an Alisio host with @alisio/sdk >=0.1.0-alpha.10.
License
MIT. Maintained by Gustavo Gutiérrez Mercado. Source: https://github.com/GustavoGutierrez/alisio-plugins/tree/main/packages/plugin-opencode-go · npm: https://www.npmjs.com/package/@alisio/plugin-opencode-go.
