PaRr0tBoY/dsh-toc-and-rewind1

dsh-toc-tail

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

AI 分析

核心用途是提供直观的对话导航与版本回滚。适合在长对话中需要频繁跳转、或者在尝试不同方案时需要一键“撤销”并回溯到之前某个对话节点及代码状态的用户。

パッケージ
dsh-toc-tail
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/15

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PaRr0tBoY/dsh-toc-and-rewind

ドキュメント

README 全文を読む ↗

Usage

Each user request compresses into a horizontal tick. 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 listing every user request with its summary and a rewind button.

tick column:  ───   ───────   ──   (one tick per user request)
  • Click a row's summary area to jump to that message.
  • Click the rewind button on a row to open the confirm menu.
  • In the confirm menu, pick Restore code and/or Summarize (multi-select), then Confirm or Cancel.

Table Of Content

A small toc tail at the side of chat

1

Hover to Expand

2

Click rewind button to rewind code、conversion and summarize.

3

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.