DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Compact Selected Model — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-compact-selected-model

Compact Selected Model

DeepSeek Harness 插件:/compact 和自动压缩使用会话中当前选定的模型进行摘要,而不是完成上一轮对话的模型

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-compact-selected-model@0.1.1
README兼容性版本

兼容性与来源证明

Compact Selected Model 以 dsh-compact-selected-model 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.1stable
2026/10/12
0.1.0stable
2026/10/9

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
8.2 kB
文件数
5
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
354
安全扫描
✓ v0.1.1 扫描通过
最近提交
2026/10/11
查看源码 ↗
README Badge

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

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

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

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

相关插件

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

Mnemondsh-mnemon适用于 DeepSeek Harness 的可组合、基于视图的记忆。支持可插拔的数据源和策略,并开箱即用地提供分层记忆。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。

README

dsh-compact-selected-model

By default, DeepSeek Harness compacts a session with the model that answered the last turn. If you switch models in the picker and then run /compact, the old model still writes the summary. With this plugin, the summary is written by the model you have selected now.

Works with dsh 0.1.7-rc.2 through 0.2.x.

Install

npx @deepseek-ai/dsh plugin --profile web add dsh-compact-selected-model

Then restart dsh web.

How it works

Picking a model in the web UI adds a model/selection event to the session. That choice stays pending until the next request uses it. The plugin hooks llm/stream. When a request has purpose: 'compaction' and the session has a pending model, the plugin sends the request to that model. Nothing else in the request changes.

The plugin leaves the request alone if compaction-basic has an explicit summarizationModel set. Other requests are never touched.

If the selected model fails, for example because of a rate limit or a context window that is too small, the compaction fails too. Switch back to a working model and run /compact again.

Caveats

  • The compaction/summary event in the session log still names the old model, because compaction-basic writes that record itself. The host log shows where the request actually went.
  • The auto-compaction threshold is still based on the context window of the previous model.
  • This needs the modelSelection projection from the session controller, so it does nothing in headless runs.

Development

node smoke.mjs runs an offline check against a stub LLM service.

License

MIT