{"library":"pi-cache-graph","type":"library","category":null,"description":"A pi extension providing TUI-based cache inspection commands (/cache graph, /cache stats, /cache export) for real-time monitoring of LLM context cache hit rates and token usage across sessions. Version 0.2.0, released as needed. Designed as observability companion for pi-context-prune, offering three graph views (per-turn %, cumulative %, cumulative volumes), per-message stats, and CSV export. Differentiates with native pi integration, TUI overlays, and cache hit formula adaptable to both Anthropic and OpenAI-style providers.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","pi-package","pi-extension","cache","tui"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install pi-cache-graph","imports":["import { activate } from 'pi-cache-graph';","import type { CacheStats, CacheGraphView } from 'pi-cache-graph';","/* Commands are registered via pi extension interface, not imported directly */"]},{"cmd":"yarn add pi-cache-graph","imports":[]},{"cmd":"pnpm add pi-cache-graph","imports":[]}],"homepage":"https://github.com/championswimmer/pi-cache-graph#readme","github":"https://github.com/championswimmer/pi-cache-graph","docs":null,"changelog":null,"pypi":null,"npm":"pi-cache-graph","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}