@posthog/ai 8.9.2 → 8.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -581,7 +581,7 @@ function formatOpenAIResponsesInput(input, instructions) {
581
581
  return messages;
582
582
  }
583
583
 
584
- var version = "8.9.2";
584
+ var version = "8.9.3";
585
585
 
586
586
  const DEFAULT_MAX_DEPTH = 3;
587
587
  const MAX_STACK_LINES = 20;
@@ -577,7 +577,7 @@ function formatOpenAIResponsesInput(input, instructions) {
577
577
  return messages;
578
578
  }
579
579
 
580
- var version = "8.9.2";
580
+ var version = "8.9.3";
581
581
 
582
582
  const DEFAULT_MAX_DEPTH = 3;
583
583
  const MAX_STACK_LINES = 20;
@@ -172,7 +172,7 @@ const truncate = (input, client) => {
172
172
  return `${truncatedStr}... [truncated]`;
173
173
  };
174
174
 
175
- var version = "8.9.2";
175
+ var version = "8.9.3";
176
176
 
177
177
  // Warn when a wrapper's base_url points at the PostHog AI Gateway: the gateway
178
178
  // emits its own $ai_generation, so each call would be captured (and, for billable
@@ -170,7 +170,7 @@ const truncate = (input, client) => {
170
170
  return `${truncatedStr}... [truncated]`;
171
171
  };
172
172
 
173
- var version = "8.9.2";
173
+ var version = "8.9.3";
174
174
 
175
175
  // Warn when a wrapper's base_url points at the PostHog AI Gateway: the gateway
176
176
  // emits its own $ai_generation, so each call would be captured (and, for billable
@@ -439,7 +439,7 @@ function sanitizeValues(obj) {
439
439
  return jsonSafe;
440
440
  }
441
441
 
442
- var version = "8.9.2";
442
+ var version = "8.9.3";
443
443
 
444
444
  const DEFAULT_MAX_DEPTH = 3;
445
445
  const MAX_STACK_LINES = 20;
@@ -437,7 +437,7 @@ function sanitizeValues(obj) {
437
437
  return jsonSafe;
438
438
  }
439
439
 
440
- var version = "8.9.2";
440
+ var version = "8.9.3";
441
441
 
442
442
  const DEFAULT_MAX_DEPTH = 3;
443
443
  const MAX_STACK_LINES = 20;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/ai",
3
- "version": "8.9.2",
3
+ "version": "8.9.3",
4
4
  "description": "PostHog Node.js AI integrations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,7 +31,7 @@
31
31
  "node-fetch": "^3.3.2",
32
32
  "@posthog-tooling/rollup-utils": "1.1.1",
33
33
  "@posthog-tooling/tsconfig-base": "1.1.1",
34
- "posthog-node": "^5.51.5"
34
+ "posthog-node": "^5.51.6"
35
35
  },
36
36
  "keywords": [
37
37
  "posthog",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "uuid": "^11.1.0",
51
51
  "zod": "^4.1.13",
52
- "@posthog/core": "^1.50.0"
52
+ "@posthog/core": "^1.50.1"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@anthropic-ai/sdk": ">=0.112.3 <0.121.0",