mastracode 0.50.0-alpha.10 → 0.50.0-alpha.12
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 +21 -0
- package/dist/cli.cjs +2 -2
- package/dist/cli.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/tui/commands/browser.d.ts.map +1 -1
- package/dist/{tui-BG2R7wps.cjs → tui-B8I8sF2P.cjs} +5 -5
- package/dist/tui-B8I8sF2P.cjs.map +1 -0
- package/dist/{tui-B8QChoCW.js → tui-DhOUg0Wr.js} +6 -6
- package/dist/{tui-B8QChoCW.js.map → tui-DhOUg0Wr.js.map} +1 -1
- package/dist/tui.cjs +1 -1
- package/dist/tui.js +1 -1
- package/package.json +9 -9
- package/dist/tui-BG2R7wps.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.50.0-alpha.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`a0cd52c`](https://github.com/mastra-ai/mastra/commit/a0cd52cdc15c67c5e3d225b90428efde1c15d8a3), [`c1fb13f`](https://github.com/mastra-ai/mastra/commit/c1fb13f325096d244285907d0dd4b0ad35d2cfca), [`6f7eb69`](https://github.com/mastra-ai/mastra/commit/6f7eb696e9c629f5659072947fbed0e09d5e02d3)]:
|
|
8
|
+
- @mastra/core@1.83.0-alpha.11
|
|
9
|
+
- @mastra/code-sdk@1.19.0-alpha.13
|
|
10
|
+
|
|
11
|
+
## 0.50.0-alpha.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Expand `~` in browser profile, executable, and storage-state paths using the operating system home directory, including paths already saved in settings, so these paths also work on Windows. ([#30125](https://github.com/mastra-ai/mastra/pull/30125))
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`d7fa576`](https://github.com/mastra-ai/mastra/commit/d7fa57619b0a941c9908bc9e5d171e0174277e95), [`efc1fe4`](https://github.com/mastra-ai/mastra/commit/efc1fe40ba8f0f2c01c8509662ac4ff6f98f8c21), [`2d42846`](https://github.com/mastra-ai/mastra/commit/2d4284603a4b3dad68d3621c5ce6990ea20d8d7e), [`2d42846`](https://github.com/mastra-ai/mastra/commit/2d4284603a4b3dad68d3621c5ce6990ea20d8d7e), [`5e3c087`](https://github.com/mastra-ai/mastra/commit/5e3c087082fd8e2d6b2fffe304bf02977530f549), [`ce631e9`](https://github.com/mastra-ai/mastra/commit/ce631e94c6318617537f1af2e90c6b628f95d78d), [`3dbe6f4`](https://github.com/mastra-ai/mastra/commit/3dbe6f4314d58d9f084b40d561a07c2636c18d26), [`b1948fb`](https://github.com/mastra-ai/mastra/commit/b1948fb07379325fc24a049d040949a7a6b346c9), [`53b9bf6`](https://github.com/mastra-ai/mastra/commit/53b9bf64ba6440df72a440c8ec12b551cede7b83)]:
|
|
18
|
+
- @mastra/core@1.83.0-alpha.10
|
|
19
|
+
- @mastra/code-sdk@1.19.0-alpha.12
|
|
20
|
+
- @mastra/mcp@2.9.0-alpha.4
|
|
21
|
+
- @mastra/pg@1.36.0-alpha.5
|
|
22
|
+
- @mastra/libsql@1.30.0-alpha.3
|
|
23
|
+
|
|
3
24
|
## 0.50.0-alpha.10
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_tui = require("./tui-
|
|
2
|
+
const require_tui = require("./tui-B8I8sF2P.cjs");
|
|
3
3
|
let _mastra_code_sdk = require("@mastra/code-sdk");
|
|
4
4
|
let child_process = require("child_process");
|
|
5
5
|
let fs = require("fs");
|
|
@@ -265,7 +265,7 @@ async function runUpdateCommand({ args = [], output = process.stdout, errorOutpu
|
|
|
265
265
|
}
|
|
266
266
|
// src/version.ts
|
|
267
267
|
function getCurrentVersion() {
|
|
268
|
-
return "0.50.0-alpha.
|
|
268
|
+
return "0.50.0-alpha.12";
|
|
269
269
|
}
|
|
270
270
|
/** Whether the invocation is `mastracode --version` or `mastracode -v`. */
|
|
271
271
|
function isVersionCommand(argv) {
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
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-
|
|
2
|
+
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-DhOUg0Wr.js";
|
|
3
3
|
import { createMastraCode, resolveSubagentsSetting } from "@mastra/code-sdk";
|
|
4
4
|
import { spawn } from "child_process";
|
|
5
5
|
import fs from "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.0-alpha.
|
|
267
|
+
return "0.50.0-alpha.12";
|
|
268
268
|
}
|
|
269
269
|
/** Whether the invocation is `mastracode --version` or `mastracode -v`. */
|
|
270
270
|
function isVersionCommand(argv) {
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/browser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/browser.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAsWtD;;;;;;;GAOG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,mBAAmB,EAAE,IAAI,GAAE,MAAM,EAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CA6qBvG"}
|
|
@@ -21106,7 +21106,7 @@ async function handleBrowserCommand(ctx, args = []) {
|
|
|
21106
21106
|
ctx.showError(`Missing value. Use: /browser set ${args[1]} <value>\nTo remove a setting, use: /browser clear ${args[1]}`);
|
|
21107
21107
|
return;
|
|
21108
21108
|
}
|
|
21109
|
-
const expandedValue = value.trim()
|
|
21109
|
+
const expandedValue = (0, _mastra_code_sdk_onboarding_settings.expandHome)(value.trim());
|
|
21110
21110
|
switch (key) {
|
|
21111
21111
|
case "profile":
|
|
21112
21112
|
settings.browser.profile = expandedValue;
|
|
@@ -21380,7 +21380,7 @@ async function handleBrowserCommand(ctx, args = []) {
|
|
|
21380
21380
|
return;
|
|
21381
21381
|
}
|
|
21382
21382
|
const exportableBrowser = browserInstance;
|
|
21383
|
-
const expandedPath =
|
|
21383
|
+
const expandedPath = (0, _mastra_code_sdk_onboarding_settings.expandHome)(exportPath);
|
|
21384
21384
|
try {
|
|
21385
21385
|
await exportableBrowser.exportStorageState(expandedPath);
|
|
21386
21386
|
ctx.showInfo(`Storage state exported to: ${expandedPath}`);
|
|
@@ -21518,7 +21518,7 @@ async function handleBrowserCommand(ctx, args = []) {
|
|
|
21518
21518
|
ctx.showInfo("Browser setup cancelled.");
|
|
21519
21519
|
return;
|
|
21520
21520
|
}
|
|
21521
|
-
executablePath =
|
|
21521
|
+
executablePath = (0, _mastra_code_sdk_onboarding_settings.expandHome)(execPath);
|
|
21522
21522
|
} else if (launchMode === "Connect via CDP") {
|
|
21523
21523
|
const cdpUrlInput = await askText$1(ctx, "CDP WebSocket URL (e.g., ws://localhost:9222):", cdpUrl);
|
|
21524
21524
|
if (cdpUrlInput === null) {
|
|
@@ -21552,7 +21552,7 @@ async function handleBrowserCommand(ctx, args = []) {
|
|
|
21552
21552
|
ctx.showInfo("Browser setup cancelled.");
|
|
21553
21553
|
return;
|
|
21554
21554
|
}
|
|
21555
|
-
profile =
|
|
21555
|
+
profile = (0, _mastra_code_sdk_onboarding_settings.expandHome)(profilePath);
|
|
21556
21556
|
} else profile = void 0;
|
|
21557
21557
|
}
|
|
21558
21558
|
}
|
|
@@ -30155,4 +30155,4 @@ Object.defineProperty(exports, "theme", {
|
|
|
30155
30155
|
}
|
|
30156
30156
|
});
|
|
30157
30157
|
|
|
30158
|
-
//# sourceMappingURL=tui-
|
|
30158
|
+
//# sourceMappingURL=tui-B8I8sF2P.cjs.map
|