@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.
- package/README.md +2 -1
- package/dist/THIRD-PARTY-NOTICES.md +12 -12
- package/dist/{applicationinsights-web-8m26566f.js → applicationinsights-web-c6epsatg.js} +1 -1
- package/dist/{authoring-az69rn0j.js → authoring-f5ttjy3d.js} +5 -5
- package/dist/{binding-service-jdzw5h8a.js → binding-service-b4kes1cr.js} +37 -34
- package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
- package/dist/case-catalog-h4fjn6q3.js +304 -0
- package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
- package/dist/{connector-service-yq01bg3n.js → connector-service-xjszs9v3.js} +156 -76
- package/dist/{conversion-7O2PDOQB-xx5zfw6n.js → conversion-A2KZVSOA-313011c5.js} +256 -90
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-xvwqrst4.js} +1282 -10
- package/dist/{de-2BEKRUMY-MD7L477H-7mwat6r6.js → de-HF4GJ4EK-xrrajtht.js} +1277 -15
- package/dist/{de-VQWT6L5Y-mch4qwyv.js → de-IQ44WEAK-ayb953tp.js} +19 -4
- package/dist/{de-3CU65EDB-r7r10am9.js → de-T4OCQPNU-hrqdjart.js} +6 -6
- package/dist/{debug-conversation-trigger-62ebex43.js → debug-conversation-trigger-j20ms2xc.js} +4 -9
- package/dist/{debug-http-client-ykzhg1zx.js → debug-http-client-fypqjmfs.js} +6 -5
- package/dist/{debug-service-xq8vhrkq.js → debug-service-zv5hj0cx.js} +11 -6
- package/dist/{edge-service-w5jbtehr.js → edge-service-8jrhdfvf.js} +41 -31
- package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
- package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
- package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
- package/dist/{en-X6T4SP2Y-FPGCJIFV-wsbs6fqx.js → en-ETY46SDS-RI6EZCN6-x64e1cks.js} +67 -3
- package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
- package/dist/{en-WPCQ4JKF-jnj0q4e1.js → en-JZXY3PYE-m54g0zx7.js} +4 -4
- package/dist/{en-LQHKFSEY-jz2knr92.js → en-LQHKFSEY-bypy1p39.js} +1 -1
- package/dist/{en-U2NSIIZN-whenw6wh.js → en-T6VSEF3E-1hq4zfrt.js} +5 -3
- package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
- package/dist/{es-7ZTQTGKN-TXQBFYRA-q5v6wcmn.js → es-IYP2OLUY-7SKYGF6A-rd9jrktp.js} +1272 -11
- package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
- package/dist/{es-MX-S2RFDGDE-x9r0tv30.js → es-MX-A2DFN7CA-q5m62f60.js} +19 -4
- package/dist/{es-MX-IHGRIEWH-23X37OPS-vx539dfs.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
- package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-y7xh0r57.js} +1281 -10
- package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
- package/dist/{es-MX-F7ZEHSNE-gxpm47vv.js → es-MX-YQNHSXDT-fd5ybreb.js} +6 -6
- package/dist/{es-EP563JWQ-1agj5n4e.js → es-TNUPGHGG-886me0sq.js} +19 -4
- package/dist/{es-KHVY67FO-natcvmmm.js → es-YHECPVFB-7jsrxa01.js} +6 -6
- package/dist/extraction-availability-service-h08mngty.js +343 -0
- package/dist/{first-party-service-6b9ajm57.js → first-party-service-qfg2m05s.js} +1 -1
- package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
- package/dist/{flow-debug-service-vt2k0v46.js → flow-debug-service-jb9jxat1.js} +232 -156
- package/dist/flow-eval-node-target-scxb918a.js +31 -0
- package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
- package/dist/{flow-eval-run-service-vh2041qg.js → flow-eval-run-service-n68xb9sk.js} +116 -119
- package/dist/{flow-eval-service-q2zp54gq.js → flow-eval-service-88qyrg7d.js} +141 -337
- package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
- package/dist/flow-init-service-v6jvdmqa.js +27 -0
- package/dist/flow-io-4z79xnb3.js +29 -0
- package/dist/{flow-migrate-service-wgrz2msp.js → flow-migrate-service-gbdh07zh.js} +20 -20
- package/dist/{flow-pack-service-kze10925.js → flow-pack-service-gca3ekj7.js} +89 -90
- package/dist/flow-validate-service-z0z4ndn8.js +49 -0
- package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
- package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-gjhmym96.js} +1282 -10
- package/dist/{fr-7ZDL4MVO-CXMRZDOF-b816xj36.js → fr-NISALSPL-vzfmygd7.js} +1277 -15
- package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
- package/dist/{fr-I42FODC5-p80x5v4b.js → fr-W3AFCEDL-cjfr0xqp.js} +6 -6
- package/dist/{governance-fetcher-y0q4m57j.js → governance-fetcher-26h7eqrk.js} +7 -7
- package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
- package/dist/{hitl-service-8rvw1zsh.js → hitl-service-v94wsz1f.js} +11 -11
- package/dist/{index-wss1mf5j.js → index-9a52zr4w.js} +3033 -767
- package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
- package/dist/{index-amqqhge1.js → index-ewg6ygg0.js} +1 -1
- package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
- package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
- package/dist/index-kwrhrb9p.js +161 -0
- package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
- package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
- package/dist/{index-vvf52vnn.js → index-re7r0ezw.js} +34 -27
- package/dist/{index-5y5pbdx5.js → index-sazh9ymk.js} +13 -11
- package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
- package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
- package/dist/index.js +16 -14
- package/dist/{index.umd.min-ttg1qc0x.js → index.umd.min-5yxdz5j3.js} +1 -1
- package/dist/init.js +18 -17
- package/dist/{inline-entity-resolver-aty0xw8s.js → inline-entity-resolver-r7ebmssg.js} +11 -11
- package/dist/input-reader-3zvbsn6a.js +12 -0
- package/dist/integration-service-fetcher-0vdd4pbb.js +65 -0
- package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
- package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
- package/dist/{ja-LGAM5HKR-NTPKIZEM-aaj773vd.js → ja-HTS2Q4YG-7Q6WUI6H-j8dkhe93.js} +1278 -11
- package/dist/{ja-WY2W6733-ayr36h1f.js → ja-HWFIXC2V-gg9xvhsv.js} +19 -4
- package/dist/{ja-GI3OUHPZ-28fy60r0.js → ja-WOANIGX4-qnyzk2t8.js} +6 -6
- package/dist/{jmespath-wwym30dp.js → jmespath-dbsejrwn.js} +1 -1
- package/dist/json-input-pj18qjt0.js +17 -0
- package/dist/{known-types-v9sxcq1c.js → known-types-pen5h5kz.js} +4 -4
- package/dist/{ko-7B4SUZB7-2SLI636D-khdzwz6c.js → ko-3JFGTMNY-VT6UQ3IS-z5n880em.js} +1272 -11
- package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
- package/dist/{ko-H2RGQWKJ-9696w762.js → ko-L3BMYD3Q-exfhqfbh.js} +19 -4
- package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
- package/dist/{ko-RYKAL74T-10m4z8vw.js → ko-RMOVRC7M-whyynn7n.js} +6 -6
- package/dist/library-option-9fqvdh8v.js +14 -0
- package/dist/localization-axzmx1mb.js +45 -0
- package/dist/{maestro-automate-entry-d1v5q5mv.js → maestro-automate-entry-mrap5xmt.js} +2 -2
- package/dist/manifest-hmeqvk74.js +60 -0
- package/dist/node-service-d6211mt9.js +65 -0
- package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
- package/dist/{node-sync-service-6h12t41d.js → node-sync-service-6wbypdgb.js} +22 -15
- package/dist/node-w3wny6qw.js +172 -0
- package/dist/packager-tool-0x8g8b5r.js +25 -0
- package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
- package/dist/packager-tool-1yew22sn.js +9 -0
- package/dist/{packager-tool-14rdgz3c.js → packager-tool-3sxg16ft.js} +7 -7
- package/dist/packager-tool-40bxn7j2.js +63 -0
- package/dist/{packager-tool-6an893wm.js → packager-tool-4f4jp7ez.js} +3 -3
- package/dist/packager-tool-4gh9ftn8.js +224 -0
- package/dist/{packager-tool-pxq0bwp0.js → packager-tool-4hn7v05x.js} +16 -9
- package/dist/packager-tool-4skf6ak1.js +31 -0
- package/dist/{packager-tool-951nhh3e.js → packager-tool-5n1v6y3q.js} +1 -1
- package/dist/{packager-tool-2b0tn4p4.js → packager-tool-6azsz9h8.js} +7 -7
- package/dist/{packager-tool-zydkpqta.js → packager-tool-6sqq0mzd.js} +330 -902
- package/dist/{packager-tool-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
- package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
- package/dist/{packager-tool-4w37xezc.js → packager-tool-7tmtjb7p.js} +13 -13
- package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
- package/dist/packager-tool-8qc7ram5.js +16 -0
- package/dist/packager-tool-942v78s9.js +40 -0
- package/dist/packager-tool-9tv5cyhr.js +16 -0
- package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
- package/dist/{packager-tool-p7f12rkc.js → packager-tool-b14qj57y.js} +9 -7
- package/dist/packager-tool-bbq5kbb9.js +318 -0
- package/dist/{packager-tool-xhrm7cgz.js → packager-tool-bcsjm5hv.js} +470 -315
- package/dist/{packager-tool-xdaxdc00.js → packager-tool-bn09xgy8.js} +14 -14
- package/dist/{packager-tool-m30d5s5s.js → packager-tool-bv24wxxz.js} +24 -10
- package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
- package/dist/packager-tool-c8mn8jr0.js +1060 -0
- package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
- package/dist/{packager-tool-vb1ect63.js → packager-tool-e8bxpwdp.js} +21 -21
- package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
- package/dist/{packager-tool-y1bcfvcs.js → packager-tool-frt20zp9.js} +2 -2
- package/dist/packager-tool-geh2qybm.js +179 -0
- package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
- package/dist/{packager-tool-v1q6601f.js → packager-tool-hyx81x30.js} +584 -651
- package/dist/{packager-tool-67h9vcvz.js → packager-tool-j6m8nkms.js} +1123 -295
- package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
- package/dist/packager-tool-kh1taypp.js +41 -0
- package/dist/{packager-tool-dc12ytg5.js → packager-tool-krr2x2ny.js} +10 -10
- package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
- package/dist/{packager-tool-9m5vba43.js → packager-tool-md1vcqh4.js} +233 -14
- package/dist/{packager-tool-4g87fbz6.js → packager-tool-mm6a12y4.js} +8 -8
- package/dist/{packager-tool-2n6eg5eq.js → packager-tool-mvzswn9n.js} +134 -68
- package/dist/{packager-tool-x4xdtsbp.js → packager-tool-n4fky033.js} +15328 -7171
- package/dist/{packager-tool-hyd7qpfw.js → packager-tool-npm5tzpt.js} +489 -118
- package/dist/packager-tool-p8ncdnsj.js +30 -0
- package/dist/{packager-tool-m126jzdd.js → packager-tool-qkdbfkev.js} +14 -11
- package/dist/{packager-tool-7mxn3e7j.js → packager-tool-qtz83h01.js} +4 -2
- package/dist/{packager-tool-hk0fnvz5.js → packager-tool-qx8wvedy.js} +1 -1
- package/dist/{packager-tool-q2kwk5bf.js → packager-tool-qyhvgenw.js} +6 -4
- package/dist/{packager-tool-6pyaaxzk.js → packager-tool-rcjtmknf.js} +351 -42
- package/dist/{packager-tool-jjkypwge.js → packager-tool-s8jxyjgj.js} +15 -4
- package/dist/packager-tool-swvgkcq7.js +5973 -0
- package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
- package/dist/packager-tool-t0zz0jtb.js +423 -0
- package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
- package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
- package/dist/{packager-tool-dbc4hv4n.js → packager-tool-vtz6gvav.js} +8 -8
- package/dist/{packager-tool-f4t73ja0.js → packager-tool-wk6jaz9m.js} +228 -487
- package/dist/packager-tool-wvf6b31h.js +50 -0
- package/dist/packager-tool-xgh2t48c.js +255 -0
- package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
- package/dist/{packager-tool-h1vt1vr2.js → packager-tool-ybn5fymq.js} +2 -2
- package/dist/packager-tool-yszyrt27.js +184 -0
- package/dist/packager-tool-yx0hy6pt.js +125 -0
- package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
- package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
- package/dist/{node-tx150jvs.js → packager-tool-zrh55d4c.js} +190 -286
- package/dist/packager-tool.js +9 -9
- package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
- package/dist/provision-node-service-b8nkty72.js +86 -0
- package/dist/{pt-2RGHDOG4-gwe2ptvg.js → pt-6RCFX6CY-v42k92ey.js} +19 -4
- package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
- package/dist/{pt-BR-PHLFHMXZ-JFPKUXIZ-1cttmarb.js → pt-BR-7H7BP5DT-IOHWNCIU-kzbjgs8p.js} +1277 -11
- package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
- package/dist/{pt-BR-JWHVZE6H-gvkknv49.js → pt-BR-HDVM5NFA-azfx4gg9.js} +19 -4
- package/dist/{pt-BR-IL3KLBID-m1mvqqzb.js → pt-BR-HJIMGPPX-s18rb4vg.js} +6 -6
- package/dist/{pt-VLA5IOHO-8t4pze0h.js → pt-DZG5FPWK-6czrqk2t.js} +6 -6
- package/dist/{pt-N7ZTJT4W-GVODJMRX-ek3zjp9k.js → pt-QWGSZKMD-RTKSQCYA-j9wqwb10.js} +1272 -11
- package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
- package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
- package/dist/{ro-FLNXVYJI-ZN43XZKK-zrcvcsj5.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
- package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-1ss8n5t0.js} +1276 -10
- package/dist/{ro-53TS7SWG-hnjx1c7b.js → ro-EEKX2X3R-tz9prn67.js} +19 -4
- package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
- package/dist/{ro-IRNFX376-mh84zk3n.js → ro-SX7RUXGR-kknxsr3g.js} +6 -6
- package/dist/ru-FNRVPXE5-7q150qf8.js +7 -0
- package/dist/ru-GSCT4ARZ-6OTD7JLB-j2ny4frk.js +12 -0
- package/dist/schema-document-service-007f2kw4.js +30 -0
- package/dist/{serialization-Z3UYT6BW-c994gtwh.js → serialization-7CB4AREI-b012f3vq.js} +482 -6161
- package/dist/services/binding-id-rule.d.ts +13 -0
- package/dist/services/binding-resource-types.d.ts +12 -0
- package/dist/services/extract-schema/default-schema-document.d.ts +9 -4
- package/dist/services/extract-schema/types.d.ts +73 -0
- package/dist/services/extract-schema/validate-schema-document.d.ts +75 -0
- package/dist/services/flow-scopes.d.ts +15 -0
- package/dist/services/flow-structure-checks.d.ts +8 -0
- package/dist/services/flow-validate-service.d.ts +44 -11
- package/dist/services/idp-processor-provisioning.d.ts +35 -0
- package/dist/services/node-service.d.ts +17 -23
- package/dist/services/node-validators/extract-schema-validator.d.ts +13 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/node-validators/js-expression-syntax-validator.d.ts +2 -1
- package/dist/services/node-validators/types.d.ts +2 -7
- package/dist/services/vars-reference-rule.d.ts +6 -0
- package/dist/solution-auth-k0s83ake.js +11 -0
- package/dist/{solution-definition-helper-6zwd9hjs.js → solution-definition-helper-qjj01xh0.js} +1 -1
- package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
- package/dist/taggable-variables-nc8td6er.js +134 -0
- package/dist/{tidy-service-g9qcarr9.js → tidy-service-ehhraxge.js} +17 -18
- package/dist/tool.js +16 -14
- package/dist/{tr-PIQY7JIT-2mkwk0kq.js → tr-B6TLBSLH-1797wxkh.js} +19 -4
- package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-CEOTUJRD-pv26erw5.js} +1276 -10
- package/dist/{tr-7AIZZWZ6-ESAESUPL-kgj5s586.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -15
- package/dist/{tr-EJKY7DVQ-rkctqva4.js → tr-OUB57VJ6-52t7zdzb.js} +6 -6
- package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
- package/dist/utils/handle-expansion.d.ts +2 -2
- package/dist/validation.js +42 -39
- package/dist/{variable-service-1s0z3e9j.js → variable-service-m8m88dy6.js} +17 -12
- package/dist/{wait-for-flow-job-vy4t4tbj.js → wait-for-flow-job-k990nmdn.js} +15 -12
- package/dist/{zh-CN-NIEVKROA-q4tbbwqz.js → zh-CN-7KN22KSH-mwvgyym6.js} +19 -4
- package/dist/{zh-CN-4FH7E7UL-84y6j2ea.js → zh-CN-FKWWWLFR-n15rj6p8.js} +6 -6
- package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
- package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-BB2LRIMQ-tj7kwma4.js} +1276 -10
- package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-0t4qqqdc.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -15
- package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
- package/dist/{zh-TW-5WQA6QTM-hns69sd4.js → zh-TW-52QTEYIZ-2mj7hy3e.js} +6 -6
- package/dist/{zh-TW-MSQM7YTT-m7r7nwnj.js → zh-TW-I7BH3XP2-7rb4xpzg.js} +19 -4
- package/dist/{zh-TW-7RUFEVFK-VKVRSVTP-8zmewakq.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
- package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-wv5068r9.js} +1277 -11
- package/package.json +2 -2
- package/dist/flow-eval-node-target-20cnm783.js +0 -29
- package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
- package/dist/flow-init-service-4rvjej8m.js +0 -26
- package/dist/flow-io-e7t1s141.js +0 -24
- package/dist/flow-validate-service-wfkxyvkc.js +0 -46
- package/dist/input-reader-jjq3r7ry.js +0 -11
- package/dist/localization-erchshqr.js +0 -45
- package/dist/node-service-2mbw4sjk.js +0 -64
- package/dist/packager-tool-08dsxdz8.js +0 -56
- package/dist/packager-tool-2sazb7th.js +0 -2
- package/dist/packager-tool-9217bxm2.js +0 -6
- package/dist/packager-tool-cvh1a0nm.js +0 -16
- package/dist/packager-tool-d07g2kpn.js +0 -25
- package/dist/packager-tool-f7rk9xhv.js +0 -50
- package/dist/packager-tool-jd3v0bh1.js +0 -26
- package/dist/packager-tool-k3egwd1m.js +0 -15
- package/dist/packager-tool-mfj268wk.js +0 -18
- package/dist/packager-tool-q0f1dvtd.js +0 -40
- package/dist/packager-tool-wr7gn964.js +0 -2
- package/dist/packager-tool-z1w16vjv.js +0 -461
- package/dist/ru-GSCT4ARZ-FTVCGQTL-7d8rpmsn.js +0 -12
- package/dist/ru-T73OPRTC-50m7tty9.js +0 -7
- package/dist/services/connector-request-buckets.d.ts +0 -1
- package/dist/services/flow-eval-file-store.d.ts +0 -1
- package/dist/services/inline-entity-resolver.d.ts +0 -22
- package/dist/services/packaging-utils.d.ts +0 -130
- package/dist/services/preview-id-rule.d.ts +0 -33
- package/dist/services/ui-only-node-types.d.ts +0 -1
- package/dist/solution-auth-j8x84n5z.js +0 -11
- package/dist/utils/flow-io.d.ts +0 -19
- package/dist/utils/workflow-file-format.d.ts +0 -14
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-4hn7v05x.js";
|
|
7
7
|
|
|
8
8
|
// ../maestro-sdk/src/registry/snapshot.ts
|
|
9
9
|
function maestroRegistryRoot(filesystem) {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
toPortableRelativePath2,
|
|
3
|
+
readUipxFile2,
|
|
4
|
+
findNearestParentUipxFile2,
|
|
5
|
+
isProjectRegisteredInSolution2,
|
|
6
|
+
findListedProjectDir2
|
|
7
|
+
} from "./packager-tool-mvzswn9n.js";
|
|
8
|
+
|
|
9
|
+
// ../executor/flow-debug/src/enclosing-solution.ts
|
|
10
|
+
async function findRegisteredSolutionFile(fs, projectDir) {
|
|
11
|
+
const discovery = await findNearestParentUipxFile2(fs, projectDir);
|
|
12
|
+
if (discovery.status === "skipped") {
|
|
13
|
+
throw new Error(discovery.registration.Instructions);
|
|
14
|
+
}
|
|
15
|
+
if (discovery.status === "notFound") {
|
|
16
|
+
throw new Error(`No .uipx file found above ${projectDir}. Pass --solution-id and --project-id, or run from a project inside a solution.`);
|
|
17
|
+
}
|
|
18
|
+
if (!await isProjectRegisteredInSolution2(fs, projectDir, discovery.solutionFile)) {
|
|
19
|
+
throw new Error(`${discovery.solutionFile} does not list ${projectDir}. Run 'uip solution projects add "${projectDir}" "${discovery.solutionFile}"' to add it.`);
|
|
20
|
+
}
|
|
21
|
+
return discovery.solutionFile;
|
|
22
|
+
}
|
|
23
|
+
var buildInvalidSolutionManifestInstructions = (solutionFile) => `Make ${solutionFile} a JSON object with a "SolutionId" (any new GUID; the next debug replaces it with Studio Web's) and a non-empty "Projects" list, then retry.`;
|
|
24
|
+
async function readEnclosingSolution(fs, solutionFile, projectDir) {
|
|
25
|
+
const solutionDir = fs.path.dirname(solutionFile);
|
|
26
|
+
const { uipx, uipxFileName } = await readUipxFile2(fs, solutionDir);
|
|
27
|
+
return {
|
|
28
|
+
solutionFile,
|
|
29
|
+
solutionDir,
|
|
30
|
+
uipx,
|
|
31
|
+
uipxFileName,
|
|
32
|
+
projectRelDir: await projectRelativeDir(fs, solutionDir, projectDir, uipx.Projects)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
async function projectRelativeDir(fs, solutionDir, projectDir, projects) {
|
|
36
|
+
return await findListedProjectDir2(fs, solutionDir, projectDir, projects) ?? toPortableRelativePath2(fs.path.relative(solutionDir, projectDir));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { findRegisteredSolutionFile, buildInvalidSolutionManifestInstructions, readEnclosingSolution, projectRelativeDir };
|
|
40
|
+
|
|
41
|
+
//# debugId=4786A34A077A71AB64756E2164756E21
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSolutionInlineEntities2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-gjjr2a2w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./packager-tool-
|
|
5
|
+
findInlineEntity2,
|
|
6
|
+
findUnboundInlineEntityNodes2,
|
|
7
|
+
describeUnboundInlineEntity2
|
|
8
|
+
} from "./packager-tool-n4fky033.js";
|
|
9
9
|
|
|
10
|
-
// src/
|
|
10
|
+
// ../executor/flow-debug/src/inline-entity-resolver.ts
|
|
11
11
|
async function resolveInlineEntity2(fs, flowFilePath, entityName) {
|
|
12
12
|
const entities = await readSolutionInlineEntities2(fs, flowFilePath);
|
|
13
|
-
return
|
|
13
|
+
return findInlineEntity2(entities, entityName);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
class UnboundInlineEntityError2 extends Error {
|
|
@@ -19,12 +19,12 @@ class UnboundInlineEntityError2 extends Error {
|
|
|
19
19
|
constructor(nodes, flowFilePath) {
|
|
20
20
|
super(`${nodes.length} Data Fabric node(s) name an entity this solution authors locally but carry no Entity binding: ${nodes.map((node) => `"${node.nodeId}" (${node.entityName})`).join(", ")}.`);
|
|
21
21
|
this.name = "UnboundInlineEntityError";
|
|
22
|
-
this.instructions = nodes.map((node) =>
|
|
22
|
+
this.instructions = nodes.map((node) => describeUnboundInlineEntity2(node, flowFilePath)).join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
async function assertInlineEntitiesBound2(fs, flowFilePath, workflow) {
|
|
27
|
-
const unbound =
|
|
27
|
+
const unbound = findUnboundInlineEntityNodes2(workflow, await readSolutionInlineEntities2(fs, flowFilePath));
|
|
28
28
|
if (unbound.length > 0) {
|
|
29
29
|
throw new UnboundInlineEntityError2(unbound, flowFilePath);
|
|
30
30
|
}
|
|
@@ -32,4 +32,4 @@ async function assertInlineEntitiesBound2(fs, flowFilePath, workflow) {
|
|
|
32
32
|
|
|
33
33
|
export { resolveInlineEntity2, UnboundInlineEntityError2, assertInlineEntitiesBound2 };
|
|
34
34
|
|
|
35
|
-
//# debugId=
|
|
35
|
+
//# debugId=95760FB217EC443264756E2164756E21
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-4hn7v05x.js";
|
|
7
7
|
import {
|
|
8
|
-
carriedErrorCode,
|
|
9
8
|
RESULTS,
|
|
9
|
+
carriedErrorCode,
|
|
10
10
|
Option,
|
|
11
11
|
getOutputSink,
|
|
12
12
|
pascalCaseDataKeys,
|
|
@@ -17,10 +17,27 @@ import {
|
|
|
17
17
|
legacySecondArg,
|
|
18
18
|
usageError,
|
|
19
19
|
addDeprecatedOptionAlias
|
|
20
|
-
} from "./packager-tool-
|
|
20
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveMaestroRegistry
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-jjnfwfd4.js";
|
|
24
|
+
|
|
25
|
+
// ../builder-sdk/src/library-option.ts
|
|
26
|
+
async function resolveLibraryOption2(explicit) {
|
|
27
|
+
if (explicit !== undefined)
|
|
28
|
+
return explicit;
|
|
29
|
+
if (getFileSystem().env.getenv("FLOW_SDK_LIBRARY_JSON"))
|
|
30
|
+
return;
|
|
31
|
+
const registry = await resolveMaestroRegistry();
|
|
32
|
+
return registry?.libraryJson;
|
|
33
|
+
}
|
|
34
|
+
async function connectorLibraryInPlay2(explicit) {
|
|
35
|
+
if (explicit !== undefined)
|
|
36
|
+
return true;
|
|
37
|
+
if (getFileSystem().env.getenv("FLOW_SDK_LIBRARY_JSON"))
|
|
38
|
+
return true;
|
|
39
|
+
return (await resolveMaestroRegistry())?.libraryJson !== undefined;
|
|
40
|
+
}
|
|
24
41
|
|
|
25
42
|
// ../builder-sdk/src/node-runner.ts
|
|
26
43
|
import { spawn as spawn2 } from "node:child_process";
|
|
@@ -54,7 +71,17 @@ var FLOW_SDK_PACKAGE = {
|
|
|
54
71
|
var BPMN_CONNECTOR_OPTIONS_VERSION = "6.15.0";
|
|
55
72
|
var FLOW_MERGE_STRICT_VERSION = "6.20.0";
|
|
56
73
|
var FLOW_DECOMPILE_SCRIPTS_VERSION = "6.57.0";
|
|
74
|
+
var FLOW_CHECK_BASELINE_VERSION = "6.64.0";
|
|
75
|
+
var FLOW_MERGE_COMPILE_VERSION = "6.28.0";
|
|
76
|
+
var BPMN_MERGE_SOURCE_CAPABILITY = "bpmn-merge-source";
|
|
77
|
+
var BPMN_CHECK_BASELINE_CAPABILITY = "bpmn-check-baseline";
|
|
78
|
+
var CAPABILITY_SINCE = {
|
|
79
|
+
"prepare-resource": "6.73.0",
|
|
80
|
+
[BPMN_MERGE_SOURCE_CAPABILITY]: "6.95.0",
|
|
81
|
+
"fetch-definitions": "6.97.0"
|
|
82
|
+
};
|
|
57
83
|
var CASE_CONNECTOR_OPTIONS_VERSION = "6.18.1";
|
|
84
|
+
var FETCH_DEFINITIONS_CAPABILITY = "fetch-definitions";
|
|
58
85
|
function commandLabel(family, verb) {
|
|
59
86
|
return `uip maestro ${family} ${verb}`;
|
|
60
87
|
}
|
|
@@ -117,14 +144,24 @@ function failureReason(out, err) {
|
|
|
117
144
|
`).filter((line) => line.trim() !== "");
|
|
118
145
|
return lines.at(-1)?.trim() ?? out.trim();
|
|
119
146
|
}
|
|
120
|
-
|
|
147
|
+
var MISSING_BUILDER_API = [
|
|
148
|
+
/\bis not a function$/,
|
|
149
|
+
new RegExp(`The requested module '${FLOW_SDK_PACKAGE.name}(?:/[^']*)?' does not provide an export named '[^']+'$`)
|
|
150
|
+
];
|
|
151
|
+
function failureInstructions(detail, err, { version, found }, sourceCallsBuilderApi) {
|
|
152
|
+
if (sourceCallsBuilderApi && MISSING_BUILDER_API.some((reason) => reason.test(detail))) {
|
|
153
|
+
return `The source may call an API that ${FLOW_SDK_PACKAGE.name} ${version} does not have. Fix the call if it is misspelled; if it comes from a newer release, upgrade the SDK. ${upgradeInstructions(found)}`;
|
|
154
|
+
}
|
|
155
|
+
return err ? "Fix what the builder SDK reported (on stderr, and in Message), then retry." : "Fix what the builder SDK reported (see Message), then retry.";
|
|
156
|
+
}
|
|
157
|
+
function outcomeResult(outcome, label, sdk, sourceCallsBuilderApi) {
|
|
121
158
|
if (outcome.kind === "spawn-error") {
|
|
122
159
|
return {
|
|
123
160
|
ok: false,
|
|
124
161
|
exitCode: 1,
|
|
125
162
|
result: RESULTS.Failure,
|
|
126
163
|
message: `${label}: ${outcome.message}`,
|
|
127
|
-
instructions: outcome.instructions ?? (found === "host" ? `This host could not start ${FLOW_SDK_PACKAGE.name}. Report it to the host; retrying will fail the same way.` : "Check that node is on PATH, then retry.")
|
|
164
|
+
instructions: outcome.instructions ?? (sdk.found === "host" ? `This host could not start ${FLOW_SDK_PACKAGE.name}. Report it to the host; retrying will fail the same way.` : "Check that node is on PATH, then retry.")
|
|
128
165
|
};
|
|
129
166
|
}
|
|
130
167
|
const { exitCode, signal, out, err } = outcome;
|
|
@@ -138,7 +175,7 @@ function outcomeResult(outcome, label, found) {
|
|
|
138
175
|
exitCode,
|
|
139
176
|
result: RESULTS.Failure,
|
|
140
177
|
message: `${label}: ${detail}`,
|
|
141
|
-
instructions:
|
|
178
|
+
instructions: failureInstructions(detail, err, sdk, sourceCallsBuilderApi),
|
|
142
179
|
...out.trim() ? { data: stdoutAsData(out) } : {}
|
|
143
180
|
};
|
|
144
181
|
}
|
|
@@ -159,10 +196,22 @@ function upgradeInstructions(found) {
|
|
|
159
196
|
var LIBRARY_VERBS = new Set([
|
|
160
197
|
"flow compile",
|
|
161
198
|
"flow check",
|
|
199
|
+
"case compile",
|
|
200
|
+
"case check",
|
|
201
|
+
"case decompile",
|
|
202
|
+
"bpmn compile",
|
|
203
|
+
"bpmn check",
|
|
204
|
+
"bpmn decompile",
|
|
162
205
|
"registry search",
|
|
163
206
|
"registry describe",
|
|
164
207
|
"registry pull"
|
|
165
208
|
]);
|
|
209
|
+
var FETCHING_VERBS = new Set([
|
|
210
|
+
...LIBRARY_VERBS,
|
|
211
|
+
"flow decompile",
|
|
212
|
+
"flow merge",
|
|
213
|
+
"bpmn merge"
|
|
214
|
+
]);
|
|
166
215
|
function pullAnswer(sha256, libraryJson) {
|
|
167
216
|
const sink = getOutputSink();
|
|
168
217
|
sink.writeErr(`registry pull: connector library ${sha256.slice(0, 12)}… is ready.
|
|
@@ -171,6 +220,48 @@ function pullAnswer(sha256, libraryJson) {
|
|
|
171
220
|
`);
|
|
172
221
|
return { ok: true, data: { sha256, library: libraryJson } };
|
|
173
222
|
}
|
|
223
|
+
async function sdkCapability({
|
|
224
|
+
capabilities,
|
|
225
|
+
packageDir,
|
|
226
|
+
version
|
|
227
|
+
}, capability) {
|
|
228
|
+
if (capabilities !== undefined) {
|
|
229
|
+
return { has: capabilities.includes(capability), list: "reported" };
|
|
230
|
+
}
|
|
231
|
+
if (packageDir === undefined) {
|
|
232
|
+
const since = ownCapabilitySince(capability);
|
|
233
|
+
return {
|
|
234
|
+
has: since !== undefined && versionMeetsFloor(version, since),
|
|
235
|
+
list: "none"
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
const fs = getFileSystem();
|
|
239
|
+
const text = await fs.readFile(fs.path.join(packageDir, "package.json"), "utf-8");
|
|
240
|
+
if (text === null)
|
|
241
|
+
return { has: false, list: "none" };
|
|
242
|
+
try {
|
|
243
|
+
const parsed = JSON.parse(text);
|
|
244
|
+
return Array.isArray(parsed.cliCapabilities) ? {
|
|
245
|
+
has: parsed.cliCapabilities.includes(capability),
|
|
246
|
+
list: "read"
|
|
247
|
+
} : { has: false, list: "none" };
|
|
248
|
+
} catch {
|
|
249
|
+
return { has: false, list: "none" };
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
function missingCapabilityReason(list, capability) {
|
|
253
|
+
if (list === "reported") {
|
|
254
|
+
return `does not (it reports no "${capability}" among its capabilities)`;
|
|
255
|
+
}
|
|
256
|
+
if (list === "read") {
|
|
257
|
+
return `does not (it lists no "${capability}" in its cliCapabilities)`;
|
|
258
|
+
}
|
|
259
|
+
const since = ownCapabilitySince(capability);
|
|
260
|
+
return since === undefined ? `reports no capabilities, and no release is known to ship "${capability}"` : `reports no capabilities; "${capability}" ships from ${since}`;
|
|
261
|
+
}
|
|
262
|
+
function ownCapabilitySince(capability) {
|
|
263
|
+
return Object.hasOwn(CAPABILITY_SINCE, capability) ? CAPABILITY_SINCE[capability] : undefined;
|
|
264
|
+
}
|
|
174
265
|
async function runFlowSdk2({
|
|
175
266
|
family,
|
|
176
267
|
commandVerb,
|
|
@@ -178,7 +269,11 @@ async function runFlowSdk2({
|
|
|
178
269
|
argv,
|
|
179
270
|
passthrough = [],
|
|
180
271
|
cwd,
|
|
181
|
-
requiresSdkVersion
|
|
272
|
+
requiresSdkVersion,
|
|
273
|
+
requiresSdkCapability,
|
|
274
|
+
sourceCallsBuilderApi = false,
|
|
275
|
+
requiresConnectorLibrary = false,
|
|
276
|
+
connectorLibraryGate
|
|
182
277
|
}) {
|
|
183
278
|
const workspace = cwd ?? getFileSystem().env.cwd();
|
|
184
279
|
const label = commandLabel(family, commandVerb);
|
|
@@ -220,44 +315,74 @@ async function runFlowSdk2({
|
|
|
220
315
|
instructions: upgradeInstructions(resolution.found)
|
|
221
316
|
};
|
|
222
317
|
}
|
|
223
|
-
|
|
318
|
+
const belowGate = (gate) => versionMeetsFloor(resolution.version, gate.version) ? undefined : {
|
|
319
|
+
ok: false,
|
|
320
|
+
exitCode: 1,
|
|
321
|
+
result: RESULTS.ConfigError,
|
|
322
|
+
message: `${label}: ${gate.because} needs ${FLOW_SDK_PACKAGE.name} >= ${gate.version}; found ${resolution.version}.`,
|
|
323
|
+
instructions: upgradeInstructions(resolution.found)
|
|
324
|
+
};
|
|
325
|
+
const belowVersion = requiresSdkVersion && belowGate(requiresSdkVersion);
|
|
326
|
+
if (belowVersion)
|
|
327
|
+
return belowVersion;
|
|
328
|
+
const capabilityCheck = requiresSdkCapability && await sdkCapability(resolution, requiresSdkCapability.capability);
|
|
329
|
+
if (requiresSdkCapability && capabilityCheck && !capabilityCheck.has) {
|
|
330
|
+
const since = resolution.capabilities === undefined && resolution.packageDir === undefined ? ownCapabilitySince(requiresSdkCapability.capability) : undefined;
|
|
224
331
|
return {
|
|
225
332
|
ok: false,
|
|
226
333
|
exitCode: 1,
|
|
227
334
|
result: RESULTS.ConfigError,
|
|
228
|
-
message: `${label}: ${
|
|
335
|
+
message: since !== undefined ? `${label}: ${requiresSdkCapability.because} needs ${FLOW_SDK_PACKAGE.name} >= ${since}; found ${resolution.version}.` : `${label}: ${requiresSdkCapability.because} needs a ${FLOW_SDK_PACKAGE.name} release that supports it; found ${resolution.version}, which ${missingCapabilityReason(capabilityCheck.list, requiresSdkCapability.capability)}.`,
|
|
229
336
|
instructions: upgradeInstructions(resolution.found)
|
|
230
337
|
};
|
|
231
338
|
}
|
|
232
339
|
let library;
|
|
233
340
|
const libraryJson = getFileSystem().env.getenv("FLOW_SDK_LIBRARY_JSON");
|
|
234
|
-
const { INHERITED_AUTH_PROFILE_ENV, getActiveAuthProfile } = await import("./index-
|
|
341
|
+
const { INHERITED_AUTH_PROFILE_ENV, getActiveAuthProfile } = await import("./index-r6crd7tx.js");
|
|
235
342
|
const env = {
|
|
236
343
|
FLOW_SDK_INVOKED_AS,
|
|
237
344
|
[INHERITED_AUTH_PROFILE_ENV]: getActiveAuthProfile() ?? "",
|
|
238
345
|
...libraryJson ? { FLOW_SDK_LIBRARY_JSON: libraryJson } : {}
|
|
239
346
|
};
|
|
240
|
-
if (resolution.found === "host" && !libraryJson && LIBRARY_VERBS.has(`${family} ${sdkVerb}`)) {
|
|
241
|
-
const
|
|
347
|
+
if (resolution.found === "host" && !libraryJson && (requiresConnectorLibrary || LIBRARY_VERBS.has(`${family} ${sdkVerb}`))) {
|
|
348
|
+
const belowLibraryGate = connectorLibraryGate && belowGate(connectorLibraryGate);
|
|
349
|
+
if (belowLibraryGate)
|
|
350
|
+
return belowLibraryGate;
|
|
351
|
+
const connectorLibrary = await import("./connector-library-844myxz2.js");
|
|
242
352
|
const [error, loaded] = await catchError2(connectorLibrary.sessionConnectorLibrary(flowSdkRunnerOptions().libraryUrl));
|
|
243
|
-
|
|
353
|
+
const errorCode = error ? carriedErrorCode(error) ?? "unknown_error" : undefined;
|
|
354
|
+
const unreachable = error !== undefined && error.unreachable === true;
|
|
355
|
+
const fetches = unreachable && (await sdkCapability(resolution, FETCH_DEFINITIONS_CAPABILITY)).has;
|
|
356
|
+
if (error && !fetches) {
|
|
244
357
|
return {
|
|
245
358
|
ok: false,
|
|
246
359
|
exitCode: 1,
|
|
247
360
|
result: RESULTS.Failure,
|
|
248
|
-
errorCode
|
|
361
|
+
errorCode,
|
|
249
362
|
message: `${label}: could not get the connector library: ${error.message}`,
|
|
250
|
-
instructions: "Check that this host can reach the connector library download, then retry."
|
|
363
|
+
instructions: unreachable ? `Check that this host can reach the connector library download, then retry, or use a ${FLOW_SDK_PACKAGE.name} release that fetches connector definitions through uip: ${upgradeInstructions(resolution.found)}` : "Check that this host can reach the connector library download, then retry."
|
|
251
364
|
};
|
|
252
365
|
}
|
|
253
|
-
if (
|
|
366
|
+
if (error) {
|
|
367
|
+
getOutputSink().writeErr(`${label}: the connector library could not be downloaded (${error.message}); connector definitions are fetched through uip instead.
|
|
368
|
+
`);
|
|
369
|
+
} else if (family === "registry" && sdkVerb === "pull") {
|
|
254
370
|
return pullAnswer(loaded.sha256, connectorLibrary.LIBRARY_JSON);
|
|
371
|
+
} else {
|
|
372
|
+
library = connectorLibrary.libraryMount(loaded);
|
|
373
|
+
env.FLOW_SDK_LIBRARY_JSON = connectorLibrary.LIBRARY_JSON;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
const noLibrary = resolution.found !== "host" && FETCHING_VERBS.has(`${family} ${sdkVerb}`) && !(family === "registry" && sdkVerb === "pull") && !await (await import("./library-option-9fqvdh8v.js")).connectorLibraryInPlay(libraryFlag(argv));
|
|
377
|
+
if (noLibrary) {
|
|
378
|
+
const fetching = await sdkCapability(resolution, FETCH_DEFINITIONS_CAPABILITY);
|
|
379
|
+
if (!fetching.has) {
|
|
380
|
+
getOutputSink().writeErr(`${label}: no connector library is available, and ${FLOW_SDK_PACKAGE.name} ${resolution.version} cannot fetch connector definitions through uip. Connector steps need \`uip maestro registry pull\` first, or a newer SDK: ${upgradeInstructions(resolution.found)}
|
|
381
|
+
`);
|
|
255
382
|
}
|
|
256
|
-
library = connectorLibrary.libraryMount(loaded);
|
|
257
|
-
env.FLOW_SDK_LIBRARY_JSON = connectorLibrary.LIBRARY_JSON;
|
|
258
383
|
}
|
|
259
384
|
const runUipInProcess = inProcessUip();
|
|
260
|
-
const prepare = resolution.found === "host" && family === "registry" && sdkVerb === "prepare"
|
|
385
|
+
const prepare = resolution.found === "host" && runUipInProcess && (family === "registry" && sdkVerb === "prepare" || requiresConnectorLibrary || FETCHING_VERBS.has(`${family} ${sdkVerb}`)) ? (await import("./prepare-uip-8frvq826.js")).prepareUip(runUipInProcess) : undefined;
|
|
261
386
|
const sdkArgv = [...argv, "--json", ...passthrough];
|
|
262
387
|
const sink = getOutputSink();
|
|
263
388
|
const [runError, outcome] = await catchError2(() => runner.run(resolution, {
|
|
@@ -270,7 +395,7 @@ async function runFlowSdk2({
|
|
|
270
395
|
}));
|
|
271
396
|
prepare?.close();
|
|
272
397
|
await prepare?.settled();
|
|
273
|
-
return outcomeResult(runError ? { kind: "spawn-error", message: runError.message } : outcome, label, resolution
|
|
398
|
+
return outcomeResult(runError ? { kind: "spawn-error", message: runError.message } : outcome, label, resolution, sourceCallsBuilderApi);
|
|
274
399
|
}
|
|
275
400
|
async function delegateToMaestroBuilderSdk(request) {
|
|
276
401
|
const result = await runFlowSdk2(request);
|
|
@@ -312,6 +437,10 @@ async function delegateToMaestroBuilderSdk(request) {
|
|
|
312
437
|
});
|
|
313
438
|
return result.exitCode;
|
|
314
439
|
}
|
|
440
|
+
function libraryFlag(argv) {
|
|
441
|
+
const index = argv.indexOf("--library");
|
|
442
|
+
return index >= 0 ? argv[index + 1] : undefined;
|
|
443
|
+
}
|
|
315
444
|
|
|
316
445
|
// ../builder-sdk/src/npm-global-root.ts
|
|
317
446
|
import { spawn } from "node:child_process";
|
|
@@ -563,23 +692,6 @@ function sdkCliExample(family, verb, description, command, data) {
|
|
|
563
692
|
];
|
|
564
693
|
}
|
|
565
694
|
|
|
566
|
-
// ../builder-sdk/src/library-option.ts
|
|
567
|
-
async function resolveLibraryOption(explicit) {
|
|
568
|
-
if (explicit !== undefined)
|
|
569
|
-
return explicit;
|
|
570
|
-
if (getFileSystem().env.getenv("FLOW_SDK_LIBRARY_JSON"))
|
|
571
|
-
return;
|
|
572
|
-
const registry = await resolveMaestroRegistry();
|
|
573
|
-
return registry?.libraryJson;
|
|
574
|
-
}
|
|
575
|
-
async function connectorLibraryInPlay(explicit) {
|
|
576
|
-
if (explicit !== undefined)
|
|
577
|
-
return true;
|
|
578
|
-
if (getFileSystem().env.getenv("FLOW_SDK_LIBRARY_JSON"))
|
|
579
|
-
return true;
|
|
580
|
-
return (await resolveMaestroRegistry())?.libraryJson !== undefined;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
695
|
// ../builder-sdk/src/commands/check.ts
|
|
584
696
|
var CHECK_EXAMPLES = {
|
|
585
697
|
flow: { input: "Order.flow.ts" },
|
|
@@ -600,27 +712,52 @@ var CONNECTOR_GATES = {
|
|
|
600
712
|
var registerCheckCommand2 = (program, family) => {
|
|
601
713
|
const command = program.command("check <input>").description("Check a source file for authoring errors before compiling it.").option("--source", "Check authored TypeScript");
|
|
602
714
|
command.option("--library <dir>", "Connector library directory (defaults to $FLOW_SDK_LIBRARY_JSON, else the pulled library)").option("--connectors-local <dir>", "Connection-resolved connector overlay (default: ./connectors-local)");
|
|
603
|
-
if (family === "
|
|
715
|
+
if (family === "flow") {
|
|
716
|
+
command.option("--baseline <file>", "Original .flow the source was decompiled from; findings it already has on untouched nodes do not fail the check").option("--bindings <file>", "bindings.json path").option("--package <name...>", "Trust and load this node-type package for --baseline (repeatable)");
|
|
717
|
+
} else if (family === "bpmn") {
|
|
604
718
|
command.option("--graph", "Also print the resolved wiring: every element with the flows leaving it, implied edges marked ~>");
|
|
719
|
+
command.option("--baseline <file>", "Original .bpmn the source was decompiled from; findings it already has on untouched elements do not fail the check");
|
|
605
720
|
}
|
|
606
721
|
const example = CHECK_EXAMPLES[family];
|
|
607
722
|
command.examples(sdkCliExample(family, "check", `Check a ${family} source file before compiling it`, `uip maestro ${family} check ${example.input} --source`, CHECK_RESULT)).trackedAction(processContext, async (_input, options, cmd) => {
|
|
608
723
|
const parsed = [];
|
|
609
724
|
if (options.source)
|
|
610
725
|
parsed.push("--source");
|
|
611
|
-
addValue(parsed, "--library", await
|
|
726
|
+
addValue(parsed, "--library", await resolveLibraryOption2(options.library));
|
|
612
727
|
addValue(parsed, "--connectors-local", options.connectorsLocal);
|
|
613
728
|
if (options.graph)
|
|
614
729
|
parsed.push("--graph");
|
|
730
|
+
addValue(parsed, "--baseline", options.baseline);
|
|
731
|
+
addValue(parsed, "--bindings", options.bindings);
|
|
732
|
+
for (const name of options.package ?? [])
|
|
733
|
+
parsed.push("--package", name);
|
|
615
734
|
const { argv, passthrough } = delegateArgv(cmd, parsed);
|
|
616
735
|
const gate = CONNECTOR_GATES[family];
|
|
617
|
-
const gated = gate !== undefined && (options.connectorsLocal !== undefined || await
|
|
736
|
+
const gated = gate !== undefined && (options.connectorsLocal !== undefined || await connectorLibraryInPlay2(options.library));
|
|
737
|
+
const bpmnBaseline = family === "bpmn" && options.baseline !== undefined;
|
|
738
|
+
const baselineOptions = family !== "flow" ? [] : [
|
|
739
|
+
options.baseline !== undefined ? "--baseline" : undefined,
|
|
740
|
+
options.bindings !== undefined ? "--bindings" : undefined,
|
|
741
|
+
options.package !== undefined ? "--package" : undefined
|
|
742
|
+
].filter((flag) => flag !== undefined);
|
|
743
|
+
const requiresSdkVersion = baselineOptions.length > 0 ? {
|
|
744
|
+
version: FLOW_CHECK_BASELINE_VERSION,
|
|
745
|
+
because: `${baselineOptions.join(" and ")} on flow check`
|
|
746
|
+
} : gated ? gate : undefined;
|
|
618
747
|
const code = await delegateToMaestroBuilderSdk({
|
|
619
748
|
family,
|
|
620
749
|
commandVerb: "check",
|
|
621
750
|
argv,
|
|
751
|
+
sourceCallsBuilderApi: true,
|
|
622
752
|
...passthrough ? { passthrough } : {},
|
|
623
|
-
...
|
|
753
|
+
...requiresSdkVersion ? { requiresSdkVersion } : {},
|
|
754
|
+
...bpmnBaseline ? {
|
|
755
|
+
requiresSdkCapability: {
|
|
756
|
+
capability: BPMN_CHECK_BASELINE_CAPABILITY,
|
|
757
|
+
because: "--baseline on bpmn check"
|
|
758
|
+
}
|
|
759
|
+
} : {},
|
|
760
|
+
...gate ? { connectorLibraryGate: gate } : {}
|
|
624
761
|
});
|
|
625
762
|
if (code !== 0)
|
|
626
763
|
processContext.exit(code);
|
|
@@ -657,13 +794,13 @@ var registerCompileCommand2 = (program, family, hooks = {}) => {
|
|
|
657
794
|
const command = program.command("compile <source>").description(`Compile authored TypeScript to a ${family} artifact.`).option("-o, --output-file <file>", "Output artifact path").option("--library <dir>", "Connector library directory (defaults to the pulled registry)").option("--bindings <file>", "bindings.json path").option("--connectors-local <dir>", "Connection-resolved connector overlay (default: ./connectors-local)");
|
|
658
795
|
addDeprecatedOptionAlias(command, "--output <file>", "--output-file");
|
|
659
796
|
if (family === "flow") {
|
|
660
|
-
command.option("--no-check", "
|
|
797
|
+
command.option("--no-check", "Deprecated: does nothing on @uipath/maestro-builder-sdk >= 6.64.0, where compile no longer runs check (run `uip maestro flow check` first); skips compile's check on older SDKs");
|
|
661
798
|
}
|
|
662
799
|
const example = COMPILE_EXAMPLES[family];
|
|
663
800
|
command.examples(sdkCliExample(family, "compile", `Compile a ${family} source file to an artifact`, `uip maestro ${family} compile ${example.source} --output-file ${example.output}`, example.result)).trackedAction(processContext, async (_source, options, cmd) => {
|
|
664
801
|
const parsed = [];
|
|
665
802
|
addValue(parsed, "-o", options.outputFile);
|
|
666
|
-
addValue(parsed, "--library", await
|
|
803
|
+
addValue(parsed, "--library", await resolveLibraryOption2(options.library));
|
|
667
804
|
addValue(parsed, "--bindings", options.bindings);
|
|
668
805
|
addValue(parsed, "--connectors-local", options.connectorsLocal);
|
|
669
806
|
if (options.check === false)
|
|
@@ -673,6 +810,7 @@ var registerCompileCommand2 = (program, family, hooks = {}) => {
|
|
|
673
810
|
family,
|
|
674
811
|
commandVerb: "compile",
|
|
675
812
|
argv,
|
|
813
|
+
sourceCallsBuilderApi: true,
|
|
676
814
|
...passthrough ? { passthrough } : {},
|
|
677
815
|
...hooks.afterSuccess ? { afterSuccess: hooks.afterSuccess } : {},
|
|
678
816
|
...family === "bpmn" && options.connectorsLocal !== undefined ? {
|
|
@@ -738,7 +876,7 @@ var registerDecompileCommand2 = (program, family) => {
|
|
|
738
876
|
addValue(parsed, "-o", options.outputFile);
|
|
739
877
|
addValue(parsed, "--import", options.import);
|
|
740
878
|
if (family === "case") {
|
|
741
|
-
addValue(parsed, "--library", await
|
|
879
|
+
addValue(parsed, "--library", await resolveLibraryOption2(options.library));
|
|
742
880
|
}
|
|
743
881
|
if (options.strict)
|
|
744
882
|
parsed.push("--strict");
|
|
@@ -770,7 +908,7 @@ var registerDecompileCommand2 = (program, family) => {
|
|
|
770
908
|
var MERGE_EXAMPLES = {
|
|
771
909
|
flow: {
|
|
772
910
|
description: "Merge edited authored content into the original Flow artifact",
|
|
773
|
-
command: "uip maestro flow merge Edited.flow --original Original.flow --output-file Merged.flow --baseline
|
|
911
|
+
command: "uip maestro flow merge Edited.flow.ts --original Original.flow --output-file Merged.flow --baseline-from Original.flow",
|
|
774
912
|
result: { Path: "/work/Merged.flow", Nodes: 3, Edges: 2 }
|
|
775
913
|
},
|
|
776
914
|
case: {
|
|
@@ -779,13 +917,14 @@ var MERGE_EXAMPLES = {
|
|
|
779
917
|
result: { Path: "/work/merged.caseplan.json", Stages: 3 }
|
|
780
918
|
},
|
|
781
919
|
bpmn: {
|
|
782
|
-
description: "Merge
|
|
783
|
-
command: "uip maestro bpmn merge
|
|
920
|
+
description: "Merge the edited source back into the original BPMN artifact, in place, keeping untouched elements byte for byte",
|
|
921
|
+
command: "uip maestro bpmn merge Approval.bpmn.ts --original Approval.bpmn",
|
|
784
922
|
result: {
|
|
785
|
-
Path: "/work/
|
|
923
|
+
Path: "/work/Approval.bpmn",
|
|
786
924
|
Preserved: 5,
|
|
787
925
|
Authored: 1,
|
|
788
|
-
Removed: 0
|
|
926
|
+
Removed: 0,
|
|
927
|
+
Baseline: "derived"
|
|
789
928
|
}
|
|
790
929
|
}
|
|
791
930
|
};
|
|
@@ -793,10 +932,14 @@ var registerMergeCommand2 = (program, family) => {
|
|
|
793
932
|
const command = program.command("merge <edited>").description(`Merge an edited ${family} with its original artifact.`).option("--original <file>", "Original artifact to merge into (required)").option("-o, --output-file <file>", "Merged output path").allowExcessArguments(true);
|
|
794
933
|
addDeprecatedOptionAlias(command, "--output <file>", "--output-file");
|
|
795
934
|
if (family !== "case") {
|
|
796
|
-
command.option("--baseline <file>", "Compiled pristine decompile");
|
|
935
|
+
command.option("--baseline <file>", family === "bpmn" ? "Compiled pristine decompile (derived from --original when <edited> is a .bpmn.ts)" : "Compiled pristine decompile");
|
|
797
936
|
}
|
|
798
937
|
if (family === "flow") {
|
|
799
938
|
command.option("--strict", "Refuse when the no-edit round trip (--baseline) differs from the original");
|
|
939
|
+
command.option("--baseline-from <file>", "Build the baseline from this original .flow instead of --baseline");
|
|
940
|
+
}
|
|
941
|
+
if (family !== "case") {
|
|
942
|
+
command.option("--library <dir>", "Connector library for the compiles merge runs (defaults to the pulled registry)").option("--bindings <file>", "bindings.json for the compiles merge runs");
|
|
800
943
|
}
|
|
801
944
|
const example = MERGE_EXAMPLES[family];
|
|
802
945
|
command.examples(sdkCliExample(family, "merge", example.description, example.command, example.result)).trackedAction(processContext, async (first, options, cmd) => {
|
|
@@ -818,27 +961,69 @@ var registerMergeCommand2 = (program, family) => {
|
|
|
818
961
|
addValue(tail, "--baseline", options.baseline);
|
|
819
962
|
if (options.strict)
|
|
820
963
|
tail.push("--strict");
|
|
964
|
+
const editedSource = edited.endsWith(".ts");
|
|
965
|
+
const compiles = family !== "case" && (options.baselineFrom !== undefined || editedSource);
|
|
966
|
+
const compileArgs = family !== "case" ? await mergeCompileArgs(compiles, options) : [];
|
|
821
967
|
const code = await delegateToMaestroBuilderSdk({
|
|
822
968
|
family,
|
|
823
969
|
commandVerb: "merge",
|
|
824
|
-
argv: [
|
|
970
|
+
argv: [
|
|
971
|
+
edited,
|
|
972
|
+
"--original",
|
|
973
|
+
original,
|
|
974
|
+
...tail,
|
|
975
|
+
...compileArgs
|
|
976
|
+
],
|
|
825
977
|
...forwarded.length > 0 ? { passthrough: [...forwarded] } : {},
|
|
826
|
-
...
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
because: "--strict on flow merge"
|
|
830
|
-
}
|
|
831
|
-
} : {}
|
|
978
|
+
...compiles ? { requiresConnectorLibrary: true } : {},
|
|
979
|
+
...family === "flow" ? flowMergeSdkGate(compileArgs.length > 0, editedSource, options) : {},
|
|
980
|
+
...family === "bpmn" ? bpmnMergeSdkGate(compileArgs.length > 0, editedSource) : {}
|
|
832
981
|
});
|
|
833
982
|
if (code !== 0)
|
|
834
983
|
processContext.exit(code);
|
|
835
984
|
});
|
|
836
985
|
passThroughToSdk(command, { extraOperands: "allow" });
|
|
837
986
|
};
|
|
987
|
+
async function mergeCompileArgs(compiles, options) {
|
|
988
|
+
const argv = [];
|
|
989
|
+
addValue(argv, "--baseline-from", options.baselineFrom);
|
|
990
|
+
addValue(argv, "--library", compiles ? await resolveLibraryOption2(options.library) : options.library);
|
|
991
|
+
addValue(argv, "--bindings", options.bindings);
|
|
992
|
+
return argv;
|
|
993
|
+
}
|
|
994
|
+
function flowMergeSdkGate(sendsCompileArgs, editedSource, options) {
|
|
995
|
+
if (sendsCompileArgs || editedSource) {
|
|
996
|
+
return {
|
|
997
|
+
requiresSdkVersion: {
|
|
998
|
+
version: FLOW_MERGE_COMPILE_VERSION,
|
|
999
|
+
because: options.baselineFrom !== undefined || options.library !== undefined || options.bindings !== undefined ? "--baseline-from, --library or --bindings on flow merge" : "an edited .flow.ts on flow merge"
|
|
1000
|
+
}
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
if (options.strict) {
|
|
1004
|
+
return {
|
|
1005
|
+
requiresSdkVersion: {
|
|
1006
|
+
version: FLOW_MERGE_STRICT_VERSION,
|
|
1007
|
+
because: "--strict on flow merge"
|
|
1008
|
+
}
|
|
1009
|
+
};
|
|
1010
|
+
}
|
|
1011
|
+
return {};
|
|
1012
|
+
}
|
|
1013
|
+
function bpmnMergeSdkGate(sendsCompileArgs, editedSource) {
|
|
1014
|
+
if (!sendsCompileArgs && !editedSource)
|
|
1015
|
+
return {};
|
|
1016
|
+
return {
|
|
1017
|
+
requiresSdkCapability: {
|
|
1018
|
+
capability: BPMN_MERGE_SOURCE_CAPABILITY,
|
|
1019
|
+
because: editedSource ? "an edited .bpmn.ts on bpmn merge" : "--library or --bindings on bpmn merge"
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
838
1023
|
// ../builder-sdk/src/index.ts
|
|
839
1024
|
if (!flowSdkRunner())
|
|
840
1025
|
registerFlowSdkRunner(nodeFlowSdkRunner);
|
|
841
1026
|
|
|
842
|
-
export { runFlowSdk2, resolveFlowSdk2, registerCheckCommand2, registerCompileCommand2, registerDecompileCommand2, registerMergeCommand2 };
|
|
1027
|
+
export { resolveLibraryOption2, connectorLibraryInPlay2, runFlowSdk2, resolveFlowSdk2, registerCheckCommand2, registerCompileCommand2, registerDecompileCommand2, registerMergeCommand2 };
|
|
843
1028
|
|
|
844
|
-
//# debugId=
|
|
1029
|
+
//# debugId=DCFFF2A537A1E99664756E2164756E21
|