@uipath/cli 1.205.0-preview.281 → 1.206.0-preview.282

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.
Files changed (76) hide show
  1. package/dist/{applicationinsights-s28k1t0d.js → applicationinsights-pwe8sf3y.js} +1269 -1269
  2. package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-p5fhwxqj.js} +6 -7
  3. package/dist/cli-s27j1n5p.js +23 -0
  4. package/dist/contentStore-m1z06vbp.js +41 -0
  5. package/dist/environmentInfo-687282b3.js +71 -0
  6. package/dist/feedbackPrompts-t1enxv1x.js +144 -0
  7. package/dist/handlers-93z27zrr.js +805 -0
  8. package/dist/index-090cbg51.js +72 -0
  9. package/dist/index-16d4evd1.js +1051 -0
  10. package/dist/index-1vyte4ma.js +14 -0
  11. package/dist/index-1z45q8dr.js +365 -0
  12. package/dist/index-21kns9qg.js +10 -0
  13. package/dist/{index-30618bjs.js → index-2mm750yx.js} +174 -234
  14. package/dist/{index-622x1qb5.js → index-3fvbddpw.js} +7092 -7092
  15. package/dist/{index-d3w0wn6k.js → index-5gce5wfd.js} +16 -16
  16. package/dist/index-5j0bfd3e.js +4744 -0
  17. package/dist/index-5r4q8h0q.js +30 -0
  18. package/dist/index-68xmrb9x.js +237 -0
  19. package/dist/index-6wj58qka.js +59 -0
  20. package/dist/index-99emfvtm.js +13 -0
  21. package/dist/{index-pj3g8ftz.js → index-9db5vwx9.js} +2429 -1693
  22. package/dist/index-ayg25v46.js +151 -0
  23. package/dist/index-bf0e4evz.js +6180 -0
  24. package/dist/index-bpqx6f8h.js +92 -0
  25. package/dist/index-bpxh3fqv.js +392 -0
  26. package/dist/index-c6fsnn8s.js +200 -0
  27. package/dist/{index-m5nwse9v.js → index-cj4v0jct.js} +21 -69
  28. package/dist/index-ckafghar.js +274 -0
  29. package/dist/{index-469jgr1w.js → index-dsj3jrm0.js} +105 -106
  30. package/dist/{index-1yh8g550.js → index-epsr41wx.js} +8 -12
  31. package/dist/index-gbdz3pb5.js +668 -0
  32. package/dist/{index-yb4er9vd.js → index-jjejkkg4.js} +474 -528
  33. package/dist/index-jmz7bmca.js +1327 -0
  34. package/dist/{index-wwyf05nx.js → index-k9t8g78x.js} +331 -2595
  35. package/dist/index-kg1xrq51.js +171 -0
  36. package/dist/index-m8vqyv3g.js +72 -0
  37. package/dist/index-nht90rae.js +45 -0
  38. package/dist/index-nsrrst23.js +44 -0
  39. package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
  40. package/dist/index-qadhm1gn.js +271 -0
  41. package/dist/index-qwbyt2q5.js +95 -0
  42. package/dist/index-rr5hdtcy.js +95 -0
  43. package/dist/{index-qa9gftnj.js → index-xd2w5pct.js} +3 -3
  44. package/dist/{index-925304r7.js → index-y085rpen.js} +29 -25
  45. package/dist/index-y5ncb93a.js +240 -0
  46. package/dist/index-y7d0cth0.js +93 -0
  47. package/dist/{index-hdxtgckw.js → index-z070caqq.js} +56 -12
  48. package/dist/index-zdqbp34f.js +14 -0
  49. package/dist/index.js +38 -36
  50. package/dist/install-3gw33jcf.js +558 -0
  51. package/dist/{jmespath-e4a59c8w.js → jmespath-ab6tdc42.js} +1 -1
  52. package/dist/js-yaml-0c4svjwq.js +36 -0
  53. package/dist/{mcp-jssaz3wr.js → mcp-s50h6d56.js} +236 -472
  54. package/dist/{node-strategy-ggx3nmyj.js → node-strategy-p1n8wr5s.js} +16 -19
  55. package/dist/project-context-285hydnd.js +94 -0
  56. package/dist/prompt-yxpm7mfr.js +13 -0
  57. package/dist/{server-7jza1fyx.js → server-900wc6vc.js} +28 -43
  58. package/dist/skillCatalog-d1t2qec8.js +22 -0
  59. package/dist/skillsService-tpvbx5g8.js +29 -0
  60. package/dist/{stdio-tmngemcz.js → stdio-kpsab5bz.js} +2 -4
  61. package/dist/{telemetry-drain-r92f0e4r.js → telemetry-drain-bw59e8f5.js} +8 -9
  62. package/dist/tree-j4w7p0pg.js +17 -0
  63. package/dist/updateService-mt6d51p1.js +522 -0
  64. package/dist/updateService.skills-491vfgt8.js +22 -0
  65. package/dist/updateService.tools-f7tr6kc6.js +16 -0
  66. package/package.json +2 -2
  67. package/dist/cli-kyp49kdm.js +0 -19
  68. package/dist/index-0gctz400.js +0 -17
  69. package/dist/index-4cq44eth.js +0 -19427
  70. package/dist/index-7tshyfxx.js +0 -157
  71. package/dist/index-g8ck9tv6.js +0 -2
  72. package/dist/index-ngs0a2he.js +0 -15
  73. package/dist/index-pr8kzdte.js +0 -9867
  74. package/dist/index-yc4kw997.js +0 -13
  75. package/dist/js-yaml-69tsdrrf.js +0 -37
  76. package/dist/updateService-t3yq8936.js +0 -14
@@ -1,9 +1,5 @@
1
- import {
2
- __require
3
- } from "./index-1yh8g550.js";
4
-
5
1
  // ../filesystem/src/node.ts
6
- import { randomUUID } from "node:crypto";
2
+ import { createHash, randomUUID } from "node:crypto";
7
3
  import { existsSync } from "node:fs";
8
4
  import * as fs from "node:fs/promises";
9
5
  import * as os from "node:os";
@@ -14,6 +10,9 @@ var LOCK_MAX_WAIT_MS = 20000;
14
10
  var LOCK_MAX_HOLD_MS = 60000;
15
11
  var LOCK_RETRY_MIN_MS = 100;
16
12
  var LOCK_RETRY_JITTER_MS = 200;
13
+ var HASH_CHUNK_BYTES = 256 * 1024;
14
+ var hashBuffers = [];
15
+ var HASH_BUFFERS_KEPT = 64;
17
16
 
18
17
  class NodeFileSystem {
19
18
  path = {
@@ -32,7 +31,7 @@ class NodeFileSystem {
32
31
  };
33
32
  utils = {
34
33
  open: async (url) => {
35
- const { default: open } = await import("./index-h8cph72k.js");
34
+ const { default: open } = await import("./index-nzr4mx5p.js");
36
35
  await open(url);
37
36
  }
38
37
  };
@@ -71,6 +70,15 @@ class NodeFileSystem {
71
70
  throw error;
72
71
  }
73
72
  }
73
+ async readdirEntries(dirPath) {
74
+ try {
75
+ return await fs.readdir(dirPath, { withFileTypes: true });
76
+ } catch (error) {
77
+ if (this.isEnoent(error))
78
+ return [];
79
+ throw error;
80
+ }
81
+ }
74
82
  async stat(filePath) {
75
83
  try {
76
84
  const stats = await fs.stat(filePath);
@@ -78,7 +86,8 @@ class NodeFileSystem {
78
86
  isFile: () => stats.isFile(),
79
87
  isDirectory: () => stats.isDirectory(),
80
88
  size: stats.size,
81
- mtimeMs: stats.mtimeMs
89
+ mtimeMs: stats.mtimeMs,
90
+ ctimeMs: stats.ctimeMs
82
91
  };
83
92
  } catch (error) {
84
93
  if (this.isEnoent(error))
@@ -192,6 +201,42 @@ class NodeFileSystem {
192
201
  throw error;
193
202
  }
194
203
  }
204
+ async hashFile(filePath) {
205
+ let handle;
206
+ try {
207
+ handle = await fs.open(filePath, "r");
208
+ } catch (error) {
209
+ if (this.isEnoent(error))
210
+ return null;
211
+ throw error;
212
+ }
213
+ const buffer = hashBuffers.pop() ?? Buffer.allocUnsafe(HASH_CHUNK_BYTES);
214
+ try {
215
+ const opened = await handle.stat();
216
+ const stats = {
217
+ isFile: () => opened.isFile(),
218
+ isDirectory: () => opened.isDirectory(),
219
+ size: opened.size,
220
+ mtimeMs: opened.mtimeMs,
221
+ ctimeMs: opened.ctimeMs
222
+ };
223
+ const hash = createHash("sha256");
224
+ let size = 0;
225
+ for (;; ) {
226
+ const { bytesRead } = await handle.read(buffer, 0, buffer.byteLength, null);
227
+ if (bytesRead === 0)
228
+ break;
229
+ hash.update(buffer.subarray(0, bytesRead));
230
+ size += bytesRead;
231
+ }
232
+ return { sha256: hash.digest("hex"), size, stats };
233
+ } finally {
234
+ if (hashBuffers.length < HASH_BUFFERS_KEPT) {
235
+ hashBuffers.push(buffer);
236
+ }
237
+ await handle.close();
238
+ }
239
+ }
195
240
  async realpath(filePath) {
196
241
  try {
197
242
  return await fs.realpath(filePath);
@@ -240,10 +285,9 @@ class NodeFileSystem {
240
285
 
241
286
  // ../filesystem/src/index.ts
242
287
  var fsInstance = new NodeFileSystem;
243
- var setFileSystem = (_fs) => () => {};
244
- var getFileSystem = () => fsInstance;
245
- var getFileSystemAsync = async () => fsInstance;
288
+ var getFileSystem2 = () => fsInstance;
289
+ var getFileSystemAsync2 = async () => fsInstance;
246
290
 
247
- export { NodeFileSystem, setFileSystem, getFileSystem, getFileSystemAsync };
291
+ export { getFileSystem2, getFileSystemAsync2 };
248
292
 
249
- //# debugId=1DD0126610F78D8964756E2164756E21
293
+ //# debugId=69A68E101956586864756E2164756E21
@@ -0,0 +1,14 @@
1
+ // ../auth/src/utils/platform.ts
2
+ function isBrowser2() {
3
+ return typeof globalThis !== "undefined" && "window" in globalThis && "document" in globalThis;
4
+ }
5
+ function getGlobalThis() {
6
+ if (typeof globalThis !== "undefined") {
7
+ return globalThis;
8
+ }
9
+ return;
10
+ }
11
+
12
+ export { isBrowser2, getGlobalThis };
13
+
14
+ //# debugId=BB900EA7514A888D64756E2164756E21
package/dist/index.js CHANGED
@@ -1,37 +1,41 @@
1
1
  #!/usr/bin/env node
2
+ import"./index-z070caqq.js";
2
3
  import {
3
- runNode
4
- } from "./index-wwyf05nx.js";
5
- import {
6
- registerRobotClientLoader
7
- } from "./index-30618bjs.js";
8
- import {
9
- ensureSystemCaTrustAsync
10
- } from "./index-pr8kzdte.js";
11
- import {
12
- TELEMETRY_DRAIN_ARGV,
13
- configureLogger,
14
- createPollAbortController,
15
- getExitCode,
16
- installConsoleGuard,
17
4
  logger,
5
+ configureLogger,
6
+ recordHostExit,
18
7
  makeTrackedFetch,
19
- setExitCode,
20
- setProcessContextPollSignal,
21
8
  setProxyAuthHttpsAgent,
22
- setTelemetrySidecarEntry
23
- } from "./index-pj3g8ftz.js";
24
- import"./index-g8ck9tv6.js";
25
- import"./index-4cq44eth.js";
26
- import"./index-d3w0wn6k.js";
27
- import"./index-0gctz400.js";
28
- import"./index-qa9gftnj.js";
29
- import"./index-hdxtgckw.js";
30
- import"./index-yc4kw997.js";
9
+ TELEMETRY_DRAIN_ARGV,
10
+ setTelemetrySidecarEntry,
11
+ setProcessContextPollSignal,
12
+ installConsoleGuard,
13
+ createPollAbortController
14
+ } from "./index-9db5vwx9.js";
15
+ import"./index-99emfvtm.js";
31
16
  import {
32
- __require,
33
- __toESM
34
- } from "./index-1yh8g550.js";
17
+ registerRobotClientLoader2
18
+ } from "./index-2mm750yx.js";
19
+ import {
20
+ runNode
21
+ } from "./index-k9t8g78x.js";
22
+ import"./index-qadhm1gn.js";
23
+ import"./index-bpxh3fqv.js";
24
+ import"./index-68xmrb9x.js";
25
+ import"./index-gbdz3pb5.js";
26
+ import {
27
+ ensureSystemCaTrustAsync
28
+ } from "./index-qwbyt2q5.js";
29
+ import"./index-16d4evd1.js";
30
+ import"./index-kg1xrq51.js";
31
+ import"./index-nht90rae.js";
32
+ import"./index-6wj58qka.js";
33
+ import"./index-bpqx6f8h.js";
34
+ import"./index-ayg25v46.js";
35
+ import {
36
+ __toESM,
37
+ __require
38
+ } from "./index-epsr41wx.js";
35
39
 
36
40
  // src/suppress-dep-warnings.ts
37
41
  var originalEmitWarning = process.emitWarning;
@@ -54,7 +58,7 @@ if (typeof realFetch === "function") {
54
58
  }
55
59
 
56
60
  // src/register-robot-client.ts
57
- registerRobotClientLoader(() => import("./index-622x1qb5.js").then((m)=>__toESM(m.default,1)));
61
+ registerRobotClientLoader2(() => import("./index-3fvbddpw.js").then((m)=>__toESM(m.default,1)));
58
62
 
59
63
  // src/proxy-support.ts
60
64
  var hasProxy = process.env.HTTP_PROXY || process.env.HTTPS_PROXY || process.env.http_proxy || process.env.https_proxy;
@@ -64,7 +68,7 @@ function isModuleNotFound(e) {
64
68
  async function setUpIntegratedProxyAuth() {
65
69
  let undici;
66
70
  try {
67
- undici = await import("./index-yb4er9vd.js");
71
+ undici = await import("./index-jjejkkg4.js");
68
72
  } catch (e) {
69
73
  if (isModuleNotFound(e)) {
70
74
  undici = undefined;
@@ -72,7 +76,7 @@ async function setUpIntegratedProxyAuth() {
72
76
  throw e;
73
77
  }
74
78
  }
75
- const { installIntegratedProxyAuth } = await import("./index-469jgr1w.js");
79
+ const { installIntegratedProxyAuth } = await import("./index-dsj3jrm0.js");
76
80
  const result = await installIntegratedProxyAuth(undici);
77
81
  if (result.status === "installed") {
78
82
  setProxyAuthHttpsAgent(result.httpsAgent);
@@ -143,9 +147,7 @@ var run = async (args) => {
143
147
  isInteractive: process.stdout.isTTY ?? false
144
148
  },
145
149
  exit: (code) => {
146
- if (code !== 0 || getExitCode() === 0) {
147
- setExitCode(code);
148
- }
150
+ recordHostExit(code);
149
151
  },
150
152
  capabilities: {
151
153
  isBrowser: false
@@ -160,7 +162,7 @@ var isMain = __require.main == __require.module ?? process.argv[1] === currentFi
160
162
  if (isMain) {
161
163
  setTelemetrySidecarEntry(currentFile);
162
164
  if (process.argv[2] === TELEMETRY_DRAIN_ARGV) {
163
- const { drainPendingTelemetry } = await import("./telemetry-drain-r92f0e4r.js");
165
+ const { drainPendingTelemetry } = await import("./telemetry-drain-bw59e8f5.js");
164
166
  await drainPendingTelemetry();
165
167
  process.exit(0);
166
168
  }
@@ -171,4 +173,4 @@ export {
171
173
  run
172
174
  };
173
175
 
174
- //# debugId=91184DEA89EACF1D64756E2164756E21
176
+ //# debugId=629241929F9AB3BC64756E2164756E21