DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-magpie-lite

Magpie Lite

将本地 magpie-lite 网关中的模型接入 DeepSeek Harness。一处配置,所有智能体共享。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-magpie-lite@1.0.0
README兼容性版本

兼容性与来源证明

Magpie Lite 以 dsh-magpie-lite 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

1.0.0stable
2026/10/19

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Cost Meterdsh-cost-meterDeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(14 家,含 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)控制 DSHConnect Workbuddydsh-connect-workbuddy把本机登录的 WorkBuddy 模型接入 DeepSeek Harness,并提供只读的积分概览与模型管理。Connect Traedsh-connect-trae把本机登录的 Trae 模型接入 DeepSeek Harness:国内版与国际版双供应商并行,提供用量/积分概览与每日签到领取。

README

dsh-magpie-lite

Expose your local magpie-lite gateway to DeepSeek Harness as a normal provider. Once installed, DSH's model picker gains a magpie-lite group listing every model you enabled in the gateway console — configure once, and DSH / Claude Code / Codex share the same model set.

Install

From the plugin marketplace (recommended)

DSH Settings → Plugin Marketplace → search dsh-magpie-lite → Install. This path uses the prebuilt npm package, so no allowBuilds approval is needed.

From the command line

dsh plugin --profile web add dsh-magpie-lite

Manually

Copy-Item -Path "<repo>\*" -Destination "$env:USERPROFILE\.dsh\profiles\node_modules\dsh-magpie-lite" -Recurse -Force

Then add dsh-magpie-lite to dsh.profile.bundles in profiles/desktop/package.json and restart DSH. Installing from source makes pnpm intercept build scripts, so you must add allowBuilds to the profile's pnpm-workspace.yaml yourself; the npm package is prebuilt and has no such step.

How it works

DSH model picker
   |  magpie-lite/deepseek-chat
   v
dsh-magpie-lite (this plugin)
   |  locates the gateway's config.json (see below)
   |  builds a pi-ai provider over openAICompletionsApi
   |  ctx.llm.registerAdapter(['magpie-lite'], adapter)
   v
magpie-lite gateway  http://127.0.0.1:19998/v1
   |  routes by provider/model prefix
   v
DeepSeek / GLM / Kimi / OpenCode Zen / OpenRouter / Ollama / Pollinations

The plugin never touches request payloads — protocol translation, streaming, and tool calls all belong to the gateway.

How the plugin finds the gateway

Gateways live in different places on different machines, so no path is hardcoded. Resolution order:

  1. The MAGPIE_LITE_CONFIG environment variable — points at your config.json
  2. $MAGPIE_LITE_HOME/config.json — a custom gateway install directory
  3. The pointer file <DSH home>/magpie-lite.json — written by the gateway on startup, recording the absolute path of its config.json. This is the main mechanism, and it works wherever the gateway happens to be installed
  4. <DSH home>/magpie-lite/config.json — the conventional location, as a fallback when the gateway is not running
  5. A config.json shipped next to this plugin

<DSH home> is $DSH_HOME, else ~/.dsh.

While the gateway runs, the pointer is always current. When it does not, the plugin falls back to the conventional path, and reports the expected location instead of silently showing zero models.

Requirements

  1. The gateway must be running. Install the magpie-lite gateway itself first — this plugin is only the bridge; the gateway does the actual forwarding. For autostart: powershell -ExecutionPolicy Bypass -File <gateway-dir>\register-autostart.ps1
  2. At least one provider enabled. Open http://127.0.0.1:19998/admin, add a key, flip the switch. With none enabled the plugin still loads, just with an empty group (DSH hides empty groups).

Common tasks

Changed gateway config / added models

No DSH restart needed — the plugin watches config.json and re-registers (400 ms debounce).

Different port or gateway key

Edit port / gatewayKey in your gateway's config.json. The plugin reads the same file, so both stay in sync automatically. The pointer's baseUrl may lag if the gateway was last started with PORT=xxxx; the config's port is what the plugin ultimately uses.

config.json lives elsewhere

Set the environment variable MAGPIE_LITE_CONFIG to your config.json path, then restart DSH. When the gateway suite is installed elsewhere, set MAGPIE_LITE_HOME to that directory instead.

Diagnostics

The CLI runs standalone, no DSH needed:

node "$env:USERPROFILE\.dsh\profiles\node_modules\dsh-magpie-lite\lib\bin.js"

It prints the route, key fingerprint, and the models that will be registered. A count of 0 means the problem is on the gateway side, not DSH. It also prints which config.json it actually used — if that is not the file you expected, check MAGPIE_LITE_CONFIG, MAGPIE_LITE_HOME, and the pointer file.

Gateway logs: <gateway-dir>\data\gateway.watch.log (watchdog restarts) and data\boot.log.

Known limits

  • The model list comes from config.json, not live upstream queries. Whatever the gateway's Models page shows is what gets registered.
  • Only the text modality is declared. Whether images work depends on the upstream model.
  • stop sequences are unsupported — a pi-ai-wide limitation, not specific to this plugin.

Free-model naming

Free models carry a (免费) suffix on their display name (DSH's picker shows openai(免费)). The test is whether that provider declares free: true in config.json:

{ "id": "pollinations", "free": true, "models": ["openai", "openai-fast"] }

It has to be an explicit free: true — inference from "no apiKey filled in" would mislabel paid providers such as DeepSeek or Zhipu, whose keys are simply not entered yet. The suffix only changes the display name; the model id (provider/model) is untouched, so routing and calls are unaffected.