liliuCourier/dsh-chat-outline 预览 preview

liliuCourier/dsh-chat-outline

Plugin插件 Native原生 ⭐ 8 MIT Sessions & Context会话与上下文

对话栏左侧常驻大纲:快速定位每次user提问与最后assistant回复(DeepSeek Harness插件)

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that adds a persistent fixed-width outline sidebar to the left of DSH’s chat panel. It lists all conversation turns, with each entry showing the user’s question and the assistant’s final reply for that turn. Clicking any entry jumps directly to the corresponding position in the chat view, while holding Ctrl or Shift and clicking jumps to the matching position in DSH’s Trajectory view. It also includes a keyword filter, a blue scroll-following marker for your current reading position, and a one-click button to collapse the sidebar and restore full chat width.

The plugin offers two operational modes, with lightweight mode enabled by default. In lightweight mode, the outline only shows content that DSH has already officially loaded, so the plugin adds zero extra performance overhead to your session. To get a complete outline of an entire long conversation, you can manually switch to full mode, which will actively load all historical conversation content when you open a session. This tool is designed for users who frequently have long conversations in DSH and need an easier way to navigate and locate older conversation content.

The plugin is released under the open-source MIT license, and is compatible with DSH versions 0.1.0-rc.6 and newer. Starting from version 0.1.6, the plugin ships with a DSH bundle manifest, so after installing it via npm or the GitHub repository, you only need to refresh your browser to activate it. Only older versions or source-based installs require an extra manual configuration step to add the plugin to DSH’s config file. Users should note that full mode can cause noticeable performance lag when loading very long sessions, so it should only be enabled when needed.

这是专为 DeepSeek Harness (DSH) 开发的原生插件,在 DSH 对话栏左侧添加一个常驻侧边栏,按对话轮次展示每一轮用户提问和该轮最后一条助手回复。点击任意条目即可跳转到聊天视图对应位置,按住 Ctrl 或 Shift 点击可直接跳转到轨迹视图的同一位置。它支持关键词过滤,用跟随滚动的蓝框标记当前阅读位置,还支持一键收起侧边栏恢复对话全宽。

插件提供两种工作模式,默认的轻便模式只展示 DSH 官方已经加载的对话内容,不会产生额外的性能开销。如果需要查看长会话的完整对话大纲,可切换到全面模式,该模式会主动加载全部历史对话内容。它解决了长对话中反复向上滚动查找历史内容的痛点,适合经常需要和 DSH 进行长对话、需要快速定位历史内容的用户使用。

该插件遵循 MIT 开源许可证,适配 DSH 0.1.0-rc.6 及以上版本。从 0.1.6 版本开始,安装包自带 DSH 原生清单,通过 npm 或 GitHub 安装后刷新浏览器即可生效,仅旧版本或源码安装需要手动修改配置文件。需要注意的是,全面模式加载长会话时会有明显性能开销,请按需开启。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-chat-outline

把 liliuCourier/dsh-chat-outline 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-chat-outline — DeepSeek Harness Plugin

awesome · DSH plugin

对话一长就没法一直往上翻了。这个插件在对话栏左侧常驻一个侧边栏式对话大纲:按轮次列出每次提问和该轮最后一条回复,点击任意一条即可跳回对应位置,按住 Ctrl/Shift 再点击则直接切到轨迹视图的同一位置。蓝框会始终标记你当前读到哪,随滚动跟随;面板可一键收起以恢复对话全宽。顶部的输入框可以按关键词过滤。它有两种模式:默认的轻便模式只反映官方已加载的窗口,零额外开销;需要完整大纲时可切换到全面模式,进入即主动加载全部历史(长会话会有明显的性能开销)。

dsh-chat-outline 演示

中文文档

功能特性

  • 按轮次列出每次提问与该轮最后一条回复,点击即定位
  • 侧边栏式固定布局(260px),窄窗口也常驻显示,对话内容自动让位
  • 头部 ▸ 一键收起/展开,收起即恢复对话全宽
  • 蓝框标记当前阅读位置,随滚动跟随
  • 两种模式,头部按钮切换,选择会被记住:
    • 轻便模式(默认):大纲只显示官方已加载窗口的内容,零额外加载;
    • 全面模式:进入即主动加载全部历史,覆盖整个会话
  • 按住 Ctrl/Shift 点击条目,直接切到轨迹视图并定位到对应位置
  • 支持按关键词过滤
  • 跟随 DSH 明暗主题

安装

通过 npm 安装:

dsh plugin --profile web add dsh-chat-outline

或者从 GitHub 安装:

dsh plugin --profile web add github:liliuCourier/dsh-chat-outline

然后在 $DSH_HOME/profiles/web/cordis.patch.yml 中加入:

- insert:
    - id: dsh-chat-outline
      name: dsh-chat-outline

最后刷新浏览器页面即可生效。

从 0.1.6 起包内已含 dsh.bundle,通过 npm / GitHub 安装会自动激活,无需手动追加上面的 insert;手动 insert 仅对旧版本或源码目录安装适用。

使用

面板常驻在对话栏左侧,为固定宽度的侧边栏式布局(对话内容自动让位)。每条记录分「我」和「助手」两行,点击任意一行即可跳转。按住 Ctrl/Shift 再点击,会切到轨迹视图并定位到同一位置。面板头部右侧的 ▸ 可收起面板恢复对话全宽,收起后点聊天区左缘的 ☰ 重新展开。面板顶部的输入框支持按关键词过滤。

轻便模式与全面模式

面板头部右侧有两个按钮:模式按钮(轻便/全面)切换两种模式,选择会被记住;最右侧的 ▸ 按钮可收起(缩进)对话定位边栏、恢复对话全宽,收起后点聊天区左缘的 ☰ 重新展开。

模式与收起按钮位置(面板头部右侧)

  • 轻便模式(默认):大纲只显示官方已加载窗口里的内容,插件不做任何额外的历史抓取,零性能开销。窗口只覆盖最近的一部分时,大纲里也只有最近的轮次;想看到更早的内容,点聊天区官方自带的「加载更早记录」按钮把窗口往前扩,大纲会跟着变全。
  • 全面模式:进入会话(对话加载完成后)即主动分页加载全部历史,大纲覆盖整个会话,不用去点官方的加载按钮。

⚠️ 性能警告:全面模式会在后台逐页解析整个会话历史,长会话(尤其是带大量工具调用和流式输出的会话)会明显拖慢加载与整体响应,请按需开启。轻便模式没有这个问题。

对话与轨迹的跳转关系

对话和轨迹是同一个会话的两种视图:对话按轮次展示内容,轨迹按请求、工具调用和时间线展示执行过程。大纲面板里的每条记录都对应会话中的一个位置,两种跳转方式落点是同一个:

  • 单击:在对话视图里滚动定位到对应消息;
  • 按住 Ctrl 或 Shift 单击:切到轨迹视图,定位到同一位置。提问行落在轨迹中的用户消息行,回复行落在这轮最后一条回复所在行。

两个视图共用同一套事件编号,所以无论当前在哪个视图,跳转后看到的都是同一条内容。

常见问题

  • Windows 下 Git 报 SSL 凭据错误:fatal: schannel: AcquireCredentialsHandle failed: SEC_E_NO_CREDENTIALS。这是 Windows Git 的 schannel 后端问题,改用 OpenSSL 后端即可:

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-vsceditor 下一个 Next dsh-bottom-bar →