@mastra/mcp-docs-server 0.13.2-alpha.0 → 0.13.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.docs/organized/changelogs/%40mastra%2Fagui.md +12 -0
- package/.docs/organized/changelogs/%40mastra%2Fastra.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fchroma.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +24 -24
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fevals.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fgithub.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Flance.md +12 -0
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fmem0.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +11 -0
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Frag.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fragie.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +6 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +12 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +14 -14
- package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +13 -13
- package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +14 -14
- package/.docs/organized/changelogs/create-mastra.md +7 -7
- package/.docs/organized/changelogs/mastra.md +27 -27
- package/.docs/organized/code-examples/a2a.md +1 -1
- package/.docs/organized/code-examples/agent-network.md +125 -7
- package/.docs/organized/code-examples/agent.md +1 -1
- package/.docs/organized/code-examples/agui.md +4 -4
- package/.docs/organized/code-examples/ai-sdk-useChat.md +6 -6
- package/.docs/organized/code-examples/assistant-ui.md +5 -5
- package/.docs/organized/code-examples/bird-checker-with-express.md +1 -1
- package/.docs/organized/code-examples/bird-checker-with-nextjs-and-eval.md +5 -5
- package/.docs/organized/code-examples/bird-checker-with-nextjs.md +5 -5
- package/.docs/organized/code-examples/client-side-tools.md +6 -6
- package/.docs/organized/code-examples/crypto-chatbot.md +4 -4
- package/.docs/organized/code-examples/experimental-auth-weather-agent.md +1 -1
- package/.docs/organized/code-examples/fireworks-r1.md +1 -1
- package/.docs/organized/code-examples/mcp-configuration.md +2 -2
- package/.docs/organized/code-examples/mcp-registry-registry.md +1 -1
- package/.docs/organized/code-examples/memory-per-resource-example.md +236 -0
- package/.docs/organized/code-examples/memory-with-mem0.md +1 -1
- package/.docs/organized/code-examples/memory-with-processors.md +1 -1
- package/.docs/organized/code-examples/openapi-spec-writer.md +5 -5
- package/.docs/organized/code-examples/quick-start.md +1 -1
- package/.docs/organized/code-examples/stock-price-tool.md +1 -1
- package/.docs/organized/code-examples/weather-agent.md +1 -1
- package/.docs/organized/code-examples/workflow-ai-recruiter.md +1 -1
- package/.docs/organized/code-examples/workflow-with-inline-steps.md +1 -1
- package/.docs/organized/code-examples/workflow-with-memory.md +1 -1
- package/.docs/organized/code-examples/workflow-with-separate-steps.md +1 -1
- package/.docs/raw/frameworks/agentic-uis/copilotkit.mdx +53 -10
- package/.docs/raw/mastra-cloud/dashboard.mdx +100 -0
- package/.docs/raw/mastra-cloud/observability.mdx +24 -138
- package/.docs/raw/mastra-cloud/overview.mdx +50 -42
- package/.docs/raw/mastra-cloud/setting-up.mdx +51 -87
- package/.docs/raw/memory/overview.mdx +4 -0
- package/.docs/raw/memory/working-memory.mdx +88 -1
- package/.docs/raw/observability/nextjs-tracing.mdx +2 -2
- package/.docs/raw/reference/storage/libsql.mdx +1 -0
- package/.docs/raw/reference/tools/vector-query-tool.mdx +1 -0
- package/.docs/raw/reference/workflows/sleep.mdx +43 -0
- package/.docs/raw/reference/workflows/sleepUntil.mdx +43 -0
- package/.docs/raw/reference/workflows/waitForEvent.mdx +49 -0
- package/.docs/raw/storage/overview.mdx +50 -1
- package/.docs/raw/tools-mcp/mcp-overview.mdx +52 -0
- package/.docs/raw/workflows/inngest-workflow.mdx +1 -1
- package/.docs/raw/workflows/pausing-execution.mdx +60 -0
- package/package.json +6 -6
- package/.docs/raw/mastra-cloud/deploying.mdx +0 -142
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/voice-google
|
|
2
2
|
|
|
3
|
+
## 0.10.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e1b6e9: dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [15e9d26]
|
|
10
|
+
- Updated dependencies [07d6d88]
|
|
11
|
+
- Updated dependencies [5d74aab]
|
|
12
|
+
- Updated dependencies [144eb0b]
|
|
13
|
+
- @mastra/core@0.10.7-alpha.2
|
|
14
|
+
|
|
3
15
|
## 0.10.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -286,17 +298,5 @@
|
|
|
286
298
|
|
|
287
299
|
- Updated dependencies [6052aa6]
|
|
288
300
|
- Updated dependencies [967b41c]
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
- Updated dependencies [4155f47]
|
|
292
|
-
- Updated dependencies [7eeb2bc]
|
|
293
|
-
- Updated dependencies [b804723]
|
|
294
|
-
- Updated dependencies [8607972]
|
|
295
|
-
- Updated dependencies [ccef9f9]
|
|
296
|
-
- Updated dependencies [0097d50]
|
|
297
|
-
- Updated dependencies [7eeb2bc]
|
|
298
|
-
- Updated dependencies [17826a9]
|
|
299
|
-
- Updated dependencies [7d8b7c7]
|
|
300
|
-
- Updated dependencies [fba031f]
|
|
301
|
-
|
|
302
|
-
... 958 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 970 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/voice-murf
|
|
2
2
|
|
|
3
|
+
## 0.10.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e1b6e9: dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [15e9d26]
|
|
10
|
+
- Updated dependencies [07d6d88]
|
|
11
|
+
- Updated dependencies [5d74aab]
|
|
12
|
+
- Updated dependencies [144eb0b]
|
|
13
|
+
- @mastra/core@0.10.7-alpha.2
|
|
14
|
+
|
|
3
15
|
## 0.10.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -286,17 +298,5 @@
|
|
|
286
298
|
- Updated dependencies [7d8b7c7]
|
|
287
299
|
- Updated dependencies [fba031f]
|
|
288
300
|
- Updated dependencies [3a5f1e1]
|
|
289
|
-
- Updated dependencies [51e6923]
|
|
290
|
-
- Updated dependencies [8398d89]
|
|
291
|
-
- @mastra/core@0.9.2
|
|
292
|
-
|
|
293
|
-
## 0.1.16-alpha.6
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- Updated dependencies [6052aa6]
|
|
298
|
-
- Updated dependencies [7d8b7c7]
|
|
299
|
-
- Updated dependencies [3a5f1e1]
|
|
300
|
-
- Updated dependencies [8398d89]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 962 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/voice-openai
|
|
2
2
|
|
|
3
|
+
## 0.10.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e1b6e9: dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [15e9d26]
|
|
10
|
+
- Updated dependencies [07d6d88]
|
|
11
|
+
- Updated dependencies [5d74aab]
|
|
12
|
+
- Updated dependencies [144eb0b]
|
|
13
|
+
- @mastra/core@0.10.7-alpha.2
|
|
14
|
+
|
|
3
15
|
## 0.10.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -286,17 +298,5 @@
|
|
|
286
298
|
|
|
287
299
|
- 2cf3b8f: dependencies updates:
|
|
288
300
|
- Updated dependency [`zod@^3.24.3` ↗︎](https://www.npmjs.com/package/zod/v/3.24.3) (from `^3.24.2`, in `dependencies`)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
- Updated dependencies [3d2fb5c]
|
|
292
|
-
- Updated dependencies [26738f4]
|
|
293
|
-
- Updated dependencies [4155f47]
|
|
294
|
-
- Updated dependencies [7eeb2bc]
|
|
295
|
-
- Updated dependencies [b804723]
|
|
296
|
-
- Updated dependencies [8607972]
|
|
297
|
-
- Updated dependencies [ccef9f9]
|
|
298
|
-
- Updated dependencies [0097d50]
|
|
299
|
-
- Updated dependencies [7eeb2bc]
|
|
300
|
-
- Updated dependencies [17826a9]
|
|
301
|
-
|
|
302
|
-
... 956 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 968 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/voice-playai
|
|
2
2
|
|
|
3
|
+
## 0.10.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e1b6e9: dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [15e9d26]
|
|
10
|
+
- Updated dependencies [07d6d88]
|
|
11
|
+
- Updated dependencies [5d74aab]
|
|
12
|
+
- Updated dependencies [144eb0b]
|
|
13
|
+
- @mastra/core@0.10.7-alpha.2
|
|
14
|
+
|
|
3
15
|
## 0.10.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -286,17 +298,5 @@
|
|
|
286
298
|
- Updated dependencies [3a5f1e1]
|
|
287
299
|
- Updated dependencies [51e6923]
|
|
288
300
|
- Updated dependencies [8398d89]
|
|
289
|
-
- @mastra/core@0.9.2
|
|
290
|
-
|
|
291
|
-
## 0.1.16-alpha.6
|
|
292
|
-
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- Updated dependencies [6052aa6]
|
|
296
|
-
- Updated dependencies [7d8b7c7]
|
|
297
|
-
- Updated dependencies [3a5f1e1]
|
|
298
|
-
- Updated dependencies [8398d89]
|
|
299
|
-
- @mastra/core@0.9.2-alpha.6
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 957 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/voice-sarvam
|
|
2
2
|
|
|
3
|
+
## 0.10.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e1b6e9: dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [15e9d26]
|
|
10
|
+
- Updated dependencies [07d6d88]
|
|
11
|
+
- Updated dependencies [5d74aab]
|
|
12
|
+
- Updated dependencies [144eb0b]
|
|
13
|
+
- @mastra/core@0.10.7-alpha.2
|
|
14
|
+
|
|
3
15
|
## 0.10.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -286,17 +298,5 @@
|
|
|
286
298
|
- Updated dependencies [8398d89]
|
|
287
299
|
- @mastra/core@0.9.2
|
|
288
300
|
|
|
289
|
-
## 0.1.11-alpha.6
|
|
290
|
-
|
|
291
|
-
### Patch Changes
|
|
292
|
-
|
|
293
|
-
- Updated dependencies [6052aa6]
|
|
294
|
-
- Updated dependencies [7d8b7c7]
|
|
295
|
-
- Updated dependencies [3a5f1e1]
|
|
296
|
-
- Updated dependencies [8398d89]
|
|
297
|
-
- @mastra/core@0.9.2-alpha.6
|
|
298
|
-
|
|
299
|
-
## 0.1.11-alpha.5
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 607 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/voice-speechify
|
|
2
2
|
|
|
3
|
+
## 0.10.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e1b6e9: dependencies updates:
|
|
8
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
9
|
+
- Updated dependencies [15e9d26]
|
|
10
|
+
- Updated dependencies [07d6d88]
|
|
11
|
+
- Updated dependencies [5d74aab]
|
|
12
|
+
- Updated dependencies [144eb0b]
|
|
13
|
+
- @mastra/core@0.10.7-alpha.2
|
|
14
|
+
|
|
3
15
|
## 0.10.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -286,17 +298,5 @@
|
|
|
286
298
|
|
|
287
299
|
- 2cf3b8f: dependencies updates:
|
|
288
300
|
- Updated dependency [`zod@^3.24.3` ↗︎](https://www.npmjs.com/package/zod/v/3.24.3) (from `^3.24.2`, in `dependencies`)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
- Updated dependencies [3d2fb5c]
|
|
292
|
-
- Updated dependencies [26738f4]
|
|
293
|
-
- Updated dependencies [4155f47]
|
|
294
|
-
- Updated dependencies [7eeb2bc]
|
|
295
|
-
- Updated dependencies [b804723]
|
|
296
|
-
- Updated dependencies [8607972]
|
|
297
|
-
- Updated dependencies [ccef9f9]
|
|
298
|
-
- Updated dependencies [0097d50]
|
|
299
|
-
- Updated dependencies [7eeb2bc]
|
|
300
|
-
- Updated dependencies [17826a9]
|
|
301
|
-
|
|
302
|
-
... 949 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 961 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.10.6-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d74aab: vNext network in playground
|
|
8
|
+
|
|
3
9
|
## 0.10.6-alpha.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -292,11 +298,5 @@
|
|
|
292
298
|
### Patch Changes
|
|
293
299
|
|
|
294
300
|
- b5d2de0: In vNext workflow serializedStepGraph, return only serializedStepFlow for steps created from a workflow
|
|
295
|
-
allow viewing inner nested workflows in a multi-layered nested vnext workflow on the playground
|
|
296
|
-
|
|
297
|
-
## 0.3.1
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 902 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.10.7-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d74aab: vNext network in playground
|
|
8
|
+
- 17903a3: Remove install step from dev for telemetry
|
|
9
|
+
- 8e1b6e9: dependencies updates:
|
|
10
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
11
|
+
- be3d5a3: Remove recharts and ramada (unused deps)
|
|
12
|
+
- Updated dependencies [8e1b6e9]
|
|
13
|
+
- Updated dependencies [36cd0f1]
|
|
14
|
+
- Updated dependencies [2eab82b]
|
|
15
|
+
- Updated dependencies [ee93d96]
|
|
16
|
+
- Updated dependencies [c00039d]
|
|
17
|
+
- Updated dependencies [15e9d26]
|
|
18
|
+
- Updated dependencies [9bf1d55]
|
|
19
|
+
- Updated dependencies [914684e]
|
|
20
|
+
- Updated dependencies [07d6d88]
|
|
21
|
+
- Updated dependencies [5d74aab]
|
|
22
|
+
- Updated dependencies [5d74aab]
|
|
23
|
+
- Updated dependencies [17903a3]
|
|
24
|
+
- Updated dependencies [144eb0b]
|
|
25
|
+
- @mastra/deployer@0.10.7-alpha.2
|
|
26
|
+
- @mastra/mcp@0.10.5-alpha.1
|
|
27
|
+
- @mastra/core@0.10.7-alpha.2
|
|
28
|
+
|
|
3
29
|
## 0.10.7-alpha.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -272,31 +298,5 @@
|
|
|
272
298
|
### Patch Changes
|
|
273
299
|
|
|
274
300
|
- 4c4ee43: [fix] recreate resizable sidebar on workflow
|
|
275
|
-
- Updated dependencies [66f4424]
|
|
276
|
-
- @mastra/loggers@0.10.2-alpha.1
|
|
277
|
-
|
|
278
|
-
## 0.10.4-alpha.4
|
|
279
|
-
|
|
280
|
-
### Patch Changes
|
|
281
|
-
|
|
282
|
-
- Updated dependencies [925ab94]
|
|
283
|
-
- @mastra/core@0.10.4-alpha.3
|
|
284
|
-
- @mastra/deployer@0.10.4-alpha.3
|
|
285
|
-
|
|
286
|
-
## 0.10.4-alpha.3
|
|
287
|
-
|
|
288
|
-
### Patch Changes
|
|
289
|
-
|
|
290
|
-
- Updated dependencies [48eddb9]
|
|
291
|
-
- @mastra/core@0.10.4-alpha.2
|
|
292
|
-
- @mastra/deployer@0.10.4-alpha.2
|
|
293
|
-
|
|
294
|
-
## 0.10.4-alpha.2
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- e719504: don't start posthog when the browser is Brave
|
|
299
|
-
- b4ee346: Reintroduce --env flag for mastra dev, build
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 3949 more lines hidden. See full changelog in package directory.
|
|
@@ -17,14 +17,18 @@
|
|
|
17
17
|
"@ai-sdk/openai": "^1.3.22",
|
|
18
18
|
"@mastra/client-js": "latest",
|
|
19
19
|
"@mastra/core": "latest",
|
|
20
|
+
"@mastra/libsql": "latest",
|
|
20
21
|
"@mastra/loggers": "latest",
|
|
21
|
-
"
|
|
22
|
+
"@mastra/memory": "latest",
|
|
23
|
+
"zod": "^3.25.67"
|
|
22
24
|
},
|
|
23
25
|
"pnpm": {
|
|
24
26
|
"overrides": {
|
|
25
27
|
"@mastra/client-js": "link:../../client-sdks/client-js",
|
|
26
28
|
"@mastra/core": "link:../../packages/core",
|
|
27
|
-
"@mastra/
|
|
29
|
+
"@mastra/libsql": "link:../../stores/libsql",
|
|
30
|
+
"@mastra/loggers": "link:../../packages/loggers",
|
|
31
|
+
"@mastra/memory": "link:../../packages/memory"
|
|
28
32
|
}
|
|
29
33
|
},
|
|
30
34
|
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
@@ -198,19 +202,28 @@ export const dataAnalysisAgent = new Agent({
|
|
|
198
202
|
```typescript
|
|
199
203
|
import { Mastra } from '@mastra/core';
|
|
200
204
|
import { PinoLogger } from '@mastra/loggers';
|
|
201
|
-
import { researchNetwork } from './network';
|
|
205
|
+
// import { researchNetwork } from './network';
|
|
202
206
|
import { webSearchAgent } from './agents';
|
|
203
|
-
import { agentWorkflow } from './workflows';
|
|
207
|
+
// import { agentWorkflow } from './workflows';
|
|
208
|
+
import { v_nextNetwork } from './network/v-next';
|
|
209
|
+
import { LibSQLStore } from '@mastra/libsql';
|
|
210
|
+
import { workflow1 } from './network/v-next';
|
|
204
211
|
|
|
205
212
|
export const mastra = new Mastra({
|
|
206
213
|
agents: {
|
|
207
214
|
webSearchAgent,
|
|
208
215
|
},
|
|
209
|
-
networks: {
|
|
210
|
-
|
|
216
|
+
// networks: {
|
|
217
|
+
// researchNetwork,
|
|
218
|
+
// },
|
|
219
|
+
vnext_networks: {
|
|
220
|
+
v_nextNetwork,
|
|
211
221
|
},
|
|
222
|
+
storage: new LibSQLStore({
|
|
223
|
+
url: 'file:../mastra.db', // Or your database URL
|
|
224
|
+
}),
|
|
212
225
|
workflows: {
|
|
213
|
-
|
|
226
|
+
workflow1,
|
|
214
227
|
},
|
|
215
228
|
logger: new PinoLogger({ name: 'Chef', level: 'info' }),
|
|
216
229
|
serverMiddleware: [
|
|
@@ -263,6 +276,111 @@ export const researchNetwork = new AgentNetwork({
|
|
|
263
276
|
|
|
264
277
|
```
|
|
265
278
|
|
|
279
|
+
### mastra/network/v-next.ts
|
|
280
|
+
```typescript
|
|
281
|
+
import { openai } from '@ai-sdk/openai';
|
|
282
|
+
import { NewAgentNetwork } from '@mastra/core/network/vNext';
|
|
283
|
+
import { Agent } from '@mastra/core/agent';
|
|
284
|
+
import { createStep, createWorkflow } from '@mastra/core/workflows';
|
|
285
|
+
import { LibSQLStore } from '@mastra/libsql';
|
|
286
|
+
import { Memory } from '@mastra/memory';
|
|
287
|
+
import { z } from 'zod';
|
|
288
|
+
|
|
289
|
+
const memory = new Memory({
|
|
290
|
+
storage: new LibSQLStore({
|
|
291
|
+
url: 'file:../mastra.db', // Or your database URL
|
|
292
|
+
}),
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
const agent1 = new Agent({
|
|
296
|
+
name: 'agent1',
|
|
297
|
+
instructions:
|
|
298
|
+
'This agent is used to do research, but not create full responses. Answer in bullet points only and be concise.',
|
|
299
|
+
description:
|
|
300
|
+
'This agent is used to do research, but not create full responses. Answer in bullet points only and be concise.',
|
|
301
|
+
model: openai('gpt-4o'),
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
const agent2 = new Agent({
|
|
305
|
+
name: 'agent2',
|
|
306
|
+
description: 'This agent is used to do text synthesis on researched material. It writes articles in full paragraphs.',
|
|
307
|
+
instructions:
|
|
308
|
+
'This agent is used to do text synthesis on researched material. Write a full report based on the researched material. Do not use bullet points. Write full paragraphs. There should not be a single bullet point in the final report. You write articles.',
|
|
309
|
+
model: openai('gpt-4o'),
|
|
310
|
+
});
|
|
311
|
+
|
|
312
|
+
const agentStep1 = createStep({
|
|
313
|
+
id: 'agent-workflow-step-1',
|
|
314
|
+
description: 'This step is used to do research and text synthesis.',
|
|
315
|
+
inputSchema: z.object({
|
|
316
|
+
city: z.string().describe('The city to research'),
|
|
317
|
+
}),
|
|
318
|
+
outputSchema: z.object({
|
|
319
|
+
text: z.string(),
|
|
320
|
+
}),
|
|
321
|
+
execute: async ({ inputData }) => {
|
|
322
|
+
const resp = await agent1.generate(inputData.city, {
|
|
323
|
+
output: z.object({
|
|
324
|
+
text: z.string(),
|
|
325
|
+
}),
|
|
326
|
+
});
|
|
327
|
+
|
|
328
|
+
return { text: resp.object.text };
|
|
329
|
+
},
|
|
330
|
+
});
|
|
331
|
+
|
|
332
|
+
const agentStep2 = createStep({
|
|
333
|
+
id: 'agent-workflow-step-2',
|
|
334
|
+
description: 'This step is used to do research and text synthesis.',
|
|
335
|
+
inputSchema: z.object({
|
|
336
|
+
text: z.string().describe('The city to research'),
|
|
337
|
+
}),
|
|
338
|
+
outputSchema: z.object({
|
|
339
|
+
text: z.string(),
|
|
340
|
+
}),
|
|
341
|
+
execute: async ({ inputData }) => {
|
|
342
|
+
const resp = await agent2.generate(inputData.text, {
|
|
343
|
+
output: z.object({
|
|
344
|
+
text: z.string(),
|
|
345
|
+
}),
|
|
346
|
+
});
|
|
347
|
+
|
|
348
|
+
return { text: resp.object.text };
|
|
349
|
+
},
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
export const workflow1 = createWorkflow({
|
|
353
|
+
id: 'workflow1',
|
|
354
|
+
description: 'This workflow is perfect for researching a specific city.',
|
|
355
|
+
inputSchema: z.object({
|
|
356
|
+
city: z.string(),
|
|
357
|
+
}),
|
|
358
|
+
outputSchema: z.object({
|
|
359
|
+
text: z.string(),
|
|
360
|
+
}),
|
|
361
|
+
})
|
|
362
|
+
.then(agentStep1)
|
|
363
|
+
.then(agentStep2)
|
|
364
|
+
.commit();
|
|
365
|
+
|
|
366
|
+
export const v_nextNetwork = new NewAgentNetwork({
|
|
367
|
+
id: 'test-network',
|
|
368
|
+
name: 'Test Network',
|
|
369
|
+
instructions:
|
|
370
|
+
'You can research cities. You can also synthesize research material. You can also write a full report based on the researched material.',
|
|
371
|
+
model: openai('gpt-4o'),
|
|
372
|
+
agents: {
|
|
373
|
+
agent1,
|
|
374
|
+
agent2,
|
|
375
|
+
},
|
|
376
|
+
workflows: {
|
|
377
|
+
workflow1,
|
|
378
|
+
},
|
|
379
|
+
memory: memory,
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
```
|
|
383
|
+
|
|
266
384
|
### mastra/workflows/index.ts
|
|
267
385
|
```typescript
|
|
268
386
|
import { Workflow } from '@mastra/core/workflows';
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"mastra": "latest",
|
|
27
27
|
"react": "^19.1.0",
|
|
28
28
|
"react-dom": "^19.1.0",
|
|
29
|
-
"zod": "^3.25.
|
|
29
|
+
"zod": "^3.25.67"
|
|
30
30
|
},
|
|
31
31
|
"pnpm": {
|
|
32
32
|
"overrides": {
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@eslint/js": "^9.25.0",
|
|
43
|
-
"@types/react": "^19.1.
|
|
44
|
-
"@types/react-dom": "^19.1.
|
|
43
|
+
"@types/react": "^19.1.8",
|
|
44
|
+
"@types/react-dom": "^19.1.6",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "^8.32.0",
|
|
46
46
|
"@typescript-eslint/parser": "^8.32.0",
|
|
47
47
|
"@vitejs/plugin-react": "^4.4.1",
|
|
48
|
-
"eslint": "^9.
|
|
48
|
+
"eslint": "^9.29.0",
|
|
49
49
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
50
50
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
51
51
|
"globals": "^16.0.0",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"@ai-sdk/react": "^1.2.12",
|
|
16
16
|
"@mastra/core": "latest",
|
|
17
17
|
"next": "^15.3.1",
|
|
18
|
-
"react": "^19.
|
|
19
|
-
"react-dom": "^19.
|
|
20
|
-
"zod": "^3.25.
|
|
18
|
+
"react": "^19.1.0",
|
|
19
|
+
"react-dom": "^19.1.0",
|
|
20
|
+
"zod": "^3.25.67"
|
|
21
21
|
},
|
|
22
22
|
"pnpm": {
|
|
23
23
|
"overrides": {
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@eslint/eslintrc": "^3.3.0",
|
|
29
29
|
"@types/node": "^20.17.57",
|
|
30
|
-
"@types/react": "^19.
|
|
31
|
-
"@types/react-dom": "^19.
|
|
32
|
-
"eslint": "^9.
|
|
30
|
+
"@types/react": "^19.1.8",
|
|
31
|
+
"@types/react-dom": "^19.1.6",
|
|
32
|
+
"eslint": "^9.29.0",
|
|
33
33
|
"eslint-config-next": "15.3.3",
|
|
34
34
|
"postcss": "^8.5.3",
|
|
35
35
|
"tailwindcss": "^3.4.17",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"@assistant-ui/react-ui": "^0.1.8",
|
|
17
17
|
"@mastra/client-js": "latest",
|
|
18
18
|
"next": "^15.3.1",
|
|
19
|
-
"react": "^19.
|
|
20
|
-
"react-dom": "^19.
|
|
19
|
+
"react": "^19.1.0",
|
|
20
|
+
"react-dom": "^19.1.0",
|
|
21
21
|
"tailwindcss-animate": "^1.0.7",
|
|
22
|
-
"zod": "^3.25.
|
|
22
|
+
"zod": "^3.25.67"
|
|
23
23
|
},
|
|
24
24
|
"pnpm": {
|
|
25
25
|
"overrides": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^20.17.57",
|
|
31
|
-
"@types/react": "^19.
|
|
32
|
-
"@types/react-dom": "^19.
|
|
31
|
+
"@types/react": "^19.1.8",
|
|
32
|
+
"@types/react-dom": "^19.1.6",
|
|
33
33
|
"eslint": "^8.57.1",
|
|
34
34
|
"eslint-config-next": "15.3.3",
|
|
35
35
|
"postcss": "^8.5.3",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"next": "^15.3.1",
|
|
24
24
|
"next-themes": "^0.4.5",
|
|
25
25
|
"nuqs": "^2.4.1",
|
|
26
|
-
"react": "19.
|
|
27
|
-
"react-dom": "19.
|
|
26
|
+
"react": "19.1.0",
|
|
27
|
+
"react-dom": "19.1.0",
|
|
28
28
|
"sonner": "^1.7.4",
|
|
29
29
|
"tailwind-merge": "^2.6.0",
|
|
30
30
|
"tailwindcss-animate": "^1.0.7",
|
|
31
|
-
"zod": "^3.25.
|
|
31
|
+
"zod": "^3.25.67"
|
|
32
32
|
},
|
|
33
33
|
"pnpm": {
|
|
34
34
|
"overrides": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^20.17.57",
|
|
40
|
-
"@types/react": "^18.3.
|
|
41
|
-
"@types/react-dom": "^18.3.
|
|
40
|
+
"@types/react": "^18.3.23",
|
|
41
|
+
"@types/react-dom": "^18.3.7",
|
|
42
42
|
"eslint": "^8.57.1",
|
|
43
43
|
"eslint-config-next": "15.3.3",
|
|
44
44
|
"postcss": "^8.5.3",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"next": "^15.3.1",
|
|
21
21
|
"next-themes": "^0.4.5",
|
|
22
22
|
"nuqs": "^2.4.1",
|
|
23
|
-
"react": "19.
|
|
24
|
-
"react-dom": "19.
|
|
23
|
+
"react": "19.1.0",
|
|
24
|
+
"react-dom": "19.1.0",
|
|
25
25
|
"sonner": "^1.7.4",
|
|
26
26
|
"tailwind-merge": "^2.6.0",
|
|
27
27
|
"tailwindcss-animate": "^1.0.7",
|
|
28
|
-
"zod": "^3.25.
|
|
28
|
+
"zod": "^3.25.67"
|
|
29
29
|
},
|
|
30
30
|
"pnpm": {
|
|
31
31
|
"overrides": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@libsql/client": "^0.15.4",
|
|
38
38
|
"@types/node": "^20.17.57",
|
|
39
|
-
"@types/react": "^19.
|
|
40
|
-
"@types/react-dom": "^19.
|
|
39
|
+
"@types/react": "^19.1.8",
|
|
40
|
+
"@types/react-dom": "^19.1.6",
|
|
41
41
|
"eslint": "^8.57.1",
|
|
42
42
|
"eslint-config-next": "15.3.3",
|
|
43
43
|
"postcss": "^8.5.3",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"@ai-sdk/openai": "^1.3.22",
|
|
16
16
|
"@mastra/client-js": "latest",
|
|
17
17
|
"@mastra/core": "latest",
|
|
18
|
-
"react": "^19.
|
|
19
|
-
"react-dom": "^19.
|
|
20
|
-
"zod": "^3.25.
|
|
18
|
+
"react": "^19.1.0",
|
|
19
|
+
"react-dom": "^19.1.0",
|
|
20
|
+
"zod": "^3.25.67"
|
|
21
21
|
},
|
|
22
22
|
"pnpm": {
|
|
23
23
|
"overrides": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@eslint/js": "^9.21.0",
|
|
30
|
-
"@types/react": "^19.
|
|
31
|
-
"@types/react-dom": "^19.
|
|
30
|
+
"@types/react": "^19.1.8",
|
|
31
|
+
"@types/react-dom": "^19.1.6",
|
|
32
32
|
"@vitejs/plugin-react": "^4.3.4",
|
|
33
|
-
"eslint": "^9.
|
|
33
|
+
"eslint": "^9.29.0",
|
|
34
34
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
35
35
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
36
36
|
"globals": "^15.15.0",
|