DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@foreveryu/dsh-opencode-go

Opencode Go

OpenCode Go 和 Zen 的实时模型发现、会话路由、定价及适用资格诊断,适用于 DeepSeek Harness

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @foreveryu/dsh-opencode-go@0.1.3
README兼容性版本

兼容性与来源证明

Opencode Go 以 @foreveryu/dsh-opencode-go 发布,当前版本为 0.1.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/2

版本

0.1.3stable
2026/11/2
0.1.2stable
2026/10/15
0.1.1stable
2026/10/4

相关插件

正在加载相关插件…

最新版
0.1.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
204 kB
文件数
30
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/11/2
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Connect Workbuddydsh-connect-workbuddy把本机登录的 WorkBuddy 模型(国内版与国际版)接入 DeepSeek Harness:每次刷新按上游目录自动读取每个模型的积分倍率,支持逐模型图片输入开关、多账号切换与账号池自动换号,并提供每日签到、卡片与输入框里的胶囊积分读数等只读积分概览。Cost Meterdsh-cost-meterDeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(16 家,含 WorkBuddy 官方积分、OpenDesign 工作区查询、含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询Codex Subscriptiondsh-codex-subscription在 DeepSeek Harness 中通过 OAuth 使用 ChatGPT 和 Codex 订阅,支持配额、安全重置、网络搜索、图像和快速模式,并可通过 ChatGPT 移动应用(Beta)控制 DSHXdpooldsh-xdpool将你拥有的所有免费额度汇聚为一个 DSH 模型池:合并所有本地登录的 WorkBuddy 账户并自动故障转移,通过二维码/网页登录 13 个供应商,汇总 76 个供应商的免费层额度,此外还提供用量仪表盘、模型路由和本地 OpenAI 兼容网关

README

dsh-opencode-go

Live OpenCode Go and Zen catalogs for DeepSeek Harness, including current token rates, zero-rate filters, protocol selection and Session affinity headers. 简体中文

Compatibility and installation

Version 0.1.3 targets DeepSeek Harness 0.2.2-alpha.2 through public provider APIs; see Host compatibility. Older Host versions require an earlier plugin release. Node must satisfy ^22.19 || >=24.

Build and pack this source revision, then install the verified tarball into the target Host. This validation does not publish a registry release:

npm run build
npm pack
dsh plugin --profile web add /absolute/path/foreveryu-dsh-opencode-go-0.1.3.tgz

The unscoped npm name belongs to a different author. This project publishes only under @foreveryu/dsh-opencode-go. For an existing Go/Zen configuration, run the migration script from the installed package after reviewing its dry run.

Build using dependencies from that built checkout during local development:

node scripts/link-host.mjs /absolute/path/to/deepseek-harness
npm run check
npm test
npm run build
npm run pack:check

Install using the target checkout's dsh launcher and the intended DSH_HOME:

dsh plugin --profile web add link:/absolute/path/to/dsh-opencode-go
node /absolute/path/to/dsh-opencode-go/scripts/migrate.mjs --home /absolute/path/to/.dsh --profile web
node /absolute/path/to/dsh-opencode-go/scripts/migrate.mjs --home /absolute/path/to/.dsh --profile web --apply

The migration requires an existing llm-pi-ai profile patch. It moves configured opencode-go and opencode routes, retaining credential references, request settings and capability overrides that differ from current discovered metadata. Removed/unsupported model overrides remain stored but are not offered as live models. It backs up the exact original profile, detects intervening edits, and replaces the patch atomically. It never reads API key values. A dry run refreshes only the public catalog cache. Custom provider endpoints or protocol overrides require review before migration. Install into a dedicated home first when rebuilding the Host.

For a new installation, configure opencode-go.providers with opencode-go: { apiKeyEnv: OPENCODE_GO_API_KEY } and/or opencode: { apiKeyEnv: OPENCODE_API_KEY }. Remove these routes from the generic llm-pi-ai.providers settings. Do not add excludedProviders: the official Host does not support it. Resolve those credential references through DSH credentials or the Host environment. An unconfigured plugin is dormant. The plugin's generated settings page exposes configuration; built-in OpenCode directory entries still point to native settings, so edit plugin-owned credentials and tuning through this plugin's settings instead; existing credential references continue to work.

Use

Open Settings → Models → OpenCode Go / Zen. Refresh explicitly, search by model ID/name, or enable the zero-rate filter. Provider models appear automatically after a successful refresh; model descriptions also carry the rates. Separate Zen and Go tabs show compact price lists. Hover or keyboard-focus a model row for its ID, protocol, capacity, source, and access restrictions; unsupported entries carry a warning marker. New entries are discovered at startup and every six hours by default. refreshIntervalMs: 0 disables periodic refresh; sourceTimeoutMs defaults to 30 seconds.

Go and Zen use separate /models lists under the documented /inference/go/v1 and /inference/v1 endpoints. Saved catalogs using the previous /zen endpoints remain readable until a successful refresh replaces them. Exact provider/model identity is joined with the official protocol table, Models.dev capacity metadata and the installed pi-ai catalog. Unverified chat protocols or capacities are not invented. Inference requests carry x-opencode-session from the actual Session ID; standalone calls receive a new UUID. HTTP transport, streaming, tools, images and reasoning conversion use DSH's PiAiAdapter.

Rates are USD per million tokens: input, output, cache read and cache write. Unknown rates show —. A model is marked free only when input, output, cache read and cache write are explicitly zero and published context tiers do not charge. Go reference rates describe metadata, not subscription quota. Zen zero-rate models can require OpenCode's own client; the plugin reports that restriction and does not impersonate another client. Account credit, remaining quota and future promotional availability are not inferred.

The cache at $DSH_HOME/plugins/dsh-opencode-go/catalog-v1.json contains public metadata only. A failed refresh keeps the last validated snapshot and exposes the error and observation time. Abort and timeout cancel owned requests; unload withdraws provider, discovery and HTTP registrations. The authenticated Host exposes GET/POST /api/opencode-go/catalog; POST refreshes the catalog. No credential is sent to public metadata services or returned to the browser.

Screenshots

Captured from an empty Session in an isolated, compatible DSH Host. Counts and rates are a point-in-time view, not account entitlement.

Zen model settings

Go model settings

Model details

Conversation model picker

Model Experience

OpenCode inference

What the model sees

The selected model receives DSH's existing pi-ai conversion of the Session messages, system prompt, tools and admitted images. This plugin adds no prompt, tool or hidden instruction. Session affinity is transmitted in an HTTP header. Catalog descriptions and prices are user-facing metadata.

Token effect

No additional prompt tokens. Discovery and pricing refreshes are public HTTP requests, not model inference. The selected provider determines billed tokens.

KV Cache effect

Session IDs stay stable across requests in one Session. This may support provider-side affinity but does not guarantee cache hits. Changing model, protocol or explicit capability overrides can change request conversion and invalidate prefix reuse.

Verification and limitations

npm test covers fixed-source discovery, zero/unknown pricing, protocol routing, real HTTP request headers, cache failure/abort behavior, and a file-backed Loader composition with disposal. npm run pack:check inspects the distributable. Real-host evidence is recorded in verification. Online access varies by account; discovery does not prove entitlement for every listed model.

The public documentation table is parsed as static HTML. An incompatible upstream table change fails refresh rather than silently reverting to a stale built-in list. There is no account-quota API integration, OAuth login flow, or automatic purchase. Only text/image input supported by DSH is advertised. Non-chat Jev /systemone entries remain diagnostic rows.

Runtime invariant: no companion is published. Adapter metadata and the HTTP/UI views derive from one committed catalog snapshot; there is no separately maintained event projection to compare. Validation, atomic cache publication and disposal tests enforce the owned behavior.

Skill and removal

The accompanying skill describes refresh, repair and migration. Enable it by linking that directory under $DSH_HOME/skills/dsh-opencode-go, after checking an existing target. It is not enabled merely by being present in the package.

To roll back, restore the migration's exact cordis.patch.yml backup while the Host is idle, then remove the plugin with dsh plugin --profile web remove @foreveryu/dsh-opencode-go. Restoring the backup reassigns the canonical provider routes without changing Host source. Keep the backup until verification is complete; do not restore over unrelated later profile edits without merging them. The public cache can remain or be deleted independently.