@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EvalRunApi
|
|
3
|
+
} from "./packager-tool-ac6rvny7.js";
|
|
4
|
+
|
|
5
|
+
// src/services/flow-eval-run-api.ts
|
|
6
|
+
class FlowEvalRunApi2 extends EvalRunApi {
|
|
7
|
+
constructor() {
|
|
8
|
+
super("Flow");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { FlowEvalRunApi2 };
|
|
13
|
+
|
|
14
|
+
//# debugId=4C63D43E7EBBA44064756E2164756E21
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
isStartEventNode2
|
|
3
|
+
} from "./packager-tool-fzgfb0jt.js";
|
|
4
4
|
|
|
5
5
|
// ../packager/packager-tool-flow/src/entry-point-triggers.ts
|
|
6
6
|
function isRecord(value) {
|
|
7
7
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8
8
|
}
|
|
9
9
|
function entryPointTriggers(nodes) {
|
|
10
|
-
return nodes.filter((node) => isRecord(node) && typeof node.id === "string" && typeof node.type === "string" &&
|
|
10
|
+
return nodes.filter((node) => isRecord(node) && typeof node.id === "string" && typeof node.type === "string" && isStartEventNode2({
|
|
11
11
|
id: node.id,
|
|
12
12
|
type: node.type,
|
|
13
13
|
typeVersion: typeof node.typeVersion === "string" ? node.typeVersion : "1.0"
|
|
@@ -23,4 +23,4 @@ function defaultEntryPointNodeId(nodes) {
|
|
|
23
23
|
|
|
24
24
|
export { entryPointTriggers, defaultEntryPointNodeId };
|
|
25
25
|
|
|
26
|
-
//# debugId=
|
|
26
|
+
//# debugId=D03A0897FE5A5B9164756E2164756E21
|
|
@@ -1,25 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
debugPimsGet,
|
|
5
|
-
debugPimsPost,
|
|
6
|
-
orchestratorGet,
|
|
7
|
-
orchestratorPost,
|
|
8
|
-
studioWebPost
|
|
9
|
-
} from "./packager-tool-frjt46rb.js";
|
|
2
|
+
catchError2
|
|
3
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
10
4
|
import {
|
|
11
5
|
RESULTS,
|
|
12
6
|
logger
|
|
13
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
14
8
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
MaestroHttpError2,
|
|
10
|
+
automationSolutionsGet2,
|
|
11
|
+
orchestratorGet2,
|
|
12
|
+
orchestratorPost2,
|
|
13
|
+
debugPimsGet2,
|
|
14
|
+
debugPimsPost2,
|
|
15
|
+
studioWebPost2
|
|
16
|
+
} from "./packager-tool-508ka40b.js";
|
|
17
17
|
|
|
18
18
|
// ../maestro-sdk/src/debug-service.ts
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
|
+
|
|
21
|
+
// ../maestro-sdk/src/debug-poll-retry.ts
|
|
22
|
+
var POLL_RETRY_DELAYS_MS = [5000, 1e4];
|
|
23
|
+
var isRetryablePollStatus = (httpStatus) => httpStatus === 403 || httpStatus >= 500;
|
|
24
|
+
var delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
25
|
+
async function withPollRetry(stage, poll, delays = POLL_RETRY_DELAYS_MS) {
|
|
26
|
+
const totalAttempts = delays.length + 1;
|
|
27
|
+
const traceIds = [];
|
|
28
|
+
for (let attempt = 1;; attempt++) {
|
|
29
|
+
const [error, result] = await catchError2(poll());
|
|
30
|
+
if (!error)
|
|
31
|
+
return result;
|
|
32
|
+
if (!(error instanceof MaestroHttpError2) || !isRetryablePollStatus(error.httpStatus)) {
|
|
33
|
+
throw error;
|
|
34
|
+
}
|
|
35
|
+
if (error.parsedTraceId)
|
|
36
|
+
traceIds.push(error.parsedTraceId);
|
|
37
|
+
const retryDelay = delays[attempt - 1];
|
|
38
|
+
if (retryDelay === undefined) {
|
|
39
|
+
error.recordAttempts(totalAttempts, traceIds);
|
|
40
|
+
error.message = `${error.message} — tried ${totalAttempts} times over ${delays.reduce((sum, ms) => sum + ms, 0) / 1000}s${traceIds.length > 0 ? ` (traceIds: ${traceIds.join(", ")})` : ""}`;
|
|
41
|
+
throw error;
|
|
42
|
+
}
|
|
43
|
+
logger.warn(`${stage} returned HTTP ${error.httpStatus} (attempt ${attempt}/${totalAttempts}); retrying in ${retryDelay / 1000}s.`);
|
|
44
|
+
await delay(retryDelay);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// ../maestro-sdk/src/debug-service.ts
|
|
20
49
|
var AGENT_TARGET_RUNTIME = "pythonAgent";
|
|
21
50
|
|
|
22
|
-
class
|
|
51
|
+
class FpsPropertiesInjectionError2 extends Error {
|
|
23
52
|
fpsProperties;
|
|
24
53
|
agentCount;
|
|
25
54
|
cause;
|
|
@@ -31,7 +60,7 @@ class FpsPropertiesInjectionError extends Error {
|
|
|
31
60
|
this.cause = cause;
|
|
32
61
|
}
|
|
33
62
|
}
|
|
34
|
-
function
|
|
63
|
+
function injectInlineAgentProcessEntries2(fpsProperties, inlineAgents, flowProjectId) {
|
|
35
64
|
if (!inlineAgents || inlineAgents.length === 0)
|
|
36
65
|
return fpsProperties;
|
|
37
66
|
const entries = inlineAgents.map((agent) => ({
|
|
@@ -51,7 +80,7 @@ function injectInlineAgentProcessEntries(fpsProperties, inlineAgents, flowProjec
|
|
|
51
80
|
}));
|
|
52
81
|
return appendProcessEntries(fpsProperties, entries, inlineAgents.length);
|
|
53
82
|
}
|
|
54
|
-
function
|
|
83
|
+
function injectSolutionProjectProcessEntries2(fpsProperties, solutionProjects) {
|
|
55
84
|
if (!solutionProjects || solutionProjects.length === 0) {
|
|
56
85
|
return fpsProperties;
|
|
57
86
|
}
|
|
@@ -69,7 +98,7 @@ function injectSolutionProjectProcessEntries(fpsProperties, solutionProjects) {
|
|
|
69
98
|
} : {
|
|
70
99
|
projectId: project.projectId,
|
|
71
100
|
debugArgs: {
|
|
72
|
-
debugMode: project.debugMode ??
|
|
101
|
+
debugMode: project.debugMode ?? DEBUG_MODE_MAP2.Default,
|
|
73
102
|
studioWebProjectId: project.projectId,
|
|
74
103
|
processType: project.projectType,
|
|
75
104
|
solutionId: project.solutionId,
|
|
@@ -92,23 +121,23 @@ function appendProcessEntries(fpsProperties, entries, entryCount) {
|
|
|
92
121
|
}
|
|
93
122
|
return JSON.stringify(outer);
|
|
94
123
|
} catch (err) {
|
|
95
|
-
throw new
|
|
124
|
+
throw new FpsPropertiesInjectionError2(fpsProperties ?? "", entryCount, err);
|
|
96
125
|
}
|
|
97
126
|
}
|
|
98
|
-
function
|
|
127
|
+
function extractStartEventId2(bpmnXml) {
|
|
99
128
|
const match = bpmnXml.match(/<bpmn:startEvent\s+id="([^"]+)"/);
|
|
100
129
|
return match?.[1] ?? "start";
|
|
101
130
|
}
|
|
102
|
-
async function
|
|
103
|
-
const result = await
|
|
131
|
+
async function getPersonalFolderKey2(config) {
|
|
132
|
+
const result = await orchestratorGet2(config, "/api/Folders/GetAllForCurrentUser", "get-personal-folder");
|
|
104
133
|
const personal = result.PageItems?.find((f) => f.FolderType === "Personal");
|
|
105
134
|
if (!personal) {
|
|
106
135
|
throw new Error("No personal workspace folder found. Ensure your account has a personal workspace.");
|
|
107
136
|
}
|
|
108
137
|
return { key: personal.Key, id: personal.Id };
|
|
109
138
|
}
|
|
110
|
-
async function
|
|
111
|
-
const result = await
|
|
139
|
+
async function getPersonalFolderInfo2(config) {
|
|
140
|
+
const result = await orchestratorGet2(config, "/api/Folders/GetAllForCurrentUser", "get-personal-folder");
|
|
112
141
|
const personal = result.PageItems?.find((f) => f.FolderType === "Personal");
|
|
113
142
|
if (!personal) {
|
|
114
143
|
throw new Error("No personal workspace folder found. Ensure your account has a personal workspace.");
|
|
@@ -129,7 +158,7 @@ var TERMINAL_PROJECT_DEBUG_STATUSES = new Set([
|
|
|
129
158
|
"validationfailed"
|
|
130
159
|
]);
|
|
131
160
|
|
|
132
|
-
class
|
|
161
|
+
class DebugProvisioningFailedError2 extends Error {
|
|
133
162
|
status;
|
|
134
163
|
errors;
|
|
135
164
|
constructor(status, errors) {
|
|
@@ -138,11 +167,8 @@ class DebugProvisioningFailedError extends Error {
|
|
|
138
167
|
this.status = status;
|
|
139
168
|
this.errors = errors;
|
|
140
169
|
}
|
|
141
|
-
get isValidationFailure() {
|
|
142
|
-
return this.status.toLowerCase() === "validationfailed";
|
|
143
|
-
}
|
|
144
170
|
}
|
|
145
|
-
var
|
|
171
|
+
var delay2 = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
146
172
|
async function waitForProjectProvisioning(config, solutionId, sessionId, timeoutMs, pollIntervalMs) {
|
|
147
173
|
const deadline = Date.now() + timeoutMs;
|
|
148
174
|
const path = `/api/v1/solutions/${encodeURIComponent(solutionId)}/projects/debug/status` + `?debugSessionId=${encodeURIComponent(sessionId)}`;
|
|
@@ -150,7 +176,7 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
|
|
|
150
176
|
const remainingMs = deadline - Date.now();
|
|
151
177
|
if (remainingMs <= 0)
|
|
152
178
|
break;
|
|
153
|
-
const [pollError, info] = await
|
|
179
|
+
const [pollError, info] = await catchError2(automationSolutionsGet2(config, path, "poll-project-debug-status", AbortSignal.timeout(remainingMs)));
|
|
154
180
|
if (pollError) {
|
|
155
181
|
if (Date.now() >= deadline)
|
|
156
182
|
break;
|
|
@@ -160,7 +186,7 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
|
|
|
160
186
|
logger.debug(`Project debug provisioning status: ${info.status ?? "unknown"}`);
|
|
161
187
|
if (status && TERMINAL_PROJECT_DEBUG_STATUSES.has(status)) {
|
|
162
188
|
if (status !== "creationsucceeded") {
|
|
163
|
-
throw new
|
|
189
|
+
throw new DebugProvisioningFailedError2(info.status ?? "unknown", info.errors ?? []);
|
|
164
190
|
}
|
|
165
191
|
logger.info(`Studio Web resources provisioned${info.folderFullyQualifiedName ? ` in ${info.folderFullyQualifiedName}` : ""}`);
|
|
166
192
|
return;
|
|
@@ -168,11 +194,11 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
|
|
|
168
194
|
const remainingAfterPollMs = deadline - Date.now();
|
|
169
195
|
if (remainingAfterPollMs <= 0)
|
|
170
196
|
break;
|
|
171
|
-
await
|
|
197
|
+
await delay2(Math.min(pollIntervalMs, remainingAfterPollMs));
|
|
172
198
|
}
|
|
173
199
|
throw new Error(`Timed out waiting for Studio Web resource provisioning after ${timeoutMs}ms.`);
|
|
174
200
|
}
|
|
175
|
-
async function
|
|
201
|
+
async function prepareForCustomDebug2(params) {
|
|
176
202
|
const sessionId = params.sessionId ?? randomUUID();
|
|
177
203
|
const query = new URLSearchParams({
|
|
178
204
|
sessionId,
|
|
@@ -183,7 +209,7 @@ async function prepareForCustomDebug(params) {
|
|
|
183
209
|
forceProvisioning: "false"
|
|
184
210
|
});
|
|
185
211
|
const tenantIdHeader = params.config.tenantId ? { "X-UIPATH-TenantId": params.config.tenantId } : {};
|
|
186
|
-
const result = await
|
|
212
|
+
const result = await studioWebPost2(params.config, params.config.organizationName, `/resourcebuilder/solutions/${encodeURIComponent(params.solutionId)}/projects/${encodeURIComponent(params.projectId)}/debug?${query.toString()}`, new FormData, tenantIdHeader, "prepare-custom-debug");
|
|
187
213
|
let complete = result.complete;
|
|
188
214
|
if (complete === false) {
|
|
189
215
|
await waitForProjectProvisioning(params.config, params.solutionId, sessionId, params.provisioningTimeoutMs ?? PROJECT_DEBUG_TIMEOUT_MS, params.provisioningPollIntervalMs ?? PROJECT_DEBUG_POLL_INTERVAL_MS);
|
|
@@ -198,8 +224,8 @@ async function prepareForCustomDebug(params) {
|
|
|
198
224
|
solutionDebugId: result.solutionDebugId ?? params.solutionId
|
|
199
225
|
};
|
|
200
226
|
}
|
|
201
|
-
async function
|
|
202
|
-
const result = await
|
|
227
|
+
async function getFolderInfoById2(config, folderId) {
|
|
228
|
+
const result = await orchestratorGet2(config, `/odata/Folders(${folderId})`, "get-folder-by-id");
|
|
203
229
|
return {
|
|
204
230
|
key: result.Key,
|
|
205
231
|
id: result.Id,
|
|
@@ -208,8 +234,8 @@ async function getFolderInfoById(config, folderId) {
|
|
|
208
234
|
parentKey: result.ParentKey
|
|
209
235
|
};
|
|
210
236
|
}
|
|
211
|
-
async function
|
|
212
|
-
const fpsProperties =
|
|
237
|
+
async function beginDebugSession2(config, inputArguments = "{}", options) {
|
|
238
|
+
const fpsProperties = injectSolutionProjectProcessEntries2(injectInlineAgentProcessEntries2(options?.fpsProperties, options?.inlineAgents, options?.flowProjectId), options?.solutionProjects);
|
|
213
239
|
const body = {
|
|
214
240
|
JobsCount: 1,
|
|
215
241
|
JobPriority: null,
|
|
@@ -223,34 +249,34 @@ async function beginDebugSession(config, inputArguments = "{}", options) {
|
|
|
223
249
|
InputArguments: inputArguments,
|
|
224
250
|
...fpsProperties ? { FpsProperties: fpsProperties } : {}
|
|
225
251
|
};
|
|
226
|
-
const result = await
|
|
252
|
+
const result = await orchestratorPost2(config, "/api/robotdebug/BeginSession", body, "begin-debug-session");
|
|
227
253
|
if (!result.jobKey) {
|
|
228
254
|
throw new Error("BeginSession returned success but no jobKey was provided");
|
|
229
255
|
}
|
|
230
256
|
return result;
|
|
231
257
|
}
|
|
232
|
-
var
|
|
258
|
+
var DEBUG_MODE_MAP2 = {
|
|
233
259
|
None: 0,
|
|
234
260
|
Default: 1,
|
|
235
261
|
StepByStep: 2,
|
|
236
262
|
SingleStep: 3
|
|
237
263
|
};
|
|
238
|
-
var
|
|
264
|
+
var SIMULATION_MODE_MAP2 = {
|
|
239
265
|
None: 0,
|
|
240
266
|
All: 1,
|
|
241
267
|
Selective: 2
|
|
242
268
|
};
|
|
243
269
|
var CREATE_DEBUG_INSTANCE_RETRY_DELAYS_MS = [2000, 5000];
|
|
244
270
|
var CREATE_DEBUG_INSTANCE_RETRYABLE_STATUSES = new Set([500, 503]);
|
|
245
|
-
async function
|
|
271
|
+
async function createDebugInstance2(config, jobKey, solutionId, studioWebProjectId, entryPoint, processType = "Flow", debugMode = "Default", simulationMode = "None") {
|
|
246
272
|
const body = {
|
|
247
273
|
jobKey,
|
|
248
274
|
debugArgs: {
|
|
249
275
|
breakPoints: [],
|
|
250
|
-
debugMode:
|
|
276
|
+
debugMode: DEBUG_MODE_MAP2[debugMode],
|
|
251
277
|
entryPoint,
|
|
252
278
|
processType,
|
|
253
|
-
simulationMode:
|
|
279
|
+
simulationMode: SIMULATION_MODE_MAP2[simulationMode],
|
|
254
280
|
solutionId,
|
|
255
281
|
studioWebProjectId,
|
|
256
282
|
variables: {}
|
|
@@ -260,15 +286,15 @@ async function createDebugInstance(config, jobKey, solutionId, studioWebProjectI
|
|
|
260
286
|
const traceIds = [];
|
|
261
287
|
let lastError;
|
|
262
288
|
for (let attempt = 1;attempt <= totalAttempts; attempt++) {
|
|
263
|
-
const [error, result] = await
|
|
289
|
+
const [error, result] = await catchError2(debugPimsPost2(config, "/api/v1/debug-instances", body, "create-debug-instance"));
|
|
264
290
|
if (!error) {
|
|
265
291
|
if (!result.instanceId) {
|
|
266
292
|
throw new Error(`debug-instances API returned no instanceId: ${JSON.stringify(result)}`);
|
|
267
293
|
}
|
|
268
294
|
return result;
|
|
269
295
|
}
|
|
270
|
-
if (!(error instanceof
|
|
271
|
-
if (attempt > 1 && error instanceof
|
|
296
|
+
if (!(error instanceof MaestroHttpError2) || !CREATE_DEBUG_INSTANCE_RETRYABLE_STATUSES.has(error.httpStatus)) {
|
|
297
|
+
if (attempt > 1 && error instanceof MaestroHttpError2) {
|
|
272
298
|
if (error.parsedTraceId) {
|
|
273
299
|
traceIds.push(error.parsedTraceId);
|
|
274
300
|
}
|
|
@@ -285,7 +311,7 @@ async function createDebugInstance(config, jobKey, solutionId, studioWebProjectI
|
|
|
285
311
|
break;
|
|
286
312
|
}
|
|
287
313
|
logger.warn(`create-debug-instance returned HTTP ${error.httpStatus} (attempt ${attempt}/${totalAttempts}); retrying in ${retryDelay / 1000}s.`);
|
|
288
|
-
await
|
|
314
|
+
await delay2(retryDelay);
|
|
289
315
|
}
|
|
290
316
|
if (!lastError) {
|
|
291
317
|
throw new Error("create-debug-instance failed without an error.");
|
|
@@ -311,7 +337,7 @@ var SUCCESS_DEBUG_STATUSES = new Set([
|
|
|
311
337
|
]);
|
|
312
338
|
var FAULTED_DEBUG_STATUSES = new Set([...PIMS_TERMINAL_STATUSES, ...ORCHESTRATOR_TERMINAL_STATUSES].filter((status) => !SUCCESS_DEBUG_STATUSES.has(status)));
|
|
313
339
|
|
|
314
|
-
class
|
|
340
|
+
class DebugPollTimeoutError2 extends Error {
|
|
315
341
|
instanceId;
|
|
316
342
|
jobKey;
|
|
317
343
|
lastStatus;
|
|
@@ -325,7 +351,7 @@ class DebugPollTimeoutError extends Error {
|
|
|
325
351
|
this.timeoutSeconds = details.timeoutSeconds;
|
|
326
352
|
}
|
|
327
353
|
}
|
|
328
|
-
function
|
|
354
|
+
function buildPollTimeoutFailureOutput2(err, inspectCommand) {
|
|
329
355
|
const inspect = inspectCommand ? `Check it with '${inspectCommand} ${err.instanceId}', or re-run` : "Re-run";
|
|
330
356
|
return {
|
|
331
357
|
Result: RESULTS.Failure,
|
|
@@ -342,7 +368,7 @@ function buildPollTimeoutFailureOutput(err, inspectCommand) {
|
|
|
342
368
|
}
|
|
343
369
|
};
|
|
344
370
|
}
|
|
345
|
-
async function
|
|
371
|
+
async function pollDebugInstanceStatus2(config, instanceId, callbacks, pollInterval = 2000, maxPolls = 300, jobKey) {
|
|
346
372
|
let pollCount = 0;
|
|
347
373
|
let lastStatus = "";
|
|
348
374
|
const canCheckOrchestratorJob = jobKey !== undefined && ORCHESTRATOR_JOB_KEY.test(jobKey);
|
|
@@ -350,7 +376,7 @@ async function pollDebugInstanceStatus(config, instanceId, callbacks, pollInterv
|
|
|
350
376
|
logger.warn(`Skipping the Orchestrator job status fallback: "${jobKey}" is not a job key.`);
|
|
351
377
|
}
|
|
352
378
|
while (pollCount < maxPolls) {
|
|
353
|
-
const status = await
|
|
379
|
+
const status = await withPollRetry("poll-instance-status", () => debugPimsGet2(config, `/api/v1/debug-instances/${instanceId}/element-executions`, "poll-instance-status"));
|
|
354
380
|
if (status.status !== lastStatus) {
|
|
355
381
|
lastStatus = status.status;
|
|
356
382
|
const elementExecutions = status.elementExecutions.map((e) => ({
|
|
@@ -370,7 +396,7 @@ async function pollDebugInstanceStatus(config, instanceId, callbacks, pollInterv
|
|
|
370
396
|
return status;
|
|
371
397
|
}
|
|
372
398
|
if (canCheckOrchestratorJob && pollCount > 0 && pollCount % 5 === 0) {
|
|
373
|
-
const [, jobResponse] = await
|
|
399
|
+
const [, jobResponse] = await catchError2(orchestratorGet2(config, `/odata/Jobs?$filter=Key eq ${jobKey}&$top=1`, "check-orchestrator-job-status"));
|
|
374
400
|
const jobState = jobResponse?.value?.[0]?.State;
|
|
375
401
|
if (jobState && ORCHESTRATOR_TERMINAL_STATUSES.includes(jobState)) {
|
|
376
402
|
const jobInfo = jobResponse?.value?.[0]?.Info ?? "";
|
|
@@ -381,21 +407,21 @@ async function pollDebugInstanceStatus(config, instanceId, callbacks, pollInterv
|
|
|
381
407
|
await new Promise((resolve) => setTimeout(resolve, pollInterval));
|
|
382
408
|
pollCount++;
|
|
383
409
|
}
|
|
384
|
-
throw new
|
|
410
|
+
throw new DebugPollTimeoutError2({
|
|
385
411
|
instanceId,
|
|
386
412
|
...jobKey === undefined ? {} : { jobKey },
|
|
387
413
|
lastStatus: lastStatus || "unknown",
|
|
388
414
|
timeoutSeconds: maxPolls * pollInterval / 1000
|
|
389
415
|
});
|
|
390
416
|
}
|
|
391
|
-
async function
|
|
392
|
-
const result = await
|
|
417
|
+
async function fetchDebugInstanceIncidents2(config, instanceId) {
|
|
418
|
+
const result = await debugPimsGet2(config, `/api/v1/debug-instances/${instanceId}/incidents`, "get-debug-instance-incidents");
|
|
393
419
|
return result ?? [];
|
|
394
420
|
}
|
|
395
421
|
var FETCH_VARIABLES_RETRY_DELAYS_MS = [2000, 4000];
|
|
396
422
|
var FETCH_VARIABLES_ATTEMPT_TIMEOUT_MS = 8000;
|
|
397
423
|
|
|
398
|
-
class
|
|
424
|
+
class DebugVariablesFetchFailedError2 extends Error {
|
|
399
425
|
details;
|
|
400
426
|
constructor(details) {
|
|
401
427
|
super(`Could not fetch output variables after ${details.attempts} attempt(s): ${details.message}`);
|
|
@@ -410,7 +436,7 @@ function undefinedGlobals(response, expected) {
|
|
|
410
436
|
}
|
|
411
437
|
return expected.filter((id) => !Object.hasOwn(defined, id));
|
|
412
438
|
}
|
|
413
|
-
async function
|
|
439
|
+
async function fetchDebugInstanceVariables2(config, instanceId, options) {
|
|
414
440
|
const endpoint = `/api/v1/debug-instances/${encodeURIComponent(instanceId)}/variables`;
|
|
415
441
|
const delays = options?.delays ?? FETCH_VARIABLES_RETRY_DELAYS_MS;
|
|
416
442
|
const attemptTimeoutMs = options?.attemptTimeoutMs ?? FETCH_VARIABLES_ATTEMPT_TIMEOUT_MS;
|
|
@@ -432,7 +458,7 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
|
|
|
432
458
|
for (let attempt = 1;attempt <= totalAttempts; attempt++) {
|
|
433
459
|
const controller = new AbortController;
|
|
434
460
|
const timer = setTimeout(() => controller.abort(), attemptTimeoutMs);
|
|
435
|
-
const [error, result] = await
|
|
461
|
+
const [error, result] = await catchError2(debugPimsGet2(config, endpoint, "fetch-output-variables", { signal: controller.signal }));
|
|
436
462
|
clearTimeout(timer);
|
|
437
463
|
const missing = error ? [] : undefinedGlobals(result, options?.expectGlobals ?? []);
|
|
438
464
|
if (!error && missing.length === 0) {
|
|
@@ -452,7 +478,7 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
|
|
|
452
478
|
failures.push("timeout");
|
|
453
479
|
lastMessage = `timed out after ${attemptTimeoutMs / 1000}s`;
|
|
454
480
|
lastStatus = undefined;
|
|
455
|
-
} else if (error instanceof
|
|
481
|
+
} else if (error instanceof MaestroHttpError2) {
|
|
456
482
|
failures.push("http");
|
|
457
483
|
lastMessage = error.message;
|
|
458
484
|
lastStatus = error.httpStatus;
|
|
@@ -469,9 +495,9 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
|
|
|
469
495
|
break;
|
|
470
496
|
}
|
|
471
497
|
logger.warn(`fetch-output-variables failed (attempt ${attempt}/${totalAttempts}): ${lastMessage}; retrying in ${retryDelay / 1000}s.`);
|
|
472
|
-
await
|
|
498
|
+
await delay2(retryDelay);
|
|
473
499
|
}
|
|
474
|
-
throw new
|
|
500
|
+
throw new DebugVariablesFetchFailedError2({
|
|
475
501
|
message: lastMessage,
|
|
476
502
|
...lastStatus === undefined ? {} : { httpStatus: lastStatus },
|
|
477
503
|
attempts: totalAttempts,
|
|
@@ -485,17 +511,17 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
|
|
|
485
511
|
...timing()
|
|
486
512
|
});
|
|
487
513
|
}
|
|
488
|
-
function
|
|
514
|
+
function isFaultedDebugStatus2(status) {
|
|
489
515
|
return FAULTED_DEBUG_STATUSES.has(status);
|
|
490
516
|
}
|
|
491
|
-
function
|
|
517
|
+
function isSuccessfulDebugStatus2(status) {
|
|
492
518
|
return SUCCESS_DEBUG_STATUSES.has(status);
|
|
493
519
|
}
|
|
494
|
-
async function
|
|
495
|
-
if (!
|
|
520
|
+
async function resolveFaultIncidents2(config, instanceId, status) {
|
|
521
|
+
if (!isFaultedDebugStatus2(status)) {
|
|
496
522
|
return;
|
|
497
523
|
}
|
|
498
|
-
const [incidentError, fetched] = await
|
|
524
|
+
const [incidentError, fetched] = await catchError2(fetchDebugInstanceIncidents2(config, instanceId));
|
|
499
525
|
if (incidentError) {
|
|
500
526
|
logger.warn(`Could not fetch debug incidents: ${incidentError.message}`);
|
|
501
527
|
return;
|
|
@@ -507,10 +533,10 @@ async function resolveFaultIncidents(config, instanceId, status) {
|
|
|
507
533
|
logger.warn(`Debug session faulted with ${fetched.length} incident(s). ` + `First: [${first.errorCode ?? "no-code"}] ${first.errorMessage}` + (first.elementId ? ` (element ${first.elementId})` : ""));
|
|
508
534
|
return fetched;
|
|
509
535
|
}
|
|
510
|
-
function
|
|
536
|
+
function buildStudioWebDesignerUrl2(params) {
|
|
511
537
|
return `${params.baseUrl}/${encodeURIComponent(params.organizationName)}` + `/studio_/designer/${encodeURIComponent(params.projectId)}` + `?solutionId=${encodeURIComponent(params.solutionId)}`;
|
|
512
538
|
}
|
|
513
|
-
async function
|
|
539
|
+
async function uploadAndDebugSolution2(params) {
|
|
514
540
|
const { apiConfig } = params;
|
|
515
541
|
logger.info("Uploading solution to Studio Web...");
|
|
516
542
|
const importResult = await params.upload();
|
|
@@ -520,7 +546,7 @@ async function uploadAndDebugSolution(params) {
|
|
|
520
546
|
}
|
|
521
547
|
const matchedProject = importResult.projects.find((p) => p.name === params.projectName);
|
|
522
548
|
const studioWebProjectId = (matchedProject ?? importResult.projects[0]).id;
|
|
523
|
-
const studioWebUrl =
|
|
549
|
+
const studioWebUrl = buildStudioWebDesignerUrl2({
|
|
524
550
|
baseUrl: apiConfig.baseUrl,
|
|
525
551
|
organizationName: params.organizationName,
|
|
526
552
|
projectId: studioWebProjectId,
|
|
@@ -529,7 +555,7 @@ async function uploadAndDebugSolution(params) {
|
|
|
529
555
|
logger.info(`Solution uploaded — solutionId: ${solutionId}, projectId: ${studioWebProjectId}`);
|
|
530
556
|
logger.info(`Studio Web URL: ${studioWebUrl}`);
|
|
531
557
|
params.callbacks?.onStudioWebUrl?.(studioWebUrl);
|
|
532
|
-
const folder = params.folder ?? await
|
|
558
|
+
const folder = params.folder ?? await getPersonalFolderKey2(apiConfig);
|
|
533
559
|
apiConfig.folderKey = folder.key;
|
|
534
560
|
apiConfig.organizationUnitId = folder.id;
|
|
535
561
|
logger.info(`Personal folder — key: ${folder.key}, id: ${folder.id}`);
|
|
@@ -558,7 +584,7 @@ async function uploadAndDebugSolution(params) {
|
|
|
558
584
|
organizationUnitId: apiConfig.organizationUnitId,
|
|
559
585
|
organizationName: params.organizationName
|
|
560
586
|
};
|
|
561
|
-
const [prepErr, prepIds] = await
|
|
587
|
+
const [prepErr, prepIds] = await catchError2(prepareForCustomDebug2({
|
|
562
588
|
config: studioWebConfig,
|
|
563
589
|
solutionId,
|
|
564
590
|
projectId: studioWebProjectId,
|
|
@@ -581,19 +607,19 @@ async function uploadAndDebugSolution(params) {
|
|
|
581
607
|
logger.warn("Skipping prepareForCustomDebug — apiConfig.tenantId is not set. " + "Sub-jobs (api-workflow / agent / process orchestration) may fault with a missing debugSessionId.");
|
|
582
608
|
}
|
|
583
609
|
logger.info("Beginning debug session in Orchestrator...");
|
|
584
|
-
const session = await
|
|
610
|
+
const session = await beginDebugSession2(apiConfig, params.beginSessionPayload, {
|
|
585
611
|
inlineAgents,
|
|
586
612
|
flowProjectId: studioWebProjectId,
|
|
587
613
|
...solutionProjects ? { solutionProjects } : {}
|
|
588
614
|
});
|
|
589
615
|
logger.info(`Debug session started — jobKey: ${session.jobKey}`);
|
|
590
616
|
logger.info("Creating debug instance in PIMS...");
|
|
591
|
-
const debugInstance = await
|
|
617
|
+
const debugInstance = await createDebugInstance2(apiConfig, session.jobKey, debugSolutionId, debugProjectId, params.entryPoint, params.projectType);
|
|
592
618
|
logger.info(`Debug instance created — instanceId: ${debugInstance.instanceId}`);
|
|
593
619
|
logger.info("Polling for completion...");
|
|
594
|
-
const finalResponse = await
|
|
620
|
+
const finalResponse = await pollDebugInstanceStatus2(apiConfig, debugInstance.instanceId, params.callbacks, params.pollInterval, params.maxPolls, session.jobKey);
|
|
595
621
|
const terminalStatusAt = Date.now();
|
|
596
|
-
const incidents = await
|
|
622
|
+
const incidents = await resolveFaultIncidents2(apiConfig, debugInstance.instanceId, finalResponse.status);
|
|
597
623
|
return {
|
|
598
624
|
jobKey: session.jobKey,
|
|
599
625
|
instanceId: debugInstance.instanceId,
|
|
@@ -613,7 +639,7 @@ async function uploadAndDebugSolution(params) {
|
|
|
613
639
|
incidents
|
|
614
640
|
};
|
|
615
641
|
}
|
|
616
|
-
async function
|
|
642
|
+
async function patchConnectionOverwrites2(config, organizationName, solutionId, solutionDir, folder, fs) {
|
|
617
643
|
const connectionsDir = fs.path.join(solutionDir, "resources", "solution_folder", "connection");
|
|
618
644
|
if (!await fs.exists(connectionsDir)) {
|
|
619
645
|
return 0;
|
|
@@ -622,15 +648,15 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
|
|
|
622
648
|
const connectionResources = (await Promise.all(connectorDirs.map(async (connectorDir) => {
|
|
623
649
|
const connectorPath = fs.path.join(connectionsDir, connectorDir);
|
|
624
650
|
const stat = await fs.stat(connectorPath);
|
|
625
|
-
if (!stat
|
|
651
|
+
if (!stat?.isDirectory())
|
|
626
652
|
return [];
|
|
627
653
|
const files = await fs.readdir(connectorPath);
|
|
628
654
|
const results = await Promise.all(files.filter((file) => file.endsWith(".json")).map(async (file) => {
|
|
629
655
|
const filePath = fs.path.join(connectorPath, file);
|
|
630
|
-
const [readErr, content] = await
|
|
656
|
+
const [readErr, content] = await catchError2(fs.readFile(filePath, "utf-8"));
|
|
631
657
|
if (readErr || !content)
|
|
632
658
|
return;
|
|
633
|
-
const [parseErr, parsed] =
|
|
659
|
+
const [parseErr, parsed] = catchError2(() => JSON.parse(content));
|
|
634
660
|
if (parseErr || parsed.resource?.kind !== "connection")
|
|
635
661
|
return;
|
|
636
662
|
return parsed;
|
|
@@ -651,7 +677,7 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
|
|
|
651
677
|
const validResources = connectionResources.filter((cr) => cr.resource.key && cr.resource.type);
|
|
652
678
|
let successCount = 0;
|
|
653
679
|
for (const cr of validResources) {
|
|
654
|
-
const [err] = await
|
|
680
|
+
const [err] = await catchError2(studioWebPost2(config, organizationName, apiPath, {
|
|
655
681
|
kind: "connection",
|
|
656
682
|
type: cr.resource.type,
|
|
657
683
|
key: cr.resource.key,
|
|
@@ -666,6 +692,6 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
|
|
|
666
692
|
return successCount;
|
|
667
693
|
}
|
|
668
694
|
|
|
669
|
-
export {
|
|
695
|
+
export { FpsPropertiesInjectionError2, injectInlineAgentProcessEntries2, injectSolutionProjectProcessEntries2, extractStartEventId2, getPersonalFolderKey2, getPersonalFolderInfo2, DebugProvisioningFailedError2, prepareForCustomDebug2, getFolderInfoById2, beginDebugSession2, DEBUG_MODE_MAP2, SIMULATION_MODE_MAP2, createDebugInstance2, DebugPollTimeoutError2, buildPollTimeoutFailureOutput2, pollDebugInstanceStatus2, fetchDebugInstanceIncidents2, DebugVariablesFetchFailedError2, fetchDebugInstanceVariables2, isFaultedDebugStatus2, isSuccessfulDebugStatus2, resolveFaultIncidents2, buildStudioWebDesignerUrl2, uploadAndDebugSolution2, patchConnectionOverwrites2 };
|
|
670
696
|
|
|
671
|
-
//# debugId=
|
|
697
|
+
//# debugId=CA0ED5894F6C49ED64756E2164756E21
|