mastracode 0.32.4-alpha.0 → 0.32.4-alpha.3

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 CHANGED
@@ -1,5 +1,34 @@
1
1
  # mastracode
2
2
 
3
+ ## 0.32.4-alpha.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`1288cba`](https://github.com/mastra-ai/mastra/commit/1288cba09b8ab906dba38270c7e2a75400344a98), [`723aa54`](https://github.com/mastra-ai/mastra/commit/723aa5437106bdb708ae03c0ef6b77aa11291e73), [`723aa54`](https://github.com/mastra-ai/mastra/commit/723aa5437106bdb708ae03c0ef6b77aa11291e73), [`723aa54`](https://github.com/mastra-ai/mastra/commit/723aa5437106bdb708ae03c0ef6b77aa11291e73)]:
8
+ - @mastra/pg@1.18.1-alpha.0
9
+ - @mastra/code-sdk@1.1.1-alpha.3
10
+ - @mastra/core@1.55.0-alpha.3
11
+
12
+ ## 0.32.4-alpha.2
13
+
14
+ ### Patch Changes
15
+
16
+ - Extended Mastra Code's transient retry policy to cover provider server errors with up to 10 retries and exponential backoff starting at 500ms. ([#20393](https://github.com/mastra-ai/mastra/pull/20393))
17
+
18
+ - Fixed retry timing in Mastra Code so the TUI only shows a retry delay when a retry is actually scheduled. ([#20392](https://github.com/mastra-ai/mastra/pull/20392))
19
+
20
+ - Updated dependencies [[`7457af7`](https://github.com/mastra-ai/mastra/commit/7457af7d309fa4ba4d975904249c0d05ec32e6b7), [`55c9e24`](https://github.com/mastra-ai/mastra/commit/55c9e248c27c1d72b5bb7e94ea6b8a3999eee49f), [`07f5b4b`](https://github.com/mastra-ai/mastra/commit/07f5b4ba9d608d88865030732e580298296adf99)]:
21
+ - @mastra/code-sdk@1.1.1-alpha.2
22
+ - @mastra/core@1.55.0-alpha.2
23
+
24
+ ## 0.32.4-alpha.1
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`ba369f2`](https://github.com/mastra-ai/mastra/commit/ba369f2a0aaf998da0d6aa033d26f64f96bef8ac), [`dcfed93`](https://github.com/mastra-ai/mastra/commit/dcfed93e1e256c6abfa792cbb7ca836f5d0e8638), [`2876e15`](https://github.com/mastra-ai/mastra/commit/2876e15b4d2f616a3bc1ed3af57d546c268384ce), [`4137863`](https://github.com/mastra-ai/mastra/commit/4137863eaa35f430117d21d5dc1bf2f534e64339), [`4137863`](https://github.com/mastra-ai/mastra/commit/4137863eaa35f430117d21d5dc1bf2f534e64339), [`598080f`](https://github.com/mastra-ai/mastra/commit/598080f224edb3f0f5b801035b067fac50a56a03)]:
29
+ - @mastra/core@1.55.0-alpha.1
30
+ - @mastra/code-sdk@1.1.1-alpha.1
31
+
3
32
  ## 0.32.4-alpha.0
4
33
 
5
34
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_tui = require("./tui-C5q5G33a.cjs");
2
+ const require_tui = require("./tui-xkGTGJf2.cjs");
3
3
  let _mastra_code_sdk = require("@mastra/code-sdk");
4
4
  let fs = require("fs");
5
5
  fs = require_tui.__toESM(fs, 1);
@@ -13,7 +13,7 @@ let _mastra_code_sdk_utils_stdin_pipe = require("@mastra/code-sdk/utils/stdin-pi
13
13
  let _mastra_code_sdk_utils_thread_lock = require("@mastra/code-sdk/utils/thread-lock");
14
14
  //#region src/version.ts
15
15
  function getCurrentVersion() {
16
- return "0.32.4-alpha.0";
16
+ return "0.32.4-alpha.3";
17
17
  }
18
18
  //#endregion
19
19
  //#region src/main.ts
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { d as detectTerminalTheme, f as applyThemeMode, t as MastraTUI, v as restoreTerminalForeground } from "./tui-BYWi72-y.js";
2
+ import { d as detectTerminalTheme, f as applyThemeMode, t as MastraTUI, v as restoreTerminalForeground } from "./tui-DQZ5eq1o.js";
3
3
  import { createMastraCode } from "@mastra/code-sdk";
4
4
  import fs from "fs";
5
5
  import { createMastraCodeAnalytics } from "@mastra/code-sdk/analytics";
@@ -12,7 +12,7 @@ import { drainPipedStdin, reopenStdinFromTTY } from "@mastra/code-sdk/utils/stdi
12
12
  import { releaseAllThreadLocks } from "@mastra/code-sdk/utils/thread-lock";
13
13
  //#region src/version.ts
14
14
  function getCurrentVersion() {
15
- return "0.32.4-alpha.0";
15
+ return "0.32.4-alpha.3";
16
16
  }
17
17
  //#endregion
18
18
  //#region src/main.ts
@@ -3400,8 +3400,8 @@ function showFormattedError(state, event) {
3400
3400
  let errorText = `Error: ${parsed.message}`;
3401
3401
  if (parsed.detail && parsed.detail !== parsed.message) errorText += theme.fg("muted", ` (${parsed.detail})`);
3402
3402
  if (parsed.requestUrl) errorText += theme.fg("muted", ` [url: ${parsed.requestUrl}]`);
3403
- const retryable = "retryable" in event ? event.retryable : parsed.retryable;
3404
- const retryDelay = "retryDelay" in event ? event.retryDelay : parsed.retryDelay;
3403
+ const retryable = "error" in event && event.retryable === true;
3404
+ const retryDelay = "error" in event ? event.retryDelay : void 0;
3405
3405
  if (retryable && retryDelay) {
3406
3406
  const seconds = retryDelay / 1e3;
3407
3407
  const retryAttempt = "retryAttempt" in event ? event.retryAttempt : void 0;
@@ -21596,4 +21596,4 @@ var MastraTUI = class MastraTUI {
21596
21596
  //#endregion
21597
21597
  export { mastraBrand as _, OMProgressComponent as a, ToolExecutionComponentEnhanced as c, detectTerminalTheme as d, applyThemeMode as f, mastra as g, getThemeMode as h, LoginDialogComponent as i, AssistantMessageComponent as l, getMarkdownTheme as m, createTUIState as n, formatOMStatus as o, getEditorTheme as p, LoginSelectorComponent as r, UserMessageComponent as s, MastraTUI as t, ModelSelectorComponent as u, restoreTerminalForeground as v, theme as y };
21598
21598
 
21599
- //# sourceMappingURL=tui-BYWi72-y.js.map
21599
+ //# sourceMappingURL=tui-DQZ5eq1o.js.map