mastracode 0.8.1 → 0.8.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-MEB7ZVZK.js → chunk-HKV5K3LL.js} +3 -3
- package/dist/{chunk-MEB7ZVZK.js.map → chunk-HKV5K3LL.js.map} +1 -1
- package/dist/{chunk-MNF7HVEO.cjs → chunk-SJX5BELK.cjs} +3 -3
- package/dist/{chunk-MNF7HVEO.cjs.map → chunk-SJX5BELK.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 chunkMQUL5ENJ_cjs = require('./chunk-MQUL5ENJ.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkSJX5BELK_cjs = require('./chunk-SJX5BELK.cjs');
|
|
6
6
|
var chunk3ZIPVVJW_cjs = require('./chunk-3ZIPVVJW.cjs');
|
|
7
7
|
var chunkS5ZLN7DR_cjs = require('./chunk-S5ZLN7DR.cjs');
|
|
8
8
|
var util = require('util');
|
|
@@ -370,16 +370,16 @@ async function tuiMain() {
|
|
|
370
370
|
} else {
|
|
371
371
|
const settings = chunk3ZIPVVJW_cjs.loadSettings();
|
|
372
372
|
const themePref = settings.preferences.theme;
|
|
373
|
-
themeMode = themePref === "dark" || themePref === "light" ? themePref : await
|
|
373
|
+
themeMode = themePref === "dark" || themePref === "light" ? themePref : await chunkSJX5BELK_cjs.detectTerminalTheme();
|
|
374
374
|
}
|
|
375
375
|
chunk3ZIPVVJW_cjs.applyThemeMode(themeMode);
|
|
376
|
-
const tui = new
|
|
376
|
+
const tui = new chunkSJX5BELK_cjs.MastraTUI({
|
|
377
377
|
harness,
|
|
378
378
|
hookManager,
|
|
379
379
|
authStorage,
|
|
380
380
|
mcpManager,
|
|
381
381
|
appName: "Mastra Code",
|
|
382
|
-
version:
|
|
382
|
+
version: chunkSJX5BELK_cjs.getCurrentVersion(),
|
|
383
383
|
inlineQuestions: true
|
|
384
384
|
});
|
|
385
385
|
tui.run().catch((error) => {
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createMastraCode } from './chunk-ULS3HP2Y.js';
|
|
3
|
-
import { detectTerminalTheme, MastraTUI, getCurrentVersion } from './chunk-
|
|
3
|
+
import { detectTerminalTheme, MastraTUI, getCurrentVersion } from './chunk-HKV5K3LL.js';
|
|
4
4
|
import { releaseAllThreadLocks, loadSettings, applyThemeMode } from './chunk-BHG6IWIR.js';
|
|
5
5
|
import { getAppDataDir } from './chunk-SM3QCOA7.js';
|
|
6
6
|
import { parseArgs } from 'util';
|
package/dist/tui.cjs
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSJX5BELK_cjs = require('./chunk-SJX5BELK.cjs');
|
|
4
4
|
var chunk3ZIPVVJW_cjs = require('./chunk-3ZIPVVJW.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 chunkSJX5BELK_cjs.AssistantMessageComponent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LoginDialogComponent", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkSJX5BELK_cjs.LoginDialogComponent; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "LoginSelectorComponent", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkSJX5BELK_cjs.LoginSelectorComponent; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraTUI", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkSJX5BELK_cjs.MastraTUI; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ModelSelectorComponent", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkSJX5BELK_cjs.ModelSelectorComponent; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "OMProgressComponent", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkSJX5BELK_cjs.OMProgressComponent; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ToolExecutionComponentEnhanced", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkSJX5BELK_cjs.ToolExecutionComponentEnhanced; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "UserMessageComponent", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkSJX5BELK_cjs.UserMessageComponent; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createTUIState", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkSJX5BELK_cjs.createTUIState; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "formatOMStatus", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkSJX5BELK_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-HKV5K3LL.js';
|
|
2
2
|
export { applyThemeMode, getEditorTheme, getMarkdownTheme, getThemeMode, mastra, mastraBrand, theme } from './chunk-BHG6IWIR.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.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
"vscode-jsonrpc": "latest",
|
|
67
67
|
"vscode-languageserver-protocol": "latest",
|
|
68
68
|
"zod": "^4.0.0",
|
|
69
|
-
"@mastra/core": "1.13.
|
|
70
|
-
"@mastra/mcp": "1.2.1",
|
|
69
|
+
"@mastra/core": "1.13.1",
|
|
71
70
|
"@mastra/libsql": "1.7.0",
|
|
72
|
-
"@mastra/
|
|
73
|
-
"@mastra/
|
|
71
|
+
"@mastra/pg": "1.8.0",
|
|
72
|
+
"@mastra/memory": "1.8.1",
|
|
73
|
+
"@mastra/mcp": "1.2.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"typescript": "^5.9.3",
|
|
84
84
|
"typescript-eslint": "^8.51.0",
|
|
85
85
|
"vitest": "4.0.18",
|
|
86
|
-
"@internal/
|
|
87
|
-
"@internal/
|
|
86
|
+
"@internal/types-builder": "0.0.45",
|
|
87
|
+
"@internal/lint": "0.0.70"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": ">=22.13.0"
|