v13.5.1

thedotmack/claude-memv13.5.1Jun 10, 2026by thedotmack

AI Summary

This release introduces deep telemetry instrumentation with context injection stats showing token economics, enriched session compression data with provider/model details, and lifecycle events that create person profiles for retention analytics.

Key Highlights

  • context_injected now reports token economics and observation-type breakdowns via generateContextWithStats()
  • session_compressed enriched with provider, model, real per-call token counts (Claude, Gemini, OpenRouter), latency, and observation-type breakdown
  • Lifecycle events create person profiles with IDE, provider, and mode properties for retention/cohort analytics
  • worker_started capture moved after DB init to reflect genuinely live worker
  • Telemetry scrub whitelist expanded and tested; consent screen and docs list every property collected

New Features

  • Context injection telemetry with token economics measurement
  • Observation-type breakdown for context and sessions
  • Session compression telemetry with provider/model parity (Claude, Gemini, OpenRouter)
  • Real per-call token counts and latency tracking
  • Person profile creation from lifecycle events (IDE, provider, mode properties)
  • DAU/WAU analytics via daily worker heartbeat

Full Release Notes

## What's New in 13.5.1

Deep telemetry instrumentation (anonymous, opt-out — see `npx claude-mem telemetry`):

- **`context_injected`** now reports token economics and observation-type breakdowns via the new `generateContextWithStats()` context builder, so we can measure real context savings.
- **`session_compressed`** enriched with provider, model, real per-call token counts (Claude, Gemini, and OpenRouter at parity), latency, and observation-type breakdown.
- **Lifecycle events** now create person profiles with IDE, provider, and mode properties, unlocking retention/cohort analytics (DAU/WAU via daily worker heartbeat).
- `worker_started` capture moved after DB init so it reflects a genuinely live worker.
- Telemetry scrub whitelist expanded and tested for all new properties; consent screen and docs list every property collected.

šŸ¤– Generated with [Claude Code](https://claude.com/claude-code)