文件历史

提交图

2 次代码提交

作者 SHA1 备注 提交日期
Jarrod Watts 0a6ef27a99 fix: tighten context cache fallback trigger 2026-04-20 21:05:25 +10:00
梁康达 c39811d605 fix(context): add session-scoped cache fallback for zero-usage frames
Claude Code occasionally reports context window usage as 0 despite
accumulated tokens, causing the statusline to display incorrect data.
Cache the last known-good context snapshot per session and restore it
when a suspicious zero frame is detected, with TTL-throttled writes
and periodic stale-entry cleanup.
2026-04-20 21:05:25 +10:00