mastracode 0.50.0-alpha.4 → 0.50.0-alpha.5
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 +13 -0
- package/dist/cli.cjs +2 -2
- package/dist/cli.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/tui/commands/api-keys.d.ts.map +1 -1
- package/dist/{tui-PyPuLW2f.js → tui-D3-sm0tJ.js} +2 -4
- package/dist/{tui-PyPuLW2f.js.map → tui-D3-sm0tJ.js.map} +1 -1
- package/dist/{tui-B-59_uP4.cjs → tui-rcNn3TF6.cjs} +2 -4
- package/dist/{tui-B-59_uP4.cjs.map → tui-rcNn3TF6.cjs.map} +1 -1
- package/dist/tui.cjs +1 -1
- package/dist/tui.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# mastracode
|
|
2
2
|
|
|
3
|
+
## 0.50.0-alpha.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Deleting a saved key in `/api-keys` now goes back to the key from your environment if the saved key overrode one, instead of leaving the provider without a key. ([#29432](https://github.com/mastra-ai/mastra/pull/29432))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`ce86e53`](https://github.com/mastra-ai/mastra/commit/ce86e5327a0e835e26792e238dacc2c15a777bbf), [`bfda77d`](https://github.com/mastra-ai/mastra/commit/bfda77de9773c383f23101cde8f4ee12af8bff19), [`66c620c`](https://github.com/mastra-ai/mastra/commit/66c620c086cd4a5d12347a832057290a19cb9db2), [`b3801a7`](https://github.com/mastra-ai/mastra/commit/b3801a79d35090231cc6e57752739f0e238d5a01), [`964e1ba`](https://github.com/mastra-ai/mastra/commit/964e1baa24a5a383c86b9f3aa639d488e8742b13), [`ec8d9b8`](https://github.com/mastra-ai/mastra/commit/ec8d9b8e7b8c259d96e1f1b2f7be4082cf13fb57), [`311d434`](https://github.com/mastra-ai/mastra/commit/311d4342cc61e9f5a621625e28e483a892fda6bc), [`6644a82`](https://github.com/mastra-ai/mastra/commit/6644a8274880f217ed7930d2e115e68056a565d6), [`9730315`](https://github.com/mastra-ai/mastra/commit/9730315a2fddf51580599030916d43b17e1ca553), [`bf9212b`](https://github.com/mastra-ai/mastra/commit/bf9212b308c1d418cac64d54aa380dac324db1bd), [`9730315`](https://github.com/mastra-ai/mastra/commit/9730315a2fddf51580599030916d43b17e1ca553), [`6563e7a`](https://github.com/mastra-ai/mastra/commit/6563e7abfc5afa8ede43c668be018edeabe8db65), [`92f9771`](https://github.com/mastra-ai/mastra/commit/92f9771a0fefaf6e23541ac702850da63bfe4ef9)]:
|
|
10
|
+
- @mastra/core@1.83.0-alpha.5
|
|
11
|
+
- @mastra/code-sdk@1.19.0-alpha.5
|
|
12
|
+
- @mastra/memory@1.41.1-alpha.2
|
|
13
|
+
- @mastra/libsql@1.30.0-alpha.2
|
|
14
|
+
- @mastra/mcp@2.9.0-alpha.2
|
|
15
|
+
|
|
3
16
|
## 0.50.0-alpha.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_tui = require("./tui-
|
|
2
|
+
const require_tui = require("./tui-rcNn3TF6.cjs");
|
|
3
3
|
let _mastra_code_sdk = require("@mastra/code-sdk");
|
|
4
4
|
let child_process = require("child_process");
|
|
5
5
|
let fs = require("fs");
|
|
@@ -265,7 +265,7 @@ async function runUpdateCommand({ args = [], output = process.stdout, errorOutpu
|
|
|
265
265
|
}
|
|
266
266
|
// src/version.ts
|
|
267
267
|
function getCurrentVersion() {
|
|
268
|
-
return "0.50.0-alpha.
|
|
268
|
+
return "0.50.0-alpha.5";
|
|
269
269
|
}
|
|
270
270
|
/** Whether the invocation is `mastracode --version` or `mastracode -v`. */
|
|
271
271
|
function isVersionCommand(argv) {
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { D as closeActiveBrowser, E as activeBrowserGeneration, O as discardBrowser, T as TUI_CO_AUTHOR, _ as normalizeThemePreference, a as formatUpdateHeader, g as applyThemePreference, i as formatUpToDate, k as replaceActiveBrowser, n as formatInstallingLabel, o as formatUpdateOutcome, r as formatRegistryError, t as MastraTUI } from "./tui-
|
|
2
|
+
import { D as closeActiveBrowser, E as activeBrowserGeneration, O as discardBrowser, T as TUI_CO_AUTHOR, _ as normalizeThemePreference, a as formatUpdateHeader, g as applyThemePreference, i as formatUpToDate, k as replaceActiveBrowser, n as formatInstallingLabel, o as formatUpdateOutcome, r as formatRegistryError, t as MastraTUI } from "./tui-D3-sm0tJ.js";
|
|
3
3
|
import { createMastraCode, resolveSubagentsSetting } from "@mastra/code-sdk";
|
|
4
4
|
import { spawn } from "child_process";
|
|
5
5
|
import fs from "fs";
|
|
@@ -264,7 +264,7 @@ async function runUpdateCommand({ args = [], output = process.stdout, errorOutpu
|
|
|
264
264
|
}
|
|
265
265
|
// src/version.ts
|
|
266
266
|
function getCurrentVersion() {
|
|
267
|
-
return "0.50.0-alpha.
|
|
267
|
+
return "0.50.0-alpha.5";
|
|
268
268
|
}
|
|
269
269
|
/** Whether the invocation is `mastracode --version` or `mastracode -v`. */
|
|
270
270
|
function isVersionCommand(argv) {
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/api-keys.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,UAAU,YAAY;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC7C;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,mBAAmB,EACxB,MAAM,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,GACxE,YAAY,EAAE,CA2BhB;AAsBD,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../../src/tui/commands/api-keys.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,UAAU,YAAY;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC7C;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,mBAAmB,EACxB,MAAM,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,GACxE,YAAY,EAAE,CA2BhB;AAsBD,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CA+IlF"}
|
|
@@ -20297,9 +20297,7 @@ async function handleApiKeysCommand(ctx) {
|
|
|
20297
20297
|
if (data === "" || data === "\x1B[3~") {
|
|
20298
20298
|
const info = providers.find((p) => p.provider === currentSelection);
|
|
20299
20299
|
if (info?.source === "stored" && ctx.authStorage) {
|
|
20300
|
-
|
|
20301
|
-
ctx.authStorage.remove(`apikey:${info.provider}`);
|
|
20302
|
-
if (info.envVar && process.env[info.envVar] === storedKey) delete process.env[info.envVar];
|
|
20300
|
+
ctx.authStorage.removeStoredApiKey(info.provider);
|
|
20303
20301
|
ctx.state.controller.invalidateAvailableModelsCache();
|
|
20304
20302
|
models = await ctx.state.controller.listAvailableModels();
|
|
20305
20303
|
providers = getProviderList(ctx, models);
|
|
@@ -29848,4 +29846,4 @@ var MastraTUI = class MastraTUI {
|
|
|
29848
29846
|
};
|
|
29849
29847
|
export { mastraBrand as C, closeActiveBrowser as D, activeBrowserGeneration as E, discardBrowser as O, mastra as S, TUI_CO_AUTHOR as T, normalizeThemePreference as _, formatUpdateHeader as a, getMarkdownTheme as b, LoginDialogComponent as c, createTUIState as d, UserMessageComponent as f, applyThemePreference as g, AssistantMessageComponent as h, formatUpToDate as i, replaceActiveBrowser as k, OMProgressComponent as l, ModelSelectorComponent as m, formatInstallingLabel as n, formatUpdateOutcome as o, ToolExecutionComponentEnhanced as p, formatRegistryError as r, LoginSelectorComponent as s, MastraTUI as t, formatOMStatus as u, applyThemeMode as v, theme as w, getThemeMode as x, getEditorTheme as y };
|
|
29850
29848
|
|
|
29851
|
-
//# sourceMappingURL=tui-
|
|
29849
|
+
//# sourceMappingURL=tui-D3-sm0tJ.js.map
|