@uipath/flow-tool 1.207.0-preview.308 → 1.207.0-preview.309
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 +3 -3
- package/dist/{binding-service-sxve2853.js → binding-service-meqr7fte.js} +9 -9
- package/dist/{connector-service-e9e4xm8s.js → connector-service-xbvfkqpf.js} +10 -10
- package/dist/{conversion-A2KZVSOA-fa9nfynz.js → conversion-A2KZVSOA-ghvx8782.js} +3 -3
- package/dist/{de-HF4GJ4EK-NX7YTOSY-mtaez7z3.js → de-HF4GJ4EK-NX7YTOSY-ybhqx7gt.js} +1 -1
- package/dist/{edge-service-tvzwqtaq.js → edge-service-23sb5na8.js} +2 -2
- package/dist/{en-ETY46SDS-RI6EZCN6-0c2vjbys.js → en-ETY46SDS-RI6EZCN6-3pk3azwj.js} +1 -1
- package/dist/{en-JZXY3PYE-w8y95jgq.js → en-JZXY3PYE-xv33q5n3.js} +1 -1
- package/dist/{en-LQHKFSEY-k3f69e7j.js → en-LQHKFSEY-cg03jmcz.js} +1 -1
- package/dist/{es-IYP2OLUY-7SKYGF6A-95eab1wq.js → es-IYP2OLUY-7SKYGF6A-x7a5fg5s.js} +1 -1
- package/dist/{es-MX-D2MN3U37-D74A6FRL-yvrsqw68.js → es-MX-D2MN3U37-D74A6FRL-1dq364az.js} +1 -1
- package/dist/{flow-debug-service-yq1qe6r7.js → flow-debug-service-34y52k0f.js} +6 -6
- package/dist/{flow-eval-node-target-xc09pha9.js → flow-eval-node-target-3brcvpyf.js} +2 -2
- package/dist/{flow-eval-run-service-cxajqxgy.js → flow-eval-run-service-c1bc0gjy.js} +8 -8
- package/dist/{flow-eval-service-vqqs3005.js → flow-eval-service-q9jh39e6.js} +3 -3
- package/dist/{flow-init-service-prbezary.js → flow-init-service-cygc9rqb.js} +4 -4
- package/dist/{flow-io-765w6hkd.js → flow-io-hk87b408.js} +2 -2
- package/dist/{flow-migrate-service-e2xayxea.js → flow-migrate-service-pw2ctr58.js} +2 -2
- package/dist/{flow-pack-service-20z25gbr.js → flow-pack-service-xcjwxnmr.js} +9 -9
- package/dist/{flow-validate-service-mx7jr7f7.js → flow-validate-service-gd0r5gyy.js} +13 -13
- package/dist/{fr-NISALSPL-3ANDQPI3-3v7kwk0g.js → fr-NISALSPL-3ANDQPI3-8pbgebr1.js} +1 -1
- package/dist/{governance-fetcher-dtbc2zh4.js → governance-fetcher-g5jahv0z.js} +2 -2
- package/dist/{hitl-service-pwjwh19n.js → hitl-service-1ywywqe8.js} +2 -2
- package/dist/{index-s6c6sr7f.js → index-14cfx32t.js} +1 -1
- package/dist/{index-81wg496p.js → index-fj0xxsx6.js} +1 -1
- package/dist/{index-rnkhy3va.js → index-x2g39afd.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/init.js +4 -4
- package/dist/{inline-entity-resolver-rvjb40w3.js → inline-entity-resolver-z4ftxxk5.js} +2 -2
- package/dist/{integration-service-fetcher-rk4rxw60.js → integration-service-fetcher-f9kde1ra.js} +1 -1
- package/dist/{ja-HTS2Q4YG-7Q6WUI6H-bz3xqbd6.js → ja-HTS2Q4YG-7Q6WUI6H-bgqtyz09.js} +1 -1
- package/dist/{ko-3JFGTMNY-VT6UQ3IS-qy8sjg41.js → ko-3JFGTMNY-VT6UQ3IS-m1en3fgp.js} +1 -1
- package/dist/{node-1ymvyz3g.js → node-mdbrytwt.js} +1 -1
- package/dist/{node-service-bmjxn49k.js → node-service-kg1p926x.js} +9 -9
- package/dist/{node-sync-service-d1nwmjqr.js → node-sync-service-ccyafnd2.js} +2 -2
- package/dist/{packager-tool-ree2dgz8.js → packager-tool-09q2rc6j.js} +7 -7
- package/dist/{packager-tool-59wakh48.js → packager-tool-3wpy8p7p.js} +1 -1
- package/dist/{packager-tool-ff7j6b1s.js → packager-tool-5vf30npb.js} +5 -5
- package/dist/{packager-tool-z5tz2prd.js → packager-tool-b0x0wphp.js} +2 -2
- package/dist/{packager-tool-e51was9w.js → packager-tool-bem1wr8p.js} +2 -2
- package/dist/{packager-tool-rjf0bat6.js → packager-tool-e0qkpvgh.js} +1 -1
- package/dist/{packager-tool-cr634ftd.js → packager-tool-e3a1n297.js} +1 -1
- package/dist/{packager-tool-9vcfdr70.js → packager-tool-fzv5c5rz.js} +54 -45
- package/dist/{packager-tool-1gkj0pz6.js → packager-tool-jezwdafw.js} +2 -2
- package/dist/{packager-tool-c5jnbc7g.js → packager-tool-n73netz3.js} +2 -2
- package/dist/{packager-tool-2q07tgs8.js → packager-tool-nnmsqbeg.js} +1 -1
- package/dist/{packager-tool-82xfzmwz.js → packager-tool-p2knpq5f.js} +1 -1
- package/dist/{packager-tool-2b9htrj0.js → packager-tool-pje86sj1.js} +18 -18
- package/dist/{packager-tool-5wcdvxn7.js → packager-tool-r5ngg0cw.js} +1 -1
- package/dist/{packager-tool-exppsaj4.js → packager-tool-rhgb6d3f.js} +1 -1
- package/dist/{packager-tool-b7xr4p8r.js → packager-tool-t0dxhwra.js} +2 -2
- package/dist/{packager-tool-x6h4cgey.js → packager-tool-thdzeahk.js} +1 -1
- package/dist/{packager-tool-p0phrpqr.js → packager-tool-vnt94393.js} +1 -1
- package/dist/{packager-tool-h7avcyxg.js → packager-tool-x01kch0x.js} +2 -2
- package/dist/{packager-tool-tr9h7han.js → packager-tool-x5nhftsy.js} +1 -1
- package/dist/{packager-tool-d5js4mj1.js → packager-tool-y38s7s7v.js} +7 -7
- package/dist/{packager-tool-6xngctsd.js → packager-tool-zwnrmrwe.js} +1 -1
- package/dist/packager-tool.js +2 -2
- package/dist/{provision-node-service-vr15kwy6.js → provision-node-service-2vk74q0t.js} +4 -4
- package/dist/{pt-BR-7H7BP5DT-IOHWNCIU-ckns4p2g.js → pt-BR-7H7BP5DT-IOHWNCIU-wpeym90k.js} +1 -1
- package/dist/{pt-QWGSZKMD-RTKSQCYA-xq0e0kbh.js → pt-QWGSZKMD-RTKSQCYA-k1kd2yyk.js} +1 -1
- package/dist/{ro-B7G474JK-Q3BAA4S3-mggf62ha.js → ro-B7G474JK-Q3BAA4S3-06q6vf2m.js} +1 -1
- package/dist/{ru-GSCT4ARZ-6OTD7JLB-athh0v4j.js → ru-GSCT4ARZ-6OTD7JLB-8r3g2xds.js} +1 -1
- package/dist/{schema-document-service-pz2brsbs.js → schema-document-service-mwy1t3x7.js} +4 -4
- package/dist/{serialization-7CB4AREI-vd6grf04.js → serialization-7CB4AREI-gw3qrn0e.js} +2 -2
- package/dist/{tidy-service-cxtnmt5y.js → tidy-service-bz9tyrkm.js} +2 -2
- package/dist/tool.js +2 -2
- package/dist/{tr-FX7WCKK2-CEOTUJRD-wk1k4j38.js → tr-FX7WCKK2-CEOTUJRD-9t6qqr8y.js} +1 -1
- package/dist/validation.js +13 -13
- package/dist/{variable-service-fpazg50v.js → variable-service-byxw020k.js} +2 -2
- package/dist/{zh-CN-NCMB6YM5-BB2LRIMQ-71vmbjbq.js → zh-CN-NCMB6YM5-BB2LRIMQ-jqb7c684.js} +1 -1
- package/dist/{zh-TW-UNIEJPLE-ECGOEPYS-drggsy7t.js → zh-TW-UNIEJPLE-ECGOEPYS-abw1nfhz.js} +1 -1
- package/package.json +2 -2
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
registerSharedInstanceCommands,
|
|
49
49
|
registerSharedProcessCommands,
|
|
50
50
|
registerSharedProcessesCommands
|
|
51
|
-
} from "./packager-tool-
|
|
51
|
+
} from "./packager-tool-5vf30npb.js";
|
|
52
52
|
import {
|
|
53
53
|
registerEvalCommands,
|
|
54
54
|
evaluatorTypeAliases,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
} from "./packager-tool-8c7nddd1.js";
|
|
71
71
|
import {
|
|
72
72
|
package_default
|
|
73
|
-
} from "./packager-tool-
|
|
73
|
+
} from "./packager-tool-jezwdafw.js";
|
|
74
74
|
import {
|
|
75
75
|
SCHEMA_GROUP_NAME_MAX,
|
|
76
76
|
SCHEMA_INSTRUCTIONS_MAX
|
|
@@ -172,7 +172,7 @@ var BINDING_DELETE_EXAMPLES = [
|
|
|
172
172
|
var registerBindingCommand = (program) => {
|
|
173
173
|
const binding = program.command("bindings").alias("binding").description("Manage bindings in a Flow file");
|
|
174
174
|
addRowWindowOptions(binding.command("list")).description("List all bindings in a Flow file").argument("<file>", "Path to the .flow file").examples(BINDING_LIST_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
175
|
-
const { listBindingsInFlow } = await import("./binding-service-
|
|
175
|
+
const { listBindingsInFlow } = await import("./binding-service-meqr7fte.js");
|
|
176
176
|
const [error, result] = await catchError2(listBindingsInFlow(file));
|
|
177
177
|
if (error) {
|
|
178
178
|
OutputFormatter.error({
|
|
@@ -196,7 +196,7 @@ var registerBindingCommand = (program) => {
|
|
|
196
196
|
});
|
|
197
197
|
binding.command("create").alias("add").description(`Add a binding to a Flow file.
|
|
198
198
|
` + `Valid resource types: ${VALID_RESOURCE_TYPES.join(", ")}`).argument("<file>", "Path to the .flow file").argument("<name>", "Binding display name").argument("<resource>", "Resource type").argument("<default-value>", "Default value for the binding").option("--resource-key <key>", "Resource catalog identifier").option("--property-attribute <attr>", "Target node property (e.g., name, folderPath, connection)").option("--resource-sub-type <type>", "Resource sub-classification (e.g., Agent, Process)").examples(BINDING_ADD_EXAMPLES).trackedAction(processContext, async (file, name, resource, defaultValue, options) => {
|
|
199
|
-
const { addBindingToFlow } = await import("./binding-service-
|
|
199
|
+
const { addBindingToFlow } = await import("./binding-service-meqr7fte.js");
|
|
200
200
|
const [error, result] = await catchError2(addBindingToFlow(file, name, resource, defaultValue, {
|
|
201
201
|
resourceKey: options.resourceKey,
|
|
202
202
|
propertyAttribute: options.propertyAttribute,
|
|
@@ -220,7 +220,7 @@ var registerBindingCommand = (program) => {
|
|
|
220
220
|
});
|
|
221
221
|
});
|
|
222
222
|
binding.command("delete").alias("remove").description("Remove all bindings with a given resource key from a Flow file").argument("<file>", "Path to the .flow file").argument("<resource-key>", "Resource key of the bindings to remove").examples(BINDING_DELETE_EXAMPLES).trackedAction(processContext, async (file, resourceKey) => {
|
|
223
|
-
const { deleteBindingFromFlow } = await import("./binding-service-
|
|
223
|
+
const { deleteBindingFromFlow } = await import("./binding-service-meqr7fte.js");
|
|
224
224
|
const [error, result] = await catchError2(deleteBindingFromFlow(file, resourceKey));
|
|
225
225
|
if (error) {
|
|
226
226
|
OutputFormatter.error({
|
|
@@ -309,7 +309,7 @@ function buildDebugSummary(result) {
|
|
|
309
309
|
var FULL_DEBUG_OUTPUT_DIR = ".flow-debug";
|
|
310
310
|
var FULL_DEBUG_OUTPUT_GITIGNORE = "# Written by `uip maestro flow debug --summary`: local debug records with tenant data.\n*\n";
|
|
311
311
|
async function writeFullDebugOutput(fs, projectPath, envelope) {
|
|
312
|
-
const { findNearestParentUipxFile } = await import("./index-
|
|
312
|
+
const { findNearestParentUipxFile } = await import("./index-fj0xxsx6.js");
|
|
313
313
|
const projectDir = fs.path.resolve(projectPath);
|
|
314
314
|
const discovery = await findNearestParentUipxFile(fs, projectDir);
|
|
315
315
|
const solutionDir = discovery.status === "found" ? fs.path.dirname(discovery.solutionFile) : fs.path.resolve(projectDir, "..");
|
|
@@ -417,7 +417,7 @@ var CONVERSATIONAL_DEBUG_WARNING = "This flow, which starts on a conversation tr
|
|
|
417
417
|
` + " 2. UiPath Maestro VS Code extension — open the flow and hit Debug.";
|
|
418
418
|
async function readProjectFlowNodes(projectPath) {
|
|
419
419
|
const [error, nodes] = await catchError2((async () => {
|
|
420
|
-
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-
|
|
420
|
+
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-hk87b408.js");
|
|
421
421
|
const flowFilePath = await resolveProjectFlowFile(projectPath);
|
|
422
422
|
const { workflow } = await readFlowWorkflow(flowFilePath);
|
|
423
423
|
return workflow.nodes ?? [];
|
|
@@ -606,8 +606,8 @@ function registerDebugCommand(program) {
|
|
|
606
606
|
InvalidSolutionManifestError,
|
|
607
607
|
MissingSolutionWrapperError,
|
|
608
608
|
UnregisteredProjectError
|
|
609
|
-
} = await import("./flow-debug-service-
|
|
610
|
-
const { UnboundInlineEntityError } = await import("./inline-entity-resolver-
|
|
609
|
+
} = await import("./flow-debug-service-34y52k0f.js");
|
|
610
|
+
const { UnboundInlineEntityError } = await import("./inline-entity-resolver-z4ftxxk5.js");
|
|
611
611
|
const { MaestroHttpError } = await import("./debug-http-client-fypqjmfs.js");
|
|
612
612
|
const {
|
|
613
613
|
buildFaultedDebugFailureOutput,
|
|
@@ -618,7 +618,7 @@ function registerDebugCommand(program) {
|
|
|
618
618
|
const {
|
|
619
619
|
buildSolutionUploadFailureOutput,
|
|
620
620
|
isSolutionUploadHttpError
|
|
621
|
-
} = await import("./index-
|
|
621
|
+
} = await import("./index-fj0xxsx6.js");
|
|
622
622
|
const service = new FlowDebugService;
|
|
623
623
|
const parsedPollInterval = parsePositiveNumberOption(options.pollInterval || "2000", "--poll-interval");
|
|
624
624
|
if (!parsedPollInterval.ok) {
|
|
@@ -1002,7 +1002,7 @@ function getDeleteEdgeInstructions(file) {
|
|
|
1002
1002
|
return `Check that "${file}" exists and run 'uip maestro flow edges list ${file}' to find a valid edge ID, then retry.`;
|
|
1003
1003
|
}
|
|
1004
1004
|
async function runDeleteEdge(file, edgeId, code) {
|
|
1005
|
-
const { deleteEdgeFromFlow } = await import("./edge-service-
|
|
1005
|
+
const { deleteEdgeFromFlow } = await import("./edge-service-23sb5na8.js");
|
|
1006
1006
|
const normalizedEdgeId = edgeId.trim();
|
|
1007
1007
|
const [error, result] = await catchError2(deleteEdgeFromFlow(file, normalizedEdgeId));
|
|
1008
1008
|
if (error) {
|
|
@@ -1025,7 +1025,7 @@ async function runDeleteEdge(file, edgeId, code) {
|
|
|
1025
1025
|
var registerEdgeCommand = (program) => {
|
|
1026
1026
|
const edge = program.command("edges").alias("edge").description("Manage edges in a Flow file");
|
|
1027
1027
|
addRowWindowOptions(edge.command("list")).description("List all edges in a Flow file").argument("<file>", "Path to the .flow file").examples(EDGE_LIST_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
1028
|
-
const { listEdgesInFlow } = await import("./edge-service-
|
|
1028
|
+
const { listEdgesInFlow } = await import("./edge-service-23sb5na8.js");
|
|
1029
1029
|
const [error, result] = await catchError2(listEdgesInFlow(file));
|
|
1030
1030
|
if (error) {
|
|
1031
1031
|
OutputFormatter.error({
|
|
@@ -1048,7 +1048,7 @@ var registerEdgeCommand = (program) => {
|
|
|
1048
1048
|
});
|
|
1049
1049
|
});
|
|
1050
1050
|
edge.command("create").alias("add").description("Add an edge between two nodes in a Flow file").argument("<file>", "Path to the .flow file").argument("<source-id>", "ID of the source node").argument("<target-id>", "ID of the target node").option("--source-port <port>", `Source port name (defaults to the port the node's definition marks as default, else "output", else the node's only flow port)`).option("--target-port <port>", `Target port name (defaults to the port the node's definition marks as default, else "input", else the node's only flow port)`).examples(EDGE_ADD_EXAMPLES).trackedAction(processContext, async (file, sourceId, targetId, options) => {
|
|
1051
|
-
const { addEdgeToFlow } = await import("./edge-service-
|
|
1051
|
+
const { addEdgeToFlow } = await import("./edge-service-23sb5na8.js");
|
|
1052
1052
|
const [error, result] = await catchError2(addEdgeToFlow(file, sourceId, targetId, {
|
|
1053
1053
|
sourcePort: options.sourcePort,
|
|
1054
1054
|
targetPort: options.targetPort
|
|
@@ -1283,7 +1283,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1283
1283
|
let localSolutionIdUpdated;
|
|
1284
1284
|
const [error] = await catchError2((async () => {
|
|
1285
1285
|
const config = await resolveStudioWebConfig();
|
|
1286
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1286
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-c1bc0gjy.js");
|
|
1287
1287
|
const service = new FlowEvalRunService;
|
|
1288
1288
|
const result = await service.startRemoteEvalRun(options.path, options.set, config, {
|
|
1289
1289
|
solutionId: options.solutionId,
|
|
@@ -1321,7 +1321,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1321
1321
|
addTargetOptions(runCmd.command("status").description("Check the status of a Studio Web Flow evaluation run").argument("<eval-set-run-id>", "Evaluation set run ID")).examples(FLOW_EVAL_RUN_STATUS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
|
|
1322
1322
|
const [error] = await catchError2((async () => {
|
|
1323
1323
|
const config = await resolveStudioWebConfig();
|
|
1324
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1324
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-c1bc0gjy.js");
|
|
1325
1325
|
const service = new FlowEvalRunService;
|
|
1326
1326
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1327
1327
|
const [run, evaluators] = await Promise.all([
|
|
@@ -1347,7 +1347,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1347
1347
|
addTargetOptions(runCmd.command("results").description("Get detailed results for a Studio Web Flow evaluation run").argument("<eval-set-run-id>", "Evaluation set run ID")).option("--only-failed", "Show only failed or errored data points").option("--verbose", "Include evaluator justifications in output").option("--export-format <json|csv>", "Export results to file (json or csv)").examples(FLOW_EVAL_RUN_RESULTS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
|
|
1348
1348
|
const [error] = await catchError2((async () => {
|
|
1349
1349
|
const config = await resolveStudioWebConfig();
|
|
1350
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1350
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-c1bc0gjy.js");
|
|
1351
1351
|
const service = new FlowEvalRunService;
|
|
1352
1352
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1353
1353
|
let evalRuns = await service.getRemoteEvalRuns(config, target.workloadId, evalSetRunId);
|
|
@@ -1381,7 +1381,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1381
1381
|
addTargetOptions(addRowWindowOptions(runCmd.command("list")).description("List Studio Web evaluation runs for a Flow eval set")).examples(FLOW_EVAL_RUN_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
1382
1382
|
const [error] = await catchError2((async () => {
|
|
1383
1383
|
const config = await resolveStudioWebConfig();
|
|
1384
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1384
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-c1bc0gjy.js");
|
|
1385
1385
|
const service = new FlowEvalRunService;
|
|
1386
1386
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1387
1387
|
const allRuns = await service.listRemoteEvalSetRuns(config, target.workloadId, target.evalSet.id);
|
|
@@ -1410,7 +1410,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1410
1410
|
addTargetOptions(runCmd.command("compare").description("Compare results of two Studio Web Flow evaluation runs").argument("<eval-set-run-id>", "First evaluation set run ID").requiredOption("--compare-to <id>", "Second evaluation set run ID to compare against")).examples(FLOW_EVAL_RUN_COMPARE_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
|
|
1411
1411
|
const [error] = await catchError2((async () => {
|
|
1412
1412
|
const config = await resolveStudioWebConfig();
|
|
1413
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1413
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-c1bc0gjy.js");
|
|
1414
1414
|
const service = new FlowEvalRunService;
|
|
1415
1415
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1416
1416
|
const [runsA, runsB, runMetaA, runMetaB] = await Promise.all([
|
|
@@ -1491,10 +1491,10 @@ var FLOW_EVAL_CONFIG = {
|
|
|
1491
1491
|
parentDeleteDescription: "Parent agent component ID. When set, removes a child tool simulation from the parent agent node."
|
|
1492
1492
|
},
|
|
1493
1493
|
loadService: async () => {
|
|
1494
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1494
|
+
const { FlowEvalService } = await import("./flow-eval-service-q9jh39e6.js");
|
|
1495
1495
|
return new FlowEvalService;
|
|
1496
1496
|
},
|
|
1497
|
-
loadNodeTarget: () => import("./flow-eval-node-target-
|
|
1497
|
+
loadNodeTarget: () => import("./flow-eval-node-target-3brcvpyf.js"),
|
|
1498
1498
|
addRowWindowOptions,
|
|
1499
1499
|
rowWindow,
|
|
1500
1500
|
registerRunCommands: registerEvalRunCommand
|
|
@@ -1528,8 +1528,17 @@ var CHECK_DESCRIPTION = `Report whether document extraction is usable on the sig
|
|
|
1528
1528
|
` + " ModelUnavailable extraction is on, but the tenant has no model to " + `extract with
|
|
1529
1529
|
` + " Unknown a service answered, but not in a way that proves " + `anything either way
|
|
1530
1530
|
|
|
1531
|
-
` + "Only Available means the node is worth adding. On
|
|
1531
|
+
` + "Only Available means the node is worth adding. On FeatureDisabled, " + "ServiceUnavailable or ModelUnavailable, say so and stop, rather than " + "adding the node and leaving the failure to run time. Unknown settles " + "nothing: say what the check reported and ask whether to add the node " + `anyway.
|
|
1532
1532
|
` + "Nothing local can answer this: the node is not part of a tenant's node " + "catalogue, so neither 'registry' nor 'nodes create' reports whether a " + "tenant can run it.";
|
|
1533
|
+
var instructionsFor2 = (verdict) => {
|
|
1534
|
+
if (verdict.available) {
|
|
1535
|
+
return "Add an Extract document node with 'uip maestro flow nodes create'.";
|
|
1536
|
+
}
|
|
1537
|
+
if (verdict.status === "Unknown") {
|
|
1538
|
+
return `${verdict.reason} This does not show that the node is unavailable. Tell the user, and ask whether to add an Extract document node anyway.`;
|
|
1539
|
+
}
|
|
1540
|
+
return `${verdict.reason} Tell the user, and do not add an Extract document node to the flow.`;
|
|
1541
|
+
};
|
|
1533
1542
|
var registerExtractionCommand = (program) => {
|
|
1534
1543
|
const extraction = program.command("extraction").description("Check document extraction support on a tenant");
|
|
1535
1544
|
extraction.command("check").description(CHECK_DESCRIPTION).addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", (value) => Number.parseInt(value, 10), 10).examples(EXTRACTION_CHECK_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
@@ -1568,7 +1577,7 @@ var registerExtractionCommand = (program) => {
|
|
|
1568
1577
|
Reason: availability.reason,
|
|
1569
1578
|
Tenant: auth.tenantName
|
|
1570
1579
|
},
|
|
1571
|
-
Instructions: availability
|
|
1580
|
+
Instructions: instructionsFor2(availability)
|
|
1572
1581
|
});
|
|
1573
1582
|
});
|
|
1574
1583
|
};
|
|
@@ -1696,7 +1705,7 @@ var registerHitlCommand = (program) => {
|
|
|
1696
1705
|
}
|
|
1697
1706
|
schema = parsed;
|
|
1698
1707
|
}
|
|
1699
|
-
const { addHitlNode } = await import("./hitl-service-
|
|
1708
|
+
const { addHitlNode } = await import("./hitl-service-1ywywqe8.js");
|
|
1700
1709
|
const [error, result] = await catchError2(addHitlNode(file, {
|
|
1701
1710
|
schema,
|
|
1702
1711
|
priority: options.priority,
|
|
@@ -1790,7 +1799,7 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
1790
1799
|
];
|
|
1791
1800
|
var registerInitCommand = (program) => {
|
|
1792
1801
|
program.command("init").description("Create a new Flow project with boilerplate files. If run outside an existing solution, a parent '<name>Solution' is scaffolded automatically and the flow project is created inside it. If run inside an existing solution, the project is added to that solution.").argument("<name>", "Flow project name").option("--force", "Force initialization even if target directory exists and is not empty").option("--skip-solution-registration", "Do not auto-register this project in the surrounding solution").option("--automate", "Create a Maestro Automate project. Same Flow project and the same commands — it only changes the runtime profile written into operate.json.").option("--sdk-source [file]", "Also write the builder-SDK source: decompile the new .flow into <project>/.flow-sdk/<name>.flow.ts, or into [file] (relative to the current directory), creating its folder. Same as running 'uip maestro flow decompile <name>.flow -o <file> --no-pipeline' after init. Requires @uipath/maestro-builder-sdk.").examples(FLOW_INIT_EXAMPLES).trackedAction(processContext, async (name, options) => {
|
|
1793
|
-
const { flowInitAsync, FlowInitSdkSourceError } = await import("./flow-init-service-
|
|
1802
|
+
const { flowInitAsync, FlowInitSdkSourceError } = await import("./flow-init-service-cygc9rqb.js");
|
|
1794
1803
|
const { RuntimeProfile } = await import("./maestro-automate-entry-mrap5xmt.js");
|
|
1795
1804
|
const [error, result] = await catchError2(flowInitAsync(name, {
|
|
1796
1805
|
force: options.force,
|
|
@@ -2234,7 +2243,7 @@ var FLOW_MIGRATE_EXAMPLES = [
|
|
|
2234
2243
|
];
|
|
2235
2244
|
var registerMigrateCommand = (program) => {
|
|
2236
2245
|
program.command("migrate").description("Migrate a .flow file to the current workflow and node schema versions").argument("<file>", "Path to the .flow file").option("--dry-run", "Show what would change without writing the file").option("--no-include-optional", "Skip optional node migrations (e.g. typeVersion normalization). Default: optional migrations are applied.").examples(FLOW_MIGRATE_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
2237
|
-
const { migrateFlow } = await import("./flow-migrate-service-
|
|
2246
|
+
const { migrateFlow } = await import("./flow-migrate-service-pw2ctr58.js");
|
|
2238
2247
|
const [error, result] = await catchError2(migrateFlow(file, {
|
|
2239
2248
|
dryRun: options.dryRun,
|
|
2240
2249
|
includeOptional: options.includeOptional
|
|
@@ -2348,7 +2357,7 @@ var registerNodeSchemaCommands = (node) => {
|
|
|
2348
2357
|
schema.command("get").description(`Read the extraction schema an Extract document node carries.
|
|
2349
2358
|
` + "Prints the document as stored, so it can be edited and " + "written back with 'nodes schema set'.").argument("<file>", "Path to the .flow file").requiredOption("--node-id <node-id>", "ID of the Extract document node to read").examples(NODE_SCHEMA_GET_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
2350
2359
|
const nodeId = options.nodeId;
|
|
2351
|
-
const { getNodeSchema, SchemaCommandError } = await import("./schema-document-service-
|
|
2360
|
+
const { getNodeSchema, SchemaCommandError } = await import("./schema-document-service-mwy1t3x7.js");
|
|
2352
2361
|
const [error, result] = await catchError2(getNodeSchema(file, nodeId.trim()));
|
|
2353
2362
|
if (error) {
|
|
2354
2363
|
if (error instanceof SchemaCommandError) {
|
|
@@ -2379,7 +2388,7 @@ var registerNodeSchemaCommands = (node) => {
|
|
|
2379
2388
|
DraftPolicy,
|
|
2380
2389
|
SchemaCommandError,
|
|
2381
2390
|
setNodeSchemaFromSource
|
|
2382
|
-
} = await import("./schema-document-service-
|
|
2391
|
+
} = await import("./schema-document-service-mwy1t3x7.js");
|
|
2383
2392
|
const [error, result] = await catchError2(setNodeSchemaFromSource(flowFile, options.nodeId.trim(), options.schema, options.discardDraft === true ? DraftPolicy.DiscardDraft : DraftPolicy.RejectRequest));
|
|
2384
2393
|
if (error) {
|
|
2385
2394
|
if (error instanceof SchemaCommandError) {
|
|
@@ -2586,7 +2595,7 @@ function getDeleteNodeInstructions(file) {
|
|
|
2586
2595
|
return `Check that "${file}" exists and run 'uip maestro flow nodes list ${file}' to find a valid node ID, then retry.`;
|
|
2587
2596
|
}
|
|
2588
2597
|
async function runDeleteNode(file, nodeId, code) {
|
|
2589
|
-
const { deleteNodeFromFlow } = await import("./node-service-
|
|
2598
|
+
const { deleteNodeFromFlow } = await import("./node-service-kg1p926x.js");
|
|
2590
2599
|
const normalizedNodeId = nodeId.trim();
|
|
2591
2600
|
const [error, result] = await catchError2(deleteNodeFromFlow(file, normalizedNodeId));
|
|
2592
2601
|
if (error) {
|
|
@@ -2674,7 +2683,7 @@ Example: uip maestro flow nodes create flow.flow uipath.connector.jira.createIss
|
|
|
2674
2683
|
NodeTypeNotEnabledError,
|
|
2675
2684
|
NodeTypeNotFoundError,
|
|
2676
2685
|
SourceRequiredError
|
|
2677
|
-
} = await import("./node-service-
|
|
2686
|
+
} = await import("./node-service-kg1p926x.js");
|
|
2678
2687
|
const [error, result] = await catchError2(addNodeToFlow(file, nodeType, {
|
|
2679
2688
|
position,
|
|
2680
2689
|
label: options.label,
|
|
@@ -2824,8 +2833,8 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2824
2833
|
{ configureConnectorNode, InvalidDetailError },
|
|
2825
2834
|
{ ConnectionConnectorMismatchError }
|
|
2826
2835
|
] = await Promise.all([
|
|
2827
|
-
import("./connector-service-
|
|
2828
|
-
import("./index-
|
|
2836
|
+
import("./connector-service-xbvfkqpf.js"),
|
|
2837
|
+
import("./index-x2g39afd.js")
|
|
2829
2838
|
]);
|
|
2830
2839
|
const [error, result] = await catchError2(configureConnectorNode(file, nodeId, parsed));
|
|
2831
2840
|
if (error) {
|
|
@@ -2864,7 +2873,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2864
2873
|
});
|
|
2865
2874
|
});
|
|
2866
2875
|
addRowWindowOptions(node.command("list")).description("List all nodes in a Flow file").argument("<file>", "Path to the .flow file").examples(NODE_LIST_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
2867
|
-
const { listNodesInFlow } = await import("./node-service-
|
|
2876
|
+
const { listNodesInFlow } = await import("./node-service-kg1p926x.js");
|
|
2868
2877
|
const [error, result] = await catchError2(listNodesInFlow(file));
|
|
2869
2878
|
if (error) {
|
|
2870
2879
|
OutputFormatter.error({
|
|
@@ -2896,8 +2905,8 @@ Use 'nodes list' to find the node ID.`).argument("<file>", "Path to the .flow fi
|
|
|
2896
2905
|
` + "'nodes create' provisions as it goes, so this is for a node that has none — " + `authored before the CLI provisioned anything, or written by hand. 'flow validate' names this command when it finds one.
|
|
2897
2906
|
Writes inputs.processorKey into the .flow, and the processor's resource file when the project is inside a solution. Commit both.
|
|
2898
2907
|
Without --node-id, every Extract document node in the file that has no processor is provisioned; read-only mirrors and processors published to the tenant are left alone.`).argument("<file>", "Path to the .flow file").option("--node-id <node-id>", "Provision only this node instead of every Extract document node").examples(NODE_PROVISION_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
2899
|
-
const { provisionNodes } = await import("./provision-node-service-
|
|
2900
|
-
const { SchemaCommandError } = await import("./schema-document-service-
|
|
2908
|
+
const { provisionNodes } = await import("./provision-node-service-2vk74q0t.js");
|
|
2909
|
+
const { SchemaCommandError } = await import("./schema-document-service-mwy1t3x7.js");
|
|
2901
2910
|
const [error, result] = await catchError2(provisionNodes(file, options.nodeId?.trim()));
|
|
2902
2911
|
if (error) {
|
|
2903
2912
|
if (error instanceof SchemaCommandError) {
|
|
@@ -2950,7 +2959,7 @@ var FLOW_PACK_EXAMPLES = [
|
|
|
2950
2959
|
var registerPackCommand = (program) => {
|
|
2951
2960
|
const command = program.command("pack").description("Pack a Flow project into a .nupkg file").argument("<project-path>", "Path to the Flow project directory").argument("<output-path>", "Output directory where the .nupkg will be saved").option("-n, --name <name>", "Package id, used as given (default: <project folder name>.flow.Flow). Does not select the .flow file").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0");
|
|
2952
2961
|
registerPackageMetadataOptions(command).examples(FLOW_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
2953
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
2962
|
+
const { FlowPackService } = await import("./flow-pack-service-xcjwxnmr.js");
|
|
2954
2963
|
const service = new FlowPackService;
|
|
2955
2964
|
const exitCode = await service.execute(projectPath, {
|
|
2956
2965
|
output: outputPath,
|
|
@@ -3617,14 +3626,14 @@ var registerPublishCommand = (program) => {
|
|
|
3617
3626
|
}
|
|
3618
3627
|
resolvedFeedId = folderFeedId;
|
|
3619
3628
|
}
|
|
3620
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
3629
|
+
const { FlowPackService } = await import("./flow-pack-service-xcjwxnmr.js");
|
|
3621
3630
|
const service = new FlowPackService;
|
|
3622
3631
|
const [packError, packResult] = await catchError2(service.executeAsync(projectPath, {
|
|
3623
3632
|
output: packageOutputPath,
|
|
3624
3633
|
name: options.name,
|
|
3625
3634
|
version: options.version
|
|
3626
3635
|
}));
|
|
3627
|
-
const { AmbiguousFlowError } = await import("./index-
|
|
3636
|
+
const { AmbiguousFlowError } = await import("./index-14cfx32t.js");
|
|
3628
3637
|
if (packError instanceof AmbiguousFlowError) {
|
|
3629
3638
|
OutputFormatter.error({
|
|
3630
3639
|
Result: RESULTS.ValidationError,
|
|
@@ -3745,8 +3754,8 @@ var registerRegistryCommand2 = (program) => {
|
|
|
3745
3754
|
var DEFAULT_FLOW_TARGET = ".";
|
|
3746
3755
|
var registerTidyCommand = (program) => {
|
|
3747
3756
|
program.command("format").description("Format a .flow file (or a project directory containing one) by auto-laying out nodes to prevent overlaps and arrange in a clean flow").argument("[file]", "Path to the .flow file (or a project directory containing one). Default: the current directory").trackedAction(processContext, async (input) => {
|
|
3748
|
-
const { AmbiguousFlowError, resolveFlowTarget } = await import("./flow-io-
|
|
3749
|
-
const { tidyFlow } = await import("./tidy-service-
|
|
3757
|
+
const { AmbiguousFlowError, resolveFlowTarget } = await import("./flow-io-hk87b408.js");
|
|
3758
|
+
const { tidyFlow } = await import("./tidy-service-bz9tyrkm.js");
|
|
3750
3759
|
const [resolveError, file] = await catchError2(resolveFlowTarget(input ?? DEFAULT_FLOW_TARGET));
|
|
3751
3760
|
if (resolveError && !(resolveError instanceof AmbiguousFlowError)) {
|
|
3752
3761
|
await reportFailure("Failed to tidy flow", resolveError);
|
|
@@ -3875,7 +3884,7 @@ var registerValidateCommand = (program) => {
|
|
|
3875
3884
|
let governanceEnforcements;
|
|
3876
3885
|
let availableModelNames;
|
|
3877
3886
|
if (options.governance) {
|
|
3878
|
-
const { fetchGovernanceData } = await import("./governance-fetcher-
|
|
3887
|
+
const { fetchGovernanceData } = await import("./governance-fetcher-g5jahv0z.js");
|
|
3879
3888
|
const [error, data] = await catchError2(fetchGovernanceData());
|
|
3880
3889
|
if (error) {
|
|
3881
3890
|
OutputFormatter.error({
|
|
@@ -3889,7 +3898,7 @@ var registerValidateCommand = (program) => {
|
|
|
3889
3898
|
governanceEnforcements = data.enforcements;
|
|
3890
3899
|
availableModelNames = data.modelNames;
|
|
3891
3900
|
}
|
|
3892
|
-
const { FlowValidateService } = await import("./flow-validate-service-
|
|
3901
|
+
const { FlowValidateService } = await import("./flow-validate-service-gd0r5gyy.js");
|
|
3893
3902
|
const service = new FlowValidateService({
|
|
3894
3903
|
governanceEnforcements,
|
|
3895
3904
|
availableModelNames,
|
|
@@ -4086,7 +4095,7 @@ var registerVariableCommand = (program) => {
|
|
|
4086
4095
|
}
|
|
4087
4096
|
schema = parsed;
|
|
4088
4097
|
}
|
|
4089
|
-
const { addVariableToFlow } = await import("./variable-service-
|
|
4098
|
+
const { addVariableToFlow } = await import("./variable-service-byxw020k.js");
|
|
4090
4099
|
const [error, variable] = await catchError2(addVariableToFlow(file, {
|
|
4091
4100
|
id: variableId,
|
|
4092
4101
|
direction: options.direction,
|
|
@@ -4126,7 +4135,7 @@ var registerVariableCommand = (program) => {
|
|
|
4126
4135
|
processContext.exit(1);
|
|
4127
4136
|
return;
|
|
4128
4137
|
}
|
|
4129
|
-
const { deleteVariableFromFlow } = await import("./variable-service-
|
|
4138
|
+
const { deleteVariableFromFlow } = await import("./variable-service-byxw020k.js");
|
|
4130
4139
|
const [error, deletedVariable] = await catchError2(deleteVariableFromFlow(file, variableId));
|
|
4131
4140
|
if (error) {
|
|
4132
4141
|
OutputFormatter.error({
|
|
@@ -4146,7 +4155,7 @@ var registerVariableCommand = (program) => {
|
|
|
4146
4155
|
});
|
|
4147
4156
|
});
|
|
4148
4157
|
addRowWindowOptions(variable.command("list")).description("List all variables in a Flow file").argument("<file>", "Path to the .flow file").examples(VARIABLE_LIST_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
4149
|
-
const { listVariablesInFlow } = await import("./variable-service-
|
|
4158
|
+
const { listVariablesInFlow } = await import("./variable-service-byxw020k.js");
|
|
4150
4159
|
const [error, result] = await catchError2(listVariablesInFlow(file));
|
|
4151
4160
|
if (error) {
|
|
4152
4161
|
OutputFormatter.error({
|
|
@@ -4232,4 +4241,4 @@ var registerCommands2 = async (program) => {
|
|
|
4232
4241
|
|
|
4233
4242
|
export { metadata2, registerCommands2 };
|
|
4234
4243
|
|
|
4235
|
-
//# debugId=
|
|
4244
|
+
//# debugId=A86428863F38745E64756E2164756E21
|
|
@@ -3,7 +3,7 @@ var package_default = {
|
|
|
3
3
|
name: "@uipath/flow-tool",
|
|
4
4
|
author: "UiPath",
|
|
5
5
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
6
|
-
version: "1.207.0-preview.
|
|
6
|
+
version: "1.207.0-preview.309",
|
|
7
7
|
description: "Create, debug, and run UiPath Flow projects and jobs.",
|
|
8
8
|
private: false,
|
|
9
9
|
repository: {
|
|
@@ -80,4 +80,4 @@ var package_default = {
|
|
|
80
80
|
|
|
81
81
|
export { package_default };
|
|
82
82
|
|
|
83
|
-
//# debugId=
|
|
83
|
+
//# debugId=CD8035E5DFC5EC2164756E2164756E21
|
|
@@ -503,7 +503,7 @@ var package_default = {
|
|
|
503
503
|
name: "@uipath/solution-sdk",
|
|
504
504
|
author: "UiPath",
|
|
505
505
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
506
|
-
version: "1.207.0-preview.
|
|
506
|
+
version: "1.207.0-preview.309",
|
|
507
507
|
repository: {
|
|
508
508
|
type: "git",
|
|
509
509
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -2390,4 +2390,4 @@ async function uploadOrOverwriteSolution2(config, organizationName, fileBufferOr
|
|
|
2390
2390
|
}
|
|
2391
2391
|
export { createZipFromDir2, buildSolutionPackageFromDir2, getStudioWebSolutionProjects2, isSolutionUploadHttpError2, buildSolutionUploadFailureOutput2, uploadOrOverwriteSolution2 };
|
|
2392
2392
|
|
|
2393
|
-
//# debugId=
|
|
2393
|
+
//# debugId=E5858E8E80CF33FB64756E2164756E21
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveFlowTarget3,
|
|
12
12
|
findProjectFlowFile3,
|
|
13
13
|
writeFlowWorkflow3
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-pje86sj1.js";
|
|
15
15
|
|
|
16
16
|
// ../executor/flow-debug/src/flow-io.ts
|
|
17
17
|
async function readFlowWorkflow2(filePath, fs = getFileSystem()) {
|