dsh-compaction-tower

自动压缩上下文:后台观察者提前把早期历史蒸成摘要块,占用越过触发线时逐块提交直到回到目标线以下,提交路径不调模型;材料用尽后块可合并成更高层,decompress 与 search_context 可按块读回原文。后台观察者会消耗模型 token:默认沿用会话的 provider 与 model(可另选),默认最多同时进行 10 个蒸馏。

插件介绍

自动压缩上下文:后台观察者提前把早期历史蒸成摘要块,占用越过触发线时逐块提交直到回到目标线以下,提交路径不调模型;材料用尽后块可合并成更高层,decompress 与 search_context 可按块读回原文。后台观察者会消耗模型 token:默认沿用会话的 provider 与 model(可另选),默认最多同时进行 10 个蒸馏。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:AfeyGu/dsh-compaction-tower

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.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。