Skip to content

chore(deps): bump @posthog/ai from 8.7.1 to 8.10.1 - #816

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/posthog/ai-8.8.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/posthog/ai-8.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @posthog/ai from 8.7.1 to 8.10.1.

Release notes

Sourced from @​posthog/ai's releases.

@​posthog/ai@​8.10.1

8.10.1

Patch Changes

  • #4736 c16a7ce Thanks @​bernatixer! - Only terminal Responses API statuses become $ai_stop_reason (a queued or in-progress background run no longer records a lifecycle state as its stop reason), and the native OpenAI wrapper now names a truncated run by incomplete_details.reason (e.g. max_output_tokens) instead of the bare incomplete, matching the LangChain callback (2026-09-03)
  • Updated dependencies [dbbb58e]:
    • @​posthog/core@​1.50.3

@​posthog/ai@​8.10.0

8.10.0

Minor Changes

  • #4687 657b173 Thanks @​AhmadHammad21! - Add a Google ADK (@google/adk) observability adapter. @posthog/ai/adk exposes PostHogADKPlugin, an ADK BasePlugin that captures a full $ai_generation event (input, output, model, token usage, latency, finish reason, trace id, session id, distinct id and groups) for every model call an ADK agent makes, funnelling through the shared captureAiGeneration primitive so PostHog derives cost from the model and tokens. (2026-09-02)

@​posthog/ai@​8.9.3

8.9.3

Patch Changes

  • #4700 a105b77 Thanks @​bernatixer! - Capture $ai_stop_reason from LangChain runs that use the OpenAI Responses API.

    The callback only understood Chat Completions vocabulary (finish_reason / stop_reason), so Responses API runs, which report status and incomplete_details.reason instead, never carried a stop reason. The Chat Completions keys keep priority, and incomplete_details.reason outranks status, so an early stop names its cause (for example max_output_tokens) instead of just incomplete. (2026-09-01)

  • Updated dependencies [e87820a]:

    • @​posthog/core@​1.50.1

@​posthog/ai@​8.9.2

8.9.2

Patch Changes

  • #4664 86fe9da Thanks @​bernatixer! - Interrupted or cancelled streams now report the token usage and latency they actually observed, instead of zeros, across the OpenAI, Anthropic, Gemini, Azure and Vercel wrappers. When usage was never reported, token counts and override costs are omitted entirely, so $ai_input_tokens can be absent where it was previously always 0. (2026-09-01)

@​posthog/ai@​8.9.1

8.9.1

Patch Changes

  • #4698 5ae5c29 Thanks @​dependabot! - Preserve Anthropic workspace IDs on wrapped provider promises and support @anthropic-ai/sdk versions from 0.112.3 through 0.120.x. (2026-09-01)
  • Updated dependencies [444bf35, 6ae173f, 6723395]:
    • @​posthog/core@​1.50.0
    • posthog-node@5.51.5
Changelog

Sourced from @​posthog/ai's changelog.

8.10.1

Patch Changes

  • #4736 c16a7ce Thanks @​bernatixer! - Only terminal Responses API statuses become $ai_stop_reason (a queued or in-progress background run no longer records a lifecycle state as its stop reason), and the native OpenAI wrapper now names a truncated run by incomplete_details.reason (e.g. max_output_tokens) instead of the bare incomplete, matching the LangChain callback (2026-09-03)
  • Updated dependencies [dbbb58e]:
    • @​posthog/core@​1.50.3

8.10.0

Minor Changes

  • #4687 657b173 Thanks @​AhmadHammad21! - Add a Google ADK (@google/adk) observability adapter. @posthog/ai/adk exposes PostHogADKPlugin, an ADK BasePlugin that captures a full $ai_generation event (input, output, model, token usage, latency, finish reason, trace id, session id, distinct id and groups) for every model call an ADK agent makes, funnelling through the shared captureAiGeneration primitive so PostHog derives cost from the model and tokens. (2026-09-02)

8.9.3

Patch Changes

  • #4700 a105b77 Thanks @​bernatixer! - Capture $ai_stop_reason from LangChain runs that use the OpenAI Responses API.

    The callback only understood Chat Completions vocabulary (finish_reason / stop_reason), so Responses API runs, which report status and incomplete_details.reason instead, never carried a stop reason. The Chat Completions keys keep priority, and incomplete_details.reason outranks status, so an early stop names its cause (for example max_output_tokens) instead of just incomplete. (2026-09-01)

  • Updated dependencies [e87820a]:

    • @​posthog/core@​1.50.1

8.9.2

Patch Changes

  • #4664 86fe9da Thanks @​bernatixer! - Interrupted or cancelled streams now report the token usage and latency they actually observed, instead of zeros, across the OpenAI, Anthropic, Gemini, Azure and Vercel wrappers. When usage was never reported, token counts and override costs are omitted entirely, so $ai_input_tokens can be absent where it was previously always 0. (2026-09-01)

8.9.1

Patch Changes

  • #4698 5ae5c29 Thanks @​dependabot! - Preserve Anthropic workspace IDs on wrapped provider promises and support @anthropic-ai/sdk versions from 0.112.3 through 0.120.x. (2026-09-01)
  • Updated dependencies [444bf35, 6ae173f, 6723395]:
    • @​posthog/core@​1.50.0
    • posthog-node@5.51.5

8.9.0

Minor Changes

... (truncated)

Commits
  • 1e5ddbe chore: update versions and lockfile [version bump]
  • e9a47d5 chore: migrate unit tests from Jest to Vitest (#4739)
  • c90699a chore: migrate AI and web builds to tsdown (#4746)
  • c16a7ce fix(ai): only capture terminal Responses statuses as stop reasons (#4736)
  • 285a2cb chore: migrate remaining lint rules to Oxlint (#4738)
  • 1278ba2 chore: update versions and lockfile [version bump]
  • 657b173 feat(ai): add Google ADK (@​google/adk) observability adapter (#4687)
  • 3fabfbc chore: adopt oxfmt and oxlint incrementally (#4722)
  • 9a79809 chore: update versions and lockfile [version bump]
  • a105b77 fix(ai): capture the stop reason from LangChain Responses API runs (#4700)
  • Additional commits viewable in compare view


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 21, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Dev Board Aug 21, 2026
@greptile-apps

greptile-apps Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

PR author is in the excluded authors list.

@github-actions

github-actions Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

React Doctor skipped this pull request — it changed no React files.

Reviewed by React Doctor for commit 91972e9.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/posthog/ai-8.8.0 branch from 63ac39a to bb809d6 Compare August 24, 2026 19:37
@dependabot dependabot Bot changed the title chore(deps): bump @posthog/ai from 8.7.1 to 8.8.0 chore(deps): bump @posthog/ai from 8.7.1 to 8.10.1 Sep 8, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/posthog/ai-8.8.0 branch 2 times, most recently from f234133 to 808f2aa Compare September 8, 2026 04:04
Bumps [@posthog/ai](https://github.com/PostHog/posthog-js/tree/HEAD/packages/ai) from 8.7.1 to 8.10.1.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/packages/ai/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/commits/@posthog/ai@8.10.1/packages/ai)

---
updated-dependencies:
- dependency-name: "@posthog/ai"
  dependency-version: 8.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/posthog/ai-8.8.0 branch from 808f2aa to 91972e9 Compare September 8, 2026 15:23

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

0 participants