dove-a/dsh-chat-window-fold0

dsh-chat-window-fold

Fold and expand the dsh web chat window automatically: event-cycle checkpoints (every 25 session events, from N=75) fold older loaded pages beyond the recent 50 rows when the viewport sits at the bottom; scrolling to the very top appends up to 50 earlier messages with the viewport kept in place, repeated until no more history. Per-session isolated; window stays below ~75 rows (low-end friendly); system "Load earlier" button hidden; configurable via row config (foldThreshold=50, foldCheckEvery=25). A DSH web profile bundle.

AI Analysis

核心用途是优化超长对话的浏览器渲染性能。适合拥有极长对话历史、需要防止页面卡顿的用户。支持通过配置文件自定义折叠阈值与判定周期。

Package
dsh-chat-window-fold
Version
0.1.6
License
Apache-2.0
Last updated
Aug 17, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dove-a/dsh-chat-window-fold

配置

阈值与判定周期经行 config 配置(无 UI 开关):

默认说明
foldThreshold50折叠后保留的最近行数
foldCheckEvery25判定周期(会话累计事件数;前两次 N=25/50 跳过,自 N=75 起判定)