ai 7.0.136 → 7.0.137

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
+ ## 7.0.137
4
+
5
+ ### Patch Changes
6
+
7
+ - e27cc64: fix(ai): discard unrelated message state when reading resumed streams
8
+
3
9
  ## 7.0.136
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1174,7 +1174,7 @@ function cloneValue(value) {
1174
1174
  }
1175
1175
  //#endregion
1176
1176
  //#region src/version.ts
1177
- const VERSION = "7.0.136";
1177
+ const VERSION = "7.0.137";
1178
1178
  //#endregion
1179
1179
  //#region src/util/download/download.ts
1180
1180
  /**
@@ -10654,6 +10654,7 @@ function readUIMessageStream({ message, stream, onError, terminateOnError = fals
10654
10654
  consumeStream({
10655
10655
  stream: processUIMessageStream({
10656
10656
  stream,
10657
+ resetStateOnMessageIdChange: true,
10657
10658
  runUpdateMessageJob(job) {
10658
10659
  return job({
10659
10660
  state,