DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Pref Kit — DSH Plugin for DeepSeek Harness
← Plugins
P

dsh-pref-kit

Pref Kit

[DEPRECATED] DSH performance plugin: llm/stream chunk coalescing (regular) and experimental trajectory-view replacement / chat rendering hints / runtime row management, with a Settings -> Plugins config card.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:gameswu/dsh-pref-kit#d75216b2e3af4f595191d88bad1577d5488a1d31
READMECompatibilityVersions

Compatibility and provenance

Pref Kit is published as dsh-pref-kit and currently resolves to version 0.5.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/16/2026

Versions

0.5.1stable
9/16/2026
0.5.0stable
9/10/2026
0.4.0stable
9/2/2026
Show 2 more versionsCollapse versions
0.3.0stable
8/30/2026
0.2.1stable
8/21/2026

Related plugins

Loading related plugins…

Latest
0.5.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.

README

dsh-pref-kit

⚠️ 已弃用(DEPRECATED,自 2026-09-10)

DSH 0.1.5 已内置长会话性能优化,并提供了官方右侧栏、轨迹视图与插件行管理能力, 本插件的存在价值已消失,不再维护、不建议新安装。 已安装的 profile 请执行 dsh plugin --profile <name> remove dsh-pref-kit 后重启 DSH。 仓库源码仅作历史保留,详见 DEPRECATED.md。

DSH 性能插件:在数据流源头合并模型流式输出的相邻文本增量,减少会话事件量, 缓解长会话与多 agent 并发下的卡顿与资源占用。不改任何接口与协议。

最终版本 v0.5.1(已弃用),历史要求 DSH >= 0.1.5-rc.1(Cordis >= 4.0.2,Node >= 20)。

功能

  • 流式合并(默认开启):把同一文本块内的相邻 text/reasoning 增量合并后再写入 会话日志与推送,事件量下降 11–56%(短回复 −45.6%、长回复 −53.5%、6 并发 −55.6%, 复杂长会话 −11%),内存 / 磁盘 / 带宽同步下降;windowMs = 0 即完全透传, 与未装插件逐事件等价。
  • 设置卡片:Settings → Plugins 提供配置卡片(与内置卡片同款样式),修改保存后 即时生效、跨重启保留。
  • 实验开关(默认全关):
    • 替换轨迹视图:用轻量轨迹页接管官方轨迹入口(需先禁用官方 ui-trajectory 行), 消除轨迹页在流式期间的每帧全量重算(基准模型实测 ×239–×184.9k 工作降幅);
    • 聊天区渲染提示:让浏览器跳过视口外消息的绘制(画面不变);
    • 运行时行管理:按白名单禁用/启用官方插件行(如遥测、token 统计);Agent Teams、会话持久化与官方右侧栏行受保护、不可停用;即时生效并持久化。

安装

cd dsh-pref-kit
npm run build                                       # 构建
dsh plugin --profile web add "file:$(pwd)"          # 装入目标 profile(自动挂载插件行)
# 重启 DSH 生效(启动日志出现 [dsh-pref-kit] llm/stream coalescer active)

更新:npm run build 后先 dsh plugin --profile web remove dsh-pref-kit 再 add。 卸载:dsh plugin --profile web remove dsh-pref-kit。

配置

配置项默认说明
windowMs30 ms合并窗口(0–200ms);0 = 关闭合并(逐 token 透传)。窗口越大事件削减越多,首个字延迟 ≈ 窗口

实验项(Settings → Plugins → dsh-pref-kit 卡片 → 实验组):

配置项默认说明
experimental.replaceTrajectoryViewfalse替换轨迹视图;需同时把 ui-trajectory 加入下方行管理的禁用列表(或手工禁用该行)
experimental.chatContainmentfalse聊天区渲染提示(画面不变,浏览器少画视口外内容)
experimental.rowManager.enabled / disabledRowsfalse / []运行时禁用官方行(白名单:ui-trajectory、session-telemetry-otel、token-meter、session-stats、session-projection-cache;这 5 行在 0.1.5-rc.1 仍存在);Host 即时生效并持久化,客户端需刷新页面。session-query-sqlite 仍是 base/web 中唯一的 ctx.sessionQuery provider(schema 默认 openAt: startup,base/web 组合覆盖为 never,不打开 SQLite),不可停用,旧配置残留的禁用值会被强制恢复。Agent Teams 行(agent-team、tool-agent-team、ui-agent-team)、持久化前置行(session-persistence-jsonl、session-projection)与官方右侧栏行(ui-sidebar-right、ui-sidebar-documentpreview、ui-sidebar-files)不在白名单内,行管理器不会触碰——禁用 session-persistence-jsonl 会破坏 Team 激活;旧的 session-persistence-sqlite 后端早已移除

基准测试

离线可复现(固定种子 + 虚拟时钟,不连接 DSH;含逐块协议等价断言与复杂长会话生成器, 任何人可逐位复现):

场景事件数(基线 → 合并 30ms)首块延迟
短回复810 → 441(−45.6%)16 → 40ms
长回复9674 → 4501(−53.5%)20 → 28ms
复杂长会话(生成器)12210 → 10869(−11.0%)30 → 60ms
6 并发 agent35592 → 15788(−55.6%)18 → 50ms

运行:npm run benchmark。详细分析与实验性策略消融见性能分析报告。

许可证

MIT