@uipath/flow-tool 1.206.0-preview.301 → 1.207.0-preview.305

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 (254) hide show
  1. package/README.md +2 -1
  2. package/dist/THIRD-PARTY-NOTICES.md +10 -10
  3. package/dist/{applicationinsights-web-8m26566f.js → applicationinsights-web-c6epsatg.js} +1 -1
  4. package/dist/{authoring-az69rn0j.js → authoring-f5ttjy3d.js} +5 -5
  5. package/dist/{binding-service-cp1mj80n.js → binding-service-qfbtg6qy.js} +37 -34
  6. package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
  7. package/dist/case-catalog-h4fjn6q3.js +304 -0
  8. package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
  9. package/dist/{connector-service-40wy8yrq.js → connector-service-8t5swsf9.js} +156 -76
  10. package/dist/{conversion-7O2PDOQB-gk051hmr.js → conversion-A2KZVSOA-s70m4p50.js} +256 -90
  11. package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
  12. package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-4f0r23sx.js} +1282 -10
  13. package/dist/{de-2BEKRUMY-MD7L477H-21ytyk41.js → de-HF4GJ4EK-xrrajtht.js} +1277 -15
  14. package/dist/{de-VQWT6L5Y-mch4qwyv.js → de-IQ44WEAK-ayb953tp.js} +19 -4
  15. package/dist/{de-3CU65EDB-r7r10am9.js → de-T4OCQPNU-hrqdjart.js} +6 -6
  16. package/dist/{debug-conversation-trigger-62ebex43.js → debug-conversation-trigger-j20ms2xc.js} +4 -9
  17. package/dist/{debug-http-client-ykzhg1zx.js → debug-http-client-fypqjmfs.js} +6 -5
  18. package/dist/{debug-service-xq8vhrkq.js → debug-service-zv5hj0cx.js} +11 -6
  19. package/dist/{edge-service-y9zbshpm.js → edge-service-706zfmyb.js} +41 -31
  20. package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
  21. package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
  22. package/dist/{en-X6T4SP2Y-FPGCJIFV-nxx09kc3.js → en-ETY46SDS-RI6EZCN6-g3n0v4ff.js} +67 -3
  23. package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
  24. package/dist/{en-WPCQ4JKF-5ep5egek.js → en-JZXY3PYE-9q1q9w7h.js} +4 -4
  25. package/dist/{en-LQHKFSEY-sb41hszq.js → en-LQHKFSEY-j7gk3aaw.js} +1 -1
  26. package/dist/{en-U2NSIIZN-whenw6wh.js → en-T6VSEF3E-1hq4zfrt.js} +5 -3
  27. package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
  28. package/dist/{es-7ZTQTGKN-TXQBFYRA-5xa3wrpt.js → es-IYP2OLUY-7SKYGF6A-jp5kcwrd.js} +1272 -11
  29. package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
  30. package/dist/{es-MX-S2RFDGDE-x9r0tv30.js → es-MX-A2DFN7CA-q5m62f60.js} +19 -4
  31. package/dist/{es-MX-IHGRIEWH-23X37OPS-3c1tv7qa.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
  32. package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-1r3g7760.js} +1281 -10
  33. package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
  34. package/dist/{es-MX-F7ZEHSNE-gxpm47vv.js → es-MX-YQNHSXDT-fd5ybreb.js} +6 -6
  35. package/dist/{es-EP563JWQ-1agj5n4e.js → es-TNUPGHGG-886me0sq.js} +19 -4
  36. package/dist/{es-KHVY67FO-natcvmmm.js → es-YHECPVFB-7jsrxa01.js} +6 -6
  37. package/dist/extraction-availability-service-h08mngty.js +343 -0
  38. package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
  39. package/dist/{flow-debug-service-2m1mkq5s.js → flow-debug-service-bppp59pe.js} +232 -156
  40. package/dist/flow-eval-node-target-hc9n1913.js +31 -0
  41. package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
  42. package/dist/{flow-eval-run-service-c18ma0n5.js → flow-eval-run-service-qdtz7ec7.js} +116 -119
  43. package/dist/{flow-eval-service-t2k2jk08.js → flow-eval-service-mg7gveh3.js} +141 -337
  44. package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
  45. package/dist/flow-init-service-0m5yp9fe.js +27 -0
  46. package/dist/flow-io-c8b17vbx.js +29 -0
  47. package/dist/{flow-migrate-service-6mnnm5sy.js → flow-migrate-service-a8s4rmq6.js} +20 -20
  48. package/dist/{flow-pack-service-dhjq3p0y.js → flow-pack-service-jhr4rmsy.js} +89 -90
  49. package/dist/flow-validate-service-hpt8dqyr.js +49 -0
  50. package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
  51. package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-993fw1pz.js} +1282 -10
  52. package/dist/{fr-7ZDL4MVO-CXMRZDOF-ye0hwncb.js → fr-NISALSPL-vzfmygd7.js} +1277 -15
  53. package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
  54. package/dist/{fr-I42FODC5-p80x5v4b.js → fr-W3AFCEDL-cjfr0xqp.js} +6 -6
  55. package/dist/{governance-fetcher-41s8tnja.js → governance-fetcher-hkm1hvn0.js} +7 -7
  56. package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
  57. package/dist/{hitl-service-sqkjfm9c.js → hitl-service-hs54d6tt.js} +11 -11
  58. package/dist/index-7enyyjxr.js +161 -0
  59. package/dist/{index-wss1mf5j.js → index-b02kt4sx.js} +114 -68
  60. package/dist/{index-zfkp2s1d.js → index-cg965dhq.js} +34 -27
  61. package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
  62. package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
  63. package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
  64. package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
  65. package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
  66. package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
  67. package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
  68. package/dist/{index-p0hgkhy2.js → index-zemcat7k.js} +13 -11
  69. package/dist/index.js +16 -14
  70. package/dist/{index.umd.min-ttg1qc0x.js → index.umd.min-5yxdz5j3.js} +1 -1
  71. package/dist/init.js +18 -17
  72. package/dist/{inline-entity-resolver-vjmjd3zd.js → inline-entity-resolver-9esjm2e7.js} +11 -11
  73. package/dist/input-reader-3zvbsn6a.js +12 -0
  74. package/dist/integration-service-fetcher-h6er48b7.js +65 -0
  75. package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
  76. package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
  77. package/dist/{ja-LGAM5HKR-NTPKIZEM-yrx5rnw2.js → ja-HTS2Q4YG-7Q6WUI6H-6e5nzy0t.js} +1278 -11
  78. package/dist/{ja-WY2W6733-ayr36h1f.js → ja-HWFIXC2V-gg9xvhsv.js} +19 -4
  79. package/dist/{ja-GI3OUHPZ-28fy60r0.js → ja-WOANIGX4-qnyzk2t8.js} +6 -6
  80. package/dist/{jmespath-wwym30dp.js → jmespath-dbsejrwn.js} +1 -1
  81. package/dist/json-input-pj18qjt0.js +17 -0
  82. package/dist/{known-types-v9sxcq1c.js → known-types-pen5h5kz.js} +4 -4
  83. package/dist/{ko-7B4SUZB7-2SLI636D-wxg003p8.js → ko-3JFGTMNY-VT6UQ3IS-5a2hnf97.js} +1272 -11
  84. package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
  85. package/dist/{ko-H2RGQWKJ-9696w762.js → ko-L3BMYD3Q-exfhqfbh.js} +19 -4
  86. package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
  87. package/dist/{ko-RYKAL74T-10m4z8vw.js → ko-RMOVRC7M-whyynn7n.js} +6 -6
  88. package/dist/library-option-9fqvdh8v.js +14 -0
  89. package/dist/localization-axzmx1mb.js +45 -0
  90. package/dist/{maestro-automate-entry-d1v5q5mv.js → maestro-automate-entry-mrap5xmt.js} +2 -2
  91. package/dist/manifest-hmeqvk74.js +60 -0
  92. package/dist/node-service-bq7m24js.js +65 -0
  93. package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
  94. package/dist/{node-sync-service-z6tzver4.js → node-sync-service-6v7j8m4p.js} +22 -15
  95. package/dist/node-xzwyr0mf.js +172 -0
  96. package/dist/{packager-tool-rca9gsx5.js → packager-tool-0g2grsn8.js} +2 -2
  97. package/dist/packager-tool-0x8g8b5r.js +25 -0
  98. package/dist/packager-tool-13mmsykc.js +125 -0
  99. package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
  100. package/dist/packager-tool-1yew22sn.js +9 -0
  101. package/dist/packager-tool-2devymwf.js +423 -0
  102. package/dist/{packager-tool-14rdgz3c.js → packager-tool-3sxg16ft.js} +7 -7
  103. package/dist/packager-tool-40bxn7j2.js +63 -0
  104. package/dist/{packager-tool-6an893wm.js → packager-tool-4f4jp7ez.js} +3 -3
  105. package/dist/{packager-tool-pxq0bwp0.js → packager-tool-4hn7v05x.js} +16 -9
  106. package/dist/packager-tool-4skf6ak1.js +31 -0
  107. package/dist/{packager-tool-951nhh3e.js → packager-tool-5n1v6y3q.js} +1 -1
  108. package/dist/{packager-tool-2b0tn4p4.js → packager-tool-6azsz9h8.js} +7 -7
  109. package/dist/{packager-tool-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
  110. package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
  111. package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
  112. package/dist/packager-tool-9tv5cyhr.js +16 -0
  113. package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
  114. package/dist/{packager-tool-17af18dp.js → packager-tool-asfftv7z.js} +330 -902
  115. package/dist/{packager-tool-xfjgm8hc.js → packager-tool-b0prefcm.js} +489 -118
  116. package/dist/packager-tool-bbq5kbb9.js +318 -0
  117. package/dist/{packager-tool-xhrm7cgz.js → packager-tool-bcsjm5hv.js} +470 -315
  118. package/dist/{packager-tool-xdaxdc00.js → packager-tool-bn09xgy8.js} +14 -14
  119. package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
  120. package/dist/{node-2my5q788.js → packager-tool-cpbsp04w.js} +189 -285
  121. package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
  122. package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
  123. package/dist/{packager-tool-1dbnq9ja.js → packager-tool-f4pvpaw2.js} +1123 -295
  124. package/dist/packager-tool-geh2qybm.js +179 -0
  125. package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
  126. package/dist/packager-tool-h0gzqmya.js +224 -0
  127. package/dist/packager-tool-h9f2vjwg.js +40 -0
  128. package/dist/{packager-tool-pa5s7k5n.js → packager-tool-jf4m7sqc.js} +23 -9
  129. package/dist/{packager-tool-5ymna6e6.js → packager-tool-jghqgdmm.js} +228 -487
  130. package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
  131. package/dist/packager-tool-kh1taypp.js +41 -0
  132. package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
  133. package/dist/packager-tool-m8avdf10.js +1060 -0
  134. package/dist/{packager-tool-kj5yj5hj.js → packager-tool-ma1z6nqe.js} +2 -2
  135. package/dist/{packager-tool-9m5vba43.js → packager-tool-md1vcqh4.js} +233 -14
  136. package/dist/{packager-tool-4g87fbz6.js → packager-tool-mm6a12y4.js} +8 -8
  137. package/dist/{packager-tool-2n6eg5eq.js → packager-tool-mvzswn9n.js} +134 -68
  138. package/dist/packager-tool-p8ncdnsj.js +30 -0
  139. package/dist/{packager-tool-zcb3xrfw.js → packager-tool-px52tjy2.js} +9 -7
  140. package/dist/{packager-tool-vh1hxa0j.js → packager-tool-qf08dexq.js} +584 -651
  141. package/dist/{packager-tool-m126jzdd.js → packager-tool-qkdbfkev.js} +14 -11
  142. package/dist/{packager-tool-7mxn3e7j.js → packager-tool-qtz83h01.js} +4 -2
  143. package/dist/{packager-tool-hk0fnvz5.js → packager-tool-qx8wvedy.js} +1 -1
  144. package/dist/{packager-tool-q2kwk5bf.js → packager-tool-qyhvgenw.js} +6 -4
  145. package/dist/{packager-tool-6pyaaxzk.js → packager-tool-rcjtmknf.js} +351 -42
  146. package/dist/packager-tool-swvgkcq7.js +5973 -0
  147. package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
  148. package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
  149. package/dist/{packager-tool-q4trv6y6.js → packager-tool-tm4d12jb.js} +15328 -7171
  150. package/dist/{packager-tool-c7xq0z3e.js → packager-tool-v7gxvkpx.js} +13 -13
  151. package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
  152. package/dist/packager-tool-w2eqf95v.js +16 -0
  153. package/dist/packager-tool-wvf6b31h.js +50 -0
  154. package/dist/{packager-tool-q55qgk3p.js → packager-tool-wz5zmx67.js} +10 -10
  155. package/dist/packager-tool-xgh2t48c.js +255 -0
  156. package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
  157. package/dist/{packager-tool-dszagpmx.js → packager-tool-y84mhf89.js} +8 -8
  158. package/dist/packager-tool-ys7jsqhg.js +184 -0
  159. package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
  160. package/dist/{packager-tool-0vsqvfq1.js → packager-tool-zgm6kh18.js} +21 -21
  161. package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
  162. package/dist/packager-tool.js +9 -9
  163. package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
  164. package/dist/provision-node-service-sxnfgrwy.js +86 -0
  165. package/dist/{pt-2RGHDOG4-gwe2ptvg.js → pt-6RCFX6CY-v42k92ey.js} +19 -4
  166. package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
  167. package/dist/{pt-BR-PHLFHMXZ-JFPKUXIZ-5c7jp2r1.js → pt-BR-7H7BP5DT-IOHWNCIU-pbdnhe7r.js} +1277 -11
  168. package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
  169. package/dist/{pt-BR-JWHVZE6H-gvkknv49.js → pt-BR-HDVM5NFA-azfx4gg9.js} +19 -4
  170. package/dist/{pt-BR-IL3KLBID-m1mvqqzb.js → pt-BR-HJIMGPPX-s18rb4vg.js} +6 -6
  171. package/dist/{pt-VLA5IOHO-8t4pze0h.js → pt-DZG5FPWK-6czrqk2t.js} +6 -6
  172. package/dist/{pt-N7ZTJT4W-GVODJMRX-4yqpkc4n.js → pt-QWGSZKMD-RTKSQCYA-80hp6e1q.js} +1272 -11
  173. package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
  174. package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
  175. package/dist/{ro-FLNXVYJI-ZN43XZKK-q29q8pj0.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
  176. package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-t47bbx2a.js} +1276 -10
  177. package/dist/{ro-53TS7SWG-hnjx1c7b.js → ro-EEKX2X3R-tz9prn67.js} +19 -4
  178. package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
  179. package/dist/{ro-IRNFX376-mh84zk3n.js → ro-SX7RUXGR-kknxsr3g.js} +6 -6
  180. package/dist/ru-FNRVPXE5-7q150qf8.js +7 -0
  181. package/dist/ru-GSCT4ARZ-6OTD7JLB-cdcpfwx0.js +12 -0
  182. package/dist/schema-document-service-mknqzg7e.js +30 -0
  183. package/dist/{serialization-Z3UYT6BW-g3gtam7g.js → serialization-7CB4AREI-6b7ng26y.js} +482 -6161
  184. package/dist/services/binding-id-rule.d.ts +13 -0
  185. package/dist/services/binding-resource-types.d.ts +12 -0
  186. package/dist/services/extract-schema/default-schema-document.d.ts +9 -4
  187. package/dist/services/extract-schema/types.d.ts +73 -0
  188. package/dist/services/extract-schema/validate-schema-document.d.ts +75 -0
  189. package/dist/services/flow-scopes.d.ts +15 -0
  190. package/dist/services/flow-structure-checks.d.ts +8 -0
  191. package/dist/services/flow-validate-service.d.ts +44 -11
  192. package/dist/services/idp-processor-provisioning.d.ts +35 -0
  193. package/dist/services/node-service.d.ts +17 -23
  194. package/dist/services/node-validators/extract-schema-validator.d.ts +13 -0
  195. package/dist/services/node-validators/index.d.ts +1 -0
  196. package/dist/services/node-validators/js-expression-syntax-validator.d.ts +2 -1
  197. package/dist/services/node-validators/types.d.ts +2 -7
  198. package/dist/services/vars-reference-rule.d.ts +6 -0
  199. package/dist/solution-auth-k0s83ake.js +11 -0
  200. package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
  201. package/dist/taggable-variables-nc8td6er.js +134 -0
  202. package/dist/{tidy-service-qm6h620p.js → tidy-service-rsxb2h63.js} +17 -18
  203. package/dist/tool.js +16 -14
  204. package/dist/{tr-PIQY7JIT-2mkwk0kq.js → tr-B6TLBSLH-1797wxkh.js} +19 -4
  205. package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-CEOTUJRD-5ctjnkng.js} +1276 -10
  206. package/dist/{tr-7AIZZWZ6-ESAESUPL-td09ft0v.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -15
  207. package/dist/{tr-EJKY7DVQ-rkctqva4.js → tr-OUB57VJ6-52t7zdzb.js} +6 -6
  208. package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
  209. package/dist/utils/handle-expansion.d.ts +2 -2
  210. package/dist/validation.js +42 -39
  211. package/dist/{variable-service-yxbkns3a.js → variable-service-95j5nyjh.js} +17 -12
  212. package/dist/{wait-for-flow-job-vy4t4tbj.js → wait-for-flow-job-k990nmdn.js} +15 -12
  213. package/dist/{zh-CN-NIEVKROA-q4tbbwqz.js → zh-CN-7KN22KSH-mwvgyym6.js} +19 -4
  214. package/dist/{zh-CN-4FH7E7UL-84y6j2ea.js → zh-CN-FKWWWLFR-n15rj6p8.js} +6 -6
  215. package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
  216. package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-BB2LRIMQ-phrmedm3.js} +1276 -10
  217. package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-n74g1tfv.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -15
  218. package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
  219. package/dist/{zh-TW-5WQA6QTM-hns69sd4.js → zh-TW-52QTEYIZ-2mj7hy3e.js} +6 -6
  220. package/dist/{zh-TW-MSQM7YTT-m7r7nwnj.js → zh-TW-I7BH3XP2-7rb4xpzg.js} +19 -4
  221. package/dist/{zh-TW-7RUFEVFK-VKVRSVTP-cxe7jt1n.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
  222. package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-xxye2kfv.js} +1277 -11
  223. package/package.json +2 -2
  224. package/dist/flow-eval-node-target-g6wtfw4w.js +0 -29
  225. package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
  226. package/dist/flow-init-service-qvhyvq3k.js +0 -26
  227. package/dist/flow-io-tsxhjvk6.js +0 -24
  228. package/dist/flow-validate-service-dpjp0yv2.js +0 -46
  229. package/dist/input-reader-jjq3r7ry.js +0 -11
  230. package/dist/localization-erchshqr.js +0 -45
  231. package/dist/node-service-4392jxr2.js +0 -64
  232. package/dist/packager-tool-2sazb7th.js +0 -2
  233. package/dist/packager-tool-91kj5ry7.js +0 -18
  234. package/dist/packager-tool-9217bxm2.js +0 -6
  235. package/dist/packager-tool-cvh1a0nm.js +0 -16
  236. package/dist/packager-tool-d07g2kpn.js +0 -25
  237. package/dist/packager-tool-f2g3pea6.js +0 -461
  238. package/dist/packager-tool-f7rk9xhv.js +0 -50
  239. package/dist/packager-tool-jd3v0bh1.js +0 -26
  240. package/dist/packager-tool-k3egwd1m.js +0 -15
  241. package/dist/packager-tool-n0y4dhj1.js +0 -56
  242. package/dist/packager-tool-q0f1dvtd.js +0 -40
  243. package/dist/packager-tool-wr7gn964.js +0 -2
  244. package/dist/ru-GSCT4ARZ-FTVCGQTL-vjy6j6vk.js +0 -12
  245. package/dist/ru-T73OPRTC-50m7tty9.js +0 -7
  246. package/dist/services/connector-request-buckets.d.ts +0 -1
  247. package/dist/services/flow-eval-file-store.d.ts +0 -1
  248. package/dist/services/inline-entity-resolver.d.ts +0 -22
  249. package/dist/services/packaging-utils.d.ts +0 -130
  250. package/dist/services/preview-id-rule.d.ts +0 -33
  251. package/dist/services/ui-only-node-types.d.ts +0 -1
  252. package/dist/solution-auth-j8x84n5z.js +0 -11
  253. package/dist/utils/flow-io.d.ts +0 -19
  254. package/dist/utils/workflow-file-format.d.ts +0 -14
@@ -1,7 +1,10 @@
1
1
  import {
2
2
  __toESM,
3
3
  __commonJS
4
- } from "./packager-tool-6an893wm.js";
4
+ } from "./packager-tool-4f4jp7ez.js";
5
+ import {
6
+ en_default6
7
+ } from "./packager-tool-xgh2t48c.js";
5
8
 
6
9
  // ../../node_modules/ajv/dist/compile/codegen/code.js
7
10
  var require_code = __commonJS(function(exports) {
@@ -8818,256 +8821,6 @@ var require_index_cjs = __commonJS(function(exports, module) {
8818
8821
  module.exports = index;
8819
8822
  });
8820
8823
 
8821
- // ../../node_modules/@uipath/flow-schema/dist/chunk-QFZO24YK.js
8822
- var agentDuplicateToolNames_duplicateName_message2 = 'Tool name "{{name}}" is used by multiple tools on this agent. Each tool must have a unique name.';
8823
- var agentEmptyVar_unwrittenVariable_message2 = `Agent uses "$vars.{{root}}" but no node assigns a value to "{{root}}", so it will be empty at runtime. Bind it to a node output (e.g. a connector's "<node>.output") or give it a value source.`;
8824
- var agentFileNotAnalyzed_unconsumedFileVar_message2 = 'Agent uses the file variable "$vars.{{path}}" in its prompt, but it has no tool that can read files, so the agent gets only the file reference and not its contents. Add a file-reading tool such as Analyze Files.';
8825
- var agentInputRefs_ambiguousUnderscoreAsset_message2 = 'Asset variable "{{alias}}" contains "__", which is reserved as the agent-input encoding separator and cannot round-trip. Rename it in the Variables panel to remove the double underscore.';
8826
- var agentInputRefs_ambiguousUnderscoreRoot_message2 = 'Prompt references "$vars.{{ref}}", but the name "{{rootSegment}}" contains "__", which is reserved as the agent-input encoding separator and cannot round-trip. Rename it to remove the double underscore.';
8827
- var agentInputRefs_normalizedNameCollision_message2 = 'Prompt references "{{ref}}" and "{{other}}", which map to overlapping agent inputs. Rename one of the properties.';
8828
- var agentInputRefs_reservedAssetsRoot_message2 = 'Prompt references "$vars.{{ref}}", but a variable or node named "assets" collides with the "$assets" namespace once serialized for the agent and cannot round-trip. Rename it to something other than "assets".';
8829
- var agentInputRefs_reservedMetadataRoot_message2 = 'Prompt references "$vars.{{ref}}", but a variable or node named "metadata" collides with the "$metadata" namespace once serialized for the agent and cannot round-trip. Rename it to something other than "metadata".';
8830
- var agentInputRefs_reservedNamespace_message2 = '"$agent.{{ref}}" is a Flow-internal agent-runtime namespace and cannot be used directly in prompts. Reference the flow variable via "$vars.{{ref}}" or "$metadata.{{ref}}" instead.';
8831
- var agentInputRefs_unresolvedRef_message2 = 'Prompt references "$vars.{{ref}}" but no workflow variable or node "{{rootSegment}}" exists. Add the variable/node to the flow or remove the reference.';
8832
- var agenticSwitchDuplicateChoices_duplicateName_message2 = 'Choice name "{{name}}" is used more than once. Give each choice a unique name.';
8833
- var conditionExpression_decisionWrapped_message2 = 'Invalid condition on "{{nodeLabel}}": {{error}}';
8834
- var conditionExpression_incomplete_message2 = "Incomplete expression";
8835
- var conditionExpression_invalid_message2 = "Invalid expression";
8836
- var conditionExpression_required_message2 = "Add a condition";
8837
- var conversationTrigger_displayPromptRequired_message2 = "Add a display prompt";
8838
- var conversationalRequired_contextRequired_message2 = "{{label}}: Conversation context is required";
8839
- var conversationalRequired_conversationIdRequired_message2 = "{{label}}: Conversation ID is required";
8840
- var conversationalVoiceEndCall_callContextInvalid_message2 = "{{label}}: Call context must be bound to a call context object";
8841
- var conversationalVoice_callContextInvalid_message2 = "{{label}}: Call context must be bound to a call context object";
8842
- var conversationalVoice_callContextRequired_message2 = "{{label}}: Call context is required when voice is enabled";
8843
- var dataTransform_customScriptMissing_message2 = '"{{nodeLabel}}" custom script operation has no script';
8844
- var dataTransform_filterMissingField_message2 = '"{{nodeLabel}}" filter condition is missing a field';
8845
- var dataTransform_filterNoConditions_message2 = '"{{nodeLabel}}" filter operation has no conditions';
8846
- var dataTransform_groupByAggMissingField_message2 = '"{{nodeLabel}}" group by aggregation is missing a field';
8847
- var dataTransform_groupByAggMissingOutputName_message2 = '"{{nodeLabel}}" group by aggregation is missing an output name';
8848
- var dataTransform_groupByMissingField_message2 = '"{{nodeLabel}}" group by operation is missing the group by field';
8849
- var dataTransform_mapMissingField_message2 = '"{{nodeLabel}}" map field mapping is missing a field';
8850
- var dataTransform_mapNoMappings_message2 = '"{{nodeLabel}}" map operation needs at least one field mapping when original fields are not kept';
8851
- var dataTransform_missingCollection_message2 = '"{{nodeLabel}}" is missing a collection variable';
8852
- var dataTransform_noOperations_message2 = '"{{nodeLabel}}" has no operations configured';
8853
- var doWhile_limitOutOfRange_message2 = "Set maximum iterations between {{min}} and {{max}}";
8854
- var entityQuery_emptyFilterExpression_message2 = "Write an expression for every filter, or remove the filter";
8855
- var entityQuery_emptyFilterValueList_message2 = "Add at least one value to the filter, or remove the filter";
8856
- var entityQuery_incompleteSingleRecordRow_message2 = "Select a field and enter a value";
8857
- var entityQuery_invalidRecordLimit_message2 = "Enter a whole number from {{min}} to {{max}} for Record limit";
8858
- var entityQuery_invalidRecordSkip_message2 = "Enter a whole number of {{min}} or more for Records to skip";
8859
- var entityQuery_uncarryableExpression_message2 = "Store this expression in a variable, or write it without spaces, quotes, or backslashes";
8860
- var entityQuery_uncarryableRelationPath_message2 = "{{path}} cannot be used as written. Remove any spaces, quotes or backslashes from the column name.";
8861
- var entityQuery_unfilteredSingleRecord_message2 = "Add a condition, or read multiple records instead";
8862
- var entityQuery_unresolvedRelation_message2 = "{{path}} is no longer available. Pick a field on this entity or one of its direct relations.";
8863
- var entitySchema_fieldMissing_message2 = "Remove or replace fields this entity no longer has: {{fields}}";
8864
- var entityWrite_readNodeFilterless_message2 = "Add a filter to the Query entity records node";
8865
- var entityWrite_readNodeMissing_message2 = "Select a Query entity records node to replace the removed one";
8866
- var entityWrite_readNodeMultiRecord_message2 = "Select a Query entity records node that reads one record, or switch the selected node to read one";
8867
- var entityWrite_readNodeNonNative_message2 = "Select a Query entity records node that reads a native entity";
8868
- var entityWrite_readNodeUnusableFilter_message2 = "Complete the filters on the Query entity records node";
8869
- var entityWrite_requiredFieldBlanked_message2 = "Set a value for {{fields}}, or remove them from the update";
8870
- var entityWrite_requiredFieldMissing_message2 = "Set a value for {{fields}}";
8871
- var errorHandlerPlacement_connected_message2 = "The error handler runs on its own when an error occurs. Connect only the steps inside it.";
8872
- var errorHandlerPlacement_duplicate_message2 = "A flow can have only one error handler. Remove the extra one.";
8873
- var errorHandlerPlacement_nested_message2 = "Move the error handler to the main canvas. To handle errors inside a container, use error handling on that node.";
8874
- var errorHandlerPlacement_subflow_message2 = "Move the error handler to the main flow. To handle errors in a subflow, use error handling on the subflow node.";
8875
- var escalation_appRequired_message2 = "Select an action app";
8876
- var escalation_memoryArgumentRequired_message2 = "{{label}}: Add at least one argument for agent memory, or turn agent memory off";
8877
- var escalation_nameRequired_message2 = "{{label}}: Escalation name is required";
8878
- var escalation_quickFormDuplicateFieldLabel_message2 = '{{label}}: Multiple fields are labeled "{{fieldLabel}}" — the escalation task would keep only one of them. Make field labels unique';
8879
- var escalation_recipientRequired_message2 = "{{label}}: Escalation recipient is required";
8880
- var governance_hitlRequired_message2 = "Agent must have at least one escalation resource or a guardrail with HITL action. Rule enforced by governance policy: {{policyName}}";
8881
- var governance_maxIterationsExceeded_message2 = "Max iterations exceeds {{maxIterations}}. Rule enforced by governance policy: {{policyName}}";
8882
- var governance_maxTokensExceeded_message2 = "Max tokens per response exceeds {{maxTokens}}. Rule enforced by governance policy: {{policyName}}";
8883
- var governance_modelNotAvailable_message2 = "{{model}} model is not allowed, enforced by governance policy: {{policyName}}";
8884
- var governance_noAllowedModel_message2 = "No allowed model selected, enforced by governance policy: {{policyName}}";
8885
- var governance_temperatureExceeded_message2 = "Temperature exceeds {{maxTemperature}}. Rule enforced by governance policy: {{policyName}}";
8886
- var hitlDocClassification_processedDocumentRequired_message2 = "Classification output is required";
8887
- var hitlDocValidation_extractionOutputRequired_message2 = "Extraction output is required";
8888
- var hitlDocValidation_extractionResultRequired_message2 = "Extraction result is required";
8889
- var hitlDocValidation_taxonomyRequired_message2 = "Taxonomy is required when using a custom app";
8890
- var hitlQuickForm_emptySchema_message2 = "Add at least one field";
8891
- var hitlQuickForm_fieldLabelRequired_message2 = "Field label is required";
8892
- var ixpSchemaDraft_invalidWithDetail_message2 = 'Schema is not valid on "{{nodeLabel}}": {{detail}}';
8893
- var ixpSchemaDraft_invalid_message2 = 'Schema is not valid on "{{nodeLabel}}".';
8894
- var ixpSchemaLimits_exceeded_message2 = '{{subject}} on "{{nodeLabel}}" is {{actual}} characters, over the {{limit}} character limit.';
8895
- var jevClassifier_instructionsMissing_message2 = "Instructions are required for question {{question}}";
8896
- var jevClassifier_instructionsVariableMissing_message2 = "Select a variable for the instructions of question {{question}}";
8897
- var jevClassifier_instructionsVariableType_message2 = "The instructions of question {{question}} expect {{expected}}, but the selected variable is {{actual}}";
8898
- var jevClassifier_levelTextMissing_message2 = "Level text is required for question {{question}}";
8899
- var jevClassifier_levelsCount_message2 = "Question {{question}} must have between {{min}} and {{max}} levels";
8900
- var jevClassifier_modelMissing_message2 = "Select a model for the Jev classifier";
8901
- var jevClassifier_optionNameDuplicate_message2 = "Duplicate option names found in question {{question}}: {{names}}";
8902
- var jevClassifier_optionNameMissing_message2 = "Option name is required for question {{question}}";
8903
- var jevClassifier_optionsCount_message2 = "Question {{question}} must have between {{min}} and {{max}} options";
8904
- var jevClassifier_questionFieldVariableMissing_message2 = "Select a variable for question {{question}}";
8905
- var jevClassifier_questionFieldVariableType_message2 = "Question {{question}} expects {{expected}} from its variable, but the selected variable is {{actual}}";
8906
- var jevClassifier_questionNameDuplicate_message2 = "Question name {{name}} is used more than once";
8907
- var jevClassifier_questionNameInvalid_message2 = "Question name {{name}} must start with a letter or underscore, contain only letters, numbers or underscores, and be at most 64 characters long";
8908
- var jevClassifier_questionNameMissing_message2 = "Name is required for question {{index}}";
8909
- var jevClassifier_questionsMissing_message2 = "At least one question is required";
8910
- var jevClassifier_questionsVariableMissing_message2 = "Select a variable for the questions";
8911
- var jevClassifier_questionsVariableType_message2 = "The questions expect {{expected}}, but the selected variable is {{actual}}";
8912
- var jevClassifier_stateJsonArray_message2 = "The state must be a non-empty JSON list";
8913
- var jevClassifier_stateJsonObject_message2 = "The state must be a non-empty JSON object";
8914
- var jevClassifier_statePropertiesMissing_message2 = "At least one state property is required";
8915
- var jevClassifier_statePropertyNameDuplicate_message2 = "State property name {{name}} is used more than once";
8916
- var jevClassifier_statePropertyNameInvalid_message2 = "State property name {{name}} must start with a letter or underscore, contain only letters, numbers or underscores, and be at most 64 characters long";
8917
- var jevClassifier_statePropertyNameMissing_message2 = "Name is required for state property {{index}}";
8918
- var jevClassifier_statePropertyValueInvalid_message2 = "The value of state property {{property}} is not a valid {{type}}";
8919
- var jevClassifier_statePropertyValueMissing_message2 = "A value is required for state property {{property}}";
8920
- var jevClassifier_statePropertyVariableMissing_message2 = "Select a variable for state property {{property}}";
8921
- var jevClassifier_statePropertyVariableType_message2 = "State property {{property}} expects {{expected}}, but the selected variable is {{actual}}";
8922
- var jevClassifier_stateTextMissing_message2 = "The text to classify is required";
8923
- var jevClassifier_stateVariableMissing_message2 = "Select a variable for the state";
8924
- var jevClassifier_stateVariableType_message2 = "The state expects {{expected}}, but the selected variable is {{actual}}";
8925
- var nodeId_invalidFormat_message2 = "Rename the node ID to use only letters, numbers, and underscores, starting with a letter or underscore";
8926
- var nodeId_reservedWord_message2 = 'Rename the node ID — "{{id}}" is a reserved word';
8927
- var nodeMaxInstances_exceeded_message2 = 'Only {{max}} "{{label}}" node is allowed. Remove the extra one.';
8928
- var outputMapping_missing_message2 = '"{{nodeLabel}}" is missing output mapping for "{{varId}}"';
8929
- var patternPlaceholder_step_message2 = "Replace this placeholder step before publishing";
8930
- var retry_durationInvalid_message2 = "Enter a duration in ISO 8601 format, such as PT1S";
8931
- var retry_exponentialBaseInvalid_message2 = "Enter a number greater than 1";
8932
- var retry_maxCountInvalid_message2 = "Enter a whole number of 1 or more";
8933
- var schemaValidator_genericKeyword_message2 = '"{{fieldName}}" on "{{nodeLabel}}": {{detail}}';
8934
- var schemaValidator_invalidEnum_message2 = '"{{fieldName}}" on "{{nodeLabel}}" must be one of the allowed values';
8935
- var schemaValidator_invalidField_message2 = '"{{fieldName}}" on "{{nodeLabel}}" is invalid';
8936
- var schemaValidator_invalidPattern_message2 = '"{{fieldName}}" on "{{nodeLabel}}" has invalid format';
8937
- var schemaValidator_outOfRange_message2 = '"{{fieldName}}" on "{{nodeLabel}}" {{detail}}';
8938
- var schemaValidator_required_message2 = '"{{fieldName}}" is required on "{{nodeLabel}}"';
8939
- var schemaValidator_typeMismatch_message2 = '"{{fieldName}}" on "{{nodeLabel}}" expects {{type}}';
8940
- var schemaValidator_validation_genericError2 = "Validation error";
8941
- var scriptBody_mustache_message2 = "Reference variables directly without double braces";
8942
- var singleConversationTrigger_message2 = "Only one conversation trigger is allowed per process. Remove the extra trigger.";
8943
- var timeLimit_durationInvalid_message2 = "Add a valid duration";
8944
- var triggerRequired_message2 = "Process must have at least one trigger node";
8945
- var en_default6 = {
8946
- agentDuplicateToolNames_duplicateName_message: agentDuplicateToolNames_duplicateName_message2,
8947
- agentEmptyVar_unwrittenVariable_message: agentEmptyVar_unwrittenVariable_message2,
8948
- agentFileNotAnalyzed_unconsumedFileVar_message: agentFileNotAnalyzed_unconsumedFileVar_message2,
8949
- agentInputRefs_ambiguousUnderscoreAsset_message: agentInputRefs_ambiguousUnderscoreAsset_message2,
8950
- agentInputRefs_ambiguousUnderscoreRoot_message: agentInputRefs_ambiguousUnderscoreRoot_message2,
8951
- agentInputRefs_normalizedNameCollision_message: agentInputRefs_normalizedNameCollision_message2,
8952
- agentInputRefs_reservedAssetsRoot_message: agentInputRefs_reservedAssetsRoot_message2,
8953
- agentInputRefs_reservedMetadataRoot_message: agentInputRefs_reservedMetadataRoot_message2,
8954
- agentInputRefs_reservedNamespace_message: agentInputRefs_reservedNamespace_message2,
8955
- agentInputRefs_unresolvedRef_message: agentInputRefs_unresolvedRef_message2,
8956
- agenticSwitchDuplicateChoices_duplicateName_message: agenticSwitchDuplicateChoices_duplicateName_message2,
8957
- conditionExpression_decisionWrapped_message: conditionExpression_decisionWrapped_message2,
8958
- conditionExpression_incomplete_message: conditionExpression_incomplete_message2,
8959
- conditionExpression_invalid_message: conditionExpression_invalid_message2,
8960
- conditionExpression_required_message: conditionExpression_required_message2,
8961
- conversationTrigger_displayPromptRequired_message: conversationTrigger_displayPromptRequired_message2,
8962
- conversationalRequired_contextRequired_message: conversationalRequired_contextRequired_message2,
8963
- conversationalRequired_conversationIdRequired_message: conversationalRequired_conversationIdRequired_message2,
8964
- conversationalVoiceEndCall_callContextInvalid_message: conversationalVoiceEndCall_callContextInvalid_message2,
8965
- conversationalVoice_callContextInvalid_message: conversationalVoice_callContextInvalid_message2,
8966
- conversationalVoice_callContextRequired_message: conversationalVoice_callContextRequired_message2,
8967
- dataTransform_customScriptMissing_message: dataTransform_customScriptMissing_message2,
8968
- dataTransform_filterMissingField_message: dataTransform_filterMissingField_message2,
8969
- dataTransform_filterNoConditions_message: dataTransform_filterNoConditions_message2,
8970
- dataTransform_groupByAggMissingField_message: dataTransform_groupByAggMissingField_message2,
8971
- dataTransform_groupByAggMissingOutputName_message: dataTransform_groupByAggMissingOutputName_message2,
8972
- dataTransform_groupByMissingField_message: dataTransform_groupByMissingField_message2,
8973
- dataTransform_mapMissingField_message: dataTransform_mapMissingField_message2,
8974
- dataTransform_mapNoMappings_message: dataTransform_mapNoMappings_message2,
8975
- dataTransform_missingCollection_message: dataTransform_missingCollection_message2,
8976
- dataTransform_noOperations_message: dataTransform_noOperations_message2,
8977
- doWhile_limitOutOfRange_message: doWhile_limitOutOfRange_message2,
8978
- entityQuery_emptyFilterExpression_message: entityQuery_emptyFilterExpression_message2,
8979
- entityQuery_emptyFilterValueList_message: entityQuery_emptyFilterValueList_message2,
8980
- entityQuery_incompleteSingleRecordRow_message: entityQuery_incompleteSingleRecordRow_message2,
8981
- entityQuery_invalidRecordLimit_message: entityQuery_invalidRecordLimit_message2,
8982
- entityQuery_invalidRecordSkip_message: entityQuery_invalidRecordSkip_message2,
8983
- entityQuery_uncarryableExpression_message: entityQuery_uncarryableExpression_message2,
8984
- entityQuery_uncarryableRelationPath_message: entityQuery_uncarryableRelationPath_message2,
8985
- entityQuery_unfilteredSingleRecord_message: entityQuery_unfilteredSingleRecord_message2,
8986
- entityQuery_unresolvedRelation_message: entityQuery_unresolvedRelation_message2,
8987
- entitySchema_fieldMissing_message: entitySchema_fieldMissing_message2,
8988
- entityWrite_readNodeFilterless_message: entityWrite_readNodeFilterless_message2,
8989
- entityWrite_readNodeMissing_message: entityWrite_readNodeMissing_message2,
8990
- entityWrite_readNodeMultiRecord_message: entityWrite_readNodeMultiRecord_message2,
8991
- entityWrite_readNodeNonNative_message: entityWrite_readNodeNonNative_message2,
8992
- entityWrite_readNodeUnusableFilter_message: entityWrite_readNodeUnusableFilter_message2,
8993
- entityWrite_requiredFieldBlanked_message: entityWrite_requiredFieldBlanked_message2,
8994
- entityWrite_requiredFieldMissing_message: entityWrite_requiredFieldMissing_message2,
8995
- errorHandlerPlacement_connected_message: errorHandlerPlacement_connected_message2,
8996
- errorHandlerPlacement_duplicate_message: errorHandlerPlacement_duplicate_message2,
8997
- errorHandlerPlacement_nested_message: errorHandlerPlacement_nested_message2,
8998
- errorHandlerPlacement_subflow_message: errorHandlerPlacement_subflow_message2,
8999
- escalation_appRequired_message: escalation_appRequired_message2,
9000
- escalation_memoryArgumentRequired_message: escalation_memoryArgumentRequired_message2,
9001
- escalation_nameRequired_message: escalation_nameRequired_message2,
9002
- escalation_quickFormDuplicateFieldLabel_message: escalation_quickFormDuplicateFieldLabel_message2,
9003
- escalation_recipientRequired_message: escalation_recipientRequired_message2,
9004
- governance_hitlRequired_message: governance_hitlRequired_message2,
9005
- governance_maxIterationsExceeded_message: governance_maxIterationsExceeded_message2,
9006
- governance_maxTokensExceeded_message: governance_maxTokensExceeded_message2,
9007
- governance_modelNotAvailable_message: governance_modelNotAvailable_message2,
9008
- governance_noAllowedModel_message: governance_noAllowedModel_message2,
9009
- governance_temperatureExceeded_message: governance_temperatureExceeded_message2,
9010
- hitlDocClassification_processedDocumentRequired_message: hitlDocClassification_processedDocumentRequired_message2,
9011
- hitlDocValidation_extractionOutputRequired_message: hitlDocValidation_extractionOutputRequired_message2,
9012
- hitlDocValidation_extractionResultRequired_message: hitlDocValidation_extractionResultRequired_message2,
9013
- hitlDocValidation_taxonomyRequired_message: hitlDocValidation_taxonomyRequired_message2,
9014
- hitlQuickForm_emptySchema_message: hitlQuickForm_emptySchema_message2,
9015
- hitlQuickForm_fieldLabelRequired_message: hitlQuickForm_fieldLabelRequired_message2,
9016
- ixpSchemaDraft_invalidWithDetail_message: ixpSchemaDraft_invalidWithDetail_message2,
9017
- ixpSchemaDraft_invalid_message: ixpSchemaDraft_invalid_message2,
9018
- ixpSchemaLimits_exceeded_message: ixpSchemaLimits_exceeded_message2,
9019
- jevClassifier_instructionsMissing_message: jevClassifier_instructionsMissing_message2,
9020
- jevClassifier_instructionsVariableMissing_message: jevClassifier_instructionsVariableMissing_message2,
9021
- jevClassifier_instructionsVariableType_message: jevClassifier_instructionsVariableType_message2,
9022
- jevClassifier_levelTextMissing_message: jevClassifier_levelTextMissing_message2,
9023
- jevClassifier_levelsCount_message: jevClassifier_levelsCount_message2,
9024
- jevClassifier_modelMissing_message: jevClassifier_modelMissing_message2,
9025
- jevClassifier_optionNameDuplicate_message: jevClassifier_optionNameDuplicate_message2,
9026
- jevClassifier_optionNameMissing_message: jevClassifier_optionNameMissing_message2,
9027
- jevClassifier_optionsCount_message: jevClassifier_optionsCount_message2,
9028
- jevClassifier_questionFieldVariableMissing_message: jevClassifier_questionFieldVariableMissing_message2,
9029
- jevClassifier_questionFieldVariableType_message: jevClassifier_questionFieldVariableType_message2,
9030
- jevClassifier_questionNameDuplicate_message: jevClassifier_questionNameDuplicate_message2,
9031
- jevClassifier_questionNameInvalid_message: jevClassifier_questionNameInvalid_message2,
9032
- jevClassifier_questionNameMissing_message: jevClassifier_questionNameMissing_message2,
9033
- jevClassifier_questionsMissing_message: jevClassifier_questionsMissing_message2,
9034
- jevClassifier_questionsVariableMissing_message: jevClassifier_questionsVariableMissing_message2,
9035
- jevClassifier_questionsVariableType_message: jevClassifier_questionsVariableType_message2,
9036
- jevClassifier_stateJsonArray_message: jevClassifier_stateJsonArray_message2,
9037
- jevClassifier_stateJsonObject_message: jevClassifier_stateJsonObject_message2,
9038
- jevClassifier_statePropertiesMissing_message: jevClassifier_statePropertiesMissing_message2,
9039
- jevClassifier_statePropertyNameDuplicate_message: jevClassifier_statePropertyNameDuplicate_message2,
9040
- jevClassifier_statePropertyNameInvalid_message: jevClassifier_statePropertyNameInvalid_message2,
9041
- jevClassifier_statePropertyNameMissing_message: jevClassifier_statePropertyNameMissing_message2,
9042
- jevClassifier_statePropertyValueInvalid_message: jevClassifier_statePropertyValueInvalid_message2,
9043
- jevClassifier_statePropertyValueMissing_message: jevClassifier_statePropertyValueMissing_message2,
9044
- jevClassifier_statePropertyVariableMissing_message: jevClassifier_statePropertyVariableMissing_message2,
9045
- jevClassifier_statePropertyVariableType_message: jevClassifier_statePropertyVariableType_message2,
9046
- jevClassifier_stateTextMissing_message: jevClassifier_stateTextMissing_message2,
9047
- jevClassifier_stateVariableMissing_message: jevClassifier_stateVariableMissing_message2,
9048
- jevClassifier_stateVariableType_message: jevClassifier_stateVariableType_message2,
9049
- nodeId_invalidFormat_message: nodeId_invalidFormat_message2,
9050
- nodeId_reservedWord_message: nodeId_reservedWord_message2,
9051
- nodeMaxInstances_exceeded_message: nodeMaxInstances_exceeded_message2,
9052
- outputMapping_missing_message: outputMapping_missing_message2,
9053
- patternPlaceholder_step_message: patternPlaceholder_step_message2,
9054
- retry_durationInvalid_message: retry_durationInvalid_message2,
9055
- retry_exponentialBaseInvalid_message: retry_exponentialBaseInvalid_message2,
9056
- retry_maxCountInvalid_message: retry_maxCountInvalid_message2,
9057
- schemaValidator_genericKeyword_message: schemaValidator_genericKeyword_message2,
9058
- schemaValidator_invalidEnum_message: schemaValidator_invalidEnum_message2,
9059
- schemaValidator_invalidField_message: schemaValidator_invalidField_message2,
9060
- schemaValidator_invalidPattern_message: schemaValidator_invalidPattern_message2,
9061
- schemaValidator_outOfRange_message: schemaValidator_outOfRange_message2,
9062
- schemaValidator_required_message: schemaValidator_required_message2,
9063
- schemaValidator_typeMismatch_message: schemaValidator_typeMismatch_message2,
9064
- schemaValidator_validation_genericError: schemaValidator_validation_genericError2,
9065
- scriptBody_mustache_message: scriptBody_mustache_message2,
9066
- singleConversationTrigger_message: singleConversationTrigger_message2,
9067
- timeLimit_durationInvalid_message: timeLimit_durationInvalid_message2,
9068
- triggerRequired_message: triggerRequired_message2
9069
- };
9070
-
9071
8824
  // ../../node_modules/@uipath/flow-schema/dist/chunk-QKQ47GQZ.js
9072
8825
  var __glob = (map) => (path) => {
9073
8826
  var fn = map[path];
@@ -9076,7 +8829,7 @@ var __glob = (map) => (path) => {
9076
8829
  throw new Error("Module not found in bundle: " + path);
9077
8830
  };
9078
8831
 
9079
- // ../../node_modules/@uipath/flow-schema/dist/chunk-2VO2NOQC.js
8832
+ // ../../node_modules/@uipath/flow-schema/dist/chunk-B7OZS767.js
9080
8833
  var SUPPORTED_LOCALES2 = ["en", "es", "pt", "de", "fr", "ja", "ko", "ru", "tr", "ro", "zh-CN", "zh-TW", "pt-BR", "es-MX"];
9081
8834
  var DEFAULT_LOCALE2 = "en";
9082
8835
  function normalizeCasing(locale) {
@@ -9138,20 +8891,20 @@ function createI18nRegistrar2(options) {
9138
8891
  };
9139
8892
  }
9140
8893
  var globImport_locales_json = __glob({
9141
- "../../locales/de.json": () => import("./de-AI7ML6JM-km47f8k4.js"),
9142
- "../../locales/en.json": () => import("./en-LAVDF7IQ-ba7wzsxp.js"),
9143
- "../../locales/es-MX.json": () => import("./es-MX-7KJZPEQN-1fq0a9jr.js"),
9144
- "../../locales/es.json": () => import("./es-SPNKTD5Y-vw5cbgv5.js"),
9145
- "../../locales/fr.json": () => import("./fr-AXJGUT53-hdg3pmd4.js"),
9146
- "../../locales/ja.json": () => import("./ja-C7GZV6YP-hvtbngr5.js"),
9147
- "../../locales/ko.json": () => import("./ko-Q24HSSL4-5vn55pte.js"),
9148
- "../../locales/pt-BR.json": () => import("./pt-BR-BIUJXIPU-2sqzhr8y.js"),
9149
- "../../locales/pt.json": () => import("./pt-MHX6JGAX-xfgvdqwg.js"),
9150
- "../../locales/ro.json": () => import("./ro-3RKJNGJZ-xqj14e3d.js"),
8894
+ "../../locales/de.json": () => import("./de-B6IFKV43-9sk50xx0.js"),
8895
+ "../../locales/en.json": () => import("./en-5JIPZTS5-v0f9wmd2.js"),
8896
+ "../../locales/es-MX.json": () => import("./es-MX-KWITVBWE-w49gknha.js"),
8897
+ "../../locales/es.json": () => import("./es-AQW6PFIU-q2mz247f.js"),
8898
+ "../../locales/fr.json": () => import("./fr-RNWK2TMC-dpyzj366.js"),
8899
+ "../../locales/ja.json": () => import("./ja-DH4I3GEF-ywyhhppa.js"),
8900
+ "../../locales/ko.json": () => import("./ko-R5BCWVO7-whzgmh6q.js"),
8901
+ "../../locales/pt-BR.json": () => import("./pt-BR-6TBBEDQS-y3f2vg5d.js"),
8902
+ "../../locales/pt.json": () => import("./pt-ZSQC5RZ3-8kp3g1z5.js"),
8903
+ "../../locales/ro.json": () => import("./ro-P33AQ6ZL-s92z1mgg.js"),
9151
8904
  "../../locales/ru.json": () => import("./ru-WBLQ5B2U-bf20yr5y.js"),
9152
- "../../locales/tr.json": () => import("./tr-PQLUUHPC-qsb7btxn.js"),
9153
- "../../locales/zh-CN.json": () => import("./zh-CN-OHNTHZRI-b0hjkfqn.js"),
9154
- "../../locales/zh-TW.json": () => import("./zh-TW-E4D3Y6ZR-tn3bmzz5.js")
8905
+ "../../locales/tr.json": () => import("./tr-XD73CQAA-tb2nrpyp.js"),
8906
+ "../../locales/zh-CN.json": () => import("./zh-CN-GWP3B2EM-c07fm17a.js"),
8907
+ "../../locales/zh-TW.json": () => import("./zh-TW-2DLUOA7C-9khqnr4r.js")
9155
8908
  });
9156
8909
  var VALIDATION_NAMESPACE2 = "validation";
9157
8910
  var registerFlowSchemaI18n2 = createI18nRegistrar2({
@@ -15435,7 +15188,7 @@ function preprocess(fn, schema) {
15435
15188
  out: schema
15436
15189
  });
15437
15190
  }
15438
- // ../../node_modules/@uipath/flow-schema/dist/chunk-SL4QEZOZ.js
15191
+ // ../../node_modules/@uipath/flow-schema/dist/chunk-SRRRCZFB.js
15439
15192
  var JS_EXPRESSION_PREFIX2 = "=js:";
15440
15193
  var expressionFieldTypeSchema2 = _enum(["string", "number", "boolean", "object", "array", "null"]);
15441
15194
  var expressionModeSchema2 = _enum(["literal", "jsExpression"]);
@@ -15557,18 +15310,28 @@ function splitVariableType2(type) {
15557
15310
  const isArray = type.endsWith("[]");
15558
15311
  return { base: isArray ? type.slice(0, -2) : type, isArray };
15559
15312
  }
15560
- function isVariableTypeCompatible2(varType, isArray, expectedType, allowFileArray = false) {
15313
+ function expectedTypeMembers2(expectedType) {
15314
+ return expectedType.split("|").map((member) => member.trim());
15315
+ }
15316
+ function isVariableTypeCompatible2(expectedType, varType, isArray) {
15561
15317
  if (!varType || varType === "any")
15562
15318
  return true;
15563
15319
  const { base: baseType, isArray: isArrayType } = splitVariableType2(varType);
15564
15320
  const arrayValued = isArray === true || isArrayType;
15565
- if (expectedType === "file")
15566
- return (baseType === "file" || baseType === "any") && (allowFileArray || !arrayValued);
15567
- if (expectedType === "array")
15568
- return baseType === "array" || arrayValued;
15569
- if (arrayValued)
15570
- return false;
15571
- return expectedTypeToFieldType2(baseType) === expectedTypeToFieldType2(expectedType);
15321
+ const accepts = (accepted) => {
15322
+ const { base, isArray: wantsArray } = splitVariableType2(accepted);
15323
+ const sameElement = base === "file" || baseType === "file" ? base === baseType : expectedTypeToFieldType2(baseType) === expectedTypeToFieldType2(base);
15324
+ if (wantsArray)
15325
+ return (arrayValued || baseType === "array") && (sameElement || baseType === "any" || baseType === "array");
15326
+ if (base === "file")
15327
+ return (baseType === "file" || baseType === "any") && !arrayValued;
15328
+ if (base === "array")
15329
+ return baseType === "array" || arrayValued;
15330
+ if (arrayValued)
15331
+ return false;
15332
+ return expectedTypeToFieldType2(baseType) === expectedTypeToFieldType2(base);
15333
+ };
15334
+ return expectedTypeMembers2(expectedType).some(accepts);
15572
15335
  }
15573
15336
  function jsonSchemaTypeToFieldType(raw) {
15574
15337
  if (Array.isArray(raw)) {
@@ -15728,8 +15491,10 @@ var RESERVED_WORDS2 = [
15728
15491
  "yield"
15729
15492
  ];
15730
15493
  var RESERVED_WORD_SET = new Set(RESERVED_WORDS2);
15494
+ var UNSAFE_PROPERTY_KEYS2 = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
15495
+ var isUnsafeKey2 = (key) => UNSAFE_PROPERTY_KEYS2.has(key);
15731
15496
  function isReservedWord2(value) {
15732
- return RESERVED_WORD_SET.has(value);
15497
+ return RESERVED_WORD_SET.has(value) || isUnsafeKey2(value);
15733
15498
  }
15734
15499
  var VALID_IDENTIFIER_PATTERN2 = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
15735
15500
  var FLAT_SEP2 = "__";
@@ -15783,8 +15548,6 @@ function generateRandomId2(length) {
15783
15548
  function generateNextId2(prefix, count = 6) {
15784
15549
  return `${prefix}${generateRandomId2(count)}`;
15785
15550
  }
15786
- var UNSAFE_PROPERTY_KEYS2 = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
15787
- var isUnsafeKey2 = (key) => UNSAFE_PROPERTY_KEYS2.has(key);
15788
15551
  function isPlainObject2(value) {
15789
15552
  return value !== null && typeof value === "object" && !Array.isArray(value);
15790
15553
  }
@@ -15932,6 +15695,16 @@ function readEntitySingleRecordFilterRows(filters) {
15932
15695
  return [first];
15933
15696
  return [{ ...first, operator: "=", ...isValueListFilterOperator(first.operator) ? { value: "" } : {} }];
15934
15697
  }
15698
+ function readEntitySingleRecordFieldIsNotUnique2(row, entityFields) {
15699
+ const name = typeof row?.field === "string" ? row.field.trim() : "";
15700
+ if (!name || name.includes(".") || !Array.isArray(entityFields))
15701
+ return false;
15702
+ const fields = entityFields;
15703
+ if (!fields.some((f) => f?.isUnique === true))
15704
+ return false;
15705
+ const field = fields.find((f) => typeof f?.name === "string" && f.name.trim() === name);
15706
+ return !!field && field.isUnique !== true;
15707
+ }
15935
15708
  function readEntityFilterRows(filters) {
15936
15709
  if (Array.isArray(filters))
15937
15710
  return filters;
@@ -15972,7 +15745,143 @@ var RuntimeProfile3 = {
15972
15745
  Lite: "Lite"
15973
15746
  };
15974
15747
 
15975
- // ../../node_modules/@uipath/flow-schema/dist/chunk-HI5GJO4X.js
15748
+ // ../../node_modules/@uipath/flow-schema/dist/chunk-LKPEQILO.js
15749
+ var ESCALATION_QUICK_FORM_NODE_TYPE2 = "uipath.agent.resource.escalation.quick-form";
15750
+ var ESCALATION_TASK_TYPE2 = {
15751
+ AppTask: "app-task",
15752
+ QuickForm: "quick-form",
15753
+ DocumentValidationTask: "document-validation-task"
15754
+ };
15755
+ var ESCALATION_TYPE_CODE2 = {
15756
+ AppTask: 0,
15757
+ DocumentValidationTask: 1
15758
+ };
15759
+ var ESCALATION_TASK_TYPES = new Set(Object.values(ESCALATION_TASK_TYPE2));
15760
+ function resolveEscalationTaskType2(nodeType, inputsType) {
15761
+ if (nodeType === ESCALATION_QUICK_FORM_NODE_TYPE2)
15762
+ return ESCALATION_TASK_TYPE2.QuickForm;
15763
+ if (typeof inputsType === "string" && ESCALATION_TASK_TYPES.has(inputsType))
15764
+ return inputsType;
15765
+ return ESCALATION_TASK_TYPE2.AppTask;
15766
+ }
15767
+ var AGENT_RESOURCE_SOURCE_HANDLES2 = ["memory", "context", "tool", "escalation", "mcp"];
15768
+ var isToolNode2 = (nodeType) => {
15769
+ return nodeType.startsWith("uipath.agent.resource.tool.");
15770
+ };
15771
+ var isContextNode2 = (nodeType) => {
15772
+ return nodeType.startsWith("uipath.agent.resource.context.");
15773
+ };
15774
+ var DATAFABRIC_ENTITYSET_NODE_TYPE2 = "uipath.agent.resource.context.datafabricentityset";
15775
+ var DATAFABRIC_ENTITYSET_CONTEXT_TYPE2 = "datafabricentityset";
15776
+ var isDataFabricEntitySetContextNode2 = (nodeType) => {
15777
+ return nodeType === DATAFABRIC_ENTITYSET_NODE_TYPE2;
15778
+ };
15779
+ var isEscalationNode2 = (nodeType) => {
15780
+ return nodeType.startsWith("uipath.agent.resource.escalation");
15781
+ };
15782
+ var isQuickFormEscalationNode2 = (nodeType) => {
15783
+ return nodeType === ESCALATION_QUICK_FORM_NODE_TYPE2;
15784
+ };
15785
+ var isMcpNode2 = (nodeType) => {
15786
+ return nodeType.startsWith("uipath.agent.resource.tool.mcp.");
15787
+ };
15788
+ var isA2aNode2 = (nodeType) => {
15789
+ return nodeType.startsWith("uipath.agent.resource.tool.a2a.");
15790
+ };
15791
+ var CONVERSATIONAL_A2A_NODE_TYPE_PREFIX2 = "uipath.agent.resource.tool.conversational-a2a.";
15792
+ var isConversationalA2aNode2 = (nodeType) => {
15793
+ return nodeType.startsWith(CONVERSATIONAL_A2A_NODE_TYPE_PREFIX2);
15794
+ };
15795
+ var isMemoryNode2 = (nodeType) => {
15796
+ return nodeType.startsWith("uipath.agent.resource.memory.");
15797
+ };
15798
+ var isAgentResourceNode2 = (nodeType) => {
15799
+ return isToolNode2(nodeType) || isContextNode2(nodeType) || isEscalationNode2(nodeType) || isMemoryNode2(nodeType);
15800
+ };
15801
+ var HITL_NODE_TYPE2 = "uipath.human-in-the-loop";
15802
+ var HITL_QUICK_FORM_NODE_TYPE2 = "uipath.human-in-the-loop.quick-form";
15803
+ var HITL_CODED_ACTION_NODE_TYPE2 = "uipath.human-in-the-loop.coded-action-app";
15804
+ var HITL_DOC_VALIDATION_NODE_TYPE2 = "uipath.human-in-the-loop.document-validation";
15805
+ var HITL_DOC_CLASSIFICATION_NODE_TYPE2 = "uipath.human-in-the-loop.document-classification";
15806
+ var HITL_DECISION_AUTO_NODE_TYPE2 = "uipath.decision";
15807
+ var DYNAMIC_EXTRACT_NODE_TYPE2 = "uipath.ixp.extract-document-builder";
15808
+ var FORM_TRIGGER_NODE_TYPE2 = "core.trigger.form";
15809
+ var QUEUE_BULK_ADD_NODE_TYPE2 = "core.action.queue.bulk-add";
15810
+ var TRIGGER_INSTANCE_NAME_INPUT2 = "instanceName";
15811
+ var UI_ONLY_NODE_TYPES3 = /* @__PURE__ */ new Set(["stickyNote"]);
15812
+ var HITL_NODE_TYPES2 = /* @__PURE__ */ new Set([
15813
+ HITL_QUICK_FORM_NODE_TYPE2,
15814
+ HITL_CODED_ACTION_NODE_TYPE2,
15815
+ HITL_DOC_VALIDATION_NODE_TYPE2,
15816
+ HITL_DOC_CLASSIFICATION_NODE_TYPE2,
15817
+ HITL_DECISION_AUTO_NODE_TYPE2,
15818
+ HITL_NODE_TYPE2
15819
+ ]);
15820
+ function isHitlNodeType2(t) {
15821
+ return HITL_NODE_TYPES2.has(t);
15822
+ }
15823
+ var HITL_QUICK_FORM_NODE_TYPES2 = /* @__PURE__ */ new Set([HITL_QUICK_FORM_NODE_TYPE2, HITL_DECISION_AUTO_NODE_TYPE2]);
15824
+ function isHitlQuickFormNodeType2(t) {
15825
+ return HITL_QUICK_FORM_NODE_TYPES2.has(t);
15826
+ }
15827
+ var HITL_CODED_ACTION_NODE_TYPES2 = /* @__PURE__ */ new Set([HITL_CODED_ACTION_NODE_TYPE2]);
15828
+ function isHitlCodedActionNodeType2(t) {
15829
+ return HITL_CODED_ACTION_NODE_TYPES2.has(t);
15830
+ }
15831
+ function isHumanActionNodeType2(t) {
15832
+ return HITL_NODE_TYPES2.has(t) || isEscalationNode2(t);
15833
+ }
15834
+ var IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2 = "x-uipath-schema-editor-draft";
15835
+ var IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2 = "x-uipath-schema-editor-issues";
15836
+ var IXP_SCHEMA_INVALID_ERROR_CODE2 = "IXP_SCHEMA_INVALID";
15837
+ var IXP_MAX_FIELD_GROUP_NAME_LENGTH2 = 64;
15838
+ var IXP_MAX_FIELD_NAME_LENGTH2 = 64;
15839
+ var IXP_MAX_FIELD_TYPE_NAME_LENGTH2 = 64;
15840
+ var IXP_MAX_INSTRUCTIONS_LENGTH2 = 4096;
15841
+ var IXP_GROUP_PATH_SEPARATOR2 = " > ";
15842
+ var IXP_SCHEMA_LIMIT_EXCEEDED_ERROR_CODE2 = "IXP_SCHEMA_LIMIT_EXCEEDED";
15843
+ function readIxpSchemaEditorDraft2(value) {
15844
+ const schema = asRecord2(value);
15845
+ if (!schema || !Object.hasOwn(schema, IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2)) {
15846
+ return;
15847
+ }
15848
+ const rawIssues = schema[IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2];
15849
+ const issues = Array.isArray(rawIssues) ? rawIssues : [];
15850
+ const issueMessages = issues.flatMap((issue) => {
15851
+ const message = asNonEmptyString2(asRecord2(issue)?.message);
15852
+ return message ? [message] : [];
15853
+ });
15854
+ return {
15855
+ draft: schema[IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2],
15856
+ issues,
15857
+ issueMessages
15858
+ };
15859
+ }
15860
+ function stripIxpSchemaEditorDraft2(value) {
15861
+ const {
15862
+ [IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2]: _draft,
15863
+ [IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2]: _issues,
15864
+ ...schema
15865
+ } = value;
15866
+ return schema;
15867
+ }
15868
+ function attachIxpSchemaEditorDraft2(schema, draft, issues) {
15869
+ return {
15870
+ ...schema,
15871
+ [IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2]: draft,
15872
+ [IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2]: issues
15873
+ };
15874
+ }
15875
+ function readExtractionOutputSchema2(taxonomy) {
15876
+ if (!isPlainObject2(taxonomy))
15877
+ return;
15878
+ const wrapped = taxonomy.outputSchema;
15879
+ if (isPlainObject2(wrapped))
15880
+ return wrapped;
15881
+ return isPlainObject2(taxonomy.properties) || taxonomy.type === "object" ? taxonomy : undefined;
15882
+ }
15883
+
15884
+ // ../../node_modules/@uipath/flow-schema/dist/chunk-CQS3MOJQ.js
15976
15885
  var import_ajv = __toESM(require_ajv(), 1);
15977
15886
  var import_ajv_errors = __toESM(require_dist(), 1);
15978
15887
 
@@ -28669,7 +28578,7 @@ var ternary = {
28669
28578
  };
28670
28579
  jsep.plugins.register(ternary);
28671
28580
 
28672
- // ../../node_modules/@uipath/flow-schema/dist/chunk-HI5GJO4X.js
28581
+ // ../../node_modules/@uipath/flow-schema/dist/chunk-CQS3MOJQ.js
28673
28582
  function isBlockingSeverity2(severity) {
28674
28583
  return severity === "error" || severity === "critical";
28675
28584
  }
@@ -29575,58 +29484,6 @@ var outputMappingRule2 = {
29575
29484
  return errors;
29576
29485
  }
29577
29486
  };
29578
- var ESCALATION_QUICK_FORM_NODE_TYPE2 = "uipath.agent.resource.escalation.quick-form";
29579
- var ESCALATION_TASK_TYPE2 = {
29580
- AppTask: "app-task",
29581
- QuickForm: "quick-form",
29582
- DocumentValidationTask: "document-validation-task"
29583
- };
29584
- var ESCALATION_TYPE_CODE2 = {
29585
- AppTask: 0,
29586
- DocumentValidationTask: 1
29587
- };
29588
- var ESCALATION_TASK_TYPES = new Set(Object.values(ESCALATION_TASK_TYPE2));
29589
- function resolveEscalationTaskType2(nodeType2, inputsType) {
29590
- if (nodeType2 === ESCALATION_QUICK_FORM_NODE_TYPE2)
29591
- return ESCALATION_TASK_TYPE2.QuickForm;
29592
- if (typeof inputsType === "string" && ESCALATION_TASK_TYPES.has(inputsType))
29593
- return inputsType;
29594
- return ESCALATION_TASK_TYPE2.AppTask;
29595
- }
29596
- var AGENT_RESOURCE_SOURCE_HANDLES2 = ["memory", "context", "tool", "escalation", "mcp"];
29597
- var isToolNode2 = (nodeType2) => {
29598
- return nodeType2.startsWith("uipath.agent.resource.tool.");
29599
- };
29600
- var isContextNode2 = (nodeType2) => {
29601
- return nodeType2.startsWith("uipath.agent.resource.context.");
29602
- };
29603
- var DATAFABRIC_ENTITYSET_NODE_TYPE2 = "uipath.agent.resource.context.datafabricentityset";
29604
- var DATAFABRIC_ENTITYSET_CONTEXT_TYPE2 = "datafabricentityset";
29605
- var isDataFabricEntitySetContextNode2 = (nodeType2) => {
29606
- return nodeType2 === DATAFABRIC_ENTITYSET_NODE_TYPE2;
29607
- };
29608
- var isEscalationNode2 = (nodeType2) => {
29609
- return nodeType2.startsWith("uipath.agent.resource.escalation");
29610
- };
29611
- var isQuickFormEscalationNode2 = (nodeType2) => {
29612
- return nodeType2 === ESCALATION_QUICK_FORM_NODE_TYPE2;
29613
- };
29614
- var isMcpNode2 = (nodeType2) => {
29615
- return nodeType2.startsWith("uipath.agent.resource.tool.mcp.");
29616
- };
29617
- var isA2aNode2 = (nodeType2) => {
29618
- return nodeType2.startsWith("uipath.agent.resource.tool.a2a.");
29619
- };
29620
- var CONVERSATIONAL_A2A_NODE_TYPE_PREFIX2 = "uipath.agent.resource.tool.conversational-a2a.";
29621
- var isConversationalA2aNode2 = (nodeType2) => {
29622
- return nodeType2.startsWith(CONVERSATIONAL_A2A_NODE_TYPE_PREFIX2);
29623
- };
29624
- var isMemoryNode2 = (nodeType2) => {
29625
- return nodeType2.startsWith("uipath.agent.resource.memory.");
29626
- };
29627
- var isAgentResourceNode2 = (nodeType2) => {
29628
- return isToolNode2(nodeType2) || isContextNode2(nodeType2) || isEscalationNode2(nodeType2) || isMemoryNode2(nodeType2);
29629
- };
29630
29487
  var DEFAULT_STORAGE_VERSION2 = currentStorageSchema2.version;
29631
29488
  var _defaultAgentContent;
29632
29489
  function getDefaultAgentContent2() {
@@ -29693,6 +29550,9 @@ function isEscalationNode22(node) {
29693
29550
  function isAgentResourceNode22(node) {
29694
29551
  return isAgentResourceNodeType2(getNodeType(node));
29695
29552
  }
29553
+ function isEnabledNode(node) {
29554
+ return node.data?.disabled !== true;
29555
+ }
29696
29556
  function checkTemperature(node, gov) {
29697
29557
  if (gov.maxTemperature == null || gov.maxTemperature <= 0)
29698
29558
  return null;
@@ -29779,13 +29639,13 @@ function checkModelAvailability(node, availableModelNames, policyName) {
29779
29639
  function checkHitl(node, gov, nodes, edges) {
29780
29640
  if (!gov.shouldEnforceHumanInTheLoop)
29781
29641
  return null;
29782
- const hasEscalationResource = edges.some((edge) => edge.source === node.id && edge.sourceHandle === "escalation" && nodes.some((n) => n.id === edge.target && isEscalationNode22(n)));
29642
+ const hasEscalationResource = edges.some((edge) => edge.source === node.id && edge.sourceHandle === "escalation" && nodes.some((n) => n.id === edge.target && isEscalationNode22(n) && isEnabledNode(n)));
29783
29643
  if (hasEscalationResource)
29784
29644
  return null;
29785
29645
  if (hasEscalationGuardrail(node))
29786
29646
  return null;
29787
29647
  const linkedTargetIds = new Set(edges.filter((edge) => edge.source === node.id).map((edge) => edge.target));
29788
- const hasLinkedEscalationGuardrail = nodes.some((n) => linkedTargetIds.has(n.id) && isAgentResourceNode22(n) && hasEscalationGuardrail(n));
29648
+ const hasLinkedEscalationGuardrail = nodes.some((n) => linkedTargetIds.has(n.id) && isAgentResourceNode22(n) && isEnabledNode(n) && hasEscalationGuardrail(n));
29789
29649
  if (hasLinkedEscalationGuardrail)
29790
29650
  return null;
29791
29651
  return {
@@ -30021,38 +29881,6 @@ var agentDuplicateToolNamesRule2 = {
30021
29881
  return errors;
30022
29882
  }
30023
29883
  };
30024
- var HITL_NODE_TYPE2 = "uipath.human-in-the-loop";
30025
- var HITL_QUICK_FORM_NODE_TYPE2 = "uipath.human-in-the-loop.quick-form";
30026
- var HITL_CODED_ACTION_NODE_TYPE2 = "uipath.human-in-the-loop.coded-action-app";
30027
- var HITL_DOC_VALIDATION_NODE_TYPE2 = "uipath.human-in-the-loop.document-validation";
30028
- var HITL_DOC_CLASSIFICATION_NODE_TYPE2 = "uipath.human-in-the-loop.document-classification";
30029
- var HITL_DECISION_AUTO_NODE_TYPE2 = "uipath.decision";
30030
- var DYNAMIC_EXTRACT_NODE_TYPE2 = "uipath.ixp.extract-document-builder";
30031
- var FORM_TRIGGER_NODE_TYPE2 = "core.trigger.form";
30032
- var QUEUE_BULK_ADD_NODE_TYPE2 = "core.action.queue.bulk-add";
30033
- var UI_ONLY_NODE_TYPES3 = /* @__PURE__ */ new Set(["stickyNote"]);
30034
- var HITL_NODE_TYPES2 = /* @__PURE__ */ new Set([
30035
- HITL_QUICK_FORM_NODE_TYPE2,
30036
- HITL_CODED_ACTION_NODE_TYPE2,
30037
- HITL_DOC_VALIDATION_NODE_TYPE2,
30038
- HITL_DOC_CLASSIFICATION_NODE_TYPE2,
30039
- HITL_DECISION_AUTO_NODE_TYPE2,
30040
- HITL_NODE_TYPE2
30041
- ]);
30042
- function isHitlNodeType2(t16) {
30043
- return HITL_NODE_TYPES2.has(t16);
30044
- }
30045
- var HITL_QUICK_FORM_NODE_TYPES2 = /* @__PURE__ */ new Set([HITL_QUICK_FORM_NODE_TYPE2, HITL_DECISION_AUTO_NODE_TYPE2]);
30046
- function isHitlQuickFormNodeType2(t16) {
30047
- return HITL_QUICK_FORM_NODE_TYPES2.has(t16);
30048
- }
30049
- var HITL_CODED_ACTION_NODE_TYPES2 = /* @__PURE__ */ new Set([HITL_CODED_ACTION_NODE_TYPE2]);
30050
- function isHitlCodedActionNodeType2(t16) {
30051
- return HITL_CODED_ACTION_NODE_TYPES2.has(t16);
30052
- }
30053
- function isHumanActionNodeType2(t16) {
30054
- return HITL_NODE_TYPES2.has(t16) || isEscalationNode2(t16);
30055
- }
30056
29884
  var HITL_VARS_REF = /\$?vars\.([A-Za-z_$][\w$]*)/g;
30057
29885
  function nodeType(node) {
30058
29886
  return node.data?.type ?? node.type ?? "";
@@ -31368,7 +31196,7 @@ function validateJevClassifierConfig2(raw, resolveVariable) {
31368
31196
  };
31369
31197
  const checkType = (path, argumentPath, expected, key, defaultValue, params = {}) => {
31370
31198
  const variable = argumentPath ? resolveVariable?.(argumentPath) : undefined;
31371
- if (!variable || isVariableTypeCompatible2(variable.type, variable.isArray, expected))
31199
+ if (!variable || isVariableTypeCompatible2(expected, variable.type, variable.isArray))
31372
31200
  return;
31373
31201
  emit(path, key, defaultValue, { ...params, expected, actual: variable.type ?? "unknown" });
31374
31202
  };
@@ -31521,55 +31349,6 @@ var agentOutputRequiredRule = {
31521
31349
  return errors;
31522
31350
  }
31523
31351
  };
31524
- var IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2 = "x-uipath-schema-editor-draft";
31525
- var IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2 = "x-uipath-schema-editor-issues";
31526
- var IXP_SCHEMA_INVALID_ERROR_CODE2 = "IXP_SCHEMA_INVALID";
31527
- var IXP_MAX_FIELD_GROUP_NAME_LENGTH2 = 64;
31528
- var IXP_MAX_FIELD_NAME_LENGTH2 = 64;
31529
- var IXP_MAX_FIELD_TYPE_NAME_LENGTH2 = 64;
31530
- var IXP_MAX_INSTRUCTIONS_LENGTH2 = 4096;
31531
- var IXP_GROUP_PATH_SEPARATOR2 = " > ";
31532
- var IXP_SCHEMA_LIMIT_EXCEEDED_ERROR_CODE2 = "IXP_SCHEMA_LIMIT_EXCEEDED";
31533
- function readIxpSchemaEditorDraft2(value) {
31534
- const schema = asRecord2(value);
31535
- if (!schema || !Object.hasOwn(schema, IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2)) {
31536
- return;
31537
- }
31538
- const rawIssues = schema[IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2];
31539
- const issues = Array.isArray(rawIssues) ? rawIssues : [];
31540
- const issueMessages = issues.flatMap((issue) => {
31541
- const message = asNonEmptyString2(asRecord2(issue)?.message);
31542
- return message ? [message] : [];
31543
- });
31544
- return {
31545
- draft: schema[IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2],
31546
- issues,
31547
- issueMessages
31548
- };
31549
- }
31550
- function stripIxpSchemaEditorDraft2(value) {
31551
- const {
31552
- [IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2]: _draft,
31553
- [IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2]: _issues,
31554
- ...schema
31555
- } = value;
31556
- return schema;
31557
- }
31558
- function attachIxpSchemaEditorDraft2(schema, draft, issues) {
31559
- return {
31560
- ...schema,
31561
- [IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2]: draft,
31562
- [IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2]: issues
31563
- };
31564
- }
31565
- function readExtractionOutputSchema2(taxonomy) {
31566
- if (!isPlainObject2(taxonomy))
31567
- return;
31568
- const wrapped = taxonomy.outputSchema;
31569
- if (isPlainObject2(wrapped))
31570
- return wrapped;
31571
- return isPlainObject2(taxonomy.properties) || taxonomy.type === "object" ? taxonomy : undefined;
31572
- }
31573
31352
  function createSchemaDraftError(node, nodeLabel, detail) {
31574
31353
  const localization = detail ? localized("ixpSchemaDraft_invalidWithDetail_message", { nodeLabel, detail }, 'Schema is not valid on "{{nodeLabel}}": {{detail}}') : localized("ixpSchemaDraft_invalid_message", { nodeLabel }, 'Schema is not valid on "{{nodeLabel}}".');
31575
31354
  return {
@@ -31930,6 +31709,12 @@ var escalationValidationRule = {
31930
31709
  };
31931
31710
  var ASSETS_PREFIX2 = "$assets";
31932
31711
  var VARS_PREFIX2 = "$vars";
31712
+ function isAssetVariablePath2(name) {
31713
+ return name === ASSETS_PREFIX2 || name.startsWith(`${ASSETS_PREFIX2}.`);
31714
+ }
31715
+ function isVarsVariablePath2(name) {
31716
+ return name === VARS_PREFIX2 || name.startsWith(`${VARS_PREFIX2}.`);
31717
+ }
31933
31718
  var METADATA_PREFIX2 = "$metadata";
31934
31719
  var AGENT_PREFIX2 = "$agent";
31935
31720
  var INPUT_IDENTIFIER2 = "input";
@@ -31952,9 +31737,9 @@ var PATH_SEGMENT_REGEX = new RegExp(String.raw`(?:^|\.)(${VARIABLE_PATH_IDENTIFI
31952
31737
  var SIMPLE_ESCAPES = { b: "\b", f: "\f", n: `
31953
31738
  `, r: "\r", t: "\t", v: "\v", "0": "\x00" };
31954
31739
  var ESCAPE_REGEX = /\\(?:x([\da-fA-F]{2})|u([\da-fA-F]{4})|u\{([\da-fA-F]{1,6})\}|(.))/gs;
31955
- function decodeQuotedKey2(literal2) {
31740
+ function decodeQuotedKey2(literal) {
31956
31741
  let invalid = false;
31957
- const body = literal2.slice(1, -1).replace(ESCAPE_REGEX, (_m, hex, u4, uBraced, ch) => {
31742
+ const body = literal.slice(1, -1).replace(ESCAPE_REGEX, (_m, hex, u4, uBraced, ch) => {
31958
31743
  const code = hex ?? u4 ?? uBraced;
31959
31744
  if (code !== undefined) {
31960
31745
  const point = Number.parseInt(code, 16);
@@ -32597,6 +32382,7 @@ var PROBLEM_CODES = {
32597
32382
  uncarryableRelationPath: "ENTITY_QUERY_UNCARRYABLE_RELATION_PATH",
32598
32383
  unfilteredSingle: "ENTITY_QUERY_SINGLE_RECORD_UNFILTERED",
32599
32384
  incompleteSingleRow: "ENTITY_QUERY_SINGLE_RECORD_ROW_INCOMPLETE",
32385
+ nonUniqueSingleField: "ENTITY_QUERY_SINGLE_RECORD_FIELD_NOT_UNIQUE",
32600
32386
  requiredMissing: "ENTITY_WRITE_REQUIRED_FIELD_MISSING",
32601
32387
  requiredBlanked: "ENTITY_WRITE_REQUIRED_FIELD_BLANKED",
32602
32388
  fieldMissing: "ENTITY_SCHEMA_FIELD_MISSING",
@@ -32700,6 +32486,8 @@ function problemMessage(problem, relationPath, fields) {
32700
32486
  return localized("entityQuery_unfilteredSingleRecord_message", {}, "Add a condition, or read multiple records instead");
32701
32487
  case "incompleteSingleRow":
32702
32488
  return localized("entityQuery_incompleteSingleRecordRow_message", {}, "Select a field and enter a value");
32489
+ case "nonUniqueSingleField":
32490
+ return localized("entityQuery_nonUniqueSingleRecordField_message", { field: fields ?? "" }, "{{field}} is no longer unique. Select a unique field.");
32703
32491
  case "uncarryable":
32704
32492
  return localized("entityQuery_uncarryableExpression_message", {}, "Store this expression in a variable, or write it without spaces, quotes, or backslashes");
32705
32493
  case "requiredMissing":
@@ -32731,6 +32519,7 @@ var entityQueryExpressionRule = {
32731
32519
  const entityConfig = node.data.inputs?.entityConfig ?? {};
32732
32520
  let problem;
32733
32521
  let relationPath;
32522
+ let problemField;
32734
32523
  if (node.type === READ_ENTITY) {
32735
32524
  const multiRecord = resolveReadResultMode(entityConfig) === "multiple";
32736
32525
  const filters = multiRecord ? readEntityFilterRows(entityConfig._filters) : readEntitySingleRecordFilterRows(entityConfig._filters);
@@ -32753,6 +32542,9 @@ var entityQueryExpressionRule = {
32753
32542
  if (relation) {
32754
32543
  problem = relation.problem;
32755
32544
  relationPath = relation.path;
32545
+ } else if (!multiRecord && readEntitySingleRecordFieldIsNotUnique2(filters[0], entityConfig._entityFields)) {
32546
+ problem = "nonUniqueSingleField";
32547
+ problemField = filters[0].field?.trim();
32756
32548
  } else if (!multiRecord && readStringField(entityConfig.entityName).trim() !== "" && !filters.some((f) => readEntityFilterRowYieldsPredicate(f, false))) {
32757
32549
  problem = filters.length === 0 ? "unfilteredSingle" : "incompleteSingleRow";
32758
32550
  }
@@ -32768,7 +32560,7 @@ var entityQueryExpressionRule = {
32768
32560
  if (problem) {
32769
32561
  errors.push({
32770
32562
  code: PROBLEM_CODES[problem],
32771
- ...problemMessage(problem, relationPath),
32563
+ ...problemMessage(problem, relationPath, problemField),
32772
32564
  severity: "error",
32773
32565
  nodeId: node.id,
32774
32566
  fieldPath: "inputs.entityConfig",
@@ -33174,6 +32966,986 @@ var conversationTriggerStartingPromptsRule = {
33174
32966
  return errors;
33175
32967
  }
33176
32968
  };
32969
+ function normalizeMaxInstances2(max) {
32970
+ if (max === undefined)
32971
+ return;
32972
+ return typeof max === "number" ? { "": max } : max;
32973
+ }
32974
+ var nodeTypeOf = (node) => node.data?.type ?? node.type;
32975
+ var nodeMaxInstancesRule = {
32976
+ id: "node-max-instances",
32977
+ severity: "error",
32978
+ validate(ctx) {
32979
+ const errors = [];
32980
+ const flowSeen = /* @__PURE__ */ new Map;
32981
+ const ownerSeen = /* @__PURE__ */ new Map;
32982
+ const ownerByNode = /* @__PURE__ */ new Map;
32983
+ for (const edge of ctx.edges)
32984
+ ownerByNode.set(edge.target, edge.source);
32985
+ const typeById = /* @__PURE__ */ new Map;
32986
+ for (const node of ctx.nodes) {
32987
+ const type = nodeTypeOf(node);
32988
+ if (type)
32989
+ typeById.set(node.id, type);
32990
+ }
32991
+ for (const node of ctx.nodes) {
32992
+ const nodeType2 = nodeTypeOf(node);
32993
+ if (!nodeType2)
32994
+ continue;
32995
+ const caps = normalizeMaxInstances2(getManifestForNode2(node, ctx.manifests)?.maxInstances);
32996
+ if (!caps)
32997
+ continue;
32998
+ let violatedCap;
32999
+ const flowCap = caps[""];
33000
+ if (typeof flowCap === "number" && flowCap >= 1) {
33001
+ const n = (flowSeen.get(nodeType2) ?? 0) + 1;
33002
+ flowSeen.set(nodeType2, n);
33003
+ if (n > flowCap)
33004
+ violatedCap = flowCap;
33005
+ }
33006
+ const owner = ownerByNode.get(node.id);
33007
+ const ownerType = owner ? typeById.get(owner) : undefined;
33008
+ const ownerCap = ownerType ? caps[ownerType] : undefined;
33009
+ if (typeof ownerCap === "number" && ownerCap >= 1) {
33010
+ const n = (ownerSeen.get(`${owner}\x00${nodeType2}`) ?? 0) + 1;
33011
+ ownerSeen.set(`${owner}\x00${nodeType2}`, n);
33012
+ if (n > ownerCap)
33013
+ violatedCap = violatedCap === undefined ? ownerCap : Math.min(violatedCap, ownerCap);
33014
+ }
33015
+ if (violatedCap === undefined)
33016
+ continue;
33017
+ const label = getManifestForNode2(node, ctx.manifests)?.display?.label ?? nodeType2;
33018
+ errors.push({
33019
+ code: "NODE_MAX_INSTANCES_EXCEEDED",
33020
+ ...localized("nodeMaxInstances_exceeded_message", { label, max: violatedCap }, 'Only {{max}} "{{label}}" node is allowed. Remove the extra one.'),
33021
+ severity: "error",
33022
+ nodeId: node.id,
33023
+ layer: "node"
33024
+ });
33025
+ }
33026
+ return errors;
33027
+ }
33028
+ };
33029
+ var generalRules2 = [
33030
+ schemaValidationRule2,
33031
+ minConnectionsRule2,
33032
+ triggerRequiredRule2,
33033
+ outputMappingRule2,
33034
+ dataTransformRule2,
33035
+ governanceRule2,
33036
+ escalationValidationRule,
33037
+ agentInputRefsRule,
33038
+ agentDuplicateToolNamesRule2,
33039
+ agentEmptyVarRule2,
33040
+ agentFileNotAnalyzedRule,
33041
+ agentJevClassifierRule2,
33042
+ conversationalRequiredFieldsRule,
33043
+ conversationalVoiceCallContextRule,
33044
+ conversationalVoiceEndCallContextRule,
33045
+ agentOutputRequiredRule,
33046
+ hitlQuickFormRule,
33047
+ hitlCompletedRule,
33048
+ hitlDocValidationRule,
33049
+ ixpSchemaDraftRule2,
33050
+ ixpSchemaLimitsRule2,
33051
+ scriptMustacheRule,
33052
+ entityQueryExpressionRule,
33053
+ singleConversationTriggerRule,
33054
+ errorHandlerPlacementRule,
33055
+ doWhileLimitRule,
33056
+ timeLimitDurationRule,
33057
+ retryConfigRule,
33058
+ agenticSwitchDuplicateChoicesRule,
33059
+ conversationTriggerStartingPromptsRule,
33060
+ nodeIdFormatRule,
33061
+ nodeMaxInstancesRule,
33062
+ patternPlaceholderRule2
33063
+ ];
33064
+ var cliRules2 = generalRules2;
33065
+ function runRules2(rules, ctx) {
33066
+ const errors = [];
33067
+ for (const rule of rules) {
33068
+ try {
33069
+ errors.push(...rule.validate(ctx));
33070
+ } catch (err) {
33071
+ console.error(`[validation] rule '${rule.id}' threw and was skipped`, err);
33072
+ }
33073
+ }
33074
+ return errors;
33075
+ }
33076
+ var SWITCH_CASE_HANDLE_PREFIX2 = "case-";
33077
+ var switchCaseHandle2 = (caseId) => `${SWITCH_CASE_HANDLE_PREFIX2}${caseId}`;
33078
+ function asString2(value) {
33079
+ const raw = isExpressionValue2(value) && value.type === "literal" ? decodeLiteral2(value) : value;
33080
+ return typeof raw === "string" && raw.trim() ? raw : undefined;
33081
+ }
33082
+ function asBoolean(value) {
33083
+ const raw = isExpressionValue2(value) && value.type === "literal" ? decodeLiteral2(value) : value;
33084
+ return typeof raw === "boolean" ? raw : undefined;
33085
+ }
33086
+ function asExpressionText(value) {
33087
+ const raw = isExpressionValue2(value) ? value.type === "jsExpression" ? value.expression : undefined : typeof value === "string" ? value : undefined;
33088
+ if (raw === undefined)
33089
+ return;
33090
+ const stripped = raw.startsWith(JS_EXPRESSION_PREFIX2) ? raw.slice(JS_EXPRESSION_PREFIX2.length) : raw;
33091
+ return asString2(stripped);
33092
+ }
33093
+ function getDecisionBranches(inputs) {
33094
+ const expression = asExpressionText(inputs.expression);
33095
+ const trueLabel = asString2(inputs.trueLabel);
33096
+ const falseLabel = asString2(inputs.falseLabel);
33097
+ const effective = expression ?? "false";
33098
+ return [
33099
+ {
33100
+ id: "true",
33101
+ handle: "true",
33102
+ label: trueLabel ?? "True",
33103
+ authoredLabel: trueLabel,
33104
+ expression,
33105
+ condition: effective,
33106
+ isFallback: false
33107
+ },
33108
+ {
33109
+ id: "false",
33110
+ handle: "false",
33111
+ label: falseLabel ?? "False",
33112
+ authoredLabel: falseLabel,
33113
+ expression,
33114
+ condition: `!(${effective}
33115
+ )`,
33116
+ isFallback: true
33117
+ }
33118
+ ];
33119
+ }
33120
+ function getCaseEntries(inputs) {
33121
+ const cases = Array.isArray(inputs.cases) ? inputs.cases : [];
33122
+ return cases.filter((entry) => typeof entry === "object" && entry !== null);
33123
+ }
33124
+ function getSwitchBranches(inputs) {
33125
+ const branches = [];
33126
+ getCaseEntries(inputs).forEach(({ id, label, expression }, index) => {
33127
+ const handleId = asString2(id);
33128
+ if (!handleId)
33129
+ return;
33130
+ const branchExpression = asExpressionText(expression);
33131
+ const caseLabel = asString2(label);
33132
+ branches.push({
33133
+ id: handleId,
33134
+ handle: switchCaseHandle2(handleId),
33135
+ label: caseLabel ?? `Case ${index + 1}`,
33136
+ authoredLabel: caseLabel,
33137
+ expression: branchExpression,
33138
+ condition: branchExpression ?? "false",
33139
+ isFallback: false
33140
+ });
33141
+ });
33142
+ const defaultBranch = inputs.defaultBranch;
33143
+ const defaultLabel = asString2(defaultBranch?.label);
33144
+ branches.push({
33145
+ id: "default",
33146
+ handle: "default",
33147
+ label: defaultLabel ?? "Default",
33148
+ authoredLabel: defaultLabel,
33149
+ isFallback: true
33150
+ });
33151
+ return branches;
33152
+ }
33153
+ function getSwitchBranchLabels(inputs) {
33154
+ const defaultBranch = inputs.defaultBranch;
33155
+ const enabled = asBoolean(defaultBranch?.enabled);
33156
+ return {
33157
+ cases: getCaseEntries(inputs).map(({ id, label }) => ({ id: asString2(id), label: asString2(label) })),
33158
+ defaultBranch: { label: asString2(defaultBranch?.label), ...enabled !== undefined && { enabled } },
33159
+ ...asBoolean(inputs.matchAllCases) === true && { matchAllCases: true }
33160
+ };
33161
+ }
33162
+ var GATEWAYS = Object.assign(/* @__PURE__ */ Object.create(null), {
33163
+ [DECISION_NODE_TYPE2]: {
33164
+ getBranches: getDecisionBranches,
33165
+ getBranchConditionSources: (inputs) => [inputs],
33166
+ getBranchLabels: (inputs) => ({ trueLabel: asString2(inputs.trueLabel), falseLabel: asString2(inputs.falseLabel) })
33167
+ },
33168
+ [SWITCH_NODE_TYPE2]: {
33169
+ getBranches: getSwitchBranches,
33170
+ getBranchConditionSources: getCaseEntries,
33171
+ getBranchLabels: getSwitchBranchLabels
33172
+ }
33173
+ });
33174
+ var getGateway = (nodeType2) => nodeType2 ? GATEWAYS[nodeType2] : undefined;
33175
+ function isGatewayNodeType2(nodeType2) {
33176
+ return getGateway(nodeType2) !== undefined;
33177
+ }
33178
+ var SYNTHETIC_GATEWAY_OUTPUT_KEYS2 = ["matchedCase", "matchedCaseId"];
33179
+ function omitSyntheticGatewayOutputs2(nodeType2, outputs) {
33180
+ if (!outputs || !isGatewayNodeType2(nodeType2))
33181
+ return outputs;
33182
+ const { matchedCase: _case, matchedCaseId: _caseId, ...rest } = outputs;
33183
+ return rest;
33184
+ }
33185
+ function isMatchAllCasesSwitch2(nodeType2, inputs) {
33186
+ return nodeType2 === SWITCH_NODE_TYPE2 && asBoolean(inputs?.matchAllCases) === true;
33187
+ }
33188
+ function getGatewayBranches2(nodeType2, inputs) {
33189
+ return getGateway(nodeType2)?.getBranches(inputs ?? {}) ?? [];
33190
+ }
33191
+ function getGatewayConditionSources2(nodeType2, inputs) {
33192
+ return inputs ? getGateway(nodeType2)?.getBranchConditionSources(inputs) ?? [] : [];
33193
+ }
33194
+ function getGatewayBranchLabels2(nodeType2, inputs) {
33195
+ return inputs ? getGateway(nodeType2)?.getBranchLabels(inputs) : undefined;
33196
+ }
33197
+ function rewriteGatewayExpressions2(rewrite, nodeType2, inputs) {
33198
+ for (const source of getGatewayConditionSources2(nodeType2, inputs)) {
33199
+ if (typeof source.expression === "string" && !source.expression.startsWith("=")) {
33200
+ source.expression = rewrite(source.expression);
33201
+ }
33202
+ }
33203
+ }
33204
+ function toSerializedNode2(node, extraData) {
33205
+ return {
33206
+ id: node.id,
33207
+ type: node.type,
33208
+ data: {
33209
+ inputs: node.inputs ?? {},
33210
+ outputs: node.outputs ?? {},
33211
+ ...node.typeVersion !== undefined && { typeVersion: node.typeVersion },
33212
+ ...node.display != null && { display: node.display, label: node.display.label },
33213
+ ...node.disabled === true && { disabled: true },
33214
+ ...extraData
33215
+ },
33216
+ ...node.parentId ? { parentId: node.parentId } : {}
33217
+ };
33218
+ }
33219
+ function toSerializedNodes2(nodes, extraData) {
33220
+ return nodes.map((node) => toSerializedNode2(node, extraData?.(node)));
33221
+ }
33222
+
33223
+ // ../../node_modules/@uipath/flow-schema/dist/chunk-6K2RJTR3.js
33224
+ var EXTRACTION_METHOD = "external_llm";
33225
+ function collectWorkflowNodes2(workflow) {
33226
+ const nodes = [];
33227
+ if (Array.isArray(workflow?.nodes))
33228
+ nodes.push(...workflow.nodes);
33229
+ if (workflow?.subflows && typeof workflow.subflows === "object") {
33230
+ for (const entry of Object.values(workflow.subflows)) {
33231
+ if (Array.isArray(entry?.nodes))
33232
+ nodes.push(...entry.nodes);
33233
+ }
33234
+ }
33235
+ return nodes;
33236
+ }
33237
+ function isDynamicExtractNodeType2(type) {
33238
+ return type === DYNAMIC_EXTRACT_NODE_TYPE2;
33239
+ }
33240
+ function asRecord23(value) {
33241
+ return typeof value === "object" && value !== null ? value : undefined;
33242
+ }
33243
+ function readModelConfig(inputs) {
33244
+ const modelConfig = asRecord23(inputs)?.modelConfig;
33245
+ return asRecord23(modelConfig);
33246
+ }
33247
+ function readNodeLabel(node) {
33248
+ const direct = node?.label;
33249
+ if (typeof direct === "string" && direct.trim().length > 0)
33250
+ return direct;
33251
+ const label = asRecord23(node?.display)?.label;
33252
+ return typeof label === "string" && label.trim().length > 0 ? label : undefined;
33253
+ }
33254
+ function readNodeDescription(node) {
33255
+ const description = asRecord23(node?.display)?.subLabel;
33256
+ return typeof description === "string" ? description : "";
33257
+ }
33258
+ var ATTRIBUTION_TO_API_STRATEGY = {
33259
+ word_ids: "WordId",
33260
+ table_heuristic: "TableHeuristic"
33261
+ };
33262
+ var EXECUTION_MODE_TO_API_STRATEGY = {
33263
+ standard: "SingleExtract",
33264
+ advanced_harness: "DynamicExtract",
33265
+ agentic: "Agentic"
33266
+ };
33267
+ function toApiExtractionStrategy(executionMode) {
33268
+ return executionMode && EXECUTION_MODE_TO_API_STRATEGY[executionMode] || "SingleExtract";
33269
+ }
33270
+ var MODEL_VERSION_TO_LLM_GATEWAY_ID = {
33271
+ gpt_4o_2024_05_13: "gpt-4o-2024-08-06",
33272
+ gpt_5_1_2025_11_13: "gpt-5.1-2025-11-13",
33273
+ gpt_5_4_2026_03_05: "gpt-5.4-2026-03-05",
33274
+ gemini_2_5_flash: "gemini-2.5-flash",
33275
+ gemini_2_5_pro: "gemini-2.5-pro",
33276
+ gemini_3_1_pro_preview: "gemini-3.1-pro-preview",
33277
+ gemini_3_1_flash_lite_preview: "gemini-3.1-flash-lite"
33278
+ };
33279
+ function toGatewayModelId(version) {
33280
+ return MODEL_VERSION_TO_LLM_GATEWAY_ID[version] ?? version;
33281
+ }
33282
+ var isHelixModelVersion = (version) => version.toLowerCase().startsWith("helix");
33283
+ function tryLlmGatewayModelId(version) {
33284
+ if (!version)
33285
+ return;
33286
+ const mapped = MODEL_VERSION_TO_LLM_GATEWAY_ID[version];
33287
+ if (mapped)
33288
+ return mapped;
33289
+ return isHelixModelVersion(version) ? undefined : version;
33290
+ }
33291
+ function tryApiAttributionStrategy(attribution) {
33292
+ return attribution ? ATTRIBUTION_TO_API_STRATEGY[attribution] : undefined;
33293
+ }
33294
+ function resolveApiAttributionStrategy(attribution, executionMode) {
33295
+ const member = tryApiAttributionStrategy(attribution);
33296
+ if (member === "TableHeuristic" && toApiExtractionStrategy(executionMode) !== "SingleExtract")
33297
+ return "WordId";
33298
+ return member;
33299
+ }
33300
+ function tryApiAttributionModelOverride(attributionModel, attributionStrategy) {
33301
+ return attributionStrategy === "WordId" ? attributionModel?.trim() || undefined : undefined;
33302
+ }
33303
+ function fromLlmGatewayModelId(gatewayId) {
33304
+ if (!gatewayId)
33305
+ return;
33306
+ const entry = Object.entries(MODEL_VERSION_TO_LLM_GATEWAY_ID).find(([, id]) => id === gatewayId);
33307
+ return entry ? entry[0] : gatewayId;
33308
+ }
33309
+ function fromApiAttributionStrategy(strategy) {
33310
+ if (!strategy)
33311
+ return;
33312
+ const entry = Object.entries(ATTRIBUTION_TO_API_STRATEGY).find(([, member]) => member === strategy);
33313
+ return entry ? entry[0] : undefined;
33314
+ }
33315
+ var LANGUAGE_SUPPORT_TO_API = {
33316
+ auto: "Auto",
33317
+ latin: "UiPath",
33318
+ extended: "UiPathExtended"
33319
+ };
33320
+ function tryApiLanguageSupport(languageSupport) {
33321
+ return languageSupport ? LANGUAGE_SUPPORT_TO_API[languageSupport] : undefined;
33322
+ }
33323
+ function fromApiLanguageSupport(member) {
33324
+ if (!member)
33325
+ return;
33326
+ const entry = Object.entries(LANGUAGE_SUPPORT_TO_API).find(([, value]) => value === member);
33327
+ return entry ? entry[0] : undefined;
33328
+ }
33329
+ function buildApiPreprocessing(config) {
33330
+ const languageSupport = tryApiLanguageSupport(config.language_support);
33331
+ const layoutEngine = config.layout_engine?.trim() || undefined;
33332
+ const layoutModel = layoutEngine ? config.layout_model?.trim() || undefined : undefined;
33333
+ const overrides = config.overrides?.trim() || undefined;
33334
+ return {
33335
+ ...languageSupport ? { languageSupport } : {},
33336
+ ...layoutEngine ? { layoutEngine } : {},
33337
+ ...layoutModel ? { layoutModel } : {},
33338
+ ...overrides ? { overrides } : {}
33339
+ };
33340
+ }
33341
+ function buildApiExtractionConfig(config) {
33342
+ const attributionStrategy = resolveApiAttributionStrategy(config.attribution, config.execution_mode);
33343
+ const attributionModelOverride = tryApiAttributionModelOverride(config.attribution_model, attributionStrategy);
33344
+ return {
33345
+ ...config.model ? { modelOverride: toGatewayModelId(config.model.version) } : {},
33346
+ ...attributionStrategy ? { attributionStrategy } : {},
33347
+ ...attributionModelOverride ? { attributionModelOverride } : {},
33348
+ extractionStrategy: toApiExtractionStrategy(config.execution_mode),
33349
+ ...buildApiPreprocessing(config)
33350
+ };
33351
+ }
33352
+ var buildPrompt = (flags, override) => {
33353
+ const fragments = [];
33354
+ if (override)
33355
+ fragments.push(override);
33356
+ fragments.push(`The user prompt will give table names and columns for one or more tables, possibly adding descriptions/hints.
33357
+ The user prompt will be in the following format, shown between triple quotes: """{"tables":<JSON set of tables prompt object>}""".
33358
+ This will be followed by one or more images of successive pages in the document.
33359
+ The JSON set of tables prompt object has table_names as keys and their values are a JSON table prompt object.
33360
+ Each JSON table prompt object is of the format between triple quotes: """{"columns":<array of JSON column prompt objects>}, """and also, optionally, a "table_description/hint" key mapping to a string value.
33361
+ A JSON column prompt object has a "column_title" key, and also, optionally, a "column_description/hint" key: both these keys map to string values.
33362
+
33363
+ For each table_name, you should consider how best to find the data for it and extract a table of zero or more rows, as appropriate, from the target document, with each column filled.
33364
+ Your response should be only a JSON object with each table_name as a key, with the corresponding value being a JSON table response object.
33365
+ Each JSON table response object must be of the form shown here between triple quotes: """{"explanation":<a string explaining how you identified the data for this table, finding all the data of this kind to put in rows of the table>,"rows":<an array of JSON row response objects>}"""
33366
+ Each JSON row response object has the table's column titles as keys with the appropriate values from the document inserted by you.
33367
+ If any column value is missing, fill in with the value "{{missing_marker}}".`);
33368
+ if (flags.includes("append_field_descriptions")) {
33369
+ fragments.push(`"tables":
33370
+ {
33371
+ "table_name": "<Field group name>",
33372
+ "table_description/hints": "<Field group description included here>",
33373
+ "columns": [
33374
+ {
33375
+ "column_title": "<Field name>",
33376
+ "column_description/hints": "<Field description included here>"
33377
+ }
33378
+ ]
33379
+ }`);
33380
+ }
33381
+ if (flags.includes("append_taxonomy_descriptions")) {
33382
+ fragments.push(`"taxonomy_description/hints": "<Taxonomy description included here>"`);
33383
+ }
33384
+ return fragments.join(`
33385
+
33386
+ `);
33387
+ };
33388
+ var MONETARY_OBJECT_KEYWORDS = ["properties", "required", "additionalProperties"];
33389
+ function isRecord(value) {
33390
+ return value !== null && typeof value === "object" && !Array.isArray(value);
33391
+ }
33392
+ function isPreV3Monetary(node) {
33393
+ if (node.format !== "monetary")
33394
+ return false;
33395
+ const types = Array.isArray(node.type) ? node.type : [node.type];
33396
+ return types.some((candidate) => candidate === "object");
33397
+ }
33398
+ function toV3Monetary(node) {
33399
+ const kept = Object.fromEntries(Object.entries(node).filter(([key]) => !MONETARY_OBJECT_KEYWORDS.includes(key) && key !== "type"));
33400
+ return { ...kept, type: ["string", "null"], format: "monetary" };
33401
+ }
33402
+ function normalizeNode(node) {
33403
+ if (Array.isArray(node))
33404
+ return node.map(normalizeNode);
33405
+ if (!isRecord(node))
33406
+ return node;
33407
+ const candidate = node;
33408
+ if (isPreV3Monetary(candidate))
33409
+ return toV3Monetary(candidate);
33410
+ return Object.fromEntries(Object.entries(node).map(([key, value]) => [key, normalizeNode(value)]));
33411
+ }
33412
+ function normalizeExtractionSchema(schema) {
33413
+ if (!isRecord(schema))
33414
+ return schema;
33415
+ const normalized = normalizeNode(schema);
33416
+ return JSON.stringify(normalized) === JSON.stringify(schema) ? schema : normalized;
33417
+ }
33418
+ function isExtractionSchema(value) {
33419
+ const schema = asRecord2(value);
33420
+ return asRecord2(schema?.config) !== undefined && typeof schema?.prompt === "string" && asRecord2(schema?.outputSchema) !== undefined;
33421
+ }
33422
+ function readExtractionSchema(inputs) {
33423
+ const document = asRecord2(inputs)?.schemaDocument;
33424
+ if (isExtractionSchema(document))
33425
+ return normalizeExtractionSchema(document);
33426
+ return asRecord2(document);
33427
+ }
33428
+ function readExtractionSchemaEditorDraft(inputs) {
33429
+ const document = asRecord2(inputs)?.schemaDocument;
33430
+ return isExtractionSchema(document) ? readIxpSchemaEditorDraft2(document) : undefined;
33431
+ }
33432
+ var readSchemaDocument = readExtractionSchema;
33433
+ function extractionConfig(schema) {
33434
+ return isExtractionSchema(schema) ? schema.config : undefined;
33435
+ }
33436
+ function extractionPrompt(schema) {
33437
+ return isExtractionSchema(schema) ? schema.prompt : schema?.taxonomy?.overallInstructions ?? "";
33438
+ }
33439
+ function hasAuthoredExtraction(schemaDocument) {
33440
+ const document = asRecord2(schemaDocument);
33441
+ if (!document)
33442
+ return false;
33443
+ if (extractionPrompt(document).trim().length > 0)
33444
+ return true;
33445
+ const properties = asRecord2(asRecord2(document.outputSchema)?.properties);
33446
+ return properties !== undefined && Object.keys(properties).length > 0;
33447
+ }
33448
+ function authoredOutputSchema(schema) {
33449
+ return isExtractionSchema(schema) ? schema.outputSchema : undefined;
33450
+ }
33451
+ var DEFAULT_EXECUTION_MODE = "standard";
33452
+ var DEFAULT_ATTRIBUTION = "word_ids";
33453
+ var DEFAULT_PRE_PROCESSING = "none";
33454
+ var DEFAULT_LANGUAGE_SUPPORT = "latin";
33455
+ var DEFAULT_LAYOUT_PARSING = "none";
33456
+ var LEGACY_PREPROCESSING = {
33457
+ none: { languageSupport: "latin", layoutParsing: "none" },
33458
+ table_model: { languageSupport: "latin", layoutParsing: "tables_forms" },
33459
+ table_model_mini: { languageSupport: "latin", layoutParsing: "tables_forms" },
33460
+ azure_table_formatting: { languageSupport: "latin", layoutParsing: "full" },
33461
+ azure_markdown: { languageSupport: "extended", layoutParsing: "full" }
33462
+ };
33463
+ function readPreprocessing(mc) {
33464
+ if (mc.language_support === undefined && mc.layout_parsing === undefined) {
33465
+ const projected = mc.input_config === undefined ? undefined : LEGACY_PREPROCESSING[mc.input_config];
33466
+ return projected ?? { languageSupport: DEFAULT_LANGUAGE_SUPPORT, layoutParsing: DEFAULT_LAYOUT_PARSING };
33467
+ }
33468
+ return {
33469
+ languageSupport: mc.language_support ?? DEFAULT_LANGUAGE_SUPPORT,
33470
+ layoutParsing: mc.layout_parsing ?? DEFAULT_LAYOUT_PARSING
33471
+ };
33472
+ }
33473
+ var trimmedOrNull = (value) => {
33474
+ const trimmed = typeof value === "string" ? value.trim() : "";
33475
+ return trimmed === "" ? null : trimmed;
33476
+ };
33477
+ function toModel(modelVersion) {
33478
+ if (!modelVersion)
33479
+ return null;
33480
+ return { family: modelVersion.split(/[-_]/)[0], version: modelVersion };
33481
+ }
33482
+ function buildExtractionConfig(modelConfig) {
33483
+ const mc = modelConfig ?? {};
33484
+ const { languageSupport, layoutParsing } = readPreprocessing(mc);
33485
+ const layoutEngine = layoutParsing === "none" ? null : trimmedOrNull(mc.layout_engine);
33486
+ const layoutModel = trimmedOrNull(mc.layout_model_version);
33487
+ const attribution = mc.attribution_method ?? DEFAULT_ATTRIBUTION;
33488
+ const executionMode = mc.execution_mode ?? DEFAULT_EXECUTION_MODE;
33489
+ const attributionModel = trimmedOrNull(mc.attribution_model_version);
33490
+ return {
33491
+ extraction_method: EXTRACTION_METHOD,
33492
+ model: toModel(mc.model_version),
33493
+ execution_mode: executionMode,
33494
+ "pre-processing": mc.input_config ?? DEFAULT_PRE_PROCESSING,
33495
+ attribution,
33496
+ language_support: languageSupport,
33497
+ layout_parsing: layoutParsing,
33498
+ layout_engine: layoutEngine,
33499
+ layout_model: layoutParsing === "full" && layoutEngine !== null && layoutModel !== null ? toGatewayModelId(layoutModel) : null,
33500
+ attribution_model: attributionModel !== null && resolveApiAttributionStrategy(attribution, executionMode) === "WordId" ? toGatewayModelId(attributionModel) : null,
33501
+ overrides: trimmedOrNull(mc.experimentalSettings),
33502
+ model_config: {
33503
+ temperature: mc.temperature ?? null,
33504
+ top_p: mc.top_p ?? null,
33505
+ seed: mc.seed ?? null,
33506
+ frequency_penalty: mc.frequency_penalty ?? null,
33507
+ prompt_override: buildPrompt(mc.flags ?? [], mc.system_prompt_override)
33508
+ }
33509
+ };
33510
+ }
33511
+ function mirrorExtractionConfig(schemaDocument, modelConfig) {
33512
+ if (!isExtractionSchema(schemaDocument) || modelConfig === undefined)
33513
+ return schemaDocument;
33514
+ const config = buildExtractionConfig(modelConfig);
33515
+ if (JSON.stringify(schemaDocument.config) === JSON.stringify(config))
33516
+ return schemaDocument;
33517
+ return { ...schemaDocument, config };
33518
+ }
33519
+ var DEFAULT_FIELD_SCHEMA = { type: ["string", "null"] };
33520
+ function splitAliases(values) {
33521
+ return (values ?? "").split(",").map((alias) => alias.trim()).filter((alias) => alias.length > 0);
33522
+ }
33523
+ function buildFieldValueSchema(kind, choices) {
33524
+ switch (kind) {
33525
+ case "Exact Text":
33526
+ return { type: ["string", "null"], format: "verbatim" };
33527
+ case "Inferred Text":
33528
+ return { type: ["string", "null"] };
33529
+ case "Date":
33530
+ return { type: ["string", "null"], format: "timestamp" };
33531
+ case "Number":
33532
+ return { type: ["string", "null"], format: "decimal" };
33533
+ case "Boolean":
33534
+ return { type: ["boolean", "null"] };
33535
+ case "Monetary Quantity":
33536
+ return { type: ["string", "null"], format: "monetary" };
33537
+ case "Choice": {
33538
+ const usable = (choices ?? []).filter((choice) => choice.name.length > 0);
33539
+ if (usable.length === 0)
33540
+ return { type: ["string", "null"] };
33541
+ const synonyms = Object.fromEntries(usable.flatMap((choice) => {
33542
+ const aliases = splitAliases(choice.values);
33543
+ return aliases.length === 0 ? [] : [[choice.name, aliases]];
33544
+ }));
33545
+ return {
33546
+ type: ["string", "null"],
33547
+ enum: usable.map((choice) => choice.name),
33548
+ ...Object.keys(synonyms).length === 0 ? {} : { synonyms }
33549
+ };
33550
+ }
33551
+ default:
33552
+ if (kind)
33553
+ console.warn(`[idp-packaging] Unmapped field-type kind "${kind}"; defaulting to a nullable string.`);
33554
+ return {
33555
+ ...DEFAULT_FIELD_SCHEMA,
33556
+ type: Array.isArray(DEFAULT_FIELD_SCHEMA.type) ? [...DEFAULT_FIELD_SCHEMA.type] : DEFAULT_FIELD_SCHEMA.type
33557
+ };
33558
+ }
33559
+ }
33560
+ var EMPTY_OUTPUT_SCHEMA = {
33561
+ type: "object",
33562
+ additionalProperties: false,
33563
+ required: [],
33564
+ properties: {}
33565
+ };
33566
+ function groupName(group) {
33567
+ return (group.ownName ?? group.name ?? "").trim();
33568
+ }
33569
+ function indexFieldTypes(fieldTypes) {
33570
+ const index = /* @__PURE__ */ new Map;
33571
+ for (const fieldType of fieldTypes ?? []) {
33572
+ if (fieldType.id)
33573
+ index.set(fieldType.id, fieldType);
33574
+ }
33575
+ return index;
33576
+ }
33577
+ function encodeJsonPointerToken(value) {
33578
+ return encodeURIComponent(value.replaceAll("~", "~0").replaceAll("/", "~1"));
33579
+ }
33580
+ function registerFieldTypeDefinition(fieldType, registry) {
33581
+ const fieldTypeId = (fieldType.id ?? "").trim();
33582
+ const fieldTypeName = (fieldType.name ?? "").trim();
33583
+ if (!fieldTypeId || !fieldTypeName)
33584
+ return;
33585
+ const existingKey = registry.keyByFieldTypeId.get(fieldTypeId);
33586
+ if (existingKey)
33587
+ return existingKey;
33588
+ let key = fieldTypeName;
33589
+ let suffix = 2;
33590
+ while (registry.definitions.has(key)) {
33591
+ key = `${fieldTypeName} (${suffix})`;
33592
+ suffix += 1;
33593
+ }
33594
+ const valueSchema = buildFieldValueSchema(fieldType.kind, fieldType.choices);
33595
+ const instructions = (fieldType.instructions ?? "").trim();
33596
+ registry.definitions.set(key, instructions ? { ...valueSchema, description: instructions } : valueSchema);
33597
+ registry.keyByFieldTypeId.set(fieldTypeId, key);
33598
+ return key;
33599
+ }
33600
+ function buildFieldSchema2(field, fieldTypeIndex, definitionRegistry) {
33601
+ const fieldType = field.fieldTypeId ? fieldTypeIndex.get(field.fieldTypeId) : undefined;
33602
+ const description = (field.instructions ?? "").trim() || undefined;
33603
+ if (fieldType) {
33604
+ const definitionKey = registerFieldTypeDefinition(fieldType, definitionRegistry);
33605
+ if (definitionKey) {
33606
+ return {
33607
+ $ref: `#/$defs/${encodeJsonPointerToken(definitionKey)}`,
33608
+ ...description ? { description } : {}
33609
+ };
33610
+ }
33611
+ }
33612
+ const kind = fieldType?.kind ?? field.kind;
33613
+ const value = buildFieldValueSchema(kind, fieldType?.choices);
33614
+ if (!description)
33615
+ return value;
33616
+ return { ...value, description };
33617
+ }
33618
+ var GROUP_PATH_SEPARATOR2 = " > ";
33619
+ function composeGroupOutputName(path) {
33620
+ const names = path.map(groupName);
33621
+ if (!names[names.length - 1])
33622
+ return "";
33623
+ return names.filter(Boolean).join(GROUP_PATH_SEPARATOR2);
33624
+ }
33625
+ function getGroupOutputName(group, groupsById) {
33626
+ const path = [group];
33627
+ const seen = new Set(group.id ? [group.id] : []);
33628
+ let parentId = group.parentId;
33629
+ while (parentId) {
33630
+ if (seen.has(parentId))
33631
+ return groupName(group);
33632
+ seen.add(parentId);
33633
+ const parent = groupsById.get(parentId);
33634
+ if (!parent)
33635
+ break;
33636
+ path.unshift(parent);
33637
+ parentId = parent.parentId;
33638
+ }
33639
+ return composeGroupOutputName(path);
33640
+ }
33641
+ function buildGroupSchema(group, fieldTypeIndex, definitionRegistry) {
33642
+ const properties = {};
33643
+ const required = [];
33644
+ for (const field of group.fields ?? []) {
33645
+ const name = (field.name ?? "").trim();
33646
+ if (!name || name in properties)
33647
+ continue;
33648
+ properties[name] = buildFieldSchema2(field, fieldTypeIndex, definitionRegistry);
33649
+ required.push(name);
33650
+ }
33651
+ const instructions = (group.instructions ?? "").trim();
33652
+ return {
33653
+ type: "array",
33654
+ ...instructions ? { description: instructions } : {},
33655
+ items: {
33656
+ type: "object",
33657
+ additionalProperties: false,
33658
+ required,
33659
+ properties
33660
+ }
33661
+ };
33662
+ }
33663
+ function buildLegacyOutputSchema(schemaDocument) {
33664
+ const groups = schemaDocument?.taxonomy?.fieldGroups ?? [];
33665
+ if (groups.length === 0)
33666
+ return EMPTY_OUTPUT_SCHEMA;
33667
+ const fieldTypeIndex = indexFieldTypes(schemaDocument?.fieldTypes);
33668
+ const definitionRegistry = {
33669
+ definitions: /* @__PURE__ */ new Map,
33670
+ keyByFieldTypeId: /* @__PURE__ */ new Map
33671
+ };
33672
+ const groupsById = new Map(groups.flatMap((group) => group.id ? [[group.id, group]] : []));
33673
+ const properties = {};
33674
+ const required = [];
33675
+ for (const group of groups) {
33676
+ const name = getGroupOutputName(group, groupsById);
33677
+ if (!name || name in properties)
33678
+ continue;
33679
+ properties[name] = buildGroupSchema(group, fieldTypeIndex, definitionRegistry);
33680
+ required.push(name);
33681
+ }
33682
+ return {
33683
+ type: "object",
33684
+ additionalProperties: false,
33685
+ required,
33686
+ properties,
33687
+ ...definitionRegistry.definitions.size > 0 ? { $defs: Object.fromEntries(definitionRegistry.definitions) } : {}
33688
+ };
33689
+ }
33690
+ function buildOutputSchema2(schema) {
33691
+ return authoredOutputSchema(schema) ?? buildLegacyOutputSchema(schema);
33692
+ }
33693
+ function buildExtractionJson(schema, modelConfig) {
33694
+ return {
33695
+ config: modelConfig === undefined ? extractionConfig(schema) ?? buildExtractionConfig(undefined) : buildExtractionConfig(modelConfig),
33696
+ prompt: extractionPrompt(schema),
33697
+ outputSchema: buildOutputSchema2(schema)
33698
+ };
33699
+ }
33700
+ var IDP_PROCESSOR_RESOURCE_KIND = "idpProcessor";
33701
+ var IDP_PROCESSOR_RESOURCE_TYPE = "Extraction";
33702
+ var IDP_PROCESSOR_KEY_INPUT = "processorKey";
33703
+ var IDP_PROCESSOR_READONLY_INPUT = "processorReadOnly";
33704
+ function isIdpProcessorReadOnly2(inputs) {
33705
+ if (typeof inputs !== "object" || inputs === null)
33706
+ return false;
33707
+ return inputs[IDP_PROCESSOR_READONLY_INPUT] === true;
33708
+ }
33709
+ function readIdpProcessorKey2(inputs) {
33710
+ if (typeof inputs !== "object" || inputs === null)
33711
+ return;
33712
+ const key = inputs[IDP_PROCESSOR_KEY_INPUT];
33713
+ return typeof key === "string" && key.length > 0 ? key : undefined;
33714
+ }
33715
+ var IDP_PROCESSOR_NAME_INPUT = "processorName";
33716
+ var IDP_PROCESSOR_FOLDER_PATH_INPUT = "processorFolderPath";
33717
+ function readIdpProcessorName2(inputs) {
33718
+ if (typeof inputs !== "object" || inputs === null)
33719
+ return;
33720
+ const name = inputs[IDP_PROCESSOR_NAME_INPUT];
33721
+ return typeof name === "string" && name.trim().length > 0 ? name : undefined;
33722
+ }
33723
+ function readIdpProcessorFolderPath2(inputs) {
33724
+ if (typeof inputs !== "object" || inputs === null)
33725
+ return;
33726
+ const folderPath = inputs[IDP_PROCESSOR_FOLDER_PATH_INPUT];
33727
+ return typeof folderPath === "string" && folderPath.trim().length > 0 ? folderPath : undefined;
33728
+ }
33729
+ function isPublishedIdpProcessorLink2(inputs) {
33730
+ return readIdpProcessorKey2(inputs) !== undefined && readIdpProcessorFolderPath2(inputs) !== undefined;
33731
+ }
33732
+ var IDP_PROCESSOR_DESCRIPTION_MAX_LENGTH = 1024;
33733
+ function clampIdpProcessorDescription(description) {
33734
+ if (description.length <= IDP_PROCESSOR_DESCRIPTION_MAX_LENGTH)
33735
+ return description;
33736
+ const cut = description.slice(0, IDP_PROCESSOR_DESCRIPTION_MAX_LENGTH);
33737
+ const lastUnit = cut.codePointAt(cut.length - 1) ?? 0;
33738
+ const endsOnHighSurrogate = lastUnit >= 55296 && lastUnit <= 56319;
33739
+ return endsOnHighSurrogate ? cut.slice(0, -1) : cut;
33740
+ }
33741
+ function buildIdpProcessorSpec({ schema, modelConfig, name, description }) {
33742
+ const { config, prompt, outputSchema } = buildExtractionJson(schema, modelConfig);
33743
+ const modelOverride = tryLlmGatewayModelId(config.model?.version);
33744
+ const attributionStrategy = resolveApiAttributionStrategy(config.attribution, config.execution_mode);
33745
+ const attributionModelOverride = tryApiAttributionModelOverride(config.attribution_model, attributionStrategy);
33746
+ const preprocessing = buildApiPreprocessing(config);
33747
+ return {
33748
+ ...name ? { name } : {},
33749
+ ...description === undefined ? {} : { description: clampIdpProcessorDescription(description) },
33750
+ prompt,
33751
+ outputSchema: JSON.stringify(outputSchema),
33752
+ extractionStrategy: toApiExtractionStrategy(config.execution_mode),
33753
+ ...modelOverride ? { modelOverride } : {},
33754
+ ...attributionStrategy ? { attributionStrategy } : {},
33755
+ attributionModelOverride: attributionModelOverride ?? "",
33756
+ ...preprocessing,
33757
+ layoutEngine: preprocessing.layoutEngine ?? "",
33758
+ layoutModel: preprocessing.layoutModel ?? ""
33759
+ };
33760
+ }
33761
+ function hasUnreadableIdpProcessorSchema(spec) {
33762
+ const encoded = spec?.outputSchema;
33763
+ if (typeof encoded !== "string" || encoded.length === 0)
33764
+ return false;
33765
+ return readIdpProcessorSchemaDocument(spec) === undefined;
33766
+ }
33767
+ function readIdpProcessorModelConfig(spec) {
33768
+ const modelVersion = fromLlmGatewayModelId(typeof spec?.modelOverride === "string" ? spec.modelOverride : undefined);
33769
+ const attributionMethod = fromApiAttributionStrategy(typeof spec?.attributionStrategy === "string" ? spec.attributionStrategy : undefined);
33770
+ const languageSupport = fromApiLanguageSupport(typeof spec?.languageSupport === "string" ? spec.languageSupport : undefined);
33771
+ const layoutEngine = asNonEmptyString2(spec?.layoutEngine);
33772
+ const layoutModel = layoutEngine ? asNonEmptyString2(spec?.layoutModel) : undefined;
33773
+ const overrides = asNonEmptyString2(spec?.overrides);
33774
+ const attributionModel = asNonEmptyString2(spec?.attributionModelOverride);
33775
+ if (!modelVersion && !attributionMethod && !attributionModel && !languageSupport && !layoutEngine && !overrides)
33776
+ return;
33777
+ return {
33778
+ ...modelVersion ? { model_version: modelVersion } : {},
33779
+ ...attributionMethod ? { attribution_method: attributionMethod } : {},
33780
+ ...attributionModel ? { attribution_model_version: attributionModel } : {},
33781
+ ...languageSupport ? { language_support: languageSupport } : {},
33782
+ ...layoutEngine ? { layout_engine: layoutEngine, layout_parsing: "full" } : {},
33783
+ ...layoutModel ? { layout_model_version: layoutModel } : {},
33784
+ ...overrides ? { experimentalSettings: overrides } : {}
33785
+ };
33786
+ }
33787
+ function ecsValue(value) {
33788
+ return typeof value === "string" && value !== "None" ? value : undefined;
33789
+ }
33790
+ function ecsProcessorAsSpec(processor) {
33791
+ return {
33792
+ prompt: processor.prompt,
33793
+ outputSchema: processor.outputSchema,
33794
+ modelOverride: processor.modelOverride,
33795
+ attributionStrategy: processor.attributionStrategy,
33796
+ attributionModelOverride: ecsValue(processor.attributionModelOverride),
33797
+ languageSupport: processor.languageSupport,
33798
+ layoutEngine: ecsValue(processor.layoutEngine),
33799
+ layoutModel: ecsValue(processor.layoutModel),
33800
+ overrides: ecsValue(processor.overrides)
33801
+ };
33802
+ }
33803
+ function readEcsProcessorModelConfig(processor) {
33804
+ return processor ? readIdpProcessorModelConfig(ecsProcessorAsSpec(processor)) : undefined;
33805
+ }
33806
+ function readEcsProcessorSchemaDocument(processor) {
33807
+ return processor ? readIdpProcessorSchemaDocument(ecsProcessorAsSpec(processor)) : undefined;
33808
+ }
33809
+ function readIdpProcessorSchemaDocument(spec) {
33810
+ const encoded = spec?.outputSchema;
33811
+ if (typeof encoded !== "string" || encoded.length === 0)
33812
+ return;
33813
+ let outputSchema;
33814
+ try {
33815
+ outputSchema = JSON.parse(encoded);
33816
+ } catch {
33817
+ return;
33818
+ }
33819
+ if (typeof outputSchema !== "object" || outputSchema === null || Array.isArray(outputSchema))
33820
+ return;
33821
+ return normalizeExtractionSchema({
33822
+ config: buildExtractionConfig(readIdpProcessorModelConfig(spec)),
33823
+ prompt: typeof spec?.prompt === "string" ? spec.prompt : "",
33824
+ outputSchema
33825
+ });
33826
+ }
33827
+ var IDP_PROCESSOR_BINDING_RESOURCE = "idpProcessor";
33828
+ var IDP_PROCESSOR_BINDING_NAME = "processorKey";
33829
+ var IDP_PROCESSOR_FOLDER_PATH_BINDING_NAME = "folderPath";
33830
+ var IDP_PROCESSOR_NAME_BINDING_NAME = "name";
33831
+ function bindingId(processorKey) {
33832
+ return `idp${processorKey.replace(/[^a-zA-Z0-9]/g, "")}`;
33833
+ }
33834
+ function deriveIdpProcessorBindings(workflow) {
33835
+ const bindings = [];
33836
+ const seen = /* @__PURE__ */ new Set;
33837
+ for (const node of collectWorkflowNodes2(workflow)) {
33838
+ if (!isDynamicExtractNodeType2(node?.type))
33839
+ continue;
33840
+ const processorKey = readIdpProcessorKey2(node?.inputs);
33841
+ if (!processorKey || seen.has(processorKey))
33842
+ continue;
33843
+ seen.add(processorKey);
33844
+ const baseId = bindingId(processorKey);
33845
+ const processorName = readIdpProcessorName2(node?.inputs) ?? readNodeLabel(node) ?? "";
33846
+ const processorFolderPath = readIdpProcessorFolderPath2(node?.inputs) ?? "";
33847
+ bindings.push({
33848
+ id: baseId,
33849
+ name: IDP_PROCESSOR_BINDING_NAME,
33850
+ type: "string",
33851
+ default: processorKey,
33852
+ resource: IDP_PROCESSOR_BINDING_RESOURCE,
33853
+ resourceKey: processorKey,
33854
+ propertyAttribute: IDP_PROCESSOR_BINDING_NAME
33855
+ }, {
33856
+ id: `${baseId}Name`,
33857
+ name: IDP_PROCESSOR_NAME_BINDING_NAME,
33858
+ type: "string",
33859
+ default: processorName,
33860
+ resource: IDP_PROCESSOR_BINDING_RESOURCE,
33861
+ resourceKey: processorKey,
33862
+ propertyAttribute: IDP_PROCESSOR_NAME_BINDING_NAME
33863
+ }, {
33864
+ id: `${baseId}FolderPath`,
33865
+ name: IDP_PROCESSOR_FOLDER_PATH_BINDING_NAME,
33866
+ type: "string",
33867
+ default: processorFolderPath,
33868
+ resource: IDP_PROCESSOR_BINDING_RESOURCE,
33869
+ resourceKey: processorKey,
33870
+ propertyAttribute: IDP_PROCESSOR_FOLDER_PATH_BINDING_NAME
33871
+ });
33872
+ }
33873
+ return bindings;
33874
+ }
33875
+
33876
+ // ../../node_modules/@uipath/flow-schema/dist/index.js
33877
+ var import_object = __toESM(require_index_cjs(), 1);
33878
+ var workflowRuntimeSchema2 = _enum(["maestro", "api-function"]);
33879
+ var DEFAULT_WORKFLOW_RUNTIME2 = "maestro";
33880
+ var argumentBindingSchema2 = object({
33881
+ nodeId: string(),
33882
+ outputId: string()
33883
+ });
33884
+ var workflowVariableSchema2 = object({
33885
+ id: string().min(1),
33886
+ direction: _enum(["in", "out", "inout"]),
33887
+ type: string().default("string"),
33888
+ subType: string().optional(),
33889
+ schema: record(string(), unknown()).optional(),
33890
+ defaultValue: unknown().optional(),
33891
+ description: string().optional(),
33892
+ triggerNodeId: string().optional()
33893
+ });
33894
+ var variableUpdateSchema2 = object({
33895
+ variableId: string(),
33896
+ expression: expressionLikeSchema2
33897
+ });
33898
+ var nodeVariableSchema2 = object({
33899
+ id: string().min(1),
33900
+ type: string().default("string"),
33901
+ subType: string().optional(),
33902
+ schema: record(string(), unknown()).optional(),
33903
+ description: string().optional(),
33904
+ binding: argumentBindingSchema2
33905
+ });
33906
+ var workflowVariablesSchema2 = object({
33907
+ globals: array(workflowVariableSchema2).optional(),
33908
+ nodes: array(nodeVariableSchema2).optional(),
33909
+ variableUpdates: record(string(), array(variableUpdateSchema2)).optional()
33910
+ });
33911
+ var EMPTY_VARIABLES2 = Object.freeze({ globals: [], nodes: [], variableUpdates: {} });
33912
+ var workflowConnectionSchema2 = object({
33913
+ type: _enum(["cloud", "local"]),
33914
+ environment: _enum(["cloud", "staging", "alpha"]).optional(),
33915
+ baseUrl: string().optional(),
33916
+ organizationId: string().optional(),
33917
+ tenantId: string().optional(),
33918
+ tenantName: string().optional(),
33919
+ localUrl: string().url().optional()
33920
+ });
33921
+ var nodeLayoutSchema2 = looseObject({
33922
+ position: object({ x: number2(), y: number2() }),
33923
+ size: object({ width: number2(), height: number2() }).optional(),
33924
+ collapsed: boolean2().optional()
33925
+ });
33926
+ var waypointSchema2 = object({
33927
+ id: string(),
33928
+ x: number2(),
33929
+ y: number2()
33930
+ });
33931
+ var edgeLayoutSchema2 = looseObject({
33932
+ waypoints: array(waypointSchema2).optional(),
33933
+ routedWaypoints: array(waypointSchema2).optional()
33934
+ });
33935
+ var layoutSchema2 = object({
33936
+ nodes: record(string(), nodeLayoutSchema2),
33937
+ edges: record(string(), edgeLayoutSchema2).optional()
33938
+ });
33939
+ var bindingSchema2 = object({
33940
+ id: string(),
33941
+ name: string(),
33942
+ type: string(),
33943
+ resource: string(),
33944
+ resourceKey: string(),
33945
+ default: string().optional(),
33946
+ propertyAttribute: string().optional(),
33947
+ resourceSubType: string().optional()
33948
+ });
33177
33949
  var categoryManifestSchema = object({
33178
33950
  id: string().min(1),
33179
33951
  name: string().min(1),
@@ -33406,14 +34178,14 @@ var displayConfigSchema = object({
33406
34178
  footerVariant: string().optional(),
33407
34179
  shadow: boolean2().optional()
33408
34180
  }).catchall(unknown());
33409
- var waypointSchema = object({
34181
+ var waypointSchema22 = object({
33410
34182
  id: string().min(1),
33411
34183
  x: number2(),
33412
34184
  y: number2()
33413
34185
  });
33414
34186
  var edgeUiSchema = object({
33415
- waypoints: array(waypointSchema).optional(),
33416
- routedWaypoints: array(waypointSchema).optional(),
34187
+ waypoints: array(waypointSchema22).optional(),
34188
+ routedWaypoints: array(waypointSchema22).optional(),
33417
34189
  autoRouted: boolean2().optional()
33418
34190
  }).catchall(unknown());
33419
34191
  var edgeSchema = object({
@@ -33452,77 +34224,6 @@ var nodeSchema = object({
33452
34224
  model: unknown().optional(),
33453
34225
  parentId: idSchema2.optional()
33454
34226
  });
33455
- var workflowRuntimeSchema2 = _enum(["maestro", "api-function"]);
33456
- var DEFAULT_WORKFLOW_RUNTIME2 = "maestro";
33457
- var argumentBindingSchema2 = object({
33458
- nodeId: string(),
33459
- outputId: string()
33460
- });
33461
- var workflowVariableSchema2 = object({
33462
- id: string().min(1),
33463
- direction: _enum(["in", "out", "inout"]),
33464
- type: string().default("string"),
33465
- subType: string().optional(),
33466
- schema: record(string(), unknown()).optional(),
33467
- defaultValue: unknown().optional(),
33468
- description: string().optional(),
33469
- triggerNodeId: string().optional()
33470
- });
33471
- var variableUpdateSchema2 = object({
33472
- variableId: string(),
33473
- expression: expressionLikeSchema2
33474
- });
33475
- var nodeVariableSchema2 = object({
33476
- id: string().min(1),
33477
- type: string().default("string"),
33478
- subType: string().optional(),
33479
- schema: record(string(), unknown()).optional(),
33480
- description: string().optional(),
33481
- binding: argumentBindingSchema2
33482
- });
33483
- var workflowVariablesSchema2 = object({
33484
- globals: array(workflowVariableSchema2).optional(),
33485
- nodes: array(nodeVariableSchema2).optional(),
33486
- variableUpdates: record(string(), array(variableUpdateSchema2)).optional()
33487
- });
33488
- var EMPTY_VARIABLES2 = Object.freeze({ globals: [], nodes: [], variableUpdates: {} });
33489
- var workflowConnectionSchema2 = object({
33490
- type: _enum(["cloud", "local"]),
33491
- environment: _enum(["cloud", "staging", "alpha"]).optional(),
33492
- baseUrl: string().optional(),
33493
- organizationId: string().optional(),
33494
- tenantId: string().optional(),
33495
- tenantName: string().optional(),
33496
- localUrl: string().url().optional()
33497
- });
33498
- var nodeLayoutSchema2 = looseObject({
33499
- position: object({ x: number2(), y: number2() }),
33500
- size: object({ width: number2(), height: number2() }).optional(),
33501
- collapsed: boolean2().optional()
33502
- });
33503
- var waypointSchema2 = object({
33504
- id: string(),
33505
- x: number2(),
33506
- y: number2()
33507
- });
33508
- var edgeLayoutSchema2 = looseObject({
33509
- waypoints: array(waypointSchema2).optional(),
33510
- routedWaypoints: array(waypointSchema2).optional()
33511
- });
33512
- var layoutSchema2 = object({
33513
- nodes: record(string(), nodeLayoutSchema2),
33514
- edges: record(string(), edgeLayoutSchema2).optional()
33515
- });
33516
- var bindingSchema2 = object({
33517
- id: string(),
33518
- name: string(),
33519
- type: string(),
33520
- resource: string(),
33521
- resourceKey: string(),
33522
- default: string().optional(),
33523
- propertyAttribute: string().optional(),
33524
- resourceSubType: string().optional()
33525
- });
33526
34227
  var nodeUniqueIdSchema = uuid2();
33527
34228
  function isNodeUniqueId2(value) {
33528
34229
  return nodeUniqueIdSchema.safeParse(value).success;
@@ -33553,13 +34254,9 @@ var edgeSchema2 = edgeSchema.extend({
33553
34254
  });
33554
34255
  var nodeSchema2 = nodeSchema.extend({
33555
34256
  typeVersion: string().regex(/^\d+\.\d+(\.\d+)?$/, 'Version must be in format "x.y" or "x.y.z"'),
33556
- uniqueId: nodeUniqueIdSchema.optional().catch(undefined)
34257
+ uniqueId: nodeUniqueIdSchema.optional().catch(undefined),
34258
+ disabled: boolean2().optional()
33557
34259
  });
33558
- function normalizeMaxInstances2(max) {
33559
- if (max === undefined)
33560
- return;
33561
- return typeof max === "number" ? { "": max } : max;
33562
- }
33563
34260
  var nodeManifestSchema22 = lazy(() => nodeManifestSchema2.extend({
33564
34261
  display: nodeDisplayManifestSchema.extend({ isPreview: boolean2().optional() }),
33565
34262
  projectId: string().optional(),
@@ -33572,252 +34269,6 @@ var categoryManifestSchema2 = lazy(() => categoryManifestSchema.extend({
33572
34269
  displayIfEmpty: boolean2().optional()
33573
34270
  }));
33574
34271
  var versionSchema2 = string().regex(/^\d+\.\d+(\.\d+)?$/, 'Version must be in format "x.y" or "x.y.z"');
33575
- var nodeTypeOf = (node) => node.data?.type ?? node.type;
33576
- var nodeMaxInstancesRule = {
33577
- id: "node-max-instances",
33578
- severity: "error",
33579
- validate(ctx) {
33580
- const errors = [];
33581
- const flowSeen = /* @__PURE__ */ new Map;
33582
- const ownerSeen = /* @__PURE__ */ new Map;
33583
- const ownerByNode = /* @__PURE__ */ new Map;
33584
- for (const edge of ctx.edges)
33585
- ownerByNode.set(edge.target, edge.source);
33586
- const typeById = /* @__PURE__ */ new Map;
33587
- for (const node of ctx.nodes) {
33588
- const type = nodeTypeOf(node);
33589
- if (type)
33590
- typeById.set(node.id, type);
33591
- }
33592
- for (const node of ctx.nodes) {
33593
- const nodeType2 = nodeTypeOf(node);
33594
- if (!nodeType2)
33595
- continue;
33596
- const caps = normalizeMaxInstances2(getManifestForNode2(node, ctx.manifests)?.maxInstances);
33597
- if (!caps)
33598
- continue;
33599
- let violatedCap;
33600
- const flowCap = caps[""];
33601
- if (typeof flowCap === "number" && flowCap >= 1) {
33602
- const n = (flowSeen.get(nodeType2) ?? 0) + 1;
33603
- flowSeen.set(nodeType2, n);
33604
- if (n > flowCap)
33605
- violatedCap = flowCap;
33606
- }
33607
- const owner = ownerByNode.get(node.id);
33608
- const ownerType = owner ? typeById.get(owner) : undefined;
33609
- const ownerCap = ownerType ? caps[ownerType] : undefined;
33610
- if (typeof ownerCap === "number" && ownerCap >= 1) {
33611
- const n = (ownerSeen.get(`${owner}\x00${nodeType2}`) ?? 0) + 1;
33612
- ownerSeen.set(`${owner}\x00${nodeType2}`, n);
33613
- if (n > ownerCap)
33614
- violatedCap = violatedCap === undefined ? ownerCap : Math.min(violatedCap, ownerCap);
33615
- }
33616
- if (violatedCap === undefined)
33617
- continue;
33618
- const label = getManifestForNode2(node, ctx.manifests)?.display?.label ?? nodeType2;
33619
- errors.push({
33620
- code: "NODE_MAX_INSTANCES_EXCEEDED",
33621
- ...localized("nodeMaxInstances_exceeded_message", { label, max: violatedCap }, 'Only {{max}} "{{label}}" node is allowed. Remove the extra one.'),
33622
- severity: "error",
33623
- nodeId: node.id,
33624
- layer: "node"
33625
- });
33626
- }
33627
- return errors;
33628
- }
33629
- };
33630
- var generalRules2 = [
33631
- schemaValidationRule2,
33632
- minConnectionsRule2,
33633
- triggerRequiredRule2,
33634
- outputMappingRule2,
33635
- dataTransformRule2,
33636
- governanceRule2,
33637
- escalationValidationRule,
33638
- agentInputRefsRule,
33639
- agentDuplicateToolNamesRule2,
33640
- agentEmptyVarRule2,
33641
- agentFileNotAnalyzedRule,
33642
- agentJevClassifierRule2,
33643
- conversationalRequiredFieldsRule,
33644
- conversationalVoiceCallContextRule,
33645
- conversationalVoiceEndCallContextRule,
33646
- agentOutputRequiredRule,
33647
- hitlQuickFormRule,
33648
- hitlCompletedRule,
33649
- hitlDocValidationRule,
33650
- ixpSchemaDraftRule2,
33651
- ixpSchemaLimitsRule2,
33652
- scriptMustacheRule,
33653
- entityQueryExpressionRule,
33654
- singleConversationTriggerRule,
33655
- errorHandlerPlacementRule,
33656
- doWhileLimitRule,
33657
- timeLimitDurationRule,
33658
- retryConfigRule,
33659
- agenticSwitchDuplicateChoicesRule,
33660
- conversationTriggerStartingPromptsRule,
33661
- nodeIdFormatRule,
33662
- nodeMaxInstancesRule,
33663
- patternPlaceholderRule2
33664
- ];
33665
- var cliRules2 = generalRules2;
33666
- function runRules2(rules, ctx) {
33667
- const errors = [];
33668
- for (const rule of rules) {
33669
- try {
33670
- errors.push(...rule.validate(ctx));
33671
- } catch (err) {
33672
- console.error(`[validation] rule '${rule.id}' threw and was skipped`, err);
33673
- }
33674
- }
33675
- return errors;
33676
- }
33677
- var SWITCH_CASE_HANDLE_PREFIX2 = "case-";
33678
- var switchCaseHandle2 = (caseId) => `${SWITCH_CASE_HANDLE_PREFIX2}${caseId}`;
33679
- function asString2(value) {
33680
- const raw = isExpressionValue2(value) && value.type === "literal" ? decodeLiteral2(value) : value;
33681
- return typeof raw === "string" && raw.trim() ? raw : undefined;
33682
- }
33683
- function asBoolean(value) {
33684
- const raw = isExpressionValue2(value) && value.type === "literal" ? decodeLiteral2(value) : value;
33685
- return typeof raw === "boolean" ? raw : undefined;
33686
- }
33687
- function asExpressionText(value) {
33688
- const raw = isExpressionValue2(value) ? value.type === "jsExpression" ? value.expression : undefined : typeof value === "string" ? value : undefined;
33689
- if (raw === undefined)
33690
- return;
33691
- const stripped = raw.startsWith(JS_EXPRESSION_PREFIX2) ? raw.slice(JS_EXPRESSION_PREFIX2.length) : raw;
33692
- return asString2(stripped);
33693
- }
33694
- function getDecisionBranches(inputs) {
33695
- const expression = asExpressionText(inputs.expression);
33696
- const trueLabel = asString2(inputs.trueLabel);
33697
- const falseLabel = asString2(inputs.falseLabel);
33698
- const effective = expression ?? "false";
33699
- return [
33700
- {
33701
- id: "true",
33702
- handle: "true",
33703
- label: trueLabel ?? "True",
33704
- authoredLabel: trueLabel,
33705
- expression,
33706
- condition: effective,
33707
- isFallback: false
33708
- },
33709
- {
33710
- id: "false",
33711
- handle: "false",
33712
- label: falseLabel ?? "False",
33713
- authoredLabel: falseLabel,
33714
- expression,
33715
- condition: `!(${effective}
33716
- )`,
33717
- isFallback: true
33718
- }
33719
- ];
33720
- }
33721
- function getCaseEntries(inputs) {
33722
- const cases = Array.isArray(inputs.cases) ? inputs.cases : [];
33723
- return cases.filter((entry) => typeof entry === "object" && entry !== null);
33724
- }
33725
- function getSwitchBranches(inputs) {
33726
- const branches = [];
33727
- getCaseEntries(inputs).forEach(({ id, label, expression }, index) => {
33728
- const handleId = asString2(id);
33729
- if (!handleId)
33730
- return;
33731
- const branchExpression = asExpressionText(expression);
33732
- const caseLabel = asString2(label);
33733
- branches.push({
33734
- id: handleId,
33735
- handle: switchCaseHandle2(handleId),
33736
- label: caseLabel ?? `Case ${index + 1}`,
33737
- authoredLabel: caseLabel,
33738
- expression: branchExpression,
33739
- condition: branchExpression ?? "false",
33740
- isFallback: false
33741
- });
33742
- });
33743
- const defaultBranch = inputs.defaultBranch;
33744
- const defaultLabel = asString2(defaultBranch?.label);
33745
- branches.push({
33746
- id: "default",
33747
- handle: "default",
33748
- label: defaultLabel ?? "Default",
33749
- authoredLabel: defaultLabel,
33750
- isFallback: true
33751
- });
33752
- return branches;
33753
- }
33754
- function getSwitchBranchLabels(inputs) {
33755
- const defaultBranch = inputs.defaultBranch;
33756
- const enabled = asBoolean(defaultBranch?.enabled);
33757
- return {
33758
- cases: getCaseEntries(inputs).map(({ id, label }) => ({ id: asString2(id), label: asString2(label) })),
33759
- defaultBranch: { label: asString2(defaultBranch?.label), ...enabled !== undefined && { enabled } }
33760
- };
33761
- }
33762
- var GATEWAYS = Object.assign(/* @__PURE__ */ Object.create(null), {
33763
- [DECISION_NODE_TYPE2]: {
33764
- getBranches: getDecisionBranches,
33765
- getBranchConditionSources: (inputs) => [inputs],
33766
- getBranchLabels: (inputs) => ({ trueLabel: asString2(inputs.trueLabel), falseLabel: asString2(inputs.falseLabel) })
33767
- },
33768
- [SWITCH_NODE_TYPE2]: {
33769
- getBranches: getSwitchBranches,
33770
- getBranchConditionSources: getCaseEntries,
33771
- getBranchLabels: getSwitchBranchLabels
33772
- }
33773
- });
33774
- var getGateway = (nodeType2) => nodeType2 ? GATEWAYS[nodeType2] : undefined;
33775
- function isGatewayNodeType2(nodeType2) {
33776
- return getGateway(nodeType2) !== undefined;
33777
- }
33778
- var SYNTHETIC_GATEWAY_OUTPUT_KEYS2 = ["matchedCase", "matchedCaseId"];
33779
- function omitSyntheticGatewayOutputs2(nodeType2, outputs) {
33780
- if (!outputs || !isGatewayNodeType2(nodeType2))
33781
- return outputs;
33782
- const { matchedCase: _case, matchedCaseId: _caseId, ...rest } = outputs;
33783
- return rest;
33784
- }
33785
- function getGatewayBranches2(nodeType2, inputs) {
33786
- return getGateway(nodeType2)?.getBranches(inputs ?? {}) ?? [];
33787
- }
33788
- function getGatewayConditionSources2(nodeType2, inputs) {
33789
- return inputs ? getGateway(nodeType2)?.getBranchConditionSources(inputs) ?? [] : [];
33790
- }
33791
- function getGatewayBranchLabels2(nodeType2, inputs) {
33792
- return inputs ? getGateway(nodeType2)?.getBranchLabels(inputs) : undefined;
33793
- }
33794
- function rewriteGatewayExpressions2(rewrite, nodeType2, inputs) {
33795
- for (const source of getGatewayConditionSources2(nodeType2, inputs)) {
33796
- if (typeof source.expression === "string" && !source.expression.startsWith("=")) {
33797
- source.expression = rewrite(source.expression);
33798
- }
33799
- }
33800
- }
33801
- function toSerializedNode2(node, extraData) {
33802
- return {
33803
- id: node.id,
33804
- type: node.type,
33805
- data: {
33806
- inputs: node.inputs ?? {},
33807
- outputs: node.outputs ?? {},
33808
- ...node.typeVersion !== undefined && { typeVersion: node.typeVersion },
33809
- ...node.display != null && { display: node.display, label: node.display.label },
33810
- ...extraData
33811
- },
33812
- ...node.parentId ? { parentId: node.parentId } : {}
33813
- };
33814
- }
33815
- function toSerializedNodes2(nodes, extraData) {
33816
- return nodes.map((node) => toSerializedNode2(node, extraData?.(node)));
33817
- }
33818
-
33819
- // ../../node_modules/@uipath/flow-schema/dist/index.js
33820
- var import_object = __toESM(require_index_cjs(), 1);
33821
34272
  var subflowEntrySchema2 = object({
33822
34273
  nodes: array(nodeSchema2),
33823
34274
  edges: array(edgeSchema2),
@@ -35056,16 +35507,18 @@ function createAssetBindings2(name, resourceSubType, assetName = name, folderPat
35056
35507
  function isAssetNameBinding2(binding) {
35057
35508
  return binding.resource === ASSET_BINDING_RESOURCE2 && binding.propertyAttribute === "name";
35058
35509
  }
35059
- var CONNECTION_BINDING_RESOURCE2 = "connection";
35510
+ var CONNECTION_BINDING_RESOURCE3 = "connection";
35060
35511
  function isConnectionBindingResource2(resource) {
35061
- return resource?.toLowerCase() === CONNECTION_BINDING_RESOURCE2.toLowerCase();
35512
+ return resource?.toLowerCase() === CONNECTION_BINDING_RESOURCE3.toLowerCase();
35062
35513
  }
35063
- var normalizeConnectionResource = (resource) => isConnectionBindingResource2(resource) ? CONNECTION_BINDING_RESOURCE2 : resource;
35514
+ var normalizeConnectionResource = (resource) => isConnectionBindingResource2(resource) ? CONNECTION_BINDING_RESOURCE3 : resource;
35064
35515
  var CONNECTOR_NODE_PREFIX2 = "uipath.connector.";
35065
35516
  var CONNECTOR_TRIGGER_PREFIX2 = "uipath.connector.trigger.";
35066
35517
  var CONNECTOR_EVENT_PREFIX2 = "uipath.connector.event.";
35067
35518
  var TRIGGER_NODE_PREFIX2 = "core.trigger.";
35068
35519
  var TRIGGER_TYPE_PREFIXES2 = [TRIGGER_NODE_PREFIX2, CONNECTOR_TRIGGER_PREFIX2];
35520
+ var AGENT_TOOL_NODE_PREFIX2 = "uipath.agent.resource.tool.";
35521
+ var isAgentToolNodeType22 = (nodeType) => !!nodeType?.startsWith(AGENT_TOOL_NODE_PREFIX2);
35069
35522
  var SURFACE_MARKERS = {
35070
35523
  action: "",
35071
35524
  trigger: "trigger.",
@@ -35290,7 +35743,6 @@ var ProjectType2 = {
35290
35743
  ProcessOrchestration: "processorchestration"
35291
35744
  };
35292
35745
  var AGENT_TARGET_RUNTIME2 = "pythonAgent";
35293
- var IDP_PROCESSOR_BINDING_RESOURCE = "idpProcessor";
35294
35746
  var solutionSupportedResources = ["process", "queue", "app", "ixpDeployment", IDP_PROCESSOR_BINDING_RESOURCE, ASSET_BINDING_RESOURCE2];
35295
35747
  var RESOURCE_CONFIG = {
35296
35748
  process: {
@@ -35561,7 +36013,7 @@ var inputsMatchBinding = (node, binding) => {
35561
36013
  return detail?.connectionResourceId === binding.resourceKey;
35562
36014
  };
35563
36015
  var inputsConnectionIdMatchesBinding = (node, binding) => {
35564
- if (canonicalizeResourceCasing2(binding.resource) !== CONNECTION_BINDING_RESOURCE2)
36016
+ if (canonicalizeResourceCasing2(binding.resource) !== CONNECTION_BINDING_RESOURCE3)
35565
36017
  return false;
35566
36018
  const connectionId = node.inputs?.connectionId;
35567
36019
  return typeof connectionId === "string" && connectionId !== "" && connectionId === binding.resourceKey;
@@ -35602,6 +36054,15 @@ var getConnectionMetadata = (manifestModel, node, binding) => {
35602
36054
  Connector: connector
35603
36055
  };
35604
36056
  };
36057
+ var isProcessOwnedByAgentTools = (binding, nodes, definitions, subflows) => {
36058
+ if (!binding.resourceKey)
36059
+ return false;
36060
+ const consumers = [
36061
+ ...nodes.map((n) => ({ type: n.type, model: getManifestModel(n, definitions) })),
36062
+ ...Object.values(subflows ?? {}).flatMap((entry) => entry.nodes.map((n) => ({ type: n.type, model: n.model })))
36063
+ ].filter((c) => c.model?.bindings?.resourceKey === binding.resourceKey);
36064
+ return consumers.length > 0 && consumers.every((c) => isAgentToolNodeType22(c.type));
36065
+ };
35605
36066
  var getBindingResources2 = (nodes, bindings, definitions = [], subflows, options = {}) => {
35606
36067
  const bindingResources = [];
35607
36068
  for (const binding of bindings) {
@@ -35628,6 +36089,9 @@ var getBindingResources2 = (nodes, bindings, definitions = [], subflows, options
35628
36089
  const resourceConfig = RESOURCE_CONFIG[binding.resource];
35629
36090
  const resource = canonicalizeResourceCasing2(resourceConfig?.resource || binding.resource);
35630
36091
  const subType = resourceConfig?.subType || binding.resourceSubType;
36092
+ if (isResourceType(resource, "process") && isProcessOwnedByAgentTools(binding, nodes, definitions, subflows)) {
36093
+ continue;
36094
+ }
35631
36095
  if (bindingResources.find((br) => bindingResourceIdentity(br.resource, br.key) === bindingResourceIdentity(resource, binding.resourceKey))) {
35632
36096
  continue;
35633
36097
  }
@@ -35699,8 +36163,8 @@ var getBindingResources2 = (nodes, bindings, definitions = [], subflows, options
35699
36163
  if (inputs.timerType !== "timeCycle")
35700
36164
  continue;
35701
36165
  const preset = typeof inputs.timerPreset === "string" && inputs.timerPreset !== "custom" ? inputs.timerPreset : undefined;
35702
- const custom = typeof inputs.timerValue === "string" ? inputs.timerValue : undefined;
35703
- const timeCycle = preset ?? custom;
36166
+ const custom2 = typeof inputs.timerValue === "string" ? inputs.timerValue : undefined;
36167
+ const timeCycle = preset ?? custom2;
35704
36168
  if (!timeCycle)
35705
36169
  continue;
35706
36170
  bindingResources.push({
@@ -36021,7 +36485,7 @@ var buildInputSchema2 = (variables, startNode, definitions) => {
36021
36485
  ...fileDefinitions && { definitions: fileDefinitions }
36022
36486
  };
36023
36487
  };
36024
- var buildOutputSchema2 = (variables) => {
36488
+ var buildOutputSchema3 = (variables) => {
36025
36489
  const outputVars = (variables.globals || []).filter((v) => v.direction === "out");
36026
36490
  const { properties, definitions } = buildSchemaProperties2(outputVars);
36027
36491
  return {
@@ -36046,7 +36510,7 @@ var getMaestroEntryPoints2 = (packagePath, nodes, variables, definitions) => {
36046
36510
  uniqueId: entryPointId,
36047
36511
  type: EntryPointType2.Flow,
36048
36512
  input: buildInputSchema2(variables, startNode, definitions),
36049
- output: buildOutputSchema2(variables),
36513
+ output: buildOutputSchema3(variables),
36050
36514
  displayName
36051
36515
  });
36052
36516
  }
@@ -36268,7 +36732,7 @@ var getAllMaestroEntryPoints2 = (options) => {
36268
36732
  };
36269
36733
  var getAllApiEntryPoints2 = (options) => {
36270
36734
  const { triggers, variables, fallbackDisplayName } = options;
36271
- const output = buildOutputSchema2(variables);
36735
+ const output = buildOutputSchema3(variables);
36272
36736
  return triggers.flatMap((trigger) => {
36273
36737
  const entryPointId = getApiEntryPointId2(trigger);
36274
36738
  if (!entryPointId)
@@ -36480,6 +36944,7 @@ var CONVERSATIONAL_AGENT_SETTINGS2 = {
36480
36944
  temperature: 0,
36481
36945
  engine: "conversational-v1"
36482
36946
  };
36947
+ var AGENT_MAX_TOKENS_FALLBACK2 = 65535;
36483
36948
  var CONVERSATIONAL_OUTPUTS_MIN_VERSION2 = "1.2.0";
36484
36949
  var GEMINI_PERSONAS = ["Aoede", "Charon", "Fenrir", "Kore", "Leda", "Orus", "Puck", "Zephyr"];
36485
36950
  var OPENAI_PERSONAS = ["marin", "cedar", "alloy", "ash", "ballad", "coral", "echo", "sage", "shimmer", "verse"];
@@ -36595,12 +37060,14 @@ function createOutcomeMappingFromSchema2(outcomes, existing) {
36595
37060
  function getOutcomeNames2(schema) {
36596
37061
  return (schema.outcomes || []).map((o) => o.name);
36597
37062
  }
37063
+ var MODEL_DEFAULT_TEMPERATURE2 = 1;
36598
37064
  var STRUCTURAL_AGENT_INPUT_KEYS2 = /* @__PURE__ */ new Set([
36599
37065
  "source",
36600
37066
  "agentInputVariables",
36601
37067
  "agentOutputVariables",
36602
37068
  "conversationalAgentSettings",
36603
- "callContext"
37069
+ "callContext",
37070
+ "modelSkipsTemperature"
36604
37071
  ]);
36605
37072
  var STRUCTURAL_RESOURCE_INPUT_KEYS2 = /* @__PURE__ */ new Set(["source", "detail", "itemsDescription"]);
36606
37073
  var hasEmbeddedAgentContent2 = (nodeType, inputs) => {
@@ -36613,7 +37080,7 @@ var hasEmbeddedAgentContent2 = (nodeType, inputs) => {
36613
37080
  var toAgentShellInputs2 = (nodeType, inputs) => {
36614
37081
  if (!inputs)
36615
37082
  return;
36616
- const { agentInputVariables, agentOutputVariables, source, conversationalAgentSettings, callContext, ...rest } = inputs;
37083
+ const { agentInputVariables, agentOutputVariables, source, conversationalAgentSettings, callContext, modelSkipsTemperature, ...rest } = inputs;
36617
37084
  const isVoice = isVoiceAgentNodeType2(nodeType);
36618
37085
  const dropsForeignCallContext = !isVoice && callContext !== undefined;
36619
37086
  if (Object.keys(rest).length === 0 && !dropsForeignCallContext)
@@ -36623,7 +37090,8 @@ var toAgentShellInputs2 = (nodeType, inputs) => {
36623
37090
  ...agentInputVariables !== undefined && { agentInputVariables },
36624
37091
  ...agentOutputVariables !== undefined && { agentOutputVariables },
36625
37092
  ...conversationalAgentSettings !== undefined && { conversationalAgentSettings },
36626
- ...isVoice && callContext !== undefined && { callContext }
37093
+ ...isVoice && callContext !== undefined && { callContext },
37094
+ ...modelSkipsTemperature !== undefined && { modelSkipsTemperature }
36627
37095
  };
36628
37096
  };
36629
37097
  var toResourceShellInputs2 = (inputs) => {
@@ -36640,6 +37108,7 @@ var toResourceShellInputs2 = (inputs) => {
36640
37108
  };
36641
37109
  var SCHEMA_CONTAINER_MARKER2 = "x-uipath-container";
36642
37110
  var AGENT_INPUT_SOURCE_KEY2 = "x-uipath-source";
37111
+ var AGENT_INPUT_DECLARED_TYPE_KEY2 = "x-uipath-type";
36643
37112
  function getContainerChildProps2(prop) {
36644
37113
  if (prop?.type !== "object")
36645
37114
  return;
@@ -36826,6 +37295,6 @@ async function executeWritePlan2(plan, callbacks) {
36826
37295
  inlinedRefs: plan.inlinedRefs
36827
37296
  };
36828
37297
  }
36829
- export { agentDuplicateToolNames_duplicateName_message2, agentEmptyVar_unwrittenVariable_message2, agentFileNotAnalyzed_unconsumedFileVar_message2, agentInputRefs_ambiguousUnderscoreAsset_message2, agentInputRefs_ambiguousUnderscoreRoot_message2, agentInputRefs_normalizedNameCollision_message2, agentInputRefs_reservedAssetsRoot_message2, agentInputRefs_reservedMetadataRoot_message2, agentInputRefs_reservedNamespace_message2, agentInputRefs_unresolvedRef_message2, agenticSwitchDuplicateChoices_duplicateName_message2, conditionExpression_decisionWrapped_message2, conditionExpression_incomplete_message2, conditionExpression_invalid_message2, conditionExpression_required_message2, conversationTrigger_displayPromptRequired_message2, conversationalRequired_contextRequired_message2, conversationalRequired_conversationIdRequired_message2, conversationalVoiceEndCall_callContextInvalid_message2, conversationalVoice_callContextInvalid_message2, conversationalVoice_callContextRequired_message2, dataTransform_customScriptMissing_message2, dataTransform_filterMissingField_message2, dataTransform_filterNoConditions_message2, dataTransform_groupByAggMissingField_message2, dataTransform_groupByAggMissingOutputName_message2, dataTransform_groupByMissingField_message2, dataTransform_mapMissingField_message2, dataTransform_mapNoMappings_message2, dataTransform_missingCollection_message2, dataTransform_noOperations_message2, doWhile_limitOutOfRange_message2, entityQuery_emptyFilterExpression_message2, entityQuery_emptyFilterValueList_message2, entityQuery_incompleteSingleRecordRow_message2, entityQuery_invalidRecordLimit_message2, entityQuery_invalidRecordSkip_message2, entityQuery_uncarryableExpression_message2, entityQuery_uncarryableRelationPath_message2, entityQuery_unfilteredSingleRecord_message2, entityQuery_unresolvedRelation_message2, entitySchema_fieldMissing_message2, entityWrite_readNodeFilterless_message2, entityWrite_readNodeMissing_message2, entityWrite_readNodeMultiRecord_message2, entityWrite_readNodeNonNative_message2, entityWrite_readNodeUnusableFilter_message2, entityWrite_requiredFieldBlanked_message2, entityWrite_requiredFieldMissing_message2, errorHandlerPlacement_connected_message2, errorHandlerPlacement_duplicate_message2, errorHandlerPlacement_nested_message2, errorHandlerPlacement_subflow_message2, escalation_appRequired_message2, escalation_memoryArgumentRequired_message2, escalation_nameRequired_message2, escalation_quickFormDuplicateFieldLabel_message2, escalation_recipientRequired_message2, governance_hitlRequired_message2, governance_maxIterationsExceeded_message2, governance_maxTokensExceeded_message2, governance_modelNotAvailable_message2, governance_noAllowedModel_message2, governance_temperatureExceeded_message2, hitlDocClassification_processedDocumentRequired_message2, hitlDocValidation_extractionOutputRequired_message2, hitlDocValidation_extractionResultRequired_message2, hitlDocValidation_taxonomyRequired_message2, hitlQuickForm_emptySchema_message2, hitlQuickForm_fieldLabelRequired_message2, ixpSchemaDraft_invalidWithDetail_message2, ixpSchemaDraft_invalid_message2, ixpSchemaLimits_exceeded_message2, jevClassifier_instructionsMissing_message2, jevClassifier_instructionsVariableMissing_message2, jevClassifier_instructionsVariableType_message2, jevClassifier_levelTextMissing_message2, jevClassifier_levelsCount_message2, jevClassifier_modelMissing_message2, jevClassifier_optionNameDuplicate_message2, jevClassifier_optionNameMissing_message2, jevClassifier_optionsCount_message2, jevClassifier_questionFieldVariableMissing_message2, jevClassifier_questionFieldVariableType_message2, jevClassifier_questionNameDuplicate_message2, jevClassifier_questionNameInvalid_message2, jevClassifier_questionNameMissing_message2, jevClassifier_questionsMissing_message2, jevClassifier_questionsVariableMissing_message2, jevClassifier_questionsVariableType_message2, jevClassifier_stateJsonArray_message2, jevClassifier_stateJsonObject_message2, jevClassifier_statePropertiesMissing_message2, jevClassifier_statePropertyNameDuplicate_message2, jevClassifier_statePropertyNameInvalid_message2, jevClassifier_statePropertyNameMissing_message2, jevClassifier_statePropertyValueInvalid_message2, jevClassifier_statePropertyValueMissing_message2, jevClassifier_statePropertyVariableMissing_message2, jevClassifier_statePropertyVariableType_message2, jevClassifier_stateTextMissing_message2, jevClassifier_stateVariableMissing_message2, jevClassifier_stateVariableType_message2, nodeId_invalidFormat_message2, nodeId_reservedWord_message2, nodeMaxInstances_exceeded_message2, outputMapping_missing_message2, patternPlaceholder_step_message2, retry_durationInvalid_message2, retry_exponentialBaseInvalid_message2, retry_maxCountInvalid_message2, schemaValidator_genericKeyword_message2, schemaValidator_invalidEnum_message2, schemaValidator_invalidField_message2, schemaValidator_invalidPattern_message2, schemaValidator_outOfRange_message2, schemaValidator_required_message2, schemaValidator_typeMismatch_message2, schemaValidator_validation_genericError2, scriptBody_mustache_message2, singleConversationTrigger_message2, timeLimit_durationInvalid_message2, triggerRequired_message2, en_default6, SUPPORTED_LOCALES2, DEFAULT_LOCALE2, normalizeLocale2, resolveSupportedLocale2, createI18nRegistrar2, VALIDATION_NAMESPACE2, registerFlowSchemaI18n2, string, array, object, looseObject, union, tuple, literal, JS_EXPRESSION_PREFIX2, expressionFieldTypeSchema2, expressionModeSchema2, expressionValueSchema2, expressionLikeSchema2, isExpressionValue2, isEmptyExpressionValue2, encodeLiteral2, decodeLiteral2, coerceToExpressionValue2, getJsExpressionBody2, expectedTypeToFieldType2, splitVariableType2, isVariableTypeCompatible2, coerceInputsViaSchema2, ESCAPED_MUSTACHE_PLACEHOLDER2, hasMustache2, parseMustacheSegments2, templateInterpolationBody2, QES_UNSAFE_CHAR2, isQesUncarryableValue2, RESERVED_WORDS2, isReservedWord2, VALID_IDENTIFIER_PATTERN2, FLAT_SEP2, getErrorMessage2, toError2, getErrorCode2, generateRandomId2, generateNextId2, UNSAFE_PROPERTY_KEYS2, isUnsafeKey2, isPlainObject2, asRecord2, asNonEmptyString2, deepEqual2, readEntityRecordWindowIsInvalid2, entityWriteRowHasValue2, isNonNullableEntityWriteField2, isMandatoryEntityWriteField2, nonNullableEntityWriteFields2, mandatoryEntityWriteFields2, isNonNativeEntitySubType2, readEntityWriteTargetProblem2, RuntimeProfile3, instance2, migrations, currentStorageSchema2, currentAgentStorageSchema2, currentResourceStorageSchema, currentFeatureStorageSchema, currentFlowLayoutStorageSchema, applyMigrations, getLatestVersion, isBlockingSeverity2, shouldBlockAction2, agentEnforcementsSchema2, isExpression2, decodeLiteralForValidation2, decodeLiteralsForValidation2, isJsonSchema2, normalizeInputDefinition2, resolveNestedFieldSchema2, getFieldValidator2, getNodeValidator2, schemaErrorsToValidationErrors2, SCHEMA_ERROR_CODES2, clearValidatorCache2, getManifestForNode2, getNodeLabel2, resolveTemplate2, isTriggerNodeType2, isEndNodeType2, LOOP_NODE_TYPE2, DOWHILE_NODE_TYPE2, isLoopNodeType2, ERROR_HANDLER_NODE_TYPE2, ERROR_HANDLER_ENTRY_HANDLE2, ERROR_HANDLER_DONE_HANDLE2, isErrorHandlerNodeType2, getOutputMappingsPath2, getOutputMappings2, errorHandlerReachesDone2, isContainerNodeType2, isCollectionLoopNodeType2, isDoWhileNodeType2, DOWHILE_MAX_LIMIT2, DOWHILE_MIN_LIMIT2, parseDoWhileLimit2, resolveDoWhileLimit2, DECISION_NODE_TYPE2, SWITCH_NODE_TYPE2, MERGE_NODE_TYPE2, MOCK_NODE_TYPE2, supportsVariableUpdates2, SUBFLOW_NODE_TYPE2, isSubflowNodeType2, AUTONOMOUS_AGENT_NODE_TYPE2, CONVERSATIONAL_AGENT_NODE_TYPE2, VOICE_AGENT_NODE_TYPE2, CONVERSATIONAL_AGENT_ICON2, AGENT_NODE_TYPES2, isConversationalOrVoiceAgentNodeType2, isVoiceAgentNodeType2, isAutonomousAgentNodeType2, isAgentNodeType2, isPublishedAgentNodeType2, isAgentToolNodeType2, AGENT_RESOURCE_PREFIX2, isAgentResourceNodeType2, CONVERSATIONAL_VOICE_END_CALL_NODE_TYPE2, CONVERSATION_TRIGGER_NODE_TYPE2, isConversationalRuntimeNodeType2, isCallContextEmpty2, isEmptyInputValue2, schemaValidationRule2, minConnectionsRule2, triggerRequiredRule2, dataTransformRule2, outputMappingRule2, ESCALATION_QUICK_FORM_NODE_TYPE2, ESCALATION_TASK_TYPE2, ESCALATION_TYPE_CODE2, resolveEscalationTaskType2, AGENT_RESOURCE_SOURCE_HANDLES2, isToolNode2, isContextNode2, DATAFABRIC_ENTITYSET_NODE_TYPE2, DATAFABRIC_ENTITYSET_CONTEXT_TYPE2, isDataFabricEntitySetContextNode2, isEscalationNode2, isQuickFormEscalationNode2, isMcpNode2, isA2aNode2, CONVERSATIONAL_A2A_NODE_TYPE_PREFIX2, isConversationalA2aNode2, isMemoryNode2, isAgentResourceNode2, DEFAULT_STORAGE_VERSION2, getDefaultAgentContent2, RecipientType2, BYO_VALIDATOR_TYPE2, temperatureExceededMessage2, maxTokensExceededMessage2, maxIterationsExceededMessage2, modelNotAvailableMessage2, governanceRule2, conditionExpressionRule2, agentDuplicateToolNamesRule2, HITL_NODE_TYPE2, HITL_QUICK_FORM_NODE_TYPE2, HITL_CODED_ACTION_NODE_TYPE2, HITL_DOC_VALIDATION_NODE_TYPE2, HITL_DOC_CLASSIFICATION_NODE_TYPE2, HITL_DECISION_AUTO_NODE_TYPE2, DYNAMIC_EXTRACT_NODE_TYPE2, FORM_TRIGGER_NODE_TYPE2, QUEUE_BULK_ADD_NODE_TYPE2, UI_ONLY_NODE_TYPES3, HITL_NODE_TYPES2, isHitlNodeType2, HITL_QUICK_FORM_NODE_TYPES2, isHitlQuickFormNodeType2, HITL_CODED_ACTION_NODE_TYPES2, isHitlCodedActionNodeType2, isHumanActionNodeType2, collectWrittenGlobalIds2, agentEmptyVarRule2, JEV_CLASSIFIER_TOOL_TYPE2, JEV_STATE_ARGUMENT2, JEV_QUESTIONS_ARGUMENT2, JEV_NAME_PATTERN2, JEV_CHOICE_MIN_OPTIONS2, JEV_CHOICE_MAX_OPTIONS2, JEV_SCORE_MIN_LEVELS2, JEV_SCORE_MAX_LEVELS2, JEV_QUESTION_TYPES2, JEV_STATE_TYPES2, JEV_STATE_ITEMS_TYPES2, JEV_STATE_PROPERTY_TYPES2, JEV_DEFAULT_STATE_DESCRIPTIONS2, JEV_QUESTIONS_DEFAULT_DESCRIPTION2, createJevValueSource2, createJevStateProperty2, createJevChoiceOptions2, createJevScoreLevels2, getNextJevQuestionName2, createJevQuestion2, createJevBuilderQuestion2, createDefaultJevClassifierConfig2, normalizeJevClassifierConfig2, JEV_QUESTION_FIELDS2, getJevStateSources2, jevStateDeclaresShape2, toJevCriteriaValue2, toJevOptionsValue2, toJevQuestionValue2, getJevFixedText2, buildJevStateSchema2, buildJevClassifierInputSchema2, buildJevClassifierOutputSchema2, JobAttachmentSchema2, ANALYZE_FILES_SCHEMA2, SUMMARIZE_SCHEMA2, BATCH_TRANSFORM_SCHEMA2, HTTP_REQUEST_SCHEMA2, JEV_CLASSIFIER_SCHEMA2, CREATE_FILE_PATH_DESCRIPTIONS2, CREATE_FILE_SCHEMA2, BUILT_IN_TOOL_SCHEMAS2, getToolFields2, getBuiltInToolSchema2, isFileTypedVariable2, schemaAcceptsFileInput2, agentHasFileProducingTool2, findUnhandledFilePromptVarPaths2, JEV_CLASSIFIER_CONFIG_INVALID2, JEV_CLASSIFIER_MODEL_MISSING2, validateJevClassifierConfig2, getJevBoundVariablePaths2, agentJevClassifierRule2, IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2, IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2, IXP_SCHEMA_INVALID_ERROR_CODE2, IXP_MAX_FIELD_GROUP_NAME_LENGTH2, IXP_MAX_FIELD_NAME_LENGTH2, IXP_MAX_FIELD_TYPE_NAME_LENGTH2, IXP_MAX_INSTRUCTIONS_LENGTH2, IXP_GROUP_PATH_SEPARATOR2, IXP_SCHEMA_LIMIT_EXCEEDED_ERROR_CODE2, readIxpSchemaEditorDraft2, stripIxpSchemaEditorDraft2, attachIxpSchemaEditorDraft2, readExtractionOutputSchema2, ixpSchemaDraftRule2, ixpSchemaLimitsRule2, INVALID_NODE_ID_CODE2, PATTERN_PLACEHOLDER_DISPLAY_KEY2, isPatternPlaceholder2, patternPlaceholderRule2, DEFAULT_TRIGGER_OUTCOME2, withDefaultTriggerOutcome2, normalizeFormTriggerSchema2, getHitlFieldChannelKey2, isHitlInputDirectionField2, isHitlOutputDirectionField2, findDuplicateHitlChannelKeys2, isAutoDerivedFieldBinding2, stripAutoDerivedFieldBindings2, ASSETS_PREFIX2, VARS_PREFIX2, METADATA_PREFIX2, AGENT_PREFIX2, INPUT_IDENTIFIER2, METADATA_IDENTIFIER2, ASSETS_IDENTIFIER2, VARIABLE_PATH_IDENTIFIER_PATTERN2, VARIABLE_PATH_QUOTED_KEY_PATTERN2, VARIABLE_PATH_SELECTOR_PATTERN2, VARIABLE_PATH_PATTERN2, isIdentifierPathKey2, appendPathSegment2, decodeQuotedKey2, hasQuotedKey2, hasIndexSelector2, canonicalizeQuotedSelectors2, splitPathSegments2, joinPathSegments2, ASSET_NAME_PATTERN2, ASSETS_REF_PATTERN2, DEFAULT_AGENT_INPUT_ENCODING2, NESTED_AGENT_INPUT_SCHEMA_FLAG2, encodeFlatName2, decodeFlatName2, sourcesConflict2, compareVersions2, relatedPathsIn2, relatedColumnMapIn2, validateRelatedPaths2, TIME_LIMIT_INPUT2, TIME_LIMIT_CUSTOM_PRESET2, TIME_LIMIT_DEFAULT_PRESET2, parseIsoDuration2, isTimeLimitExpression2, isIsoDuration2, isTimeLimitEnabled2, resolveTimeLimitDuration2, RETRY_INPUT2, RETRY_BACKOFF2, RETRY_DEFAULTS2, isRetryEnabled2, retryBackoffHasMaxDuration2, isValidRetryCount2, toPlainDuration2, resolveRetry2, nodeDisplayManifestSchema, nodeManifestSchema2, idSchema2, workflowRuntimeSchema2, DEFAULT_WORKFLOW_RUNTIME2, argumentBindingSchema2, workflowVariableSchema2, variableUpdateSchema2, nodeVariableSchema2, workflowVariablesSchema2, EMPTY_VARIABLES2, workflowConnectionSchema2, nodeLayoutSchema2, waypointSchema2, edgeLayoutSchema2, layoutSchema2, bindingSchema2, isNodeUniqueId2, assignNodeUniqueIds2, edgeSchema2, nodeSchema2, normalizeMaxInstances2, nodeManifestSchema22, categoryManifestSchema2, versionSchema2, generalRules2, cliRules2, runRules2, SWITCH_CASE_HANDLE_PREFIX2, switchCaseHandle2, isGatewayNodeType2, SYNTHETIC_GATEWAY_OUTPUT_KEYS2, omitSyntheticGatewayOutputs2, getGatewayBranches2, getGatewayConditionSources2, getGatewayBranchLabels2, rewriteGatewayExpressions2, toSerializedNode2, toSerializedNodes2, subflowEntrySchema2, workflowSchema2, workflowSchemaV1_0_02, workflowSchemaV1_02, workflowSchemaV1_12, workflowSchemaV1_22, workflowSchemaV1_32, workflowSchemaV1_42, workflowSchemaV1_52, workflowSchemaV1_62, workflowSchemaV1_72, workflowSchemaV1_82, workflowSchemaV1_92, workflowSchemaV1_102, WORKFLOW_VERSIONS2, CURRENT_WORKFLOW_VERSION2, MINIMUM_SUPPORTED_SCHEMA_VERSION2, workflowFileSchema2, subflowFileSchema6, workflowManifestSchema2, manifestResponseSchema2, handleTargetSchema2, addNodePanelSearchScopeSchema2, addNodePanelCreateActionSchema2, addNodePanelConfigSchema2, connectionConstraintSchema2, constraintWithAddNodePanel2, evaluateExpression2, evaluateTemplate2, evaluateCondition2, matchesTypePattern2, checkCategoryConstraint2, validateConnection2, canAcceptMoreConnections2, meetsMinimumConnections2, resolveRefs2, containsRef2, applyJsonPointer2, parsePointerTokens2, toJsonPointer2, fileFormatToInMemoryWorkflow2, resolveAndConvertWorkflow2, inMemoryWorkflowToFileFormat2, parseWorkflowJson2, workflowScopes2, collectWorkflowNodesDeep2, ASSET_BINDING_RESOURCE2, assetBindingId2, assetFolderBindingId2, ASSET_SUBTYPE_TO_VARIABLE_TYPE2, isAssetResourceSubType2, agentInputAssetType2, createAssetBindings2, isAssetNameBinding2, CONNECTION_BINDING_RESOURCE2, isConnectionBindingResource2, CONNECTOR_NODE_PREFIX2, CONNECTOR_TRIGGER_PREFIX2, CONNECTOR_EVENT_PREFIX2, TRIGGER_NODE_PREFIX2, TRIGGER_TYPE_PREFIXES2, buildConnectorNodeType2, parseConnectorNodeType2, findDefaultEntryPointNodeId2, WEEKDAYS2, isQuartzCron2, isValidQuartzCron2, getTimeCycleFromCronExpression2, getCronExpressionFromTimeCycleValue2, BINDINGS_PATH_PREFIX2, BINDINGS_PATH_PREFIX_PATTERN2, BINDINGS_PLACEHOLDER_PATH_PREFIX2, GUID_PATTERN2, EntryPointType2, ProjectType2, AGENT_TARGET_RUNTIME2, canonicalizeResourceCasing2, JOB_ATTACHMENT_DEFINITION_KEY2, JOB_ATTACHMENT_REF2, isJobAttachmentRef2, convertFileTypesToRefs2, convertJobAttachmentRefsToFileTypes2, variableToJsonSchema2, getBindingResourceValue2, getBindingResources2, isStartEventNode2, isTriggerScopedInput2, getEffectiveTriggerInputs2, buildSchemaProperties2, buildInputSchema2, buildOutputSchema2, getEntryPoints2, getMaestroEntryPoints2, getStartEventNodes2, resolveApiWorkflowTriggers2, generateOperateJson2, generatePackageDescriptor2, generateBindingsJson2, generateEntryPointsJson2, deduplicateBindings2, mergeBindingResources2, sanitizeFileName2, toBpmnWorkflowPaths2, toApiWorkflowPaths2, toPackagePath2, applyConnectionOverwritesToWorkflow2, applyConnectionRemovalsToWorkflow2, createBindingPackage2, getAllMaestroEntryPoints2, getAllApiEntryPoints2, getApiEntryPointId2, serializeFrequencyToCron2, parseCronToFrequency2, parseBindingPlaceholder2, asBindingKey2, getInstanceBindingKey2, resolveContextBindingPlaceholders2, matchContextBindings2, UnresolvedBindingsError2, isUnresolvedBindingsError2, CONVERSATIONAL_AGENT_SETTINGS2, CONVERSATIONAL_OUTPUTS_MIN_VERSION2, DEFAULT_CONVERSATIONAL_VOICE_MODEL2, parseVoiceModelCatalog2, resolveVoiceModels2, resolveDefaultVoiceModel2, findVoiceModel2, VOICE_TURN_DETECTION_SENSITIVITIES2, VOICE_TURN_DETECTION_LIMITS2, DEFAULT_VOICE_AGENT_SPEAKS_FIRST2, VOICE_TEMPERATURE_LIMITS2, DEFAULT_CONVERSATIONAL_VOICE_SETTINGS2, createInputSchemaFromAppSchema2, createOutputSchemaFromAppSchema2, createDotNetTypeMapping2, createOutcomeMappingFromSchema2, getOutcomeNames2, STRUCTURAL_AGENT_INPUT_KEYS2, STRUCTURAL_RESOURCE_INPUT_KEYS2, hasEmbeddedAgentContent2, toAgentShellInputs2, toResourceShellInputs2, SCHEMA_CONTAINER_MARKER2, AGENT_INPUT_SOURCE_KEY2, getContainerChildProps2, unresolveRefs2, createRefResolver2, planWriteThrough2, executeWritePlan2 };
37298
+ export { SUPPORTED_LOCALES2, DEFAULT_LOCALE2, normalizeLocale2, resolveSupportedLocale2, createI18nRegistrar2, VALIDATION_NAMESPACE2, registerFlowSchemaI18n2, string, array, object, looseObject, union, tuple, literal, JS_EXPRESSION_PREFIX2, expressionFieldTypeSchema2, expressionModeSchema2, expressionValueSchema2, expressionLikeSchema2, isExpressionValue2, isEmptyExpressionValue2, encodeLiteral2, decodeLiteral2, coerceToExpressionValue2, getJsExpressionBody2, expectedTypeToFieldType2, splitVariableType2, expectedTypeMembers2, isVariableTypeCompatible2, coerceInputsViaSchema2, ESCAPED_MUSTACHE_PLACEHOLDER2, hasMustache2, parseMustacheSegments2, templateInterpolationBody2, QES_UNSAFE_CHAR2, isQesUncarryableValue2, RESERVED_WORDS2, UNSAFE_PROPERTY_KEYS2, isUnsafeKey2, isReservedWord2, VALID_IDENTIFIER_PATTERN2, FLAT_SEP2, getErrorMessage2, toError2, getErrorCode2, generateRandomId2, generateNextId2, isPlainObject2, asRecord2, asNonEmptyString2, deepEqual2, readEntityRecordWindowIsInvalid2, entityWriteRowHasValue2, isNonNullableEntityWriteField2, isMandatoryEntityWriteField2, nonNullableEntityWriteFields2, mandatoryEntityWriteFields2, readEntitySingleRecordFieldIsNotUnique2, isNonNativeEntitySubType2, readEntityWriteTargetProblem2, RuntimeProfile3, ESCALATION_QUICK_FORM_NODE_TYPE2, ESCALATION_TASK_TYPE2, ESCALATION_TYPE_CODE2, resolveEscalationTaskType2, AGENT_RESOURCE_SOURCE_HANDLES2, isToolNode2, isContextNode2, DATAFABRIC_ENTITYSET_NODE_TYPE2, DATAFABRIC_ENTITYSET_CONTEXT_TYPE2, isDataFabricEntitySetContextNode2, isEscalationNode2, isQuickFormEscalationNode2, isMcpNode2, isA2aNode2, CONVERSATIONAL_A2A_NODE_TYPE_PREFIX2, isConversationalA2aNode2, isMemoryNode2, isAgentResourceNode2, HITL_NODE_TYPE2, HITL_QUICK_FORM_NODE_TYPE2, HITL_CODED_ACTION_NODE_TYPE2, HITL_DOC_VALIDATION_NODE_TYPE2, HITL_DOC_CLASSIFICATION_NODE_TYPE2, HITL_DECISION_AUTO_NODE_TYPE2, DYNAMIC_EXTRACT_NODE_TYPE2, FORM_TRIGGER_NODE_TYPE2, QUEUE_BULK_ADD_NODE_TYPE2, TRIGGER_INSTANCE_NAME_INPUT2, UI_ONLY_NODE_TYPES3, HITL_NODE_TYPES2, isHitlNodeType2, HITL_QUICK_FORM_NODE_TYPES2, isHitlQuickFormNodeType2, HITL_CODED_ACTION_NODE_TYPES2, isHitlCodedActionNodeType2, isHumanActionNodeType2, IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2, IXP_SCHEMA_EDITOR_ISSUES_EXTENSION2, IXP_SCHEMA_INVALID_ERROR_CODE2, IXP_MAX_FIELD_GROUP_NAME_LENGTH2, IXP_MAX_FIELD_NAME_LENGTH2, IXP_MAX_FIELD_TYPE_NAME_LENGTH2, IXP_MAX_INSTRUCTIONS_LENGTH2, IXP_GROUP_PATH_SEPARATOR2, IXP_SCHEMA_LIMIT_EXCEEDED_ERROR_CODE2, readIxpSchemaEditorDraft2, stripIxpSchemaEditorDraft2, attachIxpSchemaEditorDraft2, readExtractionOutputSchema2, instance2, migrations, currentStorageSchema2, currentAgentStorageSchema2, currentResourceStorageSchema, currentFeatureStorageSchema, currentFlowLayoutStorageSchema, applyMigrations, getLatestVersion, isBlockingSeverity2, shouldBlockAction2, agentEnforcementsSchema2, isExpression2, decodeLiteralForValidation2, decodeLiteralsForValidation2, isJsonSchema2, normalizeInputDefinition2, resolveNestedFieldSchema2, getFieldValidator2, getNodeValidator2, schemaErrorsToValidationErrors2, SCHEMA_ERROR_CODES2, clearValidatorCache2, getManifestForNode2, getNodeLabel2, resolveTemplate2, isTriggerNodeType2, isEndNodeType2, LOOP_NODE_TYPE2, DOWHILE_NODE_TYPE2, isLoopNodeType2, ERROR_HANDLER_NODE_TYPE2, ERROR_HANDLER_ENTRY_HANDLE2, ERROR_HANDLER_DONE_HANDLE2, isErrorHandlerNodeType2, getOutputMappingsPath2, getOutputMappings2, errorHandlerReachesDone2, isContainerNodeType2, isCollectionLoopNodeType2, isDoWhileNodeType2, DOWHILE_MAX_LIMIT2, DOWHILE_MIN_LIMIT2, parseDoWhileLimit2, resolveDoWhileLimit2, DECISION_NODE_TYPE2, SWITCH_NODE_TYPE2, MERGE_NODE_TYPE2, MOCK_NODE_TYPE2, supportsVariableUpdates2, SUBFLOW_NODE_TYPE2, isSubflowNodeType2, AUTONOMOUS_AGENT_NODE_TYPE2, CONVERSATIONAL_AGENT_NODE_TYPE2, VOICE_AGENT_NODE_TYPE2, CONVERSATIONAL_AGENT_ICON2, AGENT_NODE_TYPES2, isConversationalOrVoiceAgentNodeType2, isVoiceAgentNodeType2, isAutonomousAgentNodeType2, isAgentNodeType2, isPublishedAgentNodeType2, isAgentToolNodeType2, AGENT_RESOURCE_PREFIX2, isAgentResourceNodeType2, CONVERSATIONAL_VOICE_END_CALL_NODE_TYPE2, CONVERSATION_TRIGGER_NODE_TYPE2, isConversationalRuntimeNodeType2, isCallContextEmpty2, isEmptyInputValue2, schemaValidationRule2, minConnectionsRule2, triggerRequiredRule2, dataTransformRule2, outputMappingRule2, DEFAULT_STORAGE_VERSION2, getDefaultAgentContent2, RecipientType2, BYO_VALIDATOR_TYPE2, temperatureExceededMessage2, maxTokensExceededMessage2, maxIterationsExceededMessage2, modelNotAvailableMessage2, governanceRule2, conditionExpressionRule2, agentDuplicateToolNamesRule2, collectWrittenGlobalIds2, agentEmptyVarRule2, JEV_CLASSIFIER_TOOL_TYPE2, JEV_STATE_ARGUMENT2, JEV_QUESTIONS_ARGUMENT2, JEV_NAME_PATTERN2, JEV_CHOICE_MIN_OPTIONS2, JEV_CHOICE_MAX_OPTIONS2, JEV_SCORE_MIN_LEVELS2, JEV_SCORE_MAX_LEVELS2, JEV_QUESTION_TYPES2, JEV_STATE_TYPES2, JEV_STATE_ITEMS_TYPES2, JEV_STATE_PROPERTY_TYPES2, JEV_DEFAULT_STATE_DESCRIPTIONS2, JEV_QUESTIONS_DEFAULT_DESCRIPTION2, createJevValueSource2, createJevStateProperty2, createJevChoiceOptions2, createJevScoreLevels2, getNextJevQuestionName2, createJevQuestion2, createJevBuilderQuestion2, createDefaultJevClassifierConfig2, normalizeJevClassifierConfig2, JEV_QUESTION_FIELDS2, getJevStateSources2, jevStateDeclaresShape2, toJevCriteriaValue2, toJevOptionsValue2, toJevQuestionValue2, getJevFixedText2, buildJevStateSchema2, buildJevClassifierInputSchema2, buildJevClassifierOutputSchema2, JobAttachmentSchema2, ANALYZE_FILES_SCHEMA2, SUMMARIZE_SCHEMA2, BATCH_TRANSFORM_SCHEMA2, HTTP_REQUEST_SCHEMA2, JEV_CLASSIFIER_SCHEMA2, CREATE_FILE_PATH_DESCRIPTIONS2, CREATE_FILE_SCHEMA2, BUILT_IN_TOOL_SCHEMAS2, getToolFields2, getBuiltInToolSchema2, isFileTypedVariable2, schemaAcceptsFileInput2, agentHasFileProducingTool2, findUnhandledFilePromptVarPaths2, JEV_CLASSIFIER_CONFIG_INVALID2, JEV_CLASSIFIER_MODEL_MISSING2, validateJevClassifierConfig2, getJevBoundVariablePaths2, agentJevClassifierRule2, ixpSchemaDraftRule2, ixpSchemaLimitsRule2, INVALID_NODE_ID_CODE2, PATTERN_PLACEHOLDER_DISPLAY_KEY2, isPatternPlaceholder2, patternPlaceholderRule2, DEFAULT_TRIGGER_OUTCOME2, withDefaultTriggerOutcome2, normalizeFormTriggerSchema2, getHitlFieldChannelKey2, isHitlInputDirectionField2, isHitlOutputDirectionField2, findDuplicateHitlChannelKeys2, isAutoDerivedFieldBinding2, stripAutoDerivedFieldBindings2, ASSETS_PREFIX2, VARS_PREFIX2, isAssetVariablePath2, isVarsVariablePath2, METADATA_PREFIX2, AGENT_PREFIX2, INPUT_IDENTIFIER2, METADATA_IDENTIFIER2, ASSETS_IDENTIFIER2, VARIABLE_PATH_IDENTIFIER_PATTERN2, VARIABLE_PATH_QUOTED_KEY_PATTERN2, VARIABLE_PATH_SELECTOR_PATTERN2, VARIABLE_PATH_PATTERN2, isIdentifierPathKey2, appendPathSegment2, decodeQuotedKey2, hasQuotedKey2, hasIndexSelector2, canonicalizeQuotedSelectors2, splitPathSegments2, joinPathSegments2, ASSET_NAME_PATTERN2, ASSETS_REF_PATTERN2, DEFAULT_AGENT_INPUT_ENCODING2, NESTED_AGENT_INPUT_SCHEMA_FLAG2, encodeFlatName2, decodeFlatName2, sourcesConflict2, compareVersions2, relatedPathsIn2, relatedColumnMapIn2, validateRelatedPaths2, TIME_LIMIT_INPUT2, TIME_LIMIT_CUSTOM_PRESET2, TIME_LIMIT_DEFAULT_PRESET2, parseIsoDuration2, isTimeLimitExpression2, isIsoDuration2, isTimeLimitEnabled2, resolveTimeLimitDuration2, RETRY_INPUT2, RETRY_BACKOFF2, RETRY_DEFAULTS2, isRetryEnabled2, retryBackoffHasMaxDuration2, isValidRetryCount2, toPlainDuration2, resolveRetry2, normalizeMaxInstances2, generalRules2, cliRules2, runRules2, SWITCH_CASE_HANDLE_PREFIX2, switchCaseHandle2, isGatewayNodeType2, SYNTHETIC_GATEWAY_OUTPUT_KEYS2, omitSyntheticGatewayOutputs2, isMatchAllCasesSwitch2, getGatewayBranches2, getGatewayConditionSources2, getGatewayBranchLabels2, rewriteGatewayExpressions2, toSerializedNode2, toSerializedNodes2, EXTRACTION_METHOD, collectWorkflowNodes2, isDynamicExtractNodeType2, readModelConfig, readNodeLabel, readNodeDescription, ATTRIBUTION_TO_API_STRATEGY, toApiExtractionStrategy, MODEL_VERSION_TO_LLM_GATEWAY_ID, toGatewayModelId, tryLlmGatewayModelId, tryApiAttributionStrategy, resolveApiAttributionStrategy, tryApiAttributionModelOverride, fromLlmGatewayModelId, tryApiLanguageSupport, fromApiLanguageSupport, buildApiPreprocessing, buildApiExtractionConfig, buildPrompt, normalizeExtractionSchema, isExtractionSchema, readExtractionSchema, readExtractionSchemaEditorDraft, readSchemaDocument, hasAuthoredExtraction, readPreprocessing, toModel, buildExtractionConfig, mirrorExtractionConfig, DEFAULT_FIELD_SCHEMA, buildFieldValueSchema, GROUP_PATH_SEPARATOR2, composeGroupOutputName, getGroupOutputName, buildOutputSchema2, buildExtractionJson, IDP_PROCESSOR_RESOURCE_KIND, IDP_PROCESSOR_RESOURCE_TYPE, IDP_PROCESSOR_KEY_INPUT, IDP_PROCESSOR_READONLY_INPUT, isIdpProcessorReadOnly2, readIdpProcessorKey2, IDP_PROCESSOR_NAME_INPUT, IDP_PROCESSOR_FOLDER_PATH_INPUT, readIdpProcessorName2, readIdpProcessorFolderPath2, isPublishedIdpProcessorLink2, IDP_PROCESSOR_DESCRIPTION_MAX_LENGTH, clampIdpProcessorDescription, buildIdpProcessorSpec, hasUnreadableIdpProcessorSchema, readIdpProcessorModelConfig, readEcsProcessorModelConfig, readEcsProcessorSchemaDocument, readIdpProcessorSchemaDocument, IDP_PROCESSOR_BINDING_RESOURCE, IDP_PROCESSOR_BINDING_NAME, IDP_PROCESSOR_FOLDER_PATH_BINDING_NAME, IDP_PROCESSOR_NAME_BINDING_NAME, deriveIdpProcessorBindings, workflowRuntimeSchema2, DEFAULT_WORKFLOW_RUNTIME2, argumentBindingSchema2, workflowVariableSchema2, variableUpdateSchema2, nodeVariableSchema2, workflowVariablesSchema2, EMPTY_VARIABLES2, workflowConnectionSchema2, nodeLayoutSchema2, waypointSchema2, edgeLayoutSchema2, layoutSchema2, bindingSchema2, nodeDisplayManifestSchema, nodeManifestSchema2, idSchema2, isNodeUniqueId2, assignNodeUniqueIds2, edgeSchema2, nodeSchema2, nodeManifestSchema22, categoryManifestSchema2, versionSchema2, subflowEntrySchema2, workflowSchema2, workflowSchemaV1_0_02, workflowSchemaV1_02, workflowSchemaV1_12, workflowSchemaV1_22, workflowSchemaV1_32, workflowSchemaV1_42, workflowSchemaV1_52, workflowSchemaV1_62, workflowSchemaV1_72, workflowSchemaV1_82, workflowSchemaV1_92, workflowSchemaV1_102, WORKFLOW_VERSIONS2, CURRENT_WORKFLOW_VERSION2, MINIMUM_SUPPORTED_SCHEMA_VERSION2, workflowFileSchema2, subflowFileSchema6, workflowManifestSchema2, manifestResponseSchema2, handleTargetSchema2, addNodePanelSearchScopeSchema2, addNodePanelCreateActionSchema2, addNodePanelConfigSchema2, connectionConstraintSchema2, constraintWithAddNodePanel2, evaluateExpression2, evaluateTemplate2, evaluateCondition2, matchesTypePattern2, checkCategoryConstraint2, validateConnection2, canAcceptMoreConnections2, meetsMinimumConnections2, resolveRefs2, containsRef2, applyJsonPointer2, parsePointerTokens2, toJsonPointer2, fileFormatToInMemoryWorkflow2, resolveAndConvertWorkflow2, inMemoryWorkflowToFileFormat2, parseWorkflowJson2, workflowScopes2, collectWorkflowNodesDeep2, ASSET_BINDING_RESOURCE2, assetBindingId2, assetFolderBindingId2, ASSET_SUBTYPE_TO_VARIABLE_TYPE2, isAssetResourceSubType2, agentInputAssetType2, createAssetBindings2, isAssetNameBinding2, CONNECTION_BINDING_RESOURCE3, isConnectionBindingResource2, CONNECTOR_NODE_PREFIX2, CONNECTOR_TRIGGER_PREFIX2, CONNECTOR_EVENT_PREFIX2, TRIGGER_NODE_PREFIX2, TRIGGER_TYPE_PREFIXES2, AGENT_TOOL_NODE_PREFIX2, buildConnectorNodeType2, parseConnectorNodeType2, findDefaultEntryPointNodeId2, WEEKDAYS2, isQuartzCron2, isValidQuartzCron2, getTimeCycleFromCronExpression2, getCronExpressionFromTimeCycleValue2, BINDINGS_PATH_PREFIX2, BINDINGS_PATH_PREFIX_PATTERN2, BINDINGS_PLACEHOLDER_PATH_PREFIX2, GUID_PATTERN2, EntryPointType2, ProjectType2, AGENT_TARGET_RUNTIME2, canonicalizeResourceCasing2, JOB_ATTACHMENT_DEFINITION_KEY2, JOB_ATTACHMENT_REF2, isJobAttachmentRef2, convertFileTypesToRefs2, convertJobAttachmentRefsToFileTypes2, variableToJsonSchema2, getBindingResourceValue2, getBindingResources2, isStartEventNode2, isTriggerScopedInput2, getEffectiveTriggerInputs2, buildSchemaProperties2, buildInputSchema2, buildOutputSchema3, getEntryPoints2, getMaestroEntryPoints2, getStartEventNodes2, resolveApiWorkflowTriggers2, generateOperateJson2, generatePackageDescriptor2, generateBindingsJson2, generateEntryPointsJson2, deduplicateBindings2, mergeBindingResources2, sanitizeFileName2, toBpmnWorkflowPaths2, toApiWorkflowPaths2, toPackagePath2, applyConnectionOverwritesToWorkflow2, applyConnectionRemovalsToWorkflow2, createBindingPackage2, getAllMaestroEntryPoints2, getAllApiEntryPoints2, getApiEntryPointId2, serializeFrequencyToCron2, parseCronToFrequency2, parseBindingPlaceholder2, asBindingKey2, getInstanceBindingKey2, resolveContextBindingPlaceholders2, matchContextBindings2, UnresolvedBindingsError2, isUnresolvedBindingsError2, CONVERSATIONAL_AGENT_SETTINGS2, AGENT_MAX_TOKENS_FALLBACK2, CONVERSATIONAL_OUTPUTS_MIN_VERSION2, DEFAULT_CONVERSATIONAL_VOICE_MODEL2, parseVoiceModelCatalog2, resolveVoiceModels2, resolveDefaultVoiceModel2, findVoiceModel2, VOICE_TURN_DETECTION_SENSITIVITIES2, VOICE_TURN_DETECTION_LIMITS2, DEFAULT_VOICE_AGENT_SPEAKS_FIRST2, VOICE_TEMPERATURE_LIMITS2, DEFAULT_CONVERSATIONAL_VOICE_SETTINGS2, createInputSchemaFromAppSchema2, createOutputSchemaFromAppSchema2, createDotNetTypeMapping2, createOutcomeMappingFromSchema2, getOutcomeNames2, MODEL_DEFAULT_TEMPERATURE2, STRUCTURAL_AGENT_INPUT_KEYS2, STRUCTURAL_RESOURCE_INPUT_KEYS2, hasEmbeddedAgentContent2, toAgentShellInputs2, toResourceShellInputs2, SCHEMA_CONTAINER_MARKER2, AGENT_INPUT_SOURCE_KEY2, AGENT_INPUT_DECLARED_TYPE_KEY2, getContainerChildProps2, unresolveRefs2, createRefResolver2, planWriteThrough2, executeWritePlan2 };
36830
37299
 
36831
- //# debugId=8587A89AFFC6E5BA64756E2164756E21
37300
+ //# debugId=688456AF31CC120164756E2164756E21