@uipath/flow-tool 1.206.0-preview.301 → 1.207.0-preview.305
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 +10 -10
- 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-cp1mj80n.js → binding-service-qfbtg6qy.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-40wy8yrq.js → connector-service-8t5swsf9.js} +156 -76
- package/dist/{conversion-7O2PDOQB-gk051hmr.js → conversion-A2KZVSOA-s70m4p50.js} +256 -90
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-4f0r23sx.js} +1282 -10
- package/dist/{de-2BEKRUMY-MD7L477H-21ytyk41.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-y9zbshpm.js → edge-service-706zfmyb.js} +41 -31
- package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
- package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
- package/dist/{en-X6T4SP2Y-FPGCJIFV-nxx09kc3.js → en-ETY46SDS-RI6EZCN6-g3n0v4ff.js} +67 -3
- package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
- package/dist/{en-WPCQ4JKF-5ep5egek.js → en-JZXY3PYE-9q1q9w7h.js} +4 -4
- package/dist/{en-LQHKFSEY-sb41hszq.js → en-LQHKFSEY-j7gk3aaw.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-5xa3wrpt.js → es-IYP2OLUY-7SKYGF6A-jp5kcwrd.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-3c1tv7qa.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
- package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-1r3g7760.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/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
- package/dist/{flow-debug-service-2m1mkq5s.js → flow-debug-service-bppp59pe.js} +232 -156
- package/dist/flow-eval-node-target-hc9n1913.js +31 -0
- package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
- package/dist/{flow-eval-run-service-c18ma0n5.js → flow-eval-run-service-qdtz7ec7.js} +116 -119
- package/dist/{flow-eval-service-t2k2jk08.js → flow-eval-service-mg7gveh3.js} +141 -337
- package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
- package/dist/flow-init-service-0m5yp9fe.js +27 -0
- package/dist/flow-io-c8b17vbx.js +29 -0
- package/dist/{flow-migrate-service-6mnnm5sy.js → flow-migrate-service-a8s4rmq6.js} +20 -20
- package/dist/{flow-pack-service-dhjq3p0y.js → flow-pack-service-jhr4rmsy.js} +89 -90
- package/dist/flow-validate-service-hpt8dqyr.js +49 -0
- package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
- package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-993fw1pz.js} +1282 -10
- package/dist/{fr-7ZDL4MVO-CXMRZDOF-ye0hwncb.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-41s8tnja.js → governance-fetcher-hkm1hvn0.js} +7 -7
- package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
- package/dist/{hitl-service-sqkjfm9c.js → hitl-service-hs54d6tt.js} +11 -11
- package/dist/index-7enyyjxr.js +161 -0
- package/dist/{index-wss1mf5j.js → index-b02kt4sx.js} +114 -68
- package/dist/{index-zfkp2s1d.js → index-cg965dhq.js} +34 -27
- package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
- package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
- package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
- package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
- package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
- package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
- package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
- package/dist/{index-p0hgkhy2.js → index-zemcat7k.js} +13 -11
- 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-vjmjd3zd.js → inline-entity-resolver-9esjm2e7.js} +11 -11
- package/dist/input-reader-3zvbsn6a.js +12 -0
- package/dist/integration-service-fetcher-h6er48b7.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-yrx5rnw2.js → ja-HTS2Q4YG-7Q6WUI6H-6e5nzy0t.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-wxg003p8.js → ko-3JFGTMNY-VT6UQ3IS-5a2hnf97.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-bq7m24js.js +65 -0
- package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
- package/dist/{node-sync-service-z6tzver4.js → node-sync-service-6v7j8m4p.js} +22 -15
- package/dist/node-xzwyr0mf.js +172 -0
- package/dist/{packager-tool-rca9gsx5.js → packager-tool-0g2grsn8.js} +2 -2
- package/dist/packager-tool-0x8g8b5r.js +25 -0
- package/dist/packager-tool-13mmsykc.js +125 -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-2devymwf.js +423 -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-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-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
- package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
- package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
- package/dist/packager-tool-9tv5cyhr.js +16 -0
- package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
- package/dist/{packager-tool-17af18dp.js → packager-tool-asfftv7z.js} +330 -902
- package/dist/{packager-tool-xfjgm8hc.js → packager-tool-b0prefcm.js} +489 -118
- 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-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
- package/dist/{node-2my5q788.js → packager-tool-cpbsp04w.js} +189 -285
- package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
- package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
- package/dist/{packager-tool-1dbnq9ja.js → packager-tool-f4pvpaw2.js} +1123 -295
- package/dist/packager-tool-geh2qybm.js +179 -0
- package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
- package/dist/packager-tool-h0gzqmya.js +224 -0
- package/dist/packager-tool-h9f2vjwg.js +40 -0
- package/dist/{packager-tool-pa5s7k5n.js → packager-tool-jf4m7sqc.js} +23 -9
- package/dist/{packager-tool-5ymna6e6.js → packager-tool-jghqgdmm.js} +228 -487
- package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
- package/dist/packager-tool-kh1taypp.js +41 -0
- package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
- package/dist/packager-tool-m8avdf10.js +1060 -0
- package/dist/{packager-tool-kj5yj5hj.js → packager-tool-ma1z6nqe.js} +2 -2
- 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-p8ncdnsj.js +30 -0
- package/dist/{packager-tool-zcb3xrfw.js → packager-tool-px52tjy2.js} +9 -7
- package/dist/{packager-tool-vh1hxa0j.js → packager-tool-qf08dexq.js} +584 -651
- 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-swvgkcq7.js +5973 -0
- package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
- package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
- package/dist/{packager-tool-q4trv6y6.js → packager-tool-tm4d12jb.js} +15328 -7171
- package/dist/{packager-tool-c7xq0z3e.js → packager-tool-v7gxvkpx.js} +13 -13
- package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
- package/dist/packager-tool-w2eqf95v.js +16 -0
- package/dist/packager-tool-wvf6b31h.js +50 -0
- package/dist/{packager-tool-q55qgk3p.js → packager-tool-wz5zmx67.js} +10 -10
- package/dist/packager-tool-xgh2t48c.js +255 -0
- package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
- package/dist/{packager-tool-dszagpmx.js → packager-tool-y84mhf89.js} +8 -8
- package/dist/packager-tool-ys7jsqhg.js +184 -0
- package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
- package/dist/{packager-tool-0vsqvfq1.js → packager-tool-zgm6kh18.js} +21 -21
- package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
- package/dist/packager-tool.js +9 -9
- package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
- package/dist/provision-node-service-sxnfgrwy.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-5c7jp2r1.js → pt-BR-7H7BP5DT-IOHWNCIU-pbdnhe7r.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-4yqpkc4n.js → pt-QWGSZKMD-RTKSQCYA-80hp6e1q.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-q29q8pj0.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
- package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-t47bbx2a.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-cdcpfwx0.js +12 -0
- package/dist/schema-document-service-mknqzg7e.js +30 -0
- package/dist/{serialization-Z3UYT6BW-g3gtam7g.js → serialization-7CB4AREI-6b7ng26y.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-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
- package/dist/taggable-variables-nc8td6er.js +134 -0
- package/dist/{tidy-service-qm6h620p.js → tidy-service-rsxb2h63.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-5ctjnkng.js} +1276 -10
- package/dist/{tr-7AIZZWZ6-ESAESUPL-td09ft0v.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-yxbkns3a.js → variable-service-95j5nyjh.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-phrmedm3.js} +1276 -10
- package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-n74g1tfv.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-cxe7jt1n.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
- package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-xxye2kfv.js} +1277 -11
- package/package.json +2 -2
- package/dist/flow-eval-node-target-g6wtfw4w.js +0 -29
- package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
- package/dist/flow-init-service-qvhyvq3k.js +0 -26
- package/dist/flow-io-tsxhjvk6.js +0 -24
- package/dist/flow-validate-service-dpjp0yv2.js +0 -46
- package/dist/input-reader-jjq3r7ry.js +0 -11
- package/dist/localization-erchshqr.js +0 -45
- package/dist/node-service-4392jxr2.js +0 -64
- package/dist/packager-tool-2sazb7th.js +0 -2
- package/dist/packager-tool-91kj5ry7.js +0 -18
- 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-f2g3pea6.js +0 -461
- 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-n0y4dhj1.js +0 -56
- package/dist/packager-tool-q0f1dvtd.js +0 -40
- package/dist/packager-tool-wr7gn964.js +0 -2
- package/dist/ru-GSCT4ARZ-FTVCGQTL-vjy6j6vk.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,107 +1,172 @@
|
|
|
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
8
|
logger
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
10
10
|
import {
|
|
11
11
|
convertFlowToBpmn,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
allNodesOf2,
|
|
13
|
+
replaceExporterVersion2,
|
|
14
|
+
hydrateInlineAgentInputVariables2,
|
|
15
|
+
voiceConvertOptions2,
|
|
16
|
+
assertVoiceAgentDefinitionsEmbedded2,
|
|
17
|
+
fileNodesToPackagingNodes2,
|
|
18
|
+
flowToPackagingNodes2,
|
|
19
|
+
buildInlineAgentDescriptors2,
|
|
20
|
+
writePackagingArtifacts2,
|
|
21
|
+
workflowToFileFormat,
|
|
22
|
+
assertNoPreviewIds
|
|
23
|
+
} from "./packager-tool-tm4d12jb.js";
|
|
18
24
|
import {
|
|
19
25
|
isVoiceAgentNodeType2
|
|
20
|
-
} from "./packager-tool-
|
|
21
|
-
import"./packager-tool-dr3zc9n9.js";
|
|
26
|
+
} from "./packager-tool-t0e7fvqz.js";
|
|
22
27
|
import {
|
|
23
28
|
extractStartEventId2,
|
|
24
29
|
getPersonalFolderInfo2,
|
|
25
30
|
getFolderInfoById2,
|
|
31
|
+
DebugCancelledError2,
|
|
26
32
|
DebugVariablesFetchFailedError2,
|
|
27
33
|
fetchDebugInstanceVariables2,
|
|
28
34
|
isSuccessfulDebugStatus2,
|
|
29
35
|
buildStudioWebDesignerUrl2,
|
|
30
36
|
uploadAndDebugSolution2,
|
|
31
37
|
patchConnectionOverwrites2
|
|
32
|
-
} from "./packager-tool-
|
|
33
|
-
import"./packager-tool-
|
|
34
|
-
import"./packager-tool-
|
|
38
|
+
} from "./packager-tool-rcjtmknf.js";
|
|
39
|
+
import"./packager-tool-wvf6b31h.js";
|
|
40
|
+
import"./packager-tool-zgzpqfcs.js";
|
|
41
|
+
import"./packager-tool-zap4kd3z.js";
|
|
42
|
+
import"./packager-tool-6azsz9h8.js";
|
|
35
43
|
import {
|
|
36
44
|
createZipFromDir2,
|
|
37
45
|
buildSolutionPackageFromDir2,
|
|
38
46
|
uploadOrOverwriteSolution2
|
|
39
|
-
} from "./packager-tool-
|
|
47
|
+
} from "./packager-tool-jf4m7sqc.js";
|
|
40
48
|
import {
|
|
41
|
-
workflowToFileFormat,
|
|
42
49
|
readFlowWorkflow2,
|
|
43
50
|
writeFlowWorkflow2,
|
|
44
51
|
resolveProjectFlowFile2,
|
|
45
52
|
findProjectFlowFile2
|
|
46
|
-
} from "./packager-tool-
|
|
47
|
-
import"./packager-tool-
|
|
48
|
-
import"./packager-tool-1rhch6b5.js";
|
|
53
|
+
} from "./packager-tool-h9f2vjwg.js";
|
|
54
|
+
import"./packager-tool-gjjr2a2w.js";
|
|
49
55
|
import {
|
|
50
56
|
UnboundInlineEntityError2,
|
|
51
57
|
assertInlineEntitiesBound2
|
|
52
|
-
} from "./packager-tool-
|
|
53
|
-
import"./packager-tool-gdpw0daf.js";
|
|
54
|
-
import"./packager-tool-17af18dp.js";
|
|
55
|
-
import"./packager-tool-m1y5ah6s.js";
|
|
56
|
-
import"./packager-tool-1qg04b7q.js";
|
|
57
|
-
import"./packager-tool-p123mtfx.js";
|
|
58
|
-
import"./packager-tool-xb16e3tz.js";
|
|
59
|
-
import"./packager-tool-d07g2kpn.js";
|
|
60
|
-
import"./packager-tool-xdaxdc00.js";
|
|
61
|
-
import"./packager-tool-9m5vba43.js";
|
|
62
|
-
import"./packager-tool-1dbnq9ja.js";
|
|
58
|
+
} from "./packager-tool-wz5zmx67.js";
|
|
63
59
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
stageInlineAgentPackageFiles,
|
|
68
|
-
buildInlineAgentDescriptors,
|
|
69
|
-
writePackagingArtifacts,
|
|
70
|
-
ensureProcessBindings2
|
|
71
|
-
} from "./packager-tool-5ymna6e6.js";
|
|
72
|
-
import"./packager-tool-9217bxm2.js";
|
|
60
|
+
buildInvalidSolutionManifestInstructions,
|
|
61
|
+
readEnclosingSolution
|
|
62
|
+
} from "./packager-tool-kh1taypp.js";
|
|
73
63
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./packager-tool-
|
|
64
|
+
writeResolvedFlow2
|
|
65
|
+
} from "./packager-tool-w2eqf95v.js";
|
|
76
66
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./packager-tool-zcb3xrfw.js";
|
|
82
|
-
import {
|
|
83
|
-
assertNoPreviewIds
|
|
84
|
-
} from "./packager-tool-f7rk9xhv.js";
|
|
85
|
-
import"./packager-tool-2sazb7th.js";
|
|
86
|
-
import"./packager-tool-64r7e4ek.js";
|
|
87
|
-
import"./packager-tool-w9bkq7zb.js";
|
|
67
|
+
packageInlineAgents2,
|
|
68
|
+
stageInlineAgentPackageFiles2,
|
|
69
|
+
ensureProcessBindings
|
|
70
|
+
} from "./packager-tool-13mmsykc.js";
|
|
88
71
|
import {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
updateSolutionFile2,
|
|
72
|
+
toPortableRelativePath2,
|
|
73
|
+
updateUipxSolutionId2,
|
|
92
74
|
findNearestParentUipxFile2,
|
|
93
75
|
isProjectRegisteredInSolution2
|
|
94
|
-
} from "./packager-tool-
|
|
76
|
+
} from "./packager-tool-mvzswn9n.js";
|
|
95
77
|
import {
|
|
96
78
|
applyRuntimeProfile2,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
} from "./packager-tool-
|
|
100
|
-
import"./packager-tool-
|
|
101
|
-
import
|
|
102
|
-
|
|
79
|
+
resolveRuntimeProfile2,
|
|
80
|
+
resolveRuntimeProfileForFlowFile2
|
|
81
|
+
} from "./packager-tool-3sxg16ft.js";
|
|
82
|
+
import"./packager-tool-mm6a12y4.js";
|
|
83
|
+
import {
|
|
84
|
+
resolveEntryPointNodeId
|
|
85
|
+
} from "./packager-tool-40bxn7j2.js";
|
|
86
|
+
// ../executor/flow-debug/package.json
|
|
87
|
+
var package_default = {
|
|
88
|
+
name: "@uipath/flow-debug",
|
|
89
|
+
author: "UiPath",
|
|
90
|
+
license: "SEE LICENSE IN LICENSE.txt",
|
|
91
|
+
version: "1.207.0",
|
|
92
|
+
description: "Flow debug through Studio Web, and the Flow executor of `uip solution run`, shared by flow-tool and maestro-tool.",
|
|
93
|
+
repository: {
|
|
94
|
+
type: "git",
|
|
95
|
+
url: "https://github.com/UiPath/cli.git",
|
|
96
|
+
directory: "packages/executor/flow-debug"
|
|
97
|
+
},
|
|
98
|
+
publishConfig: {
|
|
99
|
+
registry: "https://npm.pkg.github.com/@uipath"
|
|
100
|
+
},
|
|
101
|
+
type: "module",
|
|
102
|
+
exports: {
|
|
103
|
+
"./debug-conversation-trigger": {
|
|
104
|
+
types: "./dist/src/debug-conversation-trigger.d.ts",
|
|
105
|
+
default: "./dist/debug-conversation-trigger.js"
|
|
106
|
+
},
|
|
107
|
+
"./enclosing-solution": {
|
|
108
|
+
types: "./dist/src/enclosing-solution.d.ts",
|
|
109
|
+
default: "./dist/enclosing-solution.js"
|
|
110
|
+
},
|
|
111
|
+
"./executor": {
|
|
112
|
+
types: "./dist/src/executor.d.ts",
|
|
113
|
+
default: "./dist/executor.js"
|
|
114
|
+
},
|
|
115
|
+
"./flow-debug-service": {
|
|
116
|
+
types: "./dist/src/flow-debug-service.d.ts",
|
|
117
|
+
default: "./dist/flow-debug-service.js"
|
|
118
|
+
},
|
|
119
|
+
"./flow-io": {
|
|
120
|
+
types: "./dist/src/flow-io.d.ts",
|
|
121
|
+
default: "./dist/flow-io.js"
|
|
122
|
+
},
|
|
123
|
+
"./inline-entity-resolver": {
|
|
124
|
+
types: "./dist/src/inline-entity-resolver.d.ts",
|
|
125
|
+
default: "./dist/inline-entity-resolver.js"
|
|
126
|
+
},
|
|
127
|
+
"./packaging-utils": {
|
|
128
|
+
types: "./dist/src/packaging-utils.d.ts",
|
|
129
|
+
default: "./dist/packaging-utils.js"
|
|
130
|
+
},
|
|
131
|
+
"./process-bindings": {
|
|
132
|
+
types: "./dist/src/process-bindings.d.ts",
|
|
133
|
+
default: "./dist/process-bindings.js"
|
|
134
|
+
},
|
|
135
|
+
"./write-resolved-flow": {
|
|
136
|
+
types: "./dist/src/write-resolved-flow.d.ts",
|
|
137
|
+
default: "./dist/write-resolved-flow.js"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
files: [
|
|
141
|
+
"dist"
|
|
142
|
+
],
|
|
143
|
+
private: true,
|
|
144
|
+
scripts: {
|
|
145
|
+
build: "bun build ./src/debug-conversation-trigger.ts ./src/enclosing-solution.ts ./src/executor.ts ./src/flow-debug-service.ts ./src/flow-io.ts ./src/inline-entity-resolver.ts ./src/packaging-utils.ts ./src/process-bindings.ts ./src/write-resolved-flow.ts --outdir dist --root ./src --format esm --target node --splitting --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
|
|
146
|
+
test: "vitest run",
|
|
147
|
+
"test:coverage": "vitest run --coverage",
|
|
148
|
+
typecheck: "tsc --noEmit",
|
|
149
|
+
lint: "biome check ."
|
|
150
|
+
},
|
|
151
|
+
devDependencies: {
|
|
152
|
+
"@types/node": "^25.5.2",
|
|
153
|
+
"@uipath/common": "workspace:*",
|
|
154
|
+
"@uipath/filesystem": "workspace:*",
|
|
155
|
+
"@uipath/flow-converter": "0.108.0",
|
|
156
|
+
"@uipath/flow-core": "^0.172.0",
|
|
157
|
+
"@uipath/flow-schema": "0.135.1",
|
|
158
|
+
"@uipath/jit-debug-contract": "workspace:*",
|
|
159
|
+
"@uipath/maestro-sdk": "workspace:*",
|
|
160
|
+
"@uipath/packager-tool-datafabric": "workspace:*",
|
|
161
|
+
"@uipath/packager-tool-flow": "workspace:*",
|
|
162
|
+
"@uipath/project-executor": "workspace:*",
|
|
163
|
+
"@uipath/solution-sdk": "workspace:*",
|
|
164
|
+
"@uipath/solutionpackager-tool-core": "workspace:*",
|
|
165
|
+
typescript: "^7.0.2"
|
|
166
|
+
}
|
|
167
|
+
};
|
|
103
168
|
|
|
104
|
-
// src/
|
|
169
|
+
// ../executor/flow-debug/src/flow-debug-service.ts
|
|
105
170
|
var FLOW_DEBUG_MISSING_SOLUTION_MESSAGE = "Flow debug requires this Flow to be inside a solution.";
|
|
106
171
|
var FLOW_DEBUG_MISSING_SOLUTION_INSTRUCTIONS = "Create a solution wrapper and import this Flow before debugging: `uip solution init <name>` then `uip solution projects import <flow-dir>` from inside the solution directory, then re-run `uip maestro flow debug`.";
|
|
107
172
|
var FLOW_DEBUG_UNREGISTERED_PROJECT_MESSAGE = "Flow project is not registered in the enclosing solution.";
|
|
@@ -112,6 +177,22 @@ var buildFlowDebugUnregisteredProjectInstructions = (projectDir, solutionFile) =
|
|
|
112
177
|
].join(`
|
|
113
178
|
`);
|
|
114
179
|
|
|
180
|
+
class DebugFolderMismatchError extends Error {
|
|
181
|
+
debugFolderId;
|
|
182
|
+
requiredFolderId;
|
|
183
|
+
constructor(debugFolderId, requiredFolderId) {
|
|
184
|
+
super(`The flow would run in folder ${debugFolderId}, but the solution's other projects run in ` + `folder ${requiredFolderId}. A just-in-time run needs every project in one folder.`);
|
|
185
|
+
this.debugFolderId = debugFolderId;
|
|
186
|
+
this.requiredFolderId = requiredFolderId;
|
|
187
|
+
this.name = "DebugFolderMismatchError";
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function assertDebugFolder(folder, requiredFolderId) {
|
|
191
|
+
if (requiredFolderId !== undefined && folder.id !== requiredFolderId) {
|
|
192
|
+
throw new DebugFolderMismatchError(folder.id, requiredFolderId);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
115
196
|
class MissingSolutionWrapperError extends Error {
|
|
116
197
|
instructions;
|
|
117
198
|
constructor(message = FLOW_DEBUG_MISSING_SOLUTION_MESSAGE, instructions = FLOW_DEBUG_MISSING_SOLUTION_INSTRUCTIONS) {
|
|
@@ -133,6 +214,15 @@ class UnregisteredProjectError extends Error {
|
|
|
133
214
|
this.instructions = buildFlowDebugUnregisteredProjectInstructions(projectDir, solutionFile);
|
|
134
215
|
}
|
|
135
216
|
}
|
|
217
|
+
|
|
218
|
+
class InvalidSolutionManifestError extends Error {
|
|
219
|
+
instructions;
|
|
220
|
+
constructor(message, solutionFile) {
|
|
221
|
+
super(message);
|
|
222
|
+
this.name = "InvalidSolutionManifestError";
|
|
223
|
+
this.instructions = buildInvalidSolutionManifestInstructions(solutionFile);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
136
226
|
var RESOURCE_NOT_FOUND_IN_ORCHESTRATOR = /^(\S+ "[^"]*" not found in Orchestrator)\. Link it before deploy: /;
|
|
137
227
|
var CONNECTION_NOT_FOUND_IN_RESOURCE_CATALOG = /^Connection \S+ not found in Resource Catalog(?: |$)/;
|
|
138
228
|
function selectMissingResourceWarnings(warnings) {
|
|
@@ -213,7 +303,10 @@ class FlowDebugService {
|
|
|
213
303
|
}
|
|
214
304
|
async assertProjectRegisteredInSolution(projectPath, solutionFile) {
|
|
215
305
|
const absoluteProjectPath = this.fs.path.resolve(projectPath);
|
|
216
|
-
const isRegistered = await isProjectRegisteredInSolution2(this.fs, absoluteProjectPath, solutionFile);
|
|
306
|
+
const [manifestError, isRegistered] = await catchError2(isProjectRegisteredInSolution2(this.fs, absoluteProjectPath, solutionFile));
|
|
307
|
+
if (manifestError) {
|
|
308
|
+
throw new InvalidSolutionManifestError(manifestError.message, solutionFile);
|
|
309
|
+
}
|
|
217
310
|
if (!isRegistered) {
|
|
218
311
|
throw new UnregisteredProjectError(absoluteProjectPath, solutionFile);
|
|
219
312
|
}
|
|
@@ -250,10 +343,10 @@ class FlowDebugService {
|
|
|
250
343
|
if (voiceNodes.length > 0 && !projectDir) {
|
|
251
344
|
throw new Error("This flow contains voice agent nodes; the flow project directory is required to resolve their agent definitions.");
|
|
252
345
|
}
|
|
253
|
-
const voiceAgentPackages = projectDir ? await
|
|
346
|
+
const voiceAgentPackages = projectDir ? await packageInlineAgents2(this.fs, projectDir, voiceNodes) : [];
|
|
254
347
|
const fileFormat = workflowToFileFormat(workflow);
|
|
255
348
|
const flowJson = JSON.stringify(fileFormat, null, 2);
|
|
256
|
-
const { bpmn: rawBpmn } = await convertFlowToBpmn(flowJson,
|
|
349
|
+
const { bpmn: rawBpmn } = await convertFlowToBpmn(flowJson, voiceConvertOptions2({
|
|
257
350
|
flowJson,
|
|
258
351
|
nodes: flowNodes,
|
|
259
352
|
builtAgents: new Map(voiceAgentPackages.map((agent) => [
|
|
@@ -262,13 +355,13 @@ class FlowDebugService {
|
|
|
262
355
|
])),
|
|
263
356
|
convertOptions: { detached: true }
|
|
264
357
|
}));
|
|
265
|
-
const bpmn =
|
|
266
|
-
|
|
358
|
+
const bpmn = replaceExporterVersion2(rawBpmn, package_default.version);
|
|
359
|
+
assertVoiceAgentDefinitionsEmbedded2(bpmn, flowNodes);
|
|
267
360
|
return bpmn;
|
|
268
361
|
}
|
|
269
362
|
async hydrateInlineAgentInputs(workflow, projectDir) {
|
|
270
|
-
const nodes =
|
|
271
|
-
await
|
|
363
|
+
const nodes = allNodesOf2(workflow);
|
|
364
|
+
await hydrateInlineAgentInputVariables2(nodes, async (source) => {
|
|
272
365
|
const agentJsonPath = this.fs.path.join(projectDir, source, "agent.json");
|
|
273
366
|
const [readErr, raw] = await catchError2(this.fs.readFile(agentJsonPath, "utf-8"));
|
|
274
367
|
if (readErr || typeof raw !== "string")
|
|
@@ -291,8 +384,8 @@ class FlowDebugService {
|
|
|
291
384
|
await safeMkdir(projectDir);
|
|
292
385
|
const resolvedStartEventId = startEventId ?? extractStartEventId2(bpmnXml);
|
|
293
386
|
const bpmnFileName = `${safeName}.bpmn`;
|
|
294
|
-
const packagingNodes =
|
|
295
|
-
const entryPointNodes =
|
|
387
|
+
const packagingNodes = flowToPackagingNodes2(flowData);
|
|
388
|
+
const entryPointNodes = fileNodesToPackagingNodes2(flowData.nodes);
|
|
296
389
|
const bindings = flowData.bindings ?? [];
|
|
297
390
|
const variables = flowData.variables ?? {};
|
|
298
391
|
const definitions = flowData.definitions ?? [];
|
|
@@ -303,12 +396,12 @@ class FlowDebugService {
|
|
|
303
396
|
await this.fs.writeFile(this.fs.path.join(projectDir, "project.uiproj"), `${JSON.stringify(projectUiproj, null, 2)}
|
|
304
397
|
`);
|
|
305
398
|
await applyRuntimeProfile2(this.fs, projectDir, profile);
|
|
306
|
-
await
|
|
399
|
+
await writePackagingArtifacts2(this.fs, projectDir, flowData.id, packagingNodes, bindings, variables, bpmnFileName, resolvedStartEventId, `${safeName}.flow`, definitions, { entryPointNodes, profile });
|
|
307
400
|
await this.fs.writeFile(this.fs.path.join(projectDir, `${safeName}.bpmn`), bpmnXml);
|
|
308
401
|
if (flowFileContent) {
|
|
309
402
|
await this.fs.writeFile(this.fs.path.join(projectDir, `${safeName}.flow`), flowFileContent);
|
|
310
403
|
}
|
|
311
|
-
await
|
|
404
|
+
await writeResolvedFlow2(this.fs, projectDir, safeName, flowData);
|
|
312
405
|
return projectDir;
|
|
313
406
|
}
|
|
314
407
|
async buildSolutionPackage(projectDir, projectName) {
|
|
@@ -346,32 +439,6 @@ class FlowDebugService {
|
|
|
346
439
|
await this.fs.rm(stagingDir).catch(() => {});
|
|
347
440
|
return uisPath;
|
|
348
441
|
}
|
|
349
|
-
async writeSingleProjectSolutionMetadata(stagingDir, projectName, projectRelativeDir) {
|
|
350
|
-
const solutionId = crypto.randomUUID();
|
|
351
|
-
const projectId = crypto.randomUUID();
|
|
352
|
-
const projectRelativePath = `${projectRelativeDir}/project.uiproj`;
|
|
353
|
-
const solutionStorage = {
|
|
354
|
-
SolutionId: solutionId,
|
|
355
|
-
Projects: [
|
|
356
|
-
{
|
|
357
|
-
ProjectId: projectId,
|
|
358
|
-
ProjectRelativePath: projectRelativePath
|
|
359
|
-
}
|
|
360
|
-
]
|
|
361
|
-
};
|
|
362
|
-
await this.fs.writeFile(this.fs.path.join(stagingDir, "SolutionStorage.json"), JSON.stringify(solutionStorage, null, 4));
|
|
363
|
-
const uipx = {
|
|
364
|
-
SolutionId: solutionId,
|
|
365
|
-
Projects: [
|
|
366
|
-
{
|
|
367
|
-
Type: "Flow",
|
|
368
|
-
ProjectRelativePath: projectRelativePath,
|
|
369
|
-
Id: projectId
|
|
370
|
-
}
|
|
371
|
-
]
|
|
372
|
-
};
|
|
373
|
-
await this.fs.writeFile(this.fs.path.join(stagingDir, `${projectName}Solution.uipx`), JSON.stringify(uipx, null, 4));
|
|
374
|
-
}
|
|
375
442
|
async buildSolutionProjectDescriptors(uploadedProjects, solutionId, stagingDir, leadProjectName, leadEntryPoint, solutionProjectTypes) {
|
|
376
443
|
const descriptors = [];
|
|
377
444
|
for (const project of uploadedProjects) {
|
|
@@ -405,13 +472,13 @@ class FlowDebugService {
|
|
|
405
472
|
const flowFileName = this.fs.path.basename(flowFilePath);
|
|
406
473
|
const { workflow: flowData } = await readFlowWorkflow2(flowFilePath);
|
|
407
474
|
await assertInlineEntitiesBound2(this.fs, this.fs.path.join(sourceProjectDir, this.fs.path.relative(projectStagingDir, flowFilePath)), flowData);
|
|
408
|
-
|
|
475
|
+
ensureProcessBindings(flowData);
|
|
409
476
|
const bpmnXml = await this.convertToBpmn(flowData, this.fs.path.dirname(flowFilePath));
|
|
410
|
-
const inlineAgentPackages = await
|
|
411
|
-
await this.writeFlowProjectPackage(projectStagingDir, flowData, bpmnXml, flowFileName, inlineAgentPackages, await
|
|
412
|
-
await
|
|
477
|
+
const inlineAgentPackages = await packageInlineAgents2(this.fs, projectStagingDir, allNodesOf2(flowData));
|
|
478
|
+
await this.writeFlowProjectPackage(projectStagingDir, flowData, bpmnXml, flowFileName, inlineAgentPackages, await resolveRuntimeProfile2(this.fs, sourceProjectDir));
|
|
479
|
+
await stageInlineAgentPackageFiles2(this.fs, projectStagingDir, projectStagingDir, inlineAgentPackages, (source) => `Staged inline agent "${source}" for sibling Flow debug`);
|
|
413
480
|
logger.info(`Generated BPMN package for sibling flow "${flowFileName.replace(/\.flow$/i, "")}"`);
|
|
414
|
-
return
|
|
481
|
+
return buildInlineAgentDescriptors2(allNodesOf2(flowData)).map((agent) => ({
|
|
415
482
|
...agent,
|
|
416
483
|
hostProjectName
|
|
417
484
|
}));
|
|
@@ -421,13 +488,13 @@ class FlowDebugService {
|
|
|
421
488
|
await writeFlowWorkflow2(this.fs.path.join(projectDir, flowFileName), flowData);
|
|
422
489
|
await this.fs.writeFile(this.fs.path.join(projectDir, bpmnFileName), bpmnXml);
|
|
423
490
|
const startEventId = extractStartEventId2(bpmnXml);
|
|
424
|
-
await
|
|
425
|
-
entryPointNodes:
|
|
491
|
+
await writePackagingArtifacts2(this.fs, projectDir, flowData.id, flowToPackagingNodes2(flowData), flowData.bindings ?? [], flowData.variables ?? {}, bpmnFileName, startEventId, flowFileName, flowData.definitions ?? [], {
|
|
492
|
+
entryPointNodes: fileNodesToPackagingNodes2(flowData.nodes),
|
|
426
493
|
additionalEntryPoints: inlineAgentPackages.map((agent) => agent.entryPoint),
|
|
427
494
|
additionalBindingsJsons: inlineAgentPackages.map((agent) => agent.bindingsJson),
|
|
428
495
|
profile
|
|
429
496
|
});
|
|
430
|
-
await
|
|
497
|
+
await writeResolvedFlow2(this.fs, projectDir, flowFileName.replace(/\.flow$/i, ""), flowData);
|
|
431
498
|
return { bpmnFileName, startEventId };
|
|
432
499
|
}
|
|
433
500
|
toWireProjectType(rawType) {
|
|
@@ -510,6 +577,10 @@ class FlowDebugService {
|
|
|
510
577
|
}
|
|
511
578
|
const solutionFile = await this.assertEnclosingSolution(absoluteProjectPath);
|
|
512
579
|
await this.assertProjectRegisteredInSolution(absoluteProjectPath, solutionFile);
|
|
580
|
+
const [manifestError, solution] = await catchError2(readEnclosingSolution(this.fs, solutionFile, absoluteProjectPath));
|
|
581
|
+
if (manifestError) {
|
|
582
|
+
throw new InvalidSolutionManifestError(manifestError.message, solutionFile);
|
|
583
|
+
}
|
|
513
584
|
const projectUiprojContent = await this.fs.readFile(projectUiprojPath, "utf-8");
|
|
514
585
|
if (projectUiprojContent === null) {
|
|
515
586
|
throw new Error(`Failed to read project.uiproj in ${absoluteProjectPath}`);
|
|
@@ -529,25 +600,20 @@ class FlowDebugService {
|
|
|
529
600
|
}
|
|
530
601
|
}
|
|
531
602
|
await assertInlineEntitiesBound2(this.fs, flowFilePath, flowData);
|
|
532
|
-
|
|
603
|
+
ensureProcessBindings(flowData);
|
|
533
604
|
logger.info("Found .flow file, converting to BPMN...");
|
|
534
605
|
const bpmnXml = await this.convertToBpmn(flowData, this.fs.path.dirname(flowFilePath));
|
|
535
|
-
const
|
|
606
|
+
const {
|
|
607
|
+
solutionDir,
|
|
608
|
+
uipx,
|
|
609
|
+
projectRelDir: flowProjectRelDir
|
|
610
|
+
} = solution;
|
|
536
611
|
const stagingDir = this.fs.path.join(this.fs.env.tmpdir(), `.flow-debug-staging-${safeName}-${Date.now()}`);
|
|
537
612
|
await this.fs.mkdir(stagingDir);
|
|
538
613
|
let uisPath;
|
|
539
614
|
let entryPoint;
|
|
540
615
|
try {
|
|
541
|
-
|
|
542
|
-
if (uipxError) {
|
|
543
|
-
logger.warn(`Could not read .uipx: ${uipxError.message}. Falling back to flow-only upload.`);
|
|
544
|
-
}
|
|
545
|
-
const flowProjectRelDir = this.fs.path.basename(absoluteProjectPath);
|
|
546
|
-
if (uipxResult) {
|
|
547
|
-
await this.fs.writeFile(this.fs.path.join(stagingDir, uipxResult.uipxFileName), JSON.stringify(uipxResult.uipx, null, 4));
|
|
548
|
-
} else {
|
|
549
|
-
await this.writeSingleProjectSolutionMetadata(stagingDir, safeName, flowProjectRelDir);
|
|
550
|
-
}
|
|
616
|
+
await this.fs.writeFile(this.fs.path.join(stagingDir, solution.uipxFileName), JSON.stringify(uipx, null, 4));
|
|
551
617
|
const resourcesDir = this.fs.path.join(solutionDir, "resources");
|
|
552
618
|
if (await this.fs.exists(resourcesDir)) {
|
|
553
619
|
await this.fs.copyDirectory(resourcesDir, this.fs.path.join(stagingDir, "resources"));
|
|
@@ -557,50 +623,48 @@ class FlowDebugService {
|
|
|
557
623
|
await this.fs.copyDirectory(userProfileDir, this.fs.path.join(stagingDir, "userProfile"));
|
|
558
624
|
}
|
|
559
625
|
const siblingInlineAgents = [];
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
if (packageError) {
|
|
573
|
-
|
|
574
|
-
throw packageError;
|
|
575
|
-
}
|
|
576
|
-
logger.warn(`Could not package sibling Flow "${projectDir}": ${packageError.message}. Continuing.`);
|
|
577
|
-
} else {
|
|
578
|
-
siblingInlineAgents.push(...agents);
|
|
626
|
+
for (const project of uipx.Projects) {
|
|
627
|
+
const projectDir = toPortableRelativePath2(this.fs.path.dirname(toPortableRelativePath2(project.ProjectRelativePath)));
|
|
628
|
+
if (projectDir === flowProjectRelDir) {
|
|
629
|
+
continue;
|
|
630
|
+
}
|
|
631
|
+
const srcProjectPath = this.fs.path.join(solutionDir, projectDir);
|
|
632
|
+
if (await this.fs.exists(srcProjectPath)) {
|
|
633
|
+
const siblingStagingDir = this.fs.path.join(stagingDir, projectDir);
|
|
634
|
+
await this.fs.copyDirectory(srcProjectPath, siblingStagingDir);
|
|
635
|
+
if (project.Type === "Flow") {
|
|
636
|
+
const [packageError, agents] = await catchError2(this.generateSiblingFlowPackage(siblingStagingDir, projectDir, srcProjectPath));
|
|
637
|
+
if (packageError) {
|
|
638
|
+
if (packageError instanceof UnboundInlineEntityError2) {
|
|
639
|
+
throw packageError;
|
|
579
640
|
}
|
|
641
|
+
logger.warn(`Could not package sibling Flow "${projectDir}": ${packageError.message}. Continuing.`);
|
|
642
|
+
} else {
|
|
643
|
+
siblingInlineAgents.push(...agents);
|
|
580
644
|
}
|
|
581
|
-
logger.info(`Included project "${projectDir}" (${project.Type}) in solution package`);
|
|
582
|
-
} else {
|
|
583
|
-
logger.warn(`Project directory not found: ${srcProjectPath} — skipping`);
|
|
584
645
|
}
|
|
646
|
+
logger.info(`Included project "${projectDir}" (${project.Type}) in solution package`);
|
|
647
|
+
} else {
|
|
648
|
+
logger.warn(`Project directory not found: ${srcProjectPath} — skipping`);
|
|
585
649
|
}
|
|
586
650
|
}
|
|
587
651
|
const stagingProjectDir = this.fs.path.join(stagingDir, flowProjectRelDir);
|
|
588
652
|
await this.fs.mkdir(stagingProjectDir);
|
|
589
653
|
await this.fs.writeFile(this.fs.path.join(stagingProjectDir, "project.uiproj"), projectUiprojContent);
|
|
590
|
-
const inlineAgentPackages = await
|
|
591
|
-
const profile = await
|
|
654
|
+
const inlineAgentPackages = await packageInlineAgents2(this.fs, absoluteProjectPath, allNodesOf2(flowData));
|
|
655
|
+
const profile = await resolveRuntimeProfile2(this.fs, absoluteProjectPath);
|
|
592
656
|
await applyRuntimeProfile2(this.fs, stagingProjectDir, profile);
|
|
593
657
|
const { bpmnFileName, startEventId } = await this.writeFlowProjectPackage(stagingProjectDir, flowData, bpmnXml, `${safeName}.flow`, inlineAgentPackages, profile);
|
|
594
658
|
if (inlineAgentPackages.length > 0) {
|
|
595
|
-
await
|
|
659
|
+
await stageInlineAgentPackageFiles2(this.fs, absoluteProjectPath, stagingProjectDir, inlineAgentPackages, (source) => `Staged inline agent "${source}" for debug`);
|
|
596
660
|
}
|
|
597
661
|
const inlineAgents = [
|
|
598
662
|
...siblingInlineAgents,
|
|
599
|
-
...
|
|
663
|
+
...buildInlineAgentDescriptors2(allNodesOf2(flowData))
|
|
600
664
|
];
|
|
601
665
|
const startNode = startNodeId ?? startEventId;
|
|
602
666
|
entryPoint = `/${bpmnFileName}#${startNode}`;
|
|
603
|
-
const [refreshError, refreshResult] = await catchError2(import("./index-
|
|
667
|
+
const [refreshError, refreshResult] = await catchError2(import("./index-b02kt4sx.js").then((mod) => mod.resourceRefreshAsync(stagingDir)));
|
|
604
668
|
let missingResourceWarnings = [];
|
|
605
669
|
if (refreshError) {
|
|
606
670
|
logger.warn(`Resource refresh threw before debug: ${refreshError.message}. Continuing without generated overwrites.`);
|
|
@@ -619,9 +683,7 @@ class FlowDebugService {
|
|
|
619
683
|
logger.info("Building solution package (all projects)...");
|
|
620
684
|
const builtUisPath = await buildSolutionPackageFromDir2(this.fs, stagingDir);
|
|
621
685
|
uisPath = builtUisPath;
|
|
622
|
-
|
|
623
|
-
const solutionInfo = await findSolutionFile2(this.fs, absoluteProjectPath);
|
|
624
|
-
const existingSolutionId = solutionInfo?.solutionId;
|
|
686
|
+
const existingSolutionId = uipx.SolutionId;
|
|
625
687
|
const apiConfig = {
|
|
626
688
|
baseUrl: config.baseUrl,
|
|
627
689
|
organizationId: config.organizationId,
|
|
@@ -631,7 +693,11 @@ class FlowDebugService {
|
|
|
631
693
|
organizationUnitId: config.organizationUnitId
|
|
632
694
|
};
|
|
633
695
|
const folderInfo = config.userProvidedFolderId !== undefined ? await getFolderInfoById2(apiConfig, config.userProvidedFolderId) : await getPersonalFolderInfo2(apiConfig);
|
|
696
|
+
assertDebugFolder(folderInfo, options?.requiredFolderId);
|
|
634
697
|
const uploadAndPatch = async () => {
|
|
698
|
+
if (options?.signal?.aborted) {
|
|
699
|
+
throw new DebugCancelledError2;
|
|
700
|
+
}
|
|
635
701
|
const importResult = await uploadOrOverwriteSolution2(apiConfig, config.organizationName, builtUisPath, existingSolutionId, this.fs);
|
|
636
702
|
const patchedCount = await patchConnectionOverwrites2(apiConfig, config.organizationName, importResult.id, solutionDir, folderInfo, this.fs);
|
|
637
703
|
if (patchedCount > 0) {
|
|
@@ -641,7 +707,9 @@ class FlowDebugService {
|
|
|
641
707
|
};
|
|
642
708
|
if (options?.uploadOnly) {
|
|
643
709
|
const importResult = await uploadAndPatch();
|
|
644
|
-
await
|
|
710
|
+
const update = await updateUipxSolutionId2(this.fs, solutionFile, importResult.id);
|
|
711
|
+
if (update)
|
|
712
|
+
callbacks?.onLocalSolutionIdUpdated?.(update);
|
|
645
713
|
const project = importResult.projects.find((candidate) => candidate.name === projectName) ?? importResult.projects[0];
|
|
646
714
|
const studioWebUrl = buildStudioWebDesignerUrl2({
|
|
647
715
|
baseUrl: apiConfig.baseUrl,
|
|
@@ -659,7 +727,11 @@ class FlowDebugService {
|
|
|
659
727
|
}
|
|
660
728
|
const result = await uploadAndDebugSolution2({
|
|
661
729
|
upload: uploadAndPatch,
|
|
662
|
-
onSolutionId: (id) =>
|
|
730
|
+
onSolutionId: async (id) => {
|
|
731
|
+
const update = await updateUipxSolutionId2(this.fs, solutionFile, id);
|
|
732
|
+
if (update)
|
|
733
|
+
callbacks?.onLocalSolutionIdUpdated?.(update);
|
|
734
|
+
},
|
|
663
735
|
projectName,
|
|
664
736
|
entryPoint,
|
|
665
737
|
projectType: "Flow",
|
|
@@ -672,7 +744,10 @@ class FlowDebugService {
|
|
|
672
744
|
folder: { key: folderInfo.key, id: folderInfo.id },
|
|
673
745
|
requireDebugPreparation: true,
|
|
674
746
|
inlineAgents,
|
|
675
|
-
|
|
747
|
+
...options?.fpsProperties ? { fpsProperties: options.fpsProperties } : {},
|
|
748
|
+
...options?.followJobWhenForbidden ? { followJobWhenForbidden: true } : {},
|
|
749
|
+
...options?.signal ? { signal: options.signal } : {},
|
|
750
|
+
buildSolutionProjects: (uploadedProjects, solutionId) => this.buildSolutionProjectDescriptors(uploadedProjects, solutionId, stagingDir, projectName, entryPoint, FlowDebugService.buildProjectTypeMap(uipx.Projects))
|
|
676
751
|
});
|
|
677
752
|
const outputIds = declaredOutputIds(flowData);
|
|
678
753
|
const outputs = await fetchOutputVariables(apiConfig, result, outputIds);
|
|
@@ -727,7 +802,7 @@ class FlowDebugService {
|
|
|
727
802
|
bpmnXml = await this.convertToBpmn(flowData, this.fs.path.dirname(absolutePath));
|
|
728
803
|
startEventId = extractStartEventId2(bpmnXml);
|
|
729
804
|
logger.info("Generating project files...");
|
|
730
|
-
projectDir = await this.generateProjectFiles(flowData, bpmnXml, flowFileContent, startEventId, await
|
|
805
|
+
projectDir = await this.generateProjectFiles(flowData, bpmnXml, flowFileContent, startEventId, await resolveRuntimeProfileForFlowFile2(this.fs, absolutePath));
|
|
731
806
|
projectName = flowData.name.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
732
807
|
entryPointBpmnFile = `${projectName}.bpmn`;
|
|
733
808
|
} else {
|
|
@@ -760,7 +835,7 @@ class FlowDebugService {
|
|
|
760
835
|
}
|
|
761
836
|
}
|
|
762
837
|
];
|
|
763
|
-
await
|
|
838
|
+
await writePackagingArtifacts2(this.fs, projectDir, crypto.randomUUID(), packagingNodes, [], {}, bpmnFileName, startEventId);
|
|
764
839
|
await this.fs.writeFile(this.fs.path.join(projectDir, `${safeName}.bpmn`), bpmnXml);
|
|
765
840
|
projectName = safeName;
|
|
766
841
|
entryPointBpmnFile = `${safeName}.bpmn`;
|
|
@@ -824,8 +899,9 @@ export {
|
|
|
824
899
|
FlowDebugMissingResourcesError,
|
|
825
900
|
FlowDebugService,
|
|
826
901
|
InboundVoiceDebugError,
|
|
902
|
+
InvalidSolutionManifestError,
|
|
827
903
|
MissingSolutionWrapperError,
|
|
828
904
|
UnregisteredProjectError
|
|
829
905
|
};
|
|
830
906
|
|
|
831
|
-
//# debugId=
|
|
907
|
+
//# debugId=EF94C460B62ADAF364756E2164756E21
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
findFlowNode2,
|
|
3
|
+
readAgentSourceId2,
|
|
4
|
+
isNodeEvalTarget2,
|
|
5
|
+
isDocumentEvalNode2,
|
|
6
|
+
readNodeTargetId2,
|
|
7
|
+
FlowAgentNodeSchemaReader2,
|
|
8
|
+
readEvalSetScope2
|
|
9
|
+
} from "./packager-tool-zgm6kh18.js";
|
|
10
|
+
import"./packager-tool-7re5d8aq.js";
|
|
11
|
+
import"./packager-tool-tm4d12jb.js";
|
|
12
|
+
import"./packager-tool-6azsz9h8.js";
|
|
13
|
+
import"./packager-tool-3sxg16ft.js";
|
|
14
|
+
import"./packager-tool-mm6a12y4.js";
|
|
15
|
+
import"./packager-tool-zap4kd3z.js";
|
|
16
|
+
import"./packager-tool-bcsjm5hv.js";
|
|
17
|
+
import"./packager-tool-4hn7v05x.js";
|
|
18
|
+
import"./packager-tool-40bxn7j2.js";
|
|
19
|
+
import"./packager-tool-1db1wqdy.js";
|
|
20
|
+
import"./packager-tool-t0e7fvqz.js";
|
|
21
|
+
export {
|
|
22
|
+
FlowAgentNodeSchemaReader2 as FlowAgentNodeSchemaReader,
|
|
23
|
+
findFlowNode2 as findFlowNode,
|
|
24
|
+
isDocumentEvalNode2 as isDocumentEvalNode,
|
|
25
|
+
isNodeEvalTarget2 as isNodeEvalTarget,
|
|
26
|
+
readAgentSourceId2 as readAgentSourceId,
|
|
27
|
+
readEvalSetScope2 as readEvalSetScope,
|
|
28
|
+
readNodeTargetId2 as readNodeTargetId
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
//# debugId=CA0758BC85670D5F64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FlowEvalRunApi2
|
|
3
|
+
} from "./packager-tool-qx8wvedy.js";
|
|
4
|
+
import"./packager-tool-bcsjm5hv.js";
|
|
5
|
+
import"./packager-tool-4hn7v05x.js";
|
|
6
|
+
import"./packager-tool-1db1wqdy.js";
|
|
7
|
+
export {
|
|
8
|
+
FlowEvalRunApi2 as FlowEvalRunApi
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
//# debugId=4506914A47E1CF5464756E2164756E21
|