@vibe-agent-toolkit/agent-schema 0.1.0-rc.7

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,1997 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Prompt configuration
4
+ */
5
+ export declare const PromptConfigSchema: z.ZodObject<{
6
+ $ref: z.ZodString;
7
+ variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ $ref: string;
10
+ variables?: string[] | undefined;
11
+ }, {
12
+ $ref: string;
13
+ variables?: string[] | undefined;
14
+ }>;
15
+ export type PromptConfig = z.infer<typeof PromptConfigSchema>;
16
+ /**
17
+ * Prompts configuration
18
+ */
19
+ export declare const PromptsConfigSchema: z.ZodObject<{
20
+ system: z.ZodOptional<z.ZodObject<{
21
+ $ref: z.ZodString;
22
+ variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
+ }, "strict", z.ZodTypeAny, {
24
+ $ref: string;
25
+ variables?: string[] | undefined;
26
+ }, {
27
+ $ref: string;
28
+ variables?: string[] | undefined;
29
+ }>>;
30
+ user: z.ZodOptional<z.ZodObject<{
31
+ $ref: z.ZodString;
32
+ variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
+ }, "strict", z.ZodTypeAny, {
34
+ $ref: string;
35
+ variables?: string[] | undefined;
36
+ }, {
37
+ $ref: string;
38
+ variables?: string[] | undefined;
39
+ }>>;
40
+ }, "strict", z.ZodTypeAny, {
41
+ system?: {
42
+ $ref: string;
43
+ variables?: string[] | undefined;
44
+ } | undefined;
45
+ user?: {
46
+ $ref: string;
47
+ variables?: string[] | undefined;
48
+ } | undefined;
49
+ }, {
50
+ system?: {
51
+ $ref: string;
52
+ variables?: string[] | undefined;
53
+ } | undefined;
54
+ user?: {
55
+ $ref: string;
56
+ variables?: string[] | undefined;
57
+ } | undefined;
58
+ }>;
59
+ export type PromptsConfig = z.infer<typeof PromptsConfigSchema>;
60
+ /**
61
+ * Memory configuration (simplified for Phase 1)
62
+ */
63
+ export declare const MemoryConfigSchema: z.ZodObject<{
64
+ shortTerm: z.ZodOptional<z.ZodObject<{
65
+ type: z.ZodString;
66
+ maxMessages: z.ZodOptional<z.ZodNumber>;
67
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
68
+ type: z.ZodString;
69
+ maxMessages: z.ZodOptional<z.ZodNumber>;
70
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
71
+ type: z.ZodString;
72
+ maxMessages: z.ZodOptional<z.ZodNumber>;
73
+ }, z.ZodTypeAny, "passthrough">>>;
74
+ longTerm: z.ZodOptional<z.ZodObject<{
75
+ type: z.ZodString;
76
+ store: z.ZodOptional<z.ZodAny>;
77
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
78
+ type: z.ZodString;
79
+ store: z.ZodOptional<z.ZodAny>;
80
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
81
+ type: z.ZodString;
82
+ store: z.ZodOptional<z.ZodAny>;
83
+ }, z.ZodTypeAny, "passthrough">>>;
84
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
85
+ shortTerm: z.ZodOptional<z.ZodObject<{
86
+ type: z.ZodString;
87
+ maxMessages: z.ZodOptional<z.ZodNumber>;
88
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
89
+ type: z.ZodString;
90
+ maxMessages: z.ZodOptional<z.ZodNumber>;
91
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
92
+ type: z.ZodString;
93
+ maxMessages: z.ZodOptional<z.ZodNumber>;
94
+ }, z.ZodTypeAny, "passthrough">>>;
95
+ longTerm: z.ZodOptional<z.ZodObject<{
96
+ type: z.ZodString;
97
+ store: z.ZodOptional<z.ZodAny>;
98
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
99
+ type: z.ZodString;
100
+ store: z.ZodOptional<z.ZodAny>;
101
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102
+ type: z.ZodString;
103
+ store: z.ZodOptional<z.ZodAny>;
104
+ }, z.ZodTypeAny, "passthrough">>>;
105
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
106
+ shortTerm: z.ZodOptional<z.ZodObject<{
107
+ type: z.ZodString;
108
+ maxMessages: z.ZodOptional<z.ZodNumber>;
109
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
110
+ type: z.ZodString;
111
+ maxMessages: z.ZodOptional<z.ZodNumber>;
112
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
113
+ type: z.ZodString;
114
+ maxMessages: z.ZodOptional<z.ZodNumber>;
115
+ }, z.ZodTypeAny, "passthrough">>>;
116
+ longTerm: z.ZodOptional<z.ZodObject<{
117
+ type: z.ZodString;
118
+ store: z.ZodOptional<z.ZodAny>;
119
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
120
+ type: z.ZodString;
121
+ store: z.ZodOptional<z.ZodAny>;
122
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
123
+ type: z.ZodString;
124
+ store: z.ZodOptional<z.ZodAny>;
125
+ }, z.ZodTypeAny, "passthrough">>>;
126
+ }, z.ZodTypeAny, "passthrough">>;
127
+ export type MemoryConfig = z.infer<typeof MemoryConfigSchema>;
128
+ /**
129
+ * RAG configuration (simplified for Phase 1)
130
+ */
131
+ export declare const RAGConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
132
+ sources: z.ZodAny;
133
+ chunking: z.ZodOptional<z.ZodAny>;
134
+ embedding: z.ZodOptional<z.ZodAny>;
135
+ retrieval: z.ZodOptional<z.ZodAny>;
136
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
137
+ sources: z.ZodAny;
138
+ chunking: z.ZodOptional<z.ZodAny>;
139
+ embedding: z.ZodOptional<z.ZodAny>;
140
+ retrieval: z.ZodOptional<z.ZodAny>;
141
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
142
+ sources: z.ZodAny;
143
+ chunking: z.ZodOptional<z.ZodAny>;
144
+ embedding: z.ZodOptional<z.ZodAny>;
145
+ retrieval: z.ZodOptional<z.ZodAny>;
146
+ }, z.ZodTypeAny, "passthrough">>>;
147
+ export type RAGConfig = z.infer<typeof RAGConfigSchema>;
148
+ /**
149
+ * Composition configuration (simplified for Phase 1)
150
+ */
151
+ export declare const CompositionConfigSchema: z.ZodObject<{
152
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
153
+ agent: z.ZodString;
154
+ version: z.ZodOptional<z.ZodString>;
155
+ role: z.ZodString;
156
+ description: z.ZodOptional<z.ZodString>;
157
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
158
+ agent: z.ZodString;
159
+ version: z.ZodOptional<z.ZodString>;
160
+ role: z.ZodString;
161
+ description: z.ZodOptional<z.ZodString>;
162
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
163
+ agent: z.ZodString;
164
+ version: z.ZodOptional<z.ZodString>;
165
+ role: z.ZodString;
166
+ description: z.ZodOptional<z.ZodString>;
167
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
168
+ coordination: z.ZodOptional<z.ZodObject<{
169
+ strategy: z.ZodOptional<z.ZodString>;
170
+ errorHandling: z.ZodOptional<z.ZodString>;
171
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
172
+ strategy: z.ZodOptional<z.ZodString>;
173
+ errorHandling: z.ZodOptional<z.ZodString>;
174
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
175
+ strategy: z.ZodOptional<z.ZodString>;
176
+ errorHandling: z.ZodOptional<z.ZodString>;
177
+ }, z.ZodTypeAny, "passthrough">>>;
178
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
179
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
180
+ agent: z.ZodString;
181
+ version: z.ZodOptional<z.ZodString>;
182
+ role: z.ZodString;
183
+ description: z.ZodOptional<z.ZodString>;
184
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
185
+ agent: z.ZodString;
186
+ version: z.ZodOptional<z.ZodString>;
187
+ role: z.ZodString;
188
+ description: z.ZodOptional<z.ZodString>;
189
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
190
+ agent: z.ZodString;
191
+ version: z.ZodOptional<z.ZodString>;
192
+ role: z.ZodString;
193
+ description: z.ZodOptional<z.ZodString>;
194
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
195
+ coordination: z.ZodOptional<z.ZodObject<{
196
+ strategy: z.ZodOptional<z.ZodString>;
197
+ errorHandling: z.ZodOptional<z.ZodString>;
198
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
199
+ strategy: z.ZodOptional<z.ZodString>;
200
+ errorHandling: z.ZodOptional<z.ZodString>;
201
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
202
+ strategy: z.ZodOptional<z.ZodString>;
203
+ errorHandling: z.ZodOptional<z.ZodString>;
204
+ }, z.ZodTypeAny, "passthrough">>>;
205
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
206
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
207
+ agent: z.ZodString;
208
+ version: z.ZodOptional<z.ZodString>;
209
+ role: z.ZodString;
210
+ description: z.ZodOptional<z.ZodString>;
211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
212
+ agent: z.ZodString;
213
+ version: z.ZodOptional<z.ZodString>;
214
+ role: z.ZodString;
215
+ description: z.ZodOptional<z.ZodString>;
216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
217
+ agent: z.ZodString;
218
+ version: z.ZodOptional<z.ZodString>;
219
+ role: z.ZodString;
220
+ description: z.ZodOptional<z.ZodString>;
221
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
222
+ coordination: z.ZodOptional<z.ZodObject<{
223
+ strategy: z.ZodOptional<z.ZodString>;
224
+ errorHandling: z.ZodOptional<z.ZodString>;
225
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
226
+ strategy: z.ZodOptional<z.ZodString>;
227
+ errorHandling: z.ZodOptional<z.ZodString>;
228
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
229
+ strategy: z.ZodOptional<z.ZodString>;
230
+ errorHandling: z.ZodOptional<z.ZodString>;
231
+ }, z.ZodTypeAny, "passthrough">>>;
232
+ }, z.ZodTypeAny, "passthrough">>;
233
+ export type CompositionConfig = z.infer<typeof CompositionConfigSchema>;
234
+ /**
235
+ * Credentials configuration
236
+ */
237
+ export declare const CredentialsConfigSchema: z.ZodObject<{
238
+ agent: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
+ name: z.ZodString;
240
+ description: z.ZodOptional<z.ZodString>;
241
+ required: z.ZodOptional<z.ZodBoolean>;
242
+ source: z.ZodOptional<z.ZodEnum<["env", "vault", "config"]>>;
243
+ }, "strict", z.ZodTypeAny, {
244
+ name: string;
245
+ description?: string | undefined;
246
+ required?: boolean | undefined;
247
+ source?: "env" | "vault" | "config" | undefined;
248
+ }, {
249
+ name: string;
250
+ description?: string | undefined;
251
+ required?: boolean | undefined;
252
+ source?: "env" | "vault" | "config" | undefined;
253
+ }>, "many">>;
254
+ }, "strict", z.ZodTypeAny, {
255
+ agent?: {
256
+ name: string;
257
+ description?: string | undefined;
258
+ required?: boolean | undefined;
259
+ source?: "env" | "vault" | "config" | undefined;
260
+ }[] | undefined;
261
+ }, {
262
+ agent?: {
263
+ name: string;
264
+ description?: string | undefined;
265
+ required?: boolean | undefined;
266
+ source?: "env" | "vault" | "config" | undefined;
267
+ }[] | undefined;
268
+ }>;
269
+ export type CredentialsConfig = z.infer<typeof CredentialsConfigSchema>;
270
+ /**
271
+ * Agent specification
272
+ */
273
+ export declare const AgentSpecSchema: z.ZodObject<{
274
+ interface: z.ZodOptional<z.ZodObject<{
275
+ input: z.ZodOptional<z.ZodObject<{
276
+ $ref: z.ZodString;
277
+ }, "strict", z.ZodTypeAny, {
278
+ $ref: string;
279
+ }, {
280
+ $ref: string;
281
+ }>>;
282
+ output: z.ZodOptional<z.ZodObject<{
283
+ $ref: z.ZodString;
284
+ }, "strict", z.ZodTypeAny, {
285
+ $ref: string;
286
+ }, {
287
+ $ref: string;
288
+ }>>;
289
+ }, "strict", z.ZodTypeAny, {
290
+ input?: {
291
+ $ref: string;
292
+ } | undefined;
293
+ output?: {
294
+ $ref: string;
295
+ } | undefined;
296
+ }, {
297
+ input?: {
298
+ $ref: string;
299
+ } | undefined;
300
+ output?: {
301
+ $ref: string;
302
+ } | undefined;
303
+ }>>;
304
+ llm: z.ZodObject<{
305
+ provider: z.ZodString;
306
+ model: z.ZodString;
307
+ temperature: z.ZodOptional<z.ZodNumber>;
308
+ maxTokens: z.ZodOptional<z.ZodNumber>;
309
+ topP: z.ZodOptional<z.ZodNumber>;
310
+ } & {
311
+ alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
312
+ provider: z.ZodString;
313
+ model: z.ZodString;
314
+ temperature: z.ZodOptional<z.ZodNumber>;
315
+ maxTokens: z.ZodOptional<z.ZodNumber>;
316
+ topP: z.ZodOptional<z.ZodNumber>;
317
+ }, "strict", z.ZodTypeAny, {
318
+ provider: string;
319
+ model: string;
320
+ temperature?: number | undefined;
321
+ maxTokens?: number | undefined;
322
+ topP?: number | undefined;
323
+ }, {
324
+ provider: string;
325
+ model: string;
326
+ temperature?: number | undefined;
327
+ maxTokens?: number | undefined;
328
+ topP?: number | undefined;
329
+ }>, "many">>;
330
+ }, "strict", z.ZodTypeAny, {
331
+ provider: string;
332
+ model: string;
333
+ temperature?: number | undefined;
334
+ maxTokens?: number | undefined;
335
+ topP?: number | undefined;
336
+ alternatives?: {
337
+ provider: string;
338
+ model: string;
339
+ temperature?: number | undefined;
340
+ maxTokens?: number | undefined;
341
+ topP?: number | undefined;
342
+ }[] | undefined;
343
+ }, {
344
+ provider: string;
345
+ model: string;
346
+ temperature?: number | undefined;
347
+ maxTokens?: number | undefined;
348
+ topP?: number | undefined;
349
+ alternatives?: {
350
+ provider: string;
351
+ model: string;
352
+ temperature?: number | undefined;
353
+ maxTokens?: number | undefined;
354
+ topP?: number | undefined;
355
+ }[] | undefined;
356
+ }>;
357
+ prompts: z.ZodOptional<z.ZodObject<{
358
+ system: z.ZodOptional<z.ZodObject<{
359
+ $ref: z.ZodString;
360
+ variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
361
+ }, "strict", z.ZodTypeAny, {
362
+ $ref: string;
363
+ variables?: string[] | undefined;
364
+ }, {
365
+ $ref: string;
366
+ variables?: string[] | undefined;
367
+ }>>;
368
+ user: z.ZodOptional<z.ZodObject<{
369
+ $ref: z.ZodString;
370
+ variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
371
+ }, "strict", z.ZodTypeAny, {
372
+ $ref: string;
373
+ variables?: string[] | undefined;
374
+ }, {
375
+ $ref: string;
376
+ variables?: string[] | undefined;
377
+ }>>;
378
+ }, "strict", z.ZodTypeAny, {
379
+ system?: {
380
+ $ref: string;
381
+ variables?: string[] | undefined;
382
+ } | undefined;
383
+ user?: {
384
+ $ref: string;
385
+ variables?: string[] | undefined;
386
+ } | undefined;
387
+ }, {
388
+ system?: {
389
+ $ref: string;
390
+ variables?: string[] | undefined;
391
+ } | undefined;
392
+ user?: {
393
+ $ref: string;
394
+ variables?: string[] | undefined;
395
+ } | undefined;
396
+ }>>;
397
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
398
+ type: z.ZodEnum<["mcp", "library", "builtin"]>;
399
+ server: z.ZodOptional<z.ZodString>;
400
+ package: z.ZodOptional<z.ZodString>;
401
+ function: z.ZodOptional<z.ZodString>;
402
+ llmMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
403
+ } & {
404
+ name: z.ZodString;
405
+ description: z.ZodOptional<z.ZodString>;
406
+ alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
407
+ type: z.ZodEnum<["mcp", "library", "builtin"]>;
408
+ server: z.ZodOptional<z.ZodString>;
409
+ package: z.ZodOptional<z.ZodString>;
410
+ function: z.ZodOptional<z.ZodString>;
411
+ llmMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
412
+ }, "strict", z.ZodTypeAny, {
413
+ type: "mcp" | "library" | "builtin";
414
+ function?: string | undefined;
415
+ server?: string | undefined;
416
+ package?: string | undefined;
417
+ llmMapping?: Record<string, string> | undefined;
418
+ }, {
419
+ type: "mcp" | "library" | "builtin";
420
+ function?: string | undefined;
421
+ server?: string | undefined;
422
+ package?: string | undefined;
423
+ llmMapping?: Record<string, string> | undefined;
424
+ }>, "many">>;
425
+ }, "strict", z.ZodTypeAny, {
426
+ type: "mcp" | "library" | "builtin";
427
+ name: string;
428
+ function?: string | undefined;
429
+ alternatives?: {
430
+ type: "mcp" | "library" | "builtin";
431
+ function?: string | undefined;
432
+ server?: string | undefined;
433
+ package?: string | undefined;
434
+ llmMapping?: Record<string, string> | undefined;
435
+ }[] | undefined;
436
+ description?: string | undefined;
437
+ server?: string | undefined;
438
+ package?: string | undefined;
439
+ llmMapping?: Record<string, string> | undefined;
440
+ }, {
441
+ type: "mcp" | "library" | "builtin";
442
+ name: string;
443
+ function?: string | undefined;
444
+ alternatives?: {
445
+ type: "mcp" | "library" | "builtin";
446
+ function?: string | undefined;
447
+ server?: string | undefined;
448
+ package?: string | undefined;
449
+ llmMapping?: Record<string, string> | undefined;
450
+ }[] | undefined;
451
+ description?: string | undefined;
452
+ server?: string | undefined;
453
+ package?: string | undefined;
454
+ llmMapping?: Record<string, string> | undefined;
455
+ }>, "many">>;
456
+ memory: z.ZodOptional<z.ZodObject<{
457
+ shortTerm: z.ZodOptional<z.ZodObject<{
458
+ type: z.ZodString;
459
+ maxMessages: z.ZodOptional<z.ZodNumber>;
460
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
461
+ type: z.ZodString;
462
+ maxMessages: z.ZodOptional<z.ZodNumber>;
463
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
464
+ type: z.ZodString;
465
+ maxMessages: z.ZodOptional<z.ZodNumber>;
466
+ }, z.ZodTypeAny, "passthrough">>>;
467
+ longTerm: z.ZodOptional<z.ZodObject<{
468
+ type: z.ZodString;
469
+ store: z.ZodOptional<z.ZodAny>;
470
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
471
+ type: z.ZodString;
472
+ store: z.ZodOptional<z.ZodAny>;
473
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
474
+ type: z.ZodString;
475
+ store: z.ZodOptional<z.ZodAny>;
476
+ }, z.ZodTypeAny, "passthrough">>>;
477
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
478
+ shortTerm: z.ZodOptional<z.ZodObject<{
479
+ type: z.ZodString;
480
+ maxMessages: z.ZodOptional<z.ZodNumber>;
481
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
482
+ type: z.ZodString;
483
+ maxMessages: z.ZodOptional<z.ZodNumber>;
484
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
485
+ type: z.ZodString;
486
+ maxMessages: z.ZodOptional<z.ZodNumber>;
487
+ }, z.ZodTypeAny, "passthrough">>>;
488
+ longTerm: z.ZodOptional<z.ZodObject<{
489
+ type: z.ZodString;
490
+ store: z.ZodOptional<z.ZodAny>;
491
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
492
+ type: z.ZodString;
493
+ store: z.ZodOptional<z.ZodAny>;
494
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
495
+ type: z.ZodString;
496
+ store: z.ZodOptional<z.ZodAny>;
497
+ }, z.ZodTypeAny, "passthrough">>>;
498
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
499
+ shortTerm: z.ZodOptional<z.ZodObject<{
500
+ type: z.ZodString;
501
+ maxMessages: z.ZodOptional<z.ZodNumber>;
502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
503
+ type: z.ZodString;
504
+ maxMessages: z.ZodOptional<z.ZodNumber>;
505
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
506
+ type: z.ZodString;
507
+ maxMessages: z.ZodOptional<z.ZodNumber>;
508
+ }, z.ZodTypeAny, "passthrough">>>;
509
+ longTerm: z.ZodOptional<z.ZodObject<{
510
+ type: z.ZodString;
511
+ store: z.ZodOptional<z.ZodAny>;
512
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
513
+ type: z.ZodString;
514
+ store: z.ZodOptional<z.ZodAny>;
515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
516
+ type: z.ZodString;
517
+ store: z.ZodOptional<z.ZodAny>;
518
+ }, z.ZodTypeAny, "passthrough">>>;
519
+ }, z.ZodTypeAny, "passthrough">>>;
520
+ rag: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
521
+ sources: z.ZodAny;
522
+ chunking: z.ZodOptional<z.ZodAny>;
523
+ embedding: z.ZodOptional<z.ZodAny>;
524
+ retrieval: z.ZodOptional<z.ZodAny>;
525
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
526
+ sources: z.ZodAny;
527
+ chunking: z.ZodOptional<z.ZodAny>;
528
+ embedding: z.ZodOptional<z.ZodAny>;
529
+ retrieval: z.ZodOptional<z.ZodAny>;
530
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
531
+ sources: z.ZodAny;
532
+ chunking: z.ZodOptional<z.ZodAny>;
533
+ embedding: z.ZodOptional<z.ZodAny>;
534
+ retrieval: z.ZodOptional<z.ZodAny>;
535
+ }, z.ZodTypeAny, "passthrough">>>>;
536
+ composition: z.ZodOptional<z.ZodObject<{
537
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
538
+ agent: z.ZodString;
539
+ version: z.ZodOptional<z.ZodString>;
540
+ role: z.ZodString;
541
+ description: z.ZodOptional<z.ZodString>;
542
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
543
+ agent: z.ZodString;
544
+ version: z.ZodOptional<z.ZodString>;
545
+ role: z.ZodString;
546
+ description: z.ZodOptional<z.ZodString>;
547
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
548
+ agent: z.ZodString;
549
+ version: z.ZodOptional<z.ZodString>;
550
+ role: z.ZodString;
551
+ description: z.ZodOptional<z.ZodString>;
552
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
553
+ coordination: z.ZodOptional<z.ZodObject<{
554
+ strategy: z.ZodOptional<z.ZodString>;
555
+ errorHandling: z.ZodOptional<z.ZodString>;
556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
557
+ strategy: z.ZodOptional<z.ZodString>;
558
+ errorHandling: z.ZodOptional<z.ZodString>;
559
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
560
+ strategy: z.ZodOptional<z.ZodString>;
561
+ errorHandling: z.ZodOptional<z.ZodString>;
562
+ }, z.ZodTypeAny, "passthrough">>>;
563
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
564
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
565
+ agent: z.ZodString;
566
+ version: z.ZodOptional<z.ZodString>;
567
+ role: z.ZodString;
568
+ description: z.ZodOptional<z.ZodString>;
569
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
570
+ agent: z.ZodString;
571
+ version: z.ZodOptional<z.ZodString>;
572
+ role: z.ZodString;
573
+ description: z.ZodOptional<z.ZodString>;
574
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
575
+ agent: z.ZodString;
576
+ version: z.ZodOptional<z.ZodString>;
577
+ role: z.ZodString;
578
+ description: z.ZodOptional<z.ZodString>;
579
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
580
+ coordination: z.ZodOptional<z.ZodObject<{
581
+ strategy: z.ZodOptional<z.ZodString>;
582
+ errorHandling: z.ZodOptional<z.ZodString>;
583
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
584
+ strategy: z.ZodOptional<z.ZodString>;
585
+ errorHandling: z.ZodOptional<z.ZodString>;
586
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
587
+ strategy: z.ZodOptional<z.ZodString>;
588
+ errorHandling: z.ZodOptional<z.ZodString>;
589
+ }, z.ZodTypeAny, "passthrough">>>;
590
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
591
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
592
+ agent: z.ZodString;
593
+ version: z.ZodOptional<z.ZodString>;
594
+ role: z.ZodString;
595
+ description: z.ZodOptional<z.ZodString>;
596
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
597
+ agent: z.ZodString;
598
+ version: z.ZodOptional<z.ZodString>;
599
+ role: z.ZodString;
600
+ description: z.ZodOptional<z.ZodString>;
601
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
602
+ agent: z.ZodString;
603
+ version: z.ZodOptional<z.ZodString>;
604
+ role: z.ZodString;
605
+ description: z.ZodOptional<z.ZodString>;
606
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
607
+ coordination: z.ZodOptional<z.ZodObject<{
608
+ strategy: z.ZodOptional<z.ZodString>;
609
+ errorHandling: z.ZodOptional<z.ZodString>;
610
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
611
+ strategy: z.ZodOptional<z.ZodString>;
612
+ errorHandling: z.ZodOptional<z.ZodString>;
613
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
614
+ strategy: z.ZodOptional<z.ZodString>;
615
+ errorHandling: z.ZodOptional<z.ZodString>;
616
+ }, z.ZodTypeAny, "passthrough">>>;
617
+ }, z.ZodTypeAny, "passthrough">>>;
618
+ resources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
619
+ path: z.ZodString;
620
+ type: z.ZodEnum<["prompt", "schema", "documentation", "data", "template"]>;
621
+ template: z.ZodOptional<z.ZodEnum<["mustache", "handlebars", "none"]>>;
622
+ fragment: z.ZodOptional<z.ZodBoolean>;
623
+ }, "strict", z.ZodTypeAny, {
624
+ path: string;
625
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
626
+ template?: "mustache" | "handlebars" | "none" | undefined;
627
+ fragment?: boolean | undefined;
628
+ }, {
629
+ path: string;
630
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
631
+ template?: "mustache" | "handlebars" | "none" | undefined;
632
+ fragment?: boolean | undefined;
633
+ }>, z.ZodRecord<z.ZodString, z.ZodObject<{
634
+ path: z.ZodString;
635
+ type: z.ZodEnum<["prompt", "schema", "documentation", "data", "template"]>;
636
+ template: z.ZodOptional<z.ZodEnum<["mustache", "handlebars", "none"]>>;
637
+ fragment: z.ZodOptional<z.ZodBoolean>;
638
+ }, "strict", z.ZodTypeAny, {
639
+ path: string;
640
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
641
+ template?: "mustache" | "handlebars" | "none" | undefined;
642
+ fragment?: boolean | undefined;
643
+ }, {
644
+ path: string;
645
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
646
+ template?: "mustache" | "handlebars" | "none" | undefined;
647
+ fragment?: boolean | undefined;
648
+ }>>]>>>;
649
+ credentials: z.ZodOptional<z.ZodObject<{
650
+ agent: z.ZodOptional<z.ZodArray<z.ZodObject<{
651
+ name: z.ZodString;
652
+ description: z.ZodOptional<z.ZodString>;
653
+ required: z.ZodOptional<z.ZodBoolean>;
654
+ source: z.ZodOptional<z.ZodEnum<["env", "vault", "config"]>>;
655
+ }, "strict", z.ZodTypeAny, {
656
+ name: string;
657
+ description?: string | undefined;
658
+ required?: boolean | undefined;
659
+ source?: "env" | "vault" | "config" | undefined;
660
+ }, {
661
+ name: string;
662
+ description?: string | undefined;
663
+ required?: boolean | undefined;
664
+ source?: "env" | "vault" | "config" | undefined;
665
+ }>, "many">>;
666
+ }, "strict", z.ZodTypeAny, {
667
+ agent?: {
668
+ name: string;
669
+ description?: string | undefined;
670
+ required?: boolean | undefined;
671
+ source?: "env" | "vault" | "config" | undefined;
672
+ }[] | undefined;
673
+ }, {
674
+ agent?: {
675
+ name: string;
676
+ description?: string | undefined;
677
+ required?: boolean | undefined;
678
+ source?: "env" | "vault" | "config" | undefined;
679
+ }[] | undefined;
680
+ }>>;
681
+ }, "strict", z.ZodTypeAny, {
682
+ llm: {
683
+ provider: string;
684
+ model: string;
685
+ temperature?: number | undefined;
686
+ maxTokens?: number | undefined;
687
+ topP?: number | undefined;
688
+ alternatives?: {
689
+ provider: string;
690
+ model: string;
691
+ temperature?: number | undefined;
692
+ maxTokens?: number | undefined;
693
+ topP?: number | undefined;
694
+ }[] | undefined;
695
+ };
696
+ interface?: {
697
+ input?: {
698
+ $ref: string;
699
+ } | undefined;
700
+ output?: {
701
+ $ref: string;
702
+ } | undefined;
703
+ } | undefined;
704
+ prompts?: {
705
+ system?: {
706
+ $ref: string;
707
+ variables?: string[] | undefined;
708
+ } | undefined;
709
+ user?: {
710
+ $ref: string;
711
+ variables?: string[] | undefined;
712
+ } | undefined;
713
+ } | undefined;
714
+ tools?: {
715
+ type: "mcp" | "library" | "builtin";
716
+ name: string;
717
+ function?: string | undefined;
718
+ alternatives?: {
719
+ type: "mcp" | "library" | "builtin";
720
+ function?: string | undefined;
721
+ server?: string | undefined;
722
+ package?: string | undefined;
723
+ llmMapping?: Record<string, string> | undefined;
724
+ }[] | undefined;
725
+ description?: string | undefined;
726
+ server?: string | undefined;
727
+ package?: string | undefined;
728
+ llmMapping?: Record<string, string> | undefined;
729
+ }[] | undefined;
730
+ memory?: z.objectOutputType<{
731
+ shortTerm: z.ZodOptional<z.ZodObject<{
732
+ type: z.ZodString;
733
+ maxMessages: z.ZodOptional<z.ZodNumber>;
734
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
735
+ type: z.ZodString;
736
+ maxMessages: z.ZodOptional<z.ZodNumber>;
737
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
738
+ type: z.ZodString;
739
+ maxMessages: z.ZodOptional<z.ZodNumber>;
740
+ }, z.ZodTypeAny, "passthrough">>>;
741
+ longTerm: z.ZodOptional<z.ZodObject<{
742
+ type: z.ZodString;
743
+ store: z.ZodOptional<z.ZodAny>;
744
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
745
+ type: z.ZodString;
746
+ store: z.ZodOptional<z.ZodAny>;
747
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
748
+ type: z.ZodString;
749
+ store: z.ZodOptional<z.ZodAny>;
750
+ }, z.ZodTypeAny, "passthrough">>>;
751
+ }, z.ZodTypeAny, "passthrough"> | undefined;
752
+ rag?: Record<string, z.objectOutputType<{
753
+ sources: z.ZodAny;
754
+ chunking: z.ZodOptional<z.ZodAny>;
755
+ embedding: z.ZodOptional<z.ZodAny>;
756
+ retrieval: z.ZodOptional<z.ZodAny>;
757
+ }, z.ZodTypeAny, "passthrough">> | undefined;
758
+ composition?: z.objectOutputType<{
759
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
+ agent: z.ZodString;
761
+ version: z.ZodOptional<z.ZodString>;
762
+ role: z.ZodString;
763
+ description: z.ZodOptional<z.ZodString>;
764
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
765
+ agent: z.ZodString;
766
+ version: z.ZodOptional<z.ZodString>;
767
+ role: z.ZodString;
768
+ description: z.ZodOptional<z.ZodString>;
769
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
770
+ agent: z.ZodString;
771
+ version: z.ZodOptional<z.ZodString>;
772
+ role: z.ZodString;
773
+ description: z.ZodOptional<z.ZodString>;
774
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
775
+ coordination: z.ZodOptional<z.ZodObject<{
776
+ strategy: z.ZodOptional<z.ZodString>;
777
+ errorHandling: z.ZodOptional<z.ZodString>;
778
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
779
+ strategy: z.ZodOptional<z.ZodString>;
780
+ errorHandling: z.ZodOptional<z.ZodString>;
781
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
782
+ strategy: z.ZodOptional<z.ZodString>;
783
+ errorHandling: z.ZodOptional<z.ZodString>;
784
+ }, z.ZodTypeAny, "passthrough">>>;
785
+ }, z.ZodTypeAny, "passthrough"> | undefined;
786
+ resources?: Record<string, {
787
+ path: string;
788
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
789
+ template?: "mustache" | "handlebars" | "none" | undefined;
790
+ fragment?: boolean | undefined;
791
+ } | Record<string, {
792
+ path: string;
793
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
794
+ template?: "mustache" | "handlebars" | "none" | undefined;
795
+ fragment?: boolean | undefined;
796
+ }>> | undefined;
797
+ credentials?: {
798
+ agent?: {
799
+ name: string;
800
+ description?: string | undefined;
801
+ required?: boolean | undefined;
802
+ source?: "env" | "vault" | "config" | undefined;
803
+ }[] | undefined;
804
+ } | undefined;
805
+ }, {
806
+ llm: {
807
+ provider: string;
808
+ model: string;
809
+ temperature?: number | undefined;
810
+ maxTokens?: number | undefined;
811
+ topP?: number | undefined;
812
+ alternatives?: {
813
+ provider: string;
814
+ model: string;
815
+ temperature?: number | undefined;
816
+ maxTokens?: number | undefined;
817
+ topP?: number | undefined;
818
+ }[] | undefined;
819
+ };
820
+ interface?: {
821
+ input?: {
822
+ $ref: string;
823
+ } | undefined;
824
+ output?: {
825
+ $ref: string;
826
+ } | undefined;
827
+ } | undefined;
828
+ prompts?: {
829
+ system?: {
830
+ $ref: string;
831
+ variables?: string[] | undefined;
832
+ } | undefined;
833
+ user?: {
834
+ $ref: string;
835
+ variables?: string[] | undefined;
836
+ } | undefined;
837
+ } | undefined;
838
+ tools?: {
839
+ type: "mcp" | "library" | "builtin";
840
+ name: string;
841
+ function?: string | undefined;
842
+ alternatives?: {
843
+ type: "mcp" | "library" | "builtin";
844
+ function?: string | undefined;
845
+ server?: string | undefined;
846
+ package?: string | undefined;
847
+ llmMapping?: Record<string, string> | undefined;
848
+ }[] | undefined;
849
+ description?: string | undefined;
850
+ server?: string | undefined;
851
+ package?: string | undefined;
852
+ llmMapping?: Record<string, string> | undefined;
853
+ }[] | undefined;
854
+ memory?: z.objectInputType<{
855
+ shortTerm: z.ZodOptional<z.ZodObject<{
856
+ type: z.ZodString;
857
+ maxMessages: z.ZodOptional<z.ZodNumber>;
858
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
859
+ type: z.ZodString;
860
+ maxMessages: z.ZodOptional<z.ZodNumber>;
861
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
862
+ type: z.ZodString;
863
+ maxMessages: z.ZodOptional<z.ZodNumber>;
864
+ }, z.ZodTypeAny, "passthrough">>>;
865
+ longTerm: z.ZodOptional<z.ZodObject<{
866
+ type: z.ZodString;
867
+ store: z.ZodOptional<z.ZodAny>;
868
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
869
+ type: z.ZodString;
870
+ store: z.ZodOptional<z.ZodAny>;
871
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
872
+ type: z.ZodString;
873
+ store: z.ZodOptional<z.ZodAny>;
874
+ }, z.ZodTypeAny, "passthrough">>>;
875
+ }, z.ZodTypeAny, "passthrough"> | undefined;
876
+ rag?: Record<string, z.objectInputType<{
877
+ sources: z.ZodAny;
878
+ chunking: z.ZodOptional<z.ZodAny>;
879
+ embedding: z.ZodOptional<z.ZodAny>;
880
+ retrieval: z.ZodOptional<z.ZodAny>;
881
+ }, z.ZodTypeAny, "passthrough">> | undefined;
882
+ composition?: z.objectInputType<{
883
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
884
+ agent: z.ZodString;
885
+ version: z.ZodOptional<z.ZodString>;
886
+ role: z.ZodString;
887
+ description: z.ZodOptional<z.ZodString>;
888
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
889
+ agent: z.ZodString;
890
+ version: z.ZodOptional<z.ZodString>;
891
+ role: z.ZodString;
892
+ description: z.ZodOptional<z.ZodString>;
893
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
894
+ agent: z.ZodString;
895
+ version: z.ZodOptional<z.ZodString>;
896
+ role: z.ZodString;
897
+ description: z.ZodOptional<z.ZodString>;
898
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
899
+ coordination: z.ZodOptional<z.ZodObject<{
900
+ strategy: z.ZodOptional<z.ZodString>;
901
+ errorHandling: z.ZodOptional<z.ZodString>;
902
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
903
+ strategy: z.ZodOptional<z.ZodString>;
904
+ errorHandling: z.ZodOptional<z.ZodString>;
905
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
906
+ strategy: z.ZodOptional<z.ZodString>;
907
+ errorHandling: z.ZodOptional<z.ZodString>;
908
+ }, z.ZodTypeAny, "passthrough">>>;
909
+ }, z.ZodTypeAny, "passthrough"> | undefined;
910
+ resources?: Record<string, {
911
+ path: string;
912
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
913
+ template?: "mustache" | "handlebars" | "none" | undefined;
914
+ fragment?: boolean | undefined;
915
+ } | Record<string, {
916
+ path: string;
917
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
918
+ template?: "mustache" | "handlebars" | "none" | undefined;
919
+ fragment?: boolean | undefined;
920
+ }>> | undefined;
921
+ credentials?: {
922
+ agent?: {
923
+ name: string;
924
+ description?: string | undefined;
925
+ required?: boolean | undefined;
926
+ source?: "env" | "vault" | "config" | undefined;
927
+ }[] | undefined;
928
+ } | undefined;
929
+ }>;
930
+ export type AgentSpec = z.infer<typeof AgentSpecSchema>;
931
+ /**
932
+ * Test configuration (simplified)
933
+ */
934
+ export declare const TestConfigSchema: z.ZodObject<{
935
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
936
+ path: z.ZodString;
937
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
938
+ path: z.ZodString;
939
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
940
+ path: z.ZodString;
941
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
942
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
943
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
944
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
945
+ path: z.ZodString;
946
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
947
+ path: z.ZodString;
948
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
949
+ path: z.ZodString;
950
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
951
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
952
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
953
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
954
+ path: z.ZodString;
955
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
956
+ path: z.ZodString;
957
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
958
+ path: z.ZodString;
959
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
960
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
961
+ }, z.ZodTypeAny, "passthrough">>;
962
+ export type TestConfig = z.infer<typeof TestConfigSchema>;
963
+ /**
964
+ * Complete agent manifest
965
+ */
966
+ export declare const AgentManifestSchema: z.ZodObject<{
967
+ metadata: z.ZodObject<{
968
+ name: z.ZodString;
969
+ version: z.ZodOptional<z.ZodString>;
970
+ description: z.ZodOptional<z.ZodString>;
971
+ author: z.ZodOptional<z.ZodString>;
972
+ license: z.ZodOptional<z.ZodString>;
973
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
974
+ build: z.ZodOptional<z.ZodObject<{
975
+ timestamp: z.ZodString;
976
+ vatVersion: z.ZodString;
977
+ commit: z.ZodOptional<z.ZodString>;
978
+ }, "strict", z.ZodTypeAny, {
979
+ timestamp: string;
980
+ vatVersion: string;
981
+ commit?: string | undefined;
982
+ }, {
983
+ timestamp: string;
984
+ vatVersion: string;
985
+ commit?: string | undefined;
986
+ }>>;
987
+ }, "strict", z.ZodTypeAny, {
988
+ name: string;
989
+ version?: string | undefined;
990
+ description?: string | undefined;
991
+ author?: string | undefined;
992
+ license?: string | undefined;
993
+ tags?: string[] | undefined;
994
+ build?: {
995
+ timestamp: string;
996
+ vatVersion: string;
997
+ commit?: string | undefined;
998
+ } | undefined;
999
+ }, {
1000
+ name: string;
1001
+ version?: string | undefined;
1002
+ description?: string | undefined;
1003
+ author?: string | undefined;
1004
+ license?: string | undefined;
1005
+ tags?: string[] | undefined;
1006
+ build?: {
1007
+ timestamp: string;
1008
+ vatVersion: string;
1009
+ commit?: string | undefined;
1010
+ } | undefined;
1011
+ }>;
1012
+ spec: z.ZodObject<{
1013
+ interface: z.ZodOptional<z.ZodObject<{
1014
+ input: z.ZodOptional<z.ZodObject<{
1015
+ $ref: z.ZodString;
1016
+ }, "strict", z.ZodTypeAny, {
1017
+ $ref: string;
1018
+ }, {
1019
+ $ref: string;
1020
+ }>>;
1021
+ output: z.ZodOptional<z.ZodObject<{
1022
+ $ref: z.ZodString;
1023
+ }, "strict", z.ZodTypeAny, {
1024
+ $ref: string;
1025
+ }, {
1026
+ $ref: string;
1027
+ }>>;
1028
+ }, "strict", z.ZodTypeAny, {
1029
+ input?: {
1030
+ $ref: string;
1031
+ } | undefined;
1032
+ output?: {
1033
+ $ref: string;
1034
+ } | undefined;
1035
+ }, {
1036
+ input?: {
1037
+ $ref: string;
1038
+ } | undefined;
1039
+ output?: {
1040
+ $ref: string;
1041
+ } | undefined;
1042
+ }>>;
1043
+ llm: z.ZodObject<{
1044
+ provider: z.ZodString;
1045
+ model: z.ZodString;
1046
+ temperature: z.ZodOptional<z.ZodNumber>;
1047
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1048
+ topP: z.ZodOptional<z.ZodNumber>;
1049
+ } & {
1050
+ alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
1051
+ provider: z.ZodString;
1052
+ model: z.ZodString;
1053
+ temperature: z.ZodOptional<z.ZodNumber>;
1054
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1055
+ topP: z.ZodOptional<z.ZodNumber>;
1056
+ }, "strict", z.ZodTypeAny, {
1057
+ provider: string;
1058
+ model: string;
1059
+ temperature?: number | undefined;
1060
+ maxTokens?: number | undefined;
1061
+ topP?: number | undefined;
1062
+ }, {
1063
+ provider: string;
1064
+ model: string;
1065
+ temperature?: number | undefined;
1066
+ maxTokens?: number | undefined;
1067
+ topP?: number | undefined;
1068
+ }>, "many">>;
1069
+ }, "strict", z.ZodTypeAny, {
1070
+ provider: string;
1071
+ model: string;
1072
+ temperature?: number | undefined;
1073
+ maxTokens?: number | undefined;
1074
+ topP?: number | undefined;
1075
+ alternatives?: {
1076
+ provider: string;
1077
+ model: string;
1078
+ temperature?: number | undefined;
1079
+ maxTokens?: number | undefined;
1080
+ topP?: number | undefined;
1081
+ }[] | undefined;
1082
+ }, {
1083
+ provider: string;
1084
+ model: string;
1085
+ temperature?: number | undefined;
1086
+ maxTokens?: number | undefined;
1087
+ topP?: number | undefined;
1088
+ alternatives?: {
1089
+ provider: string;
1090
+ model: string;
1091
+ temperature?: number | undefined;
1092
+ maxTokens?: number | undefined;
1093
+ topP?: number | undefined;
1094
+ }[] | undefined;
1095
+ }>;
1096
+ prompts: z.ZodOptional<z.ZodObject<{
1097
+ system: z.ZodOptional<z.ZodObject<{
1098
+ $ref: z.ZodString;
1099
+ variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1100
+ }, "strict", z.ZodTypeAny, {
1101
+ $ref: string;
1102
+ variables?: string[] | undefined;
1103
+ }, {
1104
+ $ref: string;
1105
+ variables?: string[] | undefined;
1106
+ }>>;
1107
+ user: z.ZodOptional<z.ZodObject<{
1108
+ $ref: z.ZodString;
1109
+ variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1110
+ }, "strict", z.ZodTypeAny, {
1111
+ $ref: string;
1112
+ variables?: string[] | undefined;
1113
+ }, {
1114
+ $ref: string;
1115
+ variables?: string[] | undefined;
1116
+ }>>;
1117
+ }, "strict", z.ZodTypeAny, {
1118
+ system?: {
1119
+ $ref: string;
1120
+ variables?: string[] | undefined;
1121
+ } | undefined;
1122
+ user?: {
1123
+ $ref: string;
1124
+ variables?: string[] | undefined;
1125
+ } | undefined;
1126
+ }, {
1127
+ system?: {
1128
+ $ref: string;
1129
+ variables?: string[] | undefined;
1130
+ } | undefined;
1131
+ user?: {
1132
+ $ref: string;
1133
+ variables?: string[] | undefined;
1134
+ } | undefined;
1135
+ }>>;
1136
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1137
+ type: z.ZodEnum<["mcp", "library", "builtin"]>;
1138
+ server: z.ZodOptional<z.ZodString>;
1139
+ package: z.ZodOptional<z.ZodString>;
1140
+ function: z.ZodOptional<z.ZodString>;
1141
+ llmMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1142
+ } & {
1143
+ name: z.ZodString;
1144
+ description: z.ZodOptional<z.ZodString>;
1145
+ alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
1146
+ type: z.ZodEnum<["mcp", "library", "builtin"]>;
1147
+ server: z.ZodOptional<z.ZodString>;
1148
+ package: z.ZodOptional<z.ZodString>;
1149
+ function: z.ZodOptional<z.ZodString>;
1150
+ llmMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1151
+ }, "strict", z.ZodTypeAny, {
1152
+ type: "mcp" | "library" | "builtin";
1153
+ function?: string | undefined;
1154
+ server?: string | undefined;
1155
+ package?: string | undefined;
1156
+ llmMapping?: Record<string, string> | undefined;
1157
+ }, {
1158
+ type: "mcp" | "library" | "builtin";
1159
+ function?: string | undefined;
1160
+ server?: string | undefined;
1161
+ package?: string | undefined;
1162
+ llmMapping?: Record<string, string> | undefined;
1163
+ }>, "many">>;
1164
+ }, "strict", z.ZodTypeAny, {
1165
+ type: "mcp" | "library" | "builtin";
1166
+ name: string;
1167
+ function?: string | undefined;
1168
+ alternatives?: {
1169
+ type: "mcp" | "library" | "builtin";
1170
+ function?: string | undefined;
1171
+ server?: string | undefined;
1172
+ package?: string | undefined;
1173
+ llmMapping?: Record<string, string> | undefined;
1174
+ }[] | undefined;
1175
+ description?: string | undefined;
1176
+ server?: string | undefined;
1177
+ package?: string | undefined;
1178
+ llmMapping?: Record<string, string> | undefined;
1179
+ }, {
1180
+ type: "mcp" | "library" | "builtin";
1181
+ name: string;
1182
+ function?: string | undefined;
1183
+ alternatives?: {
1184
+ type: "mcp" | "library" | "builtin";
1185
+ function?: string | undefined;
1186
+ server?: string | undefined;
1187
+ package?: string | undefined;
1188
+ llmMapping?: Record<string, string> | undefined;
1189
+ }[] | undefined;
1190
+ description?: string | undefined;
1191
+ server?: string | undefined;
1192
+ package?: string | undefined;
1193
+ llmMapping?: Record<string, string> | undefined;
1194
+ }>, "many">>;
1195
+ memory: z.ZodOptional<z.ZodObject<{
1196
+ shortTerm: z.ZodOptional<z.ZodObject<{
1197
+ type: z.ZodString;
1198
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1199
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1200
+ type: z.ZodString;
1201
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1202
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1203
+ type: z.ZodString;
1204
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1205
+ }, z.ZodTypeAny, "passthrough">>>;
1206
+ longTerm: z.ZodOptional<z.ZodObject<{
1207
+ type: z.ZodString;
1208
+ store: z.ZodOptional<z.ZodAny>;
1209
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1210
+ type: z.ZodString;
1211
+ store: z.ZodOptional<z.ZodAny>;
1212
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1213
+ type: z.ZodString;
1214
+ store: z.ZodOptional<z.ZodAny>;
1215
+ }, z.ZodTypeAny, "passthrough">>>;
1216
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1217
+ shortTerm: z.ZodOptional<z.ZodObject<{
1218
+ type: z.ZodString;
1219
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1220
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1221
+ type: z.ZodString;
1222
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1223
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1224
+ type: z.ZodString;
1225
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1226
+ }, z.ZodTypeAny, "passthrough">>>;
1227
+ longTerm: z.ZodOptional<z.ZodObject<{
1228
+ type: z.ZodString;
1229
+ store: z.ZodOptional<z.ZodAny>;
1230
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1231
+ type: z.ZodString;
1232
+ store: z.ZodOptional<z.ZodAny>;
1233
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1234
+ type: z.ZodString;
1235
+ store: z.ZodOptional<z.ZodAny>;
1236
+ }, z.ZodTypeAny, "passthrough">>>;
1237
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1238
+ shortTerm: z.ZodOptional<z.ZodObject<{
1239
+ type: z.ZodString;
1240
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1241
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1242
+ type: z.ZodString;
1243
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1244
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1245
+ type: z.ZodString;
1246
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1247
+ }, z.ZodTypeAny, "passthrough">>>;
1248
+ longTerm: z.ZodOptional<z.ZodObject<{
1249
+ type: z.ZodString;
1250
+ store: z.ZodOptional<z.ZodAny>;
1251
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1252
+ type: z.ZodString;
1253
+ store: z.ZodOptional<z.ZodAny>;
1254
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1255
+ type: z.ZodString;
1256
+ store: z.ZodOptional<z.ZodAny>;
1257
+ }, z.ZodTypeAny, "passthrough">>>;
1258
+ }, z.ZodTypeAny, "passthrough">>>;
1259
+ rag: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1260
+ sources: z.ZodAny;
1261
+ chunking: z.ZodOptional<z.ZodAny>;
1262
+ embedding: z.ZodOptional<z.ZodAny>;
1263
+ retrieval: z.ZodOptional<z.ZodAny>;
1264
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1265
+ sources: z.ZodAny;
1266
+ chunking: z.ZodOptional<z.ZodAny>;
1267
+ embedding: z.ZodOptional<z.ZodAny>;
1268
+ retrieval: z.ZodOptional<z.ZodAny>;
1269
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1270
+ sources: z.ZodAny;
1271
+ chunking: z.ZodOptional<z.ZodAny>;
1272
+ embedding: z.ZodOptional<z.ZodAny>;
1273
+ retrieval: z.ZodOptional<z.ZodAny>;
1274
+ }, z.ZodTypeAny, "passthrough">>>>;
1275
+ composition: z.ZodOptional<z.ZodObject<{
1276
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1277
+ agent: z.ZodString;
1278
+ version: z.ZodOptional<z.ZodString>;
1279
+ role: z.ZodString;
1280
+ description: z.ZodOptional<z.ZodString>;
1281
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1282
+ agent: z.ZodString;
1283
+ version: z.ZodOptional<z.ZodString>;
1284
+ role: z.ZodString;
1285
+ description: z.ZodOptional<z.ZodString>;
1286
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1287
+ agent: z.ZodString;
1288
+ version: z.ZodOptional<z.ZodString>;
1289
+ role: z.ZodString;
1290
+ description: z.ZodOptional<z.ZodString>;
1291
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1292
+ coordination: z.ZodOptional<z.ZodObject<{
1293
+ strategy: z.ZodOptional<z.ZodString>;
1294
+ errorHandling: z.ZodOptional<z.ZodString>;
1295
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1296
+ strategy: z.ZodOptional<z.ZodString>;
1297
+ errorHandling: z.ZodOptional<z.ZodString>;
1298
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1299
+ strategy: z.ZodOptional<z.ZodString>;
1300
+ errorHandling: z.ZodOptional<z.ZodString>;
1301
+ }, z.ZodTypeAny, "passthrough">>>;
1302
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1303
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1304
+ agent: z.ZodString;
1305
+ version: z.ZodOptional<z.ZodString>;
1306
+ role: z.ZodString;
1307
+ description: z.ZodOptional<z.ZodString>;
1308
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1309
+ agent: z.ZodString;
1310
+ version: z.ZodOptional<z.ZodString>;
1311
+ role: z.ZodString;
1312
+ description: z.ZodOptional<z.ZodString>;
1313
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1314
+ agent: z.ZodString;
1315
+ version: z.ZodOptional<z.ZodString>;
1316
+ role: z.ZodString;
1317
+ description: z.ZodOptional<z.ZodString>;
1318
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1319
+ coordination: z.ZodOptional<z.ZodObject<{
1320
+ strategy: z.ZodOptional<z.ZodString>;
1321
+ errorHandling: z.ZodOptional<z.ZodString>;
1322
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1323
+ strategy: z.ZodOptional<z.ZodString>;
1324
+ errorHandling: z.ZodOptional<z.ZodString>;
1325
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1326
+ strategy: z.ZodOptional<z.ZodString>;
1327
+ errorHandling: z.ZodOptional<z.ZodString>;
1328
+ }, z.ZodTypeAny, "passthrough">>>;
1329
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1330
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1331
+ agent: z.ZodString;
1332
+ version: z.ZodOptional<z.ZodString>;
1333
+ role: z.ZodString;
1334
+ description: z.ZodOptional<z.ZodString>;
1335
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1336
+ agent: z.ZodString;
1337
+ version: z.ZodOptional<z.ZodString>;
1338
+ role: z.ZodString;
1339
+ description: z.ZodOptional<z.ZodString>;
1340
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1341
+ agent: z.ZodString;
1342
+ version: z.ZodOptional<z.ZodString>;
1343
+ role: z.ZodString;
1344
+ description: z.ZodOptional<z.ZodString>;
1345
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1346
+ coordination: z.ZodOptional<z.ZodObject<{
1347
+ strategy: z.ZodOptional<z.ZodString>;
1348
+ errorHandling: z.ZodOptional<z.ZodString>;
1349
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1350
+ strategy: z.ZodOptional<z.ZodString>;
1351
+ errorHandling: z.ZodOptional<z.ZodString>;
1352
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1353
+ strategy: z.ZodOptional<z.ZodString>;
1354
+ errorHandling: z.ZodOptional<z.ZodString>;
1355
+ }, z.ZodTypeAny, "passthrough">>>;
1356
+ }, z.ZodTypeAny, "passthrough">>>;
1357
+ resources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1358
+ path: z.ZodString;
1359
+ type: z.ZodEnum<["prompt", "schema", "documentation", "data", "template"]>;
1360
+ template: z.ZodOptional<z.ZodEnum<["mustache", "handlebars", "none"]>>;
1361
+ fragment: z.ZodOptional<z.ZodBoolean>;
1362
+ }, "strict", z.ZodTypeAny, {
1363
+ path: string;
1364
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1365
+ template?: "mustache" | "handlebars" | "none" | undefined;
1366
+ fragment?: boolean | undefined;
1367
+ }, {
1368
+ path: string;
1369
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1370
+ template?: "mustache" | "handlebars" | "none" | undefined;
1371
+ fragment?: boolean | undefined;
1372
+ }>, z.ZodRecord<z.ZodString, z.ZodObject<{
1373
+ path: z.ZodString;
1374
+ type: z.ZodEnum<["prompt", "schema", "documentation", "data", "template"]>;
1375
+ template: z.ZodOptional<z.ZodEnum<["mustache", "handlebars", "none"]>>;
1376
+ fragment: z.ZodOptional<z.ZodBoolean>;
1377
+ }, "strict", z.ZodTypeAny, {
1378
+ path: string;
1379
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1380
+ template?: "mustache" | "handlebars" | "none" | undefined;
1381
+ fragment?: boolean | undefined;
1382
+ }, {
1383
+ path: string;
1384
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1385
+ template?: "mustache" | "handlebars" | "none" | undefined;
1386
+ fragment?: boolean | undefined;
1387
+ }>>]>>>;
1388
+ credentials: z.ZodOptional<z.ZodObject<{
1389
+ agent: z.ZodOptional<z.ZodArray<z.ZodObject<{
1390
+ name: z.ZodString;
1391
+ description: z.ZodOptional<z.ZodString>;
1392
+ required: z.ZodOptional<z.ZodBoolean>;
1393
+ source: z.ZodOptional<z.ZodEnum<["env", "vault", "config"]>>;
1394
+ }, "strict", z.ZodTypeAny, {
1395
+ name: string;
1396
+ description?: string | undefined;
1397
+ required?: boolean | undefined;
1398
+ source?: "env" | "vault" | "config" | undefined;
1399
+ }, {
1400
+ name: string;
1401
+ description?: string | undefined;
1402
+ required?: boolean | undefined;
1403
+ source?: "env" | "vault" | "config" | undefined;
1404
+ }>, "many">>;
1405
+ }, "strict", z.ZodTypeAny, {
1406
+ agent?: {
1407
+ name: string;
1408
+ description?: string | undefined;
1409
+ required?: boolean | undefined;
1410
+ source?: "env" | "vault" | "config" | undefined;
1411
+ }[] | undefined;
1412
+ }, {
1413
+ agent?: {
1414
+ name: string;
1415
+ description?: string | undefined;
1416
+ required?: boolean | undefined;
1417
+ source?: "env" | "vault" | "config" | undefined;
1418
+ }[] | undefined;
1419
+ }>>;
1420
+ }, "strict", z.ZodTypeAny, {
1421
+ llm: {
1422
+ provider: string;
1423
+ model: string;
1424
+ temperature?: number | undefined;
1425
+ maxTokens?: number | undefined;
1426
+ topP?: number | undefined;
1427
+ alternatives?: {
1428
+ provider: string;
1429
+ model: string;
1430
+ temperature?: number | undefined;
1431
+ maxTokens?: number | undefined;
1432
+ topP?: number | undefined;
1433
+ }[] | undefined;
1434
+ };
1435
+ interface?: {
1436
+ input?: {
1437
+ $ref: string;
1438
+ } | undefined;
1439
+ output?: {
1440
+ $ref: string;
1441
+ } | undefined;
1442
+ } | undefined;
1443
+ prompts?: {
1444
+ system?: {
1445
+ $ref: string;
1446
+ variables?: string[] | undefined;
1447
+ } | undefined;
1448
+ user?: {
1449
+ $ref: string;
1450
+ variables?: string[] | undefined;
1451
+ } | undefined;
1452
+ } | undefined;
1453
+ tools?: {
1454
+ type: "mcp" | "library" | "builtin";
1455
+ name: string;
1456
+ function?: string | undefined;
1457
+ alternatives?: {
1458
+ type: "mcp" | "library" | "builtin";
1459
+ function?: string | undefined;
1460
+ server?: string | undefined;
1461
+ package?: string | undefined;
1462
+ llmMapping?: Record<string, string> | undefined;
1463
+ }[] | undefined;
1464
+ description?: string | undefined;
1465
+ server?: string | undefined;
1466
+ package?: string | undefined;
1467
+ llmMapping?: Record<string, string> | undefined;
1468
+ }[] | undefined;
1469
+ memory?: z.objectOutputType<{
1470
+ shortTerm: z.ZodOptional<z.ZodObject<{
1471
+ type: z.ZodString;
1472
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1473
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1474
+ type: z.ZodString;
1475
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1476
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1477
+ type: z.ZodString;
1478
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1479
+ }, z.ZodTypeAny, "passthrough">>>;
1480
+ longTerm: z.ZodOptional<z.ZodObject<{
1481
+ type: z.ZodString;
1482
+ store: z.ZodOptional<z.ZodAny>;
1483
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1484
+ type: z.ZodString;
1485
+ store: z.ZodOptional<z.ZodAny>;
1486
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1487
+ type: z.ZodString;
1488
+ store: z.ZodOptional<z.ZodAny>;
1489
+ }, z.ZodTypeAny, "passthrough">>>;
1490
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1491
+ rag?: Record<string, z.objectOutputType<{
1492
+ sources: z.ZodAny;
1493
+ chunking: z.ZodOptional<z.ZodAny>;
1494
+ embedding: z.ZodOptional<z.ZodAny>;
1495
+ retrieval: z.ZodOptional<z.ZodAny>;
1496
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1497
+ composition?: z.objectOutputType<{
1498
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1499
+ agent: z.ZodString;
1500
+ version: z.ZodOptional<z.ZodString>;
1501
+ role: z.ZodString;
1502
+ description: z.ZodOptional<z.ZodString>;
1503
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1504
+ agent: z.ZodString;
1505
+ version: z.ZodOptional<z.ZodString>;
1506
+ role: z.ZodString;
1507
+ description: z.ZodOptional<z.ZodString>;
1508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1509
+ agent: z.ZodString;
1510
+ version: z.ZodOptional<z.ZodString>;
1511
+ role: z.ZodString;
1512
+ description: z.ZodOptional<z.ZodString>;
1513
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1514
+ coordination: z.ZodOptional<z.ZodObject<{
1515
+ strategy: z.ZodOptional<z.ZodString>;
1516
+ errorHandling: z.ZodOptional<z.ZodString>;
1517
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1518
+ strategy: z.ZodOptional<z.ZodString>;
1519
+ errorHandling: z.ZodOptional<z.ZodString>;
1520
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1521
+ strategy: z.ZodOptional<z.ZodString>;
1522
+ errorHandling: z.ZodOptional<z.ZodString>;
1523
+ }, z.ZodTypeAny, "passthrough">>>;
1524
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1525
+ resources?: Record<string, {
1526
+ path: string;
1527
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1528
+ template?: "mustache" | "handlebars" | "none" | undefined;
1529
+ fragment?: boolean | undefined;
1530
+ } | Record<string, {
1531
+ path: string;
1532
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1533
+ template?: "mustache" | "handlebars" | "none" | undefined;
1534
+ fragment?: boolean | undefined;
1535
+ }>> | undefined;
1536
+ credentials?: {
1537
+ agent?: {
1538
+ name: string;
1539
+ description?: string | undefined;
1540
+ required?: boolean | undefined;
1541
+ source?: "env" | "vault" | "config" | undefined;
1542
+ }[] | undefined;
1543
+ } | undefined;
1544
+ }, {
1545
+ llm: {
1546
+ provider: string;
1547
+ model: string;
1548
+ temperature?: number | undefined;
1549
+ maxTokens?: number | undefined;
1550
+ topP?: number | undefined;
1551
+ alternatives?: {
1552
+ provider: string;
1553
+ model: string;
1554
+ temperature?: number | undefined;
1555
+ maxTokens?: number | undefined;
1556
+ topP?: number | undefined;
1557
+ }[] | undefined;
1558
+ };
1559
+ interface?: {
1560
+ input?: {
1561
+ $ref: string;
1562
+ } | undefined;
1563
+ output?: {
1564
+ $ref: string;
1565
+ } | undefined;
1566
+ } | undefined;
1567
+ prompts?: {
1568
+ system?: {
1569
+ $ref: string;
1570
+ variables?: string[] | undefined;
1571
+ } | undefined;
1572
+ user?: {
1573
+ $ref: string;
1574
+ variables?: string[] | undefined;
1575
+ } | undefined;
1576
+ } | undefined;
1577
+ tools?: {
1578
+ type: "mcp" | "library" | "builtin";
1579
+ name: string;
1580
+ function?: string | undefined;
1581
+ alternatives?: {
1582
+ type: "mcp" | "library" | "builtin";
1583
+ function?: string | undefined;
1584
+ server?: string | undefined;
1585
+ package?: string | undefined;
1586
+ llmMapping?: Record<string, string> | undefined;
1587
+ }[] | undefined;
1588
+ description?: string | undefined;
1589
+ server?: string | undefined;
1590
+ package?: string | undefined;
1591
+ llmMapping?: Record<string, string> | undefined;
1592
+ }[] | undefined;
1593
+ memory?: z.objectInputType<{
1594
+ shortTerm: z.ZodOptional<z.ZodObject<{
1595
+ type: z.ZodString;
1596
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1597
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1598
+ type: z.ZodString;
1599
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1600
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1601
+ type: z.ZodString;
1602
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1603
+ }, z.ZodTypeAny, "passthrough">>>;
1604
+ longTerm: z.ZodOptional<z.ZodObject<{
1605
+ type: z.ZodString;
1606
+ store: z.ZodOptional<z.ZodAny>;
1607
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1608
+ type: z.ZodString;
1609
+ store: z.ZodOptional<z.ZodAny>;
1610
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1611
+ type: z.ZodString;
1612
+ store: z.ZodOptional<z.ZodAny>;
1613
+ }, z.ZodTypeAny, "passthrough">>>;
1614
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1615
+ rag?: Record<string, z.objectInputType<{
1616
+ sources: z.ZodAny;
1617
+ chunking: z.ZodOptional<z.ZodAny>;
1618
+ embedding: z.ZodOptional<z.ZodAny>;
1619
+ retrieval: z.ZodOptional<z.ZodAny>;
1620
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1621
+ composition?: z.objectInputType<{
1622
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1623
+ agent: z.ZodString;
1624
+ version: z.ZodOptional<z.ZodString>;
1625
+ role: z.ZodString;
1626
+ description: z.ZodOptional<z.ZodString>;
1627
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1628
+ agent: z.ZodString;
1629
+ version: z.ZodOptional<z.ZodString>;
1630
+ role: z.ZodString;
1631
+ description: z.ZodOptional<z.ZodString>;
1632
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1633
+ agent: z.ZodString;
1634
+ version: z.ZodOptional<z.ZodString>;
1635
+ role: z.ZodString;
1636
+ description: z.ZodOptional<z.ZodString>;
1637
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1638
+ coordination: z.ZodOptional<z.ZodObject<{
1639
+ strategy: z.ZodOptional<z.ZodString>;
1640
+ errorHandling: z.ZodOptional<z.ZodString>;
1641
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1642
+ strategy: z.ZodOptional<z.ZodString>;
1643
+ errorHandling: z.ZodOptional<z.ZodString>;
1644
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1645
+ strategy: z.ZodOptional<z.ZodString>;
1646
+ errorHandling: z.ZodOptional<z.ZodString>;
1647
+ }, z.ZodTypeAny, "passthrough">>>;
1648
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1649
+ resources?: Record<string, {
1650
+ path: string;
1651
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1652
+ template?: "mustache" | "handlebars" | "none" | undefined;
1653
+ fragment?: boolean | undefined;
1654
+ } | Record<string, {
1655
+ path: string;
1656
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1657
+ template?: "mustache" | "handlebars" | "none" | undefined;
1658
+ fragment?: boolean | undefined;
1659
+ }>> | undefined;
1660
+ credentials?: {
1661
+ agent?: {
1662
+ name: string;
1663
+ description?: string | undefined;
1664
+ required?: boolean | undefined;
1665
+ source?: "env" | "vault" | "config" | undefined;
1666
+ }[] | undefined;
1667
+ } | undefined;
1668
+ }>;
1669
+ tests: z.ZodOptional<z.ZodObject<{
1670
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1671
+ path: z.ZodString;
1672
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1673
+ path: z.ZodString;
1674
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1675
+ path: z.ZodString;
1676
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1677
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1678
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1679
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1680
+ path: z.ZodString;
1681
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1682
+ path: z.ZodString;
1683
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1684
+ path: z.ZodString;
1685
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1686
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1687
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1688
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1689
+ path: z.ZodString;
1690
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1691
+ path: z.ZodString;
1692
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1693
+ path: z.ZodString;
1694
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1695
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1696
+ }, z.ZodTypeAny, "passthrough">>>;
1697
+ }, "strict", z.ZodTypeAny, {
1698
+ metadata: {
1699
+ name: string;
1700
+ version?: string | undefined;
1701
+ description?: string | undefined;
1702
+ author?: string | undefined;
1703
+ license?: string | undefined;
1704
+ tags?: string[] | undefined;
1705
+ build?: {
1706
+ timestamp: string;
1707
+ vatVersion: string;
1708
+ commit?: string | undefined;
1709
+ } | undefined;
1710
+ };
1711
+ spec: {
1712
+ llm: {
1713
+ provider: string;
1714
+ model: string;
1715
+ temperature?: number | undefined;
1716
+ maxTokens?: number | undefined;
1717
+ topP?: number | undefined;
1718
+ alternatives?: {
1719
+ provider: string;
1720
+ model: string;
1721
+ temperature?: number | undefined;
1722
+ maxTokens?: number | undefined;
1723
+ topP?: number | undefined;
1724
+ }[] | undefined;
1725
+ };
1726
+ interface?: {
1727
+ input?: {
1728
+ $ref: string;
1729
+ } | undefined;
1730
+ output?: {
1731
+ $ref: string;
1732
+ } | undefined;
1733
+ } | undefined;
1734
+ prompts?: {
1735
+ system?: {
1736
+ $ref: string;
1737
+ variables?: string[] | undefined;
1738
+ } | undefined;
1739
+ user?: {
1740
+ $ref: string;
1741
+ variables?: string[] | undefined;
1742
+ } | undefined;
1743
+ } | undefined;
1744
+ tools?: {
1745
+ type: "mcp" | "library" | "builtin";
1746
+ name: string;
1747
+ function?: string | undefined;
1748
+ alternatives?: {
1749
+ type: "mcp" | "library" | "builtin";
1750
+ function?: string | undefined;
1751
+ server?: string | undefined;
1752
+ package?: string | undefined;
1753
+ llmMapping?: Record<string, string> | undefined;
1754
+ }[] | undefined;
1755
+ description?: string | undefined;
1756
+ server?: string | undefined;
1757
+ package?: string | undefined;
1758
+ llmMapping?: Record<string, string> | undefined;
1759
+ }[] | undefined;
1760
+ memory?: z.objectOutputType<{
1761
+ shortTerm: z.ZodOptional<z.ZodObject<{
1762
+ type: z.ZodString;
1763
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1764
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1765
+ type: z.ZodString;
1766
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1767
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1768
+ type: z.ZodString;
1769
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1770
+ }, z.ZodTypeAny, "passthrough">>>;
1771
+ longTerm: z.ZodOptional<z.ZodObject<{
1772
+ type: z.ZodString;
1773
+ store: z.ZodOptional<z.ZodAny>;
1774
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1775
+ type: z.ZodString;
1776
+ store: z.ZodOptional<z.ZodAny>;
1777
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1778
+ type: z.ZodString;
1779
+ store: z.ZodOptional<z.ZodAny>;
1780
+ }, z.ZodTypeAny, "passthrough">>>;
1781
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1782
+ rag?: Record<string, z.objectOutputType<{
1783
+ sources: z.ZodAny;
1784
+ chunking: z.ZodOptional<z.ZodAny>;
1785
+ embedding: z.ZodOptional<z.ZodAny>;
1786
+ retrieval: z.ZodOptional<z.ZodAny>;
1787
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1788
+ composition?: z.objectOutputType<{
1789
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1790
+ agent: z.ZodString;
1791
+ version: z.ZodOptional<z.ZodString>;
1792
+ role: z.ZodString;
1793
+ description: z.ZodOptional<z.ZodString>;
1794
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1795
+ agent: z.ZodString;
1796
+ version: z.ZodOptional<z.ZodString>;
1797
+ role: z.ZodString;
1798
+ description: z.ZodOptional<z.ZodString>;
1799
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1800
+ agent: z.ZodString;
1801
+ version: z.ZodOptional<z.ZodString>;
1802
+ role: z.ZodString;
1803
+ description: z.ZodOptional<z.ZodString>;
1804
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1805
+ coordination: z.ZodOptional<z.ZodObject<{
1806
+ strategy: z.ZodOptional<z.ZodString>;
1807
+ errorHandling: z.ZodOptional<z.ZodString>;
1808
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1809
+ strategy: z.ZodOptional<z.ZodString>;
1810
+ errorHandling: z.ZodOptional<z.ZodString>;
1811
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1812
+ strategy: z.ZodOptional<z.ZodString>;
1813
+ errorHandling: z.ZodOptional<z.ZodString>;
1814
+ }, z.ZodTypeAny, "passthrough">>>;
1815
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1816
+ resources?: Record<string, {
1817
+ path: string;
1818
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1819
+ template?: "mustache" | "handlebars" | "none" | undefined;
1820
+ fragment?: boolean | undefined;
1821
+ } | Record<string, {
1822
+ path: string;
1823
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1824
+ template?: "mustache" | "handlebars" | "none" | undefined;
1825
+ fragment?: boolean | undefined;
1826
+ }>> | undefined;
1827
+ credentials?: {
1828
+ agent?: {
1829
+ name: string;
1830
+ description?: string | undefined;
1831
+ required?: boolean | undefined;
1832
+ source?: "env" | "vault" | "config" | undefined;
1833
+ }[] | undefined;
1834
+ } | undefined;
1835
+ };
1836
+ tests?: z.objectOutputType<{
1837
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1838
+ path: z.ZodString;
1839
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1840
+ path: z.ZodString;
1841
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1842
+ path: z.ZodString;
1843
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1844
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1845
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1846
+ }, {
1847
+ metadata: {
1848
+ name: string;
1849
+ version?: string | undefined;
1850
+ description?: string | undefined;
1851
+ author?: string | undefined;
1852
+ license?: string | undefined;
1853
+ tags?: string[] | undefined;
1854
+ build?: {
1855
+ timestamp: string;
1856
+ vatVersion: string;
1857
+ commit?: string | undefined;
1858
+ } | undefined;
1859
+ };
1860
+ spec: {
1861
+ llm: {
1862
+ provider: string;
1863
+ model: string;
1864
+ temperature?: number | undefined;
1865
+ maxTokens?: number | undefined;
1866
+ topP?: number | undefined;
1867
+ alternatives?: {
1868
+ provider: string;
1869
+ model: string;
1870
+ temperature?: number | undefined;
1871
+ maxTokens?: number | undefined;
1872
+ topP?: number | undefined;
1873
+ }[] | undefined;
1874
+ };
1875
+ interface?: {
1876
+ input?: {
1877
+ $ref: string;
1878
+ } | undefined;
1879
+ output?: {
1880
+ $ref: string;
1881
+ } | undefined;
1882
+ } | undefined;
1883
+ prompts?: {
1884
+ system?: {
1885
+ $ref: string;
1886
+ variables?: string[] | undefined;
1887
+ } | undefined;
1888
+ user?: {
1889
+ $ref: string;
1890
+ variables?: string[] | undefined;
1891
+ } | undefined;
1892
+ } | undefined;
1893
+ tools?: {
1894
+ type: "mcp" | "library" | "builtin";
1895
+ name: string;
1896
+ function?: string | undefined;
1897
+ alternatives?: {
1898
+ type: "mcp" | "library" | "builtin";
1899
+ function?: string | undefined;
1900
+ server?: string | undefined;
1901
+ package?: string | undefined;
1902
+ llmMapping?: Record<string, string> | undefined;
1903
+ }[] | undefined;
1904
+ description?: string | undefined;
1905
+ server?: string | undefined;
1906
+ package?: string | undefined;
1907
+ llmMapping?: Record<string, string> | undefined;
1908
+ }[] | undefined;
1909
+ memory?: z.objectInputType<{
1910
+ shortTerm: z.ZodOptional<z.ZodObject<{
1911
+ type: z.ZodString;
1912
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1913
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1914
+ type: z.ZodString;
1915
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1916
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1917
+ type: z.ZodString;
1918
+ maxMessages: z.ZodOptional<z.ZodNumber>;
1919
+ }, z.ZodTypeAny, "passthrough">>>;
1920
+ longTerm: z.ZodOptional<z.ZodObject<{
1921
+ type: z.ZodString;
1922
+ store: z.ZodOptional<z.ZodAny>;
1923
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1924
+ type: z.ZodString;
1925
+ store: z.ZodOptional<z.ZodAny>;
1926
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1927
+ type: z.ZodString;
1928
+ store: z.ZodOptional<z.ZodAny>;
1929
+ }, z.ZodTypeAny, "passthrough">>>;
1930
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1931
+ rag?: Record<string, z.objectInputType<{
1932
+ sources: z.ZodAny;
1933
+ chunking: z.ZodOptional<z.ZodAny>;
1934
+ embedding: z.ZodOptional<z.ZodAny>;
1935
+ retrieval: z.ZodOptional<z.ZodAny>;
1936
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1937
+ composition?: z.objectInputType<{
1938
+ subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1939
+ agent: z.ZodString;
1940
+ version: z.ZodOptional<z.ZodString>;
1941
+ role: z.ZodString;
1942
+ description: z.ZodOptional<z.ZodString>;
1943
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1944
+ agent: z.ZodString;
1945
+ version: z.ZodOptional<z.ZodString>;
1946
+ role: z.ZodString;
1947
+ description: z.ZodOptional<z.ZodString>;
1948
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1949
+ agent: z.ZodString;
1950
+ version: z.ZodOptional<z.ZodString>;
1951
+ role: z.ZodString;
1952
+ description: z.ZodOptional<z.ZodString>;
1953
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1954
+ coordination: z.ZodOptional<z.ZodObject<{
1955
+ strategy: z.ZodOptional<z.ZodString>;
1956
+ errorHandling: z.ZodOptional<z.ZodString>;
1957
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1958
+ strategy: z.ZodOptional<z.ZodString>;
1959
+ errorHandling: z.ZodOptional<z.ZodString>;
1960
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1961
+ strategy: z.ZodOptional<z.ZodString>;
1962
+ errorHandling: z.ZodOptional<z.ZodString>;
1963
+ }, z.ZodTypeAny, "passthrough">>>;
1964
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1965
+ resources?: Record<string, {
1966
+ path: string;
1967
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1968
+ template?: "mustache" | "handlebars" | "none" | undefined;
1969
+ fragment?: boolean | undefined;
1970
+ } | Record<string, {
1971
+ path: string;
1972
+ type: "prompt" | "schema" | "documentation" | "data" | "template";
1973
+ template?: "mustache" | "handlebars" | "none" | undefined;
1974
+ fragment?: boolean | undefined;
1975
+ }>> | undefined;
1976
+ credentials?: {
1977
+ agent?: {
1978
+ name: string;
1979
+ description?: string | undefined;
1980
+ required?: boolean | undefined;
1981
+ source?: "env" | "vault" | "config" | undefined;
1982
+ }[] | undefined;
1983
+ } | undefined;
1984
+ };
1985
+ tests?: z.objectInputType<{
1986
+ goldenDatasets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1987
+ path: z.ZodString;
1988
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1989
+ path: z.ZodString;
1990
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1991
+ path: z.ZodString;
1992
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1993
+ evaluationMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1994
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1995
+ }>;
1996
+ export type AgentManifest = z.infer<typeof AgentManifestSchema>;
1997
+ //# sourceMappingURL=agent-manifest.d.ts.map