@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,32 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeResolvedFlow
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-wh660fny.js";
|
|
4
|
+
import {
|
|
5
|
+
resolveEntryPointNodeId
|
|
6
|
+
} from "./packager-tool-z0yxfhdj.js";
|
|
4
7
|
import {
|
|
5
8
|
package_default
|
|
6
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-5regytfc.js";
|
|
10
|
+
import"./packager-tool-4kr6g0zw.js";
|
|
7
11
|
import {
|
|
8
12
|
assertNoPreviewIds
|
|
9
13
|
} from "./packager-tool-zgsvggdr.js";
|
|
10
14
|
import"./packager-tool-e5hj89zm.js";
|
|
11
|
-
import {
|
|
12
|
-
ensureProcessBindings
|
|
13
|
-
} from "./packager-tool-epkg5s7f.js";
|
|
14
|
-
import"./packager-tool-y8egb0fa.js";
|
|
15
15
|
import {
|
|
16
16
|
buildInlineAgentDescriptors,
|
|
17
|
+
ensureProcessBindings,
|
|
17
18
|
fileNodesToPackagingNodes,
|
|
19
|
+
flowToPackagingNodes,
|
|
18
20
|
packageInlineAgents,
|
|
19
21
|
stageInlineAgentPackageFiles,
|
|
20
|
-
writePackagingArtifacts
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
import"./packager-tool-
|
|
28
|
-
import"./packager-tool-
|
|
29
|
-
import"./packager-tool-
|
|
22
|
+
writePackagingArtifacts
|
|
23
|
+
} from "./packager-tool-wds3myef.js";
|
|
24
|
+
import"./packager-tool-cqtsj6yh.js";
|
|
25
|
+
import {
|
|
26
|
+
UnboundInlineEntityError,
|
|
27
|
+
assertInlineEntitiesBound
|
|
28
|
+
} from "./packager-tool-fc1xdt3y.js";
|
|
29
|
+
import"./packager-tool-nk16zaz3.js";
|
|
30
|
+
import"./packager-tool-dxgrhfq5.js";
|
|
31
|
+
import"./packager-tool-7hw344bt.js";
|
|
32
|
+
import"./packager-tool-phw8ydjx.js";
|
|
33
|
+
import"./packager-tool-e7kvq8hf.js";
|
|
34
|
+
import"./packager-tool-skcjythd.js";
|
|
35
|
+
import"./packager-tool-4x7tzvv0.js";
|
|
36
|
+
import"./packager-tool-gcap41av.js";
|
|
37
|
+
import"./packager-tool-ymma2s85.js";
|
|
30
38
|
import {
|
|
31
39
|
DebugProvisioningFailedError,
|
|
32
40
|
DebugVariablesFetchFailedError,
|
|
@@ -38,59 +46,62 @@ import {
|
|
|
38
46
|
isSuccessfulDebugStatus,
|
|
39
47
|
patchConnectionOverwrites,
|
|
40
48
|
uploadAndDebugSolution
|
|
41
|
-
} from "./packager-tool-
|
|
42
|
-
import"./packager-tool-
|
|
43
|
-
import"./packager-tool-
|
|
44
|
-
import"./packager-tool-
|
|
49
|
+
} from "./packager-tool-tqjfdpda.js";
|
|
50
|
+
import"./packager-tool-frjt46rb.js";
|
|
51
|
+
import"./packager-tool-hxyjn885.js";
|
|
52
|
+
import"./packager-tool-xk78j7dz.js";
|
|
45
53
|
import"./packager-tool-8qp60s20.js";
|
|
46
|
-
import"./packager-tool-
|
|
47
|
-
import"./packager-tool-qa9gftnj.js";
|
|
54
|
+
import"./packager-tool-kn86394c.js";
|
|
48
55
|
import"./packager-tool-0gctz400.js";
|
|
56
|
+
import"./packager-tool-qa9gftnj.js";
|
|
49
57
|
import"./packager-tool-yc4kw997.js";
|
|
50
58
|
import {
|
|
51
59
|
buildSolutionPackageFromDir,
|
|
52
60
|
createZipFromDir,
|
|
53
61
|
uploadOrOverwriteSolution
|
|
54
|
-
} from "./packager-tool-
|
|
62
|
+
} from "./packager-tool-nj4vcnq9.js";
|
|
63
|
+
import {
|
|
64
|
+
findProjectFlowFile,
|
|
65
|
+
readFlowWorkflow,
|
|
66
|
+
resolveProjectFlowFile,
|
|
67
|
+
writeFlowWorkflow
|
|
68
|
+
} from "./packager-tool-nts5rrch.js";
|
|
69
|
+
import"./packager-tool-dwd6cc01.js";
|
|
70
|
+
import"./packager-tool-paq9c70w.js";
|
|
55
71
|
import {
|
|
56
72
|
findNearestParentUipxFile,
|
|
57
73
|
findSolutionFile,
|
|
58
74
|
isProjectRegisteredInSolution,
|
|
59
75
|
readUipxFile,
|
|
60
76
|
updateSolutionFile
|
|
61
|
-
} from "./packager-tool-
|
|
62
|
-
import"./packager-tool-5nqhxb9e.js";
|
|
63
|
-
import"./packager-tool-paq9c70w.js";
|
|
64
|
-
import {
|
|
65
|
-
findProjectFlowFile,
|
|
66
|
-
readFlowWorkflow,
|
|
67
|
-
resolveProjectFlowFile,
|
|
68
|
-
writeFlowWorkflow
|
|
69
|
-
} from "./packager-tool-vzbttaje.js";
|
|
77
|
+
} from "./packager-tool-8g5931fz.js";
|
|
70
78
|
import {
|
|
71
79
|
assertVoiceAgentDefinitionsEmbedded,
|
|
72
80
|
convertFlowToBpmn,
|
|
73
81
|
hydrateInlineAgentInputVariables,
|
|
74
82
|
replaceExporterVersion,
|
|
75
83
|
voiceConvertOptions
|
|
76
|
-
} from "./packager-tool-
|
|
77
|
-
import"./packager-tool-
|
|
84
|
+
} from "./packager-tool-445qgxdk.js";
|
|
85
|
+
import"./packager-tool-961vsbsc.js";
|
|
78
86
|
import {
|
|
79
87
|
applyRuntimeProfile,
|
|
80
88
|
resolveRuntimeProfile,
|
|
81
89
|
resolveRuntimeProfileForFlowFile
|
|
82
|
-
} from "./packager-tool-
|
|
83
|
-
import"./packager-tool-
|
|
90
|
+
} from "./packager-tool-jgfzfqjm.js";
|
|
91
|
+
import"./packager-tool-qcqb9hf8.js";
|
|
92
|
+
import"./packager-tool-wze74wyk.js";
|
|
93
|
+
import"./packager-tool-pacrqxv2.js";
|
|
84
94
|
import"./packager-tool-nkrmjr3a.js";
|
|
85
|
-
import"./packager-tool-tyg399d6.js";
|
|
86
95
|
import"./packager-tool-rs6jm14d.js";
|
|
87
96
|
import"./packager-tool-hk1gxnth.js";
|
|
88
|
-
import"./packager-tool-
|
|
97
|
+
import"./packager-tool-mgcz986r.js";
|
|
98
|
+
import"./packager-tool-xj0agqpk.js";
|
|
99
|
+
import"./packager-tool-pcvhcn2k.js";
|
|
89
100
|
import"./packager-tool-sc961w0q.js";
|
|
90
101
|
import"./packager-tool-eq46jxm5.js";
|
|
91
102
|
import"./packager-tool-868re2t3.js";
|
|
92
103
|
import"./packager-tool-gbgfwx8f.js";
|
|
93
|
-
import"./packager-tool-
|
|
104
|
+
import"./packager-tool-6z1hsm2h.js";
|
|
94
105
|
import"./packager-tool-jysvpt8p.js";
|
|
95
106
|
import {
|
|
96
107
|
inMemoryWorkflowToFileFormat,
|
|
@@ -103,12 +114,14 @@ import"./packager-tool-6ejqwbw9.js";
|
|
|
103
114
|
import"./packager-tool-mcaf4ewf.js";
|
|
104
115
|
import"./packager-tool-eypvc2kv.js";
|
|
105
116
|
import {
|
|
106
|
-
catchError,
|
|
107
117
|
logger
|
|
108
|
-
} from "./packager-tool-
|
|
118
|
+
} from "./packager-tool-apawc11t.js";
|
|
119
|
+
import {
|
|
120
|
+
catchError
|
|
121
|
+
} from "./packager-tool-t7ahhaer.js";
|
|
109
122
|
import {
|
|
110
123
|
getFileSystem
|
|
111
|
-
} from "./packager-tool-
|
|
124
|
+
} from "./packager-tool-myhbp761.js";
|
|
112
125
|
import"./packager-tool-4mna26cc.js";
|
|
113
126
|
import"./packager-tool-c23zrhj8.js";
|
|
114
127
|
import {
|
|
@@ -313,7 +326,8 @@ class FlowDebugService {
|
|
|
313
326
|
await safeMkdir(projectDir);
|
|
314
327
|
const resolvedStartEventId = startEventId ?? extractStartEventId(bpmnXml);
|
|
315
328
|
const bpmnFileName = `${safeName}.bpmn`;
|
|
316
|
-
const packagingNodes =
|
|
329
|
+
const packagingNodes = flowToPackagingNodes(flowData);
|
|
330
|
+
const entryPointNodes = fileNodesToPackagingNodes(flowData.nodes);
|
|
317
331
|
const bindings = flowData.bindings ?? [];
|
|
318
332
|
const variables = flowData.variables ?? {};
|
|
319
333
|
const definitions = flowData.definitions ?? [];
|
|
@@ -324,7 +338,7 @@ class FlowDebugService {
|
|
|
324
338
|
await this.fs.writeFile(this.fs.path.join(projectDir, "project.uiproj"), `${JSON.stringify(projectUiproj, null, 2)}
|
|
325
339
|
`);
|
|
326
340
|
await applyRuntimeProfile(this.fs, projectDir, profile);
|
|
327
|
-
await writePackagingArtifacts(this.fs, projectDir, flowData.id, packagingNodes, bindings, variables, bpmnFileName, resolvedStartEventId, `${safeName}.flow`, definitions, { profile });
|
|
341
|
+
await writePackagingArtifacts(this.fs, projectDir, flowData.id, packagingNodes, bindings, variables, bpmnFileName, resolvedStartEventId, `${safeName}.flow`, definitions, { entryPointNodes, profile });
|
|
328
342
|
await this.fs.writeFile(this.fs.path.join(projectDir, `${safeName}.bpmn`), bpmnXml);
|
|
329
343
|
if (flowFileContent) {
|
|
330
344
|
await this.fs.writeFile(this.fs.path.join(projectDir, `${safeName}.flow`), flowFileContent);
|
|
@@ -425,6 +439,7 @@ class FlowDebugService {
|
|
|
425
439
|
}
|
|
426
440
|
const flowFileName = this.fs.path.basename(flowFilePath);
|
|
427
441
|
const { workflow: flowData } = await readFlowWorkflow(flowFilePath);
|
|
442
|
+
await assertInlineEntitiesBound(this.fs, this.fs.path.join(sourceProjectDir, this.fs.path.relative(projectStagingDir, flowFilePath)), flowData);
|
|
428
443
|
ensureProcessBindings(flowData);
|
|
429
444
|
const bpmnXml = await this.convertToBpmn(flowData, this.fs.path.dirname(flowFilePath));
|
|
430
445
|
const inlineAgentPackages = await packageInlineAgents(this.fs, projectStagingDir, flowData.nodes);
|
|
@@ -441,13 +456,14 @@ class FlowDebugService {
|
|
|
441
456
|
await writeFlowWorkflow(this.fs.path.join(projectDir, flowFileName), flowData);
|
|
442
457
|
await this.fs.writeFile(this.fs.path.join(projectDir, bpmnFileName), bpmnXml);
|
|
443
458
|
const startEventId = extractStartEventId(bpmnXml);
|
|
444
|
-
|
|
459
|
+
await writePackagingArtifacts(this.fs, projectDir, flowData.id, flowToPackagingNodes(flowData), flowData.bindings ?? [], flowData.variables ?? {}, bpmnFileName, startEventId, flowFileName, flowData.definitions ?? [], {
|
|
460
|
+
entryPointNodes: fileNodesToPackagingNodes(flowData.nodes),
|
|
445
461
|
additionalEntryPoints: inlineAgentPackages.map((agent) => agent.entryPoint),
|
|
446
462
|
additionalBindingsJsons: inlineAgentPackages.map((agent) => agent.bindingsJson),
|
|
447
463
|
profile
|
|
448
464
|
});
|
|
449
465
|
await writeResolvedFlow(this.fs, projectDir, flowFileName.replace(/\.flow$/i, ""), flowData);
|
|
450
|
-
return { bpmnFileName, startEventId
|
|
466
|
+
return { bpmnFileName, startEventId };
|
|
451
467
|
}
|
|
452
468
|
toWireProjectType(rawType) {
|
|
453
469
|
switch (rawType?.trim().toLowerCase()) {
|
|
@@ -539,6 +555,7 @@ class FlowDebugService {
|
|
|
539
555
|
const flowFilePath = await resolveProjectFlowFile(absoluteProjectPath);
|
|
540
556
|
const { workflow: flowData } = await readFlowWorkflow(flowFilePath);
|
|
541
557
|
assertNotInboundVoiceFlow(flowData);
|
|
558
|
+
const startNodeId = resolveEntryPointNodeId(flowData.nodes ?? [], options?.entryPoint);
|
|
542
559
|
if (options?.inputs && flowData.variables?.globals) {
|
|
543
560
|
for (const variable of flowData.variables.globals) {
|
|
544
561
|
if (Object.hasOwn(options.inputs, variable.id)) {
|
|
@@ -546,6 +563,7 @@ class FlowDebugService {
|
|
|
546
563
|
}
|
|
547
564
|
}
|
|
548
565
|
}
|
|
566
|
+
await assertInlineEntitiesBound(this.fs, flowFilePath, flowData);
|
|
549
567
|
ensureProcessBindings(flowData);
|
|
550
568
|
logger.info("Found .flow file, converting to BPMN...");
|
|
551
569
|
const bpmnXml = await this.convertToBpmn(flowData, this.fs.path.dirname(flowFilePath));
|
|
@@ -587,6 +605,9 @@ class FlowDebugService {
|
|
|
587
605
|
if (project.Type === "Flow") {
|
|
588
606
|
const [packageError, agents] = await catchError(this.generateSiblingFlowPackage(siblingStagingDir, projectDir, srcProjectPath));
|
|
589
607
|
if (packageError) {
|
|
608
|
+
if (packageError instanceof UnboundInlineEntityError) {
|
|
609
|
+
throw packageError;
|
|
610
|
+
}
|
|
590
611
|
logger.warn(`Could not package sibling Flow "${projectDir}": ${packageError.message}. Continuing.`);
|
|
591
612
|
} else {
|
|
592
613
|
siblingInlineAgents.push(...agents);
|
|
@@ -604,7 +625,7 @@ class FlowDebugService {
|
|
|
604
625
|
const inlineAgentPackages = await packageInlineAgents(this.fs, absoluteProjectPath, flowData.nodes);
|
|
605
626
|
const profile = await resolveRuntimeProfile(this.fs, absoluteProjectPath);
|
|
606
627
|
await applyRuntimeProfile(this.fs, stagingProjectDir, profile);
|
|
607
|
-
const { bpmnFileName, startEventId
|
|
628
|
+
const { bpmnFileName, startEventId } = await this.writeFlowProjectPackage(stagingProjectDir, flowData, bpmnXml, `${safeName}.flow`, inlineAgentPackages, profile);
|
|
608
629
|
if (inlineAgentPackages.length > 0) {
|
|
609
630
|
await stageInlineAgentPackageFiles(this.fs, absoluteProjectPath, stagingProjectDir, inlineAgentPackages, (source) => `Staged inline agent "${source}" for debug`);
|
|
610
631
|
}
|
|
@@ -612,9 +633,9 @@ class FlowDebugService {
|
|
|
612
633
|
...siblingInlineAgents,
|
|
613
634
|
...buildInlineAgentDescriptors(flowData.nodes)
|
|
614
635
|
];
|
|
615
|
-
const
|
|
616
|
-
entryPoint = `/${bpmnFileName}#${
|
|
617
|
-
const [refreshError, refreshResult] = await catchError(import("./index-
|
|
636
|
+
const startNode = startNodeId ?? startEventId;
|
|
637
|
+
entryPoint = `/${bpmnFileName}#${startNode}`;
|
|
638
|
+
const [refreshError, refreshResult] = await catchError(import("./index-1b2je9n2.js").then((mod) => mod.resourceRefreshAsync(stagingDir)));
|
|
618
639
|
let missingResourceWarnings = [];
|
|
619
640
|
if (refreshError) {
|
|
620
641
|
logger.warn(`Resource refresh threw before debug: ${refreshError.message}. Continuing without generated overwrites.`);
|
|
@@ -687,8 +708,15 @@ class FlowDebugService {
|
|
|
687
708
|
if (debugError) {
|
|
688
709
|
throw withMissingResourceContext(debugError, missingResourceWarnings);
|
|
689
710
|
}
|
|
690
|
-
const
|
|
691
|
-
|
|
711
|
+
const outputIds = declaredOutputIds(flowData);
|
|
712
|
+
const outputs = await fetchOutputVariables(apiConfig, result, outputIds);
|
|
713
|
+
return {
|
|
714
|
+
...result,
|
|
715
|
+
folderKey: folderInfo.key,
|
|
716
|
+
entryPoint: startNode,
|
|
717
|
+
...outputs,
|
|
718
|
+
declaredOutputIds: outputIds
|
|
719
|
+
};
|
|
692
720
|
} finally {
|
|
693
721
|
const [cleanupErr] = await catchError((async () => {
|
|
694
722
|
if (uisPath)
|
|
@@ -712,6 +740,7 @@ class FlowDebugService {
|
|
|
712
740
|
let projectName;
|
|
713
741
|
let entryPointBpmnFile;
|
|
714
742
|
let startEventId;
|
|
743
|
+
let expectGlobals = [];
|
|
715
744
|
if (ext === ".flow") {
|
|
716
745
|
logger.info("Reading .flow file...");
|
|
717
746
|
const absolutePath = this.fs.path.resolve(filePath);
|
|
@@ -719,6 +748,7 @@ class FlowDebugService {
|
|
|
719
748
|
throw new Error(`File not found: ${absolutePath}`);
|
|
720
749
|
}
|
|
721
750
|
const { workflow: flowData } = await readFlowWorkflow(absolutePath);
|
|
751
|
+
expectGlobals = declaredOutputIds(flowData);
|
|
722
752
|
if (inputs && flowData.variables?.globals) {
|
|
723
753
|
for (const variable of flowData.variables.globals) {
|
|
724
754
|
if (Object.hasOwn(inputs, variable.id)) {
|
|
@@ -792,15 +822,23 @@ class FlowDebugService {
|
|
|
792
822
|
maxPolls: options?.maxPolls ?? 300,
|
|
793
823
|
beginSessionPayload: inputs ? JSON.stringify(inputs) : undefined
|
|
794
824
|
});
|
|
795
|
-
const outputs = await fetchOutputVariables(apiConfig, result
|
|
796
|
-
return { ...result, ...outputs };
|
|
825
|
+
const outputs = await fetchOutputVariables(apiConfig, result, expectGlobals);
|
|
826
|
+
return { ...result, ...outputs, declaredOutputIds: expectGlobals };
|
|
797
827
|
}
|
|
798
828
|
}
|
|
799
|
-
|
|
829
|
+
function declaredOutputIds(flowData) {
|
|
830
|
+
return (flowData.variables?.globals ?? []).filter((variable) => variable.direction === "out" || variable.direction === "inout").map((variable) => variable.id);
|
|
831
|
+
}
|
|
832
|
+
async function fetchOutputVariables(apiConfig, run, expectGlobals) {
|
|
800
833
|
logger.info("Fetching output variables...");
|
|
801
|
-
const
|
|
834
|
+
const { instanceId, terminalStatusAt } = run;
|
|
835
|
+
let fetch;
|
|
836
|
+
const onFetched = (done) => {
|
|
837
|
+
fetch = done;
|
|
838
|
+
};
|
|
839
|
+
const [error, variables] = await catchError(fetchDebugInstanceVariables(apiConfig, instanceId, isSuccessfulDebugStatus(run.finalStatus) ? { expectGlobals, terminalStatusAt, onFetched } : { delays: [], terminalStatusAt, onFetched }));
|
|
802
840
|
if (!error) {
|
|
803
|
-
return { variables };
|
|
841
|
+
return fetch && fetch.attempts > 1 ? { variables, variablesFetch: fetch } : { variables };
|
|
804
842
|
}
|
|
805
843
|
if (error instanceof DebugVariablesFetchFailedError) {
|
|
806
844
|
logger.warn(`Could not fetch output variables after ${error.details.attempts} attempt(s): ${error.details.message}. ` + "The run completed; its outputs are unknown, not empty.");
|
|
@@ -834,4 +872,4 @@ export {
|
|
|
834
872
|
withMissingResourceContext
|
|
835
873
|
};
|
|
836
874
|
|
|
837
|
-
//# debugId=
|
|
875
|
+
//# debugId=451F3D3D0B6C786064756E2164756E21
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FlowAgentNodeSchemaReader,
|
|
3
3
|
findFlowNode,
|
|
4
|
-
formatTriggerIdsHint,
|
|
5
4
|
isDocumentEvalNode,
|
|
6
5
|
isNodeEvalTarget,
|
|
7
|
-
listTriggerNodeIds,
|
|
8
6
|
readAgentSourceId,
|
|
9
7
|
readEvalSetScope,
|
|
10
8
|
readNodeTargetId
|
|
11
|
-
} from "./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
9
|
+
} from "./packager-tool-hvgn6t66.js";
|
|
10
|
+
import"./packager-tool-hxyjn885.js";
|
|
11
|
+
import"./packager-tool-xk78j7dz.js";
|
|
12
|
+
import"./packager-tool-445qgxdk.js";
|
|
13
|
+
import"./packager-tool-961vsbsc.js";
|
|
14
|
+
import"./packager-tool-jgfzfqjm.js";
|
|
15
|
+
import"./packager-tool-qcqb9hf8.js";
|
|
16
|
+
import"./packager-tool-wze74wyk.js";
|
|
17
|
+
import"./packager-tool-pacrqxv2.js";
|
|
18
18
|
import"./packager-tool-nkrmjr3a.js";
|
|
19
|
-
import"./packager-tool-tyg399d6.js";
|
|
20
19
|
import"./packager-tool-rs6jm14d.js";
|
|
21
20
|
import"./packager-tool-hk1gxnth.js";
|
|
22
|
-
import"./packager-tool-
|
|
21
|
+
import"./packager-tool-mgcz986r.js";
|
|
22
|
+
import"./packager-tool-xj0agqpk.js";
|
|
23
|
+
import"./packager-tool-pcvhcn2k.js";
|
|
23
24
|
import"./packager-tool-sc961w0q.js";
|
|
24
25
|
import"./packager-tool-eq46jxm5.js";
|
|
25
26
|
import"./packager-tool-868re2t3.js";
|
|
26
27
|
import"./packager-tool-gbgfwx8f.js";
|
|
27
|
-
import"./packager-tool-
|
|
28
|
+
import"./packager-tool-6z1hsm2h.js";
|
|
28
29
|
import"./packager-tool-jysvpt8p.js";
|
|
29
30
|
import"./packager-tool-bhqx9kez.js";
|
|
30
31
|
import"./packager-tool-p79yh9ww.js";
|
|
@@ -32,21 +33,20 @@ import"./packager-tool-pxqras8k.js";
|
|
|
32
33
|
import"./packager-tool-z83pga0z.js";
|
|
33
34
|
import"./packager-tool-6ejqwbw9.js";
|
|
34
35
|
import"./packager-tool-mcaf4ewf.js";
|
|
35
|
-
import"./packager-tool-
|
|
36
|
-
import"./packager-tool-
|
|
36
|
+
import"./packager-tool-apawc11t.js";
|
|
37
|
+
import"./packager-tool-t7ahhaer.js";
|
|
38
|
+
import"./packager-tool-myhbp761.js";
|
|
37
39
|
import"./packager-tool-4mna26cc.js";
|
|
38
40
|
import"./packager-tool-c23zrhj8.js";
|
|
39
41
|
import"./packager-tool-1yh8g550.js";
|
|
40
42
|
export {
|
|
41
43
|
FlowAgentNodeSchemaReader,
|
|
42
44
|
findFlowNode,
|
|
43
|
-
formatTriggerIdsHint,
|
|
44
45
|
isDocumentEvalNode,
|
|
45
46
|
isNodeEvalTarget,
|
|
46
|
-
listTriggerNodeIds,
|
|
47
47
|
readAgentSourceId,
|
|
48
48
|
readEvalSetScope,
|
|
49
49
|
readNodeTargetId
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
//# debugId=
|
|
52
|
+
//# debugId=C5768595B00B49E264756E2164756E21
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FlowEvalRunApi
|
|
3
|
+
} from "./packager-tool-9jxzgsxc.js";
|
|
4
|
+
import"./packager-tool-xk78j7dz.js";
|
|
5
|
+
import"./packager-tool-apawc11t.js";
|
|
6
|
+
import"./packager-tool-t7ahhaer.js";
|
|
7
|
+
import"./packager-tool-myhbp761.js";
|
|
8
|
+
import"./packager-tool-1yh8g550.js";
|
|
9
|
+
export {
|
|
10
|
+
FlowEvalRunApi
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//# debugId=CABC6F11B3BF986C64756E2164756E21
|