DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@sharewiner/dsh-model-management

Model Management

DSH 模型管理、同步模型可见性以及 OpenAI Responses 网络搜索。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:sharewiner/dsh-model-management#09db30228b428c3a2cb5e1cf40b9037f0e991ccb
README兼容性版本

兼容性与来源证明

Model Management 以 @sharewiner/dsh-model-management 发布,当前版本为 0.2.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.2.3stable
2026/8/26
0.2.1stable
2026/8/25
0.2.0stable
2026/8/25

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编码计划配额,并提供实时令牌使用记录,同时在侧边栏条目中显示当前会话提供商今日的使用量Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。

README

DSH Model Management

中文文档

A DSH Web profile plugin for managing OpenAI-compatible model providers, choosing a default model, controlling model visibility, and optionally routing web search through the selected OpenAI Responses provider.

Features

  • Adds a 模型管理 settings section.
  • Lists every model currently registered with DSH, grouped by provider.
  • Sets the default provider, model, and supported reasoning effort.
  • Hides individual models from the composer model picker and /model command.
  • Closes an entire provider in the composer model picker and /model command.
  • Keeps the currently selected model visible until another model is selected, preventing an active session from losing its current route.
  • Registers model-management-openai-responses, a web-search provider that uses the active default OpenAI Responses model, base URL, and credential reference.

Beta Status and Compatibility

This project remains early access even though npm 0.2.3 uses stable SemVer as required by the DSH managed market. It was tested with DeepSeek Harness 0.1.1-rc.2 package APIs and DSH Desktop Web profiles current on 2026-08-25.

Model visibility synchronization uses a contained compatibility layer around DSH's client-side modelDirectories service because DSH does not currently expose a public model-directory filtering API. The layer probes the required directory contract before installation, caches visibility settings, restores every patched method when the plugin stops or updates, and leaves the native picker unchanged if the contract is incompatible. Verify the composer model picker and /model command after every DeepSeek Harness upgrade. Report compatibility issues in this repository's issue tracker.

Requirements

  • A DSH Web profile with the settings, credentials, agentDefaultModel, llm, and web services.
  • Node.js 22.19 or newer.
  • Compatible host packages matching the peer dependency versions in package.json.
  • An OpenAI-compatible endpoint for any configured provider.

Install

Install the published package from the DSH plugin market, or add the exact npm version to the profile that Desktop starts:

dsh plugin --profile web add @sharewiner/dsh-model-management@0.2.3

For local development, install this checkout with pnpm add "file:/absolute/path/to/dsh-model-management" from the target profile. Ensure @sharewiner/dsh-model-management appears in that profile's dsh.profile.bundles. The package bundle patch inserts the model-management Host entry. Restart DSH Desktop after installing or updating the package.

Use

Open DSH Settings and select 模型管理.

  1. Add an OpenAI-compatible provider and its models in DSH's native 模型 settings page.
  2. Choose a default model from 模型管理.
  3. Use 隐藏 to remove one model from the composer model picker and /model list.
  4. Use 关闭提供方 to remove all models from a provider in those model lists.
  5. Use 显示 or 开启提供方 to restore them.

Provider headers are expandable. Clicking the header, its empty area, or the chevron expands or collapses the provider; the enable or disable button only changes the provider state.

Web Search

When the selected default model belongs to a configured openai-responses provider, the plugin registers model-management-openai-responses. Configure DSH's web service to use that provider if you want web searches to follow the current default model automatically.

The selected endpoint must support:

  • openai-responses: POST {baseURL}/responses
  • openai-completions: OpenAI-compatible chat completions through pi-ai
  • Model discovery: GET {baseURL}/models

Verification

cd ~/.dsh/profiles/desktop
pnpm exec node --input-type=module -e "import('@sharewiner/dsh-model-management').then(() => console.log('host entry loaded'))"
node --check node_modules/@sharewiner/dsh-model-management/lib/client.js

cd /absolute/path/to/dsh-model-management
node --check lib/index.js
node --check lib/client.js
pnpm pack --pack-destination /tmp .

Restart the DSH Web profile and confirm the 模型管理 settings section appears. Test provider visibility changes in both the composer model picker and the /model command.

Security

This plugin reads provider credentials through DSH's credential service or launch environment only when it performs an OpenAI Responses web-search request. It does not store API keys, tokens, or endpoint secrets in the plugin source or model-management settings.

Do not commit local DSH settings, credential files, or profile directories to this repository.