@mastra/mcp-docs-server 1.2.15-alpha.22 → 1.2.15-alpha.23

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.
@@ -41,7 +41,7 @@ const result = await run.start({ inputData: { name: 'Ada' } })
41
41
 
42
42
  ## Parameters
43
43
 
44
- **def** (`DynamicWorkflowGraph`): The workflow definition: id, optional description and metadata, JSON Schema input/output schemas, optional state and request-context schemas, and the step graph.
44
+ **def** (`DynamicWorkflowGraph | WorkflowBuilderDefinitionInput`): The workflow definition: id, optional description and metadata, JSON Schema input/output schemas, optional state and request-context schemas, and the step graph.
45
45
 
46
46
  ## Returns
47
47
 
@@ -21,7 +21,7 @@ await mastra.addDynamicWorkflows([
21
21
 
22
22
  ## Parameters
23
23
 
24
- **defs** (`readonly DynamicWorkflowGraph[]`): The workflow definitions to add. Nested-workflow references may resolve against the live registries or against other members of the same bundle.
24
+ **defs** (`readonly (DynamicWorkflowGraph | WorkflowBuilderDefinitionInput)[]`): The workflow definitions to add. Nested-workflow references may resolve against the live registries or against other members of the same bundle.
25
25
 
26
26
  ## Returns
27
27
 
@@ -132,6 +132,8 @@ Tool entries accept the same optional `description` and `options` fields as agen
132
132
 
133
133
  A `mapping` entry reshapes data. Its `mapConfig` is a JSON string that encodes an object. Each key becomes a key in the step output, and each descriptor defines one source.
134
134
 
135
+ When you call [`Mastra.addDynamicWorkflow()`](https://mastra.ai/reference/core/addDynamicWorkflow) directly, `mapConfig` also accepts the object itself. Mastra encodes it to a JSON string before registering and storing the definition, so the persisted row is the same either way. A stored definition always carries the JSON string form.
136
+
135
137
  | Descriptor | Description |
136
138
  | -------------------------------------- | ----------------------------------------- |
137
139
  | `{ "value": ... }` | A constant JSON value |
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.2.15-alpha.23
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`296dc9a`](https://github.com/mastra-ai/mastra/commit/296dc9af29f3616e786c7825ec32e0df92d754c5), [`4a09a9c`](https://github.com/mastra-ai/mastra/commit/4a09a9c0474ef643558fcb5f0edc542b82f1cab0), [`1e83a47`](https://github.com/mastra-ai/mastra/commit/1e83a4734ab61ba5926af6793e3569a78b72ed37), [`ff28284`](https://github.com/mastra-ai/mastra/commit/ff2828416f14daff9d956e6a352fdaa23c950979), [`1670533`](https://github.com/mastra-ai/mastra/commit/1670533986f6bacf567746245348125e3a106448)]:
8
+ - @mastra/core@1.58.0-alpha.16
9
+
3
10
  ## 1.2.15-alpha.22
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.2.15-alpha.22",
3
+ "version": "1.2.15-alpha.23",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "local-pkg": "^1.1.2",
30
30
  "zod": "^4.4.3",
31
31
  "@mastra/mcp": "^1.16.0-alpha.2",
32
- "@mastra/core": "1.58.0-alpha.15"
32
+ "@mastra/core": "1.58.0-alpha.16"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@hono/node-server": "^2.0.0",
@@ -45,9 +45,9 @@
45
45
  "tsx": "^4.23.1",
46
46
  "typescript": "^6.0.3",
47
47
  "vitest": "4.1.10",
48
- "@internal/types-builder": "0.0.96",
49
- "@mastra/core": "1.58.0-alpha.15",
50
- "@internal/lint": "0.0.121"
48
+ "@mastra/core": "1.58.0-alpha.16",
49
+ "@internal/lint": "0.0.121",
50
+ "@internal/types-builder": "0.0.96"
51
51
  },
52
52
  "homepage": "https://mastra.ai",
53
53
  "repository": {