@uipath/cli 1.204.0-preview.246 → 1.204.0-preview.249

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  runNode
3
- } from "./index-swnh3swf.js";
3
+ } from "./index-s1x1ywna.js";
4
4
  import"./index-zwnedwxc.js";
5
- import"./index-vfpsvbf2.js";
5
+ import"./index-mfkfhgbp.js";
6
6
  import"./index-trd07rnv.js";
7
7
  import"./index-g8ck9tv6.js";
8
8
  import"./index-hrt7fpkk.js";
@@ -551,7 +551,7 @@ var package_default = {
551
551
  name: "@uipath/cli",
552
552
  author: "UiPath",
553
553
  license: "SEE LICENSE IN LICENSE.txt",
554
- version: "1.204.0-preview.246",
554
+ version: "1.204.0-preview.249",
555
555
  description: "Cross platform CLI for UiPath",
556
556
  repository: {
557
557
  type: "git",
@@ -9867,4 +9867,4 @@ function getManualCommandForInstallError(error, fallback) {
9867
9867
 
9868
9868
  export { package_default, VALID_CHANNELS, HIDDEN_CHANNELS, PUBLIC_CHANNELS, withConfigLock, SECRET_FIELD_PATHS, migrateVersionConfig, versionMigrationNotice, resolveConfigFilePathAsync, loadConfigAsync, resolveUpdateChannel, resolveRuntimeChannel, isPreviewVersion, isValidVersionPin, majorOf, resolvePinnedVersion, isExactPin, versionLinePrefix, formatVersionPin, dist_default5 as dist_default, dist_default6 as dist_default1, dist_default7 as dist_default2, getGlobalNpmUipathDir, refreshGlobalNpmUipathDir, TOOLS_DIRS_ENV_VAR, getEnvToolsDirsDeclaration, resolveNpmPrefixForToolsDir, DISABLE_AUTOINSTALL_ENV, DISABLE_TOOL_LINE_CHECK_ENV, InstallRefusedError, isBundledDistribution, isAutoInstallDisabled, isToolLineCheckDisabled, TOOLS_WHITELIST, COMMAND_ALIASES, ALIASES_BY_COMMAND, WHITELIST_BY_COMMAND, WHITELIST_BY_SHORT_NAME, isValidSemver, compareSemver, resolveToolPackageName, parsePackageSpec, describeCandidateFailure, getEffectiveRegistry, isDevMode, HostOwnedToolError, truncateVersionsForDisplay, toolService, SkillSourceError, SkillsRegistryAuthError, resolveSkillSource, getContentStoreForRead, getAvailableSkills, readManifest, removeFromManifest, readExtraFiles, AGENT_DEFS, getSkillsDir, getSkillsDestinationHint, hasDistinctGlobalPath, skillOwnerOf, uninstallExtraFolders, uninstallSkill, rejectIfGlobalOnly, getSkillsSourceFailureDetails, buildSkillCatalog, removeSkillCatalog, searchSkillCatalog, ALL_AGENTS, AGENT_DISPLAY_NAMES, promptAgentSelection, SkillsError, resolveSkillsTargetVersion, resolveRootDir, resolveSkillsContext, runAgentInstalls, runSkillsUpdate, getInstalledTools, toolFailureRemediation, collapsePinnedLineErrors, todayLocal, readState, recordToolUpdateDate, mergeState, TOOLS_UPDATE_PHASES, runToolsUpdate, runUpdate };
9869
9869
 
9870
- //# debugId=752631AA0069ED4364756E2164756E21
9870
+ //# debugId=531CD8E2A5F2CAF764756E2164756E21
@@ -113,7 +113,7 @@ import {
113
113
  versionLinePrefix,
114
114
  versionMigrationNotice,
115
115
  withConfigLock
116
- } from "./index-vfpsvbf2.js";
116
+ } from "./index-mfkfhgbp.js";
117
117
  import {
118
118
  AuthDimensions,
119
119
  BaseDimensions,
@@ -364,42 +364,31 @@ function tryParseOutputSpace(state, args, i) {
364
364
  if (args[i] !== "--output") {
365
365
  return NOT_CONSUMED;
366
366
  }
367
- state.sawOutputOption = true;
368
- if (state.sawJsonAlias) {
369
- state.outputConflict = true;
370
- }
371
- if (i + 1 < args.length) {
372
- const v = args[i + 1];
373
- if (isOutputFormat(v)) {
374
- applyOutputValue(state, v);
375
- return { consumed: true, advance: 1 };
376
- }
377
- if (state.sawJsonAlias) {
378
- return { consumed: true, advance: 1 };
379
- }
380
- }
381
- if (state.sawJsonAlias) {
382
- return { consumed: true, advance: 0 };
367
+ const v = args[i + 1];
368
+ if (v === undefined || !isOutputFormat(v)) {
369
+ return NOT_CONSUMED;
383
370
  }
384
- return NOT_CONSUMED;
371
+ noteOutputFormatOption(state);
372
+ applyOutputValue(state, v);
373
+ return { consumed: true, advance: 1 };
385
374
  }
386
375
  function tryParseOutputEquals(state, args, i) {
387
376
  if (!args[i]?.startsWith("--output=")) {
388
377
  return NOT_CONSUMED;
389
378
  }
390
- state.sawOutputOption = true;
391
- if (state.sawJsonAlias) {
392
- state.outputConflict = true;
393
- }
394
379
  const v = args[i].substring("--output=".length);
395
- if (isOutputFormat(v)) {
396
- applyOutputValue(state, v);
397
- return { consumed: true, advance: 0 };
380
+ if (!isOutputFormat(v)) {
381
+ return NOT_CONSUMED;
398
382
  }
383
+ noteOutputFormatOption(state);
384
+ applyOutputValue(state, v);
385
+ return { consumed: true, advance: 0 };
386
+ }
387
+ function noteOutputFormatOption(state) {
388
+ state.sawOutputOption = true;
399
389
  if (state.sawJsonAlias) {
400
- return { consumed: true, advance: 0 };
390
+ state.outputConflict = true;
401
391
  }
402
- return NOT_CONSUMED;
403
392
  }
404
393
  function tryParseLogLevel(state, args, i) {
405
394
  if (args[i] === "--log-level" && i + 1 < args.length) {
@@ -4448,7 +4437,7 @@ function registerLogoutCommand(program, context) {
4448
4437
  function registerMcpCommand(program) {
4449
4438
  const mcpCommand = program.command("mcp").description("Model Context Protocol (MCP) server");
4450
4439
  mcpCommand.command("serve").description("Start the MCP server (stdio transport)").trackedAction(processContext, async () => {
4451
- const { startMcpServer } = await import("./server-c16ax51g.js");
4440
+ const { startMcpServer } = await import("./server-b77kc5p2.js");
4452
4441
  await startMcpServer(program);
4453
4442
  });
4454
4443
  }
@@ -7077,7 +7066,7 @@ async function resolveUpdateLocation(state, context) {
7077
7066
  return location;
7078
7067
  }
7079
7068
  async function runUpdateEngine(state, location, context, target) {
7080
- const { runUpdate: runUpdate2 } = await import("./updateService-7m1qj5dy.js");
7069
+ const { runUpdate: runUpdate2 } = await import("./updateService-mzygc16h.js");
7081
7070
  const spinner = await startSpinner(formatUpdateStartMessage(target));
7082
7071
  if (!spinner) {
7083
7072
  writeSyncStatus(context, formatUpdateStartMessage(target));
@@ -7860,4 +7849,4 @@ async function runNodeInvocation(context) {
7860
7849
 
7861
7850
  export { runNode };
7862
7851
 
7863
- //# debugId=614F5EF94030176764756E2164756E21
7852
+ //# debugId=B8DF27E2432CE19B64756E2164756E21
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runNode
4
- } from "./index-swnh3swf.js";
4
+ } from "./index-s1x1ywna.js";
5
5
  import {
6
6
  registerRobotClientLoader
7
7
  } from "./index-zwnedwxc.js";
8
- import"./index-vfpsvbf2.js";
8
+ import"./index-mfkfhgbp.js";
9
9
  import {
10
10
  TELEMETRY_DRAIN_ARGV,
11
11
  configureLogger,
@@ -84,7 +84,7 @@ async function executeCommand(command) {
84
84
  const previousSink = getOutputSink();
85
85
  setGlobalSink(sink);
86
86
  const [error] = await catchError(async () => {
87
- const { run } = await import("./cli-eaz3684g.js");
87
+ const { run } = await import("./cli-2ye97vt6.js");
88
88
  await runWithAuthProfile(undefined, () => runWithSink(sink, () => run(context)));
89
89
  });
90
90
  if (error) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runUpdate
3
- } from "./index-vfpsvbf2.js";
3
+ } from "./index-mfkfhgbp.js";
4
4
  import"./index-trd07rnv.js";
5
5
  import"./index-g8ck9tv6.js";
6
6
  import"./index-hrt7fpkk.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/cli",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.204.0-preview.246",
5
+ "version": "1.204.0-preview.249",
6
6
  "description": "Cross platform CLI for UiPath",
7
7
  "repository": {
8
8
  "type": "git",
@@ -36,5 +36,5 @@
36
36
  "kerberos": "7.0.0",
37
37
  "node-expose-sspi": "0.1.60"
38
38
  },
39
- "gitHead": "28ab81c30ca358d6af0ced3f1c6ad3d5ce52b8b7"
39
+ "gitHead": "a0ea4d79473cd8077d99d13c2644163be126b103"
40
40
  }