dsh-cache-keepalive: Keeping Prompt Cache Alive During Main Session Idle
dsh-cache-keepalive (v0.6.1, by hongcha-dsh) is a Host-side plugin for DeepSeek Harness. When the main session goes idle, it silently replays the most recent real `llm/stream` request with a reduced `maxTokens` — without writing to chat history or entering the agent loop — to keep the vendor's prompt cache warm, giving the next real turn a better chance of being billed at the cache-hit rate. It supports window-based toggling, follows the session model, arms only when cache-hit evidence is present, and provides a settings page with Composer pill statistics. It is designed for routes (e.g., Kimi) that offer cache TTL and pricing differentials; non-discounted subscription APIs should be excluded via `config.routes`. Installation follows the plugin identifier issued by SkillHub to Harness; refer to `config.example.json` for configuration.
Read More