dsh-context-kernel

Context management for long agent sessions: projects older history into one structured working-context message, prunes oversized tool results deterministically, and gates task completion on execution evidence rather than the model's own claims. Ships two tools and defaults to shadow mode (records what it would do, changes nothing).

Overview

Context management for long agent sessions: projects older history into one structured working-context message, prunes oversized tool results deterministically, and gates task completion on execution evidence rather than the model's own claims. Ships two tools and defaults to shadow mode (records what it would do, changes nothing).

Installation

Install from GitHub

dsh plugin --profile web add github:DuncanLii/dsh-context-kernel

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.