@uipath/flow-tool 1.204.0-preview.248 → 1.204.0-preview.250
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 +19 -17
- package/dist/{binding-service-zd34m1bs.js → binding-service-j203pgva.js} +15 -15
- package/dist/{connector-service-kncenv61.js → connector-service-54wf32n8.js} +15 -15
- package/dist/{conversion-FQTRFHRX-1q7rk0te.js → conversion-FQTRFHRX-hrfhd3a7.js} +5 -5
- package/dist/{debug-conversation-trigger-0549gjv0.js → debug-conversation-trigger-0s6bn1k9.js} +8 -8
- package/dist/{debug-service-ses9wgn1.js → debug-service-893erynq.js} +4 -2
- package/dist/{edge-service-m0h797nc.js → edge-service-3czwdfhc.js} +8 -8
- package/dist/{flow-api-1hhpnxj1.js → flow-api-kjvpsxhw.js} +2 -2
- package/dist/{flow-debug-service-mpc05h5p.js → flow-debug-service-cxzcnq11.js} +80 -22
- package/dist/{flow-eval-node-target-5dnppjhn.js → flow-eval-node-target-rqm2qp8v.js} +8 -8
- package/dist/{flow-eval-run-service-xfztz6cm.js → flow-eval-run-service-tbc5enyy.js} +19 -19
- package/dist/{flow-eval-service-q0d615v4.js → flow-eval-service-ye1c71sp.js} +9 -9
- package/dist/{flow-init-service-sjd648q3.js → flow-init-service-1sb43yte.js} +11 -11
- package/dist/{flow-io-4fykw2vm.js → flow-io-9awyw23f.js} +8 -8
- package/dist/{flow-migrate-service-68wffqtv.js → flow-migrate-service-92ep3xhh.js} +9 -9
- package/dist/{flow-pack-service-yt41sv6b.js → flow-pack-service-gm0zaqk5.js} +20 -20
- package/dist/{flow-validate-service-9rgje69q.js → flow-validate-service-tk8zebts.js} +19 -19
- package/dist/{governance-fetcher-m2zvz042.js → governance-fetcher-21tfgh3j.js} +2 -2
- package/dist/{headless-1pdmae01.js → headless-45dypanh.js} +2 -2
- package/dist/{hitl-service-397qss2b.js → hitl-service-ca3e2zsx.js} +8 -8
- package/dist/{index-5yw15y73.js → index-dbfq0j2r.js} +2 -2
- package/dist/{index-k5tbd184.js → index-ng2f77my.js} +3784 -1503
- package/dist/{index-9cv00xr4.js → index-st2a4sbq.js} +1 -1
- package/dist/{index-c1q6mnw1.js → index-yj4xk2aw.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/init.js +11 -11
- package/dist/{known-types-jhyhnkt6.js → known-types-q6fcyq2e.js} +4 -4
- package/dist/{node-hztdgftd.js → node-scqpzwh1.js} +2 -2
- package/dist/{node-service-wxaspdj6.js → node-service-rmt4v24w.js} +15 -15
- package/dist/{node-sync-service-72eke5wc.js → node-sync-service-stk9a87n.js} +5 -5
- package/dist/{packager-tool-efdcq7bs.js → packager-tool-0yqrag2h.js} +76 -60
- package/dist/{packager-tool-d09re4mv.js → packager-tool-1pdw10m0.js} +1 -1
- package/dist/{packager-tool-mhk8p1y6.js → packager-tool-36mce6wh.js} +20 -14
- package/dist/{packager-tool-g7xb8erj.js → packager-tool-5c5vxcye.js} +8 -8
- package/dist/{packager-tool-qhhrq12s.js → packager-tool-5nqhxb9e.js} +2 -2
- package/dist/{packager-tool-yaqf9vxt.js → packager-tool-5tjzg56t.js} +1 -1
- package/dist/{packager-tool-02325sv4.js → packager-tool-6x0xrwg2.js} +2 -2
- package/dist/{packager-tool-59s95scr.js → packager-tool-868re2t3.js} +1 -1
- package/dist/{packager-tool-x8sdf240.js → packager-tool-asbxmjeb.js} +2 -2
- package/dist/{packager-tool-1mnq1c97.js → packager-tool-awkq26v0.js} +1 -1
- package/dist/{packager-tool-ysbskrta.js → packager-tool-bhqx9kez.js} +1 -1
- package/dist/{packager-tool-897r8aat.js → packager-tool-crckg1ts.js} +27 -22
- package/dist/{packager-tool-ybmdq0c2.js → packager-tool-e91ezv4j.js} +2 -2
- package/dist/{packager-tool-e73t1906.js → packager-tool-enmw1b54.js} +2 -2
- package/dist/{packager-tool-pavwkdt5.js → packager-tool-enx1cft6.js} +6 -6
- package/dist/{packager-tool-0w4es6rz.js → packager-tool-eq46jxm5.js} +2 -2
- package/dist/{packager-tool-mea70fr7.js → packager-tool-g8r8pvs7.js} +2 -2
- package/dist/{packager-tool-jpmkyvxe.js → packager-tool-gay4f6tg.js} +1 -1
- package/dist/{packager-tool-6azk3rex.js → packager-tool-h9tzz0qd.js} +1 -1
- package/dist/{packager-tool-c0rtxezv.js → packager-tool-hgey7a02.js} +1 -1
- package/dist/{packager-tool-a99yrh6n.js → packager-tool-peawy22c.js} +17 -3
- package/dist/{packager-tool-n4vdjmjx.js → packager-tool-pxqras8k.js} +460 -265
- package/dist/{packager-tool-dgesfj1s.js → packager-tool-pztcm1kh.js} +2 -2
- package/dist/{packager-tool-jm4vpsdv.js → packager-tool-qyat21eb.js} +3 -3
- package/dist/{packager-tool-b809zkcg.js → packager-tool-rqm54t42.js} +23 -12
- package/dist/{packager-tool-hygq2wy6.js → packager-tool-tyg399d6.js} +1 -1
- package/dist/{packager-tool-579hedjh.js → packager-tool-zxp4hya4.js} +1 -1
- package/dist/packager-tool.js +8 -8
- package/dist/{serialization-BXU6AKAN-c2ge8yvb.js → serialization-BXU6AKAN-cmxg3kkv.js} +5 -5
- package/dist/services/flow-debug-service.d.ts +30 -0
- package/dist/{tidy-service-r5r9g8jw.js → tidy-service-v1ycz57z.js} +8 -8
- package/dist/tool.js +4 -4
- package/dist/validation.js +19 -19
- package/dist/{variable-service-hcmfzj2h.js → variable-service-6d62sx6f.js} +8 -8
- package/dist/{wait-for-flow-job-jg3a4zvd.js → wait-for-flow-job-d8m6mqb4.js} +2 -2
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./packager-tool-tf3d2y8z.js";
|
|
7
7
|
import {
|
|
8
8
|
package_default
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-pztcm1kh.js";
|
|
10
10
|
import {
|
|
11
11
|
VALID_RESOURCE_TYPES
|
|
12
12
|
} from "./packager-tool-27avrkyk.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
registerSharedInstanceCommands,
|
|
18
18
|
registerSharedProcessCommands,
|
|
19
19
|
registerSharedProcessesCommands
|
|
20
|
-
} from "./packager-tool-
|
|
20
|
+
} from "./packager-tool-rqm54t42.js";
|
|
21
21
|
import {
|
|
22
22
|
evaluatorTypeAliases,
|
|
23
23
|
resolveLoginConfig
|
|
@@ -116,7 +116,7 @@ var BINDING_DELETE_EXAMPLES = [
|
|
|
116
116
|
var registerBindingCommand = (program) => {
|
|
117
117
|
const binding = program.command("binding").description("Manage bindings in a Flow file");
|
|
118
118
|
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) => {
|
|
119
|
-
const { listBindingsInFlow } = await import("./binding-service-
|
|
119
|
+
const { listBindingsInFlow } = await import("./binding-service-j203pgva.js");
|
|
120
120
|
const [error, result] = await catchError(listBindingsInFlow(file));
|
|
121
121
|
if (error) {
|
|
122
122
|
OutputFormatter.error({
|
|
@@ -138,7 +138,7 @@ var registerBindingCommand = (program) => {
|
|
|
138
138
|
});
|
|
139
139
|
binding.command("add").description(`Add a binding to a Flow file.
|
|
140
140
|
` + `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) => {
|
|
141
|
-
const { addBindingToFlow } = await import("./binding-service-
|
|
141
|
+
const { addBindingToFlow } = await import("./binding-service-j203pgva.js");
|
|
142
142
|
const [error, result] = await catchError(addBindingToFlow(file, name, resource, defaultValue, {
|
|
143
143
|
resourceKey: options.resourceKey,
|
|
144
144
|
propertyAttribute: options.propertyAttribute,
|
|
@@ -162,7 +162,7 @@ var registerBindingCommand = (program) => {
|
|
|
162
162
|
});
|
|
163
163
|
});
|
|
164
164
|
binding.command("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) => {
|
|
165
|
-
const { deleteBindingFromFlow } = await import("./binding-service-
|
|
165
|
+
const { deleteBindingFromFlow } = await import("./binding-service-j203pgva.js");
|
|
166
166
|
const [error, result] = await catchError(deleteBindingFromFlow(file, resourceKey));
|
|
167
167
|
if (error) {
|
|
168
168
|
OutputFormatter.error({
|
|
@@ -278,8 +278,8 @@ var CONVERSATIONAL_DEBUG_WARNING = "This flow, which starts on a conversation tr
|
|
|
278
278
|
` + " 2. UiPath Maestro VS Code extension — open the flow and hit Debug.";
|
|
279
279
|
async function projectStartsOnConversationTrigger(projectPath) {
|
|
280
280
|
const [error, found] = await catchError((async () => {
|
|
281
|
-
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-
|
|
282
|
-
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-
|
|
281
|
+
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-9awyw23f.js");
|
|
282
|
+
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-0s6bn1k9.js");
|
|
283
283
|
const flowFilePath = await resolveProjectFlowFile(projectPath);
|
|
284
284
|
const { workflow } = await readFlowWorkflow(flowFilePath);
|
|
285
285
|
return startsOnConversationTrigger(workflow);
|
|
@@ -546,21 +546,22 @@ function registerDebugCommand(program) {
|
|
|
546
546
|
logger.info(` Tenant: ${tenantName} (${tenantId})`);
|
|
547
547
|
logger.info(` Base URL: ${baseUrl}`);
|
|
548
548
|
const {
|
|
549
|
+
DebugProvisioningMissingResourcesError,
|
|
549
550
|
FlowDebugService,
|
|
550
551
|
InboundVoiceDebugError,
|
|
551
552
|
MissingSolutionWrapperError,
|
|
552
553
|
UnregisteredProjectError
|
|
553
|
-
} = await import("./flow-debug-service-
|
|
554
|
+
} = await import("./flow-debug-service-cxzcnq11.js");
|
|
554
555
|
const { MaestroHttpError } = await import("./debug-http-client-p4kf38yt.js");
|
|
555
556
|
const {
|
|
556
557
|
buildPollTimeoutFailureOutput,
|
|
557
558
|
DebugPollTimeoutError,
|
|
558
559
|
isSuccessfulDebugStatus
|
|
559
|
-
} = await import("./debug-service-
|
|
560
|
+
} = await import("./debug-service-893erynq.js");
|
|
560
561
|
const {
|
|
561
562
|
buildSolutionUploadFailureOutput,
|
|
562
563
|
isSolutionUploadHttpError
|
|
563
|
-
} = await import("./index-
|
|
564
|
+
} = await import("./index-st2a4sbq.js");
|
|
564
565
|
const service = new FlowDebugService;
|
|
565
566
|
const parsedPollInterval = parsePositiveNumberOption(options.pollInterval || "2000", "--poll-interval");
|
|
566
567
|
if (!parsedPollInterval.ok) {
|
|
@@ -589,7 +590,7 @@ function registerDebugCommand(program) {
|
|
|
589
590
|
}
|
|
590
591
|
let inputs;
|
|
591
592
|
if (options.inputs) {
|
|
592
|
-
const { parseFlowInputs } = await import("./flow-api-
|
|
593
|
+
const { parseFlowInputs } = await import("./flow-api-kjvpsxhw.js");
|
|
593
594
|
const [parseError, parsed] = await catchError(parseFlowInputs(options.inputs));
|
|
594
595
|
if (parseError) {
|
|
595
596
|
OutputFormatter.error({
|
|
@@ -698,7 +699,22 @@ function registerDebugCommand(program) {
|
|
|
698
699
|
processContext.exit(3);
|
|
699
700
|
return;
|
|
700
701
|
}
|
|
701
|
-
if (executeError instanceof
|
|
702
|
+
if (executeError instanceof DebugProvisioningMissingResourcesError) {
|
|
703
|
+
OutputFormatter.error({
|
|
704
|
+
Result: RESULTS.Failure,
|
|
705
|
+
ErrorCode: "configuration_error",
|
|
706
|
+
Message: executeError.message,
|
|
707
|
+
Instructions: executeError.instructions,
|
|
708
|
+
Retry: "RetryWillNotFix",
|
|
709
|
+
Context: { stage: "prepare-debug-resources" },
|
|
710
|
+
Data: {
|
|
711
|
+
provisioningStatus: executeError.status,
|
|
712
|
+
missingResources: [
|
|
713
|
+
...executeError.missingResources
|
|
714
|
+
]
|
|
715
|
+
}
|
|
716
|
+
});
|
|
717
|
+
} else if (executeError instanceof DebugPollTimeoutError) {
|
|
702
718
|
OutputFormatter.error(buildPollTimeoutFailureOutput(executeError, "uip maestro flow debug-instance incidents"));
|
|
703
719
|
} else if (executeError instanceof MaestroHttpError) {
|
|
704
720
|
OutputFormatter.error(buildHttpFailureOutput(executeError));
|
|
@@ -875,7 +891,7 @@ function getDeleteEdgeInstructions(file) {
|
|
|
875
891
|
return `Check that "${file}" exists and run 'uip maestro flow edge list ${file}' to find a valid edge ID, then retry.`;
|
|
876
892
|
}
|
|
877
893
|
async function runDeleteEdge(file, edgeId, code) {
|
|
878
|
-
const { deleteEdgeFromFlow } = await import("./edge-service-
|
|
894
|
+
const { deleteEdgeFromFlow } = await import("./edge-service-3czwdfhc.js");
|
|
879
895
|
const normalizedEdgeId = edgeId.trim();
|
|
880
896
|
const [error, result] = await catchError(deleteEdgeFromFlow(file, normalizedEdgeId));
|
|
881
897
|
if (error) {
|
|
@@ -898,7 +914,7 @@ async function runDeleteEdge(file, edgeId, code) {
|
|
|
898
914
|
var registerEdgeCommand = (program) => {
|
|
899
915
|
const edge = program.command("edge").description("Manage edges in a Flow file");
|
|
900
916
|
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) => {
|
|
901
|
-
const { listEdgesInFlow } = await import("./edge-service-
|
|
917
|
+
const { listEdgesInFlow } = await import("./edge-service-3czwdfhc.js");
|
|
902
918
|
const [error, result] = await catchError(listEdgesInFlow(file));
|
|
903
919
|
if (error) {
|
|
904
920
|
OutputFormatter.error({
|
|
@@ -919,7 +935,7 @@ var registerEdgeCommand = (program) => {
|
|
|
919
935
|
});
|
|
920
936
|
});
|
|
921
937
|
edge.command("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 "output")').option("--target-port <port>", 'Target port name (defaults to "input")').examples(EDGE_ADD_EXAMPLES).trackedAction(processContext, async (file, sourceId, targetId, options) => {
|
|
922
|
-
const { addEdgeToFlow } = await import("./edge-service-
|
|
938
|
+
const { addEdgeToFlow } = await import("./edge-service-3czwdfhc.js");
|
|
923
939
|
const [error, result] = await catchError(addEdgeToFlow(file, sourceId, targetId, {
|
|
924
940
|
sourcePort: options.sourcePort,
|
|
925
941
|
targetPort: options.targetPort
|
|
@@ -1259,7 +1275,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1259
1275
|
addStartOptions(runCmd.command("start").description("Start a Studio Web evaluation run (Flow solution must be available in Studio Web)")).option("--wait", "Wait for the evaluation to complete and show results").option("--timeout <seconds>", "Timeout in seconds for --wait polling", (value) => Number.parseInt(value, 10)).examples(FLOW_EVAL_RUN_START_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
1260
1276
|
const [error] = await catchError((async () => {
|
|
1261
1277
|
const config = await resolveStudioWebConfig();
|
|
1262
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1278
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-tbc5enyy.js");
|
|
1263
1279
|
const service = new FlowEvalRunService;
|
|
1264
1280
|
const result = await service.startRemoteEvalRun(options.path, options.set, config, {
|
|
1265
1281
|
solutionId: options.solutionId,
|
|
@@ -1291,7 +1307,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1291
1307
|
addTargetOptions(runCmd.command("status").description("Check the status of a Studio Web Flow evaluation run").argument("<evalSetRunId>", "Evaluation set run ID")).examples(FLOW_EVAL_RUN_STATUS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
|
|
1292
1308
|
const [error] = await catchError((async () => {
|
|
1293
1309
|
const config = await resolveStudioWebConfig();
|
|
1294
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1310
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-tbc5enyy.js");
|
|
1295
1311
|
const service = new FlowEvalRunService;
|
|
1296
1312
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1297
1313
|
const [run, evaluators] = await Promise.all([
|
|
@@ -1317,7 +1333,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1317
1333
|
addTargetOptions(runCmd.command("results").description("Get detailed results for a Studio Web Flow evaluation run").argument("<evalSetRunId>", "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) => {
|
|
1318
1334
|
const [error] = await catchError((async () => {
|
|
1319
1335
|
const config = await resolveStudioWebConfig();
|
|
1320
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1336
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-tbc5enyy.js");
|
|
1321
1337
|
const service = new FlowEvalRunService;
|
|
1322
1338
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1323
1339
|
let evalRuns = await service.getRemoteEvalRuns(config, target.workloadId, evalSetRunId);
|
|
@@ -1351,7 +1367,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1351
1367
|
addTargetOptions(runCmd.command("list").description("List Studio Web evaluation runs for a Flow eval set")).examples(FLOW_EVAL_RUN_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
1352
1368
|
const [error] = await catchError((async () => {
|
|
1353
1369
|
const config = await resolveStudioWebConfig();
|
|
1354
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1370
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-tbc5enyy.js");
|
|
1355
1371
|
const service = new FlowEvalRunService;
|
|
1356
1372
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1357
1373
|
const runs = await service.listRemoteEvalSetRuns(config, target.workloadId, target.evalSet.id);
|
|
@@ -1377,7 +1393,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1377
1393
|
addTargetOptions(runCmd.command("compare").description("Compare results of two Studio Web Flow evaluation runs").argument("<evalSetRunId>", "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) => {
|
|
1378
1394
|
const [error] = await catchError((async () => {
|
|
1379
1395
|
const config = await resolveStudioWebConfig();
|
|
1380
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1396
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-tbc5enyy.js");
|
|
1381
1397
|
const service = new FlowEvalRunService;
|
|
1382
1398
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1383
1399
|
const [runsA, runsB, runMetaA, runMetaB] = await Promise.all([
|
|
@@ -1510,7 +1526,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1510
1526
|
const evaluator = evalCmd.command("evaluator").description("Manage Flow evaluators");
|
|
1511
1527
|
evaluator.command("add").description("Add an evaluator to the flow project").argument("<name>", "Evaluator name").requiredOption("--type <type>", `Evaluator type: ${evaluatorTypeAliases().join(", ")}`).option("--description <text>", "Evaluator description").option("--target-key <key>", "Target output key", "*").option("--model <model>", "LLM model for LLM judge evaluators").option("--prompt <prompt>", "Custom LLM judge prompt").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (name, options) => {
|
|
1512
1528
|
const [error] = await catchError((async () => {
|
|
1513
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1529
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1514
1530
|
const service = new FlowEvalService;
|
|
1515
1531
|
const created = await service.addEvaluator(options.path, {
|
|
1516
1532
|
name,
|
|
@@ -1537,7 +1553,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1537
1553
|
});
|
|
1538
1554
|
evaluator.command("list").description("List evaluators in a flow project").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1539
1555
|
const [error] = await catchError((async () => {
|
|
1540
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1556
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1541
1557
|
const service = new FlowEvalService;
|
|
1542
1558
|
const evaluators = await service.listEvaluators(options.path);
|
|
1543
1559
|
OutputFormatter.success({
|
|
@@ -1558,7 +1574,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1558
1574
|
});
|
|
1559
1575
|
evaluator.command("remove").description("Remove an evaluator from a flow project").argument("<id>", "Evaluator ID, name, or file base name").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (id, options) => {
|
|
1560
1576
|
const [error] = await catchError((async () => {
|
|
1561
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1577
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1562
1578
|
const service = new FlowEvalService;
|
|
1563
1579
|
const removed = await service.removeEvaluator(options.path, id);
|
|
1564
1580
|
if (!removed) {
|
|
@@ -1579,8 +1595,8 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1579
1595
|
const set = evalCmd.command("set").description("Manage evaluation sets");
|
|
1580
1596
|
set.command("add").description("Create an evaluation set").argument("<name>", "Evaluation set name").option("--evaluators <refs>", "Comma-separated evaluator IDs or file base names (default: all)").option("--entry-point <id>", "Entry point node id — a trigger node id from the .flow file (not a BPMN path), stored as the eval set's selectedEntrypoint; defaults to the flow's trigger. An agent node id creates a node-scoped eval set (evaluates that node in isolation)").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (name, options) => {
|
|
1581
1597
|
const [error] = await catchError((async () => {
|
|
1582
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1583
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1598
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1599
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-rqm2qp8v.js");
|
|
1584
1600
|
const service = new FlowEvalService;
|
|
1585
1601
|
const created = await service.addEvalSet(options.path, {
|
|
1586
1602
|
name,
|
|
@@ -1607,8 +1623,8 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1607
1623
|
});
|
|
1608
1624
|
set.command("list").description("List evaluation sets").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1609
1625
|
const [error] = await catchError((async () => {
|
|
1610
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1611
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1626
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1627
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-rqm2qp8v.js");
|
|
1612
1628
|
const service = new FlowEvalService;
|
|
1613
1629
|
const sets = await service.listEvalSets(options.path);
|
|
1614
1630
|
OutputFormatter.success({
|
|
@@ -1634,7 +1650,7 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1634
1650
|
});
|
|
1635
1651
|
set.command("remove").description("Remove an evaluation set").argument("<id>", "Evaluation set ID, name, or file base name").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (id, options) => {
|
|
1636
1652
|
const [error] = await catchError((async () => {
|
|
1637
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1653
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1638
1654
|
const service = new FlowEvalService;
|
|
1639
1655
|
const removed = await service.removeEvalSet(options.path, id);
|
|
1640
1656
|
if (!removed) {
|
|
@@ -1658,7 +1674,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1658
1674
|
const inputFiles = parseInputFiles(options.inputFile);
|
|
1659
1675
|
const expectedOutput = options.expected ? parseJsonObject(options.expected, "--expected") : undefined;
|
|
1660
1676
|
const criteria = options.criteria ? parseCriteriaOption(options.criteria) : undefined;
|
|
1661
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1677
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1662
1678
|
const service = new FlowEvalService;
|
|
1663
1679
|
const evaluation = await service.addEvaluation(options.path, options.set, {
|
|
1664
1680
|
name,
|
|
@@ -1685,7 +1701,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1685
1701
|
});
|
|
1686
1702
|
evalCmd.command("list").description("List data points in an evaluation set").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1687
1703
|
const [error] = await catchError((async () => {
|
|
1688
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1704
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1689
1705
|
const service = new FlowEvalService;
|
|
1690
1706
|
const evaluations = await service.listEvaluations(options.path, options.set);
|
|
1691
1707
|
OutputFormatter.success({
|
|
@@ -1706,7 +1722,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1706
1722
|
});
|
|
1707
1723
|
evalCmd.command("remove").description("Remove a data point from an evaluation set").argument("<id>", "Data point ID or name").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (id, options) => {
|
|
1708
1724
|
const [error] = await catchError((async () => {
|
|
1709
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1725
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1710
1726
|
const service = new FlowEvalService;
|
|
1711
1727
|
const removed = await service.removeEvaluation(options.path, options.set, id);
|
|
1712
1728
|
if (!removed) {
|
|
@@ -1750,7 +1766,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1750
1766
|
simulationInstruction: options.simulationInstructions,
|
|
1751
1767
|
mockValue
|
|
1752
1768
|
};
|
|
1753
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1769
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1754
1770
|
const service = new FlowEvalService;
|
|
1755
1771
|
if (options.parent !== undefined) {
|
|
1756
1772
|
const { simulation: created, warning } = await service.addChildSimulation(options.path, options.set, options.dataPoint, options.parent, simulation2);
|
|
@@ -1792,7 +1808,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1792
1808
|
});
|
|
1793
1809
|
simulation.command("list").description("List simulations on a data point").requiredOption("--set <name>", "Evaluation set name or ID").requiredOption("--data-point <id>", "Data point name or ID").option("--parent <component-id>", "Parent agent component ID. When set, lists child tool simulations on the parent agent node.").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1794
1810
|
const [error] = await catchError((async () => {
|
|
1795
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1811
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1796
1812
|
const service = new FlowEvalService;
|
|
1797
1813
|
const simulations = options.parent !== undefined ? await service.listChildSimulations(options.path, options.set, options.dataPoint, options.parent) : await service.listSimulations(options.path, options.set, options.dataPoint);
|
|
1798
1814
|
OutputFormatter.success({
|
|
@@ -1814,7 +1830,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1814
1830
|
});
|
|
1815
1831
|
simulation.command("remove").description("Remove a simulation from a data point").argument("<component-id>", "Component ID to remove").requiredOption("--set <name>", "Evaluation set name or ID").requiredOption("--data-point <id>", "Data point name or ID").option("--parent <component-id>", "Parent agent component ID. When set, removes a child tool simulation from the parent agent node.").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (componentId, options) => {
|
|
1816
1832
|
const [error] = await catchError((async () => {
|
|
1817
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1833
|
+
const { FlowEvalService } = await import("./flow-eval-service-ye1c71sp.js");
|
|
1818
1834
|
const service = new FlowEvalService;
|
|
1819
1835
|
const removed = options.parent !== undefined ? await service.removeChildSimulation(options.path, options.set, options.dataPoint, options.parent, componentId) : await service.removeSimulation(options.path, options.set, options.dataPoint, componentId);
|
|
1820
1836
|
if (!removed) {
|
|
@@ -1959,7 +1975,7 @@ var registerHitlCommand = (program) => {
|
|
|
1959
1975
|
}
|
|
1960
1976
|
schema = parsed;
|
|
1961
1977
|
}
|
|
1962
|
-
const { addHitlNode } = await import("./hitl-service-
|
|
1978
|
+
const { addHitlNode } = await import("./hitl-service-ca3e2zsx.js");
|
|
1963
1979
|
const [error, result] = await catchError(addHitlNode(file, {
|
|
1964
1980
|
schema,
|
|
1965
1981
|
priority: options.priority,
|
|
@@ -2052,7 +2068,7 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
2052
2068
|
];
|
|
2053
2069
|
var registerInitCommand = (program) => {
|
|
2054
2070
|
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) => {
|
|
2055
|
-
const { flowInitAsync, FlowInitSdkSourceError } = await import("./flow-init-service-
|
|
2071
|
+
const { flowInitAsync, FlowInitSdkSourceError } = await import("./flow-init-service-1sb43yte.js");
|
|
2056
2072
|
const { RuntimeProfile } = await import("./maestro-automate-entry-qak46eg0.js");
|
|
2057
2073
|
const [error, result] = await catchError(flowInitAsync(name, {
|
|
2058
2074
|
force: options.force,
|
|
@@ -2284,7 +2300,7 @@ function registerJobCommand(program) {
|
|
|
2284
2300
|
tenantId: loginStatus.tenantId,
|
|
2285
2301
|
baseUrl: loginStatus.baseUrl
|
|
2286
2302
|
};
|
|
2287
|
-
const { listFlowJobs } = await import("./flow-api-
|
|
2303
|
+
const { listFlowJobs } = await import("./flow-api-kjvpsxhw.js");
|
|
2288
2304
|
const [listError, jobs] = await catchError(listFlowJobs(config, {
|
|
2289
2305
|
state,
|
|
2290
2306
|
processName: normalizedOptions.processName,
|
|
@@ -2372,7 +2388,7 @@ function registerJobCommand(program) {
|
|
|
2372
2388
|
logger.info(`Streaming traces for job: ${jobKey}
|
|
2373
2389
|
Polling every ${pollSeconds}s...`);
|
|
2374
2390
|
const { formatTraceLine } = await import("./shared-utils-pnbvyyb2.js");
|
|
2375
|
-
const { streamJobTraces } = await import("./flow-api-
|
|
2391
|
+
const { streamJobTraces } = await import("./flow-api-kjvpsxhw.js");
|
|
2376
2392
|
const [tracesError, result] = await catchError(streamJobTraces(config, jobKey, {
|
|
2377
2393
|
onTrace: (trace) => {
|
|
2378
2394
|
if (options.pretty) {
|
|
@@ -2452,7 +2468,7 @@ function registerJobCommand(program) {
|
|
|
2452
2468
|
tenantId: loginStatus.tenantId,
|
|
2453
2469
|
baseUrl: loginStatus.baseUrl
|
|
2454
2470
|
};
|
|
2455
|
-
const { getJobStatusDetailed } = await import("./flow-api-
|
|
2471
|
+
const { getJobStatusDetailed } = await import("./flow-api-kjvpsxhw.js");
|
|
2456
2472
|
const [statusError, status] = await catchError(getJobStatusDetailed(config, jobKey));
|
|
2457
2473
|
if (statusError) {
|
|
2458
2474
|
OutputFormatter.error({
|
|
@@ -2536,7 +2552,7 @@ var FLOW_MIGRATE_EXAMPLES = [
|
|
|
2536
2552
|
];
|
|
2537
2553
|
var registerMigrateCommand = (program) => {
|
|
2538
2554
|
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) => {
|
|
2539
|
-
const { migrateFlow } = await import("./flow-migrate-service-
|
|
2555
|
+
const { migrateFlow } = await import("./flow-migrate-service-92ep3xhh.js");
|
|
2540
2556
|
const [error, result] = await catchError(migrateFlow(file, {
|
|
2541
2557
|
dryRun: options.dryRun,
|
|
2542
2558
|
includeOptional: options.includeOptional
|
|
@@ -2702,7 +2718,7 @@ function getDeleteNodeInstructions(file) {
|
|
|
2702
2718
|
return `Check that "${file}" exists and run 'uip maestro flow node list ${file}' to find a valid node ID, then retry.`;
|
|
2703
2719
|
}
|
|
2704
2720
|
async function runDeleteNode(file, nodeId, code) {
|
|
2705
|
-
const { deleteNodeFromFlow } = await import("./node-service-
|
|
2721
|
+
const { deleteNodeFromFlow } = await import("./node-service-rmt4v24w.js");
|
|
2706
2722
|
const normalizedNodeId = nodeId.trim();
|
|
2707
2723
|
const [error, result] = await catchError(deleteNodeFromFlow(file, normalizedNodeId));
|
|
2708
2724
|
if (error) {
|
|
@@ -2788,7 +2804,7 @@ Example: uip maestro flow node add flow.flow uipath.connector.jira.createIssue -
|
|
|
2788
2804
|
NodeTypeNotEnabledError,
|
|
2789
2805
|
NodeTypeNotFoundError,
|
|
2790
2806
|
SourceRequiredError
|
|
2791
|
-
} = await import("./node-service-
|
|
2807
|
+
} = await import("./node-service-rmt4v24w.js");
|
|
2792
2808
|
const [error, result] = await catchError(addNodeToFlow(file, nodeType, {
|
|
2793
2809
|
position,
|
|
2794
2810
|
label: options.label,
|
|
@@ -2915,7 +2931,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2915
2931
|
processContext.exit(1);
|
|
2916
2932
|
return;
|
|
2917
2933
|
}
|
|
2918
|
-
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-
|
|
2934
|
+
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-54wf32n8.js");
|
|
2919
2935
|
const [error, result] = await catchError(configureConnectorNode(file, nodeId, parsed));
|
|
2920
2936
|
if (error) {
|
|
2921
2937
|
const message = error instanceof InvalidDetailError ? "Invalid --detail" : "Error configuring node";
|
|
@@ -2941,7 +2957,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2941
2957
|
});
|
|
2942
2958
|
});
|
|
2943
2959
|
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) => {
|
|
2944
|
-
const { listNodesInFlow } = await import("./node-service-
|
|
2960
|
+
const { listNodesInFlow } = await import("./node-service-rmt4v24w.js");
|
|
2945
2961
|
const [error, result] = await catchError(listNodesInFlow(file));
|
|
2946
2962
|
if (error) {
|
|
2947
2963
|
OutputFormatter.error({
|
|
@@ -2986,7 +3002,7 @@ var FLOW_PACK_EXAMPLES = [
|
|
|
2986
3002
|
var registerPackCommand = (program) => {
|
|
2987
3003
|
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 name (default: project folder name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0");
|
|
2988
3004
|
registerPackageMetadataOptions(command).examples(FLOW_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
2989
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
3005
|
+
const { FlowPackService } = await import("./flow-pack-service-gm0zaqk5.js");
|
|
2990
3006
|
const service = new FlowPackService;
|
|
2991
3007
|
const exitCode = await service.execute(projectPath, {
|
|
2992
3008
|
output: outputPath,
|
|
@@ -3094,7 +3110,7 @@ async function resolveReleaseKey(config, processKey) {
|
|
|
3094
3110
|
const separator = processKey.lastIndexOf(":");
|
|
3095
3111
|
const key = separator === -1 ? processKey : processKey.slice(0, separator);
|
|
3096
3112
|
const version = separator === -1 ? undefined : processKey.slice(separator + 1);
|
|
3097
|
-
const { listFlowProcesses } = await import("./flow-api-
|
|
3113
|
+
const { listFlowProcesses } = await import("./flow-api-kjvpsxhw.js");
|
|
3098
3114
|
const processes = await listFlowProcesses(config);
|
|
3099
3115
|
const matches = processes.filter((candidate) => candidate.processKey === key && (version === undefined || candidate.processVersion === version));
|
|
3100
3116
|
const [releaseKey, ...extra] = matches.map((match) => match.key).filter((candidate) => Boolean(candidate));
|
|
@@ -3209,7 +3225,7 @@ function registerProcessCommand(program) {
|
|
|
3209
3225
|
tenantName,
|
|
3210
3226
|
baseUrl: loginStatus.baseUrl
|
|
3211
3227
|
};
|
|
3212
|
-
const { listFlowProcesses } = await import("./flow-api-
|
|
3228
|
+
const { listFlowProcesses } = await import("./flow-api-kjvpsxhw.js");
|
|
3213
3229
|
const [listError, processes] = await catchError(listFlowProcesses(config, options.filter));
|
|
3214
3230
|
if (listError) {
|
|
3215
3231
|
OutputFormatter.error({
|
|
@@ -3286,7 +3302,7 @@ function registerProcessCommand(program) {
|
|
|
3286
3302
|
baseUrl: loginStatus.baseUrl,
|
|
3287
3303
|
feedId
|
|
3288
3304
|
};
|
|
3289
|
-
const { getFlowEntryPoints } = await import("./flow-api-
|
|
3305
|
+
const { getFlowEntryPoints } = await import("./flow-api-kjvpsxhw.js");
|
|
3290
3306
|
const [entryPointsError, entryPoints] = await catchError(getFlowEntryPoints(config));
|
|
3291
3307
|
if (entryPointsError) {
|
|
3292
3308
|
OutputFormatter.error({
|
|
@@ -3330,7 +3346,7 @@ function registerProcessCommand(program) {
|
|
|
3330
3346
|
parseFlowInputs,
|
|
3331
3347
|
startFlowProjectJob,
|
|
3332
3348
|
validateFlowInputs
|
|
3333
|
-
} = await import("./flow-api-
|
|
3349
|
+
} = await import("./flow-api-kjvpsxhw.js");
|
|
3334
3350
|
const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
|
|
3335
3351
|
ensureTokenValidityMinutes: options.loginValidity
|
|
3336
3352
|
}));
|
|
@@ -3572,7 +3588,7 @@ ${errorList}`,
|
|
|
3572
3588
|
processContext.exit(1);
|
|
3573
3589
|
return;
|
|
3574
3590
|
}
|
|
3575
|
-
const { handleFlowJobWait } = await import("./wait-for-flow-job-
|
|
3591
|
+
const { handleFlowJobWait } = await import("./wait-for-flow-job-d8m6mqb4.js");
|
|
3576
3592
|
await handleFlowJobWait(job.key, {
|
|
3577
3593
|
config,
|
|
3578
3594
|
timeoutMs,
|
|
@@ -3706,7 +3722,7 @@ var registerPublishCommand = (program) => {
|
|
|
3706
3722
|
}
|
|
3707
3723
|
resolvedFeedId = folderFeedId;
|
|
3708
3724
|
}
|
|
3709
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
3725
|
+
const { FlowPackService } = await import("./flow-pack-service-gm0zaqk5.js");
|
|
3710
3726
|
const service = new FlowPackService;
|
|
3711
3727
|
const [packError, packResult] = await catchError(service.executeAsync(projectPath, {
|
|
3712
3728
|
output: packageOutputPath,
|
|
@@ -3807,7 +3823,7 @@ var registerRegistryCommand2 = (program) => {
|
|
|
3807
3823
|
// src/commands/tidy.ts
|
|
3808
3824
|
var registerTidyCommand = (program) => {
|
|
3809
3825
|
program.command("format").description("Format a .flow file by auto-laying out nodes to prevent overlaps and arrange in a clean flow").argument("<file>", "Path to the .flow file").trackedAction(processContext, async (file) => {
|
|
3810
|
-
const { tidyFlow } = await import("./tidy-service-
|
|
3826
|
+
const { tidyFlow } = await import("./tidy-service-v1ycz57z.js");
|
|
3811
3827
|
const [error, result] = await catchError(tidyFlow(file));
|
|
3812
3828
|
if (error) {
|
|
3813
3829
|
OutputFormatter.error({
|
|
@@ -3909,7 +3925,7 @@ var registerValidateCommand = (program) => {
|
|
|
3909
3925
|
let governanceEnforcements;
|
|
3910
3926
|
let availableModelNames;
|
|
3911
3927
|
if (options.governance) {
|
|
3912
|
-
const { fetchGovernanceData } = await import("./governance-fetcher-
|
|
3928
|
+
const { fetchGovernanceData } = await import("./governance-fetcher-21tfgh3j.js");
|
|
3913
3929
|
const [error, data] = await catchError(fetchGovernanceData());
|
|
3914
3930
|
if (error) {
|
|
3915
3931
|
OutputFormatter.error({
|
|
@@ -3923,7 +3939,7 @@ var registerValidateCommand = (program) => {
|
|
|
3923
3939
|
governanceEnforcements = data.enforcements;
|
|
3924
3940
|
availableModelNames = data.modelNames;
|
|
3925
3941
|
}
|
|
3926
|
-
const { FlowValidateService } = await import("./flow-validate-service-
|
|
3942
|
+
const { FlowValidateService } = await import("./flow-validate-service-tk8zebts.js");
|
|
3927
3943
|
const service = new FlowValidateService({
|
|
3928
3944
|
governanceEnforcements,
|
|
3929
3945
|
availableModelNames,
|
|
@@ -4053,7 +4069,7 @@ function parseDefaultValue(value, type) {
|
|
|
4053
4069
|
var registerVariableCommand = (program) => {
|
|
4054
4070
|
const variable = program.command("variable").description("Manage variables in a Flow file");
|
|
4055
4071
|
variable.command("add").description("Add a variable to a Flow file").argument("<file>", "Path to the .flow file").argument("<variable-id>", "Variable identifier (e.g. myInputVar)").requiredOption("-d, --direction <direction>", `Variable direction (${VALID_DIRECTIONS.join(", ")})`).option("-t, --type <type>", `Data type (${VALID_TYPES.join(", ")})`, "string").option("--default-value <value>", "Default value (parsed based on --type)").option("--description <text>", "Human-readable description").option("--schema <json>", "JSON schema for object/array types").option("--sub-type <subType>", "Sub-type for complex types").option("--trigger-node-id <nodeId>", "Trigger node an input variable belongs to (defaults to the flow's only trigger node; required when the flow has several)").examples(VARIABLE_ADD_EXAMPLES).trackedAction(processContext, async (file, variableId, options) => {
|
|
4056
|
-
const { validateIdentifier } = await import("./index-
|
|
4072
|
+
const { validateIdentifier } = await import("./index-yj4xk2aw.js");
|
|
4057
4073
|
const identifierError = validateIdentifier(variableId, []);
|
|
4058
4074
|
if (identifierError) {
|
|
4059
4075
|
OutputFormatter.error({
|
|
@@ -4119,7 +4135,7 @@ var registerVariableCommand = (program) => {
|
|
|
4119
4135
|
}
|
|
4120
4136
|
schema = parsed;
|
|
4121
4137
|
}
|
|
4122
|
-
const { addVariableToFlow } = await import("./variable-service-
|
|
4138
|
+
const { addVariableToFlow } = await import("./variable-service-6d62sx6f.js");
|
|
4123
4139
|
const [error, variable2] = await catchError(addVariableToFlow(file, {
|
|
4124
4140
|
id: variableId,
|
|
4125
4141
|
direction: options.direction,
|
|
@@ -4148,7 +4164,7 @@ var registerVariableCommand = (program) => {
|
|
|
4148
4164
|
});
|
|
4149
4165
|
});
|
|
4150
4166
|
variable.command("remove").description("Remove a variable from a Flow file").argument("<file>", "Path to the .flow file").argument("<variable-id>", "Variable identifier to remove").examples(VARIABLE_DELETE_EXAMPLES).trackedAction(processContext, async (file, variableId) => {
|
|
4151
|
-
const { validateIdentifier } = await import("./index-
|
|
4167
|
+
const { validateIdentifier } = await import("./index-yj4xk2aw.js");
|
|
4152
4168
|
const identifierError = validateIdentifier(variableId, []);
|
|
4153
4169
|
if (identifierError) {
|
|
4154
4170
|
OutputFormatter.error({
|
|
@@ -4159,7 +4175,7 @@ var registerVariableCommand = (program) => {
|
|
|
4159
4175
|
processContext.exit(1);
|
|
4160
4176
|
return;
|
|
4161
4177
|
}
|
|
4162
|
-
const { deleteVariableFromFlow } = await import("./variable-service-
|
|
4178
|
+
const { deleteVariableFromFlow } = await import("./variable-service-6d62sx6f.js");
|
|
4163
4179
|
const [error, deletedVariable] = await catchError(deleteVariableFromFlow(file, variableId));
|
|
4164
4180
|
if (error) {
|
|
4165
4181
|
OutputFormatter.error({
|
|
@@ -4179,7 +4195,7 @@ var registerVariableCommand = (program) => {
|
|
|
4179
4195
|
});
|
|
4180
4196
|
});
|
|
4181
4197
|
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) => {
|
|
4182
|
-
const { listVariablesInFlow } = await import("./variable-service-
|
|
4198
|
+
const { listVariablesInFlow } = await import("./variable-service-6d62sx6f.js");
|
|
4183
4199
|
const [error, result] = await catchError(listVariablesInFlow(file));
|
|
4184
4200
|
if (error) {
|
|
4185
4201
|
OutputFormatter.error({
|
|
@@ -4262,4 +4278,4 @@ var registerCommands = async (program) => {
|
|
|
4262
4278
|
|
|
4263
4279
|
export { metadata, registerCommands };
|
|
4264
4280
|
|
|
4265
|
-
//# debugId=
|
|
4281
|
+
//# debugId=48B9028B68928BEB64756E2164756E21
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./packager-tool-t605qewm.js";
|
|
4
4
|
import {
|
|
5
5
|
listKnownSdkNodes
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-awkq26v0.js";
|
|
7
7
|
import {
|
|
8
8
|
getAgentProjectMetadataReader
|
|
9
9
|
} from "./packager-tool-8qp60s20.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
extractIOFromEntryPoints,
|
|
21
21
|
getServiceType,
|
|
22
22
|
taskDefinitionsToNodeManifests
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-5nqhxb9e.js";
|
|
24
24
|
import {
|
|
25
25
|
UIPATH_HOME_DIR,
|
|
26
26
|
addSdkUserAgentHeader,
|
|
@@ -672,7 +672,7 @@ var package_default = {
|
|
|
672
672
|
name: "@uipath/integrationservice-sdk",
|
|
673
673
|
author: "UiPath",
|
|
674
674
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
675
|
-
version: "1.204.0-preview.
|
|
675
|
+
version: "1.204.0-preview.250",
|
|
676
676
|
repository: {
|
|
677
677
|
type: "git",
|
|
678
678
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -713,7 +713,7 @@ var package_default = {
|
|
|
713
713
|
typescript: "^7.0.2"
|
|
714
714
|
},
|
|
715
715
|
dependencies: {
|
|
716
|
-
"@uipath/integration-service-design-time": "
|
|
716
|
+
"@uipath/integration-service-design-time": "1.41.2"
|
|
717
717
|
}
|
|
718
718
|
};
|
|
719
719
|
|
|
@@ -6689,7 +6689,7 @@ async function createConfiguredActivityClient({
|
|
|
6689
6689
|
assertFilterTreeSupported(tree);
|
|
6690
6690
|
}
|
|
6691
6691
|
}
|
|
6692
|
-
const { DesignTimeActivityClient } = await import("./index-
|
|
6692
|
+
const { DesignTimeActivityClient } = await import("./index-ng2f77my.js");
|
|
6693
6693
|
const client = await DesignTimeActivityClient.initiate({ instanceParameters, uiPathActivityTypeId: "" }, { connectionsProvider: createLiveConnectionsProvider() });
|
|
6694
6694
|
await client.updateConnection({ connectionId });
|
|
6695
6695
|
if (customFieldsRequestDetails) {
|
|
@@ -7670,10 +7670,19 @@ async function findSolutionFromCwd() {
|
|
|
7670
7670
|
}
|
|
7671
7671
|
async function readProjectEntryPointIO(projectDir) {
|
|
7672
7672
|
const fs = getFileSystem();
|
|
7673
|
-
const
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7673
|
+
const fromSource = await readEntryPointsFile(fs.path.join(projectDir, "entry-points.json"), fs.path.join(projectDir, "content", "entry-points.json"));
|
|
7674
|
+
if (fromSource)
|
|
7675
|
+
return fromSource;
|
|
7676
|
+
const fromFlow = await readProjectIOFromFlowVariables(projectDir);
|
|
7677
|
+
if (fromFlow)
|
|
7678
|
+
return fromFlow;
|
|
7679
|
+
const fromBuild = await readEntryPointsFile(fs.path.join(projectDir, ".local", "content", "entry-points.json"));
|
|
7680
|
+
if (fromBuild)
|
|
7681
|
+
return fromBuild;
|
|
7682
|
+
return EMPTY_IO;
|
|
7683
|
+
}
|
|
7684
|
+
async function readEntryPointsFile(...candidates) {
|
|
7685
|
+
const fs = getFileSystem();
|
|
7677
7686
|
for (const filePath of candidates) {
|
|
7678
7687
|
const [err, content] = await catchError(fs.readFile(filePath, "utf-8"));
|
|
7679
7688
|
if (err || !content)
|
|
@@ -7683,10 +7692,7 @@ async function readProjectEntryPointIO(projectDir) {
|
|
|
7683
7692
|
continue;
|
|
7684
7693
|
return extractIOFromEntryPoints(parsed);
|
|
7685
7694
|
}
|
|
7686
|
-
|
|
7687
|
-
if (fromFlow)
|
|
7688
|
-
return fromFlow;
|
|
7689
|
-
return EMPTY_IO;
|
|
7695
|
+
return;
|
|
7690
7696
|
}
|
|
7691
7697
|
async function readProjectIOFromFlowVariables(projectDir) {
|
|
7692
7698
|
const fs = getFileSystem();
|
|
@@ -8178,4 +8184,4 @@ async function searchNodesWithFilters(keyword, filters, options) {
|
|
|
8178
8184
|
|
|
8179
8185
|
export { ACTIVITY_VERSION_V4, isV4ActivityConfiguration, FilterNotSupportedError, substituteFilterVariables, MANAGED_HTTP_CONNECTOR_KEY, buildActivityEssentialConfiguration, createConfiguredActivityClient, applySavedFilterTree, assertActivityMetadataResolved, buildManagedHttpEssentialConfiguration, extractMultipartParameters, inlineMultipartFileValues, isListOperation, buildInputMetadata, normalizeHttpMethod, validateIntSvcNode, isConnectorNode, getConnectorInfo, fetchConnectionInfo, fetchConnectorMetadata, fetchConnectorActivityMetadataV4, pullNodes, pullRemoteNodes, listNodes, searchNodeSummariesWithAvailability, searchNodes, getNode, getNodeEnriched, searchNodesWithFilters };
|
|
8180
8186
|
|
|
8181
|
-
//# debugId=
|
|
8187
|
+
//# debugId=C31B9AFFBA8D1A2764756E2164756E21
|