@gt-fe/eap-sdk 0.1.13 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +140 -70
  2. package/dist/materialization/index.d.ts +0 -1
  3. package/dist/materialization/index.d.ts.map +1 -1
  4. package/dist/materialization/index.js +0 -1
  5. package/dist/materialization/index.js.map +1 -1
  6. package/dist/materialization/prepare-agent-runtime.d.ts +6 -0
  7. package/dist/materialization/prepare-agent-runtime.d.ts.map +1 -1
  8. package/dist/materialization/prepare-agent-runtime.js +11 -17
  9. package/dist/materialization/prepare-agent-runtime.js.map +1 -1
  10. package/dist/materialization/types.d.ts +0 -2
  11. package/dist/materialization/types.d.ts.map +1 -1
  12. package/dist/packaging/package-agent-project.d.ts.map +1 -1
  13. package/dist/packaging/package-agent-project.js +2 -4
  14. package/dist/packaging/package-agent-project.js.map +1 -1
  15. package/dist/platform/client.d.ts.map +1 -1
  16. package/dist/platform/client.js +13 -2
  17. package/dist/platform/client.js.map +1 -1
  18. package/dist/platform/types.d.ts +2 -0
  19. package/dist/platform/types.d.ts.map +1 -1
  20. package/dist/schema/agent/manifest.d.ts +1029 -98
  21. package/dist/schema/agent/manifest.d.ts.map +1 -1
  22. package/dist/schema/graph.d.ts +1538 -252
  23. package/dist/schema/graph.d.ts.map +1 -1
  24. package/dist/schema/graph.js +30 -5
  25. package/dist/schema/graph.js.map +1 -1
  26. package/dist/schema/lockfile.d.ts +30 -30
  27. package/dist/service/create-agent.d.ts +8 -0
  28. package/dist/service/create-agent.d.ts.map +1 -0
  29. package/dist/service/create-agent.js +407 -0
  30. package/dist/service/create-agent.js.map +1 -0
  31. package/dist/service/events.d.ts +12 -45
  32. package/dist/service/events.d.ts.map +1 -1
  33. package/dist/service/events.js +45 -1
  34. package/dist/service/events.js.map +1 -1
  35. package/dist/service/index.d.ts +5 -2
  36. package/dist/service/index.d.ts.map +1 -1
  37. package/dist/service/index.js +4 -1
  38. package/dist/service/index.js.map +1 -1
  39. package/dist/service/messages.d.ts +13 -0
  40. package/dist/service/messages.d.ts.map +1 -0
  41. package/dist/service/messages.js +24 -0
  42. package/dist/service/messages.js.map +1 -0
  43. package/dist/service/resources.d.ts +86 -0
  44. package/dist/service/resources.d.ts.map +1 -0
  45. package/dist/service/resources.js +26 -0
  46. package/dist/service/resources.js.map +1 -0
  47. package/dist/service/runtime-adapter.d.ts.map +1 -1
  48. package/dist/service/runtime-adapter.js +26 -2
  49. package/dist/service/runtime-adapter.js.map +1 -1
  50. package/dist/service/sessions.d.ts +33 -0
  51. package/dist/service/sessions.d.ts.map +1 -0
  52. package/dist/service/sessions.js +67 -0
  53. package/dist/service/sessions.js.map +1 -0
  54. package/dist/service/types.d.ts +121 -32
  55. package/dist/service/types.d.ts.map +1 -1
  56. package/package.json +2 -2
  57. package/dist/materialization/sync-author-resources.d.ts +0 -21
  58. package/dist/materialization/sync-author-resources.d.ts.map +0 -1
  59. package/dist/materialization/sync-author-resources.js +0 -98
  60. package/dist/materialization/sync-author-resources.js.map +0 -1
  61. package/dist/service/create-agent-service.d.ts +0 -12
  62. package/dist/service/create-agent-service.d.ts.map +0 -1
  63. package/dist/service/create-agent-service.js +0 -283
  64. package/dist/service/create-agent-service.js.map +0 -1
  65. package/dist/service/http-server.d.ts +0 -4
  66. package/dist/service/http-server.d.ts.map +0 -1
  67. package/dist/service/http-server.js +0 -89
  68. package/dist/service/http-server.js.map +0 -1
@@ -663,19 +663,21 @@ export declare const AgentManifestSchema: z.ZodObject<{
663
663
  config: z.ZodObject<{
664
664
  tool: z.ZodString;
665
665
  arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
666
- }, "strict", z.ZodTypeAny, {
667
- tool: string;
668
- arguments?: Record<string, unknown> | undefined;
669
- }, {
670
- tool: string;
671
- arguments?: Record<string, unknown> | undefined;
672
- }>;
666
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
667
+ tool: z.ZodString;
668
+ arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
669
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
670
+ tool: z.ZodString;
671
+ arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
672
+ }, z.ZodTypeAny, "passthrough">>;
673
673
  }, "strict", z.ZodTypeAny, {
674
674
  type: "tool";
675
675
  id: string;
676
676
  config: {
677
677
  tool: string;
678
678
  arguments?: Record<string, unknown> | undefined;
679
+ } & {
680
+ [k: string]: unknown;
679
681
  };
680
682
  description?: string | undefined;
681
683
  label?: string | undefined;
@@ -701,6 +703,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
701
703
  config: {
702
704
  tool: string;
703
705
  arguments?: Record<string, unknown> | undefined;
706
+ } & {
707
+ [k: string]: unknown;
704
708
  };
705
709
  description?: string | undefined;
706
710
  label?: string | undefined;
@@ -785,17 +789,17 @@ export declare const AgentManifestSchema: z.ZodObject<{
785
789
  conditionFn: z.ZodOptional<z.ZodString>;
786
790
  branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
787
791
  fallback: z.ZodOptional<z.ZodString>;
788
- }, "strict", z.ZodTypeAny, {
789
- conditionExpr?: string | undefined;
790
- conditionFn?: string | undefined;
791
- branchValues?: string[] | undefined;
792
- fallback?: string | undefined;
793
- }, {
794
- conditionExpr?: string | undefined;
795
- conditionFn?: string | undefined;
796
- branchValues?: string[] | undefined;
797
- fallback?: string | undefined;
798
- }>>;
792
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
793
+ conditionExpr: z.ZodOptional<z.ZodString>;
794
+ conditionFn: z.ZodOptional<z.ZodString>;
795
+ branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
796
+ fallback: z.ZodOptional<z.ZodString>;
797
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
798
+ conditionExpr: z.ZodOptional<z.ZodString>;
799
+ conditionFn: z.ZodOptional<z.ZodString>;
800
+ branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
801
+ fallback: z.ZodOptional<z.ZodString>;
802
+ }, z.ZodTypeAny, "passthrough">>>;
799
803
  }, "strict", z.ZodTypeAny, {
800
804
  type: "condition";
801
805
  id: string;
@@ -804,6 +808,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
804
808
  conditionFn?: string | undefined;
805
809
  branchValues?: string[] | undefined;
806
810
  fallback?: string | undefined;
811
+ } & {
812
+ [k: string]: unknown;
807
813
  };
808
814
  description?: string | undefined;
809
815
  label?: string | undefined;
@@ -844,12 +850,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
844
850
  question?: string | undefined;
845
851
  timeout?: number | undefined;
846
852
  } | undefined;
847
- config?: {
848
- conditionExpr?: string | undefined;
849
- conditionFn?: string | undefined;
850
- branchValues?: string[] | undefined;
851
- fallback?: string | undefined;
852
- } | undefined;
853
+ config?: z.objectInputType<{
854
+ conditionExpr: z.ZodOptional<z.ZodString>;
855
+ conditionFn: z.ZodOptional<z.ZodString>;
856
+ branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
857
+ fallback: z.ZodOptional<z.ZodString>;
858
+ }, z.ZodTypeAny, "passthrough"> | undefined;
853
859
  }>, z.ZodObject<{
854
860
  id: z.ZodString;
855
861
  label: z.ZodOptional<z.ZodString>;
@@ -914,19 +920,21 @@ export declare const AgentManifestSchema: z.ZodObject<{
914
920
  config: z.ZodDefault<z.ZodObject<{
915
921
  skillId: z.ZodOptional<z.ZodString>;
916
922
  skillCode: z.ZodOptional<z.ZodString>;
917
- }, "strict", z.ZodTypeAny, {
918
- skillId?: string | undefined;
919
- skillCode?: string | undefined;
920
- }, {
921
- skillId?: string | undefined;
922
- skillCode?: string | undefined;
923
- }>>;
923
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
924
+ skillId: z.ZodOptional<z.ZodString>;
925
+ skillCode: z.ZodOptional<z.ZodString>;
926
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
927
+ skillId: z.ZodOptional<z.ZodString>;
928
+ skillCode: z.ZodOptional<z.ZodString>;
929
+ }, z.ZodTypeAny, "passthrough">>>;
924
930
  }, "strict", z.ZodTypeAny, {
925
931
  type: "subgraph";
926
932
  id: string;
927
933
  config: {
928
934
  skillId?: string | undefined;
929
935
  skillCode?: string | undefined;
936
+ } & {
937
+ [k: string]: unknown;
930
938
  };
931
939
  description?: string | undefined;
932
940
  label?: string | undefined;
@@ -968,10 +976,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
968
976
  question?: string | undefined;
969
977
  timeout?: number | undefined;
970
978
  } | undefined;
971
- config?: {
972
- skillId?: string | undefined;
973
- skillCode?: string | undefined;
974
- } | undefined;
979
+ config?: z.objectInputType<{
980
+ skillId: z.ZodOptional<z.ZodString>;
981
+ skillCode: z.ZodOptional<z.ZodString>;
982
+ }, z.ZodTypeAny, "passthrough"> | undefined;
975
983
  subgraphId?: string | undefined;
976
984
  }>, z.ZodObject<{
977
985
  id: z.ZodString;
@@ -1036,19 +1044,21 @@ export declare const AgentManifestSchema: z.ZodObject<{
1036
1044
  config: z.ZodDefault<z.ZodObject<{
1037
1045
  question: z.ZodOptional<z.ZodString>;
1038
1046
  options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1039
- }, "strict", z.ZodTypeAny, {
1040
- options?: string[] | undefined;
1041
- question?: string | undefined;
1042
- }, {
1043
- options?: string[] | undefined;
1044
- question?: string | undefined;
1045
- }>>;
1047
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1048
+ question: z.ZodOptional<z.ZodString>;
1049
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1051
+ question: z.ZodOptional<z.ZodString>;
1052
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1053
+ }, z.ZodTypeAny, "passthrough">>>;
1046
1054
  }, "strict", z.ZodTypeAny, {
1047
1055
  type: "human";
1048
1056
  id: string;
1049
1057
  config: {
1050
1058
  options?: string[] | undefined;
1051
1059
  question?: string | undefined;
1060
+ } & {
1061
+ [k: string]: unknown;
1052
1062
  };
1053
1063
  description?: string | undefined;
1054
1064
  label?: string | undefined;
@@ -1089,10 +1099,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
1089
1099
  question?: string | undefined;
1090
1100
  timeout?: number | undefined;
1091
1101
  } | undefined;
1092
- config?: {
1093
- options?: string[] | undefined;
1094
- question?: string | undefined;
1095
- } | undefined;
1102
+ config?: z.objectInputType<{
1103
+ question: z.ZodOptional<z.ZodString>;
1104
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1105
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1096
1106
  }>, z.ZodObject<{
1097
1107
  id: z.ZodString;
1098
1108
  label: z.ZodOptional<z.ZodString>;
@@ -1166,19 +1176,31 @@ export declare const AgentManifestSchema: z.ZodObject<{
1166
1176
  id: string;
1167
1177
  fn?: string | undefined;
1168
1178
  }>, "many">>;
1169
- }, "strict", z.ZodTypeAny, {
1170
- branches?: string[] | undefined;
1171
- tasks?: {
1179
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1180
+ branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1181
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1182
+ id: z.ZodString;
1183
+ fn: z.ZodOptional<z.ZodString>;
1184
+ }, "strict", z.ZodTypeAny, {
1172
1185
  id: string;
1173
1186
  fn?: string | undefined;
1174
- }[] | undefined;
1175
- }, {
1176
- branches?: string[] | undefined;
1177
- tasks?: {
1187
+ }, {
1178
1188
  id: string;
1179
1189
  fn?: string | undefined;
1180
- }[] | undefined;
1181
- }>>;
1190
+ }>, "many">>;
1191
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1192
+ branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1193
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1194
+ id: z.ZodString;
1195
+ fn: z.ZodOptional<z.ZodString>;
1196
+ }, "strict", z.ZodTypeAny, {
1197
+ id: string;
1198
+ fn?: string | undefined;
1199
+ }, {
1200
+ id: string;
1201
+ fn?: string | undefined;
1202
+ }>, "many">>;
1203
+ }, z.ZodTypeAny, "passthrough">>>;
1182
1204
  }, "strict", z.ZodTypeAny, {
1183
1205
  type: "parallel";
1184
1206
  id: string;
@@ -1188,6 +1210,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
1188
1210
  id: string;
1189
1211
  fn?: string | undefined;
1190
1212
  }[] | undefined;
1213
+ } & {
1214
+ [k: string]: unknown;
1191
1215
  };
1192
1216
  description?: string | undefined;
1193
1217
  label?: string | undefined;
@@ -1229,13 +1253,19 @@ export declare const AgentManifestSchema: z.ZodObject<{
1229
1253
  question?: string | undefined;
1230
1254
  timeout?: number | undefined;
1231
1255
  } | undefined;
1232
- config?: {
1233
- branches?: string[] | undefined;
1234
- tasks?: {
1256
+ config?: z.objectInputType<{
1257
+ branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1258
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1259
+ id: z.ZodString;
1260
+ fn: z.ZodOptional<z.ZodString>;
1261
+ }, "strict", z.ZodTypeAny, {
1235
1262
  id: string;
1236
1263
  fn?: string | undefined;
1237
- }[] | undefined;
1238
- } | undefined;
1264
+ }, {
1265
+ id: string;
1266
+ fn?: string | undefined;
1267
+ }>, "many">>;
1268
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1239
1269
  branches?: string[] | undefined;
1240
1270
  }>, z.ZodObject<{
1241
1271
  id: z.ZodString;
@@ -1369,6 +1399,523 @@ export declare const AgentManifestSchema: z.ZodObject<{
1369
1399
  timeoutMs: z.ZodOptional<z.ZodNumber>;
1370
1400
  bindSkill: z.ZodOptional<z.ZodBoolean>;
1371
1401
  }, z.ZodTypeAny, "passthrough"> | undefined;
1402
+ }>, z.ZodObject<{
1403
+ id: z.ZodString;
1404
+ label: z.ZodOptional<z.ZodString>;
1405
+ description: z.ZodOptional<z.ZodString>;
1406
+ retry: z.ZodOptional<z.ZodObject<{
1407
+ maxRetries: z.ZodNumber;
1408
+ backoff: z.ZodOptional<z.ZodObject<{
1409
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1410
+ baseDelay: z.ZodNumber;
1411
+ maxDelay: z.ZodNumber;
1412
+ jitter: z.ZodOptional<z.ZodNumber>;
1413
+ }, "strict", z.ZodTypeAny, {
1414
+ type: "exponential" | "linear" | "fixed";
1415
+ baseDelay: number;
1416
+ maxDelay: number;
1417
+ jitter?: number | undefined;
1418
+ }, {
1419
+ type: "exponential" | "linear" | "fixed";
1420
+ baseDelay: number;
1421
+ maxDelay: number;
1422
+ jitter?: number | undefined;
1423
+ }>>;
1424
+ }, "strict", z.ZodTypeAny, {
1425
+ maxRetries: number;
1426
+ backoff?: {
1427
+ type: "exponential" | "linear" | "fixed";
1428
+ baseDelay: number;
1429
+ maxDelay: number;
1430
+ jitter?: number | undefined;
1431
+ } | undefined;
1432
+ }, {
1433
+ maxRetries: number;
1434
+ backoff?: {
1435
+ type: "exponential" | "linear" | "fixed";
1436
+ baseDelay: number;
1437
+ maxDelay: number;
1438
+ jitter?: number | undefined;
1439
+ } | undefined;
1440
+ }>>;
1441
+ interrupt: z.ZodOptional<z.ZodObject<{
1442
+ before: z.ZodOptional<z.ZodBoolean>;
1443
+ after: z.ZodOptional<z.ZodBoolean>;
1444
+ question: z.ZodOptional<z.ZodString>;
1445
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1446
+ timeout: z.ZodOptional<z.ZodNumber>;
1447
+ }, "strict", z.ZodTypeAny, {
1448
+ options?: string[] | undefined;
1449
+ before?: boolean | undefined;
1450
+ after?: boolean | undefined;
1451
+ question?: string | undefined;
1452
+ timeout?: number | undefined;
1453
+ }, {
1454
+ options?: string[] | undefined;
1455
+ before?: boolean | undefined;
1456
+ after?: boolean | undefined;
1457
+ question?: string | undefined;
1458
+ timeout?: number | undefined;
1459
+ }>>;
1460
+ } & {
1461
+ type: z.ZodLiteral<"rag">;
1462
+ config: z.ZodDefault<z.ZodObject<{
1463
+ model: z.ZodOptional<z.ZodString>;
1464
+ totalK: z.ZodOptional<z.ZodNumber>;
1465
+ maxIterations: z.ZodOptional<z.ZodNumber>;
1466
+ quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1467
+ nearDupThreshold: z.ZodOptional<z.ZodNumber>;
1468
+ retry: z.ZodOptional<z.ZodObject<{
1469
+ maxRetries: z.ZodNumber;
1470
+ backoff: z.ZodOptional<z.ZodObject<{
1471
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1472
+ baseDelay: z.ZodNumber;
1473
+ maxDelay: z.ZodNumber;
1474
+ jitter: z.ZodOptional<z.ZodNumber>;
1475
+ }, "strict", z.ZodTypeAny, {
1476
+ type: "exponential" | "linear" | "fixed";
1477
+ baseDelay: number;
1478
+ maxDelay: number;
1479
+ jitter?: number | undefined;
1480
+ }, {
1481
+ type: "exponential" | "linear" | "fixed";
1482
+ baseDelay: number;
1483
+ maxDelay: number;
1484
+ jitter?: number | undefined;
1485
+ }>>;
1486
+ }, "strict", z.ZodTypeAny, {
1487
+ maxRetries: number;
1488
+ backoff?: {
1489
+ type: "exponential" | "linear" | "fixed";
1490
+ baseDelay: number;
1491
+ maxDelay: number;
1492
+ jitter?: number | undefined;
1493
+ } | undefined;
1494
+ }, {
1495
+ maxRetries: number;
1496
+ backoff?: {
1497
+ type: "exponential" | "linear" | "fixed";
1498
+ baseDelay: number;
1499
+ maxDelay: number;
1500
+ jitter?: number | undefined;
1501
+ } | undefined;
1502
+ }>>;
1503
+ retrievalSources: z.ZodOptional<z.ZodObject<{
1504
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1505
+ type: z.ZodString;
1506
+ id: z.ZodString;
1507
+ source: z.ZodOptional<z.ZodString>;
1508
+ ref: z.ZodOptional<z.ZodString>;
1509
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1510
+ type: z.ZodString;
1511
+ id: z.ZodString;
1512
+ source: z.ZodOptional<z.ZodString>;
1513
+ ref: z.ZodOptional<z.ZodString>;
1514
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1515
+ type: z.ZodString;
1516
+ id: z.ZodString;
1517
+ source: z.ZodOptional<z.ZodString>;
1518
+ ref: z.ZodOptional<z.ZodString>;
1519
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1520
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1521
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1522
+ type: z.ZodString;
1523
+ id: z.ZodString;
1524
+ source: z.ZodOptional<z.ZodString>;
1525
+ ref: z.ZodOptional<z.ZodString>;
1526
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1527
+ type: z.ZodString;
1528
+ id: z.ZodString;
1529
+ source: z.ZodOptional<z.ZodString>;
1530
+ ref: z.ZodOptional<z.ZodString>;
1531
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1532
+ type: z.ZodString;
1533
+ id: z.ZodString;
1534
+ source: z.ZodOptional<z.ZodString>;
1535
+ ref: z.ZodOptional<z.ZodString>;
1536
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1537
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1538
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1539
+ type: z.ZodString;
1540
+ id: z.ZodString;
1541
+ source: z.ZodOptional<z.ZodString>;
1542
+ ref: z.ZodOptional<z.ZodString>;
1543
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1544
+ type: z.ZodString;
1545
+ id: z.ZodString;
1546
+ source: z.ZodOptional<z.ZodString>;
1547
+ ref: z.ZodOptional<z.ZodString>;
1548
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1549
+ type: z.ZodString;
1550
+ id: z.ZodString;
1551
+ source: z.ZodOptional<z.ZodString>;
1552
+ ref: z.ZodOptional<z.ZodString>;
1553
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1554
+ }, z.ZodTypeAny, "passthrough">>>;
1555
+ toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1557
+ model: z.ZodOptional<z.ZodString>;
1558
+ totalK: z.ZodOptional<z.ZodNumber>;
1559
+ maxIterations: z.ZodOptional<z.ZodNumber>;
1560
+ quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1561
+ nearDupThreshold: z.ZodOptional<z.ZodNumber>;
1562
+ retry: z.ZodOptional<z.ZodObject<{
1563
+ maxRetries: z.ZodNumber;
1564
+ backoff: z.ZodOptional<z.ZodObject<{
1565
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1566
+ baseDelay: z.ZodNumber;
1567
+ maxDelay: z.ZodNumber;
1568
+ jitter: z.ZodOptional<z.ZodNumber>;
1569
+ }, "strict", z.ZodTypeAny, {
1570
+ type: "exponential" | "linear" | "fixed";
1571
+ baseDelay: number;
1572
+ maxDelay: number;
1573
+ jitter?: number | undefined;
1574
+ }, {
1575
+ type: "exponential" | "linear" | "fixed";
1576
+ baseDelay: number;
1577
+ maxDelay: number;
1578
+ jitter?: number | undefined;
1579
+ }>>;
1580
+ }, "strict", z.ZodTypeAny, {
1581
+ maxRetries: number;
1582
+ backoff?: {
1583
+ type: "exponential" | "linear" | "fixed";
1584
+ baseDelay: number;
1585
+ maxDelay: number;
1586
+ jitter?: number | undefined;
1587
+ } | undefined;
1588
+ }, {
1589
+ maxRetries: number;
1590
+ backoff?: {
1591
+ type: "exponential" | "linear" | "fixed";
1592
+ baseDelay: number;
1593
+ maxDelay: number;
1594
+ jitter?: number | undefined;
1595
+ } | undefined;
1596
+ }>>;
1597
+ retrievalSources: z.ZodOptional<z.ZodObject<{
1598
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1599
+ type: z.ZodString;
1600
+ id: z.ZodString;
1601
+ source: z.ZodOptional<z.ZodString>;
1602
+ ref: z.ZodOptional<z.ZodString>;
1603
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1604
+ type: z.ZodString;
1605
+ id: z.ZodString;
1606
+ source: z.ZodOptional<z.ZodString>;
1607
+ ref: z.ZodOptional<z.ZodString>;
1608
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1609
+ type: z.ZodString;
1610
+ id: z.ZodString;
1611
+ source: z.ZodOptional<z.ZodString>;
1612
+ ref: z.ZodOptional<z.ZodString>;
1613
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1614
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1615
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1616
+ type: z.ZodString;
1617
+ id: z.ZodString;
1618
+ source: z.ZodOptional<z.ZodString>;
1619
+ ref: z.ZodOptional<z.ZodString>;
1620
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1621
+ type: z.ZodString;
1622
+ id: z.ZodString;
1623
+ source: z.ZodOptional<z.ZodString>;
1624
+ ref: z.ZodOptional<z.ZodString>;
1625
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1626
+ type: z.ZodString;
1627
+ id: z.ZodString;
1628
+ source: z.ZodOptional<z.ZodString>;
1629
+ ref: z.ZodOptional<z.ZodString>;
1630
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1631
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1632
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1633
+ type: z.ZodString;
1634
+ id: z.ZodString;
1635
+ source: z.ZodOptional<z.ZodString>;
1636
+ ref: z.ZodOptional<z.ZodString>;
1637
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1638
+ type: z.ZodString;
1639
+ id: z.ZodString;
1640
+ source: z.ZodOptional<z.ZodString>;
1641
+ ref: z.ZodOptional<z.ZodString>;
1642
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1643
+ type: z.ZodString;
1644
+ id: z.ZodString;
1645
+ source: z.ZodOptional<z.ZodString>;
1646
+ ref: z.ZodOptional<z.ZodString>;
1647
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1648
+ }, z.ZodTypeAny, "passthrough">>>;
1649
+ toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1650
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1651
+ model: z.ZodOptional<z.ZodString>;
1652
+ totalK: z.ZodOptional<z.ZodNumber>;
1653
+ maxIterations: z.ZodOptional<z.ZodNumber>;
1654
+ quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1655
+ nearDupThreshold: z.ZodOptional<z.ZodNumber>;
1656
+ retry: z.ZodOptional<z.ZodObject<{
1657
+ maxRetries: z.ZodNumber;
1658
+ backoff: z.ZodOptional<z.ZodObject<{
1659
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1660
+ baseDelay: z.ZodNumber;
1661
+ maxDelay: z.ZodNumber;
1662
+ jitter: z.ZodOptional<z.ZodNumber>;
1663
+ }, "strict", z.ZodTypeAny, {
1664
+ type: "exponential" | "linear" | "fixed";
1665
+ baseDelay: number;
1666
+ maxDelay: number;
1667
+ jitter?: number | undefined;
1668
+ }, {
1669
+ type: "exponential" | "linear" | "fixed";
1670
+ baseDelay: number;
1671
+ maxDelay: number;
1672
+ jitter?: number | undefined;
1673
+ }>>;
1674
+ }, "strict", z.ZodTypeAny, {
1675
+ maxRetries: number;
1676
+ backoff?: {
1677
+ type: "exponential" | "linear" | "fixed";
1678
+ baseDelay: number;
1679
+ maxDelay: number;
1680
+ jitter?: number | undefined;
1681
+ } | undefined;
1682
+ }, {
1683
+ maxRetries: number;
1684
+ backoff?: {
1685
+ type: "exponential" | "linear" | "fixed";
1686
+ baseDelay: number;
1687
+ maxDelay: number;
1688
+ jitter?: number | undefined;
1689
+ } | undefined;
1690
+ }>>;
1691
+ retrievalSources: z.ZodOptional<z.ZodObject<{
1692
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1693
+ type: z.ZodString;
1694
+ id: z.ZodString;
1695
+ source: z.ZodOptional<z.ZodString>;
1696
+ ref: z.ZodOptional<z.ZodString>;
1697
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1698
+ type: z.ZodString;
1699
+ id: z.ZodString;
1700
+ source: z.ZodOptional<z.ZodString>;
1701
+ ref: z.ZodOptional<z.ZodString>;
1702
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1703
+ type: z.ZodString;
1704
+ id: z.ZodString;
1705
+ source: z.ZodOptional<z.ZodString>;
1706
+ ref: z.ZodOptional<z.ZodString>;
1707
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1708
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1709
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1710
+ type: z.ZodString;
1711
+ id: z.ZodString;
1712
+ source: z.ZodOptional<z.ZodString>;
1713
+ ref: z.ZodOptional<z.ZodString>;
1714
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1715
+ type: z.ZodString;
1716
+ id: z.ZodString;
1717
+ source: z.ZodOptional<z.ZodString>;
1718
+ ref: z.ZodOptional<z.ZodString>;
1719
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1720
+ type: z.ZodString;
1721
+ id: z.ZodString;
1722
+ source: z.ZodOptional<z.ZodString>;
1723
+ ref: z.ZodOptional<z.ZodString>;
1724
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1725
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1726
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1727
+ type: z.ZodString;
1728
+ id: z.ZodString;
1729
+ source: z.ZodOptional<z.ZodString>;
1730
+ ref: z.ZodOptional<z.ZodString>;
1731
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1732
+ type: z.ZodString;
1733
+ id: z.ZodString;
1734
+ source: z.ZodOptional<z.ZodString>;
1735
+ ref: z.ZodOptional<z.ZodString>;
1736
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1737
+ type: z.ZodString;
1738
+ id: z.ZodString;
1739
+ source: z.ZodOptional<z.ZodString>;
1740
+ ref: z.ZodOptional<z.ZodString>;
1741
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1742
+ }, z.ZodTypeAny, "passthrough">>>;
1743
+ toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1744
+ }, z.ZodTypeAny, "passthrough">>>;
1745
+ }, "strict", z.ZodTypeAny, {
1746
+ type: "rag";
1747
+ id: string;
1748
+ config: {
1749
+ retry?: {
1750
+ maxRetries: number;
1751
+ backoff?: {
1752
+ type: "exponential" | "linear" | "fixed";
1753
+ baseDelay: number;
1754
+ maxDelay: number;
1755
+ jitter?: number | undefined;
1756
+ } | undefined;
1757
+ } | undefined;
1758
+ model?: string | undefined;
1759
+ totalK?: number | undefined;
1760
+ maxIterations?: number | undefined;
1761
+ quota?: Record<string, number> | undefined;
1762
+ nearDupThreshold?: number | undefined;
1763
+ retrievalSources?: z.objectOutputType<{
1764
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1765
+ type: z.ZodString;
1766
+ id: z.ZodString;
1767
+ source: z.ZodOptional<z.ZodString>;
1768
+ ref: z.ZodOptional<z.ZodString>;
1769
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1770
+ type: z.ZodString;
1771
+ id: z.ZodString;
1772
+ source: z.ZodOptional<z.ZodString>;
1773
+ ref: z.ZodOptional<z.ZodString>;
1774
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1775
+ type: z.ZodString;
1776
+ id: z.ZodString;
1777
+ source: z.ZodOptional<z.ZodString>;
1778
+ ref: z.ZodOptional<z.ZodString>;
1779
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1780
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1781
+ toolSources?: Record<string, string> | undefined;
1782
+ } & {
1783
+ [k: string]: unknown;
1784
+ };
1785
+ description?: string | undefined;
1786
+ label?: string | undefined;
1787
+ retry?: {
1788
+ maxRetries: number;
1789
+ backoff?: {
1790
+ type: "exponential" | "linear" | "fixed";
1791
+ baseDelay: number;
1792
+ maxDelay: number;
1793
+ jitter?: number | undefined;
1794
+ } | undefined;
1795
+ } | undefined;
1796
+ interrupt?: {
1797
+ options?: string[] | undefined;
1798
+ before?: boolean | undefined;
1799
+ after?: boolean | undefined;
1800
+ question?: string | undefined;
1801
+ timeout?: number | undefined;
1802
+ } | undefined;
1803
+ }, {
1804
+ type: "rag";
1805
+ id: string;
1806
+ description?: string | undefined;
1807
+ label?: string | undefined;
1808
+ retry?: {
1809
+ maxRetries: number;
1810
+ backoff?: {
1811
+ type: "exponential" | "linear" | "fixed";
1812
+ baseDelay: number;
1813
+ maxDelay: number;
1814
+ jitter?: number | undefined;
1815
+ } | undefined;
1816
+ } | undefined;
1817
+ interrupt?: {
1818
+ options?: string[] | undefined;
1819
+ before?: boolean | undefined;
1820
+ after?: boolean | undefined;
1821
+ question?: string | undefined;
1822
+ timeout?: number | undefined;
1823
+ } | undefined;
1824
+ config?: z.objectInputType<{
1825
+ model: z.ZodOptional<z.ZodString>;
1826
+ totalK: z.ZodOptional<z.ZodNumber>;
1827
+ maxIterations: z.ZodOptional<z.ZodNumber>;
1828
+ quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1829
+ nearDupThreshold: z.ZodOptional<z.ZodNumber>;
1830
+ retry: z.ZodOptional<z.ZodObject<{
1831
+ maxRetries: z.ZodNumber;
1832
+ backoff: z.ZodOptional<z.ZodObject<{
1833
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
1834
+ baseDelay: z.ZodNumber;
1835
+ maxDelay: z.ZodNumber;
1836
+ jitter: z.ZodOptional<z.ZodNumber>;
1837
+ }, "strict", z.ZodTypeAny, {
1838
+ type: "exponential" | "linear" | "fixed";
1839
+ baseDelay: number;
1840
+ maxDelay: number;
1841
+ jitter?: number | undefined;
1842
+ }, {
1843
+ type: "exponential" | "linear" | "fixed";
1844
+ baseDelay: number;
1845
+ maxDelay: number;
1846
+ jitter?: number | undefined;
1847
+ }>>;
1848
+ }, "strict", z.ZodTypeAny, {
1849
+ maxRetries: number;
1850
+ backoff?: {
1851
+ type: "exponential" | "linear" | "fixed";
1852
+ baseDelay: number;
1853
+ maxDelay: number;
1854
+ jitter?: number | undefined;
1855
+ } | undefined;
1856
+ }, {
1857
+ maxRetries: number;
1858
+ backoff?: {
1859
+ type: "exponential" | "linear" | "fixed";
1860
+ baseDelay: number;
1861
+ maxDelay: number;
1862
+ jitter?: number | undefined;
1863
+ } | undefined;
1864
+ }>>;
1865
+ retrievalSources: z.ZodOptional<z.ZodObject<{
1866
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1867
+ type: z.ZodString;
1868
+ id: z.ZodString;
1869
+ source: z.ZodOptional<z.ZodString>;
1870
+ ref: z.ZodOptional<z.ZodString>;
1871
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1872
+ type: z.ZodString;
1873
+ id: z.ZodString;
1874
+ source: z.ZodOptional<z.ZodString>;
1875
+ ref: z.ZodOptional<z.ZodString>;
1876
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1877
+ type: z.ZodString;
1878
+ id: z.ZodString;
1879
+ source: z.ZodOptional<z.ZodString>;
1880
+ ref: z.ZodOptional<z.ZodString>;
1881
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1882
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1883
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1884
+ type: z.ZodString;
1885
+ id: z.ZodString;
1886
+ source: z.ZodOptional<z.ZodString>;
1887
+ ref: z.ZodOptional<z.ZodString>;
1888
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1889
+ type: z.ZodString;
1890
+ id: z.ZodString;
1891
+ source: z.ZodOptional<z.ZodString>;
1892
+ ref: z.ZodOptional<z.ZodString>;
1893
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1894
+ type: z.ZodString;
1895
+ id: z.ZodString;
1896
+ source: z.ZodOptional<z.ZodString>;
1897
+ ref: z.ZodOptional<z.ZodString>;
1898
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1899
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1900
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1901
+ type: z.ZodString;
1902
+ id: z.ZodString;
1903
+ source: z.ZodOptional<z.ZodString>;
1904
+ ref: z.ZodOptional<z.ZodString>;
1905
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1906
+ type: z.ZodString;
1907
+ id: z.ZodString;
1908
+ source: z.ZodOptional<z.ZodString>;
1909
+ ref: z.ZodOptional<z.ZodString>;
1910
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1911
+ type: z.ZodString;
1912
+ id: z.ZodString;
1913
+ source: z.ZodOptional<z.ZodString>;
1914
+ ref: z.ZodOptional<z.ZodString>;
1915
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
1916
+ }, z.ZodTypeAny, "passthrough">>>;
1917
+ toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1918
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1372
1919
  }>]>, "many">;
1373
1920
  edges: z.ZodArray<z.ZodObject<{
1374
1921
  from: z.ZodString;
@@ -1505,6 +2052,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
1505
2052
  config: {
1506
2053
  tool: string;
1507
2054
  arguments?: Record<string, unknown> | undefined;
2055
+ } & {
2056
+ [k: string]: unknown;
1508
2057
  };
1509
2058
  description?: string | undefined;
1510
2059
  label?: string | undefined;
@@ -1532,6 +2081,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
1532
2081
  conditionFn?: string | undefined;
1533
2082
  branchValues?: string[] | undefined;
1534
2083
  fallback?: string | undefined;
2084
+ } & {
2085
+ [k: string]: unknown;
1535
2086
  };
1536
2087
  description?: string | undefined;
1537
2088
  label?: string | undefined;
@@ -1557,6 +2108,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
1557
2108
  config: {
1558
2109
  skillId?: string | undefined;
1559
2110
  skillCode?: string | undefined;
2111
+ } & {
2112
+ [k: string]: unknown;
1560
2113
  };
1561
2114
  description?: string | undefined;
1562
2115
  label?: string | undefined;
@@ -1583,6 +2136,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
1583
2136
  config: {
1584
2137
  options?: string[] | undefined;
1585
2138
  question?: string | undefined;
2139
+ } & {
2140
+ [k: string]: unknown;
1586
2141
  };
1587
2142
  description?: string | undefined;
1588
2143
  label?: string | undefined;
@@ -1611,6 +2166,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
1611
2166
  id: string;
1612
2167
  fn?: string | undefined;
1613
2168
  }[] | undefined;
2169
+ } & {
2170
+ [k: string]: unknown;
1614
2171
  };
1615
2172
  description?: string | undefined;
1616
2173
  label?: string | undefined;
@@ -1660,6 +2217,64 @@ export declare const AgentManifestSchema: z.ZodObject<{
1660
2217
  question?: string | undefined;
1661
2218
  timeout?: number | undefined;
1662
2219
  } | undefined;
2220
+ } | {
2221
+ type: "rag";
2222
+ id: string;
2223
+ config: {
2224
+ retry?: {
2225
+ maxRetries: number;
2226
+ backoff?: {
2227
+ type: "exponential" | "linear" | "fixed";
2228
+ baseDelay: number;
2229
+ maxDelay: number;
2230
+ jitter?: number | undefined;
2231
+ } | undefined;
2232
+ } | undefined;
2233
+ model?: string | undefined;
2234
+ totalK?: number | undefined;
2235
+ maxIterations?: number | undefined;
2236
+ quota?: Record<string, number> | undefined;
2237
+ nearDupThreshold?: number | undefined;
2238
+ retrievalSources?: z.objectOutputType<{
2239
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2240
+ type: z.ZodString;
2241
+ id: z.ZodString;
2242
+ source: z.ZodOptional<z.ZodString>;
2243
+ ref: z.ZodOptional<z.ZodString>;
2244
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2245
+ type: z.ZodString;
2246
+ id: z.ZodString;
2247
+ source: z.ZodOptional<z.ZodString>;
2248
+ ref: z.ZodOptional<z.ZodString>;
2249
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2250
+ type: z.ZodString;
2251
+ id: z.ZodString;
2252
+ source: z.ZodOptional<z.ZodString>;
2253
+ ref: z.ZodOptional<z.ZodString>;
2254
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
2255
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2256
+ toolSources?: Record<string, string> | undefined;
2257
+ } & {
2258
+ [k: string]: unknown;
2259
+ };
2260
+ description?: string | undefined;
2261
+ label?: string | undefined;
2262
+ retry?: {
2263
+ maxRetries: number;
2264
+ backoff?: {
2265
+ type: "exponential" | "linear" | "fixed";
2266
+ baseDelay: number;
2267
+ maxDelay: number;
2268
+ jitter?: number | undefined;
2269
+ } | undefined;
2270
+ } | undefined;
2271
+ interrupt?: {
2272
+ options?: string[] | undefined;
2273
+ before?: boolean | undefined;
2274
+ after?: boolean | undefined;
2275
+ question?: string | undefined;
2276
+ timeout?: number | undefined;
2277
+ } | undefined;
1663
2278
  })[];
1664
2279
  edges: {
1665
2280
  from: string;
@@ -1813,6 +2428,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
1813
2428
  config: {
1814
2429
  tool: string;
1815
2430
  arguments?: Record<string, unknown> | undefined;
2431
+ } & {
2432
+ [k: string]: unknown;
1816
2433
  };
1817
2434
  description?: string | undefined;
1818
2435
  label?: string | undefined;
@@ -1853,12 +2470,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
1853
2470
  question?: string | undefined;
1854
2471
  timeout?: number | undefined;
1855
2472
  } | undefined;
1856
- config?: {
1857
- conditionExpr?: string | undefined;
1858
- conditionFn?: string | undefined;
1859
- branchValues?: string[] | undefined;
1860
- fallback?: string | undefined;
1861
- } | undefined;
2473
+ config?: z.objectInputType<{
2474
+ conditionExpr: z.ZodOptional<z.ZodString>;
2475
+ conditionFn: z.ZodOptional<z.ZodString>;
2476
+ branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2477
+ fallback: z.ZodOptional<z.ZodString>;
2478
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1862
2479
  } | {
1863
2480
  type: "subgraph";
1864
2481
  id: string;
@@ -1880,10 +2497,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
1880
2497
  question?: string | undefined;
1881
2498
  timeout?: number | undefined;
1882
2499
  } | undefined;
1883
- config?: {
1884
- skillId?: string | undefined;
1885
- skillCode?: string | undefined;
1886
- } | undefined;
2500
+ config?: z.objectInputType<{
2501
+ skillId: z.ZodOptional<z.ZodString>;
2502
+ skillCode: z.ZodOptional<z.ZodString>;
2503
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1887
2504
  subgraphId?: string | undefined;
1888
2505
  } | {
1889
2506
  type: "human";
@@ -1906,10 +2523,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
1906
2523
  question?: string | undefined;
1907
2524
  timeout?: number | undefined;
1908
2525
  } | undefined;
1909
- config?: {
1910
- options?: string[] | undefined;
1911
- question?: string | undefined;
1912
- } | undefined;
2526
+ config?: z.objectInputType<{
2527
+ question: z.ZodOptional<z.ZodString>;
2528
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2529
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1913
2530
  } | {
1914
2531
  type: "parallel";
1915
2532
  id: string;
@@ -1931,13 +2548,19 @@ export declare const AgentManifestSchema: z.ZodObject<{
1931
2548
  question?: string | undefined;
1932
2549
  timeout?: number | undefined;
1933
2550
  } | undefined;
1934
- config?: {
1935
- branches?: string[] | undefined;
1936
- tasks?: {
2551
+ config?: z.objectInputType<{
2552
+ branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2553
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2554
+ id: z.ZodString;
2555
+ fn: z.ZodOptional<z.ZodString>;
2556
+ }, "strict", z.ZodTypeAny, {
1937
2557
  id: string;
1938
2558
  fn?: string | undefined;
1939
- }[] | undefined;
1940
- } | undefined;
2559
+ }, {
2560
+ id: string;
2561
+ fn?: string | undefined;
2562
+ }>, "many">>;
2563
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1941
2564
  branches?: string[] | undefined;
1942
2565
  } | {
1943
2566
  type: "code";
@@ -1966,6 +2589,122 @@ export declare const AgentManifestSchema: z.ZodObject<{
1966
2589
  timeoutMs: z.ZodOptional<z.ZodNumber>;
1967
2590
  bindSkill: z.ZodOptional<z.ZodBoolean>;
1968
2591
  }, z.ZodTypeAny, "passthrough"> | undefined;
2592
+ } | {
2593
+ type: "rag";
2594
+ id: string;
2595
+ description?: string | undefined;
2596
+ label?: string | undefined;
2597
+ retry?: {
2598
+ maxRetries: number;
2599
+ backoff?: {
2600
+ type: "exponential" | "linear" | "fixed";
2601
+ baseDelay: number;
2602
+ maxDelay: number;
2603
+ jitter?: number | undefined;
2604
+ } | undefined;
2605
+ } | undefined;
2606
+ interrupt?: {
2607
+ options?: string[] | undefined;
2608
+ before?: boolean | undefined;
2609
+ after?: boolean | undefined;
2610
+ question?: string | undefined;
2611
+ timeout?: number | undefined;
2612
+ } | undefined;
2613
+ config?: z.objectInputType<{
2614
+ model: z.ZodOptional<z.ZodString>;
2615
+ totalK: z.ZodOptional<z.ZodNumber>;
2616
+ maxIterations: z.ZodOptional<z.ZodNumber>;
2617
+ quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2618
+ nearDupThreshold: z.ZodOptional<z.ZodNumber>;
2619
+ retry: z.ZodOptional<z.ZodObject<{
2620
+ maxRetries: z.ZodNumber;
2621
+ backoff: z.ZodOptional<z.ZodObject<{
2622
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
2623
+ baseDelay: z.ZodNumber;
2624
+ maxDelay: z.ZodNumber;
2625
+ jitter: z.ZodOptional<z.ZodNumber>;
2626
+ }, "strict", z.ZodTypeAny, {
2627
+ type: "exponential" | "linear" | "fixed";
2628
+ baseDelay: number;
2629
+ maxDelay: number;
2630
+ jitter?: number | undefined;
2631
+ }, {
2632
+ type: "exponential" | "linear" | "fixed";
2633
+ baseDelay: number;
2634
+ maxDelay: number;
2635
+ jitter?: number | undefined;
2636
+ }>>;
2637
+ }, "strict", z.ZodTypeAny, {
2638
+ maxRetries: number;
2639
+ backoff?: {
2640
+ type: "exponential" | "linear" | "fixed";
2641
+ baseDelay: number;
2642
+ maxDelay: number;
2643
+ jitter?: number | undefined;
2644
+ } | undefined;
2645
+ }, {
2646
+ maxRetries: number;
2647
+ backoff?: {
2648
+ type: "exponential" | "linear" | "fixed";
2649
+ baseDelay: number;
2650
+ maxDelay: number;
2651
+ jitter?: number | undefined;
2652
+ } | undefined;
2653
+ }>>;
2654
+ retrievalSources: z.ZodOptional<z.ZodObject<{
2655
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2656
+ type: z.ZodString;
2657
+ id: z.ZodString;
2658
+ source: z.ZodOptional<z.ZodString>;
2659
+ ref: z.ZodOptional<z.ZodString>;
2660
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2661
+ type: z.ZodString;
2662
+ id: z.ZodString;
2663
+ source: z.ZodOptional<z.ZodString>;
2664
+ ref: z.ZodOptional<z.ZodString>;
2665
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2666
+ type: z.ZodString;
2667
+ id: z.ZodString;
2668
+ source: z.ZodOptional<z.ZodString>;
2669
+ ref: z.ZodOptional<z.ZodString>;
2670
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
2671
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2672
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2673
+ type: z.ZodString;
2674
+ id: z.ZodString;
2675
+ source: z.ZodOptional<z.ZodString>;
2676
+ ref: z.ZodOptional<z.ZodString>;
2677
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2678
+ type: z.ZodString;
2679
+ id: z.ZodString;
2680
+ source: z.ZodOptional<z.ZodString>;
2681
+ ref: z.ZodOptional<z.ZodString>;
2682
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2683
+ type: z.ZodString;
2684
+ id: z.ZodString;
2685
+ source: z.ZodOptional<z.ZodString>;
2686
+ ref: z.ZodOptional<z.ZodString>;
2687
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
2688
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2689
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2690
+ type: z.ZodString;
2691
+ id: z.ZodString;
2692
+ source: z.ZodOptional<z.ZodString>;
2693
+ ref: z.ZodOptional<z.ZodString>;
2694
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2695
+ type: z.ZodString;
2696
+ id: z.ZodString;
2697
+ source: z.ZodOptional<z.ZodString>;
2698
+ ref: z.ZodOptional<z.ZodString>;
2699
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2700
+ type: z.ZodString;
2701
+ id: z.ZodString;
2702
+ source: z.ZodOptional<z.ZodString>;
2703
+ ref: z.ZodOptional<z.ZodString>;
2704
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
2705
+ }, z.ZodTypeAny, "passthrough">>>;
2706
+ toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2707
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1969
2708
  })[];
1970
2709
  edges: {
1971
2710
  from: string;
@@ -2104,6 +2843,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
2104
2843
  config: {
2105
2844
  tool: string;
2106
2845
  arguments?: Record<string, unknown> | undefined;
2846
+ } & {
2847
+ [k: string]: unknown;
2107
2848
  };
2108
2849
  description?: string | undefined;
2109
2850
  label?: string | undefined;
@@ -2131,6 +2872,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
2131
2872
  conditionFn?: string | undefined;
2132
2873
  branchValues?: string[] | undefined;
2133
2874
  fallback?: string | undefined;
2875
+ } & {
2876
+ [k: string]: unknown;
2134
2877
  };
2135
2878
  description?: string | undefined;
2136
2879
  label?: string | undefined;
@@ -2156,6 +2899,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
2156
2899
  config: {
2157
2900
  skillId?: string | undefined;
2158
2901
  skillCode?: string | undefined;
2902
+ } & {
2903
+ [k: string]: unknown;
2159
2904
  };
2160
2905
  description?: string | undefined;
2161
2906
  label?: string | undefined;
@@ -2182,6 +2927,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
2182
2927
  config: {
2183
2928
  options?: string[] | undefined;
2184
2929
  question?: string | undefined;
2930
+ } & {
2931
+ [k: string]: unknown;
2185
2932
  };
2186
2933
  description?: string | undefined;
2187
2934
  label?: string | undefined;
@@ -2210,6 +2957,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
2210
2957
  id: string;
2211
2958
  fn?: string | undefined;
2212
2959
  }[] | undefined;
2960
+ } & {
2961
+ [k: string]: unknown;
2213
2962
  };
2214
2963
  description?: string | undefined;
2215
2964
  label?: string | undefined;
@@ -2259,6 +3008,64 @@ export declare const AgentManifestSchema: z.ZodObject<{
2259
3008
  question?: string | undefined;
2260
3009
  timeout?: number | undefined;
2261
3010
  } | undefined;
3011
+ } | {
3012
+ type: "rag";
3013
+ id: string;
3014
+ config: {
3015
+ retry?: {
3016
+ maxRetries: number;
3017
+ backoff?: {
3018
+ type: "exponential" | "linear" | "fixed";
3019
+ baseDelay: number;
3020
+ maxDelay: number;
3021
+ jitter?: number | undefined;
3022
+ } | undefined;
3023
+ } | undefined;
3024
+ model?: string | undefined;
3025
+ totalK?: number | undefined;
3026
+ maxIterations?: number | undefined;
3027
+ quota?: Record<string, number> | undefined;
3028
+ nearDupThreshold?: number | undefined;
3029
+ retrievalSources?: z.objectOutputType<{
3030
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3031
+ type: z.ZodString;
3032
+ id: z.ZodString;
3033
+ source: z.ZodOptional<z.ZodString>;
3034
+ ref: z.ZodOptional<z.ZodString>;
3035
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3036
+ type: z.ZodString;
3037
+ id: z.ZodString;
3038
+ source: z.ZodOptional<z.ZodString>;
3039
+ ref: z.ZodOptional<z.ZodString>;
3040
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3041
+ type: z.ZodString;
3042
+ id: z.ZodString;
3043
+ source: z.ZodOptional<z.ZodString>;
3044
+ ref: z.ZodOptional<z.ZodString>;
3045
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
3046
+ }, z.ZodTypeAny, "passthrough"> | undefined;
3047
+ toolSources?: Record<string, string> | undefined;
3048
+ } & {
3049
+ [k: string]: unknown;
3050
+ };
3051
+ description?: string | undefined;
3052
+ label?: string | undefined;
3053
+ retry?: {
3054
+ maxRetries: number;
3055
+ backoff?: {
3056
+ type: "exponential" | "linear" | "fixed";
3057
+ baseDelay: number;
3058
+ maxDelay: number;
3059
+ jitter?: number | undefined;
3060
+ } | undefined;
3061
+ } | undefined;
3062
+ interrupt?: {
3063
+ options?: string[] | undefined;
3064
+ before?: boolean | undefined;
3065
+ after?: boolean | undefined;
3066
+ question?: string | undefined;
3067
+ timeout?: number | undefined;
3068
+ } | undefined;
2262
3069
  })[];
2263
3070
  edges: {
2264
3071
  from: string;
@@ -2449,6 +3256,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
2449
3256
  config: {
2450
3257
  tool: string;
2451
3258
  arguments?: Record<string, unknown> | undefined;
3259
+ } & {
3260
+ [k: string]: unknown;
2452
3261
  };
2453
3262
  description?: string | undefined;
2454
3263
  label?: string | undefined;
@@ -2489,12 +3298,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
2489
3298
  question?: string | undefined;
2490
3299
  timeout?: number | undefined;
2491
3300
  } | undefined;
2492
- config?: {
2493
- conditionExpr?: string | undefined;
2494
- conditionFn?: string | undefined;
2495
- branchValues?: string[] | undefined;
2496
- fallback?: string | undefined;
2497
- } | undefined;
3301
+ config?: z.objectInputType<{
3302
+ conditionExpr: z.ZodOptional<z.ZodString>;
3303
+ conditionFn: z.ZodOptional<z.ZodString>;
3304
+ branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3305
+ fallback: z.ZodOptional<z.ZodString>;
3306
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2498
3307
  } | {
2499
3308
  type: "subgraph";
2500
3309
  id: string;
@@ -2516,10 +3325,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
2516
3325
  question?: string | undefined;
2517
3326
  timeout?: number | undefined;
2518
3327
  } | undefined;
2519
- config?: {
2520
- skillId?: string | undefined;
2521
- skillCode?: string | undefined;
2522
- } | undefined;
3328
+ config?: z.objectInputType<{
3329
+ skillId: z.ZodOptional<z.ZodString>;
3330
+ skillCode: z.ZodOptional<z.ZodString>;
3331
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2523
3332
  subgraphId?: string | undefined;
2524
3333
  } | {
2525
3334
  type: "human";
@@ -2542,10 +3351,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
2542
3351
  question?: string | undefined;
2543
3352
  timeout?: number | undefined;
2544
3353
  } | undefined;
2545
- config?: {
2546
- options?: string[] | undefined;
2547
- question?: string | undefined;
2548
- } | undefined;
3354
+ config?: z.objectInputType<{
3355
+ question: z.ZodOptional<z.ZodString>;
3356
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3357
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2549
3358
  } | {
2550
3359
  type: "parallel";
2551
3360
  id: string;
@@ -2567,13 +3376,19 @@ export declare const AgentManifestSchema: z.ZodObject<{
2567
3376
  question?: string | undefined;
2568
3377
  timeout?: number | undefined;
2569
3378
  } | undefined;
2570
- config?: {
2571
- branches?: string[] | undefined;
2572
- tasks?: {
3379
+ config?: z.objectInputType<{
3380
+ branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3381
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3382
+ id: z.ZodString;
3383
+ fn: z.ZodOptional<z.ZodString>;
3384
+ }, "strict", z.ZodTypeAny, {
2573
3385
  id: string;
2574
3386
  fn?: string | undefined;
2575
- }[] | undefined;
2576
- } | undefined;
3387
+ }, {
3388
+ id: string;
3389
+ fn?: string | undefined;
3390
+ }>, "many">>;
3391
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2577
3392
  branches?: string[] | undefined;
2578
3393
  } | {
2579
3394
  type: "code";
@@ -2602,6 +3417,122 @@ export declare const AgentManifestSchema: z.ZodObject<{
2602
3417
  timeoutMs: z.ZodOptional<z.ZodNumber>;
2603
3418
  bindSkill: z.ZodOptional<z.ZodBoolean>;
2604
3419
  }, z.ZodTypeAny, "passthrough"> | undefined;
3420
+ } | {
3421
+ type: "rag";
3422
+ id: string;
3423
+ description?: string | undefined;
3424
+ label?: string | undefined;
3425
+ retry?: {
3426
+ maxRetries: number;
3427
+ backoff?: {
3428
+ type: "exponential" | "linear" | "fixed";
3429
+ baseDelay: number;
3430
+ maxDelay: number;
3431
+ jitter?: number | undefined;
3432
+ } | undefined;
3433
+ } | undefined;
3434
+ interrupt?: {
3435
+ options?: string[] | undefined;
3436
+ before?: boolean | undefined;
3437
+ after?: boolean | undefined;
3438
+ question?: string | undefined;
3439
+ timeout?: number | undefined;
3440
+ } | undefined;
3441
+ config?: z.objectInputType<{
3442
+ model: z.ZodOptional<z.ZodString>;
3443
+ totalK: z.ZodOptional<z.ZodNumber>;
3444
+ maxIterations: z.ZodOptional<z.ZodNumber>;
3445
+ quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3446
+ nearDupThreshold: z.ZodOptional<z.ZodNumber>;
3447
+ retry: z.ZodOptional<z.ZodObject<{
3448
+ maxRetries: z.ZodNumber;
3449
+ backoff: z.ZodOptional<z.ZodObject<{
3450
+ type: z.ZodEnum<["exponential", "linear", "fixed"]>;
3451
+ baseDelay: z.ZodNumber;
3452
+ maxDelay: z.ZodNumber;
3453
+ jitter: z.ZodOptional<z.ZodNumber>;
3454
+ }, "strict", z.ZodTypeAny, {
3455
+ type: "exponential" | "linear" | "fixed";
3456
+ baseDelay: number;
3457
+ maxDelay: number;
3458
+ jitter?: number | undefined;
3459
+ }, {
3460
+ type: "exponential" | "linear" | "fixed";
3461
+ baseDelay: number;
3462
+ maxDelay: number;
3463
+ jitter?: number | undefined;
3464
+ }>>;
3465
+ }, "strict", z.ZodTypeAny, {
3466
+ maxRetries: number;
3467
+ backoff?: {
3468
+ type: "exponential" | "linear" | "fixed";
3469
+ baseDelay: number;
3470
+ maxDelay: number;
3471
+ jitter?: number | undefined;
3472
+ } | undefined;
3473
+ }, {
3474
+ maxRetries: number;
3475
+ backoff?: {
3476
+ type: "exponential" | "linear" | "fixed";
3477
+ baseDelay: number;
3478
+ maxDelay: number;
3479
+ jitter?: number | undefined;
3480
+ } | undefined;
3481
+ }>>;
3482
+ retrievalSources: z.ZodOptional<z.ZodObject<{
3483
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3484
+ type: z.ZodString;
3485
+ id: z.ZodString;
3486
+ source: z.ZodOptional<z.ZodString>;
3487
+ ref: z.ZodOptional<z.ZodString>;
3488
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3489
+ type: z.ZodString;
3490
+ id: z.ZodString;
3491
+ source: z.ZodOptional<z.ZodString>;
3492
+ ref: z.ZodOptional<z.ZodString>;
3493
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3494
+ type: z.ZodString;
3495
+ id: z.ZodString;
3496
+ source: z.ZodOptional<z.ZodString>;
3497
+ ref: z.ZodOptional<z.ZodString>;
3498
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
3499
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3500
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3501
+ type: z.ZodString;
3502
+ id: z.ZodString;
3503
+ source: z.ZodOptional<z.ZodString>;
3504
+ ref: z.ZodOptional<z.ZodString>;
3505
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3506
+ type: z.ZodString;
3507
+ id: z.ZodString;
3508
+ source: z.ZodOptional<z.ZodString>;
3509
+ ref: z.ZodOptional<z.ZodString>;
3510
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3511
+ type: z.ZodString;
3512
+ id: z.ZodString;
3513
+ source: z.ZodOptional<z.ZodString>;
3514
+ ref: z.ZodOptional<z.ZodString>;
3515
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
3516
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3517
+ sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
3518
+ type: z.ZodString;
3519
+ id: z.ZodString;
3520
+ source: z.ZodOptional<z.ZodString>;
3521
+ ref: z.ZodOptional<z.ZodString>;
3522
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3523
+ type: z.ZodString;
3524
+ id: z.ZodString;
3525
+ source: z.ZodOptional<z.ZodString>;
3526
+ ref: z.ZodOptional<z.ZodString>;
3527
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3528
+ type: z.ZodString;
3529
+ id: z.ZodString;
3530
+ source: z.ZodOptional<z.ZodString>;
3531
+ ref: z.ZodOptional<z.ZodString>;
3532
+ }, z.ZodTypeAny, "passthrough">>]>, "many">>;
3533
+ }, z.ZodTypeAny, "passthrough">>>;
3534
+ toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3535
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2605
3536
  })[];
2606
3537
  edges: {
2607
3538
  from: string;