mastracode 0.13.0-alpha.1 → 0.13.0-alpha.2

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,14 @@
1
1
  # mastracode
2
2
 
3
+ ## 0.13.0-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed task list leaking across threads when switching conversations. Tasks from the previous thread no longer appear in the new thread. ([#15192](https://github.com/mastra-ai/mastra/pull/15192))
8
+
9
+ - Updated dependencies [[`3db852b`](https://github.com/mastra-ai/mastra/commit/3db852bff74e29f60d415a7b0f1583d6ce2bad92)]:
10
+ - @mastra/core@1.24.1-alpha.1
11
+
3
12
  ## 0.13.0-alpha.1
4
13
 
5
14
  ### Minor Changes
@@ -906,7 +906,7 @@ function getInstallCommand(pm, version) {
906
906
  }
907
907
  function getCurrentVersion() {
908
908
  {
909
- return "0.13.0-alpha.1";
909
+ return "0.13.0-alpha.2";
910
910
  }
911
911
  }
912
912
  async function fetchLatestVersion() {
@@ -10426,11 +10426,11 @@ async function dispatchEvent(event, ectx, state) {
10426
10426
  if (currentThread) {
10427
10427
  state.currentThreadTitle = currentThread.title;
10428
10428
  }
10429
- const threadState = state.harness.getState();
10430
10429
  if (state.taskProgress) {
10431
- state.taskProgress.updateTasks(threadState.tasks ?? []);
10430
+ state.taskProgress.updateTasks([]);
10432
10431
  state.ui.requestRender();
10433
10432
  }
10433
+ state.taskWriteInsertIndex = -1;
10434
10434
  break;
10435
10435
  }
10436
10436
  case "thread_created": {
@@ -13172,5 +13172,5 @@ exports.createTUIState = createTUIState;
13172
13172
  exports.detectTerminalTheme = detectTerminalTheme;
13173
13173
  exports.formatOMStatus = formatOMStatus;
13174
13174
  exports.getCurrentVersion = getCurrentVersion;
13175
- //# sourceMappingURL=chunk-NBRUSNHB.cjs.map
13176
- //# sourceMappingURL=chunk-NBRUSNHB.cjs.map
13175
+ //# sourceMappingURL=chunk-I4XDGGOW.cjs.map
13176
+ //# sourceMappingURL=chunk-I4XDGGOW.cjs.map