dsh-reasoning-distill

Distill over-long model reasoning into its useful core, replay the compressed version on every later request, and report each session's cost and savings. Disabled by default: select one rewrite backend first. derive needs no install and works on packaged DSH; in-place needs 14 source patches and a rebuild (recommended for source checkouts); message-edit needs a third-party plugin and is experimental only.

Overview

Distill over-long model reasoning into its useful core, replay the compressed version on every later request, and report each session's cost and savings. Disabled by default: select one rewrite backend first. derive needs no install and works on packaged DSH; in-place needs 14 source patches and a rebuild (recommended for source checkouts); message-edit needs a third-party plugin and is experimental only.

Installation

Install from npm

dsh plugin --profile web add dsh-reasoning-distill

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:huhu23333/dsh-reasoning-distill

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