@uipath/cli 1.202.1 → 1.203.0-preview.180

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.
@@ -2382,7 +2382,7 @@ var UUID_PATTERN = /\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{1
2382
2382
  var EMAIL_PATTERN = /\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b/g;
2383
2383
  var JWT_PATTERN = /\beyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g;
2384
2384
  var LONG_TOKEN_PATTERN = /\b[A-Za-z0-9_-]{40,}\b/g;
2385
- var PADDED_BASE64_PATTERN = /[A-Za-z0-9+/]{16,}={1,2}(?![A-Za-z0-9+/=])/g;
2385
+ var PADDED_BASE64_PATTERN = /(?<![A-Za-z0-9+/])[A-Za-z0-9+/]{16,}={1,2}(?![A-Za-z0-9+/=])/g;
2386
2386
  var BASE64_WITH_PLUS_PATTERN = /[A-Za-z0-9+/]{40,}/g;
2387
2387
  var USER_HOME_PATTERN = /(?<![A-Za-z0-9._-])([/\\])(Users|home|Profiles)([/\\])([^/\\]+)/gi;
2388
2388
  var UNC_PATH_PATTERN = /(^|[\s"'<>|=,;([{])(\\\\[^\s"'<>|]+)/g;
@@ -2429,7 +2429,7 @@ var QUOTED_LITERAL_PATTERN = new RegExp([
2429
2429
  `(?<![A-Za-z0-9])"(?:[^\\
2430
2430
  ]|\\.){2,${QUOTED_LITERAL_MAX_SPAN}}?"(?![A-Za-z0-9])`
2431
2431
  ].join("|"), "g");
2432
- var JSON_BODY_PATTERN = /[{[][^{}[\]]*[:,][^{}[\]]*[\]}]/g;
2432
+ var JSON_BODY_PATTERN = /[{[][^{}[\]:,]*[:,][^{}[\]]*[\]}]/g;
2433
2433
  var COLLAPSED_BODY = "{…}";
2434
2434
  var COLLAPSED_BODY_MARKER = "\x01body\x01";
2435
2435
  var MAX_BODY_NESTING = 8;
@@ -2444,10 +2444,13 @@ function collapseJsonBodies(text) {
2444
2444
  }
2445
2445
  return out.split(COLLAPSED_BODY_MARKER).join(COLLAPSED_BODY);
2446
2446
  }
2447
- var TRAILING_PROSE_PUNCT = /[.,;:!?)\]}>'"]+$/;
2447
+ var TRAILING_PROSE_PUNCT = `.,;:!?)]}>'"`;
2448
2448
  function peelTrailingPunctuation(match) {
2449
- const trailing = match.match(TRAILING_PROSE_PUNCT)?.[0] ?? "";
2450
- return trailing ? [match.slice(0, -trailing.length), trailing] : [match, ""];
2449
+ let end = match.length;
2450
+ while (end > 0 && TRAILING_PROSE_PUNCT.includes(match[end - 1])) {
2451
+ end -= 1;
2452
+ }
2453
+ return [match.slice(0, end), match.slice(end)];
2451
2454
  }
2452
2455
  function redactUrl(raw) {
2453
2456
  try {
@@ -3013,7 +3016,8 @@ function readRegistryValue(keyPath, valueName) {
3013
3016
  }
3014
3017
  const [error, output] = catchError(() => execFileSync("reg", ["query", keyPath, "/v", valueName], {
3015
3018
  encoding: "utf-8",
3016
- stdio: ["pipe", "pipe", "pipe"]
3019
+ stdio: ["pipe", "pipe", "pipe"],
3020
+ windowsHide: true
3017
3021
  }));
3018
3022
  if (error) {
3019
3023
  return "";
@@ -3589,6 +3593,7 @@ class TelemetryService {
3589
3593
  }
3590
3594
  // ../common/src/timings.ts
3591
3595
  var TIMINGS_ENV_VAR = "UIP_TIMINGS";
3596
+ var TIMINGS_FILE_ENV_VAR = "UIP_TIMINGS_FILE";
3592
3597
  var TIMINGS_LINE_PREFIX = "[timing]";
3593
3598
  function createStorage2() {
3594
3599
  const [error, mod] = catchError(() => __require("node:async_hooks"));
@@ -3652,7 +3657,7 @@ async function runWithTimings(fallbackCommand, fn) {
3652
3657
  }
3653
3658
  }
3654
3659
  if (timingsEnabled()) {
3655
- emitTimingReport(state, fallbackCommand);
3660
+ await emitTimingReport(state, fallbackCommand);
3656
3661
  }
3657
3662
  }
3658
3663
  });
@@ -3668,6 +3673,13 @@ function timingsEnabled() {
3668
3673
  const normalized = value.trim().toLowerCase();
3669
3674
  return normalized === "1" || normalized === "true";
3670
3675
  }
3676
+ function timingsFile() {
3677
+ if (typeof process === "undefined") {
3678
+ return;
3679
+ }
3680
+ const value = process.env?.[TIMINGS_FILE_ENV_VAR]?.trim();
3681
+ return value === undefined || value === "" ? undefined : value;
3682
+ }
3671
3683
  function setTimingCommand(command) {
3672
3684
  if (!timingsEnabled()) {
3673
3685
  return;
@@ -3749,12 +3761,12 @@ function formatTimingReport(args) {
3749
3761
  parts.push(`flush=${total - startup - command}ms`);
3750
3762
  return parts.join(" ");
3751
3763
  }
3752
- function emitTimingReport(state, fallbackCommand) {
3764
+ async function emitTimingReport(state, fallbackCommand) {
3753
3765
  if (state.suppressed) {
3754
3766
  return;
3755
3767
  }
3756
3768
  const now = performance.now();
3757
- logger.report(formatTimingReport({
3769
+ const line = formatTimingReport({
3758
3770
  command: state.command ?? fallbackCommand,
3759
3771
  exitCode: state.exitCode ?? 0,
3760
3772
  totalMs: now - state.baseline,
@@ -3766,7 +3778,17 @@ function emitTimingReport(state, fallbackCommand) {
3766
3778
  },
3767
3779
  httpMs: state.httpMs,
3768
3780
  httpCalls: state.httpCalls
3769
- }));
3781
+ });
3782
+ const file = timingsFile();
3783
+ if (file === undefined) {
3784
+ logger.report(line);
3785
+ return;
3786
+ }
3787
+ const [error] = await catchError(() => getFileSystem().appendFile(file, `${line}
3788
+ `));
3789
+ if (error) {
3790
+ logger.report(line);
3791
+ }
3770
3792
  }
3771
3793
 
3772
3794
  // ../common/src/telemetry/tracked-fetch.ts
@@ -4500,6 +4522,18 @@ function getOutputFilter() {
4500
4522
  return filterSlot.get();
4501
4523
  }
4502
4524
 
4525
+ // ../common/src/output-formats.ts
4526
+ var OUTPUT_FORMATS = [
4527
+ "table",
4528
+ "json",
4529
+ "yaml",
4530
+ "plain",
4531
+ "markdown"
4532
+ ];
4533
+ function isOutputFormat(value) {
4534
+ return OUTPUT_FORMATS.includes(value);
4535
+ }
4536
+
4503
4537
  // ../common/src/telemetry/command-terminal.ts
4504
4538
  var recordedFailureSlot = singleton("CommandTelemetryFailure");
4505
4539
  var AUTH_ERROR_CODES = new Set([
@@ -4839,28 +4873,32 @@ function isPlainRecord(value) {
4839
4873
  const prototype = Object.getPrototypeOf(value);
4840
4874
  return prototype === Object.prototype || prototype === null;
4841
4875
  }
4842
- function extractPagedRows(value) {
4876
+ function splitPagedEnvelope(value) {
4843
4877
  if (Array.isArray(value) || !isPlainRecord(value))
4844
4878
  return null;
4845
- const entries = Object.values(value);
4879
+ const entries = Object.entries(value);
4846
4880
  if (entries.length === 0)
4847
4881
  return null;
4848
- let rows = null;
4849
- let hasScalarSibling = false;
4850
- for (const entry of entries) {
4882
+ let found = null;
4883
+ const meta = Object.create(null);
4884
+ for (const [key, entry] of entries) {
4851
4885
  if (Array.isArray(entry)) {
4852
- if (rows !== null)
4886
+ if (found !== null)
4853
4887
  return null;
4854
- rows = entry;
4888
+ found = { key, rows: entry };
4855
4889
  } else if (entry !== null && typeof entry === "object") {
4856
4890
  return null;
4857
4891
  } else {
4858
- hasScalarSibling = true;
4892
+ meta[key] = entry;
4859
4893
  }
4860
4894
  }
4861
- if (rows === null || !hasScalarSibling)
4895
+ if (found === null || Object.keys(meta).length === 0)
4862
4896
  return null;
4863
- return rows;
4897
+ return { ...found, meta };
4898
+ }
4899
+ function extractPagedRows(value) {
4900
+ const paged = splitPagedEnvelope(value);
4901
+ return paged === null ? null : paged.rows;
4864
4902
  }
4865
4903
  function toLowerCamelCaseKey(key) {
4866
4904
  if (!key)
@@ -4964,6 +5002,9 @@ function printOutput(data, format = "json", logFn, asciiSafe = false, tableRowSt
4964
5002
  }
4965
5003
  break;
4966
5004
  }
5005
+ case "markdown":
5006
+ logFn(renderMarkdown(data));
5007
+ break;
4967
5008
  default: {
4968
5009
  const hasData = "Data" in data && data.Data != null;
4969
5010
  const pagedRows = hasData ? extractPagedRows(data.Data) : null;
@@ -4988,6 +5029,10 @@ function logOutput(data, format = "json", tableRowStyle) {
4988
5029
  printOutput(data, format, (msg) => sink.writeOut(`${msg}
4989
5030
  `), needsAsciiSafeJson(sink), styleFn);
4990
5031
  }
5032
+ var PLUMBING_KEYS = new Set(["code", "log"]);
5033
+ function isPlumbingKey(key) {
5034
+ return PLUMBING_KEYS.has(key.toLowerCase());
5035
+ }
4991
5036
  function cellToString(val) {
4992
5037
  return val != null && typeof val === "object" ? JSON.stringify(val) : String(val ?? "");
4993
5038
  }
@@ -5003,7 +5048,7 @@ function wrapText(text, width) {
5003
5048
  function printTable(data, logFn, externalLogValue, tableRowStyle) {
5004
5049
  if (data.length === 0)
5005
5050
  return;
5006
- const keys = Object.keys(data[0]).filter((key) => !["code", "log"].includes(key.toLowerCase()));
5051
+ const keys = Object.keys(data[0]).filter((key) => !isPlumbingKey(key));
5007
5052
  const maxWidths = keys.map((key) => Math.max(key.length, ...data.map((item) => cellToString(item[key]).length)));
5008
5053
  const header = keys.map((key, i) => key.padEnd(maxWidths[i])).join(" | ");
5009
5054
  logFn(header);
@@ -5025,7 +5070,7 @@ function isNonEmptyPlainObject(value) {
5025
5070
  }
5026
5071
  var NESTED_INDENT = " ";
5027
5072
  function printVerticalTable(data, logFn = console.log, externalLogValue) {
5028
- const keys = Object.keys(data).filter((key) => !["code", "log"].includes(key.toLowerCase()));
5073
+ const keys = Object.keys(data).filter((key) => !isPlumbingKey(key));
5029
5074
  if (keys.length === 0)
5030
5075
  return;
5031
5076
  const isBlockValue = (value) => isPlainObjectArray(value) || isNonEmptyPlainObject(value);
@@ -5056,7 +5101,7 @@ function printVerticalTable(data, logFn = console.log, externalLogValue) {
5056
5101
  function printResizableTable(data, logFn = console.log, externalLogValue, availableWidth, tableRowStyle) {
5057
5102
  if (data.length === 0)
5058
5103
  return;
5059
- const keys = Object.keys(data[0]).filter((key) => !["code", "log"].includes(key.toLowerCase()));
5104
+ const keys = Object.keys(data[0]).filter((key) => !isPlumbingKey(key));
5060
5105
  if (keys.length === 0)
5061
5106
  return;
5062
5107
  if (!process.stdout.isTTY) {
@@ -5130,6 +5175,220 @@ function printResizableTable(data, logFn = console.log, externalLogValue, availa
5130
5175
  logFn(`Log: ${externalLogValue}`);
5131
5176
  }
5132
5177
  }
5178
+ var MARKDOWN_MAX_CELL = 200;
5179
+ var MARKDOWN_MAX_DEPTH = 3;
5180
+ function markdownHeading(depth) {
5181
+ return "#".repeat(Math.min(3 + depth, 6));
5182
+ }
5183
+ var BACKTICK_RUN = /`+/g;
5184
+ function fencedBlock(text) {
5185
+ const first = text.trimStart()[0];
5186
+ const language = first === "<" ? "xml" : first === "{" || first === "[" ? "json" : "";
5187
+ const longestRun = Math.max(0, ...Array.from(text.matchAll(BACKTICK_RUN), (match) => match[0].length));
5188
+ const fence = "`".repeat(Math.max(3, longestRun + 1));
5189
+ return `${fence}${language}
5190
+ ${text}
5191
+ ${fence}`;
5192
+ }
5193
+ function collapseNewlineRuns(text) {
5194
+ return text.split(/(\s+)/).map((part, index) => index % 2 === 1 && part.includes(`
5195
+ `) ? " " : part).join("");
5196
+ }
5197
+ function markdownCell(value) {
5198
+ const text = value instanceof Date ? value.toISOString() : cellToString(value);
5199
+ return collapseNewlineRuns(text).replace(/\|/g, "\\|");
5200
+ }
5201
+ function markdownLabel(key) {
5202
+ return collapseNewlineRuns(key).replace(/[\\`*|]/g, "\\$&");
5203
+ }
5204
+ function withoutPlumbing(record) {
5205
+ const kept = Object.create(null);
5206
+ for (const [key, value] of Object.entries(record)) {
5207
+ if (!isPlumbingKey(key))
5208
+ kept[key] = value;
5209
+ }
5210
+ return kept;
5211
+ }
5212
+ function rowsWithoutPlumbing(rows) {
5213
+ return rows.map((row) => isPlainRecord(row) ? withoutPlumbing(row) : row);
5214
+ }
5215
+ function markdownTable(rows) {
5216
+ const columns = [];
5217
+ const seen = new Set;
5218
+ for (const row of rows) {
5219
+ for (const key of Object.keys(row)) {
5220
+ if (!seen.has(key)) {
5221
+ seen.add(key);
5222
+ columns.push(key);
5223
+ }
5224
+ }
5225
+ }
5226
+ if (columns.length === 0)
5227
+ return null;
5228
+ const cells = rows.map((row) => columns.map((key) => markdownCell(row[key])));
5229
+ if (cells.some((row) => row.some((c) => c.length > MARKDOWN_MAX_CELL))) {
5230
+ return null;
5231
+ }
5232
+ return [
5233
+ `| ${columns.map(markdownLabel).join(" | ")} |`,
5234
+ `| ${columns.map(() => "---").join(" | ")} |`,
5235
+ ...cells.map((row) => `| ${row.join(" | ")} |`)
5236
+ ].join(`
5237
+ `);
5238
+ }
5239
+ function extractMessageSequence(rows) {
5240
+ const messages = [];
5241
+ for (const row of rows) {
5242
+ const message = extractSingleMessage(row);
5243
+ if (message === null)
5244
+ return null;
5245
+ messages.push(message);
5246
+ }
5247
+ return messages.join(`
5248
+
5249
+ `);
5250
+ }
5251
+ function markdownRows(rows, depth) {
5252
+ if (rows.length === 0)
5253
+ return "(none)";
5254
+ if (!isPlainObjectArray(rows)) {
5255
+ return rows.map((item) => `- ${markdownCell(item)}`).join(`
5256
+ `);
5257
+ }
5258
+ const prose = extractMessageSequence(rows);
5259
+ if (prose !== null)
5260
+ return prose;
5261
+ const table = markdownTable(rows);
5262
+ if (table !== null)
5263
+ return table;
5264
+ if (depth >= MARKDOWN_MAX_DEPTH) {
5265
+ return fencedBlock(JSON.stringify(rows, null, 2));
5266
+ }
5267
+ return rows.map((row, index) => [
5268
+ `${markdownHeading(depth)} ${index + 1}`,
5269
+ markdownObject(row, depth + 1)
5270
+ ].join(`
5271
+
5272
+ `)).join(`
5273
+
5274
+ `);
5275
+ }
5276
+ function markdownObject(obj, depth) {
5277
+ const scalars = [];
5278
+ const blocks = [];
5279
+ for (const [key, value] of Object.entries(obj)) {
5280
+ if (value === undefined)
5281
+ continue;
5282
+ const label = markdownLabel(key);
5283
+ if (Array.isArray(value)) {
5284
+ blocks.push(`${markdownHeading(depth)} ${label}
5285
+
5286
+ ${markdownRows(value, depth + 1)}`);
5287
+ } else if (isNonEmptyPlainObject(value)) {
5288
+ const nested = depth < MARKDOWN_MAX_DEPTH ? markdownObject(value, depth + 1) : fencedBlock(JSON.stringify(value, null, 2));
5289
+ if (nested !== "") {
5290
+ blocks.push(`${markdownHeading(depth)} ${label}
5291
+
5292
+ ${nested}`);
5293
+ }
5294
+ } else if (typeof value === "string" && value.includes(`
5295
+ `)) {
5296
+ blocks.push(`**${label}:**
5297
+
5298
+ ${fencedBlock(value)}`);
5299
+ } else {
5300
+ scalars.push(`**${label}:** ${markdownCell(value)}`);
5301
+ }
5302
+ }
5303
+ const sections = scalars.length > 0 ? [scalars.join(`
5304
+ `)] : [];
5305
+ sections.push(...blocks);
5306
+ return sections.join(`
5307
+
5308
+ `);
5309
+ }
5310
+ function extractSingleMessage(payload) {
5311
+ if (!isPlainRecord(payload))
5312
+ return null;
5313
+ const keys = Object.keys(payload);
5314
+ if (keys.length !== 1 || keys[0].toLowerCase() !== "message")
5315
+ return null;
5316
+ const value = payload[keys[0]];
5317
+ return typeof value === "string" ? value : null;
5318
+ }
5319
+ function markdownPayload(payload) {
5320
+ const message = extractSingleMessage(payload);
5321
+ if (message !== null)
5322
+ return message;
5323
+ if (Array.isArray(payload)) {
5324
+ return markdownRows(rowsWithoutPlumbing(payload), 0);
5325
+ }
5326
+ const visible = withoutPlumbing(payload);
5327
+ const paged = splitPagedEnvelope(visible);
5328
+ if (paged !== null) {
5329
+ const meta = markdownObject(paged.meta, 0);
5330
+ const rows = `${markdownHeading(0)} ${markdownLabel(paged.key)}
5331
+
5332
+ ${markdownRows(rowsWithoutPlumbing(paged.rows), 1)}`;
5333
+ return meta === "" ? rows : `${meta}
5334
+
5335
+ ${rows}`;
5336
+ }
5337
+ return markdownObject(visible, 0);
5338
+ }
5339
+ function isPaginationWorthShowing(value) {
5340
+ if (typeof value !== "object" || value === null)
5341
+ return false;
5342
+ const page = value;
5343
+ return page.HasMore === true || typeof page.Offset === "number" && page.Offset > 0;
5344
+ }
5345
+ function markdownEnvelopeNotes(data) {
5346
+ const envelope = data;
5347
+ const notes = [];
5348
+ const warning = envelope.Warning;
5349
+ if (typeof warning === "string" && warning !== "") {
5350
+ notes.push(`> **Warning:** ${warning}`);
5351
+ }
5352
+ const instructions = envelope.Instructions;
5353
+ if (typeof instructions === "string" && instructions !== "") {
5354
+ notes.push(`> ${instructions}`);
5355
+ }
5356
+ const pagination = envelope.Pagination;
5357
+ if (isPaginationWorthShowing(pagination)) {
5358
+ const body = markdownObject(pagination, 1);
5359
+ if (body !== "") {
5360
+ notes.push(`${markdownHeading(0)} Pagination
5361
+
5362
+ ${body}`);
5363
+ }
5364
+ }
5365
+ const log = envelope.Log;
5366
+ if (typeof log === "string" && log !== "") {
5367
+ notes.push(`**Log:** ${log}`);
5368
+ }
5369
+ return notes;
5370
+ }
5371
+ function renderMarkdown(data) {
5372
+ if (data.Result !== RESULTS.Success) {
5373
+ const failure = data;
5374
+ const sections = [`**Failed:** ${failure.Message}`];
5375
+ if (failure.Data != null) {
5376
+ sections.push(markdownPayload(failure.Data));
5377
+ }
5378
+ if (failure.Instructions) {
5379
+ sections.push(`> ${failure.Instructions}`);
5380
+ }
5381
+ return sections.filter((section) => section !== "").join(`
5382
+
5383
+ `);
5384
+ }
5385
+ if (!("Data" in data) || data.Data == null) {
5386
+ return markdownObject(withoutPlumbing(data), 0);
5387
+ }
5388
+ return [markdownPayload(data.Data), ...markdownEnvelopeNotes(data)].filter((section) => section !== "").join(`
5389
+
5390
+ `);
5391
+ }
5133
5392
  function toYaml(data) {
5134
5393
  const codec = getYamlCodec();
5135
5394
  if (!codec) {
@@ -6147,6 +6406,19 @@ function getCompleter(target) {
6147
6406
  }
6148
6407
  return;
6149
6408
  }
6409
+ // ../common/src/confirmation.ts
6410
+ function requireConfirmation(flags, operation) {
6411
+ if (flags.yes === true || flags.force === true) {
6412
+ return true;
6413
+ }
6414
+ OutputFormatter.error({
6415
+ Result: RESULTS.Failure,
6416
+ Message: `Confirmation required: this will ${operation} and cannot be undone.`,
6417
+ Instructions: "Re-run with --yes to confirm."
6418
+ });
6419
+ processContext.exit(1);
6420
+ return false;
6421
+ }
6150
6422
  // ../common/src/constants.ts
6151
6423
  var UIPATH_HOME_DIR = ".uipath";
6152
6424
  var CONFIG_FILENAME = "config.json";
@@ -6483,6 +6755,6 @@ var factorySlot = singleton("PackagerFactoryProvider");
6483
6755
  function setPackagerFactoryProvider(provider) {
6484
6756
  factorySlot.set(provider);
6485
6757
  }
6486
- export { redactProperties, catchError, carriedInstructions, formatErrorChain, describeConnectivityError, extractErrorMessageSync, setExitCode, getExitCode, runWithSink, getOutputSink, setGlobalSink, LogLevel, logger, configureLogger, loadOutputCodecsAsync, setOutputFormat, getOutputFormat, setOutputFormatExplicit, getOutputFormatExplicit, setHelpRequested, getHelpRequested, setOutputFilter, takeRecordedCommandFailureTelemetry, buildCommandTerminalTelemetryProperties, detectAgent, detectAgentVersion, buildEnvironmentProperties, setExecutionContextAuthSignal, setGlobalTelemetryProperties, runWithTimings, setTimingCommand, recordExitCode, suppressTimingReport, makeTrackedFetch, setProxyAuthHttpsAgent, isTelemetryDisabled, TELEMETRY_DRAIN_ARGV, setTelemetrySidecarEntry, claimPendingSpoolFiles, releaseClaimedSpoolFile, discardClaimedSpoolFile, sweepTelemetrySpool, getTelemetryIngestionOrigin, telemetry, telemetryInit, telemetryFlushAndShutdown, telemetryShutdownWithoutFlush, carriedErrorCode, carriedRetry, RESULTS, EXIT_CODES, Pagination, validateOutputFilter, OutputFormatter, Command, setPreviewBuild, buildSkillEventTelemetryAttribution, commandTelemetryName, runWithInvocationRequest, emitInvocationRequest, processContext, setProcessContextPollSignal, TELEMETRY_ARG_VALUE_WITHHELD, extractCommandHelp, collectCommands, getCompleter, installConsoleGuard, UIPATH_HOME_DIR, CONFIG_FILENAME, DEFAULT_FETCH_TIMEOUT_MS, resolveEnvReference, setInteractivityMode, setInteractiveFlag, wasInteractiveFlagPassed, canPrompt, parseBoundedInt, splitScopeList, REGISTER_EXPORT, createPollAbortController, setSdkUserAgentHostToken, readStdinWithTimeout, setPackagerFactoryProvider };
6758
+ export { redactProperties, catchError, carriedInstructions, formatErrorChain, describeConnectivityError, extractErrorMessageSync, setExitCode, getExitCode, runWithSink, getOutputSink, setGlobalSink, LogLevel, logger, configureLogger, loadOutputCodecsAsync, setOutputFormat, getOutputFormat, setOutputFormatExplicit, getOutputFormatExplicit, setHelpRequested, getHelpRequested, setOutputFilter, OUTPUT_FORMATS, isOutputFormat, takeRecordedCommandFailureTelemetry, buildCommandTerminalTelemetryProperties, detectAgent, detectAgentVersion, buildEnvironmentProperties, setExecutionContextAuthSignal, setGlobalTelemetryProperties, runWithTimings, setTimingCommand, recordExitCode, suppressTimingReport, makeTrackedFetch, setProxyAuthHttpsAgent, isTelemetryDisabled, TELEMETRY_DRAIN_ARGV, setTelemetrySidecarEntry, claimPendingSpoolFiles, releaseClaimedSpoolFile, discardClaimedSpoolFile, sweepTelemetrySpool, getTelemetryIngestionOrigin, telemetry, telemetryInit, telemetryFlushAndShutdown, telemetryShutdownWithoutFlush, carriedErrorCode, carriedRetry, RESULTS, EXIT_CODES, Pagination, validateOutputFilter, OutputFormatter, Command, setPreviewBuild, buildSkillEventTelemetryAttribution, commandTelemetryName, runWithInvocationRequest, emitInvocationRequest, processContext, setProcessContextPollSignal, TELEMETRY_ARG_VALUE_WITHHELD, extractCommandHelp, collectCommands, getCompleter, requireConfirmation, installConsoleGuard, UIPATH_HOME_DIR, CONFIG_FILENAME, DEFAULT_FETCH_TIMEOUT_MS, resolveEnvReference, setInteractivityMode, setInteractiveFlag, wasInteractiveFlagPassed, canPrompt, parseBoundedInt, splitScopeList, REGISTER_EXPORT, createPollAbortController, setSdkUserAgentHostToken, readStdinWithTimeout, setPackagerFactoryProvider };
6487
6759
 
6488
- //# debugId=7E42C838DDED000764756E2164756E21
6760
+ //# debugId=F60436A5F15C93B464756E2164756E21
@@ -19,16 +19,20 @@ import {
19
19
  TenantSelectionError,
20
20
  TenantSelectionRequiredError,
21
21
  TokenRefreshOAuthError,
22
+ authProfileExistsAsync,
22
23
  authenticate,
23
24
  clearActiveAuthProfile,
24
25
  clearRefreshBreaker,
25
26
  clientCredentialsLogin,
27
+ deleteAuthProfileAsync,
28
+ describeAuthProfilesAsync,
26
29
  federatedCredentialsLogin,
27
30
  fetchTenantsAndOrganizations,
28
31
  getActiveAuthProfile,
29
32
  getActiveAuthProfileFilePath,
30
33
  getAuthContext,
31
34
  getAuthEnv,
35
+ getAuthProfilesRootPath,
32
36
  getLoginStatusAsync,
33
37
  getLoginStatusWithDeps,
34
38
  interactiveLogin,
@@ -37,6 +41,7 @@ import {
37
41
  isRobotAuthEnforced,
38
42
  isTenantSelectionError,
39
43
  isTokenRefreshOAuthFailure,
44
+ listAuthProfileNamesAsync,
40
45
  loadEnvFileAsync,
41
46
  loadRefreshBreaker,
42
47
  logout,
@@ -48,6 +53,7 @@ import {
48
53
  refreshAccessToken,
49
54
  refreshTokenFingerprint,
50
55
  registerRobotClientLoader,
56
+ resolveAuthProfileDirPath,
51
57
  resolveAuthProfileFilePath,
52
58
  resolveEnvFileLocationAsync,
53
59
  resolveEnvFilePathAsync,
@@ -58,7 +64,7 @@ import {
58
64
  selectTenantWithDeps,
59
65
  setActiveAuthProfile,
60
66
  setAuthFileConfig
61
- } from "./index-v5cj0bhj.js";
67
+ } from "./index-vmn69waj.js";
62
68
  import {
63
69
  isBrowser,
64
70
  isNode
@@ -97,16 +103,20 @@ export {
97
103
  TenantSelectionError,
98
104
  TenantSelectionRequiredError,
99
105
  TokenRefreshOAuthError,
106
+ authProfileExistsAsync,
100
107
  authenticate,
101
108
  clearActiveAuthProfile,
102
109
  clearRefreshBreaker,
103
110
  clientCredentialsLogin,
111
+ deleteAuthProfileAsync,
112
+ describeAuthProfilesAsync,
104
113
  federatedCredentialsLogin,
105
114
  fetchTenantsAndOrganizations,
106
115
  getActiveAuthProfile,
107
116
  getActiveAuthProfileFilePath,
108
117
  getAuthContext,
109
118
  getAuthEnv,
119
+ getAuthProfilesRootPath,
110
120
  getLoginStatusAsync,
111
121
  getLoginStatusWithDeps,
112
122
  interactiveLogin,
@@ -117,6 +127,7 @@ export {
117
127
  isRobotAuthEnforced,
118
128
  isTenantSelectionError,
119
129
  isTokenRefreshOAuthFailure,
130
+ listAuthProfileNamesAsync,
120
131
  loadEnvFileAsync,
121
132
  loadRefreshBreaker,
122
133
  logout,
@@ -128,6 +139,7 @@ export {
128
139
  refreshAccessToken,
129
140
  refreshTokenFingerprint,
130
141
  registerRobotClientLoader,
142
+ resolveAuthProfileDirPath,
131
143
  resolveAuthProfileFilePath,
132
144
  resolveEnvFileLocationAsync,
133
145
  resolveEnvFilePathAsync,
@@ -140,4 +152,4 @@ export {
140
152
  setAuthFileConfig
141
153
  };
142
154
 
143
- //# debugId=1C2D79106DAEB9A664756E2164756E21
155
+ //# debugId=D4B556A791F0412A64756E2164756E21