Packages

@posthog/ai

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

Your version

Where each line stands

Plan an upgrade

Latest releases

All 270 releases
  1. 8.22.0

    20 Nov 2026
    • Read revisions, correct scores, and update or delete accepted offline evaluation items, results, and payloads.
      (2026-11-20)

  2. 8.21.1

    18 Nov 2026
    • ai: Stop logging a parse error for streamed Anthropic tool calls that take no arguments
      (2026-11-18)

  3. 8.21.0

    17 Nov 2026
    • With posthog-node 6.x.x, every AI event is sent through captureAi on the capture v1 AI lane, and enableFullAiCapture only controls truncation and media redaction. With posthog-node 5.x.x, nothing changes: AI events use capture unless enableFullAiCapture is set.
      (2026-11-17)

    • Add per-event options for posthog-node: posthogOptions on wrapped provider calls and withTracing(), and options on the LangChain, OpenAI Agents, Claude Agent SDK, Google ADK and Genkit integrations. An event with no distinct id still has person processing turned off. On posthog-node 6.x.x, AI events carry person processing only as the process_person_profile option. On posthog-node 5.x.x, each option that version knows is sent in the form it reads, and other keys are dropped. OpenAI Agents instrument() now passes every processor option, including options and onError, to the processor it registers.
      (2026-11-17)

    • Genkit spans and @posthog/mcp events with no user distinct id set the process_person_profile: false event option on posthog-node 6.x.x, so a registered or context process_person_profile: true option no longer creates a person for each trace or session. Genkit also counts an empty or whitespace-only distinct id as missing.
      (2026-11-17)

Dependency tracking

Know when your own dependencies move

@posthog/ai shipped a new major in the last 12 months, among 207 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 21 Nov 2026. Releases and advisories last read 21 Nov 2026.

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.