@uipath/flow-tool 1.206.0-preview.306 → 1.207.0-preview.307

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 (259) hide show
  1. package/README.md +2 -1
  2. package/dist/THIRD-PARTY-NOTICES.md +12 -12
  3. package/dist/{applicationinsights-web-8m26566f.js → applicationinsights-web-c6epsatg.js} +1 -1
  4. package/dist/{authoring-az69rn0j.js → authoring-f5ttjy3d.js} +5 -5
  5. package/dist/{binding-service-jdzw5h8a.js → binding-service-b4kes1cr.js} +37 -34
  6. package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
  7. package/dist/case-catalog-h4fjn6q3.js +304 -0
  8. package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
  9. package/dist/{connector-service-yq01bg3n.js → connector-service-xjszs9v3.js} +156 -76
  10. package/dist/{conversion-7O2PDOQB-xx5zfw6n.js → conversion-A2KZVSOA-313011c5.js} +256 -90
  11. package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
  12. package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-xvwqrst4.js} +1282 -10
  13. package/dist/{de-2BEKRUMY-MD7L477H-7mwat6r6.js → de-HF4GJ4EK-xrrajtht.js} +1277 -15
  14. package/dist/{de-VQWT6L5Y-mch4qwyv.js → de-IQ44WEAK-ayb953tp.js} +19 -4
  15. package/dist/{de-3CU65EDB-r7r10am9.js → de-T4OCQPNU-hrqdjart.js} +6 -6
  16. package/dist/{debug-conversation-trigger-62ebex43.js → debug-conversation-trigger-j20ms2xc.js} +4 -9
  17. package/dist/{debug-http-client-ykzhg1zx.js → debug-http-client-fypqjmfs.js} +6 -5
  18. package/dist/{debug-service-xq8vhrkq.js → debug-service-zv5hj0cx.js} +11 -6
  19. package/dist/{edge-service-w5jbtehr.js → edge-service-8jrhdfvf.js} +41 -31
  20. package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
  21. package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
  22. package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
  23. package/dist/{en-X6T4SP2Y-FPGCJIFV-wsbs6fqx.js → en-ETY46SDS-RI6EZCN6-x64e1cks.js} +67 -3
  24. package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
  25. package/dist/{en-WPCQ4JKF-jnj0q4e1.js → en-JZXY3PYE-m54g0zx7.js} +4 -4
  26. package/dist/{en-LQHKFSEY-jz2knr92.js → en-LQHKFSEY-bypy1p39.js} +1 -1
  27. package/dist/{en-U2NSIIZN-whenw6wh.js → en-T6VSEF3E-1hq4zfrt.js} +5 -3
  28. package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
  29. package/dist/{es-7ZTQTGKN-TXQBFYRA-q5v6wcmn.js → es-IYP2OLUY-7SKYGF6A-rd9jrktp.js} +1272 -11
  30. package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
  31. package/dist/{es-MX-S2RFDGDE-x9r0tv30.js → es-MX-A2DFN7CA-q5m62f60.js} +19 -4
  32. package/dist/{es-MX-IHGRIEWH-23X37OPS-vx539dfs.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
  33. package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-y7xh0r57.js} +1281 -10
  34. package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
  35. package/dist/{es-MX-F7ZEHSNE-gxpm47vv.js → es-MX-YQNHSXDT-fd5ybreb.js} +6 -6
  36. package/dist/{es-EP563JWQ-1agj5n4e.js → es-TNUPGHGG-886me0sq.js} +19 -4
  37. package/dist/{es-KHVY67FO-natcvmmm.js → es-YHECPVFB-7jsrxa01.js} +6 -6
  38. package/dist/extraction-availability-service-h08mngty.js +343 -0
  39. package/dist/{first-party-service-6b9ajm57.js → first-party-service-qfg2m05s.js} +1 -1
  40. package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
  41. package/dist/{flow-debug-service-vt2k0v46.js → flow-debug-service-jb9jxat1.js} +232 -156
  42. package/dist/flow-eval-node-target-scxb918a.js +31 -0
  43. package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
  44. package/dist/{flow-eval-run-service-vh2041qg.js → flow-eval-run-service-n68xb9sk.js} +116 -119
  45. package/dist/{flow-eval-service-q2zp54gq.js → flow-eval-service-88qyrg7d.js} +141 -337
  46. package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
  47. package/dist/flow-init-service-v6jvdmqa.js +27 -0
  48. package/dist/flow-io-4z79xnb3.js +29 -0
  49. package/dist/{flow-migrate-service-wgrz2msp.js → flow-migrate-service-gbdh07zh.js} +20 -20
  50. package/dist/{flow-pack-service-kze10925.js → flow-pack-service-gca3ekj7.js} +89 -90
  51. package/dist/flow-validate-service-z0z4ndn8.js +49 -0
  52. package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
  53. package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-gjhmym96.js} +1282 -10
  54. package/dist/{fr-7ZDL4MVO-CXMRZDOF-b816xj36.js → fr-NISALSPL-vzfmygd7.js} +1277 -15
  55. package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
  56. package/dist/{fr-I42FODC5-p80x5v4b.js → fr-W3AFCEDL-cjfr0xqp.js} +6 -6
  57. package/dist/{governance-fetcher-y0q4m57j.js → governance-fetcher-26h7eqrk.js} +7 -7
  58. package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
  59. package/dist/{hitl-service-8rvw1zsh.js → hitl-service-v94wsz1f.js} +11 -11
  60. package/dist/{index-wss1mf5j.js → index-9a52zr4w.js} +3033 -767
  61. package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
  62. package/dist/{index-amqqhge1.js → index-ewg6ygg0.js} +1 -1
  63. package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
  64. package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
  65. package/dist/index-kwrhrb9p.js +161 -0
  66. package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
  67. package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
  68. package/dist/{index-vvf52vnn.js → index-re7r0ezw.js} +34 -27
  69. package/dist/{index-5y5pbdx5.js → index-sazh9ymk.js} +13 -11
  70. package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
  71. package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
  72. package/dist/index.js +16 -14
  73. package/dist/{index.umd.min-ttg1qc0x.js → index.umd.min-5yxdz5j3.js} +1 -1
  74. package/dist/init.js +18 -17
  75. package/dist/{inline-entity-resolver-aty0xw8s.js → inline-entity-resolver-r7ebmssg.js} +11 -11
  76. package/dist/input-reader-3zvbsn6a.js +12 -0
  77. package/dist/integration-service-fetcher-0vdd4pbb.js +65 -0
  78. package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
  79. package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
  80. package/dist/{ja-LGAM5HKR-NTPKIZEM-aaj773vd.js → ja-HTS2Q4YG-7Q6WUI6H-j8dkhe93.js} +1278 -11
  81. package/dist/{ja-WY2W6733-ayr36h1f.js → ja-HWFIXC2V-gg9xvhsv.js} +19 -4
  82. package/dist/{ja-GI3OUHPZ-28fy60r0.js → ja-WOANIGX4-qnyzk2t8.js} +6 -6
  83. package/dist/{jmespath-wwym30dp.js → jmespath-dbsejrwn.js} +1 -1
  84. package/dist/json-input-pj18qjt0.js +17 -0
  85. package/dist/{known-types-v9sxcq1c.js → known-types-pen5h5kz.js} +4 -4
  86. package/dist/{ko-7B4SUZB7-2SLI636D-khdzwz6c.js → ko-3JFGTMNY-VT6UQ3IS-z5n880em.js} +1272 -11
  87. package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
  88. package/dist/{ko-H2RGQWKJ-9696w762.js → ko-L3BMYD3Q-exfhqfbh.js} +19 -4
  89. package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
  90. package/dist/{ko-RYKAL74T-10m4z8vw.js → ko-RMOVRC7M-whyynn7n.js} +6 -6
  91. package/dist/library-option-9fqvdh8v.js +14 -0
  92. package/dist/localization-axzmx1mb.js +45 -0
  93. package/dist/{maestro-automate-entry-d1v5q5mv.js → maestro-automate-entry-mrap5xmt.js} +2 -2
  94. package/dist/manifest-hmeqvk74.js +60 -0
  95. package/dist/node-service-d6211mt9.js +65 -0
  96. package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
  97. package/dist/{node-sync-service-6h12t41d.js → node-sync-service-6wbypdgb.js} +22 -15
  98. package/dist/node-w3wny6qw.js +172 -0
  99. package/dist/packager-tool-0x8g8b5r.js +25 -0
  100. package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
  101. package/dist/packager-tool-1yew22sn.js +9 -0
  102. package/dist/{packager-tool-14rdgz3c.js → packager-tool-3sxg16ft.js} +7 -7
  103. package/dist/packager-tool-40bxn7j2.js +63 -0
  104. package/dist/{packager-tool-6an893wm.js → packager-tool-4f4jp7ez.js} +3 -3
  105. package/dist/packager-tool-4gh9ftn8.js +224 -0
  106. package/dist/{packager-tool-pxq0bwp0.js → packager-tool-4hn7v05x.js} +16 -9
  107. package/dist/packager-tool-4skf6ak1.js +31 -0
  108. package/dist/{packager-tool-951nhh3e.js → packager-tool-5n1v6y3q.js} +1 -1
  109. package/dist/{packager-tool-2b0tn4p4.js → packager-tool-6azsz9h8.js} +7 -7
  110. package/dist/{packager-tool-zydkpqta.js → packager-tool-6sqq0mzd.js} +330 -902
  111. package/dist/{packager-tool-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
  112. package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
  113. package/dist/{packager-tool-4w37xezc.js → packager-tool-7tmtjb7p.js} +13 -13
  114. package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
  115. package/dist/packager-tool-8qc7ram5.js +16 -0
  116. package/dist/packager-tool-942v78s9.js +40 -0
  117. package/dist/packager-tool-9tv5cyhr.js +16 -0
  118. package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
  119. package/dist/{packager-tool-p7f12rkc.js → packager-tool-b14qj57y.js} +9 -7
  120. package/dist/packager-tool-bbq5kbb9.js +318 -0
  121. package/dist/{packager-tool-xhrm7cgz.js → packager-tool-bcsjm5hv.js} +470 -315
  122. package/dist/{packager-tool-xdaxdc00.js → packager-tool-bn09xgy8.js} +14 -14
  123. package/dist/{packager-tool-m30d5s5s.js → packager-tool-bv24wxxz.js} +24 -10
  124. package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
  125. package/dist/packager-tool-c8mn8jr0.js +1060 -0
  126. package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
  127. package/dist/{packager-tool-vb1ect63.js → packager-tool-e8bxpwdp.js} +21 -21
  128. package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
  129. package/dist/{packager-tool-y1bcfvcs.js → packager-tool-frt20zp9.js} +2 -2
  130. package/dist/packager-tool-geh2qybm.js +179 -0
  131. package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
  132. package/dist/{packager-tool-v1q6601f.js → packager-tool-hyx81x30.js} +584 -651
  133. package/dist/{packager-tool-67h9vcvz.js → packager-tool-j6m8nkms.js} +1123 -295
  134. package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
  135. package/dist/packager-tool-kh1taypp.js +41 -0
  136. package/dist/{packager-tool-dc12ytg5.js → packager-tool-krr2x2ny.js} +10 -10
  137. package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
  138. package/dist/{packager-tool-9m5vba43.js → packager-tool-md1vcqh4.js} +233 -14
  139. package/dist/{packager-tool-4g87fbz6.js → packager-tool-mm6a12y4.js} +8 -8
  140. package/dist/{packager-tool-2n6eg5eq.js → packager-tool-mvzswn9n.js} +134 -68
  141. package/dist/{packager-tool-x4xdtsbp.js → packager-tool-n4fky033.js} +15328 -7171
  142. package/dist/{packager-tool-hyd7qpfw.js → packager-tool-npm5tzpt.js} +489 -118
  143. package/dist/packager-tool-p8ncdnsj.js +30 -0
  144. package/dist/{packager-tool-m126jzdd.js → packager-tool-qkdbfkev.js} +14 -11
  145. package/dist/{packager-tool-7mxn3e7j.js → packager-tool-qtz83h01.js} +4 -2
  146. package/dist/{packager-tool-hk0fnvz5.js → packager-tool-qx8wvedy.js} +1 -1
  147. package/dist/{packager-tool-q2kwk5bf.js → packager-tool-qyhvgenw.js} +6 -4
  148. package/dist/{packager-tool-6pyaaxzk.js → packager-tool-rcjtmknf.js} +351 -42
  149. package/dist/{packager-tool-jjkypwge.js → packager-tool-s8jxyjgj.js} +15 -4
  150. package/dist/packager-tool-swvgkcq7.js +5973 -0
  151. package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
  152. package/dist/packager-tool-t0zz0jtb.js +423 -0
  153. package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
  154. package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
  155. package/dist/{packager-tool-dbc4hv4n.js → packager-tool-vtz6gvav.js} +8 -8
  156. package/dist/{packager-tool-f4t73ja0.js → packager-tool-wk6jaz9m.js} +228 -487
  157. package/dist/packager-tool-wvf6b31h.js +50 -0
  158. package/dist/packager-tool-xgh2t48c.js +255 -0
  159. package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
  160. package/dist/{packager-tool-h1vt1vr2.js → packager-tool-ybn5fymq.js} +2 -2
  161. package/dist/packager-tool-yszyrt27.js +184 -0
  162. package/dist/packager-tool-yx0hy6pt.js +125 -0
  163. package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
  164. package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
  165. package/dist/{node-tx150jvs.js → packager-tool-zrh55d4c.js} +190 -286
  166. package/dist/packager-tool.js +9 -9
  167. package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
  168. package/dist/provision-node-service-b8nkty72.js +86 -0
  169. package/dist/{pt-2RGHDOG4-gwe2ptvg.js → pt-6RCFX6CY-v42k92ey.js} +19 -4
  170. package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
  171. package/dist/{pt-BR-PHLFHMXZ-JFPKUXIZ-1cttmarb.js → pt-BR-7H7BP5DT-IOHWNCIU-kzbjgs8p.js} +1277 -11
  172. package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
  173. package/dist/{pt-BR-JWHVZE6H-gvkknv49.js → pt-BR-HDVM5NFA-azfx4gg9.js} +19 -4
  174. package/dist/{pt-BR-IL3KLBID-m1mvqqzb.js → pt-BR-HJIMGPPX-s18rb4vg.js} +6 -6
  175. package/dist/{pt-VLA5IOHO-8t4pze0h.js → pt-DZG5FPWK-6czrqk2t.js} +6 -6
  176. package/dist/{pt-N7ZTJT4W-GVODJMRX-ek3zjp9k.js → pt-QWGSZKMD-RTKSQCYA-j9wqwb10.js} +1272 -11
  177. package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
  178. package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
  179. package/dist/{ro-FLNXVYJI-ZN43XZKK-zrcvcsj5.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
  180. package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-1ss8n5t0.js} +1276 -10
  181. package/dist/{ro-53TS7SWG-hnjx1c7b.js → ro-EEKX2X3R-tz9prn67.js} +19 -4
  182. package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
  183. package/dist/{ro-IRNFX376-mh84zk3n.js → ro-SX7RUXGR-kknxsr3g.js} +6 -6
  184. package/dist/ru-FNRVPXE5-7q150qf8.js +7 -0
  185. package/dist/ru-GSCT4ARZ-6OTD7JLB-j2ny4frk.js +12 -0
  186. package/dist/schema-document-service-007f2kw4.js +30 -0
  187. package/dist/{serialization-Z3UYT6BW-c994gtwh.js → serialization-7CB4AREI-b012f3vq.js} +482 -6161
  188. package/dist/services/binding-id-rule.d.ts +13 -0
  189. package/dist/services/binding-resource-types.d.ts +12 -0
  190. package/dist/services/extract-schema/default-schema-document.d.ts +9 -4
  191. package/dist/services/extract-schema/types.d.ts +73 -0
  192. package/dist/services/extract-schema/validate-schema-document.d.ts +75 -0
  193. package/dist/services/flow-scopes.d.ts +15 -0
  194. package/dist/services/flow-structure-checks.d.ts +8 -0
  195. package/dist/services/flow-validate-service.d.ts +44 -11
  196. package/dist/services/idp-processor-provisioning.d.ts +35 -0
  197. package/dist/services/node-service.d.ts +17 -23
  198. package/dist/services/node-validators/extract-schema-validator.d.ts +13 -0
  199. package/dist/services/node-validators/index.d.ts +1 -0
  200. package/dist/services/node-validators/js-expression-syntax-validator.d.ts +2 -1
  201. package/dist/services/node-validators/types.d.ts +2 -7
  202. package/dist/services/vars-reference-rule.d.ts +6 -0
  203. package/dist/solution-auth-k0s83ake.js +11 -0
  204. package/dist/{solution-definition-helper-6zwd9hjs.js → solution-definition-helper-qjj01xh0.js} +1 -1
  205. package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
  206. package/dist/taggable-variables-nc8td6er.js +134 -0
  207. package/dist/{tidy-service-g9qcarr9.js → tidy-service-ehhraxge.js} +17 -18
  208. package/dist/tool.js +16 -14
  209. package/dist/{tr-PIQY7JIT-2mkwk0kq.js → tr-B6TLBSLH-1797wxkh.js} +19 -4
  210. package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-CEOTUJRD-pv26erw5.js} +1276 -10
  211. package/dist/{tr-7AIZZWZ6-ESAESUPL-kgj5s586.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -15
  212. package/dist/{tr-EJKY7DVQ-rkctqva4.js → tr-OUB57VJ6-52t7zdzb.js} +6 -6
  213. package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
  214. package/dist/utils/handle-expansion.d.ts +2 -2
  215. package/dist/validation.js +42 -39
  216. package/dist/{variable-service-1s0z3e9j.js → variable-service-m8m88dy6.js} +17 -12
  217. package/dist/{wait-for-flow-job-vy4t4tbj.js → wait-for-flow-job-k990nmdn.js} +15 -12
  218. package/dist/{zh-CN-NIEVKROA-q4tbbwqz.js → zh-CN-7KN22KSH-mwvgyym6.js} +19 -4
  219. package/dist/{zh-CN-4FH7E7UL-84y6j2ea.js → zh-CN-FKWWWLFR-n15rj6p8.js} +6 -6
  220. package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
  221. package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-BB2LRIMQ-tj7kwma4.js} +1276 -10
  222. package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-0t4qqqdc.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -15
  223. package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
  224. package/dist/{zh-TW-5WQA6QTM-hns69sd4.js → zh-TW-52QTEYIZ-2mj7hy3e.js} +6 -6
  225. package/dist/{zh-TW-MSQM7YTT-m7r7nwnj.js → zh-TW-I7BH3XP2-7rb4xpzg.js} +19 -4
  226. package/dist/{zh-TW-7RUFEVFK-VKVRSVTP-8zmewakq.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
  227. package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-wv5068r9.js} +1277 -11
  228. package/package.json +2 -2
  229. package/dist/flow-eval-node-target-20cnm783.js +0 -29
  230. package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
  231. package/dist/flow-init-service-4rvjej8m.js +0 -26
  232. package/dist/flow-io-e7t1s141.js +0 -24
  233. package/dist/flow-validate-service-wfkxyvkc.js +0 -46
  234. package/dist/input-reader-jjq3r7ry.js +0 -11
  235. package/dist/localization-erchshqr.js +0 -45
  236. package/dist/node-service-2mbw4sjk.js +0 -64
  237. package/dist/packager-tool-08dsxdz8.js +0 -56
  238. package/dist/packager-tool-2sazb7th.js +0 -2
  239. package/dist/packager-tool-9217bxm2.js +0 -6
  240. package/dist/packager-tool-cvh1a0nm.js +0 -16
  241. package/dist/packager-tool-d07g2kpn.js +0 -25
  242. package/dist/packager-tool-f7rk9xhv.js +0 -50
  243. package/dist/packager-tool-jd3v0bh1.js +0 -26
  244. package/dist/packager-tool-k3egwd1m.js +0 -15
  245. package/dist/packager-tool-mfj268wk.js +0 -18
  246. package/dist/packager-tool-q0f1dvtd.js +0 -40
  247. package/dist/packager-tool-wr7gn964.js +0 -2
  248. package/dist/packager-tool-z1w16vjv.js +0 -461
  249. package/dist/ru-GSCT4ARZ-FTVCGQTL-7d8rpmsn.js +0 -12
  250. package/dist/ru-T73OPRTC-50m7tty9.js +0 -7
  251. package/dist/services/connector-request-buckets.d.ts +0 -1
  252. package/dist/services/flow-eval-file-store.d.ts +0 -1
  253. package/dist/services/inline-entity-resolver.d.ts +0 -22
  254. package/dist/services/packaging-utils.d.ts +0 -130
  255. package/dist/services/preview-id-rule.d.ts +0 -33
  256. package/dist/services/ui-only-node-types.d.ts +0 -1
  257. package/dist/solution-auth-j8x84n5z.js +0 -11
  258. package/dist/utils/flow-io.d.ts +0 -19
  259. package/dist/utils/workflow-file-format.d.ts +0 -14
@@ -10,10 +10,7 @@ import {
10
10
  NugetPackager,
11
11
  ProjectTool,
12
12
  toolsFactoryRepository
13
- } from "./packager-tool-ze3fnf3s.js";
14
- import {
15
- NodeFileSystem
16
- } from "./packager-tool-vgrswa8p.js";
13
+ } from "./packager-tool-zap4kd3z.js";
17
14
  import {
18
15
  ProjectDimensions,
19
16
  PackagerDimensions,
@@ -21,14 +18,11 @@ import {
21
18
  PROJECT_IDENTITY_LOOKUP_BUDGET_MS,
22
19
  withinProjectIdentityBudget,
23
20
  catchError2
24
- } from "./packager-tool-pxq0bwp0.js";
21
+ } from "./packager-tool-4hn7v05x.js";
25
22
  import {
26
23
  carriedInstructions,
27
- DebugTelemetryProvider,
28
- NodeContextStorage,
29
- TelemetryService,
30
24
  isProjectTelemetryDisabled
31
- } from "./packager-tool-xhrm7cgz.js";
25
+ } from "./packager-tool-bcsjm5hv.js";
32
26
  // ../packager/project-packager/src/i18n/locales/de.json
33
27
  var de_default = {
34
28
  solutionpackager: {
@@ -37,7 +31,8 @@ var de_default = {
37
31
  pathRequired: "Project directory path is required",
38
32
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
39
33
  readFailed: "Failed to read project file: {path}",
40
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
34
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
35
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
41
36
  }
42
37
  },
43
38
  validator: {
@@ -128,7 +123,8 @@ var en = {
128
123
  pathRequired: "Project directory path is required",
129
124
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
130
125
  readFailed: "Failed to read project file: {path}",
131
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
126
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
127
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
132
128
  }
133
129
  },
134
130
  validator: {
@@ -219,7 +215,8 @@ var es_default = {
219
215
  pathRequired: "Project directory path is required",
220
216
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
221
217
  readFailed: "Failed to read project file: {path}",
222
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
218
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
219
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
223
220
  }
224
221
  },
225
222
  validator: {
@@ -309,7 +306,8 @@ var es_MX_default = {
309
306
  pathRequired: "Project directory path is required",
310
307
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
311
308
  readFailed: "Failed to read project file: {path}",
312
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
309
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
310
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
313
311
  }
314
312
  },
315
313
  validator: {
@@ -399,7 +397,8 @@ var fr_default = {
399
397
  pathRequired: "Project directory path is required",
400
398
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
401
399
  readFailed: "Failed to read project file: {path}",
402
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
400
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
401
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
403
402
  }
404
403
  },
405
404
  validator: {
@@ -489,7 +488,8 @@ var ja_default = {
489
488
  pathRequired: "Project directory path is required",
490
489
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
491
490
  readFailed: "Failed to read project file: {path}",
492
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
491
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
492
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
493
493
  }
494
494
  },
495
495
  validator: {
@@ -579,7 +579,8 @@ var ko_default = {
579
579
  pathRequired: "Project directory path is required",
580
580
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
581
581
  readFailed: "Failed to read project file: {path}",
582
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
582
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
583
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
583
584
  }
584
585
  },
585
586
  validator: {
@@ -669,7 +670,8 @@ var pt_default = {
669
670
  pathRequired: "Project directory path is required",
670
671
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
671
672
  readFailed: "Failed to read project file: {path}",
672
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
673
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
674
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
673
675
  }
674
676
  },
675
677
  validator: {
@@ -759,7 +761,8 @@ var pt_BR_default = {
759
761
  pathRequired: "Project directory path is required",
760
762
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
761
763
  readFailed: "Failed to read project file: {path}",
762
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
764
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
765
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
763
766
  }
764
767
  },
765
768
  validator: {
@@ -849,7 +852,8 @@ var ro_default = {
849
852
  pathRequired: "Project directory path is required",
850
853
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
851
854
  readFailed: "Failed to read project file: {path}",
852
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
855
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
856
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
853
857
  }
854
858
  },
855
859
  validator: {
@@ -939,7 +943,8 @@ var ru_default = {
939
943
  pathRequired: "Project directory path is required",
940
944
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
941
945
  readFailed: "Failed to read project file: {path}",
942
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
946
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
947
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
943
948
  }
944
949
  },
945
950
  validator: {
@@ -1029,7 +1034,8 @@ var tr_default = {
1029
1034
  pathRequired: "Project directory path is required",
1030
1035
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1031
1036
  readFailed: "Failed to read project file: {path}",
1032
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1037
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1038
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1033
1039
  }
1034
1040
  },
1035
1041
  validator: {
@@ -1119,7 +1125,8 @@ var zh_CN_default = {
1119
1125
  pathRequired: "Project directory path is required",
1120
1126
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1121
1127
  readFailed: "Failed to read project file: {path}",
1122
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1128
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1129
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1123
1130
  }
1124
1131
  },
1125
1132
  validator: {
@@ -1209,7 +1216,8 @@ var zh_TW_default = {
1209
1216
  pathRequired: "Project directory path is required",
1210
1217
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1211
1218
  readFailed: "Failed to read project file: {path}",
1212
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1219
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1220
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1213
1221
  }
1214
1222
  },
1215
1223
  validator: {
@@ -1299,7 +1307,8 @@ var zu_default = {
1299
1307
  pathRequired: "Project directory path is required",
1300
1308
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1301
1309
  readFailed: "Failed to read project file: {path}",
1302
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1310
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1311
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1303
1312
  }
1304
1313
  },
1305
1314
  validator: {
@@ -1398,6 +1407,53 @@ I18nManager.registerTranslations("tr", tr_default);
1398
1407
  I18nManager.registerTranslations("zh-CN", zh_CN_default);
1399
1408
  I18nManager.registerTranslations("zh-TW", zh_TW_default);
1400
1409
  I18nManager.registerTranslations("zu", zu_default);
1410
+
1411
+ // ../packager/project-packager/src/models/packager-parameters.ts
1412
+ class PackagerParameters {
1413
+ inputPath;
1414
+ downloadUrl;
1415
+ projectId;
1416
+ logLevel = "Warning" /* Warn */;
1417
+ outputPath;
1418
+ targetFramework;
1419
+ excludeConfiguredSources = false;
1420
+ nuGetSourcesConfigPath;
1421
+ feedFolder;
1422
+ detailedLogPath;
1423
+ connection;
1424
+ workflowCompilerVersion;
1425
+ functionsPackagerVersion;
1426
+ codedAppsPackagerVersion;
1427
+ jobTarget;
1428
+ }
1429
+
1430
+ // ../packager/project-packager/src/models/project-restore-options.ts
1431
+ class ProjectRestoreOptions extends PackagerParameters {
1432
+ }
1433
+
1434
+ // ../packager/project-packager/src/models/project-validate-options.ts
1435
+ class ProjectValidateOptions extends ProjectRestoreOptions {
1436
+ validateOptions = {
1437
+ skipAnalyze: false,
1438
+ skipValidate: false,
1439
+ governanceFileType: "Default" /* Default */
1440
+ };
1441
+ }
1442
+
1443
+ // ../packager/project-packager/src/models/project-build-options.ts
1444
+ class ProjectBuildOptions extends ProjectValidateOptions {
1445
+ outputType;
1446
+ activitiesRootCategory;
1447
+ }
1448
+
1449
+ // ../packager/project-packager/src/models/project-pack-options.ts
1450
+ class ProjectPackOptions2 extends ProjectBuildOptions {
1451
+ destinationPath;
1452
+ package;
1453
+ signingInfo;
1454
+ packOptions;
1455
+ }
1456
+
1401
1457
  // ../packager/project-packager/src/services/tool-logger.ts
1402
1458
  var globalLogHandler = (logMessage) => {
1403
1459
  const formattedMessage = logMessage.toFormattedString();
@@ -1482,174 +1538,6 @@ class ToolLogger {
1482
1538
  }
1483
1539
  }
1484
1540
 
1485
- // ../packager/project-packager/src/base-node-packager-factory.ts
1486
- class BaseNodePackagerFactory {
1487
- dotnetDiscovery;
1488
- getOrCreateFileSystem(config) {
1489
- return config?.fileSystem ?? new NodeFileSystem;
1490
- }
1491
- getOrCreateTelemetryService(config) {
1492
- if (config?.telemetryService) {
1493
- return config.telemetryService;
1494
- }
1495
- const provider = new DebugTelemetryProvider;
1496
- const contextStorage = new NodeContextStorage;
1497
- return new TelemetryService(provider, contextStorage);
1498
- }
1499
- checkDotnetAvailability(logger) {
1500
- if (!this.dotnetDiscovery) {
1501
- return;
1502
- }
1503
- const version = this.dotnetDiscovery.getDotnetVersion();
1504
- if (version) {
1505
- logger.info(translate.t("solutionpackager.dotnet.info.available", {
1506
- version
1507
- }));
1508
- } else {
1509
- logger.warn(translate.t("solutionpackager.dotnet.warnings.notAvailable"));
1510
- }
1511
- }
1512
- configureLogHandler(config) {
1513
- if (config?.logHandler) {
1514
- setGlobalLogHandler(config.logHandler);
1515
- }
1516
- }
1517
- configureLanguage(config) {
1518
- const language = config?.language ?? "en";
1519
- translate.setLocale(language);
1520
- }
1521
- }
1522
- // ../packager/project-packager/src/models/packager-parameters.ts
1523
- class PackagerParameters {
1524
- inputPath;
1525
- downloadUrl;
1526
- projectId;
1527
- logLevel = "Warning" /* Warn */;
1528
- outputPath;
1529
- targetFramework;
1530
- excludeConfiguredSources = false;
1531
- nuGetSourcesConfigPath;
1532
- feedFolder;
1533
- detailedLogPath;
1534
- connection;
1535
- workflowCompilerVersion;
1536
- functionsPackagerVersion;
1537
- codedAppsPackagerVersion;
1538
- jobTarget;
1539
- }
1540
- // ../packager/project-packager/src/models/project-restore-options.ts
1541
- class ProjectRestoreOptions extends PackagerParameters {
1542
- }
1543
-
1544
- // ../packager/project-packager/src/models/project-validate-options.ts
1545
- class ProjectValidateOptions extends ProjectRestoreOptions {
1546
- validateOptions = {
1547
- skipAnalyze: false,
1548
- skipValidate: false,
1549
- governanceFileType: "Default" /* Default */
1550
- };
1551
- }
1552
-
1553
- // ../packager/project-packager/src/models/project-build-options.ts
1554
- class ProjectBuildOptions extends ProjectValidateOptions {
1555
- outputType;
1556
- activitiesRootCategory;
1557
- }
1558
- // ../packager/project-packager/src/models/project-pack-options.ts
1559
- class ProjectPackOptions extends ProjectBuildOptions {
1560
- destinationPath;
1561
- package;
1562
- signingInfo;
1563
- packOptions;
1564
- }
1565
- // ../packager/project-packager/src/services/dotnet-discovery-service.ts
1566
- import { execSync } from "node:child_process";
1567
-
1568
- class DotnetDiscoveryService {
1569
- cachedVersion;
1570
- isDotnetAvailable() {
1571
- return this.getDotnetVersion() !== undefined;
1572
- }
1573
- getDotnetVersion() {
1574
- if (this.cachedVersion !== undefined) {
1575
- return this.cachedVersion;
1576
- }
1577
- try {
1578
- const output = execSync("dotnet --version", {
1579
- stdio: ["ignore", "pipe", "ignore"],
1580
- encoding: "utf-8"
1581
- });
1582
- this.cachedVersion = output.trim();
1583
- return this.cachedVersion;
1584
- } catch {
1585
- return;
1586
- }
1587
- }
1588
- }
1589
-
1590
- // ../packager/project-packager/src/services/package-sign-service.ts
1591
- import { spawn } from "node:child_process";
1592
- class NodePackageSignService {
1593
- dotnetDiscovery;
1594
- logger;
1595
- constructor(dotnetDiscovery, logger) {
1596
- this.dotnetDiscovery = dotnetDiscovery;
1597
- this.logger = logger;
1598
- }
1599
- async signPackageAsync(packagePath, certificatePath, certificatePassword, timestampServer) {
1600
- return this.signPackagesAsync([packagePath], certificatePath, certificatePassword, timestampServer);
1601
- }
1602
- async signPackagesAsync(packagePaths, certificatePath, certificatePassword, timestampServer) {
1603
- if (packagePaths.length === 0) {
1604
- return ToolResult.success();
1605
- }
1606
- if (!this.dotnetDiscovery.isDotnetAvailable()) {
1607
- return ToolResult.error("INTERNAL_ERROR" /* InternalError */, translate.t("solutionpackager.signing.errors.dotnetNotAvailable"));
1608
- }
1609
- const args = [
1610
- "nuget",
1611
- "sign",
1612
- ...packagePaths,
1613
- "--certificate-path",
1614
- certificatePath,
1615
- "--overwrite"
1616
- ];
1617
- if (certificatePassword) {
1618
- args.push("--certificate-password", certificatePassword);
1619
- }
1620
- if (timestampServer) {
1621
- args.push("--timestamper", timestampServer);
1622
- }
1623
- return new Promise((resolve) => {
1624
- const childProcess = spawn("dotnet", args, {
1625
- stdio: ["ignore", "pipe", "pipe"],
1626
- shell: false,
1627
- windowsHide: true
1628
- });
1629
- let stderr = "";
1630
- childProcess.stdout?.on("data", (data) => {
1631
- this.logger.info(data.toString().trim());
1632
- });
1633
- childProcess.stderr?.on("data", (data) => {
1634
- stderr += data.toString();
1635
- });
1636
- childProcess.on("error", (error) => {
1637
- this.logger.error(`Failed to start dotnet process: ${error.message}`);
1638
- resolve(ToolResult.error("INTERNAL_ERROR" /* InternalError */, `Failed to start dotnet process: ${error.message}`));
1639
- });
1640
- childProcess.on("exit", (code) => {
1641
- if (code === 0) {
1642
- this.logger.info(`Successfully signed packages: ${packagePaths.join(", ")}`);
1643
- resolve(ToolResult.success());
1644
- } else {
1645
- const errorMessage = stderr.trim() || `dotnet nuget sign exited with code ${code}`;
1646
- this.logger.error(`Package signing failed: ${errorMessage}`);
1647
- resolve(ToolResult.error("INTERNAL_ERROR" /* InternalError */, `Package signing failed: ${errorMessage}`));
1648
- }
1649
- });
1650
- });
1651
- }
1652
- }
1653
1541
  // ../gov/aops-policy-sdk/generated/src/runtime.ts
1654
1542
  var BASE_PATH = "http://localhost".replace(/\/+$/, "");
1655
1543
 
@@ -3269,7 +3157,7 @@ var package_default = {
3269
3157
  name: "@uipath/project-packager",
3270
3158
  author: "UiPath",
3271
3159
  license: "SEE LICENSE IN LICENSE.txt",
3272
- version: "1.206.0-preview.306",
3160
+ version: "1.207.0-preview.307",
3273
3161
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
3274
3162
  type: "module",
3275
3163
  main: "./dist/index.js",
@@ -3325,7 +3213,7 @@ var package_default = {
3325
3213
  },
3326
3214
  devDependencies: {
3327
3215
  "@types/node": "^25.5.2",
3328
- "@uipath/resource-builder-tool": "2025.11.0-alpha6004-4107",
3216
+ "@uipath/resource-builder-tool": "1.0.0-s207-18596",
3329
3217
  "@uipath/tool-agent": "^2.0.0",
3330
3218
  "@uipath/packager-tool-apiworkflow": "workspace:*",
3331
3219
  "@uipath/packager-tool-connector": "workspace:*",
@@ -3752,28 +3640,54 @@ class ProjectLoader {
3752
3640
  path: projectFilePath
3753
3641
  }));
3754
3642
  }
3755
- const json = typeof fileContent === "string" ? fileContent : new TextDecoder("utf-8").decode(fileContent);
3756
- const projectData = JSON.parse(json);
3643
+ const projectData = this.parseProjectFile(fileContent, projectFilePath);
3757
3644
  const projectJson = useProjectJson ? projectData : undefined;
3758
- const outputType = projectJson?.designOptions?.outputType;
3759
- const projectType = outputType ?? (projectData?.ProjectType || projectData?.type);
3760
- if (!projectData || !projectType) {
3645
+ const designOptions = projectJson?.designOptions;
3646
+ const outputType = designOptions && typeof designOptions === "object" ? text(designOptions.outputType) : undefined;
3647
+ const projectType = outputType ?? (text(projectData?.ProjectType) || text(projectData?.type));
3648
+ if (!projectType) {
3761
3649
  throw new Error(translate.t("solutionpackager.projectLoader.errors.invalidProject", {
3762
3650
  path: projectFilePath
3763
3651
  }));
3764
3652
  }
3765
- const declaredName = projectJson?.name?.trim() || projectData.Name;
3766
- const declaredDescription = projectJson?.description?.trim() || projectData.Description?.trim() || undefined;
3767
- const declaredAuthor = projectJson?.author?.trim() || projectData.Author?.trim() || undefined;
3653
+ const declaredName = text(projectJson?.name) || text(projectData.Name);
3654
+ const declaredDescription = text(projectJson?.description) || text(projectData.Description) || undefined;
3655
+ const declaredAuthor = text(projectJson?.author) || text(projectData.Author) || undefined;
3656
+ const declaredVersion = useProjectJson ? text(projectData.projectVersion) : await this.readProjectJsonVersion(projectPath);
3768
3657
  return {
3769
3658
  type: projectType,
3770
3659
  name: declaredName || Path.basename(projectPath),
3771
3660
  projectPath,
3772
3661
  projectFilePath,
3773
3662
  description: declaredDescription,
3774
- author: declaredAuthor
3663
+ author: declaredAuthor,
3664
+ version: declaredVersion || undefined
3775
3665
  };
3776
3666
  }
3667
+ parseProjectFile(fileContent, projectFilePath) {
3668
+ const json = typeof fileContent === "string" ? fileContent : new TextDecoder("utf-8").decode(fileContent);
3669
+ const [reason, parsed] = parseJson(json);
3670
+ if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
3671
+ throw new Error(translate.t("solutionpackager.projectLoader.errors.invalidJson", {
3672
+ path: projectFilePath,
3673
+ reason: reason ?? ""
3674
+ }).trim());
3675
+ }
3676
+ return parsed;
3677
+ }
3678
+ async readProjectJsonVersion(projectPath) {
3679
+ const projectJsonPath = Path.join(projectPath, ProjectLoader.ProjectJsonFileName);
3680
+ if (!await this.fileSystem.exists(projectJsonPath))
3681
+ return;
3682
+ const fileContent = await this.fileSystem.readFile(projectJsonPath);
3683
+ if (!fileContent)
3684
+ return;
3685
+ try {
3686
+ return text(this.parseProjectFile(fileContent, projectJsonPath).projectVersion);
3687
+ } catch {
3688
+ return;
3689
+ }
3690
+ }
3777
3691
  loadFromWebAppManifest(projectPath, webAppManifestPath) {
3778
3692
  const folderName = Path.basename(projectPath);
3779
3693
  return {
@@ -3784,66 +3698,19 @@ class ProjectLoader {
3784
3698
  };
3785
3699
  }
3786
3700
  }
3787
-
3788
- // ../packager/project-packager/src/services/project-pack-options-builder.ts
3789
- class ProjectPackOptionsBuilder {
3790
- packService;
3791
- fileSystem;
3792
- constructor(packService, fileSystem) {
3793
- this.packService = packService;
3794
- this.fileSystem = fileSystem;
3795
- }
3796
- async buildProjectPackOptions(parameters, project) {
3797
- if (!parameters.outputPath) {
3798
- throw new Error("Output path is required for Pack command");
3799
- }
3800
- await this.fileSystem.mkdir(parameters.outputPath);
3801
- const packageId = !parameters.package.id || parameters.package.id.trim() === "" ? project.name : parameters.package.id;
3802
- const packageInfo = {
3803
- ...parameters.package,
3804
- id: this.packService.sanitizePackageId(packageId),
3805
- description: parameters.package.description || project.description,
3806
- author: parameters.package.author || project.author
3807
- };
3808
- return {
3809
- projectPath: project.projectPath,
3810
- excludeConfiguredSources: parameters.excludeConfiguredSources ?? false,
3811
- nuGetSourcesConfigPath: parameters.nuGetSourcesConfigPath,
3812
- feedFolder: parameters.feedFolder,
3813
- logLevel: parameters.logLevel,
3814
- skipAnalyze: parameters.validateOptions.skipAnalyze,
3815
- skipValidate: parameters.validateOptions.skipValidate,
3816
- ignoredRules: parameters.validateOptions.ignoredRules,
3817
- detailedLogPath: parameters.detailedLogPath,
3818
- policyFilePath: parameters.validateOptions.governanceFilePath,
3819
- policyFileType: parameters.validateOptions.governanceFileType,
3820
- outputPath: parameters.outputPath,
3821
- outputType: parameters.outputType,
3822
- activitiesRootCategory: parameters.activitiesRootCategory,
3823
- projectType: project.type,
3824
- package: packageInfo,
3825
- skipDependencyOptimization: parameters.packOptions?.skipDependencyOptimization ?? false,
3826
- includeSources: parameters.packOptions?.includeSources ?? false,
3827
- splitPackages: parameters.packOptions?.splitPackages ?? false
3828
- };
3701
+ function parseJson(json) {
3702
+ try {
3703
+ return [undefined, JSON.parse(json)];
3704
+ } catch (error) {
3705
+ return [
3706
+ error instanceof Error ? error.message : String(error),
3707
+ undefined
3708
+ ];
3829
3709
  }
3830
3710
  }
3831
-
3832
- // ../packager/project-packager/src/services/project-pack-options-validator.ts
3833
- class ProjectPackOptionsValidator extends ProjectBuildOptionsValidator {
3834
- async validateAsync(options, cancellationToken) {
3835
- const destinationResult = this.validateDestinationPath(options.destinationPath);
3836
- if (!destinationResult.isSuccess) {
3837
- return destinationResult;
3838
- }
3839
- const containmentResult = await this.validateDestinationOutsideProjectAsync(options.destinationPath, options.inputPath);
3840
- if (!containmentResult.isSuccess) {
3841
- return containmentResult;
3842
- }
3843
- return await super.validateAsync(options, cancellationToken);
3844
- }
3711
+ function text(value) {
3712
+ return typeof value === "string" ? value.trim() : undefined;
3845
3713
  }
3846
-
3847
3714
  // ../packager/project-packager/src/services/project-tool-executor.ts
3848
3715
  var observerTimedOut = (phase) => () => new ToolLogger("ProjectToolExecutor", "ProjectActivity").debug(`project activity (${phase}) skipped: no answer within ${PROJECT_IDENTITY_LOOKUP_BUDGET_MS} ms`);
3849
3716
 
@@ -3947,6 +3814,66 @@ class ToolsFactory {
3947
3814
  }
3948
3815
  }
3949
3816
 
3817
+ // ../packager/project-packager/src/services/project-pack-options-builder.ts
3818
+ class ProjectPackOptionsBuilder {
3819
+ packService;
3820
+ fileSystem;
3821
+ constructor(packService, fileSystem) {
3822
+ this.packService = packService;
3823
+ this.fileSystem = fileSystem;
3824
+ }
3825
+ async buildProjectPackOptions(parameters, project) {
3826
+ if (!parameters.outputPath) {
3827
+ throw new Error("Output path is required for Pack command");
3828
+ }
3829
+ await this.fileSystem.mkdir(parameters.outputPath);
3830
+ const packageId = !parameters.package.id || parameters.package.id.trim() === "" ? project.name : parameters.package.id;
3831
+ const packageInfo = {
3832
+ ...parameters.package,
3833
+ id: this.packService.sanitizePackageId(packageId),
3834
+ description: parameters.package.description || project.description,
3835
+ author: parameters.package.author || project.author
3836
+ };
3837
+ return {
3838
+ projectPath: project.projectPath,
3839
+ excludeConfiguredSources: parameters.excludeConfiguredSources ?? false,
3840
+ nuGetSourcesConfigPath: parameters.nuGetSourcesConfigPath,
3841
+ feedFolder: parameters.feedFolder,
3842
+ logLevel: parameters.logLevel,
3843
+ skipAnalyze: parameters.validateOptions.skipAnalyze,
3844
+ skipValidate: parameters.validateOptions.skipValidate,
3845
+ ignoredRules: parameters.validateOptions.ignoredRules,
3846
+ detailedLogPath: parameters.detailedLogPath,
3847
+ policyFilePath: parameters.validateOptions.governanceFilePath,
3848
+ policyFileType: parameters.validateOptions.governanceFileType,
3849
+ outputPath: parameters.outputPath,
3850
+ outputType: parameters.outputType,
3851
+ activitiesRootCategory: parameters.activitiesRootCategory,
3852
+ projectType: project.type,
3853
+ package: packageInfo,
3854
+ skipDependencyOptimization: parameters.packOptions?.skipDependencyOptimization ?? false,
3855
+ includeSources: parameters.packOptions?.includeSources ?? false,
3856
+ splitPackages: parameters.packOptions?.splitPackages ?? false,
3857
+ skipBuild: parameters.packOptions?.skipBuild ?? false
3858
+ };
3859
+ }
3860
+ }
3861
+
3862
+ // ../packager/project-packager/src/services/project-pack-options-validator.ts
3863
+ class ProjectPackOptionsValidator extends ProjectBuildOptionsValidator {
3864
+ async validateAsync(options, cancellationToken) {
3865
+ const destinationResult = this.validateDestinationPath(options.destinationPath);
3866
+ if (!destinationResult.isSuccess) {
3867
+ return destinationResult;
3868
+ }
3869
+ const containmentResult = await this.validateDestinationOutsideProjectAsync(options.destinationPath, options.inputPath);
3870
+ if (!containmentResult.isSuccess) {
3871
+ return containmentResult;
3872
+ }
3873
+ return await super.validateAsync(options, cancellationToken);
3874
+ }
3875
+ }
3876
+
3950
3877
  // ../packager/project-packager/src/services/project-packager.ts
3951
3878
  class ProjectPackager {
3952
3879
  fileSystem;
@@ -4237,32 +4164,9 @@ class ProjectPackager {
4237
4164
  }
4238
4165
  }
4239
4166
 
4240
- // ../packager/project-packager/src/node-project-packager-factory.ts
4241
- class NodeProjectPackagerFactory extends BaseNodePackagerFactory {
4242
- async createAsync(config) {
4243
- const logger = new ToolLogger("ProjectPackagerFactory", "Create");
4244
- this.configureLanguage(config);
4245
- this.configureLogHandler(config);
4246
- logger.info("Creating ProjectPackager instance...");
4247
- const fileSystem = this.getOrCreateFileSystem(config);
4248
- const telemetryService = this.getOrCreateTelemetryService(config);
4249
- this.dotnetDiscovery = new DotnetDiscoveryService;
4250
- const packageSignService = new NodePackageSignService(this.dotnetDiscovery, logger);
4251
- const projectPackager = new ProjectPackager(fileSystem, telemetryService, packageSignService);
4252
- this.checkDotnetAvailability(logger);
4253
- logger.info("ProjectPackager created successfully.");
4254
- return projectPackager;
4255
- }
4256
- }
4257
- async function createNodeProjectPackager(options) {
4258
- const factory = new NodeProjectPackagerFactory;
4259
- return factory.createAsync(options);
4260
- }
4261
4167
  // ../packager/project-packager/src/publish/services/orchestrator-feeds-service.ts
4262
4168
  var SDK_USER_AGENT = `${package_default.name.replace(/^@uipath\//, "")}/${package_default.version}`;
4263
- export {
4264
- ProjectPackOptions,
4265
- createNodeProjectPackager
4266
- };
4267
4169
 
4268
- //# debugId=4A0BC2317F28AF2C64756E2164756E21
4170
+ export { ProjectPackOptions2, setGlobalLogHandler, ToolLogger, PackService, ProjectPackager };
4171
+
4172
+ //# debugId=EC913BB68F142D1E64756E2164756E21
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  registerPackagerFactories2
3
- } from "./packager-tool-dbc4hv4n.js";
4
- import"./packager-tool-x4xdtsbp.js";
5
- import"./packager-tool-2b0tn4p4.js";
6
- import"./packager-tool-14rdgz3c.js";
7
- import"./packager-tool-jd3v0bh1.js";
8
- import"./packager-tool-4g87fbz6.js";
9
- import"./packager-tool-ze3fnf3s.js";
10
- import"./packager-tool-fzgfb0jt.js";
11
- import"./packager-tool-vgrswa8p.js";
3
+ } from "./packager-tool-vtz6gvav.js";
4
+ import"./packager-tool-n4fky033.js";
5
+ import"./packager-tool-6azsz9h8.js";
6
+ import"./packager-tool-3sxg16ft.js";
7
+ import"./packager-tool-mm6a12y4.js";
8
+ import"./packager-tool-zap4kd3z.js";
9
+ import"./packager-tool-40bxn7j2.js";
10
+ import"./packager-tool-1db1wqdy.js";
11
+ import"./packager-tool-t0e7fvqz.js";
12
12
  export {
13
13
  registerPackagerFactories2 as registerPackagerFactories
14
14
  };