@mastra/mcp-docs-server 0.13.7 → 0.13.8-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/%40internal%2Fstorage-test-utils.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fastra.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fchroma.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +67 -67
- package/.docs/organized/changelogs/%40mastra%2Fcloud.md +44 -44
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +34 -34
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +78 -78
- package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +56 -56
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +52 -52
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +52 -52
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +81 -81
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fevals.md +36 -36
- package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +47 -47
- package/.docs/organized/changelogs/%40mastra%2Fgithub.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Flance.md +30 -0
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +50 -50
- package/.docs/organized/changelogs/%40mastra%2Floggers.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +51 -51
- package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +43 -43
- package/.docs/organized/changelogs/%40mastra%2Fmem0.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +51 -51
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +48 -48
- package/.docs/organized/changelogs/%40mastra%2Fmssql.md +32 -0
- package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +58 -58
- package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +58 -58
- package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Frag.md +46 -46
- package/.docs/organized/changelogs/%40mastra%2Fragie.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +65 -65
- package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +49 -49
- package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +43 -43
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +35 -35
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +45 -45
- package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +31 -31
- package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +31 -31
- package/.docs/organized/changelogs/create-mastra.md +10 -10
- package/.docs/organized/changelogs/mastra.md +79 -79
- package/.docs/raw/agents/overview.mdx +52 -47
- package/.docs/raw/community/contributing-templates.mdx +1 -0
- package/.docs/raw/memory/overview.mdx +3 -1
- package/.docs/raw/memory/working-memory.mdx +67 -0
- package/.docs/raw/observability/logging.mdx +94 -19
- package/.docs/raw/reference/observability/logger.mdx +69 -50
- package/.docs/raw/reference/observability/providers/langfuse.mdx +47 -14
- package/.docs/raw/reference/workflows/dountil.mdx +1 -2
- package/.docs/raw/reference/workflows/dowhile.mdx +1 -2
- package/.docs/raw/reference/workflows/resume.mdx +13 -3
- package/.docs/raw/reference/workflows/step.mdx +0 -1
- package/.docs/raw/workflows/suspend-and-resume.mdx +13 -2
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/logger.d.ts +11 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/prepare-docs/code-examples.d.ts +5 -0
- package/dist/prepare-docs/code-examples.d.ts.map +1 -0
- package/dist/prepare-docs/copy-raw.d.ts +2 -0
- package/dist/prepare-docs/copy-raw.d.ts.map +1 -0
- package/dist/prepare-docs/package-changes.d.ts +5 -0
- package/dist/prepare-docs/package-changes.d.ts.map +1 -0
- package/dist/prepare-docs/prepare.d.ts +2 -1
- package/dist/prepare-docs/prepare.d.ts.map +1 -0
- package/dist/stdio.d.ts +2 -0
- package/dist/stdio.d.ts.map +1 -0
- package/dist/tools/__tests__/test-setup.d.ts +5 -0
- package/dist/tools/__tests__/test-setup.d.ts.map +1 -0
- package/dist/tools/blog.d.ts +22 -0
- package/dist/tools/blog.d.ts.map +1 -0
- package/dist/tools/changes.d.ts +22 -0
- package/dist/tools/changes.d.ts.map +1 -0
- package/dist/tools/course.d.ts +85 -0
- package/dist/tools/course.d.ts.map +1 -0
- package/dist/tools/docs.d.ts +28 -0
- package/dist/tools/docs.d.ts.map +1 -0
- package/dist/tools/examples.d.ts +28 -0
- package/dist/tools/examples.d.ts.map +1 -0
- package/dist/utils.d.ts +62 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +5 -5
- package/dist/_tsup-dts-rollup.d.ts +0 -304
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const examplesInputSchema: z.ZodObject<{
|
|
3
|
+
example: z.ZodOptional<z.ZodString>;
|
|
4
|
+
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
queryKeywords?: string[] | undefined;
|
|
7
|
+
example?: string | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
queryKeywords?: string[] | undefined;
|
|
10
|
+
example?: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export type ExamplesInput = z.infer<typeof examplesInputSchema>;
|
|
13
|
+
export declare const examplesTool: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
parameters: z.ZodObject<{
|
|
17
|
+
example: z.ZodOptional<z.ZodString>;
|
|
18
|
+
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
queryKeywords?: string[] | undefined;
|
|
21
|
+
example?: string | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
queryKeywords?: string[] | undefined;
|
|
24
|
+
example?: string | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
execute: (args: ExamplesInput) => Promise<string>;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=examples.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"examples.d.ts","sourceRoot":"","sources":["../../src/tools/examples.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8CxB,eAAO,MAAM,mBAAmB;;;;;;;;;EAa9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,YAAY;;;;;;;;;;;;;oBAOD,aAAa;CAgBpC,CAAC"}
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare function fromRepoRoot(relative: string): string;
|
|
3
|
+
export declare function fromPackageRoot(relative: string): string;
|
|
4
|
+
export declare const log: {
|
|
5
|
+
(...data: any[]): void;
|
|
6
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
7
|
+
};
|
|
8
|
+
export declare function getMatchingPaths(path: string, queryKeywords: string[], baseDir: string): Promise<string>;
|
|
9
|
+
export declare const blogPostSchema: z.ZodObject<{
|
|
10
|
+
slug: z.ZodString;
|
|
11
|
+
content: z.ZodString;
|
|
12
|
+
metadata: z.ZodObject<{
|
|
13
|
+
title: z.ZodString;
|
|
14
|
+
publishedAt: z.ZodString;
|
|
15
|
+
summary: z.ZodString;
|
|
16
|
+
image: z.ZodOptional<z.ZodString>;
|
|
17
|
+
author: z.ZodOptional<z.ZodString>;
|
|
18
|
+
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19
|
+
categories: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
title: string;
|
|
22
|
+
publishedAt: string;
|
|
23
|
+
summary: string;
|
|
24
|
+
draft: boolean;
|
|
25
|
+
categories: string | string[];
|
|
26
|
+
image?: string | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
title: string;
|
|
30
|
+
publishedAt: string;
|
|
31
|
+
summary: string;
|
|
32
|
+
categories: string | string[];
|
|
33
|
+
image?: string | undefined;
|
|
34
|
+
author?: string | undefined;
|
|
35
|
+
draft?: boolean | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
content: string;
|
|
39
|
+
slug: string;
|
|
40
|
+
metadata: {
|
|
41
|
+
title: string;
|
|
42
|
+
publishedAt: string;
|
|
43
|
+
summary: string;
|
|
44
|
+
draft: boolean;
|
|
45
|
+
categories: string | string[];
|
|
46
|
+
image?: string | undefined;
|
|
47
|
+
author?: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
content: string;
|
|
51
|
+
slug: string;
|
|
52
|
+
metadata: {
|
|
53
|
+
title: string;
|
|
54
|
+
publishedAt: string;
|
|
55
|
+
summary: string;
|
|
56
|
+
categories: string | string[];
|
|
57
|
+
image?: string | undefined;
|
|
58
|
+
author?: string | undefined;
|
|
59
|
+
draft?: boolean | undefined;
|
|
60
|
+
};
|
|
61
|
+
}>;
|
|
62
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,UAE5C;AACD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,UAE/C;AAGD,eAAO,MAAM,GAAG;;;CAAgB,CAAC;AAyIjC,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAe9G;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.8-alpha.1",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"uuid": "^11.1.0",
|
|
33
33
|
"zod": "^3.25.67",
|
|
34
34
|
"zod-to-json-schema": "^3.24.5",
|
|
35
|
-
"@mastra/core": "0.12.
|
|
36
|
-
"@mastra/mcp": "^0.10.
|
|
35
|
+
"@mastra/core": "0.12.1-alpha.1",
|
|
36
|
+
"@mastra/mcp": "^0.10.9-alpha.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@hono/node-server": "^1.17.1",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"typescript": "^5.8.3",
|
|
50
50
|
"vitest": "^3.2.4",
|
|
51
51
|
"@internal/lint": "0.0.24",
|
|
52
|
-
"@mastra/core": "0.12.
|
|
52
|
+
"@mastra/core": "0.12.1-alpha.1"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"prepare-docs": "cross-env PREPARE=true node dist/prepare-docs/prepare.js",
|
|
56
|
-
"build:cli": "tsup src/stdio.ts src/prepare-docs/prepare.ts --format esm --
|
|
56
|
+
"build:cli": "tsup src/stdio.ts src/prepare-docs/prepare.ts --format esm --no-dts --treeshake=smallest --splitting && tsc -p tsconfig.build.json",
|
|
57
57
|
"pretest": "pnpm turbo build --filter @mastra/mcp-docs-server",
|
|
58
58
|
"test": "vitest run",
|
|
59
59
|
"lint": "eslint ."
|
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { MCPClient } from '@mastra/mcp';
|
|
2
|
-
import { MCPServer } from '@mastra/mcp';
|
|
3
|
-
import { ServerType } from '@hono/node-server/.';
|
|
4
|
-
import z from 'zod';
|
|
5
|
-
|
|
6
|
-
export declare type BlogInput = z.infer<typeof blogInputSchema>;
|
|
7
|
-
|
|
8
|
-
export declare const blogInputSchema: z.ZodObject<{
|
|
9
|
-
url: z.ZodString;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
url: string;
|
|
12
|
-
}, {
|
|
13
|
-
url: string;
|
|
14
|
-
}>;
|
|
15
|
-
|
|
16
|
-
export declare const blogPostSchema: z.ZodObject<{
|
|
17
|
-
slug: z.ZodString;
|
|
18
|
-
content: z.ZodString;
|
|
19
|
-
metadata: z.ZodObject<{
|
|
20
|
-
title: z.ZodString;
|
|
21
|
-
publishedAt: z.ZodString;
|
|
22
|
-
summary: z.ZodString;
|
|
23
|
-
image: z.ZodOptional<z.ZodString>;
|
|
24
|
-
author: z.ZodOptional<z.ZodString>;
|
|
25
|
-
draft: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
26
|
-
categories: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
title: string;
|
|
29
|
-
publishedAt: string;
|
|
30
|
-
summary: string;
|
|
31
|
-
draft: boolean;
|
|
32
|
-
categories: string | string[];
|
|
33
|
-
image?: string | undefined;
|
|
34
|
-
author?: string | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
title: string;
|
|
37
|
-
publishedAt: string;
|
|
38
|
-
summary: string;
|
|
39
|
-
categories: string | string[];
|
|
40
|
-
image?: string | undefined;
|
|
41
|
-
author?: string | undefined;
|
|
42
|
-
draft?: boolean | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
content: string;
|
|
46
|
-
slug: string;
|
|
47
|
-
metadata: {
|
|
48
|
-
title: string;
|
|
49
|
-
publishedAt: string;
|
|
50
|
-
summary: string;
|
|
51
|
-
draft: boolean;
|
|
52
|
-
categories: string | string[];
|
|
53
|
-
image?: string | undefined;
|
|
54
|
-
author?: string | undefined;
|
|
55
|
-
};
|
|
56
|
-
}, {
|
|
57
|
-
content: string;
|
|
58
|
-
slug: string;
|
|
59
|
-
metadata: {
|
|
60
|
-
title: string;
|
|
61
|
-
publishedAt: string;
|
|
62
|
-
summary: string;
|
|
63
|
-
categories: string | string[];
|
|
64
|
-
image?: string | undefined;
|
|
65
|
-
author?: string | undefined;
|
|
66
|
-
draft?: boolean | undefined;
|
|
67
|
-
};
|
|
68
|
-
}>;
|
|
69
|
-
|
|
70
|
-
export declare const blogTool: {
|
|
71
|
-
name: string;
|
|
72
|
-
description: string;
|
|
73
|
-
parameters: z.ZodObject<{
|
|
74
|
-
url: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
url: string;
|
|
77
|
-
}, {
|
|
78
|
-
url: string;
|
|
79
|
-
}>;
|
|
80
|
-
execute: (args: BlogInput) => Promise<string>;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export declare function callTool(tool: any, args: any): Promise<string>;
|
|
84
|
-
|
|
85
|
-
export declare type ChangesInput = z.infer<typeof changesInputSchema>;
|
|
86
|
-
|
|
87
|
-
export declare const changesInputSchema: z.ZodObject<{
|
|
88
|
-
package: z.ZodOptional<z.ZodString>;
|
|
89
|
-
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
package?: string | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
package?: string | undefined;
|
|
93
|
-
}>;
|
|
94
|
-
|
|
95
|
-
export declare const changesTool: {
|
|
96
|
-
name: string;
|
|
97
|
-
description: string;
|
|
98
|
-
parameters: z.ZodObject<{
|
|
99
|
-
package: z.ZodOptional<z.ZodString>;
|
|
100
|
-
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
package?: string | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
package?: string | undefined;
|
|
104
|
-
}>;
|
|
105
|
-
execute: (args: ChangesInput) => Promise<string>;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
export declare const clearMastraCourseHistory: {
|
|
109
|
-
name: string;
|
|
110
|
-
description: string;
|
|
111
|
-
parameters: z.ZodObject<{
|
|
112
|
-
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
confirm?: boolean | undefined;
|
|
115
|
-
}, {
|
|
116
|
-
confirm?: boolean | undefined;
|
|
117
|
-
}>;
|
|
118
|
-
execute: (args: z.infer<typeof _confirmationSchema>) => Promise<string>;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
declare const _confirmationSchema: z.ZodObject<{
|
|
122
|
-
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
-
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
confirm?: boolean | undefined;
|
|
125
|
-
}, {
|
|
126
|
-
confirm?: boolean | undefined;
|
|
127
|
-
}>;
|
|
128
|
-
|
|
129
|
-
export declare function copyRaw(): Promise<void>;
|
|
130
|
-
|
|
131
|
-
declare const _courseLessonSchema: z.ZodObject<{
|
|
132
|
-
lessonName: z.ZodString;
|
|
133
|
-
}, "strip", z.ZodTypeAny, {
|
|
134
|
-
lessonName: string;
|
|
135
|
-
}, {
|
|
136
|
-
lessonName: string;
|
|
137
|
-
}>;
|
|
138
|
-
|
|
139
|
-
declare type CourseState = {
|
|
140
|
-
currentLesson: string;
|
|
141
|
-
lessons: Array<{
|
|
142
|
-
name: string;
|
|
143
|
-
status: number;
|
|
144
|
-
steps: Array<{
|
|
145
|
-
name: string;
|
|
146
|
-
status: number;
|
|
147
|
-
}>;
|
|
148
|
-
}>;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
export declare function createLogger(server?: MCPServer): Logger;
|
|
152
|
-
|
|
153
|
-
export declare type DocsInput = z.infer<typeof docsInputSchema>;
|
|
154
|
-
|
|
155
|
-
export declare const docsInputSchema: z.ZodObject<{
|
|
156
|
-
paths: z.ZodArray<z.ZodString, "many">;
|
|
157
|
-
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
158
|
-
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
paths: string[];
|
|
160
|
-
queryKeywords?: string[] | undefined;
|
|
161
|
-
}, {
|
|
162
|
-
paths: string[];
|
|
163
|
-
queryKeywords?: string[] | undefined;
|
|
164
|
-
}>;
|
|
165
|
-
|
|
166
|
-
export declare const docsTool: {
|
|
167
|
-
name: string;
|
|
168
|
-
description: string;
|
|
169
|
-
parameters: z.ZodObject<{
|
|
170
|
-
paths: z.ZodArray<z.ZodString, "many">;
|
|
171
|
-
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
172
|
-
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
paths: string[];
|
|
174
|
-
queryKeywords?: string[] | undefined;
|
|
175
|
-
}, {
|
|
176
|
-
paths: string[];
|
|
177
|
-
queryKeywords?: string[] | undefined;
|
|
178
|
-
}>;
|
|
179
|
-
execute: (args: DocsInput) => Promise<string>;
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
export declare type ExamplesInput = z.infer<typeof examplesInputSchema>;
|
|
183
|
-
|
|
184
|
-
export declare const examplesInputSchema: z.ZodObject<{
|
|
185
|
-
example: z.ZodOptional<z.ZodString>;
|
|
186
|
-
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
187
|
-
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
queryKeywords?: string[] | undefined;
|
|
189
|
-
example?: string | undefined;
|
|
190
|
-
}, {
|
|
191
|
-
queryKeywords?: string[] | undefined;
|
|
192
|
-
example?: string | undefined;
|
|
193
|
-
}>;
|
|
194
|
-
|
|
195
|
-
export declare const examplesTool: {
|
|
196
|
-
name: string;
|
|
197
|
-
description: string;
|
|
198
|
-
parameters: z.ZodObject<{
|
|
199
|
-
example: z.ZodOptional<z.ZodString>;
|
|
200
|
-
queryKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
queryKeywords?: string[] | undefined;
|
|
203
|
-
example?: string | undefined;
|
|
204
|
-
}, {
|
|
205
|
-
queryKeywords?: string[] | undefined;
|
|
206
|
-
example?: string | undefined;
|
|
207
|
-
}>;
|
|
208
|
-
execute: (args: ExamplesInput) => Promise<string>;
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
export declare function fromPackageRoot(relative: string): string;
|
|
212
|
-
|
|
213
|
-
export declare function fromRepoRoot(relative: string): string;
|
|
214
|
-
|
|
215
|
-
export declare const getMastraCourseStatus: {
|
|
216
|
-
name: string;
|
|
217
|
-
description: string;
|
|
218
|
-
parameters: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
219
|
-
execute: (_args: Record<string, never>) => Promise<string>;
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
export declare function getMatchingPaths(path: string, queryKeywords: string[], baseDir: string): Promise<string>;
|
|
223
|
-
|
|
224
|
-
export declare const log: {
|
|
225
|
-
(...data: any[]): void;
|
|
226
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
export declare interface Logger {
|
|
230
|
-
info: (message: string, data?: any) => Promise<void>;
|
|
231
|
-
warning: (message: string, data?: any) => Promise<void>;
|
|
232
|
-
error: (message: string, error?: any) => Promise<void>;
|
|
233
|
-
debug: (message: string, data?: any) => Promise<void>;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
export declare const logger: Logger;
|
|
237
|
-
|
|
238
|
-
export declare const mcp: MCPClient;
|
|
239
|
-
|
|
240
|
-
export declare const nextMastraCourseStep: {
|
|
241
|
-
name: string;
|
|
242
|
-
description: string;
|
|
243
|
-
parameters: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
244
|
-
execute: (_args: Record<string, never>) => Promise<string>;
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
export declare function prepare(): Promise<void>;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Scans example directories and creates flattened code example files
|
|
251
|
-
*/
|
|
252
|
-
export declare function prepareCodeExamples(): Promise<void>;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Scans package directories and creates organized changelog files
|
|
256
|
-
*/
|
|
257
|
-
export declare function preparePackageChanges(): Promise<void>;
|
|
258
|
-
|
|
259
|
-
export declare function registerUserLocally(email: string): Promise<{
|
|
260
|
-
success: boolean;
|
|
261
|
-
id: string;
|
|
262
|
-
key: string;
|
|
263
|
-
message: string;
|
|
264
|
-
}>;
|
|
265
|
-
|
|
266
|
-
export declare function runServer(): Promise<void>;
|
|
267
|
-
|
|
268
|
-
export declare let server: MCPServer;
|
|
269
|
-
|
|
270
|
-
export declare const server_alias_1: ServerType;
|
|
271
|
-
|
|
272
|
-
export declare const startMastraCourse: {
|
|
273
|
-
name: string;
|
|
274
|
-
description: string;
|
|
275
|
-
parameters: z.ZodObject<{
|
|
276
|
-
email: z.ZodOptional<z.ZodString>;
|
|
277
|
-
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
email?: string | undefined;
|
|
279
|
-
}, {
|
|
280
|
-
email?: string | undefined;
|
|
281
|
-
}>;
|
|
282
|
-
execute: (args: {
|
|
283
|
-
email?: string;
|
|
284
|
-
}) => Promise<string>;
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
export declare const startMastraCourseLesson: {
|
|
288
|
-
name: string;
|
|
289
|
-
description: string;
|
|
290
|
-
parameters: z.ZodObject<{
|
|
291
|
-
lessonName: z.ZodString;
|
|
292
|
-
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
lessonName: string;
|
|
294
|
-
}, {
|
|
295
|
-
lessonName: string;
|
|
296
|
-
}>;
|
|
297
|
-
execute: (args: z.infer<typeof _courseLessonSchema>) => Promise<string>;
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
export declare function updateCourseStateOnServerLocally(deviceId: string, state: CourseState): Promise<void>;
|
|
301
|
-
|
|
302
|
-
export declare const writeErrorLog: (message: string, data?: any) => void;
|
|
303
|
-
|
|
304
|
-
export { }
|