mastracode 0.29.0-alpha.4 → 0.29.0

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,48 @@
1
1
  # mastracode
2
2
 
3
+ ## 0.29.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Run the MastraCode web server through the Mastra CLI so `mastra dev`, `mastra build`, `mastra deploy`, and `mastra start` all serve the same API surface from `src/mastra/index.ts`. The separate hand-wired local server was removed, and the web UI is now hosted separately and talks to the API cross-origin. ([#18741](https://github.com/mastra-ai/mastra/pull/18741))
8
+
9
+ ### Patch Changes
10
+
11
+ - Improved MastraCode web syntax highlighting, switched the web UI to the shared Playground UI stylesheet, restored React Query-backed sidebar auth actions, reorganized the web UI internals into reusable UI and domain folders, added a React Query-backed Workspaces sidebar section for GitHub project worktrees, moved project/repository data loading onto React Query-backed domain hooks, and consolidated global keydown listeners behind a shared `useKeyDown` hook. ([#18851](https://github.com/mastra-ai/mastra/pull/18851))
12
+
13
+ - Added dedicated routes to the mastracode web UI: the chat now lives at /chat and signing in happens on a new /signin page. When web auth is enabled, signed-out visitors are redirected to /signin (instead of straight to the hosted login) and returned to where they were headed after signing in. The sidebar no longer shows a Sign in button; it only shows the signed-in identity and sign-out. ([#18912](https://github.com/mastra-ai/mastra/pull/18912))
14
+
15
+ The UI now reads a `window.__MASTRACODE_CONFIG__` runtime flag (injected by the Vite dev server from the WorkOS env vars) telling it whether auth is enabled, so it skips the `/auth/me` probe entirely when auth is disabled. All web UI fetches (auth, GitHub, project resolution) go through the injected API base URL so requests reach the backend when the dev frontend and server run on different ports, and deep-linking to /chat no longer serves raw module source from the dev server.
16
+
17
+ - Web UI overhaul: internal refactor plus skeleton loading states. ([#18983](https://github.com/mastra-ai/mastra/pull/18983))
18
+ - Loading states now render skeleton placeholders instead of loading text or blank screens (settings sections, directory picker, GitHub repo list, sidebar sign-in check, and route auth guards).
19
+ - Internal refactor with no user-facing behavior changes: prop drilling replaced with dedicated React contexts (project selection, chat session, overlays), the AppLayout/AppContent indirection dissolved into a slotted ChatLayout with chat-domain components (ChatHeader, ChatMessageList, ComposerPanel, ChatOverlays), sidebar sections consume contexts directly, and the relativeTime helper moved to a shared date module backed by date-fns.
20
+
21
+ - Updated dependencies [[`81e1ad4`](https://github.com/mastra-ai/mastra/commit/81e1ad440fd7ae0cd3b2977ae0c31eab0168efa7), [`b291760`](https://github.com/mastra-ai/mastra/commit/b291760df9d6c7e4fc72606c8f0a4af2cf6e946c), [`3ffb8b7`](https://github.com/mastra-ai/mastra/commit/3ffb8b720e90f5e6977129ec1f6707d43c2bebe0), [`6ef59fe`](https://github.com/mastra-ai/mastra/commit/6ef59fef1da52ed8da5fbb2a892c71cf4fb6c739), [`c606314`](https://github.com/mastra-ai/mastra/commit/c606314119db8ed69eaf20da2ba213a2fb6d6c21), [`4039488`](https://github.com/mastra-ai/mastra/commit/403948898af7293198d9e8b3e7fb47f623c78b94), [`29b7ea6`](https://github.com/mastra-ai/mastra/commit/29b7ea64e72b5523d5bdcbd34ee03d2b854d54e1), [`1d606ff`](https://github.com/mastra-ai/mastra/commit/1d606ff3570179d9ed43c90e8c2bf8d011e97bea), [`b2c9d70`](https://github.com/mastra-ai/mastra/commit/b2c9d70757207fb01a9069549e69b6f0d73a6636), [`a51c63d`](https://github.com/mastra-ai/mastra/commit/a51c63d8ee639e4daeba2a0be093efa6a1b5e52f), [`252f63d`](https://github.com/mastra-ai/mastra/commit/252f63d8fec723955adb2202be2f01a75ad0e69c), [`5ea76a7`](https://github.com/mastra-ai/mastra/commit/5ea76a723d966c72da9aa3ab30ae20276e049765), [`6445560`](https://github.com/mastra-ai/mastra/commit/6445560327045d20b239585fc63fed72e9ce36ec), [`82f0f43`](https://github.com/mastra-ai/mastra/commit/82f0f439600871ca2d20ab6fced2c68db1e42536), [`e2b9f33`](https://github.com/mastra-ai/mastra/commit/e2b9f33456fd638eca555f9466c6519d8d049666), [`10959d5`](https://github.com/mastra-ai/mastra/commit/10959d509d824f682d40ff96e05ee044aec3b0e5), [`26b593d`](https://github.com/mastra-ai/mastra/commit/26b593de99d5745e069994fab14f1e12f2db8c4c), [`c547a77`](https://github.com/mastra-ai/mastra/commit/c547a7729bdf64dfc2df29c965046c0712a18f10), [`b9b8599`](https://github.com/mastra-ai/mastra/commit/b9b85993050b3cc50b2651d2a372e4f6b96a5927), [`f6e7bb3`](https://github.com/mastra-ai/mastra/commit/f6e7bb3ccffc4cab6ce6ea5c031c8cb528e5f101), [`a0085fa`](https://github.com/mastra-ai/mastra/commit/a0085fa0934e52c37c8c8b3d75a6bb5cd199af36), [`4606ade`](https://github.com/mastra-ai/mastra/commit/4606adee3c79f83a743b2c523c6f8b34be9b3250), [`911281c`](https://github.com/mastra-ai/mastra/commit/911281c57893ba2630428bf88d0cd0c5101ce76f), [`a2ba369`](https://github.com/mastra-ai/mastra/commit/a2ba369e796dfab610f41c6875965b488272fa55), [`d889c04`](https://github.com/mastra-ai/mastra/commit/d889c046468a97ba9e90007dbca729b4fecf5db0), [`ffc3c17`](https://github.com/mastra-ai/mastra/commit/ffc3c17274ea17c11aa6f73d3140649cd7fc8abc), [`81542c1`](https://github.com/mastra-ai/mastra/commit/81542c1835c35bc32f2ce4fa9136ee11993cd299), [`3908e53`](https://github.com/mastra-ai/mastra/commit/3908e53ce04bbea04f5e0c097d7aa298c35fabee), [`3908e53`](https://github.com/mastra-ai/mastra/commit/3908e53ce04bbea04f5e0c097d7aa298c35fabee), [`3908e53`](https://github.com/mastra-ai/mastra/commit/3908e53ce04bbea04f5e0c097d7aa298c35fabee), [`3908e53`](https://github.com/mastra-ai/mastra/commit/3908e53ce04bbea04f5e0c097d7aa298c35fabee), [`3908e53`](https://github.com/mastra-ai/mastra/commit/3908e53ce04bbea04f5e0c097d7aa298c35fabee), [`cb24ce7`](https://github.com/mastra-ai/mastra/commit/cb24ce76bd16ca88eb6a963f6277f8780e703029), [`02705fd`](https://github.com/mastra-ai/mastra/commit/02705fd2f5a9062210d64ea061adeeb10dc9452e), [`ae51e81`](https://github.com/mastra-ai/mastra/commit/ae51e818825582d42500338dfc1929a082eff0ba), [`6f304ef`](https://github.com/mastra-ai/mastra/commit/6f304ef319e99725e884bdb8d3193c001b6e5964), [`5f9858f`](https://github.com/mastra-ai/mastra/commit/5f9858f791f1137ca7d52d23559fb4568f7a9026)]:
22
+ - @mastra/agent-browser@0.4.1
23
+ - @mastra/core@1.50.0
24
+ - @mastra/playground-ui@40.0.0
25
+ - @mastra/observability@1.16.0
26
+ - @mastra/react@1.2.3
27
+ - @mastra/client-js@1.31.0
28
+ - @mastra/server@1.50.0
29
+ - @mastra/pg@1.15.1
30
+ - @mastra/mcp@1.13.1
31
+ - @mastra/libsql@1.15.1
32
+ - @mastra/hono@1.5.5
33
+
34
+ ## 0.29.0-alpha.5
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [[`a0085fa`](https://github.com/mastra-ai/mastra/commit/a0085fa0934e52c37c8c8b3d75a6bb5cd199af36)]:
39
+ - @mastra/core@1.50.0-alpha.5
40
+ - @mastra/client-js@1.31.0-alpha.5
41
+ - @mastra/react@1.2.3-alpha.5
42
+ - @mastra/playground-ui@40.0.0-alpha.5
43
+ - @mastra/server@1.50.0-alpha.5
44
+ - @mastra/hono@1.5.5-alpha.5
45
+
3
46
  ## 0.29.0-alpha.4
4
47
 
5
48
  ### Patch Changes
@@ -1206,7 +1206,7 @@ function getInstallCommand(pm, version) {
1206
1206
  }
1207
1207
  function getCurrentVersion() {
1208
1208
  {
1209
- return "0.29.0-alpha.4";
1209
+ return "0.29.0";
1210
1210
  }
1211
1211
  }
1212
1212
  async function fetchLatestVersion() {
@@ -18346,7 +18346,7 @@ function inertSession() {
18346
18346
  };
18347
18347
  }
18348
18348
  function resolveAsset(name) {
18349
- const here = path4.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-BO46ZLRI.cjs', document.baseURI).href))));
18349
+ const here = path4.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-GOW2B6VG.cjs', document.baseURI).href))));
18350
18350
  const candidates = [
18351
18351
  path4.join(here, name),
18352
18352
  // dev: src/tui/voice/native/<name>
@@ -21825,5 +21825,5 @@ exports.createTUIState = createTUIState;
21825
21825
  exports.detectTerminalTheme = detectTerminalTheme;
21826
21826
  exports.formatOMStatus = formatOMStatus;
21827
21827
  exports.getCurrentVersion = getCurrentVersion;
21828
- //# sourceMappingURL=chunk-BO46ZLRI.cjs.map
21829
- //# sourceMappingURL=chunk-BO46ZLRI.cjs.map
21828
+ //# sourceMappingURL=chunk-GOW2B6VG.cjs.map
21829
+ //# sourceMappingURL=chunk-GOW2B6VG.cjs.map