mastracode 0.32.0-alpha.13 → 0.32.0-alpha.15
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 +29 -0
- package/dist/{chunk-FAXDM2KQ.js → chunk-EFW2IN6O.js} +14 -2
- package/dist/{chunk-FAXDM2KQ.js.map → chunk-EFW2IN6O.js.map} +1 -1
- package/dist/{chunk-T6G7GFIL.cjs → chunk-NSETD5EA.cjs} +15 -3
- package/dist/{chunk-T6G7GFIL.cjs.map → chunk-NSETD5EA.cjs.map} +1 -1
- package/dist/cli.cjs +6 -6
- package/dist/cli.js +2 -2
- package/dist/tui/mastra-tui.d.ts +1 -0
- package/dist/tui/mastra-tui.d.ts.map +1 -1
- package/dist/tui.cjs +18 -18
- package/dist/tui.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.32.0-alpha.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`eec6a54`](https://github.com/mastra-ai/mastra/commit/eec6a54c64cd365c9b75c14a02e32122ad5f657c), [`90ed0d0`](https://github.com/mastra-ai/mastra/commit/90ed0d0ca8fce0e1fc751fba16b30a5c00bb3fd1), [`eec6a54`](https://github.com/mastra-ai/mastra/commit/eec6a54c64cd365c9b75c14a02e32122ad5f657c)]:
|
|
8
|
+
- @mastra/code-sdk@1.0.0-alpha.16
|
|
9
|
+
- @mastra/libsql@1.17.0-alpha.4
|
|
10
|
+
- @mastra/pg@1.17.0-alpha.4
|
|
11
|
+
- @mastra/core@1.52.0-alpha.13
|
|
12
|
+
|
|
13
|
+
## 0.32.0-alpha.14
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Added a session notification when a GitHub plugin is automatically updated to its latest version ([#19943](https://github.com/mastra-ai/mastra/pull/19943))
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
const unsubscribe = pluginManager.onGithubPluginsUpdated(pluginNames => {
|
|
21
|
+
console.log(`Updated plugins: ${pluginNames.join(', ')}`);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
// Call during shutdown.
|
|
25
|
+
unsubscribe();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`d7385ad`](https://github.com/mastra-ai/mastra/commit/d7385ad9e88f9e4f33d15c0ec0bfebedde0cbc2e), [`3d6e539`](https://github.com/mastra-ai/mastra/commit/3d6e539272eb2ea0407034605ee1906b3be06b39), [`35865a5`](https://github.com/mastra-ai/mastra/commit/35865a53e194aa9634d6a70a97010e7a6b9d58b1), [`70687f7`](https://github.com/mastra-ai/mastra/commit/70687f7e495a322a02070b4a67cb0c77a5ca91ec), [`9bffb73`](https://github.com/mastra-ai/mastra/commit/9bffb73e9ea46f48b53205b35a69a57f70912c78), [`3d6e539`](https://github.com/mastra-ai/mastra/commit/3d6e539272eb2ea0407034605ee1906b3be06b39)]:
|
|
29
|
+
- @mastra/core@1.52.0-alpha.12
|
|
30
|
+
- @mastra/code-sdk@1.0.0-alpha.14
|
|
31
|
+
|
|
3
32
|
## 0.32.0-alpha.13
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
|
@@ -20542,6 +20542,7 @@ var MastraTUI = class _MastraTUI {
|
|
|
20542
20542
|
caffeinateProcess = null;
|
|
20543
20543
|
cleanupKeyHandlers;
|
|
20544
20544
|
cleanupPluginReloadListener;
|
|
20545
|
+
cleanupPluginUpdateListener;
|
|
20545
20546
|
lastStreamError = null;
|
|
20546
20547
|
static DOUBLE_CTRL_C_MS = 500;
|
|
20547
20548
|
constructor(options) {
|
|
@@ -20859,6 +20860,10 @@ var MastraTUI = class _MastraTUI {
|
|
|
20859
20860
|
this.cleanupPluginReloadListener();
|
|
20860
20861
|
this.cleanupPluginReloadListener = void 0;
|
|
20861
20862
|
}
|
|
20863
|
+
if (this.cleanupPluginUpdateListener) {
|
|
20864
|
+
this.cleanupPluginUpdateListener();
|
|
20865
|
+
this.cleanupPluginUpdateListener = void 0;
|
|
20866
|
+
}
|
|
20862
20867
|
if (this.state.unsubscribe) {
|
|
20863
20868
|
this.state.unsubscribe();
|
|
20864
20869
|
}
|
|
@@ -20891,6 +20896,13 @@ var MastraTUI = class _MastraTUI {
|
|
|
20891
20896
|
})
|
|
20892
20897
|
);
|
|
20893
20898
|
}
|
|
20899
|
+
if (this.state.pluginManager && !this.cleanupPluginUpdateListener) {
|
|
20900
|
+
this.cleanupPluginUpdateListener = this.state.pluginManager.onGithubPluginsUpdated((pluginNames) => {
|
|
20901
|
+
if (pluginNames.length === 0) return;
|
|
20902
|
+
const label = pluginNames.length === 1 ? "Plugin" : "Plugins";
|
|
20903
|
+
showInfo(this.state, `${label} updated to the latest version: ${pluginNames.join(", ")}`);
|
|
20904
|
+
});
|
|
20905
|
+
}
|
|
20894
20906
|
await loadCustomSlashCommands(this.state);
|
|
20895
20907
|
setupAutocomplete(this.state);
|
|
20896
20908
|
refreshSkillsAutocomplete(this.state).catch((err) => {
|
|
@@ -21791,5 +21803,5 @@ Would you like to update now?`;
|
|
|
21791
21803
|
};
|
|
21792
21804
|
|
|
21793
21805
|
export { AssistantMessageComponent, LoginDialogComponent, LoginSelectorComponent, MastraTUI, ModelSelectorComponent, OMProgressComponent, ToolExecutionComponentEnhanced, UserMessageComponent, applyThemeMode, createTUIState, detectTerminalTheme, formatOMStatus, getEditorTheme, getMarkdownTheme, getThemeMode, mastra, restoreTerminalForeground, theme };
|
|
21794
|
-
//# sourceMappingURL=chunk-
|
|
21795
|
-
//# sourceMappingURL=chunk-
|
|
21806
|
+
//# sourceMappingURL=chunk-EFW2IN6O.js.map
|
|
21807
|
+
//# sourceMappingURL=chunk-EFW2IN6O.js.map
|