dsh-longsession

Adds a reversible “Collapse history” toggle to the session header with a light/dark status dot: it unloads the history already rendered by the page and keeps the latest two turns, then shows “History collapsed”; clicking again restores the saved window. A manual restore keeps auto-collapse off for the rest of that session; thresholds and request caps live on Settings → Long session.

Overview

Adds a reversible “Collapse history” toggle to the session header with a light/dark status dot: it unloads the history already rendered by the page and keeps the latest two turns, then shows “History collapsed”; clicking again restores the saved window. A manual restore keeps auto-collapse off for the rest of that session; thresholds and request caps live on Settings → Long session.

Installation

Install from GitHub

dsh plugin --profile web add github:asots/dsh-longsession

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.