mastracode 0.9.0-alpha.2 → 0.9.0
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 +49 -0
- package/dist/{chunk-36LFWM5K.cjs → chunk-B3OLYTYD.cjs} +3 -3
- package/dist/{chunk-36LFWM5K.cjs.map → chunk-B3OLYTYD.cjs.map} +1 -1
- package/dist/{chunk-V3RNMGBM.js → chunk-URSYUI7S.js} +3 -3
- package/dist/{chunk-V3RNMGBM.js.map → chunk-URSYUI7S.js.map} +1 -1
- package/dist/cli.cjs +4 -4
- package/dist/cli.js +1 -1
- package/dist/tui.cjs +11 -11
- package/dist/tui.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Improved MCP server management with interactive `/mcp` selector UI. ([#14377](https://github.com/mastra-ai/mastra/pull/14377))
|
|
8
|
+
- **Fixed stderr flooding** — MCP child process debug output no longer corrupts the terminal. Server stderr is piped and buffered instead of inherited.
|
|
9
|
+
- **Fixed console.info race condition** — MCP status messages now display properly in the chat area instead of racing with TUI rendering.
|
|
10
|
+
- **Better error detection** — Failed MCP servers now correctly show as failed instead of showing as connected with 0 tools.
|
|
11
|
+
- **Interactive `/mcp` command** — Replaces text-only output with a navigable overlay (↑↓ to select, Enter for actions, Esc to close). Sub-menus offer View tools, View error, View logs, and Reconnect per server.
|
|
12
|
+
- **Per-server reconnect** — Reconnect individual servers from the `/mcp` selector without restarting all connections.
|
|
13
|
+
- **Live status polling** — The `/mcp` selector auto-refreshes while servers are still connecting.
|
|
14
|
+
- **Connecting state** — Servers show as 'connecting...' during initial startup, visible via `/mcp`.
|
|
15
|
+
|
|
16
|
+
**Example**
|
|
17
|
+
|
|
18
|
+
```text
|
|
19
|
+
/mcp
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
- Added adaptive light and dark terminal themes with WCAG-compliant contrast. Editor input, messages, tool output, and interactive components now automatically adjust colors and borders for readability across terminal backgrounds. ([#14337](https://github.com/mastra-ai/mastra/pull/14337))
|
|
23
|
+
|
|
24
|
+
- Added interactive API key prompt when selecting a model without a configured key. When you choose a model from the model selector that lacks an API key, Mastra Code now displays a dialog to enter the key. The key is stored persistently in auth.json and loaded into the environment on subsequent startups. Environment variables always take priority over stored keys. Press Escape to dismiss the prompt and keep the previous behavior. ([#13573](https://github.com/mastra-ai/mastra/pull/13573))
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Improved Mastra Code terminal queueing and slash-command behavior while the agent is busy. ([#14250](https://github.com/mastra-ai/mastra/pull/14250))
|
|
29
|
+
- Press `Enter` to send a message normally, or queue a follow-up while the current run is still streaming.
|
|
30
|
+
- Queued follow-up messages and slash commands now drain in the same FIFO order they were entered.
|
|
31
|
+
- Custom slash commands use `//command` so they stay distinct from built-in `/command` entries, including when names overlap.
|
|
32
|
+
- Slash-command autocomplete now defaults to the first visible matching entry instead of jumping to a later custom command match.
|
|
33
|
+
- `/help` and related shortcut text now reflect the updated behavior.
|
|
34
|
+
|
|
35
|
+
- Fix rendering corruption in some terminal emulators by replacing the per-character gradient animation on the editor input border with a solid mode-color border. ([#14359](https://github.com/mastra-ai/mastra/pull/14359))
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [[`51970b3`](https://github.com/mastra-ai/mastra/commit/51970b3828494d59a8dd4df143b194d37d31e3f5), [`bbcbbce`](https://github.com/mastra-ai/mastra/commit/bbcbbce4f0e268053cbb11ca58350f5ceba15498), [`4444280`](https://github.com/mastra-ai/mastra/commit/444428094253e916ec077e66284e685fde67021e), [`085e371`](https://github.com/mastra-ai/mastra/commit/085e3718a7d0fe9a210fe7dd1c867b9bdfe8d16b), [`b77aa19`](https://github.com/mastra-ai/mastra/commit/b77aa1981361c021f2c881bee8f0c703687f00da), [`dbb879a`](https://github.com/mastra-ai/mastra/commit/dbb879af0b809c668e9b3a9d8bac97d806caa267), [`dbb879a`](https://github.com/mastra-ai/mastra/commit/dbb879af0b809c668e9b3a9d8bac97d806caa267), [`8b4ce84`](https://github.com/mastra-ai/mastra/commit/8b4ce84aed0808b9805cc4fd7147c1f8a2ef7a36), [`8d4cfe6`](https://github.com/mastra-ai/mastra/commit/8d4cfe6b9a7157d3876206227ec9f04cde6dbc4a), [`247c353`](https://github.com/mastra-ai/mastra/commit/247c3531fa01d1af1014843729f0fba7d3acc953), [`dd6ca1c`](https://github.com/mastra-ai/mastra/commit/dd6ca1cdea3b8b6182f4cf61df41070ba0cc0deb), [`ce26fe2`](https://github.com/mastra-ai/mastra/commit/ce26fe2166dd90254f8bee5776e55977143e97de), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`b92d0c9`](https://github.com/mastra-ai/mastra/commit/b92d0c92ecc833bec9a99af98b3243839c1661be), [`4cb4edf`](https://github.com/mastra-ai/mastra/commit/4cb4edf3c909d197ec356c1790d13270514ffef6), [`8de3555`](https://github.com/mastra-ai/mastra/commit/8de355572c6fd838f863a3e7e6fe24d0947b774f), [`b26307f`](https://github.com/mastra-ai/mastra/commit/b26307f050df39629511b0e831b8fc26973ce8b1), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`133ef20`](https://github.com/mastra-ai/mastra/commit/133ef20c39c696eb0dbbee26e77c8acfec14b8c6), [`4444280`](https://github.com/mastra-ai/mastra/commit/444428094253e916ec077e66284e685fde67021e)]:
|
|
38
|
+
- @mastra/core@1.14.0
|
|
39
|
+
- @mastra/mcp@1.3.0
|
|
40
|
+
- @mastra/pg@1.8.1
|
|
41
|
+
- @mastra/libsql@1.7.1
|
|
42
|
+
- @mastra/memory@1.8.3
|
|
43
|
+
|
|
44
|
+
## 0.9.0-alpha.3
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [[`8b4ce84`](https://github.com/mastra-ai/mastra/commit/8b4ce84aed0808b9805cc4fd7147c1f8a2ef7a36), [`8d4cfe6`](https://github.com/mastra-ai/mastra/commit/8d4cfe6b9a7157d3876206227ec9f04cde6dbc4a), [`247c353`](https://github.com/mastra-ai/mastra/commit/247c3531fa01d1af1014843729f0fba7d3acc953), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a)]:
|
|
49
|
+
- @mastra/core@1.14.0-alpha.3
|
|
50
|
+
- @mastra/memory@1.8.3-alpha.2
|
|
51
|
+
|
|
3
52
|
## 0.9.0-alpha.2
|
|
4
53
|
|
|
5
54
|
### Minor Changes
|
|
@@ -922,7 +922,7 @@ function getInstallCommand(pm, version) {
|
|
|
922
922
|
}
|
|
923
923
|
function getCurrentVersion() {
|
|
924
924
|
{
|
|
925
|
-
return "0.9.0
|
|
925
|
+
return "0.9.0";
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
928
|
async function fetchLatestVersion() {
|
|
@@ -12000,5 +12000,5 @@ exports.createTUIState = createTUIState;
|
|
|
12000
12000
|
exports.detectTerminalTheme = detectTerminalTheme;
|
|
12001
12001
|
exports.formatOMStatus = formatOMStatus;
|
|
12002
12002
|
exports.getCurrentVersion = getCurrentVersion;
|
|
12003
|
-
//# sourceMappingURL=chunk-
|
|
12004
|
-
//# sourceMappingURL=chunk-
|
|
12003
|
+
//# sourceMappingURL=chunk-B3OLYTYD.cjs.map
|
|
12004
|
+
//# sourceMappingURL=chunk-B3OLYTYD.cjs.map
|