@mastra/mcp-docs-server 0.13.22-alpha.0 → 0.13.22-alpha.2

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.
@@ -1,5 +1,14 @@
1
1
  # @mastra/clickhouse
2
2
 
3
+ ## 0.15.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.15.0
4
13
 
5
14
  ### Minor Changes
@@ -289,14 +298,5 @@
289
298
 
290
299
  ### Patch Changes
291
300
 
292
- - 2871020: update safelyParseJSON to check for value of param when handling parse
293
- - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
294
- - Updated dependencies [cb36de0]
295
- - Updated dependencies [a82b851]
296
- - Updated dependencies [41a0a0e]
297
- - Updated dependencies [2871020]
298
- - Updated dependencies [4a406ec]
299
- - Updated dependencies [5d377e5]
300
- - @mastra/core@0.13.0-alpha.2
301
301
 
302
- ... 999 more lines hidden. See full changelog in package directory.
302
+ ... 1008 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,19 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 0.12.4-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
8
+ - @mastra/core@0.16.4-alpha.2
9
+
10
+ ## 0.12.4-alpha.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
15
+ - @mastra/core@0.16.4-alpha.1
16
+
3
17
  ## 0.12.4-alpha.0
4
18
 
5
19
  ### Patch Changes
@@ -285,18 +299,4 @@
285
299
 
286
300
  ### Patch Changes
287
301
 
288
- - Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
289
- - @mastra/core@0.15.3-alpha.1
290
-
291
- ## 0.11.3-alpha.0
292
-
293
- ### Patch Changes
294
-
295
- - [#7109](https://github.com/mastra-ai/mastra/pull/7109) [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9) Thanks [@epinzur](https://github.com/epinzur)! - Fixed tracingContext on tool executions in AI tracing
296
-
297
- - Updated dependencies [[`00c74e7`](https://github.com/mastra-ai/mastra/commit/00c74e73b1926be0d475693bb886fb67a22ff352), [`af90672`](https://github.com/mastra-ai/mastra/commit/af906722d8da28688882193b1e531026f9e2e81e), [`56041d0`](https://github.com/mastra-ai/mastra/commit/56041d018863a3da6b98c512e47348647c075fb3), [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9), [`1ed5a3e`](https://github.com/mastra-ai/mastra/commit/1ed5a3e19330374c4347a4237cd2f4b9ffb60376)]:
298
- - @mastra/core@0.15.3-alpha.0
299
-
300
- ## 0.11.2
301
-
302
- ... 2500 more lines hidden. See full changelog in package directory.
302
+ ... 2514 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/cloudflare-d1
2
2
 
3
+ ## 0.13.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.13.0
4
13
 
5
14
  ### Minor Changes
@@ -289,14 +298,5 @@
289
298
 
290
299
  ## 0.12.4-alpha.1
291
300
 
292
- ### Patch Changes
293
-
294
- - 9881232: dependencies updates:
295
- - Updated dependency [`cloudflare@^4.5.0` ↗︎](https://www.npmjs.com/package/cloudflare/v/4.5.0) (from `^4.4.1`, in `dependencies`)
296
- - Updated dependencies [27cc97a]
297
- - Updated dependencies [41daa63]
298
- - Updated dependencies [254a36b]
299
- - Updated dependencies [0b89602]
300
- - Updated dependencies [4d37822]
301
301
 
302
- ... 772 more lines hidden. See full changelog in package directory.
302
+ ... 781 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/cloudflare
2
2
 
3
+ ## 0.12.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.12.0
4
13
 
5
14
  ### Minor Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [0c99fbe]
290
299
  - @mastra/core@0.12.0-alpha.2
291
300
 
292
- ## 0.11.3
293
-
294
- ### Patch Changes
295
-
296
- - ce088f5: Update all peerdeps to latest core
297
- - @mastra/core@0.11.1
298
-
299
- ## 0.11.2
300
-
301
301
 
302
- ... 941 more lines hidden. See full changelog in package directory.
302
+ ... 950 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,19 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 0.16.4-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Postgresql Storage Query Index Performance: Adds index operations and automatic indexing for Postgresql ([#7757](https://github.com/mastra-ai/mastra/pull/7757))
8
+
9
+ - Fixes assistant message ids when using toUIMessageStream, preserves the original messageId rather than creating a new id for this message. ([#7783](https://github.com/mastra-ai/mastra/pull/7783))
10
+
11
+ ## 0.16.4-alpha.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
16
+
3
17
  ## 0.16.4-alpha.0
4
18
 
5
19
  ### Patch Changes
@@ -284,19 +298,5 @@
284
298
  - 6f5eb7a: Throw if an empty or whitespace-only threadId is passed when getting messages
285
299
  - a9e50ee: Allow both workflow stream message formats for now
286
300
  - 5397eb4: Add public URL support when adding files in Multi Modal
287
- - c9f4e4a: Pass tracing context to scorer run
288
- - 0acbc80: Add InferUITools and related type helpers for AI SDK compatibility
289
-
290
- Adds new type utility functions to help with type inference when using Mastra tools with the AI SDK's UI components:
291
- - `InferUITools` - Infers input/output types for a collection of tools
292
- - `InferUITool` - Infers input/output types for a single tool
293
-
294
- These type helpers allow developers to easily integrate Mastra tools with AI SDK UI components like `useChat` by providing proper type inference for tool inputs and outputs.
295
-
296
- ## 0.15.3
297
-
298
- ### Patch Changes
299
-
300
- - ab48c97: dependencies updates:
301
301
 
302
- ... 3284 more lines hidden. See full changelog in package directory.
302
+ ... 3298 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,21 @@
1
1
  # @mastra/deployer-cloud
2
2
 
3
+ ## 0.16.4-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
8
+ - @mastra/core@0.16.4-alpha.2
9
+ - @mastra/deployer@0.16.4-alpha.2
10
+
11
+ ## 0.16.4-alpha.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
16
+ - @mastra/core@0.16.4-alpha.1
17
+ - @mastra/deployer@0.16.4-alpha.1
18
+
3
19
  ## 0.16.4-alpha.0
4
20
 
5
21
  ### Patch Changes
@@ -282,21 +298,5 @@
282
298
 
283
299
  ### Patch Changes
284
300
 
285
- - Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
286
- - @mastra/core@0.15.3-alpha.2
287
- - @mastra/deployer@0.15.3-alpha.2
288
-
289
- ## 0.15.3-alpha.1
290
-
291
- ### Patch Changes
292
-
293
- - Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
294
- - @mastra/core@0.15.3-alpha.1
295
- - @mastra/deployer@0.15.3-alpha.1
296
-
297
- ## 0.15.3-alpha.0
298
-
299
- ### Patch Changes
300
-
301
301
 
302
- ... 62 more lines hidden. See full changelog in package directory.
302
+ ... 78 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,21 @@
1
1
  # @mastra/deployer
2
2
 
3
+ ## 0.16.4-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
8
+ - @mastra/core@0.16.4-alpha.2
9
+ - @mastra/server@0.16.4-alpha.2
10
+
11
+ ## 0.16.4-alpha.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
16
+ - @mastra/core@0.16.4-alpha.1
17
+ - @mastra/server@0.16.4-alpha.1
18
+
3
19
  ## 0.16.4-alpha.0
4
20
 
5
21
  ### Patch Changes
@@ -282,21 +298,5 @@
282
298
 
283
299
  ## 0.15.3-alpha.9
284
300
 
285
- ### Patch Changes
286
-
287
- - Updated dependencies [[`599d04c`](https://github.com/mastra-ai/mastra/commit/599d04cebe92c1d536fee3190434941b8c91548e)]:
288
- - @mastra/core@0.15.3-alpha.9
289
- - @mastra/server@0.15.3-alpha.9
290
-
291
- ## 0.15.3-alpha.8
292
-
293
- ### Patch Changes
294
-
295
- - Updated dependencies [[`4474d04`](https://github.com/mastra-ai/mastra/commit/4474d0489b1e152e0985c33a4f529207317d27b5), [`4106a58`](https://github.com/mastra-ai/mastra/commit/4106a58b15b4c0a060a4a9ccab52d119d00d8edb)]:
296
- - @mastra/core@0.15.3-alpha.8
297
- - @mastra/server@0.15.3-alpha.8
298
-
299
- ## 0.15.3-alpha.7
300
-
301
301
 
302
- ... 4054 more lines hidden. See full changelog in package directory.
302
+ ... 4070 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/dynamodb
2
2
 
3
+ ## 0.15.2-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.15.1
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
 
290
299
  - ea0c5f2: Add store support to new score api
291
300
 
292
- ### Patch Changes
293
-
294
- - Updated dependencies [ea0c5f2]
295
- - Updated dependencies [b0e43c1]
296
- - Updated dependencies [1fb812e]
297
- - Updated dependencies [35c5798]
298
- - @mastra/core@0.13.0-alpha.1
299
-
300
- ## 0.13.3
301
301
 
302
- ... 569 more lines hidden. See full changelog in package directory.
302
+ ... 578 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/lance
2
2
 
3
+ ## 0.3.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.3.0
4
13
 
5
14
  ### Minor Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [0b89602]
290
299
  - Updated dependencies [4d37822]
291
300
  - Updated dependencies [23a6a7c]
292
- - Updated dependencies [cda801d]
293
- - Updated dependencies [a77c823]
294
- - Updated dependencies [ff9c125]
295
- - Updated dependencies [09bca64]
296
- - Updated dependencies [b8efbb9]
297
- - Updated dependencies [71466e7]
298
- - Updated dependencies [0c99fbe]
299
- - @mastra/core@0.12.0
300
-
301
301
 
302
- ... 234 more lines hidden. See full changelog in package directory.
302
+ ... 243 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/libsql
2
2
 
3
+ ## 0.14.2-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.14.2-alpha.0
4
13
 
5
14
  ### Patch Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [63449d0]
290
299
  - Updated dependencies [121a3f8]
291
300
  - Updated dependencies [ec510e7]
292
- - @mastra/core@0.13.2
293
-
294
- ## 0.13.2-alpha.1
295
-
296
- ### Patch Changes
297
-
298
- - b5cf2a3: make system message always available during agent calls
299
- - Updated dependencies [b5cf2a3]
300
- - @mastra/core@0.13.2-alpha.3
301
301
 
302
- ... 856 more lines hidden. See full changelog in package directory.
302
+ ... 865 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,19 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 0.13.22-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
8
+ - @mastra/core@0.16.4-alpha.2
9
+
10
+ ## 0.13.22-alpha.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
15
+ - @mastra/core@0.16.4-alpha.1
16
+
3
17
  ## 0.13.22-alpha.0
4
18
 
5
19
  ### Patch Changes
@@ -284,19 +298,5 @@
284
298
  - @mastra/mcp@0.11.2
285
299
  - @mastra/core@0.15.2
286
300
 
287
- ## 0.13.15
288
-
289
- ### Patch Changes
290
-
291
- - Updated dependencies [[`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298)]:
292
- - @mastra/mcp@0.11.1
293
- - @mastra/core@0.15.1
294
-
295
- ## 0.13.14
296
-
297
- ### Patch Changes
298
-
299
- - [#6643](https://github.com/mastra-ai/mastra/pull/6643) [`e38f807`](https://github.com/mastra-ai/mastra/commit/e38f8072853cc803ba48394e1930825129708400) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
300
- - Updated dependency [`@modelcontextprotocol/sdk@^1.17.3` ↗︎](https://www.npmjs.com/package/@modelcontextprotocol/sdk/v/1.17.3) (from `^1.13.0`, in `dependencies`)
301
301
 
302
- ... 1733 more lines hidden. See full changelog in package directory.
302
+ ... 1747 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/mongodb
2
2
 
3
+ ## 0.14.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.14.0
4
13
 
5
14
  ### Minor Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [d0d9500]
290
299
  - Updated dependencies [d30b1a0]
291
300
  - Updated dependencies [bff87f7]
292
- - Updated dependencies [b4a8df0]
293
- - @mastra/core@0.12.1
294
-
295
- ## 0.12.4-alpha.0
296
-
297
- ### Patch Changes
298
-
299
- - 2c5eab4: Fix mongodb edge case when fromConnectionHandler is used
300
- - Updated dependencies [33dcb07]
301
301
 
302
- ... 777 more lines hidden. See full changelog in package directory.
302
+ ... 786 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/mssql
2
2
 
3
+ ## 0.4.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.4.0
4
13
 
5
14
  ### Minor Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [510e2c8]
290
299
  - Updated dependencies [2f72fb2]
291
300
  - Updated dependencies [27cc97a]
292
- - Updated dependencies [3f89307]
293
- - Updated dependencies [9eda7d4]
294
- - Updated dependencies [9d49408]
295
- - Updated dependencies [41daa63]
296
- - Updated dependencies [ad0a58b]
297
- - Updated dependencies [254a36b]
298
- - Updated dependencies [2ecf658]
299
- - Updated dependencies [7a7754f]
300
- - Updated dependencies [fc92d80]
301
-
302
- ... 112 more lines hidden. See full changelog in package directory.
301
+
302
+ ... 121 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,23 @@
1
1
  # @mastra/pg
2
2
 
3
+ ## 0.15.3-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Postgresql Storage Query Index Performance: Adds index operations and automatic indexing for Postgresql ([#7757](https://github.com/mastra-ai/mastra/pull/7757))
8
+
9
+ - Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
10
+ - @mastra/core@0.16.4-alpha.2
11
+
12
+ ## 0.15.3-alpha.0
13
+
14
+ ### Patch Changes
15
+
16
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
17
+
18
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
19
+ - @mastra/core@0.16.4-alpha.1
20
+
3
21
  ## 0.15.2
4
22
 
5
23
  ### Patch Changes
@@ -280,23 +298,5 @@
280
298
  - Updated dependencies [63449d0]
281
299
  - Updated dependencies [121a3f8]
282
300
  - Updated dependencies [ec510e7]
283
- - @mastra/core@0.13.2
284
-
285
- ## 0.14.0-alpha.0
286
-
287
- ### Minor Changes
288
-
289
- - 79d34ce: improve cloudflare workers compatibility
290
-
291
- ### Patch Changes
292
-
293
- - b32c50d: Filter scores by source
294
- - Updated dependencies [d5330bf]
295
- - Updated dependencies [a239d41]
296
- - Updated dependencies [b32c50d]
297
- - Updated dependencies [121a3f8]
298
- - Updated dependencies [ec510e7]
299
- - @mastra/core@0.13.2-alpha.2
300
-
301
301
 
302
- ... 2301 more lines hidden. See full changelog in package directory.
302
+ ... 2319 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,19 @@
1
1
  # @mastra/server
2
2
 
3
+ ## 0.16.4-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
8
+ - @mastra/core@0.16.4-alpha.2
9
+
10
+ ## 0.16.4-alpha.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
15
+ - @mastra/core@0.16.4-alpha.1
16
+
3
17
  ## 0.16.4-alpha.0
4
18
 
5
19
  ### Patch Changes
@@ -284,19 +298,5 @@
284
298
  ### Patch Changes
285
299
 
286
300
  - Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
287
- - @mastra/core@0.15.3-alpha.1
288
-
289
- ## 0.15.3-alpha.0
290
-
291
- ### Patch Changes
292
-
293
- - [#7109](https://github.com/mastra-ai/mastra/pull/7109) [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9) Thanks [@epinzur](https://github.com/epinzur)! - Fixed tracingContext on tool executions in AI tracing
294
-
295
- - Updated dependencies [[`00c74e7`](https://github.com/mastra-ai/mastra/commit/00c74e73b1926be0d475693bb886fb67a22ff352), [`af90672`](https://github.com/mastra-ai/mastra/commit/af906722d8da28688882193b1e531026f9e2e81e), [`56041d0`](https://github.com/mastra-ai/mastra/commit/56041d018863a3da6b98c512e47348647c075fb3), [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9), [`1ed5a3e`](https://github.com/mastra-ai/mastra/commit/1ed5a3e19330374c4347a4237cd2f4b9ffb60376)]:
296
- - @mastra/core@0.15.3-alpha.0
297
-
298
- ## 0.15.2
299
-
300
- ### Patch Changes
301
301
 
302
- ... 3309 more lines hidden. See full changelog in package directory.
302
+ ... 3323 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/upstash
2
2
 
3
+ ## 0.15.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.15.0
4
13
 
5
14
  ### Minor Changes
@@ -289,14 +298,5 @@
289
298
  - Updated dependencies [41daa63]
290
299
  - Updated dependencies [ad0a58b]
291
300
  - Updated dependencies [254a36b]
292
- - Updated dependencies [2ecf658]
293
- - Updated dependencies [7a7754f]
294
- - Updated dependencies [fc92d80]
295
- - Updated dependencies [e0f73c6]
296
- - Updated dependencies [0b89602]
297
- - Updated dependencies [4d37822]
298
- - Updated dependencies [23a6a7c]
299
- - Updated dependencies [cda801d]
300
- - Updated dependencies [a77c823]
301
-
302
- ... 2044 more lines hidden. See full changelog in package directory.
301
+
302
+ ... 2053 more lines hidden. See full changelog in package directory.
@@ -1173,3 +1173,39 @@ const step2 = createStep({
1173
1173
  myWorkflow.then(step).then(step2).commit();
1174
1174
 
1175
1175
  ```
1176
+
1177
+ ### workflowResourceId.ts
1178
+ ```typescript
1179
+ import { randomUUID } from 'node:crypto';
1180
+ import { mastra } from './mastra';
1181
+
1182
+ const workflow = mastra.getWorkflow('myWorkflow');
1183
+
1184
+ async function main() {
1185
+ const resourceId = randomUUID();
1186
+
1187
+ const result = await workflow.createRunAsync({
1188
+ resourceId: resourceId,
1189
+ });
1190
+
1191
+ console.log('result.runId', result.runId);
1192
+
1193
+ await result.start({
1194
+ inputData: {
1195
+ ingredient: 'pasta',
1196
+ },
1197
+ });
1198
+
1199
+ const runById = await workflow.getWorkflowRunById(result.runId);
1200
+ console.log('runById', runById);
1201
+
1202
+ if (runById?.resourceId !== resourceId) {
1203
+ throw new Error('Resource ID mismatch');
1204
+ } else {
1205
+ console.log('✅ Resource ID matches expected value', resourceId);
1206
+ }
1207
+ }
1208
+
1209
+ main();
1210
+
1211
+ ```
@@ -112,3 +112,194 @@ This enables direct queries and custom transaction management. When using these
112
112
 
113
113
  This approach is intended for advanced scenarios where low-level access is required.
114
114
 
115
+ ## Index Management
116
+
117
+ PostgreSQL storage provides comprehensive index management capabilities to optimize query performance.
118
+
119
+ ### Automatic Performance Indexes
120
+
121
+ PostgreSQL storage automatically creates composite indexes during initialization for common query patterns:
122
+
123
+ - `mastra_threads_resourceid_createdat_idx`: (resourceId, createdAt DESC)
124
+ - `mastra_messages_thread_id_createdat_idx`: (thread_id, createdAt DESC)
125
+ - `mastra_traces_name_starttime_idx`: (name, startTime DESC)
126
+ - `mastra_evals_agent_name_created_at_idx`: (agent_name, created_at DESC)
127
+
128
+ These indexes significantly improve performance for filtered queries with sorting.
129
+
130
+ ### Creating Custom Indexes
131
+
132
+ Create additional indexes to optimize specific query patterns:
133
+
134
+ ```typescript copy
135
+ // Basic index for common queries
136
+ await storage.createIndex({
137
+ name: 'idx_threads_resource',
138
+ table: 'mastra_threads',
139
+ columns: ['resourceId']
140
+ });
141
+
142
+ // Composite index with sort order for filtering + sorting
143
+ await storage.createIndex({
144
+ name: 'idx_messages_composite',
145
+ table: 'mastra_messages',
146
+ columns: ['thread_id', 'createdAt DESC']
147
+ });
148
+
149
+ // GIN index for JSONB columns (fast JSON queries)
150
+ await storage.createIndex({
151
+ name: 'idx_traces_attributes',
152
+ table: 'mastra_traces',
153
+ columns: ['attributes'],
154
+ method: 'gin'
155
+ });
156
+ ```
157
+
158
+ For more advanced use cases, you can also use:
159
+ - `unique: true` for unique constraints
160
+ - `where: 'condition'` for partial indexes
161
+ - `method: 'brin'` for time-series data
162
+ - `storage: { fillfactor: 90 }` for update-heavy tables
163
+ - `concurrent: true` for non-blocking creation (default)
164
+
165
+ ### Index Options
166
+
167
+ <PropertiesTable
168
+ content={[
169
+ {
170
+ name: "name",
171
+ type: "string",
172
+ description: "Unique name for the index",
173
+ isOptional: false,
174
+ },
175
+ {
176
+ name: "table",
177
+ type: "string",
178
+ description: "Table name (e.g., 'mastra_threads')",
179
+ isOptional: false,
180
+ },
181
+ {
182
+ name: "columns",
183
+ type: "string[]",
184
+ description: "Array of column names with optional sort order (e.g., ['id', 'createdAt DESC'])",
185
+ isOptional: false,
186
+ },
187
+ {
188
+ name: "unique",
189
+ type: "boolean",
190
+ description: "Creates a unique constraint index",
191
+ isOptional: true,
192
+ },
193
+ {
194
+ name: "concurrent",
195
+ type: "boolean",
196
+ description: "Creates index without locking table (default: true)",
197
+ isOptional: true,
198
+ },
199
+ {
200
+ name: "where",
201
+ type: "string",
202
+ description: "Partial index condition (PostgreSQL specific)",
203
+ isOptional: true,
204
+ },
205
+ {
206
+ name: "method",
207
+ type: "'btree' | 'hash' | 'gin' | 'gist' | 'spgist' | 'brin'",
208
+ description: "Index method (default: 'btree')",
209
+ isOptional: true,
210
+ },
211
+ {
212
+ name: "opclass",
213
+ type: "string",
214
+ description: "Operator class for GIN/GIST indexes",
215
+ isOptional: true,
216
+ },
217
+ {
218
+ name: "storage",
219
+ type: "Record<string, any>",
220
+ description: "Storage parameters (e.g., { fillfactor: 90 })",
221
+ isOptional: true,
222
+ },
223
+ {
224
+ name: "tablespace",
225
+ type: "string",
226
+ description: "Tablespace name for index placement",
227
+ isOptional: true,
228
+ }
229
+ ]}
230
+ />
231
+
232
+ ### Managing Indexes
233
+
234
+ List and monitor existing indexes:
235
+
236
+ ```typescript copy
237
+ // List all indexes
238
+ const allIndexes = await storage.listIndexes();
239
+ console.log(allIndexes);
240
+ // [
241
+ // {
242
+ // name: 'mastra_threads_pkey',
243
+ // table: 'mastra_threads',
244
+ // columns: ['id'],
245
+ // unique: true,
246
+ // size: '16 KB',
247
+ // definition: 'CREATE UNIQUE INDEX...'
248
+ // },
249
+ // ...
250
+ // ]
251
+
252
+ // List indexes for specific table
253
+ const threadIndexes = await storage.listIndexes('mastra_threads');
254
+
255
+ // Get detailed statistics for an index
256
+ const stats = await storage.describeIndex('idx_threads_resource');
257
+ console.log(stats);
258
+ // {
259
+ // name: 'idx_threads_resource',
260
+ // table: 'mastra_threads',
261
+ // columns: ['resourceId', 'createdAt'],
262
+ // unique: false,
263
+ // size: '128 KB',
264
+ // definition: 'CREATE INDEX idx_threads_resource...',
265
+ // method: 'btree',
266
+ // scans: 1542, // Number of index scans
267
+ // tuples_read: 45230, // Tuples read via index
268
+ // tuples_fetched: 12050 // Tuples fetched via index
269
+ // }
270
+
271
+ // Drop an index
272
+ await storage.dropIndex('idx_threads_status');
273
+ ```
274
+
275
+ ### Schema-Specific Indexes
276
+
277
+ When using custom schemas, indexes are created with schema prefixes:
278
+
279
+ ```typescript copy
280
+ const storage = new PostgresStore({
281
+ connectionString: process.env.DATABASE_URL,
282
+ schemaName: 'custom_schema'
283
+ });
284
+
285
+ // Creates index as: custom_schema_idx_threads_status
286
+ await storage.createIndex({
287
+ name: 'idx_threads_status',
288
+ table: 'mastra_threads',
289
+ columns: ['status']
290
+ });
291
+ ```
292
+
293
+ ### Index Types and Use Cases
294
+
295
+ PostgreSQL offers different index types optimized for specific scenarios:
296
+
297
+ | Index Type | Best For | Storage | Speed |
298
+ |------------|----------|---------|-------|
299
+ | **btree** (default) | Range queries, sorting, general purpose | Moderate | Fast |
300
+ | **hash** | Equality comparisons only | Small | Very fast for `=` |
301
+ | **gin** | JSONB, arrays, full-text search | Large | Fast for contains |
302
+ | **gist** | Geometric data, full-text search | Moderate | Fast for nearest-neighbor |
303
+ | **spgist** | Non-balanced data, text patterns | Small | Fast for specific patterns |
304
+ | **brin** | Large tables with natural ordering | Very small | Fast for ranges |
305
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 0.13.22-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251)]:
8
+ - @mastra/core@0.16.4-alpha.2
9
+
10
+ ## 0.13.22-alpha.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
15
+ - @mastra/core@0.16.4-alpha.1
16
+
3
17
  ## 0.13.22-alpha.0
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "0.13.22-alpha.0",
3
+ "version": "0.13.22-alpha.2",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,11 +33,11 @@
33
33
  "uuid": "^11.1.0",
34
34
  "zod": "^3.25.76",
35
35
  "zod-to-json-schema": "^3.24.6",
36
- "@mastra/core": "0.16.4-alpha.0",
36
+ "@mastra/core": "0.16.4-alpha.2",
37
37
  "@mastra/mcp": "^0.12.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@hono/node-server": "^1.19.1",
40
+ "@hono/node-server": "^1.19.2",
41
41
  "@types/jsdom": "^21.1.7",
42
42
  "@types/node": "^20.19.0",
43
43
  "@types/turndown": "^5.0.5",
@@ -49,8 +49,8 @@
49
49
  "tsx": "^4.19.4",
50
50
  "typescript": "^5.8.3",
51
51
  "vitest": "^3.2.4",
52
- "@internal/lint": "0.0.39",
53
- "@mastra/core": "0.16.4-alpha.0"
52
+ "@mastra/core": "0.16.4-alpha.2",
53
+ "@internal/lint": "0.0.39"
54
54
  },
55
55
  "homepage": "https://mastra.ai",
56
56
  "repository": {