@posthog/ai
8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed
Your version
7.21.0 is the newest release of 7.x.
In short
1 new
Release note
Minor Changes
Add
captureAiGeneration, a generic primitive for emitting$ai_generationevents from LLM calls that don't go through one of the wrapped clients (Cloudflare Workers AI, TanStack AI, custom HTTP, etc.). All built-in wrappers (withTracing,OpenAI,Anthropic,GoogleGenAI) now funnel through the same primitive, so external events are indistinguishable from SDK-wrapped ones.
(2026-04-30)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.