@uipath/flow-tool 1.202.1 → 1.203.0-preview.160
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/dist/THIRD-PARTY-NOTICES.md +162 -9
- package/dist/{authoring-113fk5ep.js → authoring-tv4dh80p.js} +31 -9
- package/dist/{binding-service-4y4gk5rb.js → binding-service-m1729g4d.js} +39 -31
- package/dist/{connector-service-n0jw38wq.js → connector-service-hcscpb7k.js} +227 -59
- package/dist/{conversion-QANACVCM-zs0hhfjv.js → conversion-FQTRFHRX-5bww6cg9.js} +213 -129
- package/dist/{de-6U7ECGHH-xwsw33fk.js → de-B3EKCNFC-zdwybhh7.js} +7 -4
- package/dist/{de-7XQXX2DK-IDWR6CAR-n4z245kt.js → de-FGHEJRCI-PK6WALXW-0dnvnmke.js} +153 -9
- package/dist/de-FGHEJRCI-gn4cf5gh.js +2697 -0
- package/dist/{de-7XQXX2DK-tqdy5n2b.js → de-FGHEJRCI-rv513mfh.js} +153 -9
- package/dist/{de-5KVP66U6-1bnf4zt5.js → de-MUJPA4EB-209jpeqe.js} +14 -2
- package/dist/de-MUJPA4EB-dpg7t2rw.js +173 -0
- package/dist/{de-HKTOVV4H-pe9w0xn8.js → de-VMMG2MN7-2ecwpg1b.js} +2 -5
- package/dist/{de-XLT4QPIP-kj81dxjc.js → de-XNTCMP5Z-xfkfqg20.js} +7 -4
- package/dist/{debug-conversation-trigger-9gwtwxn6.js → debug-conversation-trigger-m9zwsek2.js} +23 -20
- package/dist/{debug-http-client-mc67gw2b.js → debug-http-client-53qk6pc5.js} +2 -2
- package/dist/{debug-service-h0mpv9mh.js → debug-service-nyk0s6mc.js} +3 -3
- package/dist/{edge-service-pxwzsne6.js → edge-service-ey6a128k.js} +21 -18
- package/dist/{index-rmym7hm4.js → embedded-file-reader-0sjt4nkj.js} +96 -16641
- package/dist/en-BPJVY3U7-xkpj5xc5.js +52 -0
- package/dist/{en-5ZGC5VQ3-h581y30k.js → en-BWGKA5OE-1qkvb9rn.js} +140 -2
- package/dist/{en-P4AS26D7-zptp77bm.js → en-E454CJNK-ytfw06kj.js} +4 -2
- package/dist/en-FBPVNKFN-dqt573xn.js +138 -0
- package/dist/{en-X3S6IZ5J-nhkg6pwn.js → en-GN2ZGWUE-03z2df4k.js} +26 -2
- package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +1942 -0
- package/dist/{en-5ZGC5VQ3-EWX7ILY7-rmtj70fk.js → en-TBNO2WUV-9nan43e5.js} +141 -9
- package/dist/es-7SE7HX2X-8yh1aj2y.js +173 -0
- package/dist/{es-VFPNVMP5-bx2c337j.js → es-7SE7HX2X-qda7whn6.js} +14 -2
- package/dist/{es-NQICVYSQ-3dtqgget.js → es-EKHIPSW6-ya88nvm0.js} +7 -4
- package/dist/{es-PQ3RA33Q-y4kxhjfr.js → es-KEBF3AIM-g5rszh8f.js} +7 -4
- package/dist/es-KR3ZSNMP-0cszm2n3.js +2697 -0
- package/dist/{es-ZGCPPOME-8gazspjj.js → es-KR3ZSNMP-84zphx0x.js} +153 -9
- package/dist/{es-ZGCPPOME-24PJEGPV-rn86z9kn.js → es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js} +153 -9
- package/dist/es-MX-2MYFZU7X-3rek4r73.js +173 -0
- package/dist/{es-MX-XAVLOQW3-q00km2y7.js → es-MX-2MYFZU7X-6v0q5rbn.js} +14 -2
- package/dist/{es-MX-NHTIP5YM-ar6zfx95.js → es-MX-EL3CDS3F-sh84yvjr.js} +7 -4
- package/dist/{es-MX-OKNDG2NH-tcac6j4g.js → es-MX-OR6G2SFR-7yykk5ma.js} +7 -4
- package/dist/{es-MX-U2VN3SZW-anynsmd8.js → es-MX-XXZJGC4R-2mr8jtgm.js} +153 -9
- package/dist/{es-MX-U2VN3SZW-KYAJ2ONK-kdram1g1.js → es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js} +153 -9
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +2697 -0
- package/dist/{es-MX-H2EAXLYI-j42kfkxy.js → es-MX-ZP2LJ3V7-k4brnfa9.js} +2 -5
- package/dist/{es-O4PAV2CR-0g23ve3v.js → es-WY6FZ3HO-zksnn6dp.js} +2 -5
- package/dist/first-party-service-srxaftkn.js +27 -0
- package/dist/{flow-api-p6vabmea.js → flow-api-f49qbvf6.js} +8 -8
- package/dist/{flow-debug-service-m2ch7mwg.js → flow-debug-service-12553vsz.js} +67 -42
- package/dist/flow-eval-node-target-y11g5wga.js +53 -0
- package/dist/flow-eval-run-api-1bw5e0k4.js +13 -0
- package/dist/{flow-eval-run-service-pdkvt1tp.js → flow-eval-run-service-5yb42k28.js} +107 -222
- package/dist/{flow-eval-service-4zhncch4.js → flow-eval-service-62jbxh61.js} +352 -308
- package/dist/flow-init-service-8my1tazk.js +42 -0
- package/dist/flow-io-fftvq9gn.js +41 -0
- package/dist/{flow-migrate-service-n8bjdds3.js → flow-migrate-service-bh0cxn16.js} +29 -25
- package/dist/{flow-pack-service-sw4dbxvr.js → flow-pack-service-z34abxpg.js} +46 -38
- package/dist/flow-validate-service-kesk1p8a.js +65 -0
- package/dist/{fr-R4L3OAWI-30khpsmn.js → fr-DPD4GHX3-exeypjwk.js} +7 -4
- package/dist/{fr-PFHIL7YZ-2n589p47.js → fr-IHD66TVT-vfvmefbx.js} +7 -4
- package/dist/fr-MDFKNZ4C-h4a122k9.js +173 -0
- package/dist/{fr-E5MDO4EG-c3mkty2t.js → fr-MDFKNZ4C-qmypp92m.js} +14 -2
- package/dist/{fr-5YRGHXF5-kz1ywpv6.js → fr-PRMYCRDC-0bk078by.js} +2 -5
- package/dist/{fr-T3G5GZCT-y3f7xb1q.js → fr-Y6NPVODW-8vr1ja4b.js} +153 -9
- package/dist/{fr-T3G5GZCT-TU4IKBEG-k6xz1s1f.js → fr-Y6NPVODW-AS7T42TR-v4qe2tha.js} +153 -9
- package/dist/fr-Y6NPVODW-q5ef3htr.js +2697 -0
- package/dist/{governance-fetcher-kaarfkse.js → governance-fetcher-qqp2kfm6.js} +6 -5
- package/dist/{headless-h1myzz32.js → headless-rkxtgwts.js} +43066 -1733
- package/dist/{hitl-service-sztgwdqk.js → hitl-service-sbdq031m.js} +20 -17
- package/dist/{index-1kgxzh8x.js → index-3ts7y9d3.js} +15 -3
- package/dist/{index-zw4jx227.js → index-51z10z84.js} +4 -4
- package/dist/{index-eybzsdcc.js → index-55cym5j7.js} +66 -6
- package/dist/index-kmp9fmhb.js +25 -0
- package/dist/index-sc7ddh21.js +16742 -0
- package/dist/{index-4zrwgb3c.js → index-ymsd3pyx.js} +12 -15
- package/dist/{index-4y4rvc7g.js → index-zc0rre3h.js} +6 -4
- package/dist/index.js +13 -24
- package/dist/init.js +25 -21
- package/dist/{input-reader-cex1tqwe.js → input-reader-tw0j373f.js} +1 -1
- package/dist/{ja-SDAPAVCR-kg39dfap.js → ja-HFEQKCZF-hb2f25p8.js} +2 -5
- package/dist/{ja-P4OSE367-srr3qypg.js → ja-JE5ZL7EY-hacj2m31.js} +7 -4
- package/dist/{ja-ZHKCBE5W-x73w6x3e.js → ja-MDG4BKZQ-gayaca2c.js} +7 -4
- package/dist/{ja-BI5K3JDZ-GTIHISTZ-s6n3r2ab.js → ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js} +153 -9
- package/dist/{ja-BI5K3JDZ-77zat4z2.js → ja-Q5PXKJ2V-p4msxzjd.js} +153 -9
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +2697 -0
- package/dist/ja-UTQEAP34-8e0q6swp.js +173 -0
- package/dist/{ja-DPO5PPLO-mysfmznx.js → ja-UTQEAP34-hvyf683h.js} +14 -2
- package/dist/known-types-8dhhqk35.js +19 -0
- package/dist/ko-AXCHW2OK-askct7f6.js +173 -0
- package/dist/{ko-ITOPNIYI-hmxd2asd.js → ko-AXCHW2OK-pkwdcbmx.js} +14 -2
- package/dist/{ko-JOBF5V7N-4bv0mjje.js → ko-AYBDSRZG-41mdmsg1.js} +153 -9
- package/dist/{ko-JOBF5V7N-O7T4HKIE-ape840y0.js → ko-AYBDSRZG-G43C3XUW-kng13fsg.js} +153 -9
- package/dist/ko-AYBDSRZG-am0h0m2r.js +2697 -0
- package/dist/{ko-NAGOZLC3-gaxxsnd2.js → ko-B4SEC7QX-thq2wt6a.js} +2 -5
- package/dist/{ko-PYOS2KJP-e7dshyxy.js → ko-DJJRKCG5-5h3k9csc.js} +7 -4
- package/dist/{ko-6W7OGLLB-mnmqc584.js → ko-LA5OSS5P-mq5h8sbk.js} +7 -4
- package/dist/localization-y790z9vm.js +47 -0
- package/dist/{maestro-automate-entry-6bxz7zxn.js → maestro-automate-entry-pqy9xqm3.js} +2 -2
- package/dist/node-service-ttx9qj8a.js +80 -0
- package/dist/node-sync-service-t1atntv4.js +40 -0
- package/dist/{node-tgybta62.js → node-wn6npa2d.js} +2344 -376
- package/dist/{packager-tool-3wzbcn5q.js → packager-tool-0egkaa38.js} +1 -1
- package/dist/{packager-tool-29vnb5v1.js → packager-tool-10t52r3c.js} +7 -7
- package/dist/{packager-tool-nq4rcqqg.js → packager-tool-1frs4sr4.js} +32 -2
- package/dist/{packager-tool-p96yqdnk.js → packager-tool-1r5dnt9q.js} +1 -1
- package/dist/{packager-tool-f0kd5kq4.js → packager-tool-26ydwf12.js} +130 -15
- package/dist/{packager-tool-gkhk6ty0.js → packager-tool-2c2wm7ss.js} +10 -10
- package/dist/{packager-tool-cphdcys0.js → packager-tool-321a1806.js} +1 -1
- package/dist/packager-tool-4mna26cc.js +133 -0
- package/dist/packager-tool-53w8skv5.js +262 -0
- package/dist/{packager-tool-m056vsmy.js → packager-tool-6k8s7pt9.js} +269 -23
- package/dist/{packager-tool-tn5e7wnb.js → packager-tool-6rsegsby.js} +6 -7
- package/dist/packager-tool-795gzq9k.js +208 -0
- package/dist/packager-tool-7q6z6npd.js +1937 -0
- package/dist/{packager-tool-77f5xeqw.js → packager-tool-8dj442ex.js} +5 -4
- package/dist/packager-tool-8qp60s20.js +12 -0
- package/dist/packager-tool-94nyzk85.js +1889 -0
- package/dist/{packager-tool-aea5psjw.js → packager-tool-9kx94sj5.js} +16 -6
- package/dist/{packager-tool-3g534a1a.js → packager-tool-9mm51nrg.js} +1 -1
- package/dist/{packager-tool-0d7tcvg1.js → packager-tool-b1xs6aty.js} +4 -1
- package/dist/{packager-tool-pb1g4qnb.js → packager-tool-b3m0jr5g.js} +8 -7
- package/dist/{packager-tool-cbvcyr3t.js → packager-tool-bhgzjh7h.js} +310 -13
- package/dist/{packager-tool-s7tgf9kh.js → packager-tool-cgr7y554.js} +23 -5
- package/dist/packager-tool-d6qf5qmb.js +49 -0
- package/dist/{packager-tool-a42jnpy5.js → packager-tool-d88rqwk8.js} +29 -3
- package/dist/{packager-tool-7exrv6w7.js → packager-tool-dh5nppv4.js} +1 -1
- package/dist/{packager-tool-09xysehb.js → packager-tool-e3yks66r.js} +5 -3
- package/dist/{packager-tool-58q3tvh7.js → packager-tool-e87tzg4y.js} +159 -21
- package/dist/packager-tool-e93xbetx.js +3513 -0
- package/dist/{packager-tool-7gx51wnq.js → packager-tool-edemj2dc.js} +10 -13
- package/dist/packager-tool-fvm2dddf.js +6297 -0
- package/dist/{packager-tool-3bra2c4j.js → packager-tool-gctpkdzs.js} +1 -1
- package/dist/packager-tool-gdtpsdn7.js +342 -0
- package/dist/{packager-tool-em5r6g6j.js → packager-tool-gpwec9sp.js} +217 -26
- package/dist/{packager-tool-a1hbfmws.js → packager-tool-gzpvdcnw.js} +124 -2
- package/dist/{packager-tool-ck10v2ve.js → packager-tool-h9d8c9rf.js} +1 -1
- package/dist/packager-tool-j78fwwhq.js +16 -0
- package/dist/{packager-tool-0g00g1a5.js → packager-tool-j7fbzh3b.js} +2 -2
- package/dist/packager-tool-jysvpt8p.js +11 -0
- package/dist/{packager-tool-yw0zcs7r.js → packager-tool-np5sdn2n.js} +9 -9
- package/dist/{packager-tool-7c18ekyp.js → packager-tool-nsmy7aap.js} +5 -5
- package/dist/{packager-tool-e0p2zsyc.js → packager-tool-p79yh9ww.js} +16 -16
- package/dist/packager-tool-paq9c70w.js +1332 -0
- package/dist/{packager-tool-p7c203yf.js → packager-tool-qzg0br7p.js} +100 -127
- package/dist/packager-tool-qzxscmvb.js +261 -0
- package/dist/{packager-tool-af8bw5wd.js → packager-tool-r7j4amsv.js} +228 -217
- package/dist/{packager-tool-rfkx60be.js → packager-tool-rpr68as1.js} +8 -8
- package/dist/{packager-tool-py7cevyk.js → packager-tool-s0mzv3sx.js} +1 -1
- package/dist/{packager-tool-5wmnpaf0.js → packager-tool-t9c77psy.js} +3098 -3179
- package/dist/{packager-tool-n09qbckn.js → packager-tool-vbser1d9.js} +7 -7
- package/dist/packager-tool-vcjq9xkc.js +1895 -0
- package/dist/{packager-tool-p9stswjj.js → packager-tool-vck7ct1e.js} +13248 -8037
- package/dist/{packager-tool-m5qfverj.js → packager-tool-vdc8r21p.js} +10279 -16112
- package/dist/{packager-tool-9bec251q.js → packager-tool-vqcnvaae.js} +10896 -6243
- package/dist/packager-tool-w5a1hhyj.js +13 -0
- package/dist/{packager-tool-yaabg8qc.js → packager-tool-yfbcqbvs.js} +39 -43
- package/dist/packager-tool-z185rq2a.js +180 -0
- package/dist/{packager-tool-z9bfhmm5.js → packager-tool-z83pga0z.js} +159 -21
- package/dist/{packager-tool-vzj3dha7.js → packager-tool-zh87cczz.js} +15 -56
- package/dist/packager-tool.js +19 -16
- package/dist/pt-3DIO5QWG-59b3f4bc.js +173 -0
- package/dist/{pt-YI4VE4YQ-wdkn2dcf.js → pt-3DIO5QWG-hb763vct.js} +14 -2
- package/dist/{pt-D6A6MVB2-yvxca8vz.js → pt-3KUMINBZ-d0fexmny.js} +7 -4
- package/dist/{pt-BR-Z3TUDJHM-8v73x9s7.js → pt-BR-3LGIH33I-tqbrd89y.js} +7 -4
- package/dist/{pt-BR-DXXSYJDO-a2tp13v7.js → pt-BR-6VFBW5QT-hsck9gjj.js} +2 -5
- package/dist/{pt-BR-7DYX2YPT-LZYH4YFD-bx43vx3z.js → pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js} +153 -9
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +2697 -0
- package/dist/{pt-BR-7DYX2YPT-fqxqzqtf.js → pt-BR-TKHNHMET-sn91xyq0.js} +153 -9
- package/dist/{pt-BR-UQCYHKMJ-q78n7q70.js → pt-BR-WNNZTIMN-6fent688.js} +7 -4
- package/dist/{pt-BR-BXURWX4W-bwfcwhk1.js → pt-BR-Y6K6XHXK-37a932vp.js} +14 -2
- package/dist/pt-BR-Y6K6XHXK-mp3hwhw1.js +173 -0
- package/dist/{pt-KSBWHAVQ-mhvhgr2p.js → pt-PFZXVOQH-qshq0b2m.js} +7 -4
- package/dist/{pt-HTXGGX6Y-97t21dty.js → pt-ROXU257Y-2f6bxev4.js} +153 -9
- package/dist/{pt-HTXGGX6Y-ZHQSDFKI-vehfxadc.js → pt-ROXU257Y-OWZOS54V-ywap2t39.js} +153 -9
- package/dist/pt-ROXU257Y-yd80gx6s.js +2697 -0
- package/dist/{pt-7TR74ZMB-bmphh4x2.js → pt-WOTPKWPZ-1rxcy8hs.js} +2 -5
- package/dist/{ro-VZUZTAMR-f4q0g3em.js → ro-AN5G62WQ-kcj00jwq.js} +7 -4
- package/dist/ro-AVAWPKOO-42m6am1w.js +2697 -0
- package/dist/{ro-KTNQ3MNU-XIE6YPQN-gen8p82z.js → ro-AVAWPKOO-6WCG756B-v7pjv1hc.js} +153 -9
- package/dist/{ro-KTNQ3MNU-y08n1x5g.js → ro-AVAWPKOO-b89pw79r.js} +153 -9
- package/dist/{ro-RKXZUG7Z-nndrrsq7.js → ro-BWR3ONRR-jmap5ajd.js} +14 -2
- package/dist/ro-BWR3ONRR-vzx3hy8a.js +173 -0
- package/dist/{ro-4TMBHS5M-jz0anpt6.js → ro-KMDT7LYJ-yhpnsdvw.js} +7 -4
- package/dist/{ro-BJFER5OI-83tq8vxh.js → ro-PB44YXML-zmhhwp5h.js} +2 -5
- package/dist/ru-GSCT4ARZ-jrxwev63.js +10 -0
- package/dist/ru-WBLQ5B2U-s4em88p0.js +10 -0
- package/dist/{serialization-J5QK3HPY-bgewpt6f.js → serialization-BXU6AKAN-z0vcrhpz.js} +1949 -906
- package/dist/services/connector-binding-validator.d.ts +10 -1
- package/dist/services/definitions-lookup.d.ts +27 -0
- package/dist/services/flow-debug-service.d.ts +290 -0
- package/dist/services/flow-eval-types.d.ts +2 -2
- package/dist/services/flow-eval-utils.d.ts +29 -0
- package/dist/services/flow-validate-service.d.ts +39 -0
- package/dist/services/node-validators/connector-validator.d.ts +8 -0
- package/dist/services/vars-reference-rule.d.ts +113 -13
- package/dist/{shared-utils-3cwmvxdc.js → shared-utils-wv356cvj.js} +1 -1
- package/dist/tidy-service-6s3tg778.js +39 -0
- package/dist/tool.js +13 -24
- package/dist/tr-5IIHSFW5-hw4cewew.js +173 -0
- package/dist/{tr-AA6O2WSR-86ba4bdf.js → tr-5IIHSFW5-stsb3dar.js} +14 -2
- package/dist/{tr-XHSSPNK7-GW5KVXR3-2w3f1ss6.js → tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js} +153 -9
- package/dist/{tr-XHSSPNK7-cmqyc4wd.js → tr-JMIP7ZSL-c39b6pe4.js} +153 -9
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +2696 -0
- package/dist/{tr-W4AVRSQ4-hjr81xzk.js → tr-KHOCWWLF-8apf5y44.js} +7 -4
- package/dist/{tr-GSQQ6SOT-hv1gyeaa.js → tr-SC55DYHY-e4zgcd4t.js} +7 -4
- package/dist/{tr-RQTZ2DMS-w3cwv8s4.js → tr-SEC6RGZ4-0ttavjya.js} +2 -5
- package/dist/utils/handle-expansion.d.ts +34 -0
- package/dist/utils/write-resolved-flow.d.ts +7 -0
- package/dist/validation.js +48 -41
- package/dist/{variable-service-xm8dh1gw.js → variable-service-73bvxzy9.js} +24 -21
- package/dist/{wait-for-flow-job-4cyc36yg.js → wait-for-flow-job-yp3mhy43.js} +8 -8
- package/dist/{zh-CN-6YRAN57T-rd7x2tqs.js → zh-CN-4NI2EGMV-8g027vv3.js} +7 -4
- package/dist/{zh-CN-2EHQT23P-mr63c4xz.js → zh-CN-IFFXSEJS-9wm9gmrv.js} +153 -9
- package/dist/{zh-CN-2EHQT23P-T5XRQCVS-ac17dpc1.js → zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js} +153 -9
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +2697 -0
- package/dist/{zh-CN-ZC6LT4IN-kbzvvzz5.js → zh-CN-MX7VIOF2-xznrtchf.js} +2 -5
- package/dist/{zh-CN-EDFRBU32-vvj7tmaq.js → zh-CN-OUMLDKDS-q3a1rr5c.js} +7 -4
- package/dist/{zh-CN-R2KLHXQV-agqr45ds.js → zh-CN-R2KU4U5L-q4yhc33t.js} +14 -2
- package/dist/zh-CN-R2KU4U5L-tc1hat59.js +173 -0
- package/dist/{zh-TW-SO2245GN-n2bn1gg4.js → zh-TW-53SU6EH4-33x57egq.js} +7 -4
- package/dist/{zh-TW-R7Y5KVMU-m61y07e3.js → zh-TW-5SJ3GZT2-bsg054mw.js} +2 -5
- package/dist/zh-TW-GNKMELBF-j674515r.js +173 -0
- package/dist/{zh-TW-RJGCQANM-w0x3qc1p.js → zh-TW-GNKMELBF-r4ay2475.js} +14 -2
- package/dist/{zh-TW-MGZCE5BT-c4ekmrz9.js → zh-TW-IYBNYAMG-8727c7v2.js} +153 -9
- package/dist/{zh-TW-MGZCE5BT-P6FLIUAR-zmq07vhs.js → zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js} +153 -9
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +2697 -0
- package/dist/{zh-TW-HAICM6DE-rh7k3cq7.js → zh-TW-TN3MPNXL-jcgg2hcs.js} +7 -4
- package/package.json +3 -2
- package/dist/en-EPWMLP2N-2wvge238.js +0 -28
- package/dist/flow-eval-node-target-3530n69r.js +0 -46
- package/dist/flow-init-service-40r1q53q.js +0 -38
- package/dist/flow-io-23wgj1sg.js +0 -38
- package/dist/flow-validate-service-k7s2rbgc.js +0 -59
- package/dist/known-types-a20evmmg.js +0 -20
- package/dist/localization-1br6h143.js +0 -47
- package/dist/node-service-n183yy2f.js +0 -72
- package/dist/node-sync-service-dk9jazv4.js +0 -42
- package/dist/packager-tool-2wefykg9.js +0 -106
- package/dist/packager-tool-8j92afwp.js +0 -58
- package/dist/packager-tool-abbtfk2v.js +0 -54
- package/dist/packager-tool-gaa5ss24.js +0 -4945
- package/dist/packager-tool-k99nf3pq.js +0 -25
- package/dist/packager-tool-vpqyvh4c.js +0 -304
- package/dist/tidy-service-4q2mrf2y.js +0 -36
|
@@ -1,286 +1,124 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FlowEvalRunApi
|
|
3
|
+
} from "./packager-tool-795gzq9k.js";
|
|
1
4
|
import {
|
|
2
5
|
FlowEvalPathResolver,
|
|
3
6
|
findEvalSet,
|
|
4
7
|
getLinkedEvaluators,
|
|
5
8
|
readStartNodeId,
|
|
6
9
|
readWorkflowId
|
|
7
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-vbser1d9.js";
|
|
8
11
|
import {
|
|
12
|
+
findFlowNode,
|
|
13
|
+
formatTriggerIdsHint,
|
|
9
14
|
readNodeTargetId
|
|
10
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-cgr7y554.js";
|
|
11
16
|
import {
|
|
12
17
|
writeResolvedFlow
|
|
13
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-nsmy7aap.js";
|
|
14
19
|
import {
|
|
15
20
|
package_default
|
|
16
|
-
} from "./packager-tool-
|
|
17
|
-
import {
|
|
18
|
-
isRecord,
|
|
19
|
-
isUUID
|
|
20
|
-
} from "./packager-tool-8j92afwp.js";
|
|
21
|
+
} from "./packager-tool-b3m0jr5g.js";
|
|
21
22
|
import {
|
|
22
23
|
ensureProcessBindings
|
|
23
|
-
} from "./packager-tool-
|
|
24
|
+
} from "./packager-tool-zh87cczz.js";
|
|
25
|
+
import"./packager-tool-t9c77psy.js";
|
|
24
26
|
import {
|
|
25
27
|
fileNodesToPackagingNodes,
|
|
26
28
|
packageInlineAgents,
|
|
27
29
|
stageInlineAgentPackageFiles,
|
|
28
30
|
writePackagingArtifactsDetailed
|
|
29
|
-
} from "./packager-tool-
|
|
31
|
+
} from "./packager-tool-np5sdn2n.js";
|
|
30
32
|
import {
|
|
31
33
|
FlowEvalFileStore,
|
|
32
34
|
ensureDirectory
|
|
33
|
-
} from "./packager-tool-
|
|
35
|
+
} from "./packager-tool-1r5dnt9q.js";
|
|
36
|
+
import"./packager-tool-8dj442ex.js";
|
|
37
|
+
import"./packager-tool-yfbcqbvs.js";
|
|
38
|
+
import"./packager-tool-0egkaa38.js";
|
|
39
|
+
import"./packager-tool-dh5nppv4.js";
|
|
34
40
|
import"./packager-tool-w0kr4mbc.js";
|
|
35
|
-
import"./packager-tool-
|
|
36
|
-
import"./packager-tool-
|
|
37
|
-
import"./packager-tool-ck10v2ve.js";
|
|
38
|
-
import"./packager-tool-77f5xeqw.js";
|
|
41
|
+
import"./packager-tool-94nyzk85.js";
|
|
42
|
+
import"./packager-tool-h9d8c9rf.js";
|
|
39
43
|
import {
|
|
40
44
|
extractStartEventId,
|
|
41
45
|
getPersonalFolderInfo,
|
|
42
46
|
getPersonalFolderKey,
|
|
43
47
|
patchConnectionOverwrites,
|
|
44
48
|
prepareForCustomDebug
|
|
45
|
-
} from "./packager-tool-
|
|
46
|
-
import
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
import"./packager-tool-
|
|
49
|
+
} from "./packager-tool-9kx94sj5.js";
|
|
50
|
+
import {
|
|
51
|
+
isRecord,
|
|
52
|
+
isUUID
|
|
53
|
+
} from "./packager-tool-gzpvdcnw.js";
|
|
54
|
+
import"./packager-tool-w5a1hhyj.js";
|
|
55
|
+
import"./packager-tool-s0mzv3sx.js";
|
|
56
|
+
import"./packager-tool-8qp60s20.js";
|
|
57
|
+
import"./packager-tool-26ydwf12.js";
|
|
51
58
|
import"./packager-tool-qa9gftnj.js";
|
|
59
|
+
import"./packager-tool-0gctz400.js";
|
|
52
60
|
import"./packager-tool-yc4kw997.js";
|
|
53
|
-
import"./packager-tool-7exrv6w7.js";
|
|
54
61
|
import {
|
|
55
62
|
buildSolutionPackageFromDir,
|
|
56
63
|
getStudioWebSolutionProjects,
|
|
57
64
|
uploadOrOverwriteSolution
|
|
58
|
-
} from "./packager-tool-
|
|
65
|
+
} from "./packager-tool-edemj2dc.js";
|
|
59
66
|
import {
|
|
60
67
|
findSolutionFile,
|
|
61
68
|
readUipxFile,
|
|
62
69
|
updateSolutionFile
|
|
63
|
-
} from "./packager-tool-
|
|
70
|
+
} from "./packager-tool-321a1806.js";
|
|
71
|
+
import"./packager-tool-vck7ct1e.js";
|
|
72
|
+
import"./packager-tool-paq9c70w.js";
|
|
64
73
|
import {
|
|
65
74
|
readFlowWorkflow,
|
|
66
75
|
resolveProjectFlowFile,
|
|
67
76
|
writeFlowWorkflow
|
|
68
|
-
} from "./packager-tool-
|
|
77
|
+
} from "./packager-tool-rpr68as1.js";
|
|
69
78
|
import {
|
|
70
79
|
convertFlowToBpmn,
|
|
71
80
|
replaceExporterVersion,
|
|
72
81
|
setPublishIntentOnInlineAgents
|
|
73
|
-
} from "./packager-tool-
|
|
74
|
-
import"./packager-tool-
|
|
82
|
+
} from "./packager-tool-r7j4amsv.js";
|
|
83
|
+
import"./packager-tool-6rsegsby.js";
|
|
75
84
|
import {
|
|
76
85
|
applyRuntimeProfile,
|
|
77
86
|
resolveRuntimeProfile
|
|
78
|
-
} from "./packager-tool-
|
|
87
|
+
} from "./packager-tool-gctpkdzs.js";
|
|
79
88
|
import"./packager-tool-2513jrxr.js";
|
|
80
|
-
import"./packager-tool-
|
|
89
|
+
import"./packager-tool-b1xs6aty.js";
|
|
81
90
|
import"./packager-tool-nkrmjr3a.js";
|
|
91
|
+
import"./packager-tool-vcjq9xkc.js";
|
|
82
92
|
import"./packager-tool-rs6jm14d.js";
|
|
83
93
|
import"./packager-tool-hk1gxnth.js";
|
|
84
|
-
import"./packager-tool-
|
|
85
|
-
import"./packager-tool-
|
|
86
|
-
import"./packager-tool-
|
|
94
|
+
import"./packager-tool-7q6z6npd.js";
|
|
95
|
+
import"./packager-tool-sc961w0q.js";
|
|
96
|
+
import"./packager-tool-gpwec9sp.js";
|
|
97
|
+
import"./packager-tool-vqcnvaae.js";
|
|
98
|
+
import"./packager-tool-gbgfwx8f.js";
|
|
99
|
+
import"./packager-tool-d88rqwk8.js";
|
|
100
|
+
import"./packager-tool-jysvpt8p.js";
|
|
101
|
+
import {
|
|
102
|
+
inMemoryWorkflowToFileFormat,
|
|
103
|
+
isVoiceAgentNodeType
|
|
104
|
+
} from "./packager-tool-fvm2dddf.js";
|
|
105
|
+
import"./packager-tool-p79yh9ww.js";
|
|
106
|
+
import"./packager-tool-vdc8r21p.js";
|
|
107
|
+
import"./packager-tool-z83pga0z.js";
|
|
87
108
|
import"./packager-tool-6ejqwbw9.js";
|
|
88
109
|
import"./packager-tool-mcaf4ewf.js";
|
|
89
110
|
import"./packager-tool-eypvc2kv.js";
|
|
90
111
|
import {
|
|
91
112
|
catchError,
|
|
92
113
|
logger
|
|
93
|
-
} from "./packager-tool-
|
|
114
|
+
} from "./packager-tool-6k8s7pt9.js";
|
|
94
115
|
import {
|
|
95
116
|
getFileSystem
|
|
96
117
|
} from "./packager-tool-0v3s8r01.js";
|
|
97
|
-
import"./packager-tool-
|
|
98
|
-
import"./packager-tool-vpqyvh4c.js";
|
|
99
|
-
import"./packager-tool-gbgfwx8f.js";
|
|
100
|
-
import"./packager-tool-58q3tvh7.js";
|
|
101
|
-
import"./packager-tool-sc961w0q.js";
|
|
102
|
-
import {
|
|
103
|
-
inMemoryWorkflowToFileFormat,
|
|
104
|
-
isVoiceAgentNodeType
|
|
105
|
-
} from "./packager-tool-m5qfverj.js";
|
|
106
|
-
import"./packager-tool-e0p2zsyc.js";
|
|
107
|
-
import"./packager-tool-a42jnpy5.js";
|
|
118
|
+
import"./packager-tool-4mna26cc.js";
|
|
108
119
|
import"./packager-tool-c23zrhj8.js";
|
|
109
120
|
import"./packager-tool-1yh8g550.js";
|
|
110
121
|
|
|
111
|
-
// src/services/flow-eval-run-readers.ts
|
|
112
|
-
function asRecordArray(value, label) {
|
|
113
|
-
if (!Array.isArray(value)) {
|
|
114
|
-
throw new Error(`${label} response must be an array`);
|
|
115
|
-
}
|
|
116
|
-
return value.map((item, index) => {
|
|
117
|
-
if (!isRecord(item)) {
|
|
118
|
-
throw new Error(`${label} response item ${index} must be an object`);
|
|
119
|
-
}
|
|
120
|
-
return item;
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
function readRecord(value) {
|
|
124
|
-
return isRecord(value) ? value : undefined;
|
|
125
|
-
}
|
|
126
|
-
function readRecordArray(value) {
|
|
127
|
-
if (!Array.isArray(value)) {
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
return value.filter(isRecord);
|
|
131
|
-
}
|
|
132
|
-
function optionalNumber(value) {
|
|
133
|
-
return typeof value === "number" ? value : null;
|
|
134
|
-
}
|
|
135
|
-
function optionalString(value) {
|
|
136
|
-
return typeof value === "string" ? value : "";
|
|
137
|
-
}
|
|
138
|
-
function statusString(value) {
|
|
139
|
-
if (typeof value === "string") {
|
|
140
|
-
return value;
|
|
141
|
-
}
|
|
142
|
-
if (typeof value === "number") {
|
|
143
|
-
const statusByCode = {
|
|
144
|
-
0: "Pending",
|
|
145
|
-
1: "Running",
|
|
146
|
-
2: "Completed",
|
|
147
|
-
3: "PartiallyCompleted",
|
|
148
|
-
4: "Failed"
|
|
149
|
-
};
|
|
150
|
-
return statusByCode[value] ?? String(value);
|
|
151
|
-
}
|
|
152
|
-
return "";
|
|
153
|
-
}
|
|
154
|
-
function readEvaluatorScores(value) {
|
|
155
|
-
const records = readRecordArray(value);
|
|
156
|
-
if (!records) {
|
|
157
|
-
return null;
|
|
158
|
-
}
|
|
159
|
-
return records.flatMap((score) => {
|
|
160
|
-
const evaluatorId = score.evaluatorId;
|
|
161
|
-
const scoreValue = score.value;
|
|
162
|
-
if (typeof evaluatorId !== "string" || typeof scoreValue !== "number") {
|
|
163
|
-
return [];
|
|
164
|
-
}
|
|
165
|
-
return [{ evaluatorId, value: scoreValue }];
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
function readRemoteEvalSetRun(record) {
|
|
169
|
-
return {
|
|
170
|
-
id: optionalString(record.id),
|
|
171
|
-
workloadId: optionalString(record.workloadId),
|
|
172
|
-
evalSetId: typeof record.evalSetId === "string" ? record.evalSetId : null,
|
|
173
|
-
status: statusString(record.status),
|
|
174
|
-
score: optionalNumber(record.score),
|
|
175
|
-
evaluatorScores: readEvaluatorScores(record.evaluatorScores),
|
|
176
|
-
config: readRecord(record.config) ?? {},
|
|
177
|
-
numberOfEvalsExecuted: optionalNumber(record.numberOfEvalsExecuted),
|
|
178
|
-
durationMilliseconds: optionalNumber(record.durationMilliseconds),
|
|
179
|
-
createdAt: optionalString(record.createdAt),
|
|
180
|
-
updatedAt: optionalString(record.updatedAt)
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
function readRemoteEvalRun(record) {
|
|
184
|
-
const snapshot = readRecord(record.evalSnapshot);
|
|
185
|
-
const result = readRecord(record.result);
|
|
186
|
-
return {
|
|
187
|
-
id: optionalString(record.id),
|
|
188
|
-
evalSetRunId: optionalString(record.evalSetRunId),
|
|
189
|
-
evalSnapshot: snapshot ? {
|
|
190
|
-
id: typeof snapshot.id === "string" ? snapshot.id : undefined,
|
|
191
|
-
name: typeof snapshot.name === "string" ? snapshot.name : undefined,
|
|
192
|
-
inputs: readRecord(snapshot.inputs),
|
|
193
|
-
evaluationCriterias: readRecord(snapshot.evaluationCriterias),
|
|
194
|
-
expectedOutput: readRecord(snapshot.expectedOutput) ?? (snapshot.expectedOutput === null ? null : undefined)
|
|
195
|
-
} : undefined,
|
|
196
|
-
status: statusString(record.status),
|
|
197
|
-
result: result ? {
|
|
198
|
-
output: readRecord(result.output),
|
|
199
|
-
scores: readEvaluatorScores(result.scores) ?? undefined,
|
|
200
|
-
score: readRecord(result.score)
|
|
201
|
-
} : null,
|
|
202
|
-
completionMetrics: readRecord(record.completionMetrics),
|
|
203
|
-
evaluatorRuns: readRecordArray(record.evaluatorRuns)?.flatMap((evaluatorRun) => {
|
|
204
|
-
const evaluatorId = evaluatorRun.evaluatorId;
|
|
205
|
-
if (typeof evaluatorId !== "string") {
|
|
206
|
-
return [];
|
|
207
|
-
}
|
|
208
|
-
const evaluatorResult = readRecord(evaluatorRun.result);
|
|
209
|
-
return [
|
|
210
|
-
{
|
|
211
|
-
evaluatorId,
|
|
212
|
-
evaluatorSnapshot: evaluatorRun.evaluatorSnapshot,
|
|
213
|
-
status: typeof evaluatorRun.status === "string" ? evaluatorRun.status : undefined,
|
|
214
|
-
result: evaluatorResult ? {
|
|
215
|
-
output: readRecord(evaluatorResult.output),
|
|
216
|
-
score: readRecord(evaluatorResult.score)
|
|
217
|
-
} : null,
|
|
218
|
-
completionMetrics: readRecord(evaluatorRun.completionMetrics)
|
|
219
|
-
}
|
|
220
|
-
];
|
|
221
|
-
}),
|
|
222
|
-
error: typeof record.error === "string" || isRecord(record.error) ? record.error : null,
|
|
223
|
-
errorMessage: typeof record.errorMessage === "string" ? record.errorMessage : null,
|
|
224
|
-
createdAt: typeof record.createdAt === "string" ? record.createdAt : undefined,
|
|
225
|
-
updatedAt: typeof record.updatedAt === "string" ? record.updatedAt : undefined
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// src/services/flow-eval-run-api.ts
|
|
230
|
-
class FlowEvalRunApi {
|
|
231
|
-
async executeAndEvaluate(config, payload) {
|
|
232
|
-
return this.requestJson(config, "/unifiedEvals/workloads/executeAndEvaluate", {
|
|
233
|
-
method: "POST",
|
|
234
|
-
body: JSON.stringify(payload)
|
|
235
|
-
});
|
|
236
|
-
}
|
|
237
|
-
async listEvalSetRuns(config, workloadId) {
|
|
238
|
-
const response = await this.requestJson(config, `/unifiedEvals/workloads/${encodeURIComponent(workloadId)}/evalSetRuns?workloadType=Flow`, { method: "GET" });
|
|
239
|
-
return asRecordArray(response, "Eval set runs").map(readRemoteEvalSetRun);
|
|
240
|
-
}
|
|
241
|
-
async getEvalSetRun(config, workloadId, evalSetRunId) {
|
|
242
|
-
const response = await this.requestJson(config, `/unifiedEvals/workloads/${encodeURIComponent(workloadId)}/evalSetRuns/${encodeURIComponent(evalSetRunId)}?workloadType=Flow`, { method: "GET" });
|
|
243
|
-
if (!isRecord(response)) {
|
|
244
|
-
throw new Error("Eval set run response must be an object");
|
|
245
|
-
}
|
|
246
|
-
return readRemoteEvalSetRun(response);
|
|
247
|
-
}
|
|
248
|
-
async getEvalRuns(config, workloadId, evalSetRunId) {
|
|
249
|
-
const response = await this.requestJson(config, `/unifiedEvals/workloads/${encodeURIComponent(workloadId)}/evalSetRuns/${encodeURIComponent(evalSetRunId)}/evalRuns?workloadType=Flow`, { method: "GET" });
|
|
250
|
-
return asRecordArray(response, "Eval runs").map(readRemoteEvalRun);
|
|
251
|
-
}
|
|
252
|
-
apiBase(config) {
|
|
253
|
-
return `${config.baseUrl}/${config.organizationId}/${config.tenantName}/agentsruntime_/api`;
|
|
254
|
-
}
|
|
255
|
-
headers(config) {
|
|
256
|
-
return {
|
|
257
|
-
Authorization: `Bearer ${config.authToken}`,
|
|
258
|
-
Accept: "application/json",
|
|
259
|
-
"Content-Type": "application/json",
|
|
260
|
-
"X-UiPath-Internal-TenantId": config.tenantId,
|
|
261
|
-
"X-UiPath-Internal-AccountId": config.organizationId
|
|
262
|
-
};
|
|
263
|
-
}
|
|
264
|
-
async requestJson(config, path, request) {
|
|
265
|
-
const response = await fetch(`${this.apiBase(config)}${path}`, {
|
|
266
|
-
method: request.method,
|
|
267
|
-
headers: {
|
|
268
|
-
...this.headers(config),
|
|
269
|
-
...request.headers
|
|
270
|
-
},
|
|
271
|
-
body: request.body
|
|
272
|
-
});
|
|
273
|
-
const text = await response.text();
|
|
274
|
-
if (!response.ok) {
|
|
275
|
-
throw new Error(`Unified eval API returned ${response.status}: ${text}`);
|
|
276
|
-
}
|
|
277
|
-
if (!text) {
|
|
278
|
-
throw new Error(`Unified eval API returned ${response.status} with empty body`);
|
|
279
|
-
}
|
|
280
|
-
return JSON.parse(text);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
122
|
// src/services/flow-local-workspace-eval-preparer.ts
|
|
285
123
|
function toForwardSlash(path) {
|
|
286
124
|
return path.replace(/\\/g, "/");
|
|
@@ -632,7 +470,10 @@ class FlowEvalRunContextResolver {
|
|
|
632
470
|
throw new Error("Could not resolve Flow project ID. Provide --project-id or run from a project listed in the parent .uipx or SolutionStorage.json file.");
|
|
633
471
|
}
|
|
634
472
|
let cloudProjects;
|
|
635
|
-
if (projectIdFromUipxManifest &&
|
|
473
|
+
if (projectIdFromUipxManifest && solutionId) {
|
|
474
|
+
if (!config) {
|
|
475
|
+
throw new Error("The project ID from .uipx is a design-time ID that must be mapped to a cloud project ID. " + "Log in with 'uip login' so the mapping can be resolved.");
|
|
476
|
+
}
|
|
636
477
|
cloudProjects = await this.fetchCloudProjects(config, solutionId);
|
|
637
478
|
studioWebProjectId = this.mapDesignIdToCloudProjectId(cloudProjects, studioWebProjectId, this.fs.path.basename(absoluteProjectPath), solutionId);
|
|
638
479
|
}
|
|
@@ -657,7 +498,7 @@ class FlowEvalRunContextResolver {
|
|
|
657
498
|
if (!target.solutionId) {
|
|
658
499
|
throw new Error("Could not resolve solution ID.");
|
|
659
500
|
}
|
|
660
|
-
const shouldPrepareLocalProject =
|
|
501
|
+
const shouldPrepareLocalProject = !options.projectId && !options.solutionId;
|
|
661
502
|
const resolvedIds = shouldPrepareLocalProject ? await this.resolvePreparedDebugIds(target, config, options.folderKey) : {
|
|
662
503
|
studioWebProjectId: target.studioWebProjectId,
|
|
663
504
|
solutionId: target.solutionId,
|
|
@@ -828,12 +669,22 @@ class FlowEvalRunContextResolver {
|
|
|
828
669
|
}
|
|
829
670
|
|
|
830
671
|
// src/services/inject-workload-id.ts
|
|
672
|
+
var SIMULATION_STRATEGY_WIRE_VALUES = {
|
|
673
|
+
Llm: 0,
|
|
674
|
+
Static: 2
|
|
675
|
+
};
|
|
831
676
|
function injectWorkloadId(simulation, defaultWorkloadId) {
|
|
677
|
+
const { childSimulations: rawChildSimulations, ...rest } = simulation;
|
|
832
678
|
const workloadId = typeof simulation.workloadId === "string" ? simulation.workloadId : defaultWorkloadId;
|
|
833
|
-
const childSimulations = Array.isArray(
|
|
679
|
+
const childSimulations = Array.isArray(rawChildSimulations) ? rawChildSimulations.map((child) => injectWorkloadId(child, workloadId)) : undefined;
|
|
680
|
+
const wireStrategy = SIMULATION_STRATEGY_WIRE_VALUES[simulation.simulationStrategy];
|
|
681
|
+
if (wireStrategy === undefined) {
|
|
682
|
+
throw new Error(`Unknown simulationStrategy "${String(simulation.simulationStrategy)}" on component "${simulation.componentId}". Supported values: ${Object.keys(SIMULATION_STRATEGY_WIRE_VALUES).join(", ")}.`);
|
|
683
|
+
}
|
|
834
684
|
return {
|
|
835
|
-
...
|
|
685
|
+
...rest,
|
|
836
686
|
workloadId,
|
|
687
|
+
simulationStrategy: wireStrategy,
|
|
837
688
|
...childSimulations ? { childSimulations } : {}
|
|
838
689
|
};
|
|
839
690
|
}
|
|
@@ -876,6 +727,7 @@ class FlowEvalRunService {
|
|
|
876
727
|
if (evaluators.length === 0) {
|
|
877
728
|
throw new Error("No evaluators found for this evaluation set. Add evaluators first.");
|
|
878
729
|
}
|
|
730
|
+
await this.validateEvalTarget(absoluteProjectPath, evalSet, options.entryPoint);
|
|
879
731
|
const { context } = await this.resolveRemoteEvalContext(absoluteProjectPath, setIdOrName, config, options);
|
|
880
732
|
const response = await this.api.executeAndEvaluate(config, {
|
|
881
733
|
workloadId: context.workloadId,
|
|
@@ -951,6 +803,39 @@ class FlowEvalRunService {
|
|
|
951
803
|
}
|
|
952
804
|
return this.store.readJsonFiles(this.fs.path.join(root, "evaluators"));
|
|
953
805
|
}
|
|
806
|
+
async validateEvalTarget(projectPath, evalSet, entryPointOverride) {
|
|
807
|
+
const [findError, flowFilePath] = await catchError(this.pathResolver.findFlowFile(projectPath));
|
|
808
|
+
if (findError || !flowFilePath) {
|
|
809
|
+
return;
|
|
810
|
+
}
|
|
811
|
+
const [readError, rawContent] = await catchError(this.fs.readFile(flowFilePath, "utf-8"));
|
|
812
|
+
if (readError) {
|
|
813
|
+
return;
|
|
814
|
+
}
|
|
815
|
+
const flowContent = String(rawContent);
|
|
816
|
+
const nodeTargetId = readNodeTargetId(evalSet);
|
|
817
|
+
if (nodeTargetId !== undefined) {
|
|
818
|
+
const lookup2 = findFlowNode(flowContent, nodeTargetId);
|
|
819
|
+
if (lookup2.flowParsed && !lookup2.node) {
|
|
820
|
+
throw new Error(`Evaluation set "${evalSet.name}" targets agent node "${nodeTargetId}", which no longer exists in the flow. Recreate the set with 'maestro flow eval set add --entry-point <agent-node-id>'.`);
|
|
821
|
+
}
|
|
822
|
+
return;
|
|
823
|
+
}
|
|
824
|
+
const entryPoint = entryPointOverride ?? evalSet.selectedEntrypoint;
|
|
825
|
+
if (entryPoint === undefined) {
|
|
826
|
+
return;
|
|
827
|
+
}
|
|
828
|
+
if (entryPoint.includes("/") || entryPoint.includes("#")) {
|
|
829
|
+
if (entryPointOverride !== undefined) {
|
|
830
|
+
return;
|
|
831
|
+
}
|
|
832
|
+
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which is a BPMN path, not a node id — Studio Web cannot resolve the evaluation target.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval set add', or fix its selectedEntrypoint to a trigger node id.`);
|
|
833
|
+
}
|
|
834
|
+
const lookup = findFlowNode(flowContent, entryPoint);
|
|
835
|
+
if (lookup.flowParsed && !lookup.node) {
|
|
836
|
+
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which does not match any node in the flow.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval set add', or fix its selectedEntrypoint to a trigger node id.`);
|
|
837
|
+
}
|
|
838
|
+
}
|
|
954
839
|
async requireEvalSet(projectPath, idOrName) {
|
|
955
840
|
const evalSet = findEvalSet(await this.listEvalSets(projectPath), idOrName);
|
|
956
841
|
if (!evalSet) {
|
|
@@ -966,4 +851,4 @@ export {
|
|
|
966
851
|
FlowEvalRunService
|
|
967
852
|
};
|
|
968
853
|
|
|
969
|
-
//# debugId=
|
|
854
|
+
//# debugId=FC57BF288799B83D64756E2164756E21
|