@uipath/flow-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 +9 -9
- package/dist/THIRD-PARTY-NOTICES.md +39 -15
- package/dist/{authoring-bppe07p0.js → authoring-e1k40hyw.js} +6 -5
- package/dist/{binding-service-xwgsn35p.js → binding-service-pdtxvvt8.js} +38 -30
- package/dist/{connector-service-r0w8ztas.js → connector-service-pm9hfmsv.js} +224 -47
- 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-xsm3ycqx.js +30 -0
- package/dist/{debug-http-client-p4kf38yt.js → debug-http-client-yqjzsnhw.js} +5 -4
- package/dist/{debug-service-893erynq.js → debug-service-nra3n02y.js} +6 -5
- package/dist/{edge-service-yzsfw4bs.js → edge-service-mddnjwb0.js} +16 -12
- 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/{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-kjvpsxhw.js → flow-api-sat010z1.js} +16 -10
- package/dist/{flow-debug-service-dd10rg08.js → flow-debug-service-dw0d9cv7.js} +96 -58
- package/dist/{flow-eval-node-target-2ekp77s6.js → flow-eval-node-target-wttmdm4v.js} +17 -17
- package/dist/flow-eval-run-api-xdygjzfv.js +13 -0
- package/dist/{flow-eval-run-service-twzbmeq6.js → flow-eval-run-service-g09w4m9m.js} +73 -80
- package/dist/{flow-eval-service-ckwx7d5z.js → flow-eval-service-jfkz0tae.js} +167 -415
- package/dist/{flow-init-sdk-source-z9qx1zkt.js → flow-init-sdk-source-xvdvkq7d.js} +6 -5
- package/dist/{flow-init-service-m6swzk43.js → flow-init-service-5v6zwhas.js} +19 -15
- package/dist/{flow-io-tnrc53z6.js → flow-io-64tmj8n7.js} +15 -11
- package/dist/{flow-migrate-service-625gppk0.js → flow-migrate-service-bjxs35ac.js} +16 -12
- package/dist/{flow-pack-service-qdpvrmme.js → flow-pack-service-s75qhtn5.js} +47 -38
- package/dist/flow-validate-service-rbvgesrb.js +70 -0
- 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-zq8zmfjb.js → governance-fetcher-tw83p74c.js} +7 -6
- package/dist/{hitl-service-r19zvqsz.js → hitl-service-hgg9tr5j.js} +15 -11
- package/dist/{index-b8n7hv68.js → index-09mfatmh.js} +6 -5
- package/dist/{index-aaq9rwfv.js → index-1b2je9n2.js} +1088 -233
- package/dist/index-d090f35d.js +66 -0
- package/dist/{index-yj4xk2aw.js → index-dgdnbb2g.js} +7 -5
- package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
- package/dist/{index-vrhcbxnk.js → index-nsn889vf.js} +6 -5
- package/dist/{index-2s8rmmw6.js → index-sqhbn7ew.js} +4 -4
- package/dist/{index-tnz5ks4t.js → index-wycgq0ff.js} +65 -2230
- package/dist/index.js +17 -14
- package/dist/init.js +19 -15
- package/dist/inline-entity-resolver-2qqf1635.js +45 -0
- package/dist/input-reader-n7kzdrev.js +12 -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-q6fcyq2e.js → known-types-3025scz1.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/{maestro-automate-entry-qak46eg0.js → maestro-automate-entry-6f9act3w.js} +2 -2
- package/dist/{node-ccwecksf.js → node-1wzjq3jb.js} +29 -15
- package/dist/{node-service-w8gsy23p.js → node-service-0hxtt2x6.js} +41 -30
- package/dist/{node-strategy-fdnkvq4a.js → node-strategy-1dmmhvf3.js} +1 -1
- package/dist/node-sync-service-n7r4ma3a.js +61 -0
- package/dist/{packager-tool-s4etvs59.js → packager-tool-0j8v36qh.js} +1 -1
- package/dist/packager-tool-10vc8pq4.js +2 -0
- package/dist/{packager-tool-pw6j69m5.js → packager-tool-445qgxdk.js} +1802 -378
- package/dist/packager-tool-4kr6g0zw.js +16 -0
- package/dist/packager-tool-4x7tzvv0.js +1176 -0
- package/dist/{packager-tool-86rhxbf1.js → packager-tool-5regytfc.js} +6 -4
- package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
- package/dist/{packager-tool-jaa5gcbv.js → packager-tool-71gqkgg6.js} +6 -6
- package/dist/packager-tool-7hw344bt.js +107 -0
- package/dist/{packager-tool-m8xtf5ej.js → packager-tool-8g5931fz.js} +7 -4
- package/dist/{packager-tool-h9tzz0qd.js → packager-tool-961vsbsc.js} +15 -10
- package/dist/{packager-tool-zzc2yp2h.js → packager-tool-99gban46.js} +172 -71
- package/dist/packager-tool-9era57c0.js +28 -0
- package/dist/packager-tool-9jxzgsxc.js +14 -0
- package/dist/{packager-tool-zxp4hya4.js → packager-tool-a5afh1dc.js} +34 -13
- package/dist/{packager-tool-02f63a08.js → packager-tool-apawc11t.js} +88 -762
- package/dist/{packager-tool-tf3d2y8z.js → packager-tool-aw9v0raw.js} +2 -2
- package/dist/{packager-tool-6y0f9qg5.js → packager-tool-b3k0mkke.js} +463 -327
- package/dist/packager-tool-cqtsj6yh.js +2 -0
- package/dist/{packager-tool-5nqhxb9e.js → packager-tool-dwd6cc01.js} +16110 -13031
- package/dist/{packager-tool-t605qewm.js → packager-tool-dxgrhfq5.js} +2 -2
- package/dist/{packager-tool-awkq26v0.js → packager-tool-e7kvq8hf.js} +5 -3
- package/dist/packager-tool-fc1xdt3y.js +35 -0
- package/dist/{packager-tool-3dc9gz35.js → packager-tool-frjt46rb.js} +1 -1
- package/dist/{packager-tool-cn7e7cx2.js → packager-tool-gcap41av.js} +668 -57
- package/dist/packager-tool-hj5x3p8g.js +23 -0
- package/dist/{packager-tool-k91rd9nx.js → packager-tool-hvgn6t66.js} +6 -24
- package/dist/{packager-tool-w5a1hhyj.js → packager-tool-hxyjn885.js} +13 -2
- package/dist/{packager-tool-hhy1gr2k.js → packager-tool-jgfzfqjm.js} +1 -1
- package/dist/{packager-tool-6h69pd2a.js → packager-tool-kn86394c.js} +127 -61
- package/dist/packager-tool-mgcz986r.js +143 -0
- package/dist/{packager-tool-3h2ktz6q.js → packager-tool-myhbp761.js} +11 -1
- package/dist/{packager-tool-hp5vnk8p.js → packager-tool-ndev7vbj.js} +13 -13
- package/dist/{packager-tool-dynm8fz9.js → packager-tool-nj4vcnq9.js} +20 -8
- package/dist/{packager-tool-ayc9nhpa.js → packager-tool-nk16zaz3.js} +519 -437
- package/dist/{packager-tool-vzbttaje.js → packager-tool-nts5rrch.js} +5 -6
- package/dist/{packager-tool-vbfz8k7w.js → packager-tool-p8gab24q.js} +52 -32
- package/dist/{packager-tool-stq8800d.js → packager-tool-pacrqxv2.js} +17 -4
- package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
- package/dist/packager-tool-phw8ydjx.js +331 -0
- package/dist/packager-tool-qcqb9hf8.js +26 -0
- package/dist/{packager-tool-n89vrpex.js → packager-tool-skcjythd.js} +10907 -25608
- package/dist/{packager-tool-1ca047de.js → packager-tool-sqpesv2e.js} +12 -56
- package/dist/packager-tool-t7ahhaer.js +877 -0
- package/dist/{packager-tool-peawy22c.js → packager-tool-tqjfdpda.js} +53 -8
- package/dist/{packager-tool-y8egb0fa.js → packager-tool-wds3myef.js} +2573 -535
- package/dist/{packager-tool-5tjzg56t.js → packager-tool-wh660fny.js} +1 -1
- package/dist/{packager-tool-tyg399d6.js → packager-tool-wze74wyk.js} +74 -47
- package/dist/packager-tool-xj0agqpk.js +11 -0
- package/dist/packager-tool-xk78j7dz.js +1256 -0
- package/dist/{packager-tool-py93409h.js → packager-tool-ymma2s85.js} +2 -2
- package/dist/packager-tool-z0yxfhdj.js +40 -0
- package/dist/packager-tool.js +13 -10
- 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/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/services/connector-request-buckets.d.ts +1 -0
- package/dist/services/flow-eval-file-store.d.ts +1 -11
- package/dist/services/flow-eval-utils.d.ts +1 -32
- package/dist/services/flow-validate-service.d.ts +51 -0
- package/dist/services/inline-entity-resolver.d.ts +22 -0
- package/dist/services/node-service.d.ts +21 -1
- package/dist/services/packaging-utils.d.ts +15 -2
- package/dist/{shared-utils-pnbvyyb2.js → shared-utils-tqnx96mg.js} +4 -3
- package/dist/solution-auth-8qz5pw7z.js +14 -0
- package/dist/solution-discovery-vqravtkh.js +44 -0
- package/dist/{tidy-service-4fd4mjpb.js → tidy-service-fdctmeww.js} +143 -39
- package/dist/tool.js +17 -14
- 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/utils/flow-io.d.ts +2 -1
- package/dist/validation.js +39 -33
- package/dist/{variable-service-xgyaf3xy.js → variable-service-9xfk31pm.js} +16 -12
- package/dist/{wait-for-flow-job-d8m6mqb4.js → wait-for-flow-job-b0vj8828.js} +15 -12
- 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/debug-conversation-trigger-8fgas95p.js +0 -44
- package/dist/flow-eval-run-api-byx3cacw.js +0 -13
- package/dist/flow-validate-service-ss9nt15j.js +0 -64
- package/dist/input-reader-vhar4g0k.js +0 -11
- package/dist/node-sync-service-42dpmp60.js +0 -40
- package/dist/packager-tool-a5xfcqqr.js +0 -15
- package/dist/packager-tool-epkg5s7f.js +0 -454
- package/dist/packager-tool-pz5nqg0s.js +0 -64
- package/dist/packager-tool-t3ysatjd.js +0 -521
- package/dist/packager-tool-vd6jt4n8.js +0 -208
- package/dist/packager-tool-wv3qf487.js +0 -265
- package/dist/services/flow-debug-service.d.ts +0 -320
- package/dist/services/flow-eval-schema/deterministic-evaluators.d.ts +0 -110
- package/dist/services/flow-eval-schema/evaluator-fields.d.ts +0 -66
- package/dist/services/flow-eval-schema/helpers.d.ts +0 -9
- package/dist/services/flow-eval-schema/index.d.ts +0 -4
- package/dist/services/flow-eval-schema/llm-judge-evaluators.d.ts +0 -174
- package/dist/services/flow-eval-schema/prompts.d.ts +0 -2
- package/dist/services/flow-eval-schema/registry.d.ts +0 -375
- package/dist/services/flow-eval-schema/tool-call-evaluators.d.ts +0 -93
- package/dist/services/flow-eval-schema/types.d.ts +0 -95
- package/dist/services/flow-eval-types.d.ts +0 -6
- package/dist/utils/write-resolved-flow.d.ts +0 -7
- /package/dist/{headless-45dypanh.js → headless-fw8pwyzm.js} +0 -0
- /package/dist/{localization-xecwjpe2.js → localization-d6gjmrsw.js} +0 -0
|
@@ -1,104 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FlowEvalRunApi
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-9jxzgsxc.js";
|
|
4
4
|
import {
|
|
5
5
|
FlowEvalPathResolver,
|
|
6
|
-
findEvalSet,
|
|
7
|
-
getLinkedEvaluators,
|
|
8
6
|
readStartNodeId,
|
|
9
7
|
readWorkflowId
|
|
10
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-sqpesv2e.js";
|
|
11
9
|
import {
|
|
12
10
|
findFlowNode,
|
|
13
|
-
formatTriggerIdsHint,
|
|
14
11
|
readNodeTargetId
|
|
15
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-hvgn6t66.js";
|
|
16
13
|
import {
|
|
17
14
|
writeResolvedFlow
|
|
18
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-wh660fny.js";
|
|
16
|
+
import {
|
|
17
|
+
formatTriggerIdsHint
|
|
18
|
+
} from "./packager-tool-z0yxfhdj.js";
|
|
19
19
|
import {
|
|
20
20
|
package_default
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-5regytfc.js";
|
|
22
|
+
import"./packager-tool-4kr6g0zw.js";
|
|
22
23
|
import {
|
|
23
24
|
assertNoPreviewIds
|
|
24
25
|
} from "./packager-tool-zgsvggdr.js";
|
|
25
26
|
import"./packager-tool-e5hj89zm.js";
|
|
26
27
|
import {
|
|
27
|
-
ensureProcessBindings
|
|
28
|
-
} from "./packager-tool-epkg5s7f.js";
|
|
29
|
-
import"./packager-tool-y8egb0fa.js";
|
|
30
|
-
import {
|
|
28
|
+
ensureProcessBindings,
|
|
31
29
|
fileNodesToPackagingNodes,
|
|
30
|
+
flowToPackagingNodes,
|
|
32
31
|
packageInlineAgents,
|
|
33
32
|
stageInlineAgentPackageFiles,
|
|
34
33
|
writePackagingArtifactsDetailed
|
|
35
|
-
} from "./packager-tool-
|
|
34
|
+
} from "./packager-tool-wds3myef.js";
|
|
35
|
+
import"./packager-tool-cqtsj6yh.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
import"./packager-tool-
|
|
41
|
-
import"./packager-tool-
|
|
42
|
-
import"./packager-tool-
|
|
43
|
-
import"./packager-tool-
|
|
44
|
-
import"./packager-tool-
|
|
45
|
-
import"./packager-tool-
|
|
37
|
+
assertInlineEntitiesBound
|
|
38
|
+
} from "./packager-tool-fc1xdt3y.js";
|
|
39
|
+
import"./packager-tool-nk16zaz3.js";
|
|
40
|
+
import"./packager-tool-dxgrhfq5.js";
|
|
41
|
+
import"./packager-tool-7hw344bt.js";
|
|
42
|
+
import"./packager-tool-phw8ydjx.js";
|
|
43
|
+
import"./packager-tool-e7kvq8hf.js";
|
|
44
|
+
import"./packager-tool-skcjythd.js";
|
|
45
|
+
import"./packager-tool-4x7tzvv0.js";
|
|
46
|
+
import"./packager-tool-gcap41av.js";
|
|
47
|
+
import"./packager-tool-ymma2s85.js";
|
|
46
48
|
import {
|
|
47
49
|
extractStartEventId,
|
|
48
50
|
getPersonalFolderInfo,
|
|
49
51
|
getPersonalFolderKey,
|
|
50
52
|
patchConnectionOverwrites,
|
|
51
53
|
prepareForCustomDebug
|
|
52
|
-
} from "./packager-tool-
|
|
54
|
+
} from "./packager-tool-tqjfdpda.js";
|
|
55
|
+
import"./packager-tool-frjt46rb.js";
|
|
56
|
+
import"./packager-tool-hxyjn885.js";
|
|
53
57
|
import {
|
|
58
|
+
EvalFileStore,
|
|
59
|
+
ensureDirectory,
|
|
60
|
+
findEvalSet,
|
|
61
|
+
getLinkedEvaluators,
|
|
62
|
+
injectWorkloadId,
|
|
54
63
|
isRecord,
|
|
55
64
|
isUUID
|
|
56
|
-
} from "./packager-tool-
|
|
57
|
-
import"./packager-tool-w5a1hhyj.js";
|
|
58
|
-
import"./packager-tool-3dc9gz35.js";
|
|
65
|
+
} from "./packager-tool-xk78j7dz.js";
|
|
59
66
|
import"./packager-tool-8qp60s20.js";
|
|
60
|
-
import"./packager-tool-
|
|
61
|
-
import"./packager-tool-qa9gftnj.js";
|
|
67
|
+
import"./packager-tool-kn86394c.js";
|
|
62
68
|
import"./packager-tool-0gctz400.js";
|
|
69
|
+
import"./packager-tool-qa9gftnj.js";
|
|
63
70
|
import"./packager-tool-yc4kw997.js";
|
|
64
71
|
import {
|
|
65
72
|
buildSolutionPackageFromDir,
|
|
66
73
|
getStudioWebSolutionProjects,
|
|
67
74
|
uploadOrOverwriteSolution
|
|
68
|
-
} from "./packager-tool-
|
|
69
|
-
import {
|
|
70
|
-
findSolutionFile,
|
|
71
|
-
readUipxFile,
|
|
72
|
-
updateSolutionFile
|
|
73
|
-
} from "./packager-tool-m8xtf5ej.js";
|
|
74
|
-
import"./packager-tool-5nqhxb9e.js";
|
|
75
|
-
import"./packager-tool-paq9c70w.js";
|
|
75
|
+
} from "./packager-tool-nj4vcnq9.js";
|
|
76
76
|
import {
|
|
77
77
|
readFlowWorkflow,
|
|
78
78
|
resolveProjectFlowFile,
|
|
79
79
|
writeFlowWorkflow
|
|
80
|
-
} from "./packager-tool-
|
|
80
|
+
} from "./packager-tool-nts5rrch.js";
|
|
81
|
+
import"./packager-tool-dwd6cc01.js";
|
|
82
|
+
import"./packager-tool-paq9c70w.js";
|
|
83
|
+
import {
|
|
84
|
+
findSolutionFile,
|
|
85
|
+
readUipxFile,
|
|
86
|
+
updateSolutionFile
|
|
87
|
+
} from "./packager-tool-8g5931fz.js";
|
|
81
88
|
import {
|
|
82
89
|
convertFlowToBpmn,
|
|
83
90
|
replaceExporterVersion,
|
|
84
91
|
setPublishIntentOnInlineAgents
|
|
85
|
-
} from "./packager-tool-
|
|
86
|
-
import"./packager-tool-
|
|
92
|
+
} from "./packager-tool-445qgxdk.js";
|
|
93
|
+
import"./packager-tool-961vsbsc.js";
|
|
87
94
|
import {
|
|
88
95
|
applyRuntimeProfile,
|
|
89
96
|
resolveRuntimeProfile
|
|
90
|
-
} from "./packager-tool-
|
|
91
|
-
import"./packager-tool-
|
|
97
|
+
} from "./packager-tool-jgfzfqjm.js";
|
|
98
|
+
import"./packager-tool-qcqb9hf8.js";
|
|
99
|
+
import"./packager-tool-wze74wyk.js";
|
|
100
|
+
import"./packager-tool-pacrqxv2.js";
|
|
92
101
|
import"./packager-tool-nkrmjr3a.js";
|
|
93
|
-
import"./packager-tool-tyg399d6.js";
|
|
94
102
|
import"./packager-tool-rs6jm14d.js";
|
|
95
103
|
import"./packager-tool-hk1gxnth.js";
|
|
96
|
-
import"./packager-tool-
|
|
104
|
+
import"./packager-tool-mgcz986r.js";
|
|
105
|
+
import"./packager-tool-xj0agqpk.js";
|
|
106
|
+
import"./packager-tool-pcvhcn2k.js";
|
|
97
107
|
import"./packager-tool-sc961w0q.js";
|
|
98
108
|
import"./packager-tool-eq46jxm5.js";
|
|
99
109
|
import"./packager-tool-868re2t3.js";
|
|
100
110
|
import"./packager-tool-gbgfwx8f.js";
|
|
101
|
-
import"./packager-tool-
|
|
111
|
+
import"./packager-tool-6z1hsm2h.js";
|
|
102
112
|
import"./packager-tool-jysvpt8p.js";
|
|
103
113
|
import {
|
|
104
114
|
inMemoryWorkflowToFileFormat,
|
|
@@ -111,12 +121,14 @@ import"./packager-tool-6ejqwbw9.js";
|
|
|
111
121
|
import"./packager-tool-mcaf4ewf.js";
|
|
112
122
|
import"./packager-tool-eypvc2kv.js";
|
|
113
123
|
import {
|
|
114
|
-
catchError,
|
|
115
124
|
logger
|
|
116
|
-
} from "./packager-tool-
|
|
125
|
+
} from "./packager-tool-apawc11t.js";
|
|
126
|
+
import {
|
|
127
|
+
catchError
|
|
128
|
+
} from "./packager-tool-t7ahhaer.js";
|
|
117
129
|
import {
|
|
118
130
|
getFileSystem
|
|
119
|
-
} from "./packager-tool-
|
|
131
|
+
} from "./packager-tool-myhbp761.js";
|
|
120
132
|
import"./packager-tool-4mna26cc.js";
|
|
121
133
|
import"./packager-tool-c23zrhj8.js";
|
|
122
134
|
import"./packager-tool-1yh8g550.js";
|
|
@@ -152,6 +164,7 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
152
164
|
const flowBaseName = flowFileName.replace(/\.flow$/i, "");
|
|
153
165
|
const bpmnFileName = `${flowBaseName}.bpmn`;
|
|
154
166
|
const { workflow } = await readFlowWorkflow(flowFilePath);
|
|
167
|
+
await assertInlineEntitiesBound(this.fs, flowFilePath, workflow);
|
|
155
168
|
ensureProcessBindings(workflow);
|
|
156
169
|
logger.info("Found .flow file, converting to BPMN for eval debug...");
|
|
157
170
|
const bpmnXml = await this.convertToBpmn(workflow);
|
|
@@ -274,7 +287,8 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
274
287
|
await writeFlowWorkflow(this.fs.path.join(stagingProjectDir, flowFileName), flowData);
|
|
275
288
|
await this.fs.writeFile(this.fs.path.join(stagingProjectDir, bpmnFileName), bpmnXml);
|
|
276
289
|
const startEventId = extractStartEventId(bpmnXml);
|
|
277
|
-
const packagingNodes =
|
|
290
|
+
const packagingNodes = flowToPackagingNodes(flowData);
|
|
291
|
+
const entryPointNodes = fileNodesToPackagingNodes(flowData.nodes);
|
|
278
292
|
const bindings = flowData.bindings ?? [];
|
|
279
293
|
const workflowVariables = flowData.variables ?? {};
|
|
280
294
|
const definitions = flowData.definitions ?? [];
|
|
@@ -282,6 +296,7 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
282
296
|
await applyRuntimeProfile(this.fs, stagingProjectDir, profile);
|
|
283
297
|
const inlineAgentPackages = await packageInlineAgents(this.fs, sourceProjectPath, flowData.nodes);
|
|
284
298
|
await writePackagingArtifactsDetailed(this.fs, stagingProjectDir, flowData.id, packagingNodes, bindings, workflowVariables, bpmnFileName, startEventId, flowFileName, definitions, {
|
|
299
|
+
entryPointNodes,
|
|
285
300
|
additionalEntryPoints: inlineAgentPackages.map((agent) => agent.entryPoint),
|
|
286
301
|
additionalBindingsJsons: inlineAgentPackages.map((agent) => agent.bindingsJson),
|
|
287
302
|
profile
|
|
@@ -448,7 +463,7 @@ class FlowEvalRunContextResolver {
|
|
|
448
463
|
this.localWorkspacePreparer = localWorkspacePreparer;
|
|
449
464
|
}
|
|
450
465
|
async resolveTarget(projectPath, evalSet, options, requireSolutionId, config) {
|
|
451
|
-
const absoluteProjectPath = await this.pathResolver.
|
|
466
|
+
const absoluteProjectPath = await this.pathResolver.resolveProjectPath(projectPath);
|
|
452
467
|
const solutionDir = this.fs.path.dirname(absoluteProjectPath);
|
|
453
468
|
const projectRelDir = toForwardSlash2(this.fs.path.relative(solutionDir, absoluteProjectPath));
|
|
454
469
|
const [uipxError, uipxResult] = await catchError(readUipxFile(this.fs, solutionDir));
|
|
@@ -670,28 +685,6 @@ class FlowEvalRunContextResolver {
|
|
|
670
685
|
};
|
|
671
686
|
}
|
|
672
687
|
}
|
|
673
|
-
|
|
674
|
-
// src/services/inject-workload-id.ts
|
|
675
|
-
var SIMULATION_STRATEGY_WIRE_VALUES = {
|
|
676
|
-
Llm: 0,
|
|
677
|
-
Static: 2
|
|
678
|
-
};
|
|
679
|
-
function injectWorkloadId(simulation, defaultWorkloadId) {
|
|
680
|
-
const { childSimulations: rawChildSimulations, ...rest } = simulation;
|
|
681
|
-
const workloadId = typeof simulation.workloadId === "string" ? simulation.workloadId : defaultWorkloadId;
|
|
682
|
-
const childSimulations = Array.isArray(rawChildSimulations) ? rawChildSimulations.map((child) => injectWorkloadId(child, workloadId)) : undefined;
|
|
683
|
-
const wireStrategy = SIMULATION_STRATEGY_WIRE_VALUES[simulation.simulationStrategy];
|
|
684
|
-
if (wireStrategy === undefined) {
|
|
685
|
-
throw new Error(`Unknown simulationStrategy "${String(simulation.simulationStrategy)}" on component "${simulation.componentId}". Supported values: ${Object.keys(SIMULATION_STRATEGY_WIRE_VALUES).join(", ")}.`);
|
|
686
|
-
}
|
|
687
|
-
return {
|
|
688
|
-
...rest,
|
|
689
|
-
workloadId,
|
|
690
|
-
simulationStrategy: wireStrategy,
|
|
691
|
-
...childSimulations ? { childSimulations } : {}
|
|
692
|
-
};
|
|
693
|
-
}
|
|
694
|
-
|
|
695
688
|
// src/services/flow-eval-run-service.ts
|
|
696
689
|
class FlowEvalRunService {
|
|
697
690
|
fs;
|
|
@@ -702,12 +695,12 @@ class FlowEvalRunService {
|
|
|
702
695
|
constructor(fs = getFileSystem(), api = new FlowEvalRunApi) {
|
|
703
696
|
this.fs = fs;
|
|
704
697
|
this.api = api;
|
|
705
|
-
this.store = new
|
|
698
|
+
this.store = new EvalFileStore(fs);
|
|
706
699
|
this.pathResolver = new FlowEvalPathResolver(fs);
|
|
707
700
|
this.contextResolver = new FlowEvalRunContextResolver(fs, this.pathResolver);
|
|
708
701
|
}
|
|
709
702
|
async resolveRemoteEvalTarget(projectPath, setIdOrName, options = {}, requireSolutionId = false, config) {
|
|
710
|
-
const absoluteProjectPath = await this.pathResolver.
|
|
703
|
+
const absoluteProjectPath = await this.pathResolver.resolveProjectPath(projectPath);
|
|
711
704
|
const evalSet = await this.requireEvalSet(absoluteProjectPath, setIdOrName);
|
|
712
705
|
return this.contextResolver.resolveTarget(absoluteProjectPath, evalSet, options, requireSolutionId, config);
|
|
713
706
|
}
|
|
@@ -721,10 +714,10 @@ class FlowEvalRunService {
|
|
|
721
714
|
};
|
|
722
715
|
}
|
|
723
716
|
async startRemoteEvalRun(projectPath, setIdOrName, config, options = {}) {
|
|
724
|
-
const absoluteProjectPath = await this.pathResolver.
|
|
717
|
+
const absoluteProjectPath = await this.pathResolver.resolveProjectPath(projectPath);
|
|
725
718
|
const evalSet = await this.requireEvalSet(absoluteProjectPath, setIdOrName);
|
|
726
719
|
if (evalSet.evaluations.length === 0) {
|
|
727
|
-
throw new Error(`Evaluation set "${evalSet.name}" has no data points. Add some with 'maestro flow eval
|
|
720
|
+
throw new Error(`Evaluation set "${evalSet.name}" has no data points. Add some with 'maestro flow eval create'.`);
|
|
728
721
|
}
|
|
729
722
|
const evaluators = await this.getLinkedEvaluators(absoluteProjectPath, evalSet);
|
|
730
723
|
if (evaluators.length === 0) {
|
|
@@ -789,7 +782,7 @@ class FlowEvalRunService {
|
|
|
789
782
|
return this.api.getEvalRuns(config, workloadId, evalSetRunId);
|
|
790
783
|
}
|
|
791
784
|
async listEvaluators(projectPath) {
|
|
792
|
-
const absoluteProjectPath = await this.pathResolver.
|
|
785
|
+
const absoluteProjectPath = await this.pathResolver.resolveProjectPath(projectPath);
|
|
793
786
|
return this.listEvaluatorsForResolvedPath(absoluteProjectPath);
|
|
794
787
|
}
|
|
795
788
|
async listEvalSets(projectPath) {
|
|
@@ -820,7 +813,7 @@ class FlowEvalRunService {
|
|
|
820
813
|
if (nodeTargetId !== undefined) {
|
|
821
814
|
const lookup2 = findFlowNode(flowContent, nodeTargetId);
|
|
822
815
|
if (lookup2.flowParsed && !lookup2.node) {
|
|
823
|
-
throw new Error(`Evaluation set "${evalSet.name}" targets agent node "${nodeTargetId}", which no longer exists in the flow. Recreate the set with 'maestro flow eval
|
|
816
|
+
throw new Error(`Evaluation set "${evalSet.name}" targets agent node "${nodeTargetId}", which no longer exists in the flow. Recreate the set with 'maestro flow eval sets create --entry-point <agent-node-id>'.`);
|
|
824
817
|
}
|
|
825
818
|
return;
|
|
826
819
|
}
|
|
@@ -832,11 +825,11 @@ class FlowEvalRunService {
|
|
|
832
825
|
if (entryPointOverride !== undefined) {
|
|
833
826
|
return;
|
|
834
827
|
}
|
|
835
|
-
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which is a BPMN path, not a node id — Studio Web cannot resolve the evaluation target.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval
|
|
828
|
+
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which is a BPMN path, not a node id — Studio Web cannot resolve the evaluation target.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval sets create', or fix its selectedEntrypoint to a trigger node id.`);
|
|
836
829
|
}
|
|
837
830
|
const lookup = findFlowNode(flowContent, entryPoint);
|
|
838
831
|
if (lookup.flowParsed && !lookup.node) {
|
|
839
|
-
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which does not match any node in the flow.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval
|
|
832
|
+
throw new Error(`Evaluation set "${evalSet.name}" has entry point "${entryPoint}", which does not match any node in the flow.${formatTriggerIdsHint(flowContent)} Recreate the set with 'maestro flow eval sets create', or fix its selectedEntrypoint to a trigger node id.`);
|
|
840
833
|
}
|
|
841
834
|
}
|
|
842
835
|
async requireEvalSet(projectPath, idOrName) {
|
|
@@ -854,4 +847,4 @@ export {
|
|
|
854
847
|
FlowEvalRunService
|
|
855
848
|
};
|
|
856
849
|
|
|
857
|
-
//# debugId=
|
|
850
|
+
//# debugId=D4AA7FF845485D5664756E2164756E21
|