dsh-cache-doctor

在右侧栏解释 DeepSeek 提示词缓存为什么没命中:旁观 system-prompt/assemble 和 llm/stream,把每次请求和同一会话的上一次逐段比较,指出第一个变化的地方:系统提示词的哪一段(前后内容并排,标出变了的字)、工具列表、被改写的历史、缓存过期或上下文压缩。显示今日命中率、缓存省下的钱、按 DeepSeek 峰谷价算出的可避免花费、最近的请求和近 7 天统计。

插件介绍

在右侧栏解释 DeepSeek 提示词缓存为什么没命中:旁观 system-prompt/assemble 和 llm/stream,把每次请求和同一会话的上一次逐段比较,指出第一个变化的地方:系统提示词的哪一段(前后内容并排,标出变了的字)、工具列表、被改写的历史、缓存过期或上下文压缩。显示今日命中率、缓存省下的钱、按 DeepSeek 峰谷价算出的可避免花费、最近的请求和近 7 天统计。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:qinghuidaqzp/dsh-cache-doctor

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令