PaRr0tBoY/dsh-toc-and-rewind ↗★ 1
dsh-toc-tail
对话目录尾栏与回溯插件:在对话列右侧提供轻量 TOC 时间轴,支持一键回溯到任意历史请求节点并可选恢复代码状态或进行总结。
AI 分析
核心用途是提供直观的对话导航与版本回滚。适合在长对话中需要频繁跳转、或者在尝试不同方案时需要一键“撤销”并回溯到之前某个对话节点及代码状态的用户。
安裝
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
Hover to Expand
Click rewind button to rewind code、conversion and summarize.
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.