@mastra/deployer 0.24.0 → 1.0.0-beta.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 (89) hide show
  1. package/CHANGELOG.md +230 -95
  2. package/dist/build/analyze.cjs +2 -2
  3. package/dist/build/analyze.js +1 -1
  4. package/dist/build/bundler.cjs +3 -3
  5. package/dist/build/bundler.js +1 -1
  6. package/dist/build/index.cjs +10 -15
  7. package/dist/build/index.d.ts +0 -1
  8. package/dist/build/index.d.ts.map +1 -1
  9. package/dist/build/index.js +3 -4
  10. package/dist/bundler/index.cjs +2 -2
  11. package/dist/bundler/index.d.ts +2 -2
  12. package/dist/bundler/index.d.ts.map +1 -1
  13. package/dist/bundler/index.js +1 -1
  14. package/dist/{chunk-OART5HV7.cjs → chunk-AQAOWLJJ.cjs} +29 -124
  15. package/dist/chunk-AQAOWLJJ.cjs.map +1 -0
  16. package/dist/{chunk-IAEJ3C3J.cjs → chunk-C74EXQSL.cjs} +12 -12
  17. package/dist/chunk-C74EXQSL.cjs.map +1 -0
  18. package/dist/{chunk-CVRN2K4O.js → chunk-H3LLQ2MW.js} +12 -12
  19. package/dist/chunk-H3LLQ2MW.js.map +1 -0
  20. package/dist/{chunk-FD5X42ZU.js → chunk-HQJR52M7.js} +4 -4
  21. package/dist/{chunk-FD5X42ZU.js.map → chunk-HQJR52M7.js.map} +1 -1
  22. package/dist/{chunk-NSINCI76.cjs → chunk-IL2VLNIJ.cjs} +9 -9
  23. package/dist/{chunk-NSINCI76.cjs.map → chunk-IL2VLNIJ.cjs.map} +1 -1
  24. package/dist/{chunk-XHLN6E4D.js → chunk-OFUWEVGF.js} +3 -3
  25. package/dist/{chunk-XHLN6E4D.js.map → chunk-OFUWEVGF.js.map} +1 -1
  26. package/dist/{chunk-Z546LAA6.cjs → chunk-TDWIGFVF.cjs} +14 -14
  27. package/dist/{chunk-Z546LAA6.cjs.map → chunk-TDWIGFVF.cjs.map} +1 -1
  28. package/dist/{chunk-VDRZB7JQ.js → chunk-WBAWUM7Z.js} +23 -116
  29. package/dist/chunk-WBAWUM7Z.js.map +1 -0
  30. package/dist/index.cjs +5 -5
  31. package/dist/index.js +2 -2
  32. package/dist/server/handlers/health.d.ts +5 -0
  33. package/dist/server/handlers/health.d.ts.map +1 -0
  34. package/dist/server/handlers/prompt.d.ts.map +1 -1
  35. package/dist/server/handlers/routes/agent-builder/handlers.d.ts +5 -2
  36. package/dist/server/handlers/routes/agent-builder/handlers.d.ts.map +1 -1
  37. package/dist/server/handlers/routes/agent-builder/router.d.ts.map +1 -1
  38. package/dist/server/handlers/routes/agents/handlers.d.ts +21 -143
  39. package/dist/server/handlers/routes/agents/handlers.d.ts.map +1 -1
  40. package/dist/server/handlers/routes/agents/router.d.ts.map +1 -1
  41. package/dist/server/handlers/routes/logs/handlers.d.ts +3 -3
  42. package/dist/server/handlers/routes/logs/handlers.d.ts.map +1 -1
  43. package/dist/server/handlers/routes/mcp/handlers.d.ts +1 -1
  44. package/dist/server/handlers/routes/mcp/handlers.d.ts.map +1 -1
  45. package/dist/server/handlers/routes/memory/handlers.d.ts +2 -4
  46. package/dist/server/handlers/routes/memory/handlers.d.ts.map +1 -1
  47. package/dist/server/handlers/routes/memory/router.d.ts.map +1 -1
  48. package/dist/server/handlers/routes/observability/handlers.d.ts +3 -3
  49. package/dist/server/handlers/routes/observability/handlers.d.ts.map +1 -1
  50. package/dist/server/handlers/routes/observability/router.d.ts.map +1 -1
  51. package/dist/server/handlers/routes/scores/handlers.d.ts +8 -6
  52. package/dist/server/handlers/routes/scores/handlers.d.ts.map +1 -1
  53. package/dist/server/handlers/routes/tools/handlers.d.ts +1 -1
  54. package/dist/server/handlers/routes/tools/handlers.d.ts.map +1 -1
  55. package/dist/server/handlers/routes/workflows/handlers.d.ts +2 -4
  56. package/dist/server/handlers/routes/workflows/handlers.d.ts.map +1 -1
  57. package/dist/server/handlers/routes/workflows/router.d.ts.map +1 -1
  58. package/dist/server/handlers/utils/query-parsers.d.ts +15 -0
  59. package/dist/server/handlers/utils/query-parsers.d.ts.map +1 -1
  60. package/dist/server/index.cjs +1207 -1559
  61. package/dist/server/index.cjs.map +1 -1
  62. package/dist/server/index.d.ts +2 -2
  63. package/dist/server/index.d.ts.map +1 -1
  64. package/dist/server/index.js +1214 -1566
  65. package/dist/server/index.js.map +1 -1
  66. package/dist/server/welcome.d.ts +1 -1
  67. package/dist/server/welcome.d.ts.map +1 -1
  68. package/package.json +11 -15
  69. package/dist/build/babel/remove-all-options-telemetry.d.ts +0 -5
  70. package/dist/build/babel/remove-all-options-telemetry.d.ts.map +0 -1
  71. package/dist/build/customInstrumentation.d.ts +0 -10
  72. package/dist/build/customInstrumentation.d.ts.map +0 -1
  73. package/dist/build/telemetry.d.ts +0 -8
  74. package/dist/build/telemetry.d.ts.map +0 -1
  75. package/dist/chunk-AJX72IGP.cjs +0 -28
  76. package/dist/chunk-AJX72IGP.cjs.map +0 -1
  77. package/dist/chunk-B2Q76NIL.js +0 -26
  78. package/dist/chunk-B2Q76NIL.js.map +0 -1
  79. package/dist/chunk-CVRN2K4O.js.map +0 -1
  80. package/dist/chunk-IAEJ3C3J.cjs.map +0 -1
  81. package/dist/chunk-OART5HV7.cjs.map +0 -1
  82. package/dist/chunk-VDRZB7JQ.js.map +0 -1
  83. package/dist/server/handlers/routes/telemetry/handlers.d.ts +0 -4
  84. package/dist/server/handlers/routes/telemetry/handlers.d.ts.map +0 -1
  85. package/dist/server/handlers/routes/telemetry/router.d.ts +0 -3
  86. package/dist/server/handlers/routes/telemetry/router.d.ts.map +0 -1
  87. package/dist/server/handlers/routes/workflows/legacyWorkflows.d.ts +0 -11
  88. package/dist/server/handlers/routes/workflows/legacyWorkflows.d.ts.map +0 -1
  89. package/dist/templates/instrumentation-template.js +0 -172
package/CHANGELOG.md CHANGED
@@ -1,174 +1,309 @@
1
1
  # @mastra/deployer
2
2
 
3
- ## 0.24.0
3
+ ## 1.0.0-beta.0
4
4
 
5
- ### Minor Changes
5
+ ### Major Changes
6
6
 
7
- - Update peer dependencies to match core package version bump (0.23.4) ([#9487](https://github.com/mastra-ai/mastra/pull/9487))
7
+ - Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
8
8
 
9
- ### Patch Changes
9
+ - Every Mastra primitive (agent, MCPServer, workflow, tool, processor, scorer, and vector) now has a get, list, and add method associated with it. Each primitive also now requires an id to be set. ([#9675](https://github.com/mastra-ai/mastra/pull/9675))
10
10
 
11
- - update peerdeps ([`5ca1cca`](https://github.com/mastra-ai/mastra/commit/5ca1ccac61ffa7141e6d9fa8f22d3ad4d03bf5dc))
11
+ Primitives that are added to other primitives are also automatically added to the Mastra instance
12
12
 
13
- - Improve analyze recursion in bundler when using monorepos ([#9520](https://github.com/mastra-ai/mastra/pull/9520))
13
+ - Update handlers to use `listWorkflowRuns` instead of `getWorkflowRuns`. Fix type names from `StoragelistThreadsByResourceIdInput/Output` to `StorageListThreadsByResourceIdInput/Output`. ([#9507](https://github.com/mastra-ai/mastra/pull/9507))
14
14
 
15
- - Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9487](https://github.com/mastra-ai/mastra/pull/9487))
15
+ - **BREAKING:** Remove `getMessagesPaginated()` and add `perPage: false` support ([#9670](https://github.com/mastra-ai/mastra/pull/9670))
16
16
 
17
- - Make sure external deps are built with side-effects. Fixes an issue with reflect-metadata #7328 ([#9733](https://github.com/mastra-ai/mastra/pull/9733))
17
+ Removes deprecated `getMessagesPaginated()` method. The `listMessages()` API and score handlers now support `perPage: false` to fetch all records without pagination limits.
18
18
 
19
- - Remove unused /model-providers API ([#9554](https://github.com/mastra-ai/mastra/pull/9554))
19
+ **Storage changes:**
20
+ - `StoragePagination.perPage` type changed from `number` to `number | false`
21
+ - All storage implementations support `perPage: false`:
22
+ - Memory: `listMessages()`
23
+ - Scores: `listScoresBySpan()`, `listScoresByRunId()`, `listScoresByExecutionId()`
24
+ - HTTP query parser accepts `"false"` string (e.g., `?perPage=false`)
20
25
 
21
- - Fix undefined runtimeContext using memory from playground ([#9548](https://github.com/mastra-ai/mastra/pull/9548))
26
+ **Memory changes:**
27
+ - `memory.query()` parameter type changed from `StorageGetMessagesArg` to `StorageListMessagesInput`
28
+ - Uses flat parameters (`page`, `perPage`, `include`, `filter`, `vectorSearchString`) instead of `selectBy` object
22
29
 
23
- - Add readable-streams to global externals, not compatible with CJS compilation ([#9738](https://github.com/mastra-ai/mastra/pull/9738))
30
+ **Stricter validation:**
31
+ - `listMessages()` requires non-empty, non-whitespace `threadId` (throws error instead of returning empty results)
24
32
 
25
- - fix: add /api route to default public routes to allow unauthenticated ([#9731](https://github.com/mastra-ai/mastra/pull/9731))
26
- access
33
+ **Migration:**
27
34
 
28
- The /api route was returning 401 instead of 200 because it was being caught
29
- by the /api/_ protected pattern. Adding it to the default public routes
30
- ensures the root API endpoint is accessible without authentication while
31
- keeping /api/_ routes protected.
35
+ ```typescript
36
+ // Storage/Memory: Replace getMessagesPaginated with listMessages
37
+ - storage.getMessagesPaginated({ threadId, selectBy: { pagination: { page: 0, perPage: 20 } } })
38
+ + storage.listMessages({ threadId, page: 0, perPage: 20 })
39
+ + storage.listMessages({ threadId, page: 0, perPage: false }) // Fetch all
40
+
41
+ // Memory: Replace selectBy with flat parameters
42
+ - memory.query({ threadId, selectBy: { last: 20, include: [...] } })
43
+ + memory.query({ threadId, perPage: 20, include: [...] })
44
+
45
+ // Client SDK
46
+ - thread.getMessagesPaginated({ selectBy: { pagination: { page: 0 } } })
47
+ + thread.listMessages({ page: 0, perPage: 20 })
48
+ ```
32
49
 
33
- - Updated dependencies [[`5ca1cca`](https://github.com/mastra-ai/mastra/commit/5ca1ccac61ffa7141e6d9fa8f22d3ad4d03bf5dc), [`6d7e90d`](https://github.com/mastra-ai/mastra/commit/6d7e90db09713e6250f4d6c3d3cff1b4740e50f9), [`23c2614`](https://github.com/mastra-ai/mastra/commit/23c26140fdbf04b8c59e8d7d52106d67dad962ec), [`f78b908`](https://github.com/mastra-ai/mastra/commit/f78b9080e11af765969b36b4a619761056030840), [`23c2614`](https://github.com/mastra-ai/mastra/commit/23c26140fdbf04b8c59e8d7d52106d67dad962ec), [`186b29b`](https://github.com/mastra-ai/mastra/commit/186b29bd51ac1dcc24ad3825fdb7207a6d6391a6), [`e365eda`](https://github.com/mastra-ai/mastra/commit/e365eda45795b43707310531cac1e2ce4e5a0712)]:
34
- - @mastra/server@0.24.0
35
- - @mastra/core@0.24.0
50
+ - # Major Changes ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
36
51
 
37
- ## 0.24.0-alpha.0
52
+ ## Storage Layer
38
53
 
39
- ### Minor Changes
54
+ ### BREAKING: Removed `storage.getMessages()`
40
55
 
41
- - Update peer dependencies to match core package version bump (0.23.4) ([#9487](https://github.com/mastra-ai/mastra/pull/9487))
56
+ The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
42
57
 
43
- ### Patch Changes
58
+ **Migration:**
44
59
 
45
- - update peerdeps ([`5ca1cca`](https://github.com/mastra-ai/mastra/commit/5ca1ccac61ffa7141e6d9fa8f22d3ad4d03bf5dc))
60
+ ```typescript
61
+ // Before
62
+ const messages = await storage.getMessages({ threadId: 'thread-1' });
63
+
64
+ // After
65
+ const result = await storage.listMessages({
66
+ threadId: 'thread-1',
67
+ page: 0,
68
+ perPage: 50,
69
+ });
70
+ const messages = result.messages; // Access messages array
71
+ console.log(result.total); // Total count
72
+ console.log(result.hasMore); // Whether more pages exist
73
+ ```
46
74
 
47
- - Improve analyze recursion in bundler when using monorepos ([#9520](https://github.com/mastra-ai/mastra/pull/9520))
75
+ ### Message ordering default
48
76
 
49
- - Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9487](https://github.com/mastra-ai/mastra/pull/9487))
77
+ `listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
50
78
 
51
- - Make sure external deps are built with side-effects. Fixes an issue with reflect-metadata #7328 ([#9733](https://github.com/mastra-ai/mastra/pull/9733))
79
+ **To use DESC ordering (newest first):**
52
80
 
53
- - Remove unused /model-providers API ([#9554](https://github.com/mastra-ai/mastra/pull/9554))
81
+ ```typescript
82
+ const result = await storage.listMessages({
83
+ threadId: 'thread-1',
84
+ orderBy: { field: 'createdAt', direction: 'DESC' },
85
+ });
86
+ ```
54
87
 
55
- - Fix undefined runtimeContext using memory from playground ([#9548](https://github.com/mastra-ai/mastra/pull/9548))
88
+ ## Client SDK
56
89
 
57
- - Add readable-streams to global externals, not compatible with CJS compilation ([#9738](https://github.com/mastra-ai/mastra/pull/9738))
90
+ ### BREAKING: Renamed `client.getThreadMessages()` `client.listThreadMessages()`
58
91
 
59
- - fix: add /api route to default public routes to allow unauthenticated ([#9731](https://github.com/mastra-ai/mastra/pull/9731))
60
- access
92
+ **Migration:**
61
93
 
62
- The /api route was returning 401 instead of 200 because it was being caught
63
- by the /api/_ protected pattern. Adding it to the default public routes
64
- ensures the root API endpoint is accessible without authentication while
65
- keeping /api/_ routes protected.
94
+ ```typescript
95
+ // Before
96
+ const response = await client.getThreadMessages(threadId, { agentId });
66
97
 
67
- - Updated dependencies [[`5ca1cca`](https://github.com/mastra-ai/mastra/commit/5ca1ccac61ffa7141e6d9fa8f22d3ad4d03bf5dc), [`6d7e90d`](https://github.com/mastra-ai/mastra/commit/6d7e90db09713e6250f4d6c3d3cff1b4740e50f9), [`23c2614`](https://github.com/mastra-ai/mastra/commit/23c26140fdbf04b8c59e8d7d52106d67dad962ec), [`f78b908`](https://github.com/mastra-ai/mastra/commit/f78b9080e11af765969b36b4a619761056030840), [`23c2614`](https://github.com/mastra-ai/mastra/commit/23c26140fdbf04b8c59e8d7d52106d67dad962ec), [`186b29b`](https://github.com/mastra-ai/mastra/commit/186b29bd51ac1dcc24ad3825fdb7207a6d6391a6), [`e365eda`](https://github.com/mastra-ai/mastra/commit/e365eda45795b43707310531cac1e2ce4e5a0712)]:
68
- - @mastra/server@0.24.0-alpha.0
69
- - @mastra/core@0.24.0-alpha.0
98
+ // After
99
+ const response = await client.listThreadMessages(threadId, { agentId });
100
+ ```
70
101
 
71
- ## 0.23.3
102
+ The response format remains the same.
72
103
 
73
- ### Patch Changes
104
+ ## Type Changes
74
105
 
75
- - Make step optional in all resume APIs ([#9462](https://github.com/mastra-ai/mastra/pull/9462))
106
+ ### BREAKING: Removed `StorageGetMessagesArg` type
76
107
 
77
- - Make step optional in resumeStreamVNext API ([#9461](https://github.com/mastra-ai/mastra/pull/9461))
108
+ Use `StorageListMessagesInput` instead:
78
109
 
79
- - Updated dependencies [[`b55bbce`](https://github.com/mastra-ai/mastra/commit/b55bbce89404d35fdd967012dd503fae343d4c2d), [`d6cb18e`](https://github.com/mastra-ai/mastra/commit/d6cb18e189fd0ac95d4934cf0d6f2866876d1a2e), [`d0ecff7`](https://github.com/mastra-ai/mastra/commit/d0ecff793d5cd50408cd8d1d113f02e28d897a3d), [`e84a959`](https://github.com/mastra-ai/mastra/commit/e84a9592bfdec4f1c9fdf108c9d4ea4e2ee8f7e3), [`e742d37`](https://github.com/mastra-ai/mastra/commit/e742d371f24ef8059670cc05e9aee308eac068b9)]:
80
- - @mastra/server@0.23.3
81
- - @mastra/core@0.23.3
110
+ ```typescript
111
+ // Before
112
+ import type { StorageGetMessagesArg } from '@mastra/core';
82
113
 
83
- ## 0.23.3-alpha.0
114
+ // After
115
+ import type { StorageListMessagesInput } from '@mastra/core';
116
+ ```
84
117
 
85
- ### Patch Changes
118
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
86
119
 
87
- - Make step optional in all resume APIs ([#9462](https://github.com/mastra-ai/mastra/pull/9462))
120
+ - Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
88
121
 
89
- - Make step optional in resumeStreamVNext API ([#9461](https://github.com/mastra-ai/mastra/pull/9461))
122
+ - Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
90
123
 
91
- - Updated dependencies [[`b55bbce`](https://github.com/mastra-ai/mastra/commit/b55bbce89404d35fdd967012dd503fae343d4c2d), [`d6cb18e`](https://github.com/mastra-ai/mastra/commit/d6cb18e189fd0ac95d4934cf0d6f2866876d1a2e), [`d0ecff7`](https://github.com/mastra-ai/mastra/commit/d0ecff793d5cd50408cd8d1d113f02e28d897a3d), [`e84a959`](https://github.com/mastra-ai/mastra/commit/e84a9592bfdec4f1c9fdf108c9d4ea4e2ee8f7e3), [`e742d37`](https://github.com/mastra-ai/mastra/commit/e742d371f24ef8059670cc05e9aee308eac068b9)]:
92
- - @mastra/server@0.23.3-alpha.0
93
- - @mastra/core@0.23.3-alpha.0
124
+ - Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
94
125
 
95
- ## 0.23.2
126
+ - Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
96
127
 
97
- ### Patch Changes
128
+ - Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
98
129
 
99
- - Add exportConditions options to nodeResolve plugin to ensure proper handling of Node.js export condition resolution during production builds. ([#9394](https://github.com/mastra-ai/mastra/pull/9394))
130
+ - **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
100
131
 
101
- - Add better error handling during `mastra build` for `ERR_MODULE_NOT_FOUND` cases. ([#9338](https://github.com/mastra-ai/mastra/pull/9338))
132
+ This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
102
133
 
103
- - Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
104
- - @mastra/core@0.23.2
105
- - @mastra/server@0.23.2
134
+ ### What's Changed
135
+ - Removed legacy v1 watch event handlers and types
136
+ - Renamed `watch-v2` to `watch` throughout the codebase
137
+ - Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
138
+ - Removed `/watch` HTTP endpoints from server and deployer
139
+ - Removed `WorkflowWatchResult` and v1 `WatchEvent` types
106
140
 
107
- ## 0.23.2-alpha.1
141
+ - **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
108
142
 
109
- ### Patch Changes
143
+ All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
110
144
 
111
- - Updated dependencies [[`f57a81e`](https://github.com/mastra-ai/mastra/commit/f57a81e6ce644e45bf1c9618778cc54c50a84ad4), [`fc79af3`](https://github.com/mastra-ai/mastra/commit/fc79af3915d1c456729cbd753673b0c0564340d8), [`60bd45d`](https://github.com/mastra-ai/mastra/commit/60bd45de021f0dfbe6583928f6da5169cb5585ba), [`a30093d`](https://github.com/mastra-ai/mastra/commit/a30093de98c1836dcd5dfddf09649010712b8c95), [`e40d4d0`](https://github.com/mastra-ai/mastra/commit/e40d4d0a0971b4505e7c9de73c656066c7565653), [`ff16f9b`](https://github.com/mastra-ai/mastra/commit/ff16f9b9dbc701b26b6c4e9872f759f3880f9327), [`35e6cf7`](https://github.com/mastra-ai/mastra/commit/35e6cf722fef16ea0301eb9cf5a32fe9ccb12d22), [`30a2e36`](https://github.com/mastra-ai/mastra/commit/30a2e369485e0e59c4faa1d83c5635c2260b304c)]:
112
- - @mastra/core@0.23.2-alpha.1
113
- - @mastra/server@0.23.2-alpha.1
145
+ **Affected APIs:**
146
+ - `Memory.listThreadsByResourceId()`
147
+ - `Memory.listMessages()`
148
+ - `Storage.listWorkflowRuns()`
114
149
 
115
- ## 0.23.2-alpha.0
150
+ **Migration:**
116
151
 
117
- ### Patch Changes
152
+ ```typescript
153
+ // Before
154
+ await memory.listThreadsByResourceId({
155
+ resourceId: 'user-123',
156
+ offset: 20,
157
+ limit: 10,
158
+ });
159
+
160
+ // After
161
+ await memory.listThreadsByResourceId({
162
+ resourceId: 'user-123',
163
+ page: 2, // page = Math.floor(offset / limit)
164
+ perPage: 10,
165
+ });
166
+
167
+ // Before
168
+ await memory.listMessages({
169
+ threadId: 'thread-456',
170
+ offset: 20,
171
+ limit: 10,
172
+ });
173
+
174
+ // After
175
+ await memory.listMessages({
176
+ threadId: 'thread-456',
177
+ page: 2,
178
+ perPage: 10,
179
+ });
180
+
181
+ // Before
182
+ await storage.listWorkflowRuns({
183
+ workflowName: 'my-workflow',
184
+ offset: 20,
185
+ limit: 10,
186
+ });
187
+
188
+ // After
189
+ await storage.listWorkflowRuns({
190
+ workflowName: 'my-workflow',
191
+ page: 2,
192
+ perPage: 10,
193
+ });
194
+ ```
118
195
 
119
- - Add exportConditions options to nodeResolve plugin to ensure proper handling of Node.js export condition resolution during production builds. ([#9394](https://github.com/mastra-ai/mastra/pull/9394))
196
+ **Additional improvements:**
197
+ - Added validation for negative `page` values in all storage implementations
198
+ - Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
199
+ - Added reusable query parser utilities for consistent validation in handlers
200
+
201
+ - ```([#9709](https://github.com/mastra-ai/mastra/pull/9709))
202
+ import { Mastra } from '@mastra/core';
203
+ import { Observability } from '@mastra/observability'; // Explicit import
204
+
205
+ const mastra = new Mastra({
206
+ ...other_config,
207
+ observability: new Observability({
208
+ default: { enabled: true }
209
+ }) // Instance
210
+ });
211
+ ```
212
+
213
+ Instead of:
120
214
 
121
- - Add better error handling during `mastra build` for `ERR_MODULE_NOT_FOUND` cases. ([#9338](https://github.com/mastra-ai/mastra/pull/9338))
215
+ ```
216
+ import { Mastra } from '@mastra/core';
217
+ import '@mastra/observability/init'; // Explicit import
218
+
219
+ const mastra = new Mastra({
220
+ ...other_config,
221
+ observability: {
222
+ default: { enabled: true }
223
+ }
224
+ });
225
+ ```
122
226
 
123
- - Updated dependencies [[`2afd345`](https://github.com/mastra-ai/mastra/commit/2afd3450825b76e41f7973baddf13867ea042e40), [`eefc89e`](https://github.com/mastra-ai/mastra/commit/eefc89ee69f05bb71661473a807fc7dc03d56f17), [`0fe7adb`](https://github.com/mastra-ai/mastra/commit/0fe7adb0f20f59a6bb41f235d01f8b7a880ea6e7), [`a42e496`](https://github.com/mastra-ai/mastra/commit/a42e49686a7486e2e9e9397fa98e5ff7a71dc1b0), [`3670db7`](https://github.com/mastra-ai/mastra/commit/3670db7e8e798f9d65fac5bfb732134a1f26ba7b), [`fc843ff`](https://github.com/mastra-ai/mastra/commit/fc843ff4d1d149317b6324553ce5ad7972062a78)]:
124
- - @mastra/core@0.23.2-alpha.0
125
- - @mastra/server@0.23.2-alpha.0
227
+ Also renamed a bunch of:
228
+ - `Tracing` things to `Observability` things.
229
+ - `AI-` things to just things.
126
230
 
127
- ## 0.23.1
231
+ - Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
128
232
 
129
- ### Patch Changes
233
+ - Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
130
234
 
131
- - Fix peerdependencies ([`eb7c1c8`](https://github.com/mastra-ai/mastra/commit/eb7c1c8c592d8fb16dfd250e337d9cdc73c8d5de))
235
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
132
236
 
133
- - Updated dependencies [[`eb7c1c8`](https://github.com/mastra-ai/mastra/commit/eb7c1c8c592d8fb16dfd250e337d9cdc73c8d5de)]:
134
- - @mastra/server@0.23.1
135
- - @mastra/core@0.23.1
237
+ - moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
136
238
 
137
- ## 0.23.0
239
+ - Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
138
240
 
139
241
  ### Minor Changes
140
242
 
243
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
244
+
141
245
  - Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
142
246
 
143
- - Update peer dependencies to match core package version bump (0.22.3) ([#9192](https://github.com/mastra-ai/mastra/pull/9192))
247
+ - Add observeStream support for agent-builder template installation ([#9372](https://github.com/mastra-ai/mastra/pull/9372))
248
+ - Add observeStream, observeStreamVNext, observeStreamLegacy, and resumeStream methods to agent-builder client SDK
249
+ - Add corresponding server handlers and deployer routes for observe streaming
250
+ - Add tracingOptions parameter to existing agent-builder handlers for parity with workflows
251
+ - Update template installation processor to support both legacy and VNext streaming event formats
252
+
253
+ - Added /health endpoint for service monitoring ([#9142](https://github.com/mastra-ai/mastra/pull/9142))
254
+
255
+ - Update peer dependencies to match core package version bump (0.22.3) ([#9144](https://github.com/mastra-ai/mastra/pull/9144))
144
256
 
145
257
  ### Patch Changes
146
258
 
259
+ - dependencies updates: ([`77ff370`](https://github.com/mastra-ai/mastra/commit/77ff370186ba77955620c465fd2e95360e1947ea))
260
+ - Updated dependency [`@babel/core@^7.28.5` ↗︎](https://www.npmjs.com/package/@babel/core/v/7.28.5) (from `^7.28.4`, in `dependencies`)
261
+
262
+ - Make step optional in all resume APIs ([#9454](https://github.com/mastra-ai/mastra/pull/9454))
263
+
264
+ - Improve analyze recursion in bundler when using monorepos ([#9490](https://github.com/mastra-ai/mastra/pull/9490))
265
+
266
+ - Add exportConditions options to nodeResolve plugin to ensure proper handling of Node.js export condition resolution during production builds. ([#9394](https://github.com/mastra-ai/mastra/pull/9394))
267
+
147
268
  - Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
148
269
 
149
- - Fix error handling and serialization in agent streaming to ensure errors are consistently exposed and preserved. ([#9192](https://github.com/mastra-ai/mastra/pull/9192))
270
+ - Fix error handling and serialization in agent streaming to ensure errors are consistently exposed and preserved. ([#9144](https://github.com/mastra-ai/mastra/pull/9144))
150
271
 
151
- - Updated dependencies [[`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`2060766`](https://github.com/mastra-ai/mastra/commit/20607667bf78ea104cca3e15dfb93ae0b62c9d18), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3)]:
152
- - @mastra/core@0.23.0
153
- - @mastra/server@0.23.0
272
+ - Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
154
273
 
155
- ## 0.23.0-alpha.0
274
+ - Make sure external deps are built with side-effects. Fixes an issue with reflect-metadata #7328 ([#9714](https://github.com/mastra-ai/mastra/pull/9714))
156
275
 
157
- ### Minor Changes
276
+ - Simplify mastra intro doc template ([#9794](https://github.com/mastra-ai/mastra/pull/9794))
158
277
 
159
- - Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
278
+ - Use a shared `getAllToolPaths()` method from the bundler to discover tool paths. ([#9204](https://github.com/mastra-ai/mastra/pull/9204))
160
279
 
161
- - Update peer dependencies to match core package version bump (0.22.3) ([#9192](https://github.com/mastra-ai/mastra/pull/9192))
280
+ - Remove unused /model-providers API ([#9533](https://github.com/mastra-ai/mastra/pull/9533))
162
281
 
163
- ### Patch Changes
282
+ - Fix undefined runtimeContext using memory from playground ([#9328](https://github.com/mastra-ai/mastra/pull/9328))
164
283
 
165
- - Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
284
+ - Make step optional in resumeStreamVNext API ([#9453](https://github.com/mastra-ai/mastra/pull/9453))
285
+
286
+ - Add readable-streams to global externals, not compatible with CJS compilation ([#9735](https://github.com/mastra-ai/mastra/pull/9735))
287
+
288
+ - Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
289
+
290
+ - Add better error handling during `mastra build` for `ERR_MODULE_NOT_FOUND` cases. ([#9127](https://github.com/mastra-ai/mastra/pull/9127))
291
+
292
+ - Fix generate system prompt by updating deprecated function call. ([#9242](https://github.com/mastra-ai/mastra/pull/9242))
166
293
 
167
- - Fix error handling and serialization in agent streaming to ensure errors are consistently exposed and preserved. ([#9192](https://github.com/mastra-ai/mastra/pull/9192))
294
+ - Remove format from stream/generate ([#9577](https://github.com/mastra-ai/mastra/pull/9577))
295
+
296
+ - fix: add /api route to default public routes to allow unauthenticated ([#9662](https://github.com/mastra-ai/mastra/pull/9662))
297
+ access
298
+
299
+ The /api route was returning 401 instead of 200 because it was being caught
300
+ by the /api/_ protected pattern. Adding it to the default public routes
301
+ ensures the root API endpoint is accessible without authentication while
302
+ keeping /api/_ routes protected.
168
303
 
169
- - Updated dependencies [[`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`2060766`](https://github.com/mastra-ai/mastra/commit/20607667bf78ea104cca3e15dfb93ae0b62c9d18), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3)]:
170
- - @mastra/core@0.23.0-alpha.0
171
- - @mastra/server@0.23.0-alpha.0
304
+ - Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`ffd8f1b`](https://github.com/mastra-ai/mastra/commit/ffd8f1b904181c68fcbf5a1974e2b96a9303b042), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`f15fb34`](https://github.com/mastra-ai/mastra/commit/f15fb347b76581ef91a16770bc21e2d50dbe3864), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`70189fc`](https://github.com/mastra-ai/mastra/commit/70189fc9611c3be54e5e655910b672b21ddefb94), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`8e85939`](https://github.com/mastra-ai/mastra/commit/8e859393c1cda6ff3d11618ac1150ca6f68175b6), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
305
+ - @mastra/core@1.0.0-beta.0
306
+ - @mastra/server@1.0.0-beta.0
172
307
 
173
308
  ## 0.22.2
174
309
 
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkIAEJ3C3J_cjs = require('../chunk-IAEJ3C3J.cjs');
3
+ var chunkC74EXQSL_cjs = require('../chunk-C74EXQSL.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "analyzeBundle", {
8
8
  enumerable: true,
9
- get: function () { return chunkIAEJ3C3J_cjs.analyzeBundle; }
9
+ get: function () { return chunkC74EXQSL_cjs.analyzeBundle; }
10
10
  });
11
11
  //# sourceMappingURL=analyze.cjs.map
12
12
  //# sourceMappingURL=analyze.cjs.map
@@ -1,3 +1,3 @@
1
- export { analyzeBundle } from '../chunk-CVRN2K4O.js';
1
+ export { analyzeBundle } from '../chunk-H3LLQ2MW.js';
2
2
  //# sourceMappingURL=analyze.js.map
3
3
  //# sourceMappingURL=analyze.js.map
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkNSINCI76_cjs = require('../chunk-NSINCI76.cjs');
3
+ var chunkIL2VLNIJ_cjs = require('../chunk-IL2VLNIJ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createBundler", {
8
8
  enumerable: true,
9
- get: function () { return chunkNSINCI76_cjs.createBundler; }
9
+ get: function () { return chunkIL2VLNIJ_cjs.createBundler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getInputOptions", {
12
12
  enumerable: true,
13
- get: function () { return chunkNSINCI76_cjs.getInputOptions; }
13
+ get: function () { return chunkIL2VLNIJ_cjs.getInputOptions; }
14
14
  });
15
15
  //# sourceMappingURL=bundler.cjs.map
16
16
  //# sourceMappingURL=bundler.cjs.map
@@ -1,3 +1,3 @@
1
- export { createBundler, getInputOptions } from '../chunk-XHLN6E4D.js';
1
+ export { createBundler, getInputOptions } from '../chunk-OFUWEVGF.js';
2
2
  //# sourceMappingURL=bundler.js.map
3
3
  //# sourceMappingURL=bundler.js.map
@@ -1,44 +1,39 @@
1
1
  'use strict';
2
2
 
3
- var chunkZ546LAA6_cjs = require('../chunk-Z546LAA6.cjs');
4
- var chunkAJX72IGP_cjs = require('../chunk-AJX72IGP.cjs');
5
- var chunkNSINCI76_cjs = require('../chunk-NSINCI76.cjs');
6
- var chunkIAEJ3C3J_cjs = require('../chunk-IAEJ3C3J.cjs');
3
+ var chunkTDWIGFVF_cjs = require('../chunk-TDWIGFVF.cjs');
4
+ var chunkIL2VLNIJ_cjs = require('../chunk-IL2VLNIJ.cjs');
5
+ var chunkC74EXQSL_cjs = require('../chunk-C74EXQSL.cjs');
7
6
  var chunk3JYRSECU_cjs = require('../chunk-3JYRSECU.cjs');
8
7
 
9
8
 
10
9
 
11
10
  Object.defineProperty(exports, "createWatcher", {
12
11
  enumerable: true,
13
- get: function () { return chunkZ546LAA6_cjs.createWatcher; }
12
+ get: function () { return chunkTDWIGFVF_cjs.createWatcher; }
14
13
  });
15
14
  Object.defineProperty(exports, "getServerOptions", {
16
15
  enumerable: true,
17
- get: function () { return chunkZ546LAA6_cjs.getServerOptions; }
16
+ get: function () { return chunkTDWIGFVF_cjs.getServerOptions; }
18
17
  });
19
18
  Object.defineProperty(exports, "getWatcherInputOptions", {
20
19
  enumerable: true,
21
- get: function () { return chunkZ546LAA6_cjs.getInputOptions; }
22
- });
23
- Object.defineProperty(exports, "writeTelemetryConfig", {
24
- enumerable: true,
25
- get: function () { return chunkAJX72IGP_cjs.writeTelemetryConfig; }
20
+ get: function () { return chunkTDWIGFVF_cjs.getInputOptions; }
26
21
  });
27
22
  Object.defineProperty(exports, "createBundler", {
28
23
  enumerable: true,
29
- get: function () { return chunkNSINCI76_cjs.createBundler; }
24
+ get: function () { return chunkIL2VLNIJ_cjs.createBundler; }
30
25
  });
31
26
  Object.defineProperty(exports, "getBundlerInputOptions", {
32
27
  enumerable: true,
33
- get: function () { return chunkNSINCI76_cjs.getInputOptions; }
28
+ get: function () { return chunkIL2VLNIJ_cjs.getInputOptions; }
34
29
  });
35
30
  Object.defineProperty(exports, "analyzeBundle", {
36
31
  enumerable: true,
37
- get: function () { return chunkIAEJ3C3J_cjs.analyzeBundle; }
32
+ get: function () { return chunkC74EXQSL_cjs.analyzeBundle; }
38
33
  });
39
34
  Object.defineProperty(exports, "getBundlerOptions", {
40
35
  enumerable: true,
41
- get: function () { return chunkIAEJ3C3J_cjs.getBundlerOptions; }
36
+ get: function () { return chunkC74EXQSL_cjs.getBundlerOptions; }
42
37
  });
43
38
  Object.defineProperty(exports, "Deps", {
44
39
  enumerable: true,
@@ -3,7 +3,6 @@ export { createWatcher, getInputOptions as getWatcherInputOptions } from './watc
3
3
  export { analyzeBundle } from './analyze/index.js';
4
4
  export { FileService } from '../services/fs.js';
5
5
  export { Deps } from '../services/deps.js';
6
- export { writeTelemetryConfig } from './telemetry.js';
7
6
  export { getServerOptions } from './serverOptions.js';
8
7
  export { getBundlerOptions } from './bundlerOptions.js';
9
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/build/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/build/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,eAAe,IAAI,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,7 +1,6 @@
1
- export { createWatcher, getServerOptions, getInputOptions as getWatcherInputOptions } from '../chunk-FD5X42ZU.js';
2
- export { writeTelemetryConfig } from '../chunk-B2Q76NIL.js';
3
- export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-XHLN6E4D.js';
4
- export { analyzeBundle, getBundlerOptions } from '../chunk-CVRN2K4O.js';
1
+ export { createWatcher, getServerOptions, getInputOptions as getWatcherInputOptions } from '../chunk-HQJR52M7.js';
2
+ export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-OFUWEVGF.js';
3
+ export { analyzeBundle, getBundlerOptions } from '../chunk-H3LLQ2MW.js';
5
4
  export { Deps, FileService } from '../chunk-5QFG6SCM.js';
6
5
  //# sourceMappingURL=index.js.map
7
6
  //# sourceMappingURL=index.js.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkOART5HV7_cjs = require('../chunk-OART5HV7.cjs');
3
+ var chunkAQAOWLJJ_cjs = require('../chunk-AQAOWLJJ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Bundler", {
8
8
  enumerable: true,
9
- get: function () { return chunkOART5HV7_cjs.Bundler; }
9
+ get: function () { return chunkAQAOWLJJ_cjs.Bundler; }
10
10
  });
11
11
  //# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map
@@ -6,7 +6,6 @@ export declare abstract class Bundler extends MastraBundler {
6
6
  protected outputDir: string;
7
7
  constructor(name: string, component?: 'BUNDLER' | 'DEPLOYER');
8
8
  prepare(outputDirectory: string): Promise<void>;
9
- writeInstrumentationFile(outputDirectory: string, customInstrumentationFile?: string): Promise<void>;
10
9
  writePackageJson(outputDirectory: string, dependencies: Map<string, string>, resolutions?: Record<string, string>): Promise<void>;
11
10
  protected createBundler(inputOptions: InputOptions, outputOptions: Partial<OutputOptions> & {
12
11
  dir: string;
@@ -31,7 +30,8 @@ export declare abstract class Bundler extends MastraBundler {
31
30
  enableSourcemap?: boolean;
32
31
  enableEsmShim?: boolean;
33
32
  }): Promise<InputOptions>;
34
- getToolsInputOptions(toolsPaths: (string | string[])[]): Promise<Record<string, string>>;
33
+ getAllToolPaths(mastraDir: string, toolsPaths?: (string | string[])[]): (string | string[])[];
34
+ listToolsInputOptions(toolsPaths: (string | string[])[]): Promise<Record<string, string>>;
35
35
  protected _bundle(serverFile: string, mastraEntryFile: string, { projectRoot, outputDirectory, enableEsmShim, }: {
36
36
  projectRoot: string;
37
37
  outputDirectory: string;