mastracode 0.35.0-alpha.4 → 0.35.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 CHANGED
@@ -1,5 +1,49 @@
1
1
  # mastracode
2
2
 
3
+ ## 0.35.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added environment-controlled process memory diagnostics for TUI and headless CLI sessions. The `/profile` command controls diagnostics interactively in the TUI. ([#21821](https://github.com/mastra-ai/mastra/pull/21821))
8
+
9
+ Enable diagnostics before startup:
10
+
11
+ ```bash
12
+ MASTRACODE_PROFILE=1 mastracode
13
+ ```
14
+
15
+ Control the same process-wide run from the TUI:
16
+
17
+ ```text
18
+ /profile status
19
+ /profile start
20
+ /profile capture
21
+ /profile stop
22
+ ```
23
+
24
+ Diagnostics save private process and V8 samples, garbage collection events, and allocation profiles without forcing garbage collection or writing heap snapshots. Allocation profiles may contain prompts, credentials, file contents, and tool arguments, so keep them private and delete them after analysis.
25
+
26
+ ### Patch Changes
27
+
28
+ - A slash command sent while the agent is working now shows the `steer` label right away, like a typed message does. It used to render unlabeled during the run and then come back labeled after a reload. ([#21842](https://github.com/mastra-ai/mastra/pull/21842))
29
+
30
+ - Improved Mastra Code memory usage and responsiveness during long streaming sessions. ([#21816](https://github.com/mastra-ai/mastra/pull/21816))
31
+
32
+ - Updated dependencies [[`88d14ca`](https://github.com/mastra-ai/mastra/commit/88d14cac008582a618fecc3d5c7fd3bdf4f6ddc3), [`480e491`](https://github.com/mastra-ai/mastra/commit/480e491588bd6a7a1c9ee4407590ad625dd33952), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`acc3471`](https://github.com/mastra-ai/mastra/commit/acc3471de5f3fde8027ee4e355af292b2bc1bc30), [`b6a771e`](https://github.com/mastra-ai/mastra/commit/b6a771ef23d203ddb348efca8065eff65def8191), [`84a5b69`](https://github.com/mastra-ai/mastra/commit/84a5b699f84d6bae0a34efe5a970d891090b9f41), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`3bb88dd`](https://github.com/mastra-ai/mastra/commit/3bb88ddf07fb98f3cd16d3bff94e51cd3b45d011), [`d23e75d`](https://github.com/mastra-ai/mastra/commit/d23e75d57cc7cf5b9bfdbee896bf5a6a2484fed7), [`c8faa4e`](https://github.com/mastra-ai/mastra/commit/c8faa4e1cfebaec56b65e754e90b9fe46d153359), [`acc3471`](https://github.com/mastra-ai/mastra/commit/acc3471de5f3fde8027ee4e355af292b2bc1bc30), [`d378d75`](https://github.com/mastra-ai/mastra/commit/d378d7511f71309ed61a8f6b93cd0361dc6cb70f), [`84a5b69`](https://github.com/mastra-ai/mastra/commit/84a5b699f84d6bae0a34efe5a970d891090b9f41), [`64cd7ac`](https://github.com/mastra-ai/mastra/commit/64cd7ac22c2c7a6e6b533a4b3a9ede432700f1fb), [`26d4016`](https://github.com/mastra-ai/mastra/commit/26d40160ff7f7d8bf95fee2039a52cbc83863533), [`7c60df5`](https://github.com/mastra-ai/mastra/commit/7c60df5c7872343fbac5c3e5b1175c8076a5abfd), [`57c5103`](https://github.com/mastra-ai/mastra/commit/57c51035a2a36e3df3c4f32f46bb789a66ed5946), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`10de311`](https://github.com/mastra-ai/mastra/commit/10de311e93baea36468463d25bf0f97046239d5e), [`84a5b69`](https://github.com/mastra-ai/mastra/commit/84a5b699f84d6bae0a34efe5a970d891090b9f41), [`f2031a4`](https://github.com/mastra-ai/mastra/commit/f2031a47445e8f67a89ba1309036816f97ab7a65), [`4c2b973`](https://github.com/mastra-ai/mastra/commit/4c2b97396066e97c95c3d0429b2f63a92e6af127), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`cad4208`](https://github.com/mastra-ai/mastra/commit/cad42082e6aa1776168a94914f523334be45d929), [`57c5103`](https://github.com/mastra-ai/mastra/commit/57c51035a2a36e3df3c4f32f46bb789a66ed5946), [`8e529d4`](https://github.com/mastra-ai/mastra/commit/8e529d4ac754efef04b225841349e0da9edf89a6), [`57c5103`](https://github.com/mastra-ai/mastra/commit/57c51035a2a36e3df3c4f32f46bb789a66ed5946), [`acc3471`](https://github.com/mastra-ai/mastra/commit/acc3471de5f3fde8027ee4e355af292b2bc1bc30), [`038b7b4`](https://github.com/mastra-ai/mastra/commit/038b7b405cb4ac25ab3f3031334111b1f87ac112), [`4132d61`](https://github.com/mastra-ai/mastra/commit/4132d61f8367077120ee9e6420d3224dffd93c93), [`1d41dd0`](https://github.com/mastra-ai/mastra/commit/1d41dd06a001c6fee3aab1cdf1ec759f2070df3e), [`d378d75`](https://github.com/mastra-ai/mastra/commit/d378d7511f71309ed61a8f6b93cd0361dc6cb70f)]:
33
+ - @mastra/core@1.61.0
34
+ - @mastra/libsql@1.21.1
35
+ - @mastra/pg@1.21.1
36
+ - @mastra/mcp@1.17.1
37
+ - @mastra/code-sdk@1.4.0
38
+
39
+ ## 0.35.0-alpha.5
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies [[`7c60df5`](https://github.com/mastra-ai/mastra/commit/7c60df5c7872343fbac5c3e5b1175c8076a5abfd)]:
44
+ - @mastra/core@1.61.0-alpha.5
45
+ - @mastra/code-sdk@1.4.0-alpha.5
46
+
3
47
  ## 0.35.0-alpha.4
4
48
 
5
49
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -33,7 +33,7 @@ function createShutdownCoordinator(cleanup, exit, timeoutMs = 5e3) {
33
33
  //#endregion
34
34
  //#region src/version.ts
35
35
  function getCurrentVersion() {
36
- return "0.35.0-alpha.4";
36
+ return "0.35.0";
37
37
  }
38
38
  //#endregion
39
39
  //#region src/main.ts
package/dist/cli.js CHANGED
@@ -32,7 +32,7 @@ function createShutdownCoordinator(cleanup, exit, timeoutMs = 5e3) {
32
32
  //#endregion
33
33
  //#region src/version.ts
34
34
  function getCurrentVersion() {
35
- return "0.35.0-alpha.4";
35
+ return "0.35.0";
36
36
  }
37
37
  //#endregion
38
38
  //#region src/main.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mastracode",
3
- "version": "0.35.0-alpha.4",
3
+ "version": "0.35.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -100,19 +100,19 @@
100
100
  "yaml": "^2.7.1",
101
101
  "zod": "^4.3.6",
102
102
  "@mastra/agent-browser": "0.5.1",
103
- "@mastra/code-sdk": "^1.4.0-alpha.4",
104
- "@mastra/core": "1.61.0-alpha.4",
103
+ "@mastra/code-sdk": "^1.4.0",
105
104
  "@mastra/duckdb": "1.6.2",
106
105
  "@mastra/github-signals": "0.2.5",
107
- "@mastra/libsql": "1.21.1-alpha.1",
108
- "@mastra/mcp": "1.17.1-alpha.1",
106
+ "@mastra/core": "1.61.0",
107
+ "@mastra/libsql": "1.21.1",
109
108
  "@mastra/fastembed": "1.2.0",
109
+ "@mastra/mcp": "1.17.1",
110
110
  "@mastra/memory": "1.27.0",
111
- "@mastra/observability": "1.17.1",
111
+ "@mastra/pg": "1.21.1",
112
+ "@mastra/schema-compat": "1.3.7",
112
113
  "@mastra/stagehand": "0.3.3",
114
+ "@mastra/observability": "1.17.1",
113
115
  "@mastra/tavily": "1.1.1",
114
- "@mastra/schema-compat": "1.3.7",
115
- "@mastra/pg": "1.21.1-alpha.1",
116
116
  "@mastra/voice-deepgram": "0.13.0",
117
117
  "@mastra/voice-openai": "0.13.0"
118
118
  },
@@ -128,8 +128,8 @@
128
128
  "typescript": "^6.0.3",
129
129
  "typescript-eslint": "^8.57.0",
130
130
  "vitest": "4.1.10",
131
- "@internal/lint": "0.0.124",
132
- "@internal/types-builder": "0.0.99"
131
+ "@internal/lint": "0.0.125",
132
+ "@internal/types-builder": "0.0.100"
133
133
  },
134
134
  "engines": {
135
135
  "node": ">=22.19.0"