@sweny-ai/core 0.1.171 → 0.1.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.d.ts CHANGED
@@ -61,29 +61,29 @@ export declare const mcpServerConfigZ: z.ZodEffects<z.ZodObject<{
61
61
  }, "strict", z.ZodTypeAny, {
62
62
  url?: string | undefined;
63
63
  type?: "stdio" | "http" | undefined;
64
- command?: string | undefined;
65
64
  args?: string[] | undefined;
65
+ command?: string | undefined;
66
66
  headers?: Record<string, string> | undefined;
67
67
  env?: Record<string, string> | undefined;
68
68
  }, {
69
69
  url?: string | undefined;
70
70
  type?: "stdio" | "http" | undefined;
71
- command?: string | undefined;
72
71
  args?: string[] | undefined;
72
+ command?: string | undefined;
73
73
  headers?: Record<string, string> | undefined;
74
74
  env?: Record<string, string> | undefined;
75
75
  }>, {
76
76
  url?: string | undefined;
77
77
  type?: "stdio" | "http" | undefined;
78
- command?: string | undefined;
79
78
  args?: string[] | undefined;
79
+ command?: string | undefined;
80
80
  headers?: Record<string, string> | undefined;
81
81
  env?: Record<string, string> | undefined;
82
82
  }, {
83
83
  url?: string | undefined;
84
84
  type?: "stdio" | "http" | undefined;
85
- command?: string | undefined;
86
85
  args?: string[] | undefined;
86
+ command?: string | undefined;
87
87
  headers?: Record<string, string> | undefined;
88
88
  env?: Record<string, string> | undefined;
89
89
  }>;
@@ -101,29 +101,29 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
101
101
  }, "strict", z.ZodTypeAny, {
102
102
  url?: string | undefined;
103
103
  type?: "stdio" | "http" | undefined;
104
- command?: string | undefined;
105
104
  args?: string[] | undefined;
105
+ command?: string | undefined;
106
106
  headers?: Record<string, string> | undefined;
107
107
  env?: Record<string, string> | undefined;
108
108
  }, {
109
109
  url?: string | undefined;
110
110
  type?: "stdio" | "http" | undefined;
111
- command?: string | undefined;
112
111
  args?: string[] | undefined;
112
+ command?: string | undefined;
113
113
  headers?: Record<string, string> | undefined;
114
114
  env?: Record<string, string> | undefined;
115
115
  }>, {
116
116
  url?: string | undefined;
117
117
  type?: "stdio" | "http" | undefined;
118
- command?: string | undefined;
119
118
  args?: string[] | undefined;
119
+ command?: string | undefined;
120
120
  headers?: Record<string, string> | undefined;
121
121
  env?: Record<string, string> | undefined;
122
122
  }, {
123
123
  url?: string | undefined;
124
124
  type?: "stdio" | "http" | undefined;
125
- command?: string | undefined;
126
125
  args?: string[] | undefined;
126
+ command?: string | undefined;
127
127
  headers?: Record<string, string> | undefined;
128
128
  env?: Record<string, string> | undefined;
129
129
  }>>;
@@ -134,8 +134,8 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
134
134
  mcp?: {
135
135
  url?: string | undefined;
136
136
  type?: "stdio" | "http" | undefined;
137
- command?: string | undefined;
138
137
  args?: string[] | undefined;
138
+ command?: string | undefined;
139
139
  headers?: Record<string, string> | undefined;
140
140
  env?: Record<string, string> | undefined;
141
141
  } | undefined;
@@ -146,8 +146,8 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
146
146
  mcp?: {
147
147
  url?: string | undefined;
148
148
  type?: "stdio" | "http" | undefined;
149
- command?: string | undefined;
150
149
  args?: string[] | undefined;
150
+ command?: string | undefined;
151
151
  headers?: Record<string, string> | undefined;
152
152
  env?: Record<string, string> | undefined;
153
153
  } | undefined;
@@ -158,8 +158,8 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
158
158
  mcp?: {
159
159
  url?: string | undefined;
160
160
  type?: "stdio" | "http" | undefined;
161
- command?: string | undefined;
162
161
  args?: string[] | undefined;
162
+ command?: string | undefined;
163
163
  headers?: Record<string, string> | undefined;
164
164
  env?: Record<string, string> | undefined;
165
165
  } | undefined;
@@ -170,8 +170,8 @@ export declare const skillDefinitionZ: z.ZodEffects<z.ZodObject<{
170
170
  mcp?: {
171
171
  url?: string | undefined;
172
172
  type?: "stdio" | "http" | undefined;
173
- command?: string | undefined;
174
173
  args?: string[] | undefined;
174
+ command?: string | undefined;
175
175
  headers?: Record<string, string> | undefined;
176
176
  env?: Record<string, string> | undefined;
177
177
  } | undefined;
@@ -221,29 +221,29 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
221
221
  }, "strict", z.ZodTypeAny, {
222
222
  url?: string | undefined;
223
223
  type?: "stdio" | "http" | undefined;
224
- command?: string | undefined;
225
224
  args?: string[] | undefined;
225
+ command?: string | undefined;
226
226
  headers?: Record<string, string> | undefined;
227
227
  env?: Record<string, string> | undefined;
228
228
  }, {
229
229
  url?: string | undefined;
230
230
  type?: "stdio" | "http" | undefined;
231
- command?: string | undefined;
232
231
  args?: string[] | undefined;
232
+ command?: string | undefined;
233
233
  headers?: Record<string, string> | undefined;
234
234
  env?: Record<string, string> | undefined;
235
235
  }>, {
236
236
  url?: string | undefined;
237
237
  type?: "stdio" | "http" | undefined;
238
- command?: string | undefined;
239
238
  args?: string[] | undefined;
239
+ command?: string | undefined;
240
240
  headers?: Record<string, string> | undefined;
241
241
  env?: Record<string, string> | undefined;
242
242
  }, {
243
243
  url?: string | undefined;
244
244
  type?: "stdio" | "http" | undefined;
245
- command?: string | undefined;
246
245
  args?: string[] | undefined;
246
+ command?: string | undefined;
247
247
  headers?: Record<string, string> | undefined;
248
248
  env?: Record<string, string> | undefined;
249
249
  }>>;
@@ -252,24 +252,24 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
252
252
  description: string;
253
253
  name: string;
254
254
  id: string;
255
- config: Record<string, {
256
- description: string;
257
- required?: boolean | undefined;
258
- env?: string | undefined;
259
- }>;
260
255
  tools: {
261
256
  description: string;
262
257
  name: string;
263
258
  input_schema: Record<string, unknown>;
264
259
  access?: "write" | "read" | undefined;
265
260
  }[];
261
+ config: Record<string, {
262
+ description: string;
263
+ required?: boolean | undefined;
264
+ env?: string | undefined;
265
+ }>;
266
266
  category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
267
267
  instruction?: string | undefined;
268
268
  mcp?: {
269
269
  url?: string | undefined;
270
270
  type?: "stdio" | "http" | undefined;
271
- command?: string | undefined;
272
271
  args?: string[] | undefined;
272
+ command?: string | undefined;
273
273
  headers?: Record<string, string> | undefined;
274
274
  env?: Record<string, string> | undefined;
275
275
  } | undefined;
@@ -279,11 +279,6 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
279
279
  name: string;
280
280
  id: string;
281
281
  category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
282
- config?: Record<string, {
283
- description: string;
284
- required?: boolean | undefined;
285
- env?: string | undefined;
286
- }> | undefined;
287
282
  instruction?: string | undefined;
288
283
  tools?: {
289
284
  description: string;
@@ -291,11 +286,16 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
291
286
  input_schema: Record<string, unknown>;
292
287
  access?: "write" | "read" | undefined;
293
288
  }[] | undefined;
289
+ config?: Record<string, {
290
+ description: string;
291
+ required?: boolean | undefined;
292
+ env?: string | undefined;
293
+ }> | undefined;
294
294
  mcp?: {
295
295
  url?: string | undefined;
296
296
  type?: "stdio" | "http" | undefined;
297
- command?: string | undefined;
298
297
  args?: string[] | undefined;
298
+ command?: string | undefined;
299
299
  headers?: Record<string, string> | undefined;
300
300
  env?: Record<string, string> | undefined;
301
301
  } | undefined;
@@ -304,24 +304,24 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
304
304
  description: string;
305
305
  name: string;
306
306
  id: string;
307
- config: Record<string, {
308
- description: string;
309
- required?: boolean | undefined;
310
- env?: string | undefined;
311
- }>;
312
307
  tools: {
313
308
  description: string;
314
309
  name: string;
315
310
  input_schema: Record<string, unknown>;
316
311
  access?: "write" | "read" | undefined;
317
312
  }[];
313
+ config: Record<string, {
314
+ description: string;
315
+ required?: boolean | undefined;
316
+ env?: string | undefined;
317
+ }>;
318
318
  category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
319
319
  instruction?: string | undefined;
320
320
  mcp?: {
321
321
  url?: string | undefined;
322
322
  type?: "stdio" | "http" | undefined;
323
- command?: string | undefined;
324
323
  args?: string[] | undefined;
324
+ command?: string | undefined;
325
325
  headers?: Record<string, string> | undefined;
326
326
  env?: Record<string, string> | undefined;
327
327
  } | undefined;
@@ -331,11 +331,6 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
331
331
  name: string;
332
332
  id: string;
333
333
  category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
334
- config?: Record<string, {
335
- description: string;
336
- required?: boolean | undefined;
337
- env?: string | undefined;
338
- }> | undefined;
339
334
  instruction?: string | undefined;
340
335
  tools?: {
341
336
  description: string;
@@ -343,11 +338,16 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
343
338
  input_schema: Record<string, unknown>;
344
339
  access?: "write" | "read" | undefined;
345
340
  }[] | undefined;
341
+ config?: Record<string, {
342
+ description: string;
343
+ required?: boolean | undefined;
344
+ env?: string | undefined;
345
+ }> | undefined;
346
346
  mcp?: {
347
347
  url?: string | undefined;
348
348
  type?: "stdio" | "http" | undefined;
349
- command?: string | undefined;
350
349
  args?: string[] | undefined;
350
+ command?: string | undefined;
351
351
  headers?: Record<string, string> | undefined;
352
352
  env?: Record<string, string> | undefined;
353
353
  } | undefined;
@@ -765,17 +765,17 @@ export declare const nodeToolsZ: z.ZodEffects<z.ZodObject<{
765
765
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
766
766
  deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
767
767
  }, "strict", z.ZodTypeAny, {
768
- deny?: string[] | undefined;
769
768
  allow?: string[] | undefined;
770
- }, {
771
769
  deny?: string[] | undefined;
770
+ }, {
772
771
  allow?: string[] | undefined;
773
- }>, {
774
772
  deny?: string[] | undefined;
773
+ }>, {
775
774
  allow?: string[] | undefined;
776
- }, {
777
775
  deny?: string[] | undefined;
776
+ }, {
778
777
  allow?: string[] | undefined;
778
+ deny?: string[] | undefined;
779
779
  }>;
780
780
  /**
781
781
  * Ceiling on `retry.max`. Each retry attempt re-invokes the agent on the
@@ -942,10 +942,10 @@ export declare const safeOutputDeclarationZ: z.ZodObject<{
942
942
  } | undefined;
943
943
  labels?: string[] | undefined;
944
944
  state?: "reopen" | "close" | undefined;
945
- max?: number | undefined;
946
945
  via?: string | undefined;
947
946
  target?: string | undefined;
948
947
  title_prefix?: string | undefined;
948
+ max?: number | undefined;
949
949
  expires?: string | undefined;
950
950
  }, {
951
951
  type: "comment" | "issue" | "pr" | "label" | "issue_state";
@@ -954,10 +954,10 @@ export declare const safeOutputDeclarationZ: z.ZodObject<{
954
954
  } | undefined;
955
955
  labels?: string[] | undefined;
956
956
  state?: "reopen" | "close" | undefined;
957
- max?: number | undefined;
958
957
  via?: string | undefined;
959
958
  target?: string | undefined;
960
959
  title_prefix?: string | undefined;
960
+ max?: number | undefined;
961
961
  expires?: string | undefined;
962
962
  }>;
963
963
  /** Workflow-level safe-output policy (#365): the ceiling and run-wide limits. */
@@ -1034,17 +1034,17 @@ export declare const nodeZ: z.ZodObject<{
1034
1034
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1035
1035
  deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1036
1036
  }, "strict", z.ZodTypeAny, {
1037
- deny?: string[] | undefined;
1038
1037
  allow?: string[] | undefined;
1039
- }, {
1040
1038
  deny?: string[] | undefined;
1039
+ }, {
1041
1040
  allow?: string[] | undefined;
1042
- }>, {
1043
1041
  deny?: string[] | undefined;
1042
+ }>, {
1044
1043
  allow?: string[] | undefined;
1045
- }, {
1046
1044
  deny?: string[] | undefined;
1045
+ }, {
1047
1046
  allow?: string[] | undefined;
1047
+ deny?: string[] | undefined;
1048
1048
  }>>;
1049
1049
  fail_soft: z.ZodOptional<z.ZodBoolean>;
1050
1050
  on_fail: z.ZodOptional<z.ZodEnum<["halt", "continue"]>>;
@@ -1092,10 +1092,10 @@ export declare const nodeZ: z.ZodObject<{
1092
1092
  } | undefined;
1093
1093
  labels?: string[] | undefined;
1094
1094
  state?: "reopen" | "close" | undefined;
1095
- max?: number | undefined;
1096
1095
  via?: string | undefined;
1097
1096
  target?: string | undefined;
1098
1097
  title_prefix?: string | undefined;
1098
+ max?: number | undefined;
1099
1099
  expires?: string | undefined;
1100
1100
  }, {
1101
1101
  type: "comment" | "issue" | "pr" | "label" | "issue_state";
@@ -1104,10 +1104,10 @@ export declare const nodeZ: z.ZodObject<{
1104
1104
  } | undefined;
1105
1105
  labels?: string[] | undefined;
1106
1106
  state?: "reopen" | "close" | undefined;
1107
- max?: number | undefined;
1108
1107
  via?: string | undefined;
1109
1108
  target?: string | undefined;
1110
1109
  title_prefix?: string | undefined;
1110
+ max?: number | undefined;
1111
1111
  expires?: string | undefined;
1112
1112
  }>, "many">>;
1113
1113
  rules: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1508,7 +1508,6 @@ export declare const nodeZ: z.ZodObject<{
1508
1508
  };
1509
1509
  skills: string[];
1510
1510
  model?: string | undefined;
1511
- output?: Record<string, unknown> | undefined;
1512
1511
  permissions?: "write" | "read" | {
1513
1512
  strict?: boolean | undefined;
1514
1513
  deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
@@ -1521,12 +1520,13 @@ export declare const nodeZ: z.ZodObject<{
1521
1520
  } | undefined;
1522
1521
  labels?: string[] | undefined;
1523
1522
  state?: "reopen" | "close" | undefined;
1524
- max?: number | undefined;
1525
1523
  via?: string | undefined;
1526
1524
  target?: string | undefined;
1527
1525
  title_prefix?: string | undefined;
1526
+ max?: number | undefined;
1528
1527
  expires?: string | undefined;
1529
1528
  }[] | undefined;
1529
+ output?: Record<string, unknown> | undefined;
1530
1530
  max_turns?: number | undefined;
1531
1531
  budget?: {
1532
1532
  tokens?: number | undefined;
@@ -1610,8 +1610,8 @@ export declare const nodeZ: z.ZodObject<{
1610
1610
  disallowed_tools?: string[] | undefined;
1611
1611
  agent_env?: string[] | undefined;
1612
1612
  tools?: {
1613
- deny?: string[] | undefined;
1614
1613
  allow?: string[] | undefined;
1614
+ deny?: string[] | undefined;
1615
1615
  } | undefined;
1616
1616
  fail_soft?: boolean | undefined;
1617
1617
  on_fail?: "halt" | "continue" | undefined;
@@ -1626,7 +1626,6 @@ export declare const nodeZ: z.ZodObject<{
1626
1626
  type?: string | undefined;
1627
1627
  };
1628
1628
  model?: string | undefined;
1629
- output?: Record<string, unknown> | undefined;
1630
1629
  permissions?: "write" | "read" | {
1631
1630
  strict?: boolean | undefined;
1632
1631
  deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
@@ -1639,13 +1638,14 @@ export declare const nodeZ: z.ZodObject<{
1639
1638
  } | undefined;
1640
1639
  labels?: string[] | undefined;
1641
1640
  state?: "reopen" | "close" | undefined;
1642
- max?: number | undefined;
1643
1641
  via?: string | undefined;
1644
1642
  target?: string | undefined;
1645
1643
  title_prefix?: string | undefined;
1644
+ max?: number | undefined;
1646
1645
  expires?: string | undefined;
1647
1646
  }[] | undefined;
1648
1647
  skills?: string[] | undefined;
1648
+ output?: Record<string, unknown> | undefined;
1649
1649
  max_turns?: number | undefined;
1650
1650
  budget?: {
1651
1651
  tokens?: number | undefined;
@@ -1729,8 +1729,8 @@ export declare const nodeZ: z.ZodObject<{
1729
1729
  disallowed_tools?: string[] | undefined;
1730
1730
  agent_env?: string[] | undefined;
1731
1731
  tools?: {
1732
- deny?: string[] | undefined;
1733
1732
  allow?: string[] | undefined;
1733
+ deny?: string[] | undefined;
1734
1734
  } | undefined;
1735
1735
  fail_soft?: boolean | undefined;
1736
1736
  on_fail?: "halt" | "continue" | undefined;
@@ -1749,17 +1749,17 @@ export declare const edgeZ: z.ZodObject<{
1749
1749
  }, "strict", z.ZodTypeAny, {
1750
1750
  from: string;
1751
1751
  to: string;
1752
+ max_iterations?: number | undefined;
1752
1753
  when?: string | {
1753
1754
  expr: string;
1754
1755
  } | undefined;
1755
- max_iterations?: number | undefined;
1756
1756
  }, {
1757
1757
  from: string;
1758
1758
  to: string;
1759
+ max_iterations?: number | undefined;
1759
1760
  when?: string | {
1760
1761
  expr: string;
1761
1762
  } | undefined;
1762
- max_iterations?: number | undefined;
1763
1763
  }>;
1764
1764
  /**
1765
1765
  * Workflow type discriminator. Cloud uses this to route runs to a
@@ -1830,17 +1830,17 @@ export declare const workflowZ: z.ZodObject<{
1830
1830
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1831
1831
  deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1832
1832
  }, "strict", z.ZodTypeAny, {
1833
- deny?: string[] | undefined;
1834
1833
  allow?: string[] | undefined;
1835
- }, {
1836
1834
  deny?: string[] | undefined;
1835
+ }, {
1837
1836
  allow?: string[] | undefined;
1838
- }>, {
1839
1837
  deny?: string[] | undefined;
1838
+ }>, {
1840
1839
  allow?: string[] | undefined;
1841
- }, {
1842
1840
  deny?: string[] | undefined;
1841
+ }, {
1843
1842
  allow?: string[] | undefined;
1843
+ deny?: string[] | undefined;
1844
1844
  }>>;
1845
1845
  fail_soft: z.ZodOptional<z.ZodBoolean>;
1846
1846
  on_fail: z.ZodOptional<z.ZodEnum<["halt", "continue"]>>;
@@ -1888,10 +1888,10 @@ export declare const workflowZ: z.ZodObject<{
1888
1888
  } | undefined;
1889
1889
  labels?: string[] | undefined;
1890
1890
  state?: "reopen" | "close" | undefined;
1891
- max?: number | undefined;
1892
1891
  via?: string | undefined;
1893
1892
  target?: string | undefined;
1894
1893
  title_prefix?: string | undefined;
1894
+ max?: number | undefined;
1895
1895
  expires?: string | undefined;
1896
1896
  }, {
1897
1897
  type: "comment" | "issue" | "pr" | "label" | "issue_state";
@@ -1900,10 +1900,10 @@ export declare const workflowZ: z.ZodObject<{
1900
1900
  } | undefined;
1901
1901
  labels?: string[] | undefined;
1902
1902
  state?: "reopen" | "close" | undefined;
1903
- max?: number | undefined;
1904
1903
  via?: string | undefined;
1905
1904
  target?: string | undefined;
1906
1905
  title_prefix?: string | undefined;
1906
+ max?: number | undefined;
1907
1907
  expires?: string | undefined;
1908
1908
  }>, "many">>;
1909
1909
  rules: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2304,7 +2304,6 @@ export declare const workflowZ: z.ZodObject<{
2304
2304
  };
2305
2305
  skills: string[];
2306
2306
  model?: string | undefined;
2307
- output?: Record<string, unknown> | undefined;
2308
2307
  permissions?: "write" | "read" | {
2309
2308
  strict?: boolean | undefined;
2310
2309
  deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
@@ -2317,12 +2316,13 @@ export declare const workflowZ: z.ZodObject<{
2317
2316
  } | undefined;
2318
2317
  labels?: string[] | undefined;
2319
2318
  state?: "reopen" | "close" | undefined;
2320
- max?: number | undefined;
2321
2319
  via?: string | undefined;
2322
2320
  target?: string | undefined;
2323
2321
  title_prefix?: string | undefined;
2322
+ max?: number | undefined;
2324
2323
  expires?: string | undefined;
2325
2324
  }[] | undefined;
2325
+ output?: Record<string, unknown> | undefined;
2326
2326
  max_turns?: number | undefined;
2327
2327
  budget?: {
2328
2328
  tokens?: number | undefined;
@@ -2406,8 +2406,8 @@ export declare const workflowZ: z.ZodObject<{
2406
2406
  disallowed_tools?: string[] | undefined;
2407
2407
  agent_env?: string[] | undefined;
2408
2408
  tools?: {
2409
- deny?: string[] | undefined;
2410
2409
  allow?: string[] | undefined;
2410
+ deny?: string[] | undefined;
2411
2411
  } | undefined;
2412
2412
  fail_soft?: boolean | undefined;
2413
2413
  on_fail?: "halt" | "continue" | undefined;
@@ -2422,7 +2422,6 @@ export declare const workflowZ: z.ZodObject<{
2422
2422
  type?: string | undefined;
2423
2423
  };
2424
2424
  model?: string | undefined;
2425
- output?: Record<string, unknown> | undefined;
2426
2425
  permissions?: "write" | "read" | {
2427
2426
  strict?: boolean | undefined;
2428
2427
  deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
@@ -2435,13 +2434,14 @@ export declare const workflowZ: z.ZodObject<{
2435
2434
  } | undefined;
2436
2435
  labels?: string[] | undefined;
2437
2436
  state?: "reopen" | "close" | undefined;
2438
- max?: number | undefined;
2439
2437
  via?: string | undefined;
2440
2438
  target?: string | undefined;
2441
2439
  title_prefix?: string | undefined;
2440
+ max?: number | undefined;
2442
2441
  expires?: string | undefined;
2443
2442
  }[] | undefined;
2444
2443
  skills?: string[] | undefined;
2444
+ output?: Record<string, unknown> | undefined;
2445
2445
  max_turns?: number | undefined;
2446
2446
  budget?: {
2447
2447
  tokens?: number | undefined;
@@ -2525,8 +2525,8 @@ export declare const workflowZ: z.ZodObject<{
2525
2525
  disallowed_tools?: string[] | undefined;
2526
2526
  agent_env?: string[] | undefined;
2527
2527
  tools?: {
2528
- deny?: string[] | undefined;
2529
2528
  allow?: string[] | undefined;
2529
+ deny?: string[] | undefined;
2530
2530
  } | undefined;
2531
2531
  fail_soft?: boolean | undefined;
2532
2532
  on_fail?: "halt" | "continue" | undefined;
@@ -2545,17 +2545,17 @@ export declare const workflowZ: z.ZodObject<{
2545
2545
  }, "strict", z.ZodTypeAny, {
2546
2546
  from: string;
2547
2547
  to: string;
2548
+ max_iterations?: number | undefined;
2548
2549
  when?: string | {
2549
2550
  expr: string;
2550
2551
  } | undefined;
2551
- max_iterations?: number | undefined;
2552
2552
  }, {
2553
2553
  from: string;
2554
2554
  to: string;
2555
+ max_iterations?: number | undefined;
2555
2556
  when?: string | {
2556
2557
  expr: string;
2557
2558
  } | undefined;
2558
- max_iterations?: number | undefined;
2559
2559
  }>, "many">;
2560
2560
  entry: z.ZodString;
2561
2561
  skills: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -2572,29 +2572,29 @@ export declare const workflowZ: z.ZodObject<{
2572
2572
  }, "strict", z.ZodTypeAny, {
2573
2573
  url?: string | undefined;
2574
2574
  type?: "stdio" | "http" | undefined;
2575
- command?: string | undefined;
2576
2575
  args?: string[] | undefined;
2576
+ command?: string | undefined;
2577
2577
  headers?: Record<string, string> | undefined;
2578
2578
  env?: Record<string, string> | undefined;
2579
2579
  }, {
2580
2580
  url?: string | undefined;
2581
2581
  type?: "stdio" | "http" | undefined;
2582
- command?: string | undefined;
2583
2582
  args?: string[] | undefined;
2583
+ command?: string | undefined;
2584
2584
  headers?: Record<string, string> | undefined;
2585
2585
  env?: Record<string, string> | undefined;
2586
2586
  }>, {
2587
2587
  url?: string | undefined;
2588
2588
  type?: "stdio" | "http" | undefined;
2589
- command?: string | undefined;
2590
2589
  args?: string[] | undefined;
2590
+ command?: string | undefined;
2591
2591
  headers?: Record<string, string> | undefined;
2592
2592
  env?: Record<string, string> | undefined;
2593
2593
  }, {
2594
2594
  url?: string | undefined;
2595
2595
  type?: "stdio" | "http" | undefined;
2596
- command?: string | undefined;
2597
2596
  args?: string[] | undefined;
2597
+ command?: string | undefined;
2598
2598
  headers?: Record<string, string> | undefined;
2599
2599
  env?: Record<string, string> | undefined;
2600
2600
  }>>;
@@ -2605,8 +2605,8 @@ export declare const workflowZ: z.ZodObject<{
2605
2605
  mcp?: {
2606
2606
  url?: string | undefined;
2607
2607
  type?: "stdio" | "http" | undefined;
2608
- command?: string | undefined;
2609
2608
  args?: string[] | undefined;
2609
+ command?: string | undefined;
2610
2610
  headers?: Record<string, string> | undefined;
2611
2611
  env?: Record<string, string> | undefined;
2612
2612
  } | undefined;
@@ -2617,8 +2617,8 @@ export declare const workflowZ: z.ZodObject<{
2617
2617
  mcp?: {
2618
2618
  url?: string | undefined;
2619
2619
  type?: "stdio" | "http" | undefined;
2620
- command?: string | undefined;
2621
2620
  args?: string[] | undefined;
2621
+ command?: string | undefined;
2622
2622
  headers?: Record<string, string> | undefined;
2623
2623
  env?: Record<string, string> | undefined;
2624
2624
  } | undefined;
@@ -2629,8 +2629,8 @@ export declare const workflowZ: z.ZodObject<{
2629
2629
  mcp?: {
2630
2630
  url?: string | undefined;
2631
2631
  type?: "stdio" | "http" | undefined;
2632
- command?: string | undefined;
2633
2632
  args?: string[] | undefined;
2633
+ command?: string | undefined;
2634
2634
  headers?: Record<string, string> | undefined;
2635
2635
  env?: Record<string, string> | undefined;
2636
2636
  } | undefined;
@@ -2641,8 +2641,8 @@ export declare const workflowZ: z.ZodObject<{
2641
2641
  mcp?: {
2642
2642
  url?: string | undefined;
2643
2643
  type?: "stdio" | "http" | undefined;
2644
- command?: string | undefined;
2645
2644
  args?: string[] | undefined;
2645
+ command?: string | undefined;
2646
2646
  headers?: Record<string, string> | undefined;
2647
2647
  env?: Record<string, string> | undefined;
2648
2648
  } | undefined;
@@ -2840,8 +2840,8 @@ export declare const workflowZ: z.ZodObject<{
2840
2840
  mcp?: {
2841
2841
  url?: string | undefined;
2842
2842
  type?: "stdio" | "http" | undefined;
2843
- command?: string | undefined;
2844
2843
  args?: string[] | undefined;
2844
+ command?: string | undefined;
2845
2845
  headers?: Record<string, string> | undefined;
2846
2846
  env?: Record<string, string> | undefined;
2847
2847
  } | undefined;
@@ -2858,7 +2858,6 @@ export declare const workflowZ: z.ZodObject<{
2858
2858
  };
2859
2859
  skills: string[];
2860
2860
  model?: string | undefined;
2861
- output?: Record<string, unknown> | undefined;
2862
2861
  permissions?: "write" | "read" | {
2863
2862
  strict?: boolean | undefined;
2864
2863
  deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
@@ -2871,12 +2870,13 @@ export declare const workflowZ: z.ZodObject<{
2871
2870
  } | undefined;
2872
2871
  labels?: string[] | undefined;
2873
2872
  state?: "reopen" | "close" | undefined;
2874
- max?: number | undefined;
2875
2873
  via?: string | undefined;
2876
2874
  target?: string | undefined;
2877
2875
  title_prefix?: string | undefined;
2876
+ max?: number | undefined;
2878
2877
  expires?: string | undefined;
2879
2878
  }[] | undefined;
2879
+ output?: Record<string, unknown> | undefined;
2880
2880
  max_turns?: number | undefined;
2881
2881
  budget?: {
2882
2882
  tokens?: number | undefined;
@@ -2960,8 +2960,8 @@ export declare const workflowZ: z.ZodObject<{
2960
2960
  disallowed_tools?: string[] | undefined;
2961
2961
  agent_env?: string[] | undefined;
2962
2962
  tools?: {
2963
- deny?: string[] | undefined;
2964
2963
  allow?: string[] | undefined;
2964
+ deny?: string[] | undefined;
2965
2965
  } | undefined;
2966
2966
  fail_soft?: boolean | undefined;
2967
2967
  on_fail?: "halt" | "continue" | undefined;
@@ -2969,10 +2969,10 @@ export declare const workflowZ: z.ZodObject<{
2969
2969
  edges: {
2970
2970
  from: string;
2971
2971
  to: string;
2972
+ max_iterations?: number | undefined;
2972
2973
  when?: string | {
2973
2974
  expr: string;
2974
2975
  } | undefined;
2975
- max_iterations?: number | undefined;
2976
2976
  }[];
2977
2977
  entry: string;
2978
2978
  model?: string | undefined;
@@ -3043,7 +3043,6 @@ export declare const workflowZ: z.ZodObject<{
3043
3043
  type?: string | undefined;
3044
3044
  };
3045
3045
  model?: string | undefined;
3046
- output?: Record<string, unknown> | undefined;
3047
3046
  permissions?: "write" | "read" | {
3048
3047
  strict?: boolean | undefined;
3049
3048
  deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
@@ -3056,13 +3055,14 @@ export declare const workflowZ: z.ZodObject<{
3056
3055
  } | undefined;
3057
3056
  labels?: string[] | undefined;
3058
3057
  state?: "reopen" | "close" | undefined;
3059
- max?: number | undefined;
3060
3058
  via?: string | undefined;
3061
3059
  target?: string | undefined;
3062
3060
  title_prefix?: string | undefined;
3061
+ max?: number | undefined;
3063
3062
  expires?: string | undefined;
3064
3063
  }[] | undefined;
3065
3064
  skills?: string[] | undefined;
3065
+ output?: Record<string, unknown> | undefined;
3066
3066
  max_turns?: number | undefined;
3067
3067
  budget?: {
3068
3068
  tokens?: number | undefined;
@@ -3146,8 +3146,8 @@ export declare const workflowZ: z.ZodObject<{
3146
3146
  disallowed_tools?: string[] | undefined;
3147
3147
  agent_env?: string[] | undefined;
3148
3148
  tools?: {
3149
- deny?: string[] | undefined;
3150
3149
  allow?: string[] | undefined;
3150
+ deny?: string[] | undefined;
3151
3151
  } | undefined;
3152
3152
  fail_soft?: boolean | undefined;
3153
3153
  on_fail?: "halt" | "continue" | undefined;
@@ -3155,10 +3155,10 @@ export declare const workflowZ: z.ZodObject<{
3155
3155
  edges: {
3156
3156
  from: string;
3157
3157
  to: string;
3158
+ max_iterations?: number | undefined;
3158
3159
  when?: string | {
3159
3160
  expr: string;
3160
3161
  } | undefined;
3161
- max_iterations?: number | undefined;
3162
3162
  }[];
3163
3163
  entry: string;
3164
3164
  description?: string | undefined;
@@ -3175,8 +3175,8 @@ export declare const workflowZ: z.ZodObject<{
3175
3175
  mcp?: {
3176
3176
  url?: string | undefined;
3177
3177
  type?: "stdio" | "http" | undefined;
3178
- command?: string | undefined;
3179
3178
  args?: string[] | undefined;
3179
+ command?: string | undefined;
3180
3180
  headers?: Record<string, string> | undefined;
3181
3181
  env?: Record<string, string> | undefined;
3182
3182
  } | undefined;
@@ -3254,8 +3254,8 @@ export declare function parseWorkflow(raw: unknown): {
3254
3254
  mcp?: {
3255
3255
  url?: string | undefined;
3256
3256
  type?: "stdio" | "http" | undefined;
3257
- command?: string | undefined;
3258
3257
  args?: string[] | undefined;
3258
+ command?: string | undefined;
3259
3259
  headers?: Record<string, string> | undefined;
3260
3260
  env?: Record<string, string> | undefined;
3261
3261
  } | undefined;
@@ -3272,7 +3272,6 @@ export declare function parseWorkflow(raw: unknown): {
3272
3272
  };
3273
3273
  skills: string[];
3274
3274
  model?: string | undefined;
3275
- output?: Record<string, unknown> | undefined;
3276
3275
  permissions?: "write" | "read" | {
3277
3276
  strict?: boolean | undefined;
3278
3277
  deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
@@ -3285,12 +3284,13 @@ export declare function parseWorkflow(raw: unknown): {
3285
3284
  } | undefined;
3286
3285
  labels?: string[] | undefined;
3287
3286
  state?: "reopen" | "close" | undefined;
3288
- max?: number | undefined;
3289
3287
  via?: string | undefined;
3290
3288
  target?: string | undefined;
3291
3289
  title_prefix?: string | undefined;
3290
+ max?: number | undefined;
3292
3291
  expires?: string | undefined;
3293
3292
  }[] | undefined;
3293
+ output?: Record<string, unknown> | undefined;
3294
3294
  max_turns?: number | undefined;
3295
3295
  budget?: {
3296
3296
  tokens?: number | undefined;
@@ -3374,8 +3374,8 @@ export declare function parseWorkflow(raw: unknown): {
3374
3374
  disallowed_tools?: string[] | undefined;
3375
3375
  agent_env?: string[] | undefined;
3376
3376
  tools?: {
3377
- deny?: string[] | undefined;
3378
3377
  allow?: string[] | undefined;
3378
+ deny?: string[] | undefined;
3379
3379
  } | undefined;
3380
3380
  fail_soft?: boolean | undefined;
3381
3381
  on_fail?: "halt" | "continue" | undefined;
@@ -3383,10 +3383,10 @@ export declare function parseWorkflow(raw: unknown): {
3383
3383
  edges: {
3384
3384
  from: string;
3385
3385
  to: string;
3386
+ max_iterations?: number | undefined;
3386
3387
  when?: string | {
3387
3388
  expr: string;
3388
3389
  } | undefined;
3389
- max_iterations?: number | undefined;
3390
3390
  }[];
3391
3391
  entry: string;
3392
3392
  model?: string | undefined;