@sweny-ai/core 0.1.122 → 0.1.124

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.
Files changed (56) hide show
  1. package/dist/agent-env.d.ts +171 -0
  2. package/dist/agent-env.js +393 -0
  3. package/dist/browser.d.ts +2 -2
  4. package/dist/browser.js +1 -1
  5. package/dist/claude.d.ts +61 -3
  6. package/dist/claude.js +191 -27
  7. package/dist/cli/check.d.ts +42 -1
  8. package/dist/cli/check.js +130 -8
  9. package/dist/cli/cloud-lifecycle.d.ts +24 -29
  10. package/dist/cli/cloud-lifecycle.js +187 -12
  11. package/dist/cli/cloud-report.js +45 -2
  12. package/dist/cli/config-file.d.ts +8 -1
  13. package/dist/cli/config-file.js +42 -1
  14. package/dist/cli/config.js +11 -14
  15. package/dist/cli/e2e.d.ts +22 -0
  16. package/dist/cli/e2e.js +31 -4
  17. package/dist/cli/main.d.ts +1 -0
  18. package/dist/cli/main.js +138 -46
  19. package/dist/cli/marketplace.d.ts +3 -1
  20. package/dist/cli/marketplace.js +2 -2
  21. package/dist/cli/new.d.ts +15 -0
  22. package/dist/cli/new.js +139 -65
  23. package/dist/cli/publish.js +9 -0
  24. package/dist/cli/run-output.d.ts +59 -0
  25. package/dist/cli/run-output.js +189 -0
  26. package/dist/cli/skill-env.d.ts +34 -0
  27. package/dist/cli/skill-env.js +64 -0
  28. package/dist/cli/templates.js +587 -0
  29. package/dist/cli/workflow-input.d.ts +41 -0
  30. package/dist/cli/workflow-input.js +56 -0
  31. package/dist/executor.d.ts +17 -1
  32. package/dist/executor.js +119 -9
  33. package/dist/index.d.ts +3 -3
  34. package/dist/index.js +2 -2
  35. package/dist/mermaid.d.ts +6 -0
  36. package/dist/mermaid.js +10 -5
  37. package/dist/schema.d.ts +218 -188
  38. package/dist/schema.js +24 -3
  39. package/dist/skills/betterstack.js +4 -0
  40. package/dist/skills/datadog.js +3 -0
  41. package/dist/skills/github.js +8 -0
  42. package/dist/skills/linear.js +8 -0
  43. package/dist/skills/notification.js +3 -0
  44. package/dist/skills/sentry.js +4 -0
  45. package/dist/skills/slack.js +2 -0
  46. package/dist/skills/supabase.js +9 -0
  47. package/dist/testing.d.ts +3 -2
  48. package/dist/testing.js +9 -3
  49. package/dist/types.d.ts +99 -2
  50. package/dist/types.js +17 -0
  51. package/dist/untrusted.d.ts +32 -0
  52. package/dist/untrusted.js +46 -0
  53. package/dist/workflows/browser.js +2 -2
  54. package/dist/workflows/implement.yml +2 -0
  55. package/dist/workflows/triage.yml +3 -1
  56. package/package.json +2 -2
package/dist/schema.d.ts CHANGED
@@ -37,14 +37,17 @@ export declare const toolZ: z.ZodObject<{
37
37
  name: z.ZodString;
38
38
  description: z.ZodString;
39
39
  input_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
40
+ access: z.ZodOptional<z.ZodEnum<["read", "write"]>>;
40
41
  }, "strict", z.ZodTypeAny, {
41
42
  description: string;
42
43
  name: string;
43
44
  input_schema: Record<string, unknown>;
45
+ access?: "read" | "write" | undefined;
44
46
  }, {
45
47
  description: string;
46
48
  name: string;
47
49
  input_schema: Record<string, unknown>;
50
+ access?: "read" | "write" | undefined;
48
51
  }>;
49
52
  export declare const skillCategoryZ: z.ZodEnum<["general", "git", "tasks", "notification", "observability", "data"]>;
50
53
  export declare const mcpServerConfigZ: z.ZodEffects<z.ZodObject<{
@@ -57,31 +60,31 @@ export declare const mcpServerConfigZ: z.ZodEffects<z.ZodObject<{
57
60
  }, "strict", z.ZodTypeAny, {
58
61
  url?: string | undefined;
59
62
  type?: "stdio" | "http" | undefined;
60
- headers?: Record<string, string> | undefined;
61
- env?: Record<string, string> | undefined;
62
63
  command?: string | undefined;
63
64
  args?: string[] | undefined;
65
+ headers?: Record<string, string> | undefined;
66
+ env?: Record<string, string> | undefined;
64
67
  }, {
65
68
  url?: string | undefined;
66
69
  type?: "stdio" | "http" | undefined;
67
- headers?: Record<string, string> | undefined;
68
- env?: Record<string, string> | undefined;
69
70
  command?: string | undefined;
70
71
  args?: string[] | undefined;
72
+ headers?: Record<string, string> | undefined;
73
+ env?: Record<string, string> | undefined;
71
74
  }>, {
72
75
  url?: string | undefined;
73
76
  type?: "stdio" | "http" | undefined;
74
- headers?: Record<string, string> | undefined;
75
- env?: Record<string, string> | undefined;
76
77
  command?: string | undefined;
77
78
  args?: string[] | undefined;
79
+ headers?: Record<string, string> | undefined;
80
+ env?: Record<string, string> | undefined;
78
81
  }, {
79
82
  url?: string | undefined;
80
83
  type?: "stdio" | "http" | undefined;
81
- headers?: Record<string, string> | undefined;
82
- env?: Record<string, string> | undefined;
83
84
  command?: string | undefined;
84
85
  args?: string[] | undefined;
86
+ headers?: Record<string, string> | undefined;
87
+ env?: Record<string, string> | undefined;
85
88
  }>;
86
89
  export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
87
90
  name: z.ZodOptional<z.ZodString>;
@@ -97,31 +100,31 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
97
100
  }, "strict", z.ZodTypeAny, {
98
101
  url?: string | undefined;
99
102
  type?: "stdio" | "http" | undefined;
100
- headers?: Record<string, string> | undefined;
101
- env?: Record<string, string> | undefined;
102
103
  command?: string | undefined;
103
104
  args?: string[] | undefined;
105
+ headers?: Record<string, string> | undefined;
106
+ env?: Record<string, string> | undefined;
104
107
  }, {
105
108
  url?: string | undefined;
106
109
  type?: "stdio" | "http" | undefined;
107
- headers?: Record<string, string> | undefined;
108
- env?: Record<string, string> | undefined;
109
110
  command?: string | undefined;
110
111
  args?: string[] | undefined;
112
+ headers?: Record<string, string> | undefined;
113
+ env?: Record<string, string> | undefined;
111
114
  }>, {
112
115
  url?: string | undefined;
113
116
  type?: "stdio" | "http" | undefined;
114
- headers?: Record<string, string> | undefined;
115
- env?: Record<string, string> | undefined;
116
117
  command?: string | undefined;
117
118
  args?: string[] | undefined;
119
+ headers?: Record<string, string> | undefined;
120
+ env?: Record<string, string> | undefined;
118
121
  }, {
119
122
  url?: string | undefined;
120
123
  type?: "stdio" | "http" | undefined;
121
- headers?: Record<string, string> | undefined;
122
- env?: Record<string, string> | undefined;
123
124
  command?: string | undefined;
124
125
  args?: string[] | undefined;
126
+ headers?: Record<string, string> | undefined;
127
+ env?: Record<string, string> | undefined;
125
128
  }>>;
126
129
  }, "strict", z.ZodTypeAny, {
127
130
  description?: string | undefined;
@@ -130,10 +133,10 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
130
133
  mcp?: {
131
134
  url?: string | undefined;
132
135
  type?: "stdio" | "http" | undefined;
133
- headers?: Record<string, string> | undefined;
134
- env?: Record<string, string> | undefined;
135
136
  command?: string | undefined;
136
137
  args?: string[] | undefined;
138
+ headers?: Record<string, string> | undefined;
139
+ env?: Record<string, string> | undefined;
137
140
  } | undefined;
138
141
  }, {
139
142
  description?: string | undefined;
@@ -142,10 +145,10 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
142
145
  mcp?: {
143
146
  url?: string | undefined;
144
147
  type?: "stdio" | "http" | undefined;
145
- headers?: Record<string, string> | undefined;
146
- env?: Record<string, string> | undefined;
147
148
  command?: string | undefined;
148
149
  args?: string[] | undefined;
150
+ headers?: Record<string, string> | undefined;
151
+ env?: Record<string, string> | undefined;
149
152
  } | undefined;
150
153
  }>, {
151
154
  description?: string | undefined;
@@ -154,10 +157,10 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
154
157
  mcp?: {
155
158
  url?: string | undefined;
156
159
  type?: "stdio" | "http" | undefined;
157
- headers?: Record<string, string> | undefined;
158
- env?: Record<string, string> | undefined;
159
160
  command?: string | undefined;
160
161
  args?: string[] | undefined;
162
+ headers?: Record<string, string> | undefined;
163
+ env?: Record<string, string> | undefined;
161
164
  } | undefined;
162
165
  }, {
163
166
  description?: string | undefined;
@@ -166,10 +169,10 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
166
169
  mcp?: {
167
170
  url?: string | undefined;
168
171
  type?: "stdio" | "http" | undefined;
169
- headers?: Record<string, string> | undefined;
170
- env?: Record<string, string> | undefined;
171
172
  command?: string | undefined;
172
173
  args?: string[] | undefined;
174
+ headers?: Record<string, string> | undefined;
175
+ env?: Record<string, string> | undefined;
173
176
  } | undefined;
174
177
  }>;
175
178
  export declare const skillZ: z.ZodEffects<z.ZodObject<{
@@ -194,14 +197,17 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
194
197
  name: z.ZodString;
195
198
  description: z.ZodString;
196
199
  input_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
200
+ access: z.ZodOptional<z.ZodEnum<["read", "write"]>>;
197
201
  }, "strict", z.ZodTypeAny, {
198
202
  description: string;
199
203
  name: string;
200
204
  input_schema: Record<string, unknown>;
205
+ access?: "read" | "write" | undefined;
201
206
  }, {
202
207
  description: string;
203
208
  name: string;
204
209
  input_schema: Record<string, unknown>;
210
+ access?: "read" | "write" | undefined;
205
211
  }>, "many">>;
206
212
  instruction: z.ZodOptional<z.ZodString>;
207
213
  mcp: z.ZodOptional<z.ZodEffects<z.ZodObject<{
@@ -214,56 +220,57 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
214
220
  }, "strict", z.ZodTypeAny, {
215
221
  url?: string | undefined;
216
222
  type?: "stdio" | "http" | undefined;
217
- headers?: Record<string, string> | undefined;
218
- env?: Record<string, string> | undefined;
219
223
  command?: string | undefined;
220
224
  args?: string[] | undefined;
225
+ headers?: Record<string, string> | undefined;
226
+ env?: Record<string, string> | undefined;
221
227
  }, {
222
228
  url?: string | undefined;
223
229
  type?: "stdio" | "http" | undefined;
224
- headers?: Record<string, string> | undefined;
225
- env?: Record<string, string> | undefined;
226
230
  command?: string | undefined;
227
231
  args?: string[] | undefined;
232
+ headers?: Record<string, string> | undefined;
233
+ env?: Record<string, string> | undefined;
228
234
  }>, {
229
235
  url?: string | undefined;
230
236
  type?: "stdio" | "http" | undefined;
231
- headers?: Record<string, string> | undefined;
232
- env?: Record<string, string> | undefined;
233
237
  command?: string | undefined;
234
238
  args?: string[] | undefined;
239
+ headers?: Record<string, string> | undefined;
240
+ env?: Record<string, string> | undefined;
235
241
  }, {
236
242
  url?: string | undefined;
237
243
  type?: "stdio" | "http" | undefined;
238
- headers?: Record<string, string> | undefined;
239
- env?: Record<string, string> | undefined;
240
244
  command?: string | undefined;
241
245
  args?: string[] | undefined;
246
+ headers?: Record<string, string> | undefined;
247
+ env?: Record<string, string> | undefined;
242
248
  }>>;
243
249
  mcpAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
244
250
  }, "strict", z.ZodTypeAny, {
245
251
  description: string;
246
252
  name: string;
247
- id: string;
248
- category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
249
253
  config: Record<string, {
250
254
  description: string;
251
255
  required?: boolean | undefined;
252
256
  env?: string | undefined;
253
257
  }>;
258
+ id: string;
259
+ category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
254
260
  tools: {
255
261
  description: string;
256
262
  name: string;
257
263
  input_schema: Record<string, unknown>;
264
+ access?: "read" | "write" | undefined;
258
265
  }[];
259
266
  instruction?: string | undefined;
260
267
  mcp?: {
261
268
  url?: string | undefined;
262
269
  type?: "stdio" | "http" | undefined;
263
- headers?: Record<string, string> | undefined;
264
- env?: Record<string, string> | undefined;
265
270
  command?: string | undefined;
266
271
  args?: string[] | undefined;
272
+ headers?: Record<string, string> | undefined;
273
+ env?: Record<string, string> | undefined;
267
274
  } | undefined;
268
275
  mcpAliases?: Record<string, string[]> | undefined;
269
276
  }, {
@@ -271,49 +278,51 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
271
278
  name: string;
272
279
  id: string;
273
280
  category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
281
+ config?: Record<string, {
282
+ description: string;
283
+ required?: boolean | undefined;
284
+ env?: string | undefined;
285
+ }> | undefined;
274
286
  instruction?: string | undefined;
275
287
  mcp?: {
276
288
  url?: string | undefined;
277
289
  type?: "stdio" | "http" | undefined;
278
- headers?: Record<string, string> | undefined;
279
- env?: Record<string, string> | undefined;
280
290
  command?: string | undefined;
281
291
  args?: string[] | undefined;
292
+ headers?: Record<string, string> | undefined;
293
+ env?: Record<string, string> | undefined;
282
294
  } | undefined;
283
- config?: Record<string, {
284
- description: string;
285
- required?: boolean | undefined;
286
- env?: string | undefined;
287
- }> | undefined;
288
295
  tools?: {
289
296
  description: string;
290
297
  name: string;
291
298
  input_schema: Record<string, unknown>;
299
+ access?: "read" | "write" | undefined;
292
300
  }[] | undefined;
293
301
  mcpAliases?: Record<string, string[]> | undefined;
294
302
  }>, {
295
303
  description: string;
296
304
  name: string;
297
- id: string;
298
- category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
299
305
  config: Record<string, {
300
306
  description: string;
301
307
  required?: boolean | undefined;
302
308
  env?: string | undefined;
303
309
  }>;
310
+ id: string;
311
+ category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
304
312
  tools: {
305
313
  description: string;
306
314
  name: string;
307
315
  input_schema: Record<string, unknown>;
316
+ access?: "read" | "write" | undefined;
308
317
  }[];
309
318
  instruction?: string | undefined;
310
319
  mcp?: {
311
320
  url?: string | undefined;
312
321
  type?: "stdio" | "http" | undefined;
313
- headers?: Record<string, string> | undefined;
314
- env?: Record<string, string> | undefined;
315
322
  command?: string | undefined;
316
323
  args?: string[] | undefined;
324
+ headers?: Record<string, string> | undefined;
325
+ env?: Record<string, string> | undefined;
317
326
  } | undefined;
318
327
  mcpAliases?: Record<string, string[]> | undefined;
319
328
  }, {
@@ -321,24 +330,25 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
321
330
  name: string;
322
331
  id: string;
323
332
  category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
333
+ config?: Record<string, {
334
+ description: string;
335
+ required?: boolean | undefined;
336
+ env?: string | undefined;
337
+ }> | undefined;
324
338
  instruction?: string | undefined;
325
339
  mcp?: {
326
340
  url?: string | undefined;
327
341
  type?: "stdio" | "http" | undefined;
328
- headers?: Record<string, string> | undefined;
329
- env?: Record<string, string> | undefined;
330
342
  command?: string | undefined;
331
343
  args?: string[] | undefined;
344
+ headers?: Record<string, string> | undefined;
345
+ env?: Record<string, string> | undefined;
332
346
  } | undefined;
333
- config?: Record<string, {
334
- description: string;
335
- required?: boolean | undefined;
336
- env?: string | undefined;
337
- }> | undefined;
338
347
  tools?: {
339
348
  description: string;
340
349
  name: string;
341
350
  input_schema: Record<string, unknown>;
351
+ access?: "read" | "write" | undefined;
342
352
  }[] | undefined;
343
353
  mcpAliases?: Record<string, string[]> | undefined;
344
354
  }>;
@@ -420,23 +430,23 @@ export declare const outputMatchZ: z.ZodEffects<z.ZodObject<{
420
430
  matches: z.ZodOptional<z.ZodString>;
421
431
  }, "strict", z.ZodTypeAny, {
422
432
  path: string;
423
- equals?: unknown;
424
433
  in?: unknown[] | undefined;
434
+ equals?: unknown;
425
435
  matches?: string | undefined;
426
436
  }, {
427
437
  path: string;
428
- equals?: unknown;
429
438
  in?: unknown[] | undefined;
439
+ equals?: unknown;
430
440
  matches?: string | undefined;
431
441
  }>, {
432
442
  path: string;
433
- equals?: unknown;
434
443
  in?: unknown[] | undefined;
444
+ equals?: unknown;
435
445
  matches?: string | undefined;
436
446
  }, {
437
447
  path: string;
438
- equals?: unknown;
439
448
  in?: unknown[] | undefined;
449
+ equals?: unknown;
440
450
  matches?: string | undefined;
441
451
  }>;
442
452
  export declare const evaluatorKindZ: z.ZodEnum<["value", "function", "judge"]>;
@@ -453,23 +463,23 @@ export declare const evaluatorRuleZ: z.ZodEffects<z.ZodObject<{
453
463
  matches: z.ZodOptional<z.ZodString>;
454
464
  }, "strict", z.ZodTypeAny, {
455
465
  path: string;
456
- equals?: unknown;
457
466
  in?: unknown[] | undefined;
467
+ equals?: unknown;
458
468
  matches?: string | undefined;
459
469
  }, {
460
470
  path: string;
461
- equals?: unknown;
462
471
  in?: unknown[] | undefined;
472
+ equals?: unknown;
463
473
  matches?: string | undefined;
464
474
  }>, {
465
475
  path: string;
466
- equals?: unknown;
467
476
  in?: unknown[] | undefined;
477
+ equals?: unknown;
468
478
  matches?: string | undefined;
469
479
  }, {
470
480
  path: string;
471
- equals?: unknown;
472
481
  in?: unknown[] | undefined;
482
+ equals?: unknown;
473
483
  matches?: string | undefined;
474
484
  }>, "many">>;
475
485
  }, "strict", z.ZodTypeAny, {
@@ -479,8 +489,8 @@ export declare const evaluatorRuleZ: z.ZodEffects<z.ZodObject<{
479
489
  output_required?: string[] | undefined;
480
490
  output_matches?: {
481
491
  path: string;
482
- equals?: unknown;
483
492
  in?: unknown[] | undefined;
493
+ equals?: unknown;
484
494
  matches?: string | undefined;
485
495
  }[] | undefined;
486
496
  }, {
@@ -490,8 +500,8 @@ export declare const evaluatorRuleZ: z.ZodEffects<z.ZodObject<{
490
500
  output_required?: string[] | undefined;
491
501
  output_matches?: {
492
502
  path: string;
493
- equals?: unknown;
494
503
  in?: unknown[] | undefined;
504
+ equals?: unknown;
495
505
  matches?: string | undefined;
496
506
  }[] | undefined;
497
507
  }>, {
@@ -501,8 +511,8 @@ export declare const evaluatorRuleZ: z.ZodEffects<z.ZodObject<{
501
511
  output_required?: string[] | undefined;
502
512
  output_matches?: {
503
513
  path: string;
504
- equals?: unknown;
505
514
  in?: unknown[] | undefined;
515
+ equals?: unknown;
506
516
  matches?: string | undefined;
507
517
  }[] | undefined;
508
518
  }, {
@@ -512,8 +522,8 @@ export declare const evaluatorRuleZ: z.ZodEffects<z.ZodObject<{
512
522
  output_required?: string[] | undefined;
513
523
  output_matches?: {
514
524
  path: string;
515
- equals?: unknown;
516
525
  in?: unknown[] | undefined;
526
+ equals?: unknown;
517
527
  matches?: string | undefined;
518
528
  }[] | undefined;
519
529
  }>;
@@ -538,23 +548,23 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
538
548
  matches: z.ZodOptional<z.ZodString>;
539
549
  }, "strict", z.ZodTypeAny, {
540
550
  path: string;
541
- equals?: unknown;
542
551
  in?: unknown[] | undefined;
552
+ equals?: unknown;
543
553
  matches?: string | undefined;
544
554
  }, {
545
555
  path: string;
546
- equals?: unknown;
547
556
  in?: unknown[] | undefined;
557
+ equals?: unknown;
548
558
  matches?: string | undefined;
549
559
  }>, {
550
560
  path: string;
551
- equals?: unknown;
552
561
  in?: unknown[] | undefined;
562
+ equals?: unknown;
553
563
  matches?: string | undefined;
554
564
  }, {
555
565
  path: string;
556
- equals?: unknown;
557
566
  in?: unknown[] | undefined;
567
+ equals?: unknown;
558
568
  matches?: string | undefined;
559
569
  }>, "many">>;
560
570
  }, "strict", z.ZodTypeAny, {
@@ -564,8 +574,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
564
574
  output_required?: string[] | undefined;
565
575
  output_matches?: {
566
576
  path: string;
567
- equals?: unknown;
568
577
  in?: unknown[] | undefined;
578
+ equals?: unknown;
569
579
  matches?: string | undefined;
570
580
  }[] | undefined;
571
581
  }, {
@@ -575,8 +585,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
575
585
  output_required?: string[] | undefined;
576
586
  output_matches?: {
577
587
  path: string;
578
- equals?: unknown;
579
588
  in?: unknown[] | undefined;
589
+ equals?: unknown;
580
590
  matches?: string | undefined;
581
591
  }[] | undefined;
582
592
  }>, {
@@ -586,8 +596,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
586
596
  output_required?: string[] | undefined;
587
597
  output_matches?: {
588
598
  path: string;
589
- equals?: unknown;
590
599
  in?: unknown[] | undefined;
600
+ equals?: unknown;
591
601
  matches?: string | undefined;
592
602
  }[] | undefined;
593
603
  }, {
@@ -597,8 +607,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
597
607
  output_required?: string[] | undefined;
598
608
  output_matches?: {
599
609
  path: string;
600
- equals?: unknown;
601
610
  in?: unknown[] | undefined;
611
+ equals?: unknown;
602
612
  matches?: string | undefined;
603
613
  }[] | undefined;
604
614
  }>>;
@@ -615,8 +625,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
615
625
  output_required?: string[] | undefined;
616
626
  output_matches?: {
617
627
  path: string;
618
- equals?: unknown;
619
628
  in?: unknown[] | undefined;
629
+ equals?: unknown;
620
630
  matches?: string | undefined;
621
631
  }[] | undefined;
622
632
  } | undefined;
@@ -633,8 +643,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
633
643
  output_required?: string[] | undefined;
634
644
  output_matches?: {
635
645
  path: string;
636
- equals?: unknown;
637
646
  in?: unknown[] | undefined;
647
+ equals?: unknown;
638
648
  matches?: string | undefined;
639
649
  }[] | undefined;
640
650
  } | undefined;
@@ -651,8 +661,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
651
661
  output_required?: string[] | undefined;
652
662
  output_matches?: {
653
663
  path: string;
654
- equals?: unknown;
655
664
  in?: unknown[] | undefined;
665
+ equals?: unknown;
656
666
  matches?: string | undefined;
657
667
  }[] | undefined;
658
668
  } | undefined;
@@ -669,8 +679,8 @@ export declare const evaluatorZ: z.ZodEffects<z.ZodObject<{
669
679
  output_required?: string[] | undefined;
670
680
  output_matches?: {
671
681
  path: string;
672
- equals?: unknown;
673
682
  in?: unknown[] | undefined;
683
+ equals?: unknown;
674
684
  matches?: string | undefined;
675
685
  }[] | undefined;
676
686
  } | undefined;
@@ -687,23 +697,23 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
687
697
  matches: z.ZodOptional<z.ZodString>;
688
698
  }, "strict", z.ZodTypeAny, {
689
699
  path: string;
690
- equals?: unknown;
691
700
  in?: unknown[] | undefined;
701
+ equals?: unknown;
692
702
  matches?: string | undefined;
693
703
  }, {
694
704
  path: string;
695
- equals?: unknown;
696
705
  in?: unknown[] | undefined;
706
+ equals?: unknown;
697
707
  matches?: string | undefined;
698
708
  }>, {
699
709
  path: string;
700
- equals?: unknown;
701
710
  in?: unknown[] | undefined;
711
+ equals?: unknown;
702
712
  matches?: string | undefined;
703
713
  }, {
704
714
  path: string;
705
- equals?: unknown;
706
715
  in?: unknown[] | undefined;
716
+ equals?: unknown;
707
717
  matches?: string | undefined;
708
718
  }>, "many">>;
709
719
  on_fail: z.ZodOptional<z.ZodEnum<["fail", "skip"]>>;
@@ -711,8 +721,8 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
711
721
  output_required?: string[] | undefined;
712
722
  output_matches?: {
713
723
  path: string;
714
- equals?: unknown;
715
724
  in?: unknown[] | undefined;
725
+ equals?: unknown;
716
726
  matches?: string | undefined;
717
727
  }[] | undefined;
718
728
  on_fail?: "fail" | "skip" | undefined;
@@ -720,8 +730,8 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
720
730
  output_required?: string[] | undefined;
721
731
  output_matches?: {
722
732
  path: string;
723
- equals?: unknown;
724
733
  in?: unknown[] | undefined;
734
+ equals?: unknown;
725
735
  matches?: string | undefined;
726
736
  }[] | undefined;
727
737
  on_fail?: "fail" | "skip" | undefined;
@@ -729,8 +739,8 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
729
739
  output_required?: string[] | undefined;
730
740
  output_matches?: {
731
741
  path: string;
732
- equals?: unknown;
733
742
  in?: unknown[] | undefined;
743
+ equals?: unknown;
734
744
  matches?: string | undefined;
735
745
  }[] | undefined;
736
746
  on_fail?: "fail" | "skip" | undefined;
@@ -738,8 +748,8 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
738
748
  output_required?: string[] | undefined;
739
749
  output_matches?: {
740
750
  path: string;
741
- equals?: unknown;
742
751
  in?: unknown[] | undefined;
752
+ equals?: unknown;
743
753
  matches?: string | undefined;
744
754
  }[] | undefined;
745
755
  on_fail?: "fail" | "skip" | undefined;
@@ -754,17 +764,17 @@ export declare const nodeToolsZ: z.ZodEffects<z.ZodObject<{
754
764
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
755
765
  deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
756
766
  }, "strict", z.ZodTypeAny, {
757
- allow?: string[] | undefined;
758
767
  deny?: string[] | undefined;
759
- }, {
760
768
  allow?: string[] | undefined;
769
+ }, {
761
770
  deny?: string[] | undefined;
762
- }>, {
763
771
  allow?: string[] | undefined;
772
+ }>, {
764
773
  deny?: string[] | undefined;
765
- }, {
766
774
  allow?: string[] | undefined;
775
+ }, {
767
776
  deny?: string[] | undefined;
777
+ allow?: string[] | undefined;
768
778
  }>;
769
779
  export declare const nodeRetryZ: z.ZodObject<{
770
780
  max: z.ZodNumber;
@@ -828,19 +838,20 @@ export declare const nodeZ: z.ZodObject<{
828
838
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
829
839
  deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
830
840
  }, "strict", z.ZodTypeAny, {
831
- allow?: string[] | undefined;
832
841
  deny?: string[] | undefined;
833
- }, {
834
842
  allow?: string[] | undefined;
843
+ }, {
835
844
  deny?: string[] | undefined;
836
- }>, {
837
845
  allow?: string[] | undefined;
846
+ }>, {
838
847
  deny?: string[] | undefined;
839
- }, {
840
848
  allow?: string[] | undefined;
849
+ }, {
841
850
  deny?: string[] | undefined;
851
+ allow?: string[] | undefined;
842
852
  }>>;
843
853
  fail_soft: z.ZodOptional<z.ZodBoolean>;
854
+ on_fail: z.ZodOptional<z.ZodEnum<["halt", "continue"]>>;
844
855
  rules: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
845
856
  inline: z.ZodString;
846
857
  }, "strict", z.ZodTypeAny, {
@@ -988,23 +999,23 @@ export declare const nodeZ: z.ZodObject<{
988
999
  matches: z.ZodOptional<z.ZodString>;
989
1000
  }, "strict", z.ZodTypeAny, {
990
1001
  path: string;
991
- equals?: unknown;
992
1002
  in?: unknown[] | undefined;
1003
+ equals?: unknown;
993
1004
  matches?: string | undefined;
994
1005
  }, {
995
1006
  path: string;
996
- equals?: unknown;
997
1007
  in?: unknown[] | undefined;
1008
+ equals?: unknown;
998
1009
  matches?: string | undefined;
999
1010
  }>, {
1000
1011
  path: string;
1001
- equals?: unknown;
1002
1012
  in?: unknown[] | undefined;
1013
+ equals?: unknown;
1003
1014
  matches?: string | undefined;
1004
1015
  }, {
1005
1016
  path: string;
1006
- equals?: unknown;
1007
1017
  in?: unknown[] | undefined;
1018
+ equals?: unknown;
1008
1019
  matches?: string | undefined;
1009
1020
  }>, "many">>;
1010
1021
  }, "strict", z.ZodTypeAny, {
@@ -1014,8 +1025,8 @@ export declare const nodeZ: z.ZodObject<{
1014
1025
  output_required?: string[] | undefined;
1015
1026
  output_matches?: {
1016
1027
  path: string;
1017
- equals?: unknown;
1018
1028
  in?: unknown[] | undefined;
1029
+ equals?: unknown;
1019
1030
  matches?: string | undefined;
1020
1031
  }[] | undefined;
1021
1032
  }, {
@@ -1025,8 +1036,8 @@ export declare const nodeZ: z.ZodObject<{
1025
1036
  output_required?: string[] | undefined;
1026
1037
  output_matches?: {
1027
1038
  path: string;
1028
- equals?: unknown;
1029
1039
  in?: unknown[] | undefined;
1040
+ equals?: unknown;
1030
1041
  matches?: string | undefined;
1031
1042
  }[] | undefined;
1032
1043
  }>, {
@@ -1036,8 +1047,8 @@ export declare const nodeZ: z.ZodObject<{
1036
1047
  output_required?: string[] | undefined;
1037
1048
  output_matches?: {
1038
1049
  path: string;
1039
- equals?: unknown;
1040
1050
  in?: unknown[] | undefined;
1051
+ equals?: unknown;
1041
1052
  matches?: string | undefined;
1042
1053
  }[] | undefined;
1043
1054
  }, {
@@ -1047,8 +1058,8 @@ export declare const nodeZ: z.ZodObject<{
1047
1058
  output_required?: string[] | undefined;
1048
1059
  output_matches?: {
1049
1060
  path: string;
1050
- equals?: unknown;
1051
1061
  in?: unknown[] | undefined;
1062
+ equals?: unknown;
1052
1063
  matches?: string | undefined;
1053
1064
  }[] | undefined;
1054
1065
  }>>;
@@ -1065,8 +1076,8 @@ export declare const nodeZ: z.ZodObject<{
1065
1076
  output_required?: string[] | undefined;
1066
1077
  output_matches?: {
1067
1078
  path: string;
1068
- equals?: unknown;
1069
1079
  in?: unknown[] | undefined;
1080
+ equals?: unknown;
1070
1081
  matches?: string | undefined;
1071
1082
  }[] | undefined;
1072
1083
  } | undefined;
@@ -1083,8 +1094,8 @@ export declare const nodeZ: z.ZodObject<{
1083
1094
  output_required?: string[] | undefined;
1084
1095
  output_matches?: {
1085
1096
  path: string;
1086
- equals?: unknown;
1087
1097
  in?: unknown[] | undefined;
1098
+ equals?: unknown;
1088
1099
  matches?: string | undefined;
1089
1100
  }[] | undefined;
1090
1101
  } | undefined;
@@ -1101,8 +1112,8 @@ export declare const nodeZ: z.ZodObject<{
1101
1112
  output_required?: string[] | undefined;
1102
1113
  output_matches?: {
1103
1114
  path: string;
1104
- equals?: unknown;
1105
1115
  in?: unknown[] | undefined;
1116
+ equals?: unknown;
1106
1117
  matches?: string | undefined;
1107
1118
  }[] | undefined;
1108
1119
  } | undefined;
@@ -1119,8 +1130,8 @@ export declare const nodeZ: z.ZodObject<{
1119
1130
  output_required?: string[] | undefined;
1120
1131
  output_matches?: {
1121
1132
  path: string;
1122
- equals?: unknown;
1123
1133
  in?: unknown[] | undefined;
1134
+ equals?: unknown;
1124
1135
  matches?: string | undefined;
1125
1136
  }[] | undefined;
1126
1137
  } | undefined;
@@ -1140,23 +1151,23 @@ export declare const nodeZ: z.ZodObject<{
1140
1151
  matches: z.ZodOptional<z.ZodString>;
1141
1152
  }, "strict", z.ZodTypeAny, {
1142
1153
  path: string;
1143
- equals?: unknown;
1144
1154
  in?: unknown[] | undefined;
1155
+ equals?: unknown;
1145
1156
  matches?: string | undefined;
1146
1157
  }, {
1147
1158
  path: string;
1148
- equals?: unknown;
1149
1159
  in?: unknown[] | undefined;
1160
+ equals?: unknown;
1150
1161
  matches?: string | undefined;
1151
1162
  }>, {
1152
1163
  path: string;
1153
- equals?: unknown;
1154
1164
  in?: unknown[] | undefined;
1165
+ equals?: unknown;
1155
1166
  matches?: string | undefined;
1156
1167
  }, {
1157
1168
  path: string;
1158
- equals?: unknown;
1159
1169
  in?: unknown[] | undefined;
1170
+ equals?: unknown;
1160
1171
  matches?: string | undefined;
1161
1172
  }>, "many">>;
1162
1173
  on_fail: z.ZodOptional<z.ZodEnum<["fail", "skip"]>>;
@@ -1164,8 +1175,8 @@ export declare const nodeZ: z.ZodObject<{
1164
1175
  output_required?: string[] | undefined;
1165
1176
  output_matches?: {
1166
1177
  path: string;
1167
- equals?: unknown;
1168
1178
  in?: unknown[] | undefined;
1179
+ equals?: unknown;
1169
1180
  matches?: string | undefined;
1170
1181
  }[] | undefined;
1171
1182
  on_fail?: "fail" | "skip" | undefined;
@@ -1173,8 +1184,8 @@ export declare const nodeZ: z.ZodObject<{
1173
1184
  output_required?: string[] | undefined;
1174
1185
  output_matches?: {
1175
1186
  path: string;
1176
- equals?: unknown;
1177
1187
  in?: unknown[] | undefined;
1188
+ equals?: unknown;
1178
1189
  matches?: string | undefined;
1179
1190
  }[] | undefined;
1180
1191
  on_fail?: "fail" | "skip" | undefined;
@@ -1182,8 +1193,8 @@ export declare const nodeZ: z.ZodObject<{
1182
1193
  output_required?: string[] | undefined;
1183
1194
  output_matches?: {
1184
1195
  path: string;
1185
- equals?: unknown;
1186
1196
  in?: unknown[] | undefined;
1197
+ equals?: unknown;
1187
1198
  matches?: string | undefined;
1188
1199
  }[] | undefined;
1189
1200
  on_fail?: "fail" | "skip" | undefined;
@@ -1191,8 +1202,8 @@ export declare const nodeZ: z.ZodObject<{
1191
1202
  output_required?: string[] | undefined;
1192
1203
  output_matches?: {
1193
1204
  path: string;
1194
- equals?: unknown;
1195
1205
  in?: unknown[] | undefined;
1206
+ equals?: unknown;
1196
1207
  matches?: string | undefined;
1197
1208
  }[] | undefined;
1198
1209
  on_fail?: "fail" | "skip" | undefined;
@@ -1238,12 +1249,13 @@ export declare const nodeZ: z.ZodObject<{
1238
1249
  type?: string | undefined;
1239
1250
  };
1240
1251
  skills: string[];
1252
+ output?: Record<string, unknown> | undefined;
1241
1253
  tools?: {
1242
- allow?: string[] | undefined;
1243
1254
  deny?: string[] | undefined;
1255
+ allow?: string[] | undefined;
1244
1256
  } | undefined;
1245
1257
  model?: string | undefined;
1246
- output?: Record<string, unknown> | undefined;
1258
+ on_fail?: "halt" | "continue" | undefined;
1247
1259
  max_turns?: number | undefined;
1248
1260
  disallowed_tools?: string[] | undefined;
1249
1261
  fail_soft?: boolean | undefined;
@@ -1293,8 +1305,8 @@ export declare const nodeZ: z.ZodObject<{
1293
1305
  output_required?: string[] | undefined;
1294
1306
  output_matches?: {
1295
1307
  path: string;
1296
- equals?: unknown;
1297
1308
  in?: unknown[] | undefined;
1309
+ equals?: unknown;
1298
1310
  matches?: string | undefined;
1299
1311
  }[] | undefined;
1300
1312
  } | undefined;
@@ -1308,8 +1320,8 @@ export declare const nodeZ: z.ZodObject<{
1308
1320
  output_required?: string[] | undefined;
1309
1321
  output_matches?: {
1310
1322
  path: string;
1311
- equals?: unknown;
1312
1323
  in?: unknown[] | undefined;
1324
+ equals?: unknown;
1313
1325
  matches?: string | undefined;
1314
1326
  }[] | undefined;
1315
1327
  on_fail?: "fail" | "skip" | undefined;
@@ -1332,13 +1344,14 @@ export declare const nodeZ: z.ZodObject<{
1332
1344
  url: string;
1333
1345
  type?: string | undefined;
1334
1346
  };
1347
+ output?: Record<string, unknown> | undefined;
1335
1348
  tools?: {
1336
- allow?: string[] | undefined;
1337
1349
  deny?: string[] | undefined;
1350
+ allow?: string[] | undefined;
1338
1351
  } | undefined;
1339
1352
  model?: string | undefined;
1353
+ on_fail?: "halt" | "continue" | undefined;
1340
1354
  skills?: string[] | undefined;
1341
- output?: Record<string, unknown> | undefined;
1342
1355
  max_turns?: number | undefined;
1343
1356
  disallowed_tools?: string[] | undefined;
1344
1357
  fail_soft?: boolean | undefined;
@@ -1388,8 +1401,8 @@ export declare const nodeZ: z.ZodObject<{
1388
1401
  output_required?: string[] | undefined;
1389
1402
  output_matches?: {
1390
1403
  path: string;
1391
- equals?: unknown;
1392
1404
  in?: unknown[] | undefined;
1405
+ equals?: unknown;
1393
1406
  matches?: string | undefined;
1394
1407
  }[] | undefined;
1395
1408
  } | undefined;
@@ -1403,8 +1416,8 @@ export declare const nodeZ: z.ZodObject<{
1403
1416
  output_required?: string[] | undefined;
1404
1417
  output_matches?: {
1405
1418
  path: string;
1406
- equals?: unknown;
1407
1419
  in?: unknown[] | undefined;
1420
+ equals?: unknown;
1408
1421
  matches?: string | undefined;
1409
1422
  }[] | undefined;
1410
1423
  on_fail?: "fail" | "skip" | undefined;
@@ -1485,19 +1498,20 @@ export declare const workflowZ: z.ZodObject<{
1485
1498
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1486
1499
  deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1487
1500
  }, "strict", z.ZodTypeAny, {
1488
- allow?: string[] | undefined;
1489
1501
  deny?: string[] | undefined;
1490
- }, {
1491
1502
  allow?: string[] | undefined;
1503
+ }, {
1492
1504
  deny?: string[] | undefined;
1493
- }>, {
1494
1505
  allow?: string[] | undefined;
1506
+ }>, {
1495
1507
  deny?: string[] | undefined;
1496
- }, {
1497
1508
  allow?: string[] | undefined;
1509
+ }, {
1498
1510
  deny?: string[] | undefined;
1511
+ allow?: string[] | undefined;
1499
1512
  }>>;
1500
1513
  fail_soft: z.ZodOptional<z.ZodBoolean>;
1514
+ on_fail: z.ZodOptional<z.ZodEnum<["halt", "continue"]>>;
1501
1515
  rules: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1502
1516
  inline: z.ZodString;
1503
1517
  }, "strict", z.ZodTypeAny, {
@@ -1645,23 +1659,23 @@ export declare const workflowZ: z.ZodObject<{
1645
1659
  matches: z.ZodOptional<z.ZodString>;
1646
1660
  }, "strict", z.ZodTypeAny, {
1647
1661
  path: string;
1648
- equals?: unknown;
1649
1662
  in?: unknown[] | undefined;
1663
+ equals?: unknown;
1650
1664
  matches?: string | undefined;
1651
1665
  }, {
1652
1666
  path: string;
1653
- equals?: unknown;
1654
1667
  in?: unknown[] | undefined;
1668
+ equals?: unknown;
1655
1669
  matches?: string | undefined;
1656
1670
  }>, {
1657
1671
  path: string;
1658
- equals?: unknown;
1659
1672
  in?: unknown[] | undefined;
1673
+ equals?: unknown;
1660
1674
  matches?: string | undefined;
1661
1675
  }, {
1662
1676
  path: string;
1663
- equals?: unknown;
1664
1677
  in?: unknown[] | undefined;
1678
+ equals?: unknown;
1665
1679
  matches?: string | undefined;
1666
1680
  }>, "many">>;
1667
1681
  }, "strict", z.ZodTypeAny, {
@@ -1671,8 +1685,8 @@ export declare const workflowZ: z.ZodObject<{
1671
1685
  output_required?: string[] | undefined;
1672
1686
  output_matches?: {
1673
1687
  path: string;
1674
- equals?: unknown;
1675
1688
  in?: unknown[] | undefined;
1689
+ equals?: unknown;
1676
1690
  matches?: string | undefined;
1677
1691
  }[] | undefined;
1678
1692
  }, {
@@ -1682,8 +1696,8 @@ export declare const workflowZ: z.ZodObject<{
1682
1696
  output_required?: string[] | undefined;
1683
1697
  output_matches?: {
1684
1698
  path: string;
1685
- equals?: unknown;
1686
1699
  in?: unknown[] | undefined;
1700
+ equals?: unknown;
1687
1701
  matches?: string | undefined;
1688
1702
  }[] | undefined;
1689
1703
  }>, {
@@ -1693,8 +1707,8 @@ export declare const workflowZ: z.ZodObject<{
1693
1707
  output_required?: string[] | undefined;
1694
1708
  output_matches?: {
1695
1709
  path: string;
1696
- equals?: unknown;
1697
1710
  in?: unknown[] | undefined;
1711
+ equals?: unknown;
1698
1712
  matches?: string | undefined;
1699
1713
  }[] | undefined;
1700
1714
  }, {
@@ -1704,8 +1718,8 @@ export declare const workflowZ: z.ZodObject<{
1704
1718
  output_required?: string[] | undefined;
1705
1719
  output_matches?: {
1706
1720
  path: string;
1707
- equals?: unknown;
1708
1721
  in?: unknown[] | undefined;
1722
+ equals?: unknown;
1709
1723
  matches?: string | undefined;
1710
1724
  }[] | undefined;
1711
1725
  }>>;
@@ -1722,8 +1736,8 @@ export declare const workflowZ: z.ZodObject<{
1722
1736
  output_required?: string[] | undefined;
1723
1737
  output_matches?: {
1724
1738
  path: string;
1725
- equals?: unknown;
1726
1739
  in?: unknown[] | undefined;
1740
+ equals?: unknown;
1727
1741
  matches?: string | undefined;
1728
1742
  }[] | undefined;
1729
1743
  } | undefined;
@@ -1740,8 +1754,8 @@ export declare const workflowZ: z.ZodObject<{
1740
1754
  output_required?: string[] | undefined;
1741
1755
  output_matches?: {
1742
1756
  path: string;
1743
- equals?: unknown;
1744
1757
  in?: unknown[] | undefined;
1758
+ equals?: unknown;
1745
1759
  matches?: string | undefined;
1746
1760
  }[] | undefined;
1747
1761
  } | undefined;
@@ -1758,8 +1772,8 @@ export declare const workflowZ: z.ZodObject<{
1758
1772
  output_required?: string[] | undefined;
1759
1773
  output_matches?: {
1760
1774
  path: string;
1761
- equals?: unknown;
1762
1775
  in?: unknown[] | undefined;
1776
+ equals?: unknown;
1763
1777
  matches?: string | undefined;
1764
1778
  }[] | undefined;
1765
1779
  } | undefined;
@@ -1776,8 +1790,8 @@ export declare const workflowZ: z.ZodObject<{
1776
1790
  output_required?: string[] | undefined;
1777
1791
  output_matches?: {
1778
1792
  path: string;
1779
- equals?: unknown;
1780
1793
  in?: unknown[] | undefined;
1794
+ equals?: unknown;
1781
1795
  matches?: string | undefined;
1782
1796
  }[] | undefined;
1783
1797
  } | undefined;
@@ -1797,23 +1811,23 @@ export declare const workflowZ: z.ZodObject<{
1797
1811
  matches: z.ZodOptional<z.ZodString>;
1798
1812
  }, "strict", z.ZodTypeAny, {
1799
1813
  path: string;
1800
- equals?: unknown;
1801
1814
  in?: unknown[] | undefined;
1815
+ equals?: unknown;
1802
1816
  matches?: string | undefined;
1803
1817
  }, {
1804
1818
  path: string;
1805
- equals?: unknown;
1806
1819
  in?: unknown[] | undefined;
1820
+ equals?: unknown;
1807
1821
  matches?: string | undefined;
1808
1822
  }>, {
1809
1823
  path: string;
1810
- equals?: unknown;
1811
1824
  in?: unknown[] | undefined;
1825
+ equals?: unknown;
1812
1826
  matches?: string | undefined;
1813
1827
  }, {
1814
1828
  path: string;
1815
- equals?: unknown;
1816
1829
  in?: unknown[] | undefined;
1830
+ equals?: unknown;
1817
1831
  matches?: string | undefined;
1818
1832
  }>, "many">>;
1819
1833
  on_fail: z.ZodOptional<z.ZodEnum<["fail", "skip"]>>;
@@ -1821,8 +1835,8 @@ export declare const workflowZ: z.ZodObject<{
1821
1835
  output_required?: string[] | undefined;
1822
1836
  output_matches?: {
1823
1837
  path: string;
1824
- equals?: unknown;
1825
1838
  in?: unknown[] | undefined;
1839
+ equals?: unknown;
1826
1840
  matches?: string | undefined;
1827
1841
  }[] | undefined;
1828
1842
  on_fail?: "fail" | "skip" | undefined;
@@ -1830,8 +1844,8 @@ export declare const workflowZ: z.ZodObject<{
1830
1844
  output_required?: string[] | undefined;
1831
1845
  output_matches?: {
1832
1846
  path: string;
1833
- equals?: unknown;
1834
1847
  in?: unknown[] | undefined;
1848
+ equals?: unknown;
1835
1849
  matches?: string | undefined;
1836
1850
  }[] | undefined;
1837
1851
  on_fail?: "fail" | "skip" | undefined;
@@ -1839,8 +1853,8 @@ export declare const workflowZ: z.ZodObject<{
1839
1853
  output_required?: string[] | undefined;
1840
1854
  output_matches?: {
1841
1855
  path: string;
1842
- equals?: unknown;
1843
1856
  in?: unknown[] | undefined;
1857
+ equals?: unknown;
1844
1858
  matches?: string | undefined;
1845
1859
  }[] | undefined;
1846
1860
  on_fail?: "fail" | "skip" | undefined;
@@ -1848,8 +1862,8 @@ export declare const workflowZ: z.ZodObject<{
1848
1862
  output_required?: string[] | undefined;
1849
1863
  output_matches?: {
1850
1864
  path: string;
1851
- equals?: unknown;
1852
1865
  in?: unknown[] | undefined;
1866
+ equals?: unknown;
1853
1867
  matches?: string | undefined;
1854
1868
  }[] | undefined;
1855
1869
  on_fail?: "fail" | "skip" | undefined;
@@ -1895,12 +1909,13 @@ export declare const workflowZ: z.ZodObject<{
1895
1909
  type?: string | undefined;
1896
1910
  };
1897
1911
  skills: string[];
1912
+ output?: Record<string, unknown> | undefined;
1898
1913
  tools?: {
1899
- allow?: string[] | undefined;
1900
1914
  deny?: string[] | undefined;
1915
+ allow?: string[] | undefined;
1901
1916
  } | undefined;
1902
1917
  model?: string | undefined;
1903
- output?: Record<string, unknown> | undefined;
1918
+ on_fail?: "halt" | "continue" | undefined;
1904
1919
  max_turns?: number | undefined;
1905
1920
  disallowed_tools?: string[] | undefined;
1906
1921
  fail_soft?: boolean | undefined;
@@ -1950,8 +1965,8 @@ export declare const workflowZ: z.ZodObject<{
1950
1965
  output_required?: string[] | undefined;
1951
1966
  output_matches?: {
1952
1967
  path: string;
1953
- equals?: unknown;
1954
1968
  in?: unknown[] | undefined;
1969
+ equals?: unknown;
1955
1970
  matches?: string | undefined;
1956
1971
  }[] | undefined;
1957
1972
  } | undefined;
@@ -1965,8 +1980,8 @@ export declare const workflowZ: z.ZodObject<{
1965
1980
  output_required?: string[] | undefined;
1966
1981
  output_matches?: {
1967
1982
  path: string;
1968
- equals?: unknown;
1969
1983
  in?: unknown[] | undefined;
1984
+ equals?: unknown;
1970
1985
  matches?: string | undefined;
1971
1986
  }[] | undefined;
1972
1987
  on_fail?: "fail" | "skip" | undefined;
@@ -1989,13 +2004,14 @@ export declare const workflowZ: z.ZodObject<{
1989
2004
  url: string;
1990
2005
  type?: string | undefined;
1991
2006
  };
2007
+ output?: Record<string, unknown> | undefined;
1992
2008
  tools?: {
1993
- allow?: string[] | undefined;
1994
2009
  deny?: string[] | undefined;
2010
+ allow?: string[] | undefined;
1995
2011
  } | undefined;
1996
2012
  model?: string | undefined;
2013
+ on_fail?: "halt" | "continue" | undefined;
1997
2014
  skills?: string[] | undefined;
1998
- output?: Record<string, unknown> | undefined;
1999
2015
  max_turns?: number | undefined;
2000
2016
  disallowed_tools?: string[] | undefined;
2001
2017
  fail_soft?: boolean | undefined;
@@ -2045,8 +2061,8 @@ export declare const workflowZ: z.ZodObject<{
2045
2061
  output_required?: string[] | undefined;
2046
2062
  output_matches?: {
2047
2063
  path: string;
2048
- equals?: unknown;
2049
2064
  in?: unknown[] | undefined;
2065
+ equals?: unknown;
2050
2066
  matches?: string | undefined;
2051
2067
  }[] | undefined;
2052
2068
  } | undefined;
@@ -2060,8 +2076,8 @@ export declare const workflowZ: z.ZodObject<{
2060
2076
  output_required?: string[] | undefined;
2061
2077
  output_matches?: {
2062
2078
  path: string;
2063
- equals?: unknown;
2064
2079
  in?: unknown[] | undefined;
2080
+ equals?: unknown;
2065
2081
  matches?: string | undefined;
2066
2082
  }[] | undefined;
2067
2083
  on_fail?: "fail" | "skip" | undefined;
@@ -2106,31 +2122,31 @@ export declare const workflowZ: z.ZodObject<{
2106
2122
  }, "strict", z.ZodTypeAny, {
2107
2123
  url?: string | undefined;
2108
2124
  type?: "stdio" | "http" | undefined;
2109
- headers?: Record<string, string> | undefined;
2110
- env?: Record<string, string> | undefined;
2111
2125
  command?: string | undefined;
2112
2126
  args?: string[] | undefined;
2127
+ headers?: Record<string, string> | undefined;
2128
+ env?: Record<string, string> | undefined;
2113
2129
  }, {
2114
2130
  url?: string | undefined;
2115
2131
  type?: "stdio" | "http" | undefined;
2116
- headers?: Record<string, string> | undefined;
2117
- env?: Record<string, string> | undefined;
2118
2132
  command?: string | undefined;
2119
2133
  args?: string[] | undefined;
2134
+ headers?: Record<string, string> | undefined;
2135
+ env?: Record<string, string> | undefined;
2120
2136
  }>, {
2121
2137
  url?: string | undefined;
2122
2138
  type?: "stdio" | "http" | undefined;
2123
- headers?: Record<string, string> | undefined;
2124
- env?: Record<string, string> | undefined;
2125
2139
  command?: string | undefined;
2126
2140
  args?: string[] | undefined;
2141
+ headers?: Record<string, string> | undefined;
2142
+ env?: Record<string, string> | undefined;
2127
2143
  }, {
2128
2144
  url?: string | undefined;
2129
2145
  type?: "stdio" | "http" | undefined;
2130
- headers?: Record<string, string> | undefined;
2131
- env?: Record<string, string> | undefined;
2132
2146
  command?: string | undefined;
2133
2147
  args?: string[] | undefined;
2148
+ headers?: Record<string, string> | undefined;
2149
+ env?: Record<string, string> | undefined;
2134
2150
  }>>;
2135
2151
  }, "strict", z.ZodTypeAny, {
2136
2152
  description?: string | undefined;
@@ -2139,10 +2155,10 @@ export declare const workflowZ: z.ZodObject<{
2139
2155
  mcp?: {
2140
2156
  url?: string | undefined;
2141
2157
  type?: "stdio" | "http" | undefined;
2142
- headers?: Record<string, string> | undefined;
2143
- env?: Record<string, string> | undefined;
2144
2158
  command?: string | undefined;
2145
2159
  args?: string[] | undefined;
2160
+ headers?: Record<string, string> | undefined;
2161
+ env?: Record<string, string> | undefined;
2146
2162
  } | undefined;
2147
2163
  }, {
2148
2164
  description?: string | undefined;
@@ -2151,10 +2167,10 @@ export declare const workflowZ: z.ZodObject<{
2151
2167
  mcp?: {
2152
2168
  url?: string | undefined;
2153
2169
  type?: "stdio" | "http" | undefined;
2154
- headers?: Record<string, string> | undefined;
2155
- env?: Record<string, string> | undefined;
2156
2170
  command?: string | undefined;
2157
2171
  args?: string[] | undefined;
2172
+ headers?: Record<string, string> | undefined;
2173
+ env?: Record<string, string> | undefined;
2158
2174
  } | undefined;
2159
2175
  }>, {
2160
2176
  description?: string | undefined;
@@ -2163,10 +2179,10 @@ export declare const workflowZ: z.ZodObject<{
2163
2179
  mcp?: {
2164
2180
  url?: string | undefined;
2165
2181
  type?: "stdio" | "http" | undefined;
2166
- headers?: Record<string, string> | undefined;
2167
- env?: Record<string, string> | undefined;
2168
2182
  command?: string | undefined;
2169
2183
  args?: string[] | undefined;
2184
+ headers?: Record<string, string> | undefined;
2185
+ env?: Record<string, string> | undefined;
2170
2186
  } | undefined;
2171
2187
  }, {
2172
2188
  description?: string | undefined;
@@ -2175,10 +2191,10 @@ export declare const workflowZ: z.ZodObject<{
2175
2191
  mcp?: {
2176
2192
  url?: string | undefined;
2177
2193
  type?: "stdio" | "http" | undefined;
2178
- headers?: Record<string, string> | undefined;
2179
- env?: Record<string, string> | undefined;
2180
2194
  command?: string | undefined;
2181
2195
  args?: string[] | undefined;
2196
+ headers?: Record<string, string> | undefined;
2197
+ env?: Record<string, string> | undefined;
2182
2198
  } | undefined;
2183
2199
  }>>>;
2184
2200
  rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2270,10 +2286,10 @@ export declare const workflowZ: z.ZodObject<{
2270
2286
  mcp?: {
2271
2287
  url?: string | undefined;
2272
2288
  type?: "stdio" | "http" | undefined;
2273
- headers?: Record<string, string> | undefined;
2274
- env?: Record<string, string> | undefined;
2275
2289
  command?: string | undefined;
2276
2290
  args?: string[] | undefined;
2291
+ headers?: Record<string, string> | undefined;
2292
+ env?: Record<string, string> | undefined;
2277
2293
  } | undefined;
2278
2294
  }>;
2279
2295
  nodes: Record<string, {
@@ -2287,12 +2303,13 @@ export declare const workflowZ: z.ZodObject<{
2287
2303
  type?: string | undefined;
2288
2304
  };
2289
2305
  skills: string[];
2306
+ output?: Record<string, unknown> | undefined;
2290
2307
  tools?: {
2291
- allow?: string[] | undefined;
2292
2308
  deny?: string[] | undefined;
2309
+ allow?: string[] | undefined;
2293
2310
  } | undefined;
2294
2311
  model?: string | undefined;
2295
- output?: Record<string, unknown> | undefined;
2312
+ on_fail?: "halt" | "continue" | undefined;
2296
2313
  max_turns?: number | undefined;
2297
2314
  disallowed_tools?: string[] | undefined;
2298
2315
  fail_soft?: boolean | undefined;
@@ -2342,8 +2359,8 @@ export declare const workflowZ: z.ZodObject<{
2342
2359
  output_required?: string[] | undefined;
2343
2360
  output_matches?: {
2344
2361
  path: string;
2345
- equals?: unknown;
2346
2362
  in?: unknown[] | undefined;
2363
+ equals?: unknown;
2347
2364
  matches?: string | undefined;
2348
2365
  }[] | undefined;
2349
2366
  } | undefined;
@@ -2357,8 +2374,8 @@ export declare const workflowZ: z.ZodObject<{
2357
2374
  output_required?: string[] | undefined;
2358
2375
  output_matches?: {
2359
2376
  path: string;
2360
- equals?: unknown;
2361
2377
  in?: unknown[] | undefined;
2378
+ equals?: unknown;
2362
2379
  matches?: string | undefined;
2363
2380
  }[] | undefined;
2364
2381
  on_fail?: "fail" | "skip" | undefined;
@@ -2419,13 +2436,14 @@ export declare const workflowZ: z.ZodObject<{
2419
2436
  url: string;
2420
2437
  type?: string | undefined;
2421
2438
  };
2439
+ output?: Record<string, unknown> | undefined;
2422
2440
  tools?: {
2423
- allow?: string[] | undefined;
2424
2441
  deny?: string[] | undefined;
2442
+ allow?: string[] | undefined;
2425
2443
  } | undefined;
2426
2444
  model?: string | undefined;
2445
+ on_fail?: "halt" | "continue" | undefined;
2427
2446
  skills?: string[] | undefined;
2428
- output?: Record<string, unknown> | undefined;
2429
2447
  max_turns?: number | undefined;
2430
2448
  disallowed_tools?: string[] | undefined;
2431
2449
  fail_soft?: boolean | undefined;
@@ -2475,8 +2493,8 @@ export declare const workflowZ: z.ZodObject<{
2475
2493
  output_required?: string[] | undefined;
2476
2494
  output_matches?: {
2477
2495
  path: string;
2478
- equals?: unknown;
2479
2496
  in?: unknown[] | undefined;
2497
+ equals?: unknown;
2480
2498
  matches?: string | undefined;
2481
2499
  }[] | undefined;
2482
2500
  } | undefined;
@@ -2490,8 +2508,8 @@ export declare const workflowZ: z.ZodObject<{
2490
2508
  output_required?: string[] | undefined;
2491
2509
  output_matches?: {
2492
2510
  path: string;
2493
- equals?: unknown;
2494
2511
  in?: unknown[] | undefined;
2512
+ equals?: unknown;
2495
2513
  matches?: string | undefined;
2496
2514
  }[] | undefined;
2497
2515
  on_fail?: "fail" | "skip" | undefined;
@@ -2521,10 +2539,10 @@ export declare const workflowZ: z.ZodObject<{
2521
2539
  mcp?: {
2522
2540
  url?: string | undefined;
2523
2541
  type?: "stdio" | "http" | undefined;
2524
- headers?: Record<string, string> | undefined;
2525
- env?: Record<string, string> | undefined;
2526
2542
  command?: string | undefined;
2527
2543
  args?: string[] | undefined;
2544
+ headers?: Record<string, string> | undefined;
2545
+ env?: Record<string, string> | undefined;
2528
2546
  } | undefined;
2529
2547
  }> | undefined;
2530
2548
  rules?: (string | {
@@ -2578,10 +2596,10 @@ export declare function parseWorkflow(raw: unknown): {
2578
2596
  mcp?: {
2579
2597
  url?: string | undefined;
2580
2598
  type?: "stdio" | "http" | undefined;
2581
- headers?: Record<string, string> | undefined;
2582
- env?: Record<string, string> | undefined;
2583
2599
  command?: string | undefined;
2584
2600
  args?: string[] | undefined;
2601
+ headers?: Record<string, string> | undefined;
2602
+ env?: Record<string, string> | undefined;
2585
2603
  } | undefined;
2586
2604
  }>;
2587
2605
  nodes: Record<string, {
@@ -2595,12 +2613,13 @@ export declare function parseWorkflow(raw: unknown): {
2595
2613
  type?: string | undefined;
2596
2614
  };
2597
2615
  skills: string[];
2616
+ output?: Record<string, unknown> | undefined;
2598
2617
  tools?: {
2599
- allow?: string[] | undefined;
2600
2618
  deny?: string[] | undefined;
2619
+ allow?: string[] | undefined;
2601
2620
  } | undefined;
2602
2621
  model?: string | undefined;
2603
- output?: Record<string, unknown> | undefined;
2622
+ on_fail?: "halt" | "continue" | undefined;
2604
2623
  max_turns?: number | undefined;
2605
2624
  disallowed_tools?: string[] | undefined;
2606
2625
  fail_soft?: boolean | undefined;
@@ -2650,8 +2669,8 @@ export declare function parseWorkflow(raw: unknown): {
2650
2669
  output_required?: string[] | undefined;
2651
2670
  output_matches?: {
2652
2671
  path: string;
2653
- equals?: unknown;
2654
2672
  in?: unknown[] | undefined;
2673
+ equals?: unknown;
2655
2674
  matches?: string | undefined;
2656
2675
  }[] | undefined;
2657
2676
  } | undefined;
@@ -2665,8 +2684,8 @@ export declare function parseWorkflow(raw: unknown): {
2665
2684
  output_required?: string[] | undefined;
2666
2685
  output_matches?: {
2667
2686
  path: string;
2668
- equals?: unknown;
2669
2687
  in?: unknown[] | undefined;
2688
+ equals?: unknown;
2670
2689
  matches?: string | undefined;
2671
2690
  }[] | undefined;
2672
2691
  on_fail?: "fail" | "skip" | undefined;
@@ -3198,6 +3217,11 @@ export declare const workflowJsonSchema: {
3198
3217
  readonly type: "boolean";
3199
3218
  readonly description: "When true, an agent-level failure at this node (max turns, early termination, SDK error) is downgraded to success with fail_soft: true and the error preserved in data; routing proceeds with partial output. Eval failures are not softened. Default false.";
3200
3219
  };
3220
+ readonly on_fail: {
3221
+ readonly type: "string";
3222
+ readonly enum: readonly ["halt", "continue"];
3223
+ readonly description: "What to do when this node finishes 'failed' (agent-level failure, or an eval failure that exhausted retries and was not softened by fail_soft). 'halt' (default) stops the workflow with the failure surfaced so a broken node never advances down a conditional edge; 'continue' preserves the legacy fall-through where routing proceeds from the failed node. Distinct from requires.on_fail (the pre-condition gate).";
3224
+ };
3201
3225
  readonly rules: {
3202
3226
  readonly $ref: "#/$defs/NodeSources";
3203
3227
  readonly description: "Per-node rules. Additive by default; set { only: true } to block cascade.";
@@ -3269,6 +3293,7 @@ export declare const workflowJsonSchema: {
3269
3293
  readonly max: {
3270
3294
  readonly type: "integer";
3271
3295
  readonly minimum: 1;
3296
+ readonly maximum: 10;
3272
3297
  };
3273
3298
  readonly instruction: {
3274
3299
  readonly oneOf: readonly [{
@@ -3522,6 +3547,11 @@ export declare const skillJsonSchema: {
3522
3547
  readonly type: "object";
3523
3548
  readonly description: "JSON Schema defining the tool's input parameters.";
3524
3549
  };
3550
+ readonly access: {
3551
+ readonly type: "string";
3552
+ readonly enum: readonly ["read", "write"];
3553
+ readonly description: "Side-effect class: read (only reads) or write (creates, updates, deletes, posts, sends). Absent means write. Dry runs pass only read tools to nodes.";
3554
+ };
3525
3555
  };
3526
3556
  };
3527
3557
  readonly McpServerConfig: {