@uipath/flow-tool 1.202.0-preview.142 → 1.202.0
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/LICENSE.txt +3 -0
- package/dist/THIRD-PARTY-NOTICES.md +2099 -0
- package/dist/{authoring-tjs34fam.js → authoring-113fk5ep.js} +2 -2
- package/dist/{binding-service-e889rb6d.js → binding-service-bptej768.js} +13 -13
- package/dist/{connector-service-4n6z4w1r.js → connector-service-69wbcqx4.js} +12 -12
- package/dist/{debug-conversation-trigger-a19yp8dp.js → debug-conversation-trigger-s7zmkrwz.js} +4 -4
- package/dist/{debug-http-client-5cjdqr0k.js → debug-http-client-mc67gw2b.js} +2 -2
- package/dist/{debug-service-t6bfm7jk.js → debug-service-h0mpv9mh.js} +3 -3
- package/dist/{edge-service-3349etck.js → edge-service-2b97wf2r.js} +3 -3
- package/dist/{flow-api-ek42cqk4.js → flow-api-p6vabmea.js} +6 -6
- package/dist/{flow-debug-service-8ng7d5sd.js → flow-debug-service-z52qzmdh.js} +18 -18
- package/dist/{flow-eval-node-target-p1fahj96.js → flow-eval-node-target-q6951hcp.js} +3 -3
- package/dist/{flow-eval-run-service-trznqdse.js → flow-eval-run-service-2dts1gez.js} +19 -19
- package/dist/{flow-eval-service-jv9psj94.js → flow-eval-service-1rwppd84.js} +7 -7
- package/dist/{flow-init-service-w1xshby7.js → flow-init-service-wper25ak.js} +6 -6
- package/dist/{flow-io-efgx87ec.js → flow-io-y34mx0vh.js} +3 -3
- package/dist/{flow-migrate-service-5bam1aya.js → flow-migrate-service-95kd56rw.js} +3 -3
- package/dist/{flow-pack-service-kbmja3v4.js → flow-pack-service-4kzv9wvd.js} +17 -17
- package/dist/{flow-validate-service-9yzabfmp.js → flow-validate-service-hr2e664c.js} +18 -18
- package/dist/{governance-fetcher-7s3g85yb.js → governance-fetcher-kaarfkse.js} +4 -4
- package/dist/{hitl-service-a5sv1eee.js → hitl-service-zxtn9rmm.js} +3 -3
- package/dist/{index-thwv3pcg.js → index-4y4rvc7g.js} +3 -3
- package/dist/{index-cjqrzba9.js → index-rmym7hm4.js} +3 -3
- package/dist/{index-fy1vmc9g.js → index-zw4jx227.js} +2 -2
- package/dist/index.js +10 -10
- package/dist/init.js +6 -6
- package/dist/{input-reader-80xf4jrm.js → input-reader-cex1tqwe.js} +1 -1
- package/dist/jmespath-e4a59c8w.js +1485 -0
- package/dist/{node-service-p0tbekz4.js → node-service-7kdpce7j.js} +13 -13
- package/dist/{node-sync-service-pysr441t.js → node-sync-service-dk9jazv4.js} +3 -3
- package/dist/{node-2y7pq3ms.js → node-yz5tz1jx.js} +1429 -2021
- package/dist/{packager-tool-ydm1tjsh.js → packager-tool-1gasqbew.js} +3 -3
- package/dist/{packager-tool-k3eq8swn.js → packager-tool-29vnb5v1.js} +4 -4
- package/dist/{packager-tool-3w2pz4tf.js → packager-tool-2f0mt21x.js} +1 -1
- package/dist/{packager-tool-fwgpkhay.js → packager-tool-3wzbcn5q.js} +1 -1
- package/dist/{packager-tool-gkhcmb6e.js → packager-tool-4tvdvr4h.js} +4 -4
- package/dist/{packager-tool-794zb27w.js → packager-tool-77f5xeqw.js} +3 -3
- package/dist/{packager-tool-kt916h96.js → packager-tool-7c18ekyp.js} +1 -1
- package/dist/{packager-tool-2hxs99bv.js → packager-tool-7gx51wnq.js} +5 -5
- package/dist/{packager-tool-vzybe9wb.js → packager-tool-aea5psjw.js} +2 -2
- package/dist/{packager-tool-zn18t1zh.js → packager-tool-bhddcaec.js} +2 -2
- package/dist/{packager-tool-dhqh1yy8.js → packager-tool-ck10v2ve.js} +1 -1
- package/dist/{packager-tool-c2dne8ka.js → packager-tool-cphdcys0.js} +1 -1
- package/dist/{packager-tool-ca7excwn.js → packager-tool-dp4c0936.js} +3 -3
- package/dist/{packager-tool-s0hezrwp.js → packager-tool-f0tz69yq.js} +67 -67
- package/dist/{packager-tool-z4qrzbc8.js → packager-tool-fgdf2zh8.js} +1 -1
- package/dist/{packager-tool-hh3nwvn4.js → packager-tool-g4pc6ngd.js} +1 -1
- package/dist/{packager-tool-4dzmsst8.js → packager-tool-gaa5ss24.js} +8 -8
- package/dist/{packager-tool-y0xbxcfh.js → packager-tool-m056vsmy.js} +2 -2
- package/dist/{packager-tool-96ea95w6.js → packager-tool-n09qbckn.js} +3 -3
- package/dist/{packager-tool-9pcw7xkk.js → packager-tool-p96yqdnk.js} +1 -1
- package/dist/{packager-tool-qp6jave3.js → packager-tool-py7cevyk.js} +1 -1
- package/dist/{packager-tool-f3mgexp7.js → packager-tool-rasvyrt4.js} +2 -2
- package/dist/{packager-tool-f4gq9c0t.js → packager-tool-rt64yypa.js} +9 -9
- package/dist/{packager-tool-7yq68eyw.js → packager-tool-vdajjr2d.js} +3 -3
- package/dist/{packager-tool-jqtn78ta.js → packager-tool-wj9bvt17.js} +4 -4
- package/dist/{packager-tool-jgxj7mh4.js → packager-tool-yaabg8qc.js} +5 -5
- package/dist/packager-tool.js +2 -2
- package/dist/{shared-utils-66cgz53a.js → shared-utils-3cwmvxdc.js} +1 -1
- package/dist/{tidy-service-9ekcx77n.js → tidy-service-tfkx6266.js} +4 -4
- package/dist/tool.js +10 -10
- package/dist/validation.js +18 -18
- package/dist/{variable-service-830ryas6.js → variable-service-c0qjsy4j.js} +3 -3
- package/dist/{wait-for-flow-job-d7dprmz9.js → wait-for-flow-job-4cyc36yg.js} +6 -6
- package/package.json +3 -3
- package/dist/index-p3vk57z7.js +0 -2058
|
@@ -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-vdajjr2d.js";
|
|
10
10
|
import {
|
|
11
11
|
VALID_RESOURCE_TYPES
|
|
12
12
|
} from "./packager-tool-27avrkyk.js";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
registerSharedInstanceCommands,
|
|
21
21
|
registerSharedProcessCommands,
|
|
22
22
|
registerSharedProcessesCommands
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-gaa5ss24.js";
|
|
24
24
|
import {
|
|
25
25
|
setAgentProjectMetadataReader
|
|
26
|
-
} from "./packager-tool-
|
|
26
|
+
} from "./packager-tool-yaabg8qc.js";
|
|
27
27
|
import {
|
|
28
28
|
ATTACHMENT_INSTRUCTIONS,
|
|
29
29
|
ATTACHMENT_UPLOAD_INSTRUCTIONS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
splitPackagedName,
|
|
47
47
|
summarizePlatformBody,
|
|
48
48
|
trackShipSucceeded
|
|
49
|
-
} from "./packager-tool-
|
|
49
|
+
} from "./packager-tool-m056vsmy.js";
|
|
50
50
|
import {
|
|
51
51
|
getFileSystem
|
|
52
52
|
} from "./packager-tool-0v3s8r01.js";
|
|
@@ -114,7 +114,7 @@ var BINDING_DELETE_EXAMPLES = [
|
|
|
114
114
|
var registerBindingCommand = (program) => {
|
|
115
115
|
const binding = program.command("binding").description("Manage bindings in a Flow file");
|
|
116
116
|
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) => {
|
|
117
|
-
const { listBindingsInFlow } = await import("./binding-service-
|
|
117
|
+
const { listBindingsInFlow } = await import("./binding-service-bptej768.js");
|
|
118
118
|
const [error, result] = await catchError(listBindingsInFlow(file));
|
|
119
119
|
if (error) {
|
|
120
120
|
OutputFormatter.error({
|
|
@@ -136,7 +136,7 @@ var registerBindingCommand = (program) => {
|
|
|
136
136
|
});
|
|
137
137
|
binding.command("add").description(`Add a binding to a Flow file.
|
|
138
138
|
` + `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) => {
|
|
139
|
-
const { addBindingToFlow } = await import("./binding-service-
|
|
139
|
+
const { addBindingToFlow } = await import("./binding-service-bptej768.js");
|
|
140
140
|
const [error, result] = await catchError(addBindingToFlow(file, name, resource, defaultValue, {
|
|
141
141
|
resourceKey: options.resourceKey,
|
|
142
142
|
propertyAttribute: options.propertyAttribute,
|
|
@@ -160,7 +160,7 @@ var registerBindingCommand = (program) => {
|
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
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) => {
|
|
163
|
-
const { deleteBindingFromFlow } = await import("./binding-service-
|
|
163
|
+
const { deleteBindingFromFlow } = await import("./binding-service-bptej768.js");
|
|
164
164
|
const [error, result] = await catchError(deleteBindingFromFlow(file, resourceKey));
|
|
165
165
|
if (error) {
|
|
166
166
|
OutputFormatter.error({
|
|
@@ -276,8 +276,8 @@ var CONVERSATIONAL_DEBUG_WARNING = "This flow, which starts on a conversation tr
|
|
|
276
276
|
` + " 2. UiPath Maestro VS Code extension — open the flow and hit Debug.";
|
|
277
277
|
async function projectStartsOnConversationTrigger(projectPath) {
|
|
278
278
|
const [error, found] = await catchError((async () => {
|
|
279
|
-
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-
|
|
280
|
-
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-
|
|
279
|
+
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-y34mx0vh.js");
|
|
280
|
+
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-s7zmkrwz.js");
|
|
281
281
|
const flowFilePath = await resolveProjectFlowFile(projectPath);
|
|
282
282
|
const { workflow } = await readFlowWorkflow(flowFilePath);
|
|
283
283
|
return startsOnConversationTrigger(workflow);
|
|
@@ -510,7 +510,7 @@ function registerDebugCommand(program) {
|
|
|
510
510
|
}
|
|
511
511
|
userProvidedFolderId = parsed.value;
|
|
512
512
|
} else if (options.folderKey !== undefined || options.folderPath !== undefined) {
|
|
513
|
-
const { resolveFolder } = await import("./index-
|
|
513
|
+
const { resolveFolder } = await import("./index-zw4jx227.js");
|
|
514
514
|
const [folderError, folder] = await catchError(resolveFolder({
|
|
515
515
|
folderKey: options.folderKey,
|
|
516
516
|
folderPath: options.folderPath
|
|
@@ -548,17 +548,17 @@ function registerDebugCommand(program) {
|
|
|
548
548
|
InboundVoiceDebugError,
|
|
549
549
|
MissingSolutionWrapperError,
|
|
550
550
|
UnregisteredProjectError
|
|
551
|
-
} = await import("./flow-debug-service-
|
|
552
|
-
const { MaestroHttpError } = await import("./debug-http-client-
|
|
551
|
+
} = await import("./flow-debug-service-z52qzmdh.js");
|
|
552
|
+
const { MaestroHttpError } = await import("./debug-http-client-mc67gw2b.js");
|
|
553
553
|
const {
|
|
554
554
|
buildPollTimeoutFailureOutput,
|
|
555
555
|
DebugPollTimeoutError,
|
|
556
556
|
isSuccessfulDebugStatus
|
|
557
|
-
} = await import("./debug-service-
|
|
557
|
+
} = await import("./debug-service-h0mpv9mh.js");
|
|
558
558
|
const {
|
|
559
559
|
buildSolutionUploadFailureOutput,
|
|
560
560
|
isSolutionUploadHttpError
|
|
561
|
-
} = await import("./index-
|
|
561
|
+
} = await import("./index-4y4rvc7g.js");
|
|
562
562
|
const service = new FlowDebugService;
|
|
563
563
|
const parsedPollInterval = parsePositiveNumberOption(options.pollInterval || "2000", "--poll-interval");
|
|
564
564
|
if (!parsedPollInterval.ok) {
|
|
@@ -587,7 +587,7 @@ function registerDebugCommand(program) {
|
|
|
587
587
|
}
|
|
588
588
|
let inputs;
|
|
589
589
|
if (options.inputs) {
|
|
590
|
-
const { parseFlowInputs } = await import("./flow-api-
|
|
590
|
+
const { parseFlowInputs } = await import("./flow-api-p6vabmea.js");
|
|
591
591
|
const [parseError, parsed] = await catchError(parseFlowInputs(options.inputs));
|
|
592
592
|
if (parseError) {
|
|
593
593
|
OutputFormatter.error({
|
|
@@ -612,7 +612,7 @@ function registerDebugCommand(program) {
|
|
|
612
612
|
processContext.exit(1);
|
|
613
613
|
return;
|
|
614
614
|
}
|
|
615
|
-
const { uploadJobAttachment } = await import("./index-
|
|
615
|
+
const { uploadJobAttachment } = await import("./index-zw4jx227.js");
|
|
616
616
|
const [uploadError, resolved] = await catchError(resolveAttachmentInputs(specs, (bytes, fileName) => uploadJobAttachment(bytes, fileName, {
|
|
617
617
|
tenant: tenantName
|
|
618
618
|
})));
|
|
@@ -873,7 +873,7 @@ function getDeleteEdgeInstructions(file) {
|
|
|
873
873
|
return `Check that "${file}" exists and run 'uip maestro flow edge list ${file}' to find a valid edge ID, then retry.`;
|
|
874
874
|
}
|
|
875
875
|
async function runDeleteEdge(file, edgeId, code) {
|
|
876
|
-
const { deleteEdgeFromFlow } = await import("./edge-service-
|
|
876
|
+
const { deleteEdgeFromFlow } = await import("./edge-service-2b97wf2r.js");
|
|
877
877
|
const normalizedEdgeId = edgeId.trim();
|
|
878
878
|
const [error, result] = await catchError(deleteEdgeFromFlow(file, normalizedEdgeId));
|
|
879
879
|
if (error) {
|
|
@@ -896,7 +896,7 @@ async function runDeleteEdge(file, edgeId, code) {
|
|
|
896
896
|
var registerEdgeCommand = (program) => {
|
|
897
897
|
const edge = program.command("edge").description("Manage edges in a Flow file");
|
|
898
898
|
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) => {
|
|
899
|
-
const { listEdgesInFlow } = await import("./edge-service-
|
|
899
|
+
const { listEdgesInFlow } = await import("./edge-service-2b97wf2r.js");
|
|
900
900
|
const [error, result] = await catchError(listEdgesInFlow(file));
|
|
901
901
|
if (error) {
|
|
902
902
|
OutputFormatter.error({
|
|
@@ -917,7 +917,7 @@ var registerEdgeCommand = (program) => {
|
|
|
917
917
|
});
|
|
918
918
|
});
|
|
919
919
|
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) => {
|
|
920
|
-
const { addEdgeToFlow } = await import("./edge-service-
|
|
920
|
+
const { addEdgeToFlow } = await import("./edge-service-2b97wf2r.js");
|
|
921
921
|
const [error, result] = await catchError(addEdgeToFlow(file, sourceId, targetId, {
|
|
922
922
|
sourcePort: options.sourcePort,
|
|
923
923
|
targetPort: options.targetPort
|
|
@@ -1287,7 +1287,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1287
1287
|
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) => {
|
|
1288
1288
|
const [error] = await catchError((async () => {
|
|
1289
1289
|
const config = await resolveStudioWebConfig();
|
|
1290
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1290
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-2dts1gez.js");
|
|
1291
1291
|
const service = new FlowEvalRunService;
|
|
1292
1292
|
const result = await service.startRemoteEvalRun(options.path, options.set, config, {
|
|
1293
1293
|
solutionId: options.solutionId,
|
|
@@ -1319,7 +1319,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1319
1319
|
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) => {
|
|
1320
1320
|
const [error] = await catchError((async () => {
|
|
1321
1321
|
const config = await resolveStudioWebConfig();
|
|
1322
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1322
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-2dts1gez.js");
|
|
1323
1323
|
const service = new FlowEvalRunService;
|
|
1324
1324
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1325
1325
|
const [run, evaluators] = await Promise.all([
|
|
@@ -1345,7 +1345,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1345
1345
|
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) => {
|
|
1346
1346
|
const [error] = await catchError((async () => {
|
|
1347
1347
|
const config = await resolveStudioWebConfig();
|
|
1348
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1348
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-2dts1gez.js");
|
|
1349
1349
|
const service = new FlowEvalRunService;
|
|
1350
1350
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1351
1351
|
let evalRuns = await service.getRemoteEvalRuns(config, target.workloadId, evalSetRunId);
|
|
@@ -1379,7 +1379,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1379
1379
|
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) => {
|
|
1380
1380
|
const [error] = await catchError((async () => {
|
|
1381
1381
|
const config = await resolveStudioWebConfig();
|
|
1382
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1382
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-2dts1gez.js");
|
|
1383
1383
|
const service = new FlowEvalRunService;
|
|
1384
1384
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1385
1385
|
const runs = await service.listRemoteEvalSetRuns(config, target.workloadId, target.evalSet.id);
|
|
@@ -1405,7 +1405,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1405
1405
|
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) => {
|
|
1406
1406
|
const [error] = await catchError((async () => {
|
|
1407
1407
|
const config = await resolveStudioWebConfig();
|
|
1408
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1408
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-2dts1gez.js");
|
|
1409
1409
|
const service = new FlowEvalRunService;
|
|
1410
1410
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1411
1411
|
const [runsA, runsB, runMetaA, runMetaB] = await Promise.all([
|
|
@@ -1538,7 +1538,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1538
1538
|
const evaluator = evalCmd.command("evaluator").description("Manage Flow evaluators");
|
|
1539
1539
|
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) => {
|
|
1540
1540
|
const [error] = await catchError((async () => {
|
|
1541
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1541
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1542
1542
|
const service = new FlowEvalService;
|
|
1543
1543
|
const created = await service.addEvaluator(options.path, {
|
|
1544
1544
|
name,
|
|
@@ -1565,7 +1565,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1565
1565
|
});
|
|
1566
1566
|
evaluator.command("list").description("List evaluators in a flow project").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1567
1567
|
const [error] = await catchError((async () => {
|
|
1568
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1568
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1569
1569
|
const service = new FlowEvalService;
|
|
1570
1570
|
const evaluators = await service.listEvaluators(options.path);
|
|
1571
1571
|
OutputFormatter.success({
|
|
@@ -1586,7 +1586,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1586
1586
|
});
|
|
1587
1587
|
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) => {
|
|
1588
1588
|
const [error] = await catchError((async () => {
|
|
1589
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1589
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1590
1590
|
const service = new FlowEvalService;
|
|
1591
1591
|
const removed = await service.removeEvaluator(options.path, id);
|
|
1592
1592
|
if (!removed) {
|
|
@@ -1607,8 +1607,8 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1607
1607
|
const set = evalCmd.command("set").description("Manage evaluation sets");
|
|
1608
1608
|
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 stored as the eval set's selectedEntrypoint. 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) => {
|
|
1609
1609
|
const [error] = await catchError((async () => {
|
|
1610
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1611
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1610
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1611
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-q6951hcp.js");
|
|
1612
1612
|
const service = new FlowEvalService;
|
|
1613
1613
|
const created = await service.addEvalSet(options.path, {
|
|
1614
1614
|
name,
|
|
@@ -1635,8 +1635,8 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1635
1635
|
});
|
|
1636
1636
|
set.command("list").description("List evaluation sets").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1637
1637
|
const [error] = await catchError((async () => {
|
|
1638
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1639
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1638
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1639
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-q6951hcp.js");
|
|
1640
1640
|
const service = new FlowEvalService;
|
|
1641
1641
|
const sets = await service.listEvalSets(options.path);
|
|
1642
1642
|
OutputFormatter.success({
|
|
@@ -1662,7 +1662,7 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1662
1662
|
});
|
|
1663
1663
|
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) => {
|
|
1664
1664
|
const [error] = await catchError((async () => {
|
|
1665
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1665
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1666
1666
|
const service = new FlowEvalService;
|
|
1667
1667
|
const removed = await service.removeEvalSet(options.path, id);
|
|
1668
1668
|
if (!removed) {
|
|
@@ -1689,7 +1689,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1689
1689
|
const inputFiles = parseInputFiles(options.inputFile);
|
|
1690
1690
|
const expectedOutput = options.expected ? parseJsonObject(options.expected, "--expected") : undefined;
|
|
1691
1691
|
const criteria = options.criteria ? parseCriteriaOption(options.criteria) : undefined;
|
|
1692
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1692
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1693
1693
|
const service = new FlowEvalService;
|
|
1694
1694
|
const evaluation = await service.addEvaluation(options.path, options.set, {
|
|
1695
1695
|
name,
|
|
@@ -1716,7 +1716,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1716
1716
|
});
|
|
1717
1717
|
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) => {
|
|
1718
1718
|
const [error] = await catchError((async () => {
|
|
1719
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1719
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1720
1720
|
const service = new FlowEvalService;
|
|
1721
1721
|
const evaluations = await service.listEvaluations(options.path, options.set);
|
|
1722
1722
|
OutputFormatter.success({
|
|
@@ -1737,7 +1737,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1737
1737
|
});
|
|
1738
1738
|
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) => {
|
|
1739
1739
|
const [error] = await catchError((async () => {
|
|
1740
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1740
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1741
1741
|
const service = new FlowEvalService;
|
|
1742
1742
|
const removed = await service.removeEvaluation(options.path, options.set, id);
|
|
1743
1743
|
if (!removed) {
|
|
@@ -1781,7 +1781,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1781
1781
|
simulationInstruction: options.simulationInstructions,
|
|
1782
1782
|
mockValue
|
|
1783
1783
|
};
|
|
1784
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1784
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1785
1785
|
const service = new FlowEvalService;
|
|
1786
1786
|
if (options.parent !== undefined) {
|
|
1787
1787
|
const created = await service.addChildSimulation(options.path, options.set, options.dataPoint, options.parent, simulation2);
|
|
@@ -1818,7 +1818,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1818
1818
|
});
|
|
1819
1819
|
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) => {
|
|
1820
1820
|
const [error] = await catchError((async () => {
|
|
1821
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1821
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1822
1822
|
const service = new FlowEvalService;
|
|
1823
1823
|
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);
|
|
1824
1824
|
OutputFormatter.success({
|
|
@@ -1840,7 +1840,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1840
1840
|
});
|
|
1841
1841
|
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) => {
|
|
1842
1842
|
const [error] = await catchError((async () => {
|
|
1843
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1843
|
+
const { FlowEvalService } = await import("./flow-eval-service-1rwppd84.js");
|
|
1844
1844
|
const service = new FlowEvalService;
|
|
1845
1845
|
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);
|
|
1846
1846
|
if (!removed) {
|
|
@@ -1985,7 +1985,7 @@ var registerHitlCommand = (program) => {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
schema = parsed;
|
|
1987
1987
|
}
|
|
1988
|
-
const { addHitlNode } = await import("./hitl-service-
|
|
1988
|
+
const { addHitlNode } = await import("./hitl-service-zxtn9rmm.js");
|
|
1989
1989
|
const [error, result] = await catchError(addHitlNode(file, {
|
|
1990
1990
|
schema,
|
|
1991
1991
|
priority: options.priority,
|
|
@@ -2055,7 +2055,7 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
2055
2055
|
];
|
|
2056
2056
|
var registerInitCommand = (program) => {
|
|
2057
2057
|
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").examples(FLOW_INIT_EXAMPLES).trackedAction(processContext, async (name, options) => {
|
|
2058
|
-
const { flowInitAsync } = await import("./flow-init-service-
|
|
2058
|
+
const { flowInitAsync } = await import("./flow-init-service-wper25ak.js");
|
|
2059
2059
|
const [error, result] = await catchError(flowInitAsync(name, {
|
|
2060
2060
|
force: options.force,
|
|
2061
2061
|
skipRegistration: options.skipSolutionRegistration === true
|
|
@@ -2274,7 +2274,7 @@ function registerJobCommand(program) {
|
|
|
2274
2274
|
tenantId: loginStatus.tenantId,
|
|
2275
2275
|
baseUrl: loginStatus.baseUrl
|
|
2276
2276
|
};
|
|
2277
|
-
const { listFlowJobs } = await import("./flow-api-
|
|
2277
|
+
const { listFlowJobs } = await import("./flow-api-p6vabmea.js");
|
|
2278
2278
|
const [listError, jobs] = await catchError(listFlowJobs(config, {
|
|
2279
2279
|
state,
|
|
2280
2280
|
processName: normalizedOptions.processName,
|
|
@@ -2361,8 +2361,8 @@ function registerJobCommand(program) {
|
|
|
2361
2361
|
const pollSeconds = pollIntervalMs / 1000;
|
|
2362
2362
|
logger.info(`Streaming traces for job: ${jobKey}
|
|
2363
2363
|
Polling every ${pollSeconds}s...`);
|
|
2364
|
-
const { formatTraceLine } = await import("./shared-utils-
|
|
2365
|
-
const { streamJobTraces } = await import("./flow-api-
|
|
2364
|
+
const { formatTraceLine } = await import("./shared-utils-3cwmvxdc.js");
|
|
2365
|
+
const { streamJobTraces } = await import("./flow-api-p6vabmea.js");
|
|
2366
2366
|
const [tracesError, result] = await catchError(streamJobTraces(config, jobKey, {
|
|
2367
2367
|
onTrace: (trace) => {
|
|
2368
2368
|
if (options.pretty) {
|
|
@@ -2442,7 +2442,7 @@ function registerJobCommand(program) {
|
|
|
2442
2442
|
tenantId: loginStatus.tenantId,
|
|
2443
2443
|
baseUrl: loginStatus.baseUrl
|
|
2444
2444
|
};
|
|
2445
|
-
const { getJobStatusDetailed } = await import("./flow-api-
|
|
2445
|
+
const { getJobStatusDetailed } = await import("./flow-api-p6vabmea.js");
|
|
2446
2446
|
const [statusError, status] = await catchError(getJobStatusDetailed(config, jobKey));
|
|
2447
2447
|
if (statusError) {
|
|
2448
2448
|
OutputFormatter.error({
|
|
@@ -2526,7 +2526,7 @@ var FLOW_MIGRATE_EXAMPLES = [
|
|
|
2526
2526
|
];
|
|
2527
2527
|
var registerMigrateCommand = (program) => {
|
|
2528
2528
|
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) => {
|
|
2529
|
-
const { migrateFlow } = await import("./flow-migrate-service-
|
|
2529
|
+
const { migrateFlow } = await import("./flow-migrate-service-95kd56rw.js");
|
|
2530
2530
|
const [error, result] = await catchError(migrateFlow(file, {
|
|
2531
2531
|
dryRun: options.dryRun,
|
|
2532
2532
|
includeOptional: options.includeOptional
|
|
@@ -2692,7 +2692,7 @@ function getDeleteNodeInstructions(file) {
|
|
|
2692
2692
|
return `Check that "${file}" exists and run 'uip maestro flow node list ${file}' to find a valid node ID, then retry.`;
|
|
2693
2693
|
}
|
|
2694
2694
|
async function runDeleteNode(file, nodeId, code) {
|
|
2695
|
-
const { deleteNodeFromFlow } = await import("./node-service-
|
|
2695
|
+
const { deleteNodeFromFlow } = await import("./node-service-7kdpce7j.js");
|
|
2696
2696
|
const normalizedNodeId = nodeId.trim();
|
|
2697
2697
|
const [error, result] = await catchError(deleteNodeFromFlow(file, normalizedNodeId));
|
|
2698
2698
|
if (error) {
|
|
@@ -2764,7 +2764,7 @@ Example: uip maestro flow node add flow.flow uipath.connector.jira.createIssue -
|
|
|
2764
2764
|
NodeTypeNotEnabledError,
|
|
2765
2765
|
NodeTypeNotFoundError,
|
|
2766
2766
|
SourceRequiredError
|
|
2767
|
-
} = await import("./node-service-
|
|
2767
|
+
} = await import("./node-service-7kdpce7j.js");
|
|
2768
2768
|
const [error, result] = await catchError(addNodeToFlow(file, nodeType, {
|
|
2769
2769
|
position,
|
|
2770
2770
|
label: options.label,
|
|
@@ -2884,7 +2884,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2884
2884
|
processContext.exit(1);
|
|
2885
2885
|
return;
|
|
2886
2886
|
}
|
|
2887
|
-
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-
|
|
2887
|
+
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-69wbcqx4.js");
|
|
2888
2888
|
const [error, result] = await catchError(configureConnectorNode(file, nodeId, parsed));
|
|
2889
2889
|
if (error) {
|
|
2890
2890
|
const message = error instanceof InvalidDetailError ? "Invalid --detail" : "Error configuring node";
|
|
@@ -2910,7 +2910,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2910
2910
|
});
|
|
2911
2911
|
});
|
|
2912
2912
|
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) => {
|
|
2913
|
-
const { listNodesInFlow } = await import("./node-service-
|
|
2913
|
+
const { listNodesInFlow } = await import("./node-service-7kdpce7j.js");
|
|
2914
2914
|
const [error, result] = await catchError(listNodesInFlow(file));
|
|
2915
2915
|
if (error) {
|
|
2916
2916
|
OutputFormatter.error({
|
|
@@ -2955,7 +2955,7 @@ var FLOW_PACK_EXAMPLES = [
|
|
|
2955
2955
|
var registerPackCommand = (program) => {
|
|
2956
2956
|
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");
|
|
2957
2957
|
registerPackageMetadataOptions(command).examples(FLOW_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
2958
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
2958
|
+
const { FlowPackService } = await import("./flow-pack-service-4kzv9wvd.js");
|
|
2959
2959
|
const service = new FlowPackService;
|
|
2960
2960
|
const exitCode = await service.execute(projectPath, {
|
|
2961
2961
|
output: outputPath,
|
|
@@ -3063,7 +3063,7 @@ async function resolveReleaseKey(config, processKey) {
|
|
|
3063
3063
|
const separator = processKey.lastIndexOf(":");
|
|
3064
3064
|
const key = separator === -1 ? processKey : processKey.slice(0, separator);
|
|
3065
3065
|
const version = separator === -1 ? undefined : processKey.slice(separator + 1);
|
|
3066
|
-
const { listFlowProcesses } = await import("./flow-api-
|
|
3066
|
+
const { listFlowProcesses } = await import("./flow-api-p6vabmea.js");
|
|
3067
3067
|
const processes = await listFlowProcesses(config);
|
|
3068
3068
|
const matches = processes.filter((candidate) => candidate.processKey === key && (version === undefined || candidate.processVersion === version));
|
|
3069
3069
|
const [releaseKey, ...extra] = matches.map((match) => match.key).filter((candidate) => Boolean(candidate));
|
|
@@ -3076,7 +3076,7 @@ async function resolveReleaseKey(config, processKey) {
|
|
|
3076
3076
|
return releaseKey;
|
|
3077
3077
|
}
|
|
3078
3078
|
async function resolveFolderForList(options) {
|
|
3079
|
-
const { resolveFolder } = await import("./index-
|
|
3079
|
+
const { resolveFolder } = await import("./index-zw4jx227.js");
|
|
3080
3080
|
if (options.folderKey && options.folderPath) {
|
|
3081
3081
|
const [pathError, pathFolder] = await catchError(resolveFolder({ folderPath: options.folderPath }, {
|
|
3082
3082
|
tenant: options.tenant,
|
|
@@ -3178,7 +3178,7 @@ function registerProcessCommand(program) {
|
|
|
3178
3178
|
tenantName,
|
|
3179
3179
|
baseUrl: loginStatus.baseUrl
|
|
3180
3180
|
};
|
|
3181
|
-
const { listFlowProcesses } = await import("./flow-api-
|
|
3181
|
+
const { listFlowProcesses } = await import("./flow-api-p6vabmea.js");
|
|
3182
3182
|
const [listError, processes] = await catchError(listFlowProcesses(config, options.filter));
|
|
3183
3183
|
if (listError) {
|
|
3184
3184
|
OutputFormatter.error({
|
|
@@ -3255,7 +3255,7 @@ function registerProcessCommand(program) {
|
|
|
3255
3255
|
baseUrl: loginStatus.baseUrl,
|
|
3256
3256
|
feedId
|
|
3257
3257
|
};
|
|
3258
|
-
const { getFlowEntryPoints } = await import("./flow-api-
|
|
3258
|
+
const { getFlowEntryPoints } = await import("./flow-api-p6vabmea.js");
|
|
3259
3259
|
const [entryPointsError, entryPoints] = await catchError(getFlowEntryPoints(config));
|
|
3260
3260
|
if (entryPointsError) {
|
|
3261
3261
|
OutputFormatter.error({
|
|
@@ -3299,7 +3299,7 @@ function registerProcessCommand(program) {
|
|
|
3299
3299
|
parseFlowInputs,
|
|
3300
3300
|
startFlowProjectJob,
|
|
3301
3301
|
validateFlowInputs
|
|
3302
|
-
} = await import("./flow-api-
|
|
3302
|
+
} = await import("./flow-api-p6vabmea.js");
|
|
3303
3303
|
const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
|
|
3304
3304
|
ensureTokenValidityMinutes: options.loginValidity
|
|
3305
3305
|
}));
|
|
@@ -3354,7 +3354,7 @@ function registerProcessCommand(program) {
|
|
|
3354
3354
|
}
|
|
3355
3355
|
inputs = parsed;
|
|
3356
3356
|
} else {
|
|
3357
|
-
const { readStdin } = await import("./input-reader-
|
|
3357
|
+
const { readStdin } = await import("./input-reader-cex1tqwe.js");
|
|
3358
3358
|
const [stdinError, stdinData] = await catchError(readStdin());
|
|
3359
3359
|
if (stdinError) {
|
|
3360
3360
|
OutputFormatter.error({
|
|
@@ -3391,7 +3391,7 @@ function registerProcessCommand(program) {
|
|
|
3391
3391
|
processContext.exit(1);
|
|
3392
3392
|
return;
|
|
3393
3393
|
}
|
|
3394
|
-
const { uploadJobAttachment } = await import("./index-
|
|
3394
|
+
const { uploadJobAttachment } = await import("./index-zw4jx227.js");
|
|
3395
3395
|
const [uploadError, resolved] = await catchError(resolveAttachmentInputs(specs, (bytes, fileName) => uploadJobAttachment(bytes, fileName, {
|
|
3396
3396
|
tenant: tenantName
|
|
3397
3397
|
})));
|
|
@@ -3541,7 +3541,7 @@ ${errorList}`,
|
|
|
3541
3541
|
processContext.exit(1);
|
|
3542
3542
|
return;
|
|
3543
3543
|
}
|
|
3544
|
-
const { handleFlowJobWait } = await import("./wait-for-flow-job-
|
|
3544
|
+
const { handleFlowJobWait } = await import("./wait-for-flow-job-4cyc36yg.js");
|
|
3545
3545
|
await handleFlowJobWait(job.key, {
|
|
3546
3546
|
config,
|
|
3547
3547
|
timeoutMs,
|
|
@@ -3589,7 +3589,7 @@ var registerPublishCommand = (program) => {
|
|
|
3589
3589
|
PackageFeedsApi,
|
|
3590
3590
|
ProcessesApi,
|
|
3591
3591
|
resolveFolder
|
|
3592
|
-
} = await import("./index-
|
|
3592
|
+
} = await import("./index-zw4jx227.js");
|
|
3593
3593
|
const fs = getFileSystem();
|
|
3594
3594
|
const shouldCleanupOutput = outputPath === undefined;
|
|
3595
3595
|
const packageOutputPath = outputPath ?? getDefaultOutputPath(fs);
|
|
@@ -3675,7 +3675,7 @@ var registerPublishCommand = (program) => {
|
|
|
3675
3675
|
}
|
|
3676
3676
|
resolvedFeedId = folderFeedId;
|
|
3677
3677
|
}
|
|
3678
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
3678
|
+
const { FlowPackService } = await import("./flow-pack-service-4kzv9wvd.js");
|
|
3679
3679
|
const service = new FlowPackService;
|
|
3680
3680
|
const [packError, packResult] = await catchError(service.executeAsync(projectPath, {
|
|
3681
3681
|
output: packageOutputPath,
|
|
@@ -3774,7 +3774,7 @@ var registerRegistryCommand2 = (program) => {
|
|
|
3774
3774
|
// src/commands/tidy.ts
|
|
3775
3775
|
var registerTidyCommand = (program) => {
|
|
3776
3776
|
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) => {
|
|
3777
|
-
const { tidyFlow } = await import("./tidy-service-
|
|
3777
|
+
const { tidyFlow } = await import("./tidy-service-tfkx6266.js");
|
|
3778
3778
|
const [error, result] = await catchError(tidyFlow(file));
|
|
3779
3779
|
if (error) {
|
|
3780
3780
|
OutputFormatter.error({
|
|
@@ -3876,7 +3876,7 @@ var registerValidateCommand = (program) => {
|
|
|
3876
3876
|
let governanceEnforcements;
|
|
3877
3877
|
let availableModelNames;
|
|
3878
3878
|
if (options.governance) {
|
|
3879
|
-
const { fetchGovernanceData } = await import("./governance-fetcher-
|
|
3879
|
+
const { fetchGovernanceData } = await import("./governance-fetcher-kaarfkse.js");
|
|
3880
3880
|
const [error, data] = await catchError(fetchGovernanceData());
|
|
3881
3881
|
if (error) {
|
|
3882
3882
|
OutputFormatter.error({
|
|
@@ -3890,7 +3890,7 @@ var registerValidateCommand = (program) => {
|
|
|
3890
3890
|
governanceEnforcements = data.enforcements;
|
|
3891
3891
|
availableModelNames = data.modelNames;
|
|
3892
3892
|
}
|
|
3893
|
-
const { FlowValidateService } = await import("./flow-validate-service-
|
|
3893
|
+
const { FlowValidateService } = await import("./flow-validate-service-hr2e664c.js");
|
|
3894
3894
|
const service = new FlowValidateService({
|
|
3895
3895
|
governanceEnforcements,
|
|
3896
3896
|
availableModelNames,
|
|
@@ -4086,7 +4086,7 @@ var registerVariableCommand = (program) => {
|
|
|
4086
4086
|
}
|
|
4087
4087
|
schema = parsed;
|
|
4088
4088
|
}
|
|
4089
|
-
const { addVariableToFlow } = await import("./variable-service-
|
|
4089
|
+
const { addVariableToFlow } = await import("./variable-service-c0qjsy4j.js");
|
|
4090
4090
|
const [error, variable2] = await catchError(addVariableToFlow(file, {
|
|
4091
4091
|
id: variableId,
|
|
4092
4092
|
direction: options.direction,
|
|
@@ -4126,7 +4126,7 @@ var registerVariableCommand = (program) => {
|
|
|
4126
4126
|
processContext.exit(1);
|
|
4127
4127
|
return;
|
|
4128
4128
|
}
|
|
4129
|
-
const { deleteVariableFromFlow } = await import("./variable-service-
|
|
4129
|
+
const { deleteVariableFromFlow } = await import("./variable-service-c0qjsy4j.js");
|
|
4130
4130
|
const [error, deletedVariable] = await catchError(deleteVariableFromFlow(file, variableId));
|
|
4131
4131
|
if (error) {
|
|
4132
4132
|
OutputFormatter.error({
|
|
@@ -4146,7 +4146,7 @@ var registerVariableCommand = (program) => {
|
|
|
4146
4146
|
});
|
|
4147
4147
|
});
|
|
4148
4148
|
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) => {
|
|
4149
|
-
const { listVariablesInFlow } = await import("./variable-service-
|
|
4149
|
+
const { listVariablesInFlow } = await import("./variable-service-c0qjsy4j.js");
|
|
4150
4150
|
const [error, result] = await catchError(listVariablesInFlow(file));
|
|
4151
4151
|
if (error) {
|
|
4152
4152
|
OutputFormatter.error({
|
|
@@ -4204,7 +4204,7 @@ var metadata = {
|
|
|
4204
4204
|
var registerCommands = async (program) => {
|
|
4205
4205
|
setAgentProjectMetadataReader(agentProjectMetadataReader);
|
|
4206
4206
|
if (isPreviewBuild()) {
|
|
4207
|
-
const { registerFlowAuthoringCommands } = await import("./authoring-
|
|
4207
|
+
const { registerFlowAuthoringCommands } = await import("./authoring-113fk5ep.js");
|
|
4208
4208
|
registerFlowAuthoringCommands(program);
|
|
4209
4209
|
}
|
|
4210
4210
|
registerInitCommand(program);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveJsonInput
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-ck10v2ve.js";
|
|
4
4
|
import {
|
|
5
5
|
DEBUG_MODE_MAP,
|
|
6
6
|
SIMULATION_MODE_MAP,
|
|
7
7
|
beginDebugSession,
|
|
8
8
|
createDebugInstance,
|
|
9
9
|
getPersonalFolderKey
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-aea5psjw.js";
|
|
11
11
|
import {
|
|
12
12
|
debugPimsGet,
|
|
13
13
|
debugPimsPatch,
|
|
14
14
|
debugPimsPost,
|
|
15
15
|
debugPimsPut
|
|
16
|
-
} from "./packager-tool-
|
|
16
|
+
} from "./packager-tool-py7cevyk.js";
|
|
17
17
|
import {
|
|
18
18
|
getAuthContext,
|
|
19
19
|
getLoginStatusAsync
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
parseLimit,
|
|
35
35
|
parseOffset,
|
|
36
36
|
processContext
|
|
37
|
-
} from "./packager-tool-
|
|
37
|
+
} from "./packager-tool-m056vsmy.js";
|
|
38
38
|
import {
|
|
39
39
|
getFileSystem
|
|
40
40
|
} from "./packager-tool-0v3s8r01.js";
|
|
@@ -268,7 +268,7 @@ Subcommands:
|
|
|
268
268
|
}
|
|
269
269
|
];
|
|
270
270
|
registry.command("pull").description(`Pull and sync node data from ${commandPrefix} registry (login first for full registry)`).option("-f, --force", "Force refresh, ignore cache").examples(pullExamples).trackedAction(processContext, async (options) => {
|
|
271
|
-
const { pullNodes } = await import("./node-sync-service-
|
|
271
|
+
const { pullNodes } = await import("./node-sync-service-dk9jazv4.js");
|
|
272
272
|
const [error, result] = await catchError(pullNodes({
|
|
273
273
|
force: options.force
|
|
274
274
|
}));
|
|
@@ -314,7 +314,7 @@ In-solution (--local):
|
|
|
314
314
|
processContext.exit(1);
|
|
315
315
|
return;
|
|
316
316
|
}
|
|
317
|
-
const { listNodes } = await import("./node-sync-service-
|
|
317
|
+
const { listNodes } = await import("./node-sync-service-dk9jazv4.js");
|
|
318
318
|
const [error, tenantNodes] = await catchError(listNodes({ local: options.local }));
|
|
319
319
|
if (error) {
|
|
320
320
|
OutputFormatter.error({
|
|
@@ -422,7 +422,7 @@ In-solution (--local):
|
|
|
422
422
|
searchNodeSummariesWithAvailability,
|
|
423
423
|
searchNodes,
|
|
424
424
|
searchNodesWithFilters
|
|
425
|
-
} = await import("./node-sync-service-
|
|
425
|
+
} = await import("./node-sync-service-dk9jazv4.js");
|
|
426
426
|
if (options.local) {
|
|
427
427
|
const [searchError2, results2] = await catchError(parsedFilters ? searchNodesWithFilters(keyword, parsedFilters, {
|
|
428
428
|
local: true
|
|
@@ -482,7 +482,7 @@ Examples:
|
|
|
482
482
|
|
|
483
483
|
In-solution (--local):
|
|
484
484
|
cd MySolution/MyFlow && ${cmd} get <node-type> --local`).argument("<node-type>", `Node type identifier — get it from '${cmd} search'`).option("--connection-id <id>", "Connection ID for Integration Service connector node enrichment. Required for connector trigger nodes; optional for connector activity nodes.").option("--local", "Get node from in-solution projects only (requires .uipx in CWD, parent, or grandparent)").examples(getExamples).trackedAction(processContext, async (nodeType, options) => {
|
|
485
|
-
const { getNodeEnriched } = await import("./node-sync-service-
|
|
485
|
+
const { getNodeEnriched } = await import("./node-sync-service-dk9jazv4.js");
|
|
486
486
|
const [error, result] = await catchError(getNodeEnriched(nodeType, options.connectionId, {
|
|
487
487
|
local: options.local
|
|
488
488
|
}));
|