@uipath/maestro-tool 1.202.2 → 1.203.0-preview.180
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 +8 -0
- package/dist/THIRD-PARTY-NOTICES.md +83 -290
- package/dist/{authoring-818595dq.js → authoring-at68vr5g.js} +7 -5
- package/dist/{authoring-6r3wx3fa.js → authoring-sh284a0x.js} +3 -3
- package/dist/{authoring-61hqf5em.js → authoring-szfy0rh1.js} +5 -5
- package/dist/{binding-service-643e69bb.js → binding-service-8a05gy4k.js} +37 -29
- package/dist/{bpmn-action-type-validator-kx36sqhe.js → bpmn-action-type-validator-8kvyvvcf.js} +2 -2
- package/dist/bpmn-binding-resolver-5scq28mc.js +145 -0
- package/dist/{bpmn-branch-y1m9f10n.js → bpmn-branch-t12a7jvf.js} +50 -44
- package/dist/bpmn-format-service-ay6jd9he.js +69 -0
- package/dist/{bpmn-refresh-service-ew545y06.js → bpmn-refresh-service-ak1ctkwg.js} +4 -4
- package/dist/{bpmn-update-metadata-service-jhahhjab.js → bpmn-update-metadata-service-hqe4edze.js} +6 -5
- package/dist/{bpmn-validate-service-6z2dj8ac.js → bpmn-validate-service-48sfy3a2.js} +3 -3
- package/dist/{case-api-4mstfkzf.js → case-api-e3fmq685.js} +6 -6
- package/dist/case-bindings-service-nswc6v0v.js +240 -0
- package/dist/case-debug-studio-web-service-58gtqznh.js +135 -0
- package/dist/case-format-service-6s5e1ckk.js +84 -0
- package/dist/{case-pack-service-v7wtb0qt.js → case-pack-service-sg435he1.js} +62 -11
- package/dist/{case-validate-service-bnpaf0zt.js → case-validate-service-7s69shsa.js} +1424 -42
- package/dist/{connector-enrichment-service-scrqnke3.js → connector-enrichment-service-9rqr3esj.js} +27 -26
- package/dist/{connector-lookup-service-hnk08t3m.js → connector-lookup-service-pencasp9.js} +5 -5
- package/dist/{connector-service-581bhxaj.js → connector-service-k4cgcv2b.js} +224 -56
- package/dist/{connector-task-spec-y2tcthz5.js → connector-task-spec-13ex0x0m.js} +27 -26
- package/dist/{conversion-FQTRFHRX-03xh3xbp.js → conversion-FQTRFHRX-0y9br7gw.js} +6 -5
- package/dist/de-FGHEJRCI-gn4cf5gh.js +2697 -0
- package/dist/de-MUJPA4EB-dpg7t2rw.js +173 -0
- package/dist/{debug-conversation-trigger-nj04k7s2.js → debug-conversation-trigger-wgzjaasj.js} +17 -14
- package/dist/{debug-http-client-c4teyma3.js → debug-http-client-7dvbwp96.js} +2 -2
- package/dist/{debug-service-m5jdyz3q.js → debug-service-8cwxhgww.js} +3 -3
- package/dist/{edge-service-vv2yfsn4.js → edge-service-szpsaezp.js} +17 -14
- package/dist/{index-yqfqxh2r.js → embedded-file-reader-0sjt4nkj.js} +96 -16641
- package/dist/{en-TBNO2WUV-rfe87pgh.js → en-BWGKA5OE-1qkvb9rn.js} +2 -2
- package/dist/en-FBPVNKFN-dqt573xn.js +138 -0
- package/dist/en-TBNO2WUV-9nan43e5.js +1936 -0
- package/dist/{enrichment-service-a65qt7y1.js → enrichment-service-7n1tf75p.js} +4 -4
- package/dist/es-7SE7HX2X-8yh1aj2y.js +173 -0
- package/dist/es-KR3ZSNMP-0cszm2n3.js +2697 -0
- package/dist/es-MX-2MYFZU7X-3rek4r73.js +173 -0
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +2697 -0
- package/dist/first-party-service-srxaftkn.js +27 -0
- package/dist/{flow-api-vqvvs0q2.js → flow-api-4vkpbmt3.js} +7 -7
- package/dist/{flow-debug-service-vd7bdyhg.js → flow-debug-service-9tad5ckh.js} +66 -41
- package/dist/{flow-eval-node-target-mve3v55h.js → flow-eval-node-target-g222rh2e.js} +22 -15
- package/dist/flow-eval-run-api-hashjgq1.js +13 -0
- package/dist/{flow-eval-run-service-rt9kg4wx.js → flow-eval-run-service-btghb02r.js} +109 -224
- package/dist/{flow-eval-service-ededh59n.js → flow-eval-service-ma5psrsd.js} +346 -302
- package/dist/{flow-init-service-4ve9tr0t.js → flow-init-service-662zhfd3.js} +22 -18
- package/dist/{flow-io-2dd3sx38.js → flow-io-3cqz0svg.js} +16 -13
- package/dist/{flow-migrate-service-nbe6et60.js → flow-migrate-service-ehx7nmsr.js} +18 -14
- package/dist/{flow-pack-service-b2n877d8.js → flow-pack-service-a3w3489r.js} +43 -35
- package/dist/flow-validate-service-02e21w4d.js +3555 -0
- package/dist/fr-MDFKNZ4C-h4a122k9.js +173 -0
- package/dist/fr-Y6NPVODW-q5ef3htr.js +2697 -0
- package/dist/{governance-fetcher-at165287.js → governance-fetcher-7vxmap1e.js} +5 -4
- package/dist/{headless-85f2cys0.js → headless-627q5my5.js} +42909 -1756
- package/dist/{hitl-service-xn1bt80z.js → hitl-service-fn94tk6z.js} +16 -13
- package/dist/{index-hfsfzg4k.js → index-3arytfxn.js} +6 -4
- package/dist/{index-d1yqqk6q.js → index-55cym5j7.js} +6 -4
- package/dist/{index-0j6xww0f.js → index-9f94yk28.js} +3 -3
- package/dist/{index-1kgxzh8x.js → index-fz4ttsde.js} +14 -2
- package/dist/index-gvwc29bb.js +16742 -0
- package/dist/{index-mkgrn150.js → index-j1azsfr5.js} +36 -33
- package/dist/index-kmp9fmhb.js +25 -0
- package/dist/{index-938ee96p.js → index-rtg24r4x.js} +1 -1
- package/dist/index-tzccx5ym.js +2961 -0
- package/dist/{index-acd6bpqc.js → index-ymsd3pyx.js} +12 -15
- package/dist/index.js +3 -3
- package/dist/{input-reader-1wda1a2v.js → input-reader-7pzkcw6t.js} +1 -1
- package/dist/{input-reader-svafwk7x.js → input-reader-j8rvde4z.js} +1 -1
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +2697 -0
- package/dist/ja-UTQEAP34-8e0q6swp.js +173 -0
- package/dist/known-types-8dhhqk35.js +19 -0
- package/dist/ko-AXCHW2OK-askct7f6.js +173 -0
- package/dist/ko-AYBDSRZG-am0h0m2r.js +2697 -0
- package/dist/{maestro-automate-entry-gwntzkvj.js → maestro-automate-entry-jehpbg37.js} +2 -2
- package/dist/{maestro-debug-service-dvh7qbx8.js → maestro-debug-service-xhtszkrc.js} +10 -10
- package/dist/{maestro-pack-service-fam5zdm3.js → maestro-pack-service-fkkc5g3v.js} +12 -6
- package/dist/{node-ks3095fb.js → node-p4bde6qy.js} +2344 -376
- package/dist/node-service-frvz67y3.js +83 -0
- package/dist/{node-sync-service-zwvm30qg.js → node-sync-service-wa2t7c65.js} +14 -14
- package/dist/{packager-tool-me5q0naa.js → packager-tool-095jzn8v.js} +16 -6
- package/dist/{packager-tool-y5f2qhfe.js → packager-tool-19030vpg.js} +32 -2
- package/dist/{packager-tool-gtqkcj4x.js → packager-tool-2c1rbj85.js} +310 -13
- package/dist/packager-tool-2q1mffef.js +261 -0
- package/dist/{flow-validate-service-0hxf5080.js → packager-tool-2xrng5ff.js} +1956 -3065
- package/dist/{packager-tool-8dgxmjzx.js → packager-tool-30ky51ca.js} +6 -3
- package/dist/{packager-tool-d5mjdpbf.js → packager-tool-4r35ye9r.js} +5 -4
- package/dist/packager-tool-53w8skv5.js +262 -0
- package/dist/{packager-tool-db4jm1rz.js → packager-tool-56gcg9de.js} +1 -1
- package/dist/{packager-tool-29eg86w6.js → packager-tool-6rsegsby.js} +6 -7
- package/dist/packager-tool-7msx23gd.js +13 -0
- package/dist/packager-tool-7q6z6npd.js +1937 -0
- package/dist/packager-tool-8qp60s20.js +12 -0
- package/dist/{packager-tool-s1r7krkp.js → packager-tool-9pccpz3r.js} +1 -1
- package/dist/{packager-tool-m351tkkr.js → packager-tool-c95fhhys.js} +30 -8
- package/dist/{packager-tool-kg5sxneg.js → packager-tool-cmzzh4f8.js} +72 -73
- package/dist/{packager-tool-ffvmys2r.js → packager-tool-cr0z8cbj.js} +5 -5
- package/dist/{packager-tool-8fkt71n4.js → packager-tool-cs1ec1da.js} +4 -3
- package/dist/{packager-tool-xatnrtwp.js → packager-tool-d2813z49.js} +9 -9
- package/dist/packager-tool-d88rqwk8.js +135 -0
- package/dist/{packager-tool-pm3qh1hy.js → packager-tool-dh5nppv4.js} +1 -1
- package/dist/packager-tool-dqxz5v18.js +486 -0
- package/dist/{packager-tool-r87gxwqa.js → packager-tool-e87tzg4y.js} +2 -2
- package/dist/{packager-tool-w9fd7vzs.js → packager-tool-f33sg3vr.js} +9 -9
- package/dist/{packager-tool-cj2ka9jr.js → packager-tool-fer9mdsq.js} +2 -2
- package/dist/{packager-tool-70eh7rpg.js → packager-tool-fm67whdy.js} +23 -5
- package/dist/packager-tool-fq7wtkd3.js +21012 -0
- package/dist/packager-tool-fvm2dddf.js +6297 -0
- package/dist/packager-tool-gdtpsdn7.js +342 -0
- package/dist/{packager-tool-ejyeka5x.js → packager-tool-gpwec9sp.js} +2 -2
- package/dist/{packager-tool-pap09zfh.js → packager-tool-h8x54cvx.js} +1 -1
- package/dist/{packager-tool-9vh3df76.js → packager-tool-hdmhxdch.js} +7 -7
- package/dist/packager-tool-hnyecbk6.js +88 -0
- package/dist/{packager-tool-mtbak8t4.js → packager-tool-j00gcgbs.js} +2 -2
- package/dist/packager-tool-j78fwwhq.js +16 -0
- package/dist/packager-tool-jysvpt8p.js +11 -0
- package/dist/{packager-tool-jfv7t0c8.js → packager-tool-kb554twx.js} +94 -94
- package/dist/{packager-tool-k4x5yn3p.js → packager-tool-khm7zsm8.js} +4 -1
- package/dist/packager-tool-kj0qc4f4.js +269 -0
- package/dist/{packager-tool-12636p2y.js → packager-tool-mcjjj1hk.js} +4 -4
- package/dist/{packager-tool-bftjhmqz.js → packager-tool-mfrdmqmt.js} +124 -2
- package/dist/{packager-tool-qgh5yaeh.js → packager-tool-mj89jhvb.js} +1 -1
- package/dist/{packager-tool-ve35117x.js → packager-tool-mjz4hma1.js} +5791 -176
- package/dist/packager-tool-paq9c70w.js +1332 -0
- package/dist/{packager-tool-d8v984ah.js → packager-tool-q2gwvnf5.js} +15 -56
- package/dist/{packager-tool-nmznynbj.js → packager-tool-qff6ang6.js} +1 -1
- package/dist/{packager-tool-j79gbsee.js → packager-tool-rg5pkkf0.js} +6 -6
- package/dist/{packager-tool-7309ymg1.js → packager-tool-s1466723.js} +10 -13
- package/dist/{packager-tool-54b4v7wp.js → packager-tool-te6rrpsz.js} +205 -195
- package/dist/packager-tool-vcjq9xkc.js +1895 -0
- package/dist/{packager-tool-w20r6n9v.js → packager-tool-vck7ct1e.js} +2877 -2221
- package/dist/{packager-tool-e8td7b01.js → packager-tool-vdc8r21p.js} +10328 -16610
- package/dist/{packager-tool-nxw5yzs7.js → packager-tool-vqcnvaae.js} +1 -1
- package/dist/{packager-tool-7rz102fw.js → packager-tool-wd01egnx.js} +1 -1
- package/dist/{packager-tool-gxqd24n0.js → packager-tool-wger1vt9.js} +7 -7
- package/dist/{packager-tool-a6yfnjgx.js → packager-tool-wynrdnqj.js} +1 -1
- package/dist/packager-tool-x0eamrk4.js +104577 -0
- package/dist/packager-tool-x92czn5x.js +208 -0
- package/dist/{packager-tool-am67sn1c.js → packager-tool-xtkgeccn.js} +1 -1
- package/dist/packager-tool-y59jhapb.js +10369 -0
- package/dist/{packager-tool-317z6dc1.js → packager-tool-ydg78w9z.js} +23 -23
- package/dist/{packager-tool-rr8hveb9.js → packager-tool-ygrrb1zh.js} +1 -1
- package/dist/{packager-tool-f0kd5kq4.js → packager-tool-yrsrzz1a.js} +127 -12
- package/dist/{packager-tool-d9dpx9wn.js → packager-tool-z185rq2a.js} +1 -1
- package/dist/{packager-tool-79gws1zn.js → packager-tool-z6nkdv48.js} +270 -24
- package/dist/{packager-tool-802qm7jy.js → packager-tool-zzxt99e4.js} +3 -3
- package/dist/packager-tool.js +75 -218
- package/dist/{project-artifacts-9z7atbk7.js → project-artifacts-h5cydk2n.js} +1 -1
- package/dist/{project-validator-0rkrfmj0.js → project-validator-ek97s27p.js} +1 -1
- package/dist/pt-3DIO5QWG-59b3f4bc.js +173 -0
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +2697 -0
- package/dist/pt-BR-Y6K6XHXK-mp3hwhw1.js +173 -0
- package/dist/pt-ROXU257Y-yd80gx6s.js +2697 -0
- package/dist/{resourcesSyncService-3pajvveg.js → resourcesSyncService-7s92g1hm.js} +28 -27
- package/dist/ro-AVAWPKOO-42m6am1w.js +2697 -0
- package/dist/ro-BWR3ONRR-vzx3hy8a.js +173 -0
- package/dist/ru-GSCT4ARZ-jrxwev63.js +10 -0
- package/dist/ru-WBLQ5B2U-s4em88p0.js +10 -0
- package/dist/sdd-lookup-7h7j2h6v.js +48 -0
- package/dist/{serialization-BXU6AKAN-dk0sqx89.js → serialization-BXU6AKAN-0ghhrsja.js} +6 -5
- package/dist/{shared-utils-twgpb9ax.js → shared-utils-6z7gnnc8.js} +1 -1
- package/dist/{strict-case-rules-zxnq80zm.js → strict-case-rules-byym8cvc.js} +141 -109
- package/dist/strict-sdd-audit-v156c9e3.js +2520 -0
- package/dist/tidy-service-zyy7wxc0.js +39 -0
- package/dist/{tool-pxfafj3m.js → tool-dejjyv8m.js} +213 -51
- package/dist/{tool-td30zmyt.js → tool-v0r5qzcc.js} +106 -146
- package/dist/tool.js +3 -3
- package/dist/tr-5IIHSFW5-hw4cewew.js +173 -0
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +2696 -0
- package/dist/{trigger-enrichment-service-t3wcd12r.js → trigger-enrichment-service-ak1nrz5t.js} +30 -29
- package/dist/{variable-service-2q705dsx.js → variable-service-t9gsp8xs.js} +16 -13
- package/dist/{wait-for-flow-job-sx0ht8sb.js → wait-for-flow-job-1s8ka07s.js} +7 -7
- package/dist/{xml-949787yf.js → xml-3rzcgm9z.js} +1359 -659
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +2697 -0
- package/dist/zh-CN-R2KU4U5L-tc1hat59.js +173 -0
- package/dist/zh-TW-GNKMELBF-j674515r.js +173 -0
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +2697 -0
- package/package.json +3 -2
- package/dist/bpmn-format-service-r67afbny.js +0 -477
- package/dist/case-debug-studio-web-service-kj1797m8.js +0 -336
- package/dist/known-types-eq32py2n.js +0 -20
- package/dist/node-service-teagjd9n.js +0 -75
- package/dist/packager-tool-15bstxb6.js +0 -4192
- package/dist/packager-tool-1zpm7wts.js +0 -7217
- package/dist/packager-tool-7tjxtpfp.js +0 -106
- package/dist/packager-tool-ckhyvcn5.js +0 -58
- package/dist/packager-tool-dz506qqq.js +0 -2120
- package/dist/packager-tool-hpc2j0zw.js +0 -27
- package/dist/packager-tool-jjpc0yka.js +0 -304
- package/dist/packager-tool-xtv236p7.js +0 -73
- package/dist/strict-sdd-audit-zc0n5vj6.js +0 -1024
- package/dist/tidy-service-hc9gex0v.js +0 -36
- /package/dist/{localization-xecwjpe2.js → localization-y790z9vm.js} +0 -0
|
@@ -5,48 +5,38 @@ import {
|
|
|
5
5
|
pendingStallInstructions
|
|
6
6
|
} from "./packager-tool-wbtykfb2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./packager-tool-
|
|
8
|
+
package_default
|
|
9
|
+
} from "./packager-tool-cs1ec1da.js";
|
|
10
10
|
import"./packager-tool-8j9q1nd2.js";
|
|
11
11
|
import {
|
|
12
12
|
VALID_RESOURCE_TYPES
|
|
13
13
|
} from "./packager-tool-s95s0kvg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
evaluatorTypeAliases,
|
|
16
|
+
resolveLoginConfig
|
|
17
|
+
} from "./packager-tool-mfrdmqmt.js";
|
|
18
|
+
import"./packager-tool-7msx23gd.js";
|
|
17
19
|
import {
|
|
18
20
|
registerRegistryCommand
|
|
19
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-dqxz5v18.js";
|
|
20
22
|
import {
|
|
21
23
|
registerSharedDebugInstanceCommands,
|
|
22
24
|
registerSharedIncidentCommands,
|
|
23
25
|
registerSharedInstanceCommands,
|
|
24
26
|
registerSharedProcessCommands,
|
|
25
27
|
registerSharedProcessesCommands
|
|
26
|
-
} from "./packager-tool-
|
|
27
|
-
import"./packager-tool-
|
|
28
|
+
} from "./packager-tool-d2813z49.js";
|
|
29
|
+
import"./packager-tool-9pccpz3r.js";
|
|
28
30
|
import"./packager-tool-eypvc2kv.js";
|
|
29
31
|
import {
|
|
30
32
|
setAgentProjectMetadataReader
|
|
31
|
-
} from "./packager-tool-
|
|
32
|
-
import"./packager-tool-
|
|
33
|
-
import"./packager-tool-pm3qh1hy.js";
|
|
34
|
-
import"./packager-tool-w20r6n9v.js";
|
|
35
|
-
import"./packager-tool-jfv7t0c8.js";
|
|
36
|
-
import"./packager-tool-me5q0naa.js";
|
|
37
|
-
import"./packager-tool-qgh5yaeh.js";
|
|
38
|
-
import"./packager-tool-pap09zfh.js";
|
|
39
|
-
import"./packager-tool-d5mjdpbf.js";
|
|
40
|
-
import"./packager-tool-f0kd5kq4.js";
|
|
33
|
+
} from "./packager-tool-8qp60s20.js";
|
|
34
|
+
import"./packager-tool-yrsrzz1a.js";
|
|
41
35
|
import"./packager-tool-0gctz400.js";
|
|
42
36
|
import"./packager-tool-qa9gftnj.js";
|
|
43
37
|
import"./packager-tool-yc4kw997.js";
|
|
44
|
-
import"./packager-tool-
|
|
45
|
-
import"./packager-tool-
|
|
46
|
-
import"./packager-tool-r87gxwqa.js";
|
|
47
|
-
import"./packager-tool-sc961w0q.js";
|
|
48
|
-
import"./packager-tool-e8td7b01.js";
|
|
49
|
-
import"./packager-tool-p79yh9ww.js";
|
|
38
|
+
import"./packager-tool-095jzn8v.js";
|
|
39
|
+
import"./packager-tool-mj89jhvb.js";
|
|
50
40
|
import {
|
|
51
41
|
ATTACHMENT_INSTRUCTIONS,
|
|
52
42
|
ATTACHMENT_UPLOAD_INSTRUCTIONS,
|
|
@@ -69,12 +59,10 @@ import {
|
|
|
69
59
|
splitPackagedName,
|
|
70
60
|
summarizePlatformBody,
|
|
71
61
|
trackShipSucceeded
|
|
72
|
-
} from "./packager-tool-
|
|
62
|
+
} from "./packager-tool-z6nkdv48.js";
|
|
73
63
|
import {
|
|
74
64
|
getFileSystem
|
|
75
65
|
} from "./packager-tool-0v3s8r01.js";
|
|
76
|
-
import"./packager-tool-4mna26cc.js";
|
|
77
|
-
import"./packager-tool-c23zrhj8.js";
|
|
78
66
|
import {
|
|
79
67
|
__require
|
|
80
68
|
} from "./packager-tool-1yh8g550.js";
|
|
@@ -139,7 +127,7 @@ var BINDING_DELETE_EXAMPLES = [
|
|
|
139
127
|
var registerBindingCommand = (program) => {
|
|
140
128
|
const binding = program.command("binding").description("Manage bindings in a Flow file");
|
|
141
129
|
binding.command("list").description("List all bindings in a Flow file").argument("<file>", "Path to the .flow file").examples(BINDING_LIST_EXAMPLES).trackedAction(processContext, async (file) => {
|
|
142
|
-
const { listBindingsInFlow } = await import("./binding-service-
|
|
130
|
+
const { listBindingsInFlow } = await import("./binding-service-8a05gy4k.js");
|
|
143
131
|
const [error, result] = await catchError(listBindingsInFlow(file));
|
|
144
132
|
if (error) {
|
|
145
133
|
OutputFormatter.error({
|
|
@@ -161,7 +149,7 @@ var registerBindingCommand = (program) => {
|
|
|
161
149
|
});
|
|
162
150
|
binding.command("add").description(`Add a binding to a Flow file.
|
|
163
151
|
` + `Valid resource types: ${VALID_RESOURCE_TYPES.join(", ")}`).argument("<file>", "Path to the .flow file").argument("<name>", "Binding display name").argument("<resource>", "Resource type").argument("<default-value>", "Default value for the binding").option("--resource-key <key>", "Resource catalog identifier").option("--property-attribute <attr>", "Target node property (e.g., name, folderPath, connection)").option("--resource-sub-type <type>", "Resource sub-classification (e.g., Agent, Process)").examples(BINDING_ADD_EXAMPLES).trackedAction(processContext, async (file, name, resource, defaultValue, options) => {
|
|
164
|
-
const { addBindingToFlow } = await import("./binding-service-
|
|
152
|
+
const { addBindingToFlow } = await import("./binding-service-8a05gy4k.js");
|
|
165
153
|
const [error, result] = await catchError(addBindingToFlow(file, name, resource, defaultValue, {
|
|
166
154
|
resourceKey: options.resourceKey,
|
|
167
155
|
propertyAttribute: options.propertyAttribute,
|
|
@@ -185,7 +173,7 @@ var registerBindingCommand = (program) => {
|
|
|
185
173
|
});
|
|
186
174
|
});
|
|
187
175
|
binding.command("remove").description("Remove all bindings with a given resource key from a Flow file").argument("<file>", "Path to the .flow file").argument("<resource-key>", "Resource key of the bindings to remove").examples(BINDING_DELETE_EXAMPLES).trackedAction(processContext, async (file, resourceKey) => {
|
|
188
|
-
const { deleteBindingFromFlow } = await import("./binding-service-
|
|
176
|
+
const { deleteBindingFromFlow } = await import("./binding-service-8a05gy4k.js");
|
|
189
177
|
const [error, result] = await catchError(deleteBindingFromFlow(file, resourceKey));
|
|
190
178
|
if (error) {
|
|
191
179
|
OutputFormatter.error({
|
|
@@ -301,8 +289,8 @@ var CONVERSATIONAL_DEBUG_WARNING = "This flow, which starts on a conversation tr
|
|
|
301
289
|
` + " 2. UiPath Maestro VS Code extension — open the flow and hit Debug.";
|
|
302
290
|
async function projectStartsOnConversationTrigger(projectPath) {
|
|
303
291
|
const [error, found] = await catchError((async () => {
|
|
304
|
-
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-
|
|
305
|
-
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-
|
|
292
|
+
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-3cqz0svg.js");
|
|
293
|
+
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-wgzjaasj.js");
|
|
306
294
|
const flowFilePath = await resolveProjectFlowFile(projectPath);
|
|
307
295
|
const { workflow } = await readFlowWorkflow(flowFilePath);
|
|
308
296
|
return startsOnConversationTrigger(workflow);
|
|
@@ -418,7 +406,7 @@ function parsePositiveIntegerOption(value, optionName) {
|
|
|
418
406
|
}
|
|
419
407
|
function registerDebugCommand(program) {
|
|
420
408
|
program.command("debug").description("Debug a flow project by uploading to Studio Web and running a debug session").argument("<project-path>", "Path to the flow project directory (must contain project.uiproj)").option("--folder-id <id>", "Orchestrator folder ID (OrganizationUnitId) as a positive integer. Mutually exclusive with --folder-key/--folder-path. Auto-detected if none are provided.").option("--folder-key <key>", "Orchestrator folder key (UUID). The CLI resolves it to the folder ID. Mutually exclusive with --folder-id/--folder-path.").option("--folder-path <path>", "Orchestrator folder path (e.g. 'Shared/Sub'). The CLI resolves it to the folder ID. Mutually exclusive with --folder-id/--folder-key.").option("--poll-interval <ms>", "Polling interval in milliseconds", "2000").option("--timeout <seconds>", "Maximum seconds to wait for debug completion").option("-i, --inputs <json>", "Input parameters as JSON string or @file.json").option("--attachment <name=path>", "Upload a file as a file-typed workflow input variable (repeatable). " + "Example: --attachment file1=./resume.pdf", appendOption, []).option("--open-in-browser", "Open the Studio Web URL in the browser once it is known.").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).examples(FLOW_DEBUG_EXAMPLES).trackedAction(processContext, async (projectPath, options) => {
|
|
421
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
409
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
422
410
|
const isConversational = await projectStartsOnConversationTrigger(projectPath);
|
|
423
411
|
if (isConversational) {
|
|
424
412
|
OutputFormatter.log({
|
|
@@ -535,7 +523,7 @@ function registerDebugCommand(program) {
|
|
|
535
523
|
}
|
|
536
524
|
userProvidedFolderId = parsed.value;
|
|
537
525
|
} else if (options.folderKey !== undefined || options.folderPath !== undefined) {
|
|
538
|
-
const { resolveFolder } = await import("./index-
|
|
526
|
+
const { resolveFolder } = await import("./index-9f94yk28.js");
|
|
539
527
|
const [folderError, folder] = await catchError(resolveFolder({
|
|
540
528
|
folderKey: options.folderKey,
|
|
541
529
|
folderPath: options.folderPath
|
|
@@ -573,17 +561,17 @@ function registerDebugCommand(program) {
|
|
|
573
561
|
InboundVoiceDebugError,
|
|
574
562
|
MissingSolutionWrapperError,
|
|
575
563
|
UnregisteredProjectError
|
|
576
|
-
} = await import("./flow-debug-service-
|
|
577
|
-
const { MaestroHttpError } = await import("./debug-http-client-
|
|
564
|
+
} = await import("./flow-debug-service-9tad5ckh.js");
|
|
565
|
+
const { MaestroHttpError } = await import("./debug-http-client-7dvbwp96.js");
|
|
578
566
|
const {
|
|
579
567
|
buildPollTimeoutFailureOutput,
|
|
580
568
|
DebugPollTimeoutError,
|
|
581
569
|
isSuccessfulDebugStatus
|
|
582
|
-
} = await import("./debug-service-
|
|
570
|
+
} = await import("./debug-service-8cwxhgww.js");
|
|
583
571
|
const {
|
|
584
572
|
buildSolutionUploadFailureOutput,
|
|
585
573
|
isSolutionUploadHttpError
|
|
586
|
-
} = await import("./index-
|
|
574
|
+
} = await import("./index-3arytfxn.js");
|
|
587
575
|
const service = new FlowDebugService;
|
|
588
576
|
const parsedPollInterval = parsePositiveNumberOption(options.pollInterval || "2000", "--poll-interval");
|
|
589
577
|
if (!parsedPollInterval.ok) {
|
|
@@ -612,7 +600,7 @@ function registerDebugCommand(program) {
|
|
|
612
600
|
}
|
|
613
601
|
let inputs;
|
|
614
602
|
if (options.inputs) {
|
|
615
|
-
const { parseFlowInputs } = await import("./flow-api-
|
|
603
|
+
const { parseFlowInputs } = await import("./flow-api-4vkpbmt3.js");
|
|
616
604
|
const [parseError, parsed] = await catchError(parseFlowInputs(options.inputs));
|
|
617
605
|
if (parseError) {
|
|
618
606
|
OutputFormatter.error({
|
|
@@ -637,7 +625,7 @@ function registerDebugCommand(program) {
|
|
|
637
625
|
processContext.exit(1);
|
|
638
626
|
return;
|
|
639
627
|
}
|
|
640
|
-
const { uploadJobAttachment } = await import("./index-
|
|
628
|
+
const { uploadJobAttachment } = await import("./index-9f94yk28.js");
|
|
641
629
|
const [uploadError, resolved] = await catchError(resolveAttachmentInputs(specs, (bytes, fileName) => uploadJobAttachment(bytes, fileName, {
|
|
642
630
|
tenant: tenantName
|
|
643
631
|
})));
|
|
@@ -899,7 +887,7 @@ function getDeleteEdgeInstructions(file) {
|
|
|
899
887
|
return `Check that "${file}" exists and run 'uip maestro flow edge list ${file}' to find a valid edge ID, then retry.`;
|
|
900
888
|
}
|
|
901
889
|
async function runDeleteEdge(file, edgeId, code) {
|
|
902
|
-
const { deleteEdgeFromFlow } = await import("./edge-service-
|
|
890
|
+
const { deleteEdgeFromFlow } = await import("./edge-service-szpsaezp.js");
|
|
903
891
|
const normalizedEdgeId = edgeId.trim();
|
|
904
892
|
const [error, result] = await catchError(deleteEdgeFromFlow(file, normalizedEdgeId));
|
|
905
893
|
if (error) {
|
|
@@ -922,7 +910,7 @@ async function runDeleteEdge(file, edgeId, code) {
|
|
|
922
910
|
var registerEdgeCommand = (program) => {
|
|
923
911
|
const edge = program.command("edge").description("Manage edges in a Flow file");
|
|
924
912
|
edge.command("list").description("List all edges in a Flow file").argument("<file>", "Path to the .flow file").examples(EDGE_LIST_EXAMPLES).trackedAction(processContext, async (file) => {
|
|
925
|
-
const { listEdgesInFlow } = await import("./edge-service-
|
|
913
|
+
const { listEdgesInFlow } = await import("./edge-service-szpsaezp.js");
|
|
926
914
|
const [error, result] = await catchError(listEdgesInFlow(file));
|
|
927
915
|
if (error) {
|
|
928
916
|
OutputFormatter.error({
|
|
@@ -943,7 +931,7 @@ var registerEdgeCommand = (program) => {
|
|
|
943
931
|
});
|
|
944
932
|
});
|
|
945
933
|
edge.command("add").description("Add an edge between two nodes in a Flow file").argument("<file>", "Path to the .flow file").argument("<source-id>", "ID of the source node").argument("<target-id>", "ID of the target node").option("--source-port <port>", 'Source port name (defaults to "output")').option("--target-port <port>", 'Target port name (defaults to "input")').examples(EDGE_ADD_EXAMPLES).trackedAction(processContext, async (file, sourceId, targetId, options) => {
|
|
946
|
-
const { addEdgeToFlow } = await import("./edge-service-
|
|
934
|
+
const { addEdgeToFlow } = await import("./edge-service-szpsaezp.js");
|
|
947
935
|
const [error, result] = await catchError(addEdgeToFlow(file, sourceId, targetId, {
|
|
948
936
|
sourcePort: options.sourcePort,
|
|
949
937
|
targetPort: options.targetPort
|
|
@@ -1178,7 +1166,7 @@ function addTargetOptions(command) {
|
|
|
1178
1166
|
return command.requiredOption("--set <name>", "Evaluation set name or ID").option("--solution-id <id>", "Solution ID from Studio Web").option("--project-id <id>", "Flow project ID from Studio Web (reads from parent .uipx or SolutionStorage.json if not provided)").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION, ".");
|
|
1179
1167
|
}
|
|
1180
1168
|
function addStartOptions(command) {
|
|
1181
|
-
return addTargetOptions(command).option("--entry-point <entry>", "
|
|
1169
|
+
return addTargetOptions(command).option("--entry-point <entry>", "Entry point node id — a trigger node id from the .flow file. Defaults to the eval set's selectedEntrypoint").option("--folder-key <key>", "Orchestrator folder key. Uses the personal workspace if not provided.").option("--debug-mode <mode>", "Studio Web debug mode override", (value) => Number.parseInt(value, 10));
|
|
1182
1170
|
}
|
|
1183
1171
|
function outputError(message, error) {
|
|
1184
1172
|
OutputFormatter.error({
|
|
@@ -1189,37 +1177,7 @@ function outputError(message, error) {
|
|
|
1189
1177
|
processContext.exit(1);
|
|
1190
1178
|
}
|
|
1191
1179
|
async function resolveStudioWebConfig() {
|
|
1192
|
-
|
|
1193
|
-
const [loginError, login] = await catchError(getLoginStatusAsync());
|
|
1194
|
-
if (loginError) {
|
|
1195
|
-
throw new Error(loginError.message);
|
|
1196
|
-
}
|
|
1197
|
-
if (login.loginStatus !== "Logged in" || !login.baseUrl) {
|
|
1198
|
-
throw new Error("Not logged in. Run 'uip login' first.");
|
|
1199
|
-
}
|
|
1200
|
-
if (!login.organizationId) {
|
|
1201
|
-
throw new Error("Organization ID not available from login.");
|
|
1202
|
-
}
|
|
1203
|
-
if (!login.tenantId) {
|
|
1204
|
-
throw new Error("Tenant ID not available from login.");
|
|
1205
|
-
}
|
|
1206
|
-
if (!login.tenantName) {
|
|
1207
|
-
throw new Error("Tenant name not available from login.");
|
|
1208
|
-
}
|
|
1209
|
-
if (!login.accessToken) {
|
|
1210
|
-
throw new Error("Access token not available from login.");
|
|
1211
|
-
}
|
|
1212
|
-
if (!login.organizationName) {
|
|
1213
|
-
throw new Error("Organization name not available from login. Required for Studio Web evaluation.");
|
|
1214
|
-
}
|
|
1215
|
-
return {
|
|
1216
|
-
baseUrl: login.baseUrl,
|
|
1217
|
-
organizationId: login.organizationId,
|
|
1218
|
-
tenantId: login.tenantId,
|
|
1219
|
-
tenantName: login.tenantName,
|
|
1220
|
-
authToken: login.accessToken,
|
|
1221
|
-
organizationName: login.organizationName
|
|
1222
|
-
};
|
|
1180
|
+
return resolveLoginConfig();
|
|
1223
1181
|
}
|
|
1224
1182
|
async function pollRemoteEvalSetRun(service, config, workloadId, evalSetRunId, timeoutMs) {
|
|
1225
1183
|
const start = Date.now();
|
|
@@ -1313,7 +1271,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1313
1271
|
addStartOptions(runCmd.command("start").description("Start a Studio Web evaluation run (Flow solution must be available in Studio Web)")).option("--wait", "Wait for the evaluation to complete and show results").option("--timeout <seconds>", "Timeout in seconds for --wait polling", (value) => Number.parseInt(value, 10)).examples(FLOW_EVAL_RUN_START_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
1314
1272
|
const [error] = await catchError((async () => {
|
|
1315
1273
|
const config = await resolveStudioWebConfig();
|
|
1316
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1274
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-btghb02r.js");
|
|
1317
1275
|
const service = new FlowEvalRunService;
|
|
1318
1276
|
const result = await service.startRemoteEvalRun(options.path, options.set, config, {
|
|
1319
1277
|
solutionId: options.solutionId,
|
|
@@ -1345,7 +1303,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1345
1303
|
addTargetOptions(runCmd.command("status").description("Check the status of a Studio Web Flow evaluation run").argument("<evalSetRunId>", "Evaluation set run ID")).examples(FLOW_EVAL_RUN_STATUS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
|
|
1346
1304
|
const [error] = await catchError((async () => {
|
|
1347
1305
|
const config = await resolveStudioWebConfig();
|
|
1348
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1306
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-btghb02r.js");
|
|
1349
1307
|
const service = new FlowEvalRunService;
|
|
1350
1308
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1351
1309
|
const [run, evaluators] = await Promise.all([
|
|
@@ -1371,7 +1329,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1371
1329
|
addTargetOptions(runCmd.command("results").description("Get detailed results for a Studio Web Flow evaluation run").argument("<evalSetRunId>", "Evaluation set run ID")).option("--only-failed", "Show only failed or errored data points").option("--verbose", "Include evaluator justifications in output").option("--export-format <json|csv>", "Export results to file (json or csv)").examples(FLOW_EVAL_RUN_RESULTS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
|
|
1372
1330
|
const [error] = await catchError((async () => {
|
|
1373
1331
|
const config = await resolveStudioWebConfig();
|
|
1374
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1332
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-btghb02r.js");
|
|
1375
1333
|
const service = new FlowEvalRunService;
|
|
1376
1334
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1377
1335
|
let evalRuns = await service.getRemoteEvalRuns(config, target.workloadId, evalSetRunId);
|
|
@@ -1405,7 +1363,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1405
1363
|
addTargetOptions(runCmd.command("list").description("List Studio Web evaluation runs for a Flow eval set")).examples(FLOW_EVAL_RUN_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
1406
1364
|
const [error] = await catchError((async () => {
|
|
1407
1365
|
const config = await resolveStudioWebConfig();
|
|
1408
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1366
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-btghb02r.js");
|
|
1409
1367
|
const service = new FlowEvalRunService;
|
|
1410
1368
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1411
1369
|
const runs = await service.listRemoteEvalSetRuns(config, target.workloadId, target.evalSet.id);
|
|
@@ -1431,7 +1389,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1431
1389
|
addTargetOptions(runCmd.command("compare").description("Compare results of two Studio Web Flow evaluation runs").argument("<evalSetRunId>", "First evaluation set run ID").requiredOption("--compare-to <id>", "Second evaluation set run ID to compare against")).examples(FLOW_EVAL_RUN_COMPARE_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
|
|
1432
1390
|
const [error] = await catchError((async () => {
|
|
1433
1391
|
const config = await resolveStudioWebConfig();
|
|
1434
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1392
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-btghb02r.js");
|
|
1435
1393
|
const service = new FlowEvalRunService;
|
|
1436
1394
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1437
1395
|
const [runsA, runsB, runMetaA, runMetaB] = await Promise.all([
|
|
@@ -1564,7 +1522,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1564
1522
|
const evaluator = evalCmd.command("evaluator").description("Manage Flow evaluators");
|
|
1565
1523
|
evaluator.command("add").description("Add an evaluator to the flow project").argument("<name>", "Evaluator name").requiredOption("--type <type>", `Evaluator type: ${evaluatorTypeAliases().join(", ")}`).option("--description <text>", "Evaluator description").option("--target-key <key>", "Target output key", "*").option("--model <model>", "LLM model for LLM judge evaluators").option("--prompt <prompt>", "Custom LLM judge prompt").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (name, options) => {
|
|
1566
1524
|
const [error] = await catchError((async () => {
|
|
1567
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1525
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1568
1526
|
const service = new FlowEvalService;
|
|
1569
1527
|
const created = await service.addEvaluator(options.path, {
|
|
1570
1528
|
name,
|
|
@@ -1591,7 +1549,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1591
1549
|
});
|
|
1592
1550
|
evaluator.command("list").description("List evaluators in a flow project").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1593
1551
|
const [error] = await catchError((async () => {
|
|
1594
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1552
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1595
1553
|
const service = new FlowEvalService;
|
|
1596
1554
|
const evaluators = await service.listEvaluators(options.path);
|
|
1597
1555
|
OutputFormatter.success({
|
|
@@ -1612,7 +1570,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1612
1570
|
});
|
|
1613
1571
|
evaluator.command("remove").description("Remove an evaluator from a flow project").argument("<id>", "Evaluator ID, name, or file base name").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (id, options) => {
|
|
1614
1572
|
const [error] = await catchError((async () => {
|
|
1615
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1573
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1616
1574
|
const service = new FlowEvalService;
|
|
1617
1575
|
const removed = await service.removeEvaluator(options.path, id);
|
|
1618
1576
|
if (!removed) {
|
|
@@ -1631,10 +1589,10 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1631
1589
|
}
|
|
1632
1590
|
function registerEvalSetCommands(evalCmd) {
|
|
1633
1591
|
const set = evalCmd.command("set").description("Manage evaluation sets");
|
|
1634
|
-
set.command("add").description("Create an evaluation set").argument("<name>", "Evaluation set name").option("--evaluators <refs>", "Comma-separated evaluator IDs or file base names (default: all)").option("--entry-point <id>", "Entry point node id stored as the eval set's selectedEntrypoint. An agent node id creates a node-scoped eval set (evaluates that node in isolation)").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (name, options) => {
|
|
1592
|
+
set.command("add").description("Create an evaluation set").argument("<name>", "Evaluation set name").option("--evaluators <refs>", "Comma-separated evaluator IDs or file base names (default: all)").option("--entry-point <id>", "Entry point node id — a trigger node id from the .flow file (not a BPMN path), stored as the eval set's selectedEntrypoint; defaults to the flow's trigger. An agent node id creates a node-scoped eval set (evaluates that node in isolation)").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (name, options) => {
|
|
1635
1593
|
const [error] = await catchError((async () => {
|
|
1636
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1637
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1594
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1595
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-g222rh2e.js");
|
|
1638
1596
|
const service = new FlowEvalService;
|
|
1639
1597
|
const created = await service.addEvalSet(options.path, {
|
|
1640
1598
|
name,
|
|
@@ -1661,8 +1619,8 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1661
1619
|
});
|
|
1662
1620
|
set.command("list").description("List evaluation sets").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1663
1621
|
const [error] = await catchError((async () => {
|
|
1664
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1665
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1622
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1623
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-g222rh2e.js");
|
|
1666
1624
|
const service = new FlowEvalService;
|
|
1667
1625
|
const sets = await service.listEvalSets(options.path);
|
|
1668
1626
|
OutputFormatter.success({
|
|
@@ -1688,7 +1646,7 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1688
1646
|
});
|
|
1689
1647
|
set.command("remove").description("Remove an evaluation set").argument("<id>", "Evaluation set ID, name, or file base name").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (id, options) => {
|
|
1690
1648
|
const [error] = await catchError((async () => {
|
|
1691
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1649
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1692
1650
|
const service = new FlowEvalService;
|
|
1693
1651
|
const removed = await service.removeEvalSet(options.path, id);
|
|
1694
1652
|
if (!removed) {
|
|
@@ -1708,14 +1666,11 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1708
1666
|
function registerEvaluationCommands(evalCmd) {
|
|
1709
1667
|
evalCmd.command("add").description("Add a data point to an evaluation set").argument("<name>", "Data point name").requiredOption("--set <name>", "Evaluation set name or ID").option("--inputs <json>", "Input values as a JSON object").option("--input-file <key=path>", "Attach a file as input <key>; repeatable", collectInputFile, []).option("--expected <json>", "Expected output as a JSON object").option("--criteria <json>", "Per-evaluator criteria JSON object keyed by evaluator id").option("--search-text <text>", "Search text for contains evaluators").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (name, options) => {
|
|
1710
1668
|
const [error] = await catchError((async () => {
|
|
1711
|
-
if (options.inputs === undefined && options.inputFile.length === 0) {
|
|
1712
|
-
throw new Error("Provide --inputs and/or --input-file");
|
|
1713
|
-
}
|
|
1714
1669
|
const inputs = options.inputs === undefined ? {} : parseJsonObject(options.inputs, "--inputs");
|
|
1715
1670
|
const inputFiles = parseInputFiles(options.inputFile);
|
|
1716
1671
|
const expectedOutput = options.expected ? parseJsonObject(options.expected, "--expected") : undefined;
|
|
1717
1672
|
const criteria = options.criteria ? parseCriteriaOption(options.criteria) : undefined;
|
|
1718
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1673
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1719
1674
|
const service = new FlowEvalService;
|
|
1720
1675
|
const evaluation = await service.addEvaluation(options.path, options.set, {
|
|
1721
1676
|
name,
|
|
@@ -1742,7 +1697,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1742
1697
|
});
|
|
1743
1698
|
evalCmd.command("list").description("List data points in an evaluation set").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1744
1699
|
const [error] = await catchError((async () => {
|
|
1745
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1700
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1746
1701
|
const service = new FlowEvalService;
|
|
1747
1702
|
const evaluations = await service.listEvaluations(options.path, options.set);
|
|
1748
1703
|
OutputFormatter.success({
|
|
@@ -1763,7 +1718,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1763
1718
|
});
|
|
1764
1719
|
evalCmd.command("remove").description("Remove a data point from an evaluation set").argument("<id>", "Data point ID or name").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (id, options) => {
|
|
1765
1720
|
const [error] = await catchError((async () => {
|
|
1766
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1721
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1767
1722
|
const service = new FlowEvalService;
|
|
1768
1723
|
const removed = await service.removeEvaluation(options.path, options.set, id);
|
|
1769
1724
|
if (!removed) {
|
|
@@ -1807,21 +1762,26 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1807
1762
|
simulationInstruction: options.simulationInstructions,
|
|
1808
1763
|
mockValue
|
|
1809
1764
|
};
|
|
1810
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1765
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1811
1766
|
const service = new FlowEvalService;
|
|
1812
1767
|
if (options.parent !== undefined) {
|
|
1813
|
-
const created = await service.addChildSimulation(options.path, options.set, options.dataPoint, options.parent, simulation2);
|
|
1768
|
+
const { simulation: created, warning } = await service.addChildSimulation(options.path, options.set, options.dataPoint, options.parent, simulation2);
|
|
1769
|
+
const data = {
|
|
1770
|
+
ComponentId: created.componentId,
|
|
1771
|
+
ComponentType: created.componentType,
|
|
1772
|
+
Strategy: created.simulationStrategy,
|
|
1773
|
+
Parent: options.parent,
|
|
1774
|
+
DataPoint: options.dataPoint,
|
|
1775
|
+
Set: options.set
|
|
1776
|
+
};
|
|
1777
|
+
if (warning) {
|
|
1778
|
+
data.Warning = warning;
|
|
1779
|
+
OutputFormatter.log({ Warning: warning });
|
|
1780
|
+
}
|
|
1814
1781
|
OutputFormatter.success({
|
|
1815
1782
|
Result: RESULTS.Success,
|
|
1816
1783
|
Code: "FlowEvalChildSimulationAdd",
|
|
1817
|
-
Data:
|
|
1818
|
-
ComponentId: created.componentId,
|
|
1819
|
-
ComponentType: created.componentType,
|
|
1820
|
-
Strategy: created.simulationStrategy,
|
|
1821
|
-
Parent: options.parent,
|
|
1822
|
-
DataPoint: options.dataPoint,
|
|
1823
|
-
Set: options.set
|
|
1824
|
-
}
|
|
1784
|
+
Data: data
|
|
1825
1785
|
});
|
|
1826
1786
|
} else {
|
|
1827
1787
|
const created = await service.addSimulation(options.path, options.set, options.dataPoint, simulation2);
|
|
@@ -1844,7 +1804,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1844
1804
|
});
|
|
1845
1805
|
simulation.command("list").description("List simulations on a data point").requiredOption("--set <name>", "Evaluation set name or ID").requiredOption("--data-point <id>", "Data point name or ID").option("--parent <component-id>", "Parent agent component ID. When set, lists child tool simulations on the parent agent node.").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1846
1806
|
const [error] = await catchError((async () => {
|
|
1847
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1807
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1848
1808
|
const service = new FlowEvalService;
|
|
1849
1809
|
const simulations = options.parent !== undefined ? await service.listChildSimulations(options.path, options.set, options.dataPoint, options.parent) : await service.listSimulations(options.path, options.set, options.dataPoint);
|
|
1850
1810
|
OutputFormatter.success({
|
|
@@ -1866,7 +1826,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1866
1826
|
});
|
|
1867
1827
|
simulation.command("remove").description("Remove a simulation from a data point").argument("<component-id>", "Component ID to remove").requiredOption("--set <name>", "Evaluation set name or ID").requiredOption("--data-point <id>", "Data point name or ID").option("--parent <component-id>", "Parent agent component ID. When set, removes a child tool simulation from the parent agent node.").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (componentId, options) => {
|
|
1868
1828
|
const [error] = await catchError((async () => {
|
|
1869
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1829
|
+
const { FlowEvalService } = await import("./flow-eval-service-ma5psrsd.js");
|
|
1870
1830
|
const service = new FlowEvalService;
|
|
1871
1831
|
const removed = options.parent !== undefined ? await service.removeChildSimulation(options.path, options.set, options.dataPoint, options.parent, componentId) : await service.removeSimulation(options.path, options.set, options.dataPoint, componentId);
|
|
1872
1832
|
if (!removed) {
|
|
@@ -2011,7 +1971,7 @@ var registerHitlCommand = (program) => {
|
|
|
2011
1971
|
}
|
|
2012
1972
|
schema = parsed;
|
|
2013
1973
|
}
|
|
2014
|
-
const { addHitlNode } = await import("./hitl-service-
|
|
1974
|
+
const { addHitlNode } = await import("./hitl-service-fn94tk6z.js");
|
|
2015
1975
|
const [error, result] = await catchError(addHitlNode(file, {
|
|
2016
1976
|
schema,
|
|
2017
1977
|
priority: options.priority,
|
|
@@ -2092,8 +2052,8 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
2092
2052
|
];
|
|
2093
2053
|
var registerInitCommand = (program) => {
|
|
2094
2054
|
program.command("init").description("Create a new Flow project with boilerplate files. If run outside an existing solution, a parent '<name>Solution' is scaffolded automatically and the flow project is created inside it. If run inside an existing solution, the project is added to that solution.").argument("<name>", "Flow project name").option("--force", "Force initialization even if target directory exists and is not empty").option("--skip-solution-registration", "Do not auto-register this project in the surrounding solution").option("--automate", "Create a Maestro Automate project. Same Flow project and the same commands — it only changes the runtime profile written into operate.json.").examples(FLOW_INIT_EXAMPLES).trackedAction(processContext, async (name, options) => {
|
|
2095
|
-
const { flowInitAsync } = await import("./flow-init-service-
|
|
2096
|
-
const { RuntimeProfile } = await import("./maestro-automate-entry-
|
|
2055
|
+
const { flowInitAsync } = await import("./flow-init-service-662zhfd3.js");
|
|
2056
|
+
const { RuntimeProfile } = await import("./maestro-automate-entry-jehpbg37.js");
|
|
2097
2057
|
const [error, result] = await catchError(flowInitAsync(name, {
|
|
2098
2058
|
force: options.force,
|
|
2099
2059
|
skipRegistration: options.skipSolutionRegistration === true,
|
|
@@ -2240,7 +2200,7 @@ function formatFlowJob(job) {
|
|
|
2240
2200
|
function registerJobCommand(program) {
|
|
2241
2201
|
const jobCmd = program.command("job").description("Manage Flow jobs");
|
|
2242
2202
|
jobCmd.command("list").description("List Flow jobs in a folder").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--folder-key <key>", "Folder key (GUID, defaults to authenticated folder)").option("--state <state>", `Filter by job state (${VALID_JOB_STATES.join(", ")})`).option("--process-name <name>", "Filter by Flow process name (contains match)").option("-l, --limit <number>", "Number of items to return", DEFAULT_JOB_LIST_LIMIT).option("--offset <number>", "Number of items to skip", DEFAULT_JOB_LIST_OFFSET).option("--sort-by <field>", "Sort results by field (e.g., 'Id desc')", DEFAULT_JOB_LIST_ORDER_BY).option("--all-fields", "Return all fields from the API response instead of a curated summary").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", (value) => Number.parseInt(value, 10), 10).examples(FLOW_JOB_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
2243
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
2203
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
2244
2204
|
const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
|
|
2245
2205
|
ensureTokenValidityMinutes: options.loginValidity
|
|
2246
2206
|
}));
|
|
@@ -2313,7 +2273,7 @@ function registerJobCommand(program) {
|
|
|
2313
2273
|
tenantId: loginStatus.tenantId,
|
|
2314
2274
|
baseUrl: loginStatus.baseUrl
|
|
2315
2275
|
};
|
|
2316
|
-
const { listFlowJobs } = await import("./flow-api-
|
|
2276
|
+
const { listFlowJobs } = await import("./flow-api-4vkpbmt3.js");
|
|
2317
2277
|
const [listError, jobs] = await catchError(listFlowJobs(config, {
|
|
2318
2278
|
state,
|
|
2319
2279
|
processName: normalizedOptions.processName,
|
|
@@ -2344,7 +2304,7 @@ function registerJobCommand(program) {
|
|
|
2344
2304
|
});
|
|
2345
2305
|
});
|
|
2346
2306
|
jobCmd.command("traces").description("Stream traces for a running job").argument("<job-key>", "Job key (GUID from run command)").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--poll-interval <ms>", "Polling interval in milliseconds", "2000").option("--traces-service <name>", "Traces service name (default: llmopstenant_)", "llmopstenant_").option("--pretty", "Show traces in human-readable format instead of raw JSON").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).trackedAction(processContext, async (jobKey, options) => {
|
|
2347
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
2307
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
2348
2308
|
const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
|
|
2349
2309
|
ensureTokenValidityMinutes: options.loginValidity
|
|
2350
2310
|
}));
|
|
@@ -2400,8 +2360,8 @@ function registerJobCommand(program) {
|
|
|
2400
2360
|
const pollSeconds = pollIntervalMs / 1000;
|
|
2401
2361
|
logger.info(`Streaming traces for job: ${jobKey}
|
|
2402
2362
|
Polling every ${pollSeconds}s...`);
|
|
2403
|
-
const { formatTraceLine } = await import("./shared-utils-
|
|
2404
|
-
const { streamJobTraces } = await import("./flow-api-
|
|
2363
|
+
const { formatTraceLine } = await import("./shared-utils-6z7gnnc8.js");
|
|
2364
|
+
const { streamJobTraces } = await import("./flow-api-4vkpbmt3.js");
|
|
2405
2365
|
const [tracesError, result] = await catchError(streamJobTraces(config, jobKey, {
|
|
2406
2366
|
onTrace: (trace) => {
|
|
2407
2367
|
if (options.pretty) {
|
|
@@ -2439,7 +2399,7 @@ function registerJobCommand(program) {
|
|
|
2439
2399
|
processContext.exit(result.success ? 0 : 1);
|
|
2440
2400
|
});
|
|
2441
2401
|
jobCmd.command("status").description("Get detailed status of a Flow job").argument("<job-key>", "Job key (GUID from run command)").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--folder-key <key>", "Folder key (GUID from list command, defaults to authenticated folder)").option("--detailed", "Show full response with all fields").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).examples(FLOW_JOB_STATUS_EXAMPLES).trackedAction(processContext, async (jobKey, options) => {
|
|
2442
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
2402
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
2443
2403
|
const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
|
|
2444
2404
|
ensureTokenValidityMinutes: options.loginValidity
|
|
2445
2405
|
}));
|
|
@@ -2481,7 +2441,7 @@ function registerJobCommand(program) {
|
|
|
2481
2441
|
tenantId: loginStatus.tenantId,
|
|
2482
2442
|
baseUrl: loginStatus.baseUrl
|
|
2483
2443
|
};
|
|
2484
|
-
const { getJobStatusDetailed } = await import("./flow-api-
|
|
2444
|
+
const { getJobStatusDetailed } = await import("./flow-api-4vkpbmt3.js");
|
|
2485
2445
|
const [statusError, status] = await catchError(getJobStatusDetailed(config, jobKey));
|
|
2486
2446
|
if (statusError) {
|
|
2487
2447
|
OutputFormatter.error({
|
|
@@ -2565,7 +2525,7 @@ var FLOW_MIGRATE_EXAMPLES = [
|
|
|
2565
2525
|
];
|
|
2566
2526
|
var registerMigrateCommand = (program) => {
|
|
2567
2527
|
program.command("migrate").description("Migrate a .flow file to the current workflow and node schema versions").argument("<file>", "Path to the .flow file").option("--dry-run", "Show what would change without writing the file").option("--no-include-optional", "Skip optional node migrations (e.g. typeVersion normalization). Default: optional migrations are applied.").examples(FLOW_MIGRATE_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
2568
|
-
const { migrateFlow } = await import("./flow-migrate-service-
|
|
2528
|
+
const { migrateFlow } = await import("./flow-migrate-service-ehx7nmsr.js");
|
|
2569
2529
|
const [error, result] = await catchError(migrateFlow(file, {
|
|
2570
2530
|
dryRun: options.dryRun,
|
|
2571
2531
|
includeOptional: options.includeOptional
|
|
@@ -2731,7 +2691,7 @@ function getDeleteNodeInstructions(file) {
|
|
|
2731
2691
|
return `Check that "${file}" exists and run 'uip maestro flow node list ${file}' to find a valid node ID, then retry.`;
|
|
2732
2692
|
}
|
|
2733
2693
|
async function runDeleteNode(file, nodeId, code) {
|
|
2734
|
-
const { deleteNodeFromFlow } = await import("./node-service-
|
|
2694
|
+
const { deleteNodeFromFlow } = await import("./node-service-frvz67y3.js");
|
|
2735
2695
|
const normalizedNodeId = nodeId.trim();
|
|
2736
2696
|
const [error, result] = await catchError(deleteNodeFromFlow(file, normalizedNodeId));
|
|
2737
2697
|
if (error) {
|
|
@@ -2803,7 +2763,7 @@ Example: uip maestro flow node add flow.flow uipath.connector.jira.createIssue -
|
|
|
2803
2763
|
NodeTypeNotEnabledError,
|
|
2804
2764
|
NodeTypeNotFoundError,
|
|
2805
2765
|
SourceRequiredError
|
|
2806
|
-
} = await import("./node-service-
|
|
2766
|
+
} = await import("./node-service-frvz67y3.js");
|
|
2807
2767
|
const [error, result] = await catchError(addNodeToFlow(file, nodeType, {
|
|
2808
2768
|
position,
|
|
2809
2769
|
label: options.label,
|
|
@@ -2923,7 +2883,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2923
2883
|
processContext.exit(1);
|
|
2924
2884
|
return;
|
|
2925
2885
|
}
|
|
2926
|
-
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-
|
|
2886
|
+
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-k4cgcv2b.js");
|
|
2927
2887
|
const [error, result] = await catchError(configureConnectorNode(file, nodeId, parsed));
|
|
2928
2888
|
if (error) {
|
|
2929
2889
|
const message = error instanceof InvalidDetailError ? "Invalid --detail" : "Error configuring node";
|
|
@@ -2949,7 +2909,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2949
2909
|
});
|
|
2950
2910
|
});
|
|
2951
2911
|
node.command("list").description("List all nodes in a Flow file").argument("<file>", "Path to the .flow file").examples(NODE_LIST_EXAMPLES).trackedAction(processContext, async (file) => {
|
|
2952
|
-
const { listNodesInFlow } = await import("./node-service-
|
|
2912
|
+
const { listNodesInFlow } = await import("./node-service-frvz67y3.js");
|
|
2953
2913
|
const [error, result] = await catchError(listNodesInFlow(file));
|
|
2954
2914
|
if (error) {
|
|
2955
2915
|
OutputFormatter.error({
|
|
@@ -2994,7 +2954,7 @@ var FLOW_PACK_EXAMPLES = [
|
|
|
2994
2954
|
var registerPackCommand = (program) => {
|
|
2995
2955
|
const command = program.command("pack").description("Pack a Flow project into a .nupkg file").argument("<project-path>", "Path to the Flow project directory").argument("<output-path>", "Output directory where the .nupkg will be saved").option("-n, --name <name>", "Package name (default: project folder name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0");
|
|
2996
2956
|
registerPackageMetadataOptions(command).examples(FLOW_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
2997
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
2957
|
+
const { FlowPackService } = await import("./flow-pack-service-a3w3489r.js");
|
|
2998
2958
|
const service = new FlowPackService;
|
|
2999
2959
|
const exitCode = await service.execute(projectPath, {
|
|
3000
2960
|
output: outputPath,
|
|
@@ -3102,7 +3062,7 @@ async function resolveReleaseKey(config, processKey) {
|
|
|
3102
3062
|
const separator = processKey.lastIndexOf(":");
|
|
3103
3063
|
const key = separator === -1 ? processKey : processKey.slice(0, separator);
|
|
3104
3064
|
const version = separator === -1 ? undefined : processKey.slice(separator + 1);
|
|
3105
|
-
const { listFlowProcesses } = await import("./flow-api-
|
|
3065
|
+
const { listFlowProcesses } = await import("./flow-api-4vkpbmt3.js");
|
|
3106
3066
|
const processes = await listFlowProcesses(config);
|
|
3107
3067
|
const matches = processes.filter((candidate) => candidate.processKey === key && (version === undefined || candidate.processVersion === version));
|
|
3108
3068
|
const [releaseKey, ...extra] = matches.map((match) => match.key).filter((candidate) => Boolean(candidate));
|
|
@@ -3115,7 +3075,7 @@ async function resolveReleaseKey(config, processKey) {
|
|
|
3115
3075
|
return releaseKey;
|
|
3116
3076
|
}
|
|
3117
3077
|
async function resolveFolderForList(options) {
|
|
3118
|
-
const { resolveFolder } = await import("./index-
|
|
3078
|
+
const { resolveFolder } = await import("./index-9f94yk28.js");
|
|
3119
3079
|
if (options.folderKey && options.folderPath) {
|
|
3120
3080
|
const [pathError, pathFolder] = await catchError(resolveFolder({ folderPath: options.folderPath }, {
|
|
3121
3081
|
tenant: options.tenant,
|
|
@@ -3148,7 +3108,7 @@ function registerProcessCommand(program) {
|
|
|
3148
3108
|
const processCmd = program.command("process").description("Manage Flow processes");
|
|
3149
3109
|
registerSharedProcessCommands(processCmd, { toolLabel: "Flow" });
|
|
3150
3110
|
processCmd.command("list").description("List available Flow projects. The releaseActive and releaseLatest fields reflect Orchestrator release-level state (whether the release is marked active or the highest version on the manifest) and do not indicate whether the process is deployed or runnable.").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--filter <odata>", "Additional OData filter").option("-f, --folder-key <key>", "Folder key (GUID)").option("--folder-path <path>", "Folder path (e.g. 'Shared/Invoices'). Alternative to --folder-key.").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).examples(FLOW_PROCESS_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
3151
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
3111
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
3152
3112
|
if (options.folderKey === undefined && options.folderPath === undefined) {
|
|
3153
3113
|
OutputFormatter.error({
|
|
3154
3114
|
Result: RESULTS.ValidationError,
|
|
@@ -3217,7 +3177,7 @@ function registerProcessCommand(program) {
|
|
|
3217
3177
|
tenantName,
|
|
3218
3178
|
baseUrl: loginStatus.baseUrl
|
|
3219
3179
|
};
|
|
3220
|
-
const { listFlowProcesses } = await import("./flow-api-
|
|
3180
|
+
const { listFlowProcesses } = await import("./flow-api-4vkpbmt3.js");
|
|
3221
3181
|
const [listError, processes] = await catchError(listFlowProcesses(config, options.filter));
|
|
3222
3182
|
if (listError) {
|
|
3223
3183
|
OutputFormatter.error({
|
|
@@ -3243,7 +3203,7 @@ function registerProcessCommand(program) {
|
|
|
3243
3203
|
});
|
|
3244
3204
|
});
|
|
3245
3205
|
processCmd.command("get").description("Get Flow project schema and details").argument("<process-key>", "Process key (e.g., MyFlow.flow.Flow:1.0.0)").argument("<feed-id>", "Feed ID (from 'flow project list')").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).requiredOption("-f, --folder-key <key>", "Folder key (GUID)").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).examples(FLOW_PROCESS_GET_EXAMPLES).trackedAction(processContext, async (processKey, feedId, options) => {
|
|
3246
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
3206
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
3247
3207
|
const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
|
|
3248
3208
|
ensureTokenValidityMinutes: options.loginValidity
|
|
3249
3209
|
}));
|
|
@@ -3294,7 +3254,7 @@ function registerProcessCommand(program) {
|
|
|
3294
3254
|
baseUrl: loginStatus.baseUrl,
|
|
3295
3255
|
feedId
|
|
3296
3256
|
};
|
|
3297
|
-
const { getFlowEntryPoints } = await import("./flow-api-
|
|
3257
|
+
const { getFlowEntryPoints } = await import("./flow-api-4vkpbmt3.js");
|
|
3298
3258
|
const [entryPointsError, entryPoints] = await catchError(getFlowEntryPoints(config));
|
|
3299
3259
|
if (entryPointsError) {
|
|
3300
3260
|
OutputFormatter.error({
|
|
@@ -3333,12 +3293,12 @@ function registerProcessCommand(program) {
|
|
|
3333
3293
|
});
|
|
3334
3294
|
});
|
|
3335
3295
|
processCmd.command("run").description("Run a Flow project with inputs").argument("<process-key>", "Process key (e.g., MyFlow.flow.Flow:1.0.0)").argument("<folder-key>", "Folder key (GUID)").option("-i, --inputs <json>", "Input parameters as JSON string or @file.json").option("--attachment <name=path>", "Upload a local file as a file-typed workflow input variable (repeatable). Example: --attachment file1=./resume.pdf", appendOption, []).addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--release-key <key>", "Release key (GUID, from list command)").option("--feed-id <id>", "Feed ID for package lookup (optional)").option("--robot-ids <ids>", "Comma-separated robot IDs (optional)").option("--validate", "Validate inputs against project schema (basic: required fields + primitive types)").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).option("--wait", "Block until the job reaches a terminal state (Successful, Faulted, Stopped)").option("--timeout <seconds>", "Maximum seconds to wait (0 = no timeout). Requires --wait.", String(DEFAULT_TIMEOUT_MS / 1000)).option("--poll-interval <seconds>", "Seconds between status checks. Requires --wait.", String(DEFAULT_INTERVAL_MS / 1000)).examples(FLOW_PROCESS_RUN_EXAMPLES).trackedAction(processContext, async (processKey, folderKey, options) => {
|
|
3336
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
3296
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
3337
3297
|
const {
|
|
3338
3298
|
parseFlowInputs,
|
|
3339
3299
|
startFlowProjectJob,
|
|
3340
3300
|
validateFlowInputs
|
|
3341
|
-
} = await import("./flow-api-
|
|
3301
|
+
} = await import("./flow-api-4vkpbmt3.js");
|
|
3342
3302
|
const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
|
|
3343
3303
|
ensureTokenValidityMinutes: options.loginValidity
|
|
3344
3304
|
}));
|
|
@@ -3393,7 +3353,7 @@ function registerProcessCommand(program) {
|
|
|
3393
3353
|
}
|
|
3394
3354
|
inputs = parsed;
|
|
3395
3355
|
} else {
|
|
3396
|
-
const { readStdin } = await import("./input-reader-
|
|
3356
|
+
const { readStdin } = await import("./input-reader-7pzkcw6t.js");
|
|
3397
3357
|
const [stdinError, stdinData] = await catchError(readStdin());
|
|
3398
3358
|
if (stdinError) {
|
|
3399
3359
|
OutputFormatter.error({
|
|
@@ -3430,7 +3390,7 @@ function registerProcessCommand(program) {
|
|
|
3430
3390
|
processContext.exit(1);
|
|
3431
3391
|
return;
|
|
3432
3392
|
}
|
|
3433
|
-
const { uploadJobAttachment } = await import("./index-
|
|
3393
|
+
const { uploadJobAttachment } = await import("./index-9f94yk28.js");
|
|
3434
3394
|
const [uploadError, resolved] = await catchError(resolveAttachmentInputs(specs, (bytes, fileName) => uploadJobAttachment(bytes, fileName, {
|
|
3435
3395
|
tenant: tenantName
|
|
3436
3396
|
})));
|
|
@@ -3580,7 +3540,7 @@ ${errorList}`,
|
|
|
3580
3540
|
processContext.exit(1);
|
|
3581
3541
|
return;
|
|
3582
3542
|
}
|
|
3583
|
-
const { handleFlowJobWait } = await import("./wait-for-flow-job-
|
|
3543
|
+
const { handleFlowJobWait } = await import("./wait-for-flow-job-1s8ka07s.js");
|
|
3584
3544
|
await handleFlowJobWait(job.key, {
|
|
3585
3545
|
config,
|
|
3586
3546
|
timeoutMs,
|
|
@@ -3622,13 +3582,13 @@ function getDefaultOutputPath(fs = getFileSystem()) {
|
|
|
3622
3582
|
}
|
|
3623
3583
|
var registerPublishCommand = (program) => {
|
|
3624
3584
|
program.command("publish").description("Pack a Flow project and upload the resulting .nupkg to Orchestrator packages").argument("<project-path>", "Path to the Flow project directory").argument("[output-path]", "Output directory where the generated .nupkg will be saved").option("-n, --name <name>", "Package name (default: project folder name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--feed-id <feedId>", "Feed ID (optional, defaults to tenant feed). Mutually exclusive with --folder-key/--folder-path.").option("--folder-key <key>", "Folder key (GUID) of an Orchestrator folder hierarchy feed. The CLI resolves the folder's feed ID automatically. Mutually exclusive with --feed-id and --folder-path.").option("--folder-path <path>", "Folder path (e.g. 'Shared/Sub') of an Orchestrator folder hierarchy feed. The CLI resolves the folder's feed ID automatically. Mutually exclusive with --feed-id and --folder-key.").examples(FLOW_PUBLISH_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
3625
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
3585
|
+
const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
|
|
3626
3586
|
const {
|
|
3627
3587
|
createApiClient,
|
|
3628
3588
|
PackageFeedsApi,
|
|
3629
3589
|
ProcessesApi,
|
|
3630
3590
|
resolveFolder
|
|
3631
|
-
} = await import("./index-
|
|
3591
|
+
} = await import("./index-9f94yk28.js");
|
|
3632
3592
|
const fs = getFileSystem();
|
|
3633
3593
|
const shouldCleanupOutput = outputPath === undefined;
|
|
3634
3594
|
const packageOutputPath = outputPath ?? getDefaultOutputPath(fs);
|
|
@@ -3714,7 +3674,7 @@ var registerPublishCommand = (program) => {
|
|
|
3714
3674
|
}
|
|
3715
3675
|
resolvedFeedId = folderFeedId;
|
|
3716
3676
|
}
|
|
3717
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
3677
|
+
const { FlowPackService } = await import("./flow-pack-service-a3w3489r.js");
|
|
3718
3678
|
const service = new FlowPackService;
|
|
3719
3679
|
const [packError, packResult] = await catchError(service.executeAsync(projectPath, {
|
|
3720
3680
|
output: packageOutputPath,
|
|
@@ -3813,7 +3773,7 @@ var registerRegistryCommand2 = (program) => {
|
|
|
3813
3773
|
// ../flow-tool/src/commands/tidy.ts
|
|
3814
3774
|
var registerTidyCommand = (program) => {
|
|
3815
3775
|
program.command("format").description("Format a .flow file by auto-laying out nodes to prevent overlaps and arrange in a clean flow").argument("<file>", "Path to the .flow file").trackedAction(processContext, async (file) => {
|
|
3816
|
-
const { tidyFlow } = await import("./tidy-service-
|
|
3776
|
+
const { tidyFlow } = await import("./tidy-service-zyy7wxc0.js");
|
|
3817
3777
|
const [error, result] = await catchError(tidyFlow(file));
|
|
3818
3778
|
if (error) {
|
|
3819
3779
|
OutputFormatter.error({
|
|
@@ -3915,7 +3875,7 @@ var registerValidateCommand = (program) => {
|
|
|
3915
3875
|
let governanceEnforcements;
|
|
3916
3876
|
let availableModelNames;
|
|
3917
3877
|
if (options.governance) {
|
|
3918
|
-
const { fetchGovernanceData } = await import("./governance-fetcher-
|
|
3878
|
+
const { fetchGovernanceData } = await import("./governance-fetcher-7vxmap1e.js");
|
|
3919
3879
|
const [error, data] = await catchError(fetchGovernanceData());
|
|
3920
3880
|
if (error) {
|
|
3921
3881
|
OutputFormatter.error({
|
|
@@ -3929,7 +3889,7 @@ var registerValidateCommand = (program) => {
|
|
|
3929
3889
|
governanceEnforcements = data.enforcements;
|
|
3930
3890
|
availableModelNames = data.modelNames;
|
|
3931
3891
|
}
|
|
3932
|
-
const { FlowValidateService } = await import("./flow-validate-service-
|
|
3892
|
+
const { FlowValidateService } = await import("./flow-validate-service-02e21w4d.js");
|
|
3933
3893
|
const service = new FlowValidateService({
|
|
3934
3894
|
governanceEnforcements,
|
|
3935
3895
|
availableModelNames,
|
|
@@ -4059,7 +4019,7 @@ function parseDefaultValue(value, type) {
|
|
|
4059
4019
|
var registerVariableCommand = (program) => {
|
|
4060
4020
|
const variable = program.command("variable").description("Manage variables in a Flow file");
|
|
4061
4021
|
variable.command("add").description("Add a variable to a Flow file").argument("<file>", "Path to the .flow file").argument("<variable-id>", "Variable identifier (e.g. myInputVar)").requiredOption("-d, --direction <direction>", `Variable direction (${VALID_DIRECTIONS.join(", ")})`).option("-t, --type <type>", `Data type (${VALID_TYPES.join(", ")})`, "string").option("--default-value <value>", "Default value (parsed based on --type)").option("--description <text>", "Human-readable description").option("--schema <json>", "JSON schema for object/array types").option("--sub-type <subType>", "Sub-type for complex types").option("--trigger-node-id <nodeId>", "Trigger node an input variable belongs to (defaults to the flow's only trigger node; required when the flow has several)").examples(VARIABLE_ADD_EXAMPLES).trackedAction(processContext, async (file, variableId, options) => {
|
|
4062
|
-
const { validateIdentifier } = await import("./index-
|
|
4022
|
+
const { validateIdentifier } = await import("./index-ymsd3pyx.js");
|
|
4063
4023
|
const identifierError = validateIdentifier(variableId, []);
|
|
4064
4024
|
if (identifierError) {
|
|
4065
4025
|
OutputFormatter.error({
|
|
@@ -4125,7 +4085,7 @@ var registerVariableCommand = (program) => {
|
|
|
4125
4085
|
}
|
|
4126
4086
|
schema = parsed;
|
|
4127
4087
|
}
|
|
4128
|
-
const { addVariableToFlow } = await import("./variable-service-
|
|
4088
|
+
const { addVariableToFlow } = await import("./variable-service-t9gsp8xs.js");
|
|
4129
4089
|
const [error, variable2] = await catchError(addVariableToFlow(file, {
|
|
4130
4090
|
id: variableId,
|
|
4131
4091
|
direction: options.direction,
|
|
@@ -4154,7 +4114,7 @@ var registerVariableCommand = (program) => {
|
|
|
4154
4114
|
});
|
|
4155
4115
|
});
|
|
4156
4116
|
variable.command("remove").description("Remove a variable from a Flow file").argument("<file>", "Path to the .flow file").argument("<variable-id>", "Variable identifier to remove").examples(VARIABLE_DELETE_EXAMPLES).trackedAction(processContext, async (file, variableId) => {
|
|
4157
|
-
const { validateIdentifier } = await import("./index-
|
|
4117
|
+
const { validateIdentifier } = await import("./index-ymsd3pyx.js");
|
|
4158
4118
|
const identifierError = validateIdentifier(variableId, []);
|
|
4159
4119
|
if (identifierError) {
|
|
4160
4120
|
OutputFormatter.error({
|
|
@@ -4165,7 +4125,7 @@ var registerVariableCommand = (program) => {
|
|
|
4165
4125
|
processContext.exit(1);
|
|
4166
4126
|
return;
|
|
4167
4127
|
}
|
|
4168
|
-
const { deleteVariableFromFlow } = await import("./variable-service-
|
|
4128
|
+
const { deleteVariableFromFlow } = await import("./variable-service-t9gsp8xs.js");
|
|
4169
4129
|
const [error, deletedVariable] = await catchError(deleteVariableFromFlow(file, variableId));
|
|
4170
4130
|
if (error) {
|
|
4171
4131
|
OutputFormatter.error({
|
|
@@ -4185,7 +4145,7 @@ var registerVariableCommand = (program) => {
|
|
|
4185
4145
|
});
|
|
4186
4146
|
});
|
|
4187
4147
|
variable.command("list").description("List all variables in a Flow file").argument("<file>", "Path to the .flow file").examples(VARIABLE_LIST_EXAMPLES).trackedAction(processContext, async (file) => {
|
|
4188
|
-
const { listVariablesInFlow } = await import("./variable-service-
|
|
4148
|
+
const { listVariablesInFlow } = await import("./variable-service-t9gsp8xs.js");
|
|
4189
4149
|
const [error, result] = await catchError(listVariablesInFlow(file));
|
|
4190
4150
|
if (error) {
|
|
4191
4151
|
OutputFormatter.error({
|
|
@@ -4243,7 +4203,7 @@ var metadata = {
|
|
|
4243
4203
|
var registerCommands = async (program) => {
|
|
4244
4204
|
setAgentProjectMetadataReader(agentProjectMetadataReader);
|
|
4245
4205
|
if (isPreviewBuild()) {
|
|
4246
|
-
const { registerFlowAuthoringCommands } = await import("./authoring-
|
|
4206
|
+
const { registerFlowAuthoringCommands } = await import("./authoring-szfy0rh1.js");
|
|
4247
4207
|
registerFlowAuthoringCommands(program);
|
|
4248
4208
|
}
|
|
4249
4209
|
registerInitCommand(program);
|
|
@@ -4272,4 +4232,4 @@ export {
|
|
|
4272
4232
|
registerCommands
|
|
4273
4233
|
};
|
|
4274
4234
|
|
|
4275
|
-
//# debugId=
|
|
4235
|
+
//# debugId=86F07F94C23D5E8864756E2164756E21
|