mastracode 0.30.0-alpha.2 → 0.30.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 +43 -0
- package/dist/{acp-XBDJTHY7.js → acp-2WM2FDW5.js} +3 -3
- package/dist/{acp-XBDJTHY7.js.map → acp-2WM2FDW5.js.map} +1 -1
- package/dist/{acp-D3OBQGZJ.cjs → acp-6XRMVKUE.cjs} +4 -4
- package/dist/{acp-D3OBQGZJ.cjs.map → acp-6XRMVKUE.cjs.map} +1 -1
- package/dist/{chunk-MTQF44K4.js → chunk-4B7ZVBCX.js} +5 -5
- package/dist/chunk-4B7ZVBCX.js.map +1 -0
- package/dist/{chunk-3QUW6DAO.cjs → chunk-ARTGQQXZ.cjs} +6 -6
- package/dist/chunk-ARTGQQXZ.cjs.map +1 -0
- package/dist/{chunk-ADEKFXJD.cjs → chunk-IVLIMFFA.cjs} +24 -7
- package/dist/chunk-IVLIMFFA.cjs.map +1 -0
- package/dist/{chunk-SAUQYLBP.js → chunk-YADYGJS7.js} +23 -6
- package/dist/chunk-YADYGJS7.js.map +1 -0
- package/dist/cli.cjs +14 -14
- package/dist/cli.js +3 -3
- package/dist/headless.cjs +18 -18
- package/dist/headless.js +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.js +1 -1
- package/dist/plugins/package-link.d.ts +1 -0
- package/dist/plugins/package-link.d.ts.map +1 -1
- package/dist/tui.cjs +11 -11
- package/dist/tui.js +1 -1
- package/package.json +14 -14
- package/dist/chunk-3QUW6DAO.cjs.map +0 -1
- package/dist/chunk-ADEKFXJD.cjs.map +0 -1
- package/dist/chunk-MTQF44K4.js.map +0 -1
- package/dist/chunk-SAUQYLBP.js.map +0 -1
|
@@ -1206,7 +1206,7 @@ function getInstallCommand(pm, version) {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
function getCurrentVersion() {
|
|
1208
1208
|
{
|
|
1209
|
-
return "0.30.0
|
|
1209
|
+
return "0.30.0";
|
|
1210
1210
|
}
|
|
1211
1211
|
}
|
|
1212
1212
|
async function fetchLatestVersion() {
|
|
@@ -15234,7 +15234,7 @@ async function installPluginFlow(ctx) {
|
|
|
15234
15234
|
if (!ctx.pluginManager) return;
|
|
15235
15235
|
const source = await askModalQuestion(ctx.state.ui, {
|
|
15236
15236
|
question: "Install plugin from:",
|
|
15237
|
-
options: [{ label: "
|
|
15237
|
+
options: [{ label: "GitHub URL" }, { label: "Local path" }]
|
|
15238
15238
|
});
|
|
15239
15239
|
if (!source) return;
|
|
15240
15240
|
const specifier = source === "Local path" ? await askLocalPluginPath(ctx) : await askModalQuestion(ctx.state.ui, {
|
|
@@ -15244,7 +15244,7 @@ async function installPluginFlow(ctx) {
|
|
|
15244
15244
|
if (!specifier) return;
|
|
15245
15245
|
const scopeAnswer = await askModalQuestion(ctx.state.ui, {
|
|
15246
15246
|
question: "Install scope:",
|
|
15247
|
-
options: [{ label: "
|
|
15247
|
+
options: [{ label: "global" }, { label: "project" }]
|
|
15248
15248
|
});
|
|
15249
15249
|
if (scopeAnswer !== "project" && scopeAnswer !== "global") return;
|
|
15250
15250
|
const installWarning = source === "GitHub URL" ? "Plugins run code inside Mastra Code and can access your workspace. GitHub plugins also auto-update from their repository, so only install plugins from sources you trust. Continue?" : "Plugins run code inside Mastra Code and can access your workspace. Continue?";
|
|
@@ -18418,7 +18418,7 @@ function inertSession() {
|
|
|
18418
18418
|
};
|
|
18419
18419
|
}
|
|
18420
18420
|
function resolveAsset(name) {
|
|
18421
|
-
const here = path4.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
18421
|
+
const here = path4.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-ARTGQQXZ.cjs', document.baseURI).href))));
|
|
18422
18422
|
const candidates = [
|
|
18423
18423
|
path4.join(here, name),
|
|
18424
18424
|
// dev: src/tui/voice/native/<name>
|
|
@@ -21897,5 +21897,5 @@ exports.createTUIState = createTUIState;
|
|
|
21897
21897
|
exports.detectTerminalTheme = detectTerminalTheme;
|
|
21898
21898
|
exports.formatOMStatus = formatOMStatus;
|
|
21899
21899
|
exports.getCurrentVersion = getCurrentVersion;
|
|
21900
|
-
//# sourceMappingURL=chunk-
|
|
21901
|
-
//# sourceMappingURL=chunk-
|
|
21900
|
+
//# sourceMappingURL=chunk-ARTGQQXZ.cjs.map
|
|
21901
|
+
//# sourceMappingURL=chunk-ARTGQQXZ.cjs.map
|