mastracode 0.22.2-alpha.1 → 0.22.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 +9 -0
- package/dist/{chunk-T5GBQXBQ.js → chunk-7ARENXCP.js} +3 -3
- package/dist/chunk-7ARENXCP.js.map +1 -0
- package/dist/{chunk-4LRCQZ5A.cjs → chunk-BOZ3JCCI.cjs} +3 -3
- package/dist/chunk-BOZ3JCCI.cjs.map +1 -0
- package/dist/cli.cjs +5 -5
- package/dist/cli.js +1 -1
- package/dist/tui.cjs +11 -11
- package/dist/tui.js +1 -1
- package/package.json +9 -9
- package/dist/chunk-4LRCQZ5A.cjs.map +0 -1
- package/dist/chunk-T5GBQXBQ.js.map +0 -1
package/dist/cli.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkDPPFZEZI_cjs = require('./chunk-DPPFZEZI.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkBOZ3JCCI_cjs = require('./chunk-BOZ3JCCI.cjs');
|
|
6
6
|
var chunkNFF7IH5X_cjs = require('./chunk-NFF7IH5X.cjs');
|
|
7
7
|
var chunkJ3ISOP5J_cjs = require('./chunk-J3ISOP5J.cjs');
|
|
8
8
|
var fs = require('fs');
|
|
@@ -841,13 +841,13 @@ async function tuiMain(pipedInput) {
|
|
|
841
841
|
if (themePref === "dark" || themePref === "light") {
|
|
842
842
|
themeMode = themePref;
|
|
843
843
|
} else {
|
|
844
|
-
const detection = await
|
|
844
|
+
const detection = await chunkBOZ3JCCI_cjs.detectTerminalTheme();
|
|
845
845
|
themeMode = detection.mode;
|
|
846
846
|
detectedBgHex = detection.detectedBgHex;
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
chunkNFF7IH5X_cjs.applyThemeMode(themeMode, detectedBgHex);
|
|
850
|
-
analytics = createMastraCodeAnalytics({ version:
|
|
850
|
+
analytics = createMastraCodeAnalytics({ version: chunkBOZ3JCCI_cjs.getCurrentVersion() });
|
|
851
851
|
analytics.capture("mastracode_session_started", {
|
|
852
852
|
mode: harness.getCurrentModeId(),
|
|
853
853
|
resourceId: harness.getResourceId(),
|
|
@@ -855,14 +855,14 @@ async function tuiMain(pipedInput) {
|
|
|
855
855
|
hasMcp: Boolean(mcpManager),
|
|
856
856
|
theme: themeMode
|
|
857
857
|
});
|
|
858
|
-
const tui = new
|
|
858
|
+
const tui = new chunkBOZ3JCCI_cjs.MastraTUI({
|
|
859
859
|
harness,
|
|
860
860
|
hookManager,
|
|
861
861
|
analytics,
|
|
862
862
|
authStorage,
|
|
863
863
|
mcpManager,
|
|
864
864
|
appName: "Mastra Code",
|
|
865
|
-
version:
|
|
865
|
+
version: chunkBOZ3JCCI_cjs.getCurrentVersion(),
|
|
866
866
|
inlineQuestions: true,
|
|
867
867
|
githubSignals: result.githubSignals,
|
|
868
868
|
...pipedInput ? { initialMessage: `The following was piped via stdin:
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createMastraCode } from './chunk-AB4G5527.js';
|
|
3
|
-
import { detectTerminalTheme, getCurrentVersion, MastraTUI } from './chunk-
|
|
3
|
+
import { detectTerminalTheme, getCurrentVersion, MastraTUI } from './chunk-7ARENXCP.js';
|
|
4
4
|
import { restoreTerminalForeground, releaseAllThreadLocks, loadSettings, applyThemeMode, createBrowserFromSettings } from './chunk-EXBGEHMR.js';
|
|
5
5
|
import { getAppDataDir } from './chunk-5FT2NNFO.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 chunkBOZ3JCCI_cjs = require('./chunk-BOZ3JCCI.cjs');
|
|
4
4
|
var chunkNFF7IH5X_cjs = require('./chunk-NFF7IH5X.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 chunkBOZ3JCCI_cjs.AssistantMessageComponent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LoginDialogComponent", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBOZ3JCCI_cjs.LoginDialogComponent; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "LoginSelectorComponent", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBOZ3JCCI_cjs.LoginSelectorComponent; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraTUI", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBOZ3JCCI_cjs.MastraTUI; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ModelSelectorComponent", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBOZ3JCCI_cjs.ModelSelectorComponent; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "OMProgressComponent", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBOZ3JCCI_cjs.OMProgressComponent; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ToolExecutionComponentEnhanced", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkBOZ3JCCI_cjs.ToolExecutionComponentEnhanced; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "UserMessageComponent", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkBOZ3JCCI_cjs.UserMessageComponent; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createTUIState", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkBOZ3JCCI_cjs.createTUIState; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "formatOMStatus", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkBOZ3JCCI_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-7ARENXCP.js';
|
|
2
2
|
export { applyThemeMode, getEditorTheme, getMarkdownTheme, getThemeMode, mastra, mastraBrand, theme } from './chunk-EXBGEHMR.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.22.2
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -67,17 +67,17 @@
|
|
|
67
67
|
"yaml": "^2.7.1",
|
|
68
68
|
"zod": "^4.3.6",
|
|
69
69
|
"@mastra/agent-browser": "0.3.0",
|
|
70
|
-
"@mastra/
|
|
70
|
+
"@mastra/duckdb": "1.4.1",
|
|
71
71
|
"@mastra/fastembed": "1.1.2",
|
|
72
|
+
"@mastra/core": "1.41.0",
|
|
73
|
+
"@mastra/mcp": "1.9.1",
|
|
74
|
+
"@mastra/observability": "1.14.1",
|
|
72
75
|
"@mastra/memory": "1.20.2",
|
|
73
76
|
"@mastra/libsql": "1.12.1",
|
|
74
|
-
"@mastra/observability": "1.14.1",
|
|
75
|
-
"@mastra/mcp": "1.9.1",
|
|
76
77
|
"@mastra/pg": "1.12.1",
|
|
77
78
|
"@mastra/schema-compat": "1.2.11",
|
|
78
|
-
"@mastra/
|
|
79
|
-
"@mastra/tavily": "1.0.1"
|
|
80
|
-
"@mastra/stagehand": "0.2.3"
|
|
79
|
+
"@mastra/stagehand": "0.2.3",
|
|
80
|
+
"@mastra/tavily": "1.0.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@types/node": "22.19.15",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"typescript": "^6.0.3",
|
|
90
90
|
"typescript-eslint": "^8.57.0",
|
|
91
91
|
"vitest": "4.1.5",
|
|
92
|
-
"@internal/
|
|
93
|
-
"@internal/
|
|
92
|
+
"@internal/types-builder": "0.0.78",
|
|
93
|
+
"@internal/lint": "0.0.103"
|
|
94
94
|
},
|
|
95
95
|
"engines": {
|
|
96
96
|
"node": ">=22.13.0"
|