@sweny-ai/core 0.1.164 → 0.1.166
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/agent-env.d.ts +130 -13
- package/dist/agent-env.js +276 -20
- package/dist/cli/config-file.js +2 -0
- package/dist/cli/main.d.ts +4 -1
- package/dist/cli/main.js +72 -3
- package/dist/cli/resume.d.ts +56 -0
- package/dist/cli/resume.js +182 -0
- package/dist/executor.d.ts +7 -0
- package/dist/executor.js +87 -11
- package/dist/harness/acp.d.ts +6 -1
- package/dist/harness/acp.js +35 -17
- package/dist/harness/claude-code.d.ts +12 -0
- package/dist/harness/claude-code.js +37 -14
- package/dist/harness/codex.d.ts +5 -1
- package/dist/harness/codex.js +30 -16
- package/dist/harness/pi.d.ts +17 -1
- package/dist/harness/pi.js +54 -16
- package/dist/harness/policy.js +16 -0
- package/dist/harness/types.d.ts +16 -0
- package/dist/journal.d.ts +307 -0
- package/dist/journal.js +885 -0
- package/dist/schema.d.ts +156 -136
- package/dist/schema.js +21 -0
- package/dist/types.d.ts +15 -3
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -251,19 +251,19 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
|
|
|
251
251
|
}, "strict", z.ZodTypeAny, {
|
|
252
252
|
description: string;
|
|
253
253
|
name: string;
|
|
254
|
+
id: string;
|
|
254
255
|
config: Record<string, {
|
|
255
256
|
description: string;
|
|
256
257
|
required?: boolean | undefined;
|
|
257
258
|
env?: string | undefined;
|
|
258
259
|
}>;
|
|
259
|
-
id: string;
|
|
260
|
-
category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
|
|
261
260
|
tools: {
|
|
262
261
|
description: string;
|
|
263
262
|
name: string;
|
|
264
263
|
input_schema: Record<string, unknown>;
|
|
265
264
|
access?: "write" | "read" | undefined;
|
|
266
265
|
}[];
|
|
266
|
+
category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
|
|
267
267
|
instruction?: string | undefined;
|
|
268
268
|
mcp?: {
|
|
269
269
|
url?: string | undefined;
|
|
@@ -285,6 +285,12 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
|
|
|
285
285
|
env?: string | undefined;
|
|
286
286
|
}> | undefined;
|
|
287
287
|
instruction?: string | undefined;
|
|
288
|
+
tools?: {
|
|
289
|
+
description: string;
|
|
290
|
+
name: string;
|
|
291
|
+
input_schema: Record<string, unknown>;
|
|
292
|
+
access?: "write" | "read" | undefined;
|
|
293
|
+
}[] | undefined;
|
|
288
294
|
mcp?: {
|
|
289
295
|
url?: string | undefined;
|
|
290
296
|
type?: "stdio" | "http" | undefined;
|
|
@@ -293,29 +299,23 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
|
|
|
293
299
|
headers?: Record<string, string> | undefined;
|
|
294
300
|
env?: Record<string, string> | undefined;
|
|
295
301
|
} | undefined;
|
|
296
|
-
tools?: {
|
|
297
|
-
description: string;
|
|
298
|
-
name: string;
|
|
299
|
-
input_schema: Record<string, unknown>;
|
|
300
|
-
access?: "write" | "read" | undefined;
|
|
301
|
-
}[] | undefined;
|
|
302
302
|
mcpAliases?: Record<string, string[]> | undefined;
|
|
303
303
|
}>, {
|
|
304
304
|
description: string;
|
|
305
305
|
name: string;
|
|
306
|
+
id: string;
|
|
306
307
|
config: Record<string, {
|
|
307
308
|
description: string;
|
|
308
309
|
required?: boolean | undefined;
|
|
309
310
|
env?: string | undefined;
|
|
310
311
|
}>;
|
|
311
|
-
id: string;
|
|
312
|
-
category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
|
|
313
312
|
tools: {
|
|
314
313
|
description: string;
|
|
315
314
|
name: string;
|
|
316
315
|
input_schema: Record<string, unknown>;
|
|
317
316
|
access?: "write" | "read" | undefined;
|
|
318
317
|
}[];
|
|
318
|
+
category: "general" | "git" | "tasks" | "notification" | "observability" | "data";
|
|
319
319
|
instruction?: string | undefined;
|
|
320
320
|
mcp?: {
|
|
321
321
|
url?: string | undefined;
|
|
@@ -337,6 +337,12 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
|
|
|
337
337
|
env?: string | undefined;
|
|
338
338
|
}> | undefined;
|
|
339
339
|
instruction?: string | undefined;
|
|
340
|
+
tools?: {
|
|
341
|
+
description: string;
|
|
342
|
+
name: string;
|
|
343
|
+
input_schema: Record<string, unknown>;
|
|
344
|
+
access?: "write" | "read" | undefined;
|
|
345
|
+
}[] | undefined;
|
|
340
346
|
mcp?: {
|
|
341
347
|
url?: string | undefined;
|
|
342
348
|
type?: "stdio" | "http" | undefined;
|
|
@@ -345,12 +351,6 @@ export declare const skillZ: z.ZodEffects<z.ZodObject<{
|
|
|
345
351
|
headers?: Record<string, string> | undefined;
|
|
346
352
|
env?: Record<string, string> | undefined;
|
|
347
353
|
} | undefined;
|
|
348
|
-
tools?: {
|
|
349
|
-
description: string;
|
|
350
|
-
name: string;
|
|
351
|
-
input_schema: Record<string, unknown>;
|
|
352
|
-
access?: "write" | "read" | undefined;
|
|
353
|
-
}[] | undefined;
|
|
354
354
|
mcpAliases?: Record<string, string[]> | undefined;
|
|
355
355
|
}>;
|
|
356
356
|
/**
|
|
@@ -719,6 +719,7 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
|
|
|
719
719
|
}>, "many">>;
|
|
720
720
|
on_fail: z.ZodOptional<z.ZodEnum<["fail", "skip"]>>;
|
|
721
721
|
}, "strict", z.ZodTypeAny, {
|
|
722
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
722
723
|
output_required?: string[] | undefined;
|
|
723
724
|
output_matches?: {
|
|
724
725
|
path: string;
|
|
@@ -726,8 +727,8 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
|
|
|
726
727
|
equals?: unknown;
|
|
727
728
|
matches?: string | undefined;
|
|
728
729
|
}[] | undefined;
|
|
729
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
730
730
|
}, {
|
|
731
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
731
732
|
output_required?: string[] | undefined;
|
|
732
733
|
output_matches?: {
|
|
733
734
|
path: string;
|
|
@@ -735,8 +736,8 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
|
|
|
735
736
|
equals?: unknown;
|
|
736
737
|
matches?: string | undefined;
|
|
737
738
|
}[] | undefined;
|
|
738
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
739
739
|
}>, {
|
|
740
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
740
741
|
output_required?: string[] | undefined;
|
|
741
742
|
output_matches?: {
|
|
742
743
|
path: string;
|
|
@@ -744,8 +745,8 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
|
|
|
744
745
|
equals?: unknown;
|
|
745
746
|
matches?: string | undefined;
|
|
746
747
|
}[] | undefined;
|
|
747
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
748
748
|
}, {
|
|
749
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
749
750
|
output_required?: string[] | undefined;
|
|
750
751
|
output_matches?: {
|
|
751
752
|
path: string;
|
|
@@ -753,7 +754,6 @@ export declare const nodeRequiresZ: z.ZodEffects<z.ZodObject<{
|
|
|
753
754
|
equals?: unknown;
|
|
754
755
|
matches?: string | undefined;
|
|
755
756
|
}[] | undefined;
|
|
756
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
757
757
|
}>;
|
|
758
758
|
/**
|
|
759
759
|
* Per-node skill-tool filter. `allow` keeps only the listed skill tools;
|
|
@@ -983,6 +983,8 @@ export declare const safeOutputsPolicyZ: z.ZodObject<{
|
|
|
983
983
|
trusted_associations?: ("OWNER" | "MEMBER" | "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIME_CONTRIBUTOR" | "FIRST_TIMER" | "NONE")[] | undefined;
|
|
984
984
|
screen?: boolean | undefined;
|
|
985
985
|
}>;
|
|
986
|
+
/** An environment variable name (`agent_env` entries). */
|
|
987
|
+
export declare const ENV_VAR_NAME_PATTERN: RegExp;
|
|
986
988
|
export declare const nodeZ: z.ZodObject<{
|
|
987
989
|
name: z.ZodString;
|
|
988
990
|
instruction: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -1027,6 +1029,7 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1027
1029
|
cost_usd?: number | undefined;
|
|
1028
1030
|
}>>;
|
|
1029
1031
|
disallowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1032
|
+
agent_env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1030
1033
|
tools: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1031
1034
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1032
1035
|
deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1427,6 +1430,7 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1427
1430
|
}>, "many">>;
|
|
1428
1431
|
on_fail: z.ZodOptional<z.ZodEnum<["fail", "skip"]>>;
|
|
1429
1432
|
}, "strict", z.ZodTypeAny, {
|
|
1433
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
1430
1434
|
output_required?: string[] | undefined;
|
|
1431
1435
|
output_matches?: {
|
|
1432
1436
|
path: string;
|
|
@@ -1434,8 +1438,8 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1434
1438
|
equals?: unknown;
|
|
1435
1439
|
matches?: string | undefined;
|
|
1436
1440
|
}[] | undefined;
|
|
1437
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
1438
1441
|
}, {
|
|
1442
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
1439
1443
|
output_required?: string[] | undefined;
|
|
1440
1444
|
output_matches?: {
|
|
1441
1445
|
path: string;
|
|
@@ -1443,8 +1447,8 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1443
1447
|
equals?: unknown;
|
|
1444
1448
|
matches?: string | undefined;
|
|
1445
1449
|
}[] | undefined;
|
|
1446
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
1447
1450
|
}>, {
|
|
1451
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
1448
1452
|
output_required?: string[] | undefined;
|
|
1449
1453
|
output_matches?: {
|
|
1450
1454
|
path: string;
|
|
@@ -1452,8 +1456,8 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1452
1456
|
equals?: unknown;
|
|
1453
1457
|
matches?: string | undefined;
|
|
1454
1458
|
}[] | undefined;
|
|
1455
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
1456
1459
|
}, {
|
|
1460
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
1457
1461
|
output_required?: string[] | undefined;
|
|
1458
1462
|
output_matches?: {
|
|
1459
1463
|
path: string;
|
|
@@ -1461,7 +1465,6 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1461
1465
|
equals?: unknown;
|
|
1462
1466
|
matches?: string | undefined;
|
|
1463
1467
|
}[] | undefined;
|
|
1464
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
1465
1468
|
}>>;
|
|
1466
1469
|
retry: z.ZodOptional<z.ZodObject<{
|
|
1467
1470
|
max: z.ZodNumber;
|
|
@@ -1506,18 +1509,6 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1506
1509
|
skills: string[];
|
|
1507
1510
|
model?: string | undefined;
|
|
1508
1511
|
output?: Record<string, unknown> | undefined;
|
|
1509
|
-
tools?: {
|
|
1510
|
-
deny?: string[] | undefined;
|
|
1511
|
-
allow?: string[] | undefined;
|
|
1512
|
-
} | undefined;
|
|
1513
|
-
on_fail?: "halt" | "continue" | undefined;
|
|
1514
|
-
max_turns?: number | undefined;
|
|
1515
|
-
budget?: {
|
|
1516
|
-
tokens?: number | undefined;
|
|
1517
|
-
cost_usd?: number | undefined;
|
|
1518
|
-
} | undefined;
|
|
1519
|
-
disallowed_tools?: string[] | undefined;
|
|
1520
|
-
fail_soft?: boolean | undefined;
|
|
1521
1512
|
permissions?: "write" | "read" | {
|
|
1522
1513
|
strict?: boolean | undefined;
|
|
1523
1514
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
@@ -1536,6 +1527,11 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1536
1527
|
title_prefix?: string | undefined;
|
|
1537
1528
|
expires?: string | undefined;
|
|
1538
1529
|
}[] | undefined;
|
|
1530
|
+
max_turns?: number | undefined;
|
|
1531
|
+
budget?: {
|
|
1532
|
+
tokens?: number | undefined;
|
|
1533
|
+
cost_usd?: number | undefined;
|
|
1534
|
+
} | undefined;
|
|
1539
1535
|
rules?: (string | {
|
|
1540
1536
|
inline: string;
|
|
1541
1537
|
} | {
|
|
@@ -1594,6 +1590,7 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1594
1590
|
eval_policy?: "all_pass" | "any_pass" | "weighted" | undefined;
|
|
1595
1591
|
judge_model?: string | undefined;
|
|
1596
1592
|
requires?: {
|
|
1593
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
1597
1594
|
output_required?: string[] | undefined;
|
|
1598
1595
|
output_matches?: {
|
|
1599
1596
|
path: string;
|
|
@@ -1601,7 +1598,6 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1601
1598
|
equals?: unknown;
|
|
1602
1599
|
matches?: string | undefined;
|
|
1603
1600
|
}[] | undefined;
|
|
1604
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
1605
1601
|
} | undefined;
|
|
1606
1602
|
retry?: {
|
|
1607
1603
|
max: number;
|
|
@@ -1611,6 +1607,14 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1611
1607
|
reflect: string;
|
|
1612
1608
|
} | undefined;
|
|
1613
1609
|
} | undefined;
|
|
1610
|
+
disallowed_tools?: string[] | undefined;
|
|
1611
|
+
agent_env?: string[] | undefined;
|
|
1612
|
+
tools?: {
|
|
1613
|
+
deny?: string[] | undefined;
|
|
1614
|
+
allow?: string[] | undefined;
|
|
1615
|
+
} | undefined;
|
|
1616
|
+
fail_soft?: boolean | undefined;
|
|
1617
|
+
on_fail?: "halt" | "continue" | undefined;
|
|
1614
1618
|
}, {
|
|
1615
1619
|
name: string;
|
|
1616
1620
|
instruction: string | {
|
|
@@ -1623,19 +1627,6 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1623
1627
|
};
|
|
1624
1628
|
model?: string | undefined;
|
|
1625
1629
|
output?: Record<string, unknown> | undefined;
|
|
1626
|
-
tools?: {
|
|
1627
|
-
deny?: string[] | undefined;
|
|
1628
|
-
allow?: string[] | undefined;
|
|
1629
|
-
} | undefined;
|
|
1630
|
-
on_fail?: "halt" | "continue" | undefined;
|
|
1631
|
-
skills?: string[] | undefined;
|
|
1632
|
-
max_turns?: number | undefined;
|
|
1633
|
-
budget?: {
|
|
1634
|
-
tokens?: number | undefined;
|
|
1635
|
-
cost_usd?: number | undefined;
|
|
1636
|
-
} | undefined;
|
|
1637
|
-
disallowed_tools?: string[] | undefined;
|
|
1638
|
-
fail_soft?: boolean | undefined;
|
|
1639
1630
|
permissions?: "write" | "read" | {
|
|
1640
1631
|
strict?: boolean | undefined;
|
|
1641
1632
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
@@ -1654,6 +1645,12 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1654
1645
|
title_prefix?: string | undefined;
|
|
1655
1646
|
expires?: string | undefined;
|
|
1656
1647
|
}[] | undefined;
|
|
1648
|
+
skills?: string[] | undefined;
|
|
1649
|
+
max_turns?: number | undefined;
|
|
1650
|
+
budget?: {
|
|
1651
|
+
tokens?: number | undefined;
|
|
1652
|
+
cost_usd?: number | undefined;
|
|
1653
|
+
} | undefined;
|
|
1657
1654
|
rules?: (string | {
|
|
1658
1655
|
inline: string;
|
|
1659
1656
|
} | {
|
|
@@ -1712,6 +1709,7 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1712
1709
|
eval_policy?: "all_pass" | "any_pass" | "weighted" | undefined;
|
|
1713
1710
|
judge_model?: string | undefined;
|
|
1714
1711
|
requires?: {
|
|
1712
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
1715
1713
|
output_required?: string[] | undefined;
|
|
1716
1714
|
output_matches?: {
|
|
1717
1715
|
path: string;
|
|
@@ -1719,7 +1717,6 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1719
1717
|
equals?: unknown;
|
|
1720
1718
|
matches?: string | undefined;
|
|
1721
1719
|
}[] | undefined;
|
|
1722
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
1723
1720
|
} | undefined;
|
|
1724
1721
|
retry?: {
|
|
1725
1722
|
max: number;
|
|
@@ -1729,6 +1726,14 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
1729
1726
|
reflect: string;
|
|
1730
1727
|
} | undefined;
|
|
1731
1728
|
} | undefined;
|
|
1729
|
+
disallowed_tools?: string[] | undefined;
|
|
1730
|
+
agent_env?: string[] | undefined;
|
|
1731
|
+
tools?: {
|
|
1732
|
+
deny?: string[] | undefined;
|
|
1733
|
+
allow?: string[] | undefined;
|
|
1734
|
+
} | undefined;
|
|
1735
|
+
fail_soft?: boolean | undefined;
|
|
1736
|
+
on_fail?: "halt" | "continue" | undefined;
|
|
1732
1737
|
}>;
|
|
1733
1738
|
export declare const edgeZ: z.ZodObject<{
|
|
1734
1739
|
from: z.ZodString;
|
|
@@ -1820,6 +1825,7 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
1820
1825
|
cost_usd?: number | undefined;
|
|
1821
1826
|
}>>;
|
|
1822
1827
|
disallowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1828
|
+
agent_env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1823
1829
|
tools: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1824
1830
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1825
1831
|
deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2220,6 +2226,7 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2220
2226
|
}>, "many">>;
|
|
2221
2227
|
on_fail: z.ZodOptional<z.ZodEnum<["fail", "skip"]>>;
|
|
2222
2228
|
}, "strict", z.ZodTypeAny, {
|
|
2229
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
2223
2230
|
output_required?: string[] | undefined;
|
|
2224
2231
|
output_matches?: {
|
|
2225
2232
|
path: string;
|
|
@@ -2227,8 +2234,8 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2227
2234
|
equals?: unknown;
|
|
2228
2235
|
matches?: string | undefined;
|
|
2229
2236
|
}[] | undefined;
|
|
2230
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
2231
2237
|
}, {
|
|
2238
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
2232
2239
|
output_required?: string[] | undefined;
|
|
2233
2240
|
output_matches?: {
|
|
2234
2241
|
path: string;
|
|
@@ -2236,8 +2243,8 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2236
2243
|
equals?: unknown;
|
|
2237
2244
|
matches?: string | undefined;
|
|
2238
2245
|
}[] | undefined;
|
|
2239
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
2240
2246
|
}>, {
|
|
2247
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
2241
2248
|
output_required?: string[] | undefined;
|
|
2242
2249
|
output_matches?: {
|
|
2243
2250
|
path: string;
|
|
@@ -2245,8 +2252,8 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2245
2252
|
equals?: unknown;
|
|
2246
2253
|
matches?: string | undefined;
|
|
2247
2254
|
}[] | undefined;
|
|
2248
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
2249
2255
|
}, {
|
|
2256
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
2250
2257
|
output_required?: string[] | undefined;
|
|
2251
2258
|
output_matches?: {
|
|
2252
2259
|
path: string;
|
|
@@ -2254,7 +2261,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2254
2261
|
equals?: unknown;
|
|
2255
2262
|
matches?: string | undefined;
|
|
2256
2263
|
}[] | undefined;
|
|
2257
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
2258
2264
|
}>>;
|
|
2259
2265
|
retry: z.ZodOptional<z.ZodObject<{
|
|
2260
2266
|
max: z.ZodNumber;
|
|
@@ -2299,18 +2305,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2299
2305
|
skills: string[];
|
|
2300
2306
|
model?: string | undefined;
|
|
2301
2307
|
output?: Record<string, unknown> | undefined;
|
|
2302
|
-
tools?: {
|
|
2303
|
-
deny?: string[] | undefined;
|
|
2304
|
-
allow?: string[] | undefined;
|
|
2305
|
-
} | undefined;
|
|
2306
|
-
on_fail?: "halt" | "continue" | undefined;
|
|
2307
|
-
max_turns?: number | undefined;
|
|
2308
|
-
budget?: {
|
|
2309
|
-
tokens?: number | undefined;
|
|
2310
|
-
cost_usd?: number | undefined;
|
|
2311
|
-
} | undefined;
|
|
2312
|
-
disallowed_tools?: string[] | undefined;
|
|
2313
|
-
fail_soft?: boolean | undefined;
|
|
2314
2308
|
permissions?: "write" | "read" | {
|
|
2315
2309
|
strict?: boolean | undefined;
|
|
2316
2310
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
@@ -2329,6 +2323,11 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2329
2323
|
title_prefix?: string | undefined;
|
|
2330
2324
|
expires?: string | undefined;
|
|
2331
2325
|
}[] | undefined;
|
|
2326
|
+
max_turns?: number | undefined;
|
|
2327
|
+
budget?: {
|
|
2328
|
+
tokens?: number | undefined;
|
|
2329
|
+
cost_usd?: number | undefined;
|
|
2330
|
+
} | undefined;
|
|
2332
2331
|
rules?: (string | {
|
|
2333
2332
|
inline: string;
|
|
2334
2333
|
} | {
|
|
@@ -2387,6 +2386,7 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2387
2386
|
eval_policy?: "all_pass" | "any_pass" | "weighted" | undefined;
|
|
2388
2387
|
judge_model?: string | undefined;
|
|
2389
2388
|
requires?: {
|
|
2389
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
2390
2390
|
output_required?: string[] | undefined;
|
|
2391
2391
|
output_matches?: {
|
|
2392
2392
|
path: string;
|
|
@@ -2394,7 +2394,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2394
2394
|
equals?: unknown;
|
|
2395
2395
|
matches?: string | undefined;
|
|
2396
2396
|
}[] | undefined;
|
|
2397
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
2398
2397
|
} | undefined;
|
|
2399
2398
|
retry?: {
|
|
2400
2399
|
max: number;
|
|
@@ -2404,6 +2403,14 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2404
2403
|
reflect: string;
|
|
2405
2404
|
} | undefined;
|
|
2406
2405
|
} | undefined;
|
|
2406
|
+
disallowed_tools?: string[] | undefined;
|
|
2407
|
+
agent_env?: string[] | undefined;
|
|
2408
|
+
tools?: {
|
|
2409
|
+
deny?: string[] | undefined;
|
|
2410
|
+
allow?: string[] | undefined;
|
|
2411
|
+
} | undefined;
|
|
2412
|
+
fail_soft?: boolean | undefined;
|
|
2413
|
+
on_fail?: "halt" | "continue" | undefined;
|
|
2407
2414
|
}, {
|
|
2408
2415
|
name: string;
|
|
2409
2416
|
instruction: string | {
|
|
@@ -2416,19 +2423,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2416
2423
|
};
|
|
2417
2424
|
model?: string | undefined;
|
|
2418
2425
|
output?: Record<string, unknown> | undefined;
|
|
2419
|
-
tools?: {
|
|
2420
|
-
deny?: string[] | undefined;
|
|
2421
|
-
allow?: string[] | undefined;
|
|
2422
|
-
} | undefined;
|
|
2423
|
-
on_fail?: "halt" | "continue" | undefined;
|
|
2424
|
-
skills?: string[] | undefined;
|
|
2425
|
-
max_turns?: number | undefined;
|
|
2426
|
-
budget?: {
|
|
2427
|
-
tokens?: number | undefined;
|
|
2428
|
-
cost_usd?: number | undefined;
|
|
2429
|
-
} | undefined;
|
|
2430
|
-
disallowed_tools?: string[] | undefined;
|
|
2431
|
-
fail_soft?: boolean | undefined;
|
|
2432
2426
|
permissions?: "write" | "read" | {
|
|
2433
2427
|
strict?: boolean | undefined;
|
|
2434
2428
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
@@ -2447,6 +2441,12 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2447
2441
|
title_prefix?: string | undefined;
|
|
2448
2442
|
expires?: string | undefined;
|
|
2449
2443
|
}[] | undefined;
|
|
2444
|
+
skills?: string[] | undefined;
|
|
2445
|
+
max_turns?: number | undefined;
|
|
2446
|
+
budget?: {
|
|
2447
|
+
tokens?: number | undefined;
|
|
2448
|
+
cost_usd?: number | undefined;
|
|
2449
|
+
} | undefined;
|
|
2450
2450
|
rules?: (string | {
|
|
2451
2451
|
inline: string;
|
|
2452
2452
|
} | {
|
|
@@ -2505,6 +2505,7 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2505
2505
|
eval_policy?: "all_pass" | "any_pass" | "weighted" | undefined;
|
|
2506
2506
|
judge_model?: string | undefined;
|
|
2507
2507
|
requires?: {
|
|
2508
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
2508
2509
|
output_required?: string[] | undefined;
|
|
2509
2510
|
output_matches?: {
|
|
2510
2511
|
path: string;
|
|
@@ -2512,7 +2513,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2512
2513
|
equals?: unknown;
|
|
2513
2514
|
matches?: string | undefined;
|
|
2514
2515
|
}[] | undefined;
|
|
2515
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
2516
2516
|
} | undefined;
|
|
2517
2517
|
retry?: {
|
|
2518
2518
|
max: number;
|
|
@@ -2522,6 +2522,14 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2522
2522
|
reflect: string;
|
|
2523
2523
|
} | undefined;
|
|
2524
2524
|
} | undefined;
|
|
2525
|
+
disallowed_tools?: string[] | undefined;
|
|
2526
|
+
agent_env?: string[] | undefined;
|
|
2527
|
+
tools?: {
|
|
2528
|
+
deny?: string[] | undefined;
|
|
2529
|
+
allow?: string[] | undefined;
|
|
2530
|
+
} | undefined;
|
|
2531
|
+
fail_soft?: boolean | undefined;
|
|
2532
|
+
on_fail?: "halt" | "continue" | undefined;
|
|
2525
2533
|
}>>;
|
|
2526
2534
|
edges: z.ZodArray<z.ZodObject<{
|
|
2527
2535
|
from: z.ZodString;
|
|
@@ -2851,18 +2859,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2851
2859
|
skills: string[];
|
|
2852
2860
|
model?: string | undefined;
|
|
2853
2861
|
output?: Record<string, unknown> | undefined;
|
|
2854
|
-
tools?: {
|
|
2855
|
-
deny?: string[] | undefined;
|
|
2856
|
-
allow?: string[] | undefined;
|
|
2857
|
-
} | undefined;
|
|
2858
|
-
on_fail?: "halt" | "continue" | undefined;
|
|
2859
|
-
max_turns?: number | undefined;
|
|
2860
|
-
budget?: {
|
|
2861
|
-
tokens?: number | undefined;
|
|
2862
|
-
cost_usd?: number | undefined;
|
|
2863
|
-
} | undefined;
|
|
2864
|
-
disallowed_tools?: string[] | undefined;
|
|
2865
|
-
fail_soft?: boolean | undefined;
|
|
2866
2862
|
permissions?: "write" | "read" | {
|
|
2867
2863
|
strict?: boolean | undefined;
|
|
2868
2864
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
@@ -2881,6 +2877,11 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2881
2877
|
title_prefix?: string | undefined;
|
|
2882
2878
|
expires?: string | undefined;
|
|
2883
2879
|
}[] | undefined;
|
|
2880
|
+
max_turns?: number | undefined;
|
|
2881
|
+
budget?: {
|
|
2882
|
+
tokens?: number | undefined;
|
|
2883
|
+
cost_usd?: number | undefined;
|
|
2884
|
+
} | undefined;
|
|
2884
2885
|
rules?: (string | {
|
|
2885
2886
|
inline: string;
|
|
2886
2887
|
} | {
|
|
@@ -2939,6 +2940,7 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2939
2940
|
eval_policy?: "all_pass" | "any_pass" | "weighted" | undefined;
|
|
2940
2941
|
judge_model?: string | undefined;
|
|
2941
2942
|
requires?: {
|
|
2943
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
2942
2944
|
output_required?: string[] | undefined;
|
|
2943
2945
|
output_matches?: {
|
|
2944
2946
|
path: string;
|
|
@@ -2946,7 +2948,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2946
2948
|
equals?: unknown;
|
|
2947
2949
|
matches?: string | undefined;
|
|
2948
2950
|
}[] | undefined;
|
|
2949
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
2950
2951
|
} | undefined;
|
|
2951
2952
|
retry?: {
|
|
2952
2953
|
max: number;
|
|
@@ -2956,6 +2957,14 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2956
2957
|
reflect: string;
|
|
2957
2958
|
} | undefined;
|
|
2958
2959
|
} | undefined;
|
|
2960
|
+
disallowed_tools?: string[] | undefined;
|
|
2961
|
+
agent_env?: string[] | undefined;
|
|
2962
|
+
tools?: {
|
|
2963
|
+
deny?: string[] | undefined;
|
|
2964
|
+
allow?: string[] | undefined;
|
|
2965
|
+
} | undefined;
|
|
2966
|
+
fail_soft?: boolean | undefined;
|
|
2967
|
+
on_fail?: "halt" | "continue" | undefined;
|
|
2959
2968
|
}>;
|
|
2960
2969
|
edges: {
|
|
2961
2970
|
from: string;
|
|
@@ -2967,15 +2976,15 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
2967
2976
|
}[];
|
|
2968
2977
|
entry: string;
|
|
2969
2978
|
model?: string | undefined;
|
|
2970
|
-
budget?: {
|
|
2971
|
-
tokens?: number | undefined;
|
|
2972
|
-
cost_usd?: number | undefined;
|
|
2973
|
-
} | undefined;
|
|
2974
2979
|
permissions?: "write" | "read" | {
|
|
2975
2980
|
strict?: boolean | undefined;
|
|
2976
2981
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
2977
2982
|
access?: "write" | "read" | undefined;
|
|
2978
2983
|
} | undefined;
|
|
2984
|
+
budget?: {
|
|
2985
|
+
tokens?: number | undefined;
|
|
2986
|
+
cost_usd?: number | undefined;
|
|
2987
|
+
} | undefined;
|
|
2979
2988
|
rules?: (string | {
|
|
2980
2989
|
inline: string;
|
|
2981
2990
|
} | {
|
|
@@ -3035,19 +3044,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
3035
3044
|
};
|
|
3036
3045
|
model?: string | undefined;
|
|
3037
3046
|
output?: Record<string, unknown> | undefined;
|
|
3038
|
-
tools?: {
|
|
3039
|
-
deny?: string[] | undefined;
|
|
3040
|
-
allow?: string[] | undefined;
|
|
3041
|
-
} | undefined;
|
|
3042
|
-
on_fail?: "halt" | "continue" | undefined;
|
|
3043
|
-
skills?: string[] | undefined;
|
|
3044
|
-
max_turns?: number | undefined;
|
|
3045
|
-
budget?: {
|
|
3046
|
-
tokens?: number | undefined;
|
|
3047
|
-
cost_usd?: number | undefined;
|
|
3048
|
-
} | undefined;
|
|
3049
|
-
disallowed_tools?: string[] | undefined;
|
|
3050
|
-
fail_soft?: boolean | undefined;
|
|
3051
3047
|
permissions?: "write" | "read" | {
|
|
3052
3048
|
strict?: boolean | undefined;
|
|
3053
3049
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
@@ -3066,6 +3062,12 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
3066
3062
|
title_prefix?: string | undefined;
|
|
3067
3063
|
expires?: string | undefined;
|
|
3068
3064
|
}[] | undefined;
|
|
3065
|
+
skills?: string[] | undefined;
|
|
3066
|
+
max_turns?: number | undefined;
|
|
3067
|
+
budget?: {
|
|
3068
|
+
tokens?: number | undefined;
|
|
3069
|
+
cost_usd?: number | undefined;
|
|
3070
|
+
} | undefined;
|
|
3069
3071
|
rules?: (string | {
|
|
3070
3072
|
inline: string;
|
|
3071
3073
|
} | {
|
|
@@ -3124,6 +3126,7 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
3124
3126
|
eval_policy?: "all_pass" | "any_pass" | "weighted" | undefined;
|
|
3125
3127
|
judge_model?: string | undefined;
|
|
3126
3128
|
requires?: {
|
|
3129
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
3127
3130
|
output_required?: string[] | undefined;
|
|
3128
3131
|
output_matches?: {
|
|
3129
3132
|
path: string;
|
|
@@ -3131,7 +3134,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
3131
3134
|
equals?: unknown;
|
|
3132
3135
|
matches?: string | undefined;
|
|
3133
3136
|
}[] | undefined;
|
|
3134
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
3135
3137
|
} | undefined;
|
|
3136
3138
|
retry?: {
|
|
3137
3139
|
max: number;
|
|
@@ -3141,6 +3143,14 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
3141
3143
|
reflect: string;
|
|
3142
3144
|
} | undefined;
|
|
3143
3145
|
} | undefined;
|
|
3146
|
+
disallowed_tools?: string[] | undefined;
|
|
3147
|
+
agent_env?: string[] | undefined;
|
|
3148
|
+
tools?: {
|
|
3149
|
+
deny?: string[] | undefined;
|
|
3150
|
+
allow?: string[] | undefined;
|
|
3151
|
+
} | undefined;
|
|
3152
|
+
fail_soft?: boolean | undefined;
|
|
3153
|
+
on_fail?: "halt" | "continue" | undefined;
|
|
3144
3154
|
}>;
|
|
3145
3155
|
edges: {
|
|
3146
3156
|
from: string;
|
|
@@ -3153,6 +3163,11 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
3153
3163
|
entry: string;
|
|
3154
3164
|
description?: string | undefined;
|
|
3155
3165
|
model?: string | undefined;
|
|
3166
|
+
permissions?: "write" | "read" | {
|
|
3167
|
+
strict?: boolean | undefined;
|
|
3168
|
+
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
3169
|
+
access?: "write" | "read" | undefined;
|
|
3170
|
+
} | undefined;
|
|
3156
3171
|
skills?: Record<string, {
|
|
3157
3172
|
description?: string | undefined;
|
|
3158
3173
|
name?: string | undefined;
|
|
@@ -3170,11 +3185,6 @@ export declare const workflowZ: z.ZodObject<{
|
|
|
3170
3185
|
tokens?: number | undefined;
|
|
3171
3186
|
cost_usd?: number | undefined;
|
|
3172
3187
|
} | undefined;
|
|
3173
|
-
permissions?: "write" | "read" | {
|
|
3174
|
-
strict?: boolean | undefined;
|
|
3175
|
-
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
3176
|
-
access?: "write" | "read" | undefined;
|
|
3177
|
-
} | undefined;
|
|
3178
3188
|
rules?: (string | {
|
|
3179
3189
|
inline: string;
|
|
3180
3190
|
} | {
|
|
@@ -3263,18 +3273,6 @@ export declare function parseWorkflow(raw: unknown): {
|
|
|
3263
3273
|
skills: string[];
|
|
3264
3274
|
model?: string | undefined;
|
|
3265
3275
|
output?: Record<string, unknown> | undefined;
|
|
3266
|
-
tools?: {
|
|
3267
|
-
deny?: string[] | undefined;
|
|
3268
|
-
allow?: string[] | undefined;
|
|
3269
|
-
} | undefined;
|
|
3270
|
-
on_fail?: "halt" | "continue" | undefined;
|
|
3271
|
-
max_turns?: number | undefined;
|
|
3272
|
-
budget?: {
|
|
3273
|
-
tokens?: number | undefined;
|
|
3274
|
-
cost_usd?: number | undefined;
|
|
3275
|
-
} | undefined;
|
|
3276
|
-
disallowed_tools?: string[] | undefined;
|
|
3277
|
-
fail_soft?: boolean | undefined;
|
|
3278
3276
|
permissions?: "write" | "read" | {
|
|
3279
3277
|
strict?: boolean | undefined;
|
|
3280
3278
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
@@ -3293,6 +3291,11 @@ export declare function parseWorkflow(raw: unknown): {
|
|
|
3293
3291
|
title_prefix?: string | undefined;
|
|
3294
3292
|
expires?: string | undefined;
|
|
3295
3293
|
}[] | undefined;
|
|
3294
|
+
max_turns?: number | undefined;
|
|
3295
|
+
budget?: {
|
|
3296
|
+
tokens?: number | undefined;
|
|
3297
|
+
cost_usd?: number | undefined;
|
|
3298
|
+
} | undefined;
|
|
3296
3299
|
rules?: (string | {
|
|
3297
3300
|
inline: string;
|
|
3298
3301
|
} | {
|
|
@@ -3351,6 +3354,7 @@ export declare function parseWorkflow(raw: unknown): {
|
|
|
3351
3354
|
eval_policy?: "all_pass" | "any_pass" | "weighted" | undefined;
|
|
3352
3355
|
judge_model?: string | undefined;
|
|
3353
3356
|
requires?: {
|
|
3357
|
+
on_fail?: "fail" | "skip" | undefined;
|
|
3354
3358
|
output_required?: string[] | undefined;
|
|
3355
3359
|
output_matches?: {
|
|
3356
3360
|
path: string;
|
|
@@ -3358,7 +3362,6 @@ export declare function parseWorkflow(raw: unknown): {
|
|
|
3358
3362
|
equals?: unknown;
|
|
3359
3363
|
matches?: string | undefined;
|
|
3360
3364
|
}[] | undefined;
|
|
3361
|
-
on_fail?: "fail" | "skip" | undefined;
|
|
3362
3365
|
} | undefined;
|
|
3363
3366
|
retry?: {
|
|
3364
3367
|
max: number;
|
|
@@ -3368,6 +3371,14 @@ export declare function parseWorkflow(raw: unknown): {
|
|
|
3368
3371
|
reflect: string;
|
|
3369
3372
|
} | undefined;
|
|
3370
3373
|
} | undefined;
|
|
3374
|
+
disallowed_tools?: string[] | undefined;
|
|
3375
|
+
agent_env?: string[] | undefined;
|
|
3376
|
+
tools?: {
|
|
3377
|
+
deny?: string[] | undefined;
|
|
3378
|
+
allow?: string[] | undefined;
|
|
3379
|
+
} | undefined;
|
|
3380
|
+
fail_soft?: boolean | undefined;
|
|
3381
|
+
on_fail?: "halt" | "continue" | undefined;
|
|
3371
3382
|
}>;
|
|
3372
3383
|
edges: {
|
|
3373
3384
|
from: string;
|
|
@@ -3379,15 +3390,15 @@ export declare function parseWorkflow(raw: unknown): {
|
|
|
3379
3390
|
}[];
|
|
3380
3391
|
entry: string;
|
|
3381
3392
|
model?: string | undefined;
|
|
3382
|
-
budget?: {
|
|
3383
|
-
tokens?: number | undefined;
|
|
3384
|
-
cost_usd?: number | undefined;
|
|
3385
|
-
} | undefined;
|
|
3386
3393
|
permissions?: "write" | "read" | {
|
|
3387
3394
|
strict?: boolean | undefined;
|
|
3388
3395
|
deny?: ("shell" | "write" | "edit" | "net" | "subagent")[] | undefined;
|
|
3389
3396
|
access?: "write" | "read" | undefined;
|
|
3390
3397
|
} | undefined;
|
|
3398
|
+
budget?: {
|
|
3399
|
+
tokens?: number | undefined;
|
|
3400
|
+
cost_usd?: number | undefined;
|
|
3401
|
+
} | undefined;
|
|
3391
3402
|
rules?: (string | {
|
|
3392
3403
|
inline: string;
|
|
3393
3404
|
} | {
|
|
@@ -3434,7 +3445,7 @@ export declare function parseWorkflow(raw: unknown): {
|
|
|
3434
3445
|
} | undefined;
|
|
3435
3446
|
};
|
|
3436
3447
|
export interface WorkflowError {
|
|
3437
|
-
code: "MISSING_ENTRY" | "UNKNOWN_EDGE_SOURCE" | "UNKNOWN_EDGE_TARGET" | "UNREACHABLE_NODE" | "UNKNOWN_SKILL" | "SELF_LOOP" | "UNBOUNDED_CYCLE" | "AMBIGUOUS_EDGES" | "UNSUPPORTED_EVAL_POLICY" | "INVALID_INLINE_SKILL" | "EDGE_ITERATIONS_EXCEEDED" | "RETRY_MAX_EXCEEDED" | "PERMISSION_CEILING" | "BUDGET_CEILING" | "OUTPUT_NOT_ALLOWED" | "DUPLICATE_OUTPUT" | "UNSUPPORTED_OUTPUT" | "INVALID_WHEN_EXPRESSION" | "MIXED_EDGE_CONDITIONS";
|
|
3448
|
+
code: "MISSING_ENTRY" | "UNKNOWN_EDGE_SOURCE" | "UNKNOWN_EDGE_TARGET" | "UNREACHABLE_NODE" | "UNKNOWN_SKILL" | "SELF_LOOP" | "UNBOUNDED_CYCLE" | "AMBIGUOUS_EDGES" | "UNSUPPORTED_EVAL_POLICY" | "INVALID_INLINE_SKILL" | "EDGE_ITERATIONS_EXCEEDED" | "RETRY_MAX_EXCEEDED" | "PERMISSION_CEILING" | "AGENT_ENV_READ_ONLY" | "BUDGET_CEILING" | "OUTPUT_NOT_ALLOWED" | "DUPLICATE_OUTPUT" | "UNSUPPORTED_OUTPUT" | "INVALID_WHEN_EXPRESSION" | "MIXED_EDGE_CONDITIONS";
|
|
3438
3449
|
message: string;
|
|
3439
3450
|
nodeId?: string;
|
|
3440
3451
|
}
|
|
@@ -4121,6 +4132,15 @@ export declare const workflowJsonSchema: {
|
|
|
4121
4132
|
};
|
|
4122
4133
|
readonly description: "Built-in tool names the agent cannot use at this node, in the harness's own names (Claude Code: ['Bash']). Passed through to the harness: Claude Code removes them from the model context; Codex maps known names to tool classes and reports what it cannot deny as degraded. For portable workflows prefer tool classes in tools.deny.";
|
|
4123
4134
|
};
|
|
4135
|
+
readonly agent_env: {
|
|
4136
|
+
readonly type: "array";
|
|
4137
|
+
readonly items: {
|
|
4138
|
+
readonly type: "string";
|
|
4139
|
+
readonly pattern: string;
|
|
4140
|
+
};
|
|
4141
|
+
readonly minItems: 1;
|
|
4142
|
+
readonly description: "Secrets this node's agent process gets in its env. Skill tools run in sweny, so by default the agent never holds a skill credential (GITHUB_TOKEN, LINEAR_API_KEY, ...). Name one here only when the agent's own shell needs it: the agent can use it outside sweny's opinions (any API call, any push). Not allowed on a permissions: read node; withheld in a staged or dry run.";
|
|
4143
|
+
};
|
|
4124
4144
|
readonly tools: {
|
|
4125
4145
|
readonly type: "object";
|
|
4126
4146
|
readonly description: "Per-node filter over skill-provided tools. 'allow' keeps only the listed skill tools; 'deny' removes the listed skill tools (applied after 'allow'). Filtered tools are never registered for the node's run. Absent field = all skill tools exposed. A 'deny' entry that names a portable tool class (shell, write, edit, net, subagent) also denies that class of built-in agent tools on every harness.";
|