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
package/dist/cli.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkARTGQQXZ_cjs = require('./chunk-ARTGQQXZ.cjs');
|
|
5
|
+
var chunkIVLIMFFA_cjs = require('./chunk-IVLIMFFA.cjs');
|
|
6
6
|
var chunkT5FGP3US_cjs = require('./chunk-T5FGP3US.cjs');
|
|
7
7
|
var chunk6HMHCNGR_cjs = require('./chunk-6HMHCNGR.cjs');
|
|
8
8
|
var fs = require('fs');
|
|
@@ -258,14 +258,14 @@ function scaffoldPlugin(targetDir, options = {}) {
|
|
|
258
258
|
fs__namespace.default.writeFileSync(path2__default.default.join(dir, "src/index.ts"), renderIndex(pluginId, pluginName));
|
|
259
259
|
fs__namespace.default.writeFileSync(path2__default.default.join(dir, "README.md"), renderReadme(pluginName, pluginId));
|
|
260
260
|
writeScaffoldManifest(targetDir, dir, pluginId, pluginName, options);
|
|
261
|
-
|
|
261
|
+
chunkIVLIMFFA_cjs.ensureMastraCodePackageLink(dir);
|
|
262
262
|
return dir;
|
|
263
263
|
}
|
|
264
264
|
function writeScaffoldManifest(originalTarget, scaffoldDir, pluginId, pluginName, options) {
|
|
265
265
|
const projectRoot = options.projectRoot ?? process.cwd();
|
|
266
266
|
const manifestRoot = isBarePluginName(originalTarget) ? projectRoot : scaffoldDir;
|
|
267
267
|
const entry = isBarePluginName(originalTarget) ? path2__default.default.join(path2__default.default.relative(projectRoot, scaffoldDir), "src/index.ts") : "src/index.ts";
|
|
268
|
-
|
|
268
|
+
chunkIVLIMFFA_cjs.upsertPluginManifestEntry(manifestRoot, {
|
|
269
269
|
id: pluginId,
|
|
270
270
|
name: pluginName,
|
|
271
271
|
entry: entry.split(path2__default.default.sep).join("/")
|
|
@@ -429,7 +429,7 @@ async function tuiMain(pipedInput) {
|
|
|
429
429
|
return browserPromise;
|
|
430
430
|
};
|
|
431
431
|
const initialState = resolveInitialStateFromEnv();
|
|
432
|
-
const result = await
|
|
432
|
+
const result = await chunkIVLIMFFA_cjs.createMastraCode({
|
|
433
433
|
unixSocketPubSub: !isTruthyEnv("MASTRACODE_DISABLE_UNIX_SOCKET_PUBSUB"),
|
|
434
434
|
disableMcp: isTruthyEnv("MASTRACODE_DISABLE_MCP"),
|
|
435
435
|
disableHooks: isTruthyEnv("MASTRACODE_DISABLE_HOOKS"),
|
|
@@ -447,7 +447,7 @@ async function tuiMain(pipedInput) {
|
|
|
447
447
|
if (result.observabilityWarning) {
|
|
448
448
|
console.info(`\u26A0 ${result.observabilityWarning}`);
|
|
449
449
|
}
|
|
450
|
-
|
|
450
|
+
chunkIVLIMFFA_cjs.setupDebugLogging();
|
|
451
451
|
const envTheme = process.env.MASTRA_THEME?.toLowerCase();
|
|
452
452
|
let themeMode;
|
|
453
453
|
let detectedBgHex;
|
|
@@ -459,14 +459,14 @@ async function tuiMain(pipedInput) {
|
|
|
459
459
|
if (themePref === "dark" || themePref === "light") {
|
|
460
460
|
themeMode = themePref;
|
|
461
461
|
} else {
|
|
462
|
-
const detection = await
|
|
462
|
+
const detection = await chunkARTGQQXZ_cjs.detectTerminalTheme();
|
|
463
463
|
themeMode = detection.mode;
|
|
464
464
|
detectedBgHex = detection.detectedBgHex;
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
chunkT5FGP3US_cjs.applyThemeMode(themeMode, detectedBgHex);
|
|
468
468
|
const session = result.session;
|
|
469
|
-
analytics = createMastraCodeAnalytics({ version:
|
|
469
|
+
analytics = createMastraCodeAnalytics({ version: chunkARTGQQXZ_cjs.getCurrentVersion() });
|
|
470
470
|
analytics.capture("mastracode_session_started", {
|
|
471
471
|
mode: session.mode.get(),
|
|
472
472
|
resourceId: session.identity.getResourceId(),
|
|
@@ -474,7 +474,7 @@ async function tuiMain(pipedInput) {
|
|
|
474
474
|
hasMcp: Boolean(mcpManager),
|
|
475
475
|
theme: themeMode
|
|
476
476
|
});
|
|
477
|
-
const tui = new
|
|
477
|
+
const tui = new chunkARTGQQXZ_cjs.MastraTUI({
|
|
478
478
|
controller,
|
|
479
479
|
session,
|
|
480
480
|
hookManager,
|
|
@@ -483,7 +483,7 @@ async function tuiMain(pipedInput) {
|
|
|
483
483
|
mcpManager,
|
|
484
484
|
pluginManager: result.pluginManager,
|
|
485
485
|
appName: "Mastra Code",
|
|
486
|
-
version:
|
|
486
|
+
version: chunkARTGQQXZ_cjs.getCurrentVersion(),
|
|
487
487
|
inlineQuestions: true,
|
|
488
488
|
githubSignals: result.githubSignals,
|
|
489
489
|
...pipedInput ? { initialMessage: `The following was piped via stdin:
|
|
@@ -594,11 +594,11 @@ async function main() {
|
|
|
594
594
|
if (process.argv[2] === "plugin") {
|
|
595
595
|
return pluginMain(process.argv.slice(3));
|
|
596
596
|
}
|
|
597
|
-
if (
|
|
598
|
-
return
|
|
597
|
+
if (chunkIVLIMFFA_cjs.hasHeadlessFlag(process.argv) || process.argv.includes("--help") || process.argv.includes("-h")) {
|
|
598
|
+
return chunkIVLIMFFA_cjs.runMCCli();
|
|
599
599
|
}
|
|
600
600
|
if (process.argv.includes("--acp")) {
|
|
601
|
-
const { acpMain } = await import('./acp-
|
|
601
|
+
const { acpMain } = await import('./acp-6XRMVKUE.cjs');
|
|
602
602
|
return acpMain({ dangerousAutoApprove: process.argv.includes("--dangerous-auto-approve") });
|
|
603
603
|
}
|
|
604
604
|
let pipedInput = null;
|
|
@@ -608,7 +608,7 @@ async function main() {
|
|
|
608
608
|
const reopenedStdin = reopenStdinFromTTY();
|
|
609
609
|
if (!reopenedStdin) {
|
|
610
610
|
process.stderr.write("No TTY available \u2014 falling back to headless mode.\n");
|
|
611
|
-
return
|
|
611
|
+
return chunkIVLIMFFA_cjs.runMCCli(pipedInput);
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
return tuiMain(pipedInput);
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { detectTerminalTheme, getCurrentVersion, MastraTUI } from './chunk-
|
|
3
|
-
import { hasHeadlessFlag, runMCCli, createMastraCode, setupDebugLogging, ensureMastraCodePackageLink, upsertPluginManifestEntry } from './chunk-
|
|
2
|
+
import { detectTerminalTheme, getCurrentVersion, MastraTUI } from './chunk-4B7ZVBCX.js';
|
|
3
|
+
import { hasHeadlessFlag, runMCCli, createMastraCode, setupDebugLogging, ensureMastraCodePackageLink, upsertPluginManifestEntry } from './chunk-YADYGJS7.js';
|
|
4
4
|
import { restoreTerminalForeground, releaseAllThreadLocks, loadSettings, applyThemeMode, createBrowserFromSettings } from './chunk-RHWBSPSP.js';
|
|
5
5
|
import { DEFAULT_CONFIG_DIR } from './chunk-GETSQXPO.js';
|
|
6
6
|
import * as fs from 'fs';
|
|
@@ -572,7 +572,7 @@ async function main() {
|
|
|
572
572
|
return runMCCli();
|
|
573
573
|
}
|
|
574
574
|
if (process.argv.includes("--acp")) {
|
|
575
|
-
const { acpMain } = await import('./acp-
|
|
575
|
+
const { acpMain } = await import('./acp-2WM2FDW5.js');
|
|
576
576
|
return acpMain({ dangerousAutoApprove: process.argv.includes("--dangerous-auto-approve") });
|
|
577
577
|
}
|
|
578
578
|
let pipedInput = null;
|
package/dist/headless.cjs
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIVLIMFFA_cjs = require('./chunk-IVLIMFFA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "VALID_MODES", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIVLIMFFA_cjs.VALID_MODES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "VALID_PERMISSION_MODES", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIVLIMFFA_cjs.VALID_PERMISSION_MODES; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "VALID_THINKING_LEVELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIVLIMFFA_cjs.VALID_THINKING_LEVELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "autoApprovePolicy", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIVLIMFFA_cjs.autoApprovePolicy; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "createHumanFormatState", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIVLIMFFA_cjs.createHumanFormatState; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "denyPolicy", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkIVLIMFFA_cjs.denyPolicy; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "formatHuman", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkIVLIMFFA_cjs.formatHuman; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "formatJsonl", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkIVLIMFFA_cjs.formatJsonl; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "hasHeadlessFlag", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkIVLIMFFA_cjs.hasHeadlessFlag; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "parseHeadlessArgs", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkIVLIMFFA_cjs.parseHeadlessArgs; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "permissionModeToPolicy", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkIVLIMFFA_cjs.permissionModeToPolicy; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "printHeadlessUsage", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkIVLIMFFA_cjs.printHeadlessUsage; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "renderJsonResult", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkIVLIMFFA_cjs.renderJsonResult; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "renderTextResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkIVLIMFFA_cjs.renderTextResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "runMC", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkIVLIMFFA_cjs.runMC; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "runMCCli", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkIVLIMFFA_cjs.runMCCli; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "truncate", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkIVLIMFFA_cjs.truncate; }
|
|
74
74
|
});
|
|
75
75
|
//# sourceMappingURL=headless.cjs.map
|
|
76
76
|
//# sourceMappingURL=headless.cjs.map
|
package/dist/headless.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { VALID_MODES, VALID_PERMISSION_MODES, VALID_THINKING_LEVELS, autoApprovePolicy, createHumanFormatState, denyPolicy, formatHuman, formatJsonl, hasHeadlessFlag, parseHeadlessArgs, permissionModeToPolicy, printHeadlessUsage, renderJsonResult, renderTextResult, runMC, runMCCli, truncate } from './chunk-
|
|
1
|
+
export { VALID_MODES, VALID_PERMISSION_MODES, VALID_THINKING_LEVELS, autoApprovePolicy, createHumanFormatState, denyPolicy, formatHuman, formatJsonl, hasHeadlessFlag, parseHeadlessArgs, permissionModeToPolicy, printHeadlessUsage, renderJsonResult, renderTextResult, runMC, runMCCli, truncate } from './chunk-YADYGJS7.js';
|
|
2
2
|
//# sourceMappingURL=headless.js.map
|
|
3
3
|
//# sourceMappingURL=headless.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIVLIMFFA_cjs = require('./chunk-IVLIMFFA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "autoApprovePolicy", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIVLIMFFA_cjs.autoApprovePolicy; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "bootLocalAgentController", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIVLIMFFA_cjs.bootLocalAgentController; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createAuthStorage", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIVLIMFFA_cjs.createAuthStorage; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "createMastraCode", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIVLIMFFA_cjs.createMastraCode; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "createMastraCodeAgentController", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIVLIMFFA_cjs.createMastraCodeAgentController; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "denyPolicy", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkIVLIMFFA_cjs.denyPolicy; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "formatHuman", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkIVLIMFFA_cjs.formatHuman; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "formatJsonl", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkIVLIMFFA_cjs.formatJsonl; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "hasHeadlessFlag", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkIVLIMFFA_cjs.hasHeadlessFlag; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "mountAgentControllerOnMastra", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkIVLIMFFA_cjs.mountAgentControllerOnMastra; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "permissionModeToPolicy", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkIVLIMFFA_cjs.permissionModeToPolicy; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "prepareAgentControllerMount", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkIVLIMFFA_cjs.prepareAgentControllerMount; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "renderJsonResult", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkIVLIMFFA_cjs.renderJsonResult; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "renderTextResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkIVLIMFFA_cjs.renderTextResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "runMC", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkIVLIMFFA_cjs.runMC; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "runMCCli", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkIVLIMFFA_cjs.runMCCli; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "wireSessionConcerns", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkIVLIMFFA_cjs.wireSessionConcerns; }
|
|
74
74
|
});
|
|
75
75
|
//# sourceMappingURL=index.cjs.map
|
|
76
76
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { autoApprovePolicy, bootLocalAgentController, createAuthStorage, createMastraCode, createMastraCodeAgentController, denyPolicy, formatHuman, formatJsonl, hasHeadlessFlag, mountAgentControllerOnMastra, permissionModeToPolicy, prepareAgentControllerMount, renderJsonResult, renderTextResult, runMC, runMCCli, wireSessionConcerns } from './chunk-
|
|
1
|
+
export { autoApprovePolicy, bootLocalAgentController, createAuthStorage, createMastraCode, createMastraCodeAgentController, denyPolicy, formatHuman, formatJsonl, hasHeadlessFlag, mountAgentControllerOnMastra, permissionModeToPolicy, prepareAgentControllerMount, renderJsonResult, renderTextResult, runMC, runMCCli, wireSessionConcerns } from './chunk-YADYGJS7.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-link.d.ts","sourceRoot":"","sources":["../../src/plugins/package-link.ts"],"names":[],"mappings":"AAMA,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAkBnE"}
|
|
1
|
+
{"version":3,"file":"package-link.d.ts","sourceRoot":"","sources":["../../src/plugins/package-link.ts"],"names":[],"mappings":"AAMA,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAkBlE;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAkBnE"}
|
package/dist/tui.cjs
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkARTGQQXZ_cjs = require('./chunk-ARTGQQXZ.cjs');
|
|
4
4
|
var chunkT5FGP3US_cjs = require('./chunk-T5FGP3US.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AssistantMessageComponent", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkARTGQQXZ_cjs.AssistantMessageComponent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LoginDialogComponent", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkARTGQQXZ_cjs.LoginDialogComponent; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "LoginSelectorComponent", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkARTGQQXZ_cjs.LoginSelectorComponent; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraTUI", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkARTGQQXZ_cjs.MastraTUI; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ModelSelectorComponent", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkARTGQQXZ_cjs.ModelSelectorComponent; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "OMProgressComponent", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkARTGQQXZ_cjs.OMProgressComponent; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ToolExecutionComponentEnhanced", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkARTGQQXZ_cjs.ToolExecutionComponentEnhanced; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "UserMessageComponent", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkARTGQQXZ_cjs.UserMessageComponent; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createTUIState", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkARTGQQXZ_cjs.createTUIState; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "formatOMStatus", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkARTGQQXZ_cjs.formatOMStatus; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "applyThemeMode", {
|
|
49
49
|
enumerable: true,
|
package/dist/tui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AssistantMessageComponent, LoginDialogComponent, LoginSelectorComponent, MastraTUI, ModelSelectorComponent, OMProgressComponent, ToolExecutionComponentEnhanced, UserMessageComponent, createTUIState, formatOMStatus } from './chunk-
|
|
1
|
+
export { AssistantMessageComponent, LoginDialogComponent, LoginSelectorComponent, MastraTUI, ModelSelectorComponent, OMProgressComponent, ToolExecutionComponentEnhanced, UserMessageComponent, createTUIState, formatOMStatus } from './chunk-4B7ZVBCX.js';
|
|
2
2
|
export { applyThemeMode, getEditorTheme, getMarkdownTheme, getThemeMode, mastra, mastraBrand, theme } from './chunk-RHWBSPSP.js';
|
|
3
3
|
//# sourceMappingURL=tui.js.map
|
|
4
4
|
//# sourceMappingURL=tui.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mastracode",
|
|
3
|
-
"version": "0.30.0
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -112,22 +112,22 @@
|
|
|
112
112
|
"zod": "^4.3.6",
|
|
113
113
|
"@mastra/agent-browser": "0.4.1",
|
|
114
114
|
"@mastra/auth-workos": "1.6.2",
|
|
115
|
-
"@mastra/
|
|
115
|
+
"@mastra/core": "1.50.1",
|
|
116
|
+
"@mastra/duckdb": "1.5.1",
|
|
116
117
|
"@mastra/fastembed": "1.2.0",
|
|
118
|
+
"@mastra/hono": "1.5.6",
|
|
117
119
|
"@mastra/github-signals": "0.2.2",
|
|
118
|
-
"@mastra/core": "1.50.1-alpha.2",
|
|
119
|
-
"@mastra/hono": "1.5.6-alpha.2",
|
|
120
|
-
"@mastra/libsql": "1.15.1",
|
|
121
|
-
"@mastra/memory": "1.22.1",
|
|
122
120
|
"@mastra/mcp": "1.13.1",
|
|
121
|
+
"@mastra/libsql": "1.15.1",
|
|
122
|
+
"@mastra/memory": "1.22.2",
|
|
123
|
+
"@mastra/client-js": "1.31.1",
|
|
123
124
|
"@mastra/observability": "1.16.0",
|
|
124
125
|
"@mastra/pg": "1.15.1",
|
|
125
|
-
"@mastra/playground-ui": "40.0.1
|
|
126
|
-
"@mastra/
|
|
126
|
+
"@mastra/playground-ui": "40.0.1",
|
|
127
|
+
"@mastra/react": "1.2.4",
|
|
127
128
|
"@mastra/railway": "0.3.0",
|
|
128
|
-
"@mastra/
|
|
129
|
+
"@mastra/server": "1.50.1",
|
|
129
130
|
"@mastra/schema-compat": "1.3.3",
|
|
130
|
-
"@mastra/server": "1.50.1-alpha.2",
|
|
131
131
|
"@mastra/stagehand": "0.3.0",
|
|
132
132
|
"@mastra/tavily": "1.1.0",
|
|
133
133
|
"@mastra/voice-deepgram": "0.13.0",
|
|
@@ -167,10 +167,10 @@
|
|
|
167
167
|
"typescript-eslint": "^8.57.0",
|
|
168
168
|
"vite": "^6.0.0",
|
|
169
169
|
"vitest": "4.1.9",
|
|
170
|
-
"@internal/lint": "0.0.
|
|
171
|
-
"@
|
|
172
|
-
"
|
|
173
|
-
"
|
|
170
|
+
"@internal/lint": "0.0.113",
|
|
171
|
+
"@mastra/client-js": "1.31.1",
|
|
172
|
+
"@internal/types-builder": "0.0.88",
|
|
173
|
+
"mastra": "1.18.2"
|
|
174
174
|
},
|
|
175
175
|
"engines": {
|
|
176
176
|
"node": ">=22.19.0"
|