Free-corner/dsh-chat-tools
DSH chat tools plugin;Make the interface more efficient, add content area width adjustment, question history, and add a table of contents outline feature for markdown format.
项目介绍Project Overview
dsh-chat-tools 是一款 DSH(DeepSeek Harness)Web 客户端插件。它提供对话列宽度与位置调节、带序号与快捷键的提问历史(支持跨会话持久化与分页加载),以及基于 Markdown 标题的内容区与文件预览区大纲目录。适用于需要在大段对话中快速跳转、回顾提问上下文或梳理长回答结构的场景。注意:宽度、位置与菜单尺寸仅保存在浏览器本地,更换设备或清除浏览器数据后需重新设置。
dsh-chat-tools is a DSH (DeepSeek Harness) web client plugin. It provides adjustable chat column width and position, a numbered question history with keyboard shortcuts (persisted per session with paginated loading), and a Markdown outline for both the chat area and file previews. It is useful for navigating long conversations, revisiting earlier questions, or skimming structured responses. Note that width, position, and menu dimensions are stored only in browser local storage, so they must be reconfigured after switching devices or clearing browser data.
请帮我了解并安装插件:【dsh-chat-tools】【https://github.com/Free-corner/dsh-chat-tools】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add dsh-chat-tools
把 Free-corner/dsh-chat-tools 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-chat-tools
DSH(DeepSeek Harness)Web 客户端插件:对话列宽度/位置调节、带序号与快捷键的提问历史、以及对话区与文件预览区的 Markdown 大纲目录。
功能
界面调节(右上角)
- 宽度:滑块按百分比调节对话内容列宽度(0% = 默认宽度,100% = 占满内容区且避开左侧大纲区)。
- 位置:内容居中或靠左显示(靠左时自动避开左侧大纲区,不会相互覆盖)。
提问历史(右上角「提问历史」下拉菜单)
- 每个提问带序号,按对话顺序排列(最新在底部)。
- 打开菜单自动定位到最新提问。
- 顶部 ↑ 上一个 / ↓ 下一个 按钮,或快捷键 Ctrl+↑ / Ctrl+↓ 在提问间跳转。
- 点击任意条目跳转到对话中的对应位置。
- 左边缘拖拽调宽度、底边缘拖拽调高度(设置持久化)。
- 历史缓存:提问记录按会话持久化保存,服务重启后仍在;早期内容未加载时显示为「未加载」,点击会自动分页加载更早内容并跳转到对应位置(上限保护,不会拖垮浏览器)。
大纲目录(内容区左边缘)
- 对当前回答的 Markdown 标题(
#~######)以小横条展示结构:横条长度随标题层级递减。 - 鼠标移入横条区域弹出完整大纲,点击条目跳转到对应标题。
- 在 better-sidebar 等文件预览(Markdown 渲染)中,大纲横条显示在预览区右边缘,功能相同。
安装
从市场(待收录)
安装插件市场后,在 Settings → Plugin Market 中搜索 dsh-chat-tools,一键安装。
手动安装
dsh plugin --profile web add dsh-chat-tools
或(本地开发):
cd ~/.dsh/profiles/web
pnpm add "file:/path/to/dsh-chat-tools"
然后在 cordis.patch.yml 中加入:
- insert:
- id: dsh-chat-tools
name: 'dsh-chat-tools'
重启 dsh web 生效。
使用提示
- 宽度/位置/菜单尺寸等设置自动保存到浏览器本地。
- 提问历史跨会话按会话 ID 分别保存。
- 大纲横条仅在内容包含标题时显示,无标题内容不打扰。
许可证
MIT
ruvnet/ruflo
amruthpillai/reactive-resume
esengine/DeepSeek-Reasonix
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/colleague-skill
nocobase/nocobase
Tencent/WeKnora