@posthog/ai 7.17.4 → 7.17.5

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.
@@ -218,7 +218,7 @@ function addDefaults(params) {
218
218
  };
219
219
  }
220
220
 
221
- var version = "7.17.4";
221
+ var version = "7.17.5";
222
222
 
223
223
  /**
224
224
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -210,7 +210,7 @@ function addDefaults(params) {
210
210
  };
211
211
  }
212
212
 
213
- var version = "7.17.4";
213
+ var version = "7.17.5";
214
214
 
215
215
  /**
216
216
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -327,7 +327,7 @@ function addDefaults(params) {
327
327
  };
328
328
  }
329
329
 
330
- var version = "7.17.4";
330
+ var version = "7.17.5";
331
331
 
332
332
  /**
333
333
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -323,7 +323,7 @@ function addDefaults(params) {
323
323
  };
324
324
  }
325
325
 
326
- var version = "7.17.4";
326
+ var version = "7.17.5";
327
327
 
328
328
  /**
329
329
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
package/dist/index.cjs CHANGED
@@ -801,7 +801,7 @@ function formatOpenAIResponsesInput(input, instructions) {
801
801
  return messages;
802
802
  }
803
803
 
804
- var version = "7.17.4";
804
+ var version = "7.17.5";
805
805
 
806
806
  /**
807
807
  * Capture an `$ai_generation` (or `$ai_embedding`) event to PostHog.
package/dist/index.mjs CHANGED
@@ -777,7 +777,7 @@ function formatOpenAIResponsesInput(input, instructions) {
777
777
  return messages;
778
778
  }
779
779
 
780
- var version = "7.17.4";
780
+ var version = "7.17.5";
781
781
 
782
782
  /**
783
783
  * Capture an `$ai_generation` (or `$ai_embedding`) event to PostHog.
@@ -675,7 +675,7 @@ var BaseCallbackHandler = class extends BaseCallbackHandlerMethodsClass {
675
675
  }
676
676
  };
677
677
 
678
- var version = "7.17.4";
678
+ var version = "7.17.5";
679
679
 
680
680
  /** A run may either be a Span or a Generation */
681
681
 
@@ -653,7 +653,7 @@ var BaseCallbackHandler = class extends BaseCallbackHandlerMethodsClass {
653
653
  }
654
654
  };
655
655
 
656
- var version = "7.17.4";
656
+ var version = "7.17.5";
657
657
 
658
658
  /** A run may either be a Span or a Generation */
659
659
 
@@ -532,7 +532,7 @@ function formatOpenAIResponsesInput(input, instructions) {
532
532
  return messages;
533
533
  }
534
534
 
535
- var version = "7.17.4";
535
+ var version = "7.17.5";
536
536
 
537
537
  /**
538
538
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -528,7 +528,7 @@ function formatOpenAIResponsesInput(input, instructions) {
528
528
  return messages;
529
529
  }
530
530
 
531
- var version = "7.17.4";
531
+ var version = "7.17.5";
532
532
 
533
533
  /**
534
534
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -52,7 +52,7 @@ const truncate = input => {
52
52
  return `${truncatedStr}... [truncated]`;
53
53
  };
54
54
 
55
- var version = "7.17.4";
55
+ var version = "7.17.5";
56
56
 
57
57
  /**
58
58
  * Normalize OpenAI Responses API input items to include a `role` field.
@@ -50,7 +50,7 @@ const truncate = input => {
50
50
  return `${truncatedStr}... [truncated]`;
51
51
  };
52
52
 
53
- var version = "7.17.4";
53
+ var version = "7.17.5";
54
54
 
55
55
  /**
56
56
  * Normalize OpenAI Responses API input items to include a `role` field.
@@ -297,7 +297,7 @@ function sanitizeValues(obj) {
297
297
  return jsonSafe;
298
298
  }
299
299
 
300
- var version = "7.17.4";
300
+ var version = "7.17.5";
301
301
 
302
302
  /**
303
303
  * Options for `captureAiGeneration`. Mirrors the `$ai_generation` event shape
@@ -295,7 +295,7 @@ function sanitizeValues(obj) {
295
295
  return jsonSafe;
296
296
  }
297
297
 
298
- var version = "7.17.4";
298
+ var version = "7.17.5";
299
299
 
300
300
  /**
301
301
  * 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.17.4",
3
+ "version": "7.17.5",
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.33.2"
30
+ "posthog-node": "5.33.3"
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.28.2"
53
+ "@posthog/core": "1.28.3"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@opentelemetry/api": "^1.9.0",