@posthog/ai 7.18.8 → 7.18.9

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 = "7.18.8";
302
+ var version = "7.18.9";
303
303
 
304
304
  /**
305
305
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -291,7 +291,7 @@ function addDefaults(params) {
291
291
  };
292
292
  }
293
293
 
294
- var version = "7.18.8";
294
+ var version = "7.18.9";
295
295
 
296
296
  /**
297
297
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -384,7 +384,7 @@ function addDefaults(params) {
384
384
  };
385
385
  }
386
386
 
387
- var version = "7.18.8";
387
+ var version = "7.18.9";
388
388
 
389
389
  /**
390
390
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -380,7 +380,7 @@ function addDefaults(params) {
380
380
  };
381
381
  }
382
382
 
383
- var version = "7.18.8";
383
+ var version = "7.18.9";
384
384
 
385
385
  /**
386
386
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
package/dist/index.cjs CHANGED
@@ -733,7 +733,7 @@ function formatOpenAIResponsesInput(input, instructions) {
733
733
  return messages;
734
734
  }
735
735
 
736
- var version = "7.18.8";
736
+ var version = "7.18.9";
737
737
 
738
738
  /**
739
739
  * Capture an `$ai_generation` (or `$ai_embedding`) event to PostHog.
package/dist/index.mjs CHANGED
@@ -709,7 +709,7 @@ function formatOpenAIResponsesInput(input, instructions) {
709
709
  return messages;
710
710
  }
711
711
 
712
- var version = "7.18.8";
712
+ var version = "7.18.9";
713
713
 
714
714
  /**
715
715
  * Capture an `$ai_generation` (or `$ai_embedding`) event to PostHog.
@@ -684,7 +684,7 @@ var BaseCallbackHandler = class extends BaseCallbackHandlerMethodsClass {
684
684
  }
685
685
  };
686
686
 
687
- var version = "7.18.8";
687
+ var version = "7.18.9";
688
688
 
689
689
  /** A run may either be a Span or a Generation */
690
690
 
@@ -662,7 +662,7 @@ var BaseCallbackHandler = class extends BaseCallbackHandlerMethodsClass {
662
662
  }
663
663
  };
664
664
 
665
- var version = "7.18.8";
665
+ var version = "7.18.9";
666
666
 
667
667
  /** A run may either be a Span or a Generation */
668
668
 
@@ -534,7 +534,7 @@ function formatOpenAIResponsesInput(input, instructions) {
534
534
  return messages;
535
535
  }
536
536
 
537
- var version = "7.18.8";
537
+ var version = "7.18.9";
538
538
 
539
539
  /**
540
540
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -530,7 +530,7 @@ function formatOpenAIResponsesInput(input, instructions) {
530
530
  return messages;
531
531
  }
532
532
 
533
- var version = "7.18.8";
533
+ var version = "7.18.9";
534
534
 
535
535
  /**
536
536
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -116,7 +116,7 @@ const truncate = input => {
116
116
  return `${truncatedStr}... [truncated]`;
117
117
  };
118
118
 
119
- var version = "7.18.8";
119
+ var version = "7.18.9";
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 = "7.18.8";
117
+ var version = "7.18.9";
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 = "7.18.8";
397
+ var version = "7.18.9";
398
398
 
399
399
  /**
400
400
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -392,7 +392,7 @@ function sanitizeValues(obj) {
392
392
  return jsonSafe;
393
393
  }
394
394
 
395
- var version = "7.18.8";
395
+ var version = "7.18.9";
396
396
 
397
397
  /**
398
398
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/ai",
3
- "version": "7.18.8",
3
+ "version": "7.18.9",
4
4
  "description": "PostHog Node.js AI integrations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  "node-fetch": "^3.3.2",
28
28
  "@posthog-tooling/rollup-utils": "1.1.1",
29
29
  "@posthog-tooling/tsconfig-base": "1.1.1",
30
- "posthog-node": "5.34.3"
30
+ "posthog-node": "5.34.4"
31
31
  },
32
32
  "keywords": [
33
33
  "posthog",
@@ -50,7 +50,7 @@
50
50
  "openai": "^6.25.0",
51
51
  "uuid": "^11.1.0",
52
52
  "zod": "^4.1.13",
53
- "@posthog/core": "1.29.3"
53
+ "@posthog/core": "1.29.4"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@opentelemetry/api": "^1.9.0",