@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/dist/index.mjs CHANGED
@@ -898,7 +898,7 @@ import {
898
898
  } from "@zenning/provider-utils";
899
899
 
900
900
  // src/version.ts
901
- var VERSION = true ? "6.0.31" : "0.0.0-test";
901
+ var VERSION = true ? "6.0.32" : "0.0.0-test";
902
902
 
903
903
  // src/util/download/download.ts
904
904
  var download = async ({ url }) => {
@@ -5143,6 +5143,11 @@ function processUIMessageStream({
5143
5143
  onError == null ? void 0 : onError(new Error(chunk.errorText));
5144
5144
  break;
5145
5145
  }
5146
+ case "compaction": {
5147
+ state.message.parts.push(chunk);
5148
+ write();
5149
+ break;
5150
+ }
5146
5151
  default: {
5147
5152
  if (isDataUIMessageChunk(chunk)) {
5148
5153
  if ((dataPartSchemas == null ? void 0 : dataPartSchemas[chunk.type]) != null) {