feat(plugins): externalize OpenCode provider (#117035)

* feat(plugins): externalize OpenCode provider

* docs: refresh OpenCode provider map
This commit is contained in:
Vincent Koc
2026-08-01 05:07:35 +08:00
committed by GitHub
parent 0cb6a17edc
commit e73250f54b
12 changed files with 141 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
# OpenCode Zen OpenClaw provider
Official OpenClaw provider plugin for the OpenCode Zen model catalog, image
understanding, and native OpenCode session browsing.
## Install
```sh
openclaw plugins install @openclaw/opencode-provider
openclaw gateway restart
```
## Docs
See `docs/providers/opencode.md` in the OpenClaw repository, or the published
docs at `https://docs.openclaw.ai/providers/opencode`.
+1 -1
View File
@@ -53,7 +53,7 @@ function isModernOpencodeModel(modelId: string): boolean {
export default defineSingleProviderPluginEntry({
id: PROVIDER_ID,
name: "OpenCode Zen Provider",
description: "Bundled OpenCode Zen provider plugin",
description: "OpenCode Zen provider plugin",
manifest,
provider: {
label: "OpenCode Zen",
+22 -2
View File
@@ -1,8 +1,11 @@
{
"name": "@openclaw/opencode-provider",
"version": "2026.7.2",
"private": true,
"description": "OpenClaw OpenCode Zen provider plugin",
"repository": {
"type": "git",
"url": "https://github.com/openclaw/openclaw"
},
"type": "module",
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"
@@ -10,6 +13,23 @@
"openclaw": {
"extensions": [
"./index.ts"
]
],
"install": {
"clawhubSpec": "clawhub:@openclaw/opencode-provider",
"npmSpec": "@openclaw/opencode-provider",
"defaultChoice": "npm",
"minHostVersion": ">=2026.7.2"
},
"compat": {
"pluginApi": ">=2026.7.2"
},
"build": {
"openclawVersion": "2026.7.2",
"bundledDist": false
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
}
}