dsh-last-response-stats:在最近一条助手回复下展示输出速度与缓存命中
dsh-last-response-stats 是 latinovicb 维护的 DSH 客户端插件,在 Web UI 最近一条有效 Chat 回复的 turnTail 显示平均输出速度(tok/s)与 prompt cache 命中率,首 token 时间来自持久化 assistant/message 流。安装通过 Settings → Plugins 添加 npm 包名或 GitHub 仓库 URL,需 pnpm 与 DSH >=0.2.1-rc.2 <0.3.0。适合在会话流内调试生成速度与缓存效果。
阅读全文dsh-warm:工具阻塞期间保持 Prompt Cache 温热
dsh-warm 是 DeepSeek Harness 的 host 插件,仅在 agent 循环阻塞于长工具执行时,以 maxTokens=1 重放最后一次对话请求,使提供商 prompt cache 前缀在工具返回后仍可命中。支持按提供商配置 TTL 锚点调度、dryRun、UTC 日预算与统计 API;默认 warming mistral/openai/anthropic,排除空闲会话与 ask_user_question。安装:dsh plugin --profile web add dsh-warm 或 github:JanEickholt/dsh-warm;配置位于 $DSH_HOME/storages/dsh-warm/config.json。
阅读全文cache-sentinel:在 DSH 里拦截「缓存已过期」会话的误发
cache-sentinel 是 AliceSaikawa 维护的 DSH Host 插件(admin-security)。当会话距上次回复过久、prompt cache 可能失效时,可按 block/archive/both 模式拦截模型发送或自动归档会话,避免整段历史按未缓存输入计费。支持 /sentinel、/unlock 与 cordis.patch.yml 配置。安装:dsh plugin --profile web add github:AliceSaikawa/cache-sentinel,需重启 DSH。MIT 许可。
阅读全文dsh-cache-hit-monitor:在 DSH 侧栏实时查看 Prompt Cache 命中率
dsh-cache-hit-monitor 是 Billwu18 维护的 DSH Web 客户端插件,在右侧边栏展示当前会话的 prompt-cache 遥测:寄存器四桶 token、5×7 点阵命中率、堆芯式逐请求历史与上下文压力。数据来自 Host 的 tokenUsage、contextPressure 投影,经 dsh-token-meter 汇总,插件无网络请求。安装命令为 dsh plugin --profile web add github:Billwu18/dsh-cache-hit-monitor,要求 DSH >=0.1.7-rc.1 且 <0.2.0-0。命中率公式为 cache read 除以 read+write+uncached input,不含 output。
阅读全文