@uipath/api-workflow-tool 1.204.0 → 1.205.0-preview.258

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.
@@ -12,12 +12,12 @@ import {
12
12
  releaseSuppliedArgumentValues,
13
13
  singleton,
14
14
  walkErrorGraph
15
- } from "./packager-tool-cbez71ck.js";
15
+ } from "./packager-tool-evd1kzq2.js";
16
16
  import {
17
17
  __commonJS,
18
18
  __require,
19
19
  __toESM
20
- } from "./packager-tool-1de529jm.js";
20
+ } from "./packager-tool-1yh8g550.js";
21
21
 
22
22
  // ../../node_modules/commander/lib/error.js
23
23
  var require_error = __commonJS(function(exports) {
@@ -2142,7 +2142,7 @@ class NodeFileSystem {
2142
2142
  };
2143
2143
  utils = {
2144
2144
  open: async (url) => {
2145
- const { default: open } = await import("./index-sby22td6.js");
2145
+ const { default: open } = await import("./index-h8cph72k.js");
2146
2146
  await open(url);
2147
2147
  }
2148
2148
  };
@@ -2292,6 +2292,16 @@ class NodeFileSystem {
2292
2292
  async rename(oldPath, newPath) {
2293
2293
  await fs.rename(oldPath, newPath);
2294
2294
  }
2295
+ async isSymbolicLink(filePath) {
2296
+ try {
2297
+ return (await fs.lstat(filePath)).isSymbolicLink();
2298
+ } catch (error) {
2299
+ if (this.isEnoent(error) || this.hasErrnoCode(error, "ENOTDIR")) {
2300
+ return false;
2301
+ }
2302
+ throw error;
2303
+ }
2304
+ }
2295
2305
  async realpath(filePath) {
2296
2306
  try {
2297
2307
  return await fs.realpath(filePath);
@@ -2381,7 +2391,7 @@ function setGlobalLogFilePath(path2) {
2381
2391
  function getGlobalLogFilePath() {
2382
2392
  return logFilePathSlot.get("");
2383
2393
  }
2384
- var DEFAULT_LOG_LEVEL = 3 /* ERROR */;
2394
+ var DEFAULT_LOG_LEVEL = 2 /* WARN */;
2385
2395
 
2386
2396
  class SimpleLogger {
2387
2397
  __brand = "SimpleLogger";
@@ -2819,12 +2829,12 @@ var jmespathSlot = singleton("JmespathCodec");
2819
2829
  async function loadOutputCodecsAsync(needed) {
2820
2830
  const loads = [];
2821
2831
  if (needed.yaml && yamlSlot.get() === undefined) {
2822
- loads.push(import("./js-yaml-rtdrjz2v.js").then((mod) => {
2832
+ loads.push(import("./js-yaml-69tsdrrf.js").then((mod) => {
2823
2833
  yamlSlot.set(mod);
2824
2834
  }));
2825
2835
  }
2826
2836
  if (needed.filter && jmespathSlot.get() === undefined) {
2827
- loads.push(import("./jmespath-231m3hyn.js").then((m)=>__toESM(m.default,1)).then((mod) => {
2837
+ loads.push(import("./jmespath-e4a59c8w.js").then((m)=>__toESM(m.default,1)).then((mod) => {
2828
2838
  jmespathSlot.set(mod);
2829
2839
  }));
2830
2840
  }
@@ -3112,7 +3122,9 @@ var CLI_ERROR_CODES = [
3112
3122
  "timeout",
3113
3123
  "server_error",
3114
3124
  "method_not_allowed",
3125
+ "not_supported",
3115
3126
  "configuration_error",
3127
+ "execution_failed",
3116
3128
  "unknown_error"
3117
3129
  ];
3118
3130
  var RETRY_HINTS = [
@@ -4120,7 +4132,9 @@ var OutputFormatter;
4120
4132
  [ErrorDimensions.Result]: data.Result,
4121
4133
  [ErrorDimensions.ErrorCode]: data.ErrorCode,
4122
4134
  [ErrorDimensions.Retry]: data.Retry,
4123
- [ErrorDimensions.ErrorMessage]: data.Message
4135
+ [ErrorDimensions.ErrorMessage]: data.Message,
4136
+ [ErrorDimensions.HttpStatus]: data.Context?.httpStatus?.toString(),
4137
+ [ErrorDimensions.UpstreamErrorCode]: data.Context?.errorCode
4124
4138
  });
4125
4139
  }
4126
4140
  logOutput(normalizeOutputKeys(envelope), getOutputFormat());
@@ -4792,6 +4806,10 @@ var ScreenLogger;
4792
4806
  }
4793
4807
  ScreenLogger.progress = progress;
4794
4808
  })(ScreenLogger ||= {});
4809
+ // ../common/src/shell-quote.ts
4810
+ function quoteForShell(value) {
4811
+ return `'${value.replace(/'/g, "'\\''")}'`;
4812
+ }
4795
4813
  // ../common/src/solution-project-types.ts
4796
4814
  var LIBRARY_NOT_A_PROJECT = "A library cannot be a project inside a solution — it is a reusable .nupkg that other projects consume as a NuGet dependency, not a deployable unit. Build and publish it on its own ('uip rpa pack <project-dir> <output-path>', then 'uip or libraries upload --file <nupkg-path>'), and reference it from a project's dependencies. To make the published library part of this solution, add it as a resource instead: 'uip solution resources add --source remote --kind Library --name <library-name>'.";
4797
4815
  function unsupportedSolutionProjectType(projectType) {
@@ -4804,6 +4822,6 @@ function unsupportedSolutionProjectType(projectType) {
4804
4822
  var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
4805
4823
  // ../common/src/tool-provider.ts
4806
4824
  var factorySlot = singleton("PackagerFactoryProvider");
4807
- export { NodeFileSystem, getFileSystem, logger, DebugTelemetryProvider, NodeContextStorage, RESULTS, SuccessOutput, FailureOutput, OutputFormatter, Command, processContext, registerPackageMetadataOptions, mapPackageMetadataOptions, unsupportedSolutionProjectType };
4825
+ export { NodeFileSystem, getFileSystem, logger, DebugTelemetryProvider, NodeContextStorage, RESULTS, SuccessOutput, FailureOutput, OutputFormatter, Command, Option, processContext, registerPackageMetadataOptions, mapPackageMetadataOptions, quoteForShell, unsupportedSolutionProjectType };
4808
4826
 
4809
- //# debugId=D2B7020EA6B59C3E64756E2164756E21
4827
+ //# debugId=6B2CD8DEE305984F64756E2164756E21
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  registerPackagerFactories
3
- } from "./packager-tool-1n0det9t.js";
4
- import"./packager-tool-fm7ese0m.js";
5
- import"./packager-tool-1de529jm.js";
3
+ } from "./packager-tool-bgy9gdsp.js";
4
+ import"./packager-tool-f7zta1kg.js";
5
+ import"./packager-tool-1yh8g550.js";
6
6
  export {
7
7
  registerPackagerFactories
8
8
  };
package/dist/tool.js CHANGED
@@ -1,17 +1,18 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-wged619d.js";
5
- import"./packager-tool-1n0det9t.js";
6
- import"./packager-tool-fm7ese0m.js";
7
- import"./packager-tool-gg1c1x4t.js";
8
- import"./packager-tool-qh3bbws2.js";
9
- import"./packager-tool-cbez71ck.js";
4
+ } from "./packager-tool-56y4axsc.js";
5
+ import"./packager-tool-bgy9gdsp.js";
6
+ import"./packager-tool-f7zta1kg.js";
7
+ import"./packager-tool-kh3aq9n7.js";
8
+ import"./packager-tool-xak3m9vd.js";
9
+ import"./packager-tool-evd1kzq2.js";
10
+ import"./packager-tool-0aacqssr.js";
10
11
  import"./packager-tool-d3w0wn6k.js";
11
- import"./packager-tool-1de529jm.js";
12
+ import"./packager-tool-1yh8g550.js";
12
13
  export {
13
14
  metadata,
14
15
  registerCommands
15
16
  };
16
17
 
17
- //# debugId=42C3BEB1C541488264756E2164756E21
18
+ //# debugId=E2C761283604C84064756E2164756E21
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/api-workflow-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.204.0",
5
+ "version": "1.205.0-preview.258",
6
6
  "description": "Run UiPath API Workflows locally.",
7
7
  "private": false,
8
8
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "699c58dabb59414557755a8933bcbe40aa420df3"
29
+ "gitHead": "8f629ee9fa89abf94f197436a60cb3b9620f8b27"
30
30
  }