dsh-plugin-background-compaction

作为会话压缩引擎注册,后台预计算压缩摘要,压力压缩触发时直接提交已持有的结果,省去前台模型往返。锁定已摘要的区间以保证提交时载荷指纹仍然匹配,提交前先裁剪工具结果;载荷漂移或上下文溢出时回退到原生前台路径。

插件介绍

作为会话压缩引擎注册,后台预计算压缩摘要,压力压缩触发时直接提交已持有的结果,省去前台模型往返。锁定已摘要的区间以保证提交时载荷指纹仍然匹配,提交前先裁剪工具结果;载荷漂移或上下文溢出时回退到原生前台路径。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Jisiyong-A/dsh-plugin-background-compaction

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.

版本兼容情况

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