dsh-context-keeper

看护 DeepSeek Harness 会话的上下文预算:每轮回复底部一个颜色点(绿<50%、黄50-65%、橙65-80%、红≥80%,读官方 contextPressure 投影),橙/红档在输入框下方出现提醒与「一键开新会话」交接按钮,另有 /context-watch 与 /handoff 命令和一个静态思考规则提示段。预算与交接只读本地会话文件,徽章和提醒不点按钮不花 token。

插件介绍

看护 DeepSeek Harness 会话的上下文预算:每轮回复底部一个颜色点(绿<50%、黄50-65%、橙65-80%、红≥80%,读官方 contextPressure 投影),橙/红档在输入框下方出现提醒与「一键开新会话」交接按钮,另有 /context-watch 与 /handoff 命令和一个静态思考规则提示段。预算与交接只读本地会话文件,徽章和提醒不点按钮不花 token。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-context-keeper

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:Orliba/dsh-context-keeper

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.

版本兼容情况

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