main ← codex/issue-400-prompt-cache-countdown
已合并 01:55PM - 20 Apr 26 UTC
## Summary - add an opt-in prompt cache countdown element with a configurable TT…L - record the last assistant response timestamp from the transcript cache path - render the countdown in both expanded and compact layouts without changing the default HUD ## Testing - npm test Closes #400
Readme 也更新了介绍文字,但作者迟迟不发布新版,所以手动更新:
~\.claude\plugins\marketplaces\claude-hud执行git pull~\.claude\plugins\claude-hud\config.json的display中增加
默认 ttl 是 5min,如果是 max 可以修改showSessionTokens": truedisplay.promptCacheTtlSeconds=3600- cc 中执行
/reload-plugins
因为 hub 是事件驱动的,倒计时不会自动数秒,需要手动输入/触发刷新。
效果如下:
似乎稍稍缓解了下 cache 焦虑 ![]()
听说 deepseek 的 cache ttl 长达两小时 ![]()
2 个帖子 - 2 位参与者