@zenning/ai 6.0.31 → 6.0.32

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,11 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.32
4
+
5
+ ### Patch Changes
6
+
7
+ - compaction
8
+
3
9
  ## 6.0.31
4
10
 
5
11
  ### 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.31" : "0.0.0-test";
1004
+ var VERSION = true ? "6.0.32" : "0.0.0-test";
1005
1005
 
1006
1006
  // src/util/download/download.ts
1007
1007
  var download = async ({ url }) => {
@@ -5221,6 +5221,11 @@ function processUIMessageStream({
5221
5221
  onError == null ? void 0 : onError(new Error(chunk.errorText));
5222
5222
  break;
5223
5223
  }
5224
+ case "compaction": {
5225
+ state.message.parts.push(chunk);
5226
+ write();
5227
+ break;
5228
+ }
5224
5229
  default: {
5225
5230
  if (isDataUIMessageChunk(chunk)) {
5226
5231
  if ((dataPartSchemas == null ? void 0 : dataPartSchemas[chunk.type]) != null) {