DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Llm Newapi — DeepSeek Harness 插件(DSH Plugin)
← Plugins
L

dsh-llm-newapi

Llm Newapi

面向 DeepSeek Harness LLM seam 的 NewAPI(OpenAI-compatible gateway)chat-completions 适配器。Provider route id 为 'newapi',显示名称为 'NewAPI'。双端结构:主机端注册 LLM 适配器并仅发现聊天模型;浏览器端向 dsh web 添加 NewAPI 设置部分。API key 在网页设置页面中配置(固定凭据引用为 'newapi'),从不读取环境变量。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:wenzetan/dsh-llm-newapi#af36fbd403cc25e0829a7ba0ed4c892c0dd910cd
README兼容性版本

兼容性与来源证明

Llm Newapi 以 dsh-llm-newapi 发布,当前版本为 0.8.6-rc.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.8.6-rc.3prerelease
2026/9/11
0.8.4stable
2026/9/3
查看其余 1 个版本收起版本
0.8.6-rc.1prerelease
2026/9/7

相关插件

正在加载相关插件…

最新版
0.8.6-rc.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 7
周下载
0
最近提交
2026/9/11
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

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

Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。Damage Pulsedsh-damage-pulseDeepSeek Harness 余额监控器,配有鲸鱼女孩伙伴,并为每次令牌消耗提供感知缓存的伤害动画。Agy Linkdsh-agy-link适用于 DeepSeek Harness 的 Google Antigravity(agy CLI)模型——将 Gemini/Claude/GPT-OSS 订阅流式接入 DSH,并支持思考过程、工具活动、令牌使用量以及在 GUI 中通过 Google OAuth 登录。

README

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 11, 2026.

dsh hostPluginStatus
0.1.1-rc.20.8.4Published; plugin npm latest
0.1.2-rc.10.8.6-rc.1Published; the last release for that host line
0.1.5-rc.1, 0.1.5-rc.20.8.6-rc.2Published; superseded by 0.8.6-rc.3
0.1.5-rc.1, 0.1.5-rc.20.8.6-rc.3Current release; npm next, GitHub Pre-release. Adds the select-all box to the fetched-model picker

Plugin 0.8.6-rc.3 targets the 0.1.5 host line and rejects the older 0.1.2-rc.1 host with an explicit upgrade message; 0.1.2-rc.1 users stay on plugin 0.8.6-rc.1. Both 0.1.5-rc.1 and 0.1.5-rc.2 were verified: they ship identical lib/** code, and the plugin builds byte-identical output against either. See the compatibility assessment (Chinese).

Releases stay on the pre-release channel: npm next and a GitHub Pre-release. Nothing here promotes a stable version or moves the plugin's latest tag, which stays on 0.8.4. The host and plugin have separate release channels; their respective latest versions are not necessarily compatible.

Install exact versions

You need Node.js, npm and pnpm. Repository CI uses Node.js 24. Install the host with npm, then install the plugin from the npm registry into dsh's web profile.

Published RC pair (dsh 0.1.2-rc.1)

npm install -g @deepseek-ai/dsh@0.1.2-rc.1
npm install -g pnpm
dsh plugin --profile web add --save-exact dsh-llm-newapi@0.8.6-rc.1

Pair for the older host

npm install -g @deepseek-ai/dsh@0.1.1-rc.2
npm install -g pnpm
dsh plugin --profile web add --save-exact dsh-llm-newapi@0.8.4

Choose one pair. --save-exact records an exact plugin dependency so a later dependency update does not switch versions automatically. Use dsh plugin to manage the profile; installing dsh-llm-newapi globally by itself does not register it there.

New host pair: run only after rc.2 is published

rc.2 is not published yet. These are the planned commands. Check that the version exists before installing:

npm view dsh-llm-newapi@0.8.6-rc.3 version
npm install -g @deepseek-ai/dsh@0.1.5-rc.2
npm install -g pnpm
dsh plugin --profile web add --save-exact dsh-llm-newapi@0.8.6-rc.3

Check that the plugin is enabled

Open $DSH_HOME/profiles/web/package.json. With no DSH_HOME override, this is .dsh/profiles/web/package.json under your home directory.

Ensure dsh.profile.bundles contains dsh-llm-newapi. Host 0.1.5 registers installed bundle plugins automatically. On an older host or an existing profile where the entry is missing, append it once and preserve the other entries. This is a JSON fragment to check, not a replacement for the entire file:

{
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-llm-newapi"
      ]
    }
  }
}

Check the installed versions, then restart dsh Web:

dsh --version
dsh plugin --profile web list dsh-llm-newapi
dsh web

First use

  1. Open NewAPI in dsh Web settings.
  2. Enter your gateway URL, such as https://your-gateway.example/v1, and API key. Include /v1; do not enter the full /chat/completions path.
  3. Click Fetch models, select the models you need and add the selected entries.
  4. Optionally fetch model information from models.dev. Review context limits, output limits and reasoning efforts before applying values.
  5. Click Save, then choose a model under the newapi provider in the conversation model picker.

Model discovery queries your gateway for available models. models.dev is a public parameter catalog; a match does not establish that your gateway supports a model or feature. Save after applying catalog values.

Capabilities and limits

FeatureBehavior
Text, reasoning content and tool callsStreaming supported; an explicit reasoning effort is sent as reasoning_effort
Image inputThe adapter currently declares text-only input
Model discoveryQueries /models and filters names containing embed, rerank or ranker; this is not a capability probe
Model parametersEdit manually or match against models.dev; verify against your gateway
API keySaved through settings, never echoed; a blank input preserves the stored key
Multiple gatewaysOne newapi route and one gateway configuration are currently supported

Upgrading and troubleshooting

Check the version table, stop dsh Web and back up your dsh configuration and session data before upgrading. Install the target host and exact plugin version, keep the existing bundle entry and restart. The plugin retains the llm-newapi settings namespace and newapi credential reference.

Host 0.1.5 migrates session data; older hosts cannot directly read migrated sessions. Reinstalling an older npm version alone is not a complete rollback. See the upstream migration guide.

SymptomCheck first
No NewAPI settings pageThe web profile, bundle entry, host compatibility and whether Web was restarted
Missing credentialEnter and save the key in NewAPI settings; the plugin does not read NEWAPI_API_KEY
Discovery failsThe /v1 base URL, API key and gateway support for /models
Empty model listName-based filtering; manually add a model only if it supports chat-completions
models.dev download failsNetwork and proxy settings; the plugin proxy applies to this download, while host 0.1.5 also applies environment proxy settings
Missing-peer warnings during installdsh supplies host packages. If installation and startup succeed, do not install duplicate host packages just to silence these warnings; investigate actual startup errors separately

Documentation

The detailed guides below are currently in Chinese:

  • Configuration and troubleshooting: fields, model matching, proxies and save failures.
  • Development and RC releases: builds, test coverage and release checks.
  • Design: source map, data flow and implementation decisions.
  • 0.1.5-rc.1 assessment: version inventory and pending work.

See GitHub Releases for published changes and downloadable packages.