dsh-compact-threshold

Composer control for the automatic context-compaction threshold. A 20%-80% slider rewrites the running BasicCompactionEngine config per step, shows current usage, context window and the effective trigger line, and compacts immediately when the threshold drops below current usage and the agent is idle.

Overview

Composer control for the automatic context-compaction threshold. A 20%-80% slider rewrites the running BasicCompactionEngine config per step, shows current usage, context window and the effective trigger line, and compacts immediately when the threshold drops below current usage and the agent is idle.

Installation

Install from GitHub

dsh plugin --profile web add github:xlcg10086/dsh-compact-threshold

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.

Installation notes

  • May run terminal commands