@zenning/ai 6.0.12 → 6.0.14

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Add support for OpenAI Responses API compaction feature via provider options for context window management
8
+ - Updated dependencies
9
+ - @zenning/provider@3.0.4
10
+ - @zenning/provider-utils@4.0.6
11
+ - @zenning/gateway@3.0.11
12
+
13
+ ## 6.0.13
14
+
15
+ ### Patch Changes
16
+
17
+ - Add support for OpenAI compaction message part type in system messages for managing context window limits
18
+ - Updated dependencies
19
+ - @zenning/provider@3.0.3
20
+ - @zenning/provider-utils@4.0.5
21
+ - @zenning/gateway@3.0.10
22
+
3
23
  ## 6.0.12
4
24
 
5
25
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1001,7 +1001,7 @@ var import_provider_utils3 = require("@zenning/provider-utils");
1001
1001
  var import_provider_utils4 = require("@zenning/provider-utils");
1002
1002
 
1003
1003
  // src/version.ts
1004
- var VERSION = true ? "6.0.12" : "0.0.0-test";
1004
+ var VERSION = true ? "6.0.14" : "0.0.0-test";
1005
1005
 
1006
1006
  // src/util/download/download.ts
1007
1007
  var download = async ({ url }) => {
@@ -1657,6 +1657,11 @@ var reasoningPartSchema = import_v44.z.object({
1657
1657
  text: import_v44.z.string(),
1658
1658
  providerOptions: providerMetadataSchema.optional()
1659
1659
  });
1660
+ var compactionPartSchema = import_v44.z.object({
1661
+ type: import_v44.z.literal("compaction"),
1662
+ encrypted_content: import_v44.z.string(),
1663
+ providerOptions: providerMetadataSchema.optional()
1664
+ });
1660
1665
  var toolCallPartSchema = import_v44.z.object({
1661
1666
  type: import_v44.z.literal("tool-call"),
1662
1667
  toolCallId: import_v44.z.string(),