跳过主要内容
Z

dsh-compact-control

zdjmrq/dsh-compact-control

调整 DSH 原生自动上下文压缩的触发阈值:在插件管理器的插件页面用滑块设置上下文占满模型窗口多少百分比时压缩(1%–100%,默认 80%,方向键可 1% 微调);阈值调低时保留的最近历史预算会随之缩小,以免提前压缩被抵消,压缩本身仍由原生引擎执行。

安装

dsh plugin --profile web add github:zdjmrq/dsh-compact-control

README

自动压缩阈值

使用 DSH 原生上下文压缩功能,仅调整触发自动上下文压缩的阈值。

在插件详情页通过滑块设置百分比,支持方向键按 1% 微调,默认 80%。

dsh plugin --profile desktop add dsh-compact-control

安装后重启 DSH。适配 DSH 0.2.1-rc.5。

维护者发布新版本:运行 npm version patch,再运行 git push --follow-tags,GitHub Actions 会自动测试并发布到 npm 和 GitHub Releases。

相关插件