@uipath/flow-tool 1.204.0-preview.249 → 1.204.0-preview.254
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/dist/THIRD-PARTY-NOTICES.md +32 -1
- package/dist/{binding-service-e98bkrht.js → binding-service-9t9gqe9c.js} +7 -7
- package/dist/{connector-service-rgb2wjw7.js → connector-service-xm05bmhz.js} +7 -7
- package/dist/{debug-conversation-trigger-m7s97epd.js → debug-conversation-trigger-mqzrtt1v.js} +2 -2
- package/dist/{debug-service-ses9wgn1.js → debug-service-893erynq.js} +4 -2
- package/dist/{edge-service-ekfnqych.js → edge-service-rms6p69f.js} +2 -2
- package/dist/{flow-api-1hhpnxj1.js → flow-api-kjvpsxhw.js} +2 -2
- package/dist/{flow-debug-service-sc52phvv.js → flow-debug-service-3wtns3k7.js} +71 -13
- package/dist/{flow-eval-node-target-c10s7zmz.js → flow-eval-node-target-ee6vbq8a.js} +2 -2
- package/dist/{flow-eval-run-service-kgjb9bhd.js → flow-eval-run-service-0ne6bjff.js} +10 -10
- package/dist/{flow-eval-service-pnnv4qpr.js → flow-eval-service-kbbq3wwq.js} +3 -3
- package/dist/{flow-init-service-ahgmc776.js → flow-init-service-cefvmek0.js} +4 -4
- package/dist/{flow-io-945g2vmj.js → flow-io-ykx6eb1v.js} +2 -2
- package/dist/{flow-migrate-service-vkvgjg72.js → flow-migrate-service-c4hcjfc8.js} +2 -2
- package/dist/{flow-pack-service-tqwgmdeg.js → flow-pack-service-6wqe1mj3.js} +11 -11
- package/dist/{flow-validate-service-56rr6jce.js → flow-validate-service-5pbh3s4p.js} +11 -11
- package/dist/{governance-fetcher-z33h2cws.js → governance-fetcher-fgwewrfq.js} +2 -2
- package/dist/{hitl-service-gk605m2e.js → hitl-service-0tct4x3e.js} +2 -2
- package/dist/{index-q469t7fj.js → index-tzky1ynd.js} +4 -2
- package/dist/index.js +4 -4
- package/dist/init.js +4 -4
- package/dist/{node-hdb4h7j7.js → node-ey7dteda.js} +2 -2
- package/dist/{node-service-vbp7nmym.js → node-service-z8s4nm09.js} +7 -7
- package/dist/{node-sync-service-rys57040.js → node-sync-service-ak1wgysc.js} +1 -1
- package/dist/{packager-tool-a4tajq66.js → packager-tool-0d375dbz.js} +2 -2
- package/dist/{packager-tool-8ja5e9bj.js → packager-tool-2m06764j.js} +4 -4
- package/dist/{packager-tool-c3a16tvp.js → packager-tool-2xycknte.js} +1 -1
- package/dist/{packager-tool-t7pstjwn.js → packager-tool-4fhedj18.js} +334 -54
- package/dist/{packager-tool-y2dxdwcw.js → packager-tool-6c3szt0w.js} +1 -1
- package/dist/{packager-tool-8fewc17a.js → packager-tool-8ak76pc3.js} +1 -1
- package/dist/{packager-tool-w59vpzfh.js → packager-tool-arbswyqr.js} +1 -1
- package/dist/{packager-tool-bev70eyj.js → packager-tool-c4909mw9.js} +22 -11
- package/dist/{packager-tool-ebakgxbh.js → packager-tool-c7nmvv5g.js} +2 -2
- package/dist/{packager-tool-9g0p6s7h.js → packager-tool-fjcbc1bb.js} +16 -10
- package/dist/{packager-tool-a0eqe41x.js → packager-tool-m6abv2vy.js} +1 -1
- package/dist/{packager-tool-c7tz09q3.js → packager-tool-n4m8yrm2.js} +23 -18
- package/dist/{packager-tool-a99yrh6n.js → packager-tool-peawy22c.js} +17 -3
- package/dist/{packager-tool-6wtb3x7j.js → packager-tool-qsa2nf80.js} +74 -58
- package/dist/{packager-tool-rv6kdg2x.js → packager-tool-vnwq9t1v.js} +1 -1
- package/dist/{packager-tool-hsbn8yr1.js → packager-tool-wq9k7pq8.js} +1 -1
- package/dist/{packager-tool-579hedjh.js → packager-tool-zxp4hya4.js} +1 -1
- package/dist/packager-tool.js +2 -2
- package/dist/services/flow-debug-service.d.ts +30 -0
- package/dist/{tidy-service-q8858xdv.js → tidy-service-chs0s9pw.js} +2 -2
- package/dist/tool.js +4 -4
- package/dist/validation.js +11 -11
- package/dist/{variable-service-djjj5ryt.js → variable-service-6ky17hts.js} +2 -2
- package/dist/{wait-for-flow-job-jg3a4zvd.js → wait-for-flow-job-d8m6mqb4.js} +2 -2
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@ compiled into its `dist/` output rather than installed alongside it.
|
|
|
5
5
|
Their licences and copyright notices are reproduced here in full, as
|
|
6
6
|
those licences require.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
64 bundled dependencies:
|
|
9
9
|
|
|
10
10
|
- @jsep-plugin/object@1.2.2 — MIT
|
|
11
11
|
- @serverlessworkflow/sdk@1.0.1 — Apache-2.0
|
|
@@ -36,6 +36,7 @@ those licences require.
|
|
|
36
36
|
- fast-uri@3.1.8 — BSD-3-Clause
|
|
37
37
|
- fflate@0.8.3 — MIT
|
|
38
38
|
- i18next@23.16.8 — MIT
|
|
39
|
+
- ignore@5.3.2 — MIT
|
|
39
40
|
- is-docker@3.0.0 — MIT
|
|
40
41
|
- is-in-ssh@1.0.0 — MIT
|
|
41
42
|
- is-inside-container@1.0.0 — MIT
|
|
@@ -1110,6 +1111,36 @@ SOFTWARE.
|
|
|
1110
1111
|
|
|
1111
1112
|
---
|
|
1112
1113
|
|
|
1114
|
+
## ignore@5.3.2
|
|
1115
|
+
|
|
1116
|
+
SPDX: MIT
|
|
1117
|
+
|
|
1118
|
+
```
|
|
1119
|
+
Copyright (c) 2013 Kael Zhang <i@kael.me>, contributors
|
|
1120
|
+
http://kael.me/
|
|
1121
|
+
|
|
1122
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
1123
|
+
a copy of this software and associated documentation files (the
|
|
1124
|
+
"Software"), to deal in the Software without restriction, including
|
|
1125
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
1126
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
1127
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
1128
|
+
the following conditions:
|
|
1129
|
+
|
|
1130
|
+
The above copyright notice and this permission notice shall be
|
|
1131
|
+
included in all copies or substantial portions of the Software.
|
|
1132
|
+
|
|
1133
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1134
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1135
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
1136
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
1137
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
1138
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
1139
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1140
|
+
```
|
|
1141
|
+
|
|
1142
|
+
---
|
|
1143
|
+
|
|
1113
1144
|
## is-docker@3.0.0
|
|
1114
1145
|
|
|
1115
1146
|
SPDX: MIT
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./packager-tool-27avrkyk.js";
|
|
4
4
|
import {
|
|
5
5
|
collectNodeBindingResourceKeys
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-2m06764j.js";
|
|
7
7
|
import"./packager-tool-y8egb0fa.js";
|
|
8
|
-
import"./packager-tool-
|
|
8
|
+
import"./packager-tool-6c3szt0w.js";
|
|
9
9
|
import"./packager-tool-pz5nqg0s.js";
|
|
10
10
|
import"./packager-tool-n89vrpex.js";
|
|
11
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-fjcbc1bb.js";
|
|
12
12
|
import"./packager-tool-t605qewm.js";
|
|
13
13
|
import"./packager-tool-awkq26v0.js";
|
|
14
|
-
import"./packager-tool-
|
|
14
|
+
import"./packager-tool-c4909mw9.js";
|
|
15
15
|
import"./packager-tool-py93409h.js";
|
|
16
|
-
import"./packager-tool-
|
|
16
|
+
import"./packager-tool-peawy22c.js";
|
|
17
17
|
import"./packager-tool-t3ysatjd.js";
|
|
18
18
|
import"./packager-tool-w5a1hhyj.js";
|
|
19
19
|
import"./packager-tool-3dc9gz35.js";
|
|
@@ -27,8 +27,8 @@ import"./packager-tool-paq9c70w.js";
|
|
|
27
27
|
import {
|
|
28
28
|
readFlowWorkflow,
|
|
29
29
|
writeFlowWorkflow
|
|
30
|
-
} from "./packager-tool-
|
|
31
|
-
import"./packager-tool-
|
|
30
|
+
} from "./packager-tool-vnwq9t1v.js";
|
|
31
|
+
import"./packager-tool-0d375dbz.js";
|
|
32
32
|
import {
|
|
33
33
|
addBinding,
|
|
34
34
|
createBinding
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
isEventDrivenConnectorType,
|
|
5
5
|
readEssentialConfiguration,
|
|
6
6
|
scanDetailForCrossNodeBindings
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-wq9k7pq8.js";
|
|
8
8
|
import {
|
|
9
9
|
INLINE_ACTIVITY_SOURCE,
|
|
10
10
|
getInlineActivityConfiguration
|
|
11
11
|
} from "./packager-tool-y8egb0fa.js";
|
|
12
12
|
import {
|
|
13
13
|
regenerateBindingsFile
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-6c3szt0w.js";
|
|
15
15
|
import"./packager-tool-pz5nqg0s.js";
|
|
16
16
|
import"./packager-tool-n89vrpex.js";
|
|
17
17
|
import {
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
isV4ActivityConfiguration,
|
|
34
34
|
normalizeHttpMethod,
|
|
35
35
|
substituteFilterVariables
|
|
36
|
-
} from "./packager-tool-
|
|
36
|
+
} from "./packager-tool-fjcbc1bb.js";
|
|
37
37
|
import"./packager-tool-t605qewm.js";
|
|
38
38
|
import"./packager-tool-awkq26v0.js";
|
|
39
|
-
import"./packager-tool-
|
|
39
|
+
import"./packager-tool-c4909mw9.js";
|
|
40
40
|
import"./packager-tool-py93409h.js";
|
|
41
|
-
import"./packager-tool-
|
|
41
|
+
import"./packager-tool-peawy22c.js";
|
|
42
42
|
import {
|
|
43
43
|
findNodeDefinition
|
|
44
44
|
} from "./packager-tool-w5a1hhyj.js";
|
|
@@ -53,8 +53,8 @@ import"./packager-tool-paq9c70w.js";
|
|
|
53
53
|
import {
|
|
54
54
|
readFlowWorkflow,
|
|
55
55
|
writeFlowWorkflow
|
|
56
|
-
} from "./packager-tool-
|
|
57
|
-
import"./packager-tool-
|
|
56
|
+
} from "./packager-tool-vnwq9t1v.js";
|
|
57
|
+
import"./packager-tool-0d375dbz.js";
|
|
58
58
|
import {
|
|
59
59
|
addBinding
|
|
60
60
|
} from "./packager-tool-h9tzz0qd.js";
|
package/dist/{debug-conversation-trigger-m7s97epd.js → debug-conversation-trigger-mqzrtt1v.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fileNodesToPackagingNodes
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-6c3szt0w.js";
|
|
4
4
|
import"./packager-tool-pz5nqg0s.js";
|
|
5
|
-
import"./packager-tool-
|
|
5
|
+
import"./packager-tool-0d375dbz.js";
|
|
6
6
|
import"./packager-tool-h9tzz0qd.js";
|
|
7
7
|
import"./packager-tool-hhy1gr2k.js";
|
|
8
8
|
import"./packager-tool-stq8800d.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEBUG_MODE_MAP,
|
|
3
3
|
DebugPollTimeoutError,
|
|
4
|
+
DebugProvisioningFailedError,
|
|
4
5
|
DebugVariablesFetchFailedError,
|
|
5
6
|
FpsPropertiesInjectionError,
|
|
6
7
|
SIMULATION_MODE_MAP,
|
|
@@ -23,7 +24,7 @@ import {
|
|
|
23
24
|
prepareForCustomDebug,
|
|
24
25
|
resolveFaultIncidents,
|
|
25
26
|
uploadAndDebugSolution
|
|
26
|
-
} from "./packager-tool-
|
|
27
|
+
} from "./packager-tool-peawy22c.js";
|
|
27
28
|
import"./packager-tool-3dc9gz35.js";
|
|
28
29
|
import"./packager-tool-02f63a08.js";
|
|
29
30
|
import"./packager-tool-3h2ktz6q.js";
|
|
@@ -31,6 +32,7 @@ import"./packager-tool-1yh8g550.js";
|
|
|
31
32
|
export {
|
|
32
33
|
DEBUG_MODE_MAP,
|
|
33
34
|
DebugPollTimeoutError,
|
|
35
|
+
DebugProvisioningFailedError,
|
|
34
36
|
DebugVariablesFetchFailedError,
|
|
35
37
|
FpsPropertiesInjectionError,
|
|
36
38
|
SIMULATION_MODE_MAP,
|
|
@@ -55,4 +57,4 @@ export {
|
|
|
55
57
|
uploadAndDebugSolution
|
|
56
58
|
};
|
|
57
59
|
|
|
58
|
-
//# debugId=
|
|
60
|
+
//# debugId=DE6F5353E97821ED64756E2164756E21
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
readFlowWorkflow,
|
|
8
8
|
writeFlowWorkflow
|
|
9
|
-
} from "./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
9
|
+
} from "./packager-tool-vnwq9t1v.js";
|
|
10
|
+
import"./packager-tool-0d375dbz.js";
|
|
11
11
|
import {
|
|
12
12
|
addEdge
|
|
13
13
|
} from "./packager-tool-h9tzz0qd.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
startFlowProjectJob,
|
|
9
9
|
streamJobTraces,
|
|
10
10
|
validateFlowInputs
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-zxp4hya4.js";
|
|
12
12
|
import"./packager-tool-n89vrpex.js";
|
|
13
13
|
import"./packager-tool-py93409h.js";
|
|
14
|
-
import"./packager-tool-
|
|
14
|
+
import"./packager-tool-peawy22c.js";
|
|
15
15
|
import"./packager-tool-3dc9gz35.js";
|
|
16
16
|
import"./packager-tool-6h69pd2a.js";
|
|
17
17
|
import"./packager-tool-qa9gftnj.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./packager-tool-5tjzg56t.js";
|
|
4
4
|
import {
|
|
5
5
|
package_default
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-c7nmvv5g.js";
|
|
7
7
|
import {
|
|
8
8
|
assertNoPreviewIds
|
|
9
9
|
} from "./packager-tool-zgsvggdr.js";
|
|
10
10
|
import"./packager-tool-e5hj89zm.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureProcessBindings
|
|
13
|
-
} from "./packager-tool-
|
|
13
|
+
} from "./packager-tool-2m06764j.js";
|
|
14
14
|
import"./packager-tool-y8egb0fa.js";
|
|
15
15
|
import {
|
|
16
16
|
buildInlineAgentDescriptors,
|
|
@@ -19,15 +19,16 @@ import {
|
|
|
19
19
|
stageInlineAgentPackageFiles,
|
|
20
20
|
writePackagingArtifacts,
|
|
21
21
|
writePackagingArtifactsDetailed
|
|
22
|
-
} from "./packager-tool-
|
|
22
|
+
} from "./packager-tool-6c3szt0w.js";
|
|
23
23
|
import"./packager-tool-pz5nqg0s.js";
|
|
24
24
|
import"./packager-tool-n89vrpex.js";
|
|
25
|
-
import"./packager-tool-
|
|
25
|
+
import"./packager-tool-fjcbc1bb.js";
|
|
26
26
|
import"./packager-tool-t605qewm.js";
|
|
27
27
|
import"./packager-tool-awkq26v0.js";
|
|
28
|
-
import"./packager-tool-
|
|
28
|
+
import"./packager-tool-c4909mw9.js";
|
|
29
29
|
import"./packager-tool-py93409h.js";
|
|
30
30
|
import {
|
|
31
|
+
DebugProvisioningFailedError,
|
|
31
32
|
DebugVariablesFetchFailedError,
|
|
32
33
|
buildStudioWebDesignerUrl,
|
|
33
34
|
extractStartEventId,
|
|
@@ -37,7 +38,7 @@ import {
|
|
|
37
38
|
isSuccessfulDebugStatus,
|
|
38
39
|
patchConnectionOverwrites,
|
|
39
40
|
uploadAndDebugSolution
|
|
40
|
-
} from "./packager-tool-
|
|
41
|
+
} from "./packager-tool-peawy22c.js";
|
|
41
42
|
import"./packager-tool-t3ysatjd.js";
|
|
42
43
|
import"./packager-tool-w5a1hhyj.js";
|
|
43
44
|
import"./packager-tool-3dc9gz35.js";
|
|
@@ -50,7 +51,7 @@ import {
|
|
|
50
51
|
buildSolutionPackageFromDir,
|
|
51
52
|
createZipFromDir,
|
|
52
53
|
uploadOrOverwriteSolution
|
|
53
|
-
} from "./packager-tool-
|
|
54
|
+
} from "./packager-tool-4fhedj18.js";
|
|
54
55
|
import {
|
|
55
56
|
findNearestParentUipxFile,
|
|
56
57
|
findSolutionFile,
|
|
@@ -65,14 +66,14 @@ import {
|
|
|
65
66
|
readFlowWorkflow,
|
|
66
67
|
resolveProjectFlowFile,
|
|
67
68
|
writeFlowWorkflow
|
|
68
|
-
} from "./packager-tool-
|
|
69
|
+
} from "./packager-tool-vnwq9t1v.js";
|
|
69
70
|
import {
|
|
70
71
|
assertVoiceAgentDefinitionsEmbedded,
|
|
71
72
|
convertFlowToBpmn,
|
|
72
73
|
hydrateInlineAgentInputVariables,
|
|
73
74
|
replaceExporterVersion,
|
|
74
75
|
voiceConvertOptions
|
|
75
|
-
} from "./packager-tool-
|
|
76
|
+
} from "./packager-tool-0d375dbz.js";
|
|
76
77
|
import"./packager-tool-h9tzz0qd.js";
|
|
77
78
|
import {
|
|
78
79
|
applyRuntimeProfile,
|
|
@@ -146,6 +147,54 @@ class UnregisteredProjectError extends Error {
|
|
|
146
147
|
this.instructions = buildFlowDebugUnregisteredProjectInstructions(projectDir, solutionFile);
|
|
147
148
|
}
|
|
148
149
|
}
|
|
150
|
+
var RESOURCE_NOT_FOUND_IN_ORCHESTRATOR = /^(\S+ "[^"]*" not found in Orchestrator)\. Link it before deploy: /;
|
|
151
|
+
var CONNECTION_NOT_FOUND_IN_RESOURCE_CATALOG = /^Connection \S+ not found in Resource Catalog(?: |$)/;
|
|
152
|
+
function selectMissingResourceWarnings(warnings) {
|
|
153
|
+
const missing = new Set;
|
|
154
|
+
for (const warning of warnings) {
|
|
155
|
+
const orchestrator = RESOURCE_NOT_FOUND_IN_ORCHESTRATOR.exec(warning);
|
|
156
|
+
if (orchestrator) {
|
|
157
|
+
missing.add(orchestrator[1]);
|
|
158
|
+
} else if (CONNECTION_NOT_FOUND_IN_RESOURCE_CATALOG.test(warning)) {
|
|
159
|
+
missing.add(warning);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return [...missing];
|
|
163
|
+
}
|
|
164
|
+
var MISSING_ORCHESTRATOR_RESOURCE = /^\S+ "[^"]*" not found in Orchestrator(?:\.|$)/;
|
|
165
|
+
function buildFlowDebugMissingResourcesInstructions(missingResources) {
|
|
166
|
+
const steps = [];
|
|
167
|
+
if (missingResources.some((resource) => MISSING_ORCHESTRATOR_RESOURCE.test(resource))) {
|
|
168
|
+
steps.push("Bind each resource listed as missing in Orchestrator to one that exists in Orchestrator (or create it there). " + "Kinds such as processes cannot be created by the solution, so Studio Web cannot provision them for debug.");
|
|
169
|
+
}
|
|
170
|
+
if (missingResources.some((resource) => CONNECTION_NOT_FOUND_IN_RESOURCE_CATALOG.test(resource))) {
|
|
171
|
+
steps.push("For each connection listed as missing in Resource Catalog, create it in Integration Service and share it with the folder the warning names, or bind the node to a connection that already exists there.");
|
|
172
|
+
}
|
|
173
|
+
if (steps.length === 0) {
|
|
174
|
+
steps.push("Make sure each listed resource exists in the service that looks it up.");
|
|
175
|
+
}
|
|
176
|
+
steps.push("Then re-run 'uip maestro flow debug'. " + "For deploy, 'uip solution deploy config link <file> <resource-name> --name <existing-name>' maps a resource to an existing one.");
|
|
177
|
+
return steps.join(" ");
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
class DebugProvisioningMissingResourcesError extends DebugProvisioningFailedError {
|
|
181
|
+
instructions;
|
|
182
|
+
missingResources;
|
|
183
|
+
constructor(cause, missingResources) {
|
|
184
|
+
super(cause.status, cause.errors);
|
|
185
|
+
this.name = "DebugProvisioningMissingResourcesError";
|
|
186
|
+
this.message = `${cause.message} These resources were not found before upload and may be the cause: ` + missingResources.join("; ");
|
|
187
|
+
this.missingResources = missingResources;
|
|
188
|
+
this.instructions = buildFlowDebugMissingResourcesInstructions(missingResources);
|
|
189
|
+
this.cause = cause;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
function withMissingResourceContext(error, missingResourceWarnings) {
|
|
193
|
+
if (error instanceof DebugProvisioningFailedError && error.isValidationFailure && missingResourceWarnings.length > 0) {
|
|
194
|
+
return new DebugProvisioningMissingResourcesError(error, missingResourceWarnings);
|
|
195
|
+
}
|
|
196
|
+
return error;
|
|
197
|
+
}
|
|
149
198
|
var VOICE_TRIGGER_TYPE = "core.trigger.voice";
|
|
150
199
|
var FLOW_DEBUG_INBOUND_VOICE_MESSAGE = "Inbound voice flows cannot be debugged from the CLI.";
|
|
151
200
|
var buildFlowDebugInboundVoiceInstructions = (triggerLabel) => [
|
|
@@ -566,6 +615,7 @@ class FlowDebugService {
|
|
|
566
615
|
const startNodeId = entryPoints[0]?.filePath.split("#")[1] ?? startEventId;
|
|
567
616
|
entryPoint = `/${bpmnFileName}#${startNodeId}`;
|
|
568
617
|
const [refreshError, refreshResult] = await catchError(import("./index-aaq9rwfv.js").then((mod) => mod.resourceRefreshAsync(stagingDir)));
|
|
618
|
+
let missingResourceWarnings = [];
|
|
569
619
|
if (refreshError) {
|
|
570
620
|
logger.warn(`Resource refresh threw before debug: ${refreshError.message}. Continuing without generated overwrites.`);
|
|
571
621
|
} else if (refreshResult.ok) {
|
|
@@ -573,6 +623,7 @@ class FlowDebugService {
|
|
|
573
623
|
for (const warning of refreshResult.warnings) {
|
|
574
624
|
logger.warn(warning);
|
|
575
625
|
}
|
|
626
|
+
missingResourceWarnings = selectMissingResourceWarnings(refreshResult.warnings);
|
|
576
627
|
} else {
|
|
577
628
|
logger.warn(`Resource refresh skipped before debug: ${refreshResult.message}. Continuing.`);
|
|
578
629
|
}
|
|
@@ -616,7 +667,7 @@ class FlowDebugService {
|
|
|
616
667
|
studioWebUrl
|
|
617
668
|
};
|
|
618
669
|
}
|
|
619
|
-
const result = await uploadAndDebugSolution({
|
|
670
|
+
const [debugError, result] = await catchError(uploadAndDebugSolution({
|
|
620
671
|
upload: uploadAndPatch,
|
|
621
672
|
onSolutionId: (id) => updateSolutionFile(this.fs, absoluteProjectPath, id),
|
|
622
673
|
projectName,
|
|
@@ -632,7 +683,10 @@ class FlowDebugService {
|
|
|
632
683
|
requireDebugPreparation: true,
|
|
633
684
|
inlineAgents,
|
|
634
685
|
buildSolutionProjects: (uploadedProjects, solutionId) => this.buildSolutionProjectDescriptors(uploadedProjects, solutionId, stagingDir, projectName, entryPoint, FlowDebugService.buildProjectTypeMap(uipxResult?.uipx.Projects))
|
|
635
|
-
});
|
|
686
|
+
}));
|
|
687
|
+
if (debugError) {
|
|
688
|
+
throw withMissingResourceContext(debugError, missingResourceWarnings);
|
|
689
|
+
}
|
|
636
690
|
const outputs = await fetchOutputVariables(apiConfig, result.instanceId, result.finalStatus);
|
|
637
691
|
return { ...result, folderKey: folderInfo.key, ...outputs };
|
|
638
692
|
} finally {
|
|
@@ -763,6 +817,7 @@ async function fetchOutputVariables(apiConfig, instanceId, finalStatus) {
|
|
|
763
817
|
};
|
|
764
818
|
}
|
|
765
819
|
export {
|
|
820
|
+
DebugProvisioningMissingResourcesError,
|
|
766
821
|
FLOW_DEBUG_INBOUND_VOICE_MESSAGE,
|
|
767
822
|
FLOW_DEBUG_MISSING_SOLUTION_INSTRUCTIONS,
|
|
768
823
|
FLOW_DEBUG_MISSING_SOLUTION_MESSAGE,
|
|
@@ -773,7 +828,10 @@ export {
|
|
|
773
828
|
UnregisteredProjectError,
|
|
774
829
|
assertNotInboundVoiceFlow,
|
|
775
830
|
buildFlowDebugInboundVoiceInstructions,
|
|
776
|
-
|
|
831
|
+
buildFlowDebugMissingResourcesInstructions,
|
|
832
|
+
buildFlowDebugUnregisteredProjectInstructions,
|
|
833
|
+
selectMissingResourceWarnings,
|
|
834
|
+
withMissingResourceContext
|
|
777
835
|
};
|
|
778
836
|
|
|
779
|
-
//# debugId=
|
|
837
|
+
//# debugId=D951A638F39679AD64756E2164756E21
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
readAgentSourceId,
|
|
9
9
|
readEvalSetScope,
|
|
10
10
|
readNodeTargetId
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-m6abv2vy.js";
|
|
12
12
|
import"./packager-tool-t3ysatjd.js";
|
|
13
13
|
import"./packager-tool-w5a1hhyj.js";
|
|
14
|
-
import"./packager-tool-
|
|
14
|
+
import"./packager-tool-0d375dbz.js";
|
|
15
15
|
import"./packager-tool-h9tzz0qd.js";
|
|
16
16
|
import"./packager-tool-hhy1gr2k.js";
|
|
17
17
|
import"./packager-tool-stq8800d.js";
|
|
@@ -12,36 +12,36 @@ import {
|
|
|
12
12
|
findFlowNode,
|
|
13
13
|
formatTriggerIdsHint,
|
|
14
14
|
readNodeTargetId
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-m6abv2vy.js";
|
|
16
16
|
import {
|
|
17
17
|
writeResolvedFlow
|
|
18
18
|
} from "./packager-tool-5tjzg56t.js";
|
|
19
19
|
import {
|
|
20
20
|
package_default
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-c7nmvv5g.js";
|
|
22
22
|
import {
|
|
23
23
|
assertNoPreviewIds
|
|
24
24
|
} from "./packager-tool-zgsvggdr.js";
|
|
25
25
|
import"./packager-tool-e5hj89zm.js";
|
|
26
26
|
import {
|
|
27
27
|
ensureProcessBindings
|
|
28
|
-
} from "./packager-tool-
|
|
28
|
+
} from "./packager-tool-2m06764j.js";
|
|
29
29
|
import"./packager-tool-y8egb0fa.js";
|
|
30
30
|
import {
|
|
31
31
|
fileNodesToPackagingNodes,
|
|
32
32
|
packageInlineAgents,
|
|
33
33
|
stageInlineAgentPackageFiles,
|
|
34
34
|
writePackagingArtifactsDetailed
|
|
35
|
-
} from "./packager-tool-
|
|
35
|
+
} from "./packager-tool-6c3szt0w.js";
|
|
36
36
|
import {
|
|
37
37
|
FlowEvalFileStore,
|
|
38
38
|
ensureDirectory
|
|
39
39
|
} from "./packager-tool-pz5nqg0s.js";
|
|
40
40
|
import"./packager-tool-n89vrpex.js";
|
|
41
|
-
import"./packager-tool-
|
|
41
|
+
import"./packager-tool-fjcbc1bb.js";
|
|
42
42
|
import"./packager-tool-t605qewm.js";
|
|
43
43
|
import"./packager-tool-awkq26v0.js";
|
|
44
|
-
import"./packager-tool-
|
|
44
|
+
import"./packager-tool-c4909mw9.js";
|
|
45
45
|
import"./packager-tool-py93409h.js";
|
|
46
46
|
import {
|
|
47
47
|
extractStartEventId,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
getPersonalFolderKey,
|
|
50
50
|
patchConnectionOverwrites,
|
|
51
51
|
prepareForCustomDebug
|
|
52
|
-
} from "./packager-tool-
|
|
52
|
+
} from "./packager-tool-peawy22c.js";
|
|
53
53
|
import {
|
|
54
54
|
isRecord,
|
|
55
55
|
isUUID
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
buildSolutionPackageFromDir,
|
|
66
66
|
getStudioWebSolutionProjects,
|
|
67
67
|
uploadOrOverwriteSolution
|
|
68
|
-
} from "./packager-tool-
|
|
68
|
+
} from "./packager-tool-4fhedj18.js";
|
|
69
69
|
import {
|
|
70
70
|
findSolutionFile,
|
|
71
71
|
readUipxFile,
|
|
@@ -77,12 +77,12 @@ import {
|
|
|
77
77
|
readFlowWorkflow,
|
|
78
78
|
resolveProjectFlowFile,
|
|
79
79
|
writeFlowWorkflow
|
|
80
|
-
} from "./packager-tool-
|
|
80
|
+
} from "./packager-tool-vnwq9t1v.js";
|
|
81
81
|
import {
|
|
82
82
|
convertFlowToBpmn,
|
|
83
83
|
replaceExporterVersion,
|
|
84
84
|
setPublishIntentOnInlineAgents
|
|
85
|
-
} from "./packager-tool-
|
|
85
|
+
} from "./packager-tool-0d375dbz.js";
|
|
86
86
|
import"./packager-tool-h9tzz0qd.js";
|
|
87
87
|
import {
|
|
88
88
|
applyRuntimeProfile,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
isNodeEvalTarget,
|
|
14
14
|
listTriggerNodeIds,
|
|
15
15
|
readNodeTargetId
|
|
16
|
-
} from "./packager-tool-
|
|
16
|
+
} from "./packager-tool-m6abv2vy.js";
|
|
17
17
|
import {
|
|
18
18
|
FlowEvalFileStore
|
|
19
19
|
} from "./packager-tool-pz5nqg0s.js";
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
slugify
|
|
29
29
|
} from "./packager-tool-t3ysatjd.js";
|
|
30
30
|
import"./packager-tool-w5a1hhyj.js";
|
|
31
|
-
import"./packager-tool-
|
|
31
|
+
import"./packager-tool-4fhedj18.js";
|
|
32
32
|
import"./packager-tool-m8xtf5ej.js";
|
|
33
|
-
import"./packager-tool-
|
|
33
|
+
import"./packager-tool-0d375dbz.js";
|
|
34
34
|
import"./packager-tool-h9tzz0qd.js";
|
|
35
35
|
import"./packager-tool-hhy1gr2k.js";
|
|
36
36
|
import"./packager-tool-stq8800d.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FlowInitSdkSourceError,
|
|
3
3
|
flowInitAsync
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-2xycknte.js";
|
|
5
5
|
import"./packager-tool-9cq9atem.js";
|
|
6
|
-
import"./packager-tool-
|
|
6
|
+
import"./packager-tool-4fhedj18.js";
|
|
7
7
|
import"./packager-tool-m8xtf5ej.js";
|
|
8
8
|
import"./packager-tool-5nqhxb9e.js";
|
|
9
9
|
import"./packager-tool-paq9c70w.js";
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
10
|
+
import"./packager-tool-vnwq9t1v.js";
|
|
11
|
+
import"./packager-tool-0d375dbz.js";
|
|
12
12
|
import"./packager-tool-h9tzz0qd.js";
|
|
13
13
|
import"./packager-tool-hhy1gr2k.js";
|
|
14
14
|
import"./packager-tool-stq8800d.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
readFlowWorkflow,
|
|
4
4
|
resolveProjectFlowFile,
|
|
5
5
|
writeFlowWorkflow
|
|
6
|
-
} from "./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
6
|
+
} from "./packager-tool-vnwq9t1v.js";
|
|
7
|
+
import"./packager-tool-0d375dbz.js";
|
|
8
8
|
import"./packager-tool-h9tzz0qd.js";
|
|
9
9
|
import"./packager-tool-hhy1gr2k.js";
|
|
10
10
|
import"./packager-tool-stq8800d.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
captureMigrationIssues,
|
|
3
3
|
formatMigrationFailureMessage
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-arbswyqr.js";
|
|
5
5
|
import {
|
|
6
6
|
allDefinitions,
|
|
7
7
|
nodeModuleRegistry
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
resolveWorkflowRefs,
|
|
17
17
|
runtimeMigrations,
|
|
18
18
|
runtimeVersion
|
|
19
|
-
} from "./packager-tool-
|
|
19
|
+
} from "./packager-tool-0d375dbz.js";
|
|
20
20
|
import"./packager-tool-h9tzz0qd.js";
|
|
21
21
|
import"./packager-tool-hhy1gr2k.js";
|
|
22
22
|
import"./packager-tool-stq8800d.js";
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
} from "./packager-tool-5tjzg56t.js";
|
|
4
4
|
import {
|
|
5
5
|
registerPackagerFactories
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-8ak76pc3.js";
|
|
7
7
|
import {
|
|
8
8
|
package_default
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-c7nmvv5g.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureProcessBindings
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-2m06764j.js";
|
|
13
13
|
import"./packager-tool-y8egb0fa.js";
|
|
14
14
|
import {
|
|
15
15
|
fileNodesToPackagingNodes,
|
|
16
16
|
packageInlineAgents,
|
|
17
17
|
stageInlineAgentPackageFiles,
|
|
18
18
|
writePackagingArtifactsDetailed
|
|
19
|
-
} from "./packager-tool-
|
|
19
|
+
} from "./packager-tool-6c3szt0w.js";
|
|
20
20
|
import"./packager-tool-pz5nqg0s.js";
|
|
21
21
|
import"./packager-tool-n89vrpex.js";
|
|
22
|
-
import"./packager-tool-
|
|
22
|
+
import"./packager-tool-fjcbc1bb.js";
|
|
23
23
|
import"./packager-tool-t605qewm.js";
|
|
24
24
|
import"./packager-tool-awkq26v0.js";
|
|
25
|
-
import"./packager-tool-
|
|
25
|
+
import"./packager-tool-c4909mw9.js";
|
|
26
26
|
import"./packager-tool-py93409h.js";
|
|
27
27
|
import {
|
|
28
28
|
extractStartEventId
|
|
29
|
-
} from "./packager-tool-
|
|
29
|
+
} from "./packager-tool-peawy22c.js";
|
|
30
30
|
import"./packager-tool-t3ysatjd.js";
|
|
31
31
|
import"./packager-tool-w5a1hhyj.js";
|
|
32
32
|
import"./packager-tool-3dc9gz35.js";
|
|
@@ -40,7 +40,7 @@ import"./packager-tool-paq9c70w.js";
|
|
|
40
40
|
import {
|
|
41
41
|
readFlowWorkflow,
|
|
42
42
|
writeFlowWorkflow
|
|
43
|
-
} from "./packager-tool-
|
|
43
|
+
} from "./packager-tool-vnwq9t1v.js";
|
|
44
44
|
import {
|
|
45
45
|
assertVoiceAgentDefinitionsEmbedded,
|
|
46
46
|
convertFlowToBpmn,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
replaceExporterVersion,
|
|
49
49
|
setPublishIntentOnInlineAgents,
|
|
50
50
|
voiceConvertOptions
|
|
51
|
-
} from "./packager-tool-
|
|
51
|
+
} from "./packager-tool-0d375dbz.js";
|
|
52
52
|
import"./packager-tool-h9tzz0qd.js";
|
|
53
53
|
import {
|
|
54
54
|
applyRuntimeProfile,
|
|
@@ -174,7 +174,7 @@ Packing flow project...
|
|
|
174
174
|
const packageId = `${packageName}.flow.Flow`;
|
|
175
175
|
const version = options.version || "1.0.0";
|
|
176
176
|
registerPackagerFactories();
|
|
177
|
-
const { createNodeProjectPackager, ProjectPackOptions } = await import("./node-
|
|
177
|
+
const { createNodeProjectPackager, ProjectPackOptions } = await import("./node-ey7dteda.js");
|
|
178
178
|
const packager = await createNodeProjectPackager({
|
|
179
179
|
logHandler: logger.handleLog
|
|
180
180
|
});
|
|
@@ -282,7 +282,7 @@ Packing flow project...
|
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
284
|
const [error, result] = await catchError((async () => {
|
|
285
|
-
const { FlowValidateService } = await import("./flow-validate-service-
|
|
285
|
+
const { FlowValidateService } = await import("./flow-validate-service-5pbh3s4p.js");
|
|
286
286
|
return new FlowValidateService({
|
|
287
287
|
strictBindings: false,
|
|
288
288
|
strictExpressions: false,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FlowValidateService
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-n4m8yrm2.js";
|
|
4
|
+
import"./packager-tool-wq9k7pq8.js";
|
|
5
|
+
import"./packager-tool-arbswyqr.js";
|
|
6
6
|
import"./packager-tool-1frs4sr4.js";
|
|
7
7
|
import"./packager-tool-zgsvggdr.js";
|
|
8
8
|
import"./packager-tool-e5hj89zm.js";
|
|
9
|
-
import"./packager-tool-
|
|
9
|
+
import"./packager-tool-2m06764j.js";
|
|
10
10
|
import"./packager-tool-y8egb0fa.js";
|
|
11
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-6c3szt0w.js";
|
|
12
12
|
import"./packager-tool-pz5nqg0s.js";
|
|
13
13
|
import"./packager-tool-n89vrpex.js";
|
|
14
|
-
import"./packager-tool-
|
|
14
|
+
import"./packager-tool-fjcbc1bb.js";
|
|
15
15
|
import"./packager-tool-t605qewm.js";
|
|
16
16
|
import"./packager-tool-awkq26v0.js";
|
|
17
|
-
import"./packager-tool-
|
|
17
|
+
import"./packager-tool-c4909mw9.js";
|
|
18
18
|
import"./packager-tool-py93409h.js";
|
|
19
|
-
import"./packager-tool-
|
|
19
|
+
import"./packager-tool-peawy22c.js";
|
|
20
20
|
import"./packager-tool-t3ysatjd.js";
|
|
21
21
|
import"./packager-tool-w5a1hhyj.js";
|
|
22
22
|
import"./packager-tool-3dc9gz35.js";
|
|
@@ -25,12 +25,12 @@ import"./packager-tool-6h69pd2a.js";
|
|
|
25
25
|
import"./packager-tool-qa9gftnj.js";
|
|
26
26
|
import"./packager-tool-0gctz400.js";
|
|
27
27
|
import"./packager-tool-yc4kw997.js";
|
|
28
|
-
import"./packager-tool-
|
|
28
|
+
import"./packager-tool-4fhedj18.js";
|
|
29
29
|
import"./packager-tool-m8xtf5ej.js";
|
|
30
30
|
import"./packager-tool-5nqhxb9e.js";
|
|
31
31
|
import"./packager-tool-paq9c70w.js";
|
|
32
|
-
import"./packager-tool-
|
|
33
|
-
import"./packager-tool-
|
|
32
|
+
import"./packager-tool-vnwq9t1v.js";
|
|
33
|
+
import"./packager-tool-0d375dbz.js";
|
|
34
34
|
import"./packager-tool-h9tzz0qd.js";
|
|
35
35
|
import"./packager-tool-hhy1gr2k.js";
|
|
36
36
|
import"./packager-tool-stq8800d.js";
|