@uipath/flow-tool 1.205.0-preview.277 → 1.206.0-preview.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -12
- package/dist/THIRD-PARTY-NOTICES.md +74 -46
- package/dist/applicationinsights-web-8m26566f.js +17209 -0
- package/dist/authoring-x84r2a2j.js +23 -0
- package/dist/binding-service-s0wvr2xm.js +114 -0
- package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-gnftxwsf.js} +5 -6
- package/dist/connector-library-1yw5r47w.js +99 -0
- package/dist/{connector-service-kdg7mq7z.js → connector-service-r86mtxwn.js} +270 -275
- package/dist/{conversion-FQTRFHRX-e5wr281j.js → conversion-7O2PDOQB-3wwppx87.js} +477 -472
- package/dist/{de-FGHEJRCI-PK6WALXW-0dnvnmke.js → de-2BEKRUMY-MD7L477H-rj1rmtav.js} +425 -37
- package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
- package/dist/{de-VMMG2MN7-2ecwpg1b.js → de-3CU65EDB-r7r10am9.js} +82 -7
- package/dist/{de-UZI7FJDO-awjpqfz0.js → de-AI7ML6JM-km47f8k4.js} +20 -5
- package/dist/{de-B3EKCNFC-zdwybhh7.js → de-VQWT6L5Y-mch4qwyv.js} +38 -5
- package/dist/{de-XNTCMP5Z-xfkfqg20.js → de-XNTCMP5Z-nd4scb43.js} +1 -4
- package/dist/debug-conversation-trigger-3wzy90kj.js +23 -0
- package/dist/debug-http-client-zydr7tna.js +31 -0
- package/dist/debug-service-hdktqeek.js +60 -0
- package/dist/edge-service-zck3s9ss.js +267 -0
- package/dist/{elk.bundled-vpsbxz0p.js → elk.bundled-phy0zc81.js} +6860 -6860
- package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/en-LAVDF7IQ-ba7wzsxp.js +254 -0
- package/dist/en-LQHKFSEY-zf6a2myg.js +24 -0
- package/dist/en-U2NSIIZN-whenw6wh.js +58 -0
- package/dist/en-WPCQ4JKF-t3x07ggr.js +148 -0
- package/dist/en-X6T4SP2Y-FPGCJIFV-qdfapfzs.js +2756 -0
- package/dist/en-X6T4SP2Y-xe57av1w.js +2752 -0
- package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
- package/dist/{es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js → es-7ZTQTGKN-TXQBFYRA-bzh1e1gq.js} +422 -34
- package/dist/{es-EKHIPSW6-ya88nvm0.js → es-EKHIPSW6-asfceac2.js} +1 -4
- package/dist/{es-KEBF3AIM-g5rszh8f.js → es-EP563JWQ-1agj5n4e.js} +38 -5
- package/dist/{es-WY6FZ3HO-zksnn6dp.js → es-KHVY67FO-natcvmmm.js} +82 -7
- package/dist/{es-MX-5RELIXKI-jtjbcxbb.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
- package/dist/{es-MX-ZP2LJ3V7-k4brnfa9.js → es-MX-F7ZEHSNE-gxpm47vv.js} +82 -7
- package/dist/{es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js → es-MX-IHGRIEWH-23X37OPS-7cqdzpcy.js} +425 -37
- package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
- package/dist/{es-MX-OR6G2SFR-7yykk5ma.js → es-MX-OR6G2SFR-02t13sen.js} +1 -4
- package/dist/{es-MX-EL3CDS3F-sh84yvjr.js → es-MX-S2RFDGDE-x9r0tv30.js} +38 -5
- package/dist/{es-4UBUTCQA-t7hsackg.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
- package/dist/filter-engine-dh9s90gb.js +10 -0
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/flow-api-d4dvmadm.js +38 -0
- package/dist/{flow-debug-service-0xn8fk4a.js → flow-debug-service-hy21ddd9.js} +151 -195
- package/dist/flow-eval-node-target-tdrwqca7.js +29 -0
- package/dist/flow-eval-run-api-w4j8ra60.js +9 -0
- package/dist/{flow-eval-run-service-dcj8p7n7.js → flow-eval-run-service-5en4ahyn.js} +125 -149
- package/dist/{flow-eval-service-6c0y5a3b.js → flow-eval-service-2j28ect1.js} +57 -81
- package/dist/{flow-init-sdk-source-xvdvkq7d.js → flow-init-sdk-source-xnr4bg25.js} +8 -11
- package/dist/flow-init-service-bj3ev9bz.js +26 -0
- package/dist/flow-io-9q6xk473.js +24 -0
- package/dist/{flow-migrate-service-9w8dgydd.js → flow-migrate-service-dkx85jj5.js} +33 -54
- package/dist/{flow-pack-service-5s2cthq4.js → flow-pack-service-58m51sp8.js} +79 -103
- package/dist/flow-validate-service-9a3zate4.js +46 -0
- package/dist/{fr-DPD4GHX3-exeypjwk.js → fr-7LK3QUWT-a94yejcs.js} +38 -5
- package/dist/{fr-Y6NPVODW-AS7T42TR-v4qe2tha.js → fr-7ZDL4MVO-CXMRZDOF-qjkg6y2r.js} +425 -37
- package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
- package/dist/{fr-VBM5WRC2-707ha692.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
- package/dist/{fr-PRMYCRDC-0bk078by.js → fr-I42FODC5-p80x5v4b.js} +83 -8
- package/dist/{fr-IHD66TVT-vfvmefbx.js → fr-IHD66TVT-eq8h0d6c.js} +1 -4
- package/dist/{governance-fetcher-mx8gr86x.js → governance-fetcher-h8hpcwyh.js} +17 -21
- package/dist/{headless-4x4v3sy6.js → headless-41t9wwb7.js} +2395 -43269
- package/dist/{hitl-service-d943rxgm.js → hitl-service-hccqhm63.js} +22 -42
- package/dist/index-4e3w8x62.js +31 -0
- package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
- package/dist/index-5xh0cjag.js +82 -0
- package/dist/index-7fet3f0s.js +10 -0
- package/dist/index-d4bdedx3.js +32 -0
- package/dist/index-f5kq7265.js +24 -0
- package/dist/index-g2p2ww34.js +39 -0
- package/dist/index-ng011fzs.js +974 -0
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/{index-1b2je9n2.js → index-px95xmkg.js} +290 -268
- package/dist/index-tdwpejt6.js +22 -0
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +19 -28
- package/dist/index.umd.min-ttg1qc0x.js +7814 -0
- package/dist/init.js +22 -43
- package/dist/inline-entity-resolver-0neh2b43.js +25 -0
- package/dist/input-reader-zqaep7k7.js +11 -0
- package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
- package/dist/{ja-HFEQKCZF-hb2f25p8.js → ja-GI3OUHPZ-28fy60r0.js} +83 -8
- package/dist/{ja-JE5ZL7EY-hacj2m31.js → ja-JE5ZL7EY-607k4c7p.js} +1 -4
- package/dist/{ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js → ja-LGAM5HKR-NTPKIZEM-nv67917s.js} +422 -34
- package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
- package/dist/ja-WY2W6733-ayr36h1f.js +71 -0
- package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
- package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/known-types-v9sxcq1c.js +13 -0
- package/dist/{ko-AYBDSRZG-G43C3XUW-kng13fsg.js → ko-7B4SUZB7-2SLI636D-grbtfrcv.js} +424 -36
- package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
- package/dist/{ko-DJJRKCG5-5h3k9csc.js → ko-DJJRKCG5-4fekzjn4.js} +1 -4
- package/dist/{ko-LA5OSS5P-mq5h8sbk.js → ko-H2RGQWKJ-9696w762.js} +38 -5
- package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
- package/dist/{ko-B4SEC7QX-thq2wt6a.js → ko-RYKAL74T-10m4z8vw.js} +83 -8
- package/dist/localization-skqjy9nr.js +45 -0
- package/dist/maestro-automate-entry-d1v5q5mv.js +14 -0
- package/dist/{node-5ay0ddfj.js → node-0jy3qx5b.js} +69 -638
- package/dist/node-service-2nxpk751.js +64 -0
- package/dist/{node-strategy-1dmmhvf3.js → node-strategy-wrjxmbzt.js} +9 -12
- package/dist/node-sync-service-68vq10je.js +56 -0
- package/dist/packager-tool-14rdgz3c.js +55 -0
- package/dist/packager-tool-1rhch6b5.js +496 -0
- package/dist/packager-tool-21t17xzz.js +5073 -0
- package/dist/{packager-tool-pvhx9e12.js → packager-tool-2b0tn4p4.js} +58 -176
- package/dist/{packager-tool-xf9vf5nj.js → packager-tool-368bft50.js} +11 -11
- package/dist/{packager-tool-a5afh1dc.js → packager-tool-4fv0sq2h.js} +61 -67
- package/dist/packager-tool-4g87fbz6.js +273 -0
- package/dist/packager-tool-4zt1s51a.js +53 -0
- package/dist/{packager-tool-frjt46rb.js → packager-tool-508ka40b.js} +23 -23
- package/dist/{packager-tool-a5ywkf0w.js → packager-tool-5104bnpv.js} +22 -21
- package/dist/packager-tool-5dgpfh5e.js +1274 -0
- package/dist/packager-tool-5ve5ms3b.js +2393 -0
- package/dist/{packager-tool-dxgrhfq5.js → packager-tool-64r7e4ek.js} +8 -8
- package/dist/{packager-tool-kkwrd05c.js → packager-tool-65yf8zqb.js} +180 -1237
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-hgfygxyj.js → packager-tool-6jpvvxyb.js} +27 -22
- package/dist/packager-tool-6vhefpmq.js +461 -0
- package/dist/{packager-tool-v9vpk48j.js → packager-tool-72xwbsmw.js} +441 -556
- package/dist/packager-tool-7atc775f.js +30 -0
- package/dist/packager-tool-7mxn3e7j.js +27 -0
- package/dist/{packager-tool-gpwnzqd9.js → packager-tool-7qtnffkc.js} +8 -7
- package/dist/{packager-tool-ymma2s85.js → packager-tool-8ba22j6n.js} +9 -6
- package/dist/{packager-tool-apawc11t.js → packager-tool-8ed52y5r.js} +1584 -1261
- package/dist/{packager-tool-143kcy6z.js → packager-tool-8n4bdvke.js} +13 -13
- package/dist/{packager-tool-p8gab24q.js → packager-tool-8qypzm9v.js} +424 -404
- package/dist/packager-tool-9217bxm2.js +6 -0
- package/dist/{packager-tool-zfrp8ecz.js → packager-tool-951nhh3e.js} +82 -82
- package/dist/{packager-tool-zjv3f1k3.js → packager-tool-99d2kj94.js} +8 -11
- package/dist/{packager-tool-z21c6mbp.js → packager-tool-a1h0q79w.js} +48 -48
- package/dist/{packager-tool-xk78j7dz.js → packager-tool-ac6rvny7.js} +52 -57
- package/dist/{packager-tool-3jkppykr.js → packager-tool-b2pkwwj1.js} +1273 -1300
- package/dist/{packager-tool-nhrc54tz.js → packager-tool-bbkkxbyq.js} +9 -8
- package/dist/{packager-tool-409n51pv.js → packager-tool-d07g2kpn.js} +7 -7
- package/dist/{packager-tool-8zzmg2f3.js → packager-tool-dx6sjbkd.js} +19 -19
- package/dist/{packager-tool-8g5931fz.js → packager-tool-em4ppegs.js} +36 -43
- package/dist/{packager-tool-zgsvggdr.js → packager-tool-f7rk9xhv.js} +4 -4
- package/dist/{packager-tool-jrnjzs5t.js → packager-tool-fzgfb0jt.js} +32175 -36281
- package/dist/{packager-tool-9rmaeaww.js → packager-tool-gdpw0daf.js} +25211 -11966
- package/dist/packager-tool-hk0fnvz5.js +14 -0
- package/dist/{packager-tool-dbsdy4xx.js → packager-tool-jd3v0bh1.js} +4 -4
- package/dist/{packager-tool-tqjfdpda.js → packager-tool-jmrhzfyj.js} +106 -80
- package/dist/{packager-tool-mgwzjh8c.js → packager-tool-kz3t4raw.js} +490 -246
- package/dist/{packager-tool-7bam8cjq.js → packager-tool-mdf7bws6.js} +53255 -27261
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
- package/dist/{packager-tool-nkrmjr3a.js → packager-tool-mphfxa9g.js} +125 -125
- package/dist/{packager-tool-kn86394c.js → packager-tool-p123mtfx.js} +66 -692
- package/dist/{packager-tool-t7ahhaer.js → packager-tool-pxq0bwp0.js} +208 -138
- package/dist/{packager-tool-j95w4fj3.js → packager-tool-q0f1dvtd.js} +11 -11
- package/dist/{packager-tool-8qp60s20.js → packager-tool-q2f18crb.js} +3 -3
- package/dist/packager-tool-q2kwk5bf.js +57 -0
- package/dist/{packager-tool-z502rf8m.js → packager-tool-rxqxza90.js} +192 -183
- package/dist/{packager-tool-vzezw19a.js → packager-tool-ryds9860.js} +33 -36
- package/dist/{packager-tool-ykbahxma.js → packager-tool-t17t9svg.js} +6 -6
- package/dist/{packager-tool-myhbp761.js → packager-tool-vgrswa8p.js} +53 -8
- package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
- package/dist/{packager-tool-1frs4sr4.js → packager-tool-yewnsyag.js} +37 -5
- package/dist/packager-tool-zdqbp34f.js +14 -0
- package/dist/{packager-tool-pacrqxv2.js → packager-tool-ze3fnf3s.js} +52 -34
- package/dist/packager-tool.js +12 -32
- package/dist/prepare-uip-ad7mfs8t.js +92 -0
- package/dist/{pt-3KUMINBZ-d0fexmny.js → pt-2RGHDOG4-gwe2ptvg.js} +38 -5
- package/dist/{pt-BR-3LGIH33I-tqbrd89y.js → pt-BR-3LGIH33I-hdf332je.js} +1 -4
- package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
- package/dist/{pt-BR-6VFBW5QT-hsck9gjj.js → pt-BR-IL3KLBID-m1mvqqzb.js} +83 -8
- package/dist/{pt-BR-WNNZTIMN-6fent688.js → pt-BR-JWHVZE6H-gvkknv49.js} +38 -5
- package/dist/{pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js → pt-BR-PHLFHMXZ-JFPKUXIZ-gyb27t6e.js} +425 -37
- package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
- package/dist/{pt-RMIAKZB4-t80exmp7.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
- package/dist/{pt-ROXU257Y-OWZOS54V-ywap2t39.js → pt-N7ZTJT4W-GVODJMRX-p5b51p0b.js} +424 -36
- package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
- package/dist/{pt-PFZXVOQH-qshq0b2m.js → pt-PFZXVOQH-xvcm5b61.js} +1 -4
- package/dist/{pt-WOTPKWPZ-1rxcy8hs.js → pt-VLA5IOHO-8t4pze0h.js} +83 -8
- package/dist/{ro-GHOBYW2S-4zevc9dy.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
- package/dist/{ro-KMDT7LYJ-yhpnsdvw.js → ro-53TS7SWG-hnjx1c7b.js} +38 -5
- package/dist/{ro-AN5G62WQ-kcj00jwq.js → ro-AN5G62WQ-fzsv2ymm.js} +1 -4
- package/dist/{ro-AVAWPKOO-6WCG756B-v7pjv1hc.js → ro-FLNXVYJI-ZN43XZKK-2tajkc94.js} +422 -34
- package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
- package/dist/{ro-PB44YXML-zmhhwp5h.js → ro-IRNFX376-mh84zk3n.js} +82 -7
- package/dist/{ru-GSCT4ARZ-FTVCGQTL-gee86v14.js → ru-GSCT4ARZ-FTVCGQTL-v3d4ag31.js} +2 -4
- package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
- package/dist/{ru-T73OPRTC-4knxw497.js → ru-T73OPRTC-50m7tty9.js} +1 -4
- package/dist/{ru-WBLQ5B2U-wemdzdqd.js → ru-WBLQ5B2U-5qpt0mvh.js} +1 -4
- package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
- package/dist/{ru-WBLQ5B2U-kdey8qa4.js → ru-WBLQ5B2U-w2wmp3xb.js} +1 -4
- package/dist/{serialization-BXU6AKAN-vdqyr29x.js → serialization-Z3UYT6BW-y9gb55mp.js} +1638 -761
- package/dist/services/extract-schema/default-schema-document.d.ts +31 -0
- package/dist/services/node-service.d.ts +6 -3
- package/dist/services/node-validators/file-node-connection-validator.d.ts +2 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/orchestrator-connection-field.d.ts +24 -0
- package/dist/services/packaging-utils.d.ts +2 -2
- package/dist/services/vars-reference-rule.d.ts +4 -3
- package/dist/solution-auth-j8x84n5z.js +11 -0
- package/dist/solution-discovery-vn4q32bf.js +38 -0
- package/dist/{tidy-service-c3xbcma6.js → tidy-service-m33hhtc7.js} +37 -55
- package/dist/tool.js +18 -27
- package/dist/{tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js → tr-7AIZZWZ6-ESAESUPL-77g9b7jb.js} +422 -34
- package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
- package/dist/{tr-SEC6RGZ4-0ttavjya.js → tr-EJKY7DVQ-rkctqva4.js} +83 -8
- package/dist/{tr-KHOCWWLF-8apf5y44.js → tr-KHOCWWLF-m9t24j5y.js} +1 -4
- package/dist/{tr-SC55DYHY-e4zgcd4t.js → tr-PIQY7JIT-2mkwk0kq.js} +38 -5
- package/dist/{tr-GDTLECMM-kngksm3r.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
- package/dist/utils/container-ports.d.ts +22 -0
- package/dist/utils/handle-expansion.d.ts +57 -3
- package/dist/utils/workflow-file-format.d.ts +14 -0
- package/dist/validation.js +44 -68
- package/dist/{variable-service-s0srgj90.js → variable-service-ea1erf93.js} +28 -49
- package/dist/{wait-for-flow-job-b0vj8828.js → wait-for-flow-job-a4xtda36.js} +29 -36
- package/dist/{zh-CN-MX7VIOF2-xznrtchf.js → zh-CN-4FH7E7UL-84y6j2ea.js} +82 -7
- package/dist/{zh-CN-4NI2EGMV-8g027vv3.js → zh-CN-4NI2EGMV-dt0wg0wh.js} +1 -4
- package/dist/{zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js → zh-CN-CN2ARPFS-NIQTWDK2-b5c91fwn.js} +422 -34
- package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
- package/dist/{en-BPJVY3U7-xkpj5xc5.js → zh-CN-NIEVKROA-q4tbbwqz.js} +26 -7
- package/dist/{zh-CN-I5D7WHBD-ge92tbx9.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
- package/dist/{zh-TW-53SU6EH4-33x57egq.js → zh-TW-53SU6EH4-w0wz3nwg.js} +1 -4
- package/dist/{zh-TW-5SJ3GZT2-bsg054mw.js → zh-TW-5WQA6QTM-hns69sd4.js} +83 -8
- package/dist/{zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js → zh-TW-7RUFEVFK-VKVRSVTP-jq2pcmar.js} +421 -33
- package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
- package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
- package/dist/{zh-TW-TN3MPNXL-jcgg2hcs.js → zh-TW-MSQM7YTT-m7r7nwnj.js} +38 -5
- package/package.json +2 -2
- package/dist/authoring-e1k40hyw.js +0 -24
- package/dist/binding-service-v1ejjevw.js +0 -157
- package/dist/de-FGHEJRCI-gn4cf5gh.js +0 -2697
- package/dist/de-MUJPA4EB-209jpeqe.js +0 -173
- package/dist/de-UZI7FJDO-mwvc4cxe.js +0 -200
- package/dist/debug-conversation-trigger-2crr9w4n.js +0 -30
- package/dist/debug-http-client-yqjzsnhw.js +0 -32
- package/dist/debug-service-nra3n02y.js +0 -61
- package/dist/edge-service-vq8cjh0x.js +0 -170
- package/dist/en-E454CJNK-ytfw06kj.js +0 -98
- package/dist/en-EJCBA3LK-0wb3b1xy.js +0 -146
- package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
- package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
- package/dist/en-LQHKFSEY-vvbe8ve9.js +0 -26
- package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
- package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +0 -1942
- package/dist/en-TBNO2WUV-9nan43e5.js +0 -1936
- package/dist/es-4UBUTCQA-m1ytpyx2.js +0 -200
- package/dist/es-7SE7HX2X-qda7whn6.js +0 -173
- package/dist/es-KR3ZSNMP-0cszm2n3.js +0 -2697
- package/dist/es-MX-2MYFZU7X-6v0q5rbn.js +0 -173
- package/dist/es-MX-5RELIXKI-9jhqtddc.js +0 -200
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +0 -2697
- package/dist/filter-engine-7ep90g7f.js +0 -11
- package/dist/first-party-service-srxaftkn.js +0 -27
- package/dist/flow-api-sat010z1.js +0 -42
- package/dist/flow-eval-node-target-b5xwf5gp.js +0 -52
- package/dist/flow-eval-run-api-xdygjzfv.js +0 -13
- package/dist/flow-init-service-z6xc9zsz.js +0 -47
- package/dist/flow-io-hf4szx79.js +0 -44
- package/dist/flow-validate-service-3974mcq1.js +0 -70
- package/dist/fr-MDFKNZ4C-qmypp92m.js +0 -173
- package/dist/fr-VBM5WRC2-63z7w4mh.js +0 -200
- package/dist/fr-Y6NPVODW-q5ef3htr.js +0 -2697
- package/dist/index-cexznmfe.js +0 -667
- package/dist/index-cg9qhfb1.js +0 -635
- package/dist/index-d090f35d.js +0 -66
- package/dist/index-gxcjq6ns.js +0 -110
- package/dist/index-kmp9fmhb.js +0 -25
- package/dist/index-nsn889vf.js +0 -27
- package/dist/index-sqhbn7ew.js +0 -157
- package/dist/index-wycgq0ff.js +0 -3178
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/inline-entity-resolver-23tt0g1j.js +0 -45
- package/dist/input-reader-n7kzdrev.js +0 -12
- package/dist/ja-43QL7CGO-h6qfxfay.js +0 -200
- package/dist/ja-MDG4BKZQ-gayaca2c.js +0 -38
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +0 -2697
- package/dist/ja-UTQEAP34-hvyf683h.js +0 -173
- package/dist/known-types-r51zxb9g.js +0 -19
- package/dist/ko-AXCHW2OK-pkwdcbmx.js +0 -173
- package/dist/ko-AYBDSRZG-am0h0m2r.js +0 -2697
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +0 -200
- package/dist/localization-d6gjmrsw.js +0 -47
- package/dist/maestro-automate-entry-6f9act3w.js +0 -22
- package/dist/node-service-0t16wfqk.js +0 -92
- package/dist/node-sync-service-w84f66pb.js +0 -61
- package/dist/packager-tool-0gctz400.js +0 -17
- package/dist/packager-tool-4mna26cc.js +0 -133
- package/dist/packager-tool-4x7tzvv0.js +0 -1176
- package/dist/packager-tool-53w8skv5.js +0 -262
- package/dist/packager-tool-6ejqwbw9.js +0 -26
- package/dist/packager-tool-6z1hsm2h.js +0 -143
- package/dist/packager-tool-79jnagb9.js +0 -5367
- package/dist/packager-tool-9era57c0.js +0 -28
- package/dist/packager-tool-9jxzgsxc.js +0 -14
- package/dist/packager-tool-c23zrhj8.js +0 -11
- package/dist/packager-tool-d6qf5qmb.js +0 -49
- package/dist/packager-tool-dw1bm5y7.js +0 -8809
- package/dist/packager-tool-e3yks66r.js +0 -95
- package/dist/packager-tool-e5hj89zm.js +0 -6
- package/dist/packager-tool-e87tzg4y.js +0 -1937
- package/dist/packager-tool-eypvc2kv.js +0 -23
- package/dist/packager-tool-gbgfwx8f.js +0 -2
- package/dist/packager-tool-hk1gxnth.js +0 -11
- package/dist/packager-tool-hxyjn885.js +0 -24
- package/dist/packager-tool-j78fwwhq.js +0 -16
- package/dist/packager-tool-jgfzfqjm.js +0 -53
- package/dist/packager-tool-jysvpt8p.js +0 -11
- package/dist/packager-tool-m3wkcxf5.js +0 -11
- package/dist/packager-tool-mcaf4ewf.js +0 -46
- package/dist/packager-tool-mgcz986r.js +0 -143
- package/dist/packager-tool-p79yh9ww.js +0 -97
- package/dist/packager-tool-paq9c70w.js +0 -1332
- package/dist/packager-tool-pcvhcn2k.js +0 -2019
- package/dist/packager-tool-qkn0c042.js +0 -1922
- package/dist/packager-tool-qszay16r.js +0 -180
- package/dist/packager-tool-rs6jm14d.js +0 -23
- package/dist/packager-tool-s7wb0s9n.js +0 -6297
- package/dist/packager-tool-sc961w0q.js +0 -16
- package/dist/packager-tool-skcjythd.js +0 -22085
- package/dist/packager-tool-t07ev0jj.js +0 -1083
- package/dist/packager-tool-xj0agqpk.js +0 -11
- package/dist/packager-tool-z83pga0z.js +0 -1942
- package/dist/pt-3DIO5QWG-hb763vct.js +0 -173
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +0 -2697
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +0 -200
- package/dist/pt-BR-Y6K6XHXK-37a932vp.js +0 -173
- package/dist/pt-RMIAKZB4-67enhx3m.js +0 -200
- package/dist/pt-ROXU257Y-yd80gx6s.js +0 -2697
- package/dist/ro-AVAWPKOO-42m6am1w.js +0 -2697
- package/dist/ro-BWR3ONRR-jmap5ajd.js +0 -173
- package/dist/ro-GHOBYW2S-mhnqsgaa.js +0 -200
- package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
- package/dist/ru-GSCT4ARZ-jrxwev63.js +0 -10
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +0 -10
- package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
- package/dist/shared-utils-tqnx96mg.js +0 -21
- package/dist/solution-auth-8qz5pw7z.js +0 -14
- package/dist/solution-discovery-6t0z143v.js +0 -44
- package/dist/tr-5IIHSFW5-stsb3dar.js +0 -173
- package/dist/tr-GDTLECMM-k5fhmq13.js +0 -200
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +0 -2696
- package/dist/zh-CN-I5D7WHBD-sr5h0a98.js +0 -200
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +0 -2697
- package/dist/zh-CN-OUMLDKDS-q3a1rr5c.js +0 -38
- package/dist/zh-CN-R2KU4U5L-q4yhc33t.js +0 -173
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +0 -200
- package/dist/zh-TW-GNKMELBF-r4ay2475.js +0 -173
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +0 -2697
- /package/dist/{packager-tool-yc4kw997.js → packager-tool-1qg04b7q.js} +0 -0
- /package/dist/{packager-tool-cqtsj6yh.js → packager-tool-2sazb7th.js} +0 -0
- /package/dist/{packager-tool-s9ff3kk4.js → packager-tool-887wr6jm.js} +0 -0
- /package/dist/{packager-tool-aw9v0raw.js → packager-tool-8c7nddd1.js} +0 -0
- /package/dist/{packager-tool-9cq9atem.js → packager-tool-a9xgmn1q.js} +0 -0
- /package/dist/{packager-tool-4kr6g0zw.js → packager-tool-cvh1a0nm.js} +0 -0
- /package/dist/{packager-tool-27avrkyk.js → packager-tool-k3egwd1m.js} +0 -0
- /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
- /package/dist/{packager-tool-10vc8pq4.js → packager-tool-wr7gn964.js} +0 -0
|
@@ -1,137 +1,113 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
getFileSystem
|
|
3
|
+
} from "./packager-tool-vgrswa8p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readWorkflowId
|
|
8
|
-
} from "./packager-tool-8zzmg2f3.js";
|
|
5
|
+
catchError2
|
|
6
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
9
7
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./packager-tool-a5ywkf0w.js";
|
|
8
|
+
logger
|
|
9
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./packager-tool-
|
|
11
|
+
isVoiceAgentNodeType2
|
|
12
|
+
} from "./packager-tool-fzgfb0jt.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
isRecord,
|
|
15
|
+
isUUID,
|
|
16
|
+
findEvalSet,
|
|
17
|
+
getLinkedEvaluators,
|
|
18
|
+
ensureDirectory,
|
|
19
|
+
EvalFileStore,
|
|
20
|
+
injectWorkloadId
|
|
21
|
+
} from "./packager-tool-ac6rvny7.js";
|
|
22
|
+
import"./packager-tool-ze3fnf3s.js";
|
|
19
23
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
convertFlowToBpmn,
|
|
25
|
+
allNodesOf,
|
|
26
|
+
replaceExporterVersion,
|
|
27
|
+
setPublishIntentOnInlineAgents
|
|
28
|
+
} from "./packager-tool-mdf7bws6.js";
|
|
29
|
+
import"./packager-tool-2b0tn4p4.js";
|
|
23
30
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
findFlowNode2,
|
|
32
|
+
readNodeTargetId2
|
|
33
|
+
} from "./packager-tool-5104bnpv.js";
|
|
27
34
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
stageInlineAgentPackageFiles,
|
|
33
|
-
writePackagingArtifactsDetailed
|
|
34
|
-
} from "./packager-tool-kkwrd05c.js";
|
|
35
|
-
import"./packager-tool-cqtsj6yh.js";
|
|
35
|
+
buildSolutionPackageFromDir2,
|
|
36
|
+
getStudioWebSolutionProjects2,
|
|
37
|
+
uploadOrOverwriteSolution2
|
|
38
|
+
} from "./packager-tool-5ve5ms3b.js";
|
|
36
39
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./packager-tool-
|
|
39
|
-
import"./packager-tool-
|
|
40
|
-
import"./packager-tool-dxgrhfq5.js";
|
|
41
|
-
import"./packager-tool-7hw344bt.js";
|
|
42
|
-
import"./packager-tool-z21c6mbp.js";
|
|
43
|
-
import"./packager-tool-409n51pv.js";
|
|
44
|
-
import"./packager-tool-skcjythd.js";
|
|
45
|
-
import"./packager-tool-4x7tzvv0.js";
|
|
46
|
-
import"./packager-tool-3jkppykr.js";
|
|
47
|
-
import"./packager-tool-ymma2s85.js";
|
|
40
|
+
FlowEvalRunApi2
|
|
41
|
+
} from "./packager-tool-hk0fnvz5.js";
|
|
42
|
+
import"./packager-tool-508ka40b.js";
|
|
48
43
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./packager-tool-
|
|
55
|
-
import"./packager-tool-frjt46rb.js";
|
|
56
|
-
import"./packager-tool-hxyjn885.js";
|
|
44
|
+
extractStartEventId2,
|
|
45
|
+
getPersonalFolderKey2,
|
|
46
|
+
getPersonalFolderInfo2,
|
|
47
|
+
prepareForCustomDebug2,
|
|
48
|
+
patchConnectionOverwrites2
|
|
49
|
+
} from "./packager-tool-jmrhzfyj.js";
|
|
57
50
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
isUUID
|
|
65
|
-
} from "./packager-tool-xk78j7dz.js";
|
|
66
|
-
import"./packager-tool-8qp60s20.js";
|
|
67
|
-
import"./packager-tool-kn86394c.js";
|
|
68
|
-
import"./packager-tool-0gctz400.js";
|
|
69
|
-
import"./packager-tool-qa9gftnj.js";
|
|
70
|
-
import"./packager-tool-yc4kw997.js";
|
|
51
|
+
workflowToFileFormat,
|
|
52
|
+
readFlowWorkflow2,
|
|
53
|
+
writeFlowWorkflow2,
|
|
54
|
+
resolveProjectFlowFile2
|
|
55
|
+
} from "./packager-tool-6jpvvxyb.js";
|
|
56
|
+
import"./packager-tool-1rhch6b5.js";
|
|
71
57
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
58
|
+
assertInlineEntitiesBound2
|
|
59
|
+
} from "./packager-tool-8n4bdvke.js";
|
|
60
|
+
import"./packager-tool-gdpw0daf.js";
|
|
61
|
+
import"./packager-tool-kz3t4raw.js";
|
|
62
|
+
import"./packager-tool-65yf8zqb.js";
|
|
63
|
+
import"./packager-tool-1qg04b7q.js";
|
|
64
|
+
import"./packager-tool-p123mtfx.js";
|
|
65
|
+
import"./packager-tool-xb16e3tz.js";
|
|
66
|
+
import"./packager-tool-d07g2kpn.js";
|
|
67
|
+
import"./packager-tool-a1h0q79w.js";
|
|
68
|
+
import"./packager-tool-21t17xzz.js";
|
|
69
|
+
import"./packager-tool-b2pkwwj1.js";
|
|
76
70
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
fileNodesToPackagingNodes,
|
|
72
|
+
flowToPackagingNodes,
|
|
73
|
+
packageInlineAgents,
|
|
74
|
+
stageInlineAgentPackageFiles,
|
|
75
|
+
writePackagingArtifactsDetailed,
|
|
76
|
+
ensureProcessBindings2
|
|
77
|
+
} from "./packager-tool-5dgpfh5e.js";
|
|
78
|
+
import"./packager-tool-9217bxm2.js";
|
|
83
79
|
import {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./packager-tool-
|
|
80
|
+
readWorkflowId,
|
|
81
|
+
FlowEvalPathResolver,
|
|
82
|
+
readStartNodeId
|
|
83
|
+
} from "./packager-tool-dx6sjbkd.js";
|
|
88
84
|
import {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
setPublishIntentOnInlineAgents
|
|
92
|
-
} from "./packager-tool-dw1bm5y7.js";
|
|
93
|
-
import"./packager-tool-pvhx9e12.js";
|
|
85
|
+
writeResolvedFlow
|
|
86
|
+
} from "./packager-tool-t17t9svg.js";
|
|
94
87
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./packager-tool-jgfzfqjm.js";
|
|
98
|
-
import"./packager-tool-dbsdy4xx.js";
|
|
99
|
-
import"./packager-tool-qkn0c042.js";
|
|
100
|
-
import"./packager-tool-pacrqxv2.js";
|
|
101
|
-
import"./packager-tool-nkrmjr3a.js";
|
|
102
|
-
import"./packager-tool-rs6jm14d.js";
|
|
103
|
-
import"./packager-tool-hk1gxnth.js";
|
|
104
|
-
import"./packager-tool-mgcz986r.js";
|
|
105
|
-
import"./packager-tool-xj0agqpk.js";
|
|
106
|
-
import"./packager-tool-pcvhcn2k.js";
|
|
107
|
-
import"./packager-tool-sc961w0q.js";
|
|
108
|
-
import"./packager-tool-t07ev0jj.js";
|
|
109
|
-
import"./packager-tool-7bam8cjq.js";
|
|
110
|
-
import"./packager-tool-gbgfwx8f.js";
|
|
111
|
-
import"./packager-tool-6z1hsm2h.js";
|
|
112
|
-
import"./packager-tool-jysvpt8p.js";
|
|
88
|
+
formatTriggerIdsHint
|
|
89
|
+
} from "./packager-tool-q0f1dvtd.js";
|
|
113
90
|
import {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
} from "./packager-tool-s7wb0s9n.js";
|
|
117
|
-
import"./packager-tool-p79yh9ww.js";
|
|
118
|
-
import"./packager-tool-jrnjzs5t.js";
|
|
119
|
-
import"./packager-tool-z83pga0z.js";
|
|
120
|
-
import"./packager-tool-6ejqwbw9.js";
|
|
121
|
-
import"./packager-tool-mcaf4ewf.js";
|
|
122
|
-
import"./packager-tool-eypvc2kv.js";
|
|
91
|
+
package_default
|
|
92
|
+
} from "./packager-tool-7qtnffkc.js";
|
|
123
93
|
import {
|
|
124
|
-
|
|
125
|
-
} from "./packager-tool-
|
|
94
|
+
assertNoPreviewIds
|
|
95
|
+
} from "./packager-tool-f7rk9xhv.js";
|
|
96
|
+
import"./packager-tool-2sazb7th.js";
|
|
97
|
+
import"./packager-tool-64r7e4ek.js";
|
|
98
|
+
import"./packager-tool-8ba22j6n.js";
|
|
126
99
|
import {
|
|
127
|
-
|
|
128
|
-
|
|
100
|
+
readUipxFile2,
|
|
101
|
+
findSolutionFile2,
|
|
102
|
+
updateSolutionFile2
|
|
103
|
+
} from "./packager-tool-em4ppegs.js";
|
|
129
104
|
import {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
import"./packager-tool-
|
|
134
|
-
import"./packager-tool-
|
|
105
|
+
applyRuntimeProfile2,
|
|
106
|
+
resolveRuntimeProfile
|
|
107
|
+
} from "./packager-tool-14rdgz3c.js";
|
|
108
|
+
import"./packager-tool-jd3v0bh1.js";
|
|
109
|
+
import"./packager-tool-4g87fbz6.js";
|
|
110
|
+
import"./packager-tool-4zt1s51a.js";
|
|
135
111
|
|
|
136
112
|
// src/services/flow-local-workspace-eval-preparer.ts
|
|
137
113
|
function toForwardSlash(path) {
|
|
@@ -159,13 +135,13 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
159
135
|
}
|
|
160
136
|
const projectName = projectFile.Name;
|
|
161
137
|
const safeProjectName = projectName.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
162
|
-
const flowFilePath = await
|
|
138
|
+
const flowFilePath = await resolveProjectFlowFile2(absoluteProjectPath);
|
|
163
139
|
const flowFileName = this.fs.path.basename(flowFilePath);
|
|
164
140
|
const flowBaseName = flowFileName.replace(/\.flow$/i, "");
|
|
165
141
|
const bpmnFileName = `${flowBaseName}.bpmn`;
|
|
166
|
-
const { workflow } = await
|
|
167
|
-
await
|
|
168
|
-
|
|
142
|
+
const { workflow } = await readFlowWorkflow2(flowFilePath);
|
|
143
|
+
await assertInlineEntitiesBound2(this.fs, flowFilePath, workflow);
|
|
144
|
+
ensureProcessBindings2(workflow);
|
|
169
145
|
logger.info("Found .flow file, converting to BPMN for eval debug...");
|
|
170
146
|
const bpmnXml = await this.convertToBpmn(workflow);
|
|
171
147
|
const solutionDir = this.fs.path.resolve(absoluteProjectPath, "..");
|
|
@@ -173,7 +149,7 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
173
149
|
await this.fs.mkdir(stagingDir);
|
|
174
150
|
let uisPath;
|
|
175
151
|
try {
|
|
176
|
-
const [uipxError, uipxResult] = await
|
|
152
|
+
const [uipxError, uipxResult] = await catchError2(readUipxFile2(this.fs, solutionDir));
|
|
177
153
|
if (uipxError) {
|
|
178
154
|
logger.warn(`Could not read .uipx: ${uipxError.message}. Falling back to flow-only upload.`);
|
|
179
155
|
}
|
|
@@ -189,16 +165,16 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
189
165
|
await ensureDirectory(this.fs, stagingProjectDir);
|
|
190
166
|
await this.writeFlowProjectArtifacts(stagingProjectDir, projectFileContent, workflow, flowFileName, bpmnFileName, bpmnXml, flowBaseName, absoluteProjectPath);
|
|
191
167
|
logger.info("Building solution package for eval debug...");
|
|
192
|
-
uisPath = await
|
|
193
|
-
const solutionInfo = await
|
|
168
|
+
uisPath = await buildSolutionPackageFromDir2(this.fs, stagingDir);
|
|
169
|
+
const solutionInfo = await findSolutionFile2(this.fs, absoluteProjectPath);
|
|
194
170
|
const apiConfig = this.createApiConfig(config);
|
|
195
|
-
const folder = await
|
|
196
|
-
const importResult = await
|
|
171
|
+
const folder = await getPersonalFolderInfo2(apiConfig);
|
|
172
|
+
const importResult = await uploadOrOverwriteSolution2(apiConfig, config.organizationName, uisPath, existingSolutionIdOverride ?? solutionInfo?.solutionId, this.fs);
|
|
197
173
|
if (options.persistLocalMetadata ?? true) {
|
|
198
|
-
await
|
|
174
|
+
await updateSolutionFile2(this.fs, absoluteProjectPath, importResult.id);
|
|
199
175
|
await this.updateLocalWorkspaceMarker(solutionDir, importResult.id);
|
|
200
176
|
}
|
|
201
|
-
const patchedCount = await
|
|
177
|
+
const patchedCount = await patchConnectionOverwrites2(apiConfig, config.organizationName, importResult.id, solutionDir, folder, this.fs);
|
|
202
178
|
if (patchedCount > 0) {
|
|
203
179
|
logger.info(`Patched ${patchedCount} connection overwrite(s) on Studio Web`);
|
|
204
180
|
}
|
|
@@ -210,11 +186,11 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
210
186
|
projects: importResult.projects
|
|
211
187
|
};
|
|
212
188
|
} finally {
|
|
213
|
-
const [cleanupErr] = await
|
|
189
|
+
const [cleanupErr] = await catchError2((async () => {
|
|
214
190
|
if (uisPath) {
|
|
215
191
|
await this.fs.rm(uisPath);
|
|
216
192
|
}
|
|
217
|
-
await this.fs.rm(stagingDir
|
|
193
|
+
await this.fs.rm(stagingDir);
|
|
218
194
|
})());
|
|
219
195
|
if (cleanupErr) {
|
|
220
196
|
logger.warn(`Cleanup failed: ${cleanupErr.message}`);
|
|
@@ -222,12 +198,12 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
222
198
|
}
|
|
223
199
|
}
|
|
224
200
|
async convertToBpmn(workflow) {
|
|
225
|
-
const hasVoiceAgent = (workflow.nodes ?? []).some((node) =>
|
|
201
|
+
const hasVoiceAgent = (workflow.nodes ?? []).some((node) => isVoiceAgentNodeType2(node.type));
|
|
226
202
|
if (hasVoiceAgent) {
|
|
227
203
|
throw new Error("Evaluation runs are not supported for flows with voice agent nodes.");
|
|
228
204
|
}
|
|
229
205
|
assertNoPreviewIds(workflow);
|
|
230
|
-
const fileFormat =
|
|
206
|
+
const fileFormat = workflowToFileFormat(workflow);
|
|
231
207
|
setPublishIntentOnInlineAgents(fileFormat);
|
|
232
208
|
const { bpmn } = await convertFlowToBpmn(JSON.stringify(fileFormat, null, 2));
|
|
233
209
|
return replaceExporterVersion(bpmn, package_default.version);
|
|
@@ -284,17 +260,17 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
284
260
|
}
|
|
285
261
|
async writeFlowProjectArtifacts(stagingProjectDir, projectFileContent, flowData, flowFileName, bpmnFileName, bpmnXml, flowBaseName, sourceProjectPath) {
|
|
286
262
|
await this.fs.writeFile(this.fs.path.join(stagingProjectDir, "project.uiproj"), projectFileContent);
|
|
287
|
-
await
|
|
263
|
+
await writeFlowWorkflow2(this.fs.path.join(stagingProjectDir, flowFileName), flowData);
|
|
288
264
|
await this.fs.writeFile(this.fs.path.join(stagingProjectDir, bpmnFileName), bpmnXml);
|
|
289
|
-
const startEventId =
|
|
265
|
+
const startEventId = extractStartEventId2(bpmnXml);
|
|
290
266
|
const packagingNodes = flowToPackagingNodes(flowData);
|
|
291
267
|
const entryPointNodes = fileNodesToPackagingNodes(flowData.nodes);
|
|
292
268
|
const bindings = flowData.bindings ?? [];
|
|
293
269
|
const workflowVariables = flowData.variables ?? {};
|
|
294
270
|
const definitions = flowData.definitions ?? [];
|
|
295
271
|
const profile = await resolveRuntimeProfile(this.fs, sourceProjectPath);
|
|
296
|
-
await
|
|
297
|
-
const inlineAgentPackages = await packageInlineAgents(this.fs, sourceProjectPath, flowData
|
|
272
|
+
await applyRuntimeProfile2(this.fs, stagingProjectDir, profile);
|
|
273
|
+
const inlineAgentPackages = await packageInlineAgents(this.fs, sourceProjectPath, allNodesOf(flowData));
|
|
298
274
|
await writePackagingArtifactsDetailed(this.fs, stagingProjectDir, flowData.id, packagingNodes, bindings, workflowVariables, bpmnFileName, startEventId, flowFileName, definitions, {
|
|
299
275
|
entryPointNodes,
|
|
300
276
|
additionalEntryPoints: inlineAgentPackages.map((agent) => agent.entryPoint),
|
|
@@ -356,7 +332,7 @@ function firstString(values) {
|
|
|
356
332
|
return values.find((value) => typeof value === "string" && value !== "");
|
|
357
333
|
}
|
|
358
334
|
function readFlowStringProperty(flowContent, property) {
|
|
359
|
-
const [parseError, parsed] =
|
|
335
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(flowContent));
|
|
360
336
|
if (parseError || !isRecord(parsed)) {
|
|
361
337
|
return;
|
|
362
338
|
}
|
|
@@ -466,7 +442,7 @@ class FlowEvalRunContextResolver {
|
|
|
466
442
|
const absoluteProjectPath = await this.pathResolver.resolveProjectPath(projectPath);
|
|
467
443
|
const solutionDir = this.fs.path.dirname(absoluteProjectPath);
|
|
468
444
|
const projectRelDir = toForwardSlash2(this.fs.path.relative(solutionDir, absoluteProjectPath));
|
|
469
|
-
const [uipxError, uipxResult] = await
|
|
445
|
+
const [uipxError, uipxResult] = await catchError2(readUipxFile2(this.fs, solutionDir));
|
|
470
446
|
const solutionStorage = await this.readSolutionStorage(solutionDir);
|
|
471
447
|
const localWorkspaceMarker = await this.readLocalWorkspaceMarker(solutionDir);
|
|
472
448
|
const uipxProject = uipxResult?.uipx.Projects.find((project) => projectMatchesDir(this.fs, project.ProjectRelativePath, projectRelDir, absoluteProjectPath));
|
|
@@ -520,7 +496,7 @@ class FlowEvalRunContextResolver {
|
|
|
520
496
|
const resolvedIds = shouldPrepareLocalProject ? await this.resolvePreparedDebugIds(target, config, options.folderKey) : {
|
|
521
497
|
studioWebProjectId: target.studioWebProjectId,
|
|
522
498
|
solutionId: target.solutionId,
|
|
523
|
-
folderKey: options.folderKey ?? (await
|
|
499
|
+
folderKey: options.folderKey ?? (await getPersonalFolderKey2({
|
|
524
500
|
baseUrl: config.baseUrl,
|
|
525
501
|
organizationId: config.organizationId,
|
|
526
502
|
tenantName: config.tenantName,
|
|
@@ -537,7 +513,7 @@ class FlowEvalRunContextResolver {
|
|
|
537
513
|
folderKey: resolvedIds.folderKey,
|
|
538
514
|
entrypoint: await this.resolveEntrypoint(target.projectPath, target.evalSet, options.entryPoint),
|
|
539
515
|
...additionalProjects ? { additionalProjects } : {},
|
|
540
|
-
debugMode: options.debugMode ?? (
|
|
516
|
+
debugMode: options.debugMode ?? (readNodeTargetId2(target.evalSet) !== undefined ? 3 : 1)
|
|
541
517
|
};
|
|
542
518
|
}
|
|
543
519
|
async resolvePreparedDebugIds(target, config, folderKeyOverride) {
|
|
@@ -553,7 +529,7 @@ class FlowEvalRunContextResolver {
|
|
|
553
529
|
} : {}
|
|
554
530
|
};
|
|
555
531
|
}
|
|
556
|
-
const debugIds = await
|
|
532
|
+
const debugIds = await prepareForCustomDebug2({
|
|
557
533
|
config,
|
|
558
534
|
solutionId: preparedProject.solutionId,
|
|
559
535
|
projectId: preparedProject.studioWebProjectId,
|
|
@@ -585,7 +561,7 @@ class FlowEvalRunContextResolver {
|
|
|
585
561
|
});
|
|
586
562
|
}
|
|
587
563
|
async fetchCloudProjects(config, solutionId) {
|
|
588
|
-
const cloudProjects = await
|
|
564
|
+
const cloudProjects = await getStudioWebSolutionProjects2(config, config.organizationName, solutionId);
|
|
589
565
|
if (cloudProjects === undefined) {
|
|
590
566
|
throw new Error(`Solution ${solutionId} was not found in Studio Web. Upload it first with 'uip solution upload', or pass --solution-id and --project-id explicitly.`);
|
|
591
567
|
}
|
|
@@ -637,11 +613,11 @@ class FlowEvalRunContextResolver {
|
|
|
637
613
|
if (!await this.fs.exists(localIdPath)) {
|
|
638
614
|
return;
|
|
639
615
|
}
|
|
640
|
-
const [readError, content] = await
|
|
616
|
+
const [readError, content] = await catchError2(this.fs.readFile(localIdPath, "utf-8"));
|
|
641
617
|
if (readError) {
|
|
642
618
|
return;
|
|
643
619
|
}
|
|
644
|
-
const [parseError, parsed] =
|
|
620
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(String(content)));
|
|
645
621
|
if (parseError || !isRecord(parsed)) {
|
|
646
622
|
return;
|
|
647
623
|
}
|
|
@@ -692,7 +668,7 @@ class FlowEvalRunService {
|
|
|
692
668
|
store;
|
|
693
669
|
pathResolver;
|
|
694
670
|
contextResolver;
|
|
695
|
-
constructor(fs = getFileSystem(), api = new
|
|
671
|
+
constructor(fs = getFileSystem(), api = new FlowEvalRunApi2) {
|
|
696
672
|
this.fs = fs;
|
|
697
673
|
this.api = api;
|
|
698
674
|
this.store = new EvalFileStore(fs);
|
|
@@ -800,19 +776,19 @@ class FlowEvalRunService {
|
|
|
800
776
|
return this.store.readJsonFiles(this.fs.path.join(root, "evaluators"));
|
|
801
777
|
}
|
|
802
778
|
async validateEvalTarget(projectPath, evalSet, entryPointOverride) {
|
|
803
|
-
const [findError, flowFilePath] = await
|
|
779
|
+
const [findError, flowFilePath] = await catchError2(this.pathResolver.findFlowFile(projectPath));
|
|
804
780
|
if (findError || !flowFilePath) {
|
|
805
781
|
return;
|
|
806
782
|
}
|
|
807
|
-
const [readError, rawContent] = await
|
|
783
|
+
const [readError, rawContent] = await catchError2(this.fs.readFile(flowFilePath, "utf-8"));
|
|
808
784
|
if (readError) {
|
|
809
785
|
return;
|
|
810
786
|
}
|
|
811
787
|
const flowContent = String(rawContent);
|
|
812
|
-
const nodeTargetId =
|
|
788
|
+
const nodeTargetId = readNodeTargetId2(evalSet);
|
|
813
789
|
if (nodeTargetId !== undefined) {
|
|
814
|
-
const
|
|
815
|
-
if (
|
|
790
|
+
const lookup = findFlowNode2(flowContent, nodeTargetId);
|
|
791
|
+
if (lookup.flowParsed && !lookup.node) {
|
|
816
792
|
throw new Error(`Evaluation set "${evalSet.name}" targets agent node "${nodeTargetId}", which no longer exists in the flow. Recreate the set with 'maestro flow eval sets create --entry-point <agent-node-id>'.`);
|
|
817
793
|
}
|
|
818
794
|
return;
|
|
@@ -827,7 +803,7 @@ class FlowEvalRunService {
|
|
|
827
803
|
}
|
|
828
804
|
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which is a BPMN path, not a node id — Studio Web cannot resolve the evaluation target.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval sets create', or fix its selectedEntrypoint to a trigger node id.`);
|
|
829
805
|
}
|
|
830
|
-
const lookup =
|
|
806
|
+
const lookup = findFlowNode2(flowContent, entryPoint);
|
|
831
807
|
if (lookup.flowParsed && !lookup.node) {
|
|
832
808
|
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which does not match any node in the flow.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval sets create', or fix its selectedEntrypoint to a trigger node id.`);
|
|
833
809
|
}
|
|
@@ -847,4 +823,4 @@ export {
|
|
|
847
823
|
FlowEvalRunService
|
|
848
824
|
};
|
|
849
825
|
|
|
850
|
-
//# debugId=
|
|
826
|
+
//# debugId=5F52ACD75EB5636464756E2164756E21
|