dsh-model-caps

DSH PLUGIN模型与账号接入

仓库 iqzhan/dsh-model-caps · npm dsh-model-caps

模型与账号接入 未标注验证等级 安全审查:未标注 可信度:未标注 可安装插件
安装这个插件

为 DeepSeek Harness 的自定义供应商自动补齐空白的上下文窗口、输出上限、思考等级与线协议 compat,无需手改 settings.yaml 即可正常切换模型与思考档位。

一句话选型结论

按资料字段整理

dsh-model-caps 是模型与账号接入类的 DSH 可安装插件,未做沙盒验证,暂无安全审查结论,列出 4 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类模型与账号接入 收录类型可安装插件 验证等级未标注验证等级 安全审查未标注
验证等级 UNKNOWN 未标注验证等级
GitHub 星标 0 复刻 0 · 未关闭 issue 未标注
最近更新 2026-09-22 创建于 2026-09-19
README 4.3 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add dsh-model-caps
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名dsh-model-caps可用 npm view 查看包信息

能做什么

4 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-model-caps:为 DeepSeek Harness 自定义供应商补全模型能力

  • 自动补齐上下文与输出上限
  • 补全思考等级与线协议 compat
  • 按模型 id 归一化匹配内置目录
  • 不新增或删除模型,保留手写值

上游标签

apideepseekdeepseek-harness-plugindeepseek-harness-pluginsdshdsh-pluginmodelsnpmnpm-package

验证等级与安全审查

未标注验证等级
自动化流程结论,不是人工审核
验证等级未标注验证等级上游未给出验证结论,安装前请自行确认
安全审查未标注静态分析结论,未标注不代表已通过审查
仓库健康度未标注按仓库活跃度与最近更新时间给出
可信度未标注综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列出了 4 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 安全审查还没结论,装之前先看仓库改了什么、要什么权限。
  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在模型与账号接入场景里给 DSH 补能力的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-model-caps当前 未做沙盒验证 未标注 0 未标注 有
archify L4 · 沙盒安装通过 低风险 8.0 万 未标注 有
DeepSeek-Reasonix L4 · 沙盒安装通过 低风险 3.6 万 未标注 有
nocobase L3 · 安装规范通过 低风险 2.5 万 0.1.1-rc.2 无
learn-harness-engineering L4 · 沙盒安装通过 低风险 2.0 万 未标注 有
dsh-our-free-model 未做沙盒验证 未标注 8,064 未标注 无

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方iqzhan仓库 dsh-model-caps · 默认分支 未标注
分类模型与账号接入model
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 未标注收录时的数值,非实时
创建 / 更新2026-09-19 · 2026-09-22最后推送 未标注
本站收录2026-09-27首次进入本站目录的时间

README 全文

4.3 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-model-caps

English · 简体中文

A small DeepSeek Harness plugin. For each custom provider it fills blank context windows, output caps, thinking levels, and thinking wire compat, so chat can offer levels and send the right payload — without hand-editing settings.yaml. Values you already wrote stay. Models are not added or removed.

Design source of truth: DESIGN.md. OpenAI-compatible is the default track; Anthropic is an optional user choice. One custom route has one api.

How to use

After install, open a chat and pick a model from a custom provider the way you pick a built-in one. The plugin has already filled blank size and thinking fields on that route.

Custom providers (here B.AI and dashscope) show up next to each other. You switch models in the same menu; no extra settings page.

When the model has a thinking map, the footer shows levels (Default / Low / High / Max, …). Pick a level; the plugin’s auto compat aims the wire at what that Completions or Anthropic route can actually send.

Hand-written compat, non-standard effort wires, and reasoningEfforts: false are left alone.

What it writes

A custom provider is a llm-pi-ai route with api, baseURL, and at least one model. Catalog routes such as openai or google are left alone.

Per field, blanks merge in this order (DESIGN.md §5):

  1. The provider’s own GET {baseURL}/models listing.
  2. pi-ai builtins (when the host has them): match by normalized id, prefer the same api, else a maker row; project onto the route protocol. Maker Completions wires may overlay; Anthropic-only hits supply a menu, not a fabricated deepseek format.
  3. models.dev maker rows for remaining gaps (thin dialect fallback when no builtin hit).

Id lookup: exact → drop scheme: / path leaf → peel a trailing calendar date → peel vN.M when more name follows (deepseek-v4.1-flash → deepseek-v4-flash; bare mimo-v2.5 stays). FlashX and Flash stay distinct.

Writes: contextWindow, maxTokens, blank name, blank input (text / image), reasoningEfforts, auto compat. Catalog-shaped auto fills may refresh. Route-level thinking budgets are not written.

Install

From npm, then restart dsh web:

dsh plugin --profile web add dsh-model-caps

Requires Node 24 or newer. Caps fill on mount, and again when you save the provider in Settings. There is no separate settings page.

Working in this repository: keep the local link. Build, then point the profile at ./package (do not install the npm copy over that link):

node build-model-caps.mjs
dsh plugin --profile web add ./package

Update / uninstall

After an npm install:

dsh plugin --profile web update dsh-model-caps

Then restart dsh web. In this repo, rebuild the local link:

git pull && node build-model-caps.mjs

Uninstall: dsh plugin --profile web remove dsh-model-caps. Hand-written wires and compat stay. Catalog-shaped effort maps may have been refreshed; removing the plugin does not roll that back.

Publish a new version

node publish-via-actions.mjs 1.0.1

This starts publish.yml on GitHub and waits until it finishes. The version must be newer than the one on npm. You can also run publish.yml manually in Actions.

First time: in the npm package settings, add a Trusted Publisher for user IQzhan, repository dsh-model-caps, workflow file publish.yml, and allow direct npm publish.

Layout

Path Role
dsh-model-caps-core.js Pure policy: index, match, project, merge, planMutations
dsh-model-caps-sync.js IO: listing, models.dev, optional builtins, mutate
dsh-model-caps.host.js Cordis mount and triggers
dsh-model-caps.client.js No settings page
build-model-caps.mjs Build package/
DESIGN.md / DESIGN.zh.md Design source of truth
docs/images/ README screenshots
publish-via-actions.mjs Dispatch and watch npm publish via Actions

Tests

node verify.mjs

8 suites. Scratch files stay under .tmp/ in the repo.

License

MIT

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-model-caps 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add dsh-model-caps` 即可。对应的 npm 包名是 `dsh-model-caps`。

dsh-model-caps 的验证等级是什么意思?

未标注验证等级。上游未给出验证结论,安装前请自行确认

dsh-model-caps 安全吗?

未标注。

dsh-model-caps 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-model-caps 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-model-caps 有哪些功能?

自动补齐上下文与输出上限、补全思考等级与线协议 compat、按模型 id 归一化匹配内置目录、不新增或删除模型,保留手写值。

同名或近似条目

1 条
不同作者的仓库分开列,请确认你要装的是哪一个
模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

dsh-purge

dsh-purge

dsh-purge 是一款 DeepSeek Harness 设置插件,可修改默认副本、权限策略和工具限制,并添加规则卡片以分组应用补丁,支

L5 · 运行验证通过 4,573 星

iqzhan 的其它插件

1 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。