DeepSeek Harness Plugin

LyaxZ/dsh-quick-toc

Stars ★ 0 Category UI Enhancements Added 2026-08-18 npm dsh-quick-toc

Conversation TOC for DeepSeek Harness: markdown heading outline grouped by turn, with auto-follow highlight and smooth jump navigation.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-quick-toc

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/LyaxZ/dsh-quick-toc/releases/latest/download/dsh-quick-toc.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:LyaxZ/dsh-quick-toc

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

English | 中文

A quick conversation TOC plugin for DeepSeek Harness (DSH): extracts Markdown headings (H1–H6) from AI replies into a navigable outline panel, grouped by conversation turn, with auto-follow highlighting.

Features

  • Turn-grouped outline — each user message + its AI replies form one group, with the group's end time as the header
  • Auto-follow highlight — as you scroll the conversation, the turns visible in the viewport light up in the outline (multiple at once); the outline auto-loads and scrolls to keep them visible
  • Smooth jump — click a heading to glide to the exact heading position in the conversation
  • Dockable & resizable — dock left or right (drag the top bar), resize from the edges/corner, collapse to a draggable edge handle; panel size/position remembered
  • Scrollbar follows the dock — scrollbar sits on the left when docked left, right when docked right
  • Paged rendering — shows the latest groups first; scrolling to the top of the outline loads older ones
  • Markdown-aware titles — inline **bold**, italic, `code`, [links](url), ~~strike~~ are stripped from heading text
  • Auto-hides when the conversation has no headings; works in light/dark themes

Install

With the DSH CLI (published on npm — name only):

dsh plugin --profile web add dsh-quick-toc

or from GitHub:

dsh plugin --profile web add github:LyaxZ/dsh-quick-toc

or, for a local checkout:

dsh plugin --profile web add <path-to-this-folder>

Restart DSH (double-click restart-dsh.bat on Windows) and open the Web UI. The outline is collapsed by default — click the small edge handle on the left side of the conversation to expand it.

Usage

  • Click a heading in the outline to jump to that heading in the conversation
  • Drag the top bar to move the panel; use the ◀ / ▶ button to dock left/right
  • Drag the right edge (width), bottom edge (height) or the bottom-right corner (both) to resize
  • Scroll the outline to the top to load older groups

Development

  • lib/client.js — all UI logic (browser side)
  • lib/index.js — host-side no-op entry
  • cordis.patch.yml — loader patch (official DSH bundle format)
  • Client changes hot-load after a browser hard refresh; loader/patch changes need a DSH restart

License

MIT © 2026 LyaxZ

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →