@powerhousedao/reactor-mcp 4.1.0-dev.4 → 4.1.0-dev.40
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/dist/src/cli.js +7 -3
- package/dist/src/cli.js.map +1 -1
- package/dist/src/express.d.ts +5 -0
- package/dist/src/express.d.ts.map +1 -0
- package/dist/src/express.js +59 -0
- package/dist/src/express.js.map +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -10
- package/dist/src/index.js.map +1 -1
- package/dist/src/logger.d.ts +3 -0
- package/dist/src/logger.d.ts.map +1 -0
- package/dist/src/logger.js +3 -0
- package/dist/src/logger.js.map +1 -0
- package/dist/src/sdk/chat.d.ts +19 -0
- package/dist/src/sdk/chat.d.ts.map +1 -0
- package/dist/src/sdk/chat.js +60 -0
- package/dist/src/sdk/chat.js.map +1 -0
- package/dist/src/server.d.ts +3 -2
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +38 -762
- package/dist/src/server.js.map +1 -1
- package/dist/src/stdio/index.d.ts +7 -0
- package/dist/src/stdio/index.d.ts.map +1 -0
- package/dist/src/stdio/index.js +84 -0
- package/dist/src/stdio/index.js.map +1 -0
- package/dist/src/stdio/loader.d.ts +18 -0
- package/dist/src/stdio/loader.d.ts.map +1 -0
- package/dist/src/stdio/loader.js +86 -0
- package/dist/src/stdio/loader.js.map +1 -0
- package/dist/src/tools/reactor.d.ts +847 -0
- package/dist/src/tools/reactor.d.ts.map +1 -0
- package/dist/src/{mcp → tools}/reactor.js +200 -146
- package/dist/src/tools/reactor.js.map +1 -0
- package/dist/src/tools/types.d.ts.map +1 -0
- package/dist/src/{mcp → tools}/types.js.map +1 -1
- package/dist/src/{mcp → tools}/utils.d.ts +8 -21
- package/dist/src/tools/utils.d.ts.map +1 -0
- package/dist/src/{utils.js → tools/utils.js} +46 -3
- package/dist/src/tools/utils.js.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +15 -10
- package/dist/src/mcp/reactor.d.ts +0 -630
- package/dist/src/mcp/reactor.d.ts.map +0 -1
- package/dist/src/mcp/reactor.js.map +0 -1
- package/dist/src/mcp/types.d.ts.map +0 -1
- package/dist/src/mcp/utils.d.ts.map +0 -1
- package/dist/src/mcp/utils.js +0 -62
- package/dist/src/mcp/utils.js.map +0 -1
- package/dist/src/reactor.d.ts +0 -43
- package/dist/src/reactor.d.ts.map +0 -1
- package/dist/src/reactor.js +0 -142
- package/dist/src/reactor.js.map +0 -1
- package/dist/src/utils.d.ts +0 -10
- package/dist/src/utils.d.ts.map +0 -1
- package/dist/src/utils.js.map +0 -1
- /package/dist/src/{mcp → tools}/types.d.ts +0 -0
- /package/dist/src/{mcp → tools}/types.js +0 -0
|
@@ -0,0 +1,847 @@
|
|
|
1
|
+
import type { IDocumentDriveServer } from "document-drive";
|
|
2
|
+
import { type DocumentModelState } from "document-model";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import type { ToolSchema, ToolWithCallback } from "./types.js";
|
|
5
|
+
export declare const createDocumentTool: {
|
|
6
|
+
readonly name: "createDocument";
|
|
7
|
+
readonly description: "Create a new document.\n Unless the user specifies otherwise, and a drive named \"vetra\" is available, add the document after creating it to that drive using \"addActions\" tool with a \"ADD_FILE\" action to the drive document.";
|
|
8
|
+
readonly inputSchema: {
|
|
9
|
+
readonly documentType: z.ZodString;
|
|
10
|
+
readonly documentId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
};
|
|
12
|
+
readonly outputSchema: {
|
|
13
|
+
readonly documentId: z.ZodString;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const getDocumentTool: {
|
|
17
|
+
readonly name: "getDocument";
|
|
18
|
+
readonly description: "Retrieve a document by its ID";
|
|
19
|
+
readonly inputSchema: {
|
|
20
|
+
readonly id: z.ZodString;
|
|
21
|
+
};
|
|
22
|
+
readonly outputSchema: {
|
|
23
|
+
readonly document: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const getDocumentsTool: {
|
|
27
|
+
readonly name: "getDocuments";
|
|
28
|
+
readonly description: "List documents in a drive";
|
|
29
|
+
readonly inputSchema: {
|
|
30
|
+
readonly parentId: z.ZodString;
|
|
31
|
+
};
|
|
32
|
+
readonly outputSchema: {
|
|
33
|
+
readonly documentIds: z.ZodArray<z.ZodString, "many">;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export declare const deleteDocumentTool: {
|
|
37
|
+
readonly name: "deleteDocument";
|
|
38
|
+
readonly description: "Delete a document";
|
|
39
|
+
readonly inputSchema: {
|
|
40
|
+
readonly documentId: z.ZodString;
|
|
41
|
+
};
|
|
42
|
+
readonly outputSchema: {
|
|
43
|
+
readonly success: z.ZodBoolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const addActionsTool: {
|
|
47
|
+
readonly name: "addActions";
|
|
48
|
+
readonly description: "Adds actions to a document. Prefer adding multiples actions at once to reduce the number of steps.";
|
|
49
|
+
readonly inputSchema: {
|
|
50
|
+
readonly documentId: z.ZodString;
|
|
51
|
+
readonly actions: z.ZodArray<z.ZodObject<{
|
|
52
|
+
type: z.ZodString;
|
|
53
|
+
input: z.ZodUnknown;
|
|
54
|
+
scope: z.ZodString;
|
|
55
|
+
context: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
56
|
+
}, "strict", z.ZodTypeAny, {
|
|
57
|
+
type: string;
|
|
58
|
+
scope: string;
|
|
59
|
+
input?: unknown;
|
|
60
|
+
context?: {} | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
type: string;
|
|
63
|
+
scope: string;
|
|
64
|
+
input?: unknown;
|
|
65
|
+
context?: {} | undefined;
|
|
66
|
+
}>, "many">;
|
|
67
|
+
};
|
|
68
|
+
readonly outputSchema: {
|
|
69
|
+
readonly success: z.ZodBoolean;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export declare const getDrivesTool: {
|
|
73
|
+
readonly name: "getDrives";
|
|
74
|
+
readonly description: "List all drives";
|
|
75
|
+
readonly inputSchema: {};
|
|
76
|
+
readonly outputSchema: {
|
|
77
|
+
readonly driveIds: z.ZodArray<z.ZodString, "many">;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export declare const addDriveTool: {
|
|
81
|
+
readonly name: "addDrive";
|
|
82
|
+
readonly description: "Create a new drive";
|
|
83
|
+
readonly inputSchema: {
|
|
84
|
+
readonly driveInput: z.ZodObject<{
|
|
85
|
+
global: z.ZodObject<{
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
name: string;
|
|
90
|
+
icon?: string | null | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
name: string;
|
|
93
|
+
icon?: string | null | undefined;
|
|
94
|
+
}>;
|
|
95
|
+
id: z.ZodOptional<z.ZodString>;
|
|
96
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
97
|
+
preferredEditor: z.ZodOptional<z.ZodString>;
|
|
98
|
+
local: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
availableOffline: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
sharingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
availableOffline?: boolean | undefined;
|
|
103
|
+
sharingType?: string | null | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
availableOffline?: boolean | undefined;
|
|
106
|
+
sharingType?: string | null | undefined;
|
|
107
|
+
}>>;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
global: {
|
|
110
|
+
name: string;
|
|
111
|
+
icon?: string | null | undefined;
|
|
112
|
+
};
|
|
113
|
+
id?: string | undefined;
|
|
114
|
+
slug?: string | undefined;
|
|
115
|
+
preferredEditor?: string | undefined;
|
|
116
|
+
local?: {
|
|
117
|
+
availableOffline?: boolean | undefined;
|
|
118
|
+
sharingType?: string | null | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
global: {
|
|
122
|
+
name: string;
|
|
123
|
+
icon?: string | null | undefined;
|
|
124
|
+
};
|
|
125
|
+
id?: string | undefined;
|
|
126
|
+
slug?: string | undefined;
|
|
127
|
+
preferredEditor?: string | undefined;
|
|
128
|
+
local?: {
|
|
129
|
+
availableOffline?: boolean | undefined;
|
|
130
|
+
sharingType?: string | null | undefined;
|
|
131
|
+
} | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
};
|
|
134
|
+
readonly outputSchema: {
|
|
135
|
+
readonly driveId: z.ZodString;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
export declare const getDriveTool: {
|
|
139
|
+
readonly name: "getDrive";
|
|
140
|
+
readonly description: "Get a specific drive";
|
|
141
|
+
readonly inputSchema: {
|
|
142
|
+
readonly driveId: z.ZodString;
|
|
143
|
+
readonly options: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
revisions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
145
|
+
checkHashes: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
revisions?: Record<string, number> | undefined;
|
|
148
|
+
checkHashes?: boolean | undefined;
|
|
149
|
+
}, {
|
|
150
|
+
revisions?: Record<string, number> | undefined;
|
|
151
|
+
checkHashes?: boolean | undefined;
|
|
152
|
+
}>>;
|
|
153
|
+
};
|
|
154
|
+
readonly outputSchema: {
|
|
155
|
+
readonly drive: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
export declare const deleteDriveTool: {
|
|
159
|
+
readonly name: "deleteDrive";
|
|
160
|
+
readonly description: "Delete a drive";
|
|
161
|
+
readonly inputSchema: {
|
|
162
|
+
readonly driveId: z.ZodString;
|
|
163
|
+
};
|
|
164
|
+
readonly outputSchema: {
|
|
165
|
+
readonly success: z.ZodBoolean;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
export declare const addRemoteDriveTool: {
|
|
169
|
+
readonly name: "addRemoteDrive";
|
|
170
|
+
readonly description: "Connect to a remote drive";
|
|
171
|
+
readonly inputSchema: {
|
|
172
|
+
readonly url: z.ZodString;
|
|
173
|
+
readonly options: z.ZodObject<{
|
|
174
|
+
availableOffline: z.ZodBoolean;
|
|
175
|
+
sharingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
|
+
pullFilter: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
178
|
+
documentId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
179
|
+
documentType: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
180
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
scope?: string[] | null | undefined;
|
|
183
|
+
documentType?: string[] | null | undefined;
|
|
184
|
+
documentId?: string[] | null | undefined;
|
|
185
|
+
branch?: string[] | null | undefined;
|
|
186
|
+
}, {
|
|
187
|
+
scope?: string[] | null | undefined;
|
|
188
|
+
documentType?: string[] | null | undefined;
|
|
189
|
+
documentId?: string[] | null | undefined;
|
|
190
|
+
branch?: string[] | null | undefined;
|
|
191
|
+
}>>;
|
|
192
|
+
pullInterval: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
availableOffline: boolean;
|
|
195
|
+
sharingType?: string | null | undefined;
|
|
196
|
+
pullFilter?: {
|
|
197
|
+
scope?: string[] | null | undefined;
|
|
198
|
+
documentType?: string[] | null | undefined;
|
|
199
|
+
documentId?: string[] | null | undefined;
|
|
200
|
+
branch?: string[] | null | undefined;
|
|
201
|
+
} | undefined;
|
|
202
|
+
pullInterval?: number | undefined;
|
|
203
|
+
}, {
|
|
204
|
+
availableOffline: boolean;
|
|
205
|
+
sharingType?: string | null | undefined;
|
|
206
|
+
pullFilter?: {
|
|
207
|
+
scope?: string[] | null | undefined;
|
|
208
|
+
documentType?: string[] | null | undefined;
|
|
209
|
+
documentId?: string[] | null | undefined;
|
|
210
|
+
branch?: string[] | null | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
pullInterval?: number | undefined;
|
|
213
|
+
}>;
|
|
214
|
+
};
|
|
215
|
+
readonly outputSchema: {
|
|
216
|
+
readonly driveId: z.ZodString;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
type Properties<T> = Required<{
|
|
220
|
+
[K in keyof T]: z.ZodType<T[K], any, T[K]>;
|
|
221
|
+
}>;
|
|
222
|
+
export declare const getDocumentModelSchemaTool: {
|
|
223
|
+
readonly name: "getDocumentModelSchema";
|
|
224
|
+
readonly description: "Get the schema of a document model";
|
|
225
|
+
readonly inputSchema: {
|
|
226
|
+
readonly type: z.ZodString;
|
|
227
|
+
};
|
|
228
|
+
readonly outputSchema: {
|
|
229
|
+
readonly schema: z.ZodObject<Properties<DocumentModelState>>;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
export declare const getDocumentModelsTool: {
|
|
233
|
+
readonly name: "getDocumentModels";
|
|
234
|
+
readonly description: "Get the list of document models";
|
|
235
|
+
readonly inputSchema: {};
|
|
236
|
+
readonly outputSchema: {
|
|
237
|
+
readonly documentModels: z.ZodArray<z.ZodObject<{
|
|
238
|
+
name: z.ZodString;
|
|
239
|
+
type: z.ZodString;
|
|
240
|
+
description: z.ZodString;
|
|
241
|
+
extension: z.ZodString;
|
|
242
|
+
authorName: z.ZodString;
|
|
243
|
+
authorWebsite: z.ZodString;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
type: string;
|
|
246
|
+
name: string;
|
|
247
|
+
description: string;
|
|
248
|
+
extension: string;
|
|
249
|
+
authorName: string;
|
|
250
|
+
authorWebsite: string;
|
|
251
|
+
}, {
|
|
252
|
+
type: string;
|
|
253
|
+
name: string;
|
|
254
|
+
description: string;
|
|
255
|
+
extension: string;
|
|
256
|
+
authorName: string;
|
|
257
|
+
authorWebsite: string;
|
|
258
|
+
}>, "many">;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
type ToolRecord<T extends readonly ToolSchema[]> = {
|
|
262
|
+
[K in T[number]["name"]]: ToolWithCallback<Extract<T[number], {
|
|
263
|
+
name: K;
|
|
264
|
+
}>>;
|
|
265
|
+
};
|
|
266
|
+
declare const allTools: readonly [{
|
|
267
|
+
readonly name: "getDocument";
|
|
268
|
+
readonly description: "Retrieve a document by its ID";
|
|
269
|
+
readonly inputSchema: {
|
|
270
|
+
readonly id: z.ZodString;
|
|
271
|
+
};
|
|
272
|
+
readonly outputSchema: {
|
|
273
|
+
readonly document: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
274
|
+
};
|
|
275
|
+
}, {
|
|
276
|
+
readonly name: "createDocument";
|
|
277
|
+
readonly description: "Create a new document.\n Unless the user specifies otherwise, and a drive named \"vetra\" is available, add the document after creating it to that drive using \"addActions\" tool with a \"ADD_FILE\" action to the drive document.";
|
|
278
|
+
readonly inputSchema: {
|
|
279
|
+
readonly documentType: z.ZodString;
|
|
280
|
+
readonly documentId: z.ZodOptional<z.ZodString>;
|
|
281
|
+
};
|
|
282
|
+
readonly outputSchema: {
|
|
283
|
+
readonly documentId: z.ZodString;
|
|
284
|
+
};
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "getDocuments";
|
|
287
|
+
readonly description: "List documents in a drive";
|
|
288
|
+
readonly inputSchema: {
|
|
289
|
+
readonly parentId: z.ZodString;
|
|
290
|
+
};
|
|
291
|
+
readonly outputSchema: {
|
|
292
|
+
readonly documentIds: z.ZodArray<z.ZodString, "many">;
|
|
293
|
+
};
|
|
294
|
+
}, {
|
|
295
|
+
readonly name: "deleteDocument";
|
|
296
|
+
readonly description: "Delete a document";
|
|
297
|
+
readonly inputSchema: {
|
|
298
|
+
readonly documentId: z.ZodString;
|
|
299
|
+
};
|
|
300
|
+
readonly outputSchema: {
|
|
301
|
+
readonly success: z.ZodBoolean;
|
|
302
|
+
};
|
|
303
|
+
}, {
|
|
304
|
+
readonly name: "addActions";
|
|
305
|
+
readonly description: "Adds actions to a document. Prefer adding multiples actions at once to reduce the number of steps.";
|
|
306
|
+
readonly inputSchema: {
|
|
307
|
+
readonly documentId: z.ZodString;
|
|
308
|
+
readonly actions: z.ZodArray<z.ZodObject<{
|
|
309
|
+
type: z.ZodString;
|
|
310
|
+
input: z.ZodUnknown;
|
|
311
|
+
scope: z.ZodString;
|
|
312
|
+
context: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
313
|
+
}, "strict", z.ZodTypeAny, {
|
|
314
|
+
type: string;
|
|
315
|
+
scope: string;
|
|
316
|
+
input?: unknown;
|
|
317
|
+
context?: {} | undefined;
|
|
318
|
+
}, {
|
|
319
|
+
type: string;
|
|
320
|
+
scope: string;
|
|
321
|
+
input?: unknown;
|
|
322
|
+
context?: {} | undefined;
|
|
323
|
+
}>, "many">;
|
|
324
|
+
};
|
|
325
|
+
readonly outputSchema: {
|
|
326
|
+
readonly success: z.ZodBoolean;
|
|
327
|
+
};
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "getDrives";
|
|
330
|
+
readonly description: "List all drives";
|
|
331
|
+
readonly inputSchema: {};
|
|
332
|
+
readonly outputSchema: {
|
|
333
|
+
readonly driveIds: z.ZodArray<z.ZodString, "many">;
|
|
334
|
+
};
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "addDrive";
|
|
337
|
+
readonly description: "Create a new drive";
|
|
338
|
+
readonly inputSchema: {
|
|
339
|
+
readonly driveInput: z.ZodObject<{
|
|
340
|
+
global: z.ZodObject<{
|
|
341
|
+
name: z.ZodString;
|
|
342
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
343
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
|
+
name: string;
|
|
345
|
+
icon?: string | null | undefined;
|
|
346
|
+
}, {
|
|
347
|
+
name: string;
|
|
348
|
+
icon?: string | null | undefined;
|
|
349
|
+
}>;
|
|
350
|
+
id: z.ZodOptional<z.ZodString>;
|
|
351
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
352
|
+
preferredEditor: z.ZodOptional<z.ZodString>;
|
|
353
|
+
local: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
availableOffline: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
+
sharingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
availableOffline?: boolean | undefined;
|
|
358
|
+
sharingType?: string | null | undefined;
|
|
359
|
+
}, {
|
|
360
|
+
availableOffline?: boolean | undefined;
|
|
361
|
+
sharingType?: string | null | undefined;
|
|
362
|
+
}>>;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
global: {
|
|
365
|
+
name: string;
|
|
366
|
+
icon?: string | null | undefined;
|
|
367
|
+
};
|
|
368
|
+
id?: string | undefined;
|
|
369
|
+
slug?: string | undefined;
|
|
370
|
+
preferredEditor?: string | undefined;
|
|
371
|
+
local?: {
|
|
372
|
+
availableOffline?: boolean | undefined;
|
|
373
|
+
sharingType?: string | null | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
}, {
|
|
376
|
+
global: {
|
|
377
|
+
name: string;
|
|
378
|
+
icon?: string | null | undefined;
|
|
379
|
+
};
|
|
380
|
+
id?: string | undefined;
|
|
381
|
+
slug?: string | undefined;
|
|
382
|
+
preferredEditor?: string | undefined;
|
|
383
|
+
local?: {
|
|
384
|
+
availableOffline?: boolean | undefined;
|
|
385
|
+
sharingType?: string | null | undefined;
|
|
386
|
+
} | undefined;
|
|
387
|
+
}>;
|
|
388
|
+
};
|
|
389
|
+
readonly outputSchema: {
|
|
390
|
+
readonly driveId: z.ZodString;
|
|
391
|
+
};
|
|
392
|
+
}, {
|
|
393
|
+
readonly name: "getDrive";
|
|
394
|
+
readonly description: "Get a specific drive";
|
|
395
|
+
readonly inputSchema: {
|
|
396
|
+
readonly driveId: z.ZodString;
|
|
397
|
+
readonly options: z.ZodOptional<z.ZodObject<{
|
|
398
|
+
revisions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
399
|
+
checkHashes: z.ZodOptional<z.ZodBoolean>;
|
|
400
|
+
}, "strip", z.ZodTypeAny, {
|
|
401
|
+
revisions?: Record<string, number> | undefined;
|
|
402
|
+
checkHashes?: boolean | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
revisions?: Record<string, number> | undefined;
|
|
405
|
+
checkHashes?: boolean | undefined;
|
|
406
|
+
}>>;
|
|
407
|
+
};
|
|
408
|
+
readonly outputSchema: {
|
|
409
|
+
readonly drive: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
410
|
+
};
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "deleteDrive";
|
|
413
|
+
readonly description: "Delete a drive";
|
|
414
|
+
readonly inputSchema: {
|
|
415
|
+
readonly driveId: z.ZodString;
|
|
416
|
+
};
|
|
417
|
+
readonly outputSchema: {
|
|
418
|
+
readonly success: z.ZodBoolean;
|
|
419
|
+
};
|
|
420
|
+
}, {
|
|
421
|
+
readonly name: "addRemoteDrive";
|
|
422
|
+
readonly description: "Connect to a remote drive";
|
|
423
|
+
readonly inputSchema: {
|
|
424
|
+
readonly url: z.ZodString;
|
|
425
|
+
readonly options: z.ZodObject<{
|
|
426
|
+
availableOffline: z.ZodBoolean;
|
|
427
|
+
sharingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
+
pullFilter: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
430
|
+
documentId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
431
|
+
documentType: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
432
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
433
|
+
}, "strip", z.ZodTypeAny, {
|
|
434
|
+
scope?: string[] | null | undefined;
|
|
435
|
+
documentType?: string[] | null | undefined;
|
|
436
|
+
documentId?: string[] | null | undefined;
|
|
437
|
+
branch?: string[] | null | undefined;
|
|
438
|
+
}, {
|
|
439
|
+
scope?: string[] | null | undefined;
|
|
440
|
+
documentType?: string[] | null | undefined;
|
|
441
|
+
documentId?: string[] | null | undefined;
|
|
442
|
+
branch?: string[] | null | undefined;
|
|
443
|
+
}>>;
|
|
444
|
+
pullInterval: z.ZodOptional<z.ZodNumber>;
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
446
|
+
availableOffline: boolean;
|
|
447
|
+
sharingType?: string | null | undefined;
|
|
448
|
+
pullFilter?: {
|
|
449
|
+
scope?: string[] | null | undefined;
|
|
450
|
+
documentType?: string[] | null | undefined;
|
|
451
|
+
documentId?: string[] | null | undefined;
|
|
452
|
+
branch?: string[] | null | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
pullInterval?: number | undefined;
|
|
455
|
+
}, {
|
|
456
|
+
availableOffline: boolean;
|
|
457
|
+
sharingType?: string | null | undefined;
|
|
458
|
+
pullFilter?: {
|
|
459
|
+
scope?: string[] | null | undefined;
|
|
460
|
+
documentType?: string[] | null | undefined;
|
|
461
|
+
documentId?: string[] | null | undefined;
|
|
462
|
+
branch?: string[] | null | undefined;
|
|
463
|
+
} | undefined;
|
|
464
|
+
pullInterval?: number | undefined;
|
|
465
|
+
}>;
|
|
466
|
+
};
|
|
467
|
+
readonly outputSchema: {
|
|
468
|
+
readonly driveId: z.ZodString;
|
|
469
|
+
};
|
|
470
|
+
}, {
|
|
471
|
+
readonly name: "getDocumentModelSchema";
|
|
472
|
+
readonly description: "Get the schema of a document model";
|
|
473
|
+
readonly inputSchema: {
|
|
474
|
+
readonly type: z.ZodString;
|
|
475
|
+
};
|
|
476
|
+
readonly outputSchema: {
|
|
477
|
+
readonly schema: z.ZodObject<Properties<DocumentModelState>>;
|
|
478
|
+
};
|
|
479
|
+
}, {
|
|
480
|
+
readonly name: "getDocumentModels";
|
|
481
|
+
readonly description: "Get the list of document models";
|
|
482
|
+
readonly inputSchema: {};
|
|
483
|
+
readonly outputSchema: {
|
|
484
|
+
readonly documentModels: z.ZodArray<z.ZodObject<{
|
|
485
|
+
name: z.ZodString;
|
|
486
|
+
type: z.ZodString;
|
|
487
|
+
description: z.ZodString;
|
|
488
|
+
extension: z.ZodString;
|
|
489
|
+
authorName: z.ZodString;
|
|
490
|
+
authorWebsite: z.ZodString;
|
|
491
|
+
}, "strip", z.ZodTypeAny, {
|
|
492
|
+
type: string;
|
|
493
|
+
name: string;
|
|
494
|
+
description: string;
|
|
495
|
+
extension: string;
|
|
496
|
+
authorName: string;
|
|
497
|
+
authorWebsite: string;
|
|
498
|
+
}, {
|
|
499
|
+
type: string;
|
|
500
|
+
name: string;
|
|
501
|
+
description: string;
|
|
502
|
+
extension: string;
|
|
503
|
+
authorName: string;
|
|
504
|
+
authorWebsite: string;
|
|
505
|
+
}>, "many">;
|
|
506
|
+
};
|
|
507
|
+
}];
|
|
508
|
+
export type ReactorMcpTools = ToolRecord<typeof allTools>;
|
|
509
|
+
export declare function createReactorMcpProvider(reactor: IDocumentDriveServer): Promise<{
|
|
510
|
+
readonly tools: {
|
|
511
|
+
readonly getDocument: {
|
|
512
|
+
readonly name: "getDocument";
|
|
513
|
+
readonly description: "Retrieve a document by its ID";
|
|
514
|
+
readonly inputSchema: {
|
|
515
|
+
readonly id: z.ZodString;
|
|
516
|
+
};
|
|
517
|
+
readonly outputSchema: {
|
|
518
|
+
readonly document: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
519
|
+
};
|
|
520
|
+
} & {
|
|
521
|
+
callback: (args: {
|
|
522
|
+
id: string;
|
|
523
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
524
|
+
};
|
|
525
|
+
readonly createDocument: {
|
|
526
|
+
readonly name: "createDocument";
|
|
527
|
+
readonly description: "Create a new document.\n Unless the user specifies otherwise, and a drive named \"vetra\" is available, add the document after creating it to that drive using \"addActions\" tool with a \"ADD_FILE\" action to the drive document.";
|
|
528
|
+
readonly inputSchema: {
|
|
529
|
+
readonly documentType: z.ZodString;
|
|
530
|
+
readonly documentId: z.ZodOptional<z.ZodString>;
|
|
531
|
+
};
|
|
532
|
+
readonly outputSchema: {
|
|
533
|
+
readonly documentId: z.ZodString;
|
|
534
|
+
};
|
|
535
|
+
} & {
|
|
536
|
+
callback: (args: {
|
|
537
|
+
documentType: string;
|
|
538
|
+
documentId?: string | undefined;
|
|
539
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
540
|
+
};
|
|
541
|
+
readonly getDocuments: {
|
|
542
|
+
readonly name: "getDocuments";
|
|
543
|
+
readonly description: "List documents in a drive";
|
|
544
|
+
readonly inputSchema: {
|
|
545
|
+
readonly parentId: z.ZodString;
|
|
546
|
+
};
|
|
547
|
+
readonly outputSchema: {
|
|
548
|
+
readonly documentIds: z.ZodArray<z.ZodString, "many">;
|
|
549
|
+
};
|
|
550
|
+
} & {
|
|
551
|
+
callback: (args: {
|
|
552
|
+
parentId: string;
|
|
553
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
554
|
+
};
|
|
555
|
+
readonly deleteDocument: {
|
|
556
|
+
readonly name: "deleteDocument";
|
|
557
|
+
readonly description: "Delete a document";
|
|
558
|
+
readonly inputSchema: {
|
|
559
|
+
readonly documentId: z.ZodString;
|
|
560
|
+
};
|
|
561
|
+
readonly outputSchema: {
|
|
562
|
+
readonly success: z.ZodBoolean;
|
|
563
|
+
};
|
|
564
|
+
} & {
|
|
565
|
+
callback: (args: {
|
|
566
|
+
documentId: string;
|
|
567
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
568
|
+
};
|
|
569
|
+
readonly addActions: {
|
|
570
|
+
readonly name: "addActions";
|
|
571
|
+
readonly description: "Adds actions to a document. Prefer adding multiples actions at once to reduce the number of steps.";
|
|
572
|
+
readonly inputSchema: {
|
|
573
|
+
readonly documentId: z.ZodString;
|
|
574
|
+
readonly actions: z.ZodArray<z.ZodObject<{
|
|
575
|
+
type: z.ZodString;
|
|
576
|
+
input: z.ZodUnknown;
|
|
577
|
+
scope: z.ZodString;
|
|
578
|
+
context: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
579
|
+
}, "strict", z.ZodTypeAny, {
|
|
580
|
+
type: string;
|
|
581
|
+
scope: string;
|
|
582
|
+
input?: unknown;
|
|
583
|
+
context?: {} | undefined;
|
|
584
|
+
}, {
|
|
585
|
+
type: string;
|
|
586
|
+
scope: string;
|
|
587
|
+
input?: unknown;
|
|
588
|
+
context?: {} | undefined;
|
|
589
|
+
}>, "many">;
|
|
590
|
+
};
|
|
591
|
+
readonly outputSchema: {
|
|
592
|
+
readonly success: z.ZodBoolean;
|
|
593
|
+
};
|
|
594
|
+
} & {
|
|
595
|
+
callback: (args: {
|
|
596
|
+
documentId: string;
|
|
597
|
+
actions: {
|
|
598
|
+
type: string;
|
|
599
|
+
scope: string;
|
|
600
|
+
input?: unknown;
|
|
601
|
+
context?: {} | undefined;
|
|
602
|
+
}[];
|
|
603
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
604
|
+
};
|
|
605
|
+
readonly getDrives: {
|
|
606
|
+
readonly name: "getDrives";
|
|
607
|
+
readonly description: "List all drives";
|
|
608
|
+
readonly inputSchema: {};
|
|
609
|
+
readonly outputSchema: {
|
|
610
|
+
readonly driveIds: z.ZodArray<z.ZodString, "many">;
|
|
611
|
+
};
|
|
612
|
+
} & {
|
|
613
|
+
callback: (args: {}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
614
|
+
};
|
|
615
|
+
readonly addDrive: {
|
|
616
|
+
readonly name: "addDrive";
|
|
617
|
+
readonly description: "Create a new drive";
|
|
618
|
+
readonly inputSchema: {
|
|
619
|
+
readonly driveInput: z.ZodObject<{
|
|
620
|
+
global: z.ZodObject<{
|
|
621
|
+
name: z.ZodString;
|
|
622
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
623
|
+
}, "strip", z.ZodTypeAny, {
|
|
624
|
+
name: string;
|
|
625
|
+
icon?: string | null | undefined;
|
|
626
|
+
}, {
|
|
627
|
+
name: string;
|
|
628
|
+
icon?: string | null | undefined;
|
|
629
|
+
}>;
|
|
630
|
+
id: z.ZodOptional<z.ZodString>;
|
|
631
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
632
|
+
preferredEditor: z.ZodOptional<z.ZodString>;
|
|
633
|
+
local: z.ZodOptional<z.ZodObject<{
|
|
634
|
+
availableOffline: z.ZodOptional<z.ZodBoolean>;
|
|
635
|
+
sharingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
636
|
+
}, "strip", z.ZodTypeAny, {
|
|
637
|
+
availableOffline?: boolean | undefined;
|
|
638
|
+
sharingType?: string | null | undefined;
|
|
639
|
+
}, {
|
|
640
|
+
availableOffline?: boolean | undefined;
|
|
641
|
+
sharingType?: string | null | undefined;
|
|
642
|
+
}>>;
|
|
643
|
+
}, "strip", z.ZodTypeAny, {
|
|
644
|
+
global: {
|
|
645
|
+
name: string;
|
|
646
|
+
icon?: string | null | undefined;
|
|
647
|
+
};
|
|
648
|
+
id?: string | undefined;
|
|
649
|
+
slug?: string | undefined;
|
|
650
|
+
preferredEditor?: string | undefined;
|
|
651
|
+
local?: {
|
|
652
|
+
availableOffline?: boolean | undefined;
|
|
653
|
+
sharingType?: string | null | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
}, {
|
|
656
|
+
global: {
|
|
657
|
+
name: string;
|
|
658
|
+
icon?: string | null | undefined;
|
|
659
|
+
};
|
|
660
|
+
id?: string | undefined;
|
|
661
|
+
slug?: string | undefined;
|
|
662
|
+
preferredEditor?: string | undefined;
|
|
663
|
+
local?: {
|
|
664
|
+
availableOffline?: boolean | undefined;
|
|
665
|
+
sharingType?: string | null | undefined;
|
|
666
|
+
} | undefined;
|
|
667
|
+
}>;
|
|
668
|
+
};
|
|
669
|
+
readonly outputSchema: {
|
|
670
|
+
readonly driveId: z.ZodString;
|
|
671
|
+
};
|
|
672
|
+
} & {
|
|
673
|
+
callback: (args: {
|
|
674
|
+
driveInput: {
|
|
675
|
+
global: {
|
|
676
|
+
name: string;
|
|
677
|
+
icon?: string | null | undefined;
|
|
678
|
+
};
|
|
679
|
+
id?: string | undefined;
|
|
680
|
+
slug?: string | undefined;
|
|
681
|
+
preferredEditor?: string | undefined;
|
|
682
|
+
local?: {
|
|
683
|
+
availableOffline?: boolean | undefined;
|
|
684
|
+
sharingType?: string | null | undefined;
|
|
685
|
+
} | undefined;
|
|
686
|
+
};
|
|
687
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
688
|
+
};
|
|
689
|
+
readonly getDrive: {
|
|
690
|
+
readonly name: "getDrive";
|
|
691
|
+
readonly description: "Get a specific drive";
|
|
692
|
+
readonly inputSchema: {
|
|
693
|
+
readonly driveId: z.ZodString;
|
|
694
|
+
readonly options: z.ZodOptional<z.ZodObject<{
|
|
695
|
+
revisions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
696
|
+
checkHashes: z.ZodOptional<z.ZodBoolean>;
|
|
697
|
+
}, "strip", z.ZodTypeAny, {
|
|
698
|
+
revisions?: Record<string, number> | undefined;
|
|
699
|
+
checkHashes?: boolean | undefined;
|
|
700
|
+
}, {
|
|
701
|
+
revisions?: Record<string, number> | undefined;
|
|
702
|
+
checkHashes?: boolean | undefined;
|
|
703
|
+
}>>;
|
|
704
|
+
};
|
|
705
|
+
readonly outputSchema: {
|
|
706
|
+
readonly drive: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
707
|
+
};
|
|
708
|
+
} & {
|
|
709
|
+
callback: (args: {
|
|
710
|
+
driveId: string;
|
|
711
|
+
options?: {
|
|
712
|
+
revisions?: Record<string, number> | undefined;
|
|
713
|
+
checkHashes?: boolean | undefined;
|
|
714
|
+
} | undefined;
|
|
715
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
716
|
+
};
|
|
717
|
+
readonly deleteDrive: {
|
|
718
|
+
readonly name: "deleteDrive";
|
|
719
|
+
readonly description: "Delete a drive";
|
|
720
|
+
readonly inputSchema: {
|
|
721
|
+
readonly driveId: z.ZodString;
|
|
722
|
+
};
|
|
723
|
+
readonly outputSchema: {
|
|
724
|
+
readonly success: z.ZodBoolean;
|
|
725
|
+
};
|
|
726
|
+
} & {
|
|
727
|
+
callback: (args: {
|
|
728
|
+
driveId: string;
|
|
729
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
730
|
+
};
|
|
731
|
+
readonly addRemoteDrive: {
|
|
732
|
+
readonly name: "addRemoteDrive";
|
|
733
|
+
readonly description: "Connect to a remote drive";
|
|
734
|
+
readonly inputSchema: {
|
|
735
|
+
readonly url: z.ZodString;
|
|
736
|
+
readonly options: z.ZodObject<{
|
|
737
|
+
availableOffline: z.ZodBoolean;
|
|
738
|
+
sharingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
739
|
+
pullFilter: z.ZodOptional<z.ZodObject<{
|
|
740
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
741
|
+
documentId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
742
|
+
documentType: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
743
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
744
|
+
}, "strip", z.ZodTypeAny, {
|
|
745
|
+
scope?: string[] | null | undefined;
|
|
746
|
+
documentType?: string[] | null | undefined;
|
|
747
|
+
documentId?: string[] | null | undefined;
|
|
748
|
+
branch?: string[] | null | undefined;
|
|
749
|
+
}, {
|
|
750
|
+
scope?: string[] | null | undefined;
|
|
751
|
+
documentType?: string[] | null | undefined;
|
|
752
|
+
documentId?: string[] | null | undefined;
|
|
753
|
+
branch?: string[] | null | undefined;
|
|
754
|
+
}>>;
|
|
755
|
+
pullInterval: z.ZodOptional<z.ZodNumber>;
|
|
756
|
+
}, "strip", z.ZodTypeAny, {
|
|
757
|
+
availableOffline: boolean;
|
|
758
|
+
sharingType?: string | null | undefined;
|
|
759
|
+
pullFilter?: {
|
|
760
|
+
scope?: string[] | null | undefined;
|
|
761
|
+
documentType?: string[] | null | undefined;
|
|
762
|
+
documentId?: string[] | null | undefined;
|
|
763
|
+
branch?: string[] | null | undefined;
|
|
764
|
+
} | undefined;
|
|
765
|
+
pullInterval?: number | undefined;
|
|
766
|
+
}, {
|
|
767
|
+
availableOffline: boolean;
|
|
768
|
+
sharingType?: string | null | undefined;
|
|
769
|
+
pullFilter?: {
|
|
770
|
+
scope?: string[] | null | undefined;
|
|
771
|
+
documentType?: string[] | null | undefined;
|
|
772
|
+
documentId?: string[] | null | undefined;
|
|
773
|
+
branch?: string[] | null | undefined;
|
|
774
|
+
} | undefined;
|
|
775
|
+
pullInterval?: number | undefined;
|
|
776
|
+
}>;
|
|
777
|
+
};
|
|
778
|
+
readonly outputSchema: {
|
|
779
|
+
readonly driveId: z.ZodString;
|
|
780
|
+
};
|
|
781
|
+
} & {
|
|
782
|
+
callback: (args: {
|
|
783
|
+
options: {
|
|
784
|
+
availableOffline: boolean;
|
|
785
|
+
sharingType?: string | null | undefined;
|
|
786
|
+
pullFilter?: {
|
|
787
|
+
scope?: string[] | null | undefined;
|
|
788
|
+
documentType?: string[] | null | undefined;
|
|
789
|
+
documentId?: string[] | null | undefined;
|
|
790
|
+
branch?: string[] | null | undefined;
|
|
791
|
+
} | undefined;
|
|
792
|
+
pullInterval?: number | undefined;
|
|
793
|
+
};
|
|
794
|
+
url: string;
|
|
795
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
796
|
+
};
|
|
797
|
+
readonly getDocumentModels: {
|
|
798
|
+
readonly name: "getDocumentModels";
|
|
799
|
+
readonly description: "Get the list of document models";
|
|
800
|
+
readonly inputSchema: {};
|
|
801
|
+
readonly outputSchema: {
|
|
802
|
+
readonly documentModels: z.ZodArray<z.ZodObject<{
|
|
803
|
+
name: z.ZodString;
|
|
804
|
+
type: z.ZodString;
|
|
805
|
+
description: z.ZodString;
|
|
806
|
+
extension: z.ZodString;
|
|
807
|
+
authorName: z.ZodString;
|
|
808
|
+
authorWebsite: z.ZodString;
|
|
809
|
+
}, "strip", z.ZodTypeAny, {
|
|
810
|
+
type: string;
|
|
811
|
+
name: string;
|
|
812
|
+
description: string;
|
|
813
|
+
extension: string;
|
|
814
|
+
authorName: string;
|
|
815
|
+
authorWebsite: string;
|
|
816
|
+
}, {
|
|
817
|
+
type: string;
|
|
818
|
+
name: string;
|
|
819
|
+
description: string;
|
|
820
|
+
extension: string;
|
|
821
|
+
authorName: string;
|
|
822
|
+
authorWebsite: string;
|
|
823
|
+
}>, "many">;
|
|
824
|
+
};
|
|
825
|
+
} & {
|
|
826
|
+
callback: (args: {}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
827
|
+
};
|
|
828
|
+
readonly getDocumentModelSchema: {
|
|
829
|
+
readonly name: "getDocumentModelSchema";
|
|
830
|
+
readonly description: "Get the schema of a document model";
|
|
831
|
+
readonly inputSchema: {
|
|
832
|
+
readonly type: z.ZodString;
|
|
833
|
+
};
|
|
834
|
+
readonly outputSchema: {
|
|
835
|
+
readonly schema: z.ZodObject<Properties<DocumentModelState>>;
|
|
836
|
+
};
|
|
837
|
+
} & {
|
|
838
|
+
callback: (args: {
|
|
839
|
+
type: string;
|
|
840
|
+
}) => Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>;
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
readonly resources: {};
|
|
844
|
+
readonly prompts: {};
|
|
845
|
+
}>;
|
|
846
|
+
export {};
|
|
847
|
+
//# sourceMappingURL=reactor.d.ts.map
|