Linux 软件免费装
Banner图

DuoPort Connector for OpenCode

开发者 nilesh912
更新时间 2026年9月25日 13:47
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai zen connector artificial-intelligence opencode

下载

0.1.5 0.1.4 0.1.3

详情介绍:

Registers two AI providers — OpenCode Go (subscription catalog) and OpenCode Zen (pay-as-you-go catalog including free models) — with the WordPress 7.0 AI Client. Enter your API key in both the Go and Zen fields on Settings → Connectors; the same opencode.ai key works for both catalogs. This plugin is not affiliated with or endorsed by OpenCode (Anomaly Innovations, Inc.). Features

安装:

  1. Upload to /wp-content/plugins/duoport-connect-for-opencode
  2. Activate through the Plugins menu
  3. Go to Settings → Connectors and enter your opencode.ai key in both the Go and Zen fields (the same key works for both catalogs)
  4. (Optional) Go to Settings → DuoPort Connector to enable Show all models or check connection status

升级注意事项:

0.1.5 No configuration migration is required. Existing Go and Zen connector keys remain separate and unchanged. 0.1.2 Go and Zen now use separate API key fields. After updating, re-enter your opencode.ai key in both fields on Settings → Connectors. 0.1.1 Renamed to DuoPort Connector for OpenCode. Go and Zen now share one API key field; connecting the providers now requires a one-click approval consent in the Connectors screen. 0.1.0 Initial release.

常见问题:

Where do I get an API key?

Visit https://opencode.ai/auth and sign up for Go or Zen. The same key works for both catalogs.

Do Go and Zen use the same API key?

Yes. OpenCode uses a unified auth domain, so paste the same opencode.ai key into both the Go and Zen fields on Settings → Connectors. Each catalog keeps its own key field so WordPress can validate them independently. You can also set OPENCODE_GO_API_KEY / OPENCODE_ZEN_API_KEY constants or env vars.

Which models are available?

By default only allowlisted chat/completions models are shown (Go: 17, Zen: 17 including free models). Enable Show all models on Settings → DuoPort Connector to expose every model from the API (including non-chat models that may fail).

Does it work without WordPress 7.0?

No. Requires WordPress 7.0+ and PHP 8.2+. On older installs an admin notice is shown and registration is skipped.

更新日志:

0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0