@uipath/flow-tool 1.205.0-preview.276 → 1.206.0-preview.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -12
- package/dist/THIRD-PARTY-NOTICES.md +77 -49
- package/dist/applicationinsights-web-8m26566f.js +17209 -0
- package/dist/authoring-x84r2a2j.js +23 -0
- package/dist/binding-service-s0wvr2xm.js +114 -0
- package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-gnftxwsf.js} +5 -6
- package/dist/connector-library-1yw5r47w.js +99 -0
- package/dist/{connector-service-m08dysc2.js → connector-service-r86mtxwn.js} +270 -275
- package/dist/{conversion-FQTRFHRX-e5wr281j.js → conversion-7O2PDOQB-3wwppx87.js} +477 -472
- package/dist/{de-FGHEJRCI-PK6WALXW-0dnvnmke.js → de-2BEKRUMY-MD7L477H-rj1rmtav.js} +425 -37
- package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
- package/dist/{de-VMMG2MN7-2ecwpg1b.js → de-3CU65EDB-r7r10am9.js} +82 -7
- package/dist/{de-UZI7FJDO-awjpqfz0.js → de-AI7ML6JM-km47f8k4.js} +20 -5
- package/dist/{de-B3EKCNFC-zdwybhh7.js → de-VQWT6L5Y-mch4qwyv.js} +38 -5
- package/dist/{de-XNTCMP5Z-xfkfqg20.js → de-XNTCMP5Z-nd4scb43.js} +1 -4
- package/dist/debug-conversation-trigger-3wzy90kj.js +23 -0
- package/dist/debug-http-client-zydr7tna.js +31 -0
- package/dist/debug-service-hdktqeek.js +60 -0
- package/dist/edge-service-zck3s9ss.js +267 -0
- package/dist/{elk.bundled-vpsbxz0p.js → elk.bundled-phy0zc81.js} +6860 -6860
- package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/en-LAVDF7IQ-ba7wzsxp.js +254 -0
- package/dist/en-LQHKFSEY-zf6a2myg.js +24 -0
- package/dist/en-U2NSIIZN-whenw6wh.js +58 -0
- package/dist/en-WPCQ4JKF-t3x07ggr.js +148 -0
- package/dist/en-X6T4SP2Y-FPGCJIFV-qdfapfzs.js +2756 -0
- package/dist/en-X6T4SP2Y-xe57av1w.js +2752 -0
- package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
- package/dist/{es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js → es-7ZTQTGKN-TXQBFYRA-bzh1e1gq.js} +422 -34
- package/dist/{es-EKHIPSW6-ya88nvm0.js → es-EKHIPSW6-asfceac2.js} +1 -4
- package/dist/{es-KEBF3AIM-g5rszh8f.js → es-EP563JWQ-1agj5n4e.js} +38 -5
- package/dist/{es-WY6FZ3HO-zksnn6dp.js → es-KHVY67FO-natcvmmm.js} +82 -7
- package/dist/{es-MX-5RELIXKI-jtjbcxbb.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
- package/dist/{es-MX-ZP2LJ3V7-k4brnfa9.js → es-MX-F7ZEHSNE-gxpm47vv.js} +82 -7
- package/dist/{es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js → es-MX-IHGRIEWH-23X37OPS-7cqdzpcy.js} +425 -37
- package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
- package/dist/{es-MX-OR6G2SFR-7yykk5ma.js → es-MX-OR6G2SFR-02t13sen.js} +1 -4
- package/dist/{es-MX-EL3CDS3F-sh84yvjr.js → es-MX-S2RFDGDE-x9r0tv30.js} +38 -5
- package/dist/{es-4UBUTCQA-t7hsackg.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
- package/dist/filter-engine-dh9s90gb.js +10 -0
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/flow-api-d4dvmadm.js +38 -0
- package/dist/{flow-debug-service-gc2ky1ve.js → flow-debug-service-hy21ddd9.js} +151 -195
- package/dist/flow-eval-node-target-tdrwqca7.js +29 -0
- package/dist/flow-eval-run-api-w4j8ra60.js +9 -0
- package/dist/{flow-eval-run-service-2cbr0jtw.js → flow-eval-run-service-5en4ahyn.js} +125 -149
- package/dist/{flow-eval-service-24jbkhhz.js → flow-eval-service-2j28ect1.js} +57 -81
- package/dist/{flow-init-sdk-source-xvdvkq7d.js → flow-init-sdk-source-xnr4bg25.js} +8 -11
- package/dist/flow-init-service-bj3ev9bz.js +26 -0
- package/dist/flow-io-9q6xk473.js +24 -0
- package/dist/{flow-migrate-service-t3pnd2r3.js → flow-migrate-service-dkx85jj5.js} +33 -54
- package/dist/{flow-pack-service-b910q207.js → flow-pack-service-58m51sp8.js} +79 -103
- package/dist/flow-validate-service-9a3zate4.js +46 -0
- package/dist/{fr-DPD4GHX3-exeypjwk.js → fr-7LK3QUWT-a94yejcs.js} +38 -5
- package/dist/{fr-Y6NPVODW-AS7T42TR-v4qe2tha.js → fr-7ZDL4MVO-CXMRZDOF-qjkg6y2r.js} +425 -37
- package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
- package/dist/{fr-VBM5WRC2-707ha692.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
- package/dist/{fr-PRMYCRDC-0bk078by.js → fr-I42FODC5-p80x5v4b.js} +83 -8
- package/dist/{fr-IHD66TVT-vfvmefbx.js → fr-IHD66TVT-eq8h0d6c.js} +1 -4
- package/dist/{governance-fetcher-ffvbtwbd.js → governance-fetcher-h8hpcwyh.js} +17 -21
- package/dist/{headless-4x4v3sy6.js → headless-41t9wwb7.js} +2395 -43269
- package/dist/{hitl-service-3m4ce3mt.js → hitl-service-hccqhm63.js} +22 -42
- package/dist/index-4e3w8x62.js +31 -0
- package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
- package/dist/index-5xh0cjag.js +82 -0
- package/dist/index-7fet3f0s.js +10 -0
- package/dist/index-d4bdedx3.js +32 -0
- package/dist/index-f5kq7265.js +24 -0
- package/dist/index-g2p2ww34.js +39 -0
- package/dist/index-ng011fzs.js +974 -0
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/{index-1b2je9n2.js → index-px95xmkg.js} +290 -268
- package/dist/index-tdwpejt6.js +22 -0
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +19 -28
- package/dist/index.umd.min-ttg1qc0x.js +7814 -0
- package/dist/init.js +22 -43
- package/dist/inline-entity-resolver-0neh2b43.js +25 -0
- package/dist/input-reader-zqaep7k7.js +11 -0
- package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
- package/dist/{ja-HFEQKCZF-hb2f25p8.js → ja-GI3OUHPZ-28fy60r0.js} +83 -8
- package/dist/{ja-JE5ZL7EY-hacj2m31.js → ja-JE5ZL7EY-607k4c7p.js} +1 -4
- package/dist/{ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js → ja-LGAM5HKR-NTPKIZEM-nv67917s.js} +422 -34
- package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
- package/dist/ja-WY2W6733-ayr36h1f.js +71 -0
- package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
- package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/known-types-v9sxcq1c.js +13 -0
- package/dist/{ko-AYBDSRZG-G43C3XUW-kng13fsg.js → ko-7B4SUZB7-2SLI636D-grbtfrcv.js} +424 -36
- package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
- package/dist/{ko-DJJRKCG5-5h3k9csc.js → ko-DJJRKCG5-4fekzjn4.js} +1 -4
- package/dist/{ko-LA5OSS5P-mq5h8sbk.js → ko-H2RGQWKJ-9696w762.js} +38 -5
- package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
- package/dist/{ko-B4SEC7QX-thq2wt6a.js → ko-RYKAL74T-10m4z8vw.js} +83 -8
- package/dist/localization-skqjy9nr.js +45 -0
- package/dist/maestro-automate-entry-d1v5q5mv.js +14 -0
- package/dist/{node-xqc0h091.js → node-0jy3qx5b.js} +69 -638
- package/dist/node-service-2nxpk751.js +64 -0
- package/dist/{node-strategy-1dmmhvf3.js → node-strategy-wrjxmbzt.js} +9 -12
- package/dist/node-sync-service-68vq10je.js +56 -0
- package/dist/packager-tool-14rdgz3c.js +55 -0
- package/dist/packager-tool-1rhch6b5.js +496 -0
- package/dist/packager-tool-21t17xzz.js +5073 -0
- package/dist/{packager-tool-pvhx9e12.js → packager-tool-2b0tn4p4.js} +58 -176
- package/dist/{packager-tool-f9jxca9z.js → packager-tool-368bft50.js} +11 -11
- package/dist/{packager-tool-a5afh1dc.js → packager-tool-4fv0sq2h.js} +61 -67
- package/dist/packager-tool-4g87fbz6.js +273 -0
- package/dist/packager-tool-4zt1s51a.js +53 -0
- package/dist/{packager-tool-frjt46rb.js → packager-tool-508ka40b.js} +23 -23
- package/dist/{packager-tool-gbv6f0ac.js → packager-tool-5104bnpv.js} +22 -21
- package/dist/packager-tool-5dgpfh5e.js +1274 -0
- package/dist/packager-tool-5ve5ms3b.js +2393 -0
- package/dist/{packager-tool-dxgrhfq5.js → packager-tool-64r7e4ek.js} +8 -8
- package/dist/{packager-tool-h6pf3qxq.js → packager-tool-65yf8zqb.js} +180 -1237
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-htrt75v4.js → packager-tool-6jpvvxyb.js} +27 -22
- package/dist/packager-tool-6vhefpmq.js +461 -0
- package/dist/{packager-tool-1nfbzy0h.js → packager-tool-72xwbsmw.js} +441 -556
- package/dist/packager-tool-7atc775f.js +30 -0
- package/dist/packager-tool-7mxn3e7j.js +27 -0
- package/dist/{packager-tool-wvmtp8zt.js → packager-tool-7qtnffkc.js} +8 -7
- package/dist/{packager-tool-ymma2s85.js → packager-tool-8ba22j6n.js} +9 -6
- package/dist/{packager-tool-apawc11t.js → packager-tool-8ed52y5r.js} +1584 -1261
- package/dist/{packager-tool-v11fm907.js → packager-tool-8n4bdvke.js} +13 -13
- package/dist/{packager-tool-p8gab24q.js → packager-tool-8qypzm9v.js} +424 -404
- package/dist/packager-tool-9217bxm2.js +6 -0
- package/dist/{packager-tool-zfrp8ecz.js → packager-tool-951nhh3e.js} +82 -82
- package/dist/{packager-tool-ap0zt7de.js → packager-tool-99d2kj94.js} +8 -11
- package/dist/{packager-tool-z21c6mbp.js → packager-tool-a1h0q79w.js} +48 -48
- package/dist/{packager-tool-xk78j7dz.js → packager-tool-ac6rvny7.js} +52 -57
- package/dist/{packager-tool-1d64q5s5.js → packager-tool-b2pkwwj1.js} +1273 -1300
- package/dist/{packager-tool-yetpbbey.js → packager-tool-bbkkxbyq.js} +9 -8
- package/dist/{packager-tool-409n51pv.js → packager-tool-d07g2kpn.js} +7 -7
- package/dist/{packager-tool-8zzmg2f3.js → packager-tool-dx6sjbkd.js} +19 -19
- package/dist/{packager-tool-8g5931fz.js → packager-tool-em4ppegs.js} +36 -43
- package/dist/{packager-tool-zgsvggdr.js → packager-tool-f7rk9xhv.js} +4 -4
- package/dist/{packager-tool-jrnjzs5t.js → packager-tool-fzgfb0jt.js} +32175 -36281
- package/dist/{packager-tool-9rmaeaww.js → packager-tool-gdpw0daf.js} +25211 -11966
- package/dist/packager-tool-hk0fnvz5.js +14 -0
- package/dist/{packager-tool-dbsdy4xx.js → packager-tool-jd3v0bh1.js} +4 -4
- package/dist/{packager-tool-tqjfdpda.js → packager-tool-jmrhzfyj.js} +106 -80
- package/dist/{packager-tool-2px5qqm4.js → packager-tool-kz3t4raw.js} +490 -246
- package/dist/{packager-tool-7bam8cjq.js → packager-tool-mdf7bws6.js} +53255 -27261
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
- package/dist/{packager-tool-nkrmjr3a.js → packager-tool-mphfxa9g.js} +125 -125
- package/dist/{packager-tool-kn86394c.js → packager-tool-p123mtfx.js} +66 -692
- package/dist/{packager-tool-t7ahhaer.js → packager-tool-pxq0bwp0.js} +208 -138
- package/dist/{packager-tool-j95w4fj3.js → packager-tool-q0f1dvtd.js} +11 -11
- package/dist/{packager-tool-8qp60s20.js → packager-tool-q2f18crb.js} +3 -3
- package/dist/packager-tool-q2kwk5bf.js +57 -0
- package/dist/{packager-tool-09rvpfjd.js → packager-tool-rxqxza90.js} +192 -183
- package/dist/{packager-tool-3m4ve01f.js → packager-tool-ryds9860.js} +33 -36
- package/dist/{packager-tool-ykbahxma.js → packager-tool-t17t9svg.js} +6 -6
- package/dist/{packager-tool-myhbp761.js → packager-tool-vgrswa8p.js} +53 -8
- package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
- package/dist/{packager-tool-1frs4sr4.js → packager-tool-yewnsyag.js} +37 -5
- package/dist/packager-tool-zdqbp34f.js +14 -0
- package/dist/{packager-tool-pacrqxv2.js → packager-tool-ze3fnf3s.js} +52 -34
- package/dist/packager-tool.js +12 -32
- package/dist/prepare-uip-ad7mfs8t.js +92 -0
- package/dist/{pt-3KUMINBZ-d0fexmny.js → pt-2RGHDOG4-gwe2ptvg.js} +38 -5
- package/dist/{pt-BR-3LGIH33I-tqbrd89y.js → pt-BR-3LGIH33I-hdf332je.js} +1 -4
- package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
- package/dist/{pt-BR-6VFBW5QT-hsck9gjj.js → pt-BR-IL3KLBID-m1mvqqzb.js} +83 -8
- package/dist/{pt-BR-WNNZTIMN-6fent688.js → pt-BR-JWHVZE6H-gvkknv49.js} +38 -5
- package/dist/{pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js → pt-BR-PHLFHMXZ-JFPKUXIZ-gyb27t6e.js} +425 -37
- package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
- package/dist/{pt-RMIAKZB4-t80exmp7.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
- package/dist/{pt-ROXU257Y-OWZOS54V-ywap2t39.js → pt-N7ZTJT4W-GVODJMRX-p5b51p0b.js} +424 -36
- package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
- package/dist/{pt-PFZXVOQH-qshq0b2m.js → pt-PFZXVOQH-xvcm5b61.js} +1 -4
- package/dist/{pt-WOTPKWPZ-1rxcy8hs.js → pt-VLA5IOHO-8t4pze0h.js} +83 -8
- package/dist/{ro-GHOBYW2S-4zevc9dy.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
- package/dist/{ro-KMDT7LYJ-yhpnsdvw.js → ro-53TS7SWG-hnjx1c7b.js} +38 -5
- package/dist/{ro-AN5G62WQ-kcj00jwq.js → ro-AN5G62WQ-fzsv2ymm.js} +1 -4
- package/dist/{ro-AVAWPKOO-6WCG756B-v7pjv1hc.js → ro-FLNXVYJI-ZN43XZKK-2tajkc94.js} +422 -34
- package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
- package/dist/{ro-PB44YXML-zmhhwp5h.js → ro-IRNFX376-mh84zk3n.js} +82 -7
- package/dist/{ru-GSCT4ARZ-FTVCGQTL-gee86v14.js → ru-GSCT4ARZ-FTVCGQTL-v3d4ag31.js} +2 -4
- package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
- package/dist/{ru-T73OPRTC-4knxw497.js → ru-T73OPRTC-50m7tty9.js} +1 -4
- package/dist/{ru-WBLQ5B2U-wemdzdqd.js → ru-WBLQ5B2U-5qpt0mvh.js} +1 -4
- package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
- package/dist/{ru-WBLQ5B2U-kdey8qa4.js → ru-WBLQ5B2U-w2wmp3xb.js} +1 -4
- package/dist/{serialization-BXU6AKAN-vdqyr29x.js → serialization-Z3UYT6BW-y9gb55mp.js} +1638 -761
- package/dist/services/extract-schema/default-schema-document.d.ts +31 -0
- package/dist/services/node-service.d.ts +6 -3
- package/dist/services/node-validators/file-node-connection-validator.d.ts +2 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/orchestrator-connection-field.d.ts +24 -0
- package/dist/services/packaging-utils.d.ts +2 -2
- package/dist/services/vars-reference-rule.d.ts +4 -3
- package/dist/solution-auth-j8x84n5z.js +11 -0
- package/dist/solution-discovery-vn4q32bf.js +38 -0
- package/dist/{tidy-service-hz61ypyj.js → tidy-service-m33hhtc7.js} +37 -55
- package/dist/tool.js +18 -27
- package/dist/{tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js → tr-7AIZZWZ6-ESAESUPL-77g9b7jb.js} +422 -34
- package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
- package/dist/{tr-SEC6RGZ4-0ttavjya.js → tr-EJKY7DVQ-rkctqva4.js} +83 -8
- package/dist/{tr-KHOCWWLF-8apf5y44.js → tr-KHOCWWLF-m9t24j5y.js} +1 -4
- package/dist/{tr-SC55DYHY-e4zgcd4t.js → tr-PIQY7JIT-2mkwk0kq.js} +38 -5
- package/dist/{tr-GDTLECMM-kngksm3r.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
- package/dist/utils/container-ports.d.ts +22 -0
- package/dist/utils/handle-expansion.d.ts +57 -3
- package/dist/utils/workflow-file-format.d.ts +14 -0
- package/dist/validation.js +44 -68
- package/dist/{variable-service-9ex4a93n.js → variable-service-ea1erf93.js} +28 -49
- package/dist/{wait-for-flow-job-b0vj8828.js → wait-for-flow-job-a4xtda36.js} +29 -36
- package/dist/{zh-CN-MX7VIOF2-xznrtchf.js → zh-CN-4FH7E7UL-84y6j2ea.js} +82 -7
- package/dist/{zh-CN-4NI2EGMV-8g027vv3.js → zh-CN-4NI2EGMV-dt0wg0wh.js} +1 -4
- package/dist/{zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js → zh-CN-CN2ARPFS-NIQTWDK2-b5c91fwn.js} +422 -34
- package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
- package/dist/{en-BPJVY3U7-xkpj5xc5.js → zh-CN-NIEVKROA-q4tbbwqz.js} +26 -7
- package/dist/{zh-CN-I5D7WHBD-ge92tbx9.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
- package/dist/{zh-TW-53SU6EH4-33x57egq.js → zh-TW-53SU6EH4-w0wz3nwg.js} +1 -4
- package/dist/{zh-TW-5SJ3GZT2-bsg054mw.js → zh-TW-5WQA6QTM-hns69sd4.js} +83 -8
- package/dist/{zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js → zh-TW-7RUFEVFK-VKVRSVTP-jq2pcmar.js} +421 -33
- package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
- package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
- package/dist/{zh-TW-TN3MPNXL-jcgg2hcs.js → zh-TW-MSQM7YTT-m7r7nwnj.js} +38 -5
- package/package.json +2 -2
- package/dist/authoring-e1k40hyw.js +0 -24
- package/dist/binding-service-0qffbxg7.js +0 -157
- package/dist/de-FGHEJRCI-gn4cf5gh.js +0 -2697
- package/dist/de-MUJPA4EB-209jpeqe.js +0 -173
- package/dist/de-UZI7FJDO-mwvc4cxe.js +0 -200
- package/dist/debug-conversation-trigger-2crr9w4n.js +0 -30
- package/dist/debug-http-client-yqjzsnhw.js +0 -32
- package/dist/debug-service-nra3n02y.js +0 -61
- package/dist/edge-service-y44f2rgd.js +0 -170
- package/dist/en-E454CJNK-ytfw06kj.js +0 -98
- package/dist/en-EJCBA3LK-0wb3b1xy.js +0 -146
- package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
- package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
- package/dist/en-LQHKFSEY-vvbe8ve9.js +0 -26
- package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
- package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +0 -1942
- package/dist/en-TBNO2WUV-9nan43e5.js +0 -1936
- package/dist/es-4UBUTCQA-m1ytpyx2.js +0 -200
- package/dist/es-7SE7HX2X-qda7whn6.js +0 -173
- package/dist/es-KR3ZSNMP-0cszm2n3.js +0 -2697
- package/dist/es-MX-2MYFZU7X-6v0q5rbn.js +0 -173
- package/dist/es-MX-5RELIXKI-9jhqtddc.js +0 -200
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +0 -2697
- package/dist/filter-engine-7ep90g7f.js +0 -11
- package/dist/first-party-service-srxaftkn.js +0 -27
- package/dist/flow-api-sat010z1.js +0 -42
- package/dist/flow-eval-node-target-cwxb4kfe.js +0 -52
- package/dist/flow-eval-run-api-xdygjzfv.js +0 -13
- package/dist/flow-init-service-k7k5vx2z.js +0 -47
- package/dist/flow-io-2qdyj5e0.js +0 -44
- package/dist/flow-validate-service-x2mbk3et.js +0 -70
- package/dist/fr-MDFKNZ4C-qmypp92m.js +0 -173
- package/dist/fr-VBM5WRC2-63z7w4mh.js +0 -200
- package/dist/fr-Y6NPVODW-q5ef3htr.js +0 -2697
- package/dist/index-cg9qhfb1.js +0 -635
- package/dist/index-d090f35d.js +0 -66
- package/dist/index-gxcjq6ns.js +0 -110
- package/dist/index-kmp9fmhb.js +0 -25
- package/dist/index-nsn889vf.js +0 -27
- package/dist/index-sqhbn7ew.js +0 -157
- package/dist/index-wycgq0ff.js +0 -3178
- package/dist/index-y1ym28vg.js +0 -667
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/inline-entity-resolver-c854cqma.js +0 -45
- package/dist/input-reader-n7kzdrev.js +0 -12
- package/dist/ja-43QL7CGO-h6qfxfay.js +0 -200
- package/dist/ja-MDG4BKZQ-gayaca2c.js +0 -38
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +0 -2697
- package/dist/ja-UTQEAP34-hvyf683h.js +0 -173
- package/dist/known-types-r51zxb9g.js +0 -19
- package/dist/ko-AXCHW2OK-pkwdcbmx.js +0 -173
- package/dist/ko-AYBDSRZG-am0h0m2r.js +0 -2697
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +0 -200
- package/dist/localization-d6gjmrsw.js +0 -47
- package/dist/maestro-automate-entry-6f9act3w.js +0 -22
- package/dist/node-service-d4xpqs0z.js +0 -92
- package/dist/node-sync-service-76b9e4r5.js +0 -61
- package/dist/packager-tool-0gctz400.js +0 -17
- package/dist/packager-tool-4mna26cc.js +0 -133
- package/dist/packager-tool-4x7tzvv0.js +0 -1176
- package/dist/packager-tool-53w8skv5.js +0 -262
- package/dist/packager-tool-6ejqwbw9.js +0 -26
- package/dist/packager-tool-6z1hsm2h.js +0 -143
- package/dist/packager-tool-7ja1b5hh.js +0 -8809
- package/dist/packager-tool-9era57c0.js +0 -28
- package/dist/packager-tool-9jxzgsxc.js +0 -14
- package/dist/packager-tool-c23zrhj8.js +0 -11
- package/dist/packager-tool-d6qf5qmb.js +0 -49
- package/dist/packager-tool-e3yks66r.js +0 -95
- package/dist/packager-tool-e5hj89zm.js +0 -6
- package/dist/packager-tool-e87tzg4y.js +0 -1937
- package/dist/packager-tool-eypvc2kv.js +0 -23
- package/dist/packager-tool-gbgfwx8f.js +0 -2
- package/dist/packager-tool-hk1gxnth.js +0 -11
- package/dist/packager-tool-hxyjn885.js +0 -24
- package/dist/packager-tool-j78fwwhq.js +0 -16
- package/dist/packager-tool-jgfzfqjm.js +0 -53
- package/dist/packager-tool-jysvpt8p.js +0 -11
- package/dist/packager-tool-m3wkcxf5.js +0 -11
- package/dist/packager-tool-mcaf4ewf.js +0 -46
- package/dist/packager-tool-mgcz986r.js +0 -143
- package/dist/packager-tool-p79yh9ww.js +0 -97
- package/dist/packager-tool-paq9c70w.js +0 -1332
- package/dist/packager-tool-pcvhcn2k.js +0 -2019
- package/dist/packager-tool-qkn0c042.js +0 -1922
- package/dist/packager-tool-qszay16r.js +0 -180
- package/dist/packager-tool-red2crtp.js +0 -5367
- package/dist/packager-tool-rs6jm14d.js +0 -23
- package/dist/packager-tool-s7wb0s9n.js +0 -6297
- package/dist/packager-tool-sc961w0q.js +0 -16
- package/dist/packager-tool-skcjythd.js +0 -22085
- package/dist/packager-tool-t07ev0jj.js +0 -1083
- package/dist/packager-tool-xj0agqpk.js +0 -11
- package/dist/packager-tool-z83pga0z.js +0 -1942
- package/dist/pt-3DIO5QWG-hb763vct.js +0 -173
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +0 -2697
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +0 -200
- package/dist/pt-BR-Y6K6XHXK-37a932vp.js +0 -173
- package/dist/pt-RMIAKZB4-67enhx3m.js +0 -200
- package/dist/pt-ROXU257Y-yd80gx6s.js +0 -2697
- package/dist/ro-AVAWPKOO-42m6am1w.js +0 -2697
- package/dist/ro-BWR3ONRR-jmap5ajd.js +0 -173
- package/dist/ro-GHOBYW2S-mhnqsgaa.js +0 -200
- package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
- package/dist/ru-GSCT4ARZ-jrxwev63.js +0 -10
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +0 -10
- package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
- package/dist/shared-utils-tqnx96mg.js +0 -21
- package/dist/solution-auth-8qz5pw7z.js +0 -14
- package/dist/solution-discovery-6t0z143v.js +0 -44
- package/dist/tr-5IIHSFW5-stsb3dar.js +0 -173
- package/dist/tr-GDTLECMM-k5fhmq13.js +0 -200
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +0 -2696
- package/dist/zh-CN-I5D7WHBD-sr5h0a98.js +0 -200
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +0 -2697
- package/dist/zh-CN-OUMLDKDS-q3a1rr5c.js +0 -38
- package/dist/zh-CN-R2KU4U5L-q4yhc33t.js +0 -173
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +0 -200
- package/dist/zh-TW-GNKMELBF-r4ay2475.js +0 -173
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +0 -2697
- /package/dist/{packager-tool-yc4kw997.js → packager-tool-1qg04b7q.js} +0 -0
- /package/dist/{packager-tool-cqtsj6yh.js → packager-tool-2sazb7th.js} +0 -0
- /package/dist/{packager-tool-s9ff3kk4.js → packager-tool-887wr6jm.js} +0 -0
- /package/dist/{packager-tool-aw9v0raw.js → packager-tool-8c7nddd1.js} +0 -0
- /package/dist/{packager-tool-9cq9atem.js → packager-tool-a9xgmn1q.js} +0 -0
- /package/dist/{packager-tool-4kr6g0zw.js → packager-tool-cvh1a0nm.js} +0 -0
- /package/dist/{packager-tool-27avrkyk.js → packager-tool-k3egwd1m.js} +0 -0
- /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
- /package/dist/{packager-tool-10vc8pq4.js → packager-tool-wr7gn964.js} +0 -0
|
@@ -1,108 +1,107 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
getFileSystem
|
|
3
|
+
} from "./packager-tool-vgrswa8p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
isConnectorTriggerType,
|
|
8
|
-
isConnectorWaitForEventType,
|
|
9
|
-
isEventDrivenConnectorType,
|
|
10
|
-
readEssentialConfiguration
|
|
11
|
-
} from "./packager-tool-yetpbbey.js";
|
|
5
|
+
catchError2
|
|
6
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
12
7
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
parseVisibleInputKey,
|
|
20
|
-
portMatchesTemplate
|
|
21
|
-
} from "./packager-tool-1frs4sr4.js";
|
|
8
|
+
extractErrorMessageSync,
|
|
9
|
+
RESULTS,
|
|
10
|
+
logger,
|
|
11
|
+
OutputFormatter,
|
|
12
|
+
quoteForShell
|
|
13
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
22
14
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
isExpressionValue2,
|
|
16
|
+
decodeLiteral2,
|
|
17
|
+
getJsExpressionBody2,
|
|
18
|
+
instance2,
|
|
19
|
+
DECISION_NODE_TYPE2,
|
|
20
|
+
AGENT_NODE_TYPES2,
|
|
21
|
+
isVoiceAgentNodeType2,
|
|
22
|
+
SYNTHETIC_GATEWAY_OUTPUT_KEYS2,
|
|
23
|
+
isStartEventNode2
|
|
24
|
+
} from "./packager-tool-fzgfb0jt.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./packager-tool-
|
|
26
|
+
buildErrorHandle
|
|
27
|
+
} from "./packager-tool-gdpw0daf.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
collectNodeBindingResourceKeys,
|
|
32
|
-
collectScriptRefs,
|
|
33
|
-
getInlineActivityConfiguration,
|
|
34
|
-
isProcessNode,
|
|
35
|
-
loadRegistry,
|
|
36
|
-
parse,
|
|
37
|
-
resolveProcessTarget
|
|
38
|
-
} from "./packager-tool-h6pf3qxq.js";
|
|
29
|
+
loadCurrentTenantNodes2
|
|
30
|
+
} from "./packager-tool-kz3t4raw.js";
|
|
39
31
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
parse,
|
|
33
|
+
loadRegistry2
|
|
34
|
+
} from "./packager-tool-65yf8zqb.js";
|
|
42
35
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./packager-tool-
|
|
36
|
+
loadResourceKeyMap2,
|
|
37
|
+
findProjectsWithoutProcessResource2,
|
|
38
|
+
resourcesRefreshCommand2
|
|
39
|
+
} from "./packager-tool-a1h0q79w.js";
|
|
47
40
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
createFlowRefResolver,
|
|
42
|
+
resolveWorkflowRefs,
|
|
43
|
+
inlineFlowRefs,
|
|
44
|
+
canonicalAgentInputPath,
|
|
45
|
+
collectAgentInputLeaves,
|
|
46
|
+
isBareProjectIdSource,
|
|
47
|
+
inlineEntityBindingIssues,
|
|
48
|
+
hydrateAgentNodeInputs,
|
|
49
|
+
parseFlowSource,
|
|
50
|
+
runDesignerRules
|
|
51
|
+
} from "./packager-tool-mdf7bws6.js";
|
|
50
52
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./packager-tool-
|
|
53
|
+
resolveProjectFlowFile2
|
|
54
|
+
} from "./packager-tool-6jpvvxyb.js";
|
|
53
55
|
import {
|
|
56
|
+
findNodeDefinition,
|
|
54
57
|
isRecord
|
|
55
|
-
} from "./packager-tool-
|
|
56
|
-
import {
|
|
57
|
-
resolveProjectFlowFile
|
|
58
|
-
} from "./packager-tool-htrt75v4.js";
|
|
58
|
+
} from "./packager-tool-ac6rvny7.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./packager-tool-
|
|
60
|
+
checkForwardMigration
|
|
61
|
+
} from "./packager-tool-368bft50.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./packager-tool-8g5931fz.js";
|
|
63
|
+
readSolutionInlineEntities2
|
|
64
|
+
} from "./packager-tool-1rhch6b5.js";
|
|
66
65
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./packager-tool-7ja1b5hh.js";
|
|
66
|
+
INLINE_ACTIVITY_TYPE_PREFIX,
|
|
67
|
+
INLINE_ACTIVITY_SOURCE,
|
|
68
|
+
collectScriptRefs,
|
|
69
|
+
getInlineActivityConfiguration,
|
|
70
|
+
findOrchestratorConnectionField,
|
|
71
|
+
isProcessNode2,
|
|
72
|
+
resolveProcessTarget2,
|
|
73
|
+
collectNodeBindingResourceKeys2
|
|
74
|
+
} from "./packager-tool-5dgpfh5e.js";
|
|
77
75
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
SYNTHETIC_GATEWAY_OUTPUT_KEYS,
|
|
81
|
-
decodeLiteral,
|
|
82
|
-
getJsExpressionBody,
|
|
83
|
-
isExpressionValue,
|
|
84
|
-
isStartEventNode,
|
|
85
|
-
isVoiceAgentNodeType
|
|
86
|
-
} from "./packager-tool-s7wb0s9n.js";
|
|
76
|
+
UI_ONLY_NODE_TYPES2
|
|
77
|
+
} from "./packager-tool-9217bxm2.js";
|
|
87
78
|
import {
|
|
88
|
-
|
|
89
|
-
|
|
79
|
+
isConnectorTriggerType,
|
|
80
|
+
isConnectorWaitForEventType,
|
|
81
|
+
isEventDrivenConnectorType,
|
|
82
|
+
connectorNodeValidator2,
|
|
83
|
+
readEssentialConfiguration,
|
|
84
|
+
crossNodeBindingValidator
|
|
85
|
+
} from "./packager-tool-bbkkxbyq.js";
|
|
90
86
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
extractErrorMessageSync,
|
|
94
|
-
logger,
|
|
95
|
-
quoteForShell
|
|
96
|
-
} from "./packager-tool-apawc11t.js";
|
|
87
|
+
containerBodyPorts
|
|
88
|
+
} from "./packager-tool-7atc775f.js";
|
|
97
89
|
import {
|
|
98
|
-
|
|
99
|
-
|
|
90
|
+
ERROR_SOURCE_PORT,
|
|
91
|
+
parseVisibleInputKey,
|
|
92
|
+
isHandleVisible,
|
|
93
|
+
applyInstanceSourceHandles,
|
|
94
|
+
expandHandleIds,
|
|
95
|
+
isTemplatedHandleId,
|
|
96
|
+
portMatchesTemplate
|
|
97
|
+
} from "./packager-tool-yewnsyag.js";
|
|
100
98
|
import {
|
|
101
|
-
|
|
102
|
-
} from "./packager-tool-
|
|
99
|
+
previewIdIssues
|
|
100
|
+
} from "./packager-tool-f7rk9xhv.js";
|
|
103
101
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
findNearestParentUipxFile2,
|
|
103
|
+
readSolutionManifest2
|
|
104
|
+
} from "./packager-tool-em4ppegs.js";
|
|
106
105
|
|
|
107
106
|
// src/services/connector-binding-validator.ts
|
|
108
107
|
var STATIC_CONNECTOR_KEYWORDS = [
|
|
@@ -195,7 +194,7 @@ var MANAGED_HTTP_NODE_TYPE = "core.action.http.v2";
|
|
|
195
194
|
async function loadConnectorCatalog() {
|
|
196
195
|
const keywords = new Set(STATIC_CONNECTOR_KEYWORDS);
|
|
197
196
|
const activityTokenBags = [];
|
|
198
|
-
const [err, registry] = await
|
|
197
|
+
const [err, registry] = await catchError2(loadRegistry2());
|
|
199
198
|
if (err) {
|
|
200
199
|
logger.debug(`Connector-binding validator: could not load IS catalog cache (${err.message}); falling back to static keyword list.`);
|
|
201
200
|
return { keywords, activityTokenBags };
|
|
@@ -403,11 +402,11 @@ function validateConnectorBindings(workflow, catalog, options = {}) {
|
|
|
403
402
|
// src/services/expression-validator.ts
|
|
404
403
|
var catalogRegistered = false;
|
|
405
404
|
async function ensureCatalogRegistered() {
|
|
406
|
-
if (catalogRegistered || !
|
|
405
|
+
if (catalogRegistered || !instance2.isInitialized)
|
|
407
406
|
return;
|
|
408
407
|
try {
|
|
409
|
-
const { registerFlowExpressionModelI18n } = await import("./localization-
|
|
410
|
-
registerFlowExpressionModelI18n(
|
|
408
|
+
const { registerFlowExpressionModelI18n } = await import("./localization-skqjy9nr.js");
|
|
409
|
+
registerFlowExpressionModelI18n(instance2);
|
|
411
410
|
} catch (error) {
|
|
412
411
|
logger.warn(`Expression type checking localization unavailable, falling back to English: ${extractErrorMessageSync(error)}`);
|
|
413
412
|
}
|
|
@@ -415,7 +414,7 @@ async function ensureCatalogRegistered() {
|
|
|
415
414
|
}
|
|
416
415
|
var headlessModule;
|
|
417
416
|
function loadHeadless() {
|
|
418
|
-
headlessModule ??= import("./headless-
|
|
417
|
+
headlessModule ??= import("./headless-41t9wwb7.js").then((mod) => {
|
|
419
418
|
logger.info(`Expression type checking: @uipath/flow-expression-model (TypeScript ${mod.HEADLESS_TYPESCRIPT_VERSION})`);
|
|
420
419
|
return mod;
|
|
421
420
|
}).catch((error) => {
|
|
@@ -436,7 +435,7 @@ async function validateExpressions(graph, pathPrefix, strict = false) {
|
|
|
436
435
|
const headless = await loadHeadless();
|
|
437
436
|
if (!headless)
|
|
438
437
|
return [];
|
|
439
|
-
const [error, findings] = await
|
|
438
|
+
const [error, findings] = await catchError2(headless.checkWorkflowExpressionsHeadless(graph));
|
|
440
439
|
if (error || !findings) {
|
|
441
440
|
logger.warn(`Expression type checking failed, skipping: ${extractErrorMessageSync(error)}`);
|
|
442
441
|
return [];
|
|
@@ -841,6 +840,41 @@ function scanForUnprefixedExpressions(obj, path, issues) {
|
|
|
841
840
|
}
|
|
842
841
|
}
|
|
843
842
|
|
|
843
|
+
// src/services/node-validators/file-node-connection-validator.ts
|
|
844
|
+
var configureHint = (nodeId, connectorKey) => `Run \`uip maestro flow nodes configure <flow> ${nodeId} --detail '{"connectionId":"<uuid>"}'\` with a ${connectorKey} connection.`;
|
|
845
|
+
var fileNodeConnectionValidator = {
|
|
846
|
+
id: "file-node-connection",
|
|
847
|
+
appliesTo: () => true,
|
|
848
|
+
validate: (node, context) => {
|
|
849
|
+
const field = findOrchestratorConnectionField(context.definitions, node);
|
|
850
|
+
if (!field)
|
|
851
|
+
return [];
|
|
852
|
+
const path = `nodes[${node.id}].inputs.connectionId`;
|
|
853
|
+
const hint = configureHint(node.id, field.connectorKey);
|
|
854
|
+
const connectionId = node.inputs?.connectionId;
|
|
855
|
+
if (typeof connectionId !== "string" || connectionId === "") {
|
|
856
|
+
return [
|
|
857
|
+
{
|
|
858
|
+
path,
|
|
859
|
+
message: `[MISSING_CONNECTION] Node "${node.id}" has no Orchestrator connection. ${hint}`,
|
|
860
|
+
severity: "error"
|
|
861
|
+
}
|
|
862
|
+
];
|
|
863
|
+
}
|
|
864
|
+
const rowName = `${field.bindingConnectorKey} connection`;
|
|
865
|
+
const bound = (context.bindings ?? []).some((b) => b.name === rowName && typeof b.resource === "string" && b.resource.toLowerCase() === "connection" && b.resourceKey === connectionId && b.default === connectionId);
|
|
866
|
+
if (bound)
|
|
867
|
+
return [];
|
|
868
|
+
return [
|
|
869
|
+
{
|
|
870
|
+
path,
|
|
871
|
+
message: `[UNBOUND_CONNECTION] Node "${node.id}" names connection "${connectionId}", but no "${rowName}" binding row carries it, so the run would go out with no connection. ${hint}`,
|
|
872
|
+
severity: "error"
|
|
873
|
+
}
|
|
874
|
+
];
|
|
875
|
+
}
|
|
876
|
+
};
|
|
877
|
+
|
|
844
878
|
// src/services/node-validators/inline-activity-validator.ts
|
|
845
879
|
var inlineActivityValidator = {
|
|
846
880
|
id: "inline-activity",
|
|
@@ -913,7 +947,7 @@ var FORBIDDEN_INPUT_FIELDS = [
|
|
|
913
947
|
];
|
|
914
948
|
var FILE_REF_BODY_PATTERN = /^\$vars\.[A-Za-z_$]/;
|
|
915
949
|
function isFileRefExpression(fileRef) {
|
|
916
|
-
const body =
|
|
950
|
+
const body = getJsExpressionBody2(fileRef);
|
|
917
951
|
return body !== undefined && FILE_REF_BODY_PATTERN.test(body);
|
|
918
952
|
}
|
|
919
953
|
var EXTRACT_V2_NODE_TYPE = "uipath.ixp.extract-document-builder";
|
|
@@ -925,10 +959,10 @@ var ixpNodeValidator = {
|
|
|
925
959
|
const inputs = node.inputs ?? {};
|
|
926
960
|
const outputs = node.outputs ?? {};
|
|
927
961
|
const base = `nodes[${node.id}]`;
|
|
928
|
-
const
|
|
962
|
+
const isNonEmptyString = (v) => typeof v === "string" && v.length > 0;
|
|
929
963
|
if (node.type !== EXTRACT_V2_NODE_TYPE) {
|
|
930
964
|
const model = inputs.model;
|
|
931
|
-
if (typeof model !== "object" || model === null || Array.isArray(model) || !
|
|
965
|
+
if (typeof model !== "object" || model === null || Array.isArray(model) || !isNonEmptyString(model.modelName) || !isNonEmptyString(model.folderKey)) {
|
|
932
966
|
issues.push({
|
|
933
967
|
path: `${base}.inputs.model`,
|
|
934
968
|
severity: "error",
|
|
@@ -1015,7 +1049,7 @@ function scanScriptBody(nodeId, inputs, severity, issues) {
|
|
|
1015
1049
|
if (!inputs)
|
|
1016
1050
|
return;
|
|
1017
1051
|
const rawScript = inputs.script;
|
|
1018
|
-
const script = typeof rawScript === "string" ? rawScript :
|
|
1052
|
+
const script = typeof rawScript === "string" ? rawScript : isExpressionValue2(rawScript) && rawScript.type === "literal" ? decodeLiteral2(rawScript) : undefined;
|
|
1019
1053
|
if (typeof script !== "string")
|
|
1020
1054
|
return;
|
|
1021
1055
|
if (script.trim() === "")
|
|
@@ -1034,12 +1068,12 @@ function scanScriptBody(nodeId, inputs, severity, issues) {
|
|
|
1034
1068
|
});
|
|
1035
1069
|
}
|
|
1036
1070
|
function scanForInvalidJsExpressions(obj, path, severity, issues) {
|
|
1037
|
-
const expression =
|
|
1071
|
+
const expression = getJsExpressionBody2(typeof obj === "string" ? obj.trimStart() : obj);
|
|
1038
1072
|
if (expression !== undefined) {
|
|
1039
1073
|
reportInvalidExpression(expression, path, severity, issues);
|
|
1040
1074
|
return;
|
|
1041
1075
|
}
|
|
1042
|
-
if (
|
|
1076
|
+
if (isExpressionValue2(obj))
|
|
1043
1077
|
return;
|
|
1044
1078
|
if (typeof obj === "string")
|
|
1045
1079
|
return;
|
|
@@ -1205,9 +1239,10 @@ var unresolvedBindingPlaceholderValidator = {
|
|
|
1205
1239
|
var defaultNodeValidators = [
|
|
1206
1240
|
activityTypeIdValidator,
|
|
1207
1241
|
ceqlQueryValidator,
|
|
1208
|
-
|
|
1242
|
+
connectorNodeValidator2,
|
|
1209
1243
|
crossNodeBindingValidator,
|
|
1210
1244
|
expressionPrefixValidator,
|
|
1245
|
+
fileNodeConnectionValidator,
|
|
1211
1246
|
inlineActivityValidator,
|
|
1212
1247
|
jsExpressionSyntaxValidator,
|
|
1213
1248
|
ixpNodeValidator,
|
|
@@ -1260,11 +1295,9 @@ var ARRAY_MEMBERS = new Set([
|
|
|
1260
1295
|
"values",
|
|
1261
1296
|
"with"
|
|
1262
1297
|
]);
|
|
1263
|
-
var LOOP_NODE_TYPE = "core.logic.loop";
|
|
1264
|
-
var LOOP_BACK_TARGET_PORT = "loopBack";
|
|
1265
1298
|
var SCRIPT_NODE_TYPE = "core.action.script";
|
|
1266
1299
|
var JS_EXPRESSION_TYPE = "jsExpression";
|
|
1267
|
-
var DECISION_UNPOPULATED_OUTPUTS = new Set(
|
|
1300
|
+
var DECISION_UNPOPULATED_OUTPUTS = new Set(SYNTHETIC_GATEWAY_OUTPUT_KEYS2);
|
|
1268
1301
|
function undefinedSafe(ref, k) {
|
|
1269
1302
|
return ref.guarded.has(k + 1);
|
|
1270
1303
|
}
|
|
@@ -1656,11 +1689,12 @@ function buildAncestors(flow) {
|
|
|
1656
1689
|
}
|
|
1657
1690
|
return result;
|
|
1658
1691
|
}
|
|
1659
|
-
function buildMustRun(flow, modelTypeOf) {
|
|
1692
|
+
function buildMustRun(flow, definitionOf, modelTypeOf) {
|
|
1660
1693
|
const nodesById = new Map(flow.nodes.map((n) => [n.id, n]));
|
|
1661
1694
|
const incoming = new Map;
|
|
1662
1695
|
for (const e of flow.edges) {
|
|
1663
|
-
|
|
1696
|
+
const target = nodesById.get(e.targetNodeId);
|
|
1697
|
+
if (target && containerBodyPorts(definitionOf(target), "target").has(e.targetPort)) {
|
|
1664
1698
|
continue;
|
|
1665
1699
|
}
|
|
1666
1700
|
const list = incoming.get(e.targetNodeId) ?? [];
|
|
@@ -1794,7 +1828,7 @@ function arrayMemberIssue(args) {
|
|
|
1794
1828
|
};
|
|
1795
1829
|
}
|
|
1796
1830
|
function decisionUnpopulatedOutputIssue(args) {
|
|
1797
|
-
if (args.producer.type !==
|
|
1831
|
+
if (args.producer.type !== DECISION_NODE_TYPE2 || !DECISION_UNPOPULATED_OUTPUTS.has(args.second)) {
|
|
1798
1832
|
return;
|
|
1799
1833
|
}
|
|
1800
1834
|
const { root, second } = args;
|
|
@@ -1826,7 +1860,7 @@ function validateVarsReferences(flow, options = {}) {
|
|
|
1826
1860
|
const definitionOf = (n) => (n.typeVersion ? defByKey.get(`${n.type}:${n.typeVersion}`) : undefined) ?? defByType.get(n.type);
|
|
1827
1861
|
const modelTypeOf = (n) => typeof n.model?.type === "string" ? n.model.type : definitionOf(n)?.model?.type;
|
|
1828
1862
|
const ancestors = buildAncestors(flow);
|
|
1829
|
-
const mustRun = buildMustRun(flow, modelTypeOf);
|
|
1863
|
+
const mustRun = buildMustRun(flow, definitionOf, modelTypeOf);
|
|
1830
1864
|
const reported = new Set;
|
|
1831
1865
|
for (const occurrence of collectVarsRefs(flow.nodes, updatesByNode)) {
|
|
1832
1866
|
const node = nodesById.get(occurrence.nodeId);
|
|
@@ -1965,7 +1999,7 @@ function extractPromptVariables(content) {
|
|
|
1965
1999
|
}
|
|
1966
2000
|
var VARS_NODE_OUTPUT_RE = /^=?\$vars\.([A-Za-z0-9_$]+)\.output\.([A-Za-z0-9_$]+)/;
|
|
1967
2001
|
function getProducerOutputFields(node) {
|
|
1968
|
-
if (
|
|
2002
|
+
if (AGENT_NODE_TYPES2.includes(node.type)) {
|
|
1969
2003
|
const vars = node.inputs?.agentOutputVariables;
|
|
1970
2004
|
if (!Array.isArray(vars) || vars.length === 0)
|
|
1971
2005
|
return;
|
|
@@ -2079,7 +2113,7 @@ function formatHandleList(concrete, templates) {
|
|
|
2079
2113
|
return ports.length > 0 ? ports.join(", ") : "(none)";
|
|
2080
2114
|
}
|
|
2081
2115
|
|
|
2082
|
-
class
|
|
2116
|
+
class FlowValidateService2 {
|
|
2083
2117
|
fs;
|
|
2084
2118
|
extraRules;
|
|
2085
2119
|
nodeValidators;
|
|
@@ -2110,7 +2144,7 @@ class FlowValidateService {
|
|
|
2110
2144
|
this.connectorCatalogOverride = options.connectorCatalog;
|
|
2111
2145
|
}
|
|
2112
2146
|
async execute(flowFilePath) {
|
|
2113
|
-
const [error, result] = await
|
|
2147
|
+
const [error, result] = await catchError2(this.validateFile(flowFilePath));
|
|
2114
2148
|
if (error) {
|
|
2115
2149
|
OutputFormatter.error({
|
|
2116
2150
|
Result: RESULTS.Failure,
|
|
@@ -2158,7 +2192,7 @@ ${warnings.map((i) => ` - [${i.path}] ${i.message}`).join(`
|
|
|
2158
2192
|
if (manifests) {
|
|
2159
2193
|
return new Map(manifests.map((m) => [m.nodeType.toLowerCase(), m]));
|
|
2160
2194
|
}
|
|
2161
|
-
const [error, result] = await
|
|
2195
|
+
const [error, result] = await catchError2(loadCurrentTenantNodes2({ force: !this.manifestCache }));
|
|
2162
2196
|
if (error || result.nodes.length === 0) {
|
|
2163
2197
|
logger.warn(`Could not load current OOTB node manifests; skipping stale-handle validation: ${error?.message ?? "manifest response did not include nodes"}`);
|
|
2164
2198
|
return new Map;
|
|
@@ -2176,7 +2210,7 @@ ${warnings.map((i) => ` - [${i.path}] ${i.message}`).join(`
|
|
|
2176
2210
|
}
|
|
2177
2211
|
const stats = await this.fs.stat(absolutePath);
|
|
2178
2212
|
if (stats?.isDirectory()) {
|
|
2179
|
-
absolutePath = await
|
|
2213
|
+
absolutePath = await resolveProjectFlowFile2(absolutePath);
|
|
2180
2214
|
}
|
|
2181
2215
|
if (!absolutePath.endsWith(".flow")) {
|
|
2182
2216
|
throw new Error(`Expected a .flow file but got: ${this.fs.path.basename(absolutePath)}`);
|
|
@@ -2189,7 +2223,7 @@ Validating: ${absolutePath}
|
|
|
2189
2223
|
throw new Error(`Could not read file: ${absolutePath}`);
|
|
2190
2224
|
}
|
|
2191
2225
|
const issues = [];
|
|
2192
|
-
const [, source] = await
|
|
2226
|
+
const [, source] = await catchError2(inlineFlowRefs(this.fs, content, absolutePath, logger));
|
|
2193
2227
|
const parsed = parseFlowSource(source ?? content);
|
|
2194
2228
|
if (!parsed.ok) {
|
|
2195
2229
|
return {
|
|
@@ -2199,24 +2233,25 @@ Validating: ${absolutePath}
|
|
|
2199
2233
|
};
|
|
2200
2234
|
}
|
|
2201
2235
|
const { workflow, rawDefErrorHandling } = parsed;
|
|
2236
|
+
const graph = workflow;
|
|
2202
2237
|
const currentManifests = this.validateCurrentManifests ? await this.loadCurrentManifestMap() : new Map;
|
|
2203
2238
|
const flowDir = this.fs.path.dirname(absolutePath);
|
|
2204
|
-
const hydrationDiagnoses = await this.resolveAgentPrompts(
|
|
2239
|
+
const hydrationDiagnoses = await this.resolveAgentPrompts(graph.nodes, flowDir);
|
|
2205
2240
|
issues.push(...await this.validateForwardMigration(content, absolutePath));
|
|
2206
|
-
issues.push(...this.validateGraph(
|
|
2241
|
+
issues.push(...this.validateGraph(graph, "", rawDefErrorHandling, currentManifests));
|
|
2207
2242
|
issues.push(...this.validateGlobalVariableUniqueness(workflow, ""));
|
|
2208
2243
|
issues.push(...this.validateFileWideIdUniqueness(workflow));
|
|
2209
2244
|
issues.push(...this.validateGlobalTriggerBindings(workflow, ""));
|
|
2210
2245
|
issues.push(...this.validateTriggerScopedBareVarReads(workflow, ""));
|
|
2211
|
-
issues.push(...this.validateUnboundInputGlobals(
|
|
2246
|
+
issues.push(...this.validateUnboundInputGlobals(graph, ""));
|
|
2212
2247
|
issues.push(...this.validateResourceBindings(workflow));
|
|
2213
2248
|
issues.push(...this.validateConnectionIdReuse(workflow));
|
|
2214
2249
|
issues.push(...this.validateDuplicateProcessTargets(workflow));
|
|
2215
2250
|
issues.push(...await this.validateConnectorBindingShapes(workflow));
|
|
2216
|
-
issues.push(...this.validateAgentInputBindings(
|
|
2217
|
-
issues.push(...this.validateAgentPromptInputRefs(
|
|
2218
|
-
issues.push(...this.validateAgentInputScopeRefs(
|
|
2219
|
-
issues.push(...this.validateVoiceAgentSettings(
|
|
2251
|
+
issues.push(...this.validateAgentInputBindings(graph, hydrationDiagnoses, ""));
|
|
2252
|
+
issues.push(...this.validateAgentPromptInputRefs(graph, hydrationDiagnoses, ""));
|
|
2253
|
+
issues.push(...this.validateAgentInputScopeRefs(graph, hydrationDiagnoses, ""));
|
|
2254
|
+
issues.push(...this.validateVoiceAgentSettings(graph, hydrationDiagnoses, ""));
|
|
2220
2255
|
issues.push(...await this.validateInlineEntityBindings(workflow, absolutePath));
|
|
2221
2256
|
issues.push(...await this.validateSolutionRegistrationAndLayout(absolutePath, workflow));
|
|
2222
2257
|
issues.push(...await validateExpressions(workflow, "", this.strictExpressions));
|
|
@@ -2244,7 +2279,11 @@ Validating: ${absolutePath}
|
|
|
2244
2279
|
issues.push(...this.validateAgentInputScopeRefs(subGraph, hydrationDiagnoses, prefix));
|
|
2245
2280
|
issues.push(...this.rejectSubflowVoiceAgents(subGraph, prefix));
|
|
2246
2281
|
issues.push(...await validateExpressions({
|
|
2247
|
-
|
|
2282
|
+
nodes: entry.nodes,
|
|
2283
|
+
edges: entry.edges,
|
|
2284
|
+
definitions: workflow.definitions,
|
|
2285
|
+
variables: entry.variables,
|
|
2286
|
+
bindings: workflow.bindings,
|
|
2248
2287
|
subflows
|
|
2249
2288
|
}, prefix, this.strictExpressions));
|
|
2250
2289
|
}
|
|
@@ -2284,7 +2323,7 @@ Validating: ${absolutePath}
|
|
|
2284
2323
|
async resolveAgentPrompts(nodes, flowDir) {
|
|
2285
2324
|
const diagnoses = new Map;
|
|
2286
2325
|
for (const node of nodes) {
|
|
2287
|
-
if (!
|
|
2326
|
+
if (!AGENT_NODE_TYPES2.includes(node.type))
|
|
2288
2327
|
continue;
|
|
2289
2328
|
const source = readAgentSourceId(node);
|
|
2290
2329
|
if (!source) {
|
|
@@ -2299,7 +2338,7 @@ Validating: ${absolutePath}
|
|
|
2299
2338
|
continue;
|
|
2300
2339
|
}
|
|
2301
2340
|
const sourceLocation = "inputs.source";
|
|
2302
|
-
if (
|
|
2341
|
+
if (!isBareProjectIdSource(source)) {
|
|
2303
2342
|
diagnoses.set(node.id, {
|
|
2304
2343
|
sourceLocation,
|
|
2305
2344
|
sourceId: source,
|
|
@@ -2330,19 +2369,19 @@ Validating: ${absolutePath}
|
|
|
2330
2369
|
diag.agentJsonExists = await this.fs.exists(agentJsonPath);
|
|
2331
2370
|
if (!diag.agentJsonExists)
|
|
2332
2371
|
continue;
|
|
2333
|
-
const [readErr, raw] = await
|
|
2372
|
+
const [readErr, raw] = await catchError2(this.fs.readFile(agentJsonPath, "utf-8"));
|
|
2334
2373
|
if (readErr || !raw) {
|
|
2335
2374
|
diag.agentJsonUnparseable = true;
|
|
2336
2375
|
continue;
|
|
2337
2376
|
}
|
|
2338
|
-
const [parseErr, agent] = await
|
|
2377
|
+
const [parseErr, agent] = await catchError2(Promise.resolve(raw).then((s) => JSON.parse(s)));
|
|
2339
2378
|
if (parseErr || !agent) {
|
|
2340
2379
|
diag.agentJsonUnparseable = true;
|
|
2341
2380
|
continue;
|
|
2342
2381
|
}
|
|
2343
2382
|
hydrateAgentNodeInputs(node, agent);
|
|
2344
2383
|
const settings = agent.settings;
|
|
2345
|
-
if (
|
|
2384
|
+
if (isVoiceAgentNodeType2(node.type)) {
|
|
2346
2385
|
const voiceSettings = isRecord(settings) ? settings.voice : undefined;
|
|
2347
2386
|
diag.voiceSettingsPresent = isRecord(voiceSettings);
|
|
2348
2387
|
diag.isConversationalAgent = isRecord(agent.metadata) && agent.metadata.isConversational === true;
|
|
@@ -2399,7 +2438,7 @@ Validating: ${absolutePath}
|
|
|
2399
2438
|
validateAgentInputBindings(graph, diagnoses, pathPrefix) {
|
|
2400
2439
|
const issues = [];
|
|
2401
2440
|
for (const node of graph.nodes) {
|
|
2402
|
-
if (!
|
|
2441
|
+
if (!AGENT_NODE_TYPES2.includes(node.type))
|
|
2403
2442
|
continue;
|
|
2404
2443
|
const diag = diagnoses.get(node.id);
|
|
2405
2444
|
const declared = diag?.declaredInputKeys ?? [];
|
|
@@ -2427,7 +2466,7 @@ Validating: ${absolutePath}
|
|
|
2427
2466
|
validateAgentPromptInputRefs(graph, diagnoses, pathPrefix) {
|
|
2428
2467
|
const issues = [];
|
|
2429
2468
|
for (const node of graph.nodes) {
|
|
2430
|
-
if (!
|
|
2469
|
+
if (!AGENT_NODE_TYPES2.includes(node.type))
|
|
2431
2470
|
continue;
|
|
2432
2471
|
const diag = diagnoses.get(node.id);
|
|
2433
2472
|
if (!diag?.messagesPresent)
|
|
@@ -2447,7 +2486,7 @@ Validating: ${absolutePath}
|
|
|
2447
2486
|
rejectSubflowVoiceAgents(graph, pathPrefix) {
|
|
2448
2487
|
const issues = [];
|
|
2449
2488
|
for (const node of graph.nodes) {
|
|
2450
|
-
if (!
|
|
2489
|
+
if (!isVoiceAgentNodeType2(node.type))
|
|
2451
2490
|
continue;
|
|
2452
2491
|
const label = node.display?.label ?? node.id;
|
|
2453
2492
|
issues.push({
|
|
@@ -2461,7 +2500,7 @@ Validating: ${absolutePath}
|
|
|
2461
2500
|
validateVoiceAgentSettings(graph, diagnoses, pathPrefix) {
|
|
2462
2501
|
const issues = [];
|
|
2463
2502
|
for (const node of graph.nodes) {
|
|
2464
|
-
if (!
|
|
2503
|
+
if (!isVoiceAgentNodeType2(node.type))
|
|
2465
2504
|
continue;
|
|
2466
2505
|
const diag = diagnoses.get(node.id);
|
|
2467
2506
|
if (!diag || diag.sourceLocation === "missing")
|
|
@@ -2537,7 +2576,7 @@ Validating: ${absolutePath}
|
|
|
2537
2576
|
return issues;
|
|
2538
2577
|
}
|
|
2539
2578
|
validateAgentInputScopeRefs(graph, diagnoses, pathPrefix) {
|
|
2540
|
-
const agentNodes = graph.nodes.filter((n) =>
|
|
2579
|
+
const agentNodes = graph.nodes.filter((n) => AGENT_NODE_TYPES2.includes(n.type));
|
|
2541
2580
|
if (agentNodes.length === 0)
|
|
2542
2581
|
return [];
|
|
2543
2582
|
const nodesById = new Map(graph.nodes.map((n) => [n.id, n]));
|
|
@@ -2748,7 +2787,7 @@ Validating: ${absolutePath}
|
|
|
2748
2787
|
definedVersionsByType.set(d.nodeType, versions);
|
|
2749
2788
|
}
|
|
2750
2789
|
for (const node of flow.nodes) {
|
|
2751
|
-
if (
|
|
2790
|
+
if (UI_ONLY_NODE_TYPES2.has(node.type)) {
|
|
2752
2791
|
continue;
|
|
2753
2792
|
}
|
|
2754
2793
|
const key = `${node.type}:${node.typeVersion}`;
|
|
@@ -2906,7 +2945,7 @@ Validating: ${absolutePath}
|
|
|
2906
2945
|
const issues = [];
|
|
2907
2946
|
const nodes = flow.nodes ?? [];
|
|
2908
2947
|
const globals = flow.variables?.globals ?? [];
|
|
2909
|
-
const triggerNodeIds = new Set(nodes.filter((n) =>
|
|
2948
|
+
const triggerNodeIds = new Set(nodes.filter((n) => isStartEventNode2({
|
|
2910
2949
|
id: n.id,
|
|
2911
2950
|
type: n.type,
|
|
2912
2951
|
typeVersion: n.typeVersion ?? "1.0"
|
|
@@ -2950,7 +2989,7 @@ Validating: ${absolutePath}
|
|
|
2950
2989
|
const inGlobals = (flow.variables?.globals ?? []).filter((g) => g.id && g.direction === "in");
|
|
2951
2990
|
if (inGlobals.length === 0)
|
|
2952
2991
|
return issues;
|
|
2953
|
-
const triggerNodes = nodes.filter((n) =>
|
|
2992
|
+
const triggerNodes = nodes.filter((n) => isStartEventNode2({
|
|
2954
2993
|
id: n.id,
|
|
2955
2994
|
type: n.type,
|
|
2956
2995
|
typeVersion: n.typeVersion ?? "1.0"
|
|
@@ -3004,7 +3043,7 @@ Validating: ${absolutePath}
|
|
|
3004
3043
|
return issues;
|
|
3005
3044
|
}
|
|
3006
3045
|
async validateInlineEntityBindings(workflow, absolutePath) {
|
|
3007
|
-
const inlineEntities = await
|
|
3046
|
+
const inlineEntities = await readSolutionInlineEntities2(this.fs, absolutePath);
|
|
3008
3047
|
return inlineEntityBindingIssues(workflow, inlineEntities, absolutePath);
|
|
3009
3048
|
}
|
|
3010
3049
|
validateResourceBindings(workflow) {
|
|
@@ -3030,9 +3069,9 @@ Validating: ${absolutePath}
|
|
|
3030
3069
|
})))
|
|
3031
3070
|
];
|
|
3032
3071
|
for (const node of allNodes) {
|
|
3033
|
-
if (!
|
|
3072
|
+
if (!isProcessNode2({ nodeType: node.type }))
|
|
3034
3073
|
continue;
|
|
3035
|
-
const needed =
|
|
3074
|
+
const needed = collectNodeBindingResourceKeys2(node, bindings, definitions);
|
|
3036
3075
|
for (const key of needed) {
|
|
3037
3076
|
if (declaredKeys.has(key))
|
|
3038
3077
|
continue;
|
|
@@ -3088,7 +3127,7 @@ Validating: ${absolutePath}
|
|
|
3088
3127
|
const definitions = workflow.definitions;
|
|
3089
3128
|
const buckets = new Map;
|
|
3090
3129
|
const recordNode = (node, scope) => {
|
|
3091
|
-
const target =
|
|
3130
|
+
const target = resolveProcessTarget2(node, definitions);
|
|
3092
3131
|
if (!target)
|
|
3093
3132
|
return;
|
|
3094
3133
|
const bucketKey = `${target.subType}\x00${target.key}`;
|
|
@@ -3144,11 +3183,11 @@ Validating: ${absolutePath}
|
|
|
3144
3183
|
async validateSolutionRegistrationAndLayout(absolutePath, workflow) {
|
|
3145
3184
|
const issues = [];
|
|
3146
3185
|
const flowDir = this.fs.path.dirname(absolutePath);
|
|
3147
|
-
const discovery = await
|
|
3186
|
+
const discovery = await findNearestParentUipxFile2(this.fs, absolutePath);
|
|
3148
3187
|
if (discovery.status !== "found") {
|
|
3149
3188
|
return issues;
|
|
3150
3189
|
}
|
|
3151
|
-
const [readErr, manifest] = await
|
|
3190
|
+
const [readErr, manifest] = await readSolutionManifest2(this.fs, discovery.solutionFile);
|
|
3152
3191
|
if (readErr || !manifest) {
|
|
3153
3192
|
return issues;
|
|
3154
3193
|
}
|
|
@@ -3203,9 +3242,9 @@ Validating: ${absolutePath}
|
|
|
3203
3242
|
});
|
|
3204
3243
|
if (refs.length === 0)
|
|
3205
3244
|
return [];
|
|
3206
|
-
const keyByProject = await
|
|
3245
|
+
const keyByProject = await loadResourceKeyMap2(solutionDir);
|
|
3207
3246
|
const known = new Set([...keyByProject.values()].map((k) => k.toLowerCase()));
|
|
3208
|
-
const withoutProcessResource = new Map((await
|
|
3247
|
+
const withoutProcessResource = new Map((await findProjectsWithoutProcessResource2({
|
|
3209
3248
|
solutionDir,
|
|
3210
3249
|
projects,
|
|
3211
3250
|
currentProjectId
|
|
@@ -3217,7 +3256,7 @@ Validating: ${absolutePath}
|
|
|
3217
3256
|
return {
|
|
3218
3257
|
path: `${node.scope}nodes[${node.id}].bindings`,
|
|
3219
3258
|
severity,
|
|
3220
|
-
message: `Node "${node.id}" (type ${node.type}) calls in-solution process key "${key}", which is the project id of '${pending.name}', a project with no process resource yet. The next \`uip solution resources refresh\` gives it a new key, and this call stops matching. Run: ${
|
|
3259
|
+
message: `Node "${node.id}" (type ${node.type}) calls in-solution process key "${key}", which is the project id of '${pending.name}', a project with no process resource yet. The next \`uip solution resources refresh\` gives it a new key, and this call stops matching. Run: ${resourcesRefreshCommand2(solutionDir)}. Then re-run \`uip maestro flow registry get <node-type> --local\` and replace the node's definition and bindings.`
|
|
3221
3260
|
};
|
|
3222
3261
|
}
|
|
3223
3262
|
const currentKey = projectId ? keyByProject.get(projectId.toLowerCase()) : undefined;
|
|
@@ -3230,7 +3269,7 @@ Validating: ${absolutePath}
|
|
|
3230
3269
|
});
|
|
3231
3270
|
}
|
|
3232
3271
|
async canonicalizePath(p) {
|
|
3233
|
-
const [err, real] = await
|
|
3272
|
+
const [err, real] = await catchError2(this.fs.realpath(p));
|
|
3234
3273
|
return err || !real ? p : real;
|
|
3235
3274
|
}
|
|
3236
3275
|
validateEdgeHandlesAgainstCurrentManifests(flow, currentManifests) {
|
|
@@ -3265,7 +3304,7 @@ Validating: ${absolutePath}
|
|
|
3265
3304
|
if (isTemplatedHandleId(id)) {
|
|
3266
3305
|
templateTarget.push({
|
|
3267
3306
|
templateId: id,
|
|
3268
|
-
position: group.position
|
|
3307
|
+
info: { position: group.position }
|
|
3269
3308
|
});
|
|
3270
3309
|
} else {
|
|
3271
3310
|
concreteTarget.set(id, {
|
|
@@ -3278,21 +3317,9 @@ Validating: ${absolutePath}
|
|
|
3278
3317
|
if (currentManifest.supportsErrorHandling === true && !entry.source.has("error")) {
|
|
3279
3318
|
entry.source.set("error", {});
|
|
3280
3319
|
}
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
if (customization && sourceSetDeclared) {
|
|
3285
|
-
const overriddenPositions = new Set(customization.positions);
|
|
3286
|
-
for (const [handleId, info] of [...entry.source]) {
|
|
3287
|
-
if (info.position !== undefined && overriddenPositions.has(info.position)) {
|
|
3288
|
-
entry.source.delete(handleId);
|
|
3289
|
-
}
|
|
3290
|
-
}
|
|
3291
|
-
entry.sourceTemplates = entry.sourceTemplates.filter((template) => template.position === undefined || !overriddenPositions.has(template.position));
|
|
3292
|
-
for (const handleId of customization.sourceHandleIds) {
|
|
3293
|
-
entry.source.set(handleId, {});
|
|
3294
|
-
}
|
|
3295
|
-
}
|
|
3320
|
+
entry.sourceDeclared = applyInstanceSourceHandles(entry, node, {
|
|
3321
|
+
deriveOutcomes: false
|
|
3322
|
+
}).sourceDeclared;
|
|
3296
3323
|
handlesByNode.set(node.id, entry);
|
|
3297
3324
|
}
|
|
3298
3325
|
const resolveHandle = (nodeHandles, side, port) => {
|
|
@@ -3386,30 +3413,12 @@ Validating: ${absolutePath}
|
|
|
3386
3413
|
visible: buildErrorHandle().visible
|
|
3387
3414
|
});
|
|
3388
3415
|
}
|
|
3389
|
-
const
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
entry.source.set(outcomeHandleId, {});
|
|
3396
|
-
}
|
|
3397
|
-
}
|
|
3398
|
-
}
|
|
3399
|
-
if (customization && sourceSetDeclared) {
|
|
3400
|
-
const overriddenPositions = new Set(customization.positions);
|
|
3401
|
-
for (const [handleId, info] of [...entry.source]) {
|
|
3402
|
-
if (info.position !== undefined && overriddenPositions.has(info.position)) {
|
|
3403
|
-
entry.source.delete(handleId);
|
|
3404
|
-
}
|
|
3405
|
-
}
|
|
3406
|
-
entry.sourceTemplates = entry.sourceTemplates.filter((template) => template.info.position === undefined || !overriddenPositions.has(template.info.position));
|
|
3407
|
-
for (const handleId of customization.sourceHandleIds) {
|
|
3408
|
-
entry.source.set(handleId, {});
|
|
3409
|
-
}
|
|
3410
|
-
if (!customization.sourceHandleIds.includes("completed")) {
|
|
3411
|
-
handleCustomizedNodes.set(node.id, customization.sourceHandleIds);
|
|
3412
|
-
}
|
|
3416
|
+
const { sourceDeclared, customization } = applyInstanceSourceHandles(entry, node, {
|
|
3417
|
+
deriveOutcomes: true
|
|
3418
|
+
});
|
|
3419
|
+
entry.sourceDeclared = sourceDeclared;
|
|
3420
|
+
if (customization && !customization.sourceHandles.some((handle) => handle.id === "completed")) {
|
|
3421
|
+
handleCustomizedNodes.set(node.id, customization.sourceHandles.map((handle) => handle.id));
|
|
3413
3422
|
}
|
|
3414
3423
|
handlesByNode.set(node.id, entry);
|
|
3415
3424
|
}
|
|
@@ -3605,6 +3614,6 @@ function describeUnsatisfiableJoin(node, finding, graph) {
|
|
|
3605
3614
|
};
|
|
3606
3615
|
}
|
|
3607
3616
|
|
|
3608
|
-
export {
|
|
3617
|
+
export { FlowValidateService2 };
|
|
3609
3618
|
|
|
3610
|
-
//# debugId=
|
|
3619
|
+
//# debugId=CD6968916D691DBE64756E2164756E21
|