mastracode 0.17.1 → 0.17.2
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 +14 -0
- package/dist/{chunk-CJC6AZZR.js → chunk-72NBS4TJ.js} +3 -3
- package/dist/{chunk-CJC6AZZR.js.map → chunk-72NBS4TJ.js.map} +1 -1
- package/dist/{chunk-RQXMIS2K.cjs → chunk-BX23DJ3N.cjs} +3 -3
- package/dist/{chunk-RQXMIS2K.cjs.map → chunk-BX23DJ3N.cjs.map} +1 -1
- package/dist/cli.cjs +4 -4
- package/dist/cli.js +1 -1
- package/dist/tui.cjs +11 -11
- package/dist/tui.js +1 -1
- package/package.json +7 -7
package/dist/cli.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkBHK3OFI3_cjs = require('./chunk-BHK3OFI3.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkBX23DJ3N_cjs = require('./chunk-BX23DJ3N.cjs');
|
|
6
6
|
var chunkP6EKFEJB_cjs = require('./chunk-P6EKFEJB.cjs');
|
|
7
7
|
var chunkA3S5I2HC_cjs = require('./chunk-A3S5I2HC.cjs');
|
|
8
8
|
var fs = require('fs');
|
|
@@ -713,19 +713,19 @@ async function tuiMain(pipedInput) {
|
|
|
713
713
|
if (themePref === "dark" || themePref === "light") {
|
|
714
714
|
themeMode = themePref;
|
|
715
715
|
} else {
|
|
716
|
-
const detection = await
|
|
716
|
+
const detection = await chunkBX23DJ3N_cjs.detectTerminalTheme();
|
|
717
717
|
themeMode = detection.mode;
|
|
718
718
|
detectedBgHex = detection.detectedBgHex;
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
chunkP6EKFEJB_cjs.applyThemeMode(themeMode, detectedBgHex);
|
|
722
|
-
const tui = new
|
|
722
|
+
const tui = new chunkBX23DJ3N_cjs.MastraTUI({
|
|
723
723
|
harness,
|
|
724
724
|
hookManager,
|
|
725
725
|
authStorage,
|
|
726
726
|
mcpManager,
|
|
727
727
|
appName: "Mastra Code",
|
|
728
|
-
version:
|
|
728
|
+
version: chunkBX23DJ3N_cjs.getCurrentVersion(),
|
|
729
729
|
inlineQuestions: true,
|
|
730
730
|
...pipedInput ? { initialMessage: `The following was piped via stdin:
|
|
731
731
|
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createMastraCode } from './chunk-ZYG7WE7V.js';
|
|
3
|
-
import { detectTerminalTheme, MastraTUI, getCurrentVersion } from './chunk-
|
|
3
|
+
import { detectTerminalTheme, MastraTUI, getCurrentVersion } from './chunk-72NBS4TJ.js';
|
|
4
4
|
import { restoreTerminalForeground, releaseAllThreadLocks, loadSettings, createBrowserFromSettings, applyThemeMode } from './chunk-FXESWZUH.js';
|
|
5
5
|
import { getAppDataDir } from './chunk-BYQZSMN2.js';
|
|
6
6
|
import * as fs from 'fs';
|
package/dist/tui.cjs
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBX23DJ3N_cjs = require('./chunk-BX23DJ3N.cjs');
|
|
4
4
|
var chunkP6EKFEJB_cjs = require('./chunk-P6EKFEJB.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 chunkBX23DJ3N_cjs.AssistantMessageComponent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LoginDialogComponent", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBX23DJ3N_cjs.LoginDialogComponent; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "LoginSelectorComponent", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBX23DJ3N_cjs.LoginSelectorComponent; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraTUI", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBX23DJ3N_cjs.MastraTUI; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ModelSelectorComponent", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBX23DJ3N_cjs.ModelSelectorComponent; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "OMProgressComponent", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBX23DJ3N_cjs.OMProgressComponent; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ToolExecutionComponentEnhanced", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkBX23DJ3N_cjs.ToolExecutionComponentEnhanced; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "UserMessageComponent", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkBX23DJ3N_cjs.UserMessageComponent; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createTUIState", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkBX23DJ3N_cjs.createTUIState; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "formatOMStatus", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkBX23DJ3N_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-72NBS4TJ.js';
|
|
2
2
|
export { applyThemeMode, getEditorTheme, getMarkdownTheme, getThemeMode, mastra, mastraBrand, theme } from './chunk-FXESWZUH.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.17.
|
|
3
|
+
"version": "0.17.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
66
66
|
"yaml": "^2.7.1",
|
|
67
67
|
"zod": "^4.3.6",
|
|
68
|
-
"@mastra/agent-browser": "0.2.1",
|
|
69
68
|
"@mastra/duckdb": "1.3.0",
|
|
69
|
+
"@mastra/agent-browser": "0.2.1",
|
|
70
|
+
"@mastra/core": "1.32.1",
|
|
70
71
|
"@mastra/fastembed": "1.0.1",
|
|
71
|
-
"@mastra/core": "1.32.0",
|
|
72
72
|
"@mastra/libsql": "1.10.0",
|
|
73
73
|
"@mastra/mcp": "1.7.0",
|
|
74
74
|
"@mastra/memory": "1.17.5",
|
|
75
75
|
"@mastra/observability": "1.11.1",
|
|
76
76
|
"@mastra/pg": "1.10.0",
|
|
77
|
-
"@mastra/
|
|
78
|
-
"@mastra/
|
|
77
|
+
"@mastra/stagehand": "0.2.1",
|
|
78
|
+
"@mastra/tavily": "1.0.1"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@types/node": "22.19.15",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"typescript": "^6.0.3",
|
|
88
88
|
"typescript-eslint": "^8.57.0",
|
|
89
89
|
"vitest": "4.1.5",
|
|
90
|
-
"@internal/
|
|
91
|
-
"@internal/
|
|
90
|
+
"@internal/types-builder": "0.0.67",
|
|
91
|
+
"@internal/lint": "0.0.92"
|
|
92
92
|
},
|
|
93
93
|
"engines": {
|
|
94
94
|
"node": ">=22.13.0"
|