DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Free-corner /

Free-corner/dsh-chat-tools

Verified

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.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@a14bfc4a

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

—/ 5

No ratings yet

Verified DSH bundle

Commit a14bfc4aa1a2

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout