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-14 19:08:54 +08:00
2026-04-04 21:19:27 +08:00
2026-04-25 12:36:54 +08:00
2026-04-04 21:19:27 +08:00
2026-04-25 12:38:25 +08:00
2026-04-14 19:08:54 +08:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-04-19 09:02:52 +08:00
2026-04-23 01:37:02 +08:00
2026-04-19 09:02:52 +08:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-03-31 03:34:03 -07:00
2026-04-16 05:03:06 +08:00
2026-04-13 21:39:07 +08:00
2026-04-04 21:19:27 +08:00
2026-04-20 12:01:44 +08:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-04-01 02:36:07 +08:00
2026-04-13 18:28:42 +08:00
2026-04-14 18:59:53 +08:00
2026-04-01 19:47:26 +02:00
2026-04-09 20:40:06 +08:00
2026-03-31 03:34:03 -07:00
2026-04-01 02:36:07 +08:00
2026-03-31 03:34:03 -07:00
2026-03-31 03:34:03 -07:00
2026-03-31 03:34:03 -07:00
2026-03-31 03:34:03 -07:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-03-31 03:34:03 -07:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-04-04 21:19:27 +08:00
2026-03-31 03:34:03 -07:00
2026-03-31 03:34:03 -07:00
2026-04-01 02:36:07 +08:00
2026-04-01 02:36:07 +08:00
2026-04-23 01:14:00 +08:00
2026-04-23 01:14:00 +08:00
2026-04-01 02:36:07 +08:00
2026-04-03 10:14:28 +02:00
2026-03-31 03:34:03 -07:00