dsh-plugin-smooth-stream
SpookySandwich
Better streaming text animation for DeepSeek Harness.
Laplace-bit9521Updated 3d ago
Silky streaming reveal for the Web UI: text appears at the model's arrival rate, new lines glide in, no flicker; follow stays with the user and respects prefers-reduced-motion.
Practical score
90 / 100
Setup
Ready to use
License
MIT
Language
JavaScript
Copy the command, or hand the whole task to your harness agent.
dsh plugin --profile web add dsh-smooth-streamPlease install the DeepSeek Harness plugin "dsh-smooth-stream" for me. - GitHub repository: Laplace-bit/dsh-smooth-stream (https://github.com/Laplace-bit/dsh-smooth-stream) - Type: a Cordis plugin (installed into a DSH profile) - The plugin declares a DSH vers…
A cleaned excerpt from the project's own documentation.
dsh-smooth-stream 让 AI 的长篇生成如提词器般温润流淌。 为 DeepSeek Harness( dsh )打造的物理流式渲染与合成层补偿跟随引擎。 English · 项目主页 · 工作原理与基准 · npm --- 极致丝滑的阅读手感 无论是阅读数百行的长篇推演,还是紧盯高速吐字的代码生成, dsh-smooth-stream 带来的是一种 沉浸、连贯且零视觉负担 的阅读质感: - 如水流般自然铺展 :告别大段文本突然“砸”在屏幕上的视觉压迫,字句如打字机般富有呼吸感地逐字涌现; - 视线无需追赶跳动 :视口如同搭载了高精度阻尼滑轨,随文字增长平稳匀速推移,彻底终结换行时的突发踢移; - 呼吸感与实时性的平衡 :慢速输出时从容优雅,高并发爆发时平稳追赶,无论模型吐字多快,画面始终从容自若。 --- 为什么需要它? 大模型输出是通过网络分块到达的。一个数据包可能在几毫秒内送达数百字符,下一个分块却需要数十毫秒。 如果直接将 DOM 渲染和视口滚动绑定在离散的到达事件上,通常会引发两个阅读体验问题: 1. 视觉跳跃与撕裂 :段落、代码块和表格整段突发呈现,视线被迫频繁重新寻焦; 2. 滚动抖动与重排风暴 :依靠 scrollTop = scrollHeight 进行瞬时硬跳;即使用 CSS scroll-behavior: smooth ,高频写入也会不断重置缓动曲线,导致动画永远无法收敛,高速流下伴随剧烈的主线程重排。 dsh-smooth-stream 将 内容呈现 与 视口运动 拆分为两个独立的物理状态机,在每一帧动画回调(rAF)中连续积分,彻底消除跳跃感。…
Open on GitHubSimilar tools from the same corner of the ecosystem.
SpookySandwich
Better streaming text animation for DeepSeek Harness.
SpookySandwich
Edit a sent message to rewind and branch the conversation from that turn; version counter under the bubble, a turn-level version tree of the whole branch family, and ChatGPT / DeepSeek / Claude control layouts.
Alm-Allen
优化DeepSeek Harness的聊天区交互体验 | Chat-area UX plugin for the DeepSeek Harness (dsh) web GUI.