mastracode 0.50.3-alpha.7 → 0.50.3-alpha.8

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,17 @@
1
1
  # mastracode
2
2
 
3
+ ## 0.50.3-alpha.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`90d9424`](https://github.com/mastra-ai/mastra/commit/90d9424563cf6bf8204b2633da54039dc1d73c3a), [`441e238`](https://github.com/mastra-ai/mastra/commit/441e2389a99d52475f44c7b05c1823166cef6cd0), [`81ed17c`](https://github.com/mastra-ai/mastra/commit/81ed17ce35e20d03485ca427df44bddab9d9c0cd), [`8b945c5`](https://github.com/mastra-ai/mastra/commit/8b945c5d5f308d49684e89fd8262ecf37e2d198e), [`9e4a5e8`](https://github.com/mastra-ai/mastra/commit/9e4a5e8bbf3f76f84fa7c1fad8acbab6692c704c), [`19f6a57`](https://github.com/mastra-ai/mastra/commit/19f6a57b3adbacdf104d99197ddf5d4491fe7e0c), [`1219d8a`](https://github.com/mastra-ai/mastra/commit/1219d8a6b41b8f9fcf6e4bcfac42df71b3650963), [`62a09d4`](https://github.com/mastra-ai/mastra/commit/62a09d45eb44fcccd544c904b709e161f2289c54), [`400664e`](https://github.com/mastra-ai/mastra/commit/400664ef60612a6667e7e1017c147fd71310b422), [`76164d0`](https://github.com/mastra-ai/mastra/commit/76164d0e1c52ee650efef574d2951faf614e79ae), [`6795e22`](https://github.com/mastra-ai/mastra/commit/6795e22a64852f6ae67d3d518e18308a27ca8572), [`6795e22`](https://github.com/mastra-ai/mastra/commit/6795e22a64852f6ae67d3d518e18308a27ca8572), [`692ca19`](https://github.com/mastra-ai/mastra/commit/692ca19a7943d24a8607de8414176a690362f3c8), [`bd4eb6f`](https://github.com/mastra-ai/mastra/commit/bd4eb6fb466b8d23bf5e721d3d8f153709db3d0f)]:
8
+ - @mastra/core@1.86.0-alpha.8
9
+ - @mastra/memory@1.41.3-alpha.4
10
+ - @mastra/libsql@1.32.0-alpha.2
11
+ - @mastra/pg@1.38.0-alpha.3
12
+ - @mastra/code-sdk@1.21.0-alpha.9
13
+ - @mastra/mcp@2.11.0-alpha.1
14
+
3
15
  ## 0.50.3-alpha.7
4
16
 
5
17
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -3,4 +3,4 @@
3
3
  /**
4
4
  * Main entry point for Mastra Code TUI.
5
5
  */
6
- require("./run-tui-CXd1xOg-.cjs").runTui();
6
+ require("./run-tui-CWmNRcAA.cjs").runTui();
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as runTui } from "./run-tui-DmE2VxN-.js";
2
+ import { t as runTui } from "./run-tui-BXKRXSOT.js";
3
3
  // src/main.ts
4
4
  /**
5
5
  * Main entry point for Mastra Code TUI.
@@ -3,7 +3,7 @@ name: mastracode
3
3
  description: Documentation for mastracode. Use when working with mastracode APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "mastracode"
6
- version: "0.50.3-alpha.7"
6
+ version: "0.50.3-alpha.8"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.50.3-alpha.7",
2
+ "version": "0.50.3-alpha.8",
3
3
  "package": "mastracode",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -1,4 +1,4 @@
1
- import { D as closeActiveBrowser, E as activeBrowserGeneration, O as discardBrowser, T as TUI_CO_AUTHOR, _ as normalizeThemePreference, a as formatUpdateHeader, g as applyThemePreference, i as formatUpToDate, k as replaceActiveBrowser, n as formatInstallingLabel, o as formatUpdateOutcome, r as formatRegistryError, t as MastraTUI } from "./tui-D4xVz0S2.js";
1
+ import { D as closeActiveBrowser, E as activeBrowserGeneration, O as discardBrowser, T as TUI_CO_AUTHOR, _ as normalizeThemePreference, a as formatUpdateHeader, g as applyThemePreference, i as formatUpToDate, k as replaceActiveBrowser, n as formatInstallingLabel, o as formatUpdateOutcome, r as formatRegistryError, t as MastraTUI } from "./tui-X0pU8YsC.js";
2
2
  import { createMastraCode, resolveSubagentsSetting } from "@mastra/code-sdk";
3
3
  import { spawn } from "child_process";
4
4
  import fs from "fs";
@@ -263,7 +263,7 @@ async function runUpdateCommand({ args = [], output = process.stdout, errorOutpu
263
263
  }
264
264
  // src/version.ts
265
265
  function getCurrentVersion() {
266
- return "0.50.3-alpha.7";
266
+ return "0.50.3-alpha.8";
267
267
  }
268
268
  /** Whether the invocation is `mastracode --version` or `mastracode -v`. */
269
269
  function isVersionCommand(argv) {
@@ -1,4 +1,4 @@
1
- const require_tui = require("./tui-DvbAOJ3z.cjs");
1
+ const require_tui = require("./tui-D02Kt0w4.cjs");
2
2
  let _mastra_code_sdk = require("@mastra/code-sdk");
3
3
  let child_process = require("child_process");
4
4
  let fs = require("fs");
@@ -264,7 +264,7 @@ async function runUpdateCommand({ args = [], output = process.stdout, errorOutpu
264
264
  }
265
265
  // src/version.ts
266
266
  function getCurrentVersion() {
267
- return "0.50.3-alpha.7";
267
+ return "0.50.3-alpha.8";
268
268
  }
269
269
  /** Whether the invocation is `mastracode --version` or `mastracode -v`. */
270
270
  function isVersionCommand(argv) {
package/dist/run-tui.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_tui = require("./run-tui-CXd1xOg-.cjs");
2
+ const require_run_tui = require("./run-tui-CWmNRcAA.cjs");
3
3
  exports.runTui = require_run_tui.runTui;
package/dist/run-tui.js CHANGED
@@ -1 +1 @@
1
- export { t as runTui } from "./run-tui-DmE2VxN-.js";
1
+ export { t as runTui } from "./run-tui-BXKRXSOT.js";
@@ -26447,7 +26447,8 @@ async function prepareApprovedPlan(ctx, title, plan, planPath) {
26447
26447
  if (planPath) await (0, _mastra_code_sdk_utils_plans.approvePlanFile)({
26448
26448
  planPath,
26449
26449
  title,
26450
- resourceId: state.session.identity.getResourceId()
26450
+ resourceId: state.session.identity.getResourceId(),
26451
+ plan
26451
26452
  }).catch(() => {});
26452
26453
  state.previousPlanSnapshot = void 0;
26453
26454
  state.lastSubmitPlanComponent = void 0;
@@ -26417,7 +26417,8 @@ async function prepareApprovedPlan(ctx, title, plan, planPath) {
26417
26417
  if (planPath) await approvePlanFile({
26418
26418
  planPath,
26419
26419
  title,
26420
- resourceId: state.session.identity.getResourceId()
26420
+ resourceId: state.session.identity.getResourceId(),
26421
+ plan
26421
26422
  }).catch(() => {});
26422
26423
  state.previousPlanSnapshot = void 0;
26423
26424
  state.lastSubmitPlanComponent = void 0;
package/dist/tui.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_tui = require("./tui-DvbAOJ3z.cjs");
2
+ const require_tui = require("./tui-D02Kt0w4.cjs");
3
3
  let _mastra_code_sdk_theme_palette = require("@mastra/code-sdk/theme-palette");
4
4
  exports.AssistantMessageComponent = require_tui.AssistantMessageComponent;
5
5
  exports.LoginDialogComponent = require_tui.LoginDialogComponent;
package/dist/tui.js CHANGED
@@ -1 +1 @@
1
- export { h as AssistantMessageComponent, c as LoginDialogComponent, s as LoginSelectorComponent, t as MastraTUI, m as ModelSelectorComponent, l as OMProgressComponent, p as ToolExecutionComponentEnhanced, f as UserMessageComponent, v as applyThemeMode, d as createTUIState, u as formatOMStatus, y as getEditorTheme, b as getMarkdownTheme, x as getThemeMode, S as mastra, C as mastraBrand, w as theme } from "./tui-D4xVz0S2.js";
1
+ export { h as AssistantMessageComponent, c as LoginDialogComponent, s as LoginSelectorComponent, t as MastraTUI, m as ModelSelectorComponent, l as OMProgressComponent, p as ToolExecutionComponentEnhanced, f as UserMessageComponent, v as applyThemeMode, d as createTUIState, u as formatOMStatus, y as getEditorTheme, b as getMarkdownTheme, x as getThemeMode, S as mastra, C as mastraBrand, w as theme } from "./tui-X0pU8YsC.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mastracode",
3
- "version": "0.50.3-alpha.7",
3
+ "version": "0.50.3-alpha.8",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -107,19 +107,19 @@
107
107
  "yaml": "^2.9.1",
108
108
  "zod": "^4.6.7",
109
109
  "@mastra/agent-browser": "0.7.0-alpha.1",
110
- "@mastra/code-sdk": "^1.21.0-alpha.8",
111
- "@mastra/core": "1.86.0-alpha.7",
112
- "@mastra/duckdb": "1.19.2-alpha.0",
110
+ "@mastra/code-sdk": "^1.21.0-alpha.9",
111
+ "@mastra/core": "1.86.0-alpha.8",
113
112
  "@mastra/fastembed": "1.4.0-alpha.1",
114
- "@mastra/libsql": "1.32.0-alpha.1",
113
+ "@mastra/github-signals": "0.5.4-alpha.0",
114
+ "@mastra/libsql": "1.32.0-alpha.2",
115
115
  "@mastra/mcp": "2.11.0-alpha.1",
116
- "@mastra/memory": "1.41.3-alpha.3",
116
+ "@mastra/duckdb": "1.19.2-alpha.0",
117
+ "@mastra/memory": "1.41.3-alpha.4",
117
118
  "@mastra/observability": "1.24.3-alpha.1",
118
- "@mastra/pg": "1.37.1-alpha.2",
119
+ "@mastra/pg": "1.38.0-alpha.3",
119
120
  "@mastra/schema-compat": "1.4.1-alpha.0",
120
- "@mastra/tavily": "1.1.4-alpha.0",
121
121
  "@mastra/stagehand": "0.4.1-alpha.0",
122
- "@mastra/github-signals": "0.5.4-alpha.0"
122
+ "@mastra/tavily": "1.1.4-alpha.0"
123
123
  },
124
124
  "devDependencies": {
125
125
  "@copilotkit/aimock": "^1.46.0",
@@ -131,8 +131,8 @@
131
131
  "tsx": "^4.23.15",
132
132
  "typescript": "^6.0.3",
133
133
  "vitest": "5.1.0",
134
- "@internal/lint": "0.0.151",
135
- "@internal/types-builder": "0.0.126"
134
+ "@internal/types-builder": "0.0.126",
135
+ "@internal/lint": "0.0.151"
136
136
  },
137
137
  "engines": {
138
138
  "node": ">=22.19.0"