DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

dsh-chat-offscreen

Chat Offscreen

保持较长的 DSH 聊天会话响应迅速:跳过屏幕外聊天记录行的布局/绘制(content-visibility)。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:publieople/dsh-chat-offscreen#5b06af7e04424ce364e7af381e156e4c38b8a216
README兼容性版本

兼容性与来源证明

Chat Offscreen 以 dsh-chat-offscreen 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.0stable
2026/9/11

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

README

dsh-chat-offscreen

Keep long DeepSeek Harness (DSH) Web chat sessions responsive.

The problem

The DSH chat transcript is not virtualized upstream: every loaded history page stays in the DOM. Backwards paging pulls 50 messages per loadOlder() page, and the turn rail's jump loader pulls 200-message pages until the window covers the target — with no eviction. On a long session, dragging the transcript width handle, the sidebar divider, or simply scrolling forces layout + paint across thousands of nodes, which makes the UI stutter.

What this plugin does

It is a tiny client-side plugin that installs one stylesheet:

[data-chat-flow-kind="assistant-step"]:not(:has(.md-table-wide)),
[data-chat-flow-kind="tool-call"]:not(:has(.md-table-wide)) {
  content-visibility: auto;
  contain-intrinsic-size: auto 120px;
}
[data-chat-flow-kind="assistant-step"]:has(.md-table-wide),
[data-chat-flow-kind="tool-call"]:has(.md-table-wide) {
  content-visibility: visible !important;
  contain: none !important;
}

content-visibility: auto lets the browser skip layout and paint for off-screen assistant steps and tool calls — a cheap approximation of virtualization — while contain-intrinsic-size: auto 120px keeps the scroll range stable and remembers a row's measured height once seen. Rows containing a wide markdown table opt out so their breakout width is never mis-estimated.

This is a rendering-layer workaround, not a data change: no messages, session events, or host state are touched. It composes with the retired @linxin666/dsh-perf P0 rule of the same shape.

Install

dsh plugin --profile web add github:publieople/dsh-chat-offscreen

Then restart the web profile (dsh web ...) and hard-refresh the page (Ctrl+Shift+R). The lib/ build is committed, so no package build script runs and no allowBuilds entry is required.

The bundle patch inserts the plugin row automatically. If you install by hand:

cd "$DSH_HOME/profiles/web"
pnpm add github:publieople/dsh-chat-offscreen

then add dsh-chat-offscreen to dsh.profile.bundles in that profile's package.json and restart.

Verify

Open a long session and drag the transcript width handle / sidebar divider, or scroll fast. In DevTools → Elements, an off-screen assistant step should carry content-visibility: auto.

Disable / uninstall

dsh plugin --profile web remove dsh-chat-offscreen

then restart. Removing the plugin removes the stylesheet; nothing is persisted.

Compatibility

  • Client platform: web. Host half is intentionally empty.
  • Depends only on the browser content-visibility feature (Chrome/Edge 85+, Firefox 125+, Safari 18+). On older engines the rules are inert and the UI simply stays as before.
  • Built against DSH 0.1.5-rc.1; the plugin uses no DSH runtime imports.

Development

npm install
npm run typecheck
npm run build     # tsdown -> lib/index.js (ESM) + lib/client.js (ModuleLoader)
npm test          # drives the built client bundle against a fake DOM

lib/ is committed on purpose so Git installs need no build step. If you change src/, re-run npm run build and commit the result.

If upstream virtualizes the chat

When the DSH chat surface gains real virtualization, delete this plugin row. The upstream trajectory view (ui-trajectory) is already virtualized; the chat surface is not.