pi-mono/packages/coding-agent/src
Armin Ronacher 3f9aa5d10b
feat(coding-agent): add prompt cache miss tracking (#6427)
Detect prompt cache misses per turn by comparing each assistant message's
cache reads against the previous request's prompt tokens (core/cache-stats.ts).
Significant misses emit a warning-colored transcript notice at the turn they
occur, noting idle gaps past the cache TTL and model switches when relevant.

/session gained cache statistics: a compact token/cache breakdown with hit
rate, a $-prefixed cost section with per-model cost breakdown, and the
cumulative cost re-billed due to cache misses.
2026-07-09 14:12:57 +02:00
..
bun Merge main into model-registry 2026-06-22 14:00:18 +02:00
cli Improve project-local pi config (#6309) 2026-07-06 20:50:30 +02:00
core feat(coding-agent): add prompt cache miss tracking (#6427) 2026-07-09 14:12:57 +02:00
modes feat(coding-agent): add prompt cache miss tracking (#6427) 2026-07-09 14:12:57 +02:00
utils Fix native clipboard in bun release (#6418) 2026-07-08 11:20:24 +02:00
cli.ts fix(coding-agent): configure HTTP idle timeout (#4759) 2026-05-20 12:45:00 +02:00
config.ts fix(coding-agent): install checked pi update version 2026-06-21 14:46:07 +02:00
index.ts fix(coding-agent): add settled agent lifecycle event 2026-07-09 12:42:08 +02:00
main.ts fix(coding-agent): warn when session-id creates a session 2026-07-09 11:37:07 +02:00
migrations.ts fix(coding-agent): treat uppercase config values as literals 2026-06-13 21:24:22 +02:00
package-manager-cli.ts feat(coding-agent): add InlineExtension type for named inline extension factories (#6267) 2026-07-06 20:59:37 +02:00
rpc-entry.ts fix: rpc-entry and bun support 2026-06-26 10:01:16 +02:00