Files
oh-my-pi/packages/coding-agent/src
ian_p 674698546d feat: support DeepSeek prompt cache format and add cache hit rate segment
- Added prompt_cache_hit_tokens / prompt_cache_miss_tokens parsing in
  parseChunkUsage for DeepSeek's prompt cache format where
  prompt_tokens = hit_tokens + miss_tokens.
- DeepSeek formula: input = prompt_tokens - hit_tokens (= miss, billed input),
  total = input + output + hit_tokens (avoid double-counting miss in cacheWrite).
- Added cache_hit status line segment showing cache hit rate:
  rate = cacheRead / (cacheRead + cacheWrite) x 100%.
- Added cache_hit to all status line presets.
2026-05-30 06:12:18 +08:00
..
2026-05-27 15:01:59 +02:00
2026-05-27 15:01:59 +02:00
2026-05-26 20:44:09 +02:00
2026-05-16 00:20:00 +02:00
2026-05-21 15:52:55 +09:00
2026-05-16 20:12:26 +02:00