dsh-session-rotate

Session rotation for long conversations: when a session reaches its step budget, at the end of the turn the plugin opens a new session in the same workspace, posts a handoff summary it assembles itself from local session events, and archives the old one immediately or after a retention window. Per-workspace step limits, a minimum-steps floor, a cooldown, a rotation cap and a dry-run switch are configurable in the settings page, and the summary is built with no model call.

Overview

Session rotation for long conversations: when a session reaches its step budget, at the end of the turn the plugin opens a new session in the same workspace, posts a handoff summary it assembles itself from local session events, and archives the old one immediately or after a retention window. Per-workspace step limits, a minimum-steps floor, a cooldown, a rotation cap and a dry-run switch are configurable in the settings page, and the summary is built with no model call.

Installation

Install from GitHub

dsh plugin --profile web add github:cry-flu/dsh-session-rotate

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.