DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Zhipu Toolkit — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-zhipu-toolkit

Zhipu Toolkit

面向 DeepSeek Harness 的 Zhipu BigModel/GLM 提供商工具包:双端点模型目录(Coding Plan + 普通 API)、经验证的思考级别映射、实时模型发现

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-zhipu-toolkit@0.2.1
README兼容性版本

兼容性与来源证明

Zhipu Toolkit 以 dsh-zhipu-toolkit 发布,当前版本为 0.2.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.2.1stable
2026/9/9
0.2.0stable
2026/9/8
0.1.0stable
2026/9/7

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

README

dsh-zhipu-toolkit

English | 简体中文

A DeepSeek Harness plugin that registers the Zhipu BigModel GLM family as a model-provider route — covering both BigModel endpoints with one served at a time: the Coding Plan endpoint (zai) or the ordinary OpenAPI endpoint (zhipu), with live model discovery, a locally-holdable API key, and a Web settings card.

Features

  • Endpoint choice (one of two billing channels) — serve the Coding Plan endpoint or the ordinary API endpoint; both expose the same models and the same request semantics, so the choice is purely which billing channel your account uses.
  • Self-maintained GLM catalog — the full GLM chat family (GLM-4.5 → GLM-5.3-Flash) with verified context windows and output caps, overlaid on pi-ai's builtin catalog.
  • glm-5.3-flash native multimodality (image input enabled) — the official docs list GLM-5.3-Flash input as video, image, text, and file (multiple image_url parts in messages[].content[], URL or Base64); pi-ai's Model["input"] type only knows text/image today, so image input ships first and video/file input stays pending until the type grows those modes, while every other maintained model remains text-only.
  • Local usage & quota statistics — the card aggregates this machine's session logs (multi-frame zstd) into per-model GLM usage: requests, tokens (cache counted), and credits converted at the official BigModel factors, with a recent-5h window, incremental caching (warm rescans are instant), a host background pre-scan, and official console deep links; the aggregate is computed and shown locally, nothing ever leaves the machine.
  • Verified GLM-5.3 thinking semantics — GLM-5.3-series models always think; the plugin maps picker tiers onto the wire values the API accepts (low/medium/high → high, xhigh/max → max) and never wires thinking: disabled (the API refuses it with error 1210).
  • Live model discovery — /models is polled at startup and after every settings/credential change; models the endpoint stopped serving drop out, while directly-verified models survive endpoint lag.
  • Local API key on the settings card — optionally hold the key right on the card (stored in the dsh credentials store as ZHIPU_TOOLKIT_API_KEY, never in settings.yaml); a saved key shows as a masked summary (last characters only) with icon actions to edit-in-place or clear, and the env-reference path stays as fallback.
  • Settings card (Web GUI) — the card lives in the official Settings → Plugins configuration tab (a settings.plugin.item slot keyed by the settings namespace, alongside the other configurable plugins) and edits the endpoint, credential refs, display name, default reasoning tier, and the local API key over a whitelisted RPC bridge; configuration is hot-reloadable (no restart).
  • Bilingual UI — the card follows the host locale service (zh-CN / en) with a browser-language fallback.

Install

dsh plugin --profile web add dsh-zhipu-toolkit

Or install from a packed tarball during development:

npm pack
dsh plugin --profile web add ./dsh-zhipu-toolkit-<version>.tgz

Restart dsh web after installing (client bundles and the host plugin tree are assembled at startup).

Configuration

The plugin owns the zhipu-toolkit settings namespace. Layered like every DSH settings namespace: the composition entry (below) is the base layer, and user edits — from the Web settings card or ~/.dsh/settings.yaml — override it. Committed writes re-resolve the routes without a restart.

# ~/.dsh/settings.yaml
zhipu-toolkit:
  endpoints: coding         # coding | paas (one billing channel at a time)
  codingApiKeyEnv: BIGMODEL_API_KEY
  paasApiKeyEnv: ZHIPU_API_KEY
  displayName: BigModel
  defaultReasoningTier: low # low | medium | high | xhigh | max
  useLocalApiKey: false     # true = hold the key on the settings card
FieldDefaultNotes
endpointscodingWhich billing channel to serve (see Endpoints below).
codingApiKeyEnvBIGMODEL_API_KEYCredential reference for the Coding Plan route.
paasApiKeyEnvZHIPU_API_KEYCredential reference for the ordinary route.
displayNameBigModelProvider label shown in model selectors.
defaultReasoningTierlowTier wired for requests that name no effort.
useLocalApiKeyfalseHold the API key locally (credentials store) instead of an env ref.
codingBaseURLhttps://open.bigmodel.cn/api/coding/paas/v4Override for proxies/gateways.
paasBaseURLhttps://open.bigmodel.cn/api/paas/v4Override for proxies/gateways.
streamIdleTimeoutMs300000Max provider idle time per stream read.
maxRequestImageBytes20971520Base64 image payload bound per request.
requestImagePixelBudget4194304Total-pixel budget per inline image version.
requestImageMaxBytes1048576Encoded-byte cap per inline image version.

Two ways to provide the API key:

  • Env reference (default) — store the key under the env-var-like reference (BIGMODEL_API_KEY / ZHIPU_API_KEY, or whichever you configured) through the credentials service: dsh credentials set BIGMODEL_API_KEY.
  • Local key (card) — switch useLocalApiKey on and paste the key into the card's password field. It is stored in the dsh credentials store as ZHIPU_TOOLKIT_API_KEY (never in settings.yaml), takes effect immediately, and falls back to the env reference if unset. A saved key displays as a masked summary (e.g. ••••••••abcd); the edit icon re-opens the input so a new value overwrites the saved one on blur/Enter (an empty edit leaves it untouched), and the clear icon removes it.

Endpoints

The two endpoints expose identical model lists and parameter behavior (verified live 2026-09-06: both /models return the same 10 chat models; thinking/reasoning_effort: max behave identically). The difference is billing:

Route idEndpointBilling
zaihttps://open.bigmodel.cn/api/coding/paas/v4Coding Plan: subscription quota (Lite/Pro/Max), 5-hour + weekly dual limits that reset with the window and never touch the balance; 50% discount off-peak; scoped to official coding tools.
zhipuhttps://open.bigmodel.cn/api/paas/v4Ordinary API: per-token billing (resource packs / balance), no scene restriction.

A deployment picks the one its account is billed on; the plugin serves that single route.

Reasoning tiers

GLM-5.3-series models cannot turn thinking off — the API rejects thinking: disabled with error 1210. The plugin therefore:

  • removes off (and minimal) from the picker for GLM-5.3 / GLM-5.3-Flash;
  • maps low/medium/high onto the high wire tier and xhigh/max onto max;
  • defaults the profile to the configured tier (lowest offered, low) so effort-undefined requests stay valid.

All other maintained models keep pi-ai's builtin tier maps. The full offered picker set is low | medium | high | xhigh | max.

Troubleshooting

  • no API key for provider route ... — no key is stored on any path. Store the env reference (dsh credentials set <ENV>), or switch useLocalApiKey on and paste the key on the card.
  • Models missing from the picker — live discovery filters against what the endpoint's /models reports. Directly-verified models (glm-5.3, glm-5.3-flash) survive endpoint lag; everything else must be reported by the endpoint. Check the plugin logs for live refresh failed; keeping the maintained catalog.
  • Error 1210 (请使用 low、high 或 max) — a request tried to disable thinking on a GLM-5.3-series model. Keep the default reasoning tier at low or above; do not select off.
  • Settings card shows "read-only" — the deployment's settings document is read-only (e.g. a managed profile); edit the composition entry instead.
  • Card never appears — confirm dsh web was restarted after install, and that the plugin loaded (dsh plugin list).

Credits

  • The catalog design, the GLM-5.3 thinking-level mapping, the compat flags, and the append-override merge semantics are derived from dsh-bigmodel-catalog (commit d8189e3), verified live against both BigModel endpoints on 2026-09-06 — including reasoning_effort: max and max_tokens: 131072 round-trips with SSE reasoning_content.
  • Message conversion and provider plumbing ride on pi-ai.

License

MIT

相关插件

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

Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编码计划配额,并提供实时令牌使用记录,同时在侧边栏条目中显示当前会话提供商今日的使用量Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Commandcode Provider@mars-sea/dsh-commandcode-provider适用于 Command Code 的非官方 DeepSeek Harness LLM 提供商插件,移植自 pi-commandcode-provider(MIT)。注册“commandcode”提供商路由,并在 Models 页面添加卡片和实时模型目录。Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。