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.

Stream Focus — DSH Plugin for DeepSeek Harness
← Plugins

dsh-stream-focus

Stream Focus

DSH plugin: smooths running-turn thinking and tool output across all Work details modes, with a capped following window in Compact/Standard and row-level pacing in Detailed/Verbose.

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-stream-focus@0.1.2
READMECompatibilityVersions

Compatibility and provenance

Stream Focus is published as dsh-stream-focus and currently resolves to version 0.1.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/19/2026

Versions

0.1.2stable
10/19/2026
0.1.1stable
10/19/2026

Related plugins

Loading related plugins…

Latest
0.1.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
228.9 kB
Files
24
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
10/19/2026
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.

Dafeiyudsh-dafeiyuA desktop-native BigFish companion driven by DeepSeek Harness session events.Dream Skindsh-dream-skinDeepSeek Harness 换肤插件(Dream Skin for DSH):8 套 iOS / Linear 式清透冷调的高质感主题 + 弥散光壁纸 + 每皮肤智能背景 + 强调色 + 主题包分享,把换肤做成材质与配色克制的高级感工艺,而非贴图。Works in native DSH Web and third-party desktop clients (DSH Desktop): 8 original premium themes, glass materials, wallpaper 2.0Claude Styledsh-claude-styleClaude Code Desktop theme for DeepSeek Harness (dsh) web GUI — visual & interaction overhaulCodex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH Web

README

dsh-stream-focus

English | 中文 | Landing page | Changelog

在 DSH 内置的四档工作步骤展示模式上增强运行中的思考/工具展示。

各模式行为

模式插件增强
Compact / Standard自动展开当前过程组,形成限高、贴底、保持高度的运行窗口;切换行时自动收起旧窗口。
Detailed当前轮次在官方容器内平铺,不伪造组级窗口;自动展开当前思考/工具行,并收起旧的自动展开行。
Verbose平铺显示,自动展开当前思考/工具行,但不自动收起旧行,尊重“永远展开”的语义。

四档共享:思考正文逐字平滑、普通正文行级渐隐与字符淡入、新段落/列表/代码块淡入、自动操作不抢焦点。

  • 思考流式输出时,自动展开当前思考行;官方过程组本身成为限高、内部自动贴底的窗口。
  • 思考正文用 CSS Custom Highlight API 对尾部新字素做透明度淡入,不插 span、不改 Markdown DOM;揭示速度按 elapsed time 归一化,60Hz/120Hz 手感一致。窗口内部滚动跟随使用官方 process scroll,插件不重复写 scrollTop,避免两套跟随互相抢滚动。
  • 过程组首次自动展开时用约 180ms 的透明度淡入,窗口直接以真实高度出现,不再先折叠再展开。
  • 运行中的窗口禁止横向溢出,并关闭过程组自带的上下渐隐遮罩,避免横向滚动条间歇出现、纵向滚动条被遮罩成半虚化。原生滚动条 thumb 在活动窗口内隐藏,右侧改用一条高度平滑过渡的 3px 进度线,避免内容按行增长时 thumb 一跳一跳地缩小。
  • 活动窗口保持已经出现过的最大高度;思考切换到工具时只滚动内部内容,不再让外层会话因窗口变矮而回滚。
  • 窗口底部有一层 16px 的轻渐隐,滚动跟随也更柔和,新行从底部淡入而不是硬切。
  • 普通助手正文流式输出时,在消息根部加 20px 的底部行渐隐;输出结束后立即移除。
  • 思考与普通正文中新出现的段落、列表、代码块会做一次 600ms ease-in 的透明度淡入(无位移);逐字揭示会避开组合音标和 ZWJ emoji 边界。
  • 普通正文增长期间会持续压住外层会话尾部;行切换通过冻结窗口高度避免外层位移,不再在动画期间反复改外层滚动。
  • 工具行自动展开不再以外层会话是否刚好贴底为前提;窗口展开期间会同步压住外层尾部,避免页面滞后一帧。
  • 不添加自定义背景、边框、圆角或内边距,窗口外观完全沿用官方过程组。
  • 自动展开时临时屏蔽标题按钮的 focus();鼠标点击标题后也会移走焦点,不留下焦点环。键盘聚焦保持官方的可访问焦点行为。
  • 思考结束、工具开始后,先收起刚才的思考窗,再展开当前工具行;切换前冻结窗口高度,外层总高度不变,上方内容不会下坠或被顶回。展开/收起带约 180ms 的高度和透明度过渡。并行工具会一起展开,包括独立的 Bash 行(data-sample="bash")。
  • 下一次思考开始时,自动收起上一批自动展开的思考/工具窗口,只保留新的思考窗。
  • 手动打开的窗口不会被自动收起;手动关掉的组或行不会被强行重开。
  • 外层会话离开底部时不主动滚动;窗口内部的滚动与贴底由官方 process scroll 负责。若没有读者手势、过渡前窗口在底部而过渡后官方 follow 意外丢失,插件会做一次单次自愈:滚回窗口底部并派发 scrollend 重新激活 follow。
  • 一轮结束或卸载插件后,恢复官方展示。

演示

30fps、1080p 的四档 MP4 演示(每段 25–32 秒,从居中输入框开始,完整包含开场思考,并在模型输出结束后停止)。GitHub README 不支持内嵌视频,点击封面会打开对应模式的 GitHub Pages 播放页。

CompactStandard
CompactStandard
DetailedVerbose
DetailedVerbose

打开全部演示

录制和更新流程见 演示视频制作流程。

边界

  • 纯客户端展示增强:不写 Session、不发网络请求、不接触凭据、不注册模型工具。
  • 零设置、零持久化。插件面板里启用/禁用就是总开关。
  • 过程组的展开/折叠读取官方 Chat 的语义 DOM 标记来驱动;思考正文通过官方 conversation.chat.reasoning.body Slot 和 conversation.chat.reasoning.content Factory 包装,不复制 Markdown 渲染器。窗口高度与样式由插件维护;内部滚动跟随使用官方 process scroll,插件不重复写 scrollTop。官方改这些属性或 Slot 契约时,这里需要同步更新。
  • 仅对正在运行的轮次生效;历史轮次保持各模式自己的官方折叠方式。

安装

dsh plugin --profile web add dsh-stream-focus

安装后刷新浏览器页面,四档模式下都会生效。

已知限制

  • 字符淡入依赖 CSS Custom Highlight API;不支持的浏览器会自动回退为普通文本渲染。
  • 依赖 ui-chat 的语义 DOM(data-chat-group-key、data-variant="think"、data-tool、data-sample="bash"、data-disclosure-row、data-chat-running、data-chat-following-tail)。上游属性改名时插件会静默不生效,需要跟进。
  • 只有 Compact / Standard 有官方过程组,窗口高度沿用其 min(400px, 50vh);Detailed / Verbose 保持官方平铺结构,不添加组级限高。
  • 插件自动切换行时,思考和工具行的展开/收起使用约 180ms 的高度 + 透明度过渡;手动点击行仍沿用官方即时切换。过程组首次出现使用 180ms 透明度淡入。
  • 字符平滑会带来约 100ms 的视觉延迟;流式期间显示的是思考原文的可见前缀,结束后立即切回完整文本。复制正在流式输出的内容时会得到当前可见前缀。
  • 普通助手正文没有官方 Content Factory,无法逐字 pacing;目前使用尾部字符 Highlight 淡入 + 行级底部渐隐。真正的逐字 pacing 需要官方增加一个正文 Factory。

致谢

本插件的开发受到 dsh-streamfold 的启发。感谢 @rezon-aki 的探索与实现。

也感谢 dsh-smooth-stream:它的 CSS Custom Highlight 字符淡入、揭示与跟随分离、基于时间的物理积分,为本插件的后续改进提供了重要启发。感谢 @Laplace-bit 的探索与实现。

开发

pnpm install
pnpm run verify   # typecheck + build + 56 个测试
  • src/client/decision.ts:纯状态机,决定本轮窗口应该打开/关闭哪些行。
  • src/client/conductor.ts:Compact / Standard 的过程组窗口、高度冻结、样式与进度线。
  • src/client/flat-rows.ts:Detailed / Verbose 的平铺行自动展开。
  • src/client/mode-policy.ts:四档模式解析与 conductor 选择。
  • src/client/paced-body.tsx:替换 reasoning Body Slot,通过官方 Content Factory 平滑揭示思考正文。
  • src/client/normal-smoothing.ts:普通正文行级渐隐、字符高亮淡入与新块淡入。
  • src/client/highlight-fade.ts:CSS Custom Highlight 字符级淡入。
  • src/client/pacing.ts:字符揭示与滚动缓动的纯数学。
  • tests/:模式策略、状态机、节奏计算、jsdom 交互测试。