dsh-session-accordion

Chat history accordion: every turn folds into one row (time pill + question summary), only the newest turn stays open, and a new turn or a session switch resets to it. 3.2 adds a single-state render path with one DOM write point, a pin drawn as a CSS background mark instead of an injected button (so virtualized rows never leave duplicate pins), hover preview, a persistent search button that is closed by default (Enter jumps to the next match, Esc restores), per-session pin memory, day separators, a fork badge, bilingual copy with aria labels, and a fully event-driven build with no timers or animation frames.

Overview

Chat history accordion: every turn folds into one row (time pill + question summary), only the newest turn stays open, and a new turn or a session switch resets to it. 3.2 adds a single-state render path with one DOM write point, a pin drawn as a CSS background mark instead of an injected button (so virtualized rows never leave duplicate pins), hover preview, a persistent search button that is closed by default (Enter jumps to the next match, Esc restores), per-session pin memory, day separators, a fork badge, bilingual copy with aria labels, and a fully event-driven build with no timers or animation frames.

Installation

Install from GitHub

dsh plugin --profile web add github:ayuanxx-max/dsh-session-accordion

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.