@mastra/mcp-docs-server 0.13.2 → 0.13.3-alpha.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.
- package/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +33 -0
- package/.docs/organized/changelogs/%40mastra%2Fagui.md +48 -0
- package/.docs/organized/changelogs/%40mastra%2Fastra.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fchroma.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +85 -85
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +34 -34
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +35 -35
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +70 -70
- package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +92 -92
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +94 -94
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +92 -92
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +104 -104
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +35 -35
- package/.docs/organized/changelogs/%40mastra%2Fevals.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fgithub.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Flance.md +32 -0
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +35 -35
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +59 -59
- package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fmem0.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +56 -56
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +37 -37
- package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +30 -17
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +57 -57
- package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +108 -108
- package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Frag.md +27 -27
- package/.docs/organized/changelogs/%40mastra%2Fragie.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +7 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +82 -82
- package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +28 -28
- package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +25 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +23 -23
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +26 -26
- package/.docs/organized/changelogs/create-mastra.md +37 -37
- package/.docs/organized/changelogs/mastra.md +115 -115
- package/.docs/organized/code-examples/a2a.md +1 -30
- package/.docs/organized/code-examples/agent-network.md +26 -115
- package/.docs/organized/code-examples/agent.md +1 -29
- package/.docs/organized/code-examples/agui.md +0 -22
- package/.docs/organized/code-examples/ai-sdk-useChat.md +1 -16
- package/.docs/organized/code-examples/assistant-ui.md +1 -16
- package/.docs/organized/code-examples/bird-checker-with-express.md +1 -19
- package/.docs/organized/code-examples/bird-checker-with-nextjs-and-eval.md +1 -20
- package/.docs/organized/code-examples/bird-checker-with-nextjs.md +1 -18
- package/.docs/organized/code-examples/client-side-tools.md +1 -18
- package/.docs/organized/code-examples/crypto-chatbot.md +4 -25
- package/.docs/organized/code-examples/experimental-auth-weather-agent.md +1 -26
- package/.docs/organized/code-examples/fireworks-r1.md +1 -21
- package/.docs/organized/code-examples/mcp-configuration.md +1 -24
- package/.docs/organized/code-examples/mcp-registry-registry.md +1 -22
- package/.docs/organized/code-examples/memory-per-resource-example.md +0 -14
- package/.docs/organized/code-examples/memory-todo-agent.md +1 -20
- package/.docs/organized/code-examples/memory-with-context.md +1 -20
- package/.docs/organized/code-examples/memory-with-libsql.md +1 -21
- package/.docs/organized/code-examples/memory-with-mem0.md +1 -21
- package/.docs/organized/code-examples/memory-with-pg.md +1 -22
- package/.docs/organized/code-examples/memory-with-processors.md +1 -17
- package/.docs/organized/code-examples/memory-with-upstash.md +1 -24
- package/.docs/organized/code-examples/openapi-spec-writer.md +1 -21
- package/.docs/organized/code-examples/quick-start.md +1 -21
- package/.docs/organized/code-examples/stock-price-tool.md +1 -21
- package/.docs/organized/code-examples/weather-agent.md +1 -20
- package/.docs/organized/code-examples/workflow-ai-recruiter.md +1 -22
- package/.docs/organized/code-examples/workflow-with-inline-steps.md +1 -20
- package/.docs/organized/code-examples/workflow-with-memory.md +1 -21
- package/.docs/organized/code-examples/workflow-with-separate-steps.md +1 -22
- package/.docs/raw/course/01-first-agent/11-creating-transactions-tool.md +1 -1
- package/.docs/raw/course/03-agent-memory/24-working-memory-in-practice.md +0 -3
- package/.docs/raw/course/03-agent-memory/29-memory-best-practices.md +0 -6
- package/.docs/raw/deployment/cloud-providers/amazon-ec2.mdx +81 -0
- package/.docs/raw/deployment/cloud-providers/azure-app-services.mdx +136 -0
- package/.docs/raw/deployment/cloud-providers/index.mdx +2 -0
- package/.docs/raw/deployment/serverless-platforms/cloudflare-deployer.mdx +111 -0
- package/.docs/raw/deployment/{deployment.mdx → serverless-platforms/index.mdx} +5 -10
- package/.docs/raw/deployment/serverless-platforms/netlify-deployer.mdx +94 -0
- package/.docs/raw/deployment/serverless-platforms/vercel-deployer.mdx +91 -0
- package/.docs/raw/frameworks/ai-sdk-v5.mdx +91 -0
- package/.docs/raw/frameworks/web-frameworks/next-js.mdx +56 -18
- package/.docs/raw/frameworks/web-frameworks/sveltekit.mdx +456 -0
- package/.docs/raw/frameworks/web-frameworks/vite-react.mdx +28 -9
- package/.docs/raw/getting-started/model-providers.mdx +118 -127
- package/.docs/raw/memory/overview.mdx +30 -0
- package/.docs/raw/reference/agents/generate.mdx +3 -3
- package/.docs/raw/reference/agents/getModel.mdx +1 -1
- package/.docs/raw/reference/agents/stream.mdx +3 -3
- package/.docs/raw/reference/deployer/cloudflare.mdx +4 -119
- package/.docs/raw/reference/deployer/netlify.mdx +4 -83
- package/.docs/raw/reference/deployer/vercel.mdx +4 -51
- package/.docs/raw/reference/memory/Memory.mdx +71 -2
- package/.docs/raw/reference/observability/logger.mdx +70 -0
- package/.docs/raw/reference/rag/pg.mdx +15 -0
- package/.docs/raw/reference/storage/postgresql.mdx +17 -0
- package/.docs/raw/reference/workflows/step.mdx +8 -1
- package/.docs/raw/workflows/overview.mdx +1 -1
- package/dist/{chunk-P5AHYMUI.js → chunk-7QXT2IEP.js} +48 -11
- package/dist/prepare-docs/prepare.js +1 -1
- package/dist/stdio.js +1 -1
- package/package.json +5 -5
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-weather-agent-experimental-auth",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"description": "",
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"dev": "dotenv -- mastra dev"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
5
|
"dependencies": {
|
|
16
6
|
"@ai-sdk/openai": "^1.3.22",
|
|
17
7
|
"@mastra/core": "latest",
|
|
@@ -27,23 +17,8 @@
|
|
|
27
17
|
},
|
|
28
18
|
"devDependencies": {
|
|
29
19
|
"dotenv-cli": "^8.0.0"
|
|
30
|
-
}
|
|
31
|
-
"version": "0.0.1",
|
|
32
|
-
"pnpm": {
|
|
33
|
-
"overrides": {
|
|
34
|
-
"@mastra/core": "link:../../packages/core",
|
|
35
|
-
"mastra": "link:../../packages/cli",
|
|
36
|
-
"@mastra/auth": "link:../../packages/auth",
|
|
37
|
-
"@mastra/auth-supabase": "link:../../auth/supabase",
|
|
38
|
-
"@mastra/auth-firebase": "link:../../auth/firebase",
|
|
39
|
-
"@mastra/auth-auth0": "link:../../auth/auth0",
|
|
40
|
-
"@mastra/auth-workos": "link:../../auth/workos",
|
|
41
|
-
"@mastra/auth-clerk": "link:../../auth/clerk"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
20
|
+
}
|
|
45
21
|
}
|
|
46
|
-
|
|
47
22
|
```
|
|
48
23
|
|
|
49
24
|
### mastra/agents/index.ts
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "fireworks-r1",
|
|
5
|
-
"version": "0.0.1",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"private": true,
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"chat": "bun run --watch src/chat.ts"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
5
|
"dependencies": {
|
|
16
6
|
"@ai-sdk/anthropic": "^1.2.12",
|
|
17
7
|
"@ai-sdk/fireworks": "^0.2.14",
|
|
@@ -31,18 +21,8 @@
|
|
|
31
21
|
"mastra": "latest",
|
|
32
22
|
"tsx": "^4.19.3",
|
|
33
23
|
"typescript": "^5.8.2"
|
|
34
|
-
}
|
|
35
|
-
"pnpm": {
|
|
36
|
-
"overrides": {
|
|
37
|
-
"@mastra/core": "link:../../packages/core",
|
|
38
|
-
"@mastra/mcp": "link:../../packages/mcp",
|
|
39
|
-
"@mastra/memory": "link:../../packages/memory",
|
|
40
|
-
"mastra": "link:../../packages/mastra"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
24
|
+
}
|
|
44
25
|
}
|
|
45
|
-
|
|
46
26
|
```
|
|
47
27
|
|
|
48
28
|
### chat.ts
|
|
@@ -2,18 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-mcp-configuration",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"main": "index.js",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"start": "npx bun src/index.ts",
|
|
10
|
-
"dev": "mastra dev",
|
|
11
|
-
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules --max-old-space-size=8192' jest"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [],
|
|
14
|
-
"author": "",
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"description": "",
|
|
17
5
|
"dependencies": {
|
|
18
6
|
"@ai-sdk/openai": "latest",
|
|
19
7
|
"@mastra/core": "latest",
|
|
@@ -30,19 +18,8 @@
|
|
|
30
18
|
"mastra": "latest",
|
|
31
19
|
"ts-jest": "^29.2.6",
|
|
32
20
|
"tsx": "^4.19.3"
|
|
33
|
-
}
|
|
34
|
-
"pnpm": {
|
|
35
|
-
"overrides": {
|
|
36
|
-
"@mastra/core": "link:../../packages/core",
|
|
37
|
-
"@mastra/mcp": "link:../../packages/mcp",
|
|
38
|
-
"@mastra/memory": "link:../../packages/memory",
|
|
39
|
-
"mastra": "link:../../packages/cli"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"version": "0.0.1",
|
|
43
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
21
|
+
}
|
|
44
22
|
}
|
|
45
|
-
|
|
46
23
|
```
|
|
47
24
|
|
|
48
25
|
### index.ts
|
|
@@ -2,35 +2,14 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-mcp-registry-registry",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"description": "",
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"version": "0.0.1",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"start-deployed": "npx bun src/with-deployed.ts",
|
|
12
|
-
"start": "npx bun src/index.ts"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [],
|
|
15
|
-
"author": "",
|
|
16
|
-
"license": "MIT",
|
|
17
5
|
"dependencies": {
|
|
18
6
|
"@ai-sdk/openai": "^1.3.22",
|
|
19
7
|
"@mastra/core": "latest",
|
|
20
8
|
"@mastra/mcp": "latest",
|
|
21
9
|
"@mastra/mcp-registry-registry": "latest",
|
|
22
10
|
"zod": "^3.25.67"
|
|
23
|
-
}
|
|
24
|
-
"pnpm": {
|
|
25
|
-
"overrides": {
|
|
26
|
-
"@mastra/mcp": "link:../../packages/mcp",
|
|
27
|
-
"@mastra/mcp-registry-registry": "link:../../packages/mcp-registry-registry",
|
|
28
|
-
"@mastra/core": "link:../../packages/core"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
11
|
+
}
|
|
32
12
|
}
|
|
33
|
-
|
|
34
13
|
```
|
|
35
14
|
|
|
36
15
|
### mastra/agents/index.ts
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-per-resource-example",
|
|
5
|
-
"version": "0.1.0",
|
|
6
|
-
"private": true,
|
|
7
|
-
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "tsx src/example.ts"
|
|
10
|
-
},
|
|
11
5
|
"dependencies": {
|
|
12
6
|
"@ai-sdk/openai": "^0.0.68",
|
|
13
7
|
"@mastra/core": "latest",
|
|
@@ -21,16 +15,8 @@
|
|
|
21
15
|
"devDependencies": {
|
|
22
16
|
"@types/node": "^20.19.0",
|
|
23
17
|
"typescript": "^5.8.3"
|
|
24
|
-
},
|
|
25
|
-
"pnpm": {
|
|
26
|
-
"overrides": {
|
|
27
|
-
"@mastra/core": "link:../../packages/core",
|
|
28
|
-
"@mastra/memory": "link:../../packages/memory",
|
|
29
|
-
"@mastra/libsql": "link:../../stores/libsql"
|
|
30
|
-
}
|
|
31
18
|
}
|
|
32
19
|
}
|
|
33
|
-
|
|
34
20
|
```
|
|
35
21
|
|
|
36
22
|
### example.ts
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-todo-agent",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"description": "",
|
|
7
|
-
"private": true,
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"chat": "bun run src/index.ts"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
5
|
"dependencies": {
|
|
16
6
|
"@ai-sdk/openai": "latest",
|
|
17
7
|
"@mastra/core": "latest",
|
|
@@ -19,17 +9,8 @@
|
|
|
19
9
|
"ai": "latest",
|
|
20
10
|
"chalk": "^5.4.1",
|
|
21
11
|
"ora": "^8.2.0"
|
|
22
|
-
}
|
|
23
|
-
"pnpm": {
|
|
24
|
-
"overrides": {
|
|
25
|
-
"@mastra/core": "link:../../packages/core",
|
|
26
|
-
"@mastra/memory": "link:../../packages/memory"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"version": "0.1.6",
|
|
30
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
12
|
+
}
|
|
31
13
|
}
|
|
32
|
-
|
|
33
14
|
```
|
|
34
15
|
|
|
35
16
|
### index.ts
|
|
@@ -2,33 +2,14 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-with-context",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"description": "",
|
|
7
|
-
"private": true,
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"chat": "bun run src/chat.ts"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
5
|
"dependencies": {
|
|
16
6
|
"@ai-sdk/openai": "^1.3.22",
|
|
17
7
|
"@mastra/core": "latest",
|
|
18
8
|
"@mastra/memory": "latest",
|
|
19
9
|
"chalk": "^5.4.1",
|
|
20
10
|
"ora": "^8.2.0"
|
|
21
|
-
}
|
|
22
|
-
"version": "0.0.1",
|
|
23
|
-
"pnpm": {
|
|
24
|
-
"overrides": {
|
|
25
|
-
"@mastra/core": "link:../../packages/core",
|
|
26
|
-
"@mastra/memory": "link:../../packages/memory"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
11
|
+
}
|
|
30
12
|
}
|
|
31
|
-
|
|
32
13
|
```
|
|
33
14
|
|
|
34
15
|
### chat.ts
|
|
@@ -2,32 +2,12 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-with-libsql",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"description": "",
|
|
7
|
-
"private": true,
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"start": "bun run --watch src/index.ts",
|
|
11
|
-
"chat": "bun run --watch src/chat.ts"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [],
|
|
14
|
-
"author": "",
|
|
15
|
-
"license": "MIT",
|
|
16
5
|
"dependencies": {
|
|
17
6
|
"@ai-sdk/openai": "latest",
|
|
18
7
|
"@mastra/core": "latest",
|
|
19
8
|
"@mastra/memory": "latest"
|
|
20
|
-
}
|
|
21
|
-
"version": "0.0.1",
|
|
22
|
-
"pnpm": {
|
|
23
|
-
"overrides": {
|
|
24
|
-
"@mastra/core": "link:../../packages/core",
|
|
25
|
-
"@mastra/memory": "link:../../packages/memory"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
9
|
+
}
|
|
29
10
|
}
|
|
30
|
-
|
|
31
11
|
```
|
|
32
12
|
|
|
33
13
|
### chat.ts
|
|
@@ -2,38 +2,18 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-with-mem0",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"private": true,
|
|
8
|
-
"scripts": {
|
|
9
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
10
|
-
"dev": "mastra dev"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
|
-
"description": "",
|
|
16
|
-
"type": "module",
|
|
17
5
|
"dependencies": {
|
|
18
6
|
"@ai-sdk/openai": "latest",
|
|
19
7
|
"@mastra/core": "latest",
|
|
20
8
|
"@mastra/mem0": "latest",
|
|
21
9
|
"zod": "^3.25.67"
|
|
22
10
|
},
|
|
23
|
-
"pnpm": {
|
|
24
|
-
"overrides": {
|
|
25
|
-
"@mastra/core": "link:../../packages/core",
|
|
26
|
-
"@mastra/mem0": "link:../../integrations/mem0"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
11
|
"devDependencies": {
|
|
30
12
|
"@types/node": "^22.15.29",
|
|
31
13
|
"tsx": "^4.19.3",
|
|
32
14
|
"typescript": "^5.8.2"
|
|
33
|
-
}
|
|
34
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
15
|
+
}
|
|
35
16
|
}
|
|
36
|
-
|
|
37
17
|
```
|
|
38
18
|
|
|
39
19
|
### mastra/agents/index.ts
|
|
@@ -2,38 +2,17 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-with-pg",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"version": "1.0.1",
|
|
7
|
-
"description": "",
|
|
8
|
-
"private": true,
|
|
9
|
-
"main": "index.js",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"start": "bun run --watch src/index.ts",
|
|
12
|
-
"chat": "bun run --watch src/chat.ts"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [],
|
|
15
|
-
"author": "",
|
|
16
|
-
"license": "MIT",
|
|
17
5
|
"dependencies": {
|
|
18
6
|
"@ai-sdk/openai": "latest",
|
|
19
7
|
"@mastra/core": "latest",
|
|
20
8
|
"@mastra/memory": "latest",
|
|
21
9
|
"@mastra/pg": "latest"
|
|
22
10
|
},
|
|
23
|
-
"pnpm": {
|
|
24
|
-
"overrides": {
|
|
25
|
-
"@mastra/core": "link:../../packages/core",
|
|
26
|
-
"@mastra/memory": "link:../../packages/memory",
|
|
27
|
-
"@mastra/pg": "link:../../stores/pg"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
11
|
"devDependencies": {
|
|
31
12
|
"dotenv": "^16.5.0",
|
|
32
13
|
"tsx": "^4.19.3"
|
|
33
|
-
}
|
|
34
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
14
|
+
}
|
|
35
15
|
}
|
|
36
|
-
|
|
37
16
|
```
|
|
38
17
|
|
|
39
18
|
### chat.ts
|
|
@@ -2,14 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-with-processors",
|
|
5
|
-
"private": true,
|
|
6
|
-
"version": "0.0.0",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"support": "tsx src/support-agent.ts",
|
|
10
|
-
"interview": "tsx src/forgetful-interviewer.ts",
|
|
11
|
-
"tokens": "tsx src/processor-example.ts"
|
|
12
|
-
},
|
|
13
5
|
"dependencies": {
|
|
14
6
|
"@ai-sdk/openai": "latest",
|
|
15
7
|
"@mastra/core": "latest",
|
|
@@ -21,16 +13,8 @@
|
|
|
21
13
|
"tiktoken": "^1.0.13",
|
|
22
14
|
"tsx": "^4.6.2",
|
|
23
15
|
"zod": "^3.25.67"
|
|
24
|
-
}
|
|
25
|
-
"pnpm": {
|
|
26
|
-
"overrides": {
|
|
27
|
-
"@mastra/core": "link:../../packages/core",
|
|
28
|
-
"@mastra/memory": "link:../../packages/memory"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
16
|
+
}
|
|
32
17
|
}
|
|
33
|
-
|
|
34
18
|
```
|
|
35
19
|
|
|
36
20
|
### forgetful-interviewer.ts
|
|
@@ -2,19 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "memory-with-upstash",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"version": "1.0.1",
|
|
7
|
-
"description": "",
|
|
8
|
-
"private": true,
|
|
9
|
-
"main": "index.js",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"prestart": "docker compose up -d",
|
|
12
|
-
"start": "npx bun src/index.ts",
|
|
13
|
-
"poststart": "docker compose down"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [],
|
|
16
|
-
"author": "",
|
|
17
|
-
"license": "MIT",
|
|
18
5
|
"dependencies": {
|
|
19
6
|
"@ai-sdk/openai": "latest",
|
|
20
7
|
"@mastra/core": "latest",
|
|
@@ -22,21 +9,11 @@
|
|
|
22
9
|
"@mastra/pg": "latest",
|
|
23
10
|
"@mastra/upstash": "latest"
|
|
24
11
|
},
|
|
25
|
-
"pnpm": {
|
|
26
|
-
"overrides": {
|
|
27
|
-
"@mastra/core": "link:../../packages/core",
|
|
28
|
-
"@mastra/memory": "link:../../packages/memory",
|
|
29
|
-
"@mastra/pg": "link:../../stores/pg",
|
|
30
|
-
"@mastra/upstash": "link:../../stores/upstash"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
12
|
"devDependencies": {
|
|
34
13
|
"dotenv": "^16.5.0",
|
|
35
14
|
"tsx": "^4.19.3"
|
|
36
|
-
}
|
|
37
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
15
|
+
}
|
|
38
16
|
}
|
|
39
|
-
|
|
40
17
|
```
|
|
41
18
|
|
|
42
19
|
### bubble.ts
|
|
@@ -2,14 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-openapi-spec-writer",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "next dev --turbopack",
|
|
9
|
-
"build": "next build",
|
|
10
|
-
"start": "next start",
|
|
11
|
-
"lint": "next lint"
|
|
12
|
-
},
|
|
13
5
|
"dependencies": {
|
|
14
6
|
"@ai-sdk/openai": "^1.3.22",
|
|
15
7
|
"@mastra/core": "latest",
|
|
@@ -50,20 +42,8 @@
|
|
|
50
42
|
"peerDependencies": {
|
|
51
43
|
"react": ">= 0.14.0 || 19",
|
|
52
44
|
"react-dom": ">= 0.14.0 || 19"
|
|
53
|
-
}
|
|
54
|
-
"version": "0.0.1",
|
|
55
|
-
"pnpm": {
|
|
56
|
-
"overrides": {
|
|
57
|
-
"@mastra/core": "link:../../packages/core",
|
|
58
|
-
"@mastra/firecrawl": "link:../../integrations/firecrawl",
|
|
59
|
-
"@mastra/github": "link:../../integrations/github",
|
|
60
|
-
"@mastra/loggers": "link:../../packages/loggers",
|
|
61
|
-
"@mastra/rag": "link:../../packages/rag"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
45
|
+
}
|
|
65
46
|
}
|
|
66
|
-
|
|
67
47
|
```
|
|
68
48
|
|
|
69
49
|
### lib/hooks/useCopyToClipboard.ts
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-quick-start",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"description": "",
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
5
|
"devDependencies": {
|
|
16
6
|
"@types/node": "^20.17.57",
|
|
17
7
|
"tsx": "^4.19.3",
|
|
@@ -26,18 +16,8 @@
|
|
|
26
16
|
"@mastra/loggers": "latest",
|
|
27
17
|
"@mastra/memory": "latest",
|
|
28
18
|
"ai": "latest"
|
|
29
|
-
}
|
|
30
|
-
"pnpm": {
|
|
31
|
-
"overrides": {
|
|
32
|
-
"@mastra/core": "link:../../packages/core",
|
|
33
|
-
"@mastra/loggers": "link:../../packages/loggers",
|
|
34
|
-
"@mastra/memory": "link:../../packages/memory"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"version": "0.0.1",
|
|
38
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
19
|
+
}
|
|
39
20
|
}
|
|
40
|
-
|
|
41
21
|
```
|
|
42
22
|
|
|
43
23
|
### index.ts
|
|
@@ -2,17 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-stock-price-tool",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"main": "index.js",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "mastra dev",
|
|
10
|
-
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules --max-old-space-size=8192' jest"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
|
-
"description": "",
|
|
16
5
|
"dependencies": {
|
|
17
6
|
"@ai-sdk/openai": "latest",
|
|
18
7
|
"@mastra/core": "latest",
|
|
@@ -23,17 +12,8 @@
|
|
|
23
12
|
"jest": "^29.7.0",
|
|
24
13
|
"mastra": "latest",
|
|
25
14
|
"ts-jest": "^29.2.6"
|
|
26
|
-
}
|
|
27
|
-
"pnpm": {
|
|
28
|
-
"overrides": {
|
|
29
|
-
"@mastra/core": "link:../../packages/core",
|
|
30
|
-
"mastra": "link:../../packages/cli"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"version": "0.0.1",
|
|
34
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
15
|
+
}
|
|
35
16
|
}
|
|
36
|
-
|
|
37
17
|
```
|
|
38
18
|
|
|
39
19
|
### index.ts
|
|
@@ -2,32 +2,13 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-weather-agent",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"description": "",
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"dev": "npx tsx src/mastra/index.ts"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "",
|
|
14
|
-
"license": "MIT",
|
|
15
5
|
"dependencies": {
|
|
16
6
|
"@ai-sdk/openai": "^1.3.22",
|
|
17
7
|
"@mastra/core": "latest",
|
|
18
8
|
"@mastra/libsql": "latest",
|
|
19
9
|
"zod": "^3.25.67"
|
|
20
|
-
}
|
|
21
|
-
"version": "0.0.1",
|
|
22
|
-
"pnpm": {
|
|
23
|
-
"overrides": {
|
|
24
|
-
"@mastra/core": "link:../../packages/core",
|
|
25
|
-
"@mastra/libsql": "link:../../stores/libsql"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
10
|
+
}
|
|
29
11
|
}
|
|
30
|
-
|
|
31
12
|
```
|
|
32
13
|
|
|
33
14
|
### mastra/agents/index.ts
|
|
@@ -2,18 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "examples-workflow-ai-recruiter",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"private": true,
|
|
7
|
-
"main": "index.js",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
10
|
-
"dev": "mastra dev",
|
|
11
|
-
"start:dev": "npx bun src/mastra/index.ts"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [],
|
|
14
|
-
"author": "",
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"description": "",
|
|
17
5
|
"devDependencies": {
|
|
18
6
|
"@types/node": "^20.17.57",
|
|
19
7
|
"mastra": "latest",
|
|
@@ -26,17 +14,8 @@
|
|
|
26
14
|
"@mastra/core": "latest",
|
|
27
15
|
"ai": "latest",
|
|
28
16
|
"mastra": "latest"
|
|
29
|
-
}
|
|
30
|
-
"version": "0.0.1",
|
|
31
|
-
"pnpm": {
|
|
32
|
-
"overrides": {
|
|
33
|
-
"@mastra/core": "link:../../packages/core",
|
|
34
|
-
"mastra": "link:../../packages/cli"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
17
|
+
}
|
|
38
18
|
}
|
|
39
|
-
|
|
40
19
|
```
|
|
41
20
|
|
|
42
21
|
### mastra/index.ts
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
```json
|
|
3
3
|
{
|
|
4
4
|
"name": "workflow-with-inline-steps",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"private": true,
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
-
"dev": "mastra dev"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [],
|
|
12
|
-
"author": "",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"description": "",
|
|
15
5
|
"devDependencies": {
|
|
16
6
|
"@types/node": "^20.17.57",
|
|
17
7
|
"mastra": "latest",
|
|
@@ -21,17 +11,8 @@
|
|
|
21
11
|
},
|
|
22
12
|
"dependencies": {
|
|
23
13
|
"@mastra/core": "latest"
|
|
24
|
-
}
|
|
25
|
-
"pnpm": {
|
|
26
|
-
"overrides": {
|
|
27
|
-
"@mastra/core": "link:../../packages/core",
|
|
28
|
-
"mastra": "link:../../packages/cli"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"version": "0.0.1-alpha.2",
|
|
32
|
-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
14
|
+
}
|
|
33
15
|
}
|
|
34
|
-
|
|
35
16
|
```
|
|
36
17
|
|
|
37
18
|
### mastra/index.ts
|