@enconvo/dxt 0.2.6
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/LICENSE.md +7 -0
- package/README.md +118 -0
- package/dist/browser.d.ts +3 -0
- package/dist/browser.js +4 -0
- package/dist/cli/cli.d.ts +2 -0
- package/dist/cli/cli.js +275 -0
- package/dist/cli/init.d.ts +185 -0
- package/dist/cli/init.js +704 -0
- package/dist/cli/pack.d.ts +7 -0
- package/dist/cli/pack.js +194 -0
- package/dist/cli/unpack.d.ts +7 -0
- package/dist/cli/unpack.js +101 -0
- package/dist/cli.d.ts +8 -0
- package/dist/cli.js +11 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +10 -0
- package/dist/node/files.d.ts +20 -0
- package/dist/node/files.js +115 -0
- package/dist/node/sign.d.ts +32 -0
- package/dist/node/sign.js +333 -0
- package/dist/node/validate.d.ts +2 -0
- package/dist/node/validate.js +124 -0
- package/dist/node.d.ts +6 -0
- package/dist/node.js +8 -0
- package/dist/schemas-loose.d.ts +629 -0
- package/dist/schemas-loose.js +97 -0
- package/dist/schemas.d.ts +637 -0
- package/dist/schemas.js +98 -0
- package/dist/shared/config.d.ts +34 -0
- package/dist/shared/config.js +157 -0
- package/dist/shared/log.d.ts +11 -0
- package/dist/shared/log.js +29 -0
- package/dist/types.d.ts +23 -0
- package/dist/types.js +1 -0
- package/package.json +83 -0
@@ -0,0 +1,637 @@
|
|
1
|
+
import * as z from "zod";
|
2
|
+
export declare const McpServerConfigSchema: z.ZodObject<{
|
3
|
+
command: z.ZodString;
|
4
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
7
|
+
command: string;
|
8
|
+
args?: string[] | undefined;
|
9
|
+
env?: Record<string, string> | undefined;
|
10
|
+
}, {
|
11
|
+
command: string;
|
12
|
+
args?: string[] | undefined;
|
13
|
+
env?: Record<string, string> | undefined;
|
14
|
+
}>;
|
15
|
+
export declare const DxtManifestAuthorSchema: z.ZodObject<{
|
16
|
+
name: z.ZodString;
|
17
|
+
email: z.ZodOptional<z.ZodString>;
|
18
|
+
url: z.ZodOptional<z.ZodString>;
|
19
|
+
}, "strict", z.ZodTypeAny, {
|
20
|
+
name: string;
|
21
|
+
email?: string | undefined;
|
22
|
+
url?: string | undefined;
|
23
|
+
}, {
|
24
|
+
name: string;
|
25
|
+
email?: string | undefined;
|
26
|
+
url?: string | undefined;
|
27
|
+
}>;
|
28
|
+
export declare const DxtManifestRepositorySchema: z.ZodObject<{
|
29
|
+
type: z.ZodString;
|
30
|
+
url: z.ZodString;
|
31
|
+
}, "strict", z.ZodTypeAny, {
|
32
|
+
type: string;
|
33
|
+
url: string;
|
34
|
+
}, {
|
35
|
+
type: string;
|
36
|
+
url: string;
|
37
|
+
}>;
|
38
|
+
export declare const DxtManifestPlatformOverrideSchema: z.ZodObject<{
|
39
|
+
command: z.ZodOptional<z.ZodString>;
|
40
|
+
args: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
41
|
+
env: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
42
|
+
}, "strict", z.ZodTypeAny, {
|
43
|
+
command?: string | undefined;
|
44
|
+
args?: string[] | undefined;
|
45
|
+
env?: Record<string, string> | undefined;
|
46
|
+
}, {
|
47
|
+
command?: string | undefined;
|
48
|
+
args?: string[] | undefined;
|
49
|
+
env?: Record<string, string> | undefined;
|
50
|
+
}>;
|
51
|
+
export declare const DxtManifestMcpConfigSchema: z.ZodObject<{
|
52
|
+
command: z.ZodString;
|
53
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
54
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
55
|
+
} & {
|
56
|
+
platform_overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
57
|
+
command: z.ZodOptional<z.ZodString>;
|
58
|
+
args: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
59
|
+
env: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
60
|
+
}, "strict", z.ZodTypeAny, {
|
61
|
+
command?: string | undefined;
|
62
|
+
args?: string[] | undefined;
|
63
|
+
env?: Record<string, string> | undefined;
|
64
|
+
}, {
|
65
|
+
command?: string | undefined;
|
66
|
+
args?: string[] | undefined;
|
67
|
+
env?: Record<string, string> | undefined;
|
68
|
+
}>>>;
|
69
|
+
}, "strict", z.ZodTypeAny, {
|
70
|
+
command: string;
|
71
|
+
args?: string[] | undefined;
|
72
|
+
env?: Record<string, string> | undefined;
|
73
|
+
platform_overrides?: Record<string, {
|
74
|
+
command?: string | undefined;
|
75
|
+
args?: string[] | undefined;
|
76
|
+
env?: Record<string, string> | undefined;
|
77
|
+
}> | undefined;
|
78
|
+
}, {
|
79
|
+
command: string;
|
80
|
+
args?: string[] | undefined;
|
81
|
+
env?: Record<string, string> | undefined;
|
82
|
+
platform_overrides?: Record<string, {
|
83
|
+
command?: string | undefined;
|
84
|
+
args?: string[] | undefined;
|
85
|
+
env?: Record<string, string> | undefined;
|
86
|
+
}> | undefined;
|
87
|
+
}>;
|
88
|
+
export declare const DxtManifestServerSchema: z.ZodObject<{
|
89
|
+
type: z.ZodEnum<["python", "node", "binary"]>;
|
90
|
+
entry_point: z.ZodString;
|
91
|
+
mcp_config: z.ZodObject<{
|
92
|
+
command: z.ZodString;
|
93
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
94
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
95
|
+
} & {
|
96
|
+
platform_overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
97
|
+
command: z.ZodOptional<z.ZodString>;
|
98
|
+
args: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
99
|
+
env: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
100
|
+
}, "strict", z.ZodTypeAny, {
|
101
|
+
command?: string | undefined;
|
102
|
+
args?: string[] | undefined;
|
103
|
+
env?: Record<string, string> | undefined;
|
104
|
+
}, {
|
105
|
+
command?: string | undefined;
|
106
|
+
args?: string[] | undefined;
|
107
|
+
env?: Record<string, string> | undefined;
|
108
|
+
}>>>;
|
109
|
+
}, "strict", z.ZodTypeAny, {
|
110
|
+
command: string;
|
111
|
+
args?: string[] | undefined;
|
112
|
+
env?: Record<string, string> | undefined;
|
113
|
+
platform_overrides?: Record<string, {
|
114
|
+
command?: string | undefined;
|
115
|
+
args?: string[] | undefined;
|
116
|
+
env?: Record<string, string> | undefined;
|
117
|
+
}> | undefined;
|
118
|
+
}, {
|
119
|
+
command: string;
|
120
|
+
args?: string[] | undefined;
|
121
|
+
env?: Record<string, string> | undefined;
|
122
|
+
platform_overrides?: Record<string, {
|
123
|
+
command?: string | undefined;
|
124
|
+
args?: string[] | undefined;
|
125
|
+
env?: Record<string, string> | undefined;
|
126
|
+
}> | undefined;
|
127
|
+
}>;
|
128
|
+
}, "strict", z.ZodTypeAny, {
|
129
|
+
type: "python" | "node" | "binary";
|
130
|
+
entry_point: string;
|
131
|
+
mcp_config: {
|
132
|
+
command: string;
|
133
|
+
args?: string[] | undefined;
|
134
|
+
env?: Record<string, string> | undefined;
|
135
|
+
platform_overrides?: Record<string, {
|
136
|
+
command?: string | undefined;
|
137
|
+
args?: string[] | undefined;
|
138
|
+
env?: Record<string, string> | undefined;
|
139
|
+
}> | undefined;
|
140
|
+
};
|
141
|
+
}, {
|
142
|
+
type: "python" | "node" | "binary";
|
143
|
+
entry_point: string;
|
144
|
+
mcp_config: {
|
145
|
+
command: string;
|
146
|
+
args?: string[] | undefined;
|
147
|
+
env?: Record<string, string> | undefined;
|
148
|
+
platform_overrides?: Record<string, {
|
149
|
+
command?: string | undefined;
|
150
|
+
args?: string[] | undefined;
|
151
|
+
env?: Record<string, string> | undefined;
|
152
|
+
}> | undefined;
|
153
|
+
};
|
154
|
+
}>;
|
155
|
+
export declare const DxtManifestCompatibilitySchema: z.ZodObject<{
|
156
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
157
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
158
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
159
|
+
python: z.ZodOptional<z.ZodString>;
|
160
|
+
node: z.ZodOptional<z.ZodString>;
|
161
|
+
}, "strict", z.ZodTypeAny, {
|
162
|
+
python?: string | undefined;
|
163
|
+
node?: string | undefined;
|
164
|
+
}, {
|
165
|
+
python?: string | undefined;
|
166
|
+
node?: string | undefined;
|
167
|
+
}>>;
|
168
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
169
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
170
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
171
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
172
|
+
python: z.ZodOptional<z.ZodString>;
|
173
|
+
node: z.ZodOptional<z.ZodString>;
|
174
|
+
}, "strict", z.ZodTypeAny, {
|
175
|
+
python?: string | undefined;
|
176
|
+
node?: string | undefined;
|
177
|
+
}, {
|
178
|
+
python?: string | undefined;
|
179
|
+
node?: string | undefined;
|
180
|
+
}>>;
|
181
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
182
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
183
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
184
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
185
|
+
python: z.ZodOptional<z.ZodString>;
|
186
|
+
node: z.ZodOptional<z.ZodString>;
|
187
|
+
}, "strict", z.ZodTypeAny, {
|
188
|
+
python?: string | undefined;
|
189
|
+
node?: string | undefined;
|
190
|
+
}, {
|
191
|
+
python?: string | undefined;
|
192
|
+
node?: string | undefined;
|
193
|
+
}>>;
|
194
|
+
}, z.ZodTypeAny, "passthrough">>;
|
195
|
+
export declare const DxtManifestToolSchema: z.ZodObject<{
|
196
|
+
name: z.ZodString;
|
197
|
+
description: z.ZodOptional<z.ZodString>;
|
198
|
+
}, "strict", z.ZodTypeAny, {
|
199
|
+
name: string;
|
200
|
+
description?: string | undefined;
|
201
|
+
}, {
|
202
|
+
name: string;
|
203
|
+
description?: string | undefined;
|
204
|
+
}>;
|
205
|
+
export declare const DxtManifestPromptSchema: z.ZodObject<{
|
206
|
+
name: z.ZodString;
|
207
|
+
description: z.ZodOptional<z.ZodString>;
|
208
|
+
arguments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
209
|
+
text: z.ZodString;
|
210
|
+
}, "strict", z.ZodTypeAny, {
|
211
|
+
name: string;
|
212
|
+
text: string;
|
213
|
+
description?: string | undefined;
|
214
|
+
arguments?: string[] | undefined;
|
215
|
+
}, {
|
216
|
+
name: string;
|
217
|
+
text: string;
|
218
|
+
description?: string | undefined;
|
219
|
+
arguments?: string[] | undefined;
|
220
|
+
}>;
|
221
|
+
export declare const DxtUserConfigurationOptionSchema: z.ZodObject<{
|
222
|
+
type: z.ZodEnum<["string", "number", "boolean", "directory", "file"]>;
|
223
|
+
title: z.ZodString;
|
224
|
+
description: z.ZodString;
|
225
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
226
|
+
default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
227
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
228
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
229
|
+
min: z.ZodOptional<z.ZodNumber>;
|
230
|
+
max: z.ZodOptional<z.ZodNumber>;
|
231
|
+
credentials: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
232
|
+
}, "strict", z.ZodTypeAny, {
|
233
|
+
type: "string" | "number" | "boolean" | "directory" | "file";
|
234
|
+
description: string;
|
235
|
+
title: string;
|
236
|
+
default?: string | number | boolean | string[] | undefined;
|
237
|
+
min?: number | undefined;
|
238
|
+
max?: number | undefined;
|
239
|
+
required?: boolean | undefined;
|
240
|
+
multiple?: boolean | undefined;
|
241
|
+
sensitive?: boolean | undefined;
|
242
|
+
credentials?: string[] | undefined;
|
243
|
+
}, {
|
244
|
+
type: "string" | "number" | "boolean" | "directory" | "file";
|
245
|
+
description: string;
|
246
|
+
title: string;
|
247
|
+
default?: string | number | boolean | string[] | undefined;
|
248
|
+
min?: number | undefined;
|
249
|
+
max?: number | undefined;
|
250
|
+
required?: boolean | undefined;
|
251
|
+
multiple?: boolean | undefined;
|
252
|
+
sensitive?: boolean | undefined;
|
253
|
+
credentials?: string[] | undefined;
|
254
|
+
}>;
|
255
|
+
export declare const DxtUserConfigValuesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
256
|
+
export declare const DxtManifestSchema: z.ZodObject<{
|
257
|
+
$schema: z.ZodOptional<z.ZodString>;
|
258
|
+
dxt_version: z.ZodString;
|
259
|
+
name: z.ZodString;
|
260
|
+
display_name: z.ZodOptional<z.ZodString>;
|
261
|
+
version: z.ZodString;
|
262
|
+
description: z.ZodString;
|
263
|
+
long_description: z.ZodOptional<z.ZodString>;
|
264
|
+
author: z.ZodObject<{
|
265
|
+
name: z.ZodString;
|
266
|
+
email: z.ZodOptional<z.ZodString>;
|
267
|
+
url: z.ZodOptional<z.ZodString>;
|
268
|
+
}, "strict", z.ZodTypeAny, {
|
269
|
+
name: string;
|
270
|
+
email?: string | undefined;
|
271
|
+
url?: string | undefined;
|
272
|
+
}, {
|
273
|
+
name: string;
|
274
|
+
email?: string | undefined;
|
275
|
+
url?: string | undefined;
|
276
|
+
}>;
|
277
|
+
repository: z.ZodOptional<z.ZodObject<{
|
278
|
+
type: z.ZodString;
|
279
|
+
url: z.ZodString;
|
280
|
+
}, "strict", z.ZodTypeAny, {
|
281
|
+
type: string;
|
282
|
+
url: string;
|
283
|
+
}, {
|
284
|
+
type: string;
|
285
|
+
url: string;
|
286
|
+
}>>;
|
287
|
+
homepage: z.ZodOptional<z.ZodString>;
|
288
|
+
documentation: z.ZodOptional<z.ZodString>;
|
289
|
+
support: z.ZodOptional<z.ZodString>;
|
290
|
+
icon: z.ZodOptional<z.ZodString>;
|
291
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
292
|
+
server: z.ZodObject<{
|
293
|
+
type: z.ZodEnum<["python", "node", "binary"]>;
|
294
|
+
entry_point: z.ZodString;
|
295
|
+
mcp_config: z.ZodObject<{
|
296
|
+
command: z.ZodString;
|
297
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
298
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
299
|
+
} & {
|
300
|
+
platform_overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
301
|
+
command: z.ZodOptional<z.ZodString>;
|
302
|
+
args: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
303
|
+
env: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
304
|
+
}, "strict", z.ZodTypeAny, {
|
305
|
+
command?: string | undefined;
|
306
|
+
args?: string[] | undefined;
|
307
|
+
env?: Record<string, string> | undefined;
|
308
|
+
}, {
|
309
|
+
command?: string | undefined;
|
310
|
+
args?: string[] | undefined;
|
311
|
+
env?: Record<string, string> | undefined;
|
312
|
+
}>>>;
|
313
|
+
}, "strict", z.ZodTypeAny, {
|
314
|
+
command: string;
|
315
|
+
args?: string[] | undefined;
|
316
|
+
env?: Record<string, string> | undefined;
|
317
|
+
platform_overrides?: Record<string, {
|
318
|
+
command?: string | undefined;
|
319
|
+
args?: string[] | undefined;
|
320
|
+
env?: Record<string, string> | undefined;
|
321
|
+
}> | undefined;
|
322
|
+
}, {
|
323
|
+
command: string;
|
324
|
+
args?: string[] | undefined;
|
325
|
+
env?: Record<string, string> | undefined;
|
326
|
+
platform_overrides?: Record<string, {
|
327
|
+
command?: string | undefined;
|
328
|
+
args?: string[] | undefined;
|
329
|
+
env?: Record<string, string> | undefined;
|
330
|
+
}> | undefined;
|
331
|
+
}>;
|
332
|
+
}, "strict", z.ZodTypeAny, {
|
333
|
+
type: "python" | "node" | "binary";
|
334
|
+
entry_point: string;
|
335
|
+
mcp_config: {
|
336
|
+
command: string;
|
337
|
+
args?: string[] | undefined;
|
338
|
+
env?: Record<string, string> | undefined;
|
339
|
+
platform_overrides?: Record<string, {
|
340
|
+
command?: string | undefined;
|
341
|
+
args?: string[] | undefined;
|
342
|
+
env?: Record<string, string> | undefined;
|
343
|
+
}> | undefined;
|
344
|
+
};
|
345
|
+
}, {
|
346
|
+
type: "python" | "node" | "binary";
|
347
|
+
entry_point: string;
|
348
|
+
mcp_config: {
|
349
|
+
command: string;
|
350
|
+
args?: string[] | undefined;
|
351
|
+
env?: Record<string, string> | undefined;
|
352
|
+
platform_overrides?: Record<string, {
|
353
|
+
command?: string | undefined;
|
354
|
+
args?: string[] | undefined;
|
355
|
+
env?: Record<string, string> | undefined;
|
356
|
+
}> | undefined;
|
357
|
+
};
|
358
|
+
}>;
|
359
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
360
|
+
name: z.ZodString;
|
361
|
+
description: z.ZodOptional<z.ZodString>;
|
362
|
+
}, "strict", z.ZodTypeAny, {
|
363
|
+
name: string;
|
364
|
+
description?: string | undefined;
|
365
|
+
}, {
|
366
|
+
name: string;
|
367
|
+
description?: string | undefined;
|
368
|
+
}>, "many">>;
|
369
|
+
tools_generated: z.ZodOptional<z.ZodBoolean>;
|
370
|
+
prompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
371
|
+
name: z.ZodString;
|
372
|
+
description: z.ZodOptional<z.ZodString>;
|
373
|
+
arguments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
374
|
+
text: z.ZodString;
|
375
|
+
}, "strict", z.ZodTypeAny, {
|
376
|
+
name: string;
|
377
|
+
text: string;
|
378
|
+
description?: string | undefined;
|
379
|
+
arguments?: string[] | undefined;
|
380
|
+
}, {
|
381
|
+
name: string;
|
382
|
+
text: string;
|
383
|
+
description?: string | undefined;
|
384
|
+
arguments?: string[] | undefined;
|
385
|
+
}>, "many">>;
|
386
|
+
prompts_generated: z.ZodOptional<z.ZodBoolean>;
|
387
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
388
|
+
license: z.ZodOptional<z.ZodString>;
|
389
|
+
compatibility: z.ZodOptional<z.ZodObject<{
|
390
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
391
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
392
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
393
|
+
python: z.ZodOptional<z.ZodString>;
|
394
|
+
node: z.ZodOptional<z.ZodString>;
|
395
|
+
}, "strict", z.ZodTypeAny, {
|
396
|
+
python?: string | undefined;
|
397
|
+
node?: string | undefined;
|
398
|
+
}, {
|
399
|
+
python?: string | undefined;
|
400
|
+
node?: string | undefined;
|
401
|
+
}>>;
|
402
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
403
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
404
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
405
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
406
|
+
python: z.ZodOptional<z.ZodString>;
|
407
|
+
node: z.ZodOptional<z.ZodString>;
|
408
|
+
}, "strict", z.ZodTypeAny, {
|
409
|
+
python?: string | undefined;
|
410
|
+
node?: string | undefined;
|
411
|
+
}, {
|
412
|
+
python?: string | undefined;
|
413
|
+
node?: string | undefined;
|
414
|
+
}>>;
|
415
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
416
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
417
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
418
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
419
|
+
python: z.ZodOptional<z.ZodString>;
|
420
|
+
node: z.ZodOptional<z.ZodString>;
|
421
|
+
}, "strict", z.ZodTypeAny, {
|
422
|
+
python?: string | undefined;
|
423
|
+
node?: string | undefined;
|
424
|
+
}, {
|
425
|
+
python?: string | undefined;
|
426
|
+
node?: string | undefined;
|
427
|
+
}>>;
|
428
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
429
|
+
user_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
430
|
+
type: z.ZodEnum<["string", "number", "boolean", "directory", "file"]>;
|
431
|
+
title: z.ZodString;
|
432
|
+
description: z.ZodString;
|
433
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
434
|
+
default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
435
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
436
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
437
|
+
min: z.ZodOptional<z.ZodNumber>;
|
438
|
+
max: z.ZodOptional<z.ZodNumber>;
|
439
|
+
credentials: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
440
|
+
}, "strict", z.ZodTypeAny, {
|
441
|
+
type: "string" | "number" | "boolean" | "directory" | "file";
|
442
|
+
description: string;
|
443
|
+
title: string;
|
444
|
+
default?: string | number | boolean | string[] | undefined;
|
445
|
+
min?: number | undefined;
|
446
|
+
max?: number | undefined;
|
447
|
+
required?: boolean | undefined;
|
448
|
+
multiple?: boolean | undefined;
|
449
|
+
sensitive?: boolean | undefined;
|
450
|
+
credentials?: string[] | undefined;
|
451
|
+
}, {
|
452
|
+
type: "string" | "number" | "boolean" | "directory" | "file";
|
453
|
+
description: string;
|
454
|
+
title: string;
|
455
|
+
default?: string | number | boolean | string[] | undefined;
|
456
|
+
min?: number | undefined;
|
457
|
+
max?: number | undefined;
|
458
|
+
required?: boolean | undefined;
|
459
|
+
multiple?: boolean | undefined;
|
460
|
+
sensitive?: boolean | undefined;
|
461
|
+
credentials?: string[] | undefined;
|
462
|
+
}>>>;
|
463
|
+
}, "strict", z.ZodTypeAny, {
|
464
|
+
name: string;
|
465
|
+
description: string;
|
466
|
+
dxt_version: string;
|
467
|
+
version: string;
|
468
|
+
author: {
|
469
|
+
name: string;
|
470
|
+
email?: string | undefined;
|
471
|
+
url?: string | undefined;
|
472
|
+
};
|
473
|
+
server: {
|
474
|
+
type: "python" | "node" | "binary";
|
475
|
+
entry_point: string;
|
476
|
+
mcp_config: {
|
477
|
+
command: string;
|
478
|
+
args?: string[] | undefined;
|
479
|
+
env?: Record<string, string> | undefined;
|
480
|
+
platform_overrides?: Record<string, {
|
481
|
+
command?: string | undefined;
|
482
|
+
args?: string[] | undefined;
|
483
|
+
env?: Record<string, string> | undefined;
|
484
|
+
}> | undefined;
|
485
|
+
};
|
486
|
+
};
|
487
|
+
$schema?: string | undefined;
|
488
|
+
display_name?: string | undefined;
|
489
|
+
long_description?: string | undefined;
|
490
|
+
repository?: {
|
491
|
+
type: string;
|
492
|
+
url: string;
|
493
|
+
} | undefined;
|
494
|
+
homepage?: string | undefined;
|
495
|
+
documentation?: string | undefined;
|
496
|
+
support?: string | undefined;
|
497
|
+
icon?: string | undefined;
|
498
|
+
screenshots?: string[] | undefined;
|
499
|
+
tools?: {
|
500
|
+
name: string;
|
501
|
+
description?: string | undefined;
|
502
|
+
}[] | undefined;
|
503
|
+
tools_generated?: boolean | undefined;
|
504
|
+
prompts?: {
|
505
|
+
name: string;
|
506
|
+
text: string;
|
507
|
+
description?: string | undefined;
|
508
|
+
arguments?: string[] | undefined;
|
509
|
+
}[] | undefined;
|
510
|
+
prompts_generated?: boolean | undefined;
|
511
|
+
keywords?: string[] | undefined;
|
512
|
+
license?: string | undefined;
|
513
|
+
compatibility?: z.objectOutputType<{
|
514
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
515
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
516
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
517
|
+
python: z.ZodOptional<z.ZodString>;
|
518
|
+
node: z.ZodOptional<z.ZodString>;
|
519
|
+
}, "strict", z.ZodTypeAny, {
|
520
|
+
python?: string | undefined;
|
521
|
+
node?: string | undefined;
|
522
|
+
}, {
|
523
|
+
python?: string | undefined;
|
524
|
+
node?: string | undefined;
|
525
|
+
}>>;
|
526
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
527
|
+
user_config?: Record<string, {
|
528
|
+
type: "string" | "number" | "boolean" | "directory" | "file";
|
529
|
+
description: string;
|
530
|
+
title: string;
|
531
|
+
default?: string | number | boolean | string[] | undefined;
|
532
|
+
min?: number | undefined;
|
533
|
+
max?: number | undefined;
|
534
|
+
required?: boolean | undefined;
|
535
|
+
multiple?: boolean | undefined;
|
536
|
+
sensitive?: boolean | undefined;
|
537
|
+
credentials?: string[] | undefined;
|
538
|
+
}> | undefined;
|
539
|
+
}, {
|
540
|
+
name: string;
|
541
|
+
description: string;
|
542
|
+
dxt_version: string;
|
543
|
+
version: string;
|
544
|
+
author: {
|
545
|
+
name: string;
|
546
|
+
email?: string | undefined;
|
547
|
+
url?: string | undefined;
|
548
|
+
};
|
549
|
+
server: {
|
550
|
+
type: "python" | "node" | "binary";
|
551
|
+
entry_point: string;
|
552
|
+
mcp_config: {
|
553
|
+
command: string;
|
554
|
+
args?: string[] | undefined;
|
555
|
+
env?: Record<string, string> | undefined;
|
556
|
+
platform_overrides?: Record<string, {
|
557
|
+
command?: string | undefined;
|
558
|
+
args?: string[] | undefined;
|
559
|
+
env?: Record<string, string> | undefined;
|
560
|
+
}> | undefined;
|
561
|
+
};
|
562
|
+
};
|
563
|
+
$schema?: string | undefined;
|
564
|
+
display_name?: string | undefined;
|
565
|
+
long_description?: string | undefined;
|
566
|
+
repository?: {
|
567
|
+
type: string;
|
568
|
+
url: string;
|
569
|
+
} | undefined;
|
570
|
+
homepage?: string | undefined;
|
571
|
+
documentation?: string | undefined;
|
572
|
+
support?: string | undefined;
|
573
|
+
icon?: string | undefined;
|
574
|
+
screenshots?: string[] | undefined;
|
575
|
+
tools?: {
|
576
|
+
name: string;
|
577
|
+
description?: string | undefined;
|
578
|
+
}[] | undefined;
|
579
|
+
tools_generated?: boolean | undefined;
|
580
|
+
prompts?: {
|
581
|
+
name: string;
|
582
|
+
text: string;
|
583
|
+
description?: string | undefined;
|
584
|
+
arguments?: string[] | undefined;
|
585
|
+
}[] | undefined;
|
586
|
+
prompts_generated?: boolean | undefined;
|
587
|
+
keywords?: string[] | undefined;
|
588
|
+
license?: string | undefined;
|
589
|
+
compatibility?: z.objectInputType<{
|
590
|
+
claude_desktop: z.ZodOptional<z.ZodString>;
|
591
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["darwin", "win32", "linux"]>, "many">>;
|
592
|
+
runtimes: z.ZodOptional<z.ZodObject<{
|
593
|
+
python: z.ZodOptional<z.ZodString>;
|
594
|
+
node: z.ZodOptional<z.ZodString>;
|
595
|
+
}, "strict", z.ZodTypeAny, {
|
596
|
+
python?: string | undefined;
|
597
|
+
node?: string | undefined;
|
598
|
+
}, {
|
599
|
+
python?: string | undefined;
|
600
|
+
node?: string | undefined;
|
601
|
+
}>>;
|
602
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
603
|
+
user_config?: Record<string, {
|
604
|
+
type: "string" | "number" | "boolean" | "directory" | "file";
|
605
|
+
description: string;
|
606
|
+
title: string;
|
607
|
+
default?: string | number | boolean | string[] | undefined;
|
608
|
+
min?: number | undefined;
|
609
|
+
max?: number | undefined;
|
610
|
+
required?: boolean | undefined;
|
611
|
+
multiple?: boolean | undefined;
|
612
|
+
sensitive?: boolean | undefined;
|
613
|
+
credentials?: string[] | undefined;
|
614
|
+
}> | undefined;
|
615
|
+
}>;
|
616
|
+
export declare const DxtSignatureInfoSchema: z.ZodObject<{
|
617
|
+
status: z.ZodEnum<["signed", "unsigned", "self-signed"]>;
|
618
|
+
publisher: z.ZodOptional<z.ZodString>;
|
619
|
+
issuer: z.ZodOptional<z.ZodString>;
|
620
|
+
valid_from: z.ZodOptional<z.ZodString>;
|
621
|
+
valid_to: z.ZodOptional<z.ZodString>;
|
622
|
+
fingerprint: z.ZodOptional<z.ZodString>;
|
623
|
+
}, "strict", z.ZodTypeAny, {
|
624
|
+
status: "signed" | "unsigned" | "self-signed";
|
625
|
+
publisher?: string | undefined;
|
626
|
+
issuer?: string | undefined;
|
627
|
+
valid_from?: string | undefined;
|
628
|
+
valid_to?: string | undefined;
|
629
|
+
fingerprint?: string | undefined;
|
630
|
+
}, {
|
631
|
+
status: "signed" | "unsigned" | "self-signed";
|
632
|
+
publisher?: string | undefined;
|
633
|
+
issuer?: string | undefined;
|
634
|
+
valid_from?: string | undefined;
|
635
|
+
valid_to?: string | undefined;
|
636
|
+
fingerprint?: string | undefined;
|
637
|
+
}>;
|