dsh-smart-compact

DeepSeek Harness 的上下文窗口自动管理:窗口快满时零模型调用换窗,旧对话整窗无损归档、可逐字回查;交接锚点带任务定向,工作笔记跨压缩存活,笔记滞后自动 STALE 警示;触发线按(窗口 − max_tokens)预算方程计算,中途切模型也按真实路由测量;一键换窗按钮与 /smart-compact 命令,三带自动换窗,锚点强制脱敏,开箱即用零配置。

会话与记忆BSD-3-Clause☆ 7

插件介绍

DeepSeek Harness 的上下文窗口自动管理:窗口快满时零模型调用换窗,旧对话整窗无损归档、可逐字回查;交接锚点带任务定向,工作笔记跨压缩存活,笔记滞后自动 STALE 警示;触发线按(窗口 − max_tokens)预算方程计算,中途切模型也按真实路由测量;一键换窗按钮与 /smart-compact 命令,三带自动换窗,锚点强制脱敏,开箱即用零配置。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-smart-compact

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.

从 GitHub 安装

dsh plugin --profile web add github:hoyyang/dsh-smart-compact

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.

版本兼容情况

第三方安装实测

安装测试结果
安装与注册通过
实测 Harness 版本
0.2.2-rc.1
实测插件版本
未记录
测试日期