dsh-cache-keepalive:主会话空闲时保活 Prompt Cache

dsh-cache-keepalive(v0.6.1,hongcha-dsh)是 DeepSeek Harness 的 Host 侧插件:主会话空闲时静默重放最近一次真实 llm/stream 请求,降低 maxTokens,不写聊天、不进 agent 循环,以维持供应商 prompt cache,使下次真实轮次更有机会按 cache hit 计价。支持按窗口开关、跟随会话模型、有 cache 命中证据才武装,并提供设置页与 Composer 药丸统计。适用于 Kimi 等有 cache TTL 与价差的线路;无折价订阅 API 应通过 config.routes 排除。安装以 SkillHub 向 Harness 发起的插件标识为准,配置见 config.example.json。

阅读全文