@uipath/flow-tool 1.205.0-preview.276 → 1.206.0-preview.279
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.
- package/README.md +14 -12
- package/dist/THIRD-PARTY-NOTICES.md +77 -49
- package/dist/applicationinsights-web-8m26566f.js +17209 -0
- package/dist/authoring-x84r2a2j.js +23 -0
- package/dist/binding-service-s0wvr2xm.js +114 -0
- package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-gnftxwsf.js} +5 -6
- package/dist/connector-library-1yw5r47w.js +99 -0
- package/dist/{connector-service-m08dysc2.js → connector-service-r86mtxwn.js} +270 -275
- package/dist/{conversion-FQTRFHRX-e5wr281j.js → conversion-7O2PDOQB-3wwppx87.js} +477 -472
- package/dist/{de-FGHEJRCI-PK6WALXW-0dnvnmke.js → de-2BEKRUMY-MD7L477H-rj1rmtav.js} +425 -37
- package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
- package/dist/{de-VMMG2MN7-2ecwpg1b.js → de-3CU65EDB-r7r10am9.js} +82 -7
- package/dist/{de-UZI7FJDO-awjpqfz0.js → de-AI7ML6JM-km47f8k4.js} +20 -5
- package/dist/{de-B3EKCNFC-zdwybhh7.js → de-VQWT6L5Y-mch4qwyv.js} +38 -5
- package/dist/{de-XNTCMP5Z-xfkfqg20.js → de-XNTCMP5Z-nd4scb43.js} +1 -4
- package/dist/debug-conversation-trigger-3wzy90kj.js +23 -0
- package/dist/debug-http-client-zydr7tna.js +31 -0
- package/dist/debug-service-hdktqeek.js +60 -0
- package/dist/edge-service-zck3s9ss.js +267 -0
- package/dist/{elk.bundled-vpsbxz0p.js → elk.bundled-phy0zc81.js} +6860 -6860
- package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/en-LAVDF7IQ-ba7wzsxp.js +254 -0
- package/dist/en-LQHKFSEY-zf6a2myg.js +24 -0
- package/dist/en-U2NSIIZN-whenw6wh.js +58 -0
- package/dist/en-WPCQ4JKF-t3x07ggr.js +148 -0
- package/dist/en-X6T4SP2Y-FPGCJIFV-qdfapfzs.js +2756 -0
- package/dist/en-X6T4SP2Y-xe57av1w.js +2752 -0
- package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
- package/dist/{es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js → es-7ZTQTGKN-TXQBFYRA-bzh1e1gq.js} +422 -34
- package/dist/{es-EKHIPSW6-ya88nvm0.js → es-EKHIPSW6-asfceac2.js} +1 -4
- package/dist/{es-KEBF3AIM-g5rszh8f.js → es-EP563JWQ-1agj5n4e.js} +38 -5
- package/dist/{es-WY6FZ3HO-zksnn6dp.js → es-KHVY67FO-natcvmmm.js} +82 -7
- package/dist/{es-MX-5RELIXKI-jtjbcxbb.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
- package/dist/{es-MX-ZP2LJ3V7-k4brnfa9.js → es-MX-F7ZEHSNE-gxpm47vv.js} +82 -7
- package/dist/{es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js → es-MX-IHGRIEWH-23X37OPS-7cqdzpcy.js} +425 -37
- package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
- package/dist/{es-MX-OR6G2SFR-7yykk5ma.js → es-MX-OR6G2SFR-02t13sen.js} +1 -4
- package/dist/{es-MX-EL3CDS3F-sh84yvjr.js → es-MX-S2RFDGDE-x9r0tv30.js} +38 -5
- package/dist/{es-4UBUTCQA-t7hsackg.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
- package/dist/filter-engine-dh9s90gb.js +10 -0
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/flow-api-d4dvmadm.js +38 -0
- package/dist/{flow-debug-service-gc2ky1ve.js → flow-debug-service-hy21ddd9.js} +151 -195
- package/dist/flow-eval-node-target-tdrwqca7.js +29 -0
- package/dist/flow-eval-run-api-w4j8ra60.js +9 -0
- package/dist/{flow-eval-run-service-2cbr0jtw.js → flow-eval-run-service-5en4ahyn.js} +125 -149
- package/dist/{flow-eval-service-24jbkhhz.js → flow-eval-service-2j28ect1.js} +57 -81
- package/dist/{flow-init-sdk-source-xvdvkq7d.js → flow-init-sdk-source-xnr4bg25.js} +8 -11
- package/dist/flow-init-service-bj3ev9bz.js +26 -0
- package/dist/flow-io-9q6xk473.js +24 -0
- package/dist/{flow-migrate-service-t3pnd2r3.js → flow-migrate-service-dkx85jj5.js} +33 -54
- package/dist/{flow-pack-service-b910q207.js → flow-pack-service-58m51sp8.js} +79 -103
- package/dist/flow-validate-service-9a3zate4.js +46 -0
- package/dist/{fr-DPD4GHX3-exeypjwk.js → fr-7LK3QUWT-a94yejcs.js} +38 -5
- package/dist/{fr-Y6NPVODW-AS7T42TR-v4qe2tha.js → fr-7ZDL4MVO-CXMRZDOF-qjkg6y2r.js} +425 -37
- package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
- package/dist/{fr-VBM5WRC2-707ha692.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
- package/dist/{fr-PRMYCRDC-0bk078by.js → fr-I42FODC5-p80x5v4b.js} +83 -8
- package/dist/{fr-IHD66TVT-vfvmefbx.js → fr-IHD66TVT-eq8h0d6c.js} +1 -4
- package/dist/{governance-fetcher-ffvbtwbd.js → governance-fetcher-h8hpcwyh.js} +17 -21
- package/dist/{headless-4x4v3sy6.js → headless-41t9wwb7.js} +2395 -43269
- package/dist/{hitl-service-3m4ce3mt.js → hitl-service-hccqhm63.js} +22 -42
- package/dist/index-4e3w8x62.js +31 -0
- package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
- package/dist/index-5xh0cjag.js +82 -0
- package/dist/index-7fet3f0s.js +10 -0
- package/dist/index-d4bdedx3.js +32 -0
- package/dist/index-f5kq7265.js +24 -0
- package/dist/index-g2p2ww34.js +39 -0
- package/dist/index-ng011fzs.js +974 -0
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/{index-1b2je9n2.js → index-px95xmkg.js} +290 -268
- package/dist/index-tdwpejt6.js +22 -0
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +19 -28
- package/dist/index.umd.min-ttg1qc0x.js +7814 -0
- package/dist/init.js +22 -43
- package/dist/inline-entity-resolver-0neh2b43.js +25 -0
- package/dist/input-reader-zqaep7k7.js +11 -0
- package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
- package/dist/{ja-HFEQKCZF-hb2f25p8.js → ja-GI3OUHPZ-28fy60r0.js} +83 -8
- package/dist/{ja-JE5ZL7EY-hacj2m31.js → ja-JE5ZL7EY-607k4c7p.js} +1 -4
- package/dist/{ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js → ja-LGAM5HKR-NTPKIZEM-nv67917s.js} +422 -34
- package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
- package/dist/ja-WY2W6733-ayr36h1f.js +71 -0
- package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
- package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/known-types-v9sxcq1c.js +13 -0
- package/dist/{ko-AYBDSRZG-G43C3XUW-kng13fsg.js → ko-7B4SUZB7-2SLI636D-grbtfrcv.js} +424 -36
- package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
- package/dist/{ko-DJJRKCG5-5h3k9csc.js → ko-DJJRKCG5-4fekzjn4.js} +1 -4
- package/dist/{ko-LA5OSS5P-mq5h8sbk.js → ko-H2RGQWKJ-9696w762.js} +38 -5
- package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
- package/dist/{ko-B4SEC7QX-thq2wt6a.js → ko-RYKAL74T-10m4z8vw.js} +83 -8
- package/dist/localization-skqjy9nr.js +45 -0
- package/dist/maestro-automate-entry-d1v5q5mv.js +14 -0
- package/dist/{node-xqc0h091.js → node-0jy3qx5b.js} +69 -638
- package/dist/node-service-2nxpk751.js +64 -0
- package/dist/{node-strategy-1dmmhvf3.js → node-strategy-wrjxmbzt.js} +9 -12
- package/dist/node-sync-service-68vq10je.js +56 -0
- package/dist/packager-tool-14rdgz3c.js +55 -0
- package/dist/packager-tool-1rhch6b5.js +496 -0
- package/dist/packager-tool-21t17xzz.js +5073 -0
- package/dist/{packager-tool-pvhx9e12.js → packager-tool-2b0tn4p4.js} +58 -176
- package/dist/{packager-tool-f9jxca9z.js → packager-tool-368bft50.js} +11 -11
- package/dist/{packager-tool-a5afh1dc.js → packager-tool-4fv0sq2h.js} +61 -67
- package/dist/packager-tool-4g87fbz6.js +273 -0
- package/dist/packager-tool-4zt1s51a.js +53 -0
- package/dist/{packager-tool-frjt46rb.js → packager-tool-508ka40b.js} +23 -23
- package/dist/{packager-tool-gbv6f0ac.js → packager-tool-5104bnpv.js} +22 -21
- package/dist/packager-tool-5dgpfh5e.js +1274 -0
- package/dist/packager-tool-5ve5ms3b.js +2393 -0
- package/dist/{packager-tool-dxgrhfq5.js → packager-tool-64r7e4ek.js} +8 -8
- package/dist/{packager-tool-h6pf3qxq.js → packager-tool-65yf8zqb.js} +180 -1237
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-htrt75v4.js → packager-tool-6jpvvxyb.js} +27 -22
- package/dist/packager-tool-6vhefpmq.js +461 -0
- package/dist/{packager-tool-1nfbzy0h.js → packager-tool-72xwbsmw.js} +441 -556
- package/dist/packager-tool-7atc775f.js +30 -0
- package/dist/packager-tool-7mxn3e7j.js +27 -0
- package/dist/{packager-tool-wvmtp8zt.js → packager-tool-7qtnffkc.js} +8 -7
- package/dist/{packager-tool-ymma2s85.js → packager-tool-8ba22j6n.js} +9 -6
- package/dist/{packager-tool-apawc11t.js → packager-tool-8ed52y5r.js} +1584 -1261
- package/dist/{packager-tool-v11fm907.js → packager-tool-8n4bdvke.js} +13 -13
- package/dist/{packager-tool-p8gab24q.js → packager-tool-8qypzm9v.js} +424 -404
- package/dist/packager-tool-9217bxm2.js +6 -0
- package/dist/{packager-tool-zfrp8ecz.js → packager-tool-951nhh3e.js} +82 -82
- package/dist/{packager-tool-ap0zt7de.js → packager-tool-99d2kj94.js} +8 -11
- package/dist/{packager-tool-z21c6mbp.js → packager-tool-a1h0q79w.js} +48 -48
- package/dist/{packager-tool-xk78j7dz.js → packager-tool-ac6rvny7.js} +52 -57
- package/dist/{packager-tool-1d64q5s5.js → packager-tool-b2pkwwj1.js} +1273 -1300
- package/dist/{packager-tool-yetpbbey.js → packager-tool-bbkkxbyq.js} +9 -8
- package/dist/{packager-tool-409n51pv.js → packager-tool-d07g2kpn.js} +7 -7
- package/dist/{packager-tool-8zzmg2f3.js → packager-tool-dx6sjbkd.js} +19 -19
- package/dist/{packager-tool-8g5931fz.js → packager-tool-em4ppegs.js} +36 -43
- package/dist/{packager-tool-zgsvggdr.js → packager-tool-f7rk9xhv.js} +4 -4
- package/dist/{packager-tool-jrnjzs5t.js → packager-tool-fzgfb0jt.js} +32175 -36281
- package/dist/{packager-tool-9rmaeaww.js → packager-tool-gdpw0daf.js} +25211 -11966
- package/dist/packager-tool-hk0fnvz5.js +14 -0
- package/dist/{packager-tool-dbsdy4xx.js → packager-tool-jd3v0bh1.js} +4 -4
- package/dist/{packager-tool-tqjfdpda.js → packager-tool-jmrhzfyj.js} +106 -80
- package/dist/{packager-tool-2px5qqm4.js → packager-tool-kz3t4raw.js} +490 -246
- package/dist/{packager-tool-7bam8cjq.js → packager-tool-mdf7bws6.js} +53255 -27261
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
- package/dist/{packager-tool-nkrmjr3a.js → packager-tool-mphfxa9g.js} +125 -125
- package/dist/{packager-tool-kn86394c.js → packager-tool-p123mtfx.js} +66 -692
- package/dist/{packager-tool-t7ahhaer.js → packager-tool-pxq0bwp0.js} +208 -138
- package/dist/{packager-tool-j95w4fj3.js → packager-tool-q0f1dvtd.js} +11 -11
- package/dist/{packager-tool-8qp60s20.js → packager-tool-q2f18crb.js} +3 -3
- package/dist/packager-tool-q2kwk5bf.js +57 -0
- package/dist/{packager-tool-09rvpfjd.js → packager-tool-rxqxza90.js} +192 -183
- package/dist/{packager-tool-3m4ve01f.js → packager-tool-ryds9860.js} +33 -36
- package/dist/{packager-tool-ykbahxma.js → packager-tool-t17t9svg.js} +6 -6
- package/dist/{packager-tool-myhbp761.js → packager-tool-vgrswa8p.js} +53 -8
- package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
- package/dist/{packager-tool-1frs4sr4.js → packager-tool-yewnsyag.js} +37 -5
- package/dist/packager-tool-zdqbp34f.js +14 -0
- package/dist/{packager-tool-pacrqxv2.js → packager-tool-ze3fnf3s.js} +52 -34
- package/dist/packager-tool.js +12 -32
- package/dist/prepare-uip-ad7mfs8t.js +92 -0
- package/dist/{pt-3KUMINBZ-d0fexmny.js → pt-2RGHDOG4-gwe2ptvg.js} +38 -5
- package/dist/{pt-BR-3LGIH33I-tqbrd89y.js → pt-BR-3LGIH33I-hdf332je.js} +1 -4
- package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
- package/dist/{pt-BR-6VFBW5QT-hsck9gjj.js → pt-BR-IL3KLBID-m1mvqqzb.js} +83 -8
- package/dist/{pt-BR-WNNZTIMN-6fent688.js → pt-BR-JWHVZE6H-gvkknv49.js} +38 -5
- package/dist/{pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js → pt-BR-PHLFHMXZ-JFPKUXIZ-gyb27t6e.js} +425 -37
- package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
- package/dist/{pt-RMIAKZB4-t80exmp7.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
- package/dist/{pt-ROXU257Y-OWZOS54V-ywap2t39.js → pt-N7ZTJT4W-GVODJMRX-p5b51p0b.js} +424 -36
- package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
- package/dist/{pt-PFZXVOQH-qshq0b2m.js → pt-PFZXVOQH-xvcm5b61.js} +1 -4
- package/dist/{pt-WOTPKWPZ-1rxcy8hs.js → pt-VLA5IOHO-8t4pze0h.js} +83 -8
- package/dist/{ro-GHOBYW2S-4zevc9dy.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
- package/dist/{ro-KMDT7LYJ-yhpnsdvw.js → ro-53TS7SWG-hnjx1c7b.js} +38 -5
- package/dist/{ro-AN5G62WQ-kcj00jwq.js → ro-AN5G62WQ-fzsv2ymm.js} +1 -4
- package/dist/{ro-AVAWPKOO-6WCG756B-v7pjv1hc.js → ro-FLNXVYJI-ZN43XZKK-2tajkc94.js} +422 -34
- package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
- package/dist/{ro-PB44YXML-zmhhwp5h.js → ro-IRNFX376-mh84zk3n.js} +82 -7
- package/dist/{ru-GSCT4ARZ-FTVCGQTL-gee86v14.js → ru-GSCT4ARZ-FTVCGQTL-v3d4ag31.js} +2 -4
- package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
- package/dist/{ru-T73OPRTC-4knxw497.js → ru-T73OPRTC-50m7tty9.js} +1 -4
- package/dist/{ru-WBLQ5B2U-wemdzdqd.js → ru-WBLQ5B2U-5qpt0mvh.js} +1 -4
- package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
- package/dist/{ru-WBLQ5B2U-kdey8qa4.js → ru-WBLQ5B2U-w2wmp3xb.js} +1 -4
- package/dist/{serialization-BXU6AKAN-vdqyr29x.js → serialization-Z3UYT6BW-y9gb55mp.js} +1638 -761
- package/dist/services/extract-schema/default-schema-document.d.ts +31 -0
- package/dist/services/node-service.d.ts +6 -3
- package/dist/services/node-validators/file-node-connection-validator.d.ts +2 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/orchestrator-connection-field.d.ts +24 -0
- package/dist/services/packaging-utils.d.ts +2 -2
- package/dist/services/vars-reference-rule.d.ts +4 -3
- package/dist/solution-auth-j8x84n5z.js +11 -0
- package/dist/solution-discovery-vn4q32bf.js +38 -0
- package/dist/{tidy-service-hz61ypyj.js → tidy-service-m33hhtc7.js} +37 -55
- package/dist/tool.js +18 -27
- package/dist/{tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js → tr-7AIZZWZ6-ESAESUPL-77g9b7jb.js} +422 -34
- package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
- package/dist/{tr-SEC6RGZ4-0ttavjya.js → tr-EJKY7DVQ-rkctqva4.js} +83 -8
- package/dist/{tr-KHOCWWLF-8apf5y44.js → tr-KHOCWWLF-m9t24j5y.js} +1 -4
- package/dist/{tr-SC55DYHY-e4zgcd4t.js → tr-PIQY7JIT-2mkwk0kq.js} +38 -5
- package/dist/{tr-GDTLECMM-kngksm3r.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
- package/dist/utils/container-ports.d.ts +22 -0
- package/dist/utils/handle-expansion.d.ts +57 -3
- package/dist/utils/workflow-file-format.d.ts +14 -0
- package/dist/validation.js +44 -68
- package/dist/{variable-service-9ex4a93n.js → variable-service-ea1erf93.js} +28 -49
- package/dist/{wait-for-flow-job-b0vj8828.js → wait-for-flow-job-a4xtda36.js} +29 -36
- package/dist/{zh-CN-MX7VIOF2-xznrtchf.js → zh-CN-4FH7E7UL-84y6j2ea.js} +82 -7
- package/dist/{zh-CN-4NI2EGMV-8g027vv3.js → zh-CN-4NI2EGMV-dt0wg0wh.js} +1 -4
- package/dist/{zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js → zh-CN-CN2ARPFS-NIQTWDK2-b5c91fwn.js} +422 -34
- package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
- package/dist/{en-BPJVY3U7-xkpj5xc5.js → zh-CN-NIEVKROA-q4tbbwqz.js} +26 -7
- package/dist/{zh-CN-I5D7WHBD-ge92tbx9.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
- package/dist/{zh-TW-53SU6EH4-33x57egq.js → zh-TW-53SU6EH4-w0wz3nwg.js} +1 -4
- package/dist/{zh-TW-5SJ3GZT2-bsg054mw.js → zh-TW-5WQA6QTM-hns69sd4.js} +83 -8
- package/dist/{zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js → zh-TW-7RUFEVFK-VKVRSVTP-jq2pcmar.js} +421 -33
- package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
- package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
- package/dist/{zh-TW-TN3MPNXL-jcgg2hcs.js → zh-TW-MSQM7YTT-m7r7nwnj.js} +38 -5
- package/package.json +2 -2
- package/dist/authoring-e1k40hyw.js +0 -24
- package/dist/binding-service-0qffbxg7.js +0 -157
- package/dist/de-FGHEJRCI-gn4cf5gh.js +0 -2697
- package/dist/de-MUJPA4EB-209jpeqe.js +0 -173
- package/dist/de-UZI7FJDO-mwvc4cxe.js +0 -200
- package/dist/debug-conversation-trigger-2crr9w4n.js +0 -30
- package/dist/debug-http-client-yqjzsnhw.js +0 -32
- package/dist/debug-service-nra3n02y.js +0 -61
- package/dist/edge-service-y44f2rgd.js +0 -170
- package/dist/en-E454CJNK-ytfw06kj.js +0 -98
- package/dist/en-EJCBA3LK-0wb3b1xy.js +0 -146
- package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
- package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
- package/dist/en-LQHKFSEY-vvbe8ve9.js +0 -26
- package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
- package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +0 -1942
- package/dist/en-TBNO2WUV-9nan43e5.js +0 -1936
- package/dist/es-4UBUTCQA-m1ytpyx2.js +0 -200
- package/dist/es-7SE7HX2X-qda7whn6.js +0 -173
- package/dist/es-KR3ZSNMP-0cszm2n3.js +0 -2697
- package/dist/es-MX-2MYFZU7X-6v0q5rbn.js +0 -173
- package/dist/es-MX-5RELIXKI-9jhqtddc.js +0 -200
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +0 -2697
- package/dist/filter-engine-7ep90g7f.js +0 -11
- package/dist/first-party-service-srxaftkn.js +0 -27
- package/dist/flow-api-sat010z1.js +0 -42
- package/dist/flow-eval-node-target-cwxb4kfe.js +0 -52
- package/dist/flow-eval-run-api-xdygjzfv.js +0 -13
- package/dist/flow-init-service-k7k5vx2z.js +0 -47
- package/dist/flow-io-2qdyj5e0.js +0 -44
- package/dist/flow-validate-service-x2mbk3et.js +0 -70
- package/dist/fr-MDFKNZ4C-qmypp92m.js +0 -173
- package/dist/fr-VBM5WRC2-63z7w4mh.js +0 -200
- package/dist/fr-Y6NPVODW-q5ef3htr.js +0 -2697
- package/dist/index-cg9qhfb1.js +0 -635
- package/dist/index-d090f35d.js +0 -66
- package/dist/index-gxcjq6ns.js +0 -110
- package/dist/index-kmp9fmhb.js +0 -25
- package/dist/index-nsn889vf.js +0 -27
- package/dist/index-sqhbn7ew.js +0 -157
- package/dist/index-wycgq0ff.js +0 -3178
- package/dist/index-y1ym28vg.js +0 -667
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/inline-entity-resolver-c854cqma.js +0 -45
- package/dist/input-reader-n7kzdrev.js +0 -12
- package/dist/ja-43QL7CGO-h6qfxfay.js +0 -200
- package/dist/ja-MDG4BKZQ-gayaca2c.js +0 -38
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +0 -2697
- package/dist/ja-UTQEAP34-hvyf683h.js +0 -173
- package/dist/known-types-r51zxb9g.js +0 -19
- package/dist/ko-AXCHW2OK-pkwdcbmx.js +0 -173
- package/dist/ko-AYBDSRZG-am0h0m2r.js +0 -2697
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +0 -200
- package/dist/localization-d6gjmrsw.js +0 -47
- package/dist/maestro-automate-entry-6f9act3w.js +0 -22
- package/dist/node-service-d4xpqs0z.js +0 -92
- package/dist/node-sync-service-76b9e4r5.js +0 -61
- package/dist/packager-tool-0gctz400.js +0 -17
- package/dist/packager-tool-4mna26cc.js +0 -133
- package/dist/packager-tool-4x7tzvv0.js +0 -1176
- package/dist/packager-tool-53w8skv5.js +0 -262
- package/dist/packager-tool-6ejqwbw9.js +0 -26
- package/dist/packager-tool-6z1hsm2h.js +0 -143
- package/dist/packager-tool-7ja1b5hh.js +0 -8809
- package/dist/packager-tool-9era57c0.js +0 -28
- package/dist/packager-tool-9jxzgsxc.js +0 -14
- package/dist/packager-tool-c23zrhj8.js +0 -11
- package/dist/packager-tool-d6qf5qmb.js +0 -49
- package/dist/packager-tool-e3yks66r.js +0 -95
- package/dist/packager-tool-e5hj89zm.js +0 -6
- package/dist/packager-tool-e87tzg4y.js +0 -1937
- package/dist/packager-tool-eypvc2kv.js +0 -23
- package/dist/packager-tool-gbgfwx8f.js +0 -2
- package/dist/packager-tool-hk1gxnth.js +0 -11
- package/dist/packager-tool-hxyjn885.js +0 -24
- package/dist/packager-tool-j78fwwhq.js +0 -16
- package/dist/packager-tool-jgfzfqjm.js +0 -53
- package/dist/packager-tool-jysvpt8p.js +0 -11
- package/dist/packager-tool-m3wkcxf5.js +0 -11
- package/dist/packager-tool-mcaf4ewf.js +0 -46
- package/dist/packager-tool-mgcz986r.js +0 -143
- package/dist/packager-tool-p79yh9ww.js +0 -97
- package/dist/packager-tool-paq9c70w.js +0 -1332
- package/dist/packager-tool-pcvhcn2k.js +0 -2019
- package/dist/packager-tool-qkn0c042.js +0 -1922
- package/dist/packager-tool-qszay16r.js +0 -180
- package/dist/packager-tool-red2crtp.js +0 -5367
- package/dist/packager-tool-rs6jm14d.js +0 -23
- package/dist/packager-tool-s7wb0s9n.js +0 -6297
- package/dist/packager-tool-sc961w0q.js +0 -16
- package/dist/packager-tool-skcjythd.js +0 -22085
- package/dist/packager-tool-t07ev0jj.js +0 -1083
- package/dist/packager-tool-xj0agqpk.js +0 -11
- package/dist/packager-tool-z83pga0z.js +0 -1942
- package/dist/pt-3DIO5QWG-hb763vct.js +0 -173
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +0 -2697
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +0 -200
- package/dist/pt-BR-Y6K6XHXK-37a932vp.js +0 -173
- package/dist/pt-RMIAKZB4-67enhx3m.js +0 -200
- package/dist/pt-ROXU257Y-yd80gx6s.js +0 -2697
- package/dist/ro-AVAWPKOO-42m6am1w.js +0 -2697
- package/dist/ro-BWR3ONRR-jmap5ajd.js +0 -173
- package/dist/ro-GHOBYW2S-mhnqsgaa.js +0 -200
- package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
- package/dist/ru-GSCT4ARZ-jrxwev63.js +0 -10
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +0 -10
- package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
- package/dist/shared-utils-tqnx96mg.js +0 -21
- package/dist/solution-auth-8qz5pw7z.js +0 -14
- package/dist/solution-discovery-6t0z143v.js +0 -44
- package/dist/tr-5IIHSFW5-stsb3dar.js +0 -173
- package/dist/tr-GDTLECMM-k5fhmq13.js +0 -200
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +0 -2696
- package/dist/zh-CN-I5D7WHBD-sr5h0a98.js +0 -200
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +0 -2697
- package/dist/zh-CN-OUMLDKDS-q3a1rr5c.js +0 -38
- package/dist/zh-CN-R2KU4U5L-q4yhc33t.js +0 -173
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +0 -200
- package/dist/zh-TW-GNKMELBF-r4ay2475.js +0 -173
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +0 -2697
- /package/dist/{packager-tool-yc4kw997.js → packager-tool-1qg04b7q.js} +0 -0
- /package/dist/{packager-tool-cqtsj6yh.js → packager-tool-2sazb7th.js} +0 -0
- /package/dist/{packager-tool-s9ff3kk4.js → packager-tool-887wr6jm.js} +0 -0
- /package/dist/{packager-tool-aw9v0raw.js → packager-tool-8c7nddd1.js} +0 -0
- /package/dist/{packager-tool-9cq9atem.js → packager-tool-a9xgmn1q.js} +0 -0
- /package/dist/{packager-tool-4kr6g0zw.js → packager-tool-cvh1a0nm.js} +0 -0
- /package/dist/{packager-tool-27avrkyk.js → packager-tool-k3egwd1m.js} +0 -0
- /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
- /package/dist/{packager-tool-10vc8pq4.js → packager-tool-wr7gn964.js} +0 -0
|
@@ -1,41 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
getFileSystem
|
|
3
|
+
} from "./packager-tool-vgrswa8p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./packager-tool-
|
|
5
|
+
catchError2
|
|
6
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./packager-tool-8g5931fz.js";
|
|
8
|
+
createWorkflow2
|
|
9
|
+
} from "./packager-tool-2b0tn4p4.js";
|
|
11
10
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./packager-tool-
|
|
11
|
+
nodeModuleRegistry
|
|
12
|
+
} from "./packager-tool-gdpw0daf.js";
|
|
14
13
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./packager-tool-jgfzfqjm.js";
|
|
14
|
+
writeFlowWorkflow2
|
|
15
|
+
} from "./packager-tool-6jpvvxyb.js";
|
|
18
16
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
prepareProjectLocation2,
|
|
18
|
+
tryRegisterProjectInParentSolution2
|
|
19
|
+
} from "./packager-tool-em4ppegs.js";
|
|
21
20
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
applyRuntimeProfile2,
|
|
22
|
+
withRuntimeProfile2
|
|
23
|
+
} from "./packager-tool-14rdgz3c.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./packager-tool-
|
|
27
|
-
import {
|
|
28
|
-
__require
|
|
29
|
-
} from "./packager-tool-1yh8g550.js";
|
|
25
|
+
VALID_PROJECT_NAME_REGEX
|
|
26
|
+
} from "./packager-tool-4zt1s51a.js";
|
|
30
27
|
|
|
31
28
|
// src/services/project-artifacts.ts
|
|
32
29
|
async function ensureProjectArtifacts(args) {
|
|
33
|
-
const { addProjectArtifactsToSolutionAsync } = await import("./index-
|
|
30
|
+
const { addProjectArtifactsToSolutionAsync } = await import("./index-px95xmkg.js");
|
|
34
31
|
return addProjectArtifactsToSolutionAsync(args);
|
|
35
32
|
}
|
|
36
33
|
|
|
37
34
|
// src/services/flow-init-service.ts
|
|
38
|
-
class
|
|
35
|
+
class FlowInitSdkSourceError2 extends Error {
|
|
39
36
|
instructions;
|
|
40
37
|
projectDir;
|
|
41
38
|
flowFile;
|
|
@@ -48,24 +45,24 @@ class FlowInitSdkSourceError extends Error {
|
|
|
48
45
|
}
|
|
49
46
|
}
|
|
50
47
|
var safeMkdir = async (fs, dir) => {
|
|
51
|
-
const [err] = await
|
|
48
|
+
const [err] = await catchError2(fs.mkdir(dir));
|
|
52
49
|
if (err && !(("code" in err) && err.code === "EEXIST")) {
|
|
53
50
|
throw err;
|
|
54
51
|
}
|
|
55
52
|
};
|
|
56
|
-
async function
|
|
53
|
+
async function flowInitAsync2(name, options = {}) {
|
|
57
54
|
if (!VALID_PROJECT_NAME_REGEX.test(name)) {
|
|
58
55
|
throw new Error(`Invalid project name "${name}". Name can only contain letters, numbers, underscores (_), and hyphens (-).`);
|
|
59
56
|
}
|
|
60
57
|
const fs = getFileSystem();
|
|
61
58
|
const baseDir = options.cwd ?? ".";
|
|
62
|
-
const { checkSdkSource, seedSdkSource, shellQuote } = await import("./flow-init-sdk-source-
|
|
59
|
+
const { checkSdkSource, seedSdkSource, shellQuote } = await import("./flow-init-sdk-source-xnr4bg25.js");
|
|
63
60
|
const sdkPreflight = options.sdkSource === undefined ? undefined : await checkSdkSource(baseDir, options.sdkSource, options.force);
|
|
64
61
|
if (options.sdkSource !== undefined && sdkPreflight === undefined) {
|
|
65
62
|
throw new Error("--sdk-source needs the uip CLI on Node; it is not available in this host.");
|
|
66
63
|
}
|
|
67
|
-
const { projectDir, autoCreatedSolution } = await
|
|
68
|
-
const [statError] = await
|
|
64
|
+
const { projectDir, autoCreatedSolution } = await prepareProjectLocation2(fs, fs.path.resolve(baseDir, name), name, { skipRegistration: options.skipRegistration });
|
|
65
|
+
const [statError] = await catchError2(fs.stat(projectDir));
|
|
69
66
|
const projectDirExists = !statError;
|
|
70
67
|
if (statError && !(("code" in statError) && (statError.code === "ENOENT" || statError.code === "PathNotFound"))) {
|
|
71
68
|
throw statError;
|
|
@@ -79,7 +76,7 @@ async function flowInitAsync(name, options = {}) {
|
|
|
79
76
|
await safeMkdir(fs, projectDir);
|
|
80
77
|
const triggerManifest = nodeModuleRegistry["core.trigger.manual"].latest;
|
|
81
78
|
const flowId = crypto.randomUUID();
|
|
82
|
-
const workflow =
|
|
79
|
+
const workflow = createWorkflow2({
|
|
83
80
|
id: flowId,
|
|
84
81
|
name,
|
|
85
82
|
triggerManifest
|
|
@@ -91,9 +88,9 @@ async function flowInitAsync(name, options = {}) {
|
|
|
91
88
|
await fs.writeFile(fs.path.join(projectDir, "project.uiproj"), `${JSON.stringify(projectUiproj, null, 2)}
|
|
92
89
|
`);
|
|
93
90
|
const flowFile = fs.path.join(projectDir, `${name}.flow`);
|
|
94
|
-
await
|
|
91
|
+
await writeFlowWorkflow2(flowFile, workflow);
|
|
95
92
|
const profile = options.profile === "Lite" ? "Lite" /* Lite */ : "Standard" /* Standard */;
|
|
96
|
-
const operateJson =
|
|
93
|
+
const operateJson = withRuntimeProfile2({
|
|
97
94
|
$schema: "https://cloud.uipath.com/draft/2024-12/operate",
|
|
98
95
|
projectId: flowId,
|
|
99
96
|
contentType: "Flow",
|
|
@@ -105,8 +102,8 @@ async function flowInitAsync(name, options = {}) {
|
|
|
105
102
|
}, profile);
|
|
106
103
|
await fs.writeFile(fs.path.join(projectDir, "operate.json"), `${JSON.stringify(operateJson, null, 2)}
|
|
107
104
|
`);
|
|
108
|
-
await
|
|
109
|
-
const registration = await
|
|
105
|
+
await applyRuntimeProfile2(fs, projectDir, profile);
|
|
106
|
+
const registration = await tryRegisterProjectInParentSolution2(fs, projectDir, { skipRegistration: options.skipRegistration });
|
|
110
107
|
const projectArtifacts = await maybeGenerateProjectArtifacts(registration, name);
|
|
111
108
|
const sdkSourceTarget = sdkPreflight ? sdkPreflight.target ?? fs.path.join(projectDir, ".flow-sdk", `${name}.flow.ts`) : undefined;
|
|
112
109
|
if (sdkSourceTarget) {
|
|
@@ -116,7 +113,7 @@ async function flowInitAsync(name, options = {}) {
|
|
|
116
113
|
message: "the builder SDK is not available in this host",
|
|
117
114
|
instructions: "Run the command from the uip CLI on Node."
|
|
118
115
|
};
|
|
119
|
-
throw new
|
|
116
|
+
throw new FlowInitSdkSourceError2(`Flow project created at ${projectDir}, but seeding the SDK source failed: ${failure.message}`, `${failure.instructions} Then seed it with: uip maestro flow decompile ${shellQuote(flowFile)} -o ${shellQuote(sdkSourceTarget)} --no-pipeline`, projectDir, flowFile);
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
return {
|
|
@@ -142,6 +139,6 @@ async function maybeGenerateProjectArtifacts(registration, projectName) {
|
|
|
142
139
|
});
|
|
143
140
|
}
|
|
144
141
|
|
|
145
|
-
export {
|
|
142
|
+
export { FlowInitSdkSourceError2, flowInitAsync2 };
|
|
146
143
|
|
|
147
|
-
//# debugId=
|
|
144
|
+
//# debugId=F1D4FF6BC48DF2EB64756E2164756E21
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
inMemoryWorkflowToFileFormat
|
|
3
|
-
} from "./packager-tool-s7wb0s9n.js";
|
|
4
1
|
import {
|
|
5
2
|
logger
|
|
6
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
4
|
+
import {
|
|
5
|
+
workflowToFileFormat
|
|
6
|
+
} from "./packager-tool-6jpvvxyb.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/write-resolved-flow.ts
|
|
9
9
|
async function writeResolvedFlow(fs, dir, name, workflow) {
|
|
10
|
-
const resolvedFileFormat =
|
|
10
|
+
const resolvedFileFormat = workflowToFileFormat(workflow);
|
|
11
11
|
const resolvedPath = fs.path.join(dir, `${name}.flow.resolved`);
|
|
12
12
|
await fs.writeFile(resolvedPath, JSON.stringify(resolvedFileFormat, null, 2));
|
|
13
13
|
logger.info(`Resolved flow written to ${resolvedPath}`);
|
|
@@ -15,4 +15,4 @@ async function writeResolvedFlow(fs, dir, name, workflow) {
|
|
|
15
15
|
|
|
16
16
|
export { writeResolvedFlow };
|
|
17
17
|
|
|
18
|
-
//# debugId=
|
|
18
|
+
//# debugId=A0D8F1D389833DF464756E2164756E21
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__require
|
|
3
|
-
} from "./packager-tool-1yh8g550.js";
|
|
4
|
-
|
|
5
1
|
// ../filesystem/src/node.ts
|
|
6
|
-
import { randomUUID } from "node:crypto";
|
|
2
|
+
import { createHash, randomUUID } from "node:crypto";
|
|
7
3
|
import { existsSync } from "node:fs";
|
|
8
4
|
import * as fs from "node:fs/promises";
|
|
9
5
|
import * as os from "node:os";
|
|
@@ -14,6 +10,9 @@ var LOCK_MAX_WAIT_MS = 20000;
|
|
|
14
10
|
var LOCK_MAX_HOLD_MS = 60000;
|
|
15
11
|
var LOCK_RETRY_MIN_MS = 100;
|
|
16
12
|
var LOCK_RETRY_JITTER_MS = 200;
|
|
13
|
+
var HASH_CHUNK_BYTES = 256 * 1024;
|
|
14
|
+
var hashBuffers = [];
|
|
15
|
+
var HASH_BUFFERS_KEPT = 64;
|
|
17
16
|
|
|
18
17
|
class NodeFileSystem {
|
|
19
18
|
path = {
|
|
@@ -32,7 +31,7 @@ class NodeFileSystem {
|
|
|
32
31
|
};
|
|
33
32
|
utils = {
|
|
34
33
|
open: async (url) => {
|
|
35
|
-
const { default: open } = await import("./index-
|
|
34
|
+
const { default: open } = await import("./index-nzr4mx5p.js");
|
|
36
35
|
await open(url);
|
|
37
36
|
}
|
|
38
37
|
};
|
|
@@ -71,6 +70,15 @@ class NodeFileSystem {
|
|
|
71
70
|
throw error;
|
|
72
71
|
}
|
|
73
72
|
}
|
|
73
|
+
async readdirEntries(dirPath) {
|
|
74
|
+
try {
|
|
75
|
+
return await fs.readdir(dirPath, { withFileTypes: true });
|
|
76
|
+
} catch (error) {
|
|
77
|
+
if (this.isEnoent(error))
|
|
78
|
+
return [];
|
|
79
|
+
throw error;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
74
82
|
async stat(filePath) {
|
|
75
83
|
try {
|
|
76
84
|
const stats = await fs.stat(filePath);
|
|
@@ -78,7 +86,8 @@ class NodeFileSystem {
|
|
|
78
86
|
isFile: () => stats.isFile(),
|
|
79
87
|
isDirectory: () => stats.isDirectory(),
|
|
80
88
|
size: stats.size,
|
|
81
|
-
mtimeMs: stats.mtimeMs
|
|
89
|
+
mtimeMs: stats.mtimeMs,
|
|
90
|
+
ctimeMs: stats.ctimeMs
|
|
82
91
|
};
|
|
83
92
|
} catch (error) {
|
|
84
93
|
if (this.isEnoent(error))
|
|
@@ -192,6 +201,42 @@ class NodeFileSystem {
|
|
|
192
201
|
throw error;
|
|
193
202
|
}
|
|
194
203
|
}
|
|
204
|
+
async hashFile(filePath) {
|
|
205
|
+
let handle;
|
|
206
|
+
try {
|
|
207
|
+
handle = await fs.open(filePath, "r");
|
|
208
|
+
} catch (error) {
|
|
209
|
+
if (this.isEnoent(error))
|
|
210
|
+
return null;
|
|
211
|
+
throw error;
|
|
212
|
+
}
|
|
213
|
+
const buffer = hashBuffers.pop() ?? Buffer.allocUnsafe(HASH_CHUNK_BYTES);
|
|
214
|
+
try {
|
|
215
|
+
const opened = await handle.stat();
|
|
216
|
+
const stats = {
|
|
217
|
+
isFile: () => opened.isFile(),
|
|
218
|
+
isDirectory: () => opened.isDirectory(),
|
|
219
|
+
size: opened.size,
|
|
220
|
+
mtimeMs: opened.mtimeMs,
|
|
221
|
+
ctimeMs: opened.ctimeMs
|
|
222
|
+
};
|
|
223
|
+
const hash = createHash("sha256");
|
|
224
|
+
let size = 0;
|
|
225
|
+
for (;; ) {
|
|
226
|
+
const { bytesRead } = await handle.read(buffer, 0, buffer.byteLength, null);
|
|
227
|
+
if (bytesRead === 0)
|
|
228
|
+
break;
|
|
229
|
+
hash.update(buffer.subarray(0, bytesRead));
|
|
230
|
+
size += bytesRead;
|
|
231
|
+
}
|
|
232
|
+
return { sha256: hash.digest("hex"), size, stats };
|
|
233
|
+
} finally {
|
|
234
|
+
if (hashBuffers.length < HASH_BUFFERS_KEPT) {
|
|
235
|
+
hashBuffers.push(buffer);
|
|
236
|
+
}
|
|
237
|
+
await handle.close();
|
|
238
|
+
}
|
|
239
|
+
}
|
|
195
240
|
async realpath(filePath) {
|
|
196
241
|
try {
|
|
197
242
|
return await fs.realpath(filePath);
|
|
@@ -244,4 +289,4 @@ var getFileSystem = () => fsInstance;
|
|
|
244
289
|
|
|
245
290
|
export { NodeFileSystem, getFileSystem };
|
|
246
291
|
|
|
247
|
-
//# debugId=
|
|
292
|
+
//# debugId=6B0A3304ED8573E564756E2164756E21
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../maestro-sdk/src/registry/filter-engine.ts
|
|
2
|
-
function
|
|
2
|
+
function filterNodes2(nodes, parsedFilters) {
|
|
3
3
|
if (!parsedFilters.filters || parsedFilters.filters.length === 0) {
|
|
4
4
|
return nodes;
|
|
5
5
|
}
|
|
@@ -70,10 +70,10 @@ function getFieldValue(node, field) {
|
|
|
70
70
|
return node[field];
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function searchWithFilters2(nodes, keyword, filters) {
|
|
74
74
|
let results = nodes;
|
|
75
75
|
if (filters && filters.filters.length > 0) {
|
|
76
|
-
results =
|
|
76
|
+
results = filterNodes2(results, filters);
|
|
77
77
|
}
|
|
78
78
|
if (keyword && keyword.trim() !== "") {
|
|
79
79
|
const lowerKeyword = keyword.toLowerCase();
|
|
@@ -102,6 +102,6 @@ function searchWithFilters(nodes, keyword, filters) {
|
|
|
102
102
|
return results;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { filterNodes2, searchWithFilters2 };
|
|
106
106
|
|
|
107
|
-
//# debugId=
|
|
107
|
+
//# debugId=A8C2AA775C3F632764756E2164756E21
|
|
@@ -57,7 +57,7 @@ function deriveHandleCustomizationSourceOverride(node) {
|
|
|
57
57
|
if (!Array.isArray(groups))
|
|
58
58
|
return null;
|
|
59
59
|
const positions = [];
|
|
60
|
-
const
|
|
60
|
+
const sourceHandles = [];
|
|
61
61
|
for (const group of groups) {
|
|
62
62
|
if (!group || typeof group !== "object")
|
|
63
63
|
continue;
|
|
@@ -73,11 +73,43 @@ function deriveHandleCustomizationSourceOverride(node) {
|
|
|
73
73
|
continue;
|
|
74
74
|
const h = handle;
|
|
75
75
|
if (h.type === "source" && typeof h.id === "string") {
|
|
76
|
-
|
|
76
|
+
sourceHandles.push({
|
|
77
|
+
id: h.id,
|
|
78
|
+
...typeof h.handleType === "string" ? { handleType: h.handleType } : {}
|
|
79
|
+
});
|
|
77
80
|
}
|
|
78
81
|
}
|
|
79
82
|
}
|
|
80
|
-
return
|
|
83
|
+
return sourceHandles.length > 0 ? { positions, sourceHandles } : null;
|
|
84
|
+
}
|
|
85
|
+
function applyInstanceSourceHandles(handles, node, options) {
|
|
86
|
+
const sourceDeclared = [...handles.source.values()].some((info) => info.position !== undefined) || handles.sourceTemplates.length > 0;
|
|
87
|
+
if (!sourceDeclared) {
|
|
88
|
+
return { sourceDeclared, customization: null };
|
|
89
|
+
}
|
|
90
|
+
const customization = deriveHandleCustomizationSourceOverride(node);
|
|
91
|
+
if (!customization) {
|
|
92
|
+
if (options.deriveOutcomes) {
|
|
93
|
+
for (const id of deriveOutcomeHandleIds(node)) {
|
|
94
|
+
if (!handles.source.has(id)) {
|
|
95
|
+
handles.source.set(id, {});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return { sourceDeclared, customization: null };
|
|
100
|
+
}
|
|
101
|
+
const replaced = new Set(customization.positions);
|
|
102
|
+
const isReplaced = (info) => info.position !== undefined && replaced.has(info.position);
|
|
103
|
+
for (const [id, info] of [...handles.source]) {
|
|
104
|
+
if (isReplaced(info)) {
|
|
105
|
+
handles.source.delete(id);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
handles.sourceTemplates = handles.sourceTemplates.filter((template) => !isReplaced(template.info));
|
|
109
|
+
for (const handle of customization.sourceHandles) {
|
|
110
|
+
handles.source.set(handle.id, { handleType: handle.handleType });
|
|
111
|
+
}
|
|
112
|
+
return { sourceDeclared, customization };
|
|
81
113
|
}
|
|
82
114
|
function expandHandleIds(handle, node) {
|
|
83
115
|
if (!handle.repeat) {
|
|
@@ -112,6 +144,6 @@ function portMatchesTemplate(requestedPort, templateId) {
|
|
|
112
144
|
return pattern.test(requestedPort);
|
|
113
145
|
}
|
|
114
146
|
|
|
115
|
-
export { ERROR_SOURCE_PORT, enableErrorHandlingForErrorEdges, parseVisibleInputKey, isHandleVisible,
|
|
147
|
+
export { ERROR_SOURCE_PORT, enableErrorHandlingForErrorEdges, parseVisibleInputKey, isHandleVisible, applyInstanceSourceHandles, expandHandleIds, isTemplatedHandleId, portMatchesTemplate };
|
|
116
148
|
|
|
117
|
-
//# debugId=
|
|
149
|
+
//# debugId=F9C72DA1BA2E597864756E2164756E21
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ../auth/src/utils/platform.ts
|
|
2
|
+
function isBrowser2() {
|
|
3
|
+
return typeof globalThis !== "undefined" && "window" in globalThis && "document" in globalThis;
|
|
4
|
+
}
|
|
5
|
+
function getGlobalThis() {
|
|
6
|
+
if (typeof globalThis !== "undefined") {
|
|
7
|
+
return globalThis;
|
|
8
|
+
}
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { isBrowser2, getGlobalThis };
|
|
13
|
+
|
|
14
|
+
//# debugId=BB900EA7514A888D64756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./packager-tool-
|
|
2
|
+
zipSync,
|
|
3
|
+
unzipSync
|
|
4
|
+
} from "./packager-tool-mphfxa9g.js";
|
|
5
5
|
|
|
6
6
|
// ../packager/packager-core/src/filesystem/path.ts
|
|
7
7
|
class Path {
|
|
@@ -59,31 +59,36 @@ class Path {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
// ../packager/packager-core/src/services/
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
return typeof value === "string" && value.length > 0;
|
|
67
|
-
}
|
|
68
|
-
async function readJsonObject(fs, filePath) {
|
|
69
|
-
let content;
|
|
62
|
+
// ../packager/packager-core/src/services/json-object.ts
|
|
63
|
+
function parseJsonObject(text) {
|
|
64
|
+
if (!text)
|
|
65
|
+
return;
|
|
70
66
|
try {
|
|
71
|
-
|
|
67
|
+
const value = JSON.parse(text);
|
|
68
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : undefined;
|
|
72
69
|
} catch {
|
|
73
70
|
return;
|
|
74
71
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
}
|
|
73
|
+
async function readJsonObjectFile(fs, filePath) {
|
|
74
|
+
let content;
|
|
78
75
|
try {
|
|
79
|
-
|
|
80
|
-
if (parsed === null || typeof parsed !== "object") {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
return parsed;
|
|
76
|
+
content = await fs.readFile(filePath);
|
|
84
77
|
} catch {
|
|
85
78
|
return;
|
|
86
79
|
}
|
|
80
|
+
if (!content)
|
|
81
|
+
return;
|
|
82
|
+
const text = typeof content === "string" ? content : new TextDecoder().decode(content);
|
|
83
|
+
const value = parseJsonObject(text);
|
|
84
|
+
return value ? { text, value } : undefined;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// ../packager/packager-core/src/services/project-id.ts
|
|
88
|
+
var OPERATE_FILE = "operate.json";
|
|
89
|
+
var PROJECT_FILE = "project.json";
|
|
90
|
+
function isNonEmptyString(value) {
|
|
91
|
+
return typeof value === "string" && value.length > 0;
|
|
87
92
|
}
|
|
88
93
|
async function writeJsonObject(fs, filePath, data) {
|
|
89
94
|
await fs.writeFile(filePath, `${JSON.stringify(data, null, 2)}
|
|
@@ -93,7 +98,7 @@ async function ensureProjectId(projectPath, fs) {
|
|
|
93
98
|
const operatePath = Path.join(projectPath, OPERATE_FILE);
|
|
94
99
|
const operateExists = await fs.exists(operatePath);
|
|
95
100
|
if (operateExists) {
|
|
96
|
-
const operate = await
|
|
101
|
+
const operate = (await readJsonObjectFile(fs, operatePath))?.value;
|
|
97
102
|
if (operate && isNonEmptyString(operate.projectId)) {
|
|
98
103
|
return operate.projectId;
|
|
99
104
|
}
|
|
@@ -110,7 +115,7 @@ async function ensureProjectId(projectPath, fs) {
|
|
|
110
115
|
const projectFilePath = Path.join(projectPath, PROJECT_FILE);
|
|
111
116
|
const projectFileExists = await fs.exists(projectFilePath);
|
|
112
117
|
if (projectFileExists) {
|
|
113
|
-
const projectFile = await
|
|
118
|
+
const projectFile = (await readJsonObjectFile(fs, projectFilePath))?.value;
|
|
114
119
|
if (projectFile && isNonEmptyString(projectFile.projectId)) {
|
|
115
120
|
return projectFile.projectId;
|
|
116
121
|
}
|
|
@@ -130,7 +135,7 @@ async function ensureProjectIdInOperateFile(operateFilePath, fallbackProjectId,
|
|
|
130
135
|
if (!await fs.exists(operateFilePath)) {
|
|
131
136
|
return;
|
|
132
137
|
}
|
|
133
|
-
const parsed = await
|
|
138
|
+
const parsed = (await readJsonObjectFile(fs, operateFilePath))?.value;
|
|
134
139
|
if (!parsed) {
|
|
135
140
|
return;
|
|
136
141
|
}
|
|
@@ -213,15 +218,28 @@ var OPERATE_SCHEMA = "https://cloud.uipath.com/draft/2024-12/operate";
|
|
|
213
218
|
function withoutContentPrefix(filePath) {
|
|
214
219
|
return filePath.replace(/^\/?content\//, "");
|
|
215
220
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
221
|
+
function entryPointFile(filePath) {
|
|
222
|
+
const path = withoutContentPrefix(filePath);
|
|
223
|
+
const file = path.split("#")[0] ?? "";
|
|
224
|
+
return file.endsWith(".bpmn") ? file : path;
|
|
225
|
+
}
|
|
226
|
+
function hasFilePath(entry) {
|
|
227
|
+
return typeof entry === "object" && entry !== null && typeof entry.filePath === "string";
|
|
228
|
+
}
|
|
229
|
+
function isDefaultFlag(value) {
|
|
230
|
+
return value === true || value === "true";
|
|
231
|
+
}
|
|
232
|
+
function isDefaultEntryPoint(entry) {
|
|
233
|
+
return hasFilePath(entry) && isDefaultFlag(entry.isDefault);
|
|
234
|
+
}
|
|
235
|
+
function resolveOperateMainEntry(entryPoints, mainFile) {
|
|
236
|
+
const wanted = mainFile ? entryPointFile(mainFile) : undefined;
|
|
237
|
+
const inMainFile = wanted ? entryPoints.filter((entry) => hasFilePath(entry) && entryPointFile(entry.filePath) === wanted) : [];
|
|
238
|
+
return inMainFile.find(isDefaultEntryPoint) ?? inMainFile[0] ?? entryPoints.find(isDefaultEntryPoint) ?? entryPoints[0];
|
|
239
|
+
}
|
|
240
|
+
function resolveOperateMain(entryPoints, mainFile) {
|
|
241
|
+
const main = resolveOperateMainEntry(entryPoints, mainFile);
|
|
242
|
+
return main && hasFilePath(main) ? main.filePath : "";
|
|
225
243
|
}
|
|
226
244
|
async function resolveEntryPointMain(fs, sourceFolder, mainFile) {
|
|
227
245
|
const entryPointsFilePath = Path.join(sourceFolder, NugetConstants.EntryPointsFileName);
|
|
@@ -234,7 +252,7 @@ async function resolveEntryPointMain(fs, sourceFolder, mainFile) {
|
|
|
234
252
|
}
|
|
235
253
|
try {
|
|
236
254
|
const parsed = JSON.parse(new TextDecoder().decode(content));
|
|
237
|
-
return
|
|
255
|
+
return resolveOperateMain(parsed.entryPoints ?? [], mainFile);
|
|
238
256
|
} catch {
|
|
239
257
|
return "";
|
|
240
258
|
}
|
|
@@ -1464,4 +1482,4 @@ class LogMessage {
|
|
|
1464
1482
|
}
|
|
1465
1483
|
export { Path, TemporaryStorageService, ZipService, I18nManager, translate, normalizeIgnoredRules, LogMessage, NugetConstants, ToolResult, ensureProjectId, writeContentOperateFile, NugetPackager, ProjectTool, toolsFactoryRepository };
|
|
1466
1484
|
|
|
1467
|
-
//# debugId=
|
|
1485
|
+
//# debugId=8AB0E4AD43E876BE64756E2164756E21
|
package/dist/packager-tool.js
CHANGED
|
@@ -1,36 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-hk1gxnth.js";
|
|
13
|
-
import"./packager-tool-mgcz986r.js";
|
|
14
|
-
import"./packager-tool-xj0agqpk.js";
|
|
15
|
-
import"./packager-tool-pcvhcn2k.js";
|
|
16
|
-
import"./packager-tool-sc961w0q.js";
|
|
17
|
-
import"./packager-tool-t07ev0jj.js";
|
|
18
|
-
import"./packager-tool-7bam8cjq.js";
|
|
19
|
-
import"./packager-tool-gbgfwx8f.js";
|
|
20
|
-
import"./packager-tool-6z1hsm2h.js";
|
|
21
|
-
import"./packager-tool-jysvpt8p.js";
|
|
22
|
-
import"./packager-tool-s7wb0s9n.js";
|
|
23
|
-
import"./packager-tool-p79yh9ww.js";
|
|
24
|
-
import"./packager-tool-jrnjzs5t.js";
|
|
25
|
-
import"./packager-tool-z83pga0z.js";
|
|
26
|
-
import"./packager-tool-6ejqwbw9.js";
|
|
27
|
-
import"./packager-tool-mcaf4ewf.js";
|
|
28
|
-
import"./packager-tool-myhbp761.js";
|
|
29
|
-
import"./packager-tool-4mna26cc.js";
|
|
30
|
-
import"./packager-tool-c23zrhj8.js";
|
|
31
|
-
import"./packager-tool-1yh8g550.js";
|
|
2
|
+
registerPackagerFactories2
|
|
3
|
+
} from "./packager-tool-99d2kj94.js";
|
|
4
|
+
import"./packager-tool-mdf7bws6.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";
|
|
32
12
|
export {
|
|
33
|
-
registerPackagerFactories
|
|
13
|
+
registerPackagerFactories2 as registerPackagerFactories
|
|
34
14
|
};
|
|
35
15
|
|
|
36
|
-
//# debugId=
|
|
16
|
+
//# debugId=EEF000601B9B06FB64756E2164756E21
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// ../builder-sdk/src/prepare-uip.ts
|
|
2
|
+
var PREPARE_COMMANDS = [
|
|
3
|
+
["is", "connections", "list"],
|
|
4
|
+
["is", "connectors", "metadata"],
|
|
5
|
+
["is", "activities", "list"],
|
|
6
|
+
["is", "resources", "list"],
|
|
7
|
+
["is", "resources", "describe"],
|
|
8
|
+
["is", "resources", "run", "list"],
|
|
9
|
+
["is", "triggers", "objects"],
|
|
10
|
+
["is", "triggers", "describe"],
|
|
11
|
+
["maestro", "flow", "registry", "get"],
|
|
12
|
+
["maestro", "flow", "registry", "search"],
|
|
13
|
+
["maestro", "flow", "registry", "pull"]
|
|
14
|
+
];
|
|
15
|
+
var HOST_GLOBAL_OPTIONS = [
|
|
16
|
+
"--json",
|
|
17
|
+
"--log-level",
|
|
18
|
+
"--log-file",
|
|
19
|
+
"--profile",
|
|
20
|
+
"--interactive",
|
|
21
|
+
"--no-interactive"
|
|
22
|
+
];
|
|
23
|
+
function isPrepareCommand(args) {
|
|
24
|
+
return PREPARE_COMMANDS.some((words) => words.every((word, index) => args[index] === word));
|
|
25
|
+
}
|
|
26
|
+
function hostGlobalOption(args) {
|
|
27
|
+
return HOST_GLOBAL_OPTIONS.find((option) => args.some((arg) => arg === option || arg.startsWith(`${option}=`)));
|
|
28
|
+
}
|
|
29
|
+
function refusal(argv) {
|
|
30
|
+
if (!Array.isArray(argv) || !argv.every((arg) => typeof arg === "string")) {
|
|
31
|
+
return "uip: argv must be a list of strings";
|
|
32
|
+
}
|
|
33
|
+
const [executable, ...args] = argv;
|
|
34
|
+
if (executable !== "uip" || !isPrepareCommand(args)) {
|
|
35
|
+
return `uip: ${(executable === "uip" ? args : argv).join(" ")} is not available to registry prepare in this host`;
|
|
36
|
+
}
|
|
37
|
+
const option = hostGlobalOption(args);
|
|
38
|
+
return option === undefined ? undefined : `uip: ${option} is not available to registry prepare in this host`;
|
|
39
|
+
}
|
|
40
|
+
function failed(stderr) {
|
|
41
|
+
return { code: 1, stdout: "", stderr };
|
|
42
|
+
}
|
|
43
|
+
function timeLimit(timeoutMs) {
|
|
44
|
+
let timer;
|
|
45
|
+
let start = () => {};
|
|
46
|
+
const expired = new Promise((resolve) => {
|
|
47
|
+
start = () => {
|
|
48
|
+
timer = setTimeout(() => resolve({
|
|
49
|
+
code: null,
|
|
50
|
+
stdout: "",
|
|
51
|
+
stderr: "",
|
|
52
|
+
timedOut: true
|
|
53
|
+
}), timeoutMs);
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
return { start, expired, clear: () => clearTimeout(timer) };
|
|
57
|
+
}
|
|
58
|
+
function prepareUip(runInProcess) {
|
|
59
|
+
const running = new Set;
|
|
60
|
+
const ended = new AbortController;
|
|
61
|
+
return {
|
|
62
|
+
uip: {
|
|
63
|
+
slot: "uipath.maestro-builder-sdk.uip",
|
|
64
|
+
run(argv, options = {}) {
|
|
65
|
+
const refused = ended.signal.aborted ? "uip: registry prepare has ended" : refusal(argv);
|
|
66
|
+
if (refused !== undefined) {
|
|
67
|
+
return Promise.resolve(failed(refused));
|
|
68
|
+
}
|
|
69
|
+
const { timeoutMs } = options;
|
|
70
|
+
const limit = timeoutMs === undefined || timeoutMs <= 0 ? undefined : timeLimit(timeoutMs);
|
|
71
|
+
const answer = runInProcess(argv.slice(1), {
|
|
72
|
+
signal: ended.signal,
|
|
73
|
+
onStart: limit?.start
|
|
74
|
+
}).catch((error) => failed(`uip: ${error instanceof Error ? error.message : String(error)}`));
|
|
75
|
+
running.add(answer);
|
|
76
|
+
answer.finally(() => running.delete(answer));
|
|
77
|
+
return limit ? Promise.race([answer, limit.expired]).finally(limit.clear) : answer;
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
close: () => {
|
|
81
|
+
ended.abort(new Error("registry prepare has ended"));
|
|
82
|
+
},
|
|
83
|
+
settled: async () => {
|
|
84
|
+
await Promise.all(running);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
prepareUip
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
//# debugId=DA8A8649FCF5573C64756E2164756E21
|