@a1st/aix-schema 0.2.0 → 0.3.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.
@@ -0,0 +1,1355 @@
1
+ import { z } from 'zod';
2
+ export declare const agentModeSchema: z.ZodDefault<z.ZodEnum<["primary", "subagent"]>>;
3
+ export declare const agentPermissionValueSchema: z.ZodEnum<["allow", "ask", "deny"]>;
4
+ export declare const agentMcpServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5
+ enabled: z.ZodOptional<z.ZodBoolean>;
6
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
7
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ include?: string[] | undefined;
11
+ exclude?: string[] | undefined;
12
+ }, {
13
+ include?: string[] | undefined;
14
+ exclude?: string[] | undefined;
15
+ }>]>>;
16
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
18
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ include?: string[] | undefined;
22
+ exclude?: string[] | undefined;
23
+ }, {
24
+ include?: string[] | undefined;
25
+ exclude?: string[] | undefined;
26
+ }>]>>;
27
+ autoStart: z.ZodOptional<z.ZodBoolean>;
28
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
29
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
30
+ }, {
31
+ command: z.ZodString;
32
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
34
+ cwd: z.ZodOptional<z.ZodString>;
35
+ shell: z.ZodOptional<z.ZodBoolean>;
36
+ }>, "strip", z.ZodTypeAny, {
37
+ command: string;
38
+ enabled?: boolean | undefined;
39
+ args?: string[] | undefined;
40
+ env?: Record<string, string> | undefined;
41
+ cwd?: string | undefined;
42
+ shell?: boolean | undefined;
43
+ tools?: string[] | {
44
+ include?: string[] | undefined;
45
+ exclude?: string[] | undefined;
46
+ } | undefined;
47
+ disabledTools?: string[] | undefined;
48
+ resources?: string[] | {
49
+ include?: string[] | undefined;
50
+ exclude?: string[] | undefined;
51
+ } | undefined;
52
+ autoStart?: boolean | undefined;
53
+ restartOnFailure?: boolean | undefined;
54
+ maxRestarts?: number | undefined;
55
+ }, {
56
+ command: string;
57
+ enabled?: boolean | undefined;
58
+ args?: string[] | undefined;
59
+ env?: Record<string, string> | undefined;
60
+ cwd?: string | undefined;
61
+ shell?: boolean | undefined;
62
+ tools?: string[] | {
63
+ include?: string[] | undefined;
64
+ exclude?: string[] | undefined;
65
+ } | undefined;
66
+ disabledTools?: string[] | undefined;
67
+ resources?: string[] | {
68
+ include?: string[] | undefined;
69
+ exclude?: string[] | undefined;
70
+ } | undefined;
71
+ autoStart?: boolean | undefined;
72
+ restartOnFailure?: boolean | undefined;
73
+ maxRestarts?: number | undefined;
74
+ }>, z.ZodObject<z.objectUtil.extendShape<{
75
+ enabled: z.ZodOptional<z.ZodBoolean>;
76
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
77
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
78
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ include?: string[] | undefined;
81
+ exclude?: string[] | undefined;
82
+ }, {
83
+ include?: string[] | undefined;
84
+ exclude?: string[] | undefined;
85
+ }>]>>;
86
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
87
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
88
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
89
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ include?: string[] | undefined;
92
+ exclude?: string[] | undefined;
93
+ }, {
94
+ include?: string[] | undefined;
95
+ exclude?: string[] | undefined;
96
+ }>]>>;
97
+ autoStart: z.ZodOptional<z.ZodBoolean>;
98
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
99
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
100
+ }, {
101
+ url: z.ZodString;
102
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
103
+ timeout: z.ZodOptional<z.ZodNumber>;
104
+ validateOrigin: z.ZodOptional<z.ZodBoolean>;
105
+ }>, "strip", z.ZodTypeAny, {
106
+ url: string;
107
+ enabled?: boolean | undefined;
108
+ headers?: Record<string, string> | undefined;
109
+ timeout?: number | undefined;
110
+ validateOrigin?: boolean | undefined;
111
+ tools?: string[] | {
112
+ include?: string[] | undefined;
113
+ exclude?: string[] | undefined;
114
+ } | undefined;
115
+ disabledTools?: string[] | undefined;
116
+ resources?: string[] | {
117
+ include?: string[] | undefined;
118
+ exclude?: string[] | undefined;
119
+ } | undefined;
120
+ autoStart?: boolean | undefined;
121
+ restartOnFailure?: boolean | undefined;
122
+ maxRestarts?: number | undefined;
123
+ }, {
124
+ url: string;
125
+ enabled?: boolean | undefined;
126
+ headers?: Record<string, string> | undefined;
127
+ timeout?: number | undefined;
128
+ validateOrigin?: boolean | undefined;
129
+ tools?: string[] | {
130
+ include?: string[] | undefined;
131
+ exclude?: string[] | undefined;
132
+ } | undefined;
133
+ disabledTools?: string[] | undefined;
134
+ resources?: string[] | {
135
+ include?: string[] | undefined;
136
+ exclude?: string[] | undefined;
137
+ } | undefined;
138
+ autoStart?: boolean | undefined;
139
+ restartOnFailure?: boolean | undefined;
140
+ maxRestarts?: number | undefined;
141
+ }>]>>;
142
+ export declare const agentEditorExtensionSchema: z.ZodRecord<z.ZodEnum<["windsurf", "cursor", "claude-code", "copilot", "zed", "neovim", "gemini", "opencode"]>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
143
+ export declare const agentObjectSchema: z.ZodEffects<z.ZodObject<{
144
+ description: z.ZodOptional<z.ZodString>;
145
+ mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["primary", "subagent"]>>>;
146
+ model: z.ZodOptional<z.ZodString>;
147
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
148
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["allow", "ask", "deny"]>>>;
149
+ mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
150
+ enabled: z.ZodOptional<z.ZodBoolean>;
151
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
152
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
153
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ include?: string[] | undefined;
156
+ exclude?: string[] | undefined;
157
+ }, {
158
+ include?: string[] | undefined;
159
+ exclude?: string[] | undefined;
160
+ }>]>>;
161
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
162
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
163
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
164
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ include?: string[] | undefined;
167
+ exclude?: string[] | undefined;
168
+ }, {
169
+ include?: string[] | undefined;
170
+ exclude?: string[] | undefined;
171
+ }>]>>;
172
+ autoStart: z.ZodOptional<z.ZodBoolean>;
173
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
174
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
175
+ }, {
176
+ command: z.ZodString;
177
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
178
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
179
+ cwd: z.ZodOptional<z.ZodString>;
180
+ shell: z.ZodOptional<z.ZodBoolean>;
181
+ }>, "strip", z.ZodTypeAny, {
182
+ command: string;
183
+ enabled?: boolean | undefined;
184
+ args?: string[] | undefined;
185
+ env?: Record<string, string> | undefined;
186
+ cwd?: string | undefined;
187
+ shell?: boolean | undefined;
188
+ tools?: string[] | {
189
+ include?: string[] | undefined;
190
+ exclude?: string[] | undefined;
191
+ } | undefined;
192
+ disabledTools?: string[] | undefined;
193
+ resources?: string[] | {
194
+ include?: string[] | undefined;
195
+ exclude?: string[] | undefined;
196
+ } | undefined;
197
+ autoStart?: boolean | undefined;
198
+ restartOnFailure?: boolean | undefined;
199
+ maxRestarts?: number | undefined;
200
+ }, {
201
+ command: string;
202
+ enabled?: boolean | undefined;
203
+ args?: string[] | undefined;
204
+ env?: Record<string, string> | undefined;
205
+ cwd?: string | undefined;
206
+ shell?: boolean | undefined;
207
+ tools?: string[] | {
208
+ include?: string[] | undefined;
209
+ exclude?: string[] | undefined;
210
+ } | undefined;
211
+ disabledTools?: string[] | undefined;
212
+ resources?: string[] | {
213
+ include?: string[] | undefined;
214
+ exclude?: string[] | undefined;
215
+ } | undefined;
216
+ autoStart?: boolean | undefined;
217
+ restartOnFailure?: boolean | undefined;
218
+ maxRestarts?: number | undefined;
219
+ }>, z.ZodObject<z.objectUtil.extendShape<{
220
+ enabled: z.ZodOptional<z.ZodBoolean>;
221
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
222
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
223
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ include?: string[] | undefined;
226
+ exclude?: string[] | undefined;
227
+ }, {
228
+ include?: string[] | undefined;
229
+ exclude?: string[] | undefined;
230
+ }>]>>;
231
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
232
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
233
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
234
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ include?: string[] | undefined;
237
+ exclude?: string[] | undefined;
238
+ }, {
239
+ include?: string[] | undefined;
240
+ exclude?: string[] | undefined;
241
+ }>]>>;
242
+ autoStart: z.ZodOptional<z.ZodBoolean>;
243
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
244
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
245
+ }, {
246
+ url: z.ZodString;
247
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
248
+ timeout: z.ZodOptional<z.ZodNumber>;
249
+ validateOrigin: z.ZodOptional<z.ZodBoolean>;
250
+ }>, "strip", z.ZodTypeAny, {
251
+ url: string;
252
+ enabled?: boolean | undefined;
253
+ headers?: Record<string, string> | undefined;
254
+ timeout?: number | undefined;
255
+ validateOrigin?: boolean | undefined;
256
+ tools?: string[] | {
257
+ include?: string[] | undefined;
258
+ exclude?: string[] | undefined;
259
+ } | undefined;
260
+ disabledTools?: string[] | undefined;
261
+ resources?: string[] | {
262
+ include?: string[] | undefined;
263
+ exclude?: string[] | undefined;
264
+ } | undefined;
265
+ autoStart?: boolean | undefined;
266
+ restartOnFailure?: boolean | undefined;
267
+ maxRestarts?: number | undefined;
268
+ }, {
269
+ url: string;
270
+ enabled?: boolean | undefined;
271
+ headers?: Record<string, string> | undefined;
272
+ timeout?: number | undefined;
273
+ validateOrigin?: boolean | undefined;
274
+ tools?: string[] | {
275
+ include?: string[] | undefined;
276
+ exclude?: string[] | undefined;
277
+ } | undefined;
278
+ disabledTools?: string[] | undefined;
279
+ resources?: string[] | {
280
+ include?: string[] | undefined;
281
+ exclude?: string[] | undefined;
282
+ } | undefined;
283
+ autoStart?: boolean | undefined;
284
+ restartOnFailure?: boolean | undefined;
285
+ maxRestarts?: number | undefined;
286
+ }>]>>>;
287
+ content: z.ZodOptional<z.ZodString>;
288
+ path: z.ZodOptional<z.ZodString>;
289
+ git: z.ZodOptional<z.ZodObject<{
290
+ url: z.ZodString;
291
+ path: z.ZodOptional<z.ZodString>;
292
+ ref: z.ZodOptional<z.ZodString>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ url: string;
295
+ path?: string | undefined;
296
+ ref?: string | undefined;
297
+ }, {
298
+ url: string;
299
+ path?: string | undefined;
300
+ ref?: string | undefined;
301
+ }>>;
302
+ npm: z.ZodOptional<z.ZodObject<{
303
+ npm: z.ZodString;
304
+ path: z.ZodString;
305
+ version: z.ZodOptional<z.ZodString>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ path: string;
308
+ npm: string;
309
+ version?: string | undefined;
310
+ }, {
311
+ path: string;
312
+ npm: string;
313
+ version?: string | undefined;
314
+ }>>;
315
+ editor: z.ZodOptional<z.ZodRecord<z.ZodEnum<["windsurf", "cursor", "claude-code", "copilot", "zed", "neovim", "gemini", "opencode"]>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ path?: string | undefined;
318
+ npm?: {
319
+ path: string;
320
+ npm: string;
321
+ version?: string | undefined;
322
+ } | undefined;
323
+ description?: string | undefined;
324
+ content?: string | undefined;
325
+ git?: {
326
+ url: string;
327
+ path?: string | undefined;
328
+ ref?: string | undefined;
329
+ } | undefined;
330
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
331
+ tools?: string[] | undefined;
332
+ mode?: "primary" | "subagent" | undefined;
333
+ model?: string | undefined;
334
+ mcp?: Record<string, {
335
+ command: string;
336
+ enabled?: boolean | undefined;
337
+ args?: string[] | undefined;
338
+ env?: Record<string, string> | undefined;
339
+ cwd?: string | undefined;
340
+ shell?: boolean | undefined;
341
+ tools?: string[] | {
342
+ include?: string[] | undefined;
343
+ exclude?: string[] | undefined;
344
+ } | undefined;
345
+ disabledTools?: string[] | undefined;
346
+ resources?: string[] | {
347
+ include?: string[] | undefined;
348
+ exclude?: string[] | undefined;
349
+ } | undefined;
350
+ autoStart?: boolean | undefined;
351
+ restartOnFailure?: boolean | undefined;
352
+ maxRestarts?: number | undefined;
353
+ } | {
354
+ url: string;
355
+ enabled?: boolean | undefined;
356
+ headers?: Record<string, string> | undefined;
357
+ timeout?: number | undefined;
358
+ validateOrigin?: boolean | undefined;
359
+ tools?: string[] | {
360
+ include?: string[] | undefined;
361
+ exclude?: string[] | undefined;
362
+ } | undefined;
363
+ disabledTools?: string[] | undefined;
364
+ resources?: string[] | {
365
+ include?: string[] | undefined;
366
+ exclude?: string[] | undefined;
367
+ } | undefined;
368
+ autoStart?: boolean | undefined;
369
+ restartOnFailure?: boolean | undefined;
370
+ maxRestarts?: number | undefined;
371
+ }> | undefined;
372
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
373
+ }, {
374
+ path?: string | undefined;
375
+ npm?: {
376
+ path: string;
377
+ npm: string;
378
+ version?: string | undefined;
379
+ } | undefined;
380
+ description?: string | undefined;
381
+ content?: string | undefined;
382
+ git?: {
383
+ url: string;
384
+ path?: string | undefined;
385
+ ref?: string | undefined;
386
+ } | undefined;
387
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
388
+ tools?: string[] | undefined;
389
+ mode?: "primary" | "subagent" | undefined;
390
+ model?: string | undefined;
391
+ mcp?: Record<string, {
392
+ command: string;
393
+ enabled?: boolean | undefined;
394
+ args?: string[] | undefined;
395
+ env?: Record<string, string> | undefined;
396
+ cwd?: string | undefined;
397
+ shell?: boolean | undefined;
398
+ tools?: string[] | {
399
+ include?: string[] | undefined;
400
+ exclude?: string[] | undefined;
401
+ } | undefined;
402
+ disabledTools?: string[] | undefined;
403
+ resources?: string[] | {
404
+ include?: string[] | undefined;
405
+ exclude?: string[] | undefined;
406
+ } | undefined;
407
+ autoStart?: boolean | undefined;
408
+ restartOnFailure?: boolean | undefined;
409
+ maxRestarts?: number | undefined;
410
+ } | {
411
+ url: string;
412
+ enabled?: boolean | undefined;
413
+ headers?: Record<string, string> | undefined;
414
+ timeout?: number | undefined;
415
+ validateOrigin?: boolean | undefined;
416
+ tools?: string[] | {
417
+ include?: string[] | undefined;
418
+ exclude?: string[] | undefined;
419
+ } | undefined;
420
+ disabledTools?: string[] | undefined;
421
+ resources?: string[] | {
422
+ include?: string[] | undefined;
423
+ exclude?: string[] | undefined;
424
+ } | undefined;
425
+ autoStart?: boolean | undefined;
426
+ restartOnFailure?: boolean | undefined;
427
+ maxRestarts?: number | undefined;
428
+ }> | undefined;
429
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
430
+ }>, {
431
+ path?: string | undefined;
432
+ npm?: {
433
+ path: string;
434
+ npm: string;
435
+ version?: string | undefined;
436
+ } | undefined;
437
+ description?: string | undefined;
438
+ content?: string | undefined;
439
+ git?: {
440
+ url: string;
441
+ path?: string | undefined;
442
+ ref?: string | undefined;
443
+ } | undefined;
444
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
445
+ tools?: string[] | undefined;
446
+ mode?: "primary" | "subagent" | undefined;
447
+ model?: string | undefined;
448
+ mcp?: Record<string, {
449
+ command: string;
450
+ enabled?: boolean | undefined;
451
+ args?: string[] | undefined;
452
+ env?: Record<string, string> | undefined;
453
+ cwd?: string | undefined;
454
+ shell?: boolean | undefined;
455
+ tools?: string[] | {
456
+ include?: string[] | undefined;
457
+ exclude?: string[] | undefined;
458
+ } | undefined;
459
+ disabledTools?: string[] | undefined;
460
+ resources?: string[] | {
461
+ include?: string[] | undefined;
462
+ exclude?: string[] | undefined;
463
+ } | undefined;
464
+ autoStart?: boolean | undefined;
465
+ restartOnFailure?: boolean | undefined;
466
+ maxRestarts?: number | undefined;
467
+ } | {
468
+ url: string;
469
+ enabled?: boolean | undefined;
470
+ headers?: Record<string, string> | undefined;
471
+ timeout?: number | undefined;
472
+ validateOrigin?: boolean | undefined;
473
+ tools?: string[] | {
474
+ include?: string[] | undefined;
475
+ exclude?: string[] | undefined;
476
+ } | undefined;
477
+ disabledTools?: string[] | undefined;
478
+ resources?: string[] | {
479
+ include?: string[] | undefined;
480
+ exclude?: string[] | undefined;
481
+ } | undefined;
482
+ autoStart?: boolean | undefined;
483
+ restartOnFailure?: boolean | undefined;
484
+ maxRestarts?: number | undefined;
485
+ }> | undefined;
486
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
487
+ }, {
488
+ path?: string | undefined;
489
+ npm?: {
490
+ path: string;
491
+ npm: string;
492
+ version?: string | undefined;
493
+ } | undefined;
494
+ description?: string | undefined;
495
+ content?: string | undefined;
496
+ git?: {
497
+ url: string;
498
+ path?: string | undefined;
499
+ ref?: string | undefined;
500
+ } | undefined;
501
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
502
+ tools?: string[] | undefined;
503
+ mode?: "primary" | "subagent" | undefined;
504
+ model?: string | undefined;
505
+ mcp?: Record<string, {
506
+ command: string;
507
+ enabled?: boolean | undefined;
508
+ args?: string[] | undefined;
509
+ env?: Record<string, string> | undefined;
510
+ cwd?: string | undefined;
511
+ shell?: boolean | undefined;
512
+ tools?: string[] | {
513
+ include?: string[] | undefined;
514
+ exclude?: string[] | undefined;
515
+ } | undefined;
516
+ disabledTools?: string[] | undefined;
517
+ resources?: string[] | {
518
+ include?: string[] | undefined;
519
+ exclude?: string[] | undefined;
520
+ } | undefined;
521
+ autoStart?: boolean | undefined;
522
+ restartOnFailure?: boolean | undefined;
523
+ maxRestarts?: number | undefined;
524
+ } | {
525
+ url: string;
526
+ enabled?: boolean | undefined;
527
+ headers?: Record<string, string> | undefined;
528
+ timeout?: number | undefined;
529
+ validateOrigin?: boolean | undefined;
530
+ tools?: string[] | {
531
+ include?: string[] | undefined;
532
+ exclude?: string[] | undefined;
533
+ } | undefined;
534
+ disabledTools?: string[] | undefined;
535
+ resources?: string[] | {
536
+ include?: string[] | undefined;
537
+ exclude?: string[] | undefined;
538
+ } | undefined;
539
+ autoStart?: boolean | undefined;
540
+ restartOnFailure?: boolean | undefined;
541
+ maxRestarts?: number | undefined;
542
+ }> | undefined;
543
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
544
+ }>;
545
+ export declare const agentValueSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
546
+ description: z.ZodOptional<z.ZodString>;
547
+ mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["primary", "subagent"]>>>;
548
+ model: z.ZodOptional<z.ZodString>;
549
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
550
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["allow", "ask", "deny"]>>>;
551
+ mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
552
+ enabled: z.ZodOptional<z.ZodBoolean>;
553
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
554
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
555
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ include?: string[] | undefined;
558
+ exclude?: string[] | undefined;
559
+ }, {
560
+ include?: string[] | undefined;
561
+ exclude?: string[] | undefined;
562
+ }>]>>;
563
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
564
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
565
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
566
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ include?: string[] | undefined;
569
+ exclude?: string[] | undefined;
570
+ }, {
571
+ include?: string[] | undefined;
572
+ exclude?: string[] | undefined;
573
+ }>]>>;
574
+ autoStart: z.ZodOptional<z.ZodBoolean>;
575
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
576
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
577
+ }, {
578
+ command: z.ZodString;
579
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
580
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
581
+ cwd: z.ZodOptional<z.ZodString>;
582
+ shell: z.ZodOptional<z.ZodBoolean>;
583
+ }>, "strip", z.ZodTypeAny, {
584
+ command: string;
585
+ enabled?: boolean | undefined;
586
+ args?: string[] | undefined;
587
+ env?: Record<string, string> | undefined;
588
+ cwd?: string | undefined;
589
+ shell?: boolean | undefined;
590
+ tools?: string[] | {
591
+ include?: string[] | undefined;
592
+ exclude?: string[] | undefined;
593
+ } | undefined;
594
+ disabledTools?: string[] | undefined;
595
+ resources?: string[] | {
596
+ include?: string[] | undefined;
597
+ exclude?: string[] | undefined;
598
+ } | undefined;
599
+ autoStart?: boolean | undefined;
600
+ restartOnFailure?: boolean | undefined;
601
+ maxRestarts?: number | undefined;
602
+ }, {
603
+ command: string;
604
+ enabled?: boolean | undefined;
605
+ args?: string[] | undefined;
606
+ env?: Record<string, string> | undefined;
607
+ cwd?: string | undefined;
608
+ shell?: boolean | undefined;
609
+ tools?: string[] | {
610
+ include?: string[] | undefined;
611
+ exclude?: string[] | undefined;
612
+ } | undefined;
613
+ disabledTools?: string[] | undefined;
614
+ resources?: string[] | {
615
+ include?: string[] | undefined;
616
+ exclude?: string[] | undefined;
617
+ } | undefined;
618
+ autoStart?: boolean | undefined;
619
+ restartOnFailure?: boolean | undefined;
620
+ maxRestarts?: number | undefined;
621
+ }>, z.ZodObject<z.objectUtil.extendShape<{
622
+ enabled: z.ZodOptional<z.ZodBoolean>;
623
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
624
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
625
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
626
+ }, "strip", z.ZodTypeAny, {
627
+ include?: string[] | undefined;
628
+ exclude?: string[] | undefined;
629
+ }, {
630
+ include?: string[] | undefined;
631
+ exclude?: string[] | undefined;
632
+ }>]>>;
633
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
634
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
635
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
636
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
637
+ }, "strip", z.ZodTypeAny, {
638
+ include?: string[] | undefined;
639
+ exclude?: string[] | undefined;
640
+ }, {
641
+ include?: string[] | undefined;
642
+ exclude?: string[] | undefined;
643
+ }>]>>;
644
+ autoStart: z.ZodOptional<z.ZodBoolean>;
645
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
646
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
647
+ }, {
648
+ url: z.ZodString;
649
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
650
+ timeout: z.ZodOptional<z.ZodNumber>;
651
+ validateOrigin: z.ZodOptional<z.ZodBoolean>;
652
+ }>, "strip", z.ZodTypeAny, {
653
+ url: string;
654
+ enabled?: boolean | undefined;
655
+ headers?: Record<string, string> | undefined;
656
+ timeout?: number | undefined;
657
+ validateOrigin?: boolean | undefined;
658
+ tools?: string[] | {
659
+ include?: string[] | undefined;
660
+ exclude?: string[] | undefined;
661
+ } | undefined;
662
+ disabledTools?: string[] | undefined;
663
+ resources?: string[] | {
664
+ include?: string[] | undefined;
665
+ exclude?: string[] | undefined;
666
+ } | undefined;
667
+ autoStart?: boolean | undefined;
668
+ restartOnFailure?: boolean | undefined;
669
+ maxRestarts?: number | undefined;
670
+ }, {
671
+ url: string;
672
+ enabled?: boolean | undefined;
673
+ headers?: Record<string, string> | undefined;
674
+ timeout?: number | undefined;
675
+ validateOrigin?: boolean | undefined;
676
+ tools?: string[] | {
677
+ include?: string[] | undefined;
678
+ exclude?: string[] | undefined;
679
+ } | undefined;
680
+ disabledTools?: string[] | undefined;
681
+ resources?: string[] | {
682
+ include?: string[] | undefined;
683
+ exclude?: string[] | undefined;
684
+ } | undefined;
685
+ autoStart?: boolean | undefined;
686
+ restartOnFailure?: boolean | undefined;
687
+ maxRestarts?: number | undefined;
688
+ }>]>>>;
689
+ content: z.ZodOptional<z.ZodString>;
690
+ path: z.ZodOptional<z.ZodString>;
691
+ git: z.ZodOptional<z.ZodObject<{
692
+ url: z.ZodString;
693
+ path: z.ZodOptional<z.ZodString>;
694
+ ref: z.ZodOptional<z.ZodString>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ url: string;
697
+ path?: string | undefined;
698
+ ref?: string | undefined;
699
+ }, {
700
+ url: string;
701
+ path?: string | undefined;
702
+ ref?: string | undefined;
703
+ }>>;
704
+ npm: z.ZodOptional<z.ZodObject<{
705
+ npm: z.ZodString;
706
+ path: z.ZodString;
707
+ version: z.ZodOptional<z.ZodString>;
708
+ }, "strip", z.ZodTypeAny, {
709
+ path: string;
710
+ npm: string;
711
+ version?: string | undefined;
712
+ }, {
713
+ path: string;
714
+ npm: string;
715
+ version?: string | undefined;
716
+ }>>;
717
+ editor: z.ZodOptional<z.ZodRecord<z.ZodEnum<["windsurf", "cursor", "claude-code", "copilot", "zed", "neovim", "gemini", "opencode"]>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ path?: string | undefined;
720
+ npm?: {
721
+ path: string;
722
+ npm: string;
723
+ version?: string | undefined;
724
+ } | undefined;
725
+ description?: string | undefined;
726
+ content?: string | undefined;
727
+ git?: {
728
+ url: string;
729
+ path?: string | undefined;
730
+ ref?: string | undefined;
731
+ } | undefined;
732
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
733
+ tools?: string[] | undefined;
734
+ mode?: "primary" | "subagent" | undefined;
735
+ model?: string | undefined;
736
+ mcp?: Record<string, {
737
+ command: string;
738
+ enabled?: boolean | undefined;
739
+ args?: string[] | undefined;
740
+ env?: Record<string, string> | undefined;
741
+ cwd?: string | undefined;
742
+ shell?: boolean | undefined;
743
+ tools?: string[] | {
744
+ include?: string[] | undefined;
745
+ exclude?: string[] | undefined;
746
+ } | undefined;
747
+ disabledTools?: string[] | undefined;
748
+ resources?: string[] | {
749
+ include?: string[] | undefined;
750
+ exclude?: string[] | undefined;
751
+ } | undefined;
752
+ autoStart?: boolean | undefined;
753
+ restartOnFailure?: boolean | undefined;
754
+ maxRestarts?: number | undefined;
755
+ } | {
756
+ url: string;
757
+ enabled?: boolean | undefined;
758
+ headers?: Record<string, string> | undefined;
759
+ timeout?: number | undefined;
760
+ validateOrigin?: boolean | undefined;
761
+ tools?: string[] | {
762
+ include?: string[] | undefined;
763
+ exclude?: string[] | undefined;
764
+ } | undefined;
765
+ disabledTools?: string[] | undefined;
766
+ resources?: string[] | {
767
+ include?: string[] | undefined;
768
+ exclude?: string[] | undefined;
769
+ } | undefined;
770
+ autoStart?: boolean | undefined;
771
+ restartOnFailure?: boolean | undefined;
772
+ maxRestarts?: number | undefined;
773
+ }> | undefined;
774
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
775
+ }, {
776
+ path?: string | undefined;
777
+ npm?: {
778
+ path: string;
779
+ npm: string;
780
+ version?: string | undefined;
781
+ } | undefined;
782
+ description?: string | undefined;
783
+ content?: string | undefined;
784
+ git?: {
785
+ url: string;
786
+ path?: string | undefined;
787
+ ref?: string | undefined;
788
+ } | undefined;
789
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
790
+ tools?: string[] | undefined;
791
+ mode?: "primary" | "subagent" | undefined;
792
+ model?: string | undefined;
793
+ mcp?: Record<string, {
794
+ command: string;
795
+ enabled?: boolean | undefined;
796
+ args?: string[] | undefined;
797
+ env?: Record<string, string> | undefined;
798
+ cwd?: string | undefined;
799
+ shell?: boolean | undefined;
800
+ tools?: string[] | {
801
+ include?: string[] | undefined;
802
+ exclude?: string[] | undefined;
803
+ } | undefined;
804
+ disabledTools?: string[] | undefined;
805
+ resources?: string[] | {
806
+ include?: string[] | undefined;
807
+ exclude?: string[] | undefined;
808
+ } | undefined;
809
+ autoStart?: boolean | undefined;
810
+ restartOnFailure?: boolean | undefined;
811
+ maxRestarts?: number | undefined;
812
+ } | {
813
+ url: string;
814
+ enabled?: boolean | undefined;
815
+ headers?: Record<string, string> | undefined;
816
+ timeout?: number | undefined;
817
+ validateOrigin?: boolean | undefined;
818
+ tools?: string[] | {
819
+ include?: string[] | undefined;
820
+ exclude?: string[] | undefined;
821
+ } | undefined;
822
+ disabledTools?: string[] | undefined;
823
+ resources?: string[] | {
824
+ include?: string[] | undefined;
825
+ exclude?: string[] | undefined;
826
+ } | undefined;
827
+ autoStart?: boolean | undefined;
828
+ restartOnFailure?: boolean | undefined;
829
+ maxRestarts?: number | undefined;
830
+ }> | undefined;
831
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
832
+ }>, {
833
+ path?: string | undefined;
834
+ npm?: {
835
+ path: string;
836
+ npm: string;
837
+ version?: string | undefined;
838
+ } | undefined;
839
+ description?: string | undefined;
840
+ content?: string | undefined;
841
+ git?: {
842
+ url: string;
843
+ path?: string | undefined;
844
+ ref?: string | undefined;
845
+ } | undefined;
846
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
847
+ tools?: string[] | undefined;
848
+ mode?: "primary" | "subagent" | undefined;
849
+ model?: string | undefined;
850
+ mcp?: Record<string, {
851
+ command: string;
852
+ enabled?: boolean | undefined;
853
+ args?: string[] | undefined;
854
+ env?: Record<string, string> | undefined;
855
+ cwd?: string | undefined;
856
+ shell?: boolean | undefined;
857
+ tools?: string[] | {
858
+ include?: string[] | undefined;
859
+ exclude?: string[] | undefined;
860
+ } | undefined;
861
+ disabledTools?: string[] | undefined;
862
+ resources?: string[] | {
863
+ include?: string[] | undefined;
864
+ exclude?: string[] | undefined;
865
+ } | undefined;
866
+ autoStart?: boolean | undefined;
867
+ restartOnFailure?: boolean | undefined;
868
+ maxRestarts?: number | undefined;
869
+ } | {
870
+ url: string;
871
+ enabled?: boolean | undefined;
872
+ headers?: Record<string, string> | undefined;
873
+ timeout?: number | undefined;
874
+ validateOrigin?: boolean | undefined;
875
+ tools?: string[] | {
876
+ include?: string[] | undefined;
877
+ exclude?: string[] | undefined;
878
+ } | undefined;
879
+ disabledTools?: string[] | undefined;
880
+ resources?: string[] | {
881
+ include?: string[] | undefined;
882
+ exclude?: string[] | undefined;
883
+ } | undefined;
884
+ autoStart?: boolean | undefined;
885
+ restartOnFailure?: boolean | undefined;
886
+ maxRestarts?: number | undefined;
887
+ }> | undefined;
888
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
889
+ }, {
890
+ path?: string | undefined;
891
+ npm?: {
892
+ path: string;
893
+ npm: string;
894
+ version?: string | undefined;
895
+ } | undefined;
896
+ description?: string | undefined;
897
+ content?: string | undefined;
898
+ git?: {
899
+ url: string;
900
+ path?: string | undefined;
901
+ ref?: string | undefined;
902
+ } | undefined;
903
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
904
+ tools?: string[] | undefined;
905
+ mode?: "primary" | "subagent" | undefined;
906
+ model?: string | undefined;
907
+ mcp?: Record<string, {
908
+ command: string;
909
+ enabled?: boolean | undefined;
910
+ args?: string[] | undefined;
911
+ env?: Record<string, string> | undefined;
912
+ cwd?: string | undefined;
913
+ shell?: boolean | undefined;
914
+ tools?: string[] | {
915
+ include?: string[] | undefined;
916
+ exclude?: string[] | undefined;
917
+ } | undefined;
918
+ disabledTools?: string[] | undefined;
919
+ resources?: string[] | {
920
+ include?: string[] | undefined;
921
+ exclude?: string[] | undefined;
922
+ } | undefined;
923
+ autoStart?: boolean | undefined;
924
+ restartOnFailure?: boolean | undefined;
925
+ maxRestarts?: number | undefined;
926
+ } | {
927
+ url: string;
928
+ enabled?: boolean | undefined;
929
+ headers?: Record<string, string> | undefined;
930
+ timeout?: number | undefined;
931
+ validateOrigin?: boolean | undefined;
932
+ tools?: string[] | {
933
+ include?: string[] | undefined;
934
+ exclude?: string[] | undefined;
935
+ } | undefined;
936
+ disabledTools?: string[] | undefined;
937
+ resources?: string[] | {
938
+ include?: string[] | undefined;
939
+ exclude?: string[] | undefined;
940
+ } | undefined;
941
+ autoStart?: boolean | undefined;
942
+ restartOnFailure?: boolean | undefined;
943
+ maxRestarts?: number | undefined;
944
+ }> | undefined;
945
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
946
+ }>]>;
947
+ export declare const agentNameSchema: z.ZodString;
948
+ export declare const agentsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
949
+ description: z.ZodOptional<z.ZodString>;
950
+ mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["primary", "subagent"]>>>;
951
+ model: z.ZodOptional<z.ZodString>;
952
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
953
+ permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["allow", "ask", "deny"]>>>;
954
+ mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
955
+ enabled: z.ZodOptional<z.ZodBoolean>;
956
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
957
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
958
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ include?: string[] | undefined;
961
+ exclude?: string[] | undefined;
962
+ }, {
963
+ include?: string[] | undefined;
964
+ exclude?: string[] | undefined;
965
+ }>]>>;
966
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
967
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
968
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
969
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
970
+ }, "strip", z.ZodTypeAny, {
971
+ include?: string[] | undefined;
972
+ exclude?: string[] | undefined;
973
+ }, {
974
+ include?: string[] | undefined;
975
+ exclude?: string[] | undefined;
976
+ }>]>>;
977
+ autoStart: z.ZodOptional<z.ZodBoolean>;
978
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
979
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
980
+ }, {
981
+ command: z.ZodString;
982
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
983
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
984
+ cwd: z.ZodOptional<z.ZodString>;
985
+ shell: z.ZodOptional<z.ZodBoolean>;
986
+ }>, "strip", z.ZodTypeAny, {
987
+ command: string;
988
+ enabled?: boolean | undefined;
989
+ args?: string[] | undefined;
990
+ env?: Record<string, string> | undefined;
991
+ cwd?: string | undefined;
992
+ shell?: boolean | undefined;
993
+ tools?: string[] | {
994
+ include?: string[] | undefined;
995
+ exclude?: string[] | undefined;
996
+ } | undefined;
997
+ disabledTools?: string[] | undefined;
998
+ resources?: string[] | {
999
+ include?: string[] | undefined;
1000
+ exclude?: string[] | undefined;
1001
+ } | undefined;
1002
+ autoStart?: boolean | undefined;
1003
+ restartOnFailure?: boolean | undefined;
1004
+ maxRestarts?: number | undefined;
1005
+ }, {
1006
+ command: string;
1007
+ enabled?: boolean | undefined;
1008
+ args?: string[] | undefined;
1009
+ env?: Record<string, string> | undefined;
1010
+ cwd?: string | undefined;
1011
+ shell?: boolean | undefined;
1012
+ tools?: string[] | {
1013
+ include?: string[] | undefined;
1014
+ exclude?: string[] | undefined;
1015
+ } | undefined;
1016
+ disabledTools?: string[] | undefined;
1017
+ resources?: string[] | {
1018
+ include?: string[] | undefined;
1019
+ exclude?: string[] | undefined;
1020
+ } | undefined;
1021
+ autoStart?: boolean | undefined;
1022
+ restartOnFailure?: boolean | undefined;
1023
+ maxRestarts?: number | undefined;
1024
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1025
+ enabled: z.ZodOptional<z.ZodBoolean>;
1026
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1027
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1028
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ include?: string[] | undefined;
1031
+ exclude?: string[] | undefined;
1032
+ }, {
1033
+ include?: string[] | undefined;
1034
+ exclude?: string[] | undefined;
1035
+ }>]>>;
1036
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1037
+ resources: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1038
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1039
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ include?: string[] | undefined;
1042
+ exclude?: string[] | undefined;
1043
+ }, {
1044
+ include?: string[] | undefined;
1045
+ exclude?: string[] | undefined;
1046
+ }>]>>;
1047
+ autoStart: z.ZodOptional<z.ZodBoolean>;
1048
+ restartOnFailure: z.ZodOptional<z.ZodBoolean>;
1049
+ maxRestarts: z.ZodOptional<z.ZodNumber>;
1050
+ }, {
1051
+ url: z.ZodString;
1052
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1053
+ timeout: z.ZodOptional<z.ZodNumber>;
1054
+ validateOrigin: z.ZodOptional<z.ZodBoolean>;
1055
+ }>, "strip", z.ZodTypeAny, {
1056
+ url: string;
1057
+ enabled?: boolean | undefined;
1058
+ headers?: Record<string, string> | undefined;
1059
+ timeout?: number | undefined;
1060
+ validateOrigin?: boolean | undefined;
1061
+ tools?: string[] | {
1062
+ include?: string[] | undefined;
1063
+ exclude?: string[] | undefined;
1064
+ } | undefined;
1065
+ disabledTools?: string[] | undefined;
1066
+ resources?: string[] | {
1067
+ include?: string[] | undefined;
1068
+ exclude?: string[] | undefined;
1069
+ } | undefined;
1070
+ autoStart?: boolean | undefined;
1071
+ restartOnFailure?: boolean | undefined;
1072
+ maxRestarts?: number | undefined;
1073
+ }, {
1074
+ url: string;
1075
+ enabled?: boolean | undefined;
1076
+ headers?: Record<string, string> | undefined;
1077
+ timeout?: number | undefined;
1078
+ validateOrigin?: boolean | undefined;
1079
+ tools?: string[] | {
1080
+ include?: string[] | undefined;
1081
+ exclude?: string[] | undefined;
1082
+ } | undefined;
1083
+ disabledTools?: string[] | undefined;
1084
+ resources?: string[] | {
1085
+ include?: string[] | undefined;
1086
+ exclude?: string[] | undefined;
1087
+ } | undefined;
1088
+ autoStart?: boolean | undefined;
1089
+ restartOnFailure?: boolean | undefined;
1090
+ maxRestarts?: number | undefined;
1091
+ }>]>>>;
1092
+ content: z.ZodOptional<z.ZodString>;
1093
+ path: z.ZodOptional<z.ZodString>;
1094
+ git: z.ZodOptional<z.ZodObject<{
1095
+ url: z.ZodString;
1096
+ path: z.ZodOptional<z.ZodString>;
1097
+ ref: z.ZodOptional<z.ZodString>;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ url: string;
1100
+ path?: string | undefined;
1101
+ ref?: string | undefined;
1102
+ }, {
1103
+ url: string;
1104
+ path?: string | undefined;
1105
+ ref?: string | undefined;
1106
+ }>>;
1107
+ npm: z.ZodOptional<z.ZodObject<{
1108
+ npm: z.ZodString;
1109
+ path: z.ZodString;
1110
+ version: z.ZodOptional<z.ZodString>;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ path: string;
1113
+ npm: string;
1114
+ version?: string | undefined;
1115
+ }, {
1116
+ path: string;
1117
+ npm: string;
1118
+ version?: string | undefined;
1119
+ }>>;
1120
+ editor: z.ZodOptional<z.ZodRecord<z.ZodEnum<["windsurf", "cursor", "claude-code", "copilot", "zed", "neovim", "gemini", "opencode"]>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ path?: string | undefined;
1123
+ npm?: {
1124
+ path: string;
1125
+ npm: string;
1126
+ version?: string | undefined;
1127
+ } | undefined;
1128
+ description?: string | undefined;
1129
+ content?: string | undefined;
1130
+ git?: {
1131
+ url: string;
1132
+ path?: string | undefined;
1133
+ ref?: string | undefined;
1134
+ } | undefined;
1135
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
1136
+ tools?: string[] | undefined;
1137
+ mode?: "primary" | "subagent" | undefined;
1138
+ model?: string | undefined;
1139
+ mcp?: Record<string, {
1140
+ command: string;
1141
+ enabled?: boolean | undefined;
1142
+ args?: string[] | undefined;
1143
+ env?: Record<string, string> | undefined;
1144
+ cwd?: string | undefined;
1145
+ shell?: boolean | undefined;
1146
+ tools?: string[] | {
1147
+ include?: string[] | undefined;
1148
+ exclude?: string[] | undefined;
1149
+ } | undefined;
1150
+ disabledTools?: string[] | undefined;
1151
+ resources?: string[] | {
1152
+ include?: string[] | undefined;
1153
+ exclude?: string[] | undefined;
1154
+ } | undefined;
1155
+ autoStart?: boolean | undefined;
1156
+ restartOnFailure?: boolean | undefined;
1157
+ maxRestarts?: number | undefined;
1158
+ } | {
1159
+ url: string;
1160
+ enabled?: boolean | undefined;
1161
+ headers?: Record<string, string> | undefined;
1162
+ timeout?: number | undefined;
1163
+ validateOrigin?: boolean | undefined;
1164
+ tools?: string[] | {
1165
+ include?: string[] | undefined;
1166
+ exclude?: string[] | undefined;
1167
+ } | undefined;
1168
+ disabledTools?: string[] | undefined;
1169
+ resources?: string[] | {
1170
+ include?: string[] | undefined;
1171
+ exclude?: string[] | undefined;
1172
+ } | undefined;
1173
+ autoStart?: boolean | undefined;
1174
+ restartOnFailure?: boolean | undefined;
1175
+ maxRestarts?: number | undefined;
1176
+ }> | undefined;
1177
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
1178
+ }, {
1179
+ path?: string | undefined;
1180
+ npm?: {
1181
+ path: string;
1182
+ npm: string;
1183
+ version?: string | undefined;
1184
+ } | undefined;
1185
+ description?: string | undefined;
1186
+ content?: string | undefined;
1187
+ git?: {
1188
+ url: string;
1189
+ path?: string | undefined;
1190
+ ref?: string | undefined;
1191
+ } | undefined;
1192
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
1193
+ tools?: string[] | undefined;
1194
+ mode?: "primary" | "subagent" | undefined;
1195
+ model?: string | undefined;
1196
+ mcp?: Record<string, {
1197
+ command: string;
1198
+ enabled?: boolean | undefined;
1199
+ args?: string[] | undefined;
1200
+ env?: Record<string, string> | undefined;
1201
+ cwd?: string | undefined;
1202
+ shell?: boolean | undefined;
1203
+ tools?: string[] | {
1204
+ include?: string[] | undefined;
1205
+ exclude?: string[] | undefined;
1206
+ } | undefined;
1207
+ disabledTools?: string[] | undefined;
1208
+ resources?: string[] | {
1209
+ include?: string[] | undefined;
1210
+ exclude?: string[] | undefined;
1211
+ } | undefined;
1212
+ autoStart?: boolean | undefined;
1213
+ restartOnFailure?: boolean | undefined;
1214
+ maxRestarts?: number | undefined;
1215
+ } | {
1216
+ url: string;
1217
+ enabled?: boolean | undefined;
1218
+ headers?: Record<string, string> | undefined;
1219
+ timeout?: number | undefined;
1220
+ validateOrigin?: boolean | undefined;
1221
+ tools?: string[] | {
1222
+ include?: string[] | undefined;
1223
+ exclude?: string[] | undefined;
1224
+ } | undefined;
1225
+ disabledTools?: string[] | undefined;
1226
+ resources?: string[] | {
1227
+ include?: string[] | undefined;
1228
+ exclude?: string[] | undefined;
1229
+ } | undefined;
1230
+ autoStart?: boolean | undefined;
1231
+ restartOnFailure?: boolean | undefined;
1232
+ maxRestarts?: number | undefined;
1233
+ }> | undefined;
1234
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
1235
+ }>, {
1236
+ path?: string | undefined;
1237
+ npm?: {
1238
+ path: string;
1239
+ npm: string;
1240
+ version?: string | undefined;
1241
+ } | undefined;
1242
+ description?: string | undefined;
1243
+ content?: string | undefined;
1244
+ git?: {
1245
+ url: string;
1246
+ path?: string | undefined;
1247
+ ref?: string | undefined;
1248
+ } | undefined;
1249
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
1250
+ tools?: string[] | undefined;
1251
+ mode?: "primary" | "subagent" | undefined;
1252
+ model?: string | undefined;
1253
+ mcp?: Record<string, {
1254
+ command: string;
1255
+ enabled?: boolean | undefined;
1256
+ args?: string[] | undefined;
1257
+ env?: Record<string, string> | undefined;
1258
+ cwd?: string | undefined;
1259
+ shell?: boolean | undefined;
1260
+ tools?: string[] | {
1261
+ include?: string[] | undefined;
1262
+ exclude?: string[] | undefined;
1263
+ } | undefined;
1264
+ disabledTools?: string[] | undefined;
1265
+ resources?: string[] | {
1266
+ include?: string[] | undefined;
1267
+ exclude?: string[] | undefined;
1268
+ } | undefined;
1269
+ autoStart?: boolean | undefined;
1270
+ restartOnFailure?: boolean | undefined;
1271
+ maxRestarts?: number | undefined;
1272
+ } | {
1273
+ url: string;
1274
+ enabled?: boolean | undefined;
1275
+ headers?: Record<string, string> | undefined;
1276
+ timeout?: number | undefined;
1277
+ validateOrigin?: boolean | undefined;
1278
+ tools?: string[] | {
1279
+ include?: string[] | undefined;
1280
+ exclude?: string[] | undefined;
1281
+ } | undefined;
1282
+ disabledTools?: string[] | undefined;
1283
+ resources?: string[] | {
1284
+ include?: string[] | undefined;
1285
+ exclude?: string[] | undefined;
1286
+ } | undefined;
1287
+ autoStart?: boolean | undefined;
1288
+ restartOnFailure?: boolean | undefined;
1289
+ maxRestarts?: number | undefined;
1290
+ }> | undefined;
1291
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
1292
+ }, {
1293
+ path?: string | undefined;
1294
+ npm?: {
1295
+ path: string;
1296
+ npm: string;
1297
+ version?: string | undefined;
1298
+ } | undefined;
1299
+ description?: string | undefined;
1300
+ content?: string | undefined;
1301
+ git?: {
1302
+ url: string;
1303
+ path?: string | undefined;
1304
+ ref?: string | undefined;
1305
+ } | undefined;
1306
+ permissions?: Record<string, "allow" | "ask" | "deny"> | undefined;
1307
+ tools?: string[] | undefined;
1308
+ mode?: "primary" | "subagent" | undefined;
1309
+ model?: string | undefined;
1310
+ mcp?: Record<string, {
1311
+ command: string;
1312
+ enabled?: boolean | undefined;
1313
+ args?: string[] | undefined;
1314
+ env?: Record<string, string> | undefined;
1315
+ cwd?: string | undefined;
1316
+ shell?: boolean | undefined;
1317
+ tools?: string[] | {
1318
+ include?: string[] | undefined;
1319
+ exclude?: string[] | undefined;
1320
+ } | undefined;
1321
+ disabledTools?: string[] | undefined;
1322
+ resources?: string[] | {
1323
+ include?: string[] | undefined;
1324
+ exclude?: string[] | undefined;
1325
+ } | undefined;
1326
+ autoStart?: boolean | undefined;
1327
+ restartOnFailure?: boolean | undefined;
1328
+ maxRestarts?: number | undefined;
1329
+ } | {
1330
+ url: string;
1331
+ enabled?: boolean | undefined;
1332
+ headers?: Record<string, string> | undefined;
1333
+ timeout?: number | undefined;
1334
+ validateOrigin?: boolean | undefined;
1335
+ tools?: string[] | {
1336
+ include?: string[] | undefined;
1337
+ exclude?: string[] | undefined;
1338
+ } | undefined;
1339
+ disabledTools?: string[] | undefined;
1340
+ resources?: string[] | {
1341
+ include?: string[] | undefined;
1342
+ exclude?: string[] | undefined;
1343
+ } | undefined;
1344
+ autoStart?: boolean | undefined;
1345
+ restartOnFailure?: boolean | undefined;
1346
+ maxRestarts?: number | undefined;
1347
+ }> | undefined;
1348
+ editor?: Partial<Record<"windsurf" | "cursor" | "claude-code" | "copilot" | "zed" | "neovim" | "gemini" | "opencode", Record<string, unknown>>> | undefined;
1349
+ }>]>, z.ZodLiteral<false>]>>;
1350
+ export type AgentMode = z.infer<typeof agentModeSchema>;
1351
+ export type AgentPermissionValue = z.infer<typeof agentPermissionValueSchema>;
1352
+ export type AgentObject = z.infer<typeof agentObjectSchema>;
1353
+ export type AgentValue = z.infer<typeof agentValueSchema>;
1354
+ export type AgentsConfig = z.infer<typeof agentsSchema>;
1355
+ //# sourceMappingURL=agents.d.ts.map