dsh-session-flow

August 17, 2026 · View on GitHub

English | 中文

Restructures DSH session message streams into a foldable information flow with session-level summaries: every session becomes an archive card for cross-workspace review, search, and export. The built-in session views (Trajectory / Chat) excel at the microscopic inspection of what is happening right now; this plugin fills the missing layer of post-hoc review / archival / insight.

Interface tour

Overview workbenchSession Flow tab
Overview workbenchSession Flow tab
Session cards with status, conclusion line, first task; hover ✎ to rename inline"Session Flow" tab embedded in the native conversation page
Turn railCross-session full-text search
Turn railCross-session full-text search
Turn navigation on the left of the Chat tab: collapsed dashes ⇄ expanded cards, one-click jumpFree text in the overview triggers full-text mode: recall across workspaces, hits jump & locate
Dock details rightFolded detail view
Dock details rightFolded detail view
Dock the detail into the official right panel: conversation + flow side by side, drag to resizeTurns folded by default; expand in true chronological order; four-tab navigation

Features

CapabilityDescription
Overview workbenchSession cards (status / errors / duration) + conclusion line; sort, filter, workspace tabs
Structured searchtool: file: err: prefixes + free text
Folded detail viewTurns collapse to "user message + conclusion"; expand in true chronological order; on-demand loading
Four-tab navigationUser messages / tools / errors / search, click to locate & highlight
Lineage treeSubagent derivation tree (offline archive + live runtime channels)
Dual-mode summaryRule summary (zero cost, assembled live) + LLM summary (cached, prompts regeneration)
Live tracking3s polling for running sessions, breathing highlight + generating indicator
ZIP exportOverview + chunked timeline as a Markdown report
Session renameSame data source as the official title (log-backed), synced both ways in real time
Health monitorFour-level classification: active / tool-running / quiet / likely stalled; overview badges + detail live bar
Header health chipNext to the mode label in the session header; a vertical bar that expands into a status card on hover, click to open detail
Session Flow tabEmbedded tab on the native conversation page, cross-navigates with the workbench
Turn railTurn jumps on the left of the Chat tab (Chat tab only)
Cross-session full-text searchContent-level recall, hits jump into the Session Flow tab and locate
Dock details rightSide-by-side with the main conversation
Cache managementView & clean index/timeline caches (never touches DSH data)

Install

# From the plugin market (search dsh-session-flow), or:
dsh plugin add dsh-session-flow
dsh plugin add github:YeqingTang/dsh-session-flow

After installing: restart the DSH Web service and hard-refresh the browser (Ctrl+Shift+R). Success shows the "Session Flow" entry in the sidebar.

Requirements: DSH Web GUI (latest stable); Node.js ≥ 22.19 (built-in zstd decoding, zero third-party dependencies).

Usage

  • Overview: sidebar "Session Flow" → all session cards. Search supports tool: / file: / err: prefixes; free text of ≥2 characters additionally triggers cross-session full-text search.
  • Detail: click a card. Turns are folded by default — click a turn header to expand; the four-tab navigation locates entries; the header offers LLM summary, ZIP export, dock right, and lineage.
  • Native conversation page: the "Session Flow" tab reviews the current session in place; the turn rail on the Chat tab jumps to any turn; hover the title for ✎ rename (synced with the official title in real time).
  • Health status: the health chip right of the mode label in the header (vertical bar: green = active / amber = tool running / red = likely stalled) expands on hover; click to open the Session Flow detail. Overview cards and the live bar show the same badges.
  • Live: click "Live" on a running session, auto-refresh every 3 seconds.

Acknowledgements

Apache-2.0 licensed; original license notices for third-party code are retained.

License

Apache-2.0