wenzetan/dsh-llm-newapi
NewAPI(兼容OpenAI的网关)的DeepSeek Harness(dsh)LLM提供商插件:仅聊天模型发现 + Web设置部分。零dsh修改。
Project Overview项目介绍
dsh-llm-newapi is a DSH-native plugin that enables integration of a self-hosted NewAPI gateway with DeepSeek Harness. It adds a dedicated NewAPI settings page to DSH Web for entering gateway credentials, discovering available models, adjusting model parameters, and supports streaming text output as well as tool calls. No modifications to the core DSH codebase are required to run the plugin. It maintains strict compatibility by releasing separate plugin versions matched to each DSH host major line, with compatibility checked automatically during the build process.
To install the plugin, you first install the exact matching DSH host version via npm, then use the DSH plugin command to add the exact plugin version to your DSH web profile. The --save-exact flag is required to prevent automatic dependency updates that could break compatibility. After installation, you need to verify the plugin is listed in the bundles entry of your web profile’s package.json, then restart DSH Web to activate the plugin. This plugin is intended for DSH users who want to use their own OpenAI-compatible NewAPI gateway for LLM inference.
The plugin requires Node.js, npm, and pnpm to install, it is released under the open source MIT license, and all current versions are published on a pre-release channel. It has several current limitations: only one gateway configuration is supported, image input is not implemented, and the model discovery step automatically filters out models with names containing embed, rerank, or ranker. After installation, first-time users can access the NewAPI settings page in DSH Web, enter their gateway URL and API key, fetch available models, select desired models, and save settings before starting a new conversation.
这是一款专为DeepSeek Harness(DSH)打造的原生插件,支持用户将自有NewAPI网关接入DSH使用。插件新增了专门的NewAPI设置页面,可完成凭证配置、模型发现、参数调整等操作,同时支持流式文本输出和工具调用,无需对DSH核心代码做任何修改。插件严格匹配不同DSH主线版本发布对应适配版本,保证兼容性。
用户需要先安装对应版本的DSH主机,再通过DSH的插件管理命令将本插件安装到web配置文件中,安装时必须指定精确版本以避免自动更新导致不兼容。安装完成后需要检查web配置文件的bundle列表中是否包含本插件,确认后重启DSH Web即可使用。该插件适合需要将自有OpenAI兼容NewAPI网关接入DSH的用户使用。
本插件依赖Node.js、npm和pnpm环境,代码采用MIT许可证开源,目前处于预发布阶段,所有版本都发布在预发布渠道。当前仅支持配置一个NewAPI网关,仅声明文本输入,不支持图像输入,会自动过滤模型列表中包含embed、rerank关键词的模型。使用前需要核对插件和DSH的版本对应表避免兼容性问题。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-llm-newapi(wenzetan/dsh-llm-newapi)
仓库:https://github.com/wenzetan/dsh-llm-newapi
本站详情页:https://www.yhbd.top/plugins/wenzetan-dsh-llm-newapi/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 6 · 最近提交 2026-10-01 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add --save-exact dsh-llm-newapi@0.1.5-rc.3-v0.3
把 wenzetan/dsh-llm-newapi 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
🚧 Archived Notice / 归档通知
English:
This repository is deprecated and will be archived soon.
New installations should use the native Custom Provider feature provided by dsh desktop instead.
Existing users should migrate their provider configurations before the repository is archived.中文:
本仓库已停止功能开发,并计划近期归档。
新用户请直接使用 dsh desktop 原生 Custom Provider(自定义 Provider) 功能,不再建议安装或使用本项目。
已有用户请在仓库归档前迁移现有 Provider 配置数据。
dsh-llm-newapi
English | 中文
Use your NewAPI gateway in DeepSeek Harness (dsh). The plugin adds a NewAPI settings page for credentials, model discovery and model parameters, plus streaming text and tool calls. It requires no changes to dsh.
Choose a compatible version
Install the host and plugin as a pair. Status checked on September 24, 2026.
| dsh host | Plugin version line | npm channel | Status |
|---|---|---|---|
0.1.5-rc.3 |
0.1.5-rc.3-v0.3 |
— | Published, that line is frozen |
0.1.7-rc.1 |
0.1.7-rc.1-v0.x |
latest |
Current promoted line |
On a host line only the last segment increments (-v0.1 → -v0.2 → …), so the promoted line is named as v0.x. Query the exact version each channel currently points at:
npm view dsh-llm-newapi dist-tags --json
Version scheme
The plugin version follows the upstream host: <dsh version>-v<plugin revision>. Only the last segment is this plugin's own revision:
| Case | dsh version | Plugin version (npm) | Git tag / Release |
|---|---|---|---|
| Upstream RC | 0.1.7-rc.1 |
0.1.7-rc.1-v0.1 |
v0.1.7-rc.1-v0.1 |
| Later plugin change on the same host line | 0.1.7-rc.1 |
0.1.7-rc.1-v0.2 |
v0.1.7-rc.1-v0.2 |
| Upstream stable | 0.1.7 |
0.1.7-v0.1 |
v0.1.7-v0.1 |
| Host line changes (revision restarts) | 0.1.7-rc.2 |
0.1.7-rc.2-v0.1 |
v0.1.7-rc.2-v0.1 |
- npm forbids a leading
vin the version field, so the package reads0.1.7-rc.1-v0.1while the Git tag and GitHub Release usev0.1.7-rc.1-v0.1. - Channel split: npm
latestpoints at the currently promoted host line (the 0.1.7 line today);nextis reserved for other lines or future previews. Promoting or switching a line is a one-line change (LATEST_LINEin CI); a stable0.1.7tag (v0.1.7-v0.x) also lands onlatest. - The older
0.8.xseries (dsh0.1.1-rc.2/0.1.2-rc.1host lines) had its tags removed and is marked deprecated on npm.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Ayuilos/Miffan
cloveric/tarocub
HuanLinOTO/dsh-plugin-aigc-canvas
zmh2000829/DSH-agent-bridge
LisonEvf/dsh-stock-panel