Packages

@posthog/ai

8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed

Your version

8.1.0

9 Jun 2026Where it was published

8.22.0 is the newest release of 8.x.

In short

1 new

Release note

Minor Changes

  • Populate $ai_base_url on the Vercel and OpenAI Agents instrumentation paths so gateway-routed $ai_generation events can be deduped on ingestion. The Vercel middleware recovers the base URL from the provider's internal config (config.baseURL, or the config.url({ path }) closure used by @ai-sdk/openai / openai-compatible) instead of hardcoding an empty string. The OpenAI Agents processor emits it from model_config.base_url when the SDK exposes it (best-effort; the SDK omits it for Responses calls and for chat calls with model settings).
    (2026-06-09)

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.