@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,144 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getAgentProjectMetadataReader
|
|
3
|
-
} from "./packager-tool-8qp60s20.js";
|
|
4
1
|
import {
|
|
5
2
|
ConnectionsApi,
|
|
6
3
|
ElementsApi,
|
|
7
4
|
createApiClient,
|
|
8
5
|
getConnectorActivityMetadataV4,
|
|
9
6
|
isV4ActivityConfiguration
|
|
10
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-ajth6af3.js";
|
|
8
|
+
import {
|
|
9
|
+
buildInSolutionNodes,
|
|
10
|
+
findSolutionFromCwd,
|
|
11
|
+
unknownContractWarning
|
|
12
|
+
} from "./packager-tool-0z498fh0.js";
|
|
11
13
|
import {
|
|
12
14
|
listKnownSdkNodes
|
|
13
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-5hnx28q0.js";
|
|
14
16
|
import {
|
|
15
17
|
MANIFEST_FEATURE_FLAGS,
|
|
16
|
-
ManifestClient
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./packager-tool-
|
|
18
|
+
ManifestClient
|
|
19
|
+
} from "./packager-tool-9c2hte0h.js";
|
|
20
|
+
import {
|
|
21
|
+
searchWithFilters
|
|
22
|
+
} from "./packager-tool-7hw344bt.js";
|
|
21
23
|
import {
|
|
22
24
|
getLoginStatusAsync
|
|
23
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-yn33pw57.js";
|
|
24
26
|
import {
|
|
25
27
|
resolveMaestroRegistry
|
|
26
|
-
} from "./packager-tool-
|
|
28
|
+
} from "./packager-tool-tgh9btcq.js";
|
|
27
29
|
import {
|
|
28
30
|
UIPATH_HOME_DIR,
|
|
29
31
|
hashContent,
|
|
30
32
|
logger
|
|
31
|
-
} from "./packager-tool-
|
|
33
|
+
} from "./packager-tool-zgm0r4yp.js";
|
|
32
34
|
import {
|
|
33
35
|
getFileSystem
|
|
34
|
-
} from "./packager-tool-
|
|
36
|
+
} from "./packager-tool-hdxtgckw.js";
|
|
35
37
|
import {
|
|
36
38
|
catchError
|
|
37
|
-
} from "./packager-tool-
|
|
38
|
-
|
|
39
|
-
// ../maestro-sdk/src/registry/filter-engine.ts
|
|
40
|
-
function filterNodes(nodes, parsedFilters) {
|
|
41
|
-
if (!parsedFilters.filters || parsedFilters.filters.length === 0) {
|
|
42
|
-
return nodes;
|
|
43
|
-
}
|
|
44
|
-
return nodes.filter((node) => {
|
|
45
|
-
if (parsedFilters.logic === "AND") {
|
|
46
|
-
return parsedFilters.filters.every((condition) => matchesCondition(node, condition));
|
|
47
|
-
} else {
|
|
48
|
-
return parsedFilters.filters.some((condition) => matchesCondition(node, condition));
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
function matchesCondition(node, condition) {
|
|
53
|
-
const fieldValue = getFieldValue(node, condition.field);
|
|
54
|
-
if (fieldValue === null || fieldValue === undefined) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
const searchValue = condition.value.toString().toLowerCase();
|
|
58
|
-
if (Array.isArray(fieldValue)) {
|
|
59
|
-
return matchesArrayField(fieldValue, condition.operator, searchValue);
|
|
60
|
-
}
|
|
61
|
-
const fieldString = fieldValue.toString().toLowerCase();
|
|
62
|
-
switch (condition.operator) {
|
|
63
|
-
case "equals":
|
|
64
|
-
return fieldString === searchValue;
|
|
65
|
-
case "contains":
|
|
66
|
-
return fieldString.includes(searchValue);
|
|
67
|
-
case "startsWith":
|
|
68
|
-
return fieldString.startsWith(searchValue);
|
|
69
|
-
case "endsWith":
|
|
70
|
-
return fieldString.endsWith(searchValue);
|
|
71
|
-
case "in": {
|
|
72
|
-
const values = searchValue.split(",").map((v) => v.trim());
|
|
73
|
-
return values.includes(fieldString);
|
|
74
|
-
}
|
|
75
|
-
default:
|
|
76
|
-
return fieldString === searchValue;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
function matchesArrayField(arrayValue, operator, searchValue) {
|
|
80
|
-
const lowerArray = arrayValue.map((v) => v.toLowerCase());
|
|
81
|
-
switch (operator) {
|
|
82
|
-
case "equals":
|
|
83
|
-
return lowerArray.includes(searchValue);
|
|
84
|
-
case "contains":
|
|
85
|
-
return lowerArray.some((tag) => tag.includes(searchValue));
|
|
86
|
-
case "in": {
|
|
87
|
-
const values = searchValue.split(",").map((v) => v.trim());
|
|
88
|
-
return lowerArray.some((tag) => values.includes(tag));
|
|
89
|
-
}
|
|
90
|
-
default:
|
|
91
|
-
return lowerArray.includes(searchValue);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
function getFieldValue(node, field) {
|
|
95
|
-
switch (field) {
|
|
96
|
-
case "category":
|
|
97
|
-
return node.category;
|
|
98
|
-
case "type":
|
|
99
|
-
case "nodetype":
|
|
100
|
-
return node.nodeType;
|
|
101
|
-
case "tags":
|
|
102
|
-
return node.tags;
|
|
103
|
-
case "displayname":
|
|
104
|
-
return node.display?.label;
|
|
105
|
-
case "description":
|
|
106
|
-
return node.description ?? node.display?.description;
|
|
107
|
-
default:
|
|
108
|
-
return node[field];
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
function searchWithFilters(nodes, keyword, filters) {
|
|
112
|
-
let results = nodes;
|
|
113
|
-
if (filters && filters.filters.length > 0) {
|
|
114
|
-
results = filterNodes(results, filters);
|
|
115
|
-
}
|
|
116
|
-
if (keyword && keyword.trim() !== "") {
|
|
117
|
-
const lowerKeyword = keyword.toLowerCase();
|
|
118
|
-
results = results.filter((node) => {
|
|
119
|
-
if (node.nodeType?.toLowerCase().includes(lowerKeyword)) {
|
|
120
|
-
return true;
|
|
121
|
-
}
|
|
122
|
-
if (node.category?.toLowerCase().includes(lowerKeyword)) {
|
|
123
|
-
return true;
|
|
124
|
-
}
|
|
125
|
-
if (node.tags?.some((tag) => tag.toLowerCase().includes(lowerKeyword))) {
|
|
126
|
-
return true;
|
|
127
|
-
}
|
|
128
|
-
if (node.display?.label?.toLowerCase().includes(lowerKeyword)) {
|
|
129
|
-
return true;
|
|
130
|
-
}
|
|
131
|
-
if (node.description?.toString().toLowerCase().includes(lowerKeyword)) {
|
|
132
|
-
return true;
|
|
133
|
-
}
|
|
134
|
-
if (node.display?.description?.toLowerCase().includes(lowerKeyword)) {
|
|
135
|
-
return true;
|
|
136
|
-
}
|
|
137
|
-
return false;
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
return results;
|
|
141
|
-
}
|
|
39
|
+
} from "./packager-tool-wv85dhy2.js";
|
|
142
40
|
|
|
143
41
|
// ../maestro-sdk/src/registry/integration-service-fetcher.ts
|
|
144
42
|
function parseContext(node) {
|
|
@@ -477,12 +375,20 @@ async function getPrecacheNode(nodeType, options) {
|
|
|
477
375
|
}
|
|
478
376
|
|
|
479
377
|
// ../maestro-sdk/src/registry/node-storage.ts
|
|
480
|
-
var CACHE_FORMAT_VERSION =
|
|
378
|
+
var CACHE_FORMAT_VERSION = 6;
|
|
481
379
|
var INDEX_FILE = "index.json";
|
|
482
380
|
var METADATA_FILE = "index.meta.json";
|
|
483
381
|
var SEARCH_INDEX_FILE = "search-index.json";
|
|
484
382
|
var ESSENTIALS_INDEX_FILE = "get-essentials.json";
|
|
485
383
|
var WRITE_LOCK_FILE = ".index-write.lock";
|
|
384
|
+
function nodeCacheScope(login) {
|
|
385
|
+
const baseUrl = login.baseUrl?.trim().replace(/\/+$/, "");
|
|
386
|
+
const organizationId = login.organizationId?.trim();
|
|
387
|
+
const tenantId = login.tenantId?.trim();
|
|
388
|
+
if (!baseUrl || !organizationId || !tenantId)
|
|
389
|
+
return;
|
|
390
|
+
return [baseUrl, organizationId, tenantId].join("|").toLowerCase();
|
|
391
|
+
}
|
|
486
392
|
async function resolveNodeStorageDir() {
|
|
487
393
|
const fs = getFileSystem();
|
|
488
394
|
return fs.path.join(fs.env.homedir(), UIPATH_HOME_DIR, "nodes");
|
|
@@ -528,7 +434,7 @@ async function writeTempAndRename(fs, targetPath, content) {
|
|
|
528
434
|
await fs.writeFile(tempPath, content);
|
|
529
435
|
await fs.rename(tempPath, targetPath);
|
|
530
436
|
}
|
|
531
|
-
async function writeNodeArtifacts(fs, dir, nodes) {
|
|
437
|
+
async function writeNodeArtifacts(fs, dir, nodes, scope, missingSources) {
|
|
532
438
|
const indexPath = fs.path.join(dir, INDEX_FILE);
|
|
533
439
|
const searchIndexPath = fs.path.join(dir, SEARCH_INDEX_FILE);
|
|
534
440
|
const essentialsIndexPath = fs.path.join(dir, ESSENTIALS_INDEX_FILE);
|
|
@@ -541,7 +447,9 @@ async function writeNodeArtifacts(fs, dir, nodes) {
|
|
|
541
447
|
lastSync: Date.now(),
|
|
542
448
|
nodeCount: nodes.length,
|
|
543
449
|
hash,
|
|
544
|
-
cacheVersion: CACHE_FORMAT_VERSION
|
|
450
|
+
cacheVersion: CACHE_FORMAT_VERSION,
|
|
451
|
+
...scope && { scope },
|
|
452
|
+
...missingSources?.length && { missingSources }
|
|
545
453
|
});
|
|
546
454
|
await writeTempAndRename(fs, searchIndexPath, searchContent);
|
|
547
455
|
await writeTempAndRename(fs, essentialsIndexPath, essentialsContent);
|
|
@@ -549,7 +457,7 @@ async function writeNodeArtifacts(fs, dir, nodes) {
|
|
|
549
457
|
await writeTempAndRename(fs, metaPath, metadataContent);
|
|
550
458
|
return nodes.length;
|
|
551
459
|
}
|
|
552
|
-
async function saveNodeIndex(nodes) {
|
|
460
|
+
async function saveNodeIndex(nodes, scope, missingSources) {
|
|
553
461
|
const fs = getFileSystem();
|
|
554
462
|
const dir = await resolveNodeStorageDir();
|
|
555
463
|
await fs.mkdir(dir);
|
|
@@ -558,7 +466,7 @@ async function saveNodeIndex(nodes) {
|
|
|
558
466
|
let result;
|
|
559
467
|
let writeError;
|
|
560
468
|
try {
|
|
561
|
-
result = await writeNodeArtifacts(fs, dir, nodes);
|
|
469
|
+
result = await writeNodeArtifacts(fs, dir, nodes, scope, missingSources);
|
|
562
470
|
} catch (error) {
|
|
563
471
|
writeError = error;
|
|
564
472
|
}
|
|
@@ -572,6 +480,49 @@ async function saveNodeIndex(nodes) {
|
|
|
572
480
|
}
|
|
573
481
|
return result;
|
|
574
482
|
}
|
|
483
|
+
async function commitNodeIndex(nodes, scope, missingSources) {
|
|
484
|
+
const fs = getFileSystem();
|
|
485
|
+
const dir = await resolveNodeStorageDir();
|
|
486
|
+
await fs.mkdir(dir);
|
|
487
|
+
const releaseLock = await fs.acquireLock(fs.path.join(dir, WRITE_LOCK_FILE));
|
|
488
|
+
const [writeError, count] = await catchError((async () => {
|
|
489
|
+
const current = await loadIndexMetadata();
|
|
490
|
+
const hash = await hashContent(JSON.stringify(nodes));
|
|
491
|
+
if (current && current.cacheVersion === CACHE_FORMAT_VERSION && current.hash === hash && current.scope === scope && await areDerivedArtifactsCurrent()) {
|
|
492
|
+
const { missingSources: _previous, ...rest } = current;
|
|
493
|
+
await writeTempAndRename(fs, fs.path.join(dir, METADATA_FILE), JSON.stringify({
|
|
494
|
+
...rest,
|
|
495
|
+
lastSync: Date.now(),
|
|
496
|
+
...missingSources?.length && { missingSources }
|
|
497
|
+
}));
|
|
498
|
+
return current.nodeCount;
|
|
499
|
+
}
|
|
500
|
+
return writeNodeArtifacts(fs, dir, nodes, scope, missingSources);
|
|
501
|
+
})());
|
|
502
|
+
const [releaseError] = await catchError(releaseLock());
|
|
503
|
+
if (writeError)
|
|
504
|
+
throw writeError;
|
|
505
|
+
if (releaseError)
|
|
506
|
+
throw releaseError;
|
|
507
|
+
return count;
|
|
508
|
+
}
|
|
509
|
+
async function loadScopedNodeIndex(scope) {
|
|
510
|
+
const metadata = await loadIndexMetadata();
|
|
511
|
+
if (!metadata || metadata.cacheVersion !== CACHE_FORMAT_VERSION || metadata.scope !== scope) {
|
|
512
|
+
return null;
|
|
513
|
+
}
|
|
514
|
+
const fs = getFileSystem();
|
|
515
|
+
const indexPath = fs.path.join(await resolveNodeStorageDir(), INDEX_FILE);
|
|
516
|
+
const [readError, content] = await catchError(fs.readFile(indexPath, "utf-8"));
|
|
517
|
+
if (readError || content === null)
|
|
518
|
+
return null;
|
|
519
|
+
if (await hashContent(content) !== metadata.hash)
|
|
520
|
+
return null;
|
|
521
|
+
const [parseError, nodes] = catchError(() => JSON.parse(content));
|
|
522
|
+
if (parseError || !Array.isArray(nodes))
|
|
523
|
+
return null;
|
|
524
|
+
return { nodes, metadata };
|
|
525
|
+
}
|
|
575
526
|
async function loadNodeIndex() {
|
|
576
527
|
const fs = getFileSystem();
|
|
577
528
|
const dir = await resolveNodeStorageDir();
|
|
@@ -668,246 +619,101 @@ async function areDerivedArtifactsCurrent() {
|
|
|
668
619
|
return essentialsIndex !== null;
|
|
669
620
|
}
|
|
670
621
|
async function rederiveNodeIndexArtifacts() {
|
|
671
|
-
const
|
|
672
|
-
|
|
622
|
+
const fs = getFileSystem();
|
|
623
|
+
const dir = await resolveNodeStorageDir();
|
|
624
|
+
await fs.mkdir(dir);
|
|
625
|
+
const releaseLock = await fs.acquireLock(fs.path.join(dir, WRITE_LOCK_FILE));
|
|
626
|
+
const [rederiveError, count] = await catchError((async () => {
|
|
627
|
+
const nodes = await loadNodeIndex();
|
|
628
|
+
const metadata = await loadIndexMetadata();
|
|
629
|
+
const hash = await hashContent(JSON.stringify(nodes));
|
|
630
|
+
const sameNodes = metadata !== null && metadata.hash === hash;
|
|
631
|
+
const scope = sameNodes ? metadata.scope : undefined;
|
|
632
|
+
return writeNodeArtifacts(fs, dir, nodes, scope, sameNodes ? metadata.missingSources : undefined);
|
|
633
|
+
})());
|
|
634
|
+
const [releaseError] = await catchError(releaseLock());
|
|
635
|
+
if (rederiveError)
|
|
636
|
+
throw rederiveError;
|
|
637
|
+
if (releaseError)
|
|
638
|
+
throw releaseError;
|
|
639
|
+
return count;
|
|
673
640
|
}
|
|
674
641
|
|
|
675
|
-
// ../maestro-sdk/src/registry/
|
|
676
|
-
var
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
if (rel !== "" && !rel.startsWith("..") && !fs.path.isAbsolute(rel)) {
|
|
688
|
-
return p.Id;
|
|
689
|
-
}
|
|
642
|
+
// ../maestro-sdk/src/registry/node-sync-service.ts
|
|
643
|
+
var MANIFEST_VALIDATION_SOURCE = "manifest validation";
|
|
644
|
+
var MANIFEST_VALIDATION_NEXT_STEP = "Fix or remove the tenant resource named in the validation error, then run 'registry pull' again.";
|
|
645
|
+
var TENANT_MANIFEST_INVALID = "TenantManifestInvalid";
|
|
646
|
+
|
|
647
|
+
class TenantManifestInvalidError extends Error {
|
|
648
|
+
code = TENANT_MANIFEST_INVALID;
|
|
649
|
+
ootbNodes;
|
|
650
|
+
constructor(failures, ootbNodes = []) {
|
|
651
|
+
super(`The tenant manifest failed validation, so only OOTB nodes are available (${failures.map((f) => `${f.source}: ${f.reason}`).join("; ")}). ${MANIFEST_VALIDATION_NEXT_STEP}`);
|
|
652
|
+
this.name = "TenantManifestInvalidError";
|
|
653
|
+
this.ootbNodes = ootbNodes;
|
|
690
654
|
}
|
|
691
|
-
return;
|
|
692
655
|
}
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
const cwd = fs.env.cwd();
|
|
696
|
-
const dirsToCheck = [
|
|
697
|
-
cwd,
|
|
698
|
-
fs.path.resolve(cwd, ".."),
|
|
699
|
-
fs.path.resolve(cwd, "../..")
|
|
700
|
-
];
|
|
701
|
-
for (const dir of dirsToCheck) {
|
|
702
|
-
const [readErr, entries] = await catchError(fs.readdir(dir));
|
|
703
|
-
if (readErr)
|
|
704
|
-
continue;
|
|
705
|
-
const uipxName = entries.find((e) => e.endsWith(".uipx"));
|
|
706
|
-
if (!uipxName)
|
|
707
|
-
continue;
|
|
708
|
-
const uipxPath = fs.path.join(dir, uipxName);
|
|
709
|
-
const [fileErr, content] = await catchError(fs.readFile(uipxPath, "utf-8"));
|
|
710
|
-
if (fileErr || !content)
|
|
711
|
-
continue;
|
|
712
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
713
|
-
if (parseErr || !parsed.SolutionId)
|
|
714
|
-
continue;
|
|
715
|
-
const projects = parsed.Projects ?? [];
|
|
716
|
-
return {
|
|
717
|
-
solutionId: parsed.SolutionId,
|
|
718
|
-
solutionDir: dir,
|
|
719
|
-
projects,
|
|
720
|
-
currentProjectId: findEnclosingProjectId(dir, projects, cwd)
|
|
721
|
-
};
|
|
722
|
-
}
|
|
723
|
-
return null;
|
|
656
|
+
function isTenantManifestInvalidError(error) {
|
|
657
|
+
return error instanceof Error && error.code === TENANT_MANIFEST_INVALID;
|
|
724
658
|
}
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
return
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
return fromBuild;
|
|
736
|
-
return EMPTY_IO;
|
|
737
|
-
}
|
|
738
|
-
async function readEntryPointsFile(...candidates) {
|
|
739
|
-
const fs = getFileSystem();
|
|
740
|
-
for (const filePath of candidates) {
|
|
741
|
-
const [err, content] = await catchError(fs.readFile(filePath, "utf-8"));
|
|
742
|
-
if (err || !content)
|
|
743
|
-
continue;
|
|
744
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
745
|
-
if (parseErr || !parsed.entryPoints?.length)
|
|
746
|
-
continue;
|
|
747
|
-
return extractIOFromEntryPoints(parsed);
|
|
659
|
+
var MAX_FAILURE_REASON_LENGTH = 500;
|
|
660
|
+
function stringifyReason(reason) {
|
|
661
|
+
if (reason instanceof Error)
|
|
662
|
+
return reason.message;
|
|
663
|
+
if (typeof reason === "string")
|
|
664
|
+
return reason;
|
|
665
|
+
try {
|
|
666
|
+
return JSON.stringify(reason) ?? String(reason);
|
|
667
|
+
} catch {
|
|
668
|
+
return String(reason);
|
|
748
669
|
}
|
|
749
|
-
return;
|
|
750
670
|
}
|
|
751
|
-
|
|
752
|
-
const
|
|
753
|
-
|
|
754
|
-
if (readErr || !Array.isArray(entries))
|
|
755
|
-
return;
|
|
756
|
-
const flowFileName = entries.find((entry) => entry.endsWith(".flow"));
|
|
757
|
-
if (!flowFileName)
|
|
758
|
-
return;
|
|
759
|
-
const flowPath = fs.path.join(projectDir, flowFileName);
|
|
760
|
-
const [readFileErr, content] = await catchError(fs.readFile(flowPath, "utf-8"));
|
|
761
|
-
if (readFileErr || !content)
|
|
762
|
-
return;
|
|
763
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
764
|
-
if (parseErr)
|
|
765
|
-
return;
|
|
766
|
-
const globals = parsed.variables?.globals;
|
|
767
|
-
if (!Array.isArray(globals) || globals.length === 0)
|
|
768
|
-
return;
|
|
769
|
-
const inputProps = {};
|
|
770
|
-
const outputProps = {};
|
|
771
|
-
for (const variable of globals) {
|
|
772
|
-
if (!variable?.id || !variable.direction)
|
|
773
|
-
continue;
|
|
774
|
-
const schema = {
|
|
775
|
-
type: variable.type ?? "string"
|
|
776
|
-
};
|
|
777
|
-
if (variable.description) {
|
|
778
|
-
schema.description = variable.description;
|
|
779
|
-
}
|
|
780
|
-
if (variable.direction === "in" || variable.direction === "inout") {
|
|
781
|
-
inputProps[variable.id] = schema;
|
|
782
|
-
}
|
|
783
|
-
if (variable.direction === "out" || variable.direction === "inout") {
|
|
784
|
-
outputProps[variable.id] = schema;
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
const hasInputs = Object.keys(inputProps).length > 0;
|
|
788
|
-
const hasOutputs = Object.keys(outputProps).length > 0;
|
|
789
|
-
if (!hasInputs && !hasOutputs)
|
|
790
|
-
return;
|
|
791
|
-
const synthetic = {
|
|
792
|
-
entryPoints: [
|
|
793
|
-
{
|
|
794
|
-
filePath: flowFileName,
|
|
795
|
-
input: hasInputs ? { type: "object", properties: inputProps } : undefined,
|
|
796
|
-
output: hasOutputs ? { type: "object", properties: outputProps } : undefined
|
|
797
|
-
}
|
|
798
|
-
]
|
|
799
|
-
};
|
|
800
|
-
return extractIOFromEntryPoints(synthetic);
|
|
671
|
+
function describeFailureReason(reason) {
|
|
672
|
+
const text = stringifyReason(reason);
|
|
673
|
+
return text.length > MAX_FAILURE_REASON_LENGTH ? `${text.slice(0, MAX_FAILURE_REASON_LENGTH)}...` : text;
|
|
801
674
|
}
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
808
|
-
if (!parseErr && parsed.Name)
|
|
809
|
-
return parsed.Name;
|
|
810
|
-
}
|
|
811
|
-
return fs.path.basename(projectDir);
|
|
675
|
+
function toPullFailures(failures) {
|
|
676
|
+
return failures.map((failure) => ({
|
|
677
|
+
source: failure.source,
|
|
678
|
+
reason: describeFailureReason(failure.reason)
|
|
679
|
+
}));
|
|
812
680
|
}
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
const [dirErr, typeDirs] = await catchError(fs.readdir(processDir));
|
|
818
|
-
if (dirErr)
|
|
819
|
-
return map;
|
|
820
|
-
for (const typeDir of typeDirs) {
|
|
821
|
-
const typePath = fs.path.join(processDir, typeDir);
|
|
822
|
-
const [filesErr, files] = await catchError(fs.readdir(typePath));
|
|
823
|
-
if (filesErr)
|
|
824
|
-
continue;
|
|
825
|
-
for (const file of files) {
|
|
826
|
-
if (!file.endsWith(".json"))
|
|
827
|
-
continue;
|
|
828
|
-
const filePath = fs.path.join(typePath, file);
|
|
829
|
-
const [readErr, content] = await catchError(fs.readFile(filePath, "utf-8"));
|
|
830
|
-
if (readErr || !content)
|
|
831
|
-
continue;
|
|
832
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
833
|
-
if (parseErr)
|
|
834
|
-
continue;
|
|
835
|
-
const projectKey = parsed.resource?.projectKey;
|
|
836
|
-
const resourceKey = parsed.resource?.key;
|
|
837
|
-
if (projectKey && resourceKey) {
|
|
838
|
-
map.set(projectKey, resourceKey);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
681
|
+
var CACHE_EXPIRATION = 30 * 60 * 1000;
|
|
682
|
+
function loginScope(loginStatus) {
|
|
683
|
+
if (loginStatus.loginStatus !== "Logged in" || !loginStatus.accessToken) {
|
|
684
|
+
return;
|
|
841
685
|
}
|
|
842
|
-
return
|
|
686
|
+
return nodeCacheScope(loginStatus);
|
|
843
687
|
}
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
const manifests = [];
|
|
847
|
-
const resourceKeyMap = await loadResourceKeyMap(ctx.solutionDir);
|
|
848
|
-
for (const project of ctx.projects) {
|
|
849
|
-
if (ctx.currentProjectId && project.Id === ctx.currentProjectId)
|
|
850
|
-
continue;
|
|
851
|
-
const serviceType = getServiceType(project.Type);
|
|
852
|
-
if (!serviceType)
|
|
853
|
-
continue;
|
|
854
|
-
const projectDir = fs.path.resolve(ctx.solutionDir, fs.path.dirname(project.ProjectRelativePath));
|
|
855
|
-
const reader = getAgentProjectMetadataReader();
|
|
856
|
-
const [name, io, projectMetadata] = await Promise.all([
|
|
857
|
-
readProjectName(projectDir),
|
|
858
|
-
readProjectEntryPointIO(projectDir),
|
|
859
|
-
reader ? reader(projectDir, project.Type).catch((err) => {
|
|
860
|
-
logger.debug(`Agent metadata reader failed for ${projectDir}: ${String(err)}`);
|
|
861
|
-
return {};
|
|
862
|
-
}) : Promise.resolve({})
|
|
863
|
-
]);
|
|
864
|
-
const resourceKey = resourceKeyMap.get(project.Id) ?? project.Id;
|
|
865
|
-
const task = {
|
|
866
|
-
name,
|
|
867
|
-
type: serviceType,
|
|
868
|
-
resourceKey,
|
|
869
|
-
inputs: io.inputs,
|
|
870
|
-
outputs: io.outputs,
|
|
871
|
-
metadata: {
|
|
872
|
-
...projectMetadata,
|
|
873
|
-
description: `(In-solution) ${name}`,
|
|
874
|
-
key: resourceKey,
|
|
875
|
-
name,
|
|
876
|
-
tags: ["in-solution", "local"],
|
|
877
|
-
projectId: project.Id,
|
|
878
|
-
entryPointUniqueId: io.entryPointUniqueId,
|
|
879
|
-
inputProperties: io.inputProperties
|
|
880
|
-
}
|
|
881
|
-
};
|
|
882
|
-
const nodes = taskDefinitionsToNodeManifests({ [resourceKey]: task }, project.Type);
|
|
883
|
-
manifests.push(...nodes);
|
|
884
|
-
}
|
|
885
|
-
return manifests;
|
|
688
|
+
function isFreshFor(meta, scope) {
|
|
689
|
+
return meta !== null && scope !== undefined && meta.scope === scope && Date.now() - meta.lastSync < CACHE_EXPIRATION;
|
|
886
690
|
}
|
|
887
|
-
|
|
888
|
-
// ../maestro-sdk/src/registry/node-sync-service.ts
|
|
889
|
-
var CACHE_EXPIRATION = 30 * 60 * 1000;
|
|
890
691
|
function isMissingIndexError(error) {
|
|
891
692
|
return error.message.includes("No node index found") || error.message.includes("Node index is outdated");
|
|
892
693
|
}
|
|
893
694
|
async function pullNodes(options = {}) {
|
|
894
695
|
const { force = false } = options;
|
|
696
|
+
const loginStatus = await getLoginStatusAsync();
|
|
895
697
|
if (force) {
|
|
896
|
-
const refreshResult2 = await refreshNodes();
|
|
698
|
+
const refreshResult2 = await refreshNodes(loginStatus);
|
|
897
699
|
const meta2 = await loadIndexMetadata();
|
|
898
700
|
return {
|
|
899
701
|
syncedCount: refreshResult2.nodeCount || meta2?.nodeCount || 0,
|
|
900
702
|
fromCache: false,
|
|
901
703
|
source: refreshResult2.source,
|
|
902
704
|
cacheWritten: refreshResult2.cacheWritten,
|
|
903
|
-
info: refreshResult2.info
|
|
705
|
+
info: refreshResult2.info,
|
|
706
|
+
failures: refreshResult2.failures,
|
|
707
|
+
missingSources: refreshResult2.missingSources
|
|
904
708
|
};
|
|
905
709
|
}
|
|
906
710
|
const meta = await loadIndexMetadata();
|
|
711
|
+
const scope = loginScope(loginStatus);
|
|
907
712
|
if (meta) {
|
|
908
713
|
const ageMs = Date.now() - meta.lastSync;
|
|
909
714
|
let needsRefresh = false;
|
|
910
|
-
if (
|
|
715
|
+
if (isFreshFor(meta, scope)) {
|
|
716
|
+
let syncedCount = meta.nodeCount;
|
|
911
717
|
if (!await areDerivedArtifactsCurrent()) {
|
|
912
718
|
const [rederiveError, nodeCount] = await catchError(rederiveNodeIndexArtifacts());
|
|
913
719
|
if (rederiveError) {
|
|
@@ -916,71 +722,49 @@ async function pullNodes(options = {}) {
|
|
|
916
722
|
}
|
|
917
723
|
needsRefresh = true;
|
|
918
724
|
} else {
|
|
919
|
-
|
|
920
|
-
syncedCount: nodeCount,
|
|
921
|
-
fromCache: true,
|
|
922
|
-
ageMinutes: Math.round(ageMs / 60000)
|
|
923
|
-
};
|
|
725
|
+
syncedCount = nodeCount;
|
|
924
726
|
}
|
|
925
727
|
}
|
|
926
|
-
|
|
728
|
+
const current = await loadIndexMetadata();
|
|
729
|
+
if (!needsRefresh && isFreshFor(current, scope)) {
|
|
927
730
|
return {
|
|
928
|
-
syncedCount
|
|
731
|
+
syncedCount,
|
|
929
732
|
fromCache: true,
|
|
930
|
-
ageMinutes: Math.round(ageMs / 60000)
|
|
733
|
+
ageMinutes: Math.round(ageMs / 60000),
|
|
734
|
+
missingSources: current.missingSources
|
|
931
735
|
};
|
|
932
736
|
}
|
|
933
737
|
}
|
|
934
738
|
}
|
|
935
|
-
const refreshResult = await refreshNodes();
|
|
739
|
+
const refreshResult = await refreshNodes(loginStatus);
|
|
936
740
|
const refreshedMeta = await loadIndexMetadata();
|
|
937
741
|
return {
|
|
938
742
|
syncedCount: refreshResult.nodeCount || refreshedMeta?.nodeCount || 0,
|
|
939
743
|
fromCache: false,
|
|
940
744
|
source: refreshResult.source,
|
|
941
745
|
cacheWritten: refreshResult.cacheWritten,
|
|
942
|
-
info: refreshResult.info
|
|
746
|
+
info: refreshResult.info,
|
|
747
|
+
failures: refreshResult.failures,
|
|
748
|
+
missingSources: refreshResult.missingSources
|
|
943
749
|
};
|
|
944
750
|
}
|
|
945
|
-
async function refreshNodes() {
|
|
946
|
-
const
|
|
947
|
-
const pullResult = await pullRemoteNodes();
|
|
948
|
-
const allNodes = pullResult.nodes;
|
|
751
|
+
async function refreshNodes(loginStatus) {
|
|
752
|
+
const pullResult = await pullRemoteNodes(loginStatus);
|
|
949
753
|
if (!pullResult.cacheable) {
|
|
950
754
|
return {
|
|
951
755
|
cacheWritten: false,
|
|
952
|
-
nodeCount:
|
|
756
|
+
nodeCount: pullResult.nodes.length,
|
|
953
757
|
source: pullResult.source,
|
|
954
|
-
info: pullResult.info
|
|
758
|
+
info: pullResult.info,
|
|
759
|
+
failures: pullResult.failures
|
|
955
760
|
};
|
|
956
761
|
}
|
|
957
|
-
const
|
|
958
|
-
const newHash = await hashContent(content);
|
|
959
|
-
if (oldMeta && oldMeta.hash === newHash) {
|
|
960
|
-
if (!await areDerivedArtifactsCurrent()) {
|
|
961
|
-
await saveNodeIndex(allNodes);
|
|
962
|
-
return {
|
|
963
|
-
cacheWritten: true,
|
|
964
|
-
nodeCount: allNodes.length,
|
|
965
|
-
source: pullResult.source
|
|
966
|
-
};
|
|
967
|
-
}
|
|
968
|
-
await saveIndexMetadata({
|
|
969
|
-
lastSync: Date.now(),
|
|
970
|
-
nodeCount: oldMeta.nodeCount,
|
|
971
|
-
hash: oldMeta.hash
|
|
972
|
-
});
|
|
973
|
-
return {
|
|
974
|
-
cacheWritten: true,
|
|
975
|
-
nodeCount: oldMeta.nodeCount,
|
|
976
|
-
source: pullResult.source
|
|
977
|
-
};
|
|
978
|
-
}
|
|
979
|
-
await saveNodeIndex(allNodes);
|
|
762
|
+
const nodeCount = await commitNodeIndex(pullResult.nodes, pullResult.scope, pullResult.missingSources);
|
|
980
763
|
return {
|
|
981
764
|
cacheWritten: true,
|
|
982
|
-
nodeCount
|
|
983
|
-
source: pullResult.source
|
|
765
|
+
nodeCount,
|
|
766
|
+
source: pullResult.source,
|
|
767
|
+
missingSources: pullResult.missingSources
|
|
984
768
|
};
|
|
985
769
|
}
|
|
986
770
|
var ENABLED_MANIFEST_FLAGS = new Set([
|
|
@@ -1002,18 +786,18 @@ var ENABLED_MANIFEST_FLAGS = new Set([
|
|
|
1002
786
|
MANIFEST_FEATURE_FLAGS.UPDATE_ENTITY,
|
|
1003
787
|
MANIFEST_FEATURE_FLAGS.DELETE_ENTITY
|
|
1004
788
|
]);
|
|
1005
|
-
async function pullRemoteNodes() {
|
|
1006
|
-
|
|
789
|
+
async function pullRemoteNodes(loginStatus) {
|
|
790
|
+
loginStatus ??= await getLoginStatusAsync();
|
|
1007
791
|
const client = new ManifestClient({
|
|
1008
792
|
baseUrl: loginStatus.baseUrl || "localhost",
|
|
1009
793
|
getFeatureFlag: (flag) => ENABLED_MANIFEST_FLAGS.has(flag)
|
|
1010
794
|
});
|
|
1011
795
|
if (loginStatus.loginStatus !== "Logged in" || !loginStatus.baseUrl || !loginStatus.accessToken || !loginStatus.tenantId || !loginStatus.organizationId) {
|
|
1012
|
-
const
|
|
796
|
+
const manifest = await client.getManifest({
|
|
1013
797
|
inlineAgentNodes: true
|
|
1014
798
|
});
|
|
1015
799
|
return {
|
|
1016
|
-
nodes:
|
|
800
|
+
nodes: manifest.nodes || [],
|
|
1017
801
|
source: "ootb",
|
|
1018
802
|
cacheable: false,
|
|
1019
803
|
info: "Using OOTB nodes because you are not logged in. Cache was not updated."
|
|
@@ -1024,7 +808,7 @@ async function pullRemoteNodes() {
|
|
|
1024
808
|
tenantId: loginStatus.tenantId,
|
|
1025
809
|
organizationId: loginStatus.organizationId
|
|
1026
810
|
};
|
|
1027
|
-
const [manifestError,
|
|
811
|
+
const [manifestError, diagnostics] = await catchError(client.getManifestWithDiagnostics({
|
|
1028
812
|
auth: authContext,
|
|
1029
813
|
includeIntegrationTriggers: true,
|
|
1030
814
|
inlineAgentNodes: true,
|
|
@@ -1032,10 +816,32 @@ async function pullRemoteNodes() {
|
|
|
1032
816
|
excludeIntsvcConnectorHttpRequest: true
|
|
1033
817
|
}));
|
|
1034
818
|
if (!manifestError) {
|
|
819
|
+
const nodes = diagnostics.manifest.nodes || [];
|
|
820
|
+
if (diagnostics.failures.length === 0) {
|
|
821
|
+
return {
|
|
822
|
+
nodes,
|
|
823
|
+
source: "authenticated",
|
|
824
|
+
cacheable: true,
|
|
825
|
+
scope: nodeCacheScope(loginStatus)
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
const failures = toPullFailures(diagnostics.failures);
|
|
829
|
+
const ootbOnly = failures.some((failure) => failure.source === MANIFEST_VALIDATION_SOURCE);
|
|
830
|
+
if (!ootbOnly) {
|
|
831
|
+
return {
|
|
832
|
+
nodes,
|
|
833
|
+
source: "authenticated",
|
|
834
|
+
cacheable: true,
|
|
835
|
+
scope: nodeCacheScope(loginStatus),
|
|
836
|
+
missingSources: failures
|
|
837
|
+
};
|
|
838
|
+
}
|
|
1035
839
|
return {
|
|
1036
|
-
nodes
|
|
1037
|
-
source: "
|
|
1038
|
-
cacheable:
|
|
840
|
+
nodes,
|
|
841
|
+
source: "ootb",
|
|
842
|
+
cacheable: false,
|
|
843
|
+
failures,
|
|
844
|
+
info: "The tenant manifest failed validation; using OOTB nodes without updating cache."
|
|
1039
845
|
};
|
|
1040
846
|
}
|
|
1041
847
|
const fallbackManifest = await client.getManifest({
|
|
@@ -1055,19 +861,78 @@ async function getNodesWithCacheFallback() {
|
|
|
1055
861
|
throw error;
|
|
1056
862
|
}
|
|
1057
863
|
const pullResult = await pullRemoteNodes();
|
|
864
|
+
if (pullResult.failures?.length) {
|
|
865
|
+
throw new TenantManifestInvalidError(pullResult.failures, pullResult.nodes);
|
|
866
|
+
}
|
|
1058
867
|
if (pullResult.cacheable) {
|
|
1059
|
-
await saveNodeIndex(pullResult.nodes);
|
|
868
|
+
await saveNodeIndex(pullResult.nodes, pullResult.scope, pullResult.missingSources);
|
|
1060
869
|
}
|
|
1061
870
|
return pullResult.nodes;
|
|
1062
871
|
}
|
|
1063
872
|
return nodes;
|
|
1064
873
|
}
|
|
1065
|
-
async function
|
|
874
|
+
async function loadCurrentTenantNodes(options = {}) {
|
|
875
|
+
const [loginError, readStatus] = await catchError(getLoginStatusAsync());
|
|
876
|
+
const loginStatus = loginError ? { loginStatus: "Not logged in" } : readStatus;
|
|
877
|
+
const scope = loginScope(loginStatus);
|
|
878
|
+
if (!options.force && scope !== undefined) {
|
|
879
|
+
const [, cached] = await catchError(loadScopedNodeIndex(scope));
|
|
880
|
+
if (cached && isFreshFor(cached.metadata, scope)) {
|
|
881
|
+
return { nodes: cached.nodes, fromCache: true, source: "cache" };
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
const pullResult = await pullRemoteNodes(loginStatus);
|
|
885
|
+
if (pullResult.cacheable) {
|
|
886
|
+
await catchError(commitNodeIndex(pullResult.nodes, pullResult.scope, pullResult.missingSources));
|
|
887
|
+
}
|
|
888
|
+
return {
|
|
889
|
+
nodes: pullResult.nodes,
|
|
890
|
+
fromCache: false,
|
|
891
|
+
source: pullResult.source,
|
|
892
|
+
info: pullResult.info
|
|
893
|
+
};
|
|
894
|
+
}
|
|
895
|
+
async function getLocalSolutionSnapshot() {
|
|
1066
896
|
const ctx = await findSolutionFromCwd();
|
|
1067
897
|
if (!ctx) {
|
|
1068
898
|
throw new Error("No .uipx solution file found in current directory, its parent, or its grandparent. " + "Run this command from inside a solution project directory.");
|
|
1069
899
|
}
|
|
1070
|
-
return
|
|
900
|
+
return buildInSolutionNodes(ctx);
|
|
901
|
+
}
|
|
902
|
+
async function getLocalSolutionNodes() {
|
|
903
|
+
return (await getLocalSolutionSnapshot()).manifests;
|
|
904
|
+
}
|
|
905
|
+
function localContractWarning(snapshot, shown) {
|
|
906
|
+
const types = new Set(shown.map((n) => n.nodeType).filter((t) => typeof t === "string").map((t) => t.toLowerCase()));
|
|
907
|
+
return unknownContractWarning(snapshot.unknownContracts.filter((p) => p.nodeTypes.some((t) => types.has(t.toLowerCase()))));
|
|
908
|
+
}
|
|
909
|
+
function filterNodesByKeyword(nodes, keyword) {
|
|
910
|
+
const lowerKeyword = keyword.toLowerCase();
|
|
911
|
+
return nodes.filter((node) => {
|
|
912
|
+
if (node.nodeType?.toLowerCase().includes(lowerKeyword)) {
|
|
913
|
+
return true;
|
|
914
|
+
}
|
|
915
|
+
if (node.category?.toLowerCase().includes(lowerKeyword)) {
|
|
916
|
+
return true;
|
|
917
|
+
}
|
|
918
|
+
if (node.tags?.some((tag) => tag.toLowerCase().includes(lowerKeyword))) {
|
|
919
|
+
return true;
|
|
920
|
+
}
|
|
921
|
+
if (node.display?.label?.toLowerCase().includes(lowerKeyword)) {
|
|
922
|
+
return true;
|
|
923
|
+
}
|
|
924
|
+
if (node.description?.toLowerCase().includes(lowerKeyword)) {
|
|
925
|
+
return true;
|
|
926
|
+
}
|
|
927
|
+
if (node.display?.description?.toLowerCase().includes(lowerKeyword)) {
|
|
928
|
+
return true;
|
|
929
|
+
}
|
|
930
|
+
return false;
|
|
931
|
+
});
|
|
932
|
+
}
|
|
933
|
+
function findNodeByType(nodes, nodeType) {
|
|
934
|
+
const lowerNodeType = nodeType.toLowerCase();
|
|
935
|
+
return nodes.find((node) => node.nodeType?.toLowerCase() === lowerNodeType) ?? null;
|
|
1071
936
|
}
|
|
1072
937
|
async function listNodes(options) {
|
|
1073
938
|
if (options?.local)
|
|
@@ -1178,28 +1043,7 @@ async function searchNodes(keyword, options) {
|
|
|
1178
1043
|
const tenantNodes = await getNodesWithCacheFallback();
|
|
1179
1044
|
nodes = unionWithKnownSdkNodes(tenantNodes);
|
|
1180
1045
|
}
|
|
1181
|
-
|
|
1182
|
-
return nodes.filter((node) => {
|
|
1183
|
-
if (node.nodeType?.toLowerCase().includes(lowerKeyword)) {
|
|
1184
|
-
return true;
|
|
1185
|
-
}
|
|
1186
|
-
if (node.category?.toLowerCase().includes(lowerKeyword)) {
|
|
1187
|
-
return true;
|
|
1188
|
-
}
|
|
1189
|
-
if (node.tags?.some((tag) => tag.toLowerCase().includes(lowerKeyword))) {
|
|
1190
|
-
return true;
|
|
1191
|
-
}
|
|
1192
|
-
if (node.display?.label?.toLowerCase().includes(lowerKeyword)) {
|
|
1193
|
-
return true;
|
|
1194
|
-
}
|
|
1195
|
-
if (node.description?.toLowerCase().includes(lowerKeyword)) {
|
|
1196
|
-
return true;
|
|
1197
|
-
}
|
|
1198
|
-
if (node.display?.description?.toLowerCase().includes(lowerKeyword)) {
|
|
1199
|
-
return true;
|
|
1200
|
-
}
|
|
1201
|
-
return false;
|
|
1202
|
-
});
|
|
1046
|
+
return filterNodesByKeyword(nodes, keyword);
|
|
1203
1047
|
}
|
|
1204
1048
|
async function getNode(nodeType, options) {
|
|
1205
1049
|
const lowerNodeType = nodeType.toLowerCase();
|
|
@@ -1210,13 +1054,23 @@ async function getNode(nodeType, options) {
|
|
|
1210
1054
|
}
|
|
1211
1055
|
if (!options?.local && isEssentialNodeType(nodeType)) {
|
|
1212
1056
|
const essentials = await loadEssentialsIndexWithRepair();
|
|
1213
|
-
const
|
|
1214
|
-
if (
|
|
1215
|
-
return
|
|
1057
|
+
const node = essentials?.find((node2) => node2.nodeType?.toLowerCase() === lowerNodeType) ?? null;
|
|
1058
|
+
if (node)
|
|
1059
|
+
return node;
|
|
1060
|
+
}
|
|
1061
|
+
if (options?.local) {
|
|
1062
|
+
return findNodeByType(await getLocalSolutionNodes(), nodeType);
|
|
1216
1063
|
}
|
|
1217
|
-
const nodes =
|
|
1218
|
-
|
|
1219
|
-
|
|
1064
|
+
const [error, nodes] = await catchError(getNodesWithCacheFallback());
|
|
1065
|
+
if (error) {
|
|
1066
|
+
if (error instanceof TenantManifestInvalidError) {
|
|
1067
|
+
const ootbNode = findNodeByType(error.ootbNodes, nodeType);
|
|
1068
|
+
if (ootbNode)
|
|
1069
|
+
return ootbNode;
|
|
1070
|
+
}
|
|
1071
|
+
throw error;
|
|
1072
|
+
}
|
|
1073
|
+
return findNodeByType(nodes, nodeType);
|
|
1220
1074
|
}
|
|
1221
1075
|
async function getNodeEnriched(nodeType, connectionId, options) {
|
|
1222
1076
|
const node = await getNode(nodeType, options);
|
|
@@ -1225,6 +1079,16 @@ async function getNodeEnriched(nodeType, connectionId, options) {
|
|
|
1225
1079
|
}
|
|
1226
1080
|
return await enrichConnectorNode(node, connectionId);
|
|
1227
1081
|
}
|
|
1082
|
+
async function getLocalNodeEnriched(nodeType, connectionId) {
|
|
1083
|
+
const snapshot = await getLocalSolutionSnapshot();
|
|
1084
|
+
const node = findNodeByType(snapshot.manifests, nodeType);
|
|
1085
|
+
if (!node)
|
|
1086
|
+
return { node: null };
|
|
1087
|
+
return {
|
|
1088
|
+
node: await enrichConnectorNode(node, connectionId),
|
|
1089
|
+
warning: localContractWarning(snapshot, [node])
|
|
1090
|
+
};
|
|
1091
|
+
}
|
|
1228
1092
|
async function searchNodesWithFilters(keyword, filters, options) {
|
|
1229
1093
|
let nodes;
|
|
1230
1094
|
if (options?.local) {
|
|
@@ -1236,6 +1100,6 @@ async function searchNodesWithFilters(keyword, filters, options) {
|
|
|
1236
1100
|
return searchWithFilters(nodes, keyword, filters);
|
|
1237
1101
|
}
|
|
1238
1102
|
|
|
1239
|
-
export {
|
|
1103
|
+
export { isConnectorNode, isConnectorTriggerNode, extractTriggerEventParameters, extractTriggerFilterFields, extractActivityFilterFields, fetchConnectorTriggerMetadata, getConnectorConfiguration, getConnectorInfo, fetchConnectionInfo, fetchConnectorMetadata, fetchConnectorActivityMetadataV4, enrichConnectorNode, resolveNodeStorageDir, saveNodeIndex, loadNodeIndex, saveIndexMetadata, loadIndexMetadata, MANIFEST_VALIDATION_NEXT_STEP, TenantManifestInvalidError, isTenantManifestInvalidError, pullNodes, pullRemoteNodes, loadCurrentTenantNodes, getLocalSolutionSnapshot, localContractWarning, filterNodesByKeyword, findNodeByType, listNodes, searchNodeSummariesWithAvailability, searchNodes, getNode, getNodeEnriched, getLocalNodeEnriched, searchNodesWithFilters };
|
|
1240
1104
|
|
|
1241
|
-
//# debugId=
|
|
1105
|
+
//# debugId=180FED5FE70A2D2564756E2164756E21
|