@uipath/flow-tool 1.201.0-preview.132 → 1.202.0-preview.134
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/dist/{authoring-7r6g06c7.js → authoring-dcmray5j.js} +74 -48
- package/dist/binding-service-ftssy5j8.js +141 -0
- package/dist/{browser-strategy-rkcvc6tn.js → browser-strategy-6atc7v8s.js} +3 -3
- package/dist/connector-service-fsvcesfa.js +948 -0
- package/dist/{conversion-H2VEEYLB-ng48mbf7.js → conversion-QANACVCM-zs0hhfjv.js} +39 -33
- package/dist/{de-5KVP66U6-f7knj511.js → de-5KVP66U6-1bnf4zt5.js} +52 -52
- package/dist/de-6U7ECGHH-xwsw33fk.js +35 -0
- package/dist/{de-5HU6GFWV-4EZK6G7N-yrh21f52.js → de-7XQXX2DK-IDWR6CAR-n4z245kt.js} +857 -845
- package/dist/{de-5HU6GFWV-zheyw6d2.js → de-7XQXX2DK-tqdy5n2b.js} +857 -845
- package/dist/{de-HKTOVV4H-d5yw5j21.js → de-HKTOVV4H-pe9w0xn8.js} +46 -46
- package/dist/{de-XLT4QPIP-0rtw349w.js → de-XLT4QPIP-kj81dxjc.js} +9 -9
- package/dist/debug-conversation-trigger-xjcc5wtr.js +41 -0
- package/dist/debug-http-client-94tc1srs.js +31 -0
- package/dist/debug-service-kzqjmam7.js +58 -0
- package/dist/edge-service-kh32a63z.js +162 -0
- package/dist/{elk.bundled-pydbzeez.js → elk.bundled-vpsbxz0p.js} +3 -3
- package/dist/{en-MABQK6C4-REWE2WG2-8dp4cqdg.js → en-5ZGC5VQ3-EWX7ILY7-rmtj70fk.js} +898 -898
- package/dist/{en-MABQK6C4-nkzq2j8t.js → en-5ZGC5VQ3-h581y30k.js} +897 -897
- package/dist/en-EPWMLP2N-2wvge238.js +28 -0
- package/dist/{en-UNT7BE26-rhh65jry.js → en-LQHKFSEY-vvbe8ve9.js} +13 -11
- package/dist/{en-P4AS26D7-szrzfxz1.js → en-P4AS26D7-zptp77bm.js} +45 -45
- package/dist/{en-4KXU7N7B-66fntxa2.js → en-X3S6IZ5J-nhkg6pwn.js} +54 -60
- package/dist/{es-MX-H2EAXLYI-qwnqt48x.js → es-MX-H2EAXLYI-j42kfkxy.js} +46 -46
- package/dist/es-MX-NHTIP5YM-ar6zfx95.js +35 -0
- package/dist/{es-MX-OKNDG2NH-c1k1s1tg.js → es-MX-OKNDG2NH-tcac6j4g.js} +9 -9
- package/dist/{es-MX-POESXYP2-UW6VP5QI-cd3a79g9.js → es-MX-U2VN3SZW-KYAJ2ONK-kdram1g1.js} +857 -845
- package/dist/{es-MX-POESXYP2-9538722k.js → es-MX-U2VN3SZW-anynsmd8.js} +857 -845
- package/dist/{es-MX-XAVLOQW3-9b3cp9n8.js → es-MX-XAVLOQW3-q00km2y7.js} +52 -52
- package/dist/{es-NQICVYSQ-aa9z3nhs.js → es-NQICVYSQ-3dtqgget.js} +9 -9
- package/dist/{es-O4PAV2CR-jwfaawwk.js → es-O4PAV2CR-0g23ve3v.js} +46 -46
- package/dist/es-PQ3RA33Q-y4kxhjfr.js +35 -0
- package/dist/{es-VFPNVMP5-thm0z9sr.js → es-VFPNVMP5-bx2c337j.js} +52 -52
- package/dist/{es-LUTYN7U7-IY5QWOUF-k2aefzc0.js → es-ZGCPPOME-24PJEGPV-rn86z9kn.js} +857 -845
- package/dist/{es-LUTYN7U7-ye5zn4sn.js → es-ZGCPPOME-8gazspjj.js} +857 -845
- package/dist/flow-api-ceb6ex9z.js +36 -0
- package/dist/flow-debug-service-k8nmhy6h.js +741 -0
- package/dist/flow-eval-node-target-6xsgncx3.js +44 -0
- package/dist/flow-eval-run-service-g4a9fz4n.js +961 -0
- package/dist/flow-eval-service-3npsqpmq.js +1338 -0
- package/dist/flow-init-service-d06zcqj1.js +35 -0
- package/dist/flow-io-8makjhpp.js +36 -0
- package/dist/flow-migrate-service-4mg78e8e.js +119 -0
- package/dist/flow-pack-service-v96aee58.js +280 -0
- package/dist/flow-validate-service-6e3phcgw.js +57 -0
- package/dist/{fr-5YRGHXF5-q6b63yg0.js → fr-5YRGHXF5-kz1ywpv6.js} +46 -46
- package/dist/{fr-E5MDO4EG-exvrs7ge.js → fr-E5MDO4EG-c3mkty2t.js} +52 -52
- package/dist/{fr-PFHIL7YZ-cxnshwa8.js → fr-PFHIL7YZ-2n589p47.js} +9 -9
- package/dist/fr-R4L3OAWI-30khpsmn.js +35 -0
- package/dist/{fr-LJIK56LW-STG6QR3T-cextvv8q.js → fr-T3G5GZCT-TU4IKBEG-k6xz1s1f.js} +857 -845
- package/dist/{fr-LJIK56LW-xf3xf2kh.js → fr-T3G5GZCT-y3f7xb1q.js} +857 -845
- package/dist/governance-fetcher-c174x54w.js +391 -0
- package/dist/headless-h1myzz32.js +177196 -0
- package/dist/hitl-service-s0kqrxda.js +256 -0
- package/dist/index-1kgxzh8x.js +143 -0
- package/dist/index-4zrwgb3c.js +111 -0
- package/dist/index-8ebsw1we.js +4801 -0
- package/dist/{index-dhcd9b82.js → index-d5ddwgr3.js} +166 -81
- package/dist/{index-er6vy3jk.js → index-eybzsdcc.js} +295 -317
- package/dist/{index-hsadteg4.js → index-h8cph72k.js} +4 -4
- package/dist/index-hxxk3stj.js +630 -0
- package/dist/{index-p50kx6jv.js → index-k5tbd184.js} +276 -276
- package/dist/{index-9f8q2ege.js → index-p3vk57z7.js} +27 -27
- package/dist/index.js +29 -32
- package/dist/{index.umd.min-drpc57vn.js → index.umd.min-fqefd9kn.js} +3 -3
- package/dist/init.js +24 -25
- package/dist/input-reader-kcdbvd7q.js +11 -0
- package/dist/{ja-FGEGLBJ3-w9byjhze.js → ja-BI5K3JDZ-77zat4z2.js} +857 -845
- package/dist/{ja-FGEGLBJ3-MG3BSWXD-vq19zt2p.js → ja-BI5K3JDZ-GTIHISTZ-s6n3r2ab.js} +857 -845
- package/dist/{ja-DPO5PPLO-s2a7j3nj.js → ja-DPO5PPLO-mysfmznx.js} +52 -52
- package/dist/{ja-P4OSE367-8ywxep9a.js → ja-P4OSE367-srr3qypg.js} +9 -9
- package/dist/{ja-SDAPAVCR-943p5gx7.js → ja-SDAPAVCR-kg39dfap.js} +46 -46
- package/dist/ja-ZHKCBE5W-x73w6x3e.js +35 -0
- package/dist/{js-yaml-cggj6w7q.js → js-yaml-87tvr6f6.js} +16 -16
- package/dist/known-types-a20evmmg.js +20 -0
- package/dist/ko-6W7OGLLB-mnmqc584.js +35 -0
- package/dist/{ko-ITOPNIYI-qz39kamf.js → ko-ITOPNIYI-hmxd2asd.js} +52 -52
- package/dist/{ko-TUAK3G3A-s25w0ckg.js → ko-JOBF5V7N-4bv0mjje.js} +857 -845
- package/dist/{ko-TUAK3G3A-TBEBKOTM-ns78t2rv.js → ko-JOBF5V7N-O7T4HKIE-ape840y0.js} +857 -845
- package/dist/{ko-NAGOZLC3-wb3y9yhh.js → ko-NAGOZLC3-gaxxsnd2.js} +46 -46
- package/dist/{ko-PYOS2KJP-5sbj5bp8.js → ko-PYOS2KJP-e7dshyxy.js} +9 -9
- package/dist/localization-h8a53z6p.js +47 -0
- package/dist/node-service-362d7a6c.js +70 -0
- package/dist/{node-strategy-8gzp67xs.js → node-strategy-gc4sg6a2.js} +132 -16
- package/dist/node-sync-service-09x1zwp9.js +42 -0
- package/dist/{node-vf29tmgq.js → node-x3a5p2p3.js} +7931 -7132
- package/dist/{packager-tool-9qecd4wb.js → packager-tool-0gctz400.js} +5 -2
- package/dist/{packager-tool-1cb0d5e0.js → packager-tool-0v3s8r01.js} +2 -2
- package/dist/{packager-tool-yh7qcf17.js → packager-tool-1r8c83fc.js} +13388 -19366
- package/dist/{packager-tool-wckvcay0.js → packager-tool-1yh8g550.js} +9 -7
- package/dist/{packager-tool-cvwr40ax.js → packager-tool-226mh80j.js} +1425 -550
- package/dist/packager-tool-27avrkyk.js +15 -0
- package/dist/packager-tool-2vnjw67f.js +79 -0
- package/dist/packager-tool-2wefykg9.js +106 -0
- package/dist/{packager-tool-kbtxcxjd.js → packager-tool-38ydychm.js} +17 -13
- package/dist/packager-tool-48f4ekg5.js +262 -0
- package/dist/{packager-tool-7yjpwj92.js → packager-tool-4hx14snw.js} +49 -48
- package/dist/{packager-tool-3wygxefb.js → packager-tool-58q3tvh7.js} +10 -10
- package/dist/packager-tool-5zrgh5vh.js +457 -0
- package/dist/packager-tool-633f58dt.js +8185 -0
- package/dist/packager-tool-7exrv6w7.js +23 -0
- package/dist/packager-tool-88cscbcz.js +757 -0
- package/dist/packager-tool-8aqtjswp.js +4234 -0
- package/dist/packager-tool-8j92afwp.js +58 -0
- package/dist/{packager-tool-vdd02vns.js → packager-tool-9bec251q.js} +543 -1493
- package/dist/packager-tool-a1hbfmws.js +399 -0
- package/dist/{packager-tool-tq9q9m77.js → packager-tool-a42jnpy5.js} +3 -9
- package/dist/packager-tool-abbtfk2v.js +54 -0
- package/dist/packager-tool-ae4jp7gn.js +121 -0
- package/dist/packager-tool-cabxfk33.js +540 -0
- package/dist/packager-tool-d1hvc3jz.js +54 -0
- package/dist/packager-tool-e0p2zsyc.js +97 -0
- package/dist/{packager-tool-m6x5sczh.js → packager-tool-em5r6g6j.js} +14 -21
- package/dist/packager-tool-eypvc2kv.js +23 -0
- package/dist/packager-tool-f0kd5kq4.js +2327 -0
- package/dist/packager-tool-gbgfwx8f.js +2 -0
- package/dist/packager-tool-gcy5q3jv.js +64 -0
- package/dist/packager-tool-h2qfyjf1.js +85 -0
- package/dist/packager-tool-h66mj8f4.js +33289 -0
- package/dist/{packager-tool-pkq70dec.js → packager-tool-h718nvz5.js} +31 -3
- package/dist/packager-tool-k99nf3pq.js +25 -0
- package/dist/packager-tool-kdasymdr.js +443 -0
- package/dist/{packager-tool-jysvpt8p.js → packager-tool-m3wkcxf5.js} +2 -2
- package/dist/{packager-tool-78a3szsp.js → packager-tool-m5qfverj.js} +1720 -2014
- package/dist/packager-tool-nq4rcqqg.js +87 -0
- package/dist/packager-tool-p6eyemwk.js +77 -0
- package/dist/{packager-tool-f7ftjhjw.js → packager-tool-p9stswjj.js} +2858 -19342
- package/dist/{packager-tool-y3dezh8k.js → packager-tool-rs6jm14d.js} +6 -4
- package/dist/{packager-tool-7j7dtp78.js → packager-tool-s36jpqhd.js} +2 -2
- package/dist/packager-tool-s9ff3kk4.js +6 -0
- package/dist/packager-tool-ss7cz4qx.js +289 -0
- package/dist/packager-tool-tf3d2y8z.js +31 -0
- package/dist/packager-tool-tn5e7wnb.js +384 -0
- package/dist/packager-tool-vpqyvh4c.js +304 -0
- package/dist/packager-tool-wnfbe9ra.js +188 -0
- package/dist/packager-tool-wzgne1ff.js +18 -0
- package/dist/{packager-tool-5dgs6c0n.js → packager-tool-x9wxe2bj.js} +1121 -1846
- package/dist/{packager-tool-1gt6js73.js → packager-tool-xhzfwa5p.js} +6 -4
- package/dist/packager-tool-xjbyd9mj.js +602 -0
- package/dist/packager-tool-xp46mzvq.js +4892 -0
- package/dist/{packager-tool-5arsyj36.js → packager-tool-yc4kw997.js} +4 -2
- package/dist/packager-tool-ywe4b330.js +4945 -0
- package/dist/{packager-tool-0567pxpm.js → packager-tool-z9bfhmm5.js} +10 -10
- package/dist/{packager-tool-gmrwvnyh.js → packager-tool-zfrp8ecz.js} +8 -58
- package/dist/packager-tool.js +17 -17
- package/dist/{pt-7TR74ZMB-1g8my56g.js → pt-7TR74ZMB-bmphh4x2.js} +46 -46
- package/dist/{pt-BR-7XGDXRDJ-TR5D7JYL-533wvy7p.js → pt-BR-7DYX2YPT-LZYH4YFD-bx43vx3z.js} +857 -845
- package/dist/{pt-BR-7XGDXRDJ-espnkgrj.js → pt-BR-7DYX2YPT-fqxqzqtf.js} +857 -845
- package/dist/{pt-BR-BXURWX4W-dqr4dnf9.js → pt-BR-BXURWX4W-bwfcwhk1.js} +52 -52
- package/dist/{pt-BR-DXXSYJDO-bn84ewp7.js → pt-BR-DXXSYJDO-a2tp13v7.js} +46 -46
- package/dist/pt-BR-UQCYHKMJ-q78n7q70.js +35 -0
- package/dist/{pt-BR-Z3TUDJHM-n7ngej6s.js → pt-BR-Z3TUDJHM-8v73x9s7.js} +9 -9
- package/dist/pt-D6A6MVB2-yvxca8vz.js +35 -0
- package/dist/{pt-TMVOOITK-myha14p9.js → pt-HTXGGX6Y-97t21dty.js} +857 -845
- package/dist/{pt-TMVOOITK-H2ADYHSD-ezpggv33.js → pt-HTXGGX6Y-ZHQSDFKI-vehfxadc.js} +857 -845
- package/dist/{pt-KSBWHAVQ-hd52bpsz.js → pt-KSBWHAVQ-mhvhgr2p.js} +9 -9
- package/dist/{pt-YI4VE4YQ-v7gjeg82.js → pt-YI4VE4YQ-wdkn2dcf.js} +52 -52
- package/dist/ro-4TMBHS5M-jz0anpt6.js +35 -0
- package/dist/{ro-BJFER5OI-334n28rj.js → ro-BJFER5OI-83tq8vxh.js} +46 -46
- package/dist/{ro-2VALF3S5-NXBJUEZN-nqw1zs33.js → ro-KTNQ3MNU-XIE6YPQN-gen8p82z.js} +857 -845
- package/dist/{ro-2VALF3S5-cdz5afkr.js → ro-KTNQ3MNU-y08n1x5g.js} +857 -845
- package/dist/{ro-RKXZUG7Z-cm3xn3fj.js → ro-RKXZUG7Z-nndrrsq7.js} +52 -52
- package/dist/{ro-VZUZTAMR-tccygznf.js → ro-VZUZTAMR-f4q0g3em.js} +9 -9
- package/dist/{ru-GSCT4ARZ-qj8dm4dp.js → ru-GSCT4ARZ-1sa9wbr8.js} +1 -1
- package/dist/{ru-GSCT4ARZ-FTVCGQTL-5nh4jf2e.js → ru-GSCT4ARZ-FTVCGQTL-gee86v14.js} +1 -1
- package/dist/{ru-T73OPRTC-mp5gn7gs.js → ru-T73OPRTC-4knxw497.js} +1 -1
- package/dist/{ru-WBLQ5B2U-awt245ky.js → ru-WBLQ5B2U-8r3c7v6d.js} +1 -1
- package/dist/ru-WBLQ5B2U-kdey8qa4.js +10 -0
- package/dist/{ru-WBLQ5B2U-57ezmxzz.js → ru-WBLQ5B2U-wemdzdqd.js} +1 -1
- package/dist/{serialization-GAW7UFOK-9hkdmmd2.js → serialization-J5QK3HPY-bgewpt6f.js} +158 -152
- package/dist/services/expression-validator.d.ts +28 -0
- package/dist/services/flow-eval-schema/types.d.ts +17 -0
- package/dist/services/flow-validate-service.d.ts +26 -0
- package/dist/services/node-validators/js-expression-syntax-validator.d.ts +6 -3
- package/dist/services/tidy-service.d.ts +26 -0
- package/dist/services/vars-reference-rule.d.ts +156 -0
- package/dist/shared-utils-jnsfb1v5.js +20 -0
- package/dist/tidy-service-6eyh886t.js +34 -0
- package/dist/tool.js +30 -33
- package/dist/{tr-AA6O2WSR-ga1xnymp.js → tr-AA6O2WSR-86ba4bdf.js} +52 -52
- package/dist/tr-GSQQ6SOT-hv1gyeaa.js +35 -0
- package/dist/{tr-RQTZ2DMS-bpgd4kma.js → tr-RQTZ2DMS-w3cwv8s4.js} +46 -46
- package/dist/{tr-W4AVRSQ4-bt3qqqdy.js → tr-W4AVRSQ4-hjr81xzk.js} +9 -9
- package/dist/{tr-RIFCEXFH-BZS7S7QK-q465b62g.js → tr-XHSSPNK7-GW5KVXR3-2w3f1ss6.js} +857 -845
- package/dist/{tr-RIFCEXFH-hgkb4g8y.js → tr-XHSSPNK7-cmqyc4wd.js} +857 -845
- package/dist/utils/handle-expansion.d.ts +16 -0
- package/dist/validation.js +47 -27
- package/dist/variable-service-6by7q33e.js +152 -0
- package/dist/wait-for-flow-job-zrhcm8we.js +134 -0
- package/dist/{zh-CN-IP3FMXWM-H3JI2XUM-ta4yac7h.js → zh-CN-2EHQT23P-T5XRQCVS-ac17dpc1.js} +857 -845
- package/dist/{zh-CN-IP3FMXWM-1cfarhcp.js → zh-CN-2EHQT23P-mr63c4xz.js} +857 -845
- package/dist/{zh-CN-6YRAN57T-j7jp34ws.js → zh-CN-6YRAN57T-rd7x2tqs.js} +9 -9
- package/dist/zh-CN-EDFRBU32-vvj7tmaq.js +35 -0
- package/dist/{zh-CN-R2KLHXQV-wttmznep.js → zh-CN-R2KLHXQV-agqr45ds.js} +52 -52
- package/dist/{zh-CN-ZC6LT4IN-vty9mvv8.js → zh-CN-ZC6LT4IN-kbzvvzz5.js} +46 -46
- package/dist/zh-TW-HAICM6DE-rh7k3cq7.js +35 -0
- package/dist/{zh-TW-AGIDXIPF-R4XZRDJZ-cgxxz5k4.js → zh-TW-MGZCE5BT-P6FLIUAR-zmq07vhs.js} +857 -845
- package/dist/{zh-TW-AGIDXIPF-n6r6w7vy.js → zh-TW-MGZCE5BT-c4ekmrz9.js} +857 -845
- package/dist/{zh-TW-R7Y5KVMU-q81f4z2p.js → zh-TW-R7Y5KVMU-m61y07e3.js} +46 -46
- package/dist/{zh-TW-RJGCQANM-gqn0aca0.js → zh-TW-RJGCQANM-w0x3qc1p.js} +52 -52
- package/dist/{zh-TW-SO2245GN-m5kh88bg.js → zh-TW-SO2245GN-n2bn1gg4.js} +9 -9
- package/package.json +2 -2
- package/dist/de-5KVP66U6-t37qr521.js +0 -161
- package/dist/de-WMKOGI7B-6dc1zdnp.js +0 -143
- package/dist/en-4KXU7N7B-24v330b5.js +0 -118
- package/dist/en-X4DLPKLJ-1h9gj5c1.js +0 -110
- package/dist/es-BVPGJUWA-0k59eqfv.js +0 -143
- package/dist/es-MX-U6YL5KQX-k4qvpgd4.js +0 -143
- package/dist/es-MX-XAVLOQW3-47a405kf.js +0 -161
- package/dist/es-VFPNVMP5-6sftsdxe.js +0 -161
- package/dist/fr-E5MDO4EG-f3x1jeqw.js +0 -161
- package/dist/fr-EKTTDR7Z-m2t68j0m.js +0 -143
- package/dist/ja-DPO5PPLO-fmbg7zt2.js +0 -161
- package/dist/ja-Y2YBTXNN-5sszk2zv.js +0 -143
- package/dist/ko-ITOPNIYI-aqy82jk8.js +0 -161
- package/dist/ko-S33XAV26-rfsv9myd.js +0 -143
- package/dist/packager-tool-0sz8se22.js +0 -10671
- package/dist/packager-tool-p9j43p8h.js +0 -115
- package/dist/packager-tool-q0w9sjzr.js +0 -9850
- package/dist/packager-tool-v74yk918.js +0 -107
- package/dist/packager-tool-xj0agqpk.js +0 -11
- package/dist/pt-BR-BXURWX4W-xzyndmrx.js +0 -161
- package/dist/pt-BR-JO45SCNI-mt93s33c.js +0 -143
- package/dist/pt-W3NA4LIZ-fwd1q4j0.js +0 -143
- package/dist/pt-YI4VE4YQ-521681zf.js +0 -161
- package/dist/ro-RKXZUG7Z-pdztdafr.js +0 -161
- package/dist/ro-WLKX6HF5-b9tj8q67.js +0 -143
- package/dist/ru-WBLQ5B2U-8xd4gpv2.js +0 -10
- package/dist/ru-WBLQ5B2U-mswqs9wc.js +0 -10
- package/dist/tr-3U2W2XCA-43ptfc0m.js +0 -143
- package/dist/tr-AA6O2WSR-bj9n80k8.js +0 -161
- package/dist/zh-CN-IPZYQR3P-egjmvyjf.js +0 -143
- package/dist/zh-CN-R2KLHXQV-x6gnk2n0.js +0 -161
- package/dist/zh-TW-RJGCQANM-tt8j5wv2.js +0 -161
- package/dist/zh-TW-YPVSQVGT-b378ztph.js +0 -143
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveMaestroRegistry
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-h718nvz5.js";
|
|
4
4
|
import {
|
|
5
5
|
OutputFormatter,
|
|
6
6
|
RESULTS,
|
|
7
7
|
getOutputFormat,
|
|
8
8
|
getOutputFormatExplicit,
|
|
9
9
|
processContext
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-226mh80j.js";
|
|
11
11
|
import {
|
|
12
12
|
getFileSystem
|
|
13
|
-
} from "./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
13
|
+
} from "./packager-tool-0v3s8r01.js";
|
|
14
|
+
import"./packager-tool-1yh8g550.js";
|
|
15
15
|
|
|
16
16
|
// ../builder-sdk/src/argv.ts
|
|
17
17
|
function addValue(argv, flag, value) {
|
|
@@ -23,7 +23,10 @@ function addValue(argv, flag, value) {
|
|
|
23
23
|
// ../builder-sdk/src/delegate.ts
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
import { createRequire } from "node:module";
|
|
26
|
-
var
|
|
26
|
+
var FLOW_SDK_PACKAGES = [
|
|
27
|
+
{ name: "@uipath/maestro-builder-sdk", minimumVersion: "4.0.0" },
|
|
28
|
+
{ name: "@uipath/flow-sdk", minimumVersion: "1.1.0" }
|
|
29
|
+
];
|
|
27
30
|
function commandLabel(family, verb) {
|
|
28
31
|
return `uip maestro ${family} ${verb}`;
|
|
29
32
|
}
|
|
@@ -77,53 +80,66 @@ async function runChild(cliPath, args, cwd, label) {
|
|
|
77
80
|
});
|
|
78
81
|
});
|
|
79
82
|
}
|
|
83
|
+
function upgradeInstructions() {
|
|
84
|
+
const [current, legacy] = FLOW_SDK_PACKAGES;
|
|
85
|
+
return `npm install --save-dev ${current.name}` + ` (the previous name ${legacy.name} also works and needs an .npmrc` + ` routing @uipath to https://npm.pkg.github.com/).`;
|
|
86
|
+
}
|
|
80
87
|
async function resolveFlowSdk(workspace, label) {
|
|
81
88
|
const fs = getFileSystem();
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
89
|
+
const require2 = createRequire(import.meta.url);
|
|
90
|
+
let firstFailure;
|
|
91
|
+
for (const candidate of FLOW_SDK_PACKAGES) {
|
|
92
|
+
let packagePath;
|
|
93
|
+
try {
|
|
94
|
+
packagePath = require2.resolve(`${candidate.name}/package.json`, {
|
|
95
|
+
paths: [workspace]
|
|
96
|
+
});
|
|
97
|
+
} catch {
|
|
98
|
+
continue;
|
|
99
|
+
}
|
|
100
|
+
const packageText = await fs.readFile(packagePath, "utf-8");
|
|
101
|
+
if (packageText === null) {
|
|
102
|
+
firstFailure ??= {
|
|
103
|
+
ok: false,
|
|
104
|
+
message: `${label}: could not read ${packagePath}.`,
|
|
105
|
+
instructions: `Reinstall ${candidate.name}, then retry.`
|
|
106
|
+
};
|
|
107
|
+
continue;
|
|
108
|
+
}
|
|
109
|
+
let version = "";
|
|
110
|
+
let bin = {};
|
|
111
|
+
try {
|
|
112
|
+
const parsed = JSON.parse(packageText);
|
|
113
|
+
version = typeof parsed.version === "string" ? parsed.version : "";
|
|
114
|
+
if (parsed.bin && typeof parsed.bin === "object") {
|
|
115
|
+
for (const [name, target] of Object.entries(parsed.bin)) {
|
|
116
|
+
if (typeof target === "string")
|
|
117
|
+
bin[name] = target;
|
|
118
|
+
}
|
|
109
119
|
}
|
|
120
|
+
} catch {
|
|
121
|
+
version = "";
|
|
122
|
+
bin = {};
|
|
123
|
+
}
|
|
124
|
+
if (!versionMeetsFloor(version, candidate.minimumVersion)) {
|
|
125
|
+
firstFailure ??= {
|
|
126
|
+
ok: false,
|
|
127
|
+
message: `${label}: found ${candidate.name} ${version || "with no valid version"}; need >= ${candidate.minimumVersion}.`,
|
|
128
|
+
instructions: upgradeInstructions()
|
|
129
|
+
};
|
|
130
|
+
continue;
|
|
110
131
|
}
|
|
111
|
-
} catch {
|
|
112
|
-
version = "";
|
|
113
|
-
bin = {};
|
|
114
|
-
}
|
|
115
|
-
if (!versionMeetsFloor(version, MINIMUM_FLOW_SDK_VERSION)) {
|
|
116
132
|
return {
|
|
117
|
-
ok:
|
|
118
|
-
|
|
119
|
-
|
|
133
|
+
ok: true,
|
|
134
|
+
packageDir: fs.path.dirname(packagePath),
|
|
135
|
+
version,
|
|
136
|
+
bin
|
|
120
137
|
};
|
|
121
138
|
}
|
|
122
|
-
return {
|
|
123
|
-
ok:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
bin
|
|
139
|
+
return firstFailure ?? {
|
|
140
|
+
ok: false,
|
|
141
|
+
message: `${label}: ${FLOW_SDK_PACKAGES[0].name} is not installed in this workspace.`,
|
|
142
|
+
instructions: upgradeInstructions()
|
|
127
143
|
};
|
|
128
144
|
}
|
|
129
145
|
async function delegateToFlowSdk({
|
|
@@ -162,6 +178,8 @@ function sdkCliExample(description, command, message) {
|
|
|
162
178
|
async function resolveLibraryOption(explicit) {
|
|
163
179
|
if (explicit !== undefined)
|
|
164
180
|
return explicit;
|
|
181
|
+
if (getFileSystem().env.getenv("FLOW_SDK_LIBRARY_JSON"))
|
|
182
|
+
return;
|
|
165
183
|
const registry = await resolveMaestroRegistry();
|
|
166
184
|
return registry?.libraryJson;
|
|
167
185
|
}
|
|
@@ -175,7 +193,7 @@ var CHECK_EXAMPLES = {
|
|
|
175
193
|
var registerCheckCommand = (program, family) => {
|
|
176
194
|
const command = program.previewCommand("check <input>").description("Run the authoring-time SDK analyzer on source or an artifact.").option("--source", "Check authored TypeScript").option("--compiled", "Check the compiled artifact");
|
|
177
195
|
if (family === "flow") {
|
|
178
|
-
command.option("--library <dir>", "Connector library directory (defaults to the pulled
|
|
196
|
+
command.option("--library <dir>", "Connector library directory (defaults to $FLOW_SDK_LIBRARY_JSON, else the pulled library)").option("--json", "Print compiled-check diagnostics as JSON").option("--uip", "Resolve missing schemas with the UiPath CLI").option("--max-errors <count>", "Stop after this many compiled-check errors").option("--script-determinism", "Check script blocks for non-deterministic calls").option("--quiet", "Suppress warnings and information");
|
|
179
197
|
}
|
|
180
198
|
const example = CHECK_EXAMPLES[family];
|
|
181
199
|
command.examples(sdkCliExample(`Check a ${family} source file before compiling it`, `uip maestro ${family} check ${example.input} --source`, example.message)).trackedAction(processContext, async (input, options) => {
|
|
@@ -263,15 +281,23 @@ var DECOMPILE_EXAMPLES = {
|
|
|
263
281
|
var registerDecompileCommand = (program, family) => {
|
|
264
282
|
const command = program.previewCommand("decompile <input>").description(`Convert a ${family === "flow" ? ".flow" : "caseplan.json"} artifact to authored TypeScript.`).option("-o, --output <file>", `Output ${family === "flow" ? ".flow.ts" : ".case.ts"} path`).option("--import <specifier>", "SDK import specifier in generated source");
|
|
265
283
|
if (family === "flow") {
|
|
266
|
-
command.option("--strict", "Fail on unsupported constructs")
|
|
284
|
+
command.option("--strict", "Fail on unsupported constructs");
|
|
285
|
+
} else {
|
|
286
|
+
command.option("--library <dir>", "Connector library directory (defaults to the pulled registry)").option("--best-effort", "Emit a marked repair scaffold for unsupported constructs");
|
|
267
287
|
}
|
|
288
|
+
command.option("--no-pipeline", "Do not emit a brownfield pipeline helper");
|
|
268
289
|
const example = DECOMPILE_EXAMPLES[family];
|
|
269
290
|
command.examples(sdkCliExample(`Convert a ${family} artifact back to authored TypeScript`, `uip maestro ${family} decompile ${example.input} --output ${example.output}`, example.message)).trackedAction(processContext, async (input, options) => {
|
|
270
291
|
const argv = [input];
|
|
271
292
|
addValue(argv, "-o", options.output);
|
|
272
293
|
addValue(argv, "--import", options.import);
|
|
294
|
+
if (family === "case") {
|
|
295
|
+
addValue(argv, "--library", await resolveLibraryOption(options.library));
|
|
296
|
+
}
|
|
273
297
|
if (options.strict)
|
|
274
298
|
argv.push("--strict");
|
|
299
|
+
if (options.bestEffort)
|
|
300
|
+
argv.push("--best-effort");
|
|
275
301
|
if (options.pipeline === false)
|
|
276
302
|
argv.push("--no-pipeline");
|
|
277
303
|
const code = await delegateToFlowSdk({
|
|
@@ -309,4 +335,4 @@ export {
|
|
|
309
335
|
registerFlowAuthoringCommands
|
|
310
336
|
};
|
|
311
337
|
|
|
312
|
-
//# debugId=
|
|
338
|
+
//# debugId=C3B47E80D5401B7164756E2164756E21
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VALID_RESOURCE_TYPES
|
|
3
|
+
} from "./packager-tool-27avrkyk.js";
|
|
4
|
+
import {
|
|
5
|
+
collectNodeBindingResourceKeys
|
|
6
|
+
} from "./packager-tool-5zrgh5vh.js";
|
|
7
|
+
import"./packager-tool-48f4ekg5.js";
|
|
8
|
+
import"./packager-tool-gcy5q3jv.js";
|
|
9
|
+
import"./packager-tool-4hx14snw.js";
|
|
10
|
+
import"./packager-tool-ywe4b330.js";
|
|
11
|
+
import"./packager-tool-d1hvc3jz.js";
|
|
12
|
+
import"./packager-tool-h66mj8f4.js";
|
|
13
|
+
import"./packager-tool-xjbyd9mj.js";
|
|
14
|
+
import"./packager-tool-ss7cz4qx.js";
|
|
15
|
+
import"./packager-tool-633f58dt.js";
|
|
16
|
+
import"./packager-tool-h718nvz5.js";
|
|
17
|
+
import"./packager-tool-f0kd5kq4.js";
|
|
18
|
+
import"./packager-tool-0gctz400.js";
|
|
19
|
+
import"./packager-tool-qa9gftnj.js";
|
|
20
|
+
import"./packager-tool-yc4kw997.js";
|
|
21
|
+
import"./packager-tool-7exrv6w7.js";
|
|
22
|
+
import {
|
|
23
|
+
readFlowWorkflow,
|
|
24
|
+
writeFlowWorkflow
|
|
25
|
+
} from "./packager-tool-h2qfyjf1.js";
|
|
26
|
+
import"./packager-tool-1r8c83fc.js";
|
|
27
|
+
import {
|
|
28
|
+
addBinding,
|
|
29
|
+
createBinding
|
|
30
|
+
} from "./packager-tool-tn5e7wnb.js";
|
|
31
|
+
import"./packager-tool-xhzfwa5p.js";
|
|
32
|
+
import"./packager-tool-nkrmjr3a.js";
|
|
33
|
+
import"./packager-tool-rs6jm14d.js";
|
|
34
|
+
import"./packager-tool-hk1gxnth.js";
|
|
35
|
+
import"./packager-tool-em5r6g6j.js";
|
|
36
|
+
import"./packager-tool-9bec251q.js";
|
|
37
|
+
import"./packager-tool-z9bfhmm5.js";
|
|
38
|
+
import"./packager-tool-6ejqwbw9.js";
|
|
39
|
+
import"./packager-tool-mcaf4ewf.js";
|
|
40
|
+
import"./packager-tool-eypvc2kv.js";
|
|
41
|
+
import"./packager-tool-226mh80j.js";
|
|
42
|
+
import"./packager-tool-0v3s8r01.js";
|
|
43
|
+
import"./packager-tool-p9stswjj.js";
|
|
44
|
+
import"./packager-tool-vpqyvh4c.js";
|
|
45
|
+
import"./packager-tool-gbgfwx8f.js";
|
|
46
|
+
import"./packager-tool-58q3tvh7.js";
|
|
47
|
+
import"./packager-tool-sc961w0q.js";
|
|
48
|
+
import"./packager-tool-m5qfverj.js";
|
|
49
|
+
import"./packager-tool-e0p2zsyc.js";
|
|
50
|
+
import"./packager-tool-a42jnpy5.js";
|
|
51
|
+
import"./packager-tool-c23zrhj8.js";
|
|
52
|
+
import"./packager-tool-1yh8g550.js";
|
|
53
|
+
|
|
54
|
+
// src/services/binding-service.ts
|
|
55
|
+
var listBindingsInFlow = async (filePath) => {
|
|
56
|
+
const { workflow } = await readFlowWorkflow(filePath);
|
|
57
|
+
const rawBindings = workflow.bindings ?? [];
|
|
58
|
+
const bindings = rawBindings.map((b) => ({
|
|
59
|
+
id: b.id,
|
|
60
|
+
name: b.name,
|
|
61
|
+
type: b.type,
|
|
62
|
+
resource: b.resource,
|
|
63
|
+
resourceKey: b.resourceKey,
|
|
64
|
+
default: b.default,
|
|
65
|
+
propertyAttribute: b.propertyAttribute,
|
|
66
|
+
resourceSubType: b.resourceSubType
|
|
67
|
+
}));
|
|
68
|
+
return { bindings, count: bindings.length };
|
|
69
|
+
};
|
|
70
|
+
var addBindingToFlow = async (filePath, name, resource, defaultValue, options = {}) => {
|
|
71
|
+
if (!VALID_RESOURCE_TYPES.includes(resource)) {
|
|
72
|
+
throw new Error(`Invalid resource type: "${resource}". Valid resource types: ${VALID_RESOURCE_TYPES.join(", ")}`);
|
|
73
|
+
}
|
|
74
|
+
const { workflow, refMap } = await readFlowWorkflow(filePath);
|
|
75
|
+
const binding = createBinding({
|
|
76
|
+
name,
|
|
77
|
+
value: defaultValue,
|
|
78
|
+
resource,
|
|
79
|
+
resourceKey: options.resourceKey,
|
|
80
|
+
propertyAttribute: options.propertyAttribute,
|
|
81
|
+
resourceSubType: options.resourceSubType
|
|
82
|
+
});
|
|
83
|
+
addBinding(workflow, binding);
|
|
84
|
+
await writeFlowWorkflow(filePath, workflow, refMap);
|
|
85
|
+
const persisted = workflow.bindings.find((b) => b.name === binding.name && b.resource === binding.resource && b.resourceKey === binding.resourceKey && b.propertyAttribute === binding.propertyAttribute);
|
|
86
|
+
const result = persisted ?? binding;
|
|
87
|
+
return {
|
|
88
|
+
binding: {
|
|
89
|
+
id: result.id,
|
|
90
|
+
name: result.name,
|
|
91
|
+
type: result.type,
|
|
92
|
+
resource: result.resource,
|
|
93
|
+
resourceKey: result.resourceKey,
|
|
94
|
+
default: result.default,
|
|
95
|
+
propertyAttribute: result.propertyAttribute,
|
|
96
|
+
resourceSubType: result.resourceSubType
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
var deleteBindingFromFlow = async (filePath, resourceKey) => {
|
|
101
|
+
const { workflow, refMap } = await readFlowWorkflow(filePath);
|
|
102
|
+
const bindings = workflow.bindings ?? [];
|
|
103
|
+
const matching = bindings.filter((b) => b.resourceKey === resourceKey);
|
|
104
|
+
if (matching.length === 0) {
|
|
105
|
+
const available = [...new Set(bindings.map((b) => b.resourceKey))].join(", ") || "(none)";
|
|
106
|
+
throw new Error(`No bindings found with resourceKey "${resourceKey}". Available resourceKeys: ${available}`);
|
|
107
|
+
}
|
|
108
|
+
const nodes = workflow.nodes ?? [];
|
|
109
|
+
const definitions = workflow.definitions ?? [];
|
|
110
|
+
const referencingNodeIds = [];
|
|
111
|
+
for (const node of nodes) {
|
|
112
|
+
const refs = collectNodeBindingResourceKeys(node, bindings, definitions);
|
|
113
|
+
if (refs.has(resourceKey)) {
|
|
114
|
+
referencingNodeIds.push(node.id);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
if (referencingNodeIds.length > 0) {
|
|
118
|
+
throw new Error(`Cannot delete bindings with resourceKey "${resourceKey}": still referenced by nodes: ${referencingNodeIds.join(", ")}`);
|
|
119
|
+
}
|
|
120
|
+
workflow.bindings = bindings.filter((b) => b.resourceKey !== resourceKey);
|
|
121
|
+
await writeFlowWorkflow(filePath, workflow, refMap);
|
|
122
|
+
const deletedBindings = matching.map((b) => ({
|
|
123
|
+
id: b.id,
|
|
124
|
+
name: b.name,
|
|
125
|
+
type: b.type,
|
|
126
|
+
resource: b.resource,
|
|
127
|
+
resourceKey: b.resourceKey,
|
|
128
|
+
default: b.default,
|
|
129
|
+
propertyAttribute: b.propertyAttribute,
|
|
130
|
+
resourceSubType: b.resourceSubType
|
|
131
|
+
}));
|
|
132
|
+
return { deletedBindings, count: deletedBindings.length };
|
|
133
|
+
};
|
|
134
|
+
export {
|
|
135
|
+
VALID_RESOURCE_TYPES,
|
|
136
|
+
addBindingToFlow,
|
|
137
|
+
deleteBindingFromFlow,
|
|
138
|
+
listBindingsInFlow
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
//# debugId=F575449B13DC21C764756E2164756E21
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGlobalThis
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-0gctz400.js";
|
|
4
4
|
import {
|
|
5
5
|
AUTH_CANCELLED_ERROR_CODE
|
|
6
|
-
} from "./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
6
|
+
} from "./packager-tool-yc4kw997.js";
|
|
7
|
+
import"./packager-tool-1yh8g550.js";
|
|
8
8
|
|
|
9
9
|
// ../auth/src/strategies/browser-strategy.ts
|
|
10
10
|
class BrowserAuthStrategy {
|