dove-a/dsh-chat-window-fold ↗★ 0
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 분석
核心用途是优化超长对话的浏览器渲染性能。适合拥有极长对话历史、需要防止页面卡顿的用户。支持通过配置文件自定义折叠阈值与判定周期。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dove-a/dsh-chat-window-fold配置
阈值与判定周期经行 config 配置(无 UI 开关):
| 键 | 默认 | 说明 |
|---|---|---|
foldThreshold | 50 | 折叠后保留的最近行数 |
foldCheckEvery | 25 | 判定周期(会话累计事件数;前两次 N=25/50 跳过,自 N=75 起判定) |