DeepSeek Harness 插件

dsh-toc-and-rewind

对话目录尾栏 + 回溯:对话列右侧的轻量 TOC Tail,把每条用户请求压缩为一条横线形成纵向时间轴;目录面板支持一键回溯到任意用户请求节点(折叠其后的对话,可选 LLM 总结与代码状态恢复)。(英文原文)

跳到安装方式

来源信息

GitHub 仓库
PaRr0tBoY/dsh-toc-and-rewind
最近更新
2026年8月15日
分类
记忆
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/PaRr0tBoY/dsh-toc-and-rewind
插件名:dsh-toc-and-rewind
作者:PaRr0tBoY

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-toc-tail

A conversation outline rail with rewind for the DeepSeek Harness web interface. Every user request becomes one tick in a vertical timeline at the conversation column's right edge; the directory panel can rewind to any user request, withdrawing it back to the composer.

<p align="center"> <img src="./assets/readme/hero.svg" width="100%" alt="dsh-toc-tail: every user request becomes one tick; rewind any of them back into the composer"> </p>

Screenshots

The rail: one tick per user request, width proportional to message length.

<p align="center"> <img src="./assets/readme/screenshot-rail.png" width="100%" alt="The tick rail at the conversation column's right edge"> </p>

Hover or focus a tick to open the directory panel listing every request with its summary.

<p align="center"> <img src="./assets/readme/screenshot-directory.png" width="100%" alt="The directory panel expanded on hover, listing every user request"> </p>

Each row carries a rewind button that opens the confirm menu: restore code and/or summarize, then confirm.

<p align="center"> <img src="./assets/readme/screenshot-rewind.png" width="100%" alt="The rewind confirm menu with restore-code and summarize options"> </p>

What it is

A lightweight conversation outline for long sessions. Each user request compresses into one horizontal tick; the tick width scales with the message length, and the longest request defines the scale. Hover or focus a tick to open a rounded directory panel with every request's summary and a rewind button.

Why it works

  • Tick width ∝ message length: the longest request gets the widest tick, every other tick scales by its length ratio, so the rail reads like a map of the conversation.
  • Paragraph-scoped highlighting: the request whose paragraph is in the viewport stays highlighted; an assistant reply keeps its request's tick highlighted until the next request scrolls into view.
  • Theme auto-follow: the rail, directory, and rewind cards ride the theme tokens projected by the Harness (--dsw-*), so light/dark switching recolors the whole plugin instantly.

Rewind

Rewinding to a user request withdraws that message as if it was never sent: the message text is prefilled back into the composer, and the conversation is folded up to the previous request's assistant reply. Everything from the withdrawn message onward is collapsed.

  • No options selected — folds to the selected position only.
  • Summarize — the folded span is summarized by the model and the report replaces it as context.
  • Restore code — the workspace files are restored to their snapshot at that request (snapshots are taken automatically before every user request).

The folded conversation disappears from the web view, and the fold marker card shows the summary (or a fold notice) with the number of collapsed messages.

Install or Update

Install from npm:

dsh plugin --profile web add dsh-toc-tail

Or install from the GitHub release tarball:

dsh plugin --profile web add https://github.com/PaRr0tBoY/dsh-toc-tail/archive/refs/tags/v0.1.0.tar.gz

Use the same command to update an existing installation. Restart dsh web after installation so the Host and browser client load the new version.

Behavior Notes

  • The rail appears once the conversation has at least three user requests.
  • The rail is vertically centered against the viewport and sits at the conversation column's right edge, keeping the screen's small edge gap.
  • Rewound requests lose their ticks and their flow rows are hidden.
  • Clicking a row's summary area jumps to that message; clicking the rewind button opens the confirm menu.

Development

pnpm install
pnpm run verify

The development setup expects the Harness checkout available through the peer dependencies. Built files under lib/ are committed so profile installation does not require package build scripts.

License

MIT