@posthog/ai 8.0.0 → 8.0.1

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.
@@ -299,7 +299,7 @@ function addDefaults(params) {
299
299
  };
300
300
  }
301
301
 
302
- var version = "8.0.0";
302
+ var version = "8.0.1";
303
303
 
304
304
  const DEFAULT_MAX_DEPTH = 3;
305
305
  const MAX_STACK_LINES = 20;
@@ -291,7 +291,7 @@ function addDefaults(params) {
291
291
  };
292
292
  }
293
293
 
294
- var version = "8.0.0";
294
+ var version = "8.0.1";
295
295
 
296
296
  const DEFAULT_MAX_DEPTH = 3;
297
297
  const MAX_STACK_LINES = 20;
@@ -384,7 +384,7 @@ function addDefaults(params) {
384
384
  };
385
385
  }
386
386
 
387
- var version = "8.0.0";
387
+ var version = "8.0.1";
388
388
 
389
389
  const DEFAULT_MAX_DEPTH = 3;
390
390
  const MAX_STACK_LINES = 20;
@@ -380,7 +380,7 @@ function addDefaults(params) {
380
380
  };
381
381
  }
382
382
 
383
- var version = "8.0.0";
383
+ var version = "8.0.1";
384
384
 
385
385
  const DEFAULT_MAX_DEPTH = 3;
386
386
  const MAX_STACK_LINES = 20;
package/dist/index.cjs CHANGED
@@ -377,7 +377,7 @@ function sanitizeValues(obj) {
377
377
  return jsonSafe;
378
378
  }
379
379
 
380
- var version = "8.0.0";
380
+ var version = "8.0.1";
381
381
 
382
382
  const DEFAULT_MAX_DEPTH = 3;
383
383
  const MAX_STACK_LINES = 20;
package/dist/index.mjs CHANGED
@@ -375,7 +375,7 @@ function sanitizeValues(obj) {
375
375
  return jsonSafe;
376
376
  }
377
377
 
378
- var version = "8.0.0";
378
+ var version = "8.0.1";
379
379
 
380
380
  const DEFAULT_MAX_DEPTH = 3;
381
381
  const MAX_STACK_LINES = 20;
@@ -217,7 +217,7 @@ function sanitizeValues(obj) {
217
217
  return jsonSafe;
218
218
  }
219
219
 
220
- var version = "8.0.0";
220
+ var version = "8.0.1";
221
221
 
222
222
  const DEFAULT_MAX_DEPTH = 3;
223
223
  const MAX_STACK_LINES = 20;
@@ -215,7 +215,7 @@ function sanitizeValues(obj) {
215
215
  return jsonSafe;
216
216
  }
217
217
 
218
- var version = "8.0.0";
218
+ var version = "8.0.1";
219
219
 
220
220
  const DEFAULT_MAX_DEPTH = 3;
221
221
  const MAX_STACK_LINES = 20;
@@ -534,7 +534,7 @@ function formatOpenAIResponsesInput(input, instructions) {
534
534
  return messages;
535
535
  }
536
536
 
537
- var version = "8.0.0";
537
+ var version = "8.0.1";
538
538
 
539
539
  const DEFAULT_MAX_DEPTH = 3;
540
540
  const MAX_STACK_LINES = 20;
@@ -530,7 +530,7 @@ function formatOpenAIResponsesInput(input, instructions) {
530
530
  return messages;
531
531
  }
532
532
 
533
- var version = "8.0.0";
533
+ var version = "8.0.1";
534
534
 
535
535
  const DEFAULT_MAX_DEPTH = 3;
536
536
  const MAX_STACK_LINES = 20;
@@ -116,7 +116,7 @@ const truncate = input => {
116
116
  return `${truncatedStr}... [truncated]`;
117
117
  };
118
118
 
119
- var version = "8.0.0";
119
+ var version = "8.0.1";
120
120
 
121
121
  /**
122
122
  * Normalize OpenAI Responses API input items to include a `role` field.
@@ -114,7 +114,7 @@ const truncate = input => {
114
114
  return `${truncatedStr}... [truncated]`;
115
115
  };
116
116
 
117
- var version = "8.0.0";
117
+ var version = "8.0.1";
118
118
 
119
119
  /**
120
120
  * Normalize OpenAI Responses API input items to include a `role` field.
@@ -394,7 +394,7 @@ function sanitizeValues(obj) {
394
394
  return jsonSafe;
395
395
  }
396
396
 
397
- var version = "8.0.0";
397
+ var version = "8.0.1";
398
398
 
399
399
  const DEFAULT_MAX_DEPTH = 3;
400
400
  const MAX_STACK_LINES = 20;
@@ -392,7 +392,7 @@ function sanitizeValues(obj) {
392
392
  return jsonSafe;
393
393
  }
394
394
 
395
- var version = "8.0.0";
395
+ var version = "8.0.1";
396
396
 
397
397
  const DEFAULT_MAX_DEPTH = 3;
398
398
  const MAX_STACK_LINES = 20;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/ai",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "PostHog Node.js AI integrations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,8 +30,8 @@
30
30
  "jest": "29.7.0",
31
31
  "node-fetch": "^3.3.2",
32
32
  "@posthog-tooling/rollup-utils": "1.1.1",
33
- "posthog-node": "5.36.5",
34
- "@posthog-tooling/tsconfig-base": "1.1.1"
33
+ "@posthog-tooling/tsconfig-base": "1.1.1",
34
+ "posthog-node": "5.36.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.30.11"
52
+ "@posthog/core": "1.30.12"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@anthropic-ai/sdk": "^0.78.0",