dsh-context-keeper

Watches the context budget of a DeepSeek Harness session: a colour dot in every turn footer (green <50%, yellow 50-65%, orange 65-80%, red >=80%) read from the official contextPressure projection, a reminder panel with a one-click new-session handoff at orange/red, the /context-watch and /handoff commands, and a static reasoning-rule prompt section. Budget and handoff read local session files only; the badge and reminder spend no tokens until the button is clicked.

Overview

Watches the context budget of a DeepSeek Harness session: a colour dot in every turn footer (green <50%, yellow 50-65%, orange 65-80%, red >=80%) read from the official contextPressure projection, a reminder panel with a one-click new-session handoff at orange/red, the /context-watch and /handoff commands, and a static reasoning-rule prompt section. Budget and handoff read local session files only; the badge and reminder spend no tokens until the button is clicked.

Installation

Install from npm

dsh plugin --profile web add dsh-context-keeper

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:Orliba/dsh-context-keeper

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.