@uipath/maestro-tool 1.204.0 → 1.205.0-preview.258
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 +3 -3
- package/dist/{DmnFactory-VWZOSZHH-ggnfcqpa.js → DmnFactory-L7MABUC6-qkvfv1cw.js} +143 -98
- package/dist/{KieDmnMarshaller-6TTUU5B4-6apscj68.js → KieDmnMarshaller-LGE63WDG-cybersk4.js} +3 -3
- package/dist/THIRD-PARTY-NOTICES.md +47 -23
- package/dist/{authoring-ed7fgg74.js → authoring-5xyc2bbq.js} +8 -6
- package/dist/{authoring-1qn6m2g3.js → authoring-ehed6df3.js} +8 -6
- package/dist/{authoring-ex7mq672.js → authoring-rw21p50g.js} +8 -6
- package/dist/{binding-service-dj04a6e6.js → binding-service-b2v8y2sb.js} +44 -35
- package/dist/{bpmn-action-type-validator-cja8vct2.js → bpmn-action-type-validator-xg4ncg63.js} +2 -2
- package/dist/{bpmn-binding-resolver-3v5223kx.js → bpmn-binding-resolver-wz7xk54x.js} +9 -7
- package/dist/{bpmn-branch-a25m8bc2.js → bpmn-branch-ywmc5egw.js} +48 -47
- package/dist/{bpmn-format-service-64fsaq4j.js → bpmn-format-service-aq8ekvy2.js} +7 -5
- package/dist/{bpmn-refresh-service-ytf3ngzm.js → bpmn-refresh-service-gy1ekx3m.js} +10 -8
- package/dist/{bpmn-update-metadata-service-jpz5mfk4.js → bpmn-update-metadata-service-rnf421er.js} +7 -5
- package/dist/bpmn-validate-service-7e3q83nh.js +16 -0
- package/dist/{business-rule-export-j6xxtp5s.js → business-rule-export-xa719ws5.js} +2 -2
- package/dist/canvas-notes-xc2ejzqj.js +23 -0
- package/dist/{case-api-bxcxbgm9.js → case-api-v64traxv.js} +9 -7
- package/dist/case-bindings-service-hwz2h03e.js +434 -0
- package/dist/case-debug-solution-projects-xae2d4vj.js +34 -0
- package/dist/{case-debug-studio-web-service-kt5efenk.js → case-debug-studio-web-service-5h6djff3.js} +22 -14
- package/dist/{case-described-io-service-kn3rvy53.js → case-described-io-service-tap9pk70.js} +41 -11
- package/dist/case-event-trigger-bindings-z4q1kzgv.js +20 -0
- package/dist/{case-format-service-k8rcv0wp.js → case-format-service-q42ba5pn.js} +6 -4
- package/dist/{case-pack-service-92trp8xj.js → case-pack-service-0j9r3cd2.js} +9 -7
- package/dist/case-schema-version-zs5qsr1b.js +20 -0
- package/dist/{case-shape-reader-ftc4ve13.js → case-shape-reader-14qzcj4v.js} +1 -1
- package/dist/{case-splice-service-7n51cpx3.js → case-splice-service-bk6rvr75.js} +60 -11
- package/dist/{case-validate-service-c8jcvw85.js → case-validate-service-80p52d8r.js} +134 -46
- package/dist/{connector-enrichment-service-ba0vq2sk.js → connector-enrichment-service-9p98gfmc.js} +32 -28
- package/dist/{connector-lookup-service-mzfsqb21.js → connector-lookup-service-v39ab3qh.js} +10 -8
- package/dist/{connector-service-8yk65k3n.js → connector-service-yz5c6xag.js} +229 -52
- package/dist/connector-task-shape-dcb3v2r5.js +14 -0
- package/dist/{connector-task-spec-bn3qaa1w.js → connector-task-spec-pvzzenwg.js} +206 -49
- package/dist/de-UZI7FJDO-awjpqfz0.js +200 -0
- package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
- package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
- package/dist/debug-conversation-trigger-f4a07w23.js +33 -0
- package/dist/{debug-http-client-73errmgs.js → debug-http-client-8t7t701c.js} +7 -5
- package/dist/{debug-service-8kjtrm88.js → debug-service-c7y7f216.js} +8 -6
- package/dist/{edge-service-7092t84f.js → edge-service-vnn1p29d.js} +18 -13
- package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
- package/dist/en-EJCBA3LK-0wb3b1xy.js +146 -0
- package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
- package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
- package/dist/{enrichment-service-yjv2eb8h.js → enrichment-service-njfr2m2s.js} +52 -15
- package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
- package/dist/es-4UBUTCQA-t7hsackg.js +200 -0
- package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
- package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
- package/dist/es-MX-5RELIXKI-jtjbcxbb.js +200 -0
- package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
- package/dist/filter-engine-7ep90g7f.js +11 -0
- package/dist/{flow-api-y70m8n82.js → flow-api-qj89cv18.js} +17 -10
- package/dist/{flow-debug-service-f59xnvdf.js → flow-debug-service-a7vd9eht.js} +109 -71
- package/dist/{flow-eval-node-target-v1gra12k.js → flow-eval-node-target-fv15zc9f.js} +19 -18
- package/dist/flow-eval-run-api-3xt5n21a.js +16 -0
- package/dist/{flow-eval-run-service-hmfbng78.js → flow-eval-run-service-keqkwjg1.js} +92 -99
- package/dist/{flow-eval-service-7tpvhn9b.js → flow-eval-service-5j1rwx32.js} +169 -416
- package/dist/{flow-init-sdk-source-3gxfr40c.js → flow-init-sdk-source-spm577pw.js} +8 -6
- package/dist/{flow-init-service-jawbgb3b.js → flow-init-service-pz2b02z9.js} +25 -20
- package/dist/{flow-io-2qapk1ge.js → flow-io-0yftj03d.js} +17 -12
- package/dist/{flow-migrate-service-3vyydvyp.js → flow-migrate-service-f0cavrsr.js} +18 -13
- package/dist/{flow-pack-service-ypbwn9p1.js → flow-pack-service-seegwatd.js} +59 -45
- package/dist/{flow-validate-service-6ra3j72r.js → flow-validate-service-hgswxecb.js} +198 -93
- package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
- package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
- package/dist/fr-VBM5WRC2-707ha692.js +200 -0
- package/dist/{governance-fetcher-09dgr70s.js → governance-fetcher-w11mhrn6.js} +8 -6
- package/dist/{headless-7rs6g9wg.js → headless-z9enfh9f.js} +4 -4
- package/dist/hitPolicyResult-CGCR73CW-tvmbx1r7.js +66 -0
- package/dist/{hitl-service-pc3xwzxh.js → hitl-service-zsnxqkhb.js} +17 -12
- package/dist/{index-48tf2e7y.js → index-1a83vhkx.js} +59 -35
- package/dist/{index-jmy02p6v.js → index-3366ft04.js} +44 -6
- package/dist/{index-wmffgzmr.js → index-5dxh9z60.js} +21751 -11098
- package/dist/{index-vj0f8thg.js → index-91v7sjfs.js} +7 -5
- package/dist/{index-cpgb4hp8.js → index-d60j7q07.js} +8 -6
- package/dist/{index-vhm7bexy.js → index-da0zh33m.js} +8 -6
- package/dist/{index-1htnjt3c.js → index-ewv0axs9.js} +1087 -213
- package/dist/index-f3pbfe53.js +67 -0
- package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
- package/dist/{index-n7n2d0tb.js → index-gjg7tpcx.js} +66 -2230
- package/dist/index-gmkec7es.js +29 -0
- package/dist/{index-3bv3wtc0.js → index-n37fqnh7.js} +6 -5
- package/dist/{index-hhsf00x8.js → index-ngs0a2he.js} +1 -1
- package/dist/index-s6q9xjhw.js +25 -0
- package/dist/{index-j2r3jb6c.js → index-xq6ajhgq.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/init-entry-points-g4za9kc0.js +102 -0
- package/dist/inline-entity-resolver-nzfs8hb6.js +46 -0
- package/dist/input-reader-3250qtv2.js +15 -0
- package/dist/input-reader-3398edew.js +15 -0
- package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
- package/dist/ja-43QL7CGO-h6qfxfay.js +200 -0
- package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
- package/dist/{known-types-3dm8xfd0.js → known-types-g1bvvvcw.js} +5 -5
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +200 -0
- package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
- package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
- package/dist/localSolutionDiscovery-3fs774b8.js +17 -0
- package/dist/{maestro-automate-entry-4qg1z689.js → maestro-automate-entry-wycktqqt.js} +2 -2
- package/dist/{maestro-debug-service-c81w1wrx.js → maestro-debug-service-5edvsets.js} +17 -15
- package/dist/{maestro-pack-service-9qbtap5h.js → maestro-pack-service-hpvmq8f9.js} +9 -7
- package/dist/migration-diagnosis-5tftr979.js +99 -0
- package/dist/{node-epyxn4nd.js → node-5g80as4s.js} +29 -15
- package/dist/node-service-gsq162p5.js +101 -0
- package/dist/{node-strategy-5pz40tee.js → node-strategy-v442hwgd.js} +1 -1
- package/dist/node-sync-service-qxhh9e5m.js +65 -0
- package/dist/out-target-666eg2kf.js +115 -0
- package/dist/{packager-tool-yphr25e9.js → packager-tool-0jn0my4b.js} +4 -2
- package/dist/packager-tool-0z498fh0.js +331 -0
- package/dist/{packager-tool-j6q8v3kc.js → packager-tool-1q0ee9ht.js} +5 -4
- package/dist/packager-tool-20592jhn.js +74 -0
- package/dist/{packager-tool-zvpkw29f.js → packager-tool-212khq09.js} +538 -16
- package/dist/{packager-tool-7msx23gd.js → packager-tool-2qywkm61.js} +13 -2
- package/dist/{packager-tool-b4t0wt7a.js → packager-tool-3kx2vrwn.js} +12 -13
- package/dist/{packager-tool-a0f48rfb.js → packager-tool-42xfgd4y.js} +6 -24
- package/dist/{packager-tool-myvay41d.js → packager-tool-57bbfe26.js} +3 -3
- package/dist/{packager-tool-vte7g48a.js → packager-tool-5hnx28q0.js} +5 -3
- package/dist/{packager-tool-xd3rq6k0.js → packager-tool-629qqbfp.js} +2 -2
- package/dist/packager-tool-6g510cab.js +1178 -0
- package/dist/packager-tool-6sm17vbx.js +336 -0
- package/dist/{packager-tool-yy101ck2.js → packager-tool-6tthp3g5.js} +52 -32
- package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
- package/dist/packager-tool-7hw344bt.js +107 -0
- package/dist/{packager-tool-6xrzgn0z.js → packager-tool-7vh4gasn.js} +1 -1
- package/dist/packager-tool-7ym4rqd1.js +153 -0
- package/dist/packager-tool-8p3ymd4v.js +14 -0
- package/dist/{packager-tool-kme3q8xv.js → packager-tool-8tv6dvs5.js} +18 -8
- package/dist/{packager-tool-c94w8xmz.js → packager-tool-9c2hte0h.js} +16110 -13031
- package/dist/{packager-tool-npr79108.js → packager-tool-ajhgr4bs.js} +51 -8
- package/dist/{packager-tool-8pydv61j.js → packager-tool-ajth6af3.js} +588 -16
- package/dist/{packager-tool-nct4k0y8.js → packager-tool-arbc078z.js} +280 -416
- package/dist/{packager-tool-k0bc2f6w.js → packager-tool-b84rs07t.js} +137 -45
- package/dist/{packager-tool-4tf3tq1b.js → packager-tool-bd7t6p8y.js} +6 -4
- package/dist/{packager-tool-q02t6n13.js → packager-tool-bhhym40d.js} +26 -3
- package/dist/packager-tool-bttxjdhx.js +94 -0
- package/dist/packager-tool-c4n4m87w.js +52 -0
- package/dist/{packager-tool-8xyea2av.js → packager-tool-cc2q603y.js} +2 -3
- package/dist/{packager-tool-8yjmkys9.js → packager-tool-cza49qc1.js} +1681 -459
- package/dist/{packager-tool-5jb06280.js → packager-tool-d1kd88zq.js} +1 -1
- package/dist/{packager-tool-w3d2891y.js → packager-tool-dpp8z5q3.js} +8 -5
- package/dist/{packager-tool-wbtykfb2.js → packager-tool-dzd3y9p0.js} +2 -2
- package/dist/{packager-tool-rs4cgyy5.js → packager-tool-f6bh7bsm.js} +9 -10
- package/dist/{packager-tool-83hg21mr.js → packager-tool-f7zn3gsf.js} +6 -6
- package/dist/{packager-tool-mtpztxtc.js → packager-tool-fwfh4zz7.js} +2 -1
- package/dist/packager-tool-g2b0zqch.js +217 -0
- package/dist/{packager-tool-xdxr3ync.js → packager-tool-hdxtgckw.js} +11 -1
- package/dist/{packager-tool-gtzw8sw4.js → packager-tool-jexxh6qf.js} +51 -6
- package/dist/{packager-tool-zq25fdcg.js → packager-tool-jt51hwvr.js} +5 -5
- package/dist/packager-tool-k7n4sf7v.js +16 -0
- package/dist/{packager-tool-fgaphqq0.js → packager-tool-kd0whk4p.js} +1 -1
- package/dist/{packager-tool-3t417qyw.js → packager-tool-ktnfjmbs.js} +6 -6
- package/dist/packager-tool-kvp4ttef.js +307 -0
- package/dist/packager-tool-m1901c0c.js +1256 -0
- package/dist/packager-tool-mgcz986r.js +143 -0
- package/dist/{packager-tool-8xhjr5ya.js → packager-tool-mrskd7mn.js} +1 -1
- package/dist/{packager-tool-5s7249f4.js → packager-tool-ms1smy5t.js} +1 -1
- package/dist/{packager-tool-kveaemqp.js → packager-tool-msecps3h.js} +74 -47
- package/dist/packager-tool-n90231c7.js +2 -0
- package/dist/{packager-tool-ajjpgh1s.js → packager-tool-nkbz7fsb.js} +161 -83
- package/dist/packager-tool-nsh0qg9g.js +40 -0
- package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
- package/dist/packager-tool-qrs1525h.js +69 -0
- package/dist/packager-tool-qs3gymeb.js +92 -0
- package/dist/{packager-tool-wf95q0fn.js → packager-tool-r6a4pjjh.js} +32 -13
- package/dist/{packager-tool-2wbgdx7c.js → packager-tool-rcx6mwf1.js} +5 -5
- package/dist/{packager-tool-zbrda9sn.js → packager-tool-rk25wp3c.js} +1 -1
- package/dist/{packager-tool-nase5ajk.js → packager-tool-rp7pny4t.js} +19 -5
- package/dist/packager-tool-s695j0qj.js +2 -0
- package/dist/packager-tool-s7c0dg22.js +1117 -0
- package/dist/{case-bindings-service-hpz8w81a.js → packager-tool-s7frnjqb.js} +20 -233
- package/dist/{packager-tool-2k0hp4st.js → packager-tool-sb08yxk6.js} +2 -2
- package/dist/{packager-tool-b39nrh8y.js → packager-tool-sga4h8yj.js} +5 -6
- package/dist/packager-tool-sm8ertv4.js +9 -0
- package/dist/{packager-tool-ts5t1nmn.js → packager-tool-sxqtxw0e.js} +15 -10
- package/dist/packager-tool-t4zrz5gd.js +18 -0
- package/dist/{packager-tool-pp11j8zp.js → packager-tool-t79p62kr.js} +3 -2
- package/dist/{packager-tool-ps84n76y.js → packager-tool-tgh9btcq.js} +2 -2
- package/dist/{packager-tool-x2py933t.js → packager-tool-tzc6xsp3.js} +1802 -378
- package/dist/packager-tool-v5ft7109.js +35 -0
- package/dist/{packager-tool-rkv04anh.js → packager-tool-vv9cf7n5.js} +12 -56
- package/dist/{packager-tool-z1qbc0qf.js → packager-tool-wv85dhy2.js} +2 -8
- package/dist/{packager-tool-znhjsec2.js → packager-tool-wwbk750c.js} +10804 -25507
- package/dist/packager-tool-xj0agqpk.js +11 -0
- package/dist/{packager-tool-t2xr2f9r.js → packager-tool-xqghssg3.js} +1 -1
- package/dist/{packager-tool-ma2ra4pe.js → packager-tool-xr5pkebd.js} +6 -6
- package/dist/packager-tool-y4tyghzf.js +26 -0
- package/dist/{packager-tool-9bt3hs56.js → packager-tool-y57r93yz.js} +721 -90
- package/dist/packager-tool-ygdbhb2b.js +62 -0
- package/dist/{packager-tool-v99ygh9f.js → packager-tool-yn33pw57.js} +124 -58
- package/dist/packager-tool-yp84p93n.js +41 -0
- package/dist/{packager-tool-yv10w46z.js → packager-tool-zgm0r4yp.js} +57 -205
- package/dist/packager-tool.js +26 -17
- package/dist/{project-artifacts-ygsyzgbk.js → project-artifacts-tedh0mf8.js} +1 -1
- package/dist/{project-validator-ndx5f8vg.js → project-validator-njsprtzv.js} +5 -4
- package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
- package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +200 -0
- package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
- package/dist/pt-RMIAKZB4-t80exmp7.js +200 -0
- package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
- package/dist/{resolved-check-r83pjq9y.js → resolved-check-8a1cr6j2.js} +1 -1
- package/dist/{resourcesSyncService-9b5nzx36.js → resourcesSyncService-rcbw245w.js} +43 -180
- package/dist/ro-GHOBYW2S-4zevc9dy.js +200 -0
- package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
- package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +10 -0
- package/dist/{sdd-convert-service-am4cs6zq.js → sdd-convert-service-btj95r5z.js} +690 -447
- package/dist/{sdd-lookup-12hfwqjq.js → sdd-lookup-x3fh6svg.js} +6 -4
- package/dist/{sdd-resolve-service-e56wtgxt.js → sdd-resolve-service-pzsm3mkz.js} +37 -10
- package/dist/sdd-resolve-siblings-wzhvhar8.js +57 -0
- package/dist/{shared-utils-611ah3tq.js → shared-utils-w643sejd.js} +6 -4
- package/dist/{solution-auth-kddmbm0p.js → solution-auth-30yycqtv.js} +3 -3
- package/dist/solution-discovery-pavd4zeb.js +47 -0
- package/dist/{strict-case-rules-pn3ypd97.js → strict-case-rules-vnyr3b3k.js} +3 -2
- package/dist/{strict-entry-points-a2cya540.js → strict-entry-points-xrddz82q.js} +33 -1
- package/dist/{strict-sdd-audit-nc7dk2hy.js → strict-sdd-audit-8deegzad.js} +11 -7
- package/dist/task-type-declaration-re9ba03j.js +46 -0
- package/dist/{tidy-service-thmayk2h.js → tidy-service-mepxtxqm.js} +144 -39
- package/dist/{tool-z7q74wa4.js → tool-13vrxcqw.js} +313 -123
- package/dist/{tool-rmcqxt09.js → tool-x8dmgc2y.js} +476 -339
- package/dist/tool.js +2 -2
- package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
- package/dist/tr-GDTLECMM-kngksm3r.js +200 -0
- package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
- package/dist/{trigger-enrichment-service-fw97esz9.js → trigger-enrichment-service-pc8ecypw.js} +34 -30
- package/dist/trigger-entry-point-id-819hnfnn.js +15 -0
- package/dist/{variable-service-3gywh851.js → variable-service-8v0b9d66.js} +17 -12
- package/dist/{wait-for-flow-job-wdcjjk6p.js → wait-for-flow-job-5rjxh65w.js} +14 -11
- package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
- package/dist/zh-CN-I5D7WHBD-ge92tbx9.js +200 -0
- package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
- package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +200 -0
- package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
- package/package.json +2 -2
- package/dist/bpmn-validate-service-tanm0n47.js +0 -14
- package/dist/debug-conversation-trigger-zbxp49z7.js +0 -46
- package/dist/flow-eval-run-api-zg951w2f.js +0 -15
- package/dist/hitPolicyResult-4WDHTX4A-zpjwpxn1.js +0 -69
- package/dist/index-03h6hq69.js +0 -200
- package/dist/input-reader-sce4dejb.js +0 -13
- package/dist/input-reader-tf6xyfvt.js +0 -13
- package/dist/migration-diagnosis-fzj426fa.js +0 -71
- package/dist/node-service-3j6w3z2k.js +0 -89
- package/dist/node-sync-service-q7dsv2p0.js +0 -43
- package/dist/out-target-498z06v5.js +0 -72
- package/dist/packager-tool-0g6ktcsq.js +0 -32
- package/dist/packager-tool-3mvr6njb.js +0 -305
- package/dist/packager-tool-521x949f.js +0 -32
- package/dist/packager-tool-64zypey6.js +0 -521
- package/dist/packager-tool-7t0xj5pz.js +0 -64
- package/dist/packager-tool-j836z6mq.js +0 -208
- package/dist/packager-tool-p7eactax.js +0 -267
- package/dist/packager-tool-xjtv580j.js +0 -13
- package/dist/packager-tool-zm7thgdg.js +0 -456
- /package/dist/{localization-p76prk3f.js → localization-d151bzb1.js} +0 -0
|
@@ -1,50 +1,58 @@
|
|
|
1
|
+
import"./packager-tool-s695j0qj.js";
|
|
1
2
|
import {
|
|
2
|
-
FlowEvalPathResolver
|
|
3
|
-
|
|
4
|
-
findEvaluator,
|
|
5
|
-
getLinkedEvaluators,
|
|
6
|
-
removeEvaluatorRefFromSet
|
|
7
|
-
} from "./packager-tool-rkv04anh.js";
|
|
3
|
+
FlowEvalPathResolver
|
|
4
|
+
} from "./packager-tool-vv9cf7n5.js";
|
|
8
5
|
import {
|
|
9
6
|
FlowAgentNodeSchemaReader,
|
|
10
7
|
findFlowNode,
|
|
11
|
-
formatTriggerIdsHint,
|
|
12
8
|
isDocumentEvalNode,
|
|
13
9
|
isNodeEvalTarget,
|
|
14
|
-
listTriggerNodeIds,
|
|
15
10
|
readNodeTargetId
|
|
16
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-42xfgd4y.js";
|
|
12
|
+
import"./packager-tool-n90231c7.js";
|
|
13
|
+
import {
|
|
14
|
+
formatTriggerIdsHint,
|
|
15
|
+
listTriggerNodeIds
|
|
16
|
+
} from "./packager-tool-nsh0qg9g.js";
|
|
17
|
+
import"./packager-tool-k7n4sf7v.js";
|
|
17
18
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
findMatchingDefinition
|
|
20
|
+
} from "./packager-tool-2qywkm61.js";
|
|
21
|
+
import {
|
|
22
|
+
EvalFileStore,
|
|
23
|
+
EvalFiles,
|
|
24
|
+
EvaluationCrud,
|
|
25
|
+
EvaluatorCrud,
|
|
20
26
|
evaluatorTypeAliases,
|
|
21
|
-
|
|
27
|
+
findEvalSet,
|
|
22
28
|
isRecord,
|
|
23
29
|
resolveEvalApiConfig,
|
|
24
|
-
resolveEvaluatorType,
|
|
25
30
|
slugify
|
|
26
|
-
} from "./packager-tool-
|
|
27
|
-
import"./packager-tool-
|
|
31
|
+
} from "./packager-tool-m1901c0c.js";
|
|
32
|
+
import"./packager-tool-8tv6dvs5.js";
|
|
33
|
+
import"./packager-tool-1q0ee9ht.js";
|
|
34
|
+
import"./packager-tool-zgm0r4yp.js";
|
|
35
|
+
import"./packager-tool-6sm17vbx.js";
|
|
28
36
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
import"./packager-tool-
|
|
33
|
-
import"./packager-tool-
|
|
34
|
-
import"./packager-tool-
|
|
35
|
-
import"./packager-tool-
|
|
36
|
-
import"./packager-tool-
|
|
37
|
-
import"./packager-tool-kveaemqp.js";
|
|
38
|
-
import"./packager-tool-nase5ajk.js";
|
|
37
|
+
createFlowRefResolver,
|
|
38
|
+
resolveWorkflowRefs
|
|
39
|
+
} from "./packager-tool-tzc6xsp3.js";
|
|
40
|
+
import"./packager-tool-sxqtxw0e.js";
|
|
41
|
+
import"./packager-tool-d1kd88zq.js";
|
|
42
|
+
import"./packager-tool-y4tyghzf.js";
|
|
43
|
+
import"./packager-tool-msecps3h.js";
|
|
44
|
+
import"./packager-tool-rp7pny4t.js";
|
|
39
45
|
import"./packager-tool-nkrmjr3a.js";
|
|
40
46
|
import {
|
|
41
47
|
getFileSystem
|
|
42
|
-
} from "./packager-tool-
|
|
48
|
+
} from "./packager-tool-hdxtgckw.js";
|
|
43
49
|
import"./packager-tool-rs6jm14d.js";
|
|
44
50
|
import"./packager-tool-hk1gxnth.js";
|
|
45
|
-
import"./packager-tool-
|
|
51
|
+
import"./packager-tool-mgcz986r.js";
|
|
52
|
+
import"./packager-tool-xj0agqpk.js";
|
|
53
|
+
import"./packager-tool-pcvhcn2k.js";
|
|
46
54
|
import"./packager-tool-sc961w0q.js";
|
|
47
|
-
import"./packager-tool-
|
|
55
|
+
import"./packager-tool-6z1hsm2h.js";
|
|
48
56
|
import"./packager-tool-dxz4sejs.js";
|
|
49
57
|
import"./packager-tool-sztqqbxp.js";
|
|
50
58
|
import"./packager-tool-gbgfwx8f.js";
|
|
@@ -58,9 +66,10 @@ import"./packager-tool-mcaf4ewf.js";
|
|
|
58
66
|
import"./packager-tool-4mna26cc.js";
|
|
59
67
|
import"./packager-tool-c23zrhj8.js";
|
|
60
68
|
import"./packager-tool-yvcrdbgp.js";
|
|
69
|
+
import"./packager-tool-sm8ertv4.js";
|
|
61
70
|
import {
|
|
62
71
|
catchError
|
|
63
|
-
} from "./packager-tool-
|
|
72
|
+
} from "./packager-tool-wv85dhy2.js";
|
|
64
73
|
import {
|
|
65
74
|
__require
|
|
66
75
|
} from "./packager-tool-1yh8g550.js";
|
|
@@ -74,7 +83,7 @@ class FlowEvalOutputSchema {
|
|
|
74
83
|
this.pathResolver = pathResolver;
|
|
75
84
|
}
|
|
76
85
|
async read(projectPath) {
|
|
77
|
-
const root = await this.pathResolver.
|
|
86
|
+
const root = await this.pathResolver.resolveProjectPath(projectPath);
|
|
78
87
|
const [flowError, flowFilePath] = await catchError(this.pathResolver.findFlowFile(root));
|
|
79
88
|
if (flowError || !flowFilePath) {
|
|
80
89
|
return { flowFound: false, outputs: new Map };
|
|
@@ -120,40 +129,135 @@ class FlowNodeOutputSchemaReader {
|
|
|
120
129
|
this.pathResolver = pathResolver;
|
|
121
130
|
}
|
|
122
131
|
async read(projectPath, componentId) {
|
|
123
|
-
const root = await this.pathResolver.
|
|
132
|
+
const root = await this.pathResolver.resolveProjectPath(projectPath);
|
|
124
133
|
const [flowError, flowFilePath] = await catchError(this.pathResolver.findFlowFile(root));
|
|
125
134
|
if (flowError || !flowFilePath) {
|
|
126
135
|
return { schema: undefined, nodeFound: false };
|
|
127
136
|
}
|
|
128
|
-
const
|
|
129
|
-
return this.extract(
|
|
137
|
+
const flow = await readResolvedFlow(this.fs, flowFilePath);
|
|
138
|
+
return this.extract(flow, componentId);
|
|
139
|
+
}
|
|
140
|
+
extract(flow, componentId) {
|
|
141
|
+
return extractNodeOutputSchema(flow, componentId, false);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
async function readResolvedFlow(fs, flowFilePath) {
|
|
145
|
+
let parsed;
|
|
146
|
+
try {
|
|
147
|
+
parsed = JSON.parse(String(await fs.readFile(flowFilePath, "utf-8")));
|
|
148
|
+
} catch (error) {
|
|
149
|
+
throw new Error(`Could not parse ${flowFilePath}: ${error instanceof Error ? error.message : String(error)}`);
|
|
150
|
+
}
|
|
151
|
+
if (!isRecord(parsed)) {
|
|
152
|
+
throw new Error(`Could not parse ${flowFilePath}: not a JSON object.`);
|
|
153
|
+
}
|
|
154
|
+
const missing = [];
|
|
155
|
+
const resolver = createFlowRefResolver(fs, {
|
|
156
|
+
warn: (message) => missing.push(message)
|
|
157
|
+
});
|
|
158
|
+
const [refError, result] = await catchError(resolveWorkflowRefs(parsed, resolver, flowFilePath));
|
|
159
|
+
if (refError || missing.length > 0 || !result || !isRecord(result.resolved)) {
|
|
160
|
+
const reason = refError ? refError.message : missing.length > 0 ? missing.join("; ") : "the resolved flow is not a JSON object";
|
|
161
|
+
throw new Error(`Could not resolve the $ref chunks of ${flowFilePath}: ${reason}`);
|
|
162
|
+
}
|
|
163
|
+
return result.resolved;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
class FlowComponentLocator {
|
|
167
|
+
fs;
|
|
168
|
+
pathResolver;
|
|
169
|
+
constructor(fs, pathResolver) {
|
|
170
|
+
this.fs = fs;
|
|
171
|
+
this.pathResolver = pathResolver;
|
|
172
|
+
}
|
|
173
|
+
async find(projectPath, componentId) {
|
|
174
|
+
const none = { flowRead: false, found: false, suggestions: [] };
|
|
175
|
+
const root = await this.pathResolver.resolveProjectPath(projectPath);
|
|
176
|
+
const [flowError, flowFilePath] = await catchError(this.pathResolver.findFlowFile(root));
|
|
177
|
+
if (flowError || !flowFilePath)
|
|
178
|
+
return none;
|
|
179
|
+
const flow = await readResolvedFlow(this.fs, flowFilePath);
|
|
180
|
+
const scopes = scopesOfNode(flow, componentId);
|
|
181
|
+
if (scopes.length > 1) {
|
|
182
|
+
throw new Error(`Component "${componentId}" names a node in more than one scope of ${flowFilePath} (${scopes.join(", ")}). Node ids must be unique across the flow, top level and subflows.`);
|
|
183
|
+
}
|
|
184
|
+
if (scopes.length === 1) {
|
|
185
|
+
return { flowRead: true, found: true, suggestions: [] };
|
|
186
|
+
}
|
|
187
|
+
const nodes = allNodes(flow);
|
|
188
|
+
return {
|
|
189
|
+
flowRead: true,
|
|
190
|
+
found: false,
|
|
191
|
+
suggestions: suggestComponentIds(nodes, componentId)
|
|
192
|
+
};
|
|
130
193
|
}
|
|
131
|
-
|
|
132
|
-
|
|
194
|
+
}
|
|
195
|
+
function scopesOfNode(flow, componentId) {
|
|
196
|
+
const scopes = [];
|
|
197
|
+
const scan = (list, scope) => {
|
|
198
|
+
if (!Array.isArray(list))
|
|
199
|
+
return;
|
|
200
|
+
for (const n of list) {
|
|
201
|
+
if (isRecord(n) && n.id === componentId)
|
|
202
|
+
scopes.push(scope);
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
scan(flow.nodes, "nodes");
|
|
206
|
+
if (isRecord(flow.subflows)) {
|
|
207
|
+
for (const [key, sub] of Object.entries(flow.subflows)) {
|
|
208
|
+
if (isRecord(sub))
|
|
209
|
+
scan(sub.nodes, `subflows.${key}.nodes`);
|
|
210
|
+
}
|
|
133
211
|
}
|
|
212
|
+
return scopes;
|
|
213
|
+
}
|
|
214
|
+
function allNodes(flow) {
|
|
215
|
+
const out = [];
|
|
216
|
+
const push = (list) => {
|
|
217
|
+
if (!Array.isArray(list))
|
|
218
|
+
return;
|
|
219
|
+
for (const n of list)
|
|
220
|
+
if (isRecord(n))
|
|
221
|
+
out.push(n);
|
|
222
|
+
};
|
|
223
|
+
push(flow.nodes);
|
|
224
|
+
if (isRecord(flow.subflows)) {
|
|
225
|
+
for (const sub of Object.values(flow.subflows)) {
|
|
226
|
+
if (isRecord(sub))
|
|
227
|
+
push(sub.nodes);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return out;
|
|
231
|
+
}
|
|
232
|
+
function squash(id) {
|
|
233
|
+
return id.replace(/[^A-Za-z0-9]/g, "").toLowerCase();
|
|
234
|
+
}
|
|
235
|
+
function suggestComponentIds(nodes, componentId) {
|
|
236
|
+
const want = squash(componentId);
|
|
237
|
+
const hits = [];
|
|
238
|
+
for (const n of nodes) {
|
|
239
|
+
if (typeof n.id !== "string")
|
|
240
|
+
continue;
|
|
241
|
+
const display = isRecord(n.display) ? n.display : undefined;
|
|
242
|
+
const label = typeof display?.label === "string" ? display.label : "";
|
|
243
|
+
if (label === componentId || want !== "" && (squash(n.id) === want || squash(label) === want)) {
|
|
244
|
+
hits.push(n.id);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return [...new Set(hits)];
|
|
134
248
|
}
|
|
135
249
|
|
|
136
250
|
class SimulateFlowOutputSchemaReader extends FlowNodeOutputSchemaReader {
|
|
137
|
-
extract(
|
|
138
|
-
const result = extractNodeOutputSchema(
|
|
251
|
+
extract(flow, componentId) {
|
|
252
|
+
const result = extractNodeOutputSchema(flow, componentId, true);
|
|
139
253
|
if (!result.nodeFound || result.schema === undefined) {
|
|
140
254
|
return result;
|
|
141
255
|
}
|
|
142
256
|
return { ...result, schema: cleanOutputSchema(result.schema) };
|
|
143
257
|
}
|
|
144
258
|
}
|
|
145
|
-
function extractNodeOutputSchema(
|
|
146
|
-
|
|
147
|
-
try {
|
|
148
|
-
parsed = JSON.parse(flowContent);
|
|
149
|
-
} catch {
|
|
150
|
-
return { schema: undefined, nodeFound: false };
|
|
151
|
-
}
|
|
152
|
-
if (!isRecord(parsed)) {
|
|
153
|
-
return { schema: undefined, nodeFound: false };
|
|
154
|
-
}
|
|
155
|
-
const nodes = Array.isArray(parsed.nodes) ? parsed.nodes : [];
|
|
156
|
-
const node = nodes.find((n) => isRecord(n) && n.id === componentId);
|
|
259
|
+
function extractNodeOutputSchema(flow, componentId, wrapAllOutputs) {
|
|
260
|
+
const node = allNodes(flow).find((n) => n.id === componentId);
|
|
157
261
|
if (!node) {
|
|
158
262
|
return { schema: undefined, nodeFound: false };
|
|
159
263
|
}
|
|
@@ -286,7 +390,7 @@ class ChildSimulationSchemaReader {
|
|
|
286
390
|
this.pathResolver = pathResolver;
|
|
287
391
|
}
|
|
288
392
|
async read(projectPath, parentComponentId, childComponentId) {
|
|
289
|
-
const root = await this.pathResolver.
|
|
393
|
+
const root = await this.pathResolver.resolveProjectPath(projectPath);
|
|
290
394
|
const [flowError, flowFilePath] = await catchError(this.pathResolver.findFlowFile(root));
|
|
291
395
|
if (flowError || !flowFilePath) {
|
|
292
396
|
return {
|
|
@@ -383,7 +487,7 @@ class ChildSimulationSchemaReader {
|
|
|
383
487
|
errorDetail: authError.message
|
|
384
488
|
};
|
|
385
489
|
}
|
|
386
|
-
const { FlowEvalRunApi } = await import("./flow-eval-run-api-
|
|
490
|
+
const { FlowEvalRunApi } = await import("./flow-eval-run-api-3xt5n21a.js");
|
|
387
491
|
const api = new FlowEvalRunApi;
|
|
388
492
|
const [fetchError, components] = await catchError(api.getSimulatableComponents(config, processKey, processVersion));
|
|
389
493
|
if (fetchError || !components) {
|
|
@@ -617,119 +721,6 @@ function findToolSchemaInResources(resources, childComponentId) {
|
|
|
617
721
|
}
|
|
618
722
|
return;
|
|
619
723
|
}
|
|
620
|
-
|
|
621
|
-
// ../flow-tool/src/services/flow-eval-files.ts
|
|
622
|
-
import { randomUUID } from "node:crypto";
|
|
623
|
-
var EVAL_FILES_DIR = "eval-files";
|
|
624
|
-
var TOKEN_LENGTH = 12;
|
|
625
|
-
var EVALUATION_BINARY_PREFIX = "BINARY_FILE:";
|
|
626
|
-
var EVALUATION_BINARY_DELIMITER = `
|
|
627
|
-
---BASE64---
|
|
628
|
-
`;
|
|
629
|
-
var TEXT_EXTENSIONS = new Set([
|
|
630
|
-
".json",
|
|
631
|
-
".csv",
|
|
632
|
-
".tsv",
|
|
633
|
-
".txt",
|
|
634
|
-
".md",
|
|
635
|
-
".log",
|
|
636
|
-
".xml",
|
|
637
|
-
".html",
|
|
638
|
-
".htm",
|
|
639
|
-
".yaml",
|
|
640
|
-
".yml"
|
|
641
|
-
]);
|
|
642
|
-
var MIME_BY_EXT = {
|
|
643
|
-
".jpg": "image/jpeg",
|
|
644
|
-
".jpeg": "image/jpeg",
|
|
645
|
-
".png": "image/png",
|
|
646
|
-
".gif": "image/gif",
|
|
647
|
-
".bmp": "image/bmp",
|
|
648
|
-
".webp": "image/webp",
|
|
649
|
-
".tif": "image/tiff",
|
|
650
|
-
".tiff": "image/tiff",
|
|
651
|
-
".svg": "image/svg+xml",
|
|
652
|
-
".pdf": "application/pdf",
|
|
653
|
-
".doc": "application/msword",
|
|
654
|
-
".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
655
|
-
".xls": "application/vnd.ms-excel",
|
|
656
|
-
".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
657
|
-
".ppt": "application/vnd.ms-powerpoint",
|
|
658
|
-
".pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
659
|
-
".csv": "text/csv",
|
|
660
|
-
".tsv": "text/tab-separated-values",
|
|
661
|
-
".json": "application/json",
|
|
662
|
-
".txt": "text/plain",
|
|
663
|
-
".md": "text/markdown",
|
|
664
|
-
".log": "text/plain",
|
|
665
|
-
".xml": "application/xml",
|
|
666
|
-
".html": "text/html",
|
|
667
|
-
".htm": "text/html",
|
|
668
|
-
".yaml": "application/yaml",
|
|
669
|
-
".yml": "application/yaml"
|
|
670
|
-
};
|
|
671
|
-
|
|
672
|
-
class FlowEvalFiles {
|
|
673
|
-
fs;
|
|
674
|
-
pathResolver;
|
|
675
|
-
constructor(fs, pathResolver) {
|
|
676
|
-
this.fs = fs;
|
|
677
|
-
this.pathResolver = pathResolver;
|
|
678
|
-
}
|
|
679
|
-
async materialize(projectPath, sourcePath) {
|
|
680
|
-
const projectRoot = await this.pathResolver.resolveFlowProjectPath(projectPath);
|
|
681
|
-
const sourceAbsolute = this.fs.path.resolve(sourcePath);
|
|
682
|
-
if (!await this.fs.exists(sourceAbsolute)) {
|
|
683
|
-
throw new Error(`Input file not found: ${sourcePath}`);
|
|
684
|
-
}
|
|
685
|
-
const content = await this.fs.readFile(sourceAbsolute);
|
|
686
|
-
if (content === null) {
|
|
687
|
-
throw new Error(`Could not read input file: ${sourcePath}`);
|
|
688
|
-
}
|
|
689
|
-
const fullName = this.fs.path.basename(sourceAbsolute);
|
|
690
|
-
const evalRoot = await this.pathResolver.resolveEvalRoot(projectPath, true);
|
|
691
|
-
const dir = this.fs.path.join(evalRoot, EVAL_FILES_DIR);
|
|
692
|
-
await this.fs.mkdir(dir);
|
|
693
|
-
const targetName = await this.resolveTargetName(dir, fullName);
|
|
694
|
-
const targetPath = this.fs.path.join(dir, targetName);
|
|
695
|
-
const mimeType = mimeFromExt(extOf(fullName));
|
|
696
|
-
if (TEXT_EXTENSIONS.has(extOf(fullName))) {
|
|
697
|
-
await this.fs.writeFile(targetPath, content);
|
|
698
|
-
} else {
|
|
699
|
-
await this.fs.writeFile(targetPath, encodeBinaryEnvelope(content, mimeType));
|
|
700
|
-
}
|
|
701
|
-
const relative = this.fs.path.relative(projectRoot, targetPath).replaceAll("\\", "/");
|
|
702
|
-
return {
|
|
703
|
-
ID: `/${relative}`,
|
|
704
|
-
FullName: fullName,
|
|
705
|
-
MimeType: mimeType
|
|
706
|
-
};
|
|
707
|
-
}
|
|
708
|
-
async resolveTargetName(dir, fullName) {
|
|
709
|
-
if (!await this.fs.exists(this.fs.path.join(dir, fullName))) {
|
|
710
|
-
return fullName;
|
|
711
|
-
}
|
|
712
|
-
const ext = extOf(fullName);
|
|
713
|
-
const stem = ext ? fullName.slice(0, -ext.length) : fullName;
|
|
714
|
-
const token = randomUUID().replaceAll("-", "").slice(0, TOKEN_LENGTH);
|
|
715
|
-
return `${stem}_${token}${ext}`;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
function encodeBinaryEnvelope(content, mimeType) {
|
|
719
|
-
const base64Content = Buffer.from(content).toString("base64");
|
|
720
|
-
return `${EVALUATION_BINARY_PREFIX}${mimeType}:${content.byteLength}${EVALUATION_BINARY_DELIMITER}${base64Content}`;
|
|
721
|
-
}
|
|
722
|
-
function extOf(name) {
|
|
723
|
-
const dot = name.lastIndexOf(".");
|
|
724
|
-
if (dot <= 0) {
|
|
725
|
-
return "";
|
|
726
|
-
}
|
|
727
|
-
return name.slice(dot).toLowerCase();
|
|
728
|
-
}
|
|
729
|
-
function mimeFromExt(ext) {
|
|
730
|
-
return MIME_BY_EXT[ext] ?? "application/octet-stream";
|
|
731
|
-
}
|
|
732
|
-
|
|
733
724
|
// ../flow-tool/src/services/flow-eval-input-schema.ts
|
|
734
725
|
class FlowEvalInputSchema {
|
|
735
726
|
fs;
|
|
@@ -739,7 +730,7 @@ class FlowEvalInputSchema {
|
|
|
739
730
|
this.pathResolver = pathResolver;
|
|
740
731
|
}
|
|
741
732
|
async read(projectPath) {
|
|
742
|
-
const root = await this.pathResolver.
|
|
733
|
+
const root = await this.pathResolver.resolveProjectPath(projectPath);
|
|
743
734
|
const [flowError, flowFilePath] = await catchError(this.pathResolver.findFlowFile(root));
|
|
744
735
|
if (flowError || !flowFilePath) {
|
|
745
736
|
return {
|
|
@@ -823,7 +814,7 @@ class FlowEvalSetCrud {
|
|
|
823
814
|
return this.store.readJsonFiles(this.fs.path.join(root, "eval-sets"));
|
|
824
815
|
}
|
|
825
816
|
async add(projectPath, options) {
|
|
826
|
-
const resolvedProjectPath = await this.pathResolver.
|
|
817
|
+
const resolvedProjectPath = await this.pathResolver.resolveProjectPath(projectPath);
|
|
827
818
|
const root = await this.pathResolver.resolveEvalRoot(projectPath, true);
|
|
828
819
|
const id = crypto.randomUUID();
|
|
829
820
|
const fileName = `evaluation-set-${slugify(options.name)}-${id.slice(0, 8)}.json`;
|
|
@@ -903,251 +894,6 @@ class FlowEvalSetCrud {
|
|
|
903
894
|
return true;
|
|
904
895
|
}
|
|
905
896
|
}
|
|
906
|
-
|
|
907
|
-
// ../flow-tool/src/services/flow-evaluation-crud.ts
|
|
908
|
-
class FlowEvaluationCrud {
|
|
909
|
-
fs;
|
|
910
|
-
store;
|
|
911
|
-
pathResolver;
|
|
912
|
-
constructor(fs, store, pathResolver) {
|
|
913
|
-
this.fs = fs;
|
|
914
|
-
this.store = store;
|
|
915
|
-
this.pathResolver = pathResolver;
|
|
916
|
-
}
|
|
917
|
-
async add(projectPath, setIdOrName, options) {
|
|
918
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, true);
|
|
919
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
920
|
-
const evaluators = getLinkedEvaluators(await this.listEvaluators(root), evalSet);
|
|
921
|
-
const now = new Date().toISOString();
|
|
922
|
-
const evaluation = {
|
|
923
|
-
id: crypto.randomUUID(),
|
|
924
|
-
name: options.name,
|
|
925
|
-
inputs: options.inputs,
|
|
926
|
-
expectedOutput: options.expectedOutput,
|
|
927
|
-
evaluationCriterias: options.criteria ?? buildDefaultCriteria(evaluators, options.expectedOutput, options.searchText),
|
|
928
|
-
createdAt: now,
|
|
929
|
-
updatedAt: now
|
|
930
|
-
};
|
|
931
|
-
evalSet.evaluations.push(evaluation);
|
|
932
|
-
evalSet.updatedAt = now;
|
|
933
|
-
await this.writeEvalSet(root, evalSet);
|
|
934
|
-
return evaluation;
|
|
935
|
-
}
|
|
936
|
-
async list(projectPath, setIdOrName) {
|
|
937
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
938
|
-
return evalSet.evaluations;
|
|
939
|
-
}
|
|
940
|
-
async addSimulation(projectPath, setIdOrName, evaluationIdOrName, simulation) {
|
|
941
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, true);
|
|
942
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
943
|
-
const evaluation = evalSet.evaluations.find((e) => e.id === evaluationIdOrName || e.name === evaluationIdOrName);
|
|
944
|
-
if (!evaluation) {
|
|
945
|
-
throw new Error(`Data point "${evaluationIdOrName}" not found`);
|
|
946
|
-
}
|
|
947
|
-
if (!evaluation.simulations) {
|
|
948
|
-
evaluation.simulations = [];
|
|
949
|
-
}
|
|
950
|
-
const existing = evaluation.simulations.findIndex((s) => s.componentId === simulation.componentId);
|
|
951
|
-
const now = new Date().toISOString();
|
|
952
|
-
if (existing !== -1) {
|
|
953
|
-
evaluation.simulations[existing] = simulation;
|
|
954
|
-
} else {
|
|
955
|
-
evaluation.simulations.push(simulation);
|
|
956
|
-
}
|
|
957
|
-
evaluation.updatedAt = now;
|
|
958
|
-
evalSet.updatedAt = now;
|
|
959
|
-
await this.writeEvalSet(root, evalSet);
|
|
960
|
-
return simulation;
|
|
961
|
-
}
|
|
962
|
-
async listSimulations(projectPath, setIdOrName, evaluationIdOrName) {
|
|
963
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
964
|
-
const evaluation = evalSet.evaluations.find((e) => e.id === evaluationIdOrName || e.name === evaluationIdOrName);
|
|
965
|
-
if (!evaluation) {
|
|
966
|
-
throw new Error(`Data point "${evaluationIdOrName}" not found`);
|
|
967
|
-
}
|
|
968
|
-
return evaluation.simulations ?? [];
|
|
969
|
-
}
|
|
970
|
-
async addChildSimulation(projectPath, setIdOrName, evaluationIdOrName, parentComponentId, childSimulation) {
|
|
971
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, true);
|
|
972
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
973
|
-
const evaluation = evalSet.evaluations.find((e) => e.id === evaluationIdOrName || e.name === evaluationIdOrName);
|
|
974
|
-
if (!evaluation) {
|
|
975
|
-
throw new Error(`Data point "${evaluationIdOrName}" not found`);
|
|
976
|
-
}
|
|
977
|
-
if (!evaluation.simulations) {
|
|
978
|
-
evaluation.simulations = [];
|
|
979
|
-
}
|
|
980
|
-
let parent = evaluation.simulations.find((s) => s.componentId === parentComponentId);
|
|
981
|
-
if (!parent) {
|
|
982
|
-
parent = {
|
|
983
|
-
componentId: parentComponentId,
|
|
984
|
-
componentType: "agent",
|
|
985
|
-
simulationStrategy: "Llm",
|
|
986
|
-
childSimulations: []
|
|
987
|
-
};
|
|
988
|
-
evaluation.simulations.push(parent);
|
|
989
|
-
}
|
|
990
|
-
if (!parent.childSimulations) {
|
|
991
|
-
parent.childSimulations = [];
|
|
992
|
-
}
|
|
993
|
-
const existing = parent.childSimulations.findIndex((s) => s.componentId === childSimulation.componentId);
|
|
994
|
-
const now = new Date().toISOString();
|
|
995
|
-
if (existing !== -1) {
|
|
996
|
-
parent.childSimulations[existing] = childSimulation;
|
|
997
|
-
} else {
|
|
998
|
-
parent.childSimulations.push(childSimulation);
|
|
999
|
-
}
|
|
1000
|
-
evaluation.updatedAt = now;
|
|
1001
|
-
evalSet.updatedAt = now;
|
|
1002
|
-
await this.writeEvalSet(root, evalSet);
|
|
1003
|
-
return childSimulation;
|
|
1004
|
-
}
|
|
1005
|
-
listChildSimulations(evaluation, parentComponentId) {
|
|
1006
|
-
const parent = (evaluation.simulations ?? []).find((s) => s.componentId === parentComponentId);
|
|
1007
|
-
if (!parent) {
|
|
1008
|
-
throw new Error(`Simulation for component "${parentComponentId}" not found`);
|
|
1009
|
-
}
|
|
1010
|
-
return parent.childSimulations ?? [];
|
|
1011
|
-
}
|
|
1012
|
-
async removeChildSimulation(projectPath, setIdOrName, evaluationIdOrName, parentComponentId, childComponentId) {
|
|
1013
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, false);
|
|
1014
|
-
if (!root) {
|
|
1015
|
-
return false;
|
|
1016
|
-
}
|
|
1017
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
1018
|
-
const evaluation = evalSet.evaluations.find((e) => e.id === evaluationIdOrName || e.name === evaluationIdOrName);
|
|
1019
|
-
if (!evaluation) {
|
|
1020
|
-
throw new Error(`Data point "${evaluationIdOrName}" not found`);
|
|
1021
|
-
}
|
|
1022
|
-
const parent = (evaluation.simulations ?? []).find((s) => s.componentId === parentComponentId);
|
|
1023
|
-
if (!parent) {
|
|
1024
|
-
throw new Error(`Simulation for component "${parentComponentId}" not found`);
|
|
1025
|
-
}
|
|
1026
|
-
const index = (parent.childSimulations ?? []).findIndex((s) => s.componentId === childComponentId);
|
|
1027
|
-
if (index === -1) {
|
|
1028
|
-
return false;
|
|
1029
|
-
}
|
|
1030
|
-
parent.childSimulations?.splice(index, 1);
|
|
1031
|
-
evalSet.updatedAt = new Date().toISOString();
|
|
1032
|
-
await this.writeEvalSet(root, evalSet);
|
|
1033
|
-
return true;
|
|
1034
|
-
}
|
|
1035
|
-
async removeSimulation(projectPath, setIdOrName, evaluationIdOrName, componentId) {
|
|
1036
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, false);
|
|
1037
|
-
if (!root) {
|
|
1038
|
-
return false;
|
|
1039
|
-
}
|
|
1040
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
1041
|
-
const evaluation = evalSet.evaluations.find((e) => e.id === evaluationIdOrName || e.name === evaluationIdOrName);
|
|
1042
|
-
if (!evaluation) {
|
|
1043
|
-
throw new Error(`Data point "${evaluationIdOrName}" not found`);
|
|
1044
|
-
}
|
|
1045
|
-
const index = (evaluation.simulations ?? []).findIndex((s) => s.componentId === componentId);
|
|
1046
|
-
if (index === -1) {
|
|
1047
|
-
return false;
|
|
1048
|
-
}
|
|
1049
|
-
evaluation.simulations?.splice(index, 1);
|
|
1050
|
-
evalSet.updatedAt = new Date().toISOString();
|
|
1051
|
-
await this.writeEvalSet(root, evalSet);
|
|
1052
|
-
return true;
|
|
1053
|
-
}
|
|
1054
|
-
async remove(projectPath, setIdOrName, evaluationIdOrName) {
|
|
1055
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, false);
|
|
1056
|
-
if (!root) {
|
|
1057
|
-
return false;
|
|
1058
|
-
}
|
|
1059
|
-
const evalSet = await this.requireEvalSet(projectPath, setIdOrName);
|
|
1060
|
-
const index = evalSet.evaluations.findIndex((evaluation) => evaluation.id === evaluationIdOrName || evaluation.name === evaluationIdOrName);
|
|
1061
|
-
if (index === -1) {
|
|
1062
|
-
return false;
|
|
1063
|
-
}
|
|
1064
|
-
evalSet.evaluations.splice(index, 1);
|
|
1065
|
-
evalSet.updatedAt = new Date().toISOString();
|
|
1066
|
-
await this.writeEvalSet(root, evalSet);
|
|
1067
|
-
return true;
|
|
1068
|
-
}
|
|
1069
|
-
async requireEvalSet(projectPath, idOrName) {
|
|
1070
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, false);
|
|
1071
|
-
const evalSet = root ? findEvalSet(await this.listEvalSets(root), idOrName) : null;
|
|
1072
|
-
if (!evalSet) {
|
|
1073
|
-
throw new Error(`Evaluation set "${idOrName}" not found`);
|
|
1074
|
-
}
|
|
1075
|
-
return evalSet;
|
|
1076
|
-
}
|
|
1077
|
-
async listEvalSets(root) {
|
|
1078
|
-
return this.store.readJsonFiles(this.fs.path.join(root, "eval-sets"));
|
|
1079
|
-
}
|
|
1080
|
-
async listEvaluators(root) {
|
|
1081
|
-
return this.store.readJsonFiles(this.fs.path.join(root, "evaluators"));
|
|
1082
|
-
}
|
|
1083
|
-
async writeEvalSet(root, evalSet) {
|
|
1084
|
-
await this.store.writeJsonFile(this.fs.path.join(root, "eval-sets", evalSet.fileName ?? `${evalSet.id}.json`), evalSet);
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
// ../flow-tool/src/services/flow-evaluator-crud.ts
|
|
1089
|
-
class FlowEvaluatorCrud {
|
|
1090
|
-
fs;
|
|
1091
|
-
store;
|
|
1092
|
-
pathResolver;
|
|
1093
|
-
constructor(fs, store, pathResolver) {
|
|
1094
|
-
this.fs = fs;
|
|
1095
|
-
this.store = store;
|
|
1096
|
-
this.pathResolver = pathResolver;
|
|
1097
|
-
}
|
|
1098
|
-
async list(projectPath) {
|
|
1099
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, false);
|
|
1100
|
-
if (!root) {
|
|
1101
|
-
return [];
|
|
1102
|
-
}
|
|
1103
|
-
return this.store.readJsonFiles(this.fs.path.join(root, "evaluators"));
|
|
1104
|
-
}
|
|
1105
|
-
async add(projectPath, options) {
|
|
1106
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, true);
|
|
1107
|
-
const typeId = resolveEvaluatorType(options.type);
|
|
1108
|
-
const id = `${slugify(options.name)}-${crypto.randomUUID().slice(0, 8)}`;
|
|
1109
|
-
const now = new Date().toISOString();
|
|
1110
|
-
const fileName = `${id}.json`;
|
|
1111
|
-
const evaluator = {
|
|
1112
|
-
version: "1.0",
|
|
1113
|
-
id,
|
|
1114
|
-
name: options.name,
|
|
1115
|
-
description: options.description ?? `${options.name} evaluator`,
|
|
1116
|
-
evaluatorTypeId: typeId,
|
|
1117
|
-
evaluatorConfig: buildEvaluatorConfig(typeId, options),
|
|
1118
|
-
fileName,
|
|
1119
|
-
createdAt: now,
|
|
1120
|
-
updatedAt: now
|
|
1121
|
-
};
|
|
1122
|
-
await this.store.writeJsonFile(this.fs.path.join(root, "evaluators", fileName), evaluator);
|
|
1123
|
-
return evaluator;
|
|
1124
|
-
}
|
|
1125
|
-
async remove(projectPath, idOrName) {
|
|
1126
|
-
const root = await this.pathResolver.resolveEvalRoot(projectPath, false);
|
|
1127
|
-
if (!root) {
|
|
1128
|
-
return false;
|
|
1129
|
-
}
|
|
1130
|
-
const evaluator = findEvaluator(await this.list(projectPath), idOrName);
|
|
1131
|
-
if (!evaluator?.fileName) {
|
|
1132
|
-
return false;
|
|
1133
|
-
}
|
|
1134
|
-
await this.store.remove(this.fs.path.join(root, "evaluators", evaluator.fileName));
|
|
1135
|
-
await this.removeEvaluatorRefs(root, evaluator);
|
|
1136
|
-
return true;
|
|
1137
|
-
}
|
|
1138
|
-
async removeEvaluatorRefs(root, evaluator) {
|
|
1139
|
-
const sets = await this.store.readJsonFiles(this.fs.path.join(root, "eval-sets"));
|
|
1140
|
-
for (const set of sets) {
|
|
1141
|
-
if (removeEvaluatorRefFromSet(set, evaluator) && set.fileName) {
|
|
1142
|
-
await this.writeEvalSet(root, set);
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
async writeEvalSet(root, evalSet) {
|
|
1147
|
-
await this.store.writeJsonFile(this.fs.path.join(root, "eval-sets", evalSet.fileName ?? `${evalSet.id}.json`), evalSet);
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
897
|
// ../flow-tool/src/services/flow-eval-service.ts
|
|
1152
898
|
class FlowEvalService {
|
|
1153
899
|
fs;
|
|
@@ -1158,19 +904,21 @@ class FlowEvalService {
|
|
|
1158
904
|
inputSchema;
|
|
1159
905
|
outputSchema;
|
|
1160
906
|
nodeOutputSchema;
|
|
907
|
+
componentLocator;
|
|
1161
908
|
agentNodeSchema;
|
|
1162
909
|
childSimulationSchema;
|
|
1163
910
|
constructor(fs = getFileSystem()) {
|
|
1164
911
|
this.fs = fs;
|
|
1165
|
-
const store = new
|
|
912
|
+
const store = new EvalFileStore(fs);
|
|
1166
913
|
const pathResolver = new FlowEvalPathResolver(fs);
|
|
1167
|
-
this.evaluators = new
|
|
914
|
+
this.evaluators = new EvaluatorCrud(fs, store, pathResolver);
|
|
1168
915
|
this.evalSets = new FlowEvalSetCrud(fs, store, pathResolver);
|
|
1169
|
-
this.evaluations = new
|
|
1170
|
-
this.files = new
|
|
916
|
+
this.evaluations = new EvaluationCrud(fs, store, pathResolver);
|
|
917
|
+
this.files = new EvalFiles(fs, pathResolver);
|
|
1171
918
|
this.inputSchema = new FlowEvalInputSchema(fs, pathResolver);
|
|
1172
919
|
this.outputSchema = new FlowEvalOutputSchema(fs, pathResolver);
|
|
1173
920
|
this.nodeOutputSchema = new SimulateFlowOutputSchemaReader(fs, pathResolver);
|
|
921
|
+
this.componentLocator = new FlowComponentLocator(fs, pathResolver);
|
|
1174
922
|
this.agentNodeSchema = new FlowAgentNodeSchemaReader(fs, pathResolver);
|
|
1175
923
|
this.childSimulationSchema = new ChildSimulationSchemaReader(fs, pathResolver);
|
|
1176
924
|
}
|
|
@@ -1296,6 +1044,11 @@ class FlowEvalService {
|
|
|
1296
1044
|
return this.evaluations.remove(projectPath, setIdOrName, evaluationIdOrName);
|
|
1297
1045
|
}
|
|
1298
1046
|
async addSimulation(projectPath, setIdOrName, evaluationIdOrName, simulation) {
|
|
1047
|
+
const located = await this.componentLocator.find(projectPath, simulation.componentId);
|
|
1048
|
+
if (located.flowRead && !located.found) {
|
|
1049
|
+
const hint = located.suggestions.length ? ` Did you mean ${located.suggestions.map((id) => `"${id}"`).join(" or ")}? A simulation targets the node's id, not its label.` : " Use a node id from the .flow (nodes[].id or subflows.<id>.nodes[].id).";
|
|
1050
|
+
throw new Error(`Component "${simulation.componentId}" not found in the flow.${hint}`);
|
|
1051
|
+
}
|
|
1299
1052
|
if (simulation.simulationStrategy === "Llm" && simulation.outputSchema === undefined) {
|
|
1300
1053
|
const resolved = await this.nodeOutputSchema.read(projectPath, simulation.componentId);
|
|
1301
1054
|
if (!resolved.nodeFound) {
|
|
@@ -1382,4 +1135,4 @@ export {
|
|
|
1382
1135
|
FlowEvalService
|
|
1383
1136
|
};
|
|
1384
1137
|
|
|
1385
|
-
//# debugId=
|
|
1138
|
+
//# debugId=3D01F72A484AF34964756E2164756E21
|