@uipath/flow-tool 1.204.0-preview.255 → 1.205.0-preview.256

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 (178) hide show
  1. package/README.md +9 -9
  2. package/dist/THIRD-PARTY-NOTICES.md +36 -12
  3. package/dist/{authoring-bppe07p0.js → authoring-e1k40hyw.js} +6 -5
  4. package/dist/{binding-service-fw3rzae4.js → binding-service-yw91615m.js} +38 -30
  5. package/dist/{connector-service-2z7s7qtd.js → connector-service-ttm75a4n.js} +224 -47
  6. package/dist/de-UZI7FJDO-awjpqfz0.js +200 -0
  7. package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
  8. package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
  9. package/dist/debug-conversation-trigger-xsm3ycqx.js +30 -0
  10. package/dist/{debug-http-client-p4kf38yt.js → debug-http-client-yqjzsnhw.js} +5 -4
  11. package/dist/{debug-service-893erynq.js → debug-service-nra3n02y.js} +6 -5
  12. package/dist/{edge-service-6zr5f09c.js → edge-service-8fv0m681.js} +16 -12
  13. package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
  14. package/dist/en-EJCBA3LK-0wb3b1xy.js +146 -0
  15. package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
  16. package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
  17. package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
  18. package/dist/es-4UBUTCQA-t7hsackg.js +200 -0
  19. package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
  20. package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
  21. package/dist/es-MX-5RELIXKI-jtjbcxbb.js +200 -0
  22. package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
  23. package/dist/filter-engine-7ep90g7f.js +11 -0
  24. package/dist/{flow-api-kjvpsxhw.js → flow-api-sat010z1.js} +16 -10
  25. package/dist/{flow-debug-service-9q9k756w.js → flow-debug-service-cgawm96k.js} +96 -58
  26. package/dist/{flow-eval-node-target-zvk7fcb2.js → flow-eval-node-target-dah1gmmh.js} +17 -17
  27. package/dist/flow-eval-run-api-xdygjzfv.js +13 -0
  28. package/dist/{flow-eval-run-service-2hfqyadh.js → flow-eval-run-service-03j1szf6.js} +73 -80
  29. package/dist/{flow-eval-service-m5n2svke.js → flow-eval-service-9j46ta9k.js} +167 -415
  30. package/dist/{flow-init-sdk-source-z9qx1zkt.js → flow-init-sdk-source-xvdvkq7d.js} +6 -5
  31. package/dist/{flow-init-service-8y8b76zm.js → flow-init-service-0a4y3a46.js} +19 -15
  32. package/dist/{flow-io-w11yspjx.js → flow-io-1wabd32s.js} +15 -11
  33. package/dist/{flow-migrate-service-v7ch4t3h.js → flow-migrate-service-mkqpbwtv.js} +16 -12
  34. package/dist/{flow-pack-service-xs8v5mba.js → flow-pack-service-7dj2hhyz.js} +47 -38
  35. package/dist/flow-validate-service-1ktjayjv.js +70 -0
  36. package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
  37. package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
  38. package/dist/fr-VBM5WRC2-707ha692.js +200 -0
  39. package/dist/{governance-fetcher-18pk0mgv.js → governance-fetcher-76hxssjm.js} +7 -6
  40. package/dist/{hitl-service-ehnfkwhp.js → hitl-service-vcbhd4cb.js} +15 -11
  41. package/dist/{index-aaq9rwfv.js → index-1b2je9n2.js} +1088 -233
  42. package/dist/index-d090f35d.js +66 -0
  43. package/dist/{index-yj4xk2aw.js → index-dgdnbb2g.js} +7 -5
  44. package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
  45. package/dist/{index-9hqj0ee4.js → index-hz008fep.js} +6 -5
  46. package/dist/{index-vrhcbxnk.js → index-nsn889vf.js} +6 -5
  47. package/dist/{index-2s8rmmw6.js → index-sqhbn7ew.js} +4 -4
  48. package/dist/{index-tnz5ks4t.js → index-wycgq0ff.js} +65 -2230
  49. package/dist/index.js +17 -14
  50. package/dist/init.js +19 -15
  51. package/dist/inline-entity-resolver-64pqwk86.js +45 -0
  52. package/dist/input-reader-n7kzdrev.js +12 -0
  53. package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
  54. package/dist/ja-43QL7CGO-h6qfxfay.js +200 -0
  55. package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
  56. package/dist/{known-types-q6fcyq2e.js → known-types-3025scz1.js} +5 -5
  57. package/dist/ko-TLL6Z6CD-ag6gjynr.js +200 -0
  58. package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
  59. package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
  60. package/dist/{maestro-automate-entry-qak46eg0.js → maestro-automate-entry-6f9act3w.js} +2 -2
  61. package/dist/{node-cvwqsgg0.js → node-hz6cvp9d.js} +29 -15
  62. package/dist/{node-service-544fv7as.js → node-service-7wz8gx7h.js} +41 -30
  63. package/dist/{node-strategy-fdnkvq4a.js → node-strategy-1dmmhvf3.js} +1 -1
  64. package/dist/node-sync-service-yvyf7chw.js +61 -0
  65. package/dist/packager-tool-10vc8pq4.js +2 -0
  66. package/dist/{packager-tool-29b6r6eg.js → packager-tool-2h15x2kb.js} +6 -6
  67. package/dist/{packager-tool-h7cjs093.js → packager-tool-2z0r1f32.js} +668 -57
  68. package/dist/packager-tool-4kr6g0zw.js +16 -0
  69. package/dist/packager-tool-4x7tzvv0.js +1176 -0
  70. package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
  71. package/dist/packager-tool-7hw344bt.js +107 -0
  72. package/dist/{packager-tool-pb7wzsn4.js → packager-tool-7wnxyvf9.js} +519 -437
  73. package/dist/{packager-tool-m8xtf5ej.js → packager-tool-8g5931fz.js} +7 -4
  74. package/dist/{packager-tool-h9tzz0qd.js → packager-tool-961vsbsc.js} +15 -10
  75. package/dist/packager-tool-9era57c0.js +28 -0
  76. package/dist/packager-tool-9gprvfcy.js +23 -0
  77. package/dist/packager-tool-9jxzgsxc.js +14 -0
  78. package/dist/{packager-tool-zxp4hya4.js → packager-tool-a5afh1dc.js} +34 -13
  79. package/dist/{packager-tool-02f63a08.js → packager-tool-apawc11t.js} +88 -762
  80. package/dist/{packager-tool-tf3d2y8z.js → packager-tool-aw9v0raw.js} +2 -2
  81. package/dist/packager-tool-cqtsj6yh.js +2 -0
  82. package/dist/{packager-tool-5nqhxb9e.js → packager-tool-dwd6cc01.js} +16110 -13031
  83. package/dist/{packager-tool-t605qewm.js → packager-tool-dxgrhfq5.js} +2 -2
  84. package/dist/{packager-tool-awkq26v0.js → packager-tool-e7kvq8hf.js} +5 -3
  85. package/dist/{packager-tool-2y2mmdnq.js → packager-tool-fjqpf1y6.js} +6 -24
  86. package/dist/{packager-tool-3dc9gz35.js → packager-tool-frjt46rb.js} +1 -1
  87. package/dist/{packager-tool-y8egb0fa.js → packager-tool-gqq3vkgh.js} +2573 -535
  88. package/dist/{packager-tool-w5a1hhyj.js → packager-tool-hxyjn885.js} +13 -2
  89. package/dist/packager-tool-j3228zs9.js +35 -0
  90. package/dist/{packager-tool-hhy1gr2k.js → packager-tool-jgfzfqjm.js} +1 -1
  91. package/dist/{packager-tool-5csvkk54.js → packager-tool-kb520rm5.js} +172 -71
  92. package/dist/{packager-tool-k04k2rnq.js → packager-tool-kmv2p8z4.js} +20 -8
  93. package/dist/{packager-tool-6h69pd2a.js → packager-tool-kn86394c.js} +127 -61
  94. package/dist/packager-tool-mgcz986r.js +143 -0
  95. package/dist/{packager-tool-3h2ktz6q.js → packager-tool-myhbp761.js} +11 -1
  96. package/dist/{packager-tool-5tk1eg46.js → packager-tool-ns9xn7zq.js} +13 -13
  97. package/dist/{packager-tool-vbfz8k7w.js → packager-tool-p8gab24q.js} +52 -32
  98. package/dist/{packager-tool-stq8800d.js → packager-tool-pacrqxv2.js} +17 -4
  99. package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
  100. package/dist/packager-tool-phw8ydjx.js +331 -0
  101. package/dist/{packager-tool-mx0gg6yh.js → packager-tool-q8akejne.js} +6 -4
  102. package/dist/packager-tool-qcqb9hf8.js +26 -0
  103. package/dist/{packager-tool-n89vrpex.js → packager-tool-skcjythd.js} +10907 -25608
  104. package/dist/{packager-tool-v37kemg5.js → packager-tool-sphnextf.js} +5 -6
  105. package/dist/{packager-tool-1ca047de.js → packager-tool-sqpesv2e.js} +12 -56
  106. package/dist/packager-tool-t7ahhaer.js +877 -0
  107. package/dist/{packager-tool-zgm9mqrh.js → packager-tool-thnkpqwc.js} +1802 -378
  108. package/dist/{packager-tool-peawy22c.js → packager-tool-tqjfdpda.js} +53 -8
  109. package/dist/{packager-tool-gb4sm499.js → packager-tool-vd3rn4fj.js} +463 -327
  110. package/dist/{packager-tool-5tjzg56t.js → packager-tool-wh660fny.js} +1 -1
  111. package/dist/{packager-tool-tyg399d6.js → packager-tool-wze74wyk.js} +74 -47
  112. package/dist/{packager-tool-zbhqrk3p.js → packager-tool-x20684x5.js} +1 -1
  113. package/dist/packager-tool-xj0agqpk.js +11 -0
  114. package/dist/packager-tool-xk78j7dz.js +1256 -0
  115. package/dist/{packager-tool-py93409h.js → packager-tool-ymma2s85.js} +2 -2
  116. package/dist/packager-tool-z0yxfhdj.js +40 -0
  117. package/dist/packager-tool.js +13 -10
  118. package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
  119. package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
  120. package/dist/pt-BR-USP2T7GD-rppy42ym.js +200 -0
  121. package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
  122. package/dist/pt-RMIAKZB4-t80exmp7.js +200 -0
  123. package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
  124. package/dist/ro-GHOBYW2S-4zevc9dy.js +200 -0
  125. package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
  126. package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
  127. package/dist/ru-WBLQ5B2U-dpqvtfwr.js +10 -0
  128. package/dist/services/connector-request-buckets.d.ts +1 -0
  129. package/dist/services/flow-eval-file-store.d.ts +1 -11
  130. package/dist/services/flow-eval-utils.d.ts +1 -32
  131. package/dist/services/flow-validate-service.d.ts +51 -0
  132. package/dist/services/inline-entity-resolver.d.ts +22 -0
  133. package/dist/services/node-service.d.ts +21 -1
  134. package/dist/services/packaging-utils.d.ts +15 -2
  135. package/dist/{shared-utils-pnbvyyb2.js → shared-utils-tqnx96mg.js} +4 -3
  136. package/dist/solution-auth-8qz5pw7z.js +14 -0
  137. package/dist/solution-discovery-vqravtkh.js +44 -0
  138. package/dist/{tidy-service-j70ccg27.js → tidy-service-tqjea6g2.js} +143 -39
  139. package/dist/tool.js +17 -14
  140. package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
  141. package/dist/tr-GDTLECMM-kngksm3r.js +200 -0
  142. package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
  143. package/dist/utils/flow-io.d.ts +2 -1
  144. package/dist/validation.js +39 -33
  145. package/dist/{variable-service-86t2r5m9.js → variable-service-kqnqxmx2.js} +16 -12
  146. package/dist/{wait-for-flow-job-d8m6mqb4.js → wait-for-flow-job-b0vj8828.js} +15 -12
  147. package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
  148. package/dist/zh-CN-I5D7WHBD-ge92tbx9.js +200 -0
  149. package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
  150. package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
  151. package/dist/zh-TW-2AVLM723-xsmap3gk.js +200 -0
  152. package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
  153. package/package.json +2 -2
  154. package/dist/debug-conversation-trigger-hgszjdhx.js +0 -44
  155. package/dist/flow-eval-run-api-byx3cacw.js +0 -13
  156. package/dist/flow-validate-service-12v3bz1b.js +0 -64
  157. package/dist/input-reader-vhar4g0k.js +0 -11
  158. package/dist/node-sync-service-ccwgtyte.js +0 -40
  159. package/dist/packager-tool-4g5hk66k.js +0 -454
  160. package/dist/packager-tool-kg35b9s6.js +0 -15
  161. package/dist/packager-tool-pz5nqg0s.js +0 -64
  162. package/dist/packager-tool-t3ysatjd.js +0 -521
  163. package/dist/packager-tool-vd6jt4n8.js +0 -208
  164. package/dist/packager-tool-vscvjrhn.js +0 -265
  165. package/dist/services/flow-debug-service.d.ts +0 -320
  166. package/dist/services/flow-eval-schema/deterministic-evaluators.d.ts +0 -110
  167. package/dist/services/flow-eval-schema/evaluator-fields.d.ts +0 -66
  168. package/dist/services/flow-eval-schema/helpers.d.ts +0 -9
  169. package/dist/services/flow-eval-schema/index.d.ts +0 -4
  170. package/dist/services/flow-eval-schema/llm-judge-evaluators.d.ts +0 -174
  171. package/dist/services/flow-eval-schema/prompts.d.ts +0 -2
  172. package/dist/services/flow-eval-schema/registry.d.ts +0 -375
  173. package/dist/services/flow-eval-schema/tool-call-evaluators.d.ts +0 -93
  174. package/dist/services/flow-eval-schema/types.d.ts +0 -95
  175. package/dist/services/flow-eval-types.d.ts +0 -6
  176. package/dist/utils/write-resolved-flow.d.ts +0 -7
  177. /package/dist/{headless-45dypanh.js → headless-fw8pwyzm.js} +0 -0
  178. /package/dist/{localization-xecwjpe2.js → localization-d6gjmrsw.js} +0 -0
@@ -1,12 +1,15 @@
1
1
  import {
2
2
  addBinding,
3
3
  createBinding
4
- } from "./packager-tool-h9tzz0qd.js";
4
+ } from "./packager-tool-961vsbsc.js";
5
5
  import {
6
6
  isMaestroAutomateSentinel,
7
7
  resolveRuntimeProfile,
8
8
  withRuntimeProfile
9
- } from "./packager-tool-hhy1gr2k.js";
9
+ } from "./packager-tool-jgfzfqjm.js";
10
+ import {
11
+ defaultEntryPointNodeId
12
+ } from "./packager-tool-qcqb9hf8.js";
10
13
  import {
11
14
  NugetConstants,
12
15
  NugetPackager,
@@ -17,13 +20,19 @@ import {
17
20
  ensureProjectId,
18
21
  toolsFactoryRepository,
19
22
  writeContentOperateFile
20
- } from "./packager-tool-stq8800d.js";
23
+ } from "./packager-tool-pacrqxv2.js";
21
24
  import {
22
25
  en_default
23
26
  } from "./packager-tool-rs6jm14d.js";
24
27
  import {
25
28
  __glob
26
29
  } from "./packager-tool-hk1gxnth.js";
30
+ import {
31
+ en_default as en_default2
32
+ } from "./packager-tool-mgcz986r.js";
33
+ import {
34
+ __glob as __glob2
35
+ } from "./packager-tool-xj0agqpk.js";
27
36
  import {
28
37
  DEFAULT_AGENT_INPUT_ENCODING,
29
38
  SCHEMA_CONTAINER_MARKER,
@@ -40,17 +49,10 @@ import {
40
49
  import {
41
50
  AGENT_NODE_TYPES,
42
51
  FLAT_SEP,
43
- JS_EXPRESSION_PREFIX,
44
- MINIMUM_SUPPORTED_SCHEMA_VERSION,
45
52
  ProjectType,
46
- VALID_IDENTIFIER_PATTERN,
47
53
  cliRules,
48
- coerceInputsViaSchema,
49
- coerceToExpressionValue,
50
- compareVersions,
54
+ collectWorkflowNodesDeep,
51
55
  conditionExpressionRule,
52
- decodeLiteral,
53
- deepEqual,
54
56
  fileFormatToInMemoryWorkflow,
55
57
  generateBindingsJson,
56
58
  generateEntryPointsJson,
@@ -59,29 +61,15 @@ import {
59
61
  getEntryPoints,
60
62
  inMemoryWorkflowToFileFormat,
61
63
  isAgentNodeType,
62
- isAgentResourceNodeType,
63
64
  isBlockingSeverity,
64
- isExpressionValue,
65
65
  isVoiceAgentNodeType,
66
+ mergeBindingResources,
66
67
  parseWorkflowJson,
67
68
  resolveRefs,
68
69
  runRules,
69
- toSerializedNodes,
70
- workflowSchemaV1_0,
71
- workflowSchemaV1_0_0,
72
- workflowSchemaV1_1,
73
- workflowSchemaV1_10,
74
- workflowSchemaV1_2,
75
- workflowSchemaV1_3,
76
- workflowSchemaV1_4,
77
- workflowSchemaV1_5,
78
- workflowSchemaV1_6,
79
- workflowSchemaV1_7,
80
- workflowSchemaV1_8,
81
- workflowSchemaV1_9
70
+ toSerializedNodes
82
71
  } from "./packager-tool-bhqx9kez.js";
83
72
  import {
84
- createI18nRegistrar,
85
73
  registerFlowSchemaI18n
86
74
  } from "./packager-tool-p79yh9ww.js";
87
75
  import {
@@ -90,9 +78,14 @@ import {
90
78
  currentFeatureStorageSchema,
91
79
  currentFlowLayoutStorageSchema,
92
80
  currentResourceStorageSchema,
81
+ currentStorageSchema,
82
+ exports_external,
93
83
  getLatestVersion,
94
84
  instance,
95
- migrations
85
+ jsep,
86
+ migrations,
87
+ require_dist,
88
+ require_index_cjs
96
89
  } from "./packager-tool-pxqras8k.js";
97
90
  import {
98
91
  init_esm_shims
@@ -103,7 +96,7 @@ import {
103
96
  } from "./packager-tool-mcaf4ewf.js";
104
97
  import {
105
98
  getFileSystem
106
- } from "./packager-tool-3h2ktz6q.js";
99
+ } from "./packager-tool-myhbp761.js";
107
100
  import {
108
101
  __commonJS,
109
102
  __export,
@@ -158,7 +151,7 @@ var require_re2 = __commonJS(function(exports, module) {
158
151
  var safeRe = exports.safeRe = [];
159
152
  var src = exports.src = [];
160
153
  var safeSrc = exports.safeSrc = [];
161
- var t4 = exports.t = {};
154
+ var t15 = exports.t = {};
162
155
  var R = 0;
163
156
  var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
164
157
  var safeRegexReplacements = [
@@ -176,7 +169,7 @@ var require_re2 = __commonJS(function(exports, module) {
176
169
  const safe = makeSafeRegex(value);
177
170
  const index = R++;
178
171
  debug(name, index, value);
179
- t4[name] = index;
172
+ t15[name] = index;
180
173
  src[index] = value;
181
174
  safeSrc[index] = safe;
182
175
  re[index] = new RegExp(value, isGlobal ? "g" : undefined);
@@ -185,46 +178,46 @@ var require_re2 = __commonJS(function(exports, module) {
185
178
  createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
186
179
  createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
187
180
  createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
188
- createToken("MAINVERSION", `(${src[t4.NUMERICIDENTIFIER]})\\.` + `(${src[t4.NUMERICIDENTIFIER]})\\.` + `(${src[t4.NUMERICIDENTIFIER]})`);
189
- createToken("MAINVERSIONLOOSE", `(${src[t4.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t4.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t4.NUMERICIDENTIFIERLOOSE]})`);
190
- createToken("PRERELEASEIDENTIFIER", `(?:${src[t4.NONNUMERICIDENTIFIER]}|${src[t4.NUMERICIDENTIFIER]})`);
191
- createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t4.NONNUMERICIDENTIFIER]}|${src[t4.NUMERICIDENTIFIERLOOSE]})`);
192
- createToken("PRERELEASE", `(?:-(${src[t4.PRERELEASEIDENTIFIER]}(?:\\.${src[t4.PRERELEASEIDENTIFIER]})*))`);
193
- createToken("PRERELEASELOOSE", `(?:-?(${src[t4.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t4.PRERELEASEIDENTIFIERLOOSE]})*))`);
181
+ createToken("MAINVERSION", `(${src[t15.NUMERICIDENTIFIER]})\\.` + `(${src[t15.NUMERICIDENTIFIER]})\\.` + `(${src[t15.NUMERICIDENTIFIER]})`);
182
+ createToken("MAINVERSIONLOOSE", `(${src[t15.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t15.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t15.NUMERICIDENTIFIERLOOSE]})`);
183
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t15.NONNUMERICIDENTIFIER]}|${src[t15.NUMERICIDENTIFIER]})`);
184
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t15.NONNUMERICIDENTIFIER]}|${src[t15.NUMERICIDENTIFIERLOOSE]})`);
185
+ createToken("PRERELEASE", `(?:-(${src[t15.PRERELEASEIDENTIFIER]}(?:\\.${src[t15.PRERELEASEIDENTIFIER]})*))`);
186
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t15.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t15.PRERELEASEIDENTIFIERLOOSE]})*))`);
194
187
  createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
195
- createToken("BUILD", `(?:\\+(${src[t4.BUILDIDENTIFIER]}(?:\\.${src[t4.BUILDIDENTIFIER]})*))`);
196
- createToken("FULLPLAIN", `v?${src[t4.MAINVERSION]}${src[t4.PRERELEASE]}?${src[t4.BUILD]}?`);
197
- createToken("FULL", `^${src[t4.FULLPLAIN]}$`);
198
- createToken("LOOSEPLAIN", `[v=\\s]*${src[t4.MAINVERSIONLOOSE]}${src[t4.PRERELEASELOOSE]}?${src[t4.BUILD]}?`);
199
- createToken("LOOSE", `^${src[t4.LOOSEPLAIN]}$`);
188
+ createToken("BUILD", `(?:\\+(${src[t15.BUILDIDENTIFIER]}(?:\\.${src[t15.BUILDIDENTIFIER]})*))`);
189
+ createToken("FULLPLAIN", `v?${src[t15.MAINVERSION]}${src[t15.PRERELEASE]}?${src[t15.BUILD]}?`);
190
+ createToken("FULL", `^${src[t15.FULLPLAIN]}$`);
191
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t15.MAINVERSIONLOOSE]}${src[t15.PRERELEASELOOSE]}?${src[t15.BUILD]}?`);
192
+ createToken("LOOSE", `^${src[t15.LOOSEPLAIN]}$`);
200
193
  createToken("GTLT", "((?:<|>)?=?)");
201
- createToken("XRANGEIDENTIFIERLOOSE", `${src[t4.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
202
- createToken("XRANGEIDENTIFIER", `${src[t4.NUMERICIDENTIFIER]}|x|X|\\*`);
203
- createToken("XRANGEPLAIN", `[v=\\s]*(${src[t4.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t4.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t4.XRANGEIDENTIFIER]})` + `(?:${src[t4.PRERELEASE]})?${src[t4.BUILD]}?` + `)?)?`);
204
- createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t4.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t4.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t4.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t4.PRERELEASELOOSE]})?${src[t4.BUILD]}?` + `)?)?`);
205
- createToken("XRANGE", `^${src[t4.GTLT]}\\s*${src[t4.XRANGEPLAIN]}$`);
206
- createToken("XRANGELOOSE", `^${src[t4.GTLT]}\\s*${src[t4.XRANGEPLAINLOOSE]}$`);
194
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t15.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
195
+ createToken("XRANGEIDENTIFIER", `${src[t15.NUMERICIDENTIFIER]}|x|X|\\*`);
196
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t15.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t15.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t15.XRANGEIDENTIFIER]})` + `(?:${src[t15.PRERELEASE]})?${src[t15.BUILD]}?` + `)?)?`);
197
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t15.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t15.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t15.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t15.PRERELEASELOOSE]})?${src[t15.BUILD]}?` + `)?)?`);
198
+ createToken("XRANGE", `^${src[t15.GTLT]}\\s*${src[t15.XRANGEPLAIN]}$`);
199
+ createToken("XRANGELOOSE", `^${src[t15.GTLT]}\\s*${src[t15.XRANGEPLAINLOOSE]}$`);
207
200
  createToken("COERCEPLAIN", `${"(^|[^\\d])" + "(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
208
- createToken("COERCE", `${src[t4.COERCEPLAIN]}(?:$|[^\\d])`);
209
- createToken("COERCEFULL", src[t4.COERCEPLAIN] + `(?:${src[t4.PRERELEASE]})?` + `(?:${src[t4.BUILD]})?` + `(?:$|[^\\d])`);
210
- createToken("COERCERTL", src[t4.COERCE], true);
211
- createToken("COERCERTLFULL", src[t4.COERCEFULL], true);
201
+ createToken("COERCE", `${src[t15.COERCEPLAIN]}(?:$|[^\\d])`);
202
+ createToken("COERCEFULL", src[t15.COERCEPLAIN] + `(?:${src[t15.PRERELEASE]})?` + `(?:${src[t15.BUILD]})?` + `(?:$|[^\\d])`);
203
+ createToken("COERCERTL", src[t15.COERCE], true);
204
+ createToken("COERCERTLFULL", src[t15.COERCEFULL], true);
212
205
  createToken("LONETILDE", "(?:~>?)");
213
- createToken("TILDETRIM", `(\\s*)${src[t4.LONETILDE]}\\s+`, true);
206
+ createToken("TILDETRIM", `(\\s*)${src[t15.LONETILDE]}\\s+`, true);
214
207
  exports.tildeTrimReplace = "$1~";
215
- createToken("TILDE", `^${src[t4.LONETILDE]}${src[t4.XRANGEPLAIN]}$`);
216
- createToken("TILDELOOSE", `^${src[t4.LONETILDE]}${src[t4.XRANGEPLAINLOOSE]}$`);
208
+ createToken("TILDE", `^${src[t15.LONETILDE]}${src[t15.XRANGEPLAIN]}$`);
209
+ createToken("TILDELOOSE", `^${src[t15.LONETILDE]}${src[t15.XRANGEPLAINLOOSE]}$`);
217
210
  createToken("LONECARET", "(?:\\^)");
218
- createToken("CARETTRIM", `(\\s*)${src[t4.LONECARET]}\\s+`, true);
211
+ createToken("CARETTRIM", `(\\s*)${src[t15.LONECARET]}\\s+`, true);
219
212
  exports.caretTrimReplace = "$1^";
220
- createToken("CARET", `^${src[t4.LONECARET]}${src[t4.XRANGEPLAIN]}$`);
221
- createToken("CARETLOOSE", `^${src[t4.LONECARET]}${src[t4.XRANGEPLAINLOOSE]}$`);
222
- createToken("COMPARATORLOOSE", `^${src[t4.GTLT]}\\s*(${src[t4.LOOSEPLAIN]})$|^$`);
223
- createToken("COMPARATOR", `^${src[t4.GTLT]}\\s*(${src[t4.FULLPLAIN]})$|^$`);
224
- createToken("COMPARATORTRIM", `(\\s*)${src[t4.GTLT]}\\s*(${src[t4.LOOSEPLAIN]}|${src[t4.XRANGEPLAIN]})`, true);
213
+ createToken("CARET", `^${src[t15.LONECARET]}${src[t15.XRANGEPLAIN]}$`);
214
+ createToken("CARETLOOSE", `^${src[t15.LONECARET]}${src[t15.XRANGEPLAINLOOSE]}$`);
215
+ createToken("COMPARATORLOOSE", `^${src[t15.GTLT]}\\s*(${src[t15.LOOSEPLAIN]})$|^$`);
216
+ createToken("COMPARATOR", `^${src[t15.GTLT]}\\s*(${src[t15.FULLPLAIN]})$|^$`);
217
+ createToken("COMPARATORTRIM", `(\\s*)${src[t15.GTLT]}\\s*(${src[t15.LOOSEPLAIN]}|${src[t15.XRANGEPLAIN]})`, true);
225
218
  exports.comparatorTrimReplace = "$1$2$3";
226
- createToken("HYPHENRANGE", `^\\s*(${src[t4.XRANGEPLAIN]})` + `\\s+-\\s+` + `(${src[t4.XRANGEPLAIN]})` + `\\s*$`);
227
- createToken("HYPHENRANGELOOSE", `^\\s*(${src[t4.XRANGEPLAINLOOSE]})` + `\\s+-\\s+` + `(${src[t4.XRANGEPLAINLOOSE]})` + `\\s*$`);
219
+ createToken("HYPHENRANGE", `^\\s*(${src[t15.XRANGEPLAIN]})` + `\\s+-\\s+` + `(${src[t15.XRANGEPLAIN]})` + `\\s*$`);
220
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t15.XRANGEPLAINLOOSE]})` + `\\s+-\\s+` + `(${src[t15.XRANGEPLAINLOOSE]})` + `\\s*$`);
228
221
  createToken("STAR", "(<|>)?=?\\s*\\*");
229
222
  createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
230
223
  createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
@@ -272,7 +265,7 @@ var require_identifiers2 = __commonJS(function(exports, module) {
272
265
  var require_semver3 = __commonJS(function(exports, module) {
273
266
  var debug = require_debug2();
274
267
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants2();
275
- var { safeRe: re, t: t4 } = require_re2();
268
+ var { safeRe: re, t: t15 } = require_re2();
276
269
  var parseOptions = require_parse_options2();
277
270
  var { compareIdentifiers } = require_identifiers2();
278
271
 
@@ -295,7 +288,7 @@ var require_semver3 = __commonJS(function(exports, module) {
295
288
  this.options = options;
296
289
  this.loose = !!options.loose;
297
290
  this.includePrerelease = !!options.includePrerelease;
298
- const m = version.trim().match(options.loose ? re[t4.LOOSE] : re[t4.FULL]);
291
+ const m = version.trim().match(options.loose ? re[t15.LOOSE] : re[t15.FULL]);
299
292
  if (!m) {
300
293
  throw new TypeError(`Invalid Version: ${version}`);
301
294
  }
@@ -432,7 +425,7 @@ var require_semver3 = __commonJS(function(exports, module) {
432
425
  throw new Error("invalid increment argument: identifier is empty");
433
426
  }
434
427
  if (identifier) {
435
- const match = `-${identifier}`.match(this.options.loose ? re[t4.PRERELEASELOOSE] : re[t4.PRERELEASE]);
428
+ const match = `-${identifier}`.match(this.options.loose ? re[t15.PRERELEASELOOSE] : re[t15.PRERELEASE]);
436
429
  if (!match || match[1] !== identifier) {
437
430
  throw new Error(`invalid identifier: ${identifier}`);
438
431
  }
@@ -805,7 +798,7 @@ var require_cmp2 = __commonJS(function(exports, module) {
805
798
  var require_coerce2 = __commonJS(function(exports, module) {
806
799
  var SemVer = require_semver3();
807
800
  var parse = require_parse2();
808
- var { safeRe: re, t: t4 } = require_re2();
801
+ var { safeRe: re, t: t15 } = require_re2();
809
802
  var coerce = (version, options) => {
810
803
  if (version instanceof SemVer) {
811
804
  return version;
@@ -819,9 +812,9 @@ var require_coerce2 = __commonJS(function(exports, module) {
819
812
  options = options || {};
820
813
  let match = null;
821
814
  if (!options.rtl) {
822
- match = version.match(options.includePrerelease ? re[t4.COERCEFULL] : re[t4.COERCE]);
815
+ match = version.match(options.includePrerelease ? re[t15.COERCEFULL] : re[t15.COERCE]);
823
816
  } else {
824
- const coerceRtlRegex = options.includePrerelease ? re[t4.COERCERTLFULL] : re[t4.COERCERTL];
817
+ const coerceRtlRegex = options.includePrerelease ? re[t15.COERCERTLFULL] : re[t15.COERCERTL];
825
818
  let next;
826
819
  while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)) {
827
820
  if (!match || next.index + next[0].length !== match.index + match[0].length) {
@@ -955,20 +948,20 @@ var require_range2 = __commonJS(function(exports, module) {
955
948
  return cached;
956
949
  }
957
950
  const loose = this.options.loose;
958
- const hr = loose ? re[t4.HYPHENRANGELOOSE] : re[t4.HYPHENRANGE];
951
+ const hr = loose ? re[t15.HYPHENRANGELOOSE] : re[t15.HYPHENRANGE];
959
952
  range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
960
953
  debug("hyphen replace", range);
961
- range = range.replace(re[t4.COMPARATORTRIM], comparatorTrimReplace);
954
+ range = range.replace(re[t15.COMPARATORTRIM], comparatorTrimReplace);
962
955
  debug("comparator trim", range);
963
- range = range.replace(re[t4.TILDETRIM], tildeTrimReplace);
956
+ range = range.replace(re[t15.TILDETRIM], tildeTrimReplace);
964
957
  debug("tilde trim", range);
965
- range = range.replace(re[t4.CARETTRIM], caretTrimReplace);
958
+ range = range.replace(re[t15.CARETTRIM], caretTrimReplace);
966
959
  debug("caret trim", range);
967
960
  let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
968
961
  if (loose) {
969
962
  rangeList = rangeList.filter((comp) => {
970
963
  debug("loose invalid filter", comp, this.options);
971
- return !!comp.match(re[t4.COMPARATORLOOSE]);
964
+ return !!comp.match(re[t15.COMPARATORLOOSE]);
972
965
  });
973
966
  }
974
967
  debug("range list", rangeList);
@@ -1029,7 +1022,7 @@ var require_range2 = __commonJS(function(exports, module) {
1029
1022
  var SemVer = require_semver3();
1030
1023
  var {
1031
1024
  safeRe: re,
1032
- t: t4,
1025
+ t: t15,
1033
1026
  comparatorTrimReplace,
1034
1027
  tildeTrimReplace,
1035
1028
  caretTrimReplace
@@ -1050,7 +1043,7 @@ var require_range2 = __commonJS(function(exports, module) {
1050
1043
  return result;
1051
1044
  };
1052
1045
  var parseComparator = (comp, options) => {
1053
- comp = comp.replace(re[t4.BUILD], "");
1046
+ comp = comp.replace(re[t15.BUILD], "");
1054
1047
  debug("comp", comp, options);
1055
1048
  comp = replaceCarets(comp, options);
1056
1049
  debug("caret", comp);
@@ -1067,7 +1060,7 @@ var require_range2 = __commonJS(function(exports, module) {
1067
1060
  return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
1068
1061
  };
1069
1062
  var replaceTilde = (comp, options) => {
1070
- const r = options.loose ? re[t4.TILDELOOSE] : re[t4.TILDE];
1063
+ const r = options.loose ? re[t15.TILDELOOSE] : re[t15.TILDE];
1071
1064
  return comp.replace(r, (_, M, m, p, pr) => {
1072
1065
  debug("tilde", comp, _, M, m, p, pr);
1073
1066
  let ret;
@@ -1092,7 +1085,7 @@ var require_range2 = __commonJS(function(exports, module) {
1092
1085
  };
1093
1086
  var replaceCaret = (comp, options) => {
1094
1087
  debug("caret", comp, options);
1095
- const r = options.loose ? re[t4.CARETLOOSE] : re[t4.CARET];
1088
+ const r = options.loose ? re[t15.CARETLOOSE] : re[t15.CARET];
1096
1089
  const z = options.includePrerelease ? "-0" : "";
1097
1090
  return comp.replace(r, (_, M, m, p, pr) => {
1098
1091
  debug("caret", comp, _, M, m, p, pr);
@@ -1140,7 +1133,7 @@ var require_range2 = __commonJS(function(exports, module) {
1140
1133
  };
1141
1134
  var replaceXRange = (comp, options) => {
1142
1135
  comp = comp.trim();
1143
- const r = options.loose ? re[t4.XRANGELOOSE] : re[t4.XRANGE];
1136
+ const r = options.loose ? re[t15.XRANGELOOSE] : re[t15.XRANGE];
1144
1137
  return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
1145
1138
  debug("xRange", comp, ret, gtlt, M, m, p, pr);
1146
1139
  const xM = isX(M);
@@ -1195,11 +1188,11 @@ var require_range2 = __commonJS(function(exports, module) {
1195
1188
  };
1196
1189
  var replaceStars = (comp, options) => {
1197
1190
  debug("replaceStars", comp, options);
1198
- return comp.trim().replace(re[t4.STAR], "");
1191
+ return comp.trim().replace(re[t15.STAR], "");
1199
1192
  };
1200
1193
  var replaceGTE0 = (comp, options) => {
1201
1194
  debug("replaceGTE0", comp, options);
1202
- return comp.trim().replace(re[options.includePrerelease ? t4.GTE0PRE : t4.GTE0], "");
1195
+ return comp.trim().replace(re[options.includePrerelease ? t15.GTE0PRE : t15.GTE0], "");
1203
1196
  };
1204
1197
  var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
1205
1198
  if (isX(fM)) {
@@ -1283,7 +1276,7 @@ var require_comparator2 = __commonJS(function(exports, module) {
1283
1276
  debug("comp", this);
1284
1277
  }
1285
1278
  parse(comp) {
1286
- const r = this.options.loose ? re[t4.COMPARATORLOOSE] : re[t4.COMPARATOR];
1279
+ const r = this.options.loose ? re[t15.COMPARATORLOOSE] : re[t15.COMPARATOR];
1287
1280
  const m = comp.match(r);
1288
1281
  if (!m) {
1289
1282
  throw new TypeError(`Invalid comparator: ${comp}`);
@@ -1357,7 +1350,7 @@ var require_comparator2 = __commonJS(function(exports, module) {
1357
1350
  }
1358
1351
  module.exports = Comparator;
1359
1352
  var parseOptions = require_parse_options2();
1360
- var { safeRe: re, t: t4 } = require_re2();
1353
+ var { safeRe: re, t: t15 } = require_re2();
1361
1354
  var cmp = require_cmp2();
1362
1355
  var debug = require_debug2();
1363
1356
  var SemVer = require_semver3();
@@ -4471,11 +4464,101 @@ function ensureProcessBindings(workflow, logger) {
4471
4464
  return bindingsCreated;
4472
4465
  }
4473
4466
 
4474
- // ../packager/packager-tool-flow/src/exporter-version.ts
4475
- var replaceExporterVersion = (bpmnXml, version) => bpmnXml.replace(/exporterVersion="development"/g, () => `exporterVersion="${version}"`);
4467
+ // ../packager/packager-tool-flow/src/trigger-node-types.ts
4468
+ function isTriggerLikeNodeType(type) {
4469
+ return typeof type === "string" && (type.startsWith("uipath.connector.trigger.") || type === "core.trigger.scheduled");
4470
+ }
4471
+ function bindingNodesOf(workflow) {
4472
+ const root = new Set(workflow?.nodes ?? []);
4473
+ return allNodesOf(workflow).filter((node) => root.has(node) || !isTriggerLikeNodeType(node.type));
4474
+ }
4475
+ function allNodesOf(workflow) {
4476
+ const subflows = {};
4477
+ for (const [id, subflow] of Object.entries(workflow?.subflows ?? {})) {
4478
+ if (subflow)
4479
+ subflows[id] = { nodes: [...subflow.nodes ?? []] };
4480
+ }
4481
+ return collectWorkflowNodesDeep({
4482
+ nodes: [...workflow?.nodes ?? []],
4483
+ subflows
4484
+ });
4485
+ }
4486
+
4487
+ // ../../node_modules/@uipath/flow-migrations/node_modules/@uipath/flow-schema/dist/chunk-BDXJN3TI.js
4488
+ var SUPPORTED_LOCALES = ["en", "es", "pt", "de", "fr", "ja", "ko", "ru", "tr", "ro", "zh-CN", "zh-TW", "pt-BR", "es-MX"];
4489
+ function normalizeCasing(locale) {
4490
+ const [language, country] = locale.split("-");
4491
+ return country ? `${language}-${country.toUpperCase()}` : language;
4492
+ }
4493
+ function resolveSupportedLocale(locale) {
4494
+ const cased = normalizeCasing(locale);
4495
+ const supported = SUPPORTED_LOCALES;
4496
+ if (supported.includes(cased))
4497
+ return cased;
4498
+ const base = cased.split("-")[0];
4499
+ if (supported.includes(base))
4500
+ return base;
4501
+ return null;
4502
+ }
4503
+ var REGISTERED = /* @__PURE__ */ new WeakMap;
4504
+ function createI18nRegistrar(options) {
4505
+ const { namespace, englishBundle, loadCatalog } = options;
4506
+ return (instance2) => {
4507
+ let registered = REGISTERED.get(instance2);
4508
+ if (registered?.has(namespace))
4509
+ return;
4510
+ if (!registered) {
4511
+ registered = /* @__PURE__ */ new Set;
4512
+ REGISTERED.set(instance2, registered);
4513
+ }
4514
+ registered.add(namespace);
4515
+ instance2.addResourceBundle("en", namespace, englishBundle, true, true);
4516
+ const loaded = { en: true };
4517
+ const loadForLocale = async (lng) => {
4518
+ const target = resolveSupportedLocale(lng);
4519
+ if (!target || loaded[target])
4520
+ return;
4521
+ try {
4522
+ const mod = await loadCatalog(target);
4523
+ instance2.addResourceBundle(target, namespace, mod.default, true, true);
4524
+ loaded[target] = true;
4525
+ } catch (err) {
4526
+ console.warn(`[i18n] Failed to load '${target}' catalog for namespace '${namespace}':`, err);
4527
+ }
4528
+ };
4529
+ instance2.on("languageChanged", (lng) => {
4530
+ loadForLocale(lng);
4531
+ });
4532
+ if (instance2.language) {
4533
+ loadForLocale(instance2.language);
4534
+ }
4535
+ };
4536
+ }
4537
+ var globImport_locales_json = __glob2({
4538
+ "../../locales/de.json": () => import("./de-UZI7FJDO-awjpqfz0.js"),
4539
+ "../../locales/en.json": () => import("./en-EJCBA3LK-0wb3b1xy.js"),
4540
+ "../../locales/es-MX.json": () => import("./es-MX-5RELIXKI-jtjbcxbb.js"),
4541
+ "../../locales/es.json": () => import("./es-4UBUTCQA-t7hsackg.js"),
4542
+ "../../locales/fr.json": () => import("./fr-VBM5WRC2-707ha692.js"),
4543
+ "../../locales/ja.json": () => import("./ja-43QL7CGO-h6qfxfay.js"),
4544
+ "../../locales/ko.json": () => import("./ko-TLL6Z6CD-ag6gjynr.js"),
4545
+ "../../locales/pt-BR.json": () => import("./pt-BR-USP2T7GD-rppy42ym.js"),
4546
+ "../../locales/pt.json": () => import("./pt-RMIAKZB4-t80exmp7.js"),
4547
+ "../../locales/ro.json": () => import("./ro-GHOBYW2S-4zevc9dy.js"),
4548
+ "../../locales/ru.json": () => import("./ru-WBLQ5B2U-dpqvtfwr.js"),
4549
+ "../../locales/tr.json": () => import("./tr-GDTLECMM-kngksm3r.js"),
4550
+ "../../locales/zh-CN.json": () => import("./zh-CN-I5D7WHBD-ge92tbx9.js"),
4551
+ "../../locales/zh-TW.json": () => import("./zh-TW-2AVLM723-xsmap3gk.js")
4552
+ });
4553
+ var VALIDATION_NAMESPACE = "validation";
4554
+ var registerFlowSchemaI18n2 = createI18nRegistrar({
4555
+ namespace: VALIDATION_NAMESPACE,
4556
+ englishBundle: en_default2,
4557
+ loadCatalog: (lng) => globImport_locales_json(`../../locales/${lng}.json`)
4558
+ });
4476
4559
 
4477
4560
  // ../../node_modules/@uipath/flow-migrations/dist/chunk-PXNJDXAS.js
4478
- var globImport_locales_json = __glob({
4561
+ var globImport_locales_json2 = __glob({
4479
4562
  "../../locales/de.json": () => import("./de-XNTCMP5Z-xfkfqg20.js"),
4480
4563
  "../../locales/en.json": () => import("./en-LQHKFSEY-vvbe8ve9.js"),
4481
4564
  "../../locales/es-MX.json": () => import("./es-MX-OR6G2SFR-7yykk5ma.js"),
@@ -4495,11 +4578,1124 @@ var MIGRATIONS_NAMESPACE = "migrations";
4495
4578
  var registerFlowMigrationsI18n = createI18nRegistrar({
4496
4579
  namespace: MIGRATIONS_NAMESPACE,
4497
4580
  englishBundle: en_default,
4498
- loadCatalog: (lng) => globImport_locales_json(`../../locales/${lng}.json`)
4581
+ loadCatalog: (lng) => globImport_locales_json2(`../../locales/${lng}.json`)
4499
4582
  });
4500
4583
 
4584
+ // ../../node_modules/@uipath/flow-migrations/node_modules/@uipath/flow-schema/dist/chunk-MUD6KYUI.js
4585
+ var JS_EXPRESSION_PREFIX = "=js:";
4586
+ var expressionFieldTypeSchema = exports_external.enum(["string", "number", "boolean", "object", "array", "null"]);
4587
+ var expressionModeSchema = exports_external.enum(["literal", "jsExpression"]);
4588
+ var expressionValueSchema = exports_external.object({
4589
+ type: expressionModeSchema,
4590
+ expression: exports_external.string(),
4591
+ fieldType: expressionFieldTypeSchema
4592
+ }).strict();
4593
+ var expressionLikeSchema = exports_external.union([exports_external.string(), expressionValueSchema]);
4594
+ function isExpressionValue(v) {
4595
+ return expressionValueSchema.safeParse(v).success;
4596
+ }
4597
+ function inferFieldType(value) {
4598
+ if (Array.isArray(value))
4599
+ return "array";
4600
+ if (value === null)
4601
+ return "null";
4602
+ const t = typeof value;
4603
+ if (t === "string" || t === "number" || t === "boolean" || t === "object")
4604
+ return t;
4605
+ return "string";
4606
+ }
4607
+ function encodeLiteral(raw, fieldType) {
4608
+ switch (fieldType) {
4609
+ case "string":
4610
+ if (typeof raw === "string")
4611
+ return raw;
4612
+ if (raw == null)
4613
+ return "";
4614
+ if (typeof raw === "object") {
4615
+ try {
4616
+ return JSON.stringify(raw);
4617
+ } catch {
4618
+ return String(raw);
4619
+ }
4620
+ }
4621
+ return String(raw);
4622
+ case "number":
4623
+ case "boolean":
4624
+ return raw == null ? "" : String(raw);
4625
+ case "null":
4626
+ return "null";
4627
+ case "object":
4628
+ case "array":
4629
+ return JSON.stringify(raw ?? null);
4630
+ }
4631
+ }
4632
+ function decodeLiteral(ev) {
4633
+ if (ev.type === "jsExpression")
4634
+ return ev.expression;
4635
+ switch (ev.fieldType) {
4636
+ case "string":
4637
+ return ev.expression;
4638
+ case "number":
4639
+ return ev.expression === "" ? undefined : Number(ev.expression);
4640
+ case "boolean":
4641
+ return ev.expression === "" ? undefined : ev.expression === "true";
4642
+ case "null":
4643
+ return null;
4644
+ case "object":
4645
+ case "array":
4646
+ if (ev.expression === "")
4647
+ return;
4648
+ try {
4649
+ return JSON.parse(ev.expression);
4650
+ } catch {
4651
+ return;
4652
+ }
4653
+ }
4654
+ }
4655
+ function coerceToExpressionValue(value, fieldType) {
4656
+ if (isExpressionValue(value))
4657
+ return value;
4658
+ const resolvedFieldType = fieldType ?? inferFieldType(value);
4659
+ if (typeof value === "string") {
4660
+ if (value.startsWith(JS_EXPRESSION_PREFIX)) {
4661
+ return {
4662
+ type: "jsExpression",
4663
+ expression: value.slice(JS_EXPRESSION_PREFIX.length),
4664
+ fieldType: resolvedFieldType
4665
+ };
4666
+ }
4667
+ return { type: "literal", expression: value, fieldType: resolvedFieldType };
4668
+ }
4669
+ return { type: "literal", expression: encodeLiteral(value, resolvedFieldType), fieldType: resolvedFieldType };
4670
+ }
4671
+ function jsonSchemaTypeToFieldType(raw) {
4672
+ if (Array.isArray(raw)) {
4673
+ for (const t of raw) {
4674
+ const mapped = jsonSchemaTypeToFieldType(t);
4675
+ if (mapped)
4676
+ return mapped;
4677
+ }
4678
+ return;
4679
+ }
4680
+ if (typeof raw !== "string")
4681
+ return;
4682
+ switch (raw) {
4683
+ case "string":
4684
+ case "number":
4685
+ case "boolean":
4686
+ case "object":
4687
+ case "array":
4688
+ case "null":
4689
+ return raw;
4690
+ case "integer":
4691
+ return "number";
4692
+ default:
4693
+ return;
4694
+ }
4695
+ }
4696
+ function coerceInputsViaSchema(value, schema) {
4697
+ if (isExpressionValue(value))
4698
+ return value;
4699
+ if (Array.isArray(value)) {
4700
+ if (schema?.items) {
4701
+ for (let i = 0;i < value.length; i++) {
4702
+ value[i] = coerceInputsViaSchema(value[i], schema.items);
4703
+ }
4704
+ }
4705
+ return value;
4706
+ }
4707
+ if (value !== null && typeof value === "object") {
4708
+ if (schema?.properties) {
4709
+ const props = schema.properties;
4710
+ for (const [k, v] of Object.entries(value)) {
4711
+ value[k] = coerceInputsViaSchema(v, props[k]);
4712
+ }
4713
+ }
4714
+ return value;
4715
+ }
4716
+ if (typeof value === "string") {
4717
+ if (value.startsWith(JS_EXPRESSION_PREFIX)) {
4718
+ return coerceToExpressionValue(value, jsonSchemaTypeToFieldType(schema?.type));
4719
+ }
4720
+ if (hasMustacheInterpolation(value)) {
4721
+ return {
4722
+ type: "literal",
4723
+ expression: value,
4724
+ fieldType: jsonSchemaTypeToFieldType(schema?.type) ?? "string"
4725
+ };
4726
+ }
4727
+ }
4728
+ return value;
4729
+ }
4730
+ function hasMustacheInterpolation(s) {
4731
+ const stripped = s.replace(/\\\{/g, "").replace(/\\\}/g, "");
4732
+ return /\{\{[^{}]+\}\}/.test(stripped);
4733
+ }
4734
+ var RESERVED_WORDS = [
4735
+ "break",
4736
+ "case",
4737
+ "catch",
4738
+ "continue",
4739
+ "debugger",
4740
+ "default",
4741
+ "delete",
4742
+ "do",
4743
+ "else",
4744
+ "finally",
4745
+ "for",
4746
+ "function",
4747
+ "if",
4748
+ "in",
4749
+ "instanceof",
4750
+ "new",
4751
+ "return",
4752
+ "switch",
4753
+ "this",
4754
+ "throw",
4755
+ "try",
4756
+ "typeof",
4757
+ "var",
4758
+ "void",
4759
+ "while",
4760
+ "with",
4761
+ "class",
4762
+ "const",
4763
+ "enum",
4764
+ "export",
4765
+ "extends",
4766
+ "import",
4767
+ "super",
4768
+ "implements",
4769
+ "interface",
4770
+ "let",
4771
+ "package",
4772
+ "private",
4773
+ "protected",
4774
+ "public",
4775
+ "static",
4776
+ "yield"
4777
+ ];
4778
+ var RESERVED_WORD_SET = new Set(RESERVED_WORDS);
4779
+ var VALID_IDENTIFIER_PATTERN = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
4780
+ function deepEqual(a, b) {
4781
+ if (a === b)
4782
+ return true;
4783
+ if (a === null || b === null)
4784
+ return a === b;
4785
+ if (a === undefined || b === undefined)
4786
+ return a === b;
4787
+ if (typeof a !== typeof b)
4788
+ return false;
4789
+ if (Array.isArray(a)) {
4790
+ if (!Array.isArray(b) || a.length !== b.length)
4791
+ return false;
4792
+ return a.every((val, i) => deepEqual(val, b[i]));
4793
+ }
4794
+ if (typeof a === "object") {
4795
+ if (Array.isArray(b))
4796
+ return false;
4797
+ const objA = a;
4798
+ const objB = b;
4799
+ const keysA = Object.keys(objA);
4800
+ const keysB = Object.keys(objB);
4801
+ if (keysA.length !== keysB.length)
4802
+ return false;
4803
+ return keysA.every((key) => (key in objB) && deepEqual(objA[key], objB[key]));
4804
+ }
4805
+ return false;
4806
+ }
4807
+
4808
+ // ../../node_modules/@uipath/flow-migrations/node_modules/@uipath/flow-schema/dist/chunk-W6JEAIGA.js
4809
+ var import_ajv_errors = __toESM(require_dist(), 1);
4810
+ var agentEnforcementsSchema = exports_external.object({
4811
+ maxTokens: exports_external.number().nullable(),
4812
+ maxTemperature: exports_external.number().nullable(),
4813
+ policyName: exports_external.string(),
4814
+ shouldEnforceHumanInTheLoop: exports_external.boolean().optional(),
4815
+ maxIterations: exports_external.number().nullable().optional()
4816
+ });
4817
+ var t = instance.getFixedT(null, VALIDATION_NAMESPACE);
4818
+ var t2 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4819
+ var AUTONOMOUS_AGENT_NODE_TYPE = "uipath.agent.autonomous";
4820
+ var CONVERSATIONAL_AGENT_NODE_TYPE = "uipath.agent.conversational";
4821
+ var VOICE_AGENT_NODE_TYPE = "uipath.agent.voice";
4822
+ var AGENT_NODE_TYPES2 = [AUTONOMOUS_AGENT_NODE_TYPE, CONVERSATIONAL_AGENT_NODE_TYPE, VOICE_AGENT_NODE_TYPE];
4823
+ function isAgentNodeType2(nodeType2) {
4824
+ if (!nodeType2)
4825
+ return false;
4826
+ return AGENT_NODE_TYPES2.some((t14) => nodeType2 === t14 || nodeType2.startsWith(`${t14}.`));
4827
+ }
4828
+ var AGENT_RESOURCE_PREFIX = "uipath.agent.resource.";
4829
+ function isAgentResourceNodeType(nodeType2) {
4830
+ if (!nodeType2)
4831
+ return false;
4832
+ return nodeType2.startsWith(AGENT_RESOURCE_PREFIX);
4833
+ }
4834
+ var t3 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4835
+ var t4 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4836
+ var t5 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4837
+ var ESCALATION_TASK_TYPE = {
4838
+ AppTask: "app-task",
4839
+ QuickForm: "quick-form",
4840
+ DocumentValidationTask: "document-validation-task"
4841
+ };
4842
+ var ESCALATION_TASK_TYPES = new Set(Object.values(ESCALATION_TASK_TYPE));
4843
+ var DEFAULT_STORAGE_VERSION = currentStorageSchema.version;
4844
+ var t6 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4845
+ var t7 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4846
+ var t8 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4847
+ var t9 = instance.getFixedT(null, VALIDATION_NAMESPACE);
4848
+ var VARS_PATH_CAPTURE = String.raw`[a-zA-Z_][a-zA-Z0-9_]*(?:\.[a-zA-Z_][a-zA-Z0-9_]*|\[\d+\])*`;
4849
+ var VARS_REF_REGEX = new RegExp(String.raw`\{\{\s*\$vars\.(${VARS_PATH_CAPTURE})\s*\}\}`, "g");
4850
+ var RAW_VARS_REF_REGEX = new RegExp(String.raw`(?<!\w)\$vars\.(${VARS_PATH_CAPTURE})`, "g");
4851
+ var JobAttachmentSchema = {
4852
+ type: "object",
4853
+ "x-uipath-resource-kind": "JobAttachment",
4854
+ properties: {
4855
+ ID: {
4856
+ type: "string",
4857
+ description: "Orchestrator attachment key"
4858
+ },
4859
+ FullName: {
4860
+ type: "string",
4861
+ description: "File name"
4862
+ },
4863
+ MimeType: {
4864
+ type: "string",
4865
+ description: 'The MIME type of the content, such as "application/json" or "image/png"'
4866
+ },
4867
+ Metadata: {
4868
+ type: "object",
4869
+ description: "Dictionary of metadata",
4870
+ additionalProperties: {
4871
+ type: "string"
4872
+ }
4873
+ }
4874
+ },
4875
+ required: ["ID"]
4876
+ };
4877
+ var ANALYZE_FILES_SCHEMA = {
4878
+ inputSchema: {
4879
+ type: "object",
4880
+ properties: {
4881
+ attachments: {
4882
+ type: "array",
4883
+ items: JobAttachmentSchema,
4884
+ description: "Array of files, documents, images, or other attachments to process"
4885
+ },
4886
+ analysisTask: {
4887
+ type: "string",
4888
+ description: "The task, question, or instruction for processing the files (e.g., 'summarize this document', 'extract key points', 'what is in this image')"
4889
+ }
4890
+ },
4891
+ required: ["attachments", "analysisTask"]
4892
+ },
4893
+ outputSchema: {
4894
+ type: "object",
4895
+ properties: {
4896
+ analysis: {
4897
+ type: "string",
4898
+ description: "Analysis result of the attachments (analysis, summary, extracted information, etc.)"
4899
+ }
4900
+ },
4901
+ required: ["analysis"]
4902
+ }
4903
+ };
4904
+ var SUMMARIZE_SCHEMA = {
4905
+ inputSchema: {
4906
+ type: "object",
4907
+ properties: {
4908
+ attachment: {
4909
+ type: "object",
4910
+ title: "Source",
4911
+ description: "File or document to summarize",
4912
+ properties: JobAttachmentSchema.properties,
4913
+ required: JobAttachmentSchema.required
4914
+ }
4915
+ },
4916
+ required: ["attachment"]
4917
+ },
4918
+ outputSchema: {
4919
+ type: "array",
4920
+ items: {
4921
+ type: "object",
4922
+ properties: {
4923
+ content: {
4924
+ type: "string",
4925
+ description: "The content of the analyzed attachment"
4926
+ }
4927
+ }
4928
+ }
4929
+ }
4930
+ };
4931
+ var BATCH_TRANSFORM_SCHEMA = {
4932
+ inputSchema: {
4933
+ type: "object",
4934
+ properties: {
4935
+ attachment: {
4936
+ type: "object",
4937
+ title: "Source",
4938
+ description: "CSV file to transform",
4939
+ properties: JobAttachmentSchema.properties,
4940
+ required: JobAttachmentSchema.required
4941
+ }
4942
+ },
4943
+ required: ["attachment"]
4944
+ },
4945
+ outputSchema: {
4946
+ type: "array",
4947
+ items: {
4948
+ type: "object",
4949
+ properties: {
4950
+ content: {
4951
+ type: "string",
4952
+ description: "The content of the transformed row"
4953
+ }
4954
+ }
4955
+ }
4956
+ }
4957
+ };
4958
+ var nameValuePairSchema = (nameDescription, valueDescription) => ({
4959
+ type: "object",
4960
+ properties: {
4961
+ name: {
4962
+ type: "string",
4963
+ description: nameDescription
4964
+ },
4965
+ value: {
4966
+ type: "string",
4967
+ description: valueDescription
4968
+ }
4969
+ },
4970
+ required: ["name", "value"]
4971
+ });
4972
+ var HTTP_REQUEST_SCHEMA = {
4973
+ inputSchema: {
4974
+ type: "object",
4975
+ properties: {
4976
+ url: {
4977
+ type: "string",
4978
+ description: "The absolute URL to send the request to."
4979
+ },
4980
+ method: {
4981
+ type: "string",
4982
+ description: "HTTP method to use, one of: GET, POST, PUT, PATCH, DELETE."
4983
+ },
4984
+ headers: {
4985
+ type: "array",
4986
+ description: "Request headers as a list of name/value pairs.",
4987
+ items: nameValuePairSchema("Header name.", "Header value.")
4988
+ },
4989
+ params: {
4990
+ type: "array",
4991
+ description: "Query-string parameters as a list of name/value pairs.",
4992
+ items: nameValuePairSchema("Parameter name.", "Parameter value.")
4993
+ },
4994
+ body: {
4995
+ type: "string",
4996
+ description: "Request body sent as-is. Provide JSON as a string and set a Content-Type header if the endpoint expects JSON."
4997
+ },
4998
+ timeout: {
4999
+ type: "number",
5000
+ description: "Request timeout in seconds."
5001
+ }
5002
+ },
5003
+ required: ["url"]
5004
+ },
5005
+ outputSchema: {
5006
+ type: "object",
5007
+ properties: {}
5008
+ }
5009
+ };
5010
+ var BUILT_IN_TOOL_SCHEMAS = {
5011
+ "uipath.agent.resource.tool.builtin.analyzefiles": ANALYZE_FILES_SCHEMA,
5012
+ "uipath.agent.resource.tool.builtin.summarize": SUMMARIZE_SCHEMA,
5013
+ "uipath.agent.resource.tool.builtin.batchtransform": BATCH_TRANSFORM_SCHEMA,
5014
+ "uipath.agent.resource.tool.builtin.httprequest": HTTP_REQUEST_SCHEMA
5015
+ };
5016
+ var FILE_SCHEMA_FIELDS = Object.keys(JobAttachmentSchema.properties ?? {});
5017
+ function isFileShapedSchemaNode(node) {
5018
+ if (!node || typeof node !== "object")
5019
+ return false;
5020
+ const n = node;
5021
+ if (n["x-uipath-resource-kind"] === "JobAttachment")
5022
+ return true;
5023
+ if (typeof n.$ref === "string" && n.$ref.toLowerCase().includes("job-attachment"))
5024
+ return true;
5025
+ if (n.type === "file" || n.type === "octet-stream")
5026
+ return true;
5027
+ if (n.properties && FILE_SCHEMA_FIELDS.every((field) => (field in n.properties)))
5028
+ return true;
5029
+ return isFileShapedSchemaNode(n.items);
5030
+ }
5031
+ function schemaAcceptsFileInput(inputSchema) {
5032
+ const properties = inputSchema?.properties;
5033
+ if (!properties)
5034
+ return false;
5035
+ return Object.values(properties).some(isFileShapedSchemaNode);
5036
+ }
5037
+ function schemaProducesFileOutput(outputSchema) {
5038
+ if (isFileShapedSchemaNode(outputSchema))
5039
+ return true;
5040
+ const properties = outputSchema?.properties;
5041
+ return properties ? Object.values(properties).some(isFileShapedSchemaNode) : false;
5042
+ }
5043
+ var FILE_CAPABLE_BUILTIN_TOOL_TYPES = new Set(Object.entries(BUILT_IN_TOOL_SCHEMAS).filter(([, schemas]) => schemaAcceptsFileInput(schemas.inputSchema)).map(([nodeType2]) => nodeType2));
5044
+ var FILE_PRODUCING_BUILTIN_TOOL_TYPES = new Set(Object.entries(BUILT_IN_TOOL_SCHEMAS).filter(([, schemas]) => schemaProducesFileOutput(schemas.outputSchema)).map(([nodeType2]) => nodeType2));
5045
+ var t10 = instance.getFixedT(null, VALIDATION_NAMESPACE);
5046
+ var t11 = instance.getFixedT(null, VALIDATION_NAMESPACE);
5047
+ var t12 = instance.getFixedT(null, VALIDATION_NAMESPACE);
5048
+ var t13 = instance.getFixedT(null, VALIDATION_NAMESPACE);
5049
+
5050
+ // ../../node_modules/@uipath/flow-migrations/node_modules/@uipath/flow-schema/dist/index.js
5051
+ var import_object = __toESM(require_index_cjs(), 1);
5052
+ var workflowRuntimeSchema = exports_external.enum(["maestro", "api-function"]);
5053
+ var argumentBindingSchema = exports_external.object({
5054
+ nodeId: exports_external.string(),
5055
+ outputId: exports_external.string()
5056
+ });
5057
+ var workflowVariableSchema = exports_external.object({
5058
+ id: exports_external.string().min(1),
5059
+ direction: exports_external.enum(["in", "out", "inout"]),
5060
+ type: exports_external.string().default("string"),
5061
+ subType: exports_external.string().optional(),
5062
+ schema: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
5063
+ defaultValue: exports_external.unknown().optional(),
5064
+ description: exports_external.string().optional(),
5065
+ triggerNodeId: exports_external.string().optional()
5066
+ });
5067
+ var variableUpdateSchema = exports_external.object({
5068
+ variableId: exports_external.string(),
5069
+ expression: expressionLikeSchema
5070
+ });
5071
+ var nodeVariableSchema = exports_external.object({
5072
+ id: exports_external.string().min(1),
5073
+ type: exports_external.string().default("string"),
5074
+ subType: exports_external.string().optional(),
5075
+ schema: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
5076
+ description: exports_external.string().optional(),
5077
+ binding: argumentBindingSchema
5078
+ });
5079
+ var workflowVariablesSchema = exports_external.object({
5080
+ globals: exports_external.array(workflowVariableSchema).optional(),
5081
+ nodes: exports_external.array(nodeVariableSchema).optional(),
5082
+ variableUpdates: exports_external.record(exports_external.string(), exports_external.array(variableUpdateSchema)).optional()
5083
+ });
5084
+ var EMPTY_VARIABLES = Object.freeze({ globals: [], nodes: [], variableUpdates: {} });
5085
+ var workflowConnectionSchema = exports_external.object({
5086
+ type: exports_external.enum(["cloud", "local"]),
5087
+ environment: exports_external.enum(["cloud", "staging", "alpha"]).optional(),
5088
+ baseUrl: exports_external.string().optional(),
5089
+ organizationId: exports_external.string().optional(),
5090
+ tenantId: exports_external.string().optional(),
5091
+ tenantName: exports_external.string().optional(),
5092
+ localUrl: exports_external.string().url().optional()
5093
+ });
5094
+ var nodeLayoutSchema = exports_external.looseObject({
5095
+ position: exports_external.object({ x: exports_external.number(), y: exports_external.number() }),
5096
+ size: exports_external.object({ width: exports_external.number(), height: exports_external.number() }).optional(),
5097
+ collapsed: exports_external.boolean().optional()
5098
+ });
5099
+ var waypointSchema = exports_external.object({
5100
+ id: exports_external.string(),
5101
+ x: exports_external.number(),
5102
+ y: exports_external.number()
5103
+ });
5104
+ var edgeLayoutSchema = exports_external.looseObject({
5105
+ waypoints: exports_external.array(waypointSchema).optional(),
5106
+ routedWaypoints: exports_external.array(waypointSchema).optional()
5107
+ });
5108
+ var layoutSchema = exports_external.object({
5109
+ nodes: exports_external.record(exports_external.string(), nodeLayoutSchema),
5110
+ edges: exports_external.record(exports_external.string(), edgeLayoutSchema).optional()
5111
+ });
5112
+ var bindingSchema = exports_external.object({
5113
+ id: exports_external.string(),
5114
+ name: exports_external.string(),
5115
+ type: exports_external.string(),
5116
+ resource: exports_external.string(),
5117
+ resourceKey: exports_external.string(),
5118
+ default: exports_external.string().optional(),
5119
+ propertyAttribute: exports_external.string().optional(),
5120
+ resourceSubType: exports_external.string().optional()
5121
+ });
5122
+ var categoryManifestSchema = exports_external.object({
5123
+ id: exports_external.string().min(1),
5124
+ name: exports_external.string().min(1),
5125
+ description: exports_external.string().optional(),
5126
+ parentId: exports_external.string().optional(),
5127
+ sortOrder: exports_external.number().int().nonnegative(),
5128
+ color: exports_external.string().min(1).optional(),
5129
+ colorDark: exports_external.string().min(1).optional(),
5130
+ icon: exports_external.string().min(1).optional(),
5131
+ tags: exports_external.array(exports_external.string())
5132
+ });
5133
+ var handleTargetSchema = exports_external.object({
5134
+ nodeType: exports_external.string(),
5135
+ handleId: exports_external.string().optional()
5136
+ });
5137
+ var connectionConstraintSchema = exports_external.object({
5138
+ maxConnections: exports_external.number().int().positive().optional(),
5139
+ minConnections: exports_external.number().int().nonnegative().optional(),
5140
+ allowedTargets: exports_external.array(handleTargetSchema).optional(),
5141
+ forbiddenTargets: exports_external.array(handleTargetSchema).optional(),
5142
+ allowedSources: exports_external.array(handleTargetSchema).optional(),
5143
+ forbiddenSources: exports_external.array(handleTargetSchema).optional(),
5144
+ allowedTargetCategories: exports_external.array(exports_external.string()).optional(),
5145
+ forbiddenTargetCategories: exports_external.array(exports_external.string()).optional(),
5146
+ allowedSourceCategories: exports_external.array(exports_external.string()).optional(),
5147
+ forbiddenSourceCategories: exports_external.array(exports_external.string()).optional(),
5148
+ customValidation: exports_external.string().optional(),
5149
+ validationMessage: exports_external.string().optional(),
5150
+ severity: exports_external["enum"]([
5151
+ "warning",
5152
+ "error",
5153
+ "critical",
5154
+ "info"
5155
+ ]).optional()
5156
+ });
5157
+ var handlePositionSchema = exports_external["enum"]([
5158
+ "left",
5159
+ "top",
5160
+ "right",
5161
+ "bottom"
5162
+ ]);
5163
+ var handleBoundarySchema = exports_external["enum"]([
5164
+ "outer",
5165
+ "inner"
5166
+ ]);
5167
+ var handleTypeSchema = exports_external["enum"]([
5168
+ "source",
5169
+ "target"
5170
+ ]);
5171
+ var handleTypeDisplaySchema = exports_external["enum"]([
5172
+ "artifact",
5173
+ "input",
5174
+ "output"
5175
+ ]);
5176
+ var handleLabelVisibilitySchema = exports_external["enum"]([
5177
+ "always",
5178
+ "hover"
5179
+ ]);
5180
+ var handleConfigurationSpecificPositionSchema = exports_external.object({
5181
+ height: exports_external.number().optional(),
5182
+ width: exports_external.number().optional(),
5183
+ top: exports_external.number().optional(),
5184
+ bottom: exports_external.number().optional(),
5185
+ left: exports_external.number().optional(),
5186
+ right: exports_external.number().optional()
5187
+ });
5188
+ var handleManifestSchema = exports_external.object({
5189
+ id: exports_external.string().min(1),
5190
+ type: handleTypeSchema,
5191
+ handleType: handleTypeDisplaySchema,
5192
+ label: exports_external.string().optional(),
5193
+ visible: exports_external.union([
5194
+ exports_external.boolean(),
5195
+ exports_external.string()
5196
+ ]).optional(),
5197
+ repeat: exports_external.string().optional(),
5198
+ itemVar: exports_external.string().optional(),
5199
+ indexVar: exports_external.string().optional(),
5200
+ showButton: exports_external.boolean().optional(),
5201
+ labelVisibility: handleLabelVisibilitySchema.optional(),
5202
+ constraints: connectionConstraintSchema.optional(),
5203
+ isDefaultForType: exports_external.boolean().optional()
5204
+ });
5205
+ var handleGroupManifestSchema = exports_external.object({
5206
+ position: handlePositionSchema,
5207
+ boundary: handleBoundarySchema.optional(),
5208
+ customPositionAndOffsets: handleConfigurationSpecificPositionSchema.optional(),
5209
+ handles: exports_external.array(handleManifestSchema),
5210
+ visible: exports_external.boolean().optional()
5211
+ });
5212
+ var handleGroupOverrideSchema = exports_external.object({
5213
+ position: handlePositionSchema,
5214
+ handles: exports_external.array(handleManifestSchema),
5215
+ visible: exports_external.boolean().optional()
5216
+ });
5217
+ var nodeShapeSchema = exports_external["enum"]([
5218
+ "circle",
5219
+ "square",
5220
+ "rectangle",
5221
+ "container",
5222
+ "pill",
5223
+ "clipped",
5224
+ "document"
5225
+ ]);
5226
+ var toolbarActionSchema = exports_external.object({
5227
+ id: exports_external.string(),
5228
+ icon: exports_external.string(),
5229
+ label: exports_external.string(),
5230
+ shortcut: exports_external.string().optional(),
5231
+ condition: exports_external.object({
5232
+ requiresPermissions: exports_external.array(exports_external.string()).optional(),
5233
+ hideOnExecution: exports_external.boolean().optional(),
5234
+ nodeTypes: exports_external.array(exports_external.string()).optional(),
5235
+ shapes: exports_external.array(nodeShapeSchema).optional(),
5236
+ handles: exports_external.array(exports_external.object({
5237
+ handleType: exports_external["enum"]([
5238
+ "output",
5239
+ "input",
5240
+ "artifact"
5241
+ ]),
5242
+ type: exports_external["enum"]([
5243
+ "source",
5244
+ "target"
5245
+ ]).optional()
5246
+ })).optional()
5247
+ }).optional()
5248
+ });
5249
+ var modeToolbarConfigSchema = exports_external.object({
5250
+ actions: exports_external.array(toolbarActionSchema),
5251
+ overflowActions: exports_external.array(toolbarActionSchema).optional()
5252
+ });
5253
+ var toolbarConfigurationSchema = exports_external.record(exports_external.string(), modeToolbarConfigSchema);
5254
+ var nodeDebugManifestSchema = exports_external.object({
5255
+ runtime: exports_external.string().min(1)
5256
+ });
5257
+ var nodeDisplayManifestSchema = exports_external.object({
5258
+ label: exports_external.string().min(1),
5259
+ canvasLabel: exports_external.string().min(1).optional(),
5260
+ description: exports_external.string().optional(),
5261
+ icon: exports_external.string().min(1).optional(),
5262
+ shape: nodeShapeSchema.optional(),
5263
+ color: exports_external.string().optional(),
5264
+ background: exports_external.string().optional(),
5265
+ iconBackground: exports_external.string().optional(),
5266
+ iconBackgroundDark: exports_external.string().optional(),
5267
+ iconColor: exports_external.string().optional(),
5268
+ shadow: exports_external.boolean().optional()
5269
+ });
5270
+ var nodeRuntimeConstraintsManifestSchema = exports_external.union([
5271
+ exports_external.object({
5272
+ include: exports_external.array(exports_external.string())
5273
+ }),
5274
+ exports_external.object({
5275
+ exclude: exports_external.array(exports_external.string())
5276
+ })
5277
+ ]);
5278
+ var nodeManifestSchema = exports_external.object({
5279
+ nodeType: exports_external.string().min(1),
5280
+ version: exports_external.string().min(1),
5281
+ description: exports_external.string().optional(),
5282
+ category: exports_external.string().min(1).optional(),
5283
+ tags: exports_external.array(exports_external.string()),
5284
+ sortOrder: exports_external.number().int().nonnegative(),
5285
+ display: nodeDisplayManifestSchema,
5286
+ handleConfiguration: exports_external.array(handleGroupManifestSchema),
5287
+ toolbarExtensions: toolbarConfigurationSchema.optional(),
5288
+ suppressDefaultToolbarActions: exports_external.record(exports_external.string(), exports_external.array(exports_external.string())).optional(),
5289
+ inputDefaults: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
5290
+ inputDefinition: exports_external.record(exports_external.string(), exports_external.any()).optional(),
5291
+ outputDefinition: exports_external.record(exports_external.string(), exports_external.any()).optional(),
5292
+ drillable: exports_external.boolean().optional(),
5293
+ debug: nodeDebugManifestSchema.optional(),
5294
+ model: exports_external.any().optional(),
5295
+ defaultProperties: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
5296
+ form: exports_external.custom().optional(),
5297
+ deprecated: exports_external.boolean().optional(),
5298
+ runtimeConstraints: nodeRuntimeConstraintsManifestSchema.optional()
5299
+ });
5300
+ var idSchema = exports_external.string().min(1);
5301
+ var versionSchema = exports_external.string().regex(/^\d+\.\d+\.\d+$/, 'Version must be in semver format (e.g., "1.0.0")');
5302
+ var typeVersionKeySchema = exports_external.string().regex(/^.+:\d+\.\d+\.\d+$/, 'TypeVersionKey must be in format "type:version" (e.g., "myType:1.0.0")');
5303
+ var displayConfigSchema = exports_external.object({
5304
+ label: exports_external.string().optional(),
5305
+ canvasLabel: exports_external.string().optional(),
5306
+ subLabel: exports_external.any().optional(),
5307
+ shape: nodeShapeSchema.optional(),
5308
+ background: exports_external.string().optional(),
5309
+ iconBackground: exports_external.string().optional(),
5310
+ iconBackgroundDark: exports_external.string().optional(),
5311
+ iconColor: exports_external.string().optional(),
5312
+ icon: exports_external.string().optional(),
5313
+ iconElement: exports_external.any().optional(),
5314
+ color: exports_external.string().optional(),
5315
+ labelTooltip: exports_external.string().optional(),
5316
+ labelBackgroundColor: exports_external.string().optional(),
5317
+ centerAdornmentComponent: exports_external.any().optional(),
5318
+ footerComponent: exports_external.any().optional(),
5319
+ footerVariant: exports_external.string().optional(),
5320
+ shadow: exports_external.boolean().optional()
5321
+ }).catchall(exports_external.unknown());
5322
+ var waypointSchema2 = exports_external.object({
5323
+ id: exports_external.string().min(1),
5324
+ x: exports_external.number(),
5325
+ y: exports_external.number()
5326
+ });
5327
+ var edgeUiSchema = exports_external.object({
5328
+ waypoints: exports_external.array(waypointSchema2).optional(),
5329
+ routedWaypoints: exports_external.array(waypointSchema2).optional(),
5330
+ autoRouted: exports_external.boolean().optional()
5331
+ }).catchall(exports_external.unknown());
5332
+ var edgeSchema = exports_external.object({
5333
+ id: idSchema,
5334
+ sourceNodeId: idSchema,
5335
+ sourcePort: exports_external.string().min(1),
5336
+ targetNodeId: idSchema,
5337
+ targetPort: exports_external.string().min(1),
5338
+ ui: edgeUiSchema.nullish().transform((value) => value ?? undefined).optional(),
5339
+ data: exports_external.object({
5340
+ label: exports_external.string().optional()
5341
+ }).passthrough().optional()
5342
+ });
5343
+ var uiSchema = exports_external.object({
5344
+ position: exports_external.object({
5345
+ x: exports_external.number(),
5346
+ y: exports_external.number()
5347
+ }),
5348
+ size: exports_external.object({
5349
+ width: exports_external.number(),
5350
+ height: exports_external.number()
5351
+ }).optional(),
5352
+ collapsed: exports_external.boolean().optional()
5353
+ }).catchall(exports_external.unknown());
5354
+ var nodeSchema = exports_external.object({
5355
+ id: idSchema,
5356
+ type: exports_external.string().min(1),
5357
+ typeVersion: versionSchema,
5358
+ ui: uiSchema,
5359
+ display: displayConfigSchema,
5360
+ inputs: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
5361
+ outputs: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
5362
+ handleCustomization: exports_external.object({
5363
+ groups: exports_external.array(handleGroupOverrideSchema)
5364
+ }).optional(),
5365
+ model: exports_external.unknown().optional(),
5366
+ parentId: idSchema.optional()
5367
+ });
5368
+ var edgeSchema2 = edgeSchema.extend({
5369
+ ui: edgeLayoutSchema.optional()
5370
+ });
5371
+ var nodeSchema2 = nodeSchema.extend({
5372
+ typeVersion: exports_external.string().regex(/^\d+\.\d+(\.\d+)?$/, 'Version must be in format "x.y" or "x.y.z"')
5373
+ });
5374
+ var nodeManifestSchema2 = exports_external.lazy(() => nodeManifestSchema.extend({
5375
+ display: nodeDisplayManifestSchema.extend({ isPreview: exports_external.boolean().optional() }),
5376
+ projectId: exports_external.string().optional(),
5377
+ entryPointPath: exports_external.string().optional(),
5378
+ unsupportedRuntime: exports_external.boolean().optional(),
5379
+ takeoverTabs: exports_external.array(exports_external.string()).optional()
5380
+ }));
5381
+ var categoryManifestSchema2 = exports_external.lazy(() => categoryManifestSchema.extend({
5382
+ displayIfEmpty: exports_external.boolean().optional()
5383
+ }));
5384
+ var versionSchema2 = exports_external.string().regex(/^\d+\.\d+(\.\d+)?$/, 'Version must be in format "x.y" or "x.y.z"');
5385
+ var subflowEntrySchema = exports_external.object({
5386
+ nodes: exports_external.array(nodeSchema2),
5387
+ edges: exports_external.array(edgeSchema2),
5388
+ variables: workflowVariablesSchema.optional()
5389
+ });
5390
+ var workflowSchema = exports_external.object({
5391
+ id: idSchema,
5392
+ version: versionSchema2,
5393
+ name: exports_external.string().min(1),
5394
+ description: exports_external.string().optional(),
5395
+ runtime: workflowRuntimeSchema.optional(),
5396
+ nodes: exports_external.array(nodeSchema2),
5397
+ edges: exports_external.array(edgeSchema2),
5398
+ definitions: exports_external.array(nodeManifestSchema2),
5399
+ bindings: exports_external.array(bindingSchema).optional(),
5400
+ variables: workflowVariablesSchema.optional(),
5401
+ connection: workflowConnectionSchema.optional(),
5402
+ subflows: exports_external.record(exports_external.string(), subflowEntrySchema).optional()
5403
+ });
5404
+ var fileFormatNodeSchema = exports_external.lazy(() => nodeSchema2.extend({
5405
+ ui: nodeSchema2.shape.ui.optional()
5406
+ }));
5407
+ var subflowFileSchema = exports_external.object({
5408
+ nodes: exports_external.array(fileFormatNodeSchema),
5409
+ edges: exports_external.array(edgeSchema2),
5410
+ variables: workflowVariablesSchema.optional(),
5411
+ layout: layoutSchema.optional()
5412
+ });
5413
+ var workflowSchemaV1_0_0 = exports_external.object({
5414
+ id: idSchema,
5415
+ version: exports_external.literal("1.0.0"),
5416
+ name: exports_external.string().min(1),
5417
+ description: exports_external.string().optional(),
5418
+ runtime: workflowRuntimeSchema.optional(),
5419
+ nodes: exports_external.array(fileFormatNodeSchema),
5420
+ edges: exports_external.array(edgeSchema2),
5421
+ definitions: exports_external.array(nodeManifestSchema2),
5422
+ bindings: exports_external.array(bindingSchema).optional(),
5423
+ variables: workflowVariablesSchema.optional(),
5424
+ connection: workflowConnectionSchema.optional(),
5425
+ subflows: exports_external.record(exports_external.string(), subflowFileSchema).optional(),
5426
+ layout: layoutSchema.optional()
5427
+ });
5428
+ var fileFormatNodeSchema2 = exports_external.lazy(() => nodeSchema2.extend({
5429
+ ui: nodeSchema2.shape.ui.optional()
5430
+ }));
5431
+ var subflowFileSchema2 = exports_external.object({
5432
+ nodes: exports_external.array(fileFormatNodeSchema2),
5433
+ edges: exports_external.array(edgeSchema2),
5434
+ variables: workflowVariablesSchema.optional(),
5435
+ layout: layoutSchema.optional()
5436
+ });
5437
+ var workflowSchemaV1_0 = exports_external.object({
5438
+ id: idSchema,
5439
+ version: exports_external.literal("1.0"),
5440
+ name: exports_external.string().min(1),
5441
+ description: exports_external.string().optional(),
5442
+ runtime: workflowRuntimeSchema.optional(),
5443
+ nodes: exports_external.array(fileFormatNodeSchema2),
5444
+ edges: exports_external.array(edgeSchema2),
5445
+ definitions: exports_external.array(nodeManifestSchema2),
5446
+ bindings: exports_external.array(bindingSchema).optional(),
5447
+ variables: workflowVariablesSchema.optional(),
5448
+ connection: workflowConnectionSchema.optional(),
5449
+ subflows: exports_external.record(exports_external.string(), subflowFileSchema2).optional(),
5450
+ layout: layoutSchema.optional()
5451
+ });
5452
+ var workflowSchemaV1_1 = workflowSchemaV1_0.extend({
5453
+ version: exports_external.literal("1.1")
5454
+ });
5455
+ var workflowSchemaV1_2 = workflowSchemaV1_1.extend({
5456
+ version: exports_external.literal("1.2")
5457
+ });
5458
+ var fileFormatNodeSchema3 = exports_external.lazy(() => nodeSchema2.extend({
5459
+ ui: nodeSchema2.shape.ui.optional()
5460
+ }));
5461
+ var v1_3VariableUpdateSchema = exports_external.object({
5462
+ variableId: exports_external.string(),
5463
+ expression: expressionValueSchema
5464
+ });
5465
+ var v1_3WorkflowVariablesSchema = exports_external.object({
5466
+ globals: exports_external.array(workflowVariableSchema).optional(),
5467
+ nodes: exports_external.array(nodeVariableSchema).optional(),
5468
+ variableUpdates: exports_external.record(exports_external.string(), exports_external.array(v1_3VariableUpdateSchema)).optional()
5469
+ });
5470
+ var subflowFileSchema3 = exports_external.object({
5471
+ nodes: exports_external.array(fileFormatNodeSchema3),
5472
+ edges: exports_external.array(edgeSchema2),
5473
+ variables: v1_3WorkflowVariablesSchema.optional(),
5474
+ layout: layoutSchema.optional()
5475
+ });
5476
+ var workflowSchemaV1_3 = exports_external.object({
5477
+ id: idSchema,
5478
+ version: exports_external.literal("1.3"),
5479
+ name: exports_external.string().min(1),
5480
+ description: exports_external.string().optional(),
5481
+ runtime: workflowRuntimeSchema.optional(),
5482
+ nodes: exports_external.array(fileFormatNodeSchema3),
5483
+ edges: exports_external.array(edgeSchema2),
5484
+ definitions: exports_external.array(nodeManifestSchema2),
5485
+ bindings: exports_external.array(bindingSchema).optional(),
5486
+ variables: v1_3WorkflowVariablesSchema.optional(),
5487
+ connection: workflowConnectionSchema.optional(),
5488
+ subflows: exports_external.record(exports_external.string(), subflowFileSchema3).optional(),
5489
+ layout: layoutSchema.optional()
5490
+ });
5491
+ var fileFormatNodeSchema4 = exports_external.lazy(() => nodeSchema2.extend({
5492
+ ui: nodeSchema2.shape.ui.optional()
5493
+ }));
5494
+ var v1_4VariableUpdateSchema = exports_external.object({
5495
+ variableId: exports_external.string(),
5496
+ expression: expressionValueSchema
5497
+ });
5498
+ var v1_4WorkflowVariablesSchema = exports_external.object({
5499
+ globals: exports_external.array(workflowVariableSchema).optional(),
5500
+ nodes: exports_external.array(nodeVariableSchema).optional(),
5501
+ variableUpdates: exports_external.record(exports_external.string(), exports_external.array(v1_4VariableUpdateSchema)).optional()
5502
+ });
5503
+ var subflowFileSchema4 = exports_external.object({
5504
+ nodes: exports_external.array(fileFormatNodeSchema4),
5505
+ edges: exports_external.array(edgeSchema2),
5506
+ variables: v1_4WorkflowVariablesSchema.optional(),
5507
+ layout: layoutSchema.optional()
5508
+ });
5509
+ var workflowSchemaV1_4 = exports_external.object({
5510
+ id: idSchema,
5511
+ version: exports_external.literal("1.4"),
5512
+ name: exports_external.string().min(1),
5513
+ description: exports_external.string().optional(),
5514
+ runtime: workflowRuntimeSchema.optional(),
5515
+ nodes: exports_external.array(fileFormatNodeSchema4),
5516
+ edges: exports_external.array(edgeSchema2),
5517
+ definitions: exports_external.array(nodeManifestSchema2),
5518
+ bindings: exports_external.array(bindingSchema).optional(),
5519
+ variables: v1_4WorkflowVariablesSchema.optional(),
5520
+ connection: workflowConnectionSchema.optional(),
5521
+ subflows: exports_external.record(exports_external.string(), subflowFileSchema4).optional(),
5522
+ layout: layoutSchema.optional()
5523
+ });
5524
+ var workflowSchemaV1_5 = workflowSchemaV1_4.extend({
5525
+ version: exports_external.literal("1.5")
5526
+ });
5527
+ var workflowSchemaV1_6 = workflowSchemaV1_5.extend({
5528
+ version: exports_external.literal("1.6")
5529
+ });
5530
+ var workflowSchemaV1_7 = workflowSchemaV1_6.extend({
5531
+ version: exports_external.literal("1.7")
5532
+ });
5533
+ var workflowSchemaV1_8 = workflowSchemaV1_7.extend({
5534
+ version: exports_external.literal("1.8")
5535
+ });
5536
+ var workflowSchemaV1_9 = workflowSchemaV1_8.extend({
5537
+ version: exports_external.literal("1.9")
5538
+ });
5539
+ var workflowSchemaV1_10 = workflowSchemaV1_9.extend({
5540
+ version: exports_external.literal("1.10")
5541
+ });
5542
+ var MINIMUM_SUPPORTED_SCHEMA_VERSION = "1.9";
5543
+ var fileFormatNodeSchema5 = exports_external.lazy(() => nodeSchema2.extend({
5544
+ ui: nodeSchema2.shape.ui.optional()
5545
+ }));
5546
+ var subflowFileSchema5 = exports_external.object({
5547
+ nodes: exports_external.array(fileFormatNodeSchema5),
5548
+ edges: exports_external.array(edgeSchema2),
5549
+ variables: workflowVariablesSchema.optional(),
5550
+ layout: layoutSchema.optional()
5551
+ });
5552
+ var workflowManifestSchema = exports_external.object({
5553
+ version: exports_external.string().min(1),
5554
+ categories: exports_external.array(categoryManifestSchema2),
5555
+ nodes: exports_external.array(nodeManifestSchema2)
5556
+ });
5557
+ var manifestResponseSchema = exports_external.object({
5558
+ success: exports_external.boolean(),
5559
+ data: workflowManifestSchema.optional(),
5560
+ error: exports_external.string().optional(),
5561
+ timestamp: exports_external.string().optional()
5562
+ });
5563
+ var handleTargetSchema2 = exports_external.object({
5564
+ nodeType: exports_external.string(),
5565
+ handleId: exports_external.string().optional()
5566
+ });
5567
+ var addNodePanelSearchScopeSchema = exports_external.enum(["global", "direct", "deep"]);
5568
+ var addNodePanelCreateActionSchema = exports_external.object({
5569
+ label: exports_external.string(),
5570
+ icon: exports_external.string().optional(),
5571
+ description: exports_external.string().optional(),
5572
+ urlTemplate: exports_external.string(),
5573
+ categoryId: exports_external.string()
5574
+ });
5575
+ var addNodePanelConfigSchema = exports_external.object({
5576
+ searchScope: addNodePanelSearchScopeSchema.optional(),
5577
+ searchProviders: exports_external.array(exports_external.enum(["connector-events", "connector-triggers"])).optional(),
5578
+ refreshOnFocus: exports_external.string().optional(),
5579
+ createNewActions: exports_external.array(addNodePanelCreateActionSchema).optional()
5580
+ });
5581
+ var connectionConstraintSchema2 = exports_external.object({
5582
+ maxConnections: exports_external.number().int().positive().optional(),
5583
+ minConnections: exports_external.number().int().nonnegative().optional(),
5584
+ allowedTargets: exports_external.array(handleTargetSchema2).optional(),
5585
+ forbiddenTargets: exports_external.array(handleTargetSchema2).optional(),
5586
+ allowedSources: exports_external.array(handleTargetSchema2).optional(),
5587
+ forbiddenSources: exports_external.array(handleTargetSchema2).optional(),
5588
+ allowedTargetCategories: exports_external.array(exports_external.string()).optional(),
5589
+ forbiddenTargetCategories: exports_external.array(exports_external.string()).optional(),
5590
+ allowedSourceCategories: exports_external.array(exports_external.string()).optional(),
5591
+ forbiddenSourceCategories: exports_external.array(exports_external.string()).optional(),
5592
+ customValidation: exports_external.string().optional(),
5593
+ validationMessage: exports_external.string().optional(),
5594
+ addNodePanel: addNodePanelConfigSchema.optional()
5595
+ });
5596
+ jsep.plugins.register(import_object.default);
5597
+ function compareVersions(a, b) {
5598
+ const pa = a.split(".");
5599
+ const pb = b.split(".");
5600
+ const len = Math.max(pa.length, pb.length);
5601
+ for (let i = 0;i < len; i += 1) {
5602
+ const sa = pa[i] ?? "0";
5603
+ const sb = pb[i] ?? "0";
5604
+ const na = Number.parseInt(sa, 10);
5605
+ const nb = Number.parseInt(sb, 10);
5606
+ if (Number.isFinite(na) && Number.isFinite(nb) && String(na) === sa && String(nb) === sb) {
5607
+ if (na !== nb) {
5608
+ return na - nb;
5609
+ }
5610
+ continue;
5611
+ }
5612
+ const cmp = sa.localeCompare(sb);
5613
+ if (cmp !== 0) {
5614
+ return cmp;
5615
+ }
5616
+ }
5617
+ return 0;
5618
+ }
5619
+ var ASSET_BINDING_RESOURCE = "asset";
5620
+ var ASSETS_PREFIX = "$assets";
5621
+ var ASSET_NAME_PATTERN = String.raw`[a-zA-Z_]\w*`;
5622
+ var ASSETS_REF_PATTERN = String.raw`(?<!\w)` + ASSETS_PREFIX.replace("$", String.raw`\$`) + String.raw`\.(${ASSET_NAME_PATTERN})(?![\w\x80-\uFFFF])`;
5623
+ var CRON_TOKEN = "(?:\\d+[LW]?|[A-Z]{3}|LW|L|W|\\?|\\*)";
5624
+ var CRON_FIELD = `${CRON_TOKEN}(?:[,/#-]${CRON_TOKEN})*`;
5625
+ var QUARTZ_CRON_RE = new RegExp(`^\\s*${CRON_FIELD}(?:\\s+${CRON_FIELD}){5,6}\\s*$`);
5626
+ var BINDINGS_PATH_PREFIX = "=bindings.";
5627
+ var BINDINGS_PATH_PREFIX_PATTERN = BINDINGS_PATH_PREFIX.replace(".", String.raw`\.`);
5628
+ var RESOURCE_CONFIG = {
5629
+ process: {
5630
+ nameField: "name",
5631
+ displayName: "Process name"
5632
+ },
5633
+ "process.Agent": {
5634
+ nameField: "name",
5635
+ displayName: "Process name",
5636
+ resource: "process",
5637
+ subType: "Agent"
5638
+ },
5639
+ BusinessRule: {
5640
+ nameField: "name",
5641
+ displayName: "Business rule"
5642
+ },
5643
+ queue: {
5644
+ nameField: "queueName",
5645
+ displayName: "Queue"
5646
+ },
5647
+ app: {
5648
+ nameField: "name",
5649
+ displayName: "App name"
5650
+ },
5651
+ ixpDeployment: {
5652
+ nameField: "name",
5653
+ displayName: "IXP model"
5654
+ },
5655
+ [ASSET_BINDING_RESOURCE]: {
5656
+ nameField: "name",
5657
+ displayName: "Orchestrator asset"
5658
+ },
5659
+ Entity: {
5660
+ nameField: "name",
5661
+ displayName: "Entity"
5662
+ }
5663
+ };
5664
+ var JOB_ATTACHMENT_DEFINITION_KEY = "job-attachment";
5665
+ var JOB_ATTACHMENT_REF = `#/definitions/${JOB_ATTACHMENT_DEFINITION_KEY}`;
5666
+ var GEMINI_PERSONAS = ["Aoede", "Charon", "Fenrir", "Kore", "Leda", "Orus", "Puck", "Zephyr"];
5667
+ var OPENAI_PERSONAS = ["alloy", "ash", "ballad", "coral", "echo", "sage", "shimmer", "verse"];
5668
+ var DEFAULT_CONVERSATIONAL_VOICE_MODEL = "gemini-3.1-flash-live-preview";
5669
+ var VOICE_MODELS = [
5670
+ {
5671
+ name: DEFAULT_CONVERSATIONAL_VOICE_MODEL,
5672
+ maxTokens: 65536,
5673
+ isPreview: true,
5674
+ personas: GEMINI_PERSONAS
5675
+ },
5676
+ {
5677
+ name: "gpt-realtime-2",
5678
+ maxTokens: 32000,
5679
+ isPreview: true,
5680
+ personas: OPENAI_PERSONAS
5681
+ }
5682
+ ];
5683
+ var defaultVoiceModel = VOICE_MODELS.find((m) => m.name === DEFAULT_CONVERSATIONAL_VOICE_MODEL);
5684
+ if (!defaultVoiceModel) {
5685
+ throw new Error(`Default conversational voice model "${DEFAULT_CONVERSATIONAL_VOICE_MODEL}" is missing from the catalog`);
5686
+ }
5687
+ var DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY = defaultVoiceModel;
5688
+ var DEFAULT_VOICE_AGENT_SPEAKS_FIRST = true;
5689
+ var DEFAULT_CONVERSATIONAL_VOICE_SETTINGS = {
5690
+ model: DEFAULT_CONVERSATIONAL_VOICE_MODEL,
5691
+ maxTokens: DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY.maxTokens,
5692
+ temperature: 0,
5693
+ persona: DEFAULT_CONVERSATIONAL_VOICE_MODEL_ENTRY.personas[0],
5694
+ agentSpeaksFirst: DEFAULT_VOICE_AGENT_SPEAKS_FIRST
5695
+ };
5696
+
4501
5697
  // ../../node_modules/@uipath/flow-migrations/dist/chunk-AIRKM6BI.js
4502
- var t = instance.getFixedT(null, MIGRATIONS_NAMESPACE);
5698
+ var t14 = instance.getFixedT(null, MIGRATIONS_NAMESPACE);
4503
5699
  var MigrationError = class extends Error {
4504
5700
  constructor(message, issues) {
4505
5701
  super(message);
@@ -4511,7 +5707,7 @@ var createMigration = (args) => {
4511
5707
  const apply = (data, errorTracker) => {
4512
5708
  const parsedFrom = args.from.schema.safeParse(data);
4513
5709
  if (!parsedFrom.success) {
4514
- const error = new MigrationError(t("createMigration_invalidInput_message", {
5710
+ const error = new MigrationError(t14("createMigration_invalidInput_message", {
4515
5711
  fromVersion: args.from.version,
4516
5712
  toVersion: args.to.version,
4517
5713
  defaultValue: "Invalid input for migration {{fromVersion}} → {{toVersion}}"
@@ -4525,7 +5721,7 @@ var createMigration = (args) => {
4525
5721
  const migrated = args.migrate(structuredClone(mergeParsedValue(data, parsedFrom.data)));
4526
5722
  const parsedTo = args.to.schema.safeParse(migrated);
4527
5723
  if (!parsedTo.success) {
4528
- const error = new MigrationError(t("createMigration_invalidOutput_message", {
5724
+ const error = new MigrationError(t14("createMigration_invalidOutput_message", {
4529
5725
  fromVersion: args.from.version,
4530
5726
  toVersion: args.to.version,
4531
5727
  defaultValue: "Invalid output for migration {{fromVersion}} → {{toVersion}}"
@@ -4542,7 +5738,7 @@ var createMigration = (args) => {
4542
5738
  const applyDown = down === undefined ? undefined : (data, errorTracker) => {
4543
5739
  const parsedInput = args.to.schema.safeParse(data);
4544
5740
  if (!parsedInput.success) {
4545
- const error = new MigrationError(t("createMigration_invalidDownInput_message", {
5741
+ const error = new MigrationError(t14("createMigration_invalidDownInput_message", {
4546
5742
  fromVersion: args.to.version,
4547
5743
  toVersion: args.from.version,
4548
5744
  defaultValue: "Invalid input for down-migration {{fromVersion}} → {{toVersion}}"
@@ -4556,7 +5752,7 @@ var createMigration = (args) => {
4556
5752
  const migrated = down(structuredClone(mergeParsedValue(data, parsedInput.data)));
4557
5753
  const parsedOutput = args.from.schema.safeParse(migrated);
4558
5754
  if (!parsedOutput.success) {
4559
- const error = new MigrationError(t("createMigration_invalidDownOutput_message", {
5755
+ const error = new MigrationError(t14("createMigration_invalidDownOutput_message", {
4560
5756
  fromVersion: args.to.version,
4561
5757
  toVersion: args.from.version,
4562
5758
  defaultValue: "Invalid output for down-migration {{fromVersion}} → {{toVersion}}"
@@ -4587,14 +5783,14 @@ function mergeParsedValue(original, parsed) {
4587
5783
  function isRecord4(value) {
4588
5784
  return typeof value === "object" && value !== null && !Array.isArray(value);
4589
5785
  }
4590
- var t2 = instance.getFixedT(null, MIGRATIONS_NAMESPACE);
5786
+ var t22 = instance.getFixedT(null, MIGRATIONS_NAMESPACE);
4591
5787
  function getMigrationChain(migrations2, fromVersion, toVersion) {
4592
5788
  const chain = [];
4593
5789
  let current = fromVersion;
4594
5790
  while (current !== toVersion) {
4595
5791
  const next = migrations2.find((m) => m.from.version === current);
4596
5792
  if (!next) {
4597
- throw new MigrationError(t2("migrate_chain_noMigrationFound_message", {
5793
+ throw new MigrationError(t22("migrate_chain_noMigrationFound_message", {
4598
5794
  current,
4599
5795
  toVersion,
4600
5796
  defaultValue: "No migration found from version {{current}}. Cannot reach {{toVersion}}."
@@ -4663,14 +5859,14 @@ function migrateWorkflow(migrations2, workflow, targetVersion, errorTracker) {
4663
5859
  steps
4664
5860
  };
4665
5861
  }
4666
- var t3 = instance.getFixedT(null, MIGRATIONS_NAMESPACE);
5862
+ var t32 = instance.getFixedT(null, MIGRATIONS_NAMESPACE);
4667
5863
  function getDowngradeChain(migrations2, fromVersion, toVersion) {
4668
5864
  const chain = [];
4669
5865
  const visited = /* @__PURE__ */ new Set;
4670
5866
  let current = fromVersion;
4671
5867
  while (current !== toVersion) {
4672
5868
  if (visited.has(current)) {
4673
- throw new Error(t3("downgradeWorkflow_noPath_message", {
5869
+ throw new Error(t32("downgradeWorkflow_noPath_message", {
4674
5870
  fromVersion,
4675
5871
  toVersion,
4676
5872
  defaultValue: "No downgrade path from {{fromVersion}} to {{toVersion}}"
@@ -4679,14 +5875,14 @@ function getDowngradeChain(migrations2, fromVersion, toVersion) {
4679
5875
  visited.add(current);
4680
5876
  const previous = migrations2.find((migration) => migration.to.version === current);
4681
5877
  if (!previous) {
4682
- throw new Error(t3("downgradeWorkflow_noPath_message", {
5878
+ throw new Error(t32("downgradeWorkflow_noPath_message", {
4683
5879
  fromVersion,
4684
5880
  toVersion,
4685
5881
  defaultValue: "No downgrade path from {{fromVersion}} to {{toVersion}}"
4686
5882
  }));
4687
5883
  }
4688
5884
  if (!previous.applyDown) {
4689
- throw new Error(t3("downgradeWorkflow_missingDown_message", {
5885
+ throw new Error(t32("downgradeWorkflow_missingDown_message", {
4690
5886
  fromVersion: previous.to.version,
4691
5887
  toVersion: previous.from.version,
4692
5888
  defaultValue: "Downgrade path is missing {{fromVersion}} → {{toVersion}}"
@@ -4927,7 +6123,7 @@ function buildOutVarTypeIndex(variables) {
4927
6123
  const index = /* @__PURE__ */ new Map;
4928
6124
  for (const v of variables?.globals ?? []) {
4929
6125
  if (typeof v.id === "string")
4930
- index.set(v.id, jsonSchemaTypeToFieldType(v.type));
6126
+ index.set(v.id, jsonSchemaTypeToFieldType2(v.type));
4931
6127
  }
4932
6128
  return index;
4933
6129
  }
@@ -4938,10 +6134,10 @@ var migrationV1_3 = createMigration({
4938
6134
  required: true,
4939
6135
  migrate: migrateV1_2_to_v1_3
4940
6136
  });
4941
- function jsonSchemaTypeToFieldType(raw) {
6137
+ function jsonSchemaTypeToFieldType2(raw) {
4942
6138
  if (Array.isArray(raw)) {
4943
- for (const t4 of raw) {
4944
- const mapped = jsonSchemaTypeToFieldType(t4);
6139
+ for (const t42 of raw) {
6140
+ const mapped = jsonSchemaTypeToFieldType2(t42);
4945
6141
  if (mapped)
4946
6142
  return mapped;
4947
6143
  }
@@ -4967,7 +6163,7 @@ function migrateNodes(nodes, manifestByKey, outVarTypeById) {
4967
6163
  for (const node of nodes) {
4968
6164
  const manifestKey = `${node.type ?? ""}@${node.typeVersion ?? ""}`;
4969
6165
  const manifest = manifestByKey.get(manifestKey);
4970
- const skipInputCoercion = isAgentNodeType(node.type) || isAgentResourceNodeType(node.type);
6166
+ const skipInputCoercion = isAgentNodeType2(node.type) || isAgentResourceNodeType(node.type);
4971
6167
  if (!skipInputCoercion && node.inputs && typeof node.inputs === "object") {
4972
6168
  const inputProps = manifest?.inputDefinition?.properties ?? {};
4973
6169
  for (const [key, value] of Object.entries(node.inputs)) {
@@ -5001,7 +6197,7 @@ function migrateVariableUpdates(variables) {
5001
6197
  const variableTypeById = /* @__PURE__ */ new Map;
5002
6198
  for (const v of variables.globals ?? []) {
5003
6199
  if (typeof v.id === "string")
5004
- variableTypeById.set(v.id, jsonSchemaTypeToFieldType(v.type));
6200
+ variableTypeById.set(v.id, jsonSchemaTypeToFieldType2(v.type));
5005
6201
  }
5006
6202
  for (const updates of Object.values(variables.variableUpdates)) {
5007
6203
  if (!Array.isArray(updates))
@@ -5033,7 +6229,7 @@ var migrationV1_4 = createMigration({
5033
6229
  });
5034
6230
  function revertNodes(nodes) {
5035
6231
  for (const node of nodes) {
5036
- if (!isAgentNodeType(node.type) && !isAgentResourceNodeType(node.type))
6232
+ if (!isAgentNodeType2(node.type) && !isAgentResourceNodeType(node.type))
5037
6233
  continue;
5038
6234
  if (!node.inputs || typeof node.inputs !== "object")
5039
6235
  continue;
@@ -5063,7 +6259,7 @@ function unwrapEv(ev) {
5063
6259
  return ev.expression;
5064
6260
  return decodeLiteral(ev);
5065
6261
  }
5066
- var LOOP_NODE_TYPE = "core.logic.loop";
6262
+ var LOOP_NODE_TYPE2 = "core.logic.loop";
5067
6263
  var CURRENT_INDEX = "currentIndex";
5068
6264
  var CURRENT_ITERATION = "currentIteration";
5069
6265
  var IDENTIFIER_PATTERN = VALID_IDENTIFIER_PATTERN.source.slice(1, -1);
@@ -5092,7 +6288,7 @@ function rewriteLoopCounterReferences(workflow) {
5092
6288
  const scopes = [workflow, ...isObject(workflow.subflows) ? Object.values(workflow.subflows).filter(isObject) : []];
5093
6289
  for (const scope of scopes) {
5094
6290
  const nodes = Array.isArray(scope.nodes) ? scope.nodes.filter(isObject) : [];
5095
- const loopIds = new Set(nodes.filter((node) => node.type === LOOP_NODE_TYPE && typeof node.id === "string").map((node) => node.id));
6291
+ const loopIds = new Set(nodes.filter((node) => node.type === LOOP_NODE_TYPE2 && typeof node.id === "string").map((node) => node.id));
5096
6292
  if (loopIds.size === 0)
5097
6293
  continue;
5098
6294
  const rewrite = (value, rewriteSelf = false) => {
@@ -5101,7 +6297,7 @@ function rewriteLoopCounterReferences(workflow) {
5101
6297
  };
5102
6298
  for (const node of nodes) {
5103
6299
  if (node.inputs !== undefined) {
5104
- node.inputs = rewriteStrings(node.inputs, (value) => rewrite(value, node.type === LOOP_NODE_TYPE));
6300
+ node.inputs = rewriteStrings(node.inputs, (value) => rewrite(value, node.type === LOOP_NODE_TYPE2));
5105
6301
  }
5106
6302
  }
5107
6303
  if (isObject(scope.variables) && isObject(scope.variables.variableUpdates)) {
@@ -5217,7 +6413,7 @@ var migrationV1_7 = createMigration({
5217
6413
  rewriteNodesInPlace(w.nodes);
5218
6414
  rewriteSubflowsInPlace(w.subflows);
5219
6415
  const allNodes = [...w.nodes ?? [], ...Object.values(w.subflows ?? {}).flatMap((s) => s?.nodes ?? [])];
5220
- const newHitlTypes = new Set(allNodes.map((n) => n.type).filter((t4) => t4 === QUICK_FORM_TYPE || t4 === CODED_ACTION_APP_TYPE));
6416
+ const newHitlTypes = new Set(allNodes.map((n) => n.type).filter((t42) => t42 === QUICK_FORM_TYPE || t42 === CODED_ACTION_APP_TYPE));
5221
6417
  rewriteDefinitionsInPlace(w.definitions, newHitlTypes);
5222
6418
  w.version = "1.7";
5223
6419
  return workflow;
@@ -5255,7 +6451,7 @@ var migrationV1_8 = createMigration({
5255
6451
  return workflow;
5256
6452
  }
5257
6453
  });
5258
- var DYNAMIC_EXTRACT_NODE_TYPE = "uipath.ixp.extract-document-builder";
6454
+ var DYNAMIC_EXTRACT_NODE_TYPE2 = "uipath.ixp.extract-document-builder";
5259
6455
  var OPEN_EXTRACTION_DATASET_ACTION = {
5260
6456
  id: "open-extraction-dataset",
5261
6457
  icon: "file-search",
@@ -5263,7 +6459,7 @@ var OPEN_EXTRACTION_DATASET_ACTION = {
5263
6459
  };
5264
6460
  var EVALUATION_TARGET = {
5265
6461
  kind: "documentExtraction",
5266
- nodeType: DYNAMIC_EXTRACT_NODE_TYPE,
6462
+ nodeType: DYNAMIC_EXTRACT_NODE_TYPE2,
5267
6463
  fileInputId: "fileRef",
5268
6464
  inputs: [{ id: "fileRef", direction: "in", type: "file" }],
5269
6465
  outputs: [{ id: "ExtractionResult", direction: "out", type: "object" }],
@@ -5271,7 +6467,7 @@ var EVALUATION_TARGET = {
5271
6467
  attachmentPolicy: { acceptedExtensions: [".pdf", ".png", ".jpg", ".jpeg", ".tif", ".tiff"] }
5272
6468
  };
5273
6469
  function updateDynamicExtractDefinition(definition) {
5274
- if (definition.nodeType !== DYNAMIC_EXTRACT_NODE_TYPE)
6470
+ if (definition.nodeType !== DYNAMIC_EXTRACT_NODE_TYPE2)
5275
6471
  return;
5276
6472
  definition.model = { ...definition.model, evaluationTarget: EVALUATION_TARGET };
5277
6473
  const existingEvaluation = definition.toolbarExtensions?.evaluation ?? {};
@@ -5544,9 +6740,12 @@ function migrateRawWorkflow(raw, logger) {
5544
6740
  return raw;
5545
6741
  }
5546
6742
  }
5547
- function createFlowRefResolver(fs, logger) {
6743
+ function createFlowRefResolver(fs, logger, projectRoot) {
5548
6744
  return async (refPath, baseUri) => {
5549
- const resolvedPath = fs.path.resolve(fs.path.dirname(baseUri), refPath);
6745
+ let resolvedPath = fs.path.resolve(fs.path.dirname(baseUri), refPath);
6746
+ if (projectRoot !== undefined) {
6747
+ resolvedPath = await resolveProjectOwnedFlowPath(fs, projectRoot, resolvedPath);
6748
+ }
5550
6749
  const refContent = await readUtf8OrNull(fs, resolvedPath);
5551
6750
  if (refContent === null) {
5552
6751
  logger?.warn(`Failed to resolve $ref "${refPath}": file not found at ${resolvedPath}`);
@@ -5555,6 +6754,17 @@ function createFlowRefResolver(fs, logger) {
5555
6754
  return JSON.parse(refContent);
5556
6755
  };
5557
6756
  }
6757
+ async function resolveProjectOwnedFlowPath(fs, projectRoot, filePath) {
6758
+ const [root, target] = await Promise.all([
6759
+ fs.realpath(fs.path.resolve(projectRoot)),
6760
+ fs.realpath(fs.path.resolve(filePath))
6761
+ ]);
6762
+ const relative = fs.path.relative(root, target);
6763
+ if (relative === ".." || relative.startsWith("../") || relative.startsWith("..\\") || fs.path.isAbsolute(relative)) {
6764
+ throw new Error(`File resolves outside the Flow project: ${target}`);
6765
+ }
6766
+ return target;
6767
+ }
5558
6768
  async function resolveWorkflowRefs(parsed, resolver, baseUri) {
5559
6769
  const { resolved, refMap, errors } = await resolveRefs(parsed, resolver, {
5560
6770
  baseUri
@@ -5565,7 +6775,7 @@ async function resolveWorkflowRefs(parsed, resolver, baseUri) {
5565
6775
  }
5566
6776
  return { resolved, refMap };
5567
6777
  }
5568
- async function inlineFlowRefs(fs, content, filePath, logger) {
6778
+ async function inlineFlowRefs(fs, content, filePath, logger, projectRoot) {
5569
6779
  if (!content.includes('"$ref"'))
5570
6780
  return content;
5571
6781
  let parsed;
@@ -5574,7 +6784,7 @@ async function inlineFlowRefs(fs, content, filePath, logger) {
5574
6784
  } catch {
5575
6785
  return content;
5576
6786
  }
5577
- const { resolved } = await resolveWorkflowRefs(parsed, createFlowRefResolver(fs, logger), filePath);
6787
+ const { resolved } = await resolveWorkflowRefs(parsed, createFlowRefResolver(fs, logger, projectRoot), filePath);
5578
6788
  return JSON.stringify(resolved);
5579
6789
  }
5580
6790
  async function resolveAndMigrateWorkflow(parsed, resolver, baseUri, logger) {
@@ -5588,8 +6798,9 @@ async function resolveAndMigrateWorkflow(parsed, resolver, baseUri, logger) {
5588
6798
  async function readFlowWorkflow(filePath, options = {}) {
5589
6799
  const fs = options.fs ?? getFileSystem();
5590
6800
  const logger = options.logger;
5591
- const parsed = JSON.parse(await readUtf8(fs, filePath));
5592
- const { workflow } = await resolveAndMigrateWorkflow(parsed, createFlowRefResolver(fs, logger), filePath, logger);
6801
+ const sourcePath = options.projectRoot === undefined ? filePath : await resolveProjectOwnedFlowPath(fs, options.projectRoot, filePath);
6802
+ const parsed = JSON.parse(await readUtf8(fs, sourcePath));
6803
+ const { workflow } = await resolveAndMigrateWorkflow(parsed, createFlowRefResolver(fs, logger, options.projectRoot), sourcePath, logger);
5593
6804
  return workflow;
5594
6805
  }
5595
6806
  async function readUtf8(fs, filePath) {
@@ -5643,6 +6854,7 @@ async function tryFindProjectFlowFile(fs, projectPath, mainFile, preferredBaseNa
5643
6854
  fs.path.join(projectPath, "content"),
5644
6855
  fs.path.join(projectPath, "flow_files")
5645
6856
  ];
6857
+ let fallback;
5646
6858
  for (const dir of candidateDirs) {
5647
6859
  if (!await fs.exists(dir)) {
5648
6860
  continue;
@@ -5655,16 +6867,23 @@ async function tryFindProjectFlowFile(fs, projectPath, mainFile, preferredBaseNa
5655
6867
  if (flowFiles.length === 0) {
5656
6868
  continue;
5657
6869
  }
5658
- const chosen = (preferred && flowFiles.find((f) => f.toLowerCase() === preferred)) ?? flowFiles[0];
5659
- return fs.path.join(dir, chosen);
6870
+ const chosen = preferred && flowFiles.find((f) => f.toLowerCase() === preferred);
6871
+ if (chosen)
6872
+ return fs.path.join(dir, chosen);
6873
+ fallback ??= fs.path.join(dir, flowFiles[0]);
6874
+ if (!preferred)
6875
+ return fallback;
5660
6876
  }
5661
- return;
6877
+ return fallback;
5662
6878
  }
5663
6879
  function isInsideDirectory(fs, directory, candidate) {
5664
6880
  const relative = fs.path.relative(directory, candidate);
5665
6881
  return relative !== "" && !/^\.\.(?:[\\/]|$)/.test(relative) && !fs.path.isAbsolute(relative);
5666
6882
  }
5667
6883
 
6884
+ // ../packager/packager-tool-flow/src/exporter-version.ts
6885
+ var replaceExporterVersion = (bpmnXml, version) => bpmnXml.replace(/exporterVersion="development"/g, () => `exporterVersion="${version}"`);
6886
+
5668
6887
  // ../packager/packager-tool-flow/src/agent-input-encoding-utils.ts
5669
6888
  var SCHEMA_CONTAINER_MARKER2 = "x-uipath-container";
5670
6889
  var isRecord6 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
@@ -5805,6 +7024,75 @@ function setPublishIntentOnInlineAgents(fileFormat) {
5805
7024
  }
5806
7025
  }
5807
7026
 
7027
+ // ../packager/packager-tool-flow/src/inline-entity-bindings.ts
7028
+ var READER_KEY = Symbol.for("@uipath/packager-tool-flow/readInlineEntities");
7029
+ var readerSlot = globalThis;
7030
+ function registerInlineEntityReader(reader) {
7031
+ readerSlot[READER_KEY] = reader;
7032
+ }
7033
+ function registeredInlineEntityReader() {
7034
+ return readerSlot[READER_KEY];
7035
+ }
7036
+ function findInlineEntity(entities, entityName) {
7037
+ return entities.get(entityName.toLowerCase());
7038
+ }
7039
+ var ENTITY_NODE_PREFIX = "core.datafabric.";
7040
+ function isEntityNodeType(nodeType) {
7041
+ return nodeType?.startsWith(ENTITY_NODE_PREFIX) ?? false;
7042
+ }
7043
+ function entityScopeKey(config) {
7044
+ return typeof config?._resourceKey === "string" && config._resourceKey || typeof config?._entityKey === "string" && config._entityKey || "";
7045
+ }
7046
+ function findUnboundInlineEntityNodes(workflow, inlineEntities) {
7047
+ if (inlineEntities.size === 0) {
7048
+ return [];
7049
+ }
7050
+ const bindings = workflow.bindings ?? [];
7051
+ const scoped = [
7052
+ ...(workflow.nodes ?? []).map((node) => ({ node, scope: "" })),
7053
+ ...Object.entries(workflow.subflows ?? {}).flatMap(([subflowId, sub]) => (sub.nodes ?? []).map((node) => ({
7054
+ node,
7055
+ scope: `subflows[${subflowId}].`
7056
+ })))
7057
+ ];
7058
+ const found = [];
7059
+ for (const { node, scope } of scoped) {
7060
+ if (!isEntityNodeType(node.type)) {
7061
+ continue;
7062
+ }
7063
+ const config = node.inputs?.entityConfig;
7064
+ const entityName = config?.entityName;
7065
+ if (typeof entityName !== "string" || entityName === "") {
7066
+ continue;
7067
+ }
7068
+ if (findInlineEntity(inlineEntities, entityName) === undefined) {
7069
+ continue;
7070
+ }
7071
+ const scopeKey = entityScopeKey(config);
7072
+ const bound = scopeKey !== "" && bindings.some((binding) => binding.resource === "Entity" && binding.resourceKey === scopeKey && binding.propertyAttribute === "name");
7073
+ if (!bound) {
7074
+ found.push({ nodeId: node.id, entityName, scope });
7075
+ }
7076
+ }
7077
+ return found;
7078
+ }
7079
+ var INLINE_ENTITY_UNBOUND = "INLINE_ENTITY_UNBOUND";
7080
+ function describeUnboundInlineEntity(node, flowFilePath) {
7081
+ const problem = `Node "${node.nodeId}" names "${node.entityName}", an entity this solution authors locally, but carries no Entity binding. `;
7082
+ const consequence = `Otherwise the entity resolves at tenant scope and the run fails as "Entity ${node.entityName} does not exist".`;
7083
+ if (node.scope !== "") {
7084
+ return problem + `It sits inside ${node.scope.replace(/\.$/, "")}, which 'uip maestro flow nodes configure' cannot target yet — it only resolves top-level nodes. ` + "Either move the node to the top-level graph and configure it there, or open the flow in Studio Web and re-pick the entity so the picker writes the keys. " + consequence;
7085
+ }
7086
+ return problem + `Run: uip maestro flow nodes configure ${flowFilePath} ${node.nodeId} --detail '{"entityName":"${node.entityName}"}' — ` + consequence;
7087
+ }
7088
+ function inlineEntityBindingIssues(workflow, inlineEntities, flowFilePath) {
7089
+ return findUnboundInlineEntityNodes(workflow, inlineEntities).map((node) => ({
7090
+ path: `${node.scope}nodes[${node.nodeId}].inputs.entityConfig`,
7091
+ message: `[${INLINE_ENTITY_UNBOUND}] ${describeUnboundInlineEntity(node, flowFilePath)}`,
7092
+ severity: "error"
7093
+ }));
7094
+ }
7095
+
5808
7096
  // ../packager/packager-tool-flow/src/flow-validation.ts
5809
7097
  var validationMessagesRegistered = false;
5810
7098
  function ensureValidationMessages() {
@@ -5920,7 +7208,7 @@ function runDesignerRules(graph, options = {}) {
5920
7208
  const ruleErrors = runRules([...rules, conditionExpressionRule, ...options.extraRules ?? []], ctx);
5921
7209
  return ruleErrors.map(validationErrorToIssue);
5922
7210
  }
5923
- async function validateFlowSource(content, readAgentJson) {
7211
+ async function validateFlowSource(content, readAgentJson, inlineEntities) {
5924
7212
  const parsed = parseFlowSource(content);
5925
7213
  if (!parsed.ok) {
5926
7214
  return parsed.issues;
@@ -5947,6 +7235,9 @@ async function validateFlowSource(content, readAgentJson) {
5947
7235
  path: `${prefix}${issue.path}`
5948
7236
  })));
5949
7237
  }
7238
+ if (inlineEntities) {
7239
+ issues.push(...inlineEntityBindingIssues(workflow, await inlineEntities.read(), inlineEntities.flowFilePath));
7240
+ }
5950
7241
  return issues;
5951
7242
  }
5952
7243
  function extractSupportsErrorHandling(content) {
@@ -6110,81 +7401,13 @@ function assertVoiceAgentDefinitionsEmbedded(bpmn, nodes) {
6110
7401
  const labels = voiceNodes.map(({ node }) => `"${nodeLabel(node)}"`).join(", ");
6111
7402
  throw new Error(`Converted BPMN carries no agentDefinition for voice agent node(s) ${labels}. ` + "The installed @uipath/flow-converter does not forward voiceAgentDefinitions " + "to the BPMN serializer — upgrade it. Packaging a voice flow without the " + "embedded agent definition produces a package that deploys but drops every call.");
6112
7403
  }
6113
- // ../packager/packager-tool-flow/package.json
6114
- var package_default = {
6115
- name: "@uipath/packager-tool-flow",
6116
- version: "1.204.0-preview.255",
6117
- description: "UiPath Flow tool implementation",
6118
- type: "module",
6119
- exports: {
6120
- ".": "./dist/index.js",
6121
- "./maestro-automate": "./dist/maestro-automate-entry.js"
6122
- },
6123
- repository: {
6124
- type: "git",
6125
- url: "https://github.com/UiPath/cli.git",
6126
- directory: "packages/packager/packager-tool-flow"
6127
- },
6128
- publishConfig: {
6129
- registry: "https://npm.pkg.github.com/"
6130
- },
6131
- types: "./dist/index.d.ts",
6132
- scripts: {
6133
- build: "bun build ./src/index.ts --outdir dist --format esm --target browser --external @uipath/filesystem --external @uipath/solutionpackager-tool-core --external @uipath/tool-agent --external @uipath/flow-core --external @uipath/flow-converter --external @uipath/flow-migrations --external @uipath/flow-schema --external i18next --sourcemap=linked && bun build ./src/maestro-automate-entry.ts --outdir dist --format esm --target browser --external @uipath/filesystem --external @uipath/solutionpackager-tool-core --sourcemap=linked && tsc -p tsconfig.build.json --emitDeclarationOnly --noCheck --outDir dist",
6134
- typecheck: "tsc --noEmit",
6135
- dev: "bun build ./src/index.ts --outdir dist --format esm --target browser --external @uipath/filesystem --external @uipath/solutionpackager-tool-core --external @uipath/tool-agent --external @uipath/flow-core --external @uipath/flow-converter --external @uipath/flow-migrations --external @uipath/flow-schema --external i18next --watch",
6136
- test: "vitest run",
6137
- "test:browser": "vitest run --config=vitest.browser.config.ts",
6138
- "test:coverage": "vitest run --coverage",
6139
- "test:browser:coverage": "vitest run --config=vitest.browser.config.ts --coverage",
6140
- "test:all": "bun run test && bun run test:browser",
6141
- "test:all:coverage": "bun run test:coverage && bun run test:browser:coverage",
6142
- prepack: "bun run build",
6143
- "publish:dry": "bun publish --dry-run",
6144
- "publish:gh": "bun publish",
6145
- "version:patch": "bun version patch --no-git-tag-version",
6146
- "version:minor": "bun version minor --no-git-tag-version",
6147
- "version:major": "bun version major --no-git-tag-version",
6148
- lint: "biome check ."
6149
- },
6150
- files: [
6151
- "dist"
6152
- ],
6153
- author: "UiPath",
6154
- license: "SEE LICENSE IN LICENSE.txt",
6155
- peerDependencies: {
6156
- "@uipath/filesystem": "workspace:*",
6157
- "@uipath/flow-converter": "0.69.3",
6158
- "@uipath/flow-core": "0.115.4-develop",
6159
- "@uipath/flow-migrations": "0.56.2",
6160
- "@uipath/flow-schema": "0.68.0",
6161
- "@uipath/solutionpackager-tool-core": "workspace:*",
6162
- "@uipath/tool-agent": "^2.0.0",
6163
- i18next: "^23.16.8"
6164
- },
6165
- devDependencies: {
6166
- "@types/node": "^25.5.2",
6167
- "@uipath/filesystem": "workspace:*",
6168
- "@uipath/flow-converter": "0.69.3",
6169
- "@uipath/flow-core": "0.115.4-develop",
6170
- "@uipath/solutionpackager-tool-core": "workspace:*",
6171
- "@uipath/tool-agent": "^2.0.0",
6172
- "@vitest/browser": "^4.1.11",
6173
- "@vitest/browser-playwright": "^4.1.11",
6174
- "@vitest/coverage-v8": "^4.1.11",
6175
- i18next: "^23.16.8",
6176
- playwright: "^1.57.0",
6177
- typescript: "^7.0.2",
6178
- vitest: "^4.1.11"
6179
- }
6180
- };
6181
7404
 
6182
7405
  // ../../node_modules/@uipath/tool-agent/dist/chunk-XNTAT66P.js
6183
7406
  var import_semver2 = __toESM(require_semver5(), 1);
6184
7407
 
6185
7408
  // ../../node_modules/@uipath/tool-agent/node_modules/zod/v4/classic/external.js
6186
- var exports_external = {};
6187
- __export(exports_external, {
7409
+ var exports_external2 = {};
7410
+ __export(exports_external2, {
6188
7411
  $brand: () => $brand,
6189
7412
  $input: () => $input,
6190
7413
  $output: () => $output,
@@ -6730,7 +7953,7 @@ __export(exports_util, {
6730
7953
  getParsedType: () => getParsedType,
6731
7954
  getSizableOrigin: () => getSizableOrigin,
6732
7955
  isObject: () => isObject2,
6733
- isPlainObject: () => isPlainObject,
7956
+ isPlainObject: () => isPlainObject2,
6734
7957
  issue: () => issue,
6735
7958
  joinValues: () => joinValues,
6736
7959
  jsonStringifyReplacer: () => jsonStringifyReplacer,
@@ -6874,7 +8097,7 @@ var allowsEval = cached(() => {
6874
8097
  return false;
6875
8098
  }
6876
8099
  });
6877
- function isPlainObject(o) {
8100
+ function isPlainObject2(o) {
6878
8101
  if (isObject2(o) === false)
6879
8102
  return false;
6880
8103
  const ctor = o.constructor;
@@ -6898,8 +8121,8 @@ function numKeys(data) {
6898
8121
  return keyCount;
6899
8122
  }
6900
8123
  var getParsedType = (data) => {
6901
- const t4 = typeof data;
6902
- switch (t4) {
8124
+ const t15 = typeof data;
8125
+ switch (t15) {
6903
8126
  case "undefined":
6904
8127
  return "undefined";
6905
8128
  case "string":
@@ -6938,7 +8161,7 @@ var getParsedType = (data) => {
6938
8161
  }
6939
8162
  return "object";
6940
8163
  default:
6941
- throw new Error(`Unknown data type: ${t4}`);
8164
+ throw new Error(`Unknown data type: ${t15}`);
6942
8165
  }
6943
8166
  };
6944
8167
  var propertyKeyTypes = new Set(["string", "number", "symbol"]);
@@ -7059,7 +8282,7 @@ function omit(schema, mask) {
7059
8282
  });
7060
8283
  }
7061
8284
  function extend(schema, shape) {
7062
- if (!isPlainObject(shape)) {
8285
+ if (!isPlainObject2(shape)) {
7063
8286
  throw new Error("Invalid input to extend: expected a plain object");
7064
8287
  }
7065
8288
  const def = {
@@ -8876,11 +10099,11 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
8876
10099
  const unrecognized = [];
8877
10100
  const keySet = value.keySet;
8878
10101
  const _catchall = catchall._zod;
8879
- const t4 = _catchall.def.type;
10102
+ const t15 = _catchall.def.type;
8880
10103
  for (const key of Object.keys(input)) {
8881
10104
  if (keySet.has(key))
8882
10105
  continue;
8883
- if (t4 === "never") {
10106
+ if (t15 === "never") {
8884
10107
  unrecognized.push(key);
8885
10108
  continue;
8886
10109
  }
@@ -9048,7 +10271,7 @@ function mergeValues(a, b) {
9048
10271
  if (a instanceof Date && b instanceof Date && +a === +b) {
9049
10272
  return { valid: true, data: a };
9050
10273
  }
9051
- if (isPlainObject(a) && isPlainObject(b)) {
10274
+ if (isPlainObject2(a) && isPlainObject2(b)) {
9052
10275
  const bKeys = Object.keys(b);
9053
10276
  const sharedKeys = Object.keys(a).filter((key) => bKeys.indexOf(key) !== -1);
9054
10277
  const newObj = { ...a, ...b };
@@ -9178,7 +10401,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
9178
10401
  $ZodType.init(inst, def);
9179
10402
  inst._zod.parse = (payload, ctx) => {
9180
10403
  const input = payload.value;
9181
- if (!isPlainObject(input)) {
10404
+ if (!isPlainObject2(input)) {
9182
10405
  payload.issues.push({
9183
10406
  expected: "record",
9184
10407
  code: "invalid_type",
@@ -9732,7 +10955,7 @@ __export(exports_locales, {
9732
10955
  ca: () => ca_default,
9733
10956
  cs: () => cs_default,
9734
10957
  de: () => de_default,
9735
- en: () => en_default2,
10958
+ en: () => en_default3,
9736
10959
  eo: () => eo_default,
9737
10960
  es: () => es_default,
9738
10961
  fa: () => fa_default,
@@ -9779,8 +11002,8 @@ var error = () => {
9779
11002
  return Sizable[origin] ?? null;
9780
11003
  }
9781
11004
  const parsedType = (data) => {
9782
- const t4 = typeof data;
9783
- switch (t4) {
11005
+ const t15 = typeof data;
11006
+ switch (t15) {
9784
11007
  case "number": {
9785
11008
  return Number.isNaN(data) ? "NaN" : "number";
9786
11009
  }
@@ -9796,7 +11019,7 @@ var error = () => {
9796
11019
  }
9797
11020
  }
9798
11021
  }
9799
- return t4;
11022
+ return t15;
9800
11023
  };
9801
11024
  const Nouns = {
9802
11025
  regex: "مدخل",
@@ -9895,8 +11118,8 @@ var error2 = () => {
9895
11118
  return Sizable[origin] ?? null;
9896
11119
  }
9897
11120
  const parsedType = (data) => {
9898
- const t4 = typeof data;
9899
- switch (t4) {
11121
+ const t15 = typeof data;
11122
+ switch (t15) {
9900
11123
  case "number": {
9901
11124
  return Number.isNaN(data) ? "NaN" : "number";
9902
11125
  }
@@ -9912,7 +11135,7 @@ var error2 = () => {
9912
11135
  }
9913
11136
  }
9914
11137
  }
9915
- return t4;
11138
+ return t15;
9916
11139
  };
9917
11140
  const Nouns = {
9918
11141
  regex: "input",
@@ -10053,8 +11276,8 @@ var error3 = () => {
10053
11276
  return Sizable[origin] ?? null;
10054
11277
  }
10055
11278
  const parsedType = (data) => {
10056
- const t4 = typeof data;
10057
- switch (t4) {
11279
+ const t15 = typeof data;
11280
+ switch (t15) {
10058
11281
  case "number": {
10059
11282
  return Number.isNaN(data) ? "NaN" : "лік";
10060
11283
  }
@@ -10070,7 +11293,7 @@ var error3 = () => {
10070
11293
  }
10071
11294
  }
10072
11295
  }
10073
- return t4;
11296
+ return t15;
10074
11297
  };
10075
11298
  const Nouns = {
10076
11299
  regex: "увод",
@@ -10174,8 +11397,8 @@ var error4 = () => {
10174
11397
  return Sizable[origin] ?? null;
10175
11398
  }
10176
11399
  const parsedType = (data) => {
10177
- const t4 = typeof data;
10178
- switch (t4) {
11400
+ const t15 = typeof data;
11401
+ switch (t15) {
10179
11402
  case "number": {
10180
11403
  return Number.isNaN(data) ? "NaN" : "number";
10181
11404
  }
@@ -10191,7 +11414,7 @@ var error4 = () => {
10191
11414
  }
10192
11415
  }
10193
11416
  }
10194
- return t4;
11417
+ return t15;
10195
11418
  };
10196
11419
  const Nouns = {
10197
11420
  regex: "entrada",
@@ -10291,8 +11514,8 @@ var error5 = () => {
10291
11514
  return Sizable[origin] ?? null;
10292
11515
  }
10293
11516
  const parsedType = (data) => {
10294
- const t4 = typeof data;
10295
- switch (t4) {
11517
+ const t15 = typeof data;
11518
+ switch (t15) {
10296
11519
  case "number": {
10297
11520
  return Number.isNaN(data) ? "NaN" : "číslo";
10298
11521
  }
@@ -10326,7 +11549,7 @@ var error5 = () => {
10326
11549
  }
10327
11550
  }
10328
11551
  }
10329
- return t4;
11552
+ return t15;
10330
11553
  };
10331
11554
  const Nouns = {
10332
11555
  regex: "regulární výraz",
@@ -10426,8 +11649,8 @@ var error6 = () => {
10426
11649
  return Sizable[origin] ?? null;
10427
11650
  }
10428
11651
  const parsedType = (data) => {
10429
- const t4 = typeof data;
10430
- switch (t4) {
11652
+ const t15 = typeof data;
11653
+ switch (t15) {
10431
11654
  case "number": {
10432
11655
  return Number.isNaN(data) ? "NaN" : "Zahl";
10433
11656
  }
@@ -10443,7 +11666,7 @@ var error6 = () => {
10443
11666
  }
10444
11667
  }
10445
11668
  }
10446
- return t4;
11669
+ return t15;
10447
11670
  };
10448
11671
  const Nouns = {
10449
11672
  regex: "Eingabe",
@@ -10532,8 +11755,8 @@ function de_default() {
10532
11755
  }
10533
11756
  // ../../node_modules/@uipath/tool-agent/node_modules/zod/v4/locales/en.js
10534
11757
  var parsedType = (data) => {
10535
- const t4 = typeof data;
10536
- switch (t4) {
11758
+ const t15 = typeof data;
11759
+ switch (t15) {
10537
11760
  case "number": {
10538
11761
  return Number.isNaN(data) ? "NaN" : "number";
10539
11762
  }
@@ -10549,7 +11772,7 @@ var parsedType = (data) => {
10549
11772
  }
10550
11773
  }
10551
11774
  }
10552
- return t4;
11775
+ return t15;
10553
11776
  };
10554
11777
  var error7 = () => {
10555
11778
  const Sizable = {
@@ -10642,15 +11865,15 @@ var error7 = () => {
10642
11865
  }
10643
11866
  };
10644
11867
  };
10645
- function en_default2() {
11868
+ function en_default3() {
10646
11869
  return {
10647
11870
  localeError: error7()
10648
11871
  };
10649
11872
  }
10650
11873
  // ../../node_modules/@uipath/tool-agent/node_modules/zod/v4/locales/eo.js
10651
11874
  var parsedType2 = (data) => {
10652
- const t4 = typeof data;
10653
- switch (t4) {
11875
+ const t15 = typeof data;
11876
+ switch (t15) {
10654
11877
  case "number": {
10655
11878
  return Number.isNaN(data) ? "NaN" : "nombro";
10656
11879
  }
@@ -10666,7 +11889,7 @@ var parsedType2 = (data) => {
10666
11889
  }
10667
11890
  }
10668
11891
  }
10669
- return t4;
11892
+ return t15;
10670
11893
  };
10671
11894
  var error8 = () => {
10672
11895
  const Sizable = {
@@ -10775,8 +11998,8 @@ var error9 = () => {
10775
11998
  return Sizable[origin] ?? null;
10776
11999
  }
10777
12000
  const parsedType3 = (data) => {
10778
- const t4 = typeof data;
10779
- switch (t4) {
12001
+ const t15 = typeof data;
12002
+ switch (t15) {
10780
12003
  case "number": {
10781
12004
  return Number.isNaN(data) ? "NaN" : "número";
10782
12005
  }
@@ -10792,7 +12015,7 @@ var error9 = () => {
10792
12015
  }
10793
12016
  }
10794
12017
  }
10795
- return t4;
12018
+ return t15;
10796
12019
  };
10797
12020
  const Nouns = {
10798
12021
  regex: "entrada",
@@ -10891,8 +12114,8 @@ var error10 = () => {
10891
12114
  return Sizable[origin] ?? null;
10892
12115
  }
10893
12116
  const parsedType3 = (data) => {
10894
- const t4 = typeof data;
10895
- switch (t4) {
12117
+ const t15 = typeof data;
12118
+ switch (t15) {
10896
12119
  case "number": {
10897
12120
  return Number.isNaN(data) ? "NaN" : "عدد";
10898
12121
  }
@@ -10908,7 +12131,7 @@ var error10 = () => {
10908
12131
  }
10909
12132
  }
10910
12133
  }
10911
- return t4;
12134
+ return t15;
10912
12135
  };
10913
12136
  const Nouns = {
10914
12137
  regex: "ورودی",
@@ -11017,8 +12240,8 @@ var error11 = () => {
11017
12240
  return Sizable[origin] ?? null;
11018
12241
  }
11019
12242
  const parsedType3 = (data) => {
11020
- const t4 = typeof data;
11021
- switch (t4) {
12243
+ const t15 = typeof data;
12244
+ switch (t15) {
11022
12245
  case "number": {
11023
12246
  return Number.isNaN(data) ? "NaN" : "number";
11024
12247
  }
@@ -11034,7 +12257,7 @@ var error11 = () => {
11034
12257
  }
11035
12258
  }
11036
12259
  }
11037
- return t4;
12260
+ return t15;
11038
12261
  };
11039
12262
  const Nouns = {
11040
12263
  regex: "säännöllinen lauseke",
@@ -11135,8 +12358,8 @@ var error12 = () => {
11135
12358
  return Sizable[origin] ?? null;
11136
12359
  }
11137
12360
  const parsedType3 = (data) => {
11138
- const t4 = typeof data;
11139
- switch (t4) {
12361
+ const t15 = typeof data;
12362
+ switch (t15) {
11140
12363
  case "number": {
11141
12364
  return Number.isNaN(data) ? "NaN" : "nombre";
11142
12365
  }
@@ -11152,7 +12375,7 @@ var error12 = () => {
11152
12375
  }
11153
12376
  }
11154
12377
  }
11155
- return t4;
12378
+ return t15;
11156
12379
  };
11157
12380
  const Nouns = {
11158
12381
  regex: "entrée",
@@ -11251,8 +12474,8 @@ var error13 = () => {
11251
12474
  return Sizable[origin] ?? null;
11252
12475
  }
11253
12476
  const parsedType3 = (data) => {
11254
- const t4 = typeof data;
11255
- switch (t4) {
12477
+ const t15 = typeof data;
12478
+ switch (t15) {
11256
12479
  case "number": {
11257
12480
  return Number.isNaN(data) ? "NaN" : "number";
11258
12481
  }
@@ -11268,7 +12491,7 @@ var error13 = () => {
11268
12491
  }
11269
12492
  }
11270
12493
  }
11271
- return t4;
12494
+ return t15;
11272
12495
  };
11273
12496
  const Nouns = {
11274
12497
  regex: "entrée",
@@ -11368,8 +12591,8 @@ var error14 = () => {
11368
12591
  return Sizable[origin] ?? null;
11369
12592
  }
11370
12593
  const parsedType3 = (data) => {
11371
- const t4 = typeof data;
11372
- switch (t4) {
12594
+ const t15 = typeof data;
12595
+ switch (t15) {
11373
12596
  case "number": {
11374
12597
  return Number.isNaN(data) ? "NaN" : "number";
11375
12598
  }
@@ -11385,7 +12608,7 @@ var error14 = () => {
11385
12608
  }
11386
12609
  }
11387
12610
  }
11388
- return t4;
12611
+ return t15;
11389
12612
  };
11390
12613
  const Nouns = {
11391
12614
  regex: "קלט",
@@ -11484,8 +12707,8 @@ var error15 = () => {
11484
12707
  return Sizable[origin] ?? null;
11485
12708
  }
11486
12709
  const parsedType3 = (data) => {
11487
- const t4 = typeof data;
11488
- switch (t4) {
12710
+ const t15 = typeof data;
12711
+ switch (t15) {
11489
12712
  case "number": {
11490
12713
  return Number.isNaN(data) ? "NaN" : "szám";
11491
12714
  }
@@ -11501,7 +12724,7 @@ var error15 = () => {
11501
12724
  }
11502
12725
  }
11503
12726
  }
11504
- return t4;
12727
+ return t15;
11505
12728
  };
11506
12729
  const Nouns = {
11507
12730
  regex: "bemenet",
@@ -11600,8 +12823,8 @@ var error16 = () => {
11600
12823
  return Sizable[origin] ?? null;
11601
12824
  }
11602
12825
  const parsedType3 = (data) => {
11603
- const t4 = typeof data;
11604
- switch (t4) {
12826
+ const t15 = typeof data;
12827
+ switch (t15) {
11605
12828
  case "number": {
11606
12829
  return Number.isNaN(data) ? "NaN" : "number";
11607
12830
  }
@@ -11617,7 +12840,7 @@ var error16 = () => {
11617
12840
  }
11618
12841
  }
11619
12842
  }
11620
- return t4;
12843
+ return t15;
11621
12844
  };
11622
12845
  const Nouns = {
11623
12846
  regex: "input",
@@ -11716,8 +12939,8 @@ var error17 = () => {
11716
12939
  return Sizable[origin] ?? null;
11717
12940
  }
11718
12941
  const parsedType3 = (data) => {
11719
- const t4 = typeof data;
11720
- switch (t4) {
12942
+ const t15 = typeof data;
12943
+ switch (t15) {
11721
12944
  case "number": {
11722
12945
  return Number.isNaN(data) ? "NaN" : "numero";
11723
12946
  }
@@ -11733,7 +12956,7 @@ var error17 = () => {
11733
12956
  }
11734
12957
  }
11735
12958
  }
11736
- return t4;
12959
+ return t15;
11737
12960
  };
11738
12961
  const Nouns = {
11739
12962
  regex: "input",
@@ -11832,8 +13055,8 @@ var error18 = () => {
11832
13055
  return Sizable[origin] ?? null;
11833
13056
  }
11834
13057
  const parsedType3 = (data) => {
11835
- const t4 = typeof data;
11836
- switch (t4) {
13058
+ const t15 = typeof data;
13059
+ switch (t15) {
11837
13060
  case "number": {
11838
13061
  return Number.isNaN(data) ? "NaN" : "数値";
11839
13062
  }
@@ -11849,7 +13072,7 @@ var error18 = () => {
11849
13072
  }
11850
13073
  }
11851
13074
  }
11852
- return t4;
13075
+ return t15;
11853
13076
  };
11854
13077
  const Nouns = {
11855
13078
  regex: "入力値",
@@ -11947,8 +13170,8 @@ var error19 = () => {
11947
13170
  return Sizable[origin] ?? null;
11948
13171
  }
11949
13172
  const parsedType3 = (data) => {
11950
- const t4 = typeof data;
11951
- switch (t4) {
13173
+ const t15 = typeof data;
13174
+ switch (t15) {
11952
13175
  case "number": {
11953
13176
  return Number.isNaN(data) ? "មិនមែនជាលេខ (NaN)" : "លេខ";
11954
13177
  }
@@ -11964,7 +13187,7 @@ var error19 = () => {
11964
13187
  }
11965
13188
  }
11966
13189
  }
11967
- return t4;
13190
+ return t15;
11968
13191
  };
11969
13192
  const Nouns = {
11970
13193
  regex: "ទិន្នន័យបញ្ចូល",
@@ -12064,8 +13287,8 @@ var error20 = () => {
12064
13287
  return Sizable[origin] ?? null;
12065
13288
  }
12066
13289
  const parsedType3 = (data) => {
12067
- const t4 = typeof data;
12068
- switch (t4) {
13290
+ const t15 = typeof data;
13291
+ switch (t15) {
12069
13292
  case "number": {
12070
13293
  return Number.isNaN(data) ? "NaN" : "number";
12071
13294
  }
@@ -12081,7 +13304,7 @@ var error20 = () => {
12081
13304
  }
12082
13305
  }
12083
13306
  }
12084
- return t4;
13307
+ return t15;
12085
13308
  };
12086
13309
  const Nouns = {
12087
13310
  regex: "입력",
@@ -12185,8 +13408,8 @@ var error21 = () => {
12185
13408
  return Sizable[origin] ?? null;
12186
13409
  }
12187
13410
  const parsedType3 = (data) => {
12188
- const t4 = typeof data;
12189
- switch (t4) {
13411
+ const t15 = typeof data;
13412
+ switch (t15) {
12190
13413
  case "number": {
12191
13414
  return Number.isNaN(data) ? "NaN" : "број";
12192
13415
  }
@@ -12202,7 +13425,7 @@ var error21 = () => {
12202
13425
  }
12203
13426
  }
12204
13427
  }
12205
- return t4;
13428
+ return t15;
12206
13429
  };
12207
13430
  const Nouns = {
12208
13431
  regex: "внес",
@@ -12302,8 +13525,8 @@ var error22 = () => {
12302
13525
  return Sizable[origin] ?? null;
12303
13526
  }
12304
13527
  const parsedType3 = (data) => {
12305
- const t4 = typeof data;
12306
- switch (t4) {
13528
+ const t15 = typeof data;
13529
+ switch (t15) {
12307
13530
  case "number": {
12308
13531
  return Number.isNaN(data) ? "NaN" : "nombor";
12309
13532
  }
@@ -12319,7 +13542,7 @@ var error22 = () => {
12319
13542
  }
12320
13543
  }
12321
13544
  }
12322
- return t4;
13545
+ return t15;
12323
13546
  };
12324
13547
  const Nouns = {
12325
13548
  regex: "input",
@@ -12418,8 +13641,8 @@ var error23 = () => {
12418
13641
  return Sizable[origin] ?? null;
12419
13642
  }
12420
13643
  const parsedType3 = (data) => {
12421
- const t4 = typeof data;
12422
- switch (t4) {
13644
+ const t15 = typeof data;
13645
+ switch (t15) {
12423
13646
  case "number": {
12424
13647
  return Number.isNaN(data) ? "NaN" : "getal";
12425
13648
  }
@@ -12435,7 +13658,7 @@ var error23 = () => {
12435
13658
  }
12436
13659
  }
12437
13660
  }
12438
- return t4;
13661
+ return t15;
12439
13662
  };
12440
13663
  const Nouns = {
12441
13664
  regex: "invoer",
@@ -12535,8 +13758,8 @@ var error24 = () => {
12535
13758
  return Sizable[origin] ?? null;
12536
13759
  }
12537
13760
  const parsedType3 = (data) => {
12538
- const t4 = typeof data;
12539
- switch (t4) {
13761
+ const t15 = typeof data;
13762
+ switch (t15) {
12540
13763
  case "number": {
12541
13764
  return Number.isNaN(data) ? "NaN" : "tall";
12542
13765
  }
@@ -12552,7 +13775,7 @@ var error24 = () => {
12552
13775
  }
12553
13776
  }
12554
13777
  }
12555
- return t4;
13778
+ return t15;
12556
13779
  };
12557
13780
  const Nouns = {
12558
13781
  regex: "input",
@@ -12651,8 +13874,8 @@ var error25 = () => {
12651
13874
  return Sizable[origin] ?? null;
12652
13875
  }
12653
13876
  const parsedType3 = (data) => {
12654
- const t4 = typeof data;
12655
- switch (t4) {
13877
+ const t15 = typeof data;
13878
+ switch (t15) {
12656
13879
  case "number": {
12657
13880
  return Number.isNaN(data) ? "NaN" : "numara";
12658
13881
  }
@@ -12668,7 +13891,7 @@ var error25 = () => {
12668
13891
  }
12669
13892
  }
12670
13893
  }
12671
- return t4;
13894
+ return t15;
12672
13895
  };
12673
13896
  const Nouns = {
12674
13897
  regex: "giren",
@@ -12767,8 +13990,8 @@ var error26 = () => {
12767
13990
  return Sizable[origin] ?? null;
12768
13991
  }
12769
13992
  const parsedType3 = (data) => {
12770
- const t4 = typeof data;
12771
- switch (t4) {
13993
+ const t15 = typeof data;
13994
+ switch (t15) {
12772
13995
  case "number": {
12773
13996
  return Number.isNaN(data) ? "NaN" : "عدد";
12774
13997
  }
@@ -12784,7 +14007,7 @@ var error26 = () => {
12784
14007
  }
12785
14008
  }
12786
14009
  }
12787
- return t4;
14010
+ return t15;
12788
14011
  };
12789
14012
  const Nouns = {
12790
14013
  regex: "ورودي",
@@ -12889,8 +14112,8 @@ var error27 = () => {
12889
14112
  return Sizable[origin] ?? null;
12890
14113
  }
12891
14114
  const parsedType3 = (data) => {
12892
- const t4 = typeof data;
12893
- switch (t4) {
14115
+ const t15 = typeof data;
14116
+ switch (t15) {
12894
14117
  case "number": {
12895
14118
  return Number.isNaN(data) ? "NaN" : "liczba";
12896
14119
  }
@@ -12906,7 +14129,7 @@ var error27 = () => {
12906
14129
  }
12907
14130
  }
12908
14131
  }
12909
- return t4;
14132
+ return t15;
12910
14133
  };
12911
14134
  const Nouns = {
12912
14135
  regex: "wyrażenie",
@@ -13006,8 +14229,8 @@ var error28 = () => {
13006
14229
  return Sizable[origin] ?? null;
13007
14230
  }
13008
14231
  const parsedType3 = (data) => {
13009
- const t4 = typeof data;
13010
- switch (t4) {
14232
+ const t15 = typeof data;
14233
+ switch (t15) {
13011
14234
  case "number": {
13012
14235
  return Number.isNaN(data) ? "NaN" : "número";
13013
14236
  }
@@ -13023,7 +14246,7 @@ var error28 = () => {
13023
14246
  }
13024
14247
  }
13025
14248
  }
13026
- return t4;
14249
+ return t15;
13027
14250
  };
13028
14251
  const Nouns = {
13029
14252
  regex: "padrão",
@@ -13165,8 +14388,8 @@ var error29 = () => {
13165
14388
  return Sizable[origin] ?? null;
13166
14389
  }
13167
14390
  const parsedType3 = (data) => {
13168
- const t4 = typeof data;
13169
- switch (t4) {
14391
+ const t15 = typeof data;
14392
+ switch (t15) {
13170
14393
  case "number": {
13171
14394
  return Number.isNaN(data) ? "NaN" : "число";
13172
14395
  }
@@ -13182,7 +14405,7 @@ var error29 = () => {
13182
14405
  }
13183
14406
  }
13184
14407
  }
13185
- return t4;
14408
+ return t15;
13186
14409
  };
13187
14410
  const Nouns = {
13188
14411
  regex: "ввод",
@@ -13286,8 +14509,8 @@ var error30 = () => {
13286
14509
  return Sizable[origin] ?? null;
13287
14510
  }
13288
14511
  const parsedType3 = (data) => {
13289
- const t4 = typeof data;
13290
- switch (t4) {
14512
+ const t15 = typeof data;
14513
+ switch (t15) {
13291
14514
  case "number": {
13292
14515
  return Number.isNaN(data) ? "NaN" : "število";
13293
14516
  }
@@ -13303,7 +14526,7 @@ var error30 = () => {
13303
14526
  }
13304
14527
  }
13305
14528
  }
13306
- return t4;
14529
+ return t15;
13307
14530
  };
13308
14531
  const Nouns = {
13309
14532
  regex: "vnos",
@@ -13403,8 +14626,8 @@ var error31 = () => {
13403
14626
  return Sizable[origin] ?? null;
13404
14627
  }
13405
14628
  const parsedType3 = (data) => {
13406
- const t4 = typeof data;
13407
- switch (t4) {
14629
+ const t15 = typeof data;
14630
+ switch (t15) {
13408
14631
  case "number": {
13409
14632
  return Number.isNaN(data) ? "NaN" : "antal";
13410
14633
  }
@@ -13420,7 +14643,7 @@ var error31 = () => {
13420
14643
  }
13421
14644
  }
13422
14645
  }
13423
- return t4;
14646
+ return t15;
13424
14647
  };
13425
14648
  const Nouns = {
13426
14649
  regex: "reguljärt uttryck",
@@ -13521,8 +14744,8 @@ var error32 = () => {
13521
14744
  return Sizable[origin] ?? null;
13522
14745
  }
13523
14746
  const parsedType3 = (data) => {
13524
- const t4 = typeof data;
13525
- switch (t4) {
14747
+ const t15 = typeof data;
14748
+ switch (t15) {
13526
14749
  case "number": {
13527
14750
  return Number.isNaN(data) ? "எண் அல்லாதது" : "எண்";
13528
14751
  }
@@ -13538,7 +14761,7 @@ var error32 = () => {
13538
14761
  }
13539
14762
  }
13540
14763
  }
13541
- return t4;
14764
+ return t15;
13542
14765
  };
13543
14766
  const Nouns = {
13544
14767
  regex: "உள்ளீடு",
@@ -13638,8 +14861,8 @@ var error33 = () => {
13638
14861
  return Sizable[origin] ?? null;
13639
14862
  }
13640
14863
  const parsedType3 = (data) => {
13641
- const t4 = typeof data;
13642
- switch (t4) {
14864
+ const t15 = typeof data;
14865
+ switch (t15) {
13643
14866
  case "number": {
13644
14867
  return Number.isNaN(data) ? "ไม่ใช่ตัวเลข (NaN)" : "ตัวเลข";
13645
14868
  }
@@ -13655,7 +14878,7 @@ var error33 = () => {
13655
14878
  }
13656
14879
  }
13657
14880
  }
13658
- return t4;
14881
+ return t15;
13659
14882
  };
13660
14883
  const Nouns = {
13661
14884
  regex: "ข้อมูลที่ป้อน",
@@ -13745,8 +14968,8 @@ function th_default() {
13745
14968
  }
13746
14969
  // ../../node_modules/@uipath/tool-agent/node_modules/zod/v4/locales/tr.js
13747
14970
  var parsedType3 = (data) => {
13748
- const t4 = typeof data;
13749
- switch (t4) {
14971
+ const t15 = typeof data;
14972
+ switch (t15) {
13750
14973
  case "number": {
13751
14974
  return Number.isNaN(data) ? "NaN" : "number";
13752
14975
  }
@@ -13762,7 +14985,7 @@ var parsedType3 = (data) => {
13762
14985
  }
13763
14986
  }
13764
14987
  }
13765
- return t4;
14988
+ return t15;
13766
14989
  };
13767
14990
  var error34 = () => {
13768
14991
  const Sizable = {
@@ -13870,8 +15093,8 @@ var error35 = () => {
13870
15093
  return Sizable[origin] ?? null;
13871
15094
  }
13872
15095
  const parsedType4 = (data) => {
13873
- const t4 = typeof data;
13874
- switch (t4) {
15096
+ const t15 = typeof data;
15097
+ switch (t15) {
13875
15098
  case "number": {
13876
15099
  return Number.isNaN(data) ? "NaN" : "число";
13877
15100
  }
@@ -13887,7 +15110,7 @@ var error35 = () => {
13887
15110
  }
13888
15111
  }
13889
15112
  }
13890
- return t4;
15113
+ return t15;
13891
15114
  };
13892
15115
  const Nouns = {
13893
15116
  regex: "вхідні дані",
@@ -13986,8 +15209,8 @@ var error36 = () => {
13986
15209
  return Sizable[origin] ?? null;
13987
15210
  }
13988
15211
  const parsedType4 = (data) => {
13989
- const t4 = typeof data;
13990
- switch (t4) {
15212
+ const t15 = typeof data;
15213
+ switch (t15) {
13991
15214
  case "number": {
13992
15215
  return Number.isNaN(data) ? "NaN" : "نمبر";
13993
15216
  }
@@ -14003,7 +15226,7 @@ var error36 = () => {
14003
15226
  }
14004
15227
  }
14005
15228
  }
14006
- return t4;
15229
+ return t15;
14007
15230
  };
14008
15231
  const Nouns = {
14009
15232
  regex: "ان پٹ",
@@ -14103,8 +15326,8 @@ var error37 = () => {
14103
15326
  return Sizable[origin] ?? null;
14104
15327
  }
14105
15328
  const parsedType4 = (data) => {
14106
- const t4 = typeof data;
14107
- switch (t4) {
15329
+ const t15 = typeof data;
15330
+ switch (t15) {
14108
15331
  case "number": {
14109
15332
  return Number.isNaN(data) ? "NaN" : "số";
14110
15333
  }
@@ -14120,7 +15343,7 @@ var error37 = () => {
14120
15343
  }
14121
15344
  }
14122
15345
  }
14123
- return t4;
15346
+ return t15;
14124
15347
  };
14125
15348
  const Nouns = {
14126
15349
  regex: "đầu vào",
@@ -14219,8 +15442,8 @@ var error38 = () => {
14219
15442
  return Sizable[origin] ?? null;
14220
15443
  }
14221
15444
  const parsedType4 = (data) => {
14222
- const t4 = typeof data;
14223
- switch (t4) {
15445
+ const t15 = typeof data;
15446
+ switch (t15) {
14224
15447
  case "number": {
14225
15448
  return Number.isNaN(data) ? "非数字(NaN)" : "数字";
14226
15449
  }
@@ -14236,7 +15459,7 @@ var error38 = () => {
14236
15459
  }
14237
15460
  }
14238
15461
  }
14239
- return t4;
15462
+ return t15;
14240
15463
  };
14241
15464
  const Nouns = {
14242
15465
  regex: "输入",
@@ -14335,8 +15558,8 @@ var error39 = () => {
14335
15558
  return Sizable[origin] ?? null;
14336
15559
  }
14337
15560
  const parsedType4 = (data) => {
14338
- const t4 = typeof data;
14339
- switch (t4) {
15561
+ const t15 = typeof data;
15562
+ switch (t15) {
14340
15563
  case "number": {
14341
15564
  return Number.isNaN(data) ? "NaN" : "number";
14342
15565
  }
@@ -14352,7 +15575,7 @@ var error39 = () => {
14352
15575
  }
14353
15576
  }
14354
15577
  }
14355
- return t4;
15578
+ return t15;
14356
15579
  };
14357
15580
  const Nouns = {
14358
15581
  regex: "輸入",
@@ -17223,7 +18446,7 @@ function date4(params) {
17223
18446
  }
17224
18447
 
17225
18448
  // ../../node_modules/@uipath/tool-agent/node_modules/zod/v4/classic/external.js
17226
- config(en_default2());
18449
+ config(en_default3());
17227
18450
  // ../../node_modules/@uipath/tool-agent/dist/chunk-XNTAT66P.js
17228
18451
  function serializeJson(value) {
17229
18452
  return JSON.stringify(value, (_key, val) => val === undefined || val === null ? undefined : val, 2);
@@ -17376,9 +18599,9 @@ function extractMigratedProjectData(tree) {
17376
18599
  const flowLayout = extractFlowLayout(tree);
17377
18600
  return { agent, resources, features, flowLayout };
17378
18601
  }
17379
- var versionExtractionSchema = exports_external.union([
17380
- exports_external.object({ metadata: exports_external.object({ storageVersion: exports_external.string() }) }),
17381
- exports_external.object({ version: exports_external.string().default("0.0.0") })
18602
+ var versionExtractionSchema = exports_external2.union([
18603
+ exports_external2.object({ metadata: exports_external2.object({ storageVersion: exports_external2.string() }) }),
18604
+ exports_external2.object({ version: exports_external2.string().default("0.0.0") })
17382
18605
  ]);
17383
18606
  function resolveProjectVersionState(agentRaw, latestVersion) {
17384
18607
  const versionResult = versionExtractionSchema.parse(agentRaw);
@@ -17945,15 +19168,10 @@ var mergeAgentBindings = async (fileSystem, contentFolder, agentBindingResources
17945
19168
  } catch {}
17946
19169
  }
17947
19170
  }
17948
- const dedupKey = (b) => JSON.stringify([b.resource, b.key]);
17949
- const seen = new Set(existing.resources.map(dedupKey));
17950
- for (const binding of agentBindingResources) {
17951
- const key = dedupKey(binding);
17952
- if (!seen.has(key)) {
17953
- seen.add(key);
17954
- existing.resources.push(binding);
17955
- }
17956
- }
19171
+ existing.resources = mergeBindingResources([
19172
+ ...existing.resources,
19173
+ ...agentBindingResources
19174
+ ]);
17957
19175
  await fileSystem.writeFile(bindingsPath, JSON.stringify(existing, null, 2));
17958
19176
  };
17959
19177
 
@@ -17977,7 +19195,7 @@ function healAgentInputEncoding(agent) {
17977
19195
  const resources = Array.isArray(rawResources) ? rawResources.map((resource) => resource && typeof resource === "object" && !Array.isArray(resource) ? healResourceInputEncoding2(resource) : resource) : rawResources;
17978
19196
  return { ...normalized, resources };
17979
19197
  }
17980
- var processAgents = async (fileSystem, logger, projectPath, contentFolder) => {
19198
+ var processAgents = async (fileSystem, logger, projectPath, contentFolder, context) => {
17981
19199
  const agentResults = [];
17982
19200
  const builtAgents = new Map;
17983
19201
  const entries = await fileSystem.readdir(projectPath);
@@ -17987,6 +19205,9 @@ var processAgents = async (fileSystem, logger, projectPath, contentFolder) => {
17987
19205
  if (!stat?.isDirectory()) {
17988
19206
  continue;
17989
19207
  }
19208
+ if (context?.sharesSolutionDirectory && (await fileSystem.exists(Path.join(sourceDir, "project.uiproj")) || await fileSystem.exists(Path.join(sourceDir, "project.json")))) {
19209
+ continue;
19210
+ }
17990
19211
  const agentJsonPath = Path.join(sourceDir, "agent.json");
17991
19212
  if (!await fileSystem.exists(agentJsonPath)) {
17992
19213
  continue;
@@ -18007,11 +19228,96 @@ var processAgents = async (fileSystem, logger, projectPath, contentFolder) => {
18007
19228
  agentResults.push(result);
18008
19229
  builtAgents.set(entry, agentJson);
18009
19230
  }
18010
- const agentBindingResources = agentResults.flatMap(toBindingsResources);
18011
- if (agentBindingResources.length > 0) {
18012
- await mergeAgentBindings(fileSystem, contentFolder, agentBindingResources);
19231
+ return {
19232
+ agents: builtAgents,
19233
+ bindings: agentResults.flatMap(toBindingsResources)
19234
+ };
19235
+ };
19236
+
19237
+ // ../packager/packager-tool-flow/src/flow-binding-resources.ts
19238
+ function toPackagingNodes(workflow) {
19239
+ return (workflow.nodes ?? []).map((node) => ({
19240
+ id: node.id,
19241
+ type: node.type,
19242
+ typeVersion: node.typeVersion ?? "1.0",
19243
+ display: node.display,
19244
+ inputs: node.inputs,
19245
+ outputs: node.outputs
19246
+ }));
19247
+ }
19248
+ function flowBindingResources(workflow, logger) {
19249
+ const copy = structuredClone(workflow);
19250
+ ensureProcessBindings(copy, logger);
19251
+ return getBindingResources(toPackagingNodes({ ...copy, nodes: bindingNodesOf(copy) }), copy.bindings ?? [], copy.definitions ?? [], copy.subflows);
19252
+ }
19253
+ // ../packager/packager-tool-flow/package.json
19254
+ var package_default = {
19255
+ name: "@uipath/packager-tool-flow",
19256
+ version: "1.205.0-preview.256",
19257
+ description: "UiPath Flow tool implementation",
19258
+ type: "module",
19259
+ exports: {
19260
+ ".": "./dist/index.js",
19261
+ "./maestro-automate": "./dist/maestro-automate-entry.js",
19262
+ "./entry-point-triggers": "./dist/entry-point-triggers.js"
19263
+ },
19264
+ repository: {
19265
+ type: "git",
19266
+ url: "https://github.com/UiPath/cli.git",
19267
+ directory: "packages/packager/packager-tool-flow"
19268
+ },
19269
+ publishConfig: {
19270
+ registry: "https://npm.pkg.github.com/"
19271
+ },
19272
+ types: "./dist/index.d.ts",
19273
+ scripts: {
19274
+ build: "bun build ./src/index.ts --outdir dist --format esm --target browser --external @uipath/filesystem --external @uipath/solutionpackager-tool-core --external @uipath/tool-agent --external @uipath/flow-core --external @uipath/flow-converter --external @uipath/flow-migrations --external @uipath/flow-schema --external i18next --sourcemap=linked && bun build ./src/maestro-automate-entry.ts --outdir dist --format esm --target browser --external @uipath/filesystem --external @uipath/solutionpackager-tool-core --sourcemap=linked && bun build ./src/entry-point-triggers.ts --outdir dist --format esm --target browser --external @uipath/flow-schema --sourcemap=linked && tsc -p tsconfig.build.json --emitDeclarationOnly --noCheck --outDir dist",
19275
+ typecheck: "tsc --noEmit",
19276
+ dev: "bun build ./src/index.ts --outdir dist --format esm --target browser --external @uipath/filesystem --external @uipath/solutionpackager-tool-core --external @uipath/tool-agent --external @uipath/flow-core --external @uipath/flow-converter --external @uipath/flow-migrations --external @uipath/flow-schema --external i18next --watch",
19277
+ test: "vitest run",
19278
+ "test:browser": "vitest run --config=vitest.browser.config.ts",
19279
+ "test:coverage": "vitest run --coverage",
19280
+ "test:browser:coverage": "vitest run --config=vitest.browser.config.ts --coverage",
19281
+ "test:all": "bun run test && bun run test:browser",
19282
+ "test:all:coverage": "bun run test:coverage && bun run test:browser:coverage",
19283
+ prepack: "bun run build",
19284
+ "publish:dry": "bun publish --dry-run",
19285
+ "publish:gh": "bun publish",
19286
+ "version:patch": "bun version patch --no-git-tag-version",
19287
+ "version:minor": "bun version minor --no-git-tag-version",
19288
+ "version:major": "bun version major --no-git-tag-version",
19289
+ lint: "biome check ."
19290
+ },
19291
+ files: [
19292
+ "dist"
19293
+ ],
19294
+ author: "UiPath",
19295
+ license: "SEE LICENSE IN LICENSE.txt",
19296
+ peerDependencies: {
19297
+ "@uipath/filesystem": "workspace:*",
19298
+ "@uipath/flow-converter": "0.69.3",
19299
+ "@uipath/flow-core": "^0.129.1",
19300
+ "@uipath/flow-migrations": "^0.71.1",
19301
+ "@uipath/flow-schema": "0.68.0",
19302
+ "@uipath/solutionpackager-tool-core": "workspace:*",
19303
+ "@uipath/tool-agent": "^2.0.0",
19304
+ i18next: "^23.16.8"
19305
+ },
19306
+ devDependencies: {
19307
+ "@types/node": "^25.5.2",
19308
+ "@uipath/filesystem": "workspace:*",
19309
+ "@uipath/flow-converter": "0.69.3",
19310
+ "@uipath/flow-core": "^0.129.1",
19311
+ "@uipath/solutionpackager-tool-core": "workspace:*",
19312
+ "@uipath/tool-agent": "^2.0.0",
19313
+ "@vitest/browser": "^4.1.11",
19314
+ "@vitest/browser-playwright": "^4.1.11",
19315
+ "@vitest/coverage-v8": "^4.1.11",
19316
+ i18next: "^23.16.8",
19317
+ playwright: "^1.57.0",
19318
+ typescript: "^7.0.2",
19319
+ vitest: "^4.1.11"
18013
19320
  }
18014
- return builtAgents;
18015
19321
  };
18016
19322
 
18017
19323
  // ../packager/packager-tool-flow/src/flow-validation-hook.ts
@@ -18030,9 +19336,9 @@ function nodeIdFromIssuePath(path) {
18030
19336
  }
18031
19337
 
18032
19338
  // ../packager/packager-tool-flow/src/operate-runtime-options.ts
18033
- var CONVERSATION_TRIGGER_NODE_TYPE = "core.trigger.conversation";
19339
+ var CONVERSATION_TRIGGER_NODE_TYPE2 = "core.trigger.conversation";
18034
19340
  function operateRuntimeOptions(nodes) {
18035
- return nodes.some((node) => node.type === CONVERSATION_TRIGGER_NODE_TYPE) ? { isConversational: true } : undefined;
19341
+ return nodes.some((node) => node.type === CONVERSATION_TRIGGER_NODE_TYPE2) ? { isConversational: true } : undefined;
18036
19342
  }
18037
19343
 
18038
19344
  // ../packager/packager-tool-flow/src/flow-tool.ts
@@ -18045,9 +19351,11 @@ var FLOW_VALIDATION_SOURCE = "Validator";
18045
19351
  var SUBFLOW_PATH_SEGMENT = "subflows[";
18046
19352
 
18047
19353
  class FlowTool extends ProjectTool {
19354
+ solutionRoot;
18048
19355
  _temporaryStorage;
18049
- constructor(fileSystem, logger) {
19356
+ constructor(fileSystem, logger, solutionRoot) {
18050
19357
  super(fileSystem, logger);
19358
+ this.solutionRoot = solutionRoot;
18051
19359
  this._temporaryStorage = new TemporaryStorageService(fileSystem);
18052
19360
  }
18053
19361
  async restoreAsync(_options, _cancellationToken) {
@@ -18066,13 +19374,19 @@ class FlowTool extends ProjectTool {
18066
19374
  this.logger.info("Flow project has no .flow file; skipping Flow validation");
18067
19375
  return ToolResult.success();
18068
19376
  }
18069
- const content = await this.fileSystem.readFile(flowFile, "utf-8");
19377
+ const canonicalFlowFile = await resolveProjectOwnedFlowPath(this.fileSystem, projectPath, flowFile);
19378
+ const content = await this.fileSystem.readFile(canonicalFlowFile, "utf-8");
18070
19379
  if (content === null) {
18071
- throw new Error(`Could not read ${flowFile}`);
19380
+ throw new Error(`Could not read ${canonicalFlowFile}`);
18072
19381
  }
18073
19382
  this.logger.progress("Validating Flow project...");
18074
- const source = await inlineFlowRefs(this.fileSystem, content, flowFile, this.logger);
18075
- issues = await validateFlowSource(source, agentJsonReader(this.fileSystem, projectPath));
19383
+ const source = await inlineFlowRefs(this.fileSystem, content, canonicalFlowFile, this.logger, projectPath);
19384
+ const readInlineEntities = registeredInlineEntityReader();
19385
+ const resolvedFlowFile = canonicalFlowFile;
19386
+ issues = await validateFlowSource(source, agentJsonReader(this.fileSystem, projectPath), readInlineEntities ? {
19387
+ flowFilePath: resolvedFlowFile,
19388
+ read: () => readInlineEntities(this.fileSystem, resolvedFlowFile)
19389
+ } : undefined);
18076
19390
  } catch (error40) {
18077
19391
  const message = error40 instanceof Error ? error40.message : String(error40);
18078
19392
  this.logger.warn(`Could not validate the Flow project, continuing without validation: ${message}`);
@@ -18111,16 +19425,26 @@ class FlowTool extends ProjectTool {
18111
19425
  const localBuildFolder = Path.join(tempFolder, NugetConstants.OutputFolderName);
18112
19426
  const contentFolder = Path.join(localBuildFolder, NugetConstants.ContentFolderName);
18113
19427
  try {
19428
+ const sharesSolutionDirectory = this.solutionRoot !== undefined && this.fileSystem.path.resolve(options.projectPath) === this.fileSystem.path.resolve(this.solutionRoot);
19429
+ const sourceFlow = await tryResolveProjectFlowFile(this.fileSystem, options.projectPath);
19430
+ const canonicalSource = sourceFlow ? await resolveProjectOwnedFlowPath(this.fileSystem, options.projectPath, sourceFlow) : undefined;
19431
+ const flowPath = sourceFlow ? Path.join(contentFolder, this.fileSystem.path.relative(options.projectPath, sourceFlow).replace(/^content[\\/]/, "")) : undefined;
18114
19432
  this.logger.progress("Copying files...");
18115
- await this.copyProjectFiles(options.projectPath, contentFolder);
19433
+ await this.copyProjectFiles(options.projectPath, contentFolder, sharesSolutionDirectory);
19434
+ if (canonicalSource && flowPath) {
19435
+ await this.stageFlowSource(canonicalSource, flowPath, options.projectPath);
19436
+ }
18116
19437
  this.logger.progress("Processing agents...");
18117
- const builtAgents = await processAgents(this.fileSystem, this.logger, options.projectPath, contentFolder);
19438
+ const { agents: builtAgents, bindings: agentBindings } = await processAgents(this.fileSystem, this.logger, options.projectPath, contentFolder, { sharesSolutionDirectory });
18118
19439
  this.logger.progress("Resolving process bindings...");
18119
- await this.resolveProcessBindings(contentFolder);
19440
+ await this.resolveProcessBindings(flowPath);
18120
19441
  const projectId = options.projectStorageId ?? await ensureProjectId(options.projectPath, this.fileSystem);
18121
19442
  const profile = await resolveRuntimeProfile(this.fileSystem, options.projectPath);
18122
19443
  this.logger.progress("Generating packaging artifacts from .flow...");
18123
- await this.generateFlowPackagingArtifacts(contentFolder, projectId, builtAgents);
19444
+ await this.generateFlowPackagingArtifacts(contentFolder, projectId, builtAgents, flowPath);
19445
+ if (agentBindings.length > 0) {
19446
+ await mergeAgentBindings(this.fileSystem, contentFolder, agentBindings);
19447
+ }
18124
19448
  this.logger.progress("Creating operate.json file...");
18125
19449
  await this.createOperateFile(contentFolder, projectId, profile);
18126
19450
  this.logger.progress("Creating package-descriptor.json file...");
@@ -18162,12 +19486,17 @@ class FlowTool extends ProjectTool {
18162
19486
  await this._temporaryStorage.cleanup();
18163
19487
  } catch {}
18164
19488
  }
18165
- async resolveProcessBindings(contentFolder) {
18166
- const entries = await this.fileSystem.readdir(contentFolder);
18167
- const flowFile = entries.find((e) => e.endsWith(".flow"));
18168
- if (!flowFile)
19489
+ async stageFlowSource(sourcePath, targetPath, projectRoot) {
19490
+ const source = await this.fileSystem.readFile(sourcePath, "utf-8");
19491
+ if (source === null)
19492
+ throw new Error(`Could not read ${sourcePath}`);
19493
+ const inlined = await inlineFlowRefs(this.fileSystem, source, sourcePath, this.logger, projectRoot);
19494
+ await this.fileSystem.mkdir(this.fileSystem.path.dirname(targetPath));
19495
+ await this.fileSystem.writeFile(targetPath, inlined);
19496
+ }
19497
+ async resolveProcessBindings(flowPath) {
19498
+ if (!flowPath)
18169
19499
  return;
18170
- const flowPath = Path.join(contentFolder, flowFile);
18171
19500
  const flowBuffer = await this.fileSystem.readFile(flowPath);
18172
19501
  if (!flowBuffer)
18173
19502
  return;
@@ -18183,19 +19512,18 @@ class FlowTool extends ProjectTool {
18183
19512
  await this.fileSystem.writeFile(flowPath, JSON.stringify(workflow, null, 4));
18184
19513
  }
18185
19514
  }
18186
- async generateFlowPackagingArtifacts(contentFolder, projectId, builtAgents) {
18187
- const entries = await this.fileSystem.readdir(contentFolder);
18188
- const flowFile = entries.find((e) => e.endsWith(".flow"));
18189
- if (!flowFile) {
19515
+ async generateFlowPackagingArtifacts(contentFolder, projectId, builtAgents, flowFilePath) {
19516
+ if (!flowFilePath) {
18190
19517
  this.logger.warn("No .flow file found in content folder — skipping artifact generation");
18191
19518
  return;
18192
19519
  }
18193
- const flowFilePath = Path.join(contentFolder, flowFile);
19520
+ const flowFile = this.fileSystem.path.basename(flowFilePath);
18194
19521
  let workflow;
18195
19522
  try {
18196
19523
  workflow = await readFlowWorkflow(flowFilePath, {
18197
19524
  fs: this.fileSystem,
18198
- logger: this.logger
19525
+ logger: this.logger,
19526
+ projectRoot: contentFolder
18199
19527
  });
18200
19528
  } catch (err) {
18201
19529
  const message = err instanceof Error ? err.message : String(err);
@@ -18218,16 +19546,8 @@ class FlowTool extends ProjectTool {
18218
19546
  const bpmn = replaceExporterVersion(rawBpmn, package_default.version);
18219
19547
  assertVoiceAgentDefinitionsEmbedded(bpmn, flowNodes);
18220
19548
  await this.fileSystem.writeFile(bpmnPath, bpmn);
18221
- const packagingNodes = (workflow.nodes ?? []).map((node) => ({
18222
- id: node.id,
18223
- type: node.type,
18224
- typeVersion: node.typeVersion ?? "1.0",
18225
- display: node.display,
18226
- inputs: node.inputs,
18227
- outputs: node.outputs
18228
- }));
19549
+ const packagingNodes = toPackagingNodes(workflow);
18229
19550
  const variables = workflow.variables ?? {};
18230
- const bindings = workflow.bindings ?? [];
18231
19551
  const definitions = workflow.definitions ?? [];
18232
19552
  const entryPointsPath = Path.join(contentFolder, FlowConstants.EntryPointsFileName);
18233
19553
  const entryPoints = getEntryPoints(bpmnFileName, packagingNodes, variables, definitions, ProjectType.Flow);
@@ -18271,12 +19591,12 @@ class FlowTool extends ProjectTool {
18271
19591
  await this.fileSystem.writeFile(entryPointsPath, `${JSON.stringify(generateEntryPointsJson(allEntryPoints), null, 2)}
18272
19592
  `);
18273
19593
  const bindingsPath = Path.join(contentFolder, FlowConstants.BindingsV2FileName);
18274
- const bindingResources = getBindingResources(packagingNodes, bindings, definitions);
19594
+ const bindingResources = flowBindingResources(workflow, this.logger);
18275
19595
  await this.fileSystem.writeFile(bindingsPath, `${JSON.stringify(generateBindingsJson(bindingResources), null, 2)}
18276
19596
  `);
18277
19597
  const operatePath = Path.join(contentFolder, NugetConstants.OperateFileName);
18278
19598
  const startEventMatch = bpmn.match(/<bpmn:startEvent\s+id="([^"]+)"/);
18279
- const startEventId = startEventMatch?.[1] ?? "start";
19599
+ const startEventId = defaultEntryPointNodeId(workflow.nodes ?? []) ?? startEventMatch?.[1] ?? "start";
18280
19600
  const mainEntryPoint = `/${bpmnFileName}#${startEventId}`;
18281
19601
  const operateJson = generateOperateJson(projectId || workflow.id || "", mainEntryPoint, operateRuntimeOptions(flowNodes));
18282
19602
  await this.fileSystem.writeFile(operatePath, `${JSON.stringify(operateJson, null, 2)}
@@ -18318,7 +19638,7 @@ class FlowTool extends ProjectTool {
18318
19638
  return;
18319
19639
  }
18320
19640
  }
18321
- async copyProjectFiles(projectPath, contentFolder) {
19641
+ async copyProjectFiles(projectPath, contentFolder, sharesSolutionDirectory = false) {
18322
19642
  await this.fileSystem.mkdir(contentFolder);
18323
19643
  const entries = await this.fileSystem.readdir(projectPath);
18324
19644
  for (const entry of entries) {
@@ -18329,7 +19649,7 @@ class FlowTool extends ProjectTool {
18329
19649
  await this.copyDirectoryContents(sourceEntry, contentFolder);
18330
19650
  }
18331
19651
  } else if (stat?.isFile()) {
18332
- if (entry === "project.uiproj" || isMaestroAutomateSentinel(entry)) {
19652
+ if (entry === "project.uiproj" || sharesSolutionDirectory && entry === "bindings_v2.json" || isMaestroAutomateSentinel(entry)) {
18333
19653
  continue;
18334
19654
  }
18335
19655
  const content = await this.fileSystem.readFile(sourceEntry);
@@ -18415,16 +19735,120 @@ function toFlowFinding(issue2, flowFilePath) {
18415
19735
  }
18416
19736
 
18417
19737
  // ../packager/packager-tool-flow/src/flow-tool-factory.ts
19738
+ var quietLogger = {
19739
+ debug: () => {},
19740
+ info: () => {},
19741
+ warn: () => {},
19742
+ error: () => {},
19743
+ progress: () => {},
19744
+ log: () => {},
19745
+ logMessage: () => {}
19746
+ };
19747
+ async function readAuthoredSidecarBindings(fs, sidecarPath) {
19748
+ const raw = await fs.readFile(sidecarPath, "utf-8");
19749
+ if (raw === null)
19750
+ throw new Error("Sidecar file is missing");
19751
+ const parsed = JSON.parse(typeof raw === "string" ? raw : new TextDecoder().decode(raw));
19752
+ if (typeof parsed !== "object" || parsed === null || !("resources" in parsed) || !Array.isArray(parsed.resources)) {
19753
+ throw new Error("Expected a resources array");
19754
+ }
19755
+ return parsed.resources;
19756
+ }
19757
+
18418
19758
  class FlowToolFactory {
18419
19759
  supportedTypes = ["Flow" /* Flow */];
18420
- async createAsync(logger, fileSystem) {
18421
- return new FlowTool(fileSystem, logger);
19760
+ async createAsync(logger, fileSystem, context) {
19761
+ return new FlowTool(fileSystem, logger, context?.solutionRoot);
19762
+ }
19763
+ async describeResourcesAsync(projectDir, fs, context) {
19764
+ let flowFile;
19765
+ let stage = "flow";
19766
+ try {
19767
+ flowFile = await tryResolveProjectFlowFile(fs, projectDir);
19768
+ const workflow = flowFile ? await readFlowWorkflow(flowFile, {
19769
+ fs,
19770
+ projectRoot: projectDir
19771
+ }) : undefined;
19772
+ stage = "agents";
19773
+ const contentFolder = await fs.getTempDir();
19774
+ try {
19775
+ const { bindings: agentBindings } = await processAgents(fs, quietLogger, projectDir, contentFolder, {
19776
+ sharesSolutionDirectory: context?.sharesSolutionDirectory
19777
+ });
19778
+ if (!workflow) {
19779
+ if (context?.sharesSolutionDirectory) {
19780
+ return { bindings: agentBindings };
19781
+ }
19782
+ const sidecarPath = fs.path.join(projectDir, "bindings_v2.json");
19783
+ const hasSidecar = await fs.exists(sidecarPath);
19784
+ if (agentBindings.length === 0) {
19785
+ return hasSidecar ? {} : { bindings: [] };
19786
+ }
19787
+ stage = "sidecar";
19788
+ const authoredBindings = hasSidecar ? await readAuthoredSidecarBindings(fs, sidecarPath) : [];
19789
+ return {
19790
+ bindings: mergeBindingResources([
19791
+ ...authoredBindings,
19792
+ ...agentBindings
19793
+ ])
19794
+ };
19795
+ }
19796
+ return {
19797
+ bindings: mergeBindingResources([
19798
+ ...flowBindingResources(workflow, quietLogger),
19799
+ ...agentBindings
19800
+ ])
19801
+ };
19802
+ } finally {
19803
+ try {
19804
+ await fs.rm(contentFolder);
19805
+ } catch {}
19806
+ }
19807
+ } catch (err) {
19808
+ const detail = err instanceof Error ? err.message : String(err);
19809
+ if (stage === "sidecar") {
19810
+ const sidecarPath = fs.path.join(projectDir, "bindings_v2.json");
19811
+ return {
19812
+ bindings: [],
19813
+ errors: [
19814
+ {
19815
+ code: "sidecar_unreadable",
19816
+ message: `${sidecarPath} could not be read: ${detail}.`,
19817
+ instructions: `Fix ${sidecarPath}, then re-run the command.`
19818
+ }
19819
+ ]
19820
+ };
19821
+ }
19822
+ if (stage === "agents") {
19823
+ return {
19824
+ bindings: [],
19825
+ errors: [
19826
+ {
19827
+ code: "agent_build_failed",
19828
+ message: `Inline agents in ${projectDir} could not be built: ${detail}.`,
19829
+ instructions: `Fix the inline agent files in ${projectDir}, then re-run the command.`
19830
+ }
19831
+ ]
19832
+ };
19833
+ }
19834
+ const source = flowFile ?? projectDir;
19835
+ return {
19836
+ bindings: [],
19837
+ errors: [
19838
+ {
19839
+ code: "flow_unreadable",
19840
+ message: `${source} could not be read as a workflow: ${detail}.`,
19841
+ instructions: `Fix ${source} (or open it in the designer), then re-run the command.`
19842
+ }
19843
+ ]
19844
+ };
19845
+ }
18422
19846
  }
18423
19847
  }
18424
19848
 
18425
19849
  // ../packager/packager-tool-flow/src/index.ts
18426
19850
  toolsFactoryRepository.registerProjectToolFactory(new FlowToolFactory);
18427
19851
 
18428
- export { convertFlowToBpmn, buildInlineAgentContract, extractProcessGuid, createProcessBindings, replaceExporterVersion, registerFlowMigrationsI18n, getMigrationChain, migrateWorkflowToFloor, minimumSupportedVersion, runtimeVersion, runtimeMigrations, checkNodeMigrations, applyNodeMigrations, createFlowRefResolver, resolveWorkflowRefs, inlineFlowRefs, resolveAndMigrateWorkflow, resolveProjectFlowFile, findProjectFlowFile, canonicalAgentInputPath, collectAgentInputLeaves, readInlineAgentSource, isInlineAgentNodeType, hydrateInlineAgentInputVariables, setPublishIntentOnInlineAgents, hydrateAgentNodeInputs, parseFlowSource, runDesignerRules, operateRuntimeOptions, voiceConvertOptions, assertVoiceAgentDefinitionsEmbedded, FlowToolFactory };
19852
+ export { convertFlowToBpmn, buildInlineAgentContract, extractProcessGuid, createProcessBindings, bindingNodesOf, allNodesOf, registerFlowMigrationsI18n, getMigrationChain, migrateWorkflowToFloor, minimumSupportedVersion, runtimeVersion, runtimeMigrations, checkNodeMigrations, applyNodeMigrations, createFlowRefResolver, resolveWorkflowRefs, inlineFlowRefs, resolveAndMigrateWorkflow, resolveProjectFlowFile, findProjectFlowFile, replaceExporterVersion, canonicalAgentInputPath, collectAgentInputLeaves, readInlineAgentSource, isInlineAgentNodeType, hydrateInlineAgentInputVariables, setPublishIntentOnInlineAgents, registerInlineEntityReader, findInlineEntity, isEntityNodeType, entityScopeKey, findUnboundInlineEntityNodes, describeUnboundInlineEntity, inlineEntityBindingIssues, hydrateAgentNodeInputs, parseFlowSource, runDesignerRules, operateRuntimeOptions, voiceConvertOptions, assertVoiceAgentDefinitionsEmbedded, FlowToolFactory };
18429
19853
 
18430
- //# debugId=A52E8084DD80037264756E2164756E21
19854
+ //# debugId=86905C9E23CF268264756E2164756E21