@mastra/server 1.23.1-alpha.0 → 1.24.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/{chunk-UHWF2UKO.cjs → chunk-73MTRRUV.cjs} +652 -468
  3. package/dist/chunk-73MTRRUV.cjs.map +1 -0
  4. package/dist/{chunk-IGUQV25I.js → chunk-7K4TRBNS.js} +10 -4
  5. package/dist/chunk-7K4TRBNS.js.map +1 -0
  6. package/dist/{chunk-4HMKXB3Q.js → chunk-7X3JCQ5P.js} +5 -5
  7. package/dist/{chunk-4HMKXB3Q.js.map → chunk-7X3JCQ5P.js.map} +1 -1
  8. package/dist/{chunk-NNXDDV3V.cjs → chunk-J5Q6M3YG.cjs} +20 -20
  9. package/dist/{chunk-NNXDDV3V.cjs.map → chunk-J5Q6M3YG.cjs.map} +1 -1
  10. package/dist/{chunk-KU4DBPKJ.cjs → chunk-JYST3GVF.cjs} +10 -4
  11. package/dist/chunk-JYST3GVF.cjs.map +1 -0
  12. package/dist/{chunk-MO3ZKWYY.js → chunk-LY7C6PVI.js} +654 -470
  13. package/dist/chunk-LY7C6PVI.js.map +1 -0
  14. package/dist/docs/SKILL.md +1 -1
  15. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  16. package/dist/{observational-memory-OVRHDQRG-OCHV6RZ7.cjs → observational-memory-MBL257AG-G63WEV2Z.cjs} +26 -26
  17. package/dist/{observational-memory-OVRHDQRG-OCHV6RZ7.cjs.map → observational-memory-MBL257AG-G63WEV2Z.cjs.map} +1 -1
  18. package/dist/{observational-memory-OVRHDQRG-RC3PRA65.js → observational-memory-MBL257AG-K6HOZK3U.js} +3 -3
  19. package/dist/{observational-memory-OVRHDQRG-RC3PRA65.js.map → observational-memory-MBL257AG-K6HOZK3U.js.map} +1 -1
  20. package/dist/server/handlers/agent-builder.cjs +16 -16
  21. package/dist/server/handlers/agent-builder.js +1 -1
  22. package/dist/server/handlers/agent-versions.cjs +8 -8
  23. package/dist/server/handlers/agent-versions.d.ts.map +1 -1
  24. package/dist/server/handlers/agent-versions.js +1 -1
  25. package/dist/server/handlers.cjs +2 -2
  26. package/dist/server/handlers.js +1 -1
  27. package/dist/server/server-adapter/index.cjs +24 -24
  28. package/dist/server/server-adapter/index.js +2 -2
  29. package/package.json +8 -8
  30. package/dist/chunk-IGUQV25I.js.map +0 -1
  31. package/dist/chunk-KU4DBPKJ.cjs.map +0 -1
  32. package/dist/chunk-MO3ZKWYY.js.map +0 -1
  33. package/dist/chunk-UHWF2UKO.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # @mastra/server
2
2
 
3
+ ## 1.24.0
4
+
5
+ ### Patch Changes
6
+
7
+ - **Fixed publishing older agent versions** ([#15154](https://github.com/mastra-ai/mastra/pull/15154))
8
+
9
+ Fixed agent editor to allow publishing older read-only versions. Previously, the Publish button was disabled when viewing a previous version. Now a "Publish This Version" button appears, enabling users to set any older version as the published version.
10
+
11
+ **Fixed Publish button being clickable without a saved draft**
12
+
13
+ The Publish button is now disabled until a draft version is saved. Previously, making edits would enable the Publish button even without a saved draft, which caused an error when clicked.
14
+
15
+ **Eliminated spurious 404 error logs for code-only agents**
16
+
17
+ The agent versions endpoint now checks both code-registered and stored agents before returning 404, and the frontend conditionally fetches stored agent details only when versions exist. This prevents noisy error logs when navigating to the editor for agents that haven't been published yet.
18
+
19
+ **Changed editor sections to be collapsed by default**
20
+
21
+ The System Prompt, Tools, and Variables sections in the agent editor are now collapsed by default when navigating to the editor page.
22
+
23
+ - Fixed the Responses API to use the agent default model when create requests omit model. ([#15140](https://github.com/mastra-ai/mastra/pull/15140))
24
+
25
+ - Updated dependencies [[`8db7663`](https://github.com/mastra-ai/mastra/commit/8db7663c9a9c735828094c359d2e327fd4f8fba3), [`153e864`](https://github.com/mastra-ai/mastra/commit/153e86476b425db7cd0dc8490050096e92964a38), [`715710d`](https://github.com/mastra-ai/mastra/commit/715710d12fa47cf88e09d41f13843eddc29327b0), [`378c6c4`](https://github.com/mastra-ai/mastra/commit/378c6c4755726e8d8cf83a14809b350b90d46c62), [`9f91fd5`](https://github.com/mastra-ai/mastra/commit/9f91fd538ab2a44f8cc740bcad8e51205f74fbea), [`ba6fa9c`](https://github.com/mastra-ai/mastra/commit/ba6fa9cc0f3e1912c49fd70d4c3bb8c44903ddaa)]:
26
+ - @mastra/core@1.24.0
27
+
28
+ ## 1.24.0-alpha.1
29
+
30
+ ### Patch Changes
31
+
32
+ - **Fixed publishing older agent versions** ([#15154](https://github.com/mastra-ai/mastra/pull/15154))
33
+
34
+ Fixed agent editor to allow publishing older read-only versions. Previously, the Publish button was disabled when viewing a previous version. Now a "Publish This Version" button appears, enabling users to set any older version as the published version.
35
+
36
+ **Fixed Publish button being clickable without a saved draft**
37
+
38
+ The Publish button is now disabled until a draft version is saved. Previously, making edits would enable the Publish button even without a saved draft, which caused an error when clicked.
39
+
40
+ **Eliminated spurious 404 error logs for code-only agents**
41
+
42
+ The agent versions endpoint now checks both code-registered and stored agents before returning 404, and the frontend conditionally fetches stored agent details only when versions exist. This prevents noisy error logs when navigating to the editor for agents that haven't been published yet.
43
+
44
+ **Changed editor sections to be collapsed by default**
45
+
46
+ The System Prompt, Tools, and Variables sections in the agent editor are now collapsed by default when navigating to the editor page.
47
+
48
+ - Updated dependencies [[`8db7663`](https://github.com/mastra-ai/mastra/commit/8db7663c9a9c735828094c359d2e327fd4f8fba3), [`715710d`](https://github.com/mastra-ai/mastra/commit/715710d12fa47cf88e09d41f13843eddc29327b0), [`378c6c4`](https://github.com/mastra-ai/mastra/commit/378c6c4755726e8d8cf83a14809b350b90d46c62), [`9f91fd5`](https://github.com/mastra-ai/mastra/commit/9f91fd538ab2a44f8cc740bcad8e51205f74fbea), [`ba6fa9c`](https://github.com/mastra-ai/mastra/commit/ba6fa9cc0f3e1912c49fd70d4c3bb8c44903ddaa)]:
49
+ - @mastra/core@1.24.0-alpha.1
50
+
3
51
  ## 1.23.1-alpha.0
4
52
 
5
53
  ### Patch Changes