@uipath/maestro-tool 1.203.0-preview.242 → 1.203.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/dist/THIRD-PARTY-NOTICES.md +3 -3
- package/dist/{binding-service-1gz49e2n.js → binding-service-00drbxxe.js} +8 -8
- package/dist/{bpmn-binding-resolver-sxawtm8b.js → bpmn-binding-resolver-gv3h61gy.js} +1 -1
- package/dist/{bpmn-branch-r9r177a8.js → bpmn-branch-y9kpfw0m.js} +10 -10
- package/dist/{case-debug-studio-web-service-qzp08zbn.js → case-debug-studio-web-service-24mzcc92.js} +1 -1
- package/dist/{case-validate-service-3ej95c82.js → case-validate-service-w5z2k33k.js} +1 -1
- package/dist/{connector-enrichment-service-dr93e4xz.js → connector-enrichment-service-y8kccsxk.js} +6 -6
- package/dist/{connector-lookup-service-k2ja56n6.js → connector-lookup-service-f9k4ame0.js} +2 -2
- package/dist/{connector-service-s9hmcas4.js → connector-service-mvnzgxka.js} +8 -8
- package/dist/{connector-task-spec-vx245zkg.js → connector-task-spec-q9121s0t.js} +6 -6
- package/dist/{debug-conversation-trigger-nt1mngrq.js → debug-conversation-trigger-q74pg6w7.js} +2 -2
- package/dist/{edge-service-9nxr2058.js → edge-service-8v1bthy6.js} +2 -2
- package/dist/{flow-debug-service-56w64p85.js → flow-debug-service-8gmw7466.js} +10 -10
- package/dist/{flow-eval-node-target-3b7smh7s.js → flow-eval-node-target-x5mgvypx.js} +2 -2
- package/dist/{flow-eval-run-service-gwynqytn.js → flow-eval-run-service-a858k9m6.js} +11 -11
- package/dist/{flow-eval-service-26k8vr6q.js → flow-eval-service-n52nch4d.js} +3 -3
- package/dist/{flow-init-service-jg9k3gqz.js → flow-init-service-qp9g9c35.js} +3 -3
- package/dist/{flow-io-v1jcxxev.js → flow-io-33mkghdc.js} +2 -2
- package/dist/{flow-migrate-service-kn4zj3xe.js → flow-migrate-service-f1g22vsa.js} +2 -2
- package/dist/{flow-pack-service-834c6t9r.js → flow-pack-service-t70r99q2.js} +10 -10
- package/dist/{flow-validate-service-j8kt76hj.js → flow-validate-service-m3n4ass9.js} +12 -12
- package/dist/{governance-fetcher-mpdm3ygh.js → governance-fetcher-3gma4bga.js} +2 -2
- package/dist/{hitl-service-cen50cpq.js → hitl-service-gf7zhsja.js} +2 -2
- package/dist/{index-62my2d21.js → index-rtkj9vnw.js} +4 -4
- package/dist/{index-zmhh41b0.js → index-s389mggc.js} +1 -1
- package/dist/{index-df58b48s.js → index-zpq0564d.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/{maestro-debug-service-btpa41qp.js → maestro-debug-service-e63zbgzh.js} +1 -1
- package/dist/{node-qek4xqk4.js → node-mjsbcvzf.js} +2 -2
- package/dist/{node-service-v3aqm8dd.js → node-service-qhd73vkh.js} +8 -8
- package/dist/{node-sync-service-maxexmej.js → node-sync-service-bxkx2rfb.js} +2 -2
- package/dist/{packager-tool-xdg6dvhn.js → packager-tool-0fs2t03k.js} +1 -1
- package/dist/{packager-tool-z1r6fnrf.js → packager-tool-23304f5h.js} +2 -2
- package/dist/{packager-tool-b7pqpgjf.js → packager-tool-2a4zgk0p.js} +2 -2
- package/dist/{packager-tool-d6044ran.js → packager-tool-3bxedn0j.js} +4 -4
- package/dist/{packager-tool-nd6413tp.js → packager-tool-7afjweq5.js} +1 -1
- package/dist/{packager-tool-mshtf2vy.js → packager-tool-axjgn7yk.js} +1 -1
- package/dist/{packager-tool-v6hj0m9e.js → packager-tool-ccx63m15.js} +1 -1
- package/dist/{packager-tool-ynd39qz6.js → packager-tool-cxmqyrmw.js} +1 -1
- package/dist/{packager-tool-13ckg1qr.js → packager-tool-f2sz0zq7.js} +2 -2
- package/dist/{packager-tool-5h3y5n2p.js → packager-tool-h5cq4r3w.js} +1 -1
- package/dist/{packager-tool-bjm4y2kr.js → packager-tool-qdf4dafk.js} +2 -2
- package/dist/{packager-tool-q8zx6p5f.js → packager-tool-qg5f578e.js} +1 -1
- package/dist/{packager-tool-f7jf8hv4.js → packager-tool-r2e4pdg5.js} +2 -2
- package/dist/{packager-tool-m4wzz7tr.js → packager-tool-snk04fzy.js} +4 -4
- package/dist/{packager-tool-87vz0arf.js → packager-tool-w8rtaye2.js} +1 -1
- package/dist/{packager-tool-v21sdxjj.js → packager-tool-wm96mfq7.js} +3 -3
- package/dist/{packager-tool-sbpmf4vr.js → packager-tool-xerz06n0.js} +4 -4
- package/dist/{packager-tool-21x9y5fd.js → packager-tool-y8ed5qwp.js} +1 -1
- package/dist/packager-tool.js +1 -1
- package/dist/{resourcesSyncService-q3zy664g.js → resourcesSyncService-37zgpn7z.js} +4 -4
- package/dist/{tidy-service-4d7ger4f.js → tidy-service-bt23cv3h.js} +3 -3
- package/dist/{tool-a363dszw.js → tool-gyjnqn9b.js} +46 -46
- package/dist/{tool-jq58t5dd.js → tool-z91a63th.js} +19 -19
- package/dist/tool.js +2 -2
- package/dist/{trigger-enrichment-service-5gb7qpnp.js → trigger-enrichment-service-hpmtkqp3.js} +6 -6
- package/dist/{variable-service-0zqjs8qd.js → variable-service-em930t4z.js} +2 -2
- package/package.json +2 -2
|
@@ -235,7 +235,7 @@ Subcommands:
|
|
|
235
235
|
}
|
|
236
236
|
];
|
|
237
237
|
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) => {
|
|
238
|
-
const { pullNodes } = await import("./node-sync-service-
|
|
238
|
+
const { pullNodes } = await import("./node-sync-service-bxkx2rfb.js");
|
|
239
239
|
const [error, result] = await catchError(pullNodes({
|
|
240
240
|
force: options.force
|
|
241
241
|
}));
|
|
@@ -281,7 +281,7 @@ In-solution (--local):
|
|
|
281
281
|
processContext.exit(1);
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
|
-
const { listNodes } = await import("./node-sync-service-
|
|
284
|
+
const { listNodes } = await import("./node-sync-service-bxkx2rfb.js");
|
|
285
285
|
const [error, tenantNodes] = await catchError(listNodes({ local: options.local }));
|
|
286
286
|
if (error) {
|
|
287
287
|
OutputFormatter.error({
|
|
@@ -389,7 +389,7 @@ In-solution (--local):
|
|
|
389
389
|
searchNodeSummariesWithAvailability,
|
|
390
390
|
searchNodes,
|
|
391
391
|
searchNodesWithFilters
|
|
392
|
-
} = await import("./node-sync-service-
|
|
392
|
+
} = await import("./node-sync-service-bxkx2rfb.js");
|
|
393
393
|
if (options.local) {
|
|
394
394
|
const [searchError2, results2] = await catchError(parsedFilters ? searchNodesWithFilters(keyword, parsedFilters, {
|
|
395
395
|
local: true
|
|
@@ -449,7 +449,7 @@ Examples:
|
|
|
449
449
|
|
|
450
450
|
In-solution (--local):
|
|
451
451
|
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) => {
|
|
452
|
-
const { getNodeEnriched } = await import("./node-sync-service-
|
|
452
|
+
const { getNodeEnriched } = await import("./node-sync-service-bxkx2rfb.js");
|
|
453
453
|
const [error, result] = await catchError(getNodeEnriched(nodeType, options.connectionId, {
|
|
454
454
|
local: options.local
|
|
455
455
|
}));
|
package/dist/packager-tool.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./packager-tool-kj0qc4f4.js";
|
|
5
5
|
import {
|
|
6
6
|
FlowToolFactory
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-23304f5h.js";
|
|
8
8
|
import"./packager-tool-n8p9cay6.js";
|
|
9
9
|
import"./packager-tool-wd01egnx.js";
|
|
10
10
|
import"./packager-tool-2513jrxr.js";
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
saveIndexMetadata,
|
|
9
9
|
saveResourceIndex
|
|
10
10
|
} from "./packager-tool-ymv46jk9.js";
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-y8ed5qwp.js";
|
|
12
|
+
import"./packager-tool-xerz06n0.js";
|
|
13
13
|
import"./packager-tool-k9qys5qk.js";
|
|
14
14
|
import"./packager-tool-y29h9mj9.js";
|
|
15
15
|
import"./packager-tool-eypvc2kv.js";
|
|
16
16
|
import {
|
|
17
17
|
findSolutionFromCwd
|
|
18
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-ccx63m15.js";
|
|
19
19
|
import"./packager-tool-8qp60s20.js";
|
|
20
|
-
import"./packager-tool-
|
|
20
|
+
import"./packager-tool-r2e4pdg5.js";
|
|
21
21
|
import"./packager-tool-dph5p2f5.js";
|
|
22
22
|
import"./packager-tool-gs28y1eq.js";
|
|
23
23
|
import"./packager-tool-paq9c70w.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UI_ONLY_NODE_TYPES,
|
|
3
3
|
tidyFlow
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-0fs2t03k.js";
|
|
5
5
|
import"./packager-tool-19030vpg.js";
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
6
|
+
import"./packager-tool-axjgn7yk.js";
|
|
7
|
+
import"./packager-tool-23304f5h.js";
|
|
8
8
|
import"./packager-tool-n8p9cay6.js";
|
|
9
9
|
import"./packager-tool-wd01egnx.js";
|
|
10
10
|
import"./packager-tool-2513jrxr.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./packager-tool-wbtykfb2.js";
|
|
7
7
|
import {
|
|
8
8
|
package_default
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-qdf4dafk.js";
|
|
10
10
|
import"./packager-tool-8j9q1nd2.js";
|
|
11
11
|
import {
|
|
12
12
|
VALID_RESOURCE_TYPES
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import"./packager-tool-7msx23gd.js";
|
|
19
19
|
import {
|
|
20
20
|
registerRegistryCommand
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-xerz06n0.js";
|
|
22
22
|
import {
|
|
23
23
|
registerSharedDebugInstanceCommands,
|
|
24
24
|
registerSharedIncidentCommands,
|
|
@@ -127,7 +127,7 @@ var BINDING_DELETE_EXAMPLES = [
|
|
|
127
127
|
var registerBindingCommand = (program) => {
|
|
128
128
|
const binding = program.command("binding").description("Manage bindings in a Flow file");
|
|
129
129
|
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) => {
|
|
130
|
-
const { listBindingsInFlow } = await import("./binding-service-
|
|
130
|
+
const { listBindingsInFlow } = await import("./binding-service-00drbxxe.js");
|
|
131
131
|
const [error, result] = await catchError(listBindingsInFlow(file));
|
|
132
132
|
if (error) {
|
|
133
133
|
OutputFormatter.error({
|
|
@@ -149,7 +149,7 @@ var registerBindingCommand = (program) => {
|
|
|
149
149
|
});
|
|
150
150
|
binding.command("add").description(`Add a binding to a Flow file.
|
|
151
151
|
` + `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) => {
|
|
152
|
-
const { addBindingToFlow } = await import("./binding-service-
|
|
152
|
+
const { addBindingToFlow } = await import("./binding-service-00drbxxe.js");
|
|
153
153
|
const [error, result] = await catchError(addBindingToFlow(file, name, resource, defaultValue, {
|
|
154
154
|
resourceKey: options.resourceKey,
|
|
155
155
|
propertyAttribute: options.propertyAttribute,
|
|
@@ -173,7 +173,7 @@ var registerBindingCommand = (program) => {
|
|
|
173
173
|
});
|
|
174
174
|
});
|
|
175
175
|
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) => {
|
|
176
|
-
const { deleteBindingFromFlow } = await import("./binding-service-
|
|
176
|
+
const { deleteBindingFromFlow } = await import("./binding-service-00drbxxe.js");
|
|
177
177
|
const [error, result] = await catchError(deleteBindingFromFlow(file, resourceKey));
|
|
178
178
|
if (error) {
|
|
179
179
|
OutputFormatter.error({
|
|
@@ -289,8 +289,8 @@ var CONVERSATIONAL_DEBUG_WARNING = "This flow, which starts on a conversation tr
|
|
|
289
289
|
` + " 2. UiPath Maestro VS Code extension — open the flow and hit Debug.";
|
|
290
290
|
async function projectStartsOnConversationTrigger(projectPath) {
|
|
291
291
|
const [error, found] = await catchError((async () => {
|
|
292
|
-
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-
|
|
293
|
-
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-
|
|
292
|
+
const { readFlowWorkflow, resolveProjectFlowFile } = await import("./flow-io-33mkghdc.js");
|
|
293
|
+
const { startsOnConversationTrigger } = await import("./debug-conversation-trigger-q74pg6w7.js");
|
|
294
294
|
const flowFilePath = await resolveProjectFlowFile(projectPath);
|
|
295
295
|
const { workflow } = await readFlowWorkflow(flowFilePath);
|
|
296
296
|
return startsOnConversationTrigger(workflow);
|
|
@@ -561,7 +561,7 @@ function registerDebugCommand(program) {
|
|
|
561
561
|
InboundVoiceDebugError,
|
|
562
562
|
MissingSolutionWrapperError,
|
|
563
563
|
UnregisteredProjectError
|
|
564
|
-
} = await import("./flow-debug-service-
|
|
564
|
+
} = await import("./flow-debug-service-8gmw7466.js");
|
|
565
565
|
const { MaestroHttpError } = await import("./debug-http-client-pavq9xpf.js");
|
|
566
566
|
const {
|
|
567
567
|
buildPollTimeoutFailureOutput,
|
|
@@ -571,7 +571,7 @@ function registerDebugCommand(program) {
|
|
|
571
571
|
const {
|
|
572
572
|
buildSolutionUploadFailureOutput,
|
|
573
573
|
isSolutionUploadHttpError
|
|
574
|
-
} = await import("./index-
|
|
574
|
+
} = await import("./index-s389mggc.js");
|
|
575
575
|
const service = new FlowDebugService;
|
|
576
576
|
const parsedPollInterval = parsePositiveNumberOption(options.pollInterval || "2000", "--poll-interval");
|
|
577
577
|
if (!parsedPollInterval.ok) {
|
|
@@ -887,7 +887,7 @@ function getDeleteEdgeInstructions(file) {
|
|
|
887
887
|
return `Check that "${file}" exists and run 'uip maestro flow edge list ${file}' to find a valid edge ID, then retry.`;
|
|
888
888
|
}
|
|
889
889
|
async function runDeleteEdge(file, edgeId, code) {
|
|
890
|
-
const { deleteEdgeFromFlow } = await import("./edge-service-
|
|
890
|
+
const { deleteEdgeFromFlow } = await import("./edge-service-8v1bthy6.js");
|
|
891
891
|
const normalizedEdgeId = edgeId.trim();
|
|
892
892
|
const [error, result] = await catchError(deleteEdgeFromFlow(file, normalizedEdgeId));
|
|
893
893
|
if (error) {
|
|
@@ -910,7 +910,7 @@ async function runDeleteEdge(file, edgeId, code) {
|
|
|
910
910
|
var registerEdgeCommand = (program) => {
|
|
911
911
|
const edge = program.command("edge").description("Manage edges in a Flow file");
|
|
912
912
|
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) => {
|
|
913
|
-
const { listEdgesInFlow } = await import("./edge-service-
|
|
913
|
+
const { listEdgesInFlow } = await import("./edge-service-8v1bthy6.js");
|
|
914
914
|
const [error, result] = await catchError(listEdgesInFlow(file));
|
|
915
915
|
if (error) {
|
|
916
916
|
OutputFormatter.error({
|
|
@@ -931,7 +931,7 @@ var registerEdgeCommand = (program) => {
|
|
|
931
931
|
});
|
|
932
932
|
});
|
|
933
933
|
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) => {
|
|
934
|
-
const { addEdgeToFlow } = await import("./edge-service-
|
|
934
|
+
const { addEdgeToFlow } = await import("./edge-service-8v1bthy6.js");
|
|
935
935
|
const [error, result] = await catchError(addEdgeToFlow(file, sourceId, targetId, {
|
|
936
936
|
sourcePort: options.sourcePort,
|
|
937
937
|
targetPort: options.targetPort
|
|
@@ -1271,7 +1271,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1271
1271
|
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) => {
|
|
1272
1272
|
const [error] = await catchError((async () => {
|
|
1273
1273
|
const config = await resolveStudioWebConfig();
|
|
1274
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1274
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-a858k9m6.js");
|
|
1275
1275
|
const service = new FlowEvalRunService;
|
|
1276
1276
|
const result = await service.startRemoteEvalRun(options.path, options.set, config, {
|
|
1277
1277
|
solutionId: options.solutionId,
|
|
@@ -1303,7 +1303,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1303
1303
|
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) => {
|
|
1304
1304
|
const [error] = await catchError((async () => {
|
|
1305
1305
|
const config = await resolveStudioWebConfig();
|
|
1306
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1306
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-a858k9m6.js");
|
|
1307
1307
|
const service = new FlowEvalRunService;
|
|
1308
1308
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1309
1309
|
const [run, evaluators] = await Promise.all([
|
|
@@ -1329,7 +1329,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1329
1329
|
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) => {
|
|
1330
1330
|
const [error] = await catchError((async () => {
|
|
1331
1331
|
const config = await resolveStudioWebConfig();
|
|
1332
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1332
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-a858k9m6.js");
|
|
1333
1333
|
const service = new FlowEvalRunService;
|
|
1334
1334
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1335
1335
|
let evalRuns = await service.getRemoteEvalRuns(config, target.workloadId, evalSetRunId);
|
|
@@ -1363,7 +1363,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1363
1363
|
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) => {
|
|
1364
1364
|
const [error] = await catchError((async () => {
|
|
1365
1365
|
const config = await resolveStudioWebConfig();
|
|
1366
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1366
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-a858k9m6.js");
|
|
1367
1367
|
const service = new FlowEvalRunService;
|
|
1368
1368
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1369
1369
|
const runs = await service.listRemoteEvalSetRuns(config, target.workloadId, target.evalSet.id);
|
|
@@ -1389,7 +1389,7 @@ function registerEvalRunCommand(evalCmd) {
|
|
|
1389
1389
|
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) => {
|
|
1390
1390
|
const [error] = await catchError((async () => {
|
|
1391
1391
|
const config = await resolveStudioWebConfig();
|
|
1392
|
-
const { FlowEvalRunService } = await import("./flow-eval-run-service-
|
|
1392
|
+
const { FlowEvalRunService } = await import("./flow-eval-run-service-a858k9m6.js");
|
|
1393
1393
|
const service = new FlowEvalRunService;
|
|
1394
1394
|
const target = await resolveRemoteTarget(service, options, config);
|
|
1395
1395
|
const [runsA, runsB, runMetaA, runMetaB] = await Promise.all([
|
|
@@ -1522,7 +1522,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1522
1522
|
const evaluator = evalCmd.command("evaluator").description("Manage Flow evaluators");
|
|
1523
1523
|
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) => {
|
|
1524
1524
|
const [error] = await catchError((async () => {
|
|
1525
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1525
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1526
1526
|
const service = new FlowEvalService;
|
|
1527
1527
|
const created = await service.addEvaluator(options.path, {
|
|
1528
1528
|
name,
|
|
@@ -1549,7 +1549,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1549
1549
|
});
|
|
1550
1550
|
evaluator.command("list").description("List evaluators in a flow project").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1551
1551
|
const [error] = await catchError((async () => {
|
|
1552
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1552
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1553
1553
|
const service = new FlowEvalService;
|
|
1554
1554
|
const evaluators = await service.listEvaluators(options.path);
|
|
1555
1555
|
OutputFormatter.success({
|
|
@@ -1570,7 +1570,7 @@ function registerEvaluatorCommands(evalCmd) {
|
|
|
1570
1570
|
});
|
|
1571
1571
|
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) => {
|
|
1572
1572
|
const [error] = await catchError((async () => {
|
|
1573
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1573
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1574
1574
|
const service = new FlowEvalService;
|
|
1575
1575
|
const removed = await service.removeEvaluator(options.path, id);
|
|
1576
1576
|
if (!removed) {
|
|
@@ -1591,8 +1591,8 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1591
1591
|
const set = evalCmd.command("set").description("Manage evaluation sets");
|
|
1592
1592
|
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) => {
|
|
1593
1593
|
const [error] = await catchError((async () => {
|
|
1594
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1595
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1594
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1595
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-x5mgvypx.js");
|
|
1596
1596
|
const service = new FlowEvalService;
|
|
1597
1597
|
const created = await service.addEvalSet(options.path, {
|
|
1598
1598
|
name,
|
|
@@ -1619,8 +1619,8 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1619
1619
|
});
|
|
1620
1620
|
set.command("list").description("List evaluation sets").option("--path <path>", FLOW_EVAL_PATH_OPTION_DESCRIPTION2, ".").trackedAction(processContext, async (options) => {
|
|
1621
1621
|
const [error] = await catchError((async () => {
|
|
1622
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1623
|
-
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-
|
|
1622
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1623
|
+
const { readEvalSetScope, readNodeTargetId } = await import("./flow-eval-node-target-x5mgvypx.js");
|
|
1624
1624
|
const service = new FlowEvalService;
|
|
1625
1625
|
const sets = await service.listEvalSets(options.path);
|
|
1626
1626
|
OutputFormatter.success({
|
|
@@ -1646,7 +1646,7 @@ function registerEvalSetCommands(evalCmd) {
|
|
|
1646
1646
|
});
|
|
1647
1647
|
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) => {
|
|
1648
1648
|
const [error] = await catchError((async () => {
|
|
1649
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1649
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1650
1650
|
const service = new FlowEvalService;
|
|
1651
1651
|
const removed = await service.removeEvalSet(options.path, id);
|
|
1652
1652
|
if (!removed) {
|
|
@@ -1670,7 +1670,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1670
1670
|
const inputFiles = parseInputFiles(options.inputFile);
|
|
1671
1671
|
const expectedOutput = options.expected ? parseJsonObject(options.expected, "--expected") : undefined;
|
|
1672
1672
|
const criteria = options.criteria ? parseCriteriaOption(options.criteria) : undefined;
|
|
1673
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1673
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1674
1674
|
const service = new FlowEvalService;
|
|
1675
1675
|
const evaluation = await service.addEvaluation(options.path, options.set, {
|
|
1676
1676
|
name,
|
|
@@ -1697,7 +1697,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1697
1697
|
});
|
|
1698
1698
|
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) => {
|
|
1699
1699
|
const [error] = await catchError((async () => {
|
|
1700
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1700
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1701
1701
|
const service = new FlowEvalService;
|
|
1702
1702
|
const evaluations = await service.listEvaluations(options.path, options.set);
|
|
1703
1703
|
OutputFormatter.success({
|
|
@@ -1718,7 +1718,7 @@ function registerEvaluationCommands(evalCmd) {
|
|
|
1718
1718
|
});
|
|
1719
1719
|
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) => {
|
|
1720
1720
|
const [error] = await catchError((async () => {
|
|
1721
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1721
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1722
1722
|
const service = new FlowEvalService;
|
|
1723
1723
|
const removed = await service.removeEvaluation(options.path, options.set, id);
|
|
1724
1724
|
if (!removed) {
|
|
@@ -1762,7 +1762,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1762
1762
|
simulationInstruction: options.simulationInstructions,
|
|
1763
1763
|
mockValue
|
|
1764
1764
|
};
|
|
1765
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1765
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1766
1766
|
const service = new FlowEvalService;
|
|
1767
1767
|
if (options.parent !== undefined) {
|
|
1768
1768
|
const { simulation: created, warning } = await service.addChildSimulation(options.path, options.set, options.dataPoint, options.parent, simulation2);
|
|
@@ -1804,7 +1804,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1804
1804
|
});
|
|
1805
1805
|
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) => {
|
|
1806
1806
|
const [error] = await catchError((async () => {
|
|
1807
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1807
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1808
1808
|
const service = new FlowEvalService;
|
|
1809
1809
|
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);
|
|
1810
1810
|
OutputFormatter.success({
|
|
@@ -1826,7 +1826,7 @@ function registerSimulationCommands(evalCmd) {
|
|
|
1826
1826
|
});
|
|
1827
1827
|
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) => {
|
|
1828
1828
|
const [error] = await catchError((async () => {
|
|
1829
|
-
const { FlowEvalService } = await import("./flow-eval-service-
|
|
1829
|
+
const { FlowEvalService } = await import("./flow-eval-service-n52nch4d.js");
|
|
1830
1830
|
const service = new FlowEvalService;
|
|
1831
1831
|
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);
|
|
1832
1832
|
if (!removed) {
|
|
@@ -1971,7 +1971,7 @@ var registerHitlCommand = (program) => {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
schema = parsed;
|
|
1973
1973
|
}
|
|
1974
|
-
const { addHitlNode } = await import("./hitl-service-
|
|
1974
|
+
const { addHitlNode } = await import("./hitl-service-gf7zhsja.js");
|
|
1975
1975
|
const [error, result] = await catchError(addHitlNode(file, {
|
|
1976
1976
|
schema,
|
|
1977
1977
|
priority: options.priority,
|
|
@@ -2052,7 +2052,7 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
2052
2052
|
];
|
|
2053
2053
|
var registerInitCommand = (program) => {
|
|
2054
2054
|
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.").examples(FLOW_INIT_EXAMPLES).trackedAction(processContext, async (name, options) => {
|
|
2055
|
-
const { flowInitAsync } = await import("./flow-init-service-
|
|
2055
|
+
const { flowInitAsync } = await import("./flow-init-service-qp9g9c35.js");
|
|
2056
2056
|
const { RuntimeProfile } = await import("./maestro-automate-entry-jehpbg37.js");
|
|
2057
2057
|
const [error, result] = await catchError(flowInitAsync(name, {
|
|
2058
2058
|
force: options.force,
|
|
@@ -2525,7 +2525,7 @@ var FLOW_MIGRATE_EXAMPLES = [
|
|
|
2525
2525
|
];
|
|
2526
2526
|
var registerMigrateCommand = (program) => {
|
|
2527
2527
|
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) => {
|
|
2528
|
-
const { migrateFlow } = await import("./flow-migrate-service-
|
|
2528
|
+
const { migrateFlow } = await import("./flow-migrate-service-f1g22vsa.js");
|
|
2529
2529
|
const [error, result] = await catchError(migrateFlow(file, {
|
|
2530
2530
|
dryRun: options.dryRun,
|
|
2531
2531
|
includeOptional: options.includeOptional
|
|
@@ -2691,7 +2691,7 @@ function getDeleteNodeInstructions(file) {
|
|
|
2691
2691
|
return `Check that "${file}" exists and run 'uip maestro flow node list ${file}' to find a valid node ID, then retry.`;
|
|
2692
2692
|
}
|
|
2693
2693
|
async function runDeleteNode(file, nodeId, code) {
|
|
2694
|
-
const { deleteNodeFromFlow } = await import("./node-service-
|
|
2694
|
+
const { deleteNodeFromFlow } = await import("./node-service-qhd73vkh.js");
|
|
2695
2695
|
const normalizedNodeId = nodeId.trim();
|
|
2696
2696
|
const [error, result] = await catchError(deleteNodeFromFlow(file, normalizedNodeId));
|
|
2697
2697
|
if (error) {
|
|
@@ -2763,7 +2763,7 @@ Example: uip maestro flow node add flow.flow uipath.connector.jira.createIssue -
|
|
|
2763
2763
|
NodeTypeNotEnabledError,
|
|
2764
2764
|
NodeTypeNotFoundError,
|
|
2765
2765
|
SourceRequiredError
|
|
2766
|
-
} = await import("./node-service-
|
|
2766
|
+
} = await import("./node-service-qhd73vkh.js");
|
|
2767
2767
|
const [error, result] = await catchError(addNodeToFlow(file, nodeType, {
|
|
2768
2768
|
position,
|
|
2769
2769
|
label: options.label,
|
|
@@ -2883,7 +2883,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2883
2883
|
processContext.exit(1);
|
|
2884
2884
|
return;
|
|
2885
2885
|
}
|
|
2886
|
-
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-
|
|
2886
|
+
const { configureConnectorNode, InvalidDetailError } = await import("./connector-service-mvnzgxka.js");
|
|
2887
2887
|
const [error, result] = await catchError(configureConnectorNode(file, nodeId, parsed));
|
|
2888
2888
|
if (error) {
|
|
2889
2889
|
const message = error instanceof InvalidDetailError ? "Invalid --detail" : "Error configuring node";
|
|
@@ -2909,7 +2909,7 @@ MANAGED HTTP NODES (type core.action.http.v2)
|
|
|
2909
2909
|
});
|
|
2910
2910
|
});
|
|
2911
2911
|
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) => {
|
|
2912
|
-
const { listNodesInFlow } = await import("./node-service-
|
|
2912
|
+
const { listNodesInFlow } = await import("./node-service-qhd73vkh.js");
|
|
2913
2913
|
const [error, result] = await catchError(listNodesInFlow(file));
|
|
2914
2914
|
if (error) {
|
|
2915
2915
|
OutputFormatter.error({
|
|
@@ -2954,7 +2954,7 @@ var FLOW_PACK_EXAMPLES = [
|
|
|
2954
2954
|
var registerPackCommand = (program) => {
|
|
2955
2955
|
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");
|
|
2956
2956
|
registerPackageMetadataOptions(command).examples(FLOW_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
2957
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
2957
|
+
const { FlowPackService } = await import("./flow-pack-service-t70r99q2.js");
|
|
2958
2958
|
const service = new FlowPackService;
|
|
2959
2959
|
const exitCode = await service.execute(projectPath, {
|
|
2960
2960
|
output: outputPath,
|
|
@@ -3674,7 +3674,7 @@ var registerPublishCommand = (program) => {
|
|
|
3674
3674
|
}
|
|
3675
3675
|
resolvedFeedId = folderFeedId;
|
|
3676
3676
|
}
|
|
3677
|
-
const { FlowPackService } = await import("./flow-pack-service-
|
|
3677
|
+
const { FlowPackService } = await import("./flow-pack-service-t70r99q2.js");
|
|
3678
3678
|
const service = new FlowPackService;
|
|
3679
3679
|
const [packError, packResult] = await catchError(service.executeAsync(projectPath, {
|
|
3680
3680
|
output: packageOutputPath,
|
|
@@ -3773,7 +3773,7 @@ var registerRegistryCommand2 = (program) => {
|
|
|
3773
3773
|
// ../flow-tool/src/commands/tidy.ts
|
|
3774
3774
|
var registerTidyCommand = (program) => {
|
|
3775
3775
|
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) => {
|
|
3776
|
-
const { tidyFlow } = await import("./tidy-service-
|
|
3776
|
+
const { tidyFlow } = await import("./tidy-service-bt23cv3h.js");
|
|
3777
3777
|
const [error, result] = await catchError(tidyFlow(file));
|
|
3778
3778
|
if (error) {
|
|
3779
3779
|
OutputFormatter.error({
|
|
@@ -3875,7 +3875,7 @@ var registerValidateCommand = (program) => {
|
|
|
3875
3875
|
let governanceEnforcements;
|
|
3876
3876
|
let availableModelNames;
|
|
3877
3877
|
if (options.governance) {
|
|
3878
|
-
const { fetchGovernanceData } = await import("./governance-fetcher-
|
|
3878
|
+
const { fetchGovernanceData } = await import("./governance-fetcher-3gma4bga.js");
|
|
3879
3879
|
const [error, data] = await catchError(fetchGovernanceData());
|
|
3880
3880
|
if (error) {
|
|
3881
3881
|
OutputFormatter.error({
|
|
@@ -3889,7 +3889,7 @@ var registerValidateCommand = (program) => {
|
|
|
3889
3889
|
governanceEnforcements = data.enforcements;
|
|
3890
3890
|
availableModelNames = data.modelNames;
|
|
3891
3891
|
}
|
|
3892
|
-
const { FlowValidateService } = await import("./flow-validate-service-
|
|
3892
|
+
const { FlowValidateService } = await import("./flow-validate-service-m3n4ass9.js");
|
|
3893
3893
|
const service = new FlowValidateService({
|
|
3894
3894
|
governanceEnforcements,
|
|
3895
3895
|
availableModelNames,
|
|
@@ -4085,7 +4085,7 @@ var registerVariableCommand = (program) => {
|
|
|
4085
4085
|
}
|
|
4086
4086
|
schema = parsed;
|
|
4087
4087
|
}
|
|
4088
|
-
const { addVariableToFlow } = await import("./variable-service-
|
|
4088
|
+
const { addVariableToFlow } = await import("./variable-service-em930t4z.js");
|
|
4089
4089
|
const [error, variable2] = await catchError(addVariableToFlow(file, {
|
|
4090
4090
|
id: variableId,
|
|
4091
4091
|
direction: options.direction,
|
|
@@ -4125,7 +4125,7 @@ var registerVariableCommand = (program) => {
|
|
|
4125
4125
|
processContext.exit(1);
|
|
4126
4126
|
return;
|
|
4127
4127
|
}
|
|
4128
|
-
const { deleteVariableFromFlow } = await import("./variable-service-
|
|
4128
|
+
const { deleteVariableFromFlow } = await import("./variable-service-em930t4z.js");
|
|
4129
4129
|
const [error, deletedVariable] = await catchError(deleteVariableFromFlow(file, variableId));
|
|
4130
4130
|
if (error) {
|
|
4131
4131
|
OutputFormatter.error({
|
|
@@ -4145,7 +4145,7 @@ var registerVariableCommand = (program) => {
|
|
|
4145
4145
|
});
|
|
4146
4146
|
});
|
|
4147
4147
|
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) => {
|
|
4148
|
-
const { listVariablesInFlow } = await import("./variable-service-
|
|
4148
|
+
const { listVariablesInFlow } = await import("./variable-service-em930t4z.js");
|
|
4149
4149
|
const [error, result] = await catchError(listVariablesInFlow(file));
|
|
4150
4150
|
if (error) {
|
|
4151
4151
|
OutputFormatter.error({
|