@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,208 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isRecord
|
|
3
|
-
} from "./packager-tool-64zypey6.js";
|
|
4
|
-
|
|
5
|
-
// ../flow-tool/src/services/flow-eval-run-readers.ts
|
|
6
|
-
function asRecordArray(value, label) {
|
|
7
|
-
if (!Array.isArray(value)) {
|
|
8
|
-
throw new Error(`${label} response must be an array`);
|
|
9
|
-
}
|
|
10
|
-
return value.map((item, index) => {
|
|
11
|
-
if (!isRecord(item)) {
|
|
12
|
-
throw new Error(`${label} response item ${index} must be an object`);
|
|
13
|
-
}
|
|
14
|
-
return item;
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function readRecord(value) {
|
|
18
|
-
return isRecord(value) ? value : undefined;
|
|
19
|
-
}
|
|
20
|
-
function readRecordArray(value) {
|
|
21
|
-
if (!Array.isArray(value)) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
return value.filter(isRecord);
|
|
25
|
-
}
|
|
26
|
-
function optionalNumber(value) {
|
|
27
|
-
return typeof value === "number" ? value : null;
|
|
28
|
-
}
|
|
29
|
-
function optionalString(value) {
|
|
30
|
-
return typeof value === "string" ? value : "";
|
|
31
|
-
}
|
|
32
|
-
function statusString(value) {
|
|
33
|
-
if (typeof value === "string") {
|
|
34
|
-
return value;
|
|
35
|
-
}
|
|
36
|
-
if (typeof value === "number") {
|
|
37
|
-
const statusByCode = {
|
|
38
|
-
0: "Pending",
|
|
39
|
-
1: "Running",
|
|
40
|
-
2: "Completed",
|
|
41
|
-
3: "PartiallyCompleted",
|
|
42
|
-
4: "Failed"
|
|
43
|
-
};
|
|
44
|
-
return statusByCode[value] ?? String(value);
|
|
45
|
-
}
|
|
46
|
-
return "";
|
|
47
|
-
}
|
|
48
|
-
function readEvaluatorScores(value) {
|
|
49
|
-
const records = readRecordArray(value);
|
|
50
|
-
if (!records) {
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
return records.flatMap((score) => {
|
|
54
|
-
const evaluatorId = score.evaluatorId;
|
|
55
|
-
const scoreValue = score.value;
|
|
56
|
-
if (typeof evaluatorId !== "string" || typeof scoreValue !== "number") {
|
|
57
|
-
return [];
|
|
58
|
-
}
|
|
59
|
-
return [{ evaluatorId, value: scoreValue }];
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function readRemoteEvalSetRun(record) {
|
|
63
|
-
return {
|
|
64
|
-
id: optionalString(record.id),
|
|
65
|
-
workloadId: optionalString(record.workloadId),
|
|
66
|
-
evalSetId: typeof record.evalSetId === "string" ? record.evalSetId : null,
|
|
67
|
-
status: statusString(record.status),
|
|
68
|
-
score: optionalNumber(record.score),
|
|
69
|
-
evaluatorScores: readEvaluatorScores(record.evaluatorScores),
|
|
70
|
-
config: readRecord(record.config) ?? {},
|
|
71
|
-
numberOfEvalsExecuted: optionalNumber(record.numberOfEvalsExecuted),
|
|
72
|
-
durationMilliseconds: optionalNumber(record.durationMilliseconds),
|
|
73
|
-
createdAt: optionalString(record.createdAt),
|
|
74
|
-
updatedAt: optionalString(record.updatedAt)
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function readRemoteEvalRun(record) {
|
|
78
|
-
const snapshot = readRecord(record.evalSnapshot);
|
|
79
|
-
const result = readRecord(record.result);
|
|
80
|
-
return {
|
|
81
|
-
id: optionalString(record.id),
|
|
82
|
-
evalSetRunId: optionalString(record.evalSetRunId),
|
|
83
|
-
evalSnapshot: snapshot ? {
|
|
84
|
-
id: typeof snapshot.id === "string" ? snapshot.id : undefined,
|
|
85
|
-
name: typeof snapshot.name === "string" ? snapshot.name : undefined,
|
|
86
|
-
inputs: readRecord(snapshot.inputs),
|
|
87
|
-
evaluationCriterias: readRecord(snapshot.evaluationCriterias),
|
|
88
|
-
expectedOutput: readRecord(snapshot.expectedOutput) ?? (snapshot.expectedOutput === null ? null : undefined)
|
|
89
|
-
} : undefined,
|
|
90
|
-
status: statusString(record.status),
|
|
91
|
-
result: result ? {
|
|
92
|
-
output: readRecord(result.output),
|
|
93
|
-
scores: readEvaluatorScores(result.scores) ?? undefined,
|
|
94
|
-
score: readRecord(result.score)
|
|
95
|
-
} : null,
|
|
96
|
-
completionMetrics: readRecord(record.completionMetrics),
|
|
97
|
-
evaluatorRuns: readRecordArray(record.evaluatorRuns)?.flatMap((evaluatorRun) => {
|
|
98
|
-
const evaluatorId = evaluatorRun.evaluatorId;
|
|
99
|
-
if (typeof evaluatorId !== "string") {
|
|
100
|
-
return [];
|
|
101
|
-
}
|
|
102
|
-
const evaluatorResult = readRecord(evaluatorRun.result);
|
|
103
|
-
return [
|
|
104
|
-
{
|
|
105
|
-
evaluatorId,
|
|
106
|
-
evaluatorSnapshot: evaluatorRun.evaluatorSnapshot,
|
|
107
|
-
status: typeof evaluatorRun.status === "string" ? evaluatorRun.status : undefined,
|
|
108
|
-
result: evaluatorResult ? {
|
|
109
|
-
output: readRecord(evaluatorResult.output),
|
|
110
|
-
score: readRecord(evaluatorResult.score)
|
|
111
|
-
} : null,
|
|
112
|
-
completionMetrics: readRecord(evaluatorRun.completionMetrics)
|
|
113
|
-
}
|
|
114
|
-
];
|
|
115
|
-
}),
|
|
116
|
-
error: typeof record.error === "string" || isRecord(record.error) ? record.error : null,
|
|
117
|
-
errorMessage: typeof record.errorMessage === "string" ? record.errorMessage : null,
|
|
118
|
-
createdAt: typeof record.createdAt === "string" ? record.createdAt : undefined,
|
|
119
|
-
updatedAt: typeof record.updatedAt === "string" ? record.updatedAt : undefined
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// ../flow-tool/src/services/flow-eval-run-api.ts
|
|
124
|
-
var METADATA_FETCH_TIMEOUT_MS = 30000;
|
|
125
|
-
var MAX_ERROR_BODY_LENGTH = 400;
|
|
126
|
-
|
|
127
|
-
class FlowEvalRunApi {
|
|
128
|
-
async executeAndEvaluate(config, payload) {
|
|
129
|
-
return this.requestJson(config, "/unifiedEvals/workloads/executeAndEvaluate", {
|
|
130
|
-
method: "POST",
|
|
131
|
-
body: JSON.stringify(payload)
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
async listEvalSetRuns(config, workloadId) {
|
|
135
|
-
const response = await this.requestJson(config, `/unifiedEvals/workloads/${encodeURIComponent(workloadId)}/evalSetRuns?workloadType=Flow`, { method: "GET" });
|
|
136
|
-
return asRecordArray(response, "Eval set runs").map(readRemoteEvalSetRun);
|
|
137
|
-
}
|
|
138
|
-
async getEvalSetRun(config, workloadId, evalSetRunId) {
|
|
139
|
-
const response = await this.requestJson(config, `/unifiedEvals/workloads/${encodeURIComponent(workloadId)}/evalSetRuns/${encodeURIComponent(evalSetRunId)}?workloadType=Flow`, { method: "GET" });
|
|
140
|
-
if (!isRecord(response)) {
|
|
141
|
-
throw new Error("Eval set run response must be an object");
|
|
142
|
-
}
|
|
143
|
-
return readRemoteEvalSetRun(response);
|
|
144
|
-
}
|
|
145
|
-
async getEvalRuns(config, workloadId, evalSetRunId) {
|
|
146
|
-
const response = await this.requestJson(config, `/unifiedEvals/workloads/${encodeURIComponent(workloadId)}/evalSetRuns/${encodeURIComponent(evalSetRunId)}/evalRuns?workloadType=Flow`, { method: "GET" });
|
|
147
|
-
return asRecordArray(response, "Eval runs").map(readRemoteEvalRun);
|
|
148
|
-
}
|
|
149
|
-
async getSimulatableComponents(config, processKey, processVersion) {
|
|
150
|
-
const params = new URLSearchParams({ workloadType: "Agents" });
|
|
151
|
-
if (processVersion) {
|
|
152
|
-
params.set("processVersion", processVersion);
|
|
153
|
-
}
|
|
154
|
-
const data = await this.requestJson(config, `/unifiedEvals/processes/${encodeURIComponent(processKey)}/simulatableComponents?${params.toString()}`, { method: "GET" }, METADATA_FETCH_TIMEOUT_MS);
|
|
155
|
-
const components = Array.isArray(data.components) ? data.components : [];
|
|
156
|
-
return components.filter((c) => isRecord(c) && typeof c.id === "string" && typeof c.name === "string" && c.isEnabled === true);
|
|
157
|
-
}
|
|
158
|
-
apiBase(config) {
|
|
159
|
-
return `${config.baseUrl}/${config.organizationId}/${config.tenantName}/agentsruntime_/api`;
|
|
160
|
-
}
|
|
161
|
-
headers(config) {
|
|
162
|
-
return {
|
|
163
|
-
Authorization: `Bearer ${config.authToken}`,
|
|
164
|
-
Accept: "application/json",
|
|
165
|
-
"Content-Type": "application/json",
|
|
166
|
-
"X-UiPath-Internal-TenantId": config.tenantId,
|
|
167
|
-
"X-UiPath-Internal-AccountId": config.organizationId
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
async requestJson(config, path, request, timeoutMs) {
|
|
171
|
-
let response;
|
|
172
|
-
let text;
|
|
173
|
-
try {
|
|
174
|
-
response = await fetch(`${this.apiBase(config)}${path}`, {
|
|
175
|
-
method: request.method,
|
|
176
|
-
headers: {
|
|
177
|
-
...this.headers(config),
|
|
178
|
-
...request.headers
|
|
179
|
-
},
|
|
180
|
-
body: request.body,
|
|
181
|
-
...timeoutMs !== undefined ? { signal: AbortSignal.timeout(timeoutMs) } : {}
|
|
182
|
-
});
|
|
183
|
-
text = await response.text();
|
|
184
|
-
} catch (err) {
|
|
185
|
-
if (err instanceof DOMException && err.name === "TimeoutError") {
|
|
186
|
-
throw new Error(`Unified eval API request timed out after ${timeoutMs}ms (${request.method} ${path})`);
|
|
187
|
-
}
|
|
188
|
-
throw new Error(`Unified eval API request failed (${request.method} ${path}): ${err instanceof Error ? err.message : String(err)}`);
|
|
189
|
-
}
|
|
190
|
-
if (!response.ok) {
|
|
191
|
-
const body = text.length > MAX_ERROR_BODY_LENGTH ? `${text.slice(0, MAX_ERROR_BODY_LENGTH)}… (truncated)` : text;
|
|
192
|
-
throw new Error(`Unified eval API returned ${response.status}: ${body}`);
|
|
193
|
-
}
|
|
194
|
-
if (!text) {
|
|
195
|
-
throw new Error(`Unified eval API returned ${response.status} with empty body`);
|
|
196
|
-
}
|
|
197
|
-
try {
|
|
198
|
-
return JSON.parse(text);
|
|
199
|
-
} catch {
|
|
200
|
-
const preview = text.length > MAX_ERROR_BODY_LENGTH ? `${text.slice(0, MAX_ERROR_BODY_LENGTH)}… (truncated)` : text;
|
|
201
|
-
throw new Error(`Unified eval API returned ${response.status} with non-JSON body (${request.method} ${path}): ${preview}`);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
export { FlowEvalRunApi };
|
|
207
|
-
|
|
208
|
-
//# debugId=5D85BC1B427DCC6164756E2164756E21
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ensureDirectory
|
|
3
|
-
} from "./packager-tool-7t0xj5pz.js";
|
|
4
|
-
import {
|
|
5
|
-
logger
|
|
6
|
-
} from "./packager-tool-yv10w46z.js";
|
|
7
|
-
import {
|
|
8
|
-
buildInlineAgentContract,
|
|
9
|
-
isInlineAgentNodeType,
|
|
10
|
-
operateRuntimeOptions,
|
|
11
|
-
readInlineAgentSource
|
|
12
|
-
} from "./packager-tool-x2py933t.js";
|
|
13
|
-
import {
|
|
14
|
-
withRuntimeProfile
|
|
15
|
-
} from "./packager-tool-5jb06280.js";
|
|
16
|
-
import {
|
|
17
|
-
EntryPointType,
|
|
18
|
-
ProjectType,
|
|
19
|
-
generateBindingsJson,
|
|
20
|
-
generateEntryPointsJson,
|
|
21
|
-
generateOperateJson,
|
|
22
|
-
getBindingResources,
|
|
23
|
-
getEntryPoints,
|
|
24
|
-
isConversationalOrVoiceAgentNodeType,
|
|
25
|
-
mergeBindingResources
|
|
26
|
-
} from "./packager-tool-qmx87xkf.js";
|
|
27
|
-
import {
|
|
28
|
-
catchError
|
|
29
|
-
} from "./packager-tool-z1qbc0qf.js";
|
|
30
|
-
|
|
31
|
-
// ../flow-tool/src/services/packaging-utils.ts
|
|
32
|
-
function fileNodesToPackagingNodes(nodes) {
|
|
33
|
-
return nodes.map((node) => ({
|
|
34
|
-
id: node.id,
|
|
35
|
-
type: node.type,
|
|
36
|
-
typeVersion: node.typeVersion ?? "1.0",
|
|
37
|
-
display: node.display,
|
|
38
|
-
inputs: node.inputs,
|
|
39
|
-
outputs: node.outputs,
|
|
40
|
-
...node.model ? { model: node.model } : {}
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
function isRecord(value) {
|
|
44
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
45
|
-
}
|
|
46
|
-
function toResourceList(value) {
|
|
47
|
-
if (!Array.isArray(value))
|
|
48
|
-
return;
|
|
49
|
-
const resources = value.filter(isRecord);
|
|
50
|
-
return resources.length === value.length ? resources : undefined;
|
|
51
|
-
}
|
|
52
|
-
function normalizePackagingBindingsJson(value) {
|
|
53
|
-
if (!isRecord(value))
|
|
54
|
-
return;
|
|
55
|
-
const resources = toResourceList(value.resources);
|
|
56
|
-
if (!resources)
|
|
57
|
-
return;
|
|
58
|
-
return {
|
|
59
|
-
...value,
|
|
60
|
-
version: typeof value.version === "string" ? value.version : "2.0",
|
|
61
|
-
resources
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function emptyPackagingBindingsJson() {
|
|
65
|
-
return { version: "2.0", resources: [] };
|
|
66
|
-
}
|
|
67
|
-
function mergePackagingBindingsJson(bindingsJsons) {
|
|
68
|
-
const first = bindingsJsons.find((bindingsJson) => bindingsJson !== undefined);
|
|
69
|
-
return {
|
|
70
|
-
...first ?? emptyPackagingBindingsJson(),
|
|
71
|
-
resources: mergeBindingResources(bindingsJsons.flatMap((bindingsJson) => bindingsJson?.resources ?? []))
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
var inlineAgentPackagerLogger = {
|
|
75
|
-
debug: (message) => logger.debug(message),
|
|
76
|
-
info: (message) => logger.info(message),
|
|
77
|
-
warn: (message) => logger.warn(message),
|
|
78
|
-
error: (message) => logger.error(message),
|
|
79
|
-
progress: (message) => logger.info(message),
|
|
80
|
-
log: (message, level) => {
|
|
81
|
-
if (level === "Error" /* Error */)
|
|
82
|
-
logger.error(message);
|
|
83
|
-
else if (level === "Warning" /* Warn */)
|
|
84
|
-
logger.warn(message);
|
|
85
|
-
else if (level === "Debug" /* Debug */)
|
|
86
|
-
logger.debug(message);
|
|
87
|
-
else
|
|
88
|
-
logger.info(message);
|
|
89
|
-
},
|
|
90
|
-
logMessage: (message) => inlineAgentPackagerLogger.log(message.message, message.logLevel)
|
|
91
|
-
};
|
|
92
|
-
async function createInlineAgentContract(fs, agentDir) {
|
|
93
|
-
const outputPath = fs.path.join(fs.env.tmpdir(), `.inline-agent-contract-${crypto.randomUUID()}`);
|
|
94
|
-
await fs.mkdir(outputPath);
|
|
95
|
-
try {
|
|
96
|
-
const built = await buildInlineAgentContract({
|
|
97
|
-
fileSystem: fs,
|
|
98
|
-
logger: inlineAgentPackagerLogger,
|
|
99
|
-
projectPath: agentDir,
|
|
100
|
-
outputPath
|
|
101
|
-
});
|
|
102
|
-
const bindingsJson = normalizePackagingBindingsJson(built.bindingsJson);
|
|
103
|
-
if (!bindingsJson) {
|
|
104
|
-
throw new Error("Agent packager returned an invalid binding contract");
|
|
105
|
-
}
|
|
106
|
-
return { agentJson: built.agentJson, bindingsJson };
|
|
107
|
-
} finally {
|
|
108
|
-
const [cleanupError] = await catchError(fs.rm(outputPath, { recursive: true }));
|
|
109
|
-
if (cleanupError) {
|
|
110
|
-
logger.debug(`Could not remove inline-agent contract directory ${outputPath}: ${cleanupError.message}`);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
async function inlineAgentExists(fs, projectDir, source) {
|
|
115
|
-
const agentJsonPath = fs.path.join(projectDir, source, "agent.json");
|
|
116
|
-
return fs.exists(agentJsonPath);
|
|
117
|
-
}
|
|
118
|
-
async function packageInlineAgents(fs, projectDir, nodes) {
|
|
119
|
-
const result = [];
|
|
120
|
-
for (const node of nodes) {
|
|
121
|
-
if (!isInlineAgentNodeType(node.type))
|
|
122
|
-
continue;
|
|
123
|
-
const source = readInlineAgentSource(node);
|
|
124
|
-
if (!source)
|
|
125
|
-
continue;
|
|
126
|
-
if (/[/\\.]/.test(source))
|
|
127
|
-
continue;
|
|
128
|
-
if (!await inlineAgentExists(fs, projectDir, source))
|
|
129
|
-
continue;
|
|
130
|
-
const contract = await createInlineAgentContract(fs, fs.path.join(projectDir, source));
|
|
131
|
-
const inputSchema = contract.agentJson.inputSchema ?? {
|
|
132
|
-
type: "object",
|
|
133
|
-
properties: {}
|
|
134
|
-
};
|
|
135
|
-
const outputSchema = contract.agentJson.outputSchema ?? {
|
|
136
|
-
type: "object",
|
|
137
|
-
properties: {}
|
|
138
|
-
};
|
|
139
|
-
result.push({
|
|
140
|
-
source,
|
|
141
|
-
entryPoint: {
|
|
142
|
-
filePath: `content/${source}/agent.json`,
|
|
143
|
-
uniqueId: contract.agentJson.projectId ?? source,
|
|
144
|
-
type: EntryPointType.Agent,
|
|
145
|
-
input: inputSchema,
|
|
146
|
-
output: outputSchema,
|
|
147
|
-
displayName: contract.agentJson.name ?? "Agent"
|
|
148
|
-
},
|
|
149
|
-
agentJson: contract.agentJson,
|
|
150
|
-
bindingsJson: contract.bindingsJson
|
|
151
|
-
});
|
|
152
|
-
logger.info(`Packaged inline agent "${source}" for entry-points`);
|
|
153
|
-
}
|
|
154
|
-
return result;
|
|
155
|
-
}
|
|
156
|
-
async function stageInlineAgentPackageFiles(fs, sourceProjectPath, stagingProjectDir, inlineAgents, formatLogMessage) {
|
|
157
|
-
for (const agent of inlineAgents) {
|
|
158
|
-
const srcDir = fs.path.join(sourceProjectPath, agent.source);
|
|
159
|
-
const destDir = fs.path.join(stagingProjectDir, agent.source);
|
|
160
|
-
if (fs.path.resolve(srcDir) !== fs.path.resolve(destDir) && await fs.exists(srcDir)) {
|
|
161
|
-
await fs.copyDirectory(srcDir, destDir);
|
|
162
|
-
}
|
|
163
|
-
const agentBuilderDir = fs.path.join(destDir, ".agent-builder");
|
|
164
|
-
await ensureDirectory(fs, agentBuilderDir);
|
|
165
|
-
await fs.writeFile(fs.path.join(agentBuilderDir, "agent.json"), JSON.stringify({
|
|
166
|
-
...agent.agentJson,
|
|
167
|
-
resources: agent.agentJson.resources ?? [],
|
|
168
|
-
features: agent.agentJson.features ?? []
|
|
169
|
-
}, null, 2));
|
|
170
|
-
await fs.writeFile(fs.path.join(agentBuilderDir, "bindings.json"), `${JSON.stringify(agent.bindingsJson ?? emptyPackagingBindingsJson(), null, 2)}
|
|
171
|
-
`);
|
|
172
|
-
logger.info(formatLogMessage(agent.source));
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
function buildInlineAgentDescriptors(nodes) {
|
|
176
|
-
const out = [];
|
|
177
|
-
for (const node of nodes) {
|
|
178
|
-
if (!isInlineAgentNodeType(node.type))
|
|
179
|
-
continue;
|
|
180
|
-
const source = readInlineAgentSource(node);
|
|
181
|
-
if (!source)
|
|
182
|
-
continue;
|
|
183
|
-
const label = node.display?.label ?? "Agent";
|
|
184
|
-
out.push({
|
|
185
|
-
name: label,
|
|
186
|
-
agentProjectId: source,
|
|
187
|
-
isConversational: isConversationalOrVoiceAgentNodeType(node.type),
|
|
188
|
-
entryPointPath: `${source}/agent.json`
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
return out;
|
|
192
|
-
}
|
|
193
|
-
async function writePackagingArtifacts(fs, projectDir, projectId, packagingNodes, bindings, variables, bpmnFileName, startEventId, flowFileName, definitions = [], options = {}) {
|
|
194
|
-
const { entryPoints } = await writePackagingArtifactsDetailed(fs, projectDir, projectId, packagingNodes, bindings, variables, bpmnFileName, startEventId, flowFileName, definitions, options);
|
|
195
|
-
return entryPoints;
|
|
196
|
-
}
|
|
197
|
-
async function writePackagingArtifactsDetailed(fs, projectDir, projectId, packagingNodes, bindings, variables, bpmnFileName, startEventId, flowFileName, definitions = [], options = {}) {
|
|
198
|
-
const flowEntryPoints = getEntryPoints(bpmnFileName, packagingNodes, variables, definitions, ProjectType.Flow);
|
|
199
|
-
const entryPoints = [
|
|
200
|
-
...flowEntryPoints,
|
|
201
|
-
...options.additionalEntryPoints ?? []
|
|
202
|
-
];
|
|
203
|
-
await fs.writeFile(fs.path.join(projectDir, "entry-points.json"), `${JSON.stringify(generateEntryPointsJson(entryPoints), null, 2)}
|
|
204
|
-
`);
|
|
205
|
-
const bindingResources = getBindingResources(packagingNodes, bindings, definitions);
|
|
206
|
-
const bindingsJson = normalizePackagingBindingsJson(generateBindingsJson(bindingResources)) ?? emptyPackagingBindingsJson();
|
|
207
|
-
const stagedBindingsJson = mergePackagingBindingsJson([
|
|
208
|
-
bindingsJson,
|
|
209
|
-
...options.additionalBindingsJsons ?? []
|
|
210
|
-
]);
|
|
211
|
-
await fs.writeFile(fs.path.join(projectDir, "bindings_v2.json"), `${JSON.stringify(stagedBindingsJson, null, 2)}
|
|
212
|
-
`);
|
|
213
|
-
const mainEntryPoint = `/${bpmnFileName}#${startEventId}`;
|
|
214
|
-
const operateJson = withRuntimeProfile(generateOperateJson(projectId, mainEntryPoint, operateRuntimeOptions(packagingNodes)), options.profile ?? "Standard" /* Standard */);
|
|
215
|
-
await fs.writeFile(fs.path.join(projectDir, "operate.json"), `${JSON.stringify(operateJson, null, 2)}
|
|
216
|
-
`);
|
|
217
|
-
const packageDescriptorJson = options.packageDescriptorJson ?? {
|
|
218
|
-
$schema: "https://cloud.uipath.com/draft/2024-12/package-descriptor",
|
|
219
|
-
files: {
|
|
220
|
-
"operate.json": "operate.json",
|
|
221
|
-
"entry-points.json": "entry-points.json",
|
|
222
|
-
"bindings.json": "bindings_v2.json",
|
|
223
|
-
[bpmnFileName]: bpmnFileName,
|
|
224
|
-
...flowFileName ? { [flowFileName]: flowFileName } : {}
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
await fs.writeFile(fs.path.join(projectDir, "package-descriptor.json"), `${JSON.stringify(packageDescriptorJson, null, 2)}
|
|
228
|
-
`);
|
|
229
|
-
return { entryPoints, bindingsJson: stagedBindingsJson };
|
|
230
|
-
}
|
|
231
|
-
function backfillNodeModelsFromDefinitions(nodes, definitions) {
|
|
232
|
-
if (definitions.length === 0)
|
|
233
|
-
return nodes;
|
|
234
|
-
const definitionByType = new Map;
|
|
235
|
-
for (const def of definitions) {
|
|
236
|
-
if (def?.nodeType)
|
|
237
|
-
definitionByType.set(def.nodeType, def);
|
|
238
|
-
}
|
|
239
|
-
return nodes.map((n) => {
|
|
240
|
-
if (n.model)
|
|
241
|
-
return n;
|
|
242
|
-
const def = definitionByType.get(n.type);
|
|
243
|
-
if (!def?.model)
|
|
244
|
-
return n;
|
|
245
|
-
return { ...n, model: def.model };
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
async function regenerateBindingsFile(fs, flowFilePath) {
|
|
249
|
-
const absolutePath = fs.path.resolve(flowFilePath);
|
|
250
|
-
const projectDir = fs.path.dirname(absolutePath);
|
|
251
|
-
const content = await fs.readFile(absolutePath, "utf-8");
|
|
252
|
-
if (!content) {
|
|
253
|
-
throw new Error(`Could not read .flow file at ${absolutePath}`);
|
|
254
|
-
}
|
|
255
|
-
const [parseErr, flowData] = catchError(() => JSON.parse(content));
|
|
256
|
-
if (parseErr) {
|
|
257
|
-
throw new Error(`Failed to parse .flow file at ${absolutePath}: ${parseErr.message}`);
|
|
258
|
-
}
|
|
259
|
-
const packagingNodes = backfillNodeModelsFromDefinitions(fileNodesToPackagingNodes(flowData.nodes ?? []), flowData.definitions ?? []);
|
|
260
|
-
const bindingResources = getBindingResources(packagingNodes, flowData.bindings ?? [], flowData.definitions ?? []);
|
|
261
|
-
await fs.writeFile(fs.path.join(projectDir, "bindings_v2.json"), `${JSON.stringify(generateBindingsJson(bindingResources), null, 2)}
|
|
262
|
-
`);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
export { fileNodesToPackagingNodes, packageInlineAgents, stageInlineAgentPackageFiles, buildInlineAgentDescriptors, writePackagingArtifacts, writePackagingArtifactsDetailed, regenerateBindingsFile };
|
|
266
|
-
|
|
267
|
-
//# debugId=1A42D1D632F238BA64756E2164756E21
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// ../case-tool/src/services/connector-task-types.ts
|
|
2
|
-
var CONNECTOR_TASK_TYPES = new Set([
|
|
3
|
-
"execute-connector-activity",
|
|
4
|
-
"wait-for-connector"
|
|
5
|
-
]);
|
|
6
|
-
var SERVICE_TYPE_BY_TASK = {
|
|
7
|
-
"execute-connector-activity": "Intsvc.ActivityExecution",
|
|
8
|
-
"wait-for-connector": "Intsvc.WaitForEvent"
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { CONNECTOR_TASK_TYPES, SERVICE_TYPE_BY_TASK };
|
|
12
|
-
|
|
13
|
-
//# debugId=855CDC331781E19064756E2164756E21
|