dsh-session-accordion

会话历史折叠:每轮对话压成一行(时间胶囊 + 提问摘要),只保留最新一轮展开,新轮次到达或切换会话都回到最新一轮。3.2 起:单一状态渲染、唯一 DOM 写入点;图钉改为 CSS 背景图(不插入按钮,虚拟列表回收不留重影);悬停预览;搜索默认关闭(Enter 跳命中、Esc 还原);钉住与展开按会话记忆;日期吸头与分叉徽标;中英文案 + aria;纯事件驱动,无定时器与动画帧。

插件介绍

会话历史折叠:每轮对话压成一行(时间胶囊 + 提问摘要),只保留最新一轮展开,新轮次到达或切换会话都回到最新一轮。3.2 起:单一状态渲染、唯一 DOM 写入点;图钉改为 CSS 背景图(不插入按钮,虚拟列表回收不留重影);悬停预览;搜索默认关闭(Enter 跳命中、Esc 还原);钉住与展开按会话记忆;日期吸头与分叉徽标;中英文案 + aria;纯事件驱动,无定时器与动画帧。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:ayuanxx-max/dsh-session-accordion

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。