Files
ben 288cba1f10 feat(gateway): show compatibility and add OpenCode setup (#7509)
* feat(gateway): show compatibility and add OpenCode setup

* docs(gateway): show the OpenCode setup dialog

* feat(gateway): guide OpenCode users through plugin sign-in

* docs(gateway): capture the plugin sign-in flow
2026-11-17 17:15:43 -08:00
..

AI Gateway: OpenCode setup

  • Feature key: gatewayOpenCodeSetup
  • Deployments: cloud and self-hosted, off by default
  • Author: benjaminshafii
  • Public docs: OpenCode plugin

In My Library › Models › Set up, choose OpenCode. The dialog shows how to install opencode-openwork in OpenCode 2 and sign in through the browser. There is no manual API key to create or copy. The existing plugin loads the organization's available models and MCP connections after approval. The guide covers configuring a self-hosted API URL.

OpenCode setup with plugin installation and browser sign-in commands

The setup row is in the existing third-party tool section. To try it, enable Allow 3rd party tools & harnesses and turn on gatewayOpenCodeSetup for the test organization.

Turning off the feature hides the setup button. It does not uninstall the plugin or end existing sessions.