viudes
9e23c2bec4
feat(api): expose cache metrics in REPL + normalize across providers (#813)
* feat(api): expose cache metrics in REPL + /cache-stats command
* fix(api): normalize Kimi/DeepSeek/Gemini cache fields through shim layer
* test(api): cover /cache-stats rendering + fix CacheMetrics docstring drift
* fix(api): always reset cache turn counter + include date in /cache-stats rows
* refactor(api): unify shim usage builder + add cost-tracker wiring test
* fix(api): classify private-IP/self-hosted OpenAI endpoints as N/A instead of cold
* fix(api): require colon guard on IPv6 ULA prefix to avoid public-host over-match
* perf(api): ring buffer for cache history + hit rate clamp + .localhost TLD
* fix(api): null guards on formatters + document Codex Responses API shape
* fix(api): defensive start-of-turn reset + config gate fallback + env var docs
* fix(api): trust forwarded cache data on self-hosted URLs (data-driven)
* refactor(api): delegate streaming Responses usage to shared makeUsage helper
2026-04-25 12:38:25 +08:00
..
2026-04-25 12:38:25 +08:00
2026-04-22 19:40:23 +08:00
2026-04-06 17:01:56 +08:00
2026-04-02 18:09:04 +05:30
2026-04-25 02:29:46 +08:00
2026-04-25 02:29:46 +08:00