@uipath/flow-tool 1.202.0-preview.143 → 1.202.0-preview.146
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/{binding-service-5t2b4sb4.js → binding-service-z3k10vkw.js} +10 -8
- package/dist/{connector-service-yd5219v5.js → connector-service-0naf6jqw.js} +9 -7
- package/dist/{debug-conversation-trigger-d12r5rsb.js → debug-conversation-trigger-twgm2ehb.js} +6 -4
- package/dist/{edge-service-g22crdnp.js → edge-service-vde6a4k5.js} +6 -4
- package/dist/{flow-debug-service-3gkgeye2.js → flow-debug-service-bct4q5x6.js} +29 -19
- package/dist/{flow-eval-node-target-91v6a75x.js → flow-eval-node-target-49ncasf3.js} +6 -4
- package/dist/{flow-eval-run-service-1ewvthye.js → flow-eval-run-service-9pjn7w7g.js} +20 -12
- package/dist/{flow-eval-service-nct1nb1b.js → flow-eval-service-7mrxrjep.js} +7 -5
- package/dist/{flow-init-service-27kwaanq.js → flow-init-service-7rvzqnfz.js} +9 -6
- package/dist/{flow-io-64bgq802.js → flow-io-mxkt259r.js} +6 -4
- package/dist/{flow-migrate-service-wjenvx8w.js → flow-migrate-service-2bjwbhzk.js} +6 -4
- package/dist/{flow-pack-service-hk0ed7kk.js → flow-pack-service-nxcrvg4f.js} +20 -12
- package/dist/{flow-validate-service-jvmedz3n.js → flow-validate-service-9dnr4pej.js} +14 -12
- package/dist/{governance-fetcher-6vrme703.js → governance-fetcher-fte9qtm6.js} +2 -2
- package/dist/{hitl-service-7een0hg1.js → hitl-service-gmfm9nww.js} +6 -4
- package/dist/{index-ma8tq06z.js → index-hfenk6wv.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/init.js +9 -6
- package/dist/maestro-automate-entry-6bxz7zxn.js +22 -0
- package/dist/{node-service-e0jn2qv8.js → node-service-vhcfmj01.js} +10 -8
- package/dist/{node-sync-service-vbnxy656.js → node-sync-service-m2pgwneb.js} +1 -1
- package/dist/{node-d2z8trq5.js → node-v2vhp15r.js} +6 -4
- package/dist/{packager-tool-1znrarvv.js → packager-tool-0d7tcvg1.js} +2 -897
- package/dist/{packager-tool-z9kwqha9.js → packager-tool-1as6n6e9.js} +1 -1
- package/dist/packager-tool-2513jrxr.js +898 -0
- package/dist/packager-tool-3bra2c4j.js +53 -0
- package/dist/{packager-tool-zknf5b4h.js → packager-tool-4cs9dchg.js} +1 -1
- package/dist/{packager-tool-evgpjga6.js → packager-tool-508zxtf7.js} +8 -8
- package/dist/packager-tool-9cq9atem.js +2 -0
- package/dist/{packager-tool-kbn52nks.js → packager-tool-b4k9g21n.js} +2 -2
- package/dist/{packager-tool-naymmrag.js → packager-tool-bpw1t6ms.js} +3 -3
- package/dist/{packager-tool-4ajeadfr.js → packager-tool-cc8hz52k.js} +1 -1
- package/dist/{packager-tool-sgy80xb1.js → packager-tool-d9d77knh.js} +1 -1
- package/dist/{packager-tool-g92r4asb.js → packager-tool-ddazkv71.js} +2 -2
- package/dist/{packager-tool-tx4b6b84.js → packager-tool-f623rbna.js} +2 -2
- package/dist/{packager-tool-6s1me1jv.js → packager-tool-g6q2hgxq.js} +35 -9
- package/dist/{packager-tool-8nsz243z.js → packager-tool-jsfya86d.js} +6 -3
- package/dist/{packager-tool-d1p0wmbd.js → packager-tool-ms868d61.js} +1 -1
- package/dist/{packager-tool-8mck86hw.js → packager-tool-q7g2062b.js} +63 -50
- package/dist/{packager-tool-thpzhgfg.js → packager-tool-qyss7f7z.js} +4 -4
- package/dist/{packager-tool-2kknwcd2.js → packager-tool-wh71wvj7.js} +10 -4
- package/dist/packager-tool.js +6 -4
- package/dist/services/flow-init-service.d.ts +12 -0
- package/dist/services/packaging-utils.d.ts +9 -1
- package/dist/{tidy-service-83dq6pwc.js → tidy-service-ryfq9jf1.js} +7 -5
- package/dist/tool.js +4 -4
- package/dist/validation.js +14 -12
- package/dist/{variable-service-2zyce3qs.js → variable-service-5b7ea8w5.js} +6 -4
- package/package.json +2 -2
- /package/dist/{localization-h8a53z6p.js → localization-1br6h143.js} +0 -0
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./packager-tool-27avrkyk.js";
|
|
4
4
|
import {
|
|
5
5
|
collectNodeBindingResourceKeys
|
|
6
|
-
} from "./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
6
|
+
} from "./packager-tool-bpw1t6ms.js";
|
|
7
|
+
import"./packager-tool-jsfya86d.js";
|
|
8
8
|
import"./packager-tool-p96yqdnk.js";
|
|
9
9
|
import"./packager-tool-w0kr4mbc.js";
|
|
10
|
-
import"./packager-tool-
|
|
10
|
+
import"./packager-tool-qyss7f7z.js";
|
|
11
11
|
import"./packager-tool-ck10v2ve.js";
|
|
12
12
|
import"./packager-tool-77f5xeqw.js";
|
|
13
13
|
import"./packager-tool-aea5psjw.js";
|
|
14
14
|
import"./packager-tool-py7cevyk.js";
|
|
15
|
-
import"./packager-tool-
|
|
15
|
+
import"./packager-tool-ddazkv71.js";
|
|
16
16
|
import"./packager-tool-3wzbcn5q.js";
|
|
17
17
|
import"./packager-tool-f0kd5kq4.js";
|
|
18
18
|
import"./packager-tool-0gctz400.js";
|
|
@@ -22,13 +22,15 @@ import"./packager-tool-7exrv6w7.js";
|
|
|
22
22
|
import {
|
|
23
23
|
readFlowWorkflow,
|
|
24
24
|
writeFlowWorkflow
|
|
25
|
-
} from "./packager-tool-
|
|
26
|
-
import"./packager-tool-
|
|
25
|
+
} from "./packager-tool-cc8hz52k.js";
|
|
26
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
27
27
|
import {
|
|
28
28
|
addBinding,
|
|
29
29
|
createBinding
|
|
30
30
|
} from "./packager-tool-tn5e7wnb.js";
|
|
31
|
-
import"./packager-tool-
|
|
31
|
+
import"./packager-tool-3bra2c4j.js";
|
|
32
|
+
import"./packager-tool-2513jrxr.js";
|
|
33
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
32
34
|
import"./packager-tool-nkrmjr3a.js";
|
|
33
35
|
import"./packager-tool-rs6jm14d.js";
|
|
34
36
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -138,4 +140,4 @@ export {
|
|
|
138
140
|
listBindingsInFlow
|
|
139
141
|
};
|
|
140
142
|
|
|
141
|
-
//# debugId=
|
|
143
|
+
//# debugId=4C4038B63BEE6A5164756E2164756E21
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./packager-tool-2wefykg9.js";
|
|
7
7
|
import {
|
|
8
8
|
regenerateBindingsFile
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-jsfya86d.js";
|
|
10
10
|
import"./packager-tool-p96yqdnk.js";
|
|
11
11
|
import"./packager-tool-w0kr4mbc.js";
|
|
12
|
-
import"./packager-tool-
|
|
12
|
+
import"./packager-tool-qyss7f7z.js";
|
|
13
13
|
import"./packager-tool-ck10v2ve.js";
|
|
14
14
|
import"./packager-tool-77f5xeqw.js";
|
|
15
15
|
import"./packager-tool-aea5psjw.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isV4ActivityConfiguration,
|
|
34
34
|
normalizeHttpMethod,
|
|
35
35
|
substituteFilterVariables
|
|
36
|
-
} from "./packager-tool-
|
|
36
|
+
} from "./packager-tool-ddazkv71.js";
|
|
37
37
|
import"./packager-tool-3wzbcn5q.js";
|
|
38
38
|
import"./packager-tool-f0kd5kq4.js";
|
|
39
39
|
import"./packager-tool-0gctz400.js";
|
|
@@ -43,12 +43,14 @@ import"./packager-tool-7exrv6w7.js";
|
|
|
43
43
|
import {
|
|
44
44
|
readFlowWorkflow,
|
|
45
45
|
writeFlowWorkflow
|
|
46
|
-
} from "./packager-tool-
|
|
47
|
-
import"./packager-tool-
|
|
46
|
+
} from "./packager-tool-cc8hz52k.js";
|
|
47
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
48
48
|
import {
|
|
49
49
|
addBinding
|
|
50
50
|
} from "./packager-tool-tn5e7wnb.js";
|
|
51
|
-
import"./packager-tool-
|
|
51
|
+
import"./packager-tool-3bra2c4j.js";
|
|
52
|
+
import"./packager-tool-2513jrxr.js";
|
|
53
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
52
54
|
import"./packager-tool-nkrmjr3a.js";
|
|
53
55
|
import"./packager-tool-rs6jm14d.js";
|
|
54
56
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -945,4 +947,4 @@ export {
|
|
|
945
947
|
validateManagedHttpDetail
|
|
946
948
|
};
|
|
947
949
|
|
|
948
|
-
//# debugId=
|
|
950
|
+
//# debugId=2B21A5B02A95F5B664756E2164756E21
|
package/dist/{debug-conversation-trigger-d12r5rsb.js → debug-conversation-trigger-twgm2ehb.js}
RENAMED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fileNodesToPackagingNodes
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-jsfya86d.js";
|
|
4
4
|
import"./packager-tool-p96yqdnk.js";
|
|
5
5
|
import"./packager-tool-w0kr4mbc.js";
|
|
6
|
-
import"./packager-tool-
|
|
6
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
7
7
|
import"./packager-tool-tn5e7wnb.js";
|
|
8
|
-
import"./packager-tool-
|
|
8
|
+
import"./packager-tool-3bra2c4j.js";
|
|
9
|
+
import"./packager-tool-2513jrxr.js";
|
|
10
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
9
11
|
import"./packager-tool-nkrmjr3a.js";
|
|
10
12
|
import"./packager-tool-rs6jm14d.js";
|
|
11
13
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -38,4 +40,4 @@ export {
|
|
|
38
40
|
startsOnConversationTrigger
|
|
39
41
|
};
|
|
40
42
|
|
|
41
|
-
//# debugId=
|
|
43
|
+
//# debugId=5002316B4EEF470464756E2164756E21
|
|
@@ -6,12 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
readFlowWorkflow,
|
|
8
8
|
writeFlowWorkflow
|
|
9
|
-
} from "./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
9
|
+
} from "./packager-tool-cc8hz52k.js";
|
|
10
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
11
11
|
import {
|
|
12
12
|
addEdge
|
|
13
13
|
} from "./packager-tool-tn5e7wnb.js";
|
|
14
|
-
import"./packager-tool-
|
|
14
|
+
import"./packager-tool-3bra2c4j.js";
|
|
15
|
+
import"./packager-tool-2513jrxr.js";
|
|
16
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
15
17
|
import"./packager-tool-nkrmjr3a.js";
|
|
16
18
|
import"./packager-tool-rs6jm14d.js";
|
|
17
19
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -159,4 +161,4 @@ export {
|
|
|
159
161
|
listEdgesInFlow
|
|
160
162
|
};
|
|
161
163
|
|
|
162
|
-
//# debugId=
|
|
164
|
+
//# debugId=F00FCF346B8AEA9B64756E2164756E21
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./packager-tool-7c18ekyp.js";
|
|
4
4
|
import {
|
|
5
5
|
package_default
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-f623rbna.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureProcessBindings
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-bpw1t6ms.js";
|
|
10
10
|
import {
|
|
11
11
|
buildInlineAgentDescriptors,
|
|
12
12
|
fileNodesToPackagingNodes,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
stageInlineAgentPackageFiles,
|
|
15
15
|
writePackagingArtifacts,
|
|
16
16
|
writePackagingArtifactsDetailed
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-jsfya86d.js";
|
|
18
18
|
import"./packager-tool-p96yqdnk.js";
|
|
19
19
|
import"./packager-tool-w0kr4mbc.js";
|
|
20
|
-
import"./packager-tool-
|
|
20
|
+
import"./packager-tool-qyss7f7z.js";
|
|
21
21
|
import"./packager-tool-ck10v2ve.js";
|
|
22
22
|
import"./packager-tool-77f5xeqw.js";
|
|
23
23
|
import {
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
uploadAndDebugSolution
|
|
33
33
|
} from "./packager-tool-aea5psjw.js";
|
|
34
34
|
import"./packager-tool-py7cevyk.js";
|
|
35
|
-
import"./packager-tool-
|
|
35
|
+
import"./packager-tool-ddazkv71.js";
|
|
36
36
|
import"./packager-tool-3wzbcn5q.js";
|
|
37
37
|
import"./packager-tool-f0kd5kq4.js";
|
|
38
38
|
import"./packager-tool-0gctz400.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
buildSolutionPackageFromDir,
|
|
44
44
|
createZipFromDir,
|
|
45
45
|
uploadOrOverwriteSolution
|
|
46
|
-
} from "./packager-tool-
|
|
46
|
+
} from "./packager-tool-b4k9g21n.js";
|
|
47
47
|
import {
|
|
48
48
|
findNearestParentUipxFile,
|
|
49
49
|
findSolutionFile,
|
|
@@ -56,16 +56,22 @@ import {
|
|
|
56
56
|
readFlowWorkflow,
|
|
57
57
|
resolveProjectFlowFile,
|
|
58
58
|
writeFlowWorkflow
|
|
59
|
-
} from "./packager-tool-
|
|
59
|
+
} from "./packager-tool-cc8hz52k.js";
|
|
60
60
|
import {
|
|
61
61
|
assertVoiceAgentDefinitionsEmbedded,
|
|
62
62
|
convertFlowToBpmn,
|
|
63
63
|
hydrateInlineAgentInputVariables,
|
|
64
64
|
replaceExporterVersion,
|
|
65
65
|
voiceConvertOptions
|
|
66
|
-
} from "./packager-tool-
|
|
66
|
+
} from "./packager-tool-g6q2hgxq.js";
|
|
67
67
|
import"./packager-tool-tn5e7wnb.js";
|
|
68
|
-
import
|
|
68
|
+
import {
|
|
69
|
+
applyRuntimeProfile,
|
|
70
|
+
resolveRuntimeProfile,
|
|
71
|
+
resolveRuntimeProfileForFlowFile
|
|
72
|
+
} from "./packager-tool-3bra2c4j.js";
|
|
73
|
+
import"./packager-tool-2513jrxr.js";
|
|
74
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
69
75
|
import"./packager-tool-nkrmjr3a.js";
|
|
70
76
|
import"./packager-tool-rs6jm14d.js";
|
|
71
77
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -235,7 +241,7 @@ class FlowDebugService {
|
|
|
235
241
|
return agent.inputSchema;
|
|
236
242
|
}, (source, added) => logger.info(`Reconciled ${added} inline-agent input(s) for "${source}" from agent.json inputSchema`), (source, reason) => logger.warn(reason === "invalid-source" ? `Inline agent "${source}" is not a bare project-id folder, so its inputs were not reconciled — the agent will run with no bound inputs.` : `Could not read an inputSchema for inline agent "${source}", so its inputs were not reconciled — the agent will run with no bound inputs. Check that ${source}/agent.json exists and parses.`));
|
|
237
243
|
}
|
|
238
|
-
async generateProjectFiles(flowData, bpmnXml, flowFileContent, startEventId) {
|
|
244
|
+
async generateProjectFiles(flowData, bpmnXml, flowFileContent, startEventId, profile = "Standard" /* Standard */) {
|
|
239
245
|
const safeName = flowData.name.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
240
246
|
const projectDir = this.fs.path.join(this.fs.env.tmpdir(), `.flow-debug-${safeName}-${Date.now()}`);
|
|
241
247
|
const safeMkdir = async (dir) => {
|
|
@@ -257,7 +263,8 @@ class FlowDebugService {
|
|
|
257
263
|
};
|
|
258
264
|
await this.fs.writeFile(this.fs.path.join(projectDir, "project.uiproj"), `${JSON.stringify(projectUiproj, null, 2)}
|
|
259
265
|
`);
|
|
260
|
-
await
|
|
266
|
+
await applyRuntimeProfile(this.fs, projectDir, profile);
|
|
267
|
+
await writePackagingArtifacts(this.fs, projectDir, flowData.id, packagingNodes, bindings, variables, bpmnFileName, resolvedStartEventId, `${safeName}.flow`, definitions, { profile });
|
|
261
268
|
await this.fs.writeFile(this.fs.path.join(projectDir, `${safeName}.bpmn`), bpmnXml);
|
|
262
269
|
if (flowFileContent) {
|
|
263
270
|
await this.fs.writeFile(this.fs.path.join(projectDir, `${safeName}.flow`), flowFileContent);
|
|
@@ -347,7 +354,7 @@ class FlowDebugService {
|
|
|
347
354
|
}
|
|
348
355
|
return descriptors;
|
|
349
356
|
}
|
|
350
|
-
async generateSiblingFlowPackage(projectStagingDir, hostProjectName) {
|
|
357
|
+
async generateSiblingFlowPackage(projectStagingDir, hostProjectName, sourceProjectDir = projectStagingDir) {
|
|
351
358
|
const [resolveError, flowFilePath] = await catchError(findProjectFlowFile(projectStagingDir));
|
|
352
359
|
if (resolveError || !flowFilePath) {
|
|
353
360
|
logger.warn(`No .flow found for sibling project ${projectStagingDir}; skipping BPMN generation.`);
|
|
@@ -358,7 +365,7 @@ class FlowDebugService {
|
|
|
358
365
|
ensureProcessBindings(flowData);
|
|
359
366
|
const bpmnXml = await this.convertToBpmn(flowData, this.fs.path.dirname(flowFilePath));
|
|
360
367
|
const inlineAgentPackages = await packageInlineAgents(this.fs, projectStagingDir, flowData.nodes);
|
|
361
|
-
await this.writeFlowProjectPackage(projectStagingDir, flowData, bpmnXml, flowFileName, inlineAgentPackages);
|
|
368
|
+
await this.writeFlowProjectPackage(projectStagingDir, flowData, bpmnXml, flowFileName, inlineAgentPackages, await resolveRuntimeProfile(this.fs, sourceProjectDir));
|
|
362
369
|
await stageInlineAgentPackageFiles(this.fs, projectStagingDir, projectStagingDir, inlineAgentPackages, (source) => `Staged inline agent "${source}" for sibling Flow debug`);
|
|
363
370
|
logger.info(`Generated BPMN package for sibling flow "${flowFileName.replace(/\.flow$/i, "")}"`);
|
|
364
371
|
return buildInlineAgentDescriptors(flowData.nodes).map((agent) => ({
|
|
@@ -366,14 +373,15 @@ class FlowDebugService {
|
|
|
366
373
|
hostProjectName
|
|
367
374
|
}));
|
|
368
375
|
}
|
|
369
|
-
async writeFlowProjectPackage(projectDir, flowData, bpmnXml, flowFileName, inlineAgentPackages = []) {
|
|
376
|
+
async writeFlowProjectPackage(projectDir, flowData, bpmnXml, flowFileName, inlineAgentPackages = [], profile = "Standard" /* Standard */) {
|
|
370
377
|
const bpmnFileName = `${flowFileName.replace(/\.flow$/i, "")}.bpmn`;
|
|
371
378
|
await writeFlowWorkflow(this.fs.path.join(projectDir, flowFileName), flowData);
|
|
372
379
|
await this.fs.writeFile(this.fs.path.join(projectDir, bpmnFileName), bpmnXml);
|
|
373
380
|
const startEventId = extractStartEventId(bpmnXml);
|
|
374
381
|
const { entryPoints } = await writePackagingArtifactsDetailed(this.fs, projectDir, flowData.id, fileNodesToPackagingNodes(flowData.nodes), flowData.bindings ?? [], flowData.variables ?? {}, bpmnFileName, startEventId, flowFileName, flowData.definitions ?? [], {
|
|
375
382
|
additionalEntryPoints: inlineAgentPackages.map((agent) => agent.entryPoint),
|
|
376
|
-
additionalBindingsJsons: inlineAgentPackages.map((agent) => agent.bindingsJson)
|
|
383
|
+
additionalBindingsJsons: inlineAgentPackages.map((agent) => agent.bindingsJson),
|
|
384
|
+
profile
|
|
377
385
|
});
|
|
378
386
|
await writeResolvedFlow(this.fs, projectDir, flowFileName.replace(/\.flow$/i, ""), flowData);
|
|
379
387
|
return { bpmnFileName, startEventId, entryPoints };
|
|
@@ -500,7 +508,7 @@ class FlowDebugService {
|
|
|
500
508
|
const siblingStagingDir = this.fs.path.join(stagingDir, projectDir);
|
|
501
509
|
await this.fs.copyDirectory(srcProjectPath, siblingStagingDir);
|
|
502
510
|
if (project.Type === "Flow") {
|
|
503
|
-
const [packageError, agents] = await catchError(this.generateSiblingFlowPackage(siblingStagingDir, projectDir));
|
|
511
|
+
const [packageError, agents] = await catchError(this.generateSiblingFlowPackage(siblingStagingDir, projectDir, srcProjectPath));
|
|
504
512
|
if (packageError) {
|
|
505
513
|
logger.warn(`Could not package sibling Flow "${projectDir}": ${packageError.message}. Continuing.`);
|
|
506
514
|
} else {
|
|
@@ -517,7 +525,9 @@ class FlowDebugService {
|
|
|
517
525
|
await this.fs.mkdir(stagingProjectDir);
|
|
518
526
|
await this.fs.writeFile(this.fs.path.join(stagingProjectDir, "project.uiproj"), projectUiprojContent);
|
|
519
527
|
const inlineAgentPackages = await packageInlineAgents(this.fs, absoluteProjectPath, flowData.nodes);
|
|
520
|
-
const
|
|
528
|
+
const profile = await resolveRuntimeProfile(this.fs, absoluteProjectPath);
|
|
529
|
+
await applyRuntimeProfile(this.fs, stagingProjectDir, profile);
|
|
530
|
+
const { bpmnFileName, startEventId, entryPoints } = await this.writeFlowProjectPackage(stagingProjectDir, flowData, bpmnXml, `${safeName}.flow`, inlineAgentPackages, profile);
|
|
521
531
|
if (inlineAgentPackages.length > 0) {
|
|
522
532
|
await stageInlineAgentPackageFiles(this.fs, absoluteProjectPath, stagingProjectDir, inlineAgentPackages, (source) => `Staged inline agent "${source}" for debug`);
|
|
523
533
|
}
|
|
@@ -639,7 +649,7 @@ class FlowDebugService {
|
|
|
639
649
|
bpmnXml = await this.convertToBpmn(flowData, this.fs.path.dirname(absolutePath));
|
|
640
650
|
startEventId = extractStartEventId(bpmnXml);
|
|
641
651
|
logger.info("Generating project files...");
|
|
642
|
-
projectDir = await this.generateProjectFiles(flowData, bpmnXml, flowFileContent, startEventId);
|
|
652
|
+
projectDir = await this.generateProjectFiles(flowData, bpmnXml, flowFileContent, startEventId, await resolveRuntimeProfileForFlowFile(this.fs, absolutePath));
|
|
643
653
|
projectName = flowData.name.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
644
654
|
entryPointBpmnFile = `${projectName}.bpmn`;
|
|
645
655
|
} else {
|
|
@@ -738,4 +748,4 @@ export {
|
|
|
738
748
|
buildFlowDebugUnregisteredProjectInstructions
|
|
739
749
|
};
|
|
740
750
|
|
|
741
|
-
//# debugId=
|
|
751
|
+
//# debugId=7BE8F2945BF3E0E564756E2164756E21
|
|
@@ -6,12 +6,14 @@ import {
|
|
|
6
6
|
readAgentSourceId,
|
|
7
7
|
readEvalSetScope,
|
|
8
8
|
readNodeTargetId
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-d9d77knh.js";
|
|
10
10
|
import"./packager-tool-8j92afwp.js";
|
|
11
11
|
import"./packager-tool-a1hbfmws.js";
|
|
12
|
-
import"./packager-tool-
|
|
12
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
13
13
|
import"./packager-tool-tn5e7wnb.js";
|
|
14
|
-
import"./packager-tool-
|
|
14
|
+
import"./packager-tool-3bra2c4j.js";
|
|
15
|
+
import"./packager-tool-2513jrxr.js";
|
|
16
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
15
17
|
import"./packager-tool-nkrmjr3a.js";
|
|
16
18
|
import"./packager-tool-rs6jm14d.js";
|
|
17
19
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -41,4 +43,4 @@ export {
|
|
|
41
43
|
readNodeTargetId
|
|
42
44
|
};
|
|
43
45
|
|
|
44
|
-
//# debugId=
|
|
46
|
+
//# debugId=6C90C4DDCF3C4E9264756E2164756E21
|
|
@@ -7,33 +7,33 @@ import {
|
|
|
7
7
|
} from "./packager-tool-n09qbckn.js";
|
|
8
8
|
import {
|
|
9
9
|
readNodeTargetId
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-d9d77knh.js";
|
|
11
11
|
import {
|
|
12
12
|
writeResolvedFlow
|
|
13
13
|
} from "./packager-tool-7c18ekyp.js";
|
|
14
14
|
import {
|
|
15
15
|
package_default
|
|
16
|
-
} from "./packager-tool-
|
|
16
|
+
} from "./packager-tool-f623rbna.js";
|
|
17
17
|
import {
|
|
18
18
|
isRecord,
|
|
19
19
|
isUUID
|
|
20
20
|
} from "./packager-tool-8j92afwp.js";
|
|
21
21
|
import {
|
|
22
22
|
ensureProcessBindings
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-bpw1t6ms.js";
|
|
24
24
|
import {
|
|
25
25
|
fileNodesToPackagingNodes,
|
|
26
26
|
packageInlineAgents,
|
|
27
27
|
stageInlineAgentPackageFiles,
|
|
28
28
|
writePackagingArtifactsDetailed
|
|
29
|
-
} from "./packager-tool-
|
|
29
|
+
} from "./packager-tool-jsfya86d.js";
|
|
30
30
|
import {
|
|
31
31
|
FlowEvalFileStore,
|
|
32
32
|
ensureDirectory
|
|
33
33
|
} from "./packager-tool-p96yqdnk.js";
|
|
34
34
|
import"./packager-tool-w0kr4mbc.js";
|
|
35
35
|
import"./packager-tool-a1hbfmws.js";
|
|
36
|
-
import"./packager-tool-
|
|
36
|
+
import"./packager-tool-qyss7f7z.js";
|
|
37
37
|
import"./packager-tool-ck10v2ve.js";
|
|
38
38
|
import"./packager-tool-77f5xeqw.js";
|
|
39
39
|
import {
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
prepareForCustomDebug
|
|
45
45
|
} from "./packager-tool-aea5psjw.js";
|
|
46
46
|
import"./packager-tool-py7cevyk.js";
|
|
47
|
-
import"./packager-tool-
|
|
47
|
+
import"./packager-tool-ddazkv71.js";
|
|
48
48
|
import"./packager-tool-3wzbcn5q.js";
|
|
49
49
|
import"./packager-tool-f0kd5kq4.js";
|
|
50
50
|
import"./packager-tool-0gctz400.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
buildSolutionPackageFromDir,
|
|
56
56
|
getStudioWebSolutionProjects,
|
|
57
57
|
uploadOrOverwriteSolution
|
|
58
|
-
} from "./packager-tool-
|
|
58
|
+
} from "./packager-tool-b4k9g21n.js";
|
|
59
59
|
import {
|
|
60
60
|
findSolutionFile,
|
|
61
61
|
readUipxFile,
|
|
@@ -65,14 +65,19 @@ import {
|
|
|
65
65
|
readFlowWorkflow,
|
|
66
66
|
resolveProjectFlowFile,
|
|
67
67
|
writeFlowWorkflow
|
|
68
|
-
} from "./packager-tool-
|
|
68
|
+
} from "./packager-tool-cc8hz52k.js";
|
|
69
69
|
import {
|
|
70
70
|
convertFlowToBpmn,
|
|
71
71
|
replaceExporterVersion,
|
|
72
72
|
setPublishIntentOnInlineAgents
|
|
73
|
-
} from "./packager-tool-
|
|
73
|
+
} from "./packager-tool-g6q2hgxq.js";
|
|
74
74
|
import"./packager-tool-tn5e7wnb.js";
|
|
75
|
-
import
|
|
75
|
+
import {
|
|
76
|
+
applyRuntimeProfile,
|
|
77
|
+
resolveRuntimeProfile
|
|
78
|
+
} from "./packager-tool-3bra2c4j.js";
|
|
79
|
+
import"./packager-tool-2513jrxr.js";
|
|
80
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
76
81
|
import"./packager-tool-nkrmjr3a.js";
|
|
77
82
|
import"./packager-tool-rs6jm14d.js";
|
|
78
83
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -432,10 +437,13 @@ class FlowLocalWorkspaceEvalPreparer {
|
|
|
432
437
|
const bindings = flowData.bindings ?? [];
|
|
433
438
|
const workflowVariables = flowData.variables ?? {};
|
|
434
439
|
const definitions = flowData.definitions ?? [];
|
|
440
|
+
const profile = await resolveRuntimeProfile(this.fs, sourceProjectPath);
|
|
441
|
+
await applyRuntimeProfile(this.fs, stagingProjectDir, profile);
|
|
435
442
|
const inlineAgentPackages = await packageInlineAgents(this.fs, sourceProjectPath, flowData.nodes);
|
|
436
443
|
await writePackagingArtifactsDetailed(this.fs, stagingProjectDir, flowData.id, packagingNodes, bindings, workflowVariables, bpmnFileName, startEventId, flowFileName, definitions, {
|
|
437
444
|
additionalEntryPoints: inlineAgentPackages.map((agent) => agent.entryPoint),
|
|
438
|
-
additionalBindingsJsons: inlineAgentPackages.map((agent) => agent.bindingsJson)
|
|
445
|
+
additionalBindingsJsons: inlineAgentPackages.map((agent) => agent.bindingsJson),
|
|
446
|
+
profile
|
|
439
447
|
});
|
|
440
448
|
await writeResolvedFlow(this.fs, stagingProjectDir, flowBaseName, flowData);
|
|
441
449
|
await stageInlineAgentPackageFiles(this.fs, sourceProjectPath, stagingProjectDir, inlineAgentPackages, (source) => `Staged inline agent "${source}" for eval debug`);
|
|
@@ -958,4 +966,4 @@ export {
|
|
|
958
966
|
FlowEvalRunService
|
|
959
967
|
};
|
|
960
968
|
|
|
961
|
-
//# debugId=
|
|
969
|
+
//# debugId=7572B679388363C264756E2164756E21
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
isDocumentEvalNode,
|
|
12
12
|
isNodeEvalTarget,
|
|
13
13
|
readNodeTargetId
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-d9d77knh.js";
|
|
15
15
|
import {
|
|
16
16
|
buildDefaultCriteria,
|
|
17
17
|
buildEvaluatorConfig,
|
|
@@ -25,11 +25,13 @@ import {
|
|
|
25
25
|
evaluatorTypeAliases,
|
|
26
26
|
resolveEvaluatorType
|
|
27
27
|
} from "./packager-tool-a1hbfmws.js";
|
|
28
|
-
import"./packager-tool-
|
|
28
|
+
import"./packager-tool-b4k9g21n.js";
|
|
29
29
|
import"./packager-tool-cphdcys0.js";
|
|
30
|
-
import"./packager-tool-
|
|
30
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
31
31
|
import"./packager-tool-tn5e7wnb.js";
|
|
32
|
-
import"./packager-tool-
|
|
32
|
+
import"./packager-tool-3bra2c4j.js";
|
|
33
|
+
import"./packager-tool-2513jrxr.js";
|
|
34
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
33
35
|
import"./packager-tool-nkrmjr3a.js";
|
|
34
36
|
import"./packager-tool-rs6jm14d.js";
|
|
35
37
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -1335,4 +1337,4 @@ export {
|
|
|
1335
1337
|
FlowEvalService
|
|
1336
1338
|
};
|
|
1337
1339
|
|
|
1338
|
-
//# debugId=
|
|
1340
|
+
//# debugId=86420B15846DBEE664756E2164756E21
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
flowInitAsync
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-wh71wvj7.js";
|
|
4
|
+
import"./packager-tool-9cq9atem.js";
|
|
5
|
+
import"./packager-tool-b4k9g21n.js";
|
|
5
6
|
import"./packager-tool-cphdcys0.js";
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
7
|
+
import"./packager-tool-cc8hz52k.js";
|
|
8
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
8
9
|
import"./packager-tool-tn5e7wnb.js";
|
|
9
|
-
import"./packager-tool-
|
|
10
|
+
import"./packager-tool-3bra2c4j.js";
|
|
11
|
+
import"./packager-tool-2513jrxr.js";
|
|
12
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
10
13
|
import"./packager-tool-nkrmjr3a.js";
|
|
11
14
|
import"./packager-tool-rs6jm14d.js";
|
|
12
15
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -32,4 +35,4 @@ export {
|
|
|
32
35
|
flowInitAsync
|
|
33
36
|
};
|
|
34
37
|
|
|
35
|
-
//# debugId=
|
|
38
|
+
//# debugId=12CD7581176590B264756E2164756E21
|
|
@@ -3,10 +3,12 @@ import {
|
|
|
3
3
|
readFlowWorkflow,
|
|
4
4
|
resolveProjectFlowFile,
|
|
5
5
|
writeFlowWorkflow
|
|
6
|
-
} from "./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
6
|
+
} from "./packager-tool-cc8hz52k.js";
|
|
7
|
+
import"./packager-tool-g6q2hgxq.js";
|
|
8
8
|
import"./packager-tool-tn5e7wnb.js";
|
|
9
|
-
import"./packager-tool-
|
|
9
|
+
import"./packager-tool-3bra2c4j.js";
|
|
10
|
+
import"./packager-tool-2513jrxr.js";
|
|
11
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
10
12
|
import"./packager-tool-nkrmjr3a.js";
|
|
11
13
|
import"./packager-tool-rs6jm14d.js";
|
|
12
14
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -33,4 +35,4 @@ export {
|
|
|
33
35
|
writeFlowWorkflow
|
|
34
36
|
};
|
|
35
37
|
|
|
36
|
-
//# debugId=
|
|
38
|
+
//# debugId=5E75997F885C193F64756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
captureMigrationIssues,
|
|
3
3
|
formatMigrationFailureMessage
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-1as6n6e9.js";
|
|
5
5
|
import {
|
|
6
6
|
applyNodeMigrations,
|
|
7
7
|
checkNodeMigrations,
|
|
@@ -11,9 +11,11 @@ import {
|
|
|
11
11
|
resolveWorkflowRefs,
|
|
12
12
|
runtimeMigrations,
|
|
13
13
|
runtimeVersion
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-g6q2hgxq.js";
|
|
15
15
|
import"./packager-tool-tn5e7wnb.js";
|
|
16
|
-
import"./packager-tool-
|
|
16
|
+
import"./packager-tool-3bra2c4j.js";
|
|
17
|
+
import"./packager-tool-2513jrxr.js";
|
|
18
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
17
19
|
import"./packager-tool-nkrmjr3a.js";
|
|
18
20
|
import"./packager-tool-rs6jm14d.js";
|
|
19
21
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -116,4 +118,4 @@ export {
|
|
|
116
118
|
migrateFlow
|
|
117
119
|
};
|
|
118
120
|
|
|
119
|
-
//# debugId=
|
|
121
|
+
//# debugId=E8EC38F476EF480F64756E2164756E21
|
|
@@ -3,31 +3,31 @@ import {
|
|
|
3
3
|
} from "./packager-tool-7c18ekyp.js";
|
|
4
4
|
import {
|
|
5
5
|
registerPackagerFactories
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-ms868d61.js";
|
|
7
7
|
import {
|
|
8
8
|
package_default
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-f623rbna.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureProcessBindings
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-bpw1t6ms.js";
|
|
13
13
|
import {
|
|
14
14
|
fileNodesToPackagingNodes,
|
|
15
15
|
packageInlineAgents,
|
|
16
16
|
stageInlineAgentPackageFiles,
|
|
17
17
|
writePackagingArtifactsDetailed
|
|
18
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-jsfya86d.js";
|
|
19
19
|
import"./packager-tool-p96yqdnk.js";
|
|
20
20
|
import {
|
|
21
21
|
ensureProjectId
|
|
22
22
|
} from "./packager-tool-w0kr4mbc.js";
|
|
23
|
-
import"./packager-tool-
|
|
23
|
+
import"./packager-tool-qyss7f7z.js";
|
|
24
24
|
import"./packager-tool-ck10v2ve.js";
|
|
25
25
|
import"./packager-tool-77f5xeqw.js";
|
|
26
26
|
import {
|
|
27
27
|
extractStartEventId
|
|
28
28
|
} from "./packager-tool-aea5psjw.js";
|
|
29
29
|
import"./packager-tool-py7cevyk.js";
|
|
30
|
-
import"./packager-tool-
|
|
30
|
+
import"./packager-tool-ddazkv71.js";
|
|
31
31
|
import"./packager-tool-3wzbcn5q.js";
|
|
32
32
|
import"./packager-tool-f0kd5kq4.js";
|
|
33
33
|
import"./packager-tool-0gctz400.js";
|
|
@@ -37,7 +37,7 @@ import"./packager-tool-7exrv6w7.js";
|
|
|
37
37
|
import {
|
|
38
38
|
readFlowWorkflow,
|
|
39
39
|
writeFlowWorkflow
|
|
40
|
-
} from "./packager-tool-
|
|
40
|
+
} from "./packager-tool-cc8hz52k.js";
|
|
41
41
|
import {
|
|
42
42
|
assertVoiceAgentDefinitionsEmbedded,
|
|
43
43
|
convertFlowToBpmn,
|
|
@@ -45,9 +45,14 @@ import {
|
|
|
45
45
|
replaceExporterVersion,
|
|
46
46
|
setPublishIntentOnInlineAgents,
|
|
47
47
|
voiceConvertOptions
|
|
48
|
-
} from "./packager-tool-
|
|
48
|
+
} from "./packager-tool-g6q2hgxq.js";
|
|
49
49
|
import"./packager-tool-tn5e7wnb.js";
|
|
50
|
-
import
|
|
50
|
+
import {
|
|
51
|
+
applyRuntimeProfile,
|
|
52
|
+
resolveRuntimeProfile
|
|
53
|
+
} from "./packager-tool-3bra2c4j.js";
|
|
54
|
+
import"./packager-tool-2513jrxr.js";
|
|
55
|
+
import"./packager-tool-0d7tcvg1.js";
|
|
51
56
|
import"./packager-tool-nkrmjr3a.js";
|
|
52
57
|
import"./packager-tool-rs6jm14d.js";
|
|
53
58
|
import"./packager-tool-hk1gxnth.js";
|
|
@@ -159,7 +164,7 @@ Packing flow project...
|
|
|
159
164
|
const packageId = `${packageName}.flow.Flow`;
|
|
160
165
|
const version = options.version || "1.0.0";
|
|
161
166
|
registerPackagerFactories();
|
|
162
|
-
const { createNodeProjectPackager, ProjectPackOptions } = await import("./node-
|
|
167
|
+
const { createNodeProjectPackager, ProjectPackOptions } = await import("./node-v2vhp15r.js");
|
|
163
168
|
const packager = await createNodeProjectPackager({
|
|
164
169
|
logHandler: logger.handleLog
|
|
165
170
|
});
|
|
@@ -200,6 +205,8 @@ Packing flow project...
|
|
|
200
205
|
}
|
|
201
206
|
async stageProjectFiles(projectPath, stagingDir, projectName, flowContent) {
|
|
202
207
|
const safeName = projectName.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
208
|
+
const profile = await resolveRuntimeProfile(this.fs, projectPath);
|
|
209
|
+
await applyRuntimeProfile(this.fs, stagingDir, profile);
|
|
203
210
|
await writeFlowWorkflow(this.fs.path.join(stagingDir, `${safeName}.flow`), flowContent);
|
|
204
211
|
const uiprojPath = this.fs.path.join(projectPath, "project.uiproj");
|
|
205
212
|
if (await this.fs.exists(uiprojPath)) {
|
|
@@ -238,7 +245,8 @@ Packing flow project...
|
|
|
238
245
|
await writePackagingArtifactsDetailed(this.fs, stagingDir, projectId, packagingNodes, flowContent.bindings ?? [], flowContent.variables ?? {}, bpmnFileName, startEventId, `${safeName}.flow`, flowContent.definitions ?? [], {
|
|
239
246
|
additionalEntryPoints: inlineAgents.map((agent) => agent.entryPoint),
|
|
240
247
|
additionalBindingsJsons: inlineAgents.map((agent) => agent.bindingsJson),
|
|
241
|
-
...packageDescriptorJson ? { packageDescriptorJson } : {}
|
|
248
|
+
...packageDescriptorJson ? { packageDescriptorJson } : {},
|
|
249
|
+
profile
|
|
242
250
|
});
|
|
243
251
|
await writeResolvedFlow(this.fs, stagingDir, safeName, flowContent);
|
|
244
252
|
if (inlineAgents.length > 0) {
|
|
@@ -277,4 +285,4 @@ export {
|
|
|
277
285
|
FlowPackService
|
|
278
286
|
};
|
|
279
287
|
|
|
280
|
-
//# debugId=
|
|
288
|
+
//# debugId=B9C27ADF7D3FBC0B64756E2164756E21
|