@mastra/server 1.38.0-alpha.4 → 1.38.0-alpha.5

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 (176) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/{api-schema-manifest-JTQHOGKZ.cjs → api-schema-manifest-M5LNZB6W.cjs} +4 -4
  3. package/dist/{api-schema-manifest-JTQHOGKZ.cjs.map → api-schema-manifest-M5LNZB6W.cjs.map} +1 -1
  4. package/dist/{api-schema-manifest-MIQHCYPS.js → api-schema-manifest-OSBQZE4D.js} +3 -3
  5. package/dist/{api-schema-manifest-MIQHCYPS.js.map → api-schema-manifest-OSBQZE4D.js.map} +1 -1
  6. package/dist/{chunk-URLWJKB6.cjs → chunk-2XLWAZII.cjs} +15 -15
  7. package/dist/{chunk-URLWJKB6.cjs.map → chunk-2XLWAZII.cjs.map} +1 -1
  8. package/dist/{chunk-234HJ3C3.js → chunk-3NQHD75J.js} +131 -6
  9. package/dist/chunk-3NQHD75J.js.map +1 -0
  10. package/dist/{chunk-E7UDPLDF.cjs → chunk-3QTG4V4W.cjs} +10 -2
  11. package/dist/chunk-3QTG4V4W.cjs.map +1 -0
  12. package/dist/{chunk-2DTOYQQ4.js → chunk-5FPJ4RT4.js} +3 -3
  13. package/dist/{chunk-2DTOYQQ4.js.map → chunk-5FPJ4RT4.js.map} +1 -1
  14. package/dist/{chunk-PJI3MJPX.js → chunk-5PCUNLFX.js} +3 -3
  15. package/dist/{chunk-PJI3MJPX.js.map → chunk-5PCUNLFX.js.map} +1 -1
  16. package/dist/{chunk-UWETKNZ3.js → chunk-5RHJCZ4D.js} +3 -3
  17. package/dist/{chunk-UWETKNZ3.js.map → chunk-5RHJCZ4D.js.map} +1 -1
  18. package/dist/{chunk-ZIBWBUTB.js → chunk-6E5HDZRB.js} +3 -3
  19. package/dist/{chunk-ZIBWBUTB.js.map → chunk-6E5HDZRB.js.map} +1 -1
  20. package/dist/{chunk-R6HOWZFY.cjs → chunk-6YVC5NUR.cjs} +5 -5
  21. package/dist/{chunk-R6HOWZFY.cjs.map → chunk-6YVC5NUR.cjs.map} +1 -1
  22. package/dist/{chunk-4PB6LUYQ.js → chunk-7ZW76TJN.js} +10 -3
  23. package/dist/chunk-7ZW76TJN.js.map +1 -0
  24. package/dist/{chunk-LJRCDF42.js → chunk-AAU6UVJA.js} +4 -4
  25. package/dist/{chunk-LJRCDF42.js.map → chunk-AAU6UVJA.js.map} +1 -1
  26. package/dist/{chunk-UTBBNDFB.cjs → chunk-AFNQIYGU.cjs} +144 -18
  27. package/dist/chunk-AFNQIYGU.cjs.map +1 -0
  28. package/dist/{chunk-FIHBL47F.cjs → chunk-AWWFF4BH.cjs} +7 -7
  29. package/dist/{chunk-FIHBL47F.cjs.map → chunk-AWWFF4BH.cjs.map} +1 -1
  30. package/dist/{chunk-MZ3EAJXG.js → chunk-B7BEYL4D.js} +12 -4
  31. package/dist/chunk-B7BEYL4D.js.map +1 -0
  32. package/dist/{chunk-DEYP5MF7.cjs → chunk-BCOYXSY2.cjs} +86 -33
  33. package/dist/chunk-BCOYXSY2.cjs.map +1 -0
  34. package/dist/{chunk-VYDWPLTW.cjs → chunk-ESWNWJOF.cjs} +4 -4
  35. package/dist/{chunk-VYDWPLTW.cjs.map → chunk-ESWNWJOF.cjs.map} +1 -1
  36. package/dist/{chunk-G7N4TLWZ.js → chunk-EUFT3MIX.js} +10 -3
  37. package/dist/chunk-EUFT3MIX.js.map +1 -0
  38. package/dist/{chunk-Q5NDXAZ2.cjs → chunk-GTF3WRLL.cjs} +151 -148
  39. package/dist/chunk-GTF3WRLL.cjs.map +1 -0
  40. package/dist/{chunk-6FHJAHQJ.cjs → chunk-H7KDCXLQ.cjs} +11 -2
  41. package/dist/chunk-H7KDCXLQ.cjs.map +1 -0
  42. package/dist/{chunk-67X7UIDG.cjs → chunk-HGN36EQS.cjs} +104 -96
  43. package/dist/chunk-HGN36EQS.cjs.map +1 -0
  44. package/dist/{chunk-MCRZYWPS.js → chunk-HRMRQFJW.js} +3 -3
  45. package/dist/{chunk-MCRZYWPS.js.map → chunk-HRMRQFJW.js.map} +1 -1
  46. package/dist/{chunk-5SM6OBSO.js → chunk-IKDK3Q2A.js} +8 -5
  47. package/dist/chunk-IKDK3Q2A.js.map +1 -0
  48. package/dist/{chunk-65ZS7YK4.cjs → chunk-IZZRKJQK.cjs} +5 -5
  49. package/dist/{chunk-65ZS7YK4.cjs.map → chunk-IZZRKJQK.cjs.map} +1 -1
  50. package/dist/{chunk-FYCTKP2F.js → chunk-J6OD53OV.js} +11 -4
  51. package/dist/chunk-J6OD53OV.js.map +1 -0
  52. package/dist/{chunk-BO3KDJW5.cjs → chunk-JS263Z2W.cjs} +17 -17
  53. package/dist/{chunk-BO3KDJW5.cjs.map → chunk-JS263Z2W.cjs.map} +1 -1
  54. package/dist/{chunk-OGJFOIOH.js → chunk-L5NNYUOJ.js} +3 -3
  55. package/dist/{chunk-OGJFOIOH.js.map → chunk-L5NNYUOJ.js.map} +1 -1
  56. package/dist/{chunk-EN3XZKLJ.js → chunk-LW3QBZHN.js} +20 -17
  57. package/dist/chunk-LW3QBZHN.js.map +1 -0
  58. package/dist/{chunk-QCCJOLRZ.js → chunk-M7HLT2GO.js} +3 -3
  59. package/dist/{chunk-QCCJOLRZ.js.map → chunk-M7HLT2GO.js.map} +1 -1
  60. package/dist/{chunk-JV2TL2NQ.cjs → chunk-MFYZWOKE.cjs} +5 -5
  61. package/dist/{chunk-JV2TL2NQ.cjs.map → chunk-MFYZWOKE.cjs.map} +1 -1
  62. package/dist/{chunk-6KPE7KSJ.cjs → chunk-MTFF2YS5.cjs} +14 -14
  63. package/dist/{chunk-6KPE7KSJ.cjs.map → chunk-MTFF2YS5.cjs.map} +1 -1
  64. package/dist/{chunk-ZQZDPWLU.js → chunk-MU5XYKOI.js} +3 -3
  65. package/dist/{chunk-ZQZDPWLU.js.map → chunk-MU5XYKOI.js.map} +1 -1
  66. package/dist/{chunk-R6SXN4ZF.js → chunk-OMUSGHI5.js} +3 -3
  67. package/dist/{chunk-R6SXN4ZF.js.map → chunk-OMUSGHI5.js.map} +1 -1
  68. package/dist/{chunk-XBXNMMSC.js → chunk-OPS3GWJN.js} +4 -4
  69. package/dist/{chunk-XBXNMMSC.js.map → chunk-OPS3GWJN.js.map} +1 -1
  70. package/dist/{chunk-HEFYNGLM.js → chunk-PZJ3AQSO.js} +12 -3
  71. package/dist/chunk-PZJ3AQSO.js.map +1 -0
  72. package/dist/{chunk-EQF2PRTA.cjs → chunk-Q2GIORD4.cjs} +4 -4
  73. package/dist/{chunk-EQF2PRTA.cjs.map → chunk-Q2GIORD4.cjs.map} +1 -1
  74. package/dist/{chunk-XVLL5IGQ.js → chunk-S3FJKEF5.js} +3 -3
  75. package/dist/{chunk-XVLL5IGQ.js.map → chunk-S3FJKEF5.js.map} +1 -1
  76. package/dist/{chunk-T254JS3B.cjs → chunk-T2FBYRYD.cjs} +14 -5
  77. package/dist/chunk-T2FBYRYD.cjs.map +1 -0
  78. package/dist/{chunk-QB5CXFV7.js → chunk-TFAJYRT3.js} +56 -4
  79. package/dist/chunk-TFAJYRT3.js.map +1 -0
  80. package/dist/{chunk-ANFNDHDM.cjs → chunk-TLMAHJTC.cjs} +16 -16
  81. package/dist/{chunk-ANFNDHDM.cjs.map → chunk-TLMAHJTC.cjs.map} +1 -1
  82. package/dist/{chunk-TNRHBPDN.js → chunk-TUIZTMGY.js} +3 -3
  83. package/dist/{chunk-TNRHBPDN.js.map → chunk-TUIZTMGY.js.map} +1 -1
  84. package/dist/{chunk-CZM46CXF.cjs → chunk-UNSBVIVX.cjs} +20 -20
  85. package/dist/{chunk-CZM46CXF.cjs.map → chunk-UNSBVIVX.cjs.map} +1 -1
  86. package/dist/{chunk-HR5UNJF7.cjs → chunk-USUWP563.cjs} +10 -7
  87. package/dist/chunk-USUWP563.cjs.map +1 -0
  88. package/dist/{chunk-RZ5J47R2.cjs → chunk-UUDPQDYF.cjs} +4 -4
  89. package/dist/{chunk-RZ5J47R2.cjs.map → chunk-UUDPQDYF.cjs.map} +1 -1
  90. package/dist/{chunk-ARL3PR23.cjs → chunk-UZLWBQEU.cjs} +25 -25
  91. package/dist/{chunk-ARL3PR23.cjs.map → chunk-UZLWBQEU.cjs.map} +1 -1
  92. package/dist/{chunk-OM7HESYA.cjs → chunk-WXJSYUBX.cjs} +4 -4
  93. package/dist/{chunk-OM7HESYA.cjs.map → chunk-WXJSYUBX.cjs.map} +1 -1
  94. package/dist/{chunk-APGJQAJ7.js → chunk-XKE4GK7M.js} +3 -3
  95. package/dist/{chunk-APGJQAJ7.js.map → chunk-XKE4GK7M.js.map} +1 -1
  96. package/dist/{chunk-R77QBP2Q.cjs → chunk-YBXJMN7O.cjs} +12 -3
  97. package/dist/chunk-YBXJMN7O.cjs.map +1 -0
  98. package/dist/docs/SKILL.md +1 -1
  99. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  100. package/dist/server/handlers/a2a.cjs +14 -14
  101. package/dist/server/handlers/a2a.js +1 -1
  102. package/dist/server/handlers/agent-builder.cjs +17 -17
  103. package/dist/server/handlers/agent-builder.js +1 -1
  104. package/dist/server/handlers/agent-versions.cjs +8 -8
  105. package/dist/server/handlers/agent-versions.js +1 -1
  106. package/dist/server/handlers/agents.cjs +43 -43
  107. package/dist/server/handlers/agents.d.ts +36 -1
  108. package/dist/server/handlers/agents.d.ts.map +1 -1
  109. package/dist/server/handlers/agents.js +1 -1
  110. package/dist/server/handlers/conversations.cjs +5 -5
  111. package/dist/server/handlers/conversations.js +1 -1
  112. package/dist/server/handlers/responses.cjs +4 -4
  113. package/dist/server/handlers/responses.js +1 -1
  114. package/dist/server/handlers/scorer-versions.cjs +8 -8
  115. package/dist/server/handlers/scorer-versions.js +1 -1
  116. package/dist/server/handlers/scores.cjs +7 -7
  117. package/dist/server/handlers/scores.js +1 -1
  118. package/dist/server/handlers/stored-agent-favorites.cjs +3 -3
  119. package/dist/server/handlers/stored-agent-favorites.js +1 -1
  120. package/dist/server/handlers/stored-agents.cjs +11 -7
  121. package/dist/server/handlers/stored-agents.d.ts +7537 -0
  122. package/dist/server/handlers/stored-agents.d.ts.map +1 -1
  123. package/dist/server/handlers/stored-agents.js +1 -1
  124. package/dist/server/handlers/stored-scorers.cjs +6 -6
  125. package/dist/server/handlers/stored-scorers.js +1 -1
  126. package/dist/server/handlers/system.cjs +3 -3
  127. package/dist/server/handlers/system.d.ts +5 -0
  128. package/dist/server/handlers/system.d.ts.map +1 -1
  129. package/dist/server/handlers/system.js +1 -1
  130. package/dist/server/handlers/tool-providers.cjs +17 -13
  131. package/dist/server/handlers/tool-providers.d.ts +25 -0
  132. package/dist/server/handlers/tool-providers.d.ts.map +1 -1
  133. package/dist/server/handlers/tool-providers.js +1 -1
  134. package/dist/server/handlers/tools.cjs +6 -6
  135. package/dist/server/handlers/tools.js +1 -1
  136. package/dist/server/handlers/workflows.cjs +27 -27
  137. package/dist/server/handlers/workflows.js +1 -1
  138. package/dist/server/handlers.cjs +16 -16
  139. package/dist/server/handlers.js +8 -8
  140. package/dist/server/schemas/agents.d.ts +30 -0
  141. package/dist/server/schemas/agents.d.ts.map +1 -1
  142. package/dist/server/schemas/index.cjs +164 -144
  143. package/dist/server/schemas/index.js +7 -7
  144. package/dist/server/schemas/stored-agents.d.ts +3768 -0
  145. package/dist/server/schemas/stored-agents.d.ts.map +1 -1
  146. package/dist/server/schemas/system.d.ts +8 -0
  147. package/dist/server/schemas/system.d.ts.map +1 -1
  148. package/dist/server/schemas/tool-providers.d.ts +7 -0
  149. package/dist/server/schemas/tool-providers.d.ts.map +1 -1
  150. package/dist/server/server-adapter/index.cjs +13 -13
  151. package/dist/server/server-adapter/index.js +2 -2
  152. package/dist/server/server-adapter/routes/stored-agents.d.ts +2 -1
  153. package/dist/server/server-adapter/routes/stored-agents.d.ts.map +1 -1
  154. package/dist/server/server-adapter/routes/system.d.ts +5 -0
  155. package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
  156. package/dist/server/server-adapter/routes/tool-providers.d.ts +16 -0
  157. package/dist/server/server-adapter/routes/tool-providers.d.ts.map +1 -1
  158. package/package.json +3 -3
  159. package/dist/chunk-234HJ3C3.js.map +0 -1
  160. package/dist/chunk-4PB6LUYQ.js.map +0 -1
  161. package/dist/chunk-5SM6OBSO.js.map +0 -1
  162. package/dist/chunk-67X7UIDG.cjs.map +0 -1
  163. package/dist/chunk-6FHJAHQJ.cjs.map +0 -1
  164. package/dist/chunk-DEYP5MF7.cjs.map +0 -1
  165. package/dist/chunk-E7UDPLDF.cjs.map +0 -1
  166. package/dist/chunk-EN3XZKLJ.js.map +0 -1
  167. package/dist/chunk-FYCTKP2F.js.map +0 -1
  168. package/dist/chunk-G7N4TLWZ.js.map +0 -1
  169. package/dist/chunk-HEFYNGLM.js.map +0 -1
  170. package/dist/chunk-HR5UNJF7.cjs.map +0 -1
  171. package/dist/chunk-MZ3EAJXG.js.map +0 -1
  172. package/dist/chunk-Q5NDXAZ2.cjs.map +0 -1
  173. package/dist/chunk-QB5CXFV7.js.map +0 -1
  174. package/dist/chunk-R77QBP2Q.cjs.map +0 -1
  175. package/dist/chunk-T254JS3B.cjs.map +0 -1
  176. package/dist/chunk-UTBBNDFB.cjs.map +0 -1
@@ -12469,6 +12469,3768 @@ export declare const updateStoredAgentBodySchema: z.ZodObject<{
12469
12469
  }, z.core.$strip>>]>, z.ZodNull]>>>;
12470
12470
  changeMessage: z.ZodOptional<z.ZodString>;
12471
12471
  }, z.core.$strip>;
12472
+ export declare const exportStoredAgentBodySchema: z.ZodObject<{
12473
+ name: z.ZodOptional<z.ZodString>;
12474
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12475
+ instructions: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
12476
+ type: z.ZodLiteral<"text">;
12477
+ content: z.ZodString;
12478
+ }, z.core.$strip>, z.ZodObject<{
12479
+ type: z.ZodLiteral<"prompt_block_ref">;
12480
+ id: z.ZodString;
12481
+ }, z.core.$strip>, z.ZodObject<{
12482
+ type: z.ZodLiteral<"prompt_block">;
12483
+ content: z.ZodString;
12484
+ rules: z.ZodOptional<z.ZodObject<{
12485
+ operator: z.ZodEnum<{
12486
+ AND: "AND";
12487
+ OR: "OR";
12488
+ }>;
12489
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12490
+ field: z.ZodString;
12491
+ operator: z.ZodEnum<{
12492
+ in: "in";
12493
+ equals: "equals";
12494
+ not_equals: "not_equals";
12495
+ contains: "contains";
12496
+ not_contains: "not_contains";
12497
+ greater_than: "greater_than";
12498
+ less_than: "less_than";
12499
+ greater_than_or_equal: "greater_than_or_equal";
12500
+ less_than_or_equal: "less_than_or_equal";
12501
+ not_in: "not_in";
12502
+ exists: "exists";
12503
+ not_exists: "not_exists";
12504
+ }>;
12505
+ value: z.ZodOptional<z.ZodUnknown>;
12506
+ }, z.core.$strip>, z.ZodObject<{
12507
+ operator: z.ZodEnum<{
12508
+ AND: "AND";
12509
+ OR: "OR";
12510
+ }>;
12511
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12512
+ field: z.ZodString;
12513
+ operator: z.ZodEnum<{
12514
+ in: "in";
12515
+ equals: "equals";
12516
+ not_equals: "not_equals";
12517
+ contains: "contains";
12518
+ not_contains: "not_contains";
12519
+ greater_than: "greater_than";
12520
+ less_than: "less_than";
12521
+ greater_than_or_equal: "greater_than_or_equal";
12522
+ less_than_or_equal: "less_than_or_equal";
12523
+ not_in: "not_in";
12524
+ exists: "exists";
12525
+ not_exists: "not_exists";
12526
+ }>;
12527
+ value: z.ZodOptional<z.ZodUnknown>;
12528
+ }, z.core.$strip>, z.ZodObject<{
12529
+ operator: z.ZodEnum<{
12530
+ AND: "AND";
12531
+ OR: "OR";
12532
+ }>;
12533
+ conditions: z.ZodArray<z.ZodObject<{
12534
+ field: z.ZodString;
12535
+ operator: z.ZodEnum<{
12536
+ in: "in";
12537
+ equals: "equals";
12538
+ not_equals: "not_equals";
12539
+ contains: "contains";
12540
+ not_contains: "not_contains";
12541
+ greater_than: "greater_than";
12542
+ less_than: "less_than";
12543
+ greater_than_or_equal: "greater_than_or_equal";
12544
+ less_than_or_equal: "less_than_or_equal";
12545
+ not_in: "not_in";
12546
+ exists: "exists";
12547
+ not_exists: "not_exists";
12548
+ }>;
12549
+ value: z.ZodOptional<z.ZodUnknown>;
12550
+ }, z.core.$strip>>;
12551
+ }, z.core.$strip>]>>;
12552
+ }, z.core.$strip>]>>;
12553
+ }, z.core.$strip>>;
12554
+ }, z.core.$strip>], "type">>]>>;
12555
+ model: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
12556
+ provider: z.ZodString;
12557
+ name: z.ZodString;
12558
+ }, z.core.$loose>, z.ZodArray<z.ZodObject<{
12559
+ value: z.ZodObject<{
12560
+ provider: z.ZodString;
12561
+ name: z.ZodString;
12562
+ }, z.core.$loose>;
12563
+ rules: z.ZodOptional<z.ZodObject<{
12564
+ operator: z.ZodEnum<{
12565
+ AND: "AND";
12566
+ OR: "OR";
12567
+ }>;
12568
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12569
+ field: z.ZodString;
12570
+ operator: z.ZodEnum<{
12571
+ in: "in";
12572
+ equals: "equals";
12573
+ not_equals: "not_equals";
12574
+ contains: "contains";
12575
+ not_contains: "not_contains";
12576
+ greater_than: "greater_than";
12577
+ less_than: "less_than";
12578
+ greater_than_or_equal: "greater_than_or_equal";
12579
+ less_than_or_equal: "less_than_or_equal";
12580
+ not_in: "not_in";
12581
+ exists: "exists";
12582
+ not_exists: "not_exists";
12583
+ }>;
12584
+ value: z.ZodOptional<z.ZodUnknown>;
12585
+ }, z.core.$strip>, z.ZodObject<{
12586
+ operator: z.ZodEnum<{
12587
+ AND: "AND";
12588
+ OR: "OR";
12589
+ }>;
12590
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12591
+ field: z.ZodString;
12592
+ operator: z.ZodEnum<{
12593
+ in: "in";
12594
+ equals: "equals";
12595
+ not_equals: "not_equals";
12596
+ contains: "contains";
12597
+ not_contains: "not_contains";
12598
+ greater_than: "greater_than";
12599
+ less_than: "less_than";
12600
+ greater_than_or_equal: "greater_than_or_equal";
12601
+ less_than_or_equal: "less_than_or_equal";
12602
+ not_in: "not_in";
12603
+ exists: "exists";
12604
+ not_exists: "not_exists";
12605
+ }>;
12606
+ value: z.ZodOptional<z.ZodUnknown>;
12607
+ }, z.core.$strip>, z.ZodObject<{
12608
+ operator: z.ZodEnum<{
12609
+ AND: "AND";
12610
+ OR: "OR";
12611
+ }>;
12612
+ conditions: z.ZodArray<z.ZodObject<{
12613
+ field: z.ZodString;
12614
+ operator: z.ZodEnum<{
12615
+ in: "in";
12616
+ equals: "equals";
12617
+ not_equals: "not_equals";
12618
+ contains: "contains";
12619
+ not_contains: "not_contains";
12620
+ greater_than: "greater_than";
12621
+ less_than: "less_than";
12622
+ greater_than_or_equal: "greater_than_or_equal";
12623
+ less_than_or_equal: "less_than_or_equal";
12624
+ not_in: "not_in";
12625
+ exists: "exists";
12626
+ not_exists: "not_exists";
12627
+ }>;
12628
+ value: z.ZodOptional<z.ZodUnknown>;
12629
+ }, z.core.$strip>>;
12630
+ }, z.core.$strip>]>>;
12631
+ }, z.core.$strip>]>>;
12632
+ }, z.core.$strip>>;
12633
+ }, z.core.$strip>>]>>;
12634
+ tools: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
12635
+ description: z.ZodOptional<z.ZodString>;
12636
+ rules: z.ZodOptional<z.ZodObject<{
12637
+ operator: z.ZodEnum<{
12638
+ AND: "AND";
12639
+ OR: "OR";
12640
+ }>;
12641
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12642
+ field: z.ZodString;
12643
+ operator: z.ZodEnum<{
12644
+ in: "in";
12645
+ equals: "equals";
12646
+ not_equals: "not_equals";
12647
+ contains: "contains";
12648
+ not_contains: "not_contains";
12649
+ greater_than: "greater_than";
12650
+ less_than: "less_than";
12651
+ greater_than_or_equal: "greater_than_or_equal";
12652
+ less_than_or_equal: "less_than_or_equal";
12653
+ not_in: "not_in";
12654
+ exists: "exists";
12655
+ not_exists: "not_exists";
12656
+ }>;
12657
+ value: z.ZodOptional<z.ZodUnknown>;
12658
+ }, z.core.$strip>, z.ZodObject<{
12659
+ operator: z.ZodEnum<{
12660
+ AND: "AND";
12661
+ OR: "OR";
12662
+ }>;
12663
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12664
+ field: z.ZodString;
12665
+ operator: z.ZodEnum<{
12666
+ in: "in";
12667
+ equals: "equals";
12668
+ not_equals: "not_equals";
12669
+ contains: "contains";
12670
+ not_contains: "not_contains";
12671
+ greater_than: "greater_than";
12672
+ less_than: "less_than";
12673
+ greater_than_or_equal: "greater_than_or_equal";
12674
+ less_than_or_equal: "less_than_or_equal";
12675
+ not_in: "not_in";
12676
+ exists: "exists";
12677
+ not_exists: "not_exists";
12678
+ }>;
12679
+ value: z.ZodOptional<z.ZodUnknown>;
12680
+ }, z.core.$strip>, z.ZodObject<{
12681
+ operator: z.ZodEnum<{
12682
+ AND: "AND";
12683
+ OR: "OR";
12684
+ }>;
12685
+ conditions: z.ZodArray<z.ZodObject<{
12686
+ field: z.ZodString;
12687
+ operator: z.ZodEnum<{
12688
+ in: "in";
12689
+ equals: "equals";
12690
+ not_equals: "not_equals";
12691
+ contains: "contains";
12692
+ not_contains: "not_contains";
12693
+ greater_than: "greater_than";
12694
+ less_than: "less_than";
12695
+ greater_than_or_equal: "greater_than_or_equal";
12696
+ less_than_or_equal: "less_than_or_equal";
12697
+ not_in: "not_in";
12698
+ exists: "exists";
12699
+ not_exists: "not_exists";
12700
+ }>;
12701
+ value: z.ZodOptional<z.ZodUnknown>;
12702
+ }, z.core.$strip>>;
12703
+ }, z.core.$strip>]>>;
12704
+ }, z.core.$strip>]>>;
12705
+ }, z.core.$strip>>;
12706
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
12707
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
12708
+ description: z.ZodOptional<z.ZodString>;
12709
+ rules: z.ZodOptional<z.ZodObject<{
12710
+ operator: z.ZodEnum<{
12711
+ AND: "AND";
12712
+ OR: "OR";
12713
+ }>;
12714
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12715
+ field: z.ZodString;
12716
+ operator: z.ZodEnum<{
12717
+ in: "in";
12718
+ equals: "equals";
12719
+ not_equals: "not_equals";
12720
+ contains: "contains";
12721
+ not_contains: "not_contains";
12722
+ greater_than: "greater_than";
12723
+ less_than: "less_than";
12724
+ greater_than_or_equal: "greater_than_or_equal";
12725
+ less_than_or_equal: "less_than_or_equal";
12726
+ not_in: "not_in";
12727
+ exists: "exists";
12728
+ not_exists: "not_exists";
12729
+ }>;
12730
+ value: z.ZodOptional<z.ZodUnknown>;
12731
+ }, z.core.$strip>, z.ZodObject<{
12732
+ operator: z.ZodEnum<{
12733
+ AND: "AND";
12734
+ OR: "OR";
12735
+ }>;
12736
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12737
+ field: z.ZodString;
12738
+ operator: z.ZodEnum<{
12739
+ in: "in";
12740
+ equals: "equals";
12741
+ not_equals: "not_equals";
12742
+ contains: "contains";
12743
+ not_contains: "not_contains";
12744
+ greater_than: "greater_than";
12745
+ less_than: "less_than";
12746
+ greater_than_or_equal: "greater_than_or_equal";
12747
+ less_than_or_equal: "less_than_or_equal";
12748
+ not_in: "not_in";
12749
+ exists: "exists";
12750
+ not_exists: "not_exists";
12751
+ }>;
12752
+ value: z.ZodOptional<z.ZodUnknown>;
12753
+ }, z.core.$strip>, z.ZodObject<{
12754
+ operator: z.ZodEnum<{
12755
+ AND: "AND";
12756
+ OR: "OR";
12757
+ }>;
12758
+ conditions: z.ZodArray<z.ZodObject<{
12759
+ field: z.ZodString;
12760
+ operator: z.ZodEnum<{
12761
+ in: "in";
12762
+ equals: "equals";
12763
+ not_equals: "not_equals";
12764
+ contains: "contains";
12765
+ not_contains: "not_contains";
12766
+ greater_than: "greater_than";
12767
+ less_than: "less_than";
12768
+ greater_than_or_equal: "greater_than_or_equal";
12769
+ less_than_or_equal: "less_than_or_equal";
12770
+ not_in: "not_in";
12771
+ exists: "exists";
12772
+ not_exists: "not_exists";
12773
+ }>;
12774
+ value: z.ZodOptional<z.ZodUnknown>;
12775
+ }, z.core.$strip>>;
12776
+ }, z.core.$strip>]>>;
12777
+ }, z.core.$strip>]>>;
12778
+ }, z.core.$strip>>;
12779
+ }, z.core.$strip>>;
12780
+ rules: z.ZodOptional<z.ZodObject<{
12781
+ operator: z.ZodEnum<{
12782
+ AND: "AND";
12783
+ OR: "OR";
12784
+ }>;
12785
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12786
+ field: z.ZodString;
12787
+ operator: z.ZodEnum<{
12788
+ in: "in";
12789
+ equals: "equals";
12790
+ not_equals: "not_equals";
12791
+ contains: "contains";
12792
+ not_contains: "not_contains";
12793
+ greater_than: "greater_than";
12794
+ less_than: "less_than";
12795
+ greater_than_or_equal: "greater_than_or_equal";
12796
+ less_than_or_equal: "less_than_or_equal";
12797
+ not_in: "not_in";
12798
+ exists: "exists";
12799
+ not_exists: "not_exists";
12800
+ }>;
12801
+ value: z.ZodOptional<z.ZodUnknown>;
12802
+ }, z.core.$strip>, z.ZodObject<{
12803
+ operator: z.ZodEnum<{
12804
+ AND: "AND";
12805
+ OR: "OR";
12806
+ }>;
12807
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12808
+ field: z.ZodString;
12809
+ operator: z.ZodEnum<{
12810
+ in: "in";
12811
+ equals: "equals";
12812
+ not_equals: "not_equals";
12813
+ contains: "contains";
12814
+ not_contains: "not_contains";
12815
+ greater_than: "greater_than";
12816
+ less_than: "less_than";
12817
+ greater_than_or_equal: "greater_than_or_equal";
12818
+ less_than_or_equal: "less_than_or_equal";
12819
+ not_in: "not_in";
12820
+ exists: "exists";
12821
+ not_exists: "not_exists";
12822
+ }>;
12823
+ value: z.ZodOptional<z.ZodUnknown>;
12824
+ }, z.core.$strip>, z.ZodObject<{
12825
+ operator: z.ZodEnum<{
12826
+ AND: "AND";
12827
+ OR: "OR";
12828
+ }>;
12829
+ conditions: z.ZodArray<z.ZodObject<{
12830
+ field: z.ZodString;
12831
+ operator: z.ZodEnum<{
12832
+ in: "in";
12833
+ equals: "equals";
12834
+ not_equals: "not_equals";
12835
+ contains: "contains";
12836
+ not_contains: "not_contains";
12837
+ greater_than: "greater_than";
12838
+ less_than: "less_than";
12839
+ greater_than_or_equal: "greater_than_or_equal";
12840
+ less_than_or_equal: "less_than_or_equal";
12841
+ not_in: "not_in";
12842
+ exists: "exists";
12843
+ not_exists: "not_exists";
12844
+ }>;
12845
+ value: z.ZodOptional<z.ZodUnknown>;
12846
+ }, z.core.$strip>>;
12847
+ }, z.core.$strip>]>>;
12848
+ }, z.core.$strip>]>>;
12849
+ }, z.core.$strip>>;
12850
+ }, z.core.$strip>>]>>>;
12851
+ defaultOptions: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
12852
+ runId: z.ZodOptional<z.ZodString>;
12853
+ savePerStep: z.ZodOptional<z.ZodBoolean>;
12854
+ maxSteps: z.ZodOptional<z.ZodNumber>;
12855
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
12856
+ maxProcessorRetries: z.ZodOptional<z.ZodNumber>;
12857
+ toolChoice: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
12858
+ type: z.ZodLiteral<"tool">;
12859
+ toolName: z.ZodString;
12860
+ }, z.core.$strip>]>>;
12861
+ modelSettings: z.ZodOptional<z.ZodObject<{
12862
+ temperature: z.ZodOptional<z.ZodNumber>;
12863
+ maxTokens: z.ZodOptional<z.ZodNumber>;
12864
+ topP: z.ZodOptional<z.ZodNumber>;
12865
+ topK: z.ZodOptional<z.ZodNumber>;
12866
+ frequencyPenalty: z.ZodOptional<z.ZodNumber>;
12867
+ presencePenalty: z.ZodOptional<z.ZodNumber>;
12868
+ stopSequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
12869
+ seed: z.ZodOptional<z.ZodNumber>;
12870
+ maxRetries: z.ZodOptional<z.ZodNumber>;
12871
+ }, z.core.$strip>>;
12872
+ returnScorerData: z.ZodOptional<z.ZodBoolean>;
12873
+ tracingOptions: z.ZodOptional<z.ZodObject<{
12874
+ traceName: z.ZodOptional<z.ZodString>;
12875
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12876
+ spanId: z.ZodOptional<z.ZodString>;
12877
+ traceId: z.ZodOptional<z.ZodString>;
12878
+ }, z.core.$strip>>;
12879
+ requireToolApproval: z.ZodOptional<z.ZodBoolean>;
12880
+ autoResumeSuspendedTools: z.ZodOptional<z.ZodBoolean>;
12881
+ toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
12882
+ includeRawChunks: z.ZodOptional<z.ZodBoolean>;
12883
+ }, z.core.$loose>, z.ZodArray<z.ZodObject<{
12884
+ value: z.ZodObject<{
12885
+ runId: z.ZodOptional<z.ZodString>;
12886
+ savePerStep: z.ZodOptional<z.ZodBoolean>;
12887
+ maxSteps: z.ZodOptional<z.ZodNumber>;
12888
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
12889
+ maxProcessorRetries: z.ZodOptional<z.ZodNumber>;
12890
+ toolChoice: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
12891
+ type: z.ZodLiteral<"tool">;
12892
+ toolName: z.ZodString;
12893
+ }, z.core.$strip>]>>;
12894
+ modelSettings: z.ZodOptional<z.ZodObject<{
12895
+ temperature: z.ZodOptional<z.ZodNumber>;
12896
+ maxTokens: z.ZodOptional<z.ZodNumber>;
12897
+ topP: z.ZodOptional<z.ZodNumber>;
12898
+ topK: z.ZodOptional<z.ZodNumber>;
12899
+ frequencyPenalty: z.ZodOptional<z.ZodNumber>;
12900
+ presencePenalty: z.ZodOptional<z.ZodNumber>;
12901
+ stopSequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
12902
+ seed: z.ZodOptional<z.ZodNumber>;
12903
+ maxRetries: z.ZodOptional<z.ZodNumber>;
12904
+ }, z.core.$strip>>;
12905
+ returnScorerData: z.ZodOptional<z.ZodBoolean>;
12906
+ tracingOptions: z.ZodOptional<z.ZodObject<{
12907
+ traceName: z.ZodOptional<z.ZodString>;
12908
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12909
+ spanId: z.ZodOptional<z.ZodString>;
12910
+ traceId: z.ZodOptional<z.ZodString>;
12911
+ }, z.core.$strip>>;
12912
+ requireToolApproval: z.ZodOptional<z.ZodBoolean>;
12913
+ autoResumeSuspendedTools: z.ZodOptional<z.ZodBoolean>;
12914
+ toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
12915
+ includeRawChunks: z.ZodOptional<z.ZodBoolean>;
12916
+ }, z.core.$loose>;
12917
+ rules: z.ZodOptional<z.ZodObject<{
12918
+ operator: z.ZodEnum<{
12919
+ AND: "AND";
12920
+ OR: "OR";
12921
+ }>;
12922
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12923
+ field: z.ZodString;
12924
+ operator: z.ZodEnum<{
12925
+ in: "in";
12926
+ equals: "equals";
12927
+ not_equals: "not_equals";
12928
+ contains: "contains";
12929
+ not_contains: "not_contains";
12930
+ greater_than: "greater_than";
12931
+ less_than: "less_than";
12932
+ greater_than_or_equal: "greater_than_or_equal";
12933
+ less_than_or_equal: "less_than_or_equal";
12934
+ not_in: "not_in";
12935
+ exists: "exists";
12936
+ not_exists: "not_exists";
12937
+ }>;
12938
+ value: z.ZodOptional<z.ZodUnknown>;
12939
+ }, z.core.$strip>, z.ZodObject<{
12940
+ operator: z.ZodEnum<{
12941
+ AND: "AND";
12942
+ OR: "OR";
12943
+ }>;
12944
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12945
+ field: z.ZodString;
12946
+ operator: z.ZodEnum<{
12947
+ in: "in";
12948
+ equals: "equals";
12949
+ not_equals: "not_equals";
12950
+ contains: "contains";
12951
+ not_contains: "not_contains";
12952
+ greater_than: "greater_than";
12953
+ less_than: "less_than";
12954
+ greater_than_or_equal: "greater_than_or_equal";
12955
+ less_than_or_equal: "less_than_or_equal";
12956
+ not_in: "not_in";
12957
+ exists: "exists";
12958
+ not_exists: "not_exists";
12959
+ }>;
12960
+ value: z.ZodOptional<z.ZodUnknown>;
12961
+ }, z.core.$strip>, z.ZodObject<{
12962
+ operator: z.ZodEnum<{
12963
+ AND: "AND";
12964
+ OR: "OR";
12965
+ }>;
12966
+ conditions: z.ZodArray<z.ZodObject<{
12967
+ field: z.ZodString;
12968
+ operator: z.ZodEnum<{
12969
+ in: "in";
12970
+ equals: "equals";
12971
+ not_equals: "not_equals";
12972
+ contains: "contains";
12973
+ not_contains: "not_contains";
12974
+ greater_than: "greater_than";
12975
+ less_than: "less_than";
12976
+ greater_than_or_equal: "greater_than_or_equal";
12977
+ less_than_or_equal: "less_than_or_equal";
12978
+ not_in: "not_in";
12979
+ exists: "exists";
12980
+ not_exists: "not_exists";
12981
+ }>;
12982
+ value: z.ZodOptional<z.ZodUnknown>;
12983
+ }, z.core.$strip>>;
12984
+ }, z.core.$strip>]>>;
12985
+ }, z.core.$strip>]>>;
12986
+ }, z.core.$strip>>;
12987
+ }, z.core.$strip>>]>>>;
12988
+ workflows: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
12989
+ description: z.ZodOptional<z.ZodString>;
12990
+ rules: z.ZodOptional<z.ZodObject<{
12991
+ operator: z.ZodEnum<{
12992
+ AND: "AND";
12993
+ OR: "OR";
12994
+ }>;
12995
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12996
+ field: z.ZodString;
12997
+ operator: z.ZodEnum<{
12998
+ in: "in";
12999
+ equals: "equals";
13000
+ not_equals: "not_equals";
13001
+ contains: "contains";
13002
+ not_contains: "not_contains";
13003
+ greater_than: "greater_than";
13004
+ less_than: "less_than";
13005
+ greater_than_or_equal: "greater_than_or_equal";
13006
+ less_than_or_equal: "less_than_or_equal";
13007
+ not_in: "not_in";
13008
+ exists: "exists";
13009
+ not_exists: "not_exists";
13010
+ }>;
13011
+ value: z.ZodOptional<z.ZodUnknown>;
13012
+ }, z.core.$strip>, z.ZodObject<{
13013
+ operator: z.ZodEnum<{
13014
+ AND: "AND";
13015
+ OR: "OR";
13016
+ }>;
13017
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13018
+ field: z.ZodString;
13019
+ operator: z.ZodEnum<{
13020
+ in: "in";
13021
+ equals: "equals";
13022
+ not_equals: "not_equals";
13023
+ contains: "contains";
13024
+ not_contains: "not_contains";
13025
+ greater_than: "greater_than";
13026
+ less_than: "less_than";
13027
+ greater_than_or_equal: "greater_than_or_equal";
13028
+ less_than_or_equal: "less_than_or_equal";
13029
+ not_in: "not_in";
13030
+ exists: "exists";
13031
+ not_exists: "not_exists";
13032
+ }>;
13033
+ value: z.ZodOptional<z.ZodUnknown>;
13034
+ }, z.core.$strip>, z.ZodObject<{
13035
+ operator: z.ZodEnum<{
13036
+ AND: "AND";
13037
+ OR: "OR";
13038
+ }>;
13039
+ conditions: z.ZodArray<z.ZodObject<{
13040
+ field: z.ZodString;
13041
+ operator: z.ZodEnum<{
13042
+ in: "in";
13043
+ equals: "equals";
13044
+ not_equals: "not_equals";
13045
+ contains: "contains";
13046
+ not_contains: "not_contains";
13047
+ greater_than: "greater_than";
13048
+ less_than: "less_than";
13049
+ greater_than_or_equal: "greater_than_or_equal";
13050
+ less_than_or_equal: "less_than_or_equal";
13051
+ not_in: "not_in";
13052
+ exists: "exists";
13053
+ not_exists: "not_exists";
13054
+ }>;
13055
+ value: z.ZodOptional<z.ZodUnknown>;
13056
+ }, z.core.$strip>>;
13057
+ }, z.core.$strip>]>>;
13058
+ }, z.core.$strip>]>>;
13059
+ }, z.core.$strip>>;
13060
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
13061
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
13062
+ description: z.ZodOptional<z.ZodString>;
13063
+ rules: z.ZodOptional<z.ZodObject<{
13064
+ operator: z.ZodEnum<{
13065
+ AND: "AND";
13066
+ OR: "OR";
13067
+ }>;
13068
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13069
+ field: z.ZodString;
13070
+ operator: z.ZodEnum<{
13071
+ in: "in";
13072
+ equals: "equals";
13073
+ not_equals: "not_equals";
13074
+ contains: "contains";
13075
+ not_contains: "not_contains";
13076
+ greater_than: "greater_than";
13077
+ less_than: "less_than";
13078
+ greater_than_or_equal: "greater_than_or_equal";
13079
+ less_than_or_equal: "less_than_or_equal";
13080
+ not_in: "not_in";
13081
+ exists: "exists";
13082
+ not_exists: "not_exists";
13083
+ }>;
13084
+ value: z.ZodOptional<z.ZodUnknown>;
13085
+ }, z.core.$strip>, z.ZodObject<{
13086
+ operator: z.ZodEnum<{
13087
+ AND: "AND";
13088
+ OR: "OR";
13089
+ }>;
13090
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13091
+ field: z.ZodString;
13092
+ operator: z.ZodEnum<{
13093
+ in: "in";
13094
+ equals: "equals";
13095
+ not_equals: "not_equals";
13096
+ contains: "contains";
13097
+ not_contains: "not_contains";
13098
+ greater_than: "greater_than";
13099
+ less_than: "less_than";
13100
+ greater_than_or_equal: "greater_than_or_equal";
13101
+ less_than_or_equal: "less_than_or_equal";
13102
+ not_in: "not_in";
13103
+ exists: "exists";
13104
+ not_exists: "not_exists";
13105
+ }>;
13106
+ value: z.ZodOptional<z.ZodUnknown>;
13107
+ }, z.core.$strip>, z.ZodObject<{
13108
+ operator: z.ZodEnum<{
13109
+ AND: "AND";
13110
+ OR: "OR";
13111
+ }>;
13112
+ conditions: z.ZodArray<z.ZodObject<{
13113
+ field: z.ZodString;
13114
+ operator: z.ZodEnum<{
13115
+ in: "in";
13116
+ equals: "equals";
13117
+ not_equals: "not_equals";
13118
+ contains: "contains";
13119
+ not_contains: "not_contains";
13120
+ greater_than: "greater_than";
13121
+ less_than: "less_than";
13122
+ greater_than_or_equal: "greater_than_or_equal";
13123
+ less_than_or_equal: "less_than_or_equal";
13124
+ not_in: "not_in";
13125
+ exists: "exists";
13126
+ not_exists: "not_exists";
13127
+ }>;
13128
+ value: z.ZodOptional<z.ZodUnknown>;
13129
+ }, z.core.$strip>>;
13130
+ }, z.core.$strip>]>>;
13131
+ }, z.core.$strip>]>>;
13132
+ }, z.core.$strip>>;
13133
+ }, z.core.$strip>>;
13134
+ rules: z.ZodOptional<z.ZodObject<{
13135
+ operator: z.ZodEnum<{
13136
+ AND: "AND";
13137
+ OR: "OR";
13138
+ }>;
13139
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13140
+ field: z.ZodString;
13141
+ operator: z.ZodEnum<{
13142
+ in: "in";
13143
+ equals: "equals";
13144
+ not_equals: "not_equals";
13145
+ contains: "contains";
13146
+ not_contains: "not_contains";
13147
+ greater_than: "greater_than";
13148
+ less_than: "less_than";
13149
+ greater_than_or_equal: "greater_than_or_equal";
13150
+ less_than_or_equal: "less_than_or_equal";
13151
+ not_in: "not_in";
13152
+ exists: "exists";
13153
+ not_exists: "not_exists";
13154
+ }>;
13155
+ value: z.ZodOptional<z.ZodUnknown>;
13156
+ }, z.core.$strip>, z.ZodObject<{
13157
+ operator: z.ZodEnum<{
13158
+ AND: "AND";
13159
+ OR: "OR";
13160
+ }>;
13161
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13162
+ field: z.ZodString;
13163
+ operator: z.ZodEnum<{
13164
+ in: "in";
13165
+ equals: "equals";
13166
+ not_equals: "not_equals";
13167
+ contains: "contains";
13168
+ not_contains: "not_contains";
13169
+ greater_than: "greater_than";
13170
+ less_than: "less_than";
13171
+ greater_than_or_equal: "greater_than_or_equal";
13172
+ less_than_or_equal: "less_than_or_equal";
13173
+ not_in: "not_in";
13174
+ exists: "exists";
13175
+ not_exists: "not_exists";
13176
+ }>;
13177
+ value: z.ZodOptional<z.ZodUnknown>;
13178
+ }, z.core.$strip>, z.ZodObject<{
13179
+ operator: z.ZodEnum<{
13180
+ AND: "AND";
13181
+ OR: "OR";
13182
+ }>;
13183
+ conditions: z.ZodArray<z.ZodObject<{
13184
+ field: z.ZodString;
13185
+ operator: z.ZodEnum<{
13186
+ in: "in";
13187
+ equals: "equals";
13188
+ not_equals: "not_equals";
13189
+ contains: "contains";
13190
+ not_contains: "not_contains";
13191
+ greater_than: "greater_than";
13192
+ less_than: "less_than";
13193
+ greater_than_or_equal: "greater_than_or_equal";
13194
+ less_than_or_equal: "less_than_or_equal";
13195
+ not_in: "not_in";
13196
+ exists: "exists";
13197
+ not_exists: "not_exists";
13198
+ }>;
13199
+ value: z.ZodOptional<z.ZodUnknown>;
13200
+ }, z.core.$strip>>;
13201
+ }, z.core.$strip>]>>;
13202
+ }, z.core.$strip>]>>;
13203
+ }, z.core.$strip>>;
13204
+ }, z.core.$strip>>]>>>;
13205
+ agents: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
13206
+ description: z.ZodOptional<z.ZodString>;
13207
+ rules: z.ZodOptional<z.ZodObject<{
13208
+ operator: z.ZodEnum<{
13209
+ AND: "AND";
13210
+ OR: "OR";
13211
+ }>;
13212
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13213
+ field: z.ZodString;
13214
+ operator: z.ZodEnum<{
13215
+ in: "in";
13216
+ equals: "equals";
13217
+ not_equals: "not_equals";
13218
+ contains: "contains";
13219
+ not_contains: "not_contains";
13220
+ greater_than: "greater_than";
13221
+ less_than: "less_than";
13222
+ greater_than_or_equal: "greater_than_or_equal";
13223
+ less_than_or_equal: "less_than_or_equal";
13224
+ not_in: "not_in";
13225
+ exists: "exists";
13226
+ not_exists: "not_exists";
13227
+ }>;
13228
+ value: z.ZodOptional<z.ZodUnknown>;
13229
+ }, z.core.$strip>, z.ZodObject<{
13230
+ operator: z.ZodEnum<{
13231
+ AND: "AND";
13232
+ OR: "OR";
13233
+ }>;
13234
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13235
+ field: z.ZodString;
13236
+ operator: z.ZodEnum<{
13237
+ in: "in";
13238
+ equals: "equals";
13239
+ not_equals: "not_equals";
13240
+ contains: "contains";
13241
+ not_contains: "not_contains";
13242
+ greater_than: "greater_than";
13243
+ less_than: "less_than";
13244
+ greater_than_or_equal: "greater_than_or_equal";
13245
+ less_than_or_equal: "less_than_or_equal";
13246
+ not_in: "not_in";
13247
+ exists: "exists";
13248
+ not_exists: "not_exists";
13249
+ }>;
13250
+ value: z.ZodOptional<z.ZodUnknown>;
13251
+ }, z.core.$strip>, z.ZodObject<{
13252
+ operator: z.ZodEnum<{
13253
+ AND: "AND";
13254
+ OR: "OR";
13255
+ }>;
13256
+ conditions: z.ZodArray<z.ZodObject<{
13257
+ field: z.ZodString;
13258
+ operator: z.ZodEnum<{
13259
+ in: "in";
13260
+ equals: "equals";
13261
+ not_equals: "not_equals";
13262
+ contains: "contains";
13263
+ not_contains: "not_contains";
13264
+ greater_than: "greater_than";
13265
+ less_than: "less_than";
13266
+ greater_than_or_equal: "greater_than_or_equal";
13267
+ less_than_or_equal: "less_than_or_equal";
13268
+ not_in: "not_in";
13269
+ exists: "exists";
13270
+ not_exists: "not_exists";
13271
+ }>;
13272
+ value: z.ZodOptional<z.ZodUnknown>;
13273
+ }, z.core.$strip>>;
13274
+ }, z.core.$strip>]>>;
13275
+ }, z.core.$strip>]>>;
13276
+ }, z.core.$strip>>;
13277
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
13278
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
13279
+ description: z.ZodOptional<z.ZodString>;
13280
+ rules: z.ZodOptional<z.ZodObject<{
13281
+ operator: z.ZodEnum<{
13282
+ AND: "AND";
13283
+ OR: "OR";
13284
+ }>;
13285
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13286
+ field: z.ZodString;
13287
+ operator: z.ZodEnum<{
13288
+ in: "in";
13289
+ equals: "equals";
13290
+ not_equals: "not_equals";
13291
+ contains: "contains";
13292
+ not_contains: "not_contains";
13293
+ greater_than: "greater_than";
13294
+ less_than: "less_than";
13295
+ greater_than_or_equal: "greater_than_or_equal";
13296
+ less_than_or_equal: "less_than_or_equal";
13297
+ not_in: "not_in";
13298
+ exists: "exists";
13299
+ not_exists: "not_exists";
13300
+ }>;
13301
+ value: z.ZodOptional<z.ZodUnknown>;
13302
+ }, z.core.$strip>, z.ZodObject<{
13303
+ operator: z.ZodEnum<{
13304
+ AND: "AND";
13305
+ OR: "OR";
13306
+ }>;
13307
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13308
+ field: z.ZodString;
13309
+ operator: z.ZodEnum<{
13310
+ in: "in";
13311
+ equals: "equals";
13312
+ not_equals: "not_equals";
13313
+ contains: "contains";
13314
+ not_contains: "not_contains";
13315
+ greater_than: "greater_than";
13316
+ less_than: "less_than";
13317
+ greater_than_or_equal: "greater_than_or_equal";
13318
+ less_than_or_equal: "less_than_or_equal";
13319
+ not_in: "not_in";
13320
+ exists: "exists";
13321
+ not_exists: "not_exists";
13322
+ }>;
13323
+ value: z.ZodOptional<z.ZodUnknown>;
13324
+ }, z.core.$strip>, z.ZodObject<{
13325
+ operator: z.ZodEnum<{
13326
+ AND: "AND";
13327
+ OR: "OR";
13328
+ }>;
13329
+ conditions: z.ZodArray<z.ZodObject<{
13330
+ field: z.ZodString;
13331
+ operator: z.ZodEnum<{
13332
+ in: "in";
13333
+ equals: "equals";
13334
+ not_equals: "not_equals";
13335
+ contains: "contains";
13336
+ not_contains: "not_contains";
13337
+ greater_than: "greater_than";
13338
+ less_than: "less_than";
13339
+ greater_than_or_equal: "greater_than_or_equal";
13340
+ less_than_or_equal: "less_than_or_equal";
13341
+ not_in: "not_in";
13342
+ exists: "exists";
13343
+ not_exists: "not_exists";
13344
+ }>;
13345
+ value: z.ZodOptional<z.ZodUnknown>;
13346
+ }, z.core.$strip>>;
13347
+ }, z.core.$strip>]>>;
13348
+ }, z.core.$strip>]>>;
13349
+ }, z.core.$strip>>;
13350
+ }, z.core.$strip>>;
13351
+ rules: z.ZodOptional<z.ZodObject<{
13352
+ operator: z.ZodEnum<{
13353
+ AND: "AND";
13354
+ OR: "OR";
13355
+ }>;
13356
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13357
+ field: z.ZodString;
13358
+ operator: z.ZodEnum<{
13359
+ in: "in";
13360
+ equals: "equals";
13361
+ not_equals: "not_equals";
13362
+ contains: "contains";
13363
+ not_contains: "not_contains";
13364
+ greater_than: "greater_than";
13365
+ less_than: "less_than";
13366
+ greater_than_or_equal: "greater_than_or_equal";
13367
+ less_than_or_equal: "less_than_or_equal";
13368
+ not_in: "not_in";
13369
+ exists: "exists";
13370
+ not_exists: "not_exists";
13371
+ }>;
13372
+ value: z.ZodOptional<z.ZodUnknown>;
13373
+ }, z.core.$strip>, z.ZodObject<{
13374
+ operator: z.ZodEnum<{
13375
+ AND: "AND";
13376
+ OR: "OR";
13377
+ }>;
13378
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13379
+ field: z.ZodString;
13380
+ operator: z.ZodEnum<{
13381
+ in: "in";
13382
+ equals: "equals";
13383
+ not_equals: "not_equals";
13384
+ contains: "contains";
13385
+ not_contains: "not_contains";
13386
+ greater_than: "greater_than";
13387
+ less_than: "less_than";
13388
+ greater_than_or_equal: "greater_than_or_equal";
13389
+ less_than_or_equal: "less_than_or_equal";
13390
+ not_in: "not_in";
13391
+ exists: "exists";
13392
+ not_exists: "not_exists";
13393
+ }>;
13394
+ value: z.ZodOptional<z.ZodUnknown>;
13395
+ }, z.core.$strip>, z.ZodObject<{
13396
+ operator: z.ZodEnum<{
13397
+ AND: "AND";
13398
+ OR: "OR";
13399
+ }>;
13400
+ conditions: z.ZodArray<z.ZodObject<{
13401
+ field: z.ZodString;
13402
+ operator: z.ZodEnum<{
13403
+ in: "in";
13404
+ equals: "equals";
13405
+ not_equals: "not_equals";
13406
+ contains: "contains";
13407
+ not_contains: "not_contains";
13408
+ greater_than: "greater_than";
13409
+ less_than: "less_than";
13410
+ greater_than_or_equal: "greater_than_or_equal";
13411
+ less_than_or_equal: "less_than_or_equal";
13412
+ not_in: "not_in";
13413
+ exists: "exists";
13414
+ not_exists: "not_exists";
13415
+ }>;
13416
+ value: z.ZodOptional<z.ZodUnknown>;
13417
+ }, z.core.$strip>>;
13418
+ }, z.core.$strip>]>>;
13419
+ }, z.core.$strip>]>>;
13420
+ }, z.core.$strip>>;
13421
+ }, z.core.$strip>>]>>>;
13422
+ integrationTools: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
13423
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13424
+ description: z.ZodOptional<z.ZodString>;
13425
+ rules: z.ZodOptional<z.ZodObject<{
13426
+ operator: z.ZodEnum<{
13427
+ AND: "AND";
13428
+ OR: "OR";
13429
+ }>;
13430
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13431
+ field: z.ZodString;
13432
+ operator: z.ZodEnum<{
13433
+ in: "in";
13434
+ equals: "equals";
13435
+ not_equals: "not_equals";
13436
+ contains: "contains";
13437
+ not_contains: "not_contains";
13438
+ greater_than: "greater_than";
13439
+ less_than: "less_than";
13440
+ greater_than_or_equal: "greater_than_or_equal";
13441
+ less_than_or_equal: "less_than_or_equal";
13442
+ not_in: "not_in";
13443
+ exists: "exists";
13444
+ not_exists: "not_exists";
13445
+ }>;
13446
+ value: z.ZodOptional<z.ZodUnknown>;
13447
+ }, z.core.$strip>, z.ZodObject<{
13448
+ operator: z.ZodEnum<{
13449
+ AND: "AND";
13450
+ OR: "OR";
13451
+ }>;
13452
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13453
+ field: z.ZodString;
13454
+ operator: z.ZodEnum<{
13455
+ in: "in";
13456
+ equals: "equals";
13457
+ not_equals: "not_equals";
13458
+ contains: "contains";
13459
+ not_contains: "not_contains";
13460
+ greater_than: "greater_than";
13461
+ less_than: "less_than";
13462
+ greater_than_or_equal: "greater_than_or_equal";
13463
+ less_than_or_equal: "less_than_or_equal";
13464
+ not_in: "not_in";
13465
+ exists: "exists";
13466
+ not_exists: "not_exists";
13467
+ }>;
13468
+ value: z.ZodOptional<z.ZodUnknown>;
13469
+ }, z.core.$strip>, z.ZodObject<{
13470
+ operator: z.ZodEnum<{
13471
+ AND: "AND";
13472
+ OR: "OR";
13473
+ }>;
13474
+ conditions: z.ZodArray<z.ZodObject<{
13475
+ field: z.ZodString;
13476
+ operator: z.ZodEnum<{
13477
+ in: "in";
13478
+ equals: "equals";
13479
+ not_equals: "not_equals";
13480
+ contains: "contains";
13481
+ not_contains: "not_contains";
13482
+ greater_than: "greater_than";
13483
+ less_than: "less_than";
13484
+ greater_than_or_equal: "greater_than_or_equal";
13485
+ less_than_or_equal: "less_than_or_equal";
13486
+ not_in: "not_in";
13487
+ exists: "exists";
13488
+ not_exists: "not_exists";
13489
+ }>;
13490
+ value: z.ZodOptional<z.ZodUnknown>;
13491
+ }, z.core.$strip>>;
13492
+ }, z.core.$strip>]>>;
13493
+ }, z.core.$strip>]>>;
13494
+ }, z.core.$strip>>;
13495
+ }, z.core.$strip>>>;
13496
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
13497
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
13498
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13499
+ description: z.ZodOptional<z.ZodString>;
13500
+ rules: z.ZodOptional<z.ZodObject<{
13501
+ operator: z.ZodEnum<{
13502
+ AND: "AND";
13503
+ OR: "OR";
13504
+ }>;
13505
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13506
+ field: z.ZodString;
13507
+ operator: z.ZodEnum<{
13508
+ in: "in";
13509
+ equals: "equals";
13510
+ not_equals: "not_equals";
13511
+ contains: "contains";
13512
+ not_contains: "not_contains";
13513
+ greater_than: "greater_than";
13514
+ less_than: "less_than";
13515
+ greater_than_or_equal: "greater_than_or_equal";
13516
+ less_than_or_equal: "less_than_or_equal";
13517
+ not_in: "not_in";
13518
+ exists: "exists";
13519
+ not_exists: "not_exists";
13520
+ }>;
13521
+ value: z.ZodOptional<z.ZodUnknown>;
13522
+ }, z.core.$strip>, z.ZodObject<{
13523
+ operator: z.ZodEnum<{
13524
+ AND: "AND";
13525
+ OR: "OR";
13526
+ }>;
13527
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13528
+ field: z.ZodString;
13529
+ operator: z.ZodEnum<{
13530
+ in: "in";
13531
+ equals: "equals";
13532
+ not_equals: "not_equals";
13533
+ contains: "contains";
13534
+ not_contains: "not_contains";
13535
+ greater_than: "greater_than";
13536
+ less_than: "less_than";
13537
+ greater_than_or_equal: "greater_than_or_equal";
13538
+ less_than_or_equal: "less_than_or_equal";
13539
+ not_in: "not_in";
13540
+ exists: "exists";
13541
+ not_exists: "not_exists";
13542
+ }>;
13543
+ value: z.ZodOptional<z.ZodUnknown>;
13544
+ }, z.core.$strip>, z.ZodObject<{
13545
+ operator: z.ZodEnum<{
13546
+ AND: "AND";
13547
+ OR: "OR";
13548
+ }>;
13549
+ conditions: z.ZodArray<z.ZodObject<{
13550
+ field: z.ZodString;
13551
+ operator: z.ZodEnum<{
13552
+ in: "in";
13553
+ equals: "equals";
13554
+ not_equals: "not_equals";
13555
+ contains: "contains";
13556
+ not_contains: "not_contains";
13557
+ greater_than: "greater_than";
13558
+ less_than: "less_than";
13559
+ greater_than_or_equal: "greater_than_or_equal";
13560
+ less_than_or_equal: "less_than_or_equal";
13561
+ not_in: "not_in";
13562
+ exists: "exists";
13563
+ not_exists: "not_exists";
13564
+ }>;
13565
+ value: z.ZodOptional<z.ZodUnknown>;
13566
+ }, z.core.$strip>>;
13567
+ }, z.core.$strip>]>>;
13568
+ }, z.core.$strip>]>>;
13569
+ }, z.core.$strip>>;
13570
+ }, z.core.$strip>>>;
13571
+ }, z.core.$strip>>;
13572
+ rules: z.ZodOptional<z.ZodObject<{
13573
+ operator: z.ZodEnum<{
13574
+ AND: "AND";
13575
+ OR: "OR";
13576
+ }>;
13577
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13578
+ field: z.ZodString;
13579
+ operator: z.ZodEnum<{
13580
+ in: "in";
13581
+ equals: "equals";
13582
+ not_equals: "not_equals";
13583
+ contains: "contains";
13584
+ not_contains: "not_contains";
13585
+ greater_than: "greater_than";
13586
+ less_than: "less_than";
13587
+ greater_than_or_equal: "greater_than_or_equal";
13588
+ less_than_or_equal: "less_than_or_equal";
13589
+ not_in: "not_in";
13590
+ exists: "exists";
13591
+ not_exists: "not_exists";
13592
+ }>;
13593
+ value: z.ZodOptional<z.ZodUnknown>;
13594
+ }, z.core.$strip>, z.ZodObject<{
13595
+ operator: z.ZodEnum<{
13596
+ AND: "AND";
13597
+ OR: "OR";
13598
+ }>;
13599
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13600
+ field: z.ZodString;
13601
+ operator: z.ZodEnum<{
13602
+ in: "in";
13603
+ equals: "equals";
13604
+ not_equals: "not_equals";
13605
+ contains: "contains";
13606
+ not_contains: "not_contains";
13607
+ greater_than: "greater_than";
13608
+ less_than: "less_than";
13609
+ greater_than_or_equal: "greater_than_or_equal";
13610
+ less_than_or_equal: "less_than_or_equal";
13611
+ not_in: "not_in";
13612
+ exists: "exists";
13613
+ not_exists: "not_exists";
13614
+ }>;
13615
+ value: z.ZodOptional<z.ZodUnknown>;
13616
+ }, z.core.$strip>, z.ZodObject<{
13617
+ operator: z.ZodEnum<{
13618
+ AND: "AND";
13619
+ OR: "OR";
13620
+ }>;
13621
+ conditions: z.ZodArray<z.ZodObject<{
13622
+ field: z.ZodString;
13623
+ operator: z.ZodEnum<{
13624
+ in: "in";
13625
+ equals: "equals";
13626
+ not_equals: "not_equals";
13627
+ contains: "contains";
13628
+ not_contains: "not_contains";
13629
+ greater_than: "greater_than";
13630
+ less_than: "less_than";
13631
+ greater_than_or_equal: "greater_than_or_equal";
13632
+ less_than_or_equal: "less_than_or_equal";
13633
+ not_in: "not_in";
13634
+ exists: "exists";
13635
+ not_exists: "not_exists";
13636
+ }>;
13637
+ value: z.ZodOptional<z.ZodUnknown>;
13638
+ }, z.core.$strip>>;
13639
+ }, z.core.$strip>]>>;
13640
+ }, z.core.$strip>]>>;
13641
+ }, z.core.$strip>>;
13642
+ }, z.core.$strip>>]>>>;
13643
+ toolProviders: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
13644
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13645
+ toolkit: z.ZodOptional<z.ZodString>;
13646
+ description: z.ZodOptional<z.ZodString>;
13647
+ }, z.core.$strip>>;
13648
+ connections: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
13649
+ kind: z.ZodEnum<{
13650
+ author: "author";
13651
+ invoker: "invoker";
13652
+ platform: "platform";
13653
+ }>;
13654
+ toolkit: z.ZodString;
13655
+ connectionId: z.ZodString;
13656
+ label: z.ZodOptional<z.ZodString>;
13657
+ scope: z.ZodOptional<z.ZodEnum<{
13658
+ shared: "shared";
13659
+ "per-author": "per-author";
13660
+ "caller-supplied": "caller-supplied";
13661
+ }>>;
13662
+ }, z.core.$strip>>>;
13663
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
13664
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
13665
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13666
+ toolkit: z.ZodOptional<z.ZodString>;
13667
+ description: z.ZodOptional<z.ZodString>;
13668
+ }, z.core.$strip>>;
13669
+ connections: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
13670
+ kind: z.ZodEnum<{
13671
+ author: "author";
13672
+ invoker: "invoker";
13673
+ platform: "platform";
13674
+ }>;
13675
+ toolkit: z.ZodString;
13676
+ connectionId: z.ZodString;
13677
+ label: z.ZodOptional<z.ZodString>;
13678
+ scope: z.ZodOptional<z.ZodEnum<{
13679
+ shared: "shared";
13680
+ "per-author": "per-author";
13681
+ "caller-supplied": "caller-supplied";
13682
+ }>>;
13683
+ }, z.core.$strip>>>;
13684
+ }, z.core.$strip>>;
13685
+ rules: z.ZodOptional<z.ZodObject<{
13686
+ operator: z.ZodEnum<{
13687
+ AND: "AND";
13688
+ OR: "OR";
13689
+ }>;
13690
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13691
+ field: z.ZodString;
13692
+ operator: z.ZodEnum<{
13693
+ in: "in";
13694
+ equals: "equals";
13695
+ not_equals: "not_equals";
13696
+ contains: "contains";
13697
+ not_contains: "not_contains";
13698
+ greater_than: "greater_than";
13699
+ less_than: "less_than";
13700
+ greater_than_or_equal: "greater_than_or_equal";
13701
+ less_than_or_equal: "less_than_or_equal";
13702
+ not_in: "not_in";
13703
+ exists: "exists";
13704
+ not_exists: "not_exists";
13705
+ }>;
13706
+ value: z.ZodOptional<z.ZodUnknown>;
13707
+ }, z.core.$strip>, z.ZodObject<{
13708
+ operator: z.ZodEnum<{
13709
+ AND: "AND";
13710
+ OR: "OR";
13711
+ }>;
13712
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13713
+ field: z.ZodString;
13714
+ operator: z.ZodEnum<{
13715
+ in: "in";
13716
+ equals: "equals";
13717
+ not_equals: "not_equals";
13718
+ contains: "contains";
13719
+ not_contains: "not_contains";
13720
+ greater_than: "greater_than";
13721
+ less_than: "less_than";
13722
+ greater_than_or_equal: "greater_than_or_equal";
13723
+ less_than_or_equal: "less_than_or_equal";
13724
+ not_in: "not_in";
13725
+ exists: "exists";
13726
+ not_exists: "not_exists";
13727
+ }>;
13728
+ value: z.ZodOptional<z.ZodUnknown>;
13729
+ }, z.core.$strip>, z.ZodObject<{
13730
+ operator: z.ZodEnum<{
13731
+ AND: "AND";
13732
+ OR: "OR";
13733
+ }>;
13734
+ conditions: z.ZodArray<z.ZodObject<{
13735
+ field: z.ZodString;
13736
+ operator: z.ZodEnum<{
13737
+ in: "in";
13738
+ equals: "equals";
13739
+ not_equals: "not_equals";
13740
+ contains: "contains";
13741
+ not_contains: "not_contains";
13742
+ greater_than: "greater_than";
13743
+ less_than: "less_than";
13744
+ greater_than_or_equal: "greater_than_or_equal";
13745
+ less_than_or_equal: "less_than_or_equal";
13746
+ not_in: "not_in";
13747
+ exists: "exists";
13748
+ not_exists: "not_exists";
13749
+ }>;
13750
+ value: z.ZodOptional<z.ZodUnknown>;
13751
+ }, z.core.$strip>>;
13752
+ }, z.core.$strip>]>>;
13753
+ }, z.core.$strip>]>>;
13754
+ }, z.core.$strip>>;
13755
+ }, z.core.$strip>>]>>>;
13756
+ mcpClients: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
13757
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13758
+ description: z.ZodOptional<z.ZodString>;
13759
+ rules: z.ZodOptional<z.ZodObject<{
13760
+ operator: z.ZodEnum<{
13761
+ AND: "AND";
13762
+ OR: "OR";
13763
+ }>;
13764
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13765
+ field: z.ZodString;
13766
+ operator: z.ZodEnum<{
13767
+ in: "in";
13768
+ equals: "equals";
13769
+ not_equals: "not_equals";
13770
+ contains: "contains";
13771
+ not_contains: "not_contains";
13772
+ greater_than: "greater_than";
13773
+ less_than: "less_than";
13774
+ greater_than_or_equal: "greater_than_or_equal";
13775
+ less_than_or_equal: "less_than_or_equal";
13776
+ not_in: "not_in";
13777
+ exists: "exists";
13778
+ not_exists: "not_exists";
13779
+ }>;
13780
+ value: z.ZodOptional<z.ZodUnknown>;
13781
+ }, z.core.$strip>, z.ZodObject<{
13782
+ operator: z.ZodEnum<{
13783
+ AND: "AND";
13784
+ OR: "OR";
13785
+ }>;
13786
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13787
+ field: z.ZodString;
13788
+ operator: z.ZodEnum<{
13789
+ in: "in";
13790
+ equals: "equals";
13791
+ not_equals: "not_equals";
13792
+ contains: "contains";
13793
+ not_contains: "not_contains";
13794
+ greater_than: "greater_than";
13795
+ less_than: "less_than";
13796
+ greater_than_or_equal: "greater_than_or_equal";
13797
+ less_than_or_equal: "less_than_or_equal";
13798
+ not_in: "not_in";
13799
+ exists: "exists";
13800
+ not_exists: "not_exists";
13801
+ }>;
13802
+ value: z.ZodOptional<z.ZodUnknown>;
13803
+ }, z.core.$strip>, z.ZodObject<{
13804
+ operator: z.ZodEnum<{
13805
+ AND: "AND";
13806
+ OR: "OR";
13807
+ }>;
13808
+ conditions: z.ZodArray<z.ZodObject<{
13809
+ field: z.ZodString;
13810
+ operator: z.ZodEnum<{
13811
+ in: "in";
13812
+ equals: "equals";
13813
+ not_equals: "not_equals";
13814
+ contains: "contains";
13815
+ not_contains: "not_contains";
13816
+ greater_than: "greater_than";
13817
+ less_than: "less_than";
13818
+ greater_than_or_equal: "greater_than_or_equal";
13819
+ less_than_or_equal: "less_than_or_equal";
13820
+ not_in: "not_in";
13821
+ exists: "exists";
13822
+ not_exists: "not_exists";
13823
+ }>;
13824
+ value: z.ZodOptional<z.ZodUnknown>;
13825
+ }, z.core.$strip>>;
13826
+ }, z.core.$strip>]>>;
13827
+ }, z.core.$strip>]>>;
13828
+ }, z.core.$strip>>;
13829
+ }, z.core.$strip>>>;
13830
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
13831
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
13832
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13833
+ description: z.ZodOptional<z.ZodString>;
13834
+ rules: z.ZodOptional<z.ZodObject<{
13835
+ operator: z.ZodEnum<{
13836
+ AND: "AND";
13837
+ OR: "OR";
13838
+ }>;
13839
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13840
+ field: z.ZodString;
13841
+ operator: z.ZodEnum<{
13842
+ in: "in";
13843
+ equals: "equals";
13844
+ not_equals: "not_equals";
13845
+ contains: "contains";
13846
+ not_contains: "not_contains";
13847
+ greater_than: "greater_than";
13848
+ less_than: "less_than";
13849
+ greater_than_or_equal: "greater_than_or_equal";
13850
+ less_than_or_equal: "less_than_or_equal";
13851
+ not_in: "not_in";
13852
+ exists: "exists";
13853
+ not_exists: "not_exists";
13854
+ }>;
13855
+ value: z.ZodOptional<z.ZodUnknown>;
13856
+ }, z.core.$strip>, z.ZodObject<{
13857
+ operator: z.ZodEnum<{
13858
+ AND: "AND";
13859
+ OR: "OR";
13860
+ }>;
13861
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13862
+ field: z.ZodString;
13863
+ operator: z.ZodEnum<{
13864
+ in: "in";
13865
+ equals: "equals";
13866
+ not_equals: "not_equals";
13867
+ contains: "contains";
13868
+ not_contains: "not_contains";
13869
+ greater_than: "greater_than";
13870
+ less_than: "less_than";
13871
+ greater_than_or_equal: "greater_than_or_equal";
13872
+ less_than_or_equal: "less_than_or_equal";
13873
+ not_in: "not_in";
13874
+ exists: "exists";
13875
+ not_exists: "not_exists";
13876
+ }>;
13877
+ value: z.ZodOptional<z.ZodUnknown>;
13878
+ }, z.core.$strip>, z.ZodObject<{
13879
+ operator: z.ZodEnum<{
13880
+ AND: "AND";
13881
+ OR: "OR";
13882
+ }>;
13883
+ conditions: z.ZodArray<z.ZodObject<{
13884
+ field: z.ZodString;
13885
+ operator: z.ZodEnum<{
13886
+ in: "in";
13887
+ equals: "equals";
13888
+ not_equals: "not_equals";
13889
+ contains: "contains";
13890
+ not_contains: "not_contains";
13891
+ greater_than: "greater_than";
13892
+ less_than: "less_than";
13893
+ greater_than_or_equal: "greater_than_or_equal";
13894
+ less_than_or_equal: "less_than_or_equal";
13895
+ not_in: "not_in";
13896
+ exists: "exists";
13897
+ not_exists: "not_exists";
13898
+ }>;
13899
+ value: z.ZodOptional<z.ZodUnknown>;
13900
+ }, z.core.$strip>>;
13901
+ }, z.core.$strip>]>>;
13902
+ }, z.core.$strip>]>>;
13903
+ }, z.core.$strip>>;
13904
+ }, z.core.$strip>>>;
13905
+ }, z.core.$strip>>;
13906
+ rules: z.ZodOptional<z.ZodObject<{
13907
+ operator: z.ZodEnum<{
13908
+ AND: "AND";
13909
+ OR: "OR";
13910
+ }>;
13911
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13912
+ field: z.ZodString;
13913
+ operator: z.ZodEnum<{
13914
+ in: "in";
13915
+ equals: "equals";
13916
+ not_equals: "not_equals";
13917
+ contains: "contains";
13918
+ not_contains: "not_contains";
13919
+ greater_than: "greater_than";
13920
+ less_than: "less_than";
13921
+ greater_than_or_equal: "greater_than_or_equal";
13922
+ less_than_or_equal: "less_than_or_equal";
13923
+ not_in: "not_in";
13924
+ exists: "exists";
13925
+ not_exists: "not_exists";
13926
+ }>;
13927
+ value: z.ZodOptional<z.ZodUnknown>;
13928
+ }, z.core.$strip>, z.ZodObject<{
13929
+ operator: z.ZodEnum<{
13930
+ AND: "AND";
13931
+ OR: "OR";
13932
+ }>;
13933
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13934
+ field: z.ZodString;
13935
+ operator: z.ZodEnum<{
13936
+ in: "in";
13937
+ equals: "equals";
13938
+ not_equals: "not_equals";
13939
+ contains: "contains";
13940
+ not_contains: "not_contains";
13941
+ greater_than: "greater_than";
13942
+ less_than: "less_than";
13943
+ greater_than_or_equal: "greater_than_or_equal";
13944
+ less_than_or_equal: "less_than_or_equal";
13945
+ not_in: "not_in";
13946
+ exists: "exists";
13947
+ not_exists: "not_exists";
13948
+ }>;
13949
+ value: z.ZodOptional<z.ZodUnknown>;
13950
+ }, z.core.$strip>, z.ZodObject<{
13951
+ operator: z.ZodEnum<{
13952
+ AND: "AND";
13953
+ OR: "OR";
13954
+ }>;
13955
+ conditions: z.ZodArray<z.ZodObject<{
13956
+ field: z.ZodString;
13957
+ operator: z.ZodEnum<{
13958
+ in: "in";
13959
+ equals: "equals";
13960
+ not_equals: "not_equals";
13961
+ contains: "contains";
13962
+ not_contains: "not_contains";
13963
+ greater_than: "greater_than";
13964
+ less_than: "less_than";
13965
+ greater_than_or_equal: "greater_than_or_equal";
13966
+ less_than_or_equal: "less_than_or_equal";
13967
+ not_in: "not_in";
13968
+ exists: "exists";
13969
+ not_exists: "not_exists";
13970
+ }>;
13971
+ value: z.ZodOptional<z.ZodUnknown>;
13972
+ }, z.core.$strip>>;
13973
+ }, z.core.$strip>]>>;
13974
+ }, z.core.$strip>]>>;
13975
+ }, z.core.$strip>>;
13976
+ }, z.core.$strip>>]>>>;
13977
+ inputProcessors: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
13978
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13979
+ type: z.ZodLiteral<"step">;
13980
+ step: z.ZodObject<{
13981
+ id: z.ZodString;
13982
+ providerId: z.ZodString;
13983
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13984
+ enabledPhases: z.ZodArray<z.ZodEnum<{
13985
+ processInput: "processInput";
13986
+ processInputStep: "processInputStep";
13987
+ processOutputStream: "processOutputStream";
13988
+ processOutputResult: "processOutputResult";
13989
+ processOutputStep: "processOutputStep";
13990
+ }>>;
13991
+ }, z.core.$strip>;
13992
+ }, z.core.$strip>, z.ZodObject<{
13993
+ type: z.ZodLiteral<"parallel">;
13994
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13995
+ type: z.ZodLiteral<"step">;
13996
+ step: z.ZodObject<{
13997
+ id: z.ZodString;
13998
+ providerId: z.ZodString;
13999
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14000
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14001
+ processInput: "processInput";
14002
+ processInputStep: "processInputStep";
14003
+ processOutputStream: "processOutputStream";
14004
+ processOutputResult: "processOutputResult";
14005
+ processOutputStep: "processOutputStep";
14006
+ }>>;
14007
+ }, z.core.$strip>;
14008
+ }, z.core.$strip>, z.ZodObject<{
14009
+ type: z.ZodLiteral<"parallel">;
14010
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14011
+ type: z.ZodLiteral<"step">;
14012
+ step: z.ZodObject<{
14013
+ id: z.ZodString;
14014
+ providerId: z.ZodString;
14015
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14016
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14017
+ processInput: "processInput";
14018
+ processInputStep: "processInputStep";
14019
+ processOutputStream: "processOutputStream";
14020
+ processOutputResult: "processOutputResult";
14021
+ processOutputStep: "processOutputStep";
14022
+ }>>;
14023
+ }, z.core.$strip>;
14024
+ }, z.core.$strip>], "type">>>;
14025
+ }, z.core.$strip>, z.ZodObject<{
14026
+ type: z.ZodLiteral<"conditional">;
14027
+ conditions: z.ZodArray<z.ZodObject<{
14028
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14029
+ type: z.ZodLiteral<"step">;
14030
+ step: z.ZodObject<{
14031
+ id: z.ZodString;
14032
+ providerId: z.ZodString;
14033
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14034
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14035
+ processInput: "processInput";
14036
+ processInputStep: "processInputStep";
14037
+ processOutputStream: "processOutputStream";
14038
+ processOutputResult: "processOutputResult";
14039
+ processOutputStep: "processOutputStep";
14040
+ }>>;
14041
+ }, z.core.$strip>;
14042
+ }, z.core.$strip>], "type">>;
14043
+ rules: z.ZodOptional<z.ZodObject<{
14044
+ operator: z.ZodEnum<{
14045
+ AND: "AND";
14046
+ OR: "OR";
14047
+ }>;
14048
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14049
+ field: z.ZodString;
14050
+ operator: z.ZodEnum<{
14051
+ in: "in";
14052
+ equals: "equals";
14053
+ not_equals: "not_equals";
14054
+ contains: "contains";
14055
+ not_contains: "not_contains";
14056
+ greater_than: "greater_than";
14057
+ less_than: "less_than";
14058
+ greater_than_or_equal: "greater_than_or_equal";
14059
+ less_than_or_equal: "less_than_or_equal";
14060
+ not_in: "not_in";
14061
+ exists: "exists";
14062
+ not_exists: "not_exists";
14063
+ }>;
14064
+ value: z.ZodOptional<z.ZodUnknown>;
14065
+ }, z.core.$strip>, z.ZodObject<{
14066
+ operator: z.ZodEnum<{
14067
+ AND: "AND";
14068
+ OR: "OR";
14069
+ }>;
14070
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14071
+ field: z.ZodString;
14072
+ operator: z.ZodEnum<{
14073
+ in: "in";
14074
+ equals: "equals";
14075
+ not_equals: "not_equals";
14076
+ contains: "contains";
14077
+ not_contains: "not_contains";
14078
+ greater_than: "greater_than";
14079
+ less_than: "less_than";
14080
+ greater_than_or_equal: "greater_than_or_equal";
14081
+ less_than_or_equal: "less_than_or_equal";
14082
+ not_in: "not_in";
14083
+ exists: "exists";
14084
+ not_exists: "not_exists";
14085
+ }>;
14086
+ value: z.ZodOptional<z.ZodUnknown>;
14087
+ }, z.core.$strip>, z.ZodObject<{
14088
+ operator: z.ZodEnum<{
14089
+ AND: "AND";
14090
+ OR: "OR";
14091
+ }>;
14092
+ conditions: z.ZodArray<z.ZodObject<{
14093
+ field: z.ZodString;
14094
+ operator: z.ZodEnum<{
14095
+ in: "in";
14096
+ equals: "equals";
14097
+ not_equals: "not_equals";
14098
+ contains: "contains";
14099
+ not_contains: "not_contains";
14100
+ greater_than: "greater_than";
14101
+ less_than: "less_than";
14102
+ greater_than_or_equal: "greater_than_or_equal";
14103
+ less_than_or_equal: "less_than_or_equal";
14104
+ not_in: "not_in";
14105
+ exists: "exists";
14106
+ not_exists: "not_exists";
14107
+ }>;
14108
+ value: z.ZodOptional<z.ZodUnknown>;
14109
+ }, z.core.$strip>>;
14110
+ }, z.core.$strip>]>>;
14111
+ }, z.core.$strip>]>>;
14112
+ }, z.core.$strip>>;
14113
+ }, z.core.$strip>>;
14114
+ }, z.core.$strip>], "type">>>;
14115
+ }, z.core.$strip>, z.ZodObject<{
14116
+ type: z.ZodLiteral<"conditional">;
14117
+ conditions: z.ZodArray<z.ZodObject<{
14118
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14119
+ type: z.ZodLiteral<"step">;
14120
+ step: z.ZodObject<{
14121
+ id: z.ZodString;
14122
+ providerId: z.ZodString;
14123
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14124
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14125
+ processInput: "processInput";
14126
+ processInputStep: "processInputStep";
14127
+ processOutputStream: "processOutputStream";
14128
+ processOutputResult: "processOutputResult";
14129
+ processOutputStep: "processOutputStep";
14130
+ }>>;
14131
+ }, z.core.$strip>;
14132
+ }, z.core.$strip>, z.ZodObject<{
14133
+ type: z.ZodLiteral<"parallel">;
14134
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14135
+ type: z.ZodLiteral<"step">;
14136
+ step: z.ZodObject<{
14137
+ id: z.ZodString;
14138
+ providerId: z.ZodString;
14139
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14140
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14141
+ processInput: "processInput";
14142
+ processInputStep: "processInputStep";
14143
+ processOutputStream: "processOutputStream";
14144
+ processOutputResult: "processOutputResult";
14145
+ processOutputStep: "processOutputStep";
14146
+ }>>;
14147
+ }, z.core.$strip>;
14148
+ }, z.core.$strip>], "type">>>;
14149
+ }, z.core.$strip>, z.ZodObject<{
14150
+ type: z.ZodLiteral<"conditional">;
14151
+ conditions: z.ZodArray<z.ZodObject<{
14152
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14153
+ type: z.ZodLiteral<"step">;
14154
+ step: z.ZodObject<{
14155
+ id: z.ZodString;
14156
+ providerId: z.ZodString;
14157
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14158
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14159
+ processInput: "processInput";
14160
+ processInputStep: "processInputStep";
14161
+ processOutputStream: "processOutputStream";
14162
+ processOutputResult: "processOutputResult";
14163
+ processOutputStep: "processOutputStep";
14164
+ }>>;
14165
+ }, z.core.$strip>;
14166
+ }, z.core.$strip>], "type">>;
14167
+ rules: z.ZodOptional<z.ZodObject<{
14168
+ operator: z.ZodEnum<{
14169
+ AND: "AND";
14170
+ OR: "OR";
14171
+ }>;
14172
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14173
+ field: z.ZodString;
14174
+ operator: z.ZodEnum<{
14175
+ in: "in";
14176
+ equals: "equals";
14177
+ not_equals: "not_equals";
14178
+ contains: "contains";
14179
+ not_contains: "not_contains";
14180
+ greater_than: "greater_than";
14181
+ less_than: "less_than";
14182
+ greater_than_or_equal: "greater_than_or_equal";
14183
+ less_than_or_equal: "less_than_or_equal";
14184
+ not_in: "not_in";
14185
+ exists: "exists";
14186
+ not_exists: "not_exists";
14187
+ }>;
14188
+ value: z.ZodOptional<z.ZodUnknown>;
14189
+ }, z.core.$strip>, z.ZodObject<{
14190
+ operator: z.ZodEnum<{
14191
+ AND: "AND";
14192
+ OR: "OR";
14193
+ }>;
14194
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14195
+ field: z.ZodString;
14196
+ operator: z.ZodEnum<{
14197
+ in: "in";
14198
+ equals: "equals";
14199
+ not_equals: "not_equals";
14200
+ contains: "contains";
14201
+ not_contains: "not_contains";
14202
+ greater_than: "greater_than";
14203
+ less_than: "less_than";
14204
+ greater_than_or_equal: "greater_than_or_equal";
14205
+ less_than_or_equal: "less_than_or_equal";
14206
+ not_in: "not_in";
14207
+ exists: "exists";
14208
+ not_exists: "not_exists";
14209
+ }>;
14210
+ value: z.ZodOptional<z.ZodUnknown>;
14211
+ }, z.core.$strip>, z.ZodObject<{
14212
+ operator: z.ZodEnum<{
14213
+ AND: "AND";
14214
+ OR: "OR";
14215
+ }>;
14216
+ conditions: z.ZodArray<z.ZodObject<{
14217
+ field: z.ZodString;
14218
+ operator: z.ZodEnum<{
14219
+ in: "in";
14220
+ equals: "equals";
14221
+ not_equals: "not_equals";
14222
+ contains: "contains";
14223
+ not_contains: "not_contains";
14224
+ greater_than: "greater_than";
14225
+ less_than: "less_than";
14226
+ greater_than_or_equal: "greater_than_or_equal";
14227
+ less_than_or_equal: "less_than_or_equal";
14228
+ not_in: "not_in";
14229
+ exists: "exists";
14230
+ not_exists: "not_exists";
14231
+ }>;
14232
+ value: z.ZodOptional<z.ZodUnknown>;
14233
+ }, z.core.$strip>>;
14234
+ }, z.core.$strip>]>>;
14235
+ }, z.core.$strip>]>>;
14236
+ }, z.core.$strip>>;
14237
+ }, z.core.$strip>>;
14238
+ }, z.core.$strip>], "type">>;
14239
+ rules: z.ZodOptional<z.ZodObject<{
14240
+ operator: z.ZodEnum<{
14241
+ AND: "AND";
14242
+ OR: "OR";
14243
+ }>;
14244
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14245
+ field: z.ZodString;
14246
+ operator: z.ZodEnum<{
14247
+ in: "in";
14248
+ equals: "equals";
14249
+ not_equals: "not_equals";
14250
+ contains: "contains";
14251
+ not_contains: "not_contains";
14252
+ greater_than: "greater_than";
14253
+ less_than: "less_than";
14254
+ greater_than_or_equal: "greater_than_or_equal";
14255
+ less_than_or_equal: "less_than_or_equal";
14256
+ not_in: "not_in";
14257
+ exists: "exists";
14258
+ not_exists: "not_exists";
14259
+ }>;
14260
+ value: z.ZodOptional<z.ZodUnknown>;
14261
+ }, z.core.$strip>, z.ZodObject<{
14262
+ operator: z.ZodEnum<{
14263
+ AND: "AND";
14264
+ OR: "OR";
14265
+ }>;
14266
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14267
+ field: z.ZodString;
14268
+ operator: z.ZodEnum<{
14269
+ in: "in";
14270
+ equals: "equals";
14271
+ not_equals: "not_equals";
14272
+ contains: "contains";
14273
+ not_contains: "not_contains";
14274
+ greater_than: "greater_than";
14275
+ less_than: "less_than";
14276
+ greater_than_or_equal: "greater_than_or_equal";
14277
+ less_than_or_equal: "less_than_or_equal";
14278
+ not_in: "not_in";
14279
+ exists: "exists";
14280
+ not_exists: "not_exists";
14281
+ }>;
14282
+ value: z.ZodOptional<z.ZodUnknown>;
14283
+ }, z.core.$strip>, z.ZodObject<{
14284
+ operator: z.ZodEnum<{
14285
+ AND: "AND";
14286
+ OR: "OR";
14287
+ }>;
14288
+ conditions: z.ZodArray<z.ZodObject<{
14289
+ field: z.ZodString;
14290
+ operator: z.ZodEnum<{
14291
+ in: "in";
14292
+ equals: "equals";
14293
+ not_equals: "not_equals";
14294
+ contains: "contains";
14295
+ not_contains: "not_contains";
14296
+ greater_than: "greater_than";
14297
+ less_than: "less_than";
14298
+ greater_than_or_equal: "greater_than_or_equal";
14299
+ less_than_or_equal: "less_than_or_equal";
14300
+ not_in: "not_in";
14301
+ exists: "exists";
14302
+ not_exists: "not_exists";
14303
+ }>;
14304
+ value: z.ZodOptional<z.ZodUnknown>;
14305
+ }, z.core.$strip>>;
14306
+ }, z.core.$strip>]>>;
14307
+ }, z.core.$strip>]>>;
14308
+ }, z.core.$strip>>;
14309
+ }, z.core.$strip>>;
14310
+ }, z.core.$strip>], "type">>;
14311
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
14312
+ value: z.ZodObject<{
14313
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14314
+ type: z.ZodLiteral<"step">;
14315
+ step: z.ZodObject<{
14316
+ id: z.ZodString;
14317
+ providerId: z.ZodString;
14318
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14319
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14320
+ processInput: "processInput";
14321
+ processInputStep: "processInputStep";
14322
+ processOutputStream: "processOutputStream";
14323
+ processOutputResult: "processOutputResult";
14324
+ processOutputStep: "processOutputStep";
14325
+ }>>;
14326
+ }, z.core.$strip>;
14327
+ }, z.core.$strip>, z.ZodObject<{
14328
+ type: z.ZodLiteral<"parallel">;
14329
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14330
+ type: z.ZodLiteral<"step">;
14331
+ step: z.ZodObject<{
14332
+ id: z.ZodString;
14333
+ providerId: z.ZodString;
14334
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14335
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14336
+ processInput: "processInput";
14337
+ processInputStep: "processInputStep";
14338
+ processOutputStream: "processOutputStream";
14339
+ processOutputResult: "processOutputResult";
14340
+ processOutputStep: "processOutputStep";
14341
+ }>>;
14342
+ }, z.core.$strip>;
14343
+ }, z.core.$strip>, z.ZodObject<{
14344
+ type: z.ZodLiteral<"parallel">;
14345
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14346
+ type: z.ZodLiteral<"step">;
14347
+ step: z.ZodObject<{
14348
+ id: z.ZodString;
14349
+ providerId: z.ZodString;
14350
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14351
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14352
+ processInput: "processInput";
14353
+ processInputStep: "processInputStep";
14354
+ processOutputStream: "processOutputStream";
14355
+ processOutputResult: "processOutputResult";
14356
+ processOutputStep: "processOutputStep";
14357
+ }>>;
14358
+ }, z.core.$strip>;
14359
+ }, z.core.$strip>], "type">>>;
14360
+ }, z.core.$strip>, z.ZodObject<{
14361
+ type: z.ZodLiteral<"conditional">;
14362
+ conditions: z.ZodArray<z.ZodObject<{
14363
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14364
+ type: z.ZodLiteral<"step">;
14365
+ step: z.ZodObject<{
14366
+ id: z.ZodString;
14367
+ providerId: z.ZodString;
14368
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14369
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14370
+ processInput: "processInput";
14371
+ processInputStep: "processInputStep";
14372
+ processOutputStream: "processOutputStream";
14373
+ processOutputResult: "processOutputResult";
14374
+ processOutputStep: "processOutputStep";
14375
+ }>>;
14376
+ }, z.core.$strip>;
14377
+ }, z.core.$strip>], "type">>;
14378
+ rules: z.ZodOptional<z.ZodObject<{
14379
+ operator: z.ZodEnum<{
14380
+ AND: "AND";
14381
+ OR: "OR";
14382
+ }>;
14383
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14384
+ field: z.ZodString;
14385
+ operator: z.ZodEnum<{
14386
+ in: "in";
14387
+ equals: "equals";
14388
+ not_equals: "not_equals";
14389
+ contains: "contains";
14390
+ not_contains: "not_contains";
14391
+ greater_than: "greater_than";
14392
+ less_than: "less_than";
14393
+ greater_than_or_equal: "greater_than_or_equal";
14394
+ less_than_or_equal: "less_than_or_equal";
14395
+ not_in: "not_in";
14396
+ exists: "exists";
14397
+ not_exists: "not_exists";
14398
+ }>;
14399
+ value: z.ZodOptional<z.ZodUnknown>;
14400
+ }, z.core.$strip>, z.ZodObject<{
14401
+ operator: z.ZodEnum<{
14402
+ AND: "AND";
14403
+ OR: "OR";
14404
+ }>;
14405
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14406
+ field: z.ZodString;
14407
+ operator: z.ZodEnum<{
14408
+ in: "in";
14409
+ equals: "equals";
14410
+ not_equals: "not_equals";
14411
+ contains: "contains";
14412
+ not_contains: "not_contains";
14413
+ greater_than: "greater_than";
14414
+ less_than: "less_than";
14415
+ greater_than_or_equal: "greater_than_or_equal";
14416
+ less_than_or_equal: "less_than_or_equal";
14417
+ not_in: "not_in";
14418
+ exists: "exists";
14419
+ not_exists: "not_exists";
14420
+ }>;
14421
+ value: z.ZodOptional<z.ZodUnknown>;
14422
+ }, z.core.$strip>, z.ZodObject<{
14423
+ operator: z.ZodEnum<{
14424
+ AND: "AND";
14425
+ OR: "OR";
14426
+ }>;
14427
+ conditions: z.ZodArray<z.ZodObject<{
14428
+ field: z.ZodString;
14429
+ operator: z.ZodEnum<{
14430
+ in: "in";
14431
+ equals: "equals";
14432
+ not_equals: "not_equals";
14433
+ contains: "contains";
14434
+ not_contains: "not_contains";
14435
+ greater_than: "greater_than";
14436
+ less_than: "less_than";
14437
+ greater_than_or_equal: "greater_than_or_equal";
14438
+ less_than_or_equal: "less_than_or_equal";
14439
+ not_in: "not_in";
14440
+ exists: "exists";
14441
+ not_exists: "not_exists";
14442
+ }>;
14443
+ value: z.ZodOptional<z.ZodUnknown>;
14444
+ }, z.core.$strip>>;
14445
+ }, z.core.$strip>]>>;
14446
+ }, z.core.$strip>]>>;
14447
+ }, z.core.$strip>>;
14448
+ }, z.core.$strip>>;
14449
+ }, z.core.$strip>], "type">>>;
14450
+ }, z.core.$strip>, z.ZodObject<{
14451
+ type: z.ZodLiteral<"conditional">;
14452
+ conditions: z.ZodArray<z.ZodObject<{
14453
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14454
+ type: z.ZodLiteral<"step">;
14455
+ step: z.ZodObject<{
14456
+ id: z.ZodString;
14457
+ providerId: z.ZodString;
14458
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14459
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14460
+ processInput: "processInput";
14461
+ processInputStep: "processInputStep";
14462
+ processOutputStream: "processOutputStream";
14463
+ processOutputResult: "processOutputResult";
14464
+ processOutputStep: "processOutputStep";
14465
+ }>>;
14466
+ }, z.core.$strip>;
14467
+ }, z.core.$strip>, z.ZodObject<{
14468
+ type: z.ZodLiteral<"parallel">;
14469
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14470
+ type: z.ZodLiteral<"step">;
14471
+ step: z.ZodObject<{
14472
+ id: z.ZodString;
14473
+ providerId: z.ZodString;
14474
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14475
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14476
+ processInput: "processInput";
14477
+ processInputStep: "processInputStep";
14478
+ processOutputStream: "processOutputStream";
14479
+ processOutputResult: "processOutputResult";
14480
+ processOutputStep: "processOutputStep";
14481
+ }>>;
14482
+ }, z.core.$strip>;
14483
+ }, z.core.$strip>], "type">>>;
14484
+ }, z.core.$strip>, z.ZodObject<{
14485
+ type: z.ZodLiteral<"conditional">;
14486
+ conditions: z.ZodArray<z.ZodObject<{
14487
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14488
+ type: z.ZodLiteral<"step">;
14489
+ step: z.ZodObject<{
14490
+ id: z.ZodString;
14491
+ providerId: z.ZodString;
14492
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14493
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14494
+ processInput: "processInput";
14495
+ processInputStep: "processInputStep";
14496
+ processOutputStream: "processOutputStream";
14497
+ processOutputResult: "processOutputResult";
14498
+ processOutputStep: "processOutputStep";
14499
+ }>>;
14500
+ }, z.core.$strip>;
14501
+ }, z.core.$strip>], "type">>;
14502
+ rules: z.ZodOptional<z.ZodObject<{
14503
+ operator: z.ZodEnum<{
14504
+ AND: "AND";
14505
+ OR: "OR";
14506
+ }>;
14507
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14508
+ field: z.ZodString;
14509
+ operator: z.ZodEnum<{
14510
+ in: "in";
14511
+ equals: "equals";
14512
+ not_equals: "not_equals";
14513
+ contains: "contains";
14514
+ not_contains: "not_contains";
14515
+ greater_than: "greater_than";
14516
+ less_than: "less_than";
14517
+ greater_than_or_equal: "greater_than_or_equal";
14518
+ less_than_or_equal: "less_than_or_equal";
14519
+ not_in: "not_in";
14520
+ exists: "exists";
14521
+ not_exists: "not_exists";
14522
+ }>;
14523
+ value: z.ZodOptional<z.ZodUnknown>;
14524
+ }, z.core.$strip>, z.ZodObject<{
14525
+ operator: z.ZodEnum<{
14526
+ AND: "AND";
14527
+ OR: "OR";
14528
+ }>;
14529
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14530
+ field: z.ZodString;
14531
+ operator: z.ZodEnum<{
14532
+ in: "in";
14533
+ equals: "equals";
14534
+ not_equals: "not_equals";
14535
+ contains: "contains";
14536
+ not_contains: "not_contains";
14537
+ greater_than: "greater_than";
14538
+ less_than: "less_than";
14539
+ greater_than_or_equal: "greater_than_or_equal";
14540
+ less_than_or_equal: "less_than_or_equal";
14541
+ not_in: "not_in";
14542
+ exists: "exists";
14543
+ not_exists: "not_exists";
14544
+ }>;
14545
+ value: z.ZodOptional<z.ZodUnknown>;
14546
+ }, z.core.$strip>, z.ZodObject<{
14547
+ operator: z.ZodEnum<{
14548
+ AND: "AND";
14549
+ OR: "OR";
14550
+ }>;
14551
+ conditions: z.ZodArray<z.ZodObject<{
14552
+ field: z.ZodString;
14553
+ operator: z.ZodEnum<{
14554
+ in: "in";
14555
+ equals: "equals";
14556
+ not_equals: "not_equals";
14557
+ contains: "contains";
14558
+ not_contains: "not_contains";
14559
+ greater_than: "greater_than";
14560
+ less_than: "less_than";
14561
+ greater_than_or_equal: "greater_than_or_equal";
14562
+ less_than_or_equal: "less_than_or_equal";
14563
+ not_in: "not_in";
14564
+ exists: "exists";
14565
+ not_exists: "not_exists";
14566
+ }>;
14567
+ value: z.ZodOptional<z.ZodUnknown>;
14568
+ }, z.core.$strip>>;
14569
+ }, z.core.$strip>]>>;
14570
+ }, z.core.$strip>]>>;
14571
+ }, z.core.$strip>>;
14572
+ }, z.core.$strip>>;
14573
+ }, z.core.$strip>], "type">>;
14574
+ rules: z.ZodOptional<z.ZodObject<{
14575
+ operator: z.ZodEnum<{
14576
+ AND: "AND";
14577
+ OR: "OR";
14578
+ }>;
14579
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14580
+ field: z.ZodString;
14581
+ operator: z.ZodEnum<{
14582
+ in: "in";
14583
+ equals: "equals";
14584
+ not_equals: "not_equals";
14585
+ contains: "contains";
14586
+ not_contains: "not_contains";
14587
+ greater_than: "greater_than";
14588
+ less_than: "less_than";
14589
+ greater_than_or_equal: "greater_than_or_equal";
14590
+ less_than_or_equal: "less_than_or_equal";
14591
+ not_in: "not_in";
14592
+ exists: "exists";
14593
+ not_exists: "not_exists";
14594
+ }>;
14595
+ value: z.ZodOptional<z.ZodUnknown>;
14596
+ }, z.core.$strip>, z.ZodObject<{
14597
+ operator: z.ZodEnum<{
14598
+ AND: "AND";
14599
+ OR: "OR";
14600
+ }>;
14601
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14602
+ field: z.ZodString;
14603
+ operator: z.ZodEnum<{
14604
+ in: "in";
14605
+ equals: "equals";
14606
+ not_equals: "not_equals";
14607
+ contains: "contains";
14608
+ not_contains: "not_contains";
14609
+ greater_than: "greater_than";
14610
+ less_than: "less_than";
14611
+ greater_than_or_equal: "greater_than_or_equal";
14612
+ less_than_or_equal: "less_than_or_equal";
14613
+ not_in: "not_in";
14614
+ exists: "exists";
14615
+ not_exists: "not_exists";
14616
+ }>;
14617
+ value: z.ZodOptional<z.ZodUnknown>;
14618
+ }, z.core.$strip>, z.ZodObject<{
14619
+ operator: z.ZodEnum<{
14620
+ AND: "AND";
14621
+ OR: "OR";
14622
+ }>;
14623
+ conditions: z.ZodArray<z.ZodObject<{
14624
+ field: z.ZodString;
14625
+ operator: z.ZodEnum<{
14626
+ in: "in";
14627
+ equals: "equals";
14628
+ not_equals: "not_equals";
14629
+ contains: "contains";
14630
+ not_contains: "not_contains";
14631
+ greater_than: "greater_than";
14632
+ less_than: "less_than";
14633
+ greater_than_or_equal: "greater_than_or_equal";
14634
+ less_than_or_equal: "less_than_or_equal";
14635
+ not_in: "not_in";
14636
+ exists: "exists";
14637
+ not_exists: "not_exists";
14638
+ }>;
14639
+ value: z.ZodOptional<z.ZodUnknown>;
14640
+ }, z.core.$strip>>;
14641
+ }, z.core.$strip>]>>;
14642
+ }, z.core.$strip>]>>;
14643
+ }, z.core.$strip>>;
14644
+ }, z.core.$strip>>;
14645
+ }, z.core.$strip>], "type">>;
14646
+ }, z.core.$strip>;
14647
+ rules: z.ZodOptional<z.ZodObject<{
14648
+ operator: z.ZodEnum<{
14649
+ AND: "AND";
14650
+ OR: "OR";
14651
+ }>;
14652
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14653
+ field: z.ZodString;
14654
+ operator: z.ZodEnum<{
14655
+ in: "in";
14656
+ equals: "equals";
14657
+ not_equals: "not_equals";
14658
+ contains: "contains";
14659
+ not_contains: "not_contains";
14660
+ greater_than: "greater_than";
14661
+ less_than: "less_than";
14662
+ greater_than_or_equal: "greater_than_or_equal";
14663
+ less_than_or_equal: "less_than_or_equal";
14664
+ not_in: "not_in";
14665
+ exists: "exists";
14666
+ not_exists: "not_exists";
14667
+ }>;
14668
+ value: z.ZodOptional<z.ZodUnknown>;
14669
+ }, z.core.$strip>, z.ZodObject<{
14670
+ operator: z.ZodEnum<{
14671
+ AND: "AND";
14672
+ OR: "OR";
14673
+ }>;
14674
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14675
+ field: z.ZodString;
14676
+ operator: z.ZodEnum<{
14677
+ in: "in";
14678
+ equals: "equals";
14679
+ not_equals: "not_equals";
14680
+ contains: "contains";
14681
+ not_contains: "not_contains";
14682
+ greater_than: "greater_than";
14683
+ less_than: "less_than";
14684
+ greater_than_or_equal: "greater_than_or_equal";
14685
+ less_than_or_equal: "less_than_or_equal";
14686
+ not_in: "not_in";
14687
+ exists: "exists";
14688
+ not_exists: "not_exists";
14689
+ }>;
14690
+ value: z.ZodOptional<z.ZodUnknown>;
14691
+ }, z.core.$strip>, z.ZodObject<{
14692
+ operator: z.ZodEnum<{
14693
+ AND: "AND";
14694
+ OR: "OR";
14695
+ }>;
14696
+ conditions: z.ZodArray<z.ZodObject<{
14697
+ field: z.ZodString;
14698
+ operator: z.ZodEnum<{
14699
+ in: "in";
14700
+ equals: "equals";
14701
+ not_equals: "not_equals";
14702
+ contains: "contains";
14703
+ not_contains: "not_contains";
14704
+ greater_than: "greater_than";
14705
+ less_than: "less_than";
14706
+ greater_than_or_equal: "greater_than_or_equal";
14707
+ less_than_or_equal: "less_than_or_equal";
14708
+ not_in: "not_in";
14709
+ exists: "exists";
14710
+ not_exists: "not_exists";
14711
+ }>;
14712
+ value: z.ZodOptional<z.ZodUnknown>;
14713
+ }, z.core.$strip>>;
14714
+ }, z.core.$strip>]>>;
14715
+ }, z.core.$strip>]>>;
14716
+ }, z.core.$strip>>;
14717
+ }, z.core.$strip>>]>>>;
14718
+ outputProcessors: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
14719
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14720
+ type: z.ZodLiteral<"step">;
14721
+ step: z.ZodObject<{
14722
+ id: z.ZodString;
14723
+ providerId: z.ZodString;
14724
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14725
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14726
+ processInput: "processInput";
14727
+ processInputStep: "processInputStep";
14728
+ processOutputStream: "processOutputStream";
14729
+ processOutputResult: "processOutputResult";
14730
+ processOutputStep: "processOutputStep";
14731
+ }>>;
14732
+ }, z.core.$strip>;
14733
+ }, z.core.$strip>, z.ZodObject<{
14734
+ type: z.ZodLiteral<"parallel">;
14735
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14736
+ type: z.ZodLiteral<"step">;
14737
+ step: z.ZodObject<{
14738
+ id: z.ZodString;
14739
+ providerId: z.ZodString;
14740
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14741
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14742
+ processInput: "processInput";
14743
+ processInputStep: "processInputStep";
14744
+ processOutputStream: "processOutputStream";
14745
+ processOutputResult: "processOutputResult";
14746
+ processOutputStep: "processOutputStep";
14747
+ }>>;
14748
+ }, z.core.$strip>;
14749
+ }, z.core.$strip>, z.ZodObject<{
14750
+ type: z.ZodLiteral<"parallel">;
14751
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14752
+ type: z.ZodLiteral<"step">;
14753
+ step: z.ZodObject<{
14754
+ id: z.ZodString;
14755
+ providerId: z.ZodString;
14756
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14757
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14758
+ processInput: "processInput";
14759
+ processInputStep: "processInputStep";
14760
+ processOutputStream: "processOutputStream";
14761
+ processOutputResult: "processOutputResult";
14762
+ processOutputStep: "processOutputStep";
14763
+ }>>;
14764
+ }, z.core.$strip>;
14765
+ }, z.core.$strip>], "type">>>;
14766
+ }, z.core.$strip>, z.ZodObject<{
14767
+ type: z.ZodLiteral<"conditional">;
14768
+ conditions: z.ZodArray<z.ZodObject<{
14769
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14770
+ type: z.ZodLiteral<"step">;
14771
+ step: z.ZodObject<{
14772
+ id: z.ZodString;
14773
+ providerId: z.ZodString;
14774
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14775
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14776
+ processInput: "processInput";
14777
+ processInputStep: "processInputStep";
14778
+ processOutputStream: "processOutputStream";
14779
+ processOutputResult: "processOutputResult";
14780
+ processOutputStep: "processOutputStep";
14781
+ }>>;
14782
+ }, z.core.$strip>;
14783
+ }, z.core.$strip>], "type">>;
14784
+ rules: z.ZodOptional<z.ZodObject<{
14785
+ operator: z.ZodEnum<{
14786
+ AND: "AND";
14787
+ OR: "OR";
14788
+ }>;
14789
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14790
+ field: z.ZodString;
14791
+ operator: z.ZodEnum<{
14792
+ in: "in";
14793
+ equals: "equals";
14794
+ not_equals: "not_equals";
14795
+ contains: "contains";
14796
+ not_contains: "not_contains";
14797
+ greater_than: "greater_than";
14798
+ less_than: "less_than";
14799
+ greater_than_or_equal: "greater_than_or_equal";
14800
+ less_than_or_equal: "less_than_or_equal";
14801
+ not_in: "not_in";
14802
+ exists: "exists";
14803
+ not_exists: "not_exists";
14804
+ }>;
14805
+ value: z.ZodOptional<z.ZodUnknown>;
14806
+ }, z.core.$strip>, z.ZodObject<{
14807
+ operator: z.ZodEnum<{
14808
+ AND: "AND";
14809
+ OR: "OR";
14810
+ }>;
14811
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14812
+ field: z.ZodString;
14813
+ operator: z.ZodEnum<{
14814
+ in: "in";
14815
+ equals: "equals";
14816
+ not_equals: "not_equals";
14817
+ contains: "contains";
14818
+ not_contains: "not_contains";
14819
+ greater_than: "greater_than";
14820
+ less_than: "less_than";
14821
+ greater_than_or_equal: "greater_than_or_equal";
14822
+ less_than_or_equal: "less_than_or_equal";
14823
+ not_in: "not_in";
14824
+ exists: "exists";
14825
+ not_exists: "not_exists";
14826
+ }>;
14827
+ value: z.ZodOptional<z.ZodUnknown>;
14828
+ }, z.core.$strip>, z.ZodObject<{
14829
+ operator: z.ZodEnum<{
14830
+ AND: "AND";
14831
+ OR: "OR";
14832
+ }>;
14833
+ conditions: z.ZodArray<z.ZodObject<{
14834
+ field: z.ZodString;
14835
+ operator: z.ZodEnum<{
14836
+ in: "in";
14837
+ equals: "equals";
14838
+ not_equals: "not_equals";
14839
+ contains: "contains";
14840
+ not_contains: "not_contains";
14841
+ greater_than: "greater_than";
14842
+ less_than: "less_than";
14843
+ greater_than_or_equal: "greater_than_or_equal";
14844
+ less_than_or_equal: "less_than_or_equal";
14845
+ not_in: "not_in";
14846
+ exists: "exists";
14847
+ not_exists: "not_exists";
14848
+ }>;
14849
+ value: z.ZodOptional<z.ZodUnknown>;
14850
+ }, z.core.$strip>>;
14851
+ }, z.core.$strip>]>>;
14852
+ }, z.core.$strip>]>>;
14853
+ }, z.core.$strip>>;
14854
+ }, z.core.$strip>>;
14855
+ }, z.core.$strip>], "type">>>;
14856
+ }, z.core.$strip>, z.ZodObject<{
14857
+ type: z.ZodLiteral<"conditional">;
14858
+ conditions: z.ZodArray<z.ZodObject<{
14859
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14860
+ type: z.ZodLiteral<"step">;
14861
+ step: z.ZodObject<{
14862
+ id: z.ZodString;
14863
+ providerId: z.ZodString;
14864
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14865
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14866
+ processInput: "processInput";
14867
+ processInputStep: "processInputStep";
14868
+ processOutputStream: "processOutputStream";
14869
+ processOutputResult: "processOutputResult";
14870
+ processOutputStep: "processOutputStep";
14871
+ }>>;
14872
+ }, z.core.$strip>;
14873
+ }, z.core.$strip>, z.ZodObject<{
14874
+ type: z.ZodLiteral<"parallel">;
14875
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14876
+ type: z.ZodLiteral<"step">;
14877
+ step: z.ZodObject<{
14878
+ id: z.ZodString;
14879
+ providerId: z.ZodString;
14880
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14881
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14882
+ processInput: "processInput";
14883
+ processInputStep: "processInputStep";
14884
+ processOutputStream: "processOutputStream";
14885
+ processOutputResult: "processOutputResult";
14886
+ processOutputStep: "processOutputStep";
14887
+ }>>;
14888
+ }, z.core.$strip>;
14889
+ }, z.core.$strip>], "type">>>;
14890
+ }, z.core.$strip>, z.ZodObject<{
14891
+ type: z.ZodLiteral<"conditional">;
14892
+ conditions: z.ZodArray<z.ZodObject<{
14893
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14894
+ type: z.ZodLiteral<"step">;
14895
+ step: z.ZodObject<{
14896
+ id: z.ZodString;
14897
+ providerId: z.ZodString;
14898
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14899
+ enabledPhases: z.ZodArray<z.ZodEnum<{
14900
+ processInput: "processInput";
14901
+ processInputStep: "processInputStep";
14902
+ processOutputStream: "processOutputStream";
14903
+ processOutputResult: "processOutputResult";
14904
+ processOutputStep: "processOutputStep";
14905
+ }>>;
14906
+ }, z.core.$strip>;
14907
+ }, z.core.$strip>], "type">>;
14908
+ rules: z.ZodOptional<z.ZodObject<{
14909
+ operator: z.ZodEnum<{
14910
+ AND: "AND";
14911
+ OR: "OR";
14912
+ }>;
14913
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14914
+ field: z.ZodString;
14915
+ operator: z.ZodEnum<{
14916
+ in: "in";
14917
+ equals: "equals";
14918
+ not_equals: "not_equals";
14919
+ contains: "contains";
14920
+ not_contains: "not_contains";
14921
+ greater_than: "greater_than";
14922
+ less_than: "less_than";
14923
+ greater_than_or_equal: "greater_than_or_equal";
14924
+ less_than_or_equal: "less_than_or_equal";
14925
+ not_in: "not_in";
14926
+ exists: "exists";
14927
+ not_exists: "not_exists";
14928
+ }>;
14929
+ value: z.ZodOptional<z.ZodUnknown>;
14930
+ }, z.core.$strip>, z.ZodObject<{
14931
+ operator: z.ZodEnum<{
14932
+ AND: "AND";
14933
+ OR: "OR";
14934
+ }>;
14935
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14936
+ field: z.ZodString;
14937
+ operator: z.ZodEnum<{
14938
+ in: "in";
14939
+ equals: "equals";
14940
+ not_equals: "not_equals";
14941
+ contains: "contains";
14942
+ not_contains: "not_contains";
14943
+ greater_than: "greater_than";
14944
+ less_than: "less_than";
14945
+ greater_than_or_equal: "greater_than_or_equal";
14946
+ less_than_or_equal: "less_than_or_equal";
14947
+ not_in: "not_in";
14948
+ exists: "exists";
14949
+ not_exists: "not_exists";
14950
+ }>;
14951
+ value: z.ZodOptional<z.ZodUnknown>;
14952
+ }, z.core.$strip>, z.ZodObject<{
14953
+ operator: z.ZodEnum<{
14954
+ AND: "AND";
14955
+ OR: "OR";
14956
+ }>;
14957
+ conditions: z.ZodArray<z.ZodObject<{
14958
+ field: z.ZodString;
14959
+ operator: z.ZodEnum<{
14960
+ in: "in";
14961
+ equals: "equals";
14962
+ not_equals: "not_equals";
14963
+ contains: "contains";
14964
+ not_contains: "not_contains";
14965
+ greater_than: "greater_than";
14966
+ less_than: "less_than";
14967
+ greater_than_or_equal: "greater_than_or_equal";
14968
+ less_than_or_equal: "less_than_or_equal";
14969
+ not_in: "not_in";
14970
+ exists: "exists";
14971
+ not_exists: "not_exists";
14972
+ }>;
14973
+ value: z.ZodOptional<z.ZodUnknown>;
14974
+ }, z.core.$strip>>;
14975
+ }, z.core.$strip>]>>;
14976
+ }, z.core.$strip>]>>;
14977
+ }, z.core.$strip>>;
14978
+ }, z.core.$strip>>;
14979
+ }, z.core.$strip>], "type">>;
14980
+ rules: z.ZodOptional<z.ZodObject<{
14981
+ operator: z.ZodEnum<{
14982
+ AND: "AND";
14983
+ OR: "OR";
14984
+ }>;
14985
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14986
+ field: z.ZodString;
14987
+ operator: z.ZodEnum<{
14988
+ in: "in";
14989
+ equals: "equals";
14990
+ not_equals: "not_equals";
14991
+ contains: "contains";
14992
+ not_contains: "not_contains";
14993
+ greater_than: "greater_than";
14994
+ less_than: "less_than";
14995
+ greater_than_or_equal: "greater_than_or_equal";
14996
+ less_than_or_equal: "less_than_or_equal";
14997
+ not_in: "not_in";
14998
+ exists: "exists";
14999
+ not_exists: "not_exists";
15000
+ }>;
15001
+ value: z.ZodOptional<z.ZodUnknown>;
15002
+ }, z.core.$strip>, z.ZodObject<{
15003
+ operator: z.ZodEnum<{
15004
+ AND: "AND";
15005
+ OR: "OR";
15006
+ }>;
15007
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15008
+ field: z.ZodString;
15009
+ operator: z.ZodEnum<{
15010
+ in: "in";
15011
+ equals: "equals";
15012
+ not_equals: "not_equals";
15013
+ contains: "contains";
15014
+ not_contains: "not_contains";
15015
+ greater_than: "greater_than";
15016
+ less_than: "less_than";
15017
+ greater_than_or_equal: "greater_than_or_equal";
15018
+ less_than_or_equal: "less_than_or_equal";
15019
+ not_in: "not_in";
15020
+ exists: "exists";
15021
+ not_exists: "not_exists";
15022
+ }>;
15023
+ value: z.ZodOptional<z.ZodUnknown>;
15024
+ }, z.core.$strip>, z.ZodObject<{
15025
+ operator: z.ZodEnum<{
15026
+ AND: "AND";
15027
+ OR: "OR";
15028
+ }>;
15029
+ conditions: z.ZodArray<z.ZodObject<{
15030
+ field: z.ZodString;
15031
+ operator: z.ZodEnum<{
15032
+ in: "in";
15033
+ equals: "equals";
15034
+ not_equals: "not_equals";
15035
+ contains: "contains";
15036
+ not_contains: "not_contains";
15037
+ greater_than: "greater_than";
15038
+ less_than: "less_than";
15039
+ greater_than_or_equal: "greater_than_or_equal";
15040
+ less_than_or_equal: "less_than_or_equal";
15041
+ not_in: "not_in";
15042
+ exists: "exists";
15043
+ not_exists: "not_exists";
15044
+ }>;
15045
+ value: z.ZodOptional<z.ZodUnknown>;
15046
+ }, z.core.$strip>>;
15047
+ }, z.core.$strip>]>>;
15048
+ }, z.core.$strip>]>>;
15049
+ }, z.core.$strip>>;
15050
+ }, z.core.$strip>>;
15051
+ }, z.core.$strip>], "type">>;
15052
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
15053
+ value: z.ZodObject<{
15054
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15055
+ type: z.ZodLiteral<"step">;
15056
+ step: z.ZodObject<{
15057
+ id: z.ZodString;
15058
+ providerId: z.ZodString;
15059
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15060
+ enabledPhases: z.ZodArray<z.ZodEnum<{
15061
+ processInput: "processInput";
15062
+ processInputStep: "processInputStep";
15063
+ processOutputStream: "processOutputStream";
15064
+ processOutputResult: "processOutputResult";
15065
+ processOutputStep: "processOutputStep";
15066
+ }>>;
15067
+ }, z.core.$strip>;
15068
+ }, z.core.$strip>, z.ZodObject<{
15069
+ type: z.ZodLiteral<"parallel">;
15070
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15071
+ type: z.ZodLiteral<"step">;
15072
+ step: z.ZodObject<{
15073
+ id: z.ZodString;
15074
+ providerId: z.ZodString;
15075
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15076
+ enabledPhases: z.ZodArray<z.ZodEnum<{
15077
+ processInput: "processInput";
15078
+ processInputStep: "processInputStep";
15079
+ processOutputStream: "processOutputStream";
15080
+ processOutputResult: "processOutputResult";
15081
+ processOutputStep: "processOutputStep";
15082
+ }>>;
15083
+ }, z.core.$strip>;
15084
+ }, z.core.$strip>, z.ZodObject<{
15085
+ type: z.ZodLiteral<"parallel">;
15086
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15087
+ type: z.ZodLiteral<"step">;
15088
+ step: z.ZodObject<{
15089
+ id: z.ZodString;
15090
+ providerId: z.ZodString;
15091
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15092
+ enabledPhases: z.ZodArray<z.ZodEnum<{
15093
+ processInput: "processInput";
15094
+ processInputStep: "processInputStep";
15095
+ processOutputStream: "processOutputStream";
15096
+ processOutputResult: "processOutputResult";
15097
+ processOutputStep: "processOutputStep";
15098
+ }>>;
15099
+ }, z.core.$strip>;
15100
+ }, z.core.$strip>], "type">>>;
15101
+ }, z.core.$strip>, z.ZodObject<{
15102
+ type: z.ZodLiteral<"conditional">;
15103
+ conditions: z.ZodArray<z.ZodObject<{
15104
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15105
+ type: z.ZodLiteral<"step">;
15106
+ step: z.ZodObject<{
15107
+ id: z.ZodString;
15108
+ providerId: z.ZodString;
15109
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15110
+ enabledPhases: z.ZodArray<z.ZodEnum<{
15111
+ processInput: "processInput";
15112
+ processInputStep: "processInputStep";
15113
+ processOutputStream: "processOutputStream";
15114
+ processOutputResult: "processOutputResult";
15115
+ processOutputStep: "processOutputStep";
15116
+ }>>;
15117
+ }, z.core.$strip>;
15118
+ }, z.core.$strip>], "type">>;
15119
+ rules: z.ZodOptional<z.ZodObject<{
15120
+ operator: z.ZodEnum<{
15121
+ AND: "AND";
15122
+ OR: "OR";
15123
+ }>;
15124
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15125
+ field: z.ZodString;
15126
+ operator: z.ZodEnum<{
15127
+ in: "in";
15128
+ equals: "equals";
15129
+ not_equals: "not_equals";
15130
+ contains: "contains";
15131
+ not_contains: "not_contains";
15132
+ greater_than: "greater_than";
15133
+ less_than: "less_than";
15134
+ greater_than_or_equal: "greater_than_or_equal";
15135
+ less_than_or_equal: "less_than_or_equal";
15136
+ not_in: "not_in";
15137
+ exists: "exists";
15138
+ not_exists: "not_exists";
15139
+ }>;
15140
+ value: z.ZodOptional<z.ZodUnknown>;
15141
+ }, z.core.$strip>, z.ZodObject<{
15142
+ operator: z.ZodEnum<{
15143
+ AND: "AND";
15144
+ OR: "OR";
15145
+ }>;
15146
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15147
+ field: z.ZodString;
15148
+ operator: z.ZodEnum<{
15149
+ in: "in";
15150
+ equals: "equals";
15151
+ not_equals: "not_equals";
15152
+ contains: "contains";
15153
+ not_contains: "not_contains";
15154
+ greater_than: "greater_than";
15155
+ less_than: "less_than";
15156
+ greater_than_or_equal: "greater_than_or_equal";
15157
+ less_than_or_equal: "less_than_or_equal";
15158
+ not_in: "not_in";
15159
+ exists: "exists";
15160
+ not_exists: "not_exists";
15161
+ }>;
15162
+ value: z.ZodOptional<z.ZodUnknown>;
15163
+ }, z.core.$strip>, z.ZodObject<{
15164
+ operator: z.ZodEnum<{
15165
+ AND: "AND";
15166
+ OR: "OR";
15167
+ }>;
15168
+ conditions: z.ZodArray<z.ZodObject<{
15169
+ field: z.ZodString;
15170
+ operator: z.ZodEnum<{
15171
+ in: "in";
15172
+ equals: "equals";
15173
+ not_equals: "not_equals";
15174
+ contains: "contains";
15175
+ not_contains: "not_contains";
15176
+ greater_than: "greater_than";
15177
+ less_than: "less_than";
15178
+ greater_than_or_equal: "greater_than_or_equal";
15179
+ less_than_or_equal: "less_than_or_equal";
15180
+ not_in: "not_in";
15181
+ exists: "exists";
15182
+ not_exists: "not_exists";
15183
+ }>;
15184
+ value: z.ZodOptional<z.ZodUnknown>;
15185
+ }, z.core.$strip>>;
15186
+ }, z.core.$strip>]>>;
15187
+ }, z.core.$strip>]>>;
15188
+ }, z.core.$strip>>;
15189
+ }, z.core.$strip>>;
15190
+ }, z.core.$strip>], "type">>>;
15191
+ }, z.core.$strip>, z.ZodObject<{
15192
+ type: z.ZodLiteral<"conditional">;
15193
+ conditions: z.ZodArray<z.ZodObject<{
15194
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15195
+ type: z.ZodLiteral<"step">;
15196
+ step: z.ZodObject<{
15197
+ id: z.ZodString;
15198
+ providerId: z.ZodString;
15199
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15200
+ enabledPhases: z.ZodArray<z.ZodEnum<{
15201
+ processInput: "processInput";
15202
+ processInputStep: "processInputStep";
15203
+ processOutputStream: "processOutputStream";
15204
+ processOutputResult: "processOutputResult";
15205
+ processOutputStep: "processOutputStep";
15206
+ }>>;
15207
+ }, z.core.$strip>;
15208
+ }, z.core.$strip>, z.ZodObject<{
15209
+ type: z.ZodLiteral<"parallel">;
15210
+ branches: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15211
+ type: z.ZodLiteral<"step">;
15212
+ step: z.ZodObject<{
15213
+ id: z.ZodString;
15214
+ providerId: z.ZodString;
15215
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15216
+ enabledPhases: z.ZodArray<z.ZodEnum<{
15217
+ processInput: "processInput";
15218
+ processInputStep: "processInputStep";
15219
+ processOutputStream: "processOutputStream";
15220
+ processOutputResult: "processOutputResult";
15221
+ processOutputStep: "processOutputStep";
15222
+ }>>;
15223
+ }, z.core.$strip>;
15224
+ }, z.core.$strip>], "type">>>;
15225
+ }, z.core.$strip>, z.ZodObject<{
15226
+ type: z.ZodLiteral<"conditional">;
15227
+ conditions: z.ZodArray<z.ZodObject<{
15228
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15229
+ type: z.ZodLiteral<"step">;
15230
+ step: z.ZodObject<{
15231
+ id: z.ZodString;
15232
+ providerId: z.ZodString;
15233
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15234
+ enabledPhases: z.ZodArray<z.ZodEnum<{
15235
+ processInput: "processInput";
15236
+ processInputStep: "processInputStep";
15237
+ processOutputStream: "processOutputStream";
15238
+ processOutputResult: "processOutputResult";
15239
+ processOutputStep: "processOutputStep";
15240
+ }>>;
15241
+ }, z.core.$strip>;
15242
+ }, z.core.$strip>], "type">>;
15243
+ rules: z.ZodOptional<z.ZodObject<{
15244
+ operator: z.ZodEnum<{
15245
+ AND: "AND";
15246
+ OR: "OR";
15247
+ }>;
15248
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15249
+ field: z.ZodString;
15250
+ operator: z.ZodEnum<{
15251
+ in: "in";
15252
+ equals: "equals";
15253
+ not_equals: "not_equals";
15254
+ contains: "contains";
15255
+ not_contains: "not_contains";
15256
+ greater_than: "greater_than";
15257
+ less_than: "less_than";
15258
+ greater_than_or_equal: "greater_than_or_equal";
15259
+ less_than_or_equal: "less_than_or_equal";
15260
+ not_in: "not_in";
15261
+ exists: "exists";
15262
+ not_exists: "not_exists";
15263
+ }>;
15264
+ value: z.ZodOptional<z.ZodUnknown>;
15265
+ }, z.core.$strip>, z.ZodObject<{
15266
+ operator: z.ZodEnum<{
15267
+ AND: "AND";
15268
+ OR: "OR";
15269
+ }>;
15270
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15271
+ field: z.ZodString;
15272
+ operator: z.ZodEnum<{
15273
+ in: "in";
15274
+ equals: "equals";
15275
+ not_equals: "not_equals";
15276
+ contains: "contains";
15277
+ not_contains: "not_contains";
15278
+ greater_than: "greater_than";
15279
+ less_than: "less_than";
15280
+ greater_than_or_equal: "greater_than_or_equal";
15281
+ less_than_or_equal: "less_than_or_equal";
15282
+ not_in: "not_in";
15283
+ exists: "exists";
15284
+ not_exists: "not_exists";
15285
+ }>;
15286
+ value: z.ZodOptional<z.ZodUnknown>;
15287
+ }, z.core.$strip>, z.ZodObject<{
15288
+ operator: z.ZodEnum<{
15289
+ AND: "AND";
15290
+ OR: "OR";
15291
+ }>;
15292
+ conditions: z.ZodArray<z.ZodObject<{
15293
+ field: z.ZodString;
15294
+ operator: z.ZodEnum<{
15295
+ in: "in";
15296
+ equals: "equals";
15297
+ not_equals: "not_equals";
15298
+ contains: "contains";
15299
+ not_contains: "not_contains";
15300
+ greater_than: "greater_than";
15301
+ less_than: "less_than";
15302
+ greater_than_or_equal: "greater_than_or_equal";
15303
+ less_than_or_equal: "less_than_or_equal";
15304
+ not_in: "not_in";
15305
+ exists: "exists";
15306
+ not_exists: "not_exists";
15307
+ }>;
15308
+ value: z.ZodOptional<z.ZodUnknown>;
15309
+ }, z.core.$strip>>;
15310
+ }, z.core.$strip>]>>;
15311
+ }, z.core.$strip>]>>;
15312
+ }, z.core.$strip>>;
15313
+ }, z.core.$strip>>;
15314
+ }, z.core.$strip>], "type">>;
15315
+ rules: z.ZodOptional<z.ZodObject<{
15316
+ operator: z.ZodEnum<{
15317
+ AND: "AND";
15318
+ OR: "OR";
15319
+ }>;
15320
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15321
+ field: z.ZodString;
15322
+ operator: z.ZodEnum<{
15323
+ in: "in";
15324
+ equals: "equals";
15325
+ not_equals: "not_equals";
15326
+ contains: "contains";
15327
+ not_contains: "not_contains";
15328
+ greater_than: "greater_than";
15329
+ less_than: "less_than";
15330
+ greater_than_or_equal: "greater_than_or_equal";
15331
+ less_than_or_equal: "less_than_or_equal";
15332
+ not_in: "not_in";
15333
+ exists: "exists";
15334
+ not_exists: "not_exists";
15335
+ }>;
15336
+ value: z.ZodOptional<z.ZodUnknown>;
15337
+ }, z.core.$strip>, z.ZodObject<{
15338
+ operator: z.ZodEnum<{
15339
+ AND: "AND";
15340
+ OR: "OR";
15341
+ }>;
15342
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15343
+ field: z.ZodString;
15344
+ operator: z.ZodEnum<{
15345
+ in: "in";
15346
+ equals: "equals";
15347
+ not_equals: "not_equals";
15348
+ contains: "contains";
15349
+ not_contains: "not_contains";
15350
+ greater_than: "greater_than";
15351
+ less_than: "less_than";
15352
+ greater_than_or_equal: "greater_than_or_equal";
15353
+ less_than_or_equal: "less_than_or_equal";
15354
+ not_in: "not_in";
15355
+ exists: "exists";
15356
+ not_exists: "not_exists";
15357
+ }>;
15358
+ value: z.ZodOptional<z.ZodUnknown>;
15359
+ }, z.core.$strip>, z.ZodObject<{
15360
+ operator: z.ZodEnum<{
15361
+ AND: "AND";
15362
+ OR: "OR";
15363
+ }>;
15364
+ conditions: z.ZodArray<z.ZodObject<{
15365
+ field: z.ZodString;
15366
+ operator: z.ZodEnum<{
15367
+ in: "in";
15368
+ equals: "equals";
15369
+ not_equals: "not_equals";
15370
+ contains: "contains";
15371
+ not_contains: "not_contains";
15372
+ greater_than: "greater_than";
15373
+ less_than: "less_than";
15374
+ greater_than_or_equal: "greater_than_or_equal";
15375
+ less_than_or_equal: "less_than_or_equal";
15376
+ not_in: "not_in";
15377
+ exists: "exists";
15378
+ not_exists: "not_exists";
15379
+ }>;
15380
+ value: z.ZodOptional<z.ZodUnknown>;
15381
+ }, z.core.$strip>>;
15382
+ }, z.core.$strip>]>>;
15383
+ }, z.core.$strip>]>>;
15384
+ }, z.core.$strip>>;
15385
+ }, z.core.$strip>>;
15386
+ }, z.core.$strip>], "type">>;
15387
+ }, z.core.$strip>;
15388
+ rules: z.ZodOptional<z.ZodObject<{
15389
+ operator: z.ZodEnum<{
15390
+ AND: "AND";
15391
+ OR: "OR";
15392
+ }>;
15393
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15394
+ field: z.ZodString;
15395
+ operator: z.ZodEnum<{
15396
+ in: "in";
15397
+ equals: "equals";
15398
+ not_equals: "not_equals";
15399
+ contains: "contains";
15400
+ not_contains: "not_contains";
15401
+ greater_than: "greater_than";
15402
+ less_than: "less_than";
15403
+ greater_than_or_equal: "greater_than_or_equal";
15404
+ less_than_or_equal: "less_than_or_equal";
15405
+ not_in: "not_in";
15406
+ exists: "exists";
15407
+ not_exists: "not_exists";
15408
+ }>;
15409
+ value: z.ZodOptional<z.ZodUnknown>;
15410
+ }, z.core.$strip>, z.ZodObject<{
15411
+ operator: z.ZodEnum<{
15412
+ AND: "AND";
15413
+ OR: "OR";
15414
+ }>;
15415
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15416
+ field: z.ZodString;
15417
+ operator: z.ZodEnum<{
15418
+ in: "in";
15419
+ equals: "equals";
15420
+ not_equals: "not_equals";
15421
+ contains: "contains";
15422
+ not_contains: "not_contains";
15423
+ greater_than: "greater_than";
15424
+ less_than: "less_than";
15425
+ greater_than_or_equal: "greater_than_or_equal";
15426
+ less_than_or_equal: "less_than_or_equal";
15427
+ not_in: "not_in";
15428
+ exists: "exists";
15429
+ not_exists: "not_exists";
15430
+ }>;
15431
+ value: z.ZodOptional<z.ZodUnknown>;
15432
+ }, z.core.$strip>, z.ZodObject<{
15433
+ operator: z.ZodEnum<{
15434
+ AND: "AND";
15435
+ OR: "OR";
15436
+ }>;
15437
+ conditions: z.ZodArray<z.ZodObject<{
15438
+ field: z.ZodString;
15439
+ operator: z.ZodEnum<{
15440
+ in: "in";
15441
+ equals: "equals";
15442
+ not_equals: "not_equals";
15443
+ contains: "contains";
15444
+ not_contains: "not_contains";
15445
+ greater_than: "greater_than";
15446
+ less_than: "less_than";
15447
+ greater_than_or_equal: "greater_than_or_equal";
15448
+ less_than_or_equal: "less_than_or_equal";
15449
+ not_in: "not_in";
15450
+ exists: "exists";
15451
+ not_exists: "not_exists";
15452
+ }>;
15453
+ value: z.ZodOptional<z.ZodUnknown>;
15454
+ }, z.core.$strip>>;
15455
+ }, z.core.$strip>]>>;
15456
+ }, z.core.$strip>]>>;
15457
+ }, z.core.$strip>>;
15458
+ }, z.core.$strip>>]>>>;
15459
+ scorers: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
15460
+ description: z.ZodOptional<z.ZodString>;
15461
+ sampling: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
15462
+ type: z.ZodLiteral<"none">;
15463
+ }, z.core.$strip>, z.ZodObject<{
15464
+ type: z.ZodLiteral<"ratio">;
15465
+ rate: z.ZodNumber;
15466
+ }, z.core.$strip>]>>;
15467
+ rules: z.ZodOptional<z.ZodObject<{
15468
+ operator: z.ZodEnum<{
15469
+ AND: "AND";
15470
+ OR: "OR";
15471
+ }>;
15472
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15473
+ field: z.ZodString;
15474
+ operator: z.ZodEnum<{
15475
+ in: "in";
15476
+ equals: "equals";
15477
+ not_equals: "not_equals";
15478
+ contains: "contains";
15479
+ not_contains: "not_contains";
15480
+ greater_than: "greater_than";
15481
+ less_than: "less_than";
15482
+ greater_than_or_equal: "greater_than_or_equal";
15483
+ less_than_or_equal: "less_than_or_equal";
15484
+ not_in: "not_in";
15485
+ exists: "exists";
15486
+ not_exists: "not_exists";
15487
+ }>;
15488
+ value: z.ZodOptional<z.ZodUnknown>;
15489
+ }, z.core.$strip>, z.ZodObject<{
15490
+ operator: z.ZodEnum<{
15491
+ AND: "AND";
15492
+ OR: "OR";
15493
+ }>;
15494
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15495
+ field: z.ZodString;
15496
+ operator: z.ZodEnum<{
15497
+ in: "in";
15498
+ equals: "equals";
15499
+ not_equals: "not_equals";
15500
+ contains: "contains";
15501
+ not_contains: "not_contains";
15502
+ greater_than: "greater_than";
15503
+ less_than: "less_than";
15504
+ greater_than_or_equal: "greater_than_or_equal";
15505
+ less_than_or_equal: "less_than_or_equal";
15506
+ not_in: "not_in";
15507
+ exists: "exists";
15508
+ not_exists: "not_exists";
15509
+ }>;
15510
+ value: z.ZodOptional<z.ZodUnknown>;
15511
+ }, z.core.$strip>, z.ZodObject<{
15512
+ operator: z.ZodEnum<{
15513
+ AND: "AND";
15514
+ OR: "OR";
15515
+ }>;
15516
+ conditions: z.ZodArray<z.ZodObject<{
15517
+ field: z.ZodString;
15518
+ operator: z.ZodEnum<{
15519
+ in: "in";
15520
+ equals: "equals";
15521
+ not_equals: "not_equals";
15522
+ contains: "contains";
15523
+ not_contains: "not_contains";
15524
+ greater_than: "greater_than";
15525
+ less_than: "less_than";
15526
+ greater_than_or_equal: "greater_than_or_equal";
15527
+ less_than_or_equal: "less_than_or_equal";
15528
+ not_in: "not_in";
15529
+ exists: "exists";
15530
+ not_exists: "not_exists";
15531
+ }>;
15532
+ value: z.ZodOptional<z.ZodUnknown>;
15533
+ }, z.core.$strip>>;
15534
+ }, z.core.$strip>]>>;
15535
+ }, z.core.$strip>]>>;
15536
+ }, z.core.$strip>>;
15537
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
15538
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
15539
+ description: z.ZodOptional<z.ZodString>;
15540
+ sampling: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
15541
+ type: z.ZodLiteral<"none">;
15542
+ }, z.core.$strip>, z.ZodObject<{
15543
+ type: z.ZodLiteral<"ratio">;
15544
+ rate: z.ZodNumber;
15545
+ }, z.core.$strip>]>>;
15546
+ rules: z.ZodOptional<z.ZodObject<{
15547
+ operator: z.ZodEnum<{
15548
+ AND: "AND";
15549
+ OR: "OR";
15550
+ }>;
15551
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15552
+ field: z.ZodString;
15553
+ operator: z.ZodEnum<{
15554
+ in: "in";
15555
+ equals: "equals";
15556
+ not_equals: "not_equals";
15557
+ contains: "contains";
15558
+ not_contains: "not_contains";
15559
+ greater_than: "greater_than";
15560
+ less_than: "less_than";
15561
+ greater_than_or_equal: "greater_than_or_equal";
15562
+ less_than_or_equal: "less_than_or_equal";
15563
+ not_in: "not_in";
15564
+ exists: "exists";
15565
+ not_exists: "not_exists";
15566
+ }>;
15567
+ value: z.ZodOptional<z.ZodUnknown>;
15568
+ }, z.core.$strip>, z.ZodObject<{
15569
+ operator: z.ZodEnum<{
15570
+ AND: "AND";
15571
+ OR: "OR";
15572
+ }>;
15573
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15574
+ field: z.ZodString;
15575
+ operator: z.ZodEnum<{
15576
+ in: "in";
15577
+ equals: "equals";
15578
+ not_equals: "not_equals";
15579
+ contains: "contains";
15580
+ not_contains: "not_contains";
15581
+ greater_than: "greater_than";
15582
+ less_than: "less_than";
15583
+ greater_than_or_equal: "greater_than_or_equal";
15584
+ less_than_or_equal: "less_than_or_equal";
15585
+ not_in: "not_in";
15586
+ exists: "exists";
15587
+ not_exists: "not_exists";
15588
+ }>;
15589
+ value: z.ZodOptional<z.ZodUnknown>;
15590
+ }, z.core.$strip>, z.ZodObject<{
15591
+ operator: z.ZodEnum<{
15592
+ AND: "AND";
15593
+ OR: "OR";
15594
+ }>;
15595
+ conditions: z.ZodArray<z.ZodObject<{
15596
+ field: z.ZodString;
15597
+ operator: z.ZodEnum<{
15598
+ in: "in";
15599
+ equals: "equals";
15600
+ not_equals: "not_equals";
15601
+ contains: "contains";
15602
+ not_contains: "not_contains";
15603
+ greater_than: "greater_than";
15604
+ less_than: "less_than";
15605
+ greater_than_or_equal: "greater_than_or_equal";
15606
+ less_than_or_equal: "less_than_or_equal";
15607
+ not_in: "not_in";
15608
+ exists: "exists";
15609
+ not_exists: "not_exists";
15610
+ }>;
15611
+ value: z.ZodOptional<z.ZodUnknown>;
15612
+ }, z.core.$strip>>;
15613
+ }, z.core.$strip>]>>;
15614
+ }, z.core.$strip>]>>;
15615
+ }, z.core.$strip>>;
15616
+ }, z.core.$strip>>;
15617
+ rules: z.ZodOptional<z.ZodObject<{
15618
+ operator: z.ZodEnum<{
15619
+ AND: "AND";
15620
+ OR: "OR";
15621
+ }>;
15622
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15623
+ field: z.ZodString;
15624
+ operator: z.ZodEnum<{
15625
+ in: "in";
15626
+ equals: "equals";
15627
+ not_equals: "not_equals";
15628
+ contains: "contains";
15629
+ not_contains: "not_contains";
15630
+ greater_than: "greater_than";
15631
+ less_than: "less_than";
15632
+ greater_than_or_equal: "greater_than_or_equal";
15633
+ less_than_or_equal: "less_than_or_equal";
15634
+ not_in: "not_in";
15635
+ exists: "exists";
15636
+ not_exists: "not_exists";
15637
+ }>;
15638
+ value: z.ZodOptional<z.ZodUnknown>;
15639
+ }, z.core.$strip>, z.ZodObject<{
15640
+ operator: z.ZodEnum<{
15641
+ AND: "AND";
15642
+ OR: "OR";
15643
+ }>;
15644
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15645
+ field: z.ZodString;
15646
+ operator: z.ZodEnum<{
15647
+ in: "in";
15648
+ equals: "equals";
15649
+ not_equals: "not_equals";
15650
+ contains: "contains";
15651
+ not_contains: "not_contains";
15652
+ greater_than: "greater_than";
15653
+ less_than: "less_than";
15654
+ greater_than_or_equal: "greater_than_or_equal";
15655
+ less_than_or_equal: "less_than_or_equal";
15656
+ not_in: "not_in";
15657
+ exists: "exists";
15658
+ not_exists: "not_exists";
15659
+ }>;
15660
+ value: z.ZodOptional<z.ZodUnknown>;
15661
+ }, z.core.$strip>, z.ZodObject<{
15662
+ operator: z.ZodEnum<{
15663
+ AND: "AND";
15664
+ OR: "OR";
15665
+ }>;
15666
+ conditions: z.ZodArray<z.ZodObject<{
15667
+ field: z.ZodString;
15668
+ operator: z.ZodEnum<{
15669
+ in: "in";
15670
+ equals: "equals";
15671
+ not_equals: "not_equals";
15672
+ contains: "contains";
15673
+ not_contains: "not_contains";
15674
+ greater_than: "greater_than";
15675
+ less_than: "less_than";
15676
+ greater_than_or_equal: "greater_than_or_equal";
15677
+ less_than_or_equal: "less_than_or_equal";
15678
+ not_in: "not_in";
15679
+ exists: "exists";
15680
+ not_exists: "not_exists";
15681
+ }>;
15682
+ value: z.ZodOptional<z.ZodUnknown>;
15683
+ }, z.core.$strip>>;
15684
+ }, z.core.$strip>]>>;
15685
+ }, z.core.$strip>]>>;
15686
+ }, z.core.$strip>>;
15687
+ }, z.core.$strip>>]>>>;
15688
+ skills: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
15689
+ description: z.ZodOptional<z.ZodString>;
15690
+ instructions: z.ZodOptional<z.ZodString>;
15691
+ pin: z.ZodOptional<z.ZodString>;
15692
+ strategy: z.ZodOptional<z.ZodEnum<{
15693
+ latest: "latest";
15694
+ live: "live";
15695
+ }>>;
15696
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
15697
+ value: z.ZodRecord<z.ZodString, z.ZodObject<{
15698
+ description: z.ZodOptional<z.ZodString>;
15699
+ instructions: z.ZodOptional<z.ZodString>;
15700
+ pin: z.ZodOptional<z.ZodString>;
15701
+ strategy: z.ZodOptional<z.ZodEnum<{
15702
+ latest: "latest";
15703
+ live: "live";
15704
+ }>>;
15705
+ }, z.core.$strip>>;
15706
+ rules: z.ZodOptional<z.ZodObject<{
15707
+ operator: z.ZodEnum<{
15708
+ AND: "AND";
15709
+ OR: "OR";
15710
+ }>;
15711
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15712
+ field: z.ZodString;
15713
+ operator: z.ZodEnum<{
15714
+ in: "in";
15715
+ equals: "equals";
15716
+ not_equals: "not_equals";
15717
+ contains: "contains";
15718
+ not_contains: "not_contains";
15719
+ greater_than: "greater_than";
15720
+ less_than: "less_than";
15721
+ greater_than_or_equal: "greater_than_or_equal";
15722
+ less_than_or_equal: "less_than_or_equal";
15723
+ not_in: "not_in";
15724
+ exists: "exists";
15725
+ not_exists: "not_exists";
15726
+ }>;
15727
+ value: z.ZodOptional<z.ZodUnknown>;
15728
+ }, z.core.$strip>, z.ZodObject<{
15729
+ operator: z.ZodEnum<{
15730
+ AND: "AND";
15731
+ OR: "OR";
15732
+ }>;
15733
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15734
+ field: z.ZodString;
15735
+ operator: z.ZodEnum<{
15736
+ in: "in";
15737
+ equals: "equals";
15738
+ not_equals: "not_equals";
15739
+ contains: "contains";
15740
+ not_contains: "not_contains";
15741
+ greater_than: "greater_than";
15742
+ less_than: "less_than";
15743
+ greater_than_or_equal: "greater_than_or_equal";
15744
+ less_than_or_equal: "less_than_or_equal";
15745
+ not_in: "not_in";
15746
+ exists: "exists";
15747
+ not_exists: "not_exists";
15748
+ }>;
15749
+ value: z.ZodOptional<z.ZodUnknown>;
15750
+ }, z.core.$strip>, z.ZodObject<{
15751
+ operator: z.ZodEnum<{
15752
+ AND: "AND";
15753
+ OR: "OR";
15754
+ }>;
15755
+ conditions: z.ZodArray<z.ZodObject<{
15756
+ field: z.ZodString;
15757
+ operator: z.ZodEnum<{
15758
+ in: "in";
15759
+ equals: "equals";
15760
+ not_equals: "not_equals";
15761
+ contains: "contains";
15762
+ not_contains: "not_contains";
15763
+ greater_than: "greater_than";
15764
+ less_than: "less_than";
15765
+ greater_than_or_equal: "greater_than_or_equal";
15766
+ less_than_or_equal: "less_than_or_equal";
15767
+ not_in: "not_in";
15768
+ exists: "exists";
15769
+ not_exists: "not_exists";
15770
+ }>;
15771
+ value: z.ZodOptional<z.ZodUnknown>;
15772
+ }, z.core.$strip>>;
15773
+ }, z.core.$strip>]>>;
15774
+ }, z.core.$strip>]>>;
15775
+ }, z.core.$strip>>;
15776
+ }, z.core.$strip>>]>>>;
15777
+ workspace: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
15778
+ type: z.ZodLiteral<"id">;
15779
+ workspaceId: z.ZodString;
15780
+ }, z.core.$strip>, z.ZodObject<{
15781
+ type: z.ZodLiteral<"inline">;
15782
+ config: z.ZodObject<{
15783
+ name: z.ZodString;
15784
+ description: z.ZodOptional<z.ZodString>;
15785
+ filesystem: z.ZodOptional<z.ZodObject<{
15786
+ provider: z.ZodString;
15787
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15788
+ }, z.core.$strip>>;
15789
+ sandbox: z.ZodOptional<z.ZodObject<{
15790
+ provider: z.ZodString;
15791
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15792
+ }, z.core.$strip>>;
15793
+ mounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
15794
+ provider: z.ZodString;
15795
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15796
+ }, z.core.$strip>>>;
15797
+ search: z.ZodOptional<z.ZodObject<{
15798
+ vectorProvider: z.ZodOptional<z.ZodString>;
15799
+ vectorConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15800
+ embedderProvider: z.ZodOptional<z.ZodString>;
15801
+ embedderModel: z.ZodOptional<z.ZodString>;
15802
+ embedderConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15803
+ bm25: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
15804
+ k1: z.ZodOptional<z.ZodNumber>;
15805
+ b: z.ZodOptional<z.ZodNumber>;
15806
+ }, z.core.$strip>]>>;
15807
+ searchIndexName: z.ZodOptional<z.ZodString>;
15808
+ autoIndexPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
15809
+ }, z.core.$strip>>;
15810
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
15811
+ tools: z.ZodOptional<z.ZodObject<{
15812
+ enabled: z.ZodOptional<z.ZodBoolean>;
15813
+ requireApproval: z.ZodOptional<z.ZodBoolean>;
15814
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
15815
+ enabled: z.ZodOptional<z.ZodBoolean>;
15816
+ requireApproval: z.ZodOptional<z.ZodBoolean>;
15817
+ requireReadBeforeWrite: z.ZodOptional<z.ZodBoolean>;
15818
+ }, z.core.$strip>>>;
15819
+ }, z.core.$strip>>;
15820
+ autoSync: z.ZodOptional<z.ZodBoolean>;
15821
+ operationTimeout: z.ZodOptional<z.ZodNumber>;
15822
+ }, z.core.$strip>;
15823
+ }, z.core.$strip>], "type">, z.ZodArray<z.ZodObject<{
15824
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
15825
+ type: z.ZodLiteral<"id">;
15826
+ workspaceId: z.ZodString;
15827
+ }, z.core.$strip>, z.ZodObject<{
15828
+ type: z.ZodLiteral<"inline">;
15829
+ config: z.ZodObject<{
15830
+ name: z.ZodString;
15831
+ description: z.ZodOptional<z.ZodString>;
15832
+ filesystem: z.ZodOptional<z.ZodObject<{
15833
+ provider: z.ZodString;
15834
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15835
+ }, z.core.$strip>>;
15836
+ sandbox: z.ZodOptional<z.ZodObject<{
15837
+ provider: z.ZodString;
15838
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15839
+ }, z.core.$strip>>;
15840
+ mounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
15841
+ provider: z.ZodString;
15842
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15843
+ }, z.core.$strip>>>;
15844
+ search: z.ZodOptional<z.ZodObject<{
15845
+ vectorProvider: z.ZodOptional<z.ZodString>;
15846
+ vectorConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15847
+ embedderProvider: z.ZodOptional<z.ZodString>;
15848
+ embedderModel: z.ZodOptional<z.ZodString>;
15849
+ embedderConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15850
+ bm25: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
15851
+ k1: z.ZodOptional<z.ZodNumber>;
15852
+ b: z.ZodOptional<z.ZodNumber>;
15853
+ }, z.core.$strip>]>>;
15854
+ searchIndexName: z.ZodOptional<z.ZodString>;
15855
+ autoIndexPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
15856
+ }, z.core.$strip>>;
15857
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
15858
+ tools: z.ZodOptional<z.ZodObject<{
15859
+ enabled: z.ZodOptional<z.ZodBoolean>;
15860
+ requireApproval: z.ZodOptional<z.ZodBoolean>;
15861
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
15862
+ enabled: z.ZodOptional<z.ZodBoolean>;
15863
+ requireApproval: z.ZodOptional<z.ZodBoolean>;
15864
+ requireReadBeforeWrite: z.ZodOptional<z.ZodBoolean>;
15865
+ }, z.core.$strip>>>;
15866
+ }, z.core.$strip>>;
15867
+ autoSync: z.ZodOptional<z.ZodBoolean>;
15868
+ operationTimeout: z.ZodOptional<z.ZodNumber>;
15869
+ }, z.core.$strip>;
15870
+ }, z.core.$strip>], "type">;
15871
+ rules: z.ZodOptional<z.ZodObject<{
15872
+ operator: z.ZodEnum<{
15873
+ AND: "AND";
15874
+ OR: "OR";
15875
+ }>;
15876
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15877
+ field: z.ZodString;
15878
+ operator: z.ZodEnum<{
15879
+ in: "in";
15880
+ equals: "equals";
15881
+ not_equals: "not_equals";
15882
+ contains: "contains";
15883
+ not_contains: "not_contains";
15884
+ greater_than: "greater_than";
15885
+ less_than: "less_than";
15886
+ greater_than_or_equal: "greater_than_or_equal";
15887
+ less_than_or_equal: "less_than_or_equal";
15888
+ not_in: "not_in";
15889
+ exists: "exists";
15890
+ not_exists: "not_exists";
15891
+ }>;
15892
+ value: z.ZodOptional<z.ZodUnknown>;
15893
+ }, z.core.$strip>, z.ZodObject<{
15894
+ operator: z.ZodEnum<{
15895
+ AND: "AND";
15896
+ OR: "OR";
15897
+ }>;
15898
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15899
+ field: z.ZodString;
15900
+ operator: z.ZodEnum<{
15901
+ in: "in";
15902
+ equals: "equals";
15903
+ not_equals: "not_equals";
15904
+ contains: "contains";
15905
+ not_contains: "not_contains";
15906
+ greater_than: "greater_than";
15907
+ less_than: "less_than";
15908
+ greater_than_or_equal: "greater_than_or_equal";
15909
+ less_than_or_equal: "less_than_or_equal";
15910
+ not_in: "not_in";
15911
+ exists: "exists";
15912
+ not_exists: "not_exists";
15913
+ }>;
15914
+ value: z.ZodOptional<z.ZodUnknown>;
15915
+ }, z.core.$strip>, z.ZodObject<{
15916
+ operator: z.ZodEnum<{
15917
+ AND: "AND";
15918
+ OR: "OR";
15919
+ }>;
15920
+ conditions: z.ZodArray<z.ZodObject<{
15921
+ field: z.ZodString;
15922
+ operator: z.ZodEnum<{
15923
+ in: "in";
15924
+ equals: "equals";
15925
+ not_equals: "not_equals";
15926
+ contains: "contains";
15927
+ not_contains: "not_contains";
15928
+ greater_than: "greater_than";
15929
+ less_than: "less_than";
15930
+ greater_than_or_equal: "greater_than_or_equal";
15931
+ less_than_or_equal: "less_than_or_equal";
15932
+ not_in: "not_in";
15933
+ exists: "exists";
15934
+ not_exists: "not_exists";
15935
+ }>;
15936
+ value: z.ZodOptional<z.ZodUnknown>;
15937
+ }, z.core.$strip>>;
15938
+ }, z.core.$strip>]>>;
15939
+ }, z.core.$strip>]>>;
15940
+ }, z.core.$strip>>;
15941
+ }, z.core.$strip>>]>>>;
15942
+ browser: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
15943
+ type: z.ZodLiteral<"inline">;
15944
+ config: z.ZodObject<{
15945
+ provider: z.ZodString;
15946
+ headless: z.ZodOptional<z.ZodBoolean>;
15947
+ viewport: z.ZodOptional<z.ZodObject<{
15948
+ width: z.ZodNumber;
15949
+ height: z.ZodNumber;
15950
+ }, z.core.$strip>>;
15951
+ timeout: z.ZodOptional<z.ZodNumber>;
15952
+ screencast: z.ZodOptional<z.ZodObject<{
15953
+ format: z.ZodOptional<z.ZodEnum<{
15954
+ jpeg: "jpeg";
15955
+ png: "png";
15956
+ }>>;
15957
+ quality: z.ZodOptional<z.ZodNumber>;
15958
+ maxWidth: z.ZodOptional<z.ZodNumber>;
15959
+ maxHeight: z.ZodOptional<z.ZodNumber>;
15960
+ everyNthFrame: z.ZodOptional<z.ZodNumber>;
15961
+ }, z.core.$strip>>;
15962
+ }, z.core.$strip>;
15963
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
15964
+ value: z.ZodObject<{
15965
+ type: z.ZodLiteral<"inline">;
15966
+ config: z.ZodObject<{
15967
+ provider: z.ZodString;
15968
+ headless: z.ZodOptional<z.ZodBoolean>;
15969
+ viewport: z.ZodOptional<z.ZodObject<{
15970
+ width: z.ZodNumber;
15971
+ height: z.ZodNumber;
15972
+ }, z.core.$strip>>;
15973
+ timeout: z.ZodOptional<z.ZodNumber>;
15974
+ screencast: z.ZodOptional<z.ZodObject<{
15975
+ format: z.ZodOptional<z.ZodEnum<{
15976
+ jpeg: "jpeg";
15977
+ png: "png";
15978
+ }>>;
15979
+ quality: z.ZodOptional<z.ZodNumber>;
15980
+ maxWidth: z.ZodOptional<z.ZodNumber>;
15981
+ maxHeight: z.ZodOptional<z.ZodNumber>;
15982
+ everyNthFrame: z.ZodOptional<z.ZodNumber>;
15983
+ }, z.core.$strip>>;
15984
+ }, z.core.$strip>;
15985
+ }, z.core.$strip>;
15986
+ rules: z.ZodOptional<z.ZodObject<{
15987
+ operator: z.ZodEnum<{
15988
+ AND: "AND";
15989
+ OR: "OR";
15990
+ }>;
15991
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15992
+ field: z.ZodString;
15993
+ operator: z.ZodEnum<{
15994
+ in: "in";
15995
+ equals: "equals";
15996
+ not_equals: "not_equals";
15997
+ contains: "contains";
15998
+ not_contains: "not_contains";
15999
+ greater_than: "greater_than";
16000
+ less_than: "less_than";
16001
+ greater_than_or_equal: "greater_than_or_equal";
16002
+ less_than_or_equal: "less_than_or_equal";
16003
+ not_in: "not_in";
16004
+ exists: "exists";
16005
+ not_exists: "not_exists";
16006
+ }>;
16007
+ value: z.ZodOptional<z.ZodUnknown>;
16008
+ }, z.core.$strip>, z.ZodObject<{
16009
+ operator: z.ZodEnum<{
16010
+ AND: "AND";
16011
+ OR: "OR";
16012
+ }>;
16013
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16014
+ field: z.ZodString;
16015
+ operator: z.ZodEnum<{
16016
+ in: "in";
16017
+ equals: "equals";
16018
+ not_equals: "not_equals";
16019
+ contains: "contains";
16020
+ not_contains: "not_contains";
16021
+ greater_than: "greater_than";
16022
+ less_than: "less_than";
16023
+ greater_than_or_equal: "greater_than_or_equal";
16024
+ less_than_or_equal: "less_than_or_equal";
16025
+ not_in: "not_in";
16026
+ exists: "exists";
16027
+ not_exists: "not_exists";
16028
+ }>;
16029
+ value: z.ZodOptional<z.ZodUnknown>;
16030
+ }, z.core.$strip>, z.ZodObject<{
16031
+ operator: z.ZodEnum<{
16032
+ AND: "AND";
16033
+ OR: "OR";
16034
+ }>;
16035
+ conditions: z.ZodArray<z.ZodObject<{
16036
+ field: z.ZodString;
16037
+ operator: z.ZodEnum<{
16038
+ in: "in";
16039
+ equals: "equals";
16040
+ not_equals: "not_equals";
16041
+ contains: "contains";
16042
+ not_contains: "not_contains";
16043
+ greater_than: "greater_than";
16044
+ less_than: "less_than";
16045
+ greater_than_or_equal: "greater_than_or_equal";
16046
+ less_than_or_equal: "less_than_or_equal";
16047
+ not_in: "not_in";
16048
+ exists: "exists";
16049
+ not_exists: "not_exists";
16050
+ }>;
16051
+ value: z.ZodOptional<z.ZodUnknown>;
16052
+ }, z.core.$strip>>;
16053
+ }, z.core.$strip>]>>;
16054
+ }, z.core.$strip>]>>;
16055
+ }, z.core.$strip>>;
16056
+ }, z.core.$strip>>]>, z.ZodBoolean, z.ZodNull]>>>;
16057
+ requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16058
+ memory: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
16059
+ vector: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
16060
+ options: z.ZodOptional<z.ZodObject<{
16061
+ readOnly: z.ZodOptional<z.ZodBoolean>;
16062
+ lastMessages: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>>;
16063
+ semanticRecall: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
16064
+ topK: z.ZodNumber;
16065
+ messageRange: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
16066
+ before: z.ZodNumber;
16067
+ after: z.ZodNumber;
16068
+ }, z.core.$strip>]>;
16069
+ scope: z.ZodOptional<z.ZodEnum<{
16070
+ thread: "thread";
16071
+ resource: "resource";
16072
+ }>>;
16073
+ threshold: z.ZodOptional<z.ZodNumber>;
16074
+ indexName: z.ZodOptional<z.ZodString>;
16075
+ }, z.core.$strip>]>>;
16076
+ generateTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
16077
+ model: z.ZodString;
16078
+ instructions: z.ZodOptional<z.ZodString>;
16079
+ }, z.core.$strip>]>>;
16080
+ }, z.core.$strip>>;
16081
+ embedder: z.ZodOptional<z.ZodString>;
16082
+ embedderOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16083
+ observationalMemory: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
16084
+ model: z.ZodOptional<z.ZodString>;
16085
+ scope: z.ZodOptional<z.ZodEnum<{
16086
+ thread: "thread";
16087
+ resource: "resource";
16088
+ }>>;
16089
+ shareTokenBudget: z.ZodOptional<z.ZodBoolean>;
16090
+ observation: z.ZodOptional<z.ZodObject<{
16091
+ model: z.ZodOptional<z.ZodString>;
16092
+ messageTokens: z.ZodOptional<z.ZodNumber>;
16093
+ modelSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16094
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16095
+ maxTokensPerBatch: z.ZodOptional<z.ZodNumber>;
16096
+ bufferTokens: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>>;
16097
+ bufferActivation: z.ZodOptional<z.ZodNumber>;
16098
+ blockAfter: z.ZodOptional<z.ZodNumber>;
16099
+ }, z.core.$strip>>;
16100
+ reflection: z.ZodOptional<z.ZodObject<{
16101
+ model: z.ZodOptional<z.ZodString>;
16102
+ observationTokens: z.ZodOptional<z.ZodNumber>;
16103
+ modelSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16104
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16105
+ blockAfter: z.ZodOptional<z.ZodNumber>;
16106
+ bufferActivation: z.ZodOptional<z.ZodNumber>;
16107
+ }, z.core.$strip>>;
16108
+ }, z.core.$strip>]>>;
16109
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
16110
+ value: z.ZodObject<{
16111
+ vector: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
16112
+ options: z.ZodOptional<z.ZodObject<{
16113
+ readOnly: z.ZodOptional<z.ZodBoolean>;
16114
+ lastMessages: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>>;
16115
+ semanticRecall: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
16116
+ topK: z.ZodNumber;
16117
+ messageRange: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
16118
+ before: z.ZodNumber;
16119
+ after: z.ZodNumber;
16120
+ }, z.core.$strip>]>;
16121
+ scope: z.ZodOptional<z.ZodEnum<{
16122
+ thread: "thread";
16123
+ resource: "resource";
16124
+ }>>;
16125
+ threshold: z.ZodOptional<z.ZodNumber>;
16126
+ indexName: z.ZodOptional<z.ZodString>;
16127
+ }, z.core.$strip>]>>;
16128
+ generateTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
16129
+ model: z.ZodString;
16130
+ instructions: z.ZodOptional<z.ZodString>;
16131
+ }, z.core.$strip>]>>;
16132
+ }, z.core.$strip>>;
16133
+ embedder: z.ZodOptional<z.ZodString>;
16134
+ embedderOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16135
+ observationalMemory: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
16136
+ model: z.ZodOptional<z.ZodString>;
16137
+ scope: z.ZodOptional<z.ZodEnum<{
16138
+ thread: "thread";
16139
+ resource: "resource";
16140
+ }>>;
16141
+ shareTokenBudget: z.ZodOptional<z.ZodBoolean>;
16142
+ observation: z.ZodOptional<z.ZodObject<{
16143
+ model: z.ZodOptional<z.ZodString>;
16144
+ messageTokens: z.ZodOptional<z.ZodNumber>;
16145
+ modelSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16146
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16147
+ maxTokensPerBatch: z.ZodOptional<z.ZodNumber>;
16148
+ bufferTokens: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>>;
16149
+ bufferActivation: z.ZodOptional<z.ZodNumber>;
16150
+ blockAfter: z.ZodOptional<z.ZodNumber>;
16151
+ }, z.core.$strip>>;
16152
+ reflection: z.ZodOptional<z.ZodObject<{
16153
+ model: z.ZodOptional<z.ZodString>;
16154
+ observationTokens: z.ZodOptional<z.ZodNumber>;
16155
+ modelSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16156
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16157
+ blockAfter: z.ZodOptional<z.ZodNumber>;
16158
+ bufferActivation: z.ZodOptional<z.ZodNumber>;
16159
+ }, z.core.$strip>>;
16160
+ }, z.core.$strip>]>>;
16161
+ }, z.core.$strip>;
16162
+ rules: z.ZodOptional<z.ZodObject<{
16163
+ operator: z.ZodEnum<{
16164
+ AND: "AND";
16165
+ OR: "OR";
16166
+ }>;
16167
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16168
+ field: z.ZodString;
16169
+ operator: z.ZodEnum<{
16170
+ in: "in";
16171
+ equals: "equals";
16172
+ not_equals: "not_equals";
16173
+ contains: "contains";
16174
+ not_contains: "not_contains";
16175
+ greater_than: "greater_than";
16176
+ less_than: "less_than";
16177
+ greater_than_or_equal: "greater_than_or_equal";
16178
+ less_than_or_equal: "less_than_or_equal";
16179
+ not_in: "not_in";
16180
+ exists: "exists";
16181
+ not_exists: "not_exists";
16182
+ }>;
16183
+ value: z.ZodOptional<z.ZodUnknown>;
16184
+ }, z.core.$strip>, z.ZodObject<{
16185
+ operator: z.ZodEnum<{
16186
+ AND: "AND";
16187
+ OR: "OR";
16188
+ }>;
16189
+ conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16190
+ field: z.ZodString;
16191
+ operator: z.ZodEnum<{
16192
+ in: "in";
16193
+ equals: "equals";
16194
+ not_equals: "not_equals";
16195
+ contains: "contains";
16196
+ not_contains: "not_contains";
16197
+ greater_than: "greater_than";
16198
+ less_than: "less_than";
16199
+ greater_than_or_equal: "greater_than_or_equal";
16200
+ less_than_or_equal: "less_than_or_equal";
16201
+ not_in: "not_in";
16202
+ exists: "exists";
16203
+ not_exists: "not_exists";
16204
+ }>;
16205
+ value: z.ZodOptional<z.ZodUnknown>;
16206
+ }, z.core.$strip>, z.ZodObject<{
16207
+ operator: z.ZodEnum<{
16208
+ AND: "AND";
16209
+ OR: "OR";
16210
+ }>;
16211
+ conditions: z.ZodArray<z.ZodObject<{
16212
+ field: z.ZodString;
16213
+ operator: z.ZodEnum<{
16214
+ in: "in";
16215
+ equals: "equals";
16216
+ not_equals: "not_equals";
16217
+ contains: "contains";
16218
+ not_contains: "not_contains";
16219
+ greater_than: "greater_than";
16220
+ less_than: "less_than";
16221
+ greater_than_or_equal: "greater_than_or_equal";
16222
+ less_than_or_equal: "less_than_or_equal";
16223
+ not_in: "not_in";
16224
+ exists: "exists";
16225
+ not_exists: "not_exists";
16226
+ }>;
16227
+ value: z.ZodOptional<z.ZodUnknown>;
16228
+ }, z.core.$strip>>;
16229
+ }, z.core.$strip>]>>;
16230
+ }, z.core.$strip>]>>;
16231
+ }, z.core.$strip>>;
16232
+ }, z.core.$strip>>]>, z.ZodNull]>>>;
16233
+ }, z.core.$strip>;
12472
16234
  /**
12473
16235
  * Stored agent object schema (resolved response: thin record + version config)
12474
16236
  * Represents StorageResolvedAgentType
@@ -31391,6 +35153,12 @@ export declare const deleteStoredAgentResponseSchema: z.ZodObject<{
31391
35153
  success: z.ZodBoolean;
31392
35154
  message: z.ZodString;
31393
35155
  }, z.core.$strip>;
35156
+ export declare const exportStoredAgentResponseSchema: z.ZodObject<{
35157
+ agentId: z.ZodString;
35158
+ fileName: z.ZodString;
35159
+ content: z.ZodString;
35160
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
35161
+ }, z.core.$strip>;
31394
35162
  /**
31395
35163
  * POST /stored/agents/preview-instructions - Preview resolved instructions
31396
35164
  */