dshbase

插件目录 / Developer / dsh-toc-and-rewind

dsh-toc-and-rewind

未验证 PaRr0tBoY

✓ 持续维护 2 位贡献者 基于 10 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-15最近推送
跨平台平台

功能简介

添加一个迷你目录在对话旁,适合长程对话导航,还可以直接rewind到选定对话,支持恢复代码变更和总结,暂不稳定

我们的评价
未验证 — 尚未实测

添加一个迷你目录在对话旁,适合长程对话导航,还可以直接rewind到选定对话,支持恢复代码变更和总结,暂不稳定 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

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.

dsh-toc-tail: every user request becomes one tick; rewind any of them back into the composer

Screenshots

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

The tick rail at the conversation column's right edge

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

The directory panel expanded on hover, listing every user request

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

The rewind confirm menu with restore-code and summarize options

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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-toc-and-rewind」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:PaRr0tBoY/dsh-toc-and-rewind

Headless(CLI)profile:

dsh plugin --profile headless add github:PaRr0tBoY/dsh-toc-and-rewind

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-27
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →