@uipath/context-grounding-tool 1.1.0 → 1.195.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/tool.js +1154 -348
- package/package.json +30 -35
package/dist/tool.js
CHANGED
|
@@ -1,44 +1,4 @@
|
|
|
1
|
-
// ../uipath-python-bridge/dist/index.js
|
|
2
1
|
import { createRequire } from "node:module";
|
|
3
|
-
import fs from "node:fs";
|
|
4
|
-
import fs2 from "node:fs";
|
|
5
|
-
import process2 from "node:process";
|
|
6
|
-
import os from "node:os";
|
|
7
|
-
import fs3 from "node:fs";
|
|
8
|
-
import process3 from "node:process";
|
|
9
|
-
import { Buffer as Buffer2 } from "node:buffer";
|
|
10
|
-
import { promisify } from "node:util";
|
|
11
|
-
import childProcess from "node:child_process";
|
|
12
|
-
import { promisify as promisify2 } from "node:util";
|
|
13
|
-
import childProcess2 from "node:child_process";
|
|
14
|
-
import fs4, { constants as fsConstants } from "node:fs/promises";
|
|
15
|
-
import { promisify as promisify3 } from "node:util";
|
|
16
|
-
import process4 from "node:process";
|
|
17
|
-
import { execFile as execFile3 } from "node:child_process";
|
|
18
|
-
import process5 from "node:process";
|
|
19
|
-
import { promisify as promisify4 } from "node:util";
|
|
20
|
-
import { execFile as execFile4, execFileSync } from "node:child_process";
|
|
21
|
-
import { promisify as promisify5 } from "node:util";
|
|
22
|
-
import { execFile as execFile5 } from "node:child_process";
|
|
23
|
-
import { promisify as promisify6 } from "node:util";
|
|
24
|
-
import process6 from "node:process";
|
|
25
|
-
import { execFile as execFile6 } from "node:child_process";
|
|
26
|
-
import process7 from "node:process";
|
|
27
|
-
import process8 from "node:process";
|
|
28
|
-
import path from "node:path";
|
|
29
|
-
import { fileURLToPath } from "node:url";
|
|
30
|
-
import childProcess3 from "node:child_process";
|
|
31
|
-
import fs5, { constants as fsConstants2 } from "node:fs/promises";
|
|
32
|
-
import { existsSync } from "node:fs";
|
|
33
|
-
import * as fs6 from "node:fs/promises";
|
|
34
|
-
import * as os2 from "node:os";
|
|
35
|
-
import * as path2 from "node:path";
|
|
36
|
-
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
37
|
-
import { AsyncLocalStorage } from "node:async_hooks";
|
|
38
|
-
import vm from "vm";
|
|
39
|
-
import { spawn } from "node:child_process";
|
|
40
|
-
import { spawn as spawn2 } from "node:child_process";
|
|
41
|
-
import { platform as platform2 } from "node:os";
|
|
42
2
|
var __create = Object.create;
|
|
43
3
|
var __getProtoOf = Object.getPrototypeOf;
|
|
44
4
|
var __defProp = Object.defineProperty;
|
|
@@ -72,6 +32,9 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
72
32
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
73
33
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
74
34
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
35
|
+
|
|
36
|
+
// ../../node_modules/is-inside-container/node_modules/is-docker/index.js
|
|
37
|
+
import fs from "node:fs";
|
|
75
38
|
function hasDockerEnv() {
|
|
76
39
|
try {
|
|
77
40
|
fs.statSync("/.dockerenv");
|
|
@@ -95,14 +58,16 @@ function isDocker() {
|
|
|
95
58
|
}
|
|
96
59
|
var isDockerCached;
|
|
97
60
|
var init_is_docker = () => {};
|
|
61
|
+
|
|
62
|
+
// ../../node_modules/is-inside-container/index.js
|
|
63
|
+
import fs2 from "node:fs";
|
|
98
64
|
function isInsideContainer() {
|
|
99
65
|
if (cachedResult === undefined) {
|
|
100
66
|
cachedResult = hasContainerEnv() || isDocker();
|
|
101
67
|
}
|
|
102
68
|
return cachedResult;
|
|
103
69
|
}
|
|
104
|
-
var cachedResult
|
|
105
|
-
var hasContainerEnv = () => {
|
|
70
|
+
var cachedResult, hasContainerEnv = () => {
|
|
106
71
|
try {
|
|
107
72
|
fs2.statSync("/run/.containerenv");
|
|
108
73
|
return true;
|
|
@@ -113,6 +78,11 @@ var hasContainerEnv = () => {
|
|
|
113
78
|
var init_is_inside_container = __esm(() => {
|
|
114
79
|
init_is_docker();
|
|
115
80
|
});
|
|
81
|
+
|
|
82
|
+
// ../../node_modules/wsl-utils/node_modules/is-wsl/index.js
|
|
83
|
+
import process2 from "node:process";
|
|
84
|
+
import os from "node:os";
|
|
85
|
+
import fs3 from "node:fs";
|
|
116
86
|
var isWsl = () => {
|
|
117
87
|
if (process2.platform !== "linux") {
|
|
118
88
|
return false;
|
|
@@ -132,15 +102,18 @@ var isWsl = () => {
|
|
|
132
102
|
return !isInsideContainer();
|
|
133
103
|
}
|
|
134
104
|
return false;
|
|
135
|
-
};
|
|
136
|
-
var is_wsl_default;
|
|
105
|
+
}, is_wsl_default;
|
|
137
106
|
var init_is_wsl = __esm(() => {
|
|
138
107
|
init_is_inside_container();
|
|
139
108
|
is_wsl_default = process2.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
140
109
|
});
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
110
|
+
|
|
111
|
+
// ../../node_modules/powershell-utils/index.js
|
|
112
|
+
import process3 from "node:process";
|
|
113
|
+
import { Buffer as Buffer2 } from "node:buffer";
|
|
114
|
+
import { promisify } from "node:util";
|
|
115
|
+
import childProcess from "node:child_process";
|
|
116
|
+
var execFile, powerShellPath = () => `${process3.env.SYSTEMROOT || process3.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`, executePowerShell = async (command, options = {}) => {
|
|
144
117
|
const {
|
|
145
118
|
powerShellPath: psPath,
|
|
146
119
|
...execFileOptions
|
|
@@ -166,6 +139,8 @@ var init_powershell_utils = __esm(() => {
|
|
|
166
139
|
executePowerShell.encodeCommand = (command) => Buffer2.from(command, "utf16le").toString("base64");
|
|
167
140
|
executePowerShell.escapeArgument = (value) => `'${String(value).replaceAll("'", "''")}'`;
|
|
168
141
|
});
|
|
142
|
+
|
|
143
|
+
// ../../node_modules/wsl-utils/utilities.js
|
|
169
144
|
function parseMountPointFromConfig(content) {
|
|
170
145
|
for (const line of content.split(`
|
|
171
146
|
`)) {
|
|
@@ -179,15 +154,15 @@ function parseMountPointFromConfig(content) {
|
|
|
179
154
|
return match.groups.mountPoint.trim().replaceAll(/^["']|["']$/g, "");
|
|
180
155
|
}
|
|
181
156
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
157
|
+
|
|
158
|
+
// ../../node_modules/wsl-utils/index.js
|
|
159
|
+
import { promisify as promisify2 } from "node:util";
|
|
160
|
+
import childProcess2 from "node:child_process";
|
|
161
|
+
import fs4, { constants as fsConstants } from "node:fs/promises";
|
|
162
|
+
var execFile2, wslDrivesMountPoint, powerShellPathFromWsl = async () => {
|
|
185
163
|
const mountPoint = await wslDrivesMountPoint();
|
|
186
164
|
return `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`;
|
|
187
|
-
}
|
|
188
|
-
var powerShellPath2;
|
|
189
|
-
var canAccessPowerShellPromise;
|
|
190
|
-
var canAccessPowerShell = async () => {
|
|
165
|
+
}, powerShellPath2, canAccessPowerShellPromise, canAccessPowerShell = async () => {
|
|
191
166
|
canAccessPowerShellPromise ??= (async () => {
|
|
192
167
|
try {
|
|
193
168
|
const psPath = await powerShellPath2();
|
|
@@ -198,22 +173,20 @@ var canAccessPowerShell = async () => {
|
|
|
198
173
|
}
|
|
199
174
|
})();
|
|
200
175
|
return canAccessPowerShellPromise;
|
|
201
|
-
}
|
|
202
|
-
var wslDefaultBrowser = async () => {
|
|
176
|
+
}, wslDefaultBrowser = async () => {
|
|
203
177
|
const psPath = await powerShellPath2();
|
|
204
178
|
const command = String.raw`(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice").ProgId`;
|
|
205
179
|
const { stdout } = await executePowerShell(command, { powerShellPath: psPath });
|
|
206
180
|
return stdout.trim();
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
return path3;
|
|
181
|
+
}, convertWslPathToWindows = async (path) => {
|
|
182
|
+
if (/^[a-z]+:\/\//i.test(path)) {
|
|
183
|
+
return path;
|
|
211
184
|
}
|
|
212
185
|
try {
|
|
213
|
-
const { stdout } = await execFile2("wslpath", ["-aw",
|
|
186
|
+
const { stdout } = await execFile2("wslpath", ["-aw", path], { encoding: "utf8" });
|
|
214
187
|
return stdout.trim();
|
|
215
188
|
} catch {
|
|
216
|
-
return
|
|
189
|
+
return path;
|
|
217
190
|
}
|
|
218
191
|
};
|
|
219
192
|
var init_wsl_utils = __esm(() => {
|
|
@@ -249,6 +222,8 @@ var init_wsl_utils = __esm(() => {
|
|
|
249
222
|
})();
|
|
250
223
|
powerShellPath2 = is_wsl_default ? powerShellPathFromWsl : powerShellPath;
|
|
251
224
|
});
|
|
225
|
+
|
|
226
|
+
// ../../node_modules/open/node_modules/define-lazy-prop/index.js
|
|
252
227
|
function defineLazyProperty(object, propertyName, valueGetter) {
|
|
253
228
|
const define2 = (value) => Object.defineProperty(object, propertyName, { value, enumerable: true, writable: true });
|
|
254
229
|
Object.defineProperty(object, propertyName, {
|
|
@@ -265,6 +240,11 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
265
240
|
});
|
|
266
241
|
return object;
|
|
267
242
|
}
|
|
243
|
+
|
|
244
|
+
// ../../node_modules/default-browser-id/index.js
|
|
245
|
+
import { promisify as promisify3 } from "node:util";
|
|
246
|
+
import process4 from "node:process";
|
|
247
|
+
import { execFile as execFile3 } from "node:child_process";
|
|
268
248
|
async function defaultBrowserId() {
|
|
269
249
|
if (process4.platform !== "darwin") {
|
|
270
250
|
throw new Error("macOS only");
|
|
@@ -281,6 +261,11 @@ var execFileAsync;
|
|
|
281
261
|
var init_default_browser_id = __esm(() => {
|
|
282
262
|
execFileAsync = promisify3(execFile3);
|
|
283
263
|
});
|
|
264
|
+
|
|
265
|
+
// ../../node_modules/run-applescript/index.js
|
|
266
|
+
import process5 from "node:process";
|
|
267
|
+
import { promisify as promisify4 } from "node:util";
|
|
268
|
+
import { execFile as execFile4, execFileSync } from "node:child_process";
|
|
284
269
|
async function runAppleScript(script, { humanReadableOutput = true, signal } = {}) {
|
|
285
270
|
if (process5.platform !== "darwin") {
|
|
286
271
|
throw new Error("macOS only");
|
|
@@ -297,6 +282,8 @@ var execFileAsync2;
|
|
|
297
282
|
var init_run_applescript = __esm(() => {
|
|
298
283
|
execFileAsync2 = promisify4(execFile4);
|
|
299
284
|
});
|
|
285
|
+
|
|
286
|
+
// ../../node_modules/bundle-name/index.js
|
|
300
287
|
async function bundleName(bundleId) {
|
|
301
288
|
return runAppleScript(`tell application "Finder" to set app_path to application file id "${bundleId}" as string
|
|
302
289
|
tell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`);
|
|
@@ -304,6 +291,10 @@ tell application "System Events" to get value of property list item "CFBundleNam
|
|
|
304
291
|
var init_bundle_name = __esm(() => {
|
|
305
292
|
init_run_applescript();
|
|
306
293
|
});
|
|
294
|
+
|
|
295
|
+
// ../../node_modules/default-browser/windows.js
|
|
296
|
+
import { promisify as promisify5 } from "node:util";
|
|
297
|
+
import { execFile as execFile5 } from "node:child_process";
|
|
307
298
|
async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
308
299
|
const { stdout } = await _execFileAsync("reg", [
|
|
309
300
|
"QUERY",
|
|
@@ -322,10 +313,7 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
|
322
313
|
const baseIdByHyphen = hyphenIndex === -1 ? undefined : id.slice(0, hyphenIndex);
|
|
323
314
|
return windowsBrowserProgIds[id] ?? windowsBrowserProgIds[baseIdByDot] ?? windowsBrowserProgIds[baseIdByHyphen] ?? { name: id, id };
|
|
324
315
|
}
|
|
325
|
-
var execFileAsync3;
|
|
326
|
-
var windowsBrowserProgIds;
|
|
327
|
-
var _windowsBrowserProgIdMap;
|
|
328
|
-
var UnknownBrowserError;
|
|
316
|
+
var execFileAsync3, windowsBrowserProgIds, _windowsBrowserProgIdMap, UnknownBrowserError;
|
|
329
317
|
var init_windows = __esm(() => {
|
|
330
318
|
execFileAsync3 = promisify5(execFile5);
|
|
331
319
|
windowsBrowserProgIds = {
|
|
@@ -347,9 +335,14 @@ var init_windows = __esm(() => {
|
|
|
347
335
|
"IE.HTTP": { name: "Internet Explorer", id: "com.microsoft.ie" }
|
|
348
336
|
};
|
|
349
337
|
_windowsBrowserProgIdMap = new Map(Object.entries(windowsBrowserProgIds));
|
|
350
|
-
UnknownBrowserError = class
|
|
338
|
+
UnknownBrowserError = class UnknownBrowserError extends Error {
|
|
351
339
|
};
|
|
352
340
|
});
|
|
341
|
+
|
|
342
|
+
// ../../node_modules/default-browser/index.js
|
|
343
|
+
import { promisify as promisify6 } from "node:util";
|
|
344
|
+
import process6 from "node:process";
|
|
345
|
+
import { execFile as execFile6 } from "node:child_process";
|
|
353
346
|
async function defaultBrowser2() {
|
|
354
347
|
if (process6.platform === "darwin") {
|
|
355
348
|
const id = await defaultBrowserId();
|
|
@@ -367,8 +360,7 @@ async function defaultBrowser2() {
|
|
|
367
360
|
}
|
|
368
361
|
throw new Error("Only macOS, Linux, and Windows are supported");
|
|
369
362
|
}
|
|
370
|
-
var execFileAsync4;
|
|
371
|
-
var titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x) => x.toUpperCase());
|
|
363
|
+
var execFileAsync4, titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x) => x.toUpperCase());
|
|
372
364
|
var init_default_browser = __esm(() => {
|
|
373
365
|
init_default_browser_id();
|
|
374
366
|
init_bundle_name();
|
|
@@ -376,12 +368,21 @@ var init_default_browser = __esm(() => {
|
|
|
376
368
|
init_windows();
|
|
377
369
|
execFileAsync4 = promisify6(execFile6);
|
|
378
370
|
});
|
|
379
|
-
|
|
380
|
-
|
|
371
|
+
|
|
372
|
+
// ../../node_modules/is-in-ssh/index.js
|
|
373
|
+
import process7 from "node:process";
|
|
374
|
+
var isInSsh, is_in_ssh_default;
|
|
381
375
|
var init_is_in_ssh = __esm(() => {
|
|
382
376
|
isInSsh = Boolean(process7.env.SSH_CONNECTION || process7.env.SSH_CLIENT || process7.env.SSH_TTY);
|
|
383
377
|
is_in_ssh_default = isInSsh;
|
|
384
378
|
});
|
|
379
|
+
|
|
380
|
+
// ../../node_modules/open/index.js
|
|
381
|
+
import process8 from "node:process";
|
|
382
|
+
import path from "node:path";
|
|
383
|
+
import { fileURLToPath } from "node:url";
|
|
384
|
+
import childProcess3 from "node:child_process";
|
|
385
|
+
import fs5, { constants as fsConstants2 } from "node:fs/promises";
|
|
385
386
|
function detectArchBinary(binary) {
|
|
386
387
|
if (typeof binary === "string" || Array.isArray(binary)) {
|
|
387
388
|
return binary;
|
|
@@ -401,12 +402,7 @@ function detectPlatformBinary({ [platform]: platformBinary }, { wsl } = {}) {
|
|
|
401
402
|
}
|
|
402
403
|
return detectArchBinary(platformBinary);
|
|
403
404
|
}
|
|
404
|
-
var fallbackAttemptSymbol
|
|
405
|
-
var __dirname2;
|
|
406
|
-
var localXdgOpenPath;
|
|
407
|
-
var platform;
|
|
408
|
-
var arch;
|
|
409
|
-
var tryEachApp = async (apps, opener) => {
|
|
405
|
+
var fallbackAttemptSymbol, __dirname2, localXdgOpenPath, platform, arch, tryEachApp = async (apps, opener) => {
|
|
410
406
|
if (apps.length === 0) {
|
|
411
407
|
return;
|
|
412
408
|
}
|
|
@@ -419,8 +415,7 @@ var tryEachApp = async (apps, opener) => {
|
|
|
419
415
|
}
|
|
420
416
|
}
|
|
421
417
|
throw new AggregateError(errors, "Failed to open in all supported apps");
|
|
422
|
-
}
|
|
423
|
-
var baseOpen = async (options) => {
|
|
418
|
+
}, baseOpen = async (options) => {
|
|
424
419
|
options = {
|
|
425
420
|
wait: false,
|
|
426
421
|
background: false,
|
|
@@ -573,19 +568,19 @@ var baseOpen = async (options) => {
|
|
|
573
568
|
}
|
|
574
569
|
const subprocess = childProcess3.spawn(command, cliArguments, childProcessOptions);
|
|
575
570
|
if (options.wait) {
|
|
576
|
-
return new Promise((
|
|
571
|
+
return new Promise((resolve, reject) => {
|
|
577
572
|
subprocess.once("error", reject);
|
|
578
573
|
subprocess.once("close", (exitCode) => {
|
|
579
574
|
if (!options.allowNonzeroExitCode && exitCode !== 0) {
|
|
580
575
|
reject(new Error(`Exited with code ${exitCode}`));
|
|
581
576
|
return;
|
|
582
577
|
}
|
|
583
|
-
|
|
578
|
+
resolve(subprocess);
|
|
584
579
|
});
|
|
585
580
|
});
|
|
586
581
|
}
|
|
587
582
|
if (isFallbackAttempt) {
|
|
588
|
-
return new Promise((
|
|
583
|
+
return new Promise((resolve, reject) => {
|
|
589
584
|
subprocess.once("error", reject);
|
|
590
585
|
subprocess.once("spawn", () => {
|
|
591
586
|
subprocess.once("close", (exitCode) => {
|
|
@@ -595,21 +590,20 @@ var baseOpen = async (options) => {
|
|
|
595
590
|
return;
|
|
596
591
|
}
|
|
597
592
|
subprocess.unref();
|
|
598
|
-
|
|
593
|
+
resolve(subprocess);
|
|
599
594
|
});
|
|
600
595
|
});
|
|
601
596
|
});
|
|
602
597
|
}
|
|
603
598
|
subprocess.unref();
|
|
604
|
-
return new Promise((
|
|
599
|
+
return new Promise((resolve, reject) => {
|
|
605
600
|
subprocess.once("error", reject);
|
|
606
601
|
subprocess.once("spawn", () => {
|
|
607
602
|
subprocess.off("error", reject);
|
|
608
|
-
|
|
603
|
+
resolve(subprocess);
|
|
609
604
|
});
|
|
610
605
|
});
|
|
611
|
-
}
|
|
612
|
-
var open = (target, options) => {
|
|
606
|
+
}, open = (target, options) => {
|
|
613
607
|
if (typeof target !== "string") {
|
|
614
608
|
throw new TypeError("Expected a `target`");
|
|
615
609
|
}
|
|
@@ -617,9 +611,7 @@ var open = (target, options) => {
|
|
|
617
611
|
...options,
|
|
618
612
|
target
|
|
619
613
|
});
|
|
620
|
-
};
|
|
621
|
-
var apps;
|
|
622
|
-
var open_default;
|
|
614
|
+
}, apps, open_default;
|
|
623
615
|
var init_open = __esm(() => {
|
|
624
616
|
init_wsl_utils();
|
|
625
617
|
init_powershell_utils();
|
|
@@ -674,6 +666,13 @@ var init_open = __esm(() => {
|
|
|
674
666
|
open_default = open;
|
|
675
667
|
});
|
|
676
668
|
|
|
669
|
+
// ../filesystem/src/node.ts
|
|
670
|
+
import { randomUUID } from "node:crypto";
|
|
671
|
+
import { existsSync } from "node:fs";
|
|
672
|
+
import * as fs6 from "node:fs/promises";
|
|
673
|
+
import * as os2 from "node:os";
|
|
674
|
+
import * as path2 from "node:path";
|
|
675
|
+
|
|
677
676
|
class NodeFileSystem {
|
|
678
677
|
path = {
|
|
679
678
|
join: path2.join,
|
|
@@ -750,6 +749,90 @@ class NodeFileSystem {
|
|
|
750
749
|
async mkdir(dirPath) {
|
|
751
750
|
await fs6.mkdir(dirPath, { recursive: true });
|
|
752
751
|
}
|
|
752
|
+
async acquireLock(lockPath) {
|
|
753
|
+
const canonicalPath = await this.canonicalizeLockTarget(lockPath);
|
|
754
|
+
const lockFile = `${canonicalPath}.lock`;
|
|
755
|
+
const ownerId = randomUUID();
|
|
756
|
+
const start = Date.now();
|
|
757
|
+
while (true) {
|
|
758
|
+
try {
|
|
759
|
+
await fs6.writeFile(lockFile, ownerId, { flag: "wx" });
|
|
760
|
+
return this.createLockRelease(lockFile, ownerId);
|
|
761
|
+
} catch (error) {
|
|
762
|
+
if (!this.hasErrnoCode(error, "EEXIST")) {
|
|
763
|
+
throw error;
|
|
764
|
+
}
|
|
765
|
+
const stats = await fs6.stat(lockFile).catch(() => null);
|
|
766
|
+
if (stats && Date.now() - stats.mtimeMs > LOCK_STALE_MS) {
|
|
767
|
+
const reclaimed = await fs6.rm(lockFile, { force: true }).then(() => true).catch(() => false);
|
|
768
|
+
if (reclaimed)
|
|
769
|
+
continue;
|
|
770
|
+
}
|
|
771
|
+
if (Date.now() - start > LOCK_MAX_WAIT_MS) {
|
|
772
|
+
throw new Error(`ELOCKED: timed out waiting for lock on ${canonicalPath}`);
|
|
773
|
+
}
|
|
774
|
+
await new Promise((resolve2) => setTimeout(resolve2, LOCK_RETRY_MIN_MS + Math.random() * LOCK_RETRY_JITTER_MS));
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
async canonicalizeLockTarget(lockPath) {
|
|
779
|
+
const absolute = path2.resolve(lockPath);
|
|
780
|
+
const fullReal = await fs6.realpath(absolute).catch(() => null);
|
|
781
|
+
if (fullReal)
|
|
782
|
+
return fullReal;
|
|
783
|
+
const parent = path2.dirname(absolute);
|
|
784
|
+
const base = path2.basename(absolute);
|
|
785
|
+
const canonicalParent = await fs6.realpath(parent).catch(() => parent);
|
|
786
|
+
return path2.join(canonicalParent, base);
|
|
787
|
+
}
|
|
788
|
+
createLockRelease(lockFile, ownerId) {
|
|
789
|
+
const heartbeatStart = Date.now();
|
|
790
|
+
let heartbeatTimer;
|
|
791
|
+
let stopped = false;
|
|
792
|
+
const stopHeartbeat = () => {
|
|
793
|
+
stopped = true;
|
|
794
|
+
if (heartbeatTimer)
|
|
795
|
+
clearTimeout(heartbeatTimer);
|
|
796
|
+
};
|
|
797
|
+
const scheduleNextHeartbeat = () => {
|
|
798
|
+
if (stopped)
|
|
799
|
+
return;
|
|
800
|
+
if (Date.now() - heartbeatStart >= LOCK_MAX_HOLD_MS) {
|
|
801
|
+
stopped = true;
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
heartbeatTimer = setTimeout(() => {
|
|
805
|
+
runHeartbeat();
|
|
806
|
+
}, LOCK_HEARTBEAT_MS);
|
|
807
|
+
heartbeatTimer.unref?.();
|
|
808
|
+
};
|
|
809
|
+
const runHeartbeat = async () => {
|
|
810
|
+
if (stopped)
|
|
811
|
+
return;
|
|
812
|
+
const current = await fs6.readFile(lockFile, "utf-8").catch(() => null);
|
|
813
|
+
if (stopped)
|
|
814
|
+
return;
|
|
815
|
+
if (current !== ownerId) {
|
|
816
|
+
stopped = true;
|
|
817
|
+
return;
|
|
818
|
+
}
|
|
819
|
+
const now = Date.now() / 1000;
|
|
820
|
+
await fs6.utimes(lockFile, now, now).catch(() => {});
|
|
821
|
+
scheduleNextHeartbeat();
|
|
822
|
+
};
|
|
823
|
+
scheduleNextHeartbeat();
|
|
824
|
+
let released = false;
|
|
825
|
+
return async () => {
|
|
826
|
+
if (released)
|
|
827
|
+
return;
|
|
828
|
+
released = true;
|
|
829
|
+
stopHeartbeat();
|
|
830
|
+
const current = await fs6.readFile(lockFile, "utf-8").catch(() => null);
|
|
831
|
+
if (current === ownerId) {
|
|
832
|
+
await fs6.rm(lockFile, { force: true });
|
|
833
|
+
}
|
|
834
|
+
};
|
|
835
|
+
}
|
|
753
836
|
async rm(filePath) {
|
|
754
837
|
await fs6.rm(filePath, { recursive: true, force: true });
|
|
755
838
|
}
|
|
@@ -795,21 +878,26 @@ class NodeFileSystem {
|
|
|
795
878
|
}
|
|
796
879
|
}
|
|
797
880
|
isEnoent(error) {
|
|
798
|
-
return
|
|
881
|
+
return this.hasErrnoCode(error, "ENOENT");
|
|
882
|
+
}
|
|
883
|
+
hasErrnoCode(error, code) {
|
|
884
|
+
return typeof error === "object" && error !== null && "code" in error && error.code === code;
|
|
799
885
|
}
|
|
800
886
|
}
|
|
887
|
+
var LOCK_HEARTBEAT_MS = 5000, LOCK_STALE_MS = 15000, LOCK_MAX_WAIT_MS = 20000, LOCK_MAX_HOLD_MS = 60000, LOCK_RETRY_MIN_MS = 100, LOCK_RETRY_JITTER_MS = 200;
|
|
801
888
|
var init_node = __esm(() => {
|
|
802
889
|
init_open();
|
|
803
890
|
});
|
|
804
|
-
|
|
805
|
-
var getFileSystem = () => fsInstance;
|
|
891
|
+
// ../filesystem/src/index.ts
|
|
892
|
+
var fsInstance, getFileSystem = () => fsInstance;
|
|
806
893
|
var init_src = __esm(() => {
|
|
807
894
|
init_node();
|
|
808
895
|
init_node();
|
|
809
896
|
fsInstance = new NodeFileSystem;
|
|
810
897
|
});
|
|
811
|
-
var require_error = __commonJS((exports) => {
|
|
812
898
|
|
|
899
|
+
// ../../node_modules/commander/lib/error.js
|
|
900
|
+
var require_error = __commonJS((exports) => {
|
|
813
901
|
class CommanderError extends Error {
|
|
814
902
|
constructor(exitCode, code, message) {
|
|
815
903
|
super(message);
|
|
@@ -831,6 +919,8 @@ var require_error = __commonJS((exports) => {
|
|
|
831
919
|
exports.CommanderError = CommanderError;
|
|
832
920
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
833
921
|
});
|
|
922
|
+
|
|
923
|
+
// ../../node_modules/commander/lib/argument.js
|
|
834
924
|
var require_argument = __commonJS((exports) => {
|
|
835
925
|
var { InvalidArgumentError } = require_error();
|
|
836
926
|
|
|
@@ -909,6 +999,8 @@ var require_argument = __commonJS((exports) => {
|
|
|
909
999
|
exports.Argument = Argument;
|
|
910
1000
|
exports.humanReadableArgName = humanReadableArgName;
|
|
911
1001
|
});
|
|
1002
|
+
|
|
1003
|
+
// ../../node_modules/commander/lib/help.js
|
|
912
1004
|
var require_help = __commonJS((exports) => {
|
|
913
1005
|
var { humanReadableArgName } = require_argument();
|
|
914
1006
|
|
|
@@ -1264,6 +1356,8 @@ ${itemIndentStr}`);
|
|
|
1264
1356
|
exports.Help = Help;
|
|
1265
1357
|
exports.stripColor = stripColor;
|
|
1266
1358
|
});
|
|
1359
|
+
|
|
1360
|
+
// ../../node_modules/commander/lib/option.js
|
|
1267
1361
|
var require_option = __commonJS((exports) => {
|
|
1268
1362
|
var { InvalidArgumentError } = require_error();
|
|
1269
1363
|
|
|
@@ -1446,6 +1540,8 @@ var require_option = __commonJS((exports) => {
|
|
|
1446
1540
|
exports.Option = Option;
|
|
1447
1541
|
exports.DualOptions = DualOptions;
|
|
1448
1542
|
});
|
|
1543
|
+
|
|
1544
|
+
// ../../node_modules/commander/lib/suggestSimilar.js
|
|
1449
1545
|
var require_suggestSimilar = __commonJS((exports) => {
|
|
1450
1546
|
var maxDistance = 3;
|
|
1451
1547
|
function editDistance(a, b) {
|
|
@@ -1517,6 +1613,8 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
1517
1613
|
}
|
|
1518
1614
|
exports.suggestSimilar = suggestSimilar;
|
|
1519
1615
|
});
|
|
1616
|
+
|
|
1617
|
+
// ../../node_modules/commander/lib/command.js
|
|
1520
1618
|
var require_command = __commonJS((exports) => {
|
|
1521
1619
|
var EventEmitter = __require("node:events").EventEmitter;
|
|
1522
1620
|
var childProcess4 = __require("node:child_process");
|
|
@@ -2870,6 +2968,8 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2870
2968
|
exports.Command = Command;
|
|
2871
2969
|
exports.useColor = useColor;
|
|
2872
2970
|
});
|
|
2971
|
+
|
|
2972
|
+
// ../../node_modules/commander/index.js
|
|
2873
2973
|
var require_commander = __commonJS((exports) => {
|
|
2874
2974
|
var { Argument } = require_argument();
|
|
2875
2975
|
var { Command } = require_command();
|
|
@@ -2888,6 +2988,8 @@ var require_commander = __commonJS((exports) => {
|
|
|
2888
2988
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
2889
2989
|
exports.InvalidOptionArgumentError = InvalidArgumentError;
|
|
2890
2990
|
});
|
|
2991
|
+
|
|
2992
|
+
// ../auth/src/catch-error.ts
|
|
2891
2993
|
function isPromiseLike2(value) {
|
|
2892
2994
|
return value !== null && typeof value === "object" && typeof value.then === "function";
|
|
2893
2995
|
}
|
|
@@ -2914,18 +3016,21 @@ function settlePromiseLike2(thenable) {
|
|
|
2914
3016
|
undefined
|
|
2915
3017
|
]);
|
|
2916
3018
|
}
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
var DEFAULT_BASE_URL = "https://cloud.uipath.com";
|
|
2920
|
-
var DEFAULT_AUTH_TIMEOUT_MS2;
|
|
3019
|
+
|
|
3020
|
+
// ../auth/src/constants.ts
|
|
3021
|
+
var UIPATH_HOME_DIR2 = ".uipath", AUTH_FILENAME = ".auth", DEFAULT_BASE_URL = "https://cloud.uipath.com", DEFAULT_AUTH_TIMEOUT_MS2;
|
|
2921
3022
|
var init_constants = __esm(() => {
|
|
2922
3023
|
DEFAULT_AUTH_TIMEOUT_MS2 = 5 * 60 * 1000;
|
|
2923
3024
|
});
|
|
3025
|
+
|
|
3026
|
+
// ../auth/src/utils/platform.ts
|
|
2924
3027
|
function isBrowser() {
|
|
2925
3028
|
return typeof globalThis !== "undefined" && "window" in globalThis && "document" in globalThis;
|
|
2926
3029
|
}
|
|
3030
|
+
|
|
3031
|
+
// ../../node_modules/@uipath/coreipc/index.js
|
|
2927
3032
|
var require_coreipc = __commonJS((exports, module) => {
|
|
2928
|
-
var
|
|
3033
|
+
var __dirname = "/home/runner/work/cli/cli/node_modules/@uipath/coreipc";
|
|
2929
3034
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2930
3035
|
(function(e, t) {
|
|
2931
3036
|
typeof exports == "object" && typeof module == "object" ? module.exports = t() : typeof define == "function" && define.amd ? define([], t) : typeof exports == "object" ? exports.ipc = t() : e.ipc = t();
|
|
@@ -2941,7 +3046,7 @@ var require_coreipc = __commonJS((exports, module) => {
|
|
|
2941
3046
|
} };
|
|
2942
3047
|
}, 4984: (e2, t2, r) => {
|
|
2943
3048
|
try {
|
|
2944
|
-
e2.exports = r(6920)(
|
|
3049
|
+
e2.exports = r(6920)(__dirname);
|
|
2945
3050
|
} catch (t3) {
|
|
2946
3051
|
e2.exports = r(8568);
|
|
2947
3052
|
}
|
|
@@ -12089,7 +12194,7 @@ ${e3.Data}`);
|
|
|
12089
12194
|
};
|
|
12090
12195
|
}, 8640: (e2, t2, r) => {
|
|
12091
12196
|
try {
|
|
12092
|
-
e2.exports = r(6920)(
|
|
12197
|
+
e2.exports = r(6920)(__dirname);
|
|
12093
12198
|
} catch (t3) {
|
|
12094
12199
|
e2.exports = r(1992);
|
|
12095
12200
|
}
|
|
@@ -13284,6 +13389,8 @@ ${e3.Data}`);
|
|
|
13284
13389
|
var e, t;
|
|
13285
13390
|
});
|
|
13286
13391
|
});
|
|
13392
|
+
|
|
13393
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isFunction.js
|
|
13287
13394
|
var require_isFunction = __commonJS((exports) => {
|
|
13288
13395
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13289
13396
|
function isFunction(x) {
|
|
@@ -13291,6 +13398,8 @@ var require_isFunction = __commonJS((exports) => {
|
|
|
13291
13398
|
}
|
|
13292
13399
|
exports.isFunction = isFunction;
|
|
13293
13400
|
});
|
|
13401
|
+
|
|
13402
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/config.js
|
|
13294
13403
|
var require_config = __commonJS((exports) => {
|
|
13295
13404
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13296
13405
|
var _enable_super_gross_mode_that_will_cause_bad_things = false;
|
|
@@ -13311,6 +13420,8 @@ var require_config = __commonJS((exports) => {
|
|
|
13311
13420
|
}
|
|
13312
13421
|
};
|
|
13313
13422
|
});
|
|
13423
|
+
|
|
13424
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/hostReportError.js
|
|
13314
13425
|
var require_hostReportError = __commonJS((exports) => {
|
|
13315
13426
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13316
13427
|
function hostReportError(err) {
|
|
@@ -13320,6 +13431,8 @@ var require_hostReportError = __commonJS((exports) => {
|
|
|
13320
13431
|
}
|
|
13321
13432
|
exports.hostReportError = hostReportError;
|
|
13322
13433
|
});
|
|
13434
|
+
|
|
13435
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/Observer.js
|
|
13323
13436
|
var require_Observer = __commonJS((exports) => {
|
|
13324
13437
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13325
13438
|
var config_1 = require_config();
|
|
@@ -13337,6 +13450,8 @@ var require_Observer = __commonJS((exports) => {
|
|
|
13337
13450
|
complete: function() {}
|
|
13338
13451
|
};
|
|
13339
13452
|
});
|
|
13453
|
+
|
|
13454
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isArray.js
|
|
13340
13455
|
var require_isArray = __commonJS((exports) => {
|
|
13341
13456
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13342
13457
|
exports.isArray = function() {
|
|
@@ -13345,6 +13460,8 @@ var require_isArray = __commonJS((exports) => {
|
|
|
13345
13460
|
};
|
|
13346
13461
|
}();
|
|
13347
13462
|
});
|
|
13463
|
+
|
|
13464
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isObject.js
|
|
13348
13465
|
var require_isObject = __commonJS((exports) => {
|
|
13349
13466
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13350
13467
|
function isObject3(x) {
|
|
@@ -13352,6 +13469,8 @@ var require_isObject = __commonJS((exports) => {
|
|
|
13352
13469
|
}
|
|
13353
13470
|
exports.isObject = isObject3;
|
|
13354
13471
|
});
|
|
13472
|
+
|
|
13473
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/UnsubscriptionError.js
|
|
13355
13474
|
var require_UnsubscriptionError = __commonJS((exports) => {
|
|
13356
13475
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13357
13476
|
var UnsubscriptionErrorImpl = function() {
|
|
@@ -13371,6 +13490,8 @@ var require_UnsubscriptionError = __commonJS((exports) => {
|
|
|
13371
13490
|
}();
|
|
13372
13491
|
exports.UnsubscriptionError = UnsubscriptionErrorImpl;
|
|
13373
13492
|
});
|
|
13493
|
+
|
|
13494
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/Subscription.js
|
|
13374
13495
|
var require_Subscription = __commonJS((exports) => {
|
|
13375
13496
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13376
13497
|
var isArray_1 = require_isArray();
|
|
@@ -13504,6 +13625,8 @@ var require_Subscription = __commonJS((exports) => {
|
|
|
13504
13625
|
}, []);
|
|
13505
13626
|
}
|
|
13506
13627
|
});
|
|
13628
|
+
|
|
13629
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/symbol/rxSubscriber.js
|
|
13507
13630
|
var require_rxSubscriber = __commonJS((exports) => {
|
|
13508
13631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13509
13632
|
exports.rxSubscriber = function() {
|
|
@@ -13511,6 +13634,8 @@ var require_rxSubscriber = __commonJS((exports) => {
|
|
|
13511
13634
|
}();
|
|
13512
13635
|
exports.$$rxSubscriber = exports.rxSubscriber;
|
|
13513
13636
|
});
|
|
13637
|
+
|
|
13638
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/Subscriber.js
|
|
13514
13639
|
var require_Subscriber = __commonJS((exports) => {
|
|
13515
13640
|
var __extends = exports && exports.__extends || function() {
|
|
13516
13641
|
var extendStatics = function(d, b) {
|
|
@@ -13754,6 +13879,8 @@ var require_Subscriber = __commonJS((exports) => {
|
|
|
13754
13879
|
}(Subscriber);
|
|
13755
13880
|
exports.SafeSubscriber = SafeSubscriber;
|
|
13756
13881
|
});
|
|
13882
|
+
|
|
13883
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/canReportError.js
|
|
13757
13884
|
var require_canReportError = __commonJS((exports) => {
|
|
13758
13885
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13759
13886
|
var Subscriber_1 = require_Subscriber();
|
|
@@ -13772,6 +13899,8 @@ var require_canReportError = __commonJS((exports) => {
|
|
|
13772
13899
|
}
|
|
13773
13900
|
exports.canReportError = canReportError;
|
|
13774
13901
|
});
|
|
13902
|
+
|
|
13903
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/toSubscriber.js
|
|
13775
13904
|
var require_toSubscriber = __commonJS((exports) => {
|
|
13776
13905
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13777
13906
|
var Subscriber_1 = require_Subscriber();
|
|
@@ -13793,12 +13922,16 @@ var require_toSubscriber = __commonJS((exports) => {
|
|
|
13793
13922
|
}
|
|
13794
13923
|
exports.toSubscriber = toSubscriber;
|
|
13795
13924
|
});
|
|
13925
|
+
|
|
13926
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/symbol/observable.js
|
|
13796
13927
|
var require_observable = __commonJS((exports) => {
|
|
13797
13928
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13798
13929
|
exports.observable = function() {
|
|
13799
13930
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
13800
13931
|
}();
|
|
13801
13932
|
});
|
|
13933
|
+
|
|
13934
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/identity.js
|
|
13802
13935
|
var require_identity = __commonJS((exports) => {
|
|
13803
13936
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13804
13937
|
function identity(x) {
|
|
@@ -13806,6 +13939,8 @@ var require_identity = __commonJS((exports) => {
|
|
|
13806
13939
|
}
|
|
13807
13940
|
exports.identity = identity;
|
|
13808
13941
|
});
|
|
13942
|
+
|
|
13943
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/pipe.js
|
|
13809
13944
|
var require_pipe = __commonJS((exports) => {
|
|
13810
13945
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13811
13946
|
var identity_1 = require_identity();
|
|
@@ -13832,6 +13967,8 @@ var require_pipe = __commonJS((exports) => {
|
|
|
13832
13967
|
}
|
|
13833
13968
|
exports.pipeFromArray = pipeFromArray;
|
|
13834
13969
|
});
|
|
13970
|
+
|
|
13971
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/Observable.js
|
|
13835
13972
|
var require_Observable = __commonJS((exports) => {
|
|
13836
13973
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13837
13974
|
var canReportError_1 = require_canReportError();
|
|
@@ -13949,6 +14086,8 @@ var require_Observable = __commonJS((exports) => {
|
|
|
13949
14086
|
return promiseCtor;
|
|
13950
14087
|
}
|
|
13951
14088
|
});
|
|
14089
|
+
|
|
14090
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/ObjectUnsubscribedError.js
|
|
13952
14091
|
var require_ObjectUnsubscribedError = __commonJS((exports) => {
|
|
13953
14092
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13954
14093
|
var ObjectUnsubscribedErrorImpl = function() {
|
|
@@ -13963,6 +14102,8 @@ var require_ObjectUnsubscribedError = __commonJS((exports) => {
|
|
|
13963
14102
|
}();
|
|
13964
14103
|
exports.ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;
|
|
13965
14104
|
});
|
|
14105
|
+
|
|
14106
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/SubjectSubscription.js
|
|
13966
14107
|
var require_SubjectSubscription = __commonJS((exports) => {
|
|
13967
14108
|
var __extends = exports && exports.__extends || function() {
|
|
13968
14109
|
var extendStatics = function(d, b) {
|
|
@@ -14014,6 +14155,8 @@ var require_SubjectSubscription = __commonJS((exports) => {
|
|
|
14014
14155
|
}(Subscription_1.Subscription);
|
|
14015
14156
|
exports.SubjectSubscription = SubjectSubscription;
|
|
14016
14157
|
});
|
|
14158
|
+
|
|
14159
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/Subject.js
|
|
14017
14160
|
var require_Subject = __commonJS((exports) => {
|
|
14018
14161
|
var __extends = exports && exports.__extends || function() {
|
|
14019
14162
|
var extendStatics = function(d, b) {
|
|
@@ -14186,6 +14329,8 @@ var require_Subject = __commonJS((exports) => {
|
|
|
14186
14329
|
}(Subject);
|
|
14187
14330
|
exports.AnonymousSubject = AnonymousSubject;
|
|
14188
14331
|
});
|
|
14332
|
+
|
|
14333
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/refCount.js
|
|
14189
14334
|
var require_refCount = __commonJS((exports) => {
|
|
14190
14335
|
var __extends = exports && exports.__extends || function() {
|
|
14191
14336
|
var extendStatics = function(d, b) {
|
|
@@ -14264,6 +14409,8 @@ var require_refCount = __commonJS((exports) => {
|
|
|
14264
14409
|
return RefCountSubscriber2;
|
|
14265
14410
|
}(Subscriber_1.Subscriber);
|
|
14266
14411
|
});
|
|
14412
|
+
|
|
14413
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/ConnectableObservable.js
|
|
14267
14414
|
var require_ConnectableObservable = __commonJS((exports) => {
|
|
14268
14415
|
var __extends = exports && exports.__extends || function() {
|
|
14269
14416
|
var extendStatics = function(d, b) {
|
|
@@ -14424,6 +14571,8 @@ var require_ConnectableObservable = __commonJS((exports) => {
|
|
|
14424
14571
|
return RefCountSubscriber2;
|
|
14425
14572
|
}(Subscriber_1.Subscriber);
|
|
14426
14573
|
});
|
|
14574
|
+
|
|
14575
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/groupBy.js
|
|
14427
14576
|
var require_groupBy = __commonJS((exports) => {
|
|
14428
14577
|
var __extends = exports && exports.__extends || function() {
|
|
14429
14578
|
var extendStatics = function(d, b) {
|
|
@@ -14622,6 +14771,8 @@ var require_groupBy = __commonJS((exports) => {
|
|
|
14622
14771
|
return InnerRefCountSubscription2;
|
|
14623
14772
|
}(Subscription_1.Subscription);
|
|
14624
14773
|
});
|
|
14774
|
+
|
|
14775
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/BehaviorSubject.js
|
|
14625
14776
|
var require_BehaviorSubject = __commonJS((exports) => {
|
|
14626
14777
|
var __extends = exports && exports.__extends || function() {
|
|
14627
14778
|
var extendStatics = function(d, b) {
|
|
@@ -14682,6 +14833,8 @@ var require_BehaviorSubject = __commonJS((exports) => {
|
|
|
14682
14833
|
}(Subject_1.Subject);
|
|
14683
14834
|
exports.BehaviorSubject = BehaviorSubject;
|
|
14684
14835
|
});
|
|
14836
|
+
|
|
14837
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/Action.js
|
|
14685
14838
|
var require_Action = __commonJS((exports) => {
|
|
14686
14839
|
var __extends = exports && exports.__extends || function() {
|
|
14687
14840
|
var extendStatics = function(d, b) {
|
|
@@ -14719,6 +14872,8 @@ var require_Action = __commonJS((exports) => {
|
|
|
14719
14872
|
}(Subscription_1.Subscription);
|
|
14720
14873
|
exports.Action = Action;
|
|
14721
14874
|
});
|
|
14875
|
+
|
|
14876
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/AsyncAction.js
|
|
14722
14877
|
var require_AsyncAction = __commonJS((exports) => {
|
|
14723
14878
|
var __extends = exports && exports.__extends || function() {
|
|
14724
14879
|
var extendStatics = function(d, b) {
|
|
@@ -14831,6 +14986,8 @@ var require_AsyncAction = __commonJS((exports) => {
|
|
|
14831
14986
|
}(Action_1.Action);
|
|
14832
14987
|
exports.AsyncAction = AsyncAction;
|
|
14833
14988
|
});
|
|
14989
|
+
|
|
14990
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/QueueAction.js
|
|
14834
14991
|
var require_QueueAction = __commonJS((exports) => {
|
|
14835
14992
|
var __extends = exports && exports.__extends || function() {
|
|
14836
14993
|
var extendStatics = function(d, b) {
|
|
@@ -14889,6 +15046,8 @@ var require_QueueAction = __commonJS((exports) => {
|
|
|
14889
15046
|
}(AsyncAction_1.AsyncAction);
|
|
14890
15047
|
exports.QueueAction = QueueAction;
|
|
14891
15048
|
});
|
|
15049
|
+
|
|
15050
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/Scheduler.js
|
|
14892
15051
|
var require_Scheduler = __commonJS((exports) => {
|
|
14893
15052
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14894
15053
|
var Scheduler = function() {
|
|
@@ -14912,6 +15071,8 @@ var require_Scheduler = __commonJS((exports) => {
|
|
|
14912
15071
|
}();
|
|
14913
15072
|
exports.Scheduler = Scheduler;
|
|
14914
15073
|
});
|
|
15074
|
+
|
|
15075
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/AsyncScheduler.js
|
|
14915
15076
|
var require_AsyncScheduler = __commonJS((exports) => {
|
|
14916
15077
|
var __extends = exports && exports.__extends || function() {
|
|
14917
15078
|
var extendStatics = function(d, b) {
|
|
@@ -14987,6 +15148,8 @@ var require_AsyncScheduler = __commonJS((exports) => {
|
|
|
14987
15148
|
}(Scheduler_1.Scheduler);
|
|
14988
15149
|
exports.AsyncScheduler = AsyncScheduler;
|
|
14989
15150
|
});
|
|
15151
|
+
|
|
15152
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/QueueScheduler.js
|
|
14990
15153
|
var require_QueueScheduler = __commonJS((exports) => {
|
|
14991
15154
|
var __extends = exports && exports.__extends || function() {
|
|
14992
15155
|
var extendStatics = function(d, b) {
|
|
@@ -15018,6 +15181,8 @@ var require_QueueScheduler = __commonJS((exports) => {
|
|
|
15018
15181
|
}(AsyncScheduler_1.AsyncScheduler);
|
|
15019
15182
|
exports.QueueScheduler = QueueScheduler;
|
|
15020
15183
|
});
|
|
15184
|
+
|
|
15185
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/queue.js
|
|
15021
15186
|
var require_queue = __commonJS((exports) => {
|
|
15022
15187
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15023
15188
|
var QueueAction_1 = require_QueueAction();
|
|
@@ -15025,6 +15190,8 @@ var require_queue = __commonJS((exports) => {
|
|
|
15025
15190
|
exports.queueScheduler = new QueueScheduler_1.QueueScheduler(QueueAction_1.QueueAction);
|
|
15026
15191
|
exports.queue = exports.queueScheduler;
|
|
15027
15192
|
});
|
|
15193
|
+
|
|
15194
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/empty.js
|
|
15028
15195
|
var require_empty = __commonJS((exports) => {
|
|
15029
15196
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15030
15197
|
var Observable_1 = require_Observable();
|
|
@@ -15043,6 +15210,8 @@ var require_empty = __commonJS((exports) => {
|
|
|
15043
15210
|
});
|
|
15044
15211
|
}
|
|
15045
15212
|
});
|
|
15213
|
+
|
|
15214
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isScheduler.js
|
|
15046
15215
|
var require_isScheduler = __commonJS((exports) => {
|
|
15047
15216
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15048
15217
|
function isScheduler(value) {
|
|
@@ -15050,6 +15219,8 @@ var require_isScheduler = __commonJS((exports) => {
|
|
|
15050
15219
|
}
|
|
15051
15220
|
exports.isScheduler = isScheduler;
|
|
15052
15221
|
});
|
|
15222
|
+
|
|
15223
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/subscribeToArray.js
|
|
15053
15224
|
var require_subscribeToArray = __commonJS((exports) => {
|
|
15054
15225
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15055
15226
|
exports.subscribeToArray = function(array) {
|
|
@@ -15061,6 +15232,8 @@ var require_subscribeToArray = __commonJS((exports) => {
|
|
|
15061
15232
|
};
|
|
15062
15233
|
};
|
|
15063
15234
|
});
|
|
15235
|
+
|
|
15236
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduled/scheduleArray.js
|
|
15064
15237
|
var require_scheduleArray = __commonJS((exports) => {
|
|
15065
15238
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15066
15239
|
var Observable_1 = require_Observable();
|
|
@@ -15084,6 +15257,8 @@ var require_scheduleArray = __commonJS((exports) => {
|
|
|
15084
15257
|
}
|
|
15085
15258
|
exports.scheduleArray = scheduleArray;
|
|
15086
15259
|
});
|
|
15260
|
+
|
|
15261
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/fromArray.js
|
|
15087
15262
|
var require_fromArray = __commonJS((exports) => {
|
|
15088
15263
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15089
15264
|
var Observable_1 = require_Observable();
|
|
@@ -15098,6 +15273,8 @@ var require_fromArray = __commonJS((exports) => {
|
|
|
15098
15273
|
}
|
|
15099
15274
|
exports.fromArray = fromArray;
|
|
15100
15275
|
});
|
|
15276
|
+
|
|
15277
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/of.js
|
|
15101
15278
|
var require_of = __commonJS((exports) => {
|
|
15102
15279
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15103
15280
|
var isScheduler_1 = require_isScheduler();
|
|
@@ -15118,6 +15295,8 @@ var require_of = __commonJS((exports) => {
|
|
|
15118
15295
|
}
|
|
15119
15296
|
exports.of = of;
|
|
15120
15297
|
});
|
|
15298
|
+
|
|
15299
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/throwError.js
|
|
15121
15300
|
var require_throwError = __commonJS((exports) => {
|
|
15122
15301
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15123
15302
|
var Observable_1 = require_Observable();
|
|
@@ -15138,6 +15317,8 @@ var require_throwError = __commonJS((exports) => {
|
|
|
15138
15317
|
subscriber.error(error);
|
|
15139
15318
|
}
|
|
15140
15319
|
});
|
|
15320
|
+
|
|
15321
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/Notification.js
|
|
15141
15322
|
var require_Notification = __commonJS((exports) => {
|
|
15142
15323
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15143
15324
|
var empty_1 = require_empty();
|
|
@@ -15214,6 +15395,8 @@ var require_Notification = __commonJS((exports) => {
|
|
|
15214
15395
|
}();
|
|
15215
15396
|
exports.Notification = Notification;
|
|
15216
15397
|
});
|
|
15398
|
+
|
|
15399
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/observeOn.js
|
|
15217
15400
|
var require_observeOn = __commonJS((exports) => {
|
|
15218
15401
|
var __extends = exports && exports.__extends || function() {
|
|
15219
15402
|
var extendStatics = function(d, b) {
|
|
@@ -15303,6 +15486,8 @@ var require_observeOn = __commonJS((exports) => {
|
|
|
15303
15486
|
}();
|
|
15304
15487
|
exports.ObserveOnMessage = ObserveOnMessage;
|
|
15305
15488
|
});
|
|
15489
|
+
|
|
15490
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/ReplaySubject.js
|
|
15306
15491
|
var require_ReplaySubject = __commonJS((exports) => {
|
|
15307
15492
|
var __extends = exports && exports.__extends || function() {
|
|
15308
15493
|
var extendStatics = function(d, b) {
|
|
@@ -15438,6 +15623,8 @@ var require_ReplaySubject = __commonJS((exports) => {
|
|
|
15438
15623
|
return ReplayEvent2;
|
|
15439
15624
|
}();
|
|
15440
15625
|
});
|
|
15626
|
+
|
|
15627
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/AsyncSubject.js
|
|
15441
15628
|
var require_AsyncSubject = __commonJS((exports) => {
|
|
15442
15629
|
var __extends = exports && exports.__extends || function() {
|
|
15443
15630
|
var extendStatics = function(d, b) {
|
|
@@ -15503,6 +15690,8 @@ var require_AsyncSubject = __commonJS((exports) => {
|
|
|
15503
15690
|
}(Subject_1.Subject);
|
|
15504
15691
|
exports.AsyncSubject = AsyncSubject;
|
|
15505
15692
|
});
|
|
15693
|
+
|
|
15694
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/Immediate.js
|
|
15506
15695
|
var require_Immediate = __commonJS((exports) => {
|
|
15507
15696
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15508
15697
|
var nextHandle = 1;
|
|
@@ -15536,6 +15725,8 @@ var require_Immediate = __commonJS((exports) => {
|
|
|
15536
15725
|
}
|
|
15537
15726
|
};
|
|
15538
15727
|
});
|
|
15728
|
+
|
|
15729
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/AsapAction.js
|
|
15539
15730
|
var require_AsapAction = __commonJS((exports) => {
|
|
15540
15731
|
var __extends = exports && exports.__extends || function() {
|
|
15541
15732
|
var extendStatics = function(d, b) {
|
|
@@ -15594,6 +15785,8 @@ var require_AsapAction = __commonJS((exports) => {
|
|
|
15594
15785
|
}(AsyncAction_1.AsyncAction);
|
|
15595
15786
|
exports.AsapAction = AsapAction;
|
|
15596
15787
|
});
|
|
15788
|
+
|
|
15789
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/AsapScheduler.js
|
|
15597
15790
|
var require_AsapScheduler = __commonJS((exports) => {
|
|
15598
15791
|
var __extends = exports && exports.__extends || function() {
|
|
15599
15792
|
var extendStatics = function(d, b) {
|
|
@@ -15646,6 +15839,8 @@ var require_AsapScheduler = __commonJS((exports) => {
|
|
|
15646
15839
|
}(AsyncScheduler_1.AsyncScheduler);
|
|
15647
15840
|
exports.AsapScheduler = AsapScheduler;
|
|
15648
15841
|
});
|
|
15842
|
+
|
|
15843
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/asap.js
|
|
15649
15844
|
var require_asap = __commonJS((exports) => {
|
|
15650
15845
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15651
15846
|
var AsapAction_1 = require_AsapAction();
|
|
@@ -15653,6 +15848,8 @@ var require_asap = __commonJS((exports) => {
|
|
|
15653
15848
|
exports.asapScheduler = new AsapScheduler_1.AsapScheduler(AsapAction_1.AsapAction);
|
|
15654
15849
|
exports.asap = exports.asapScheduler;
|
|
15655
15850
|
});
|
|
15851
|
+
|
|
15852
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/async.js
|
|
15656
15853
|
var require_async = __commonJS((exports) => {
|
|
15657
15854
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15658
15855
|
var AsyncAction_1 = require_AsyncAction();
|
|
@@ -15660,6 +15857,8 @@ var require_async = __commonJS((exports) => {
|
|
|
15660
15857
|
exports.asyncScheduler = new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction);
|
|
15661
15858
|
exports.async = exports.asyncScheduler;
|
|
15662
15859
|
});
|
|
15860
|
+
|
|
15861
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/AnimationFrameAction.js
|
|
15663
15862
|
var require_AnimationFrameAction = __commonJS((exports) => {
|
|
15664
15863
|
var __extends = exports && exports.__extends || function() {
|
|
15665
15864
|
var extendStatics = function(d, b) {
|
|
@@ -15719,6 +15918,8 @@ var require_AnimationFrameAction = __commonJS((exports) => {
|
|
|
15719
15918
|
}(AsyncAction_1.AsyncAction);
|
|
15720
15919
|
exports.AnimationFrameAction = AnimationFrameAction;
|
|
15721
15920
|
});
|
|
15921
|
+
|
|
15922
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/AnimationFrameScheduler.js
|
|
15722
15923
|
var require_AnimationFrameScheduler = __commonJS((exports) => {
|
|
15723
15924
|
var __extends = exports && exports.__extends || function() {
|
|
15724
15925
|
var extendStatics = function(d, b) {
|
|
@@ -15771,6 +15972,8 @@ var require_AnimationFrameScheduler = __commonJS((exports) => {
|
|
|
15771
15972
|
}(AsyncScheduler_1.AsyncScheduler);
|
|
15772
15973
|
exports.AnimationFrameScheduler = AnimationFrameScheduler;
|
|
15773
15974
|
});
|
|
15975
|
+
|
|
15976
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/animationFrame.js
|
|
15774
15977
|
var require_animationFrame = __commonJS((exports) => {
|
|
15775
15978
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15776
15979
|
var AnimationFrameAction_1 = require_AnimationFrameAction();
|
|
@@ -15778,6 +15981,8 @@ var require_animationFrame = __commonJS((exports) => {
|
|
|
15778
15981
|
exports.animationFrameScheduler = new AnimationFrameScheduler_1.AnimationFrameScheduler(AnimationFrameAction_1.AnimationFrameAction);
|
|
15779
15982
|
exports.animationFrame = exports.animationFrameScheduler;
|
|
15780
15983
|
});
|
|
15984
|
+
|
|
15985
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduler/VirtualTimeScheduler.js
|
|
15781
15986
|
var require_VirtualTimeScheduler = __commonJS((exports) => {
|
|
15782
15987
|
var __extends = exports && exports.__extends || function() {
|
|
15783
15988
|
var extendStatics = function(d, b) {
|
|
@@ -15905,11 +16110,15 @@ var require_VirtualTimeScheduler = __commonJS((exports) => {
|
|
|
15905
16110
|
}(AsyncAction_1.AsyncAction);
|
|
15906
16111
|
exports.VirtualAction = VirtualAction;
|
|
15907
16112
|
});
|
|
16113
|
+
|
|
16114
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/noop.js
|
|
15908
16115
|
var require_noop = __commonJS((exports) => {
|
|
15909
16116
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15910
16117
|
function noop() {}
|
|
15911
16118
|
exports.noop = noop;
|
|
15912
16119
|
});
|
|
16120
|
+
|
|
16121
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isObservable.js
|
|
15913
16122
|
var require_isObservable = __commonJS((exports) => {
|
|
15914
16123
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15915
16124
|
var Observable_1 = require_Observable();
|
|
@@ -15918,6 +16127,8 @@ var require_isObservable = __commonJS((exports) => {
|
|
|
15918
16127
|
}
|
|
15919
16128
|
exports.isObservable = isObservable;
|
|
15920
16129
|
});
|
|
16130
|
+
|
|
16131
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/ArgumentOutOfRangeError.js
|
|
15921
16132
|
var require_ArgumentOutOfRangeError = __commonJS((exports) => {
|
|
15922
16133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15923
16134
|
var ArgumentOutOfRangeErrorImpl = function() {
|
|
@@ -15932,6 +16143,8 @@ var require_ArgumentOutOfRangeError = __commonJS((exports) => {
|
|
|
15932
16143
|
}();
|
|
15933
16144
|
exports.ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;
|
|
15934
16145
|
});
|
|
16146
|
+
|
|
16147
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/EmptyError.js
|
|
15935
16148
|
var require_EmptyError = __commonJS((exports) => {
|
|
15936
16149
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15937
16150
|
var EmptyErrorImpl = function() {
|
|
@@ -15946,6 +16159,8 @@ var require_EmptyError = __commonJS((exports) => {
|
|
|
15946
16159
|
}();
|
|
15947
16160
|
exports.EmptyError = EmptyErrorImpl;
|
|
15948
16161
|
});
|
|
16162
|
+
|
|
16163
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/TimeoutError.js
|
|
15949
16164
|
var require_TimeoutError = __commonJS((exports) => {
|
|
15950
16165
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15951
16166
|
var TimeoutErrorImpl = function() {
|
|
@@ -15960,6 +16175,8 @@ var require_TimeoutError = __commonJS((exports) => {
|
|
|
15960
16175
|
}();
|
|
15961
16176
|
exports.TimeoutError = TimeoutErrorImpl;
|
|
15962
16177
|
});
|
|
16178
|
+
|
|
16179
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/map.js
|
|
15963
16180
|
var require_map = __commonJS((exports) => {
|
|
15964
16181
|
var __extends = exports && exports.__extends || function() {
|
|
15965
16182
|
var extendStatics = function(d, b) {
|
|
@@ -16024,6 +16241,8 @@ var require_map = __commonJS((exports) => {
|
|
|
16024
16241
|
return MapSubscriber2;
|
|
16025
16242
|
}(Subscriber_1.Subscriber);
|
|
16026
16243
|
});
|
|
16244
|
+
|
|
16245
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/bindCallback.js
|
|
16027
16246
|
var require_bindCallback = __commonJS((exports) => {
|
|
16028
16247
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16029
16248
|
var Observable_1 = require_Observable();
|
|
@@ -16126,6 +16345,8 @@ var require_bindCallback = __commonJS((exports) => {
|
|
|
16126
16345
|
subject.complete();
|
|
16127
16346
|
}
|
|
16128
16347
|
});
|
|
16348
|
+
|
|
16349
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/bindNodeCallback.js
|
|
16129
16350
|
var require_bindNodeCallback = __commonJS((exports) => {
|
|
16130
16351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16131
16352
|
var Observable_1 = require_Observable();
|
|
@@ -16237,6 +16458,8 @@ var require_bindNodeCallback = __commonJS((exports) => {
|
|
|
16237
16458
|
subject.error(err);
|
|
16238
16459
|
}
|
|
16239
16460
|
});
|
|
16461
|
+
|
|
16462
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/OuterSubscriber.js
|
|
16240
16463
|
var require_OuterSubscriber = __commonJS((exports) => {
|
|
16241
16464
|
var __extends = exports && exports.__extends || function() {
|
|
16242
16465
|
var extendStatics = function(d, b) {
|
|
@@ -16277,6 +16500,8 @@ var require_OuterSubscriber = __commonJS((exports) => {
|
|
|
16277
16500
|
}(Subscriber_1.Subscriber);
|
|
16278
16501
|
exports.OuterSubscriber = OuterSubscriber;
|
|
16279
16502
|
});
|
|
16503
|
+
|
|
16504
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/InnerSubscriber.js
|
|
16280
16505
|
var require_InnerSubscriber = __commonJS((exports) => {
|
|
16281
16506
|
var __extends = exports && exports.__extends || function() {
|
|
16282
16507
|
var extendStatics = function(d, b) {
|
|
@@ -16324,6 +16549,8 @@ var require_InnerSubscriber = __commonJS((exports) => {
|
|
|
16324
16549
|
}(Subscriber_1.Subscriber);
|
|
16325
16550
|
exports.InnerSubscriber = InnerSubscriber;
|
|
16326
16551
|
});
|
|
16552
|
+
|
|
16553
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/subscribeToPromise.js
|
|
16327
16554
|
var require_subscribeToPromise = __commonJS((exports) => {
|
|
16328
16555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16329
16556
|
var hostReportError_1 = require_hostReportError();
|
|
@@ -16341,6 +16568,8 @@ var require_subscribeToPromise = __commonJS((exports) => {
|
|
|
16341
16568
|
};
|
|
16342
16569
|
};
|
|
16343
16570
|
});
|
|
16571
|
+
|
|
16572
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/symbol/iterator.js
|
|
16344
16573
|
var require_iterator = __commonJS((exports) => {
|
|
16345
16574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16346
16575
|
function getSymbolIterator() {
|
|
@@ -16353,6 +16582,8 @@ var require_iterator = __commonJS((exports) => {
|
|
|
16353
16582
|
exports.iterator = getSymbolIterator();
|
|
16354
16583
|
exports.$$iterator = exports.iterator;
|
|
16355
16584
|
});
|
|
16585
|
+
|
|
16586
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/subscribeToIterable.js
|
|
16356
16587
|
var require_subscribeToIterable = __commonJS((exports) => {
|
|
16357
16588
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16358
16589
|
var iterator_1 = require_iterator();
|
|
@@ -16387,6 +16618,8 @@ var require_subscribeToIterable = __commonJS((exports) => {
|
|
|
16387
16618
|
};
|
|
16388
16619
|
};
|
|
16389
16620
|
});
|
|
16621
|
+
|
|
16622
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/subscribeToObservable.js
|
|
16390
16623
|
var require_subscribeToObservable = __commonJS((exports) => {
|
|
16391
16624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16392
16625
|
var observable_1 = require_observable();
|
|
@@ -16401,12 +16634,16 @@ var require_subscribeToObservable = __commonJS((exports) => {
|
|
|
16401
16634
|
};
|
|
16402
16635
|
};
|
|
16403
16636
|
});
|
|
16637
|
+
|
|
16638
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isArrayLike.js
|
|
16404
16639
|
var require_isArrayLike = __commonJS((exports) => {
|
|
16405
16640
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16406
16641
|
exports.isArrayLike = function(x) {
|
|
16407
16642
|
return x && typeof x.length === "number" && typeof x !== "function";
|
|
16408
16643
|
};
|
|
16409
16644
|
});
|
|
16645
|
+
|
|
16646
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isPromise.js
|
|
16410
16647
|
var require_isPromise = __commonJS((exports) => {
|
|
16411
16648
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16412
16649
|
function isPromise(value) {
|
|
@@ -16414,6 +16651,8 @@ var require_isPromise = __commonJS((exports) => {
|
|
|
16414
16651
|
}
|
|
16415
16652
|
exports.isPromise = isPromise;
|
|
16416
16653
|
});
|
|
16654
|
+
|
|
16655
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/subscribeTo.js
|
|
16417
16656
|
var require_subscribeTo = __commonJS((exports) => {
|
|
16418
16657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16419
16658
|
var subscribeToArray_1 = require_subscribeToArray();
|
|
@@ -16441,6 +16680,8 @@ var require_subscribeTo = __commonJS((exports) => {
|
|
|
16441
16680
|
}
|
|
16442
16681
|
};
|
|
16443
16682
|
});
|
|
16683
|
+
|
|
16684
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/subscribeToResult.js
|
|
16444
16685
|
var require_subscribeToResult = __commonJS((exports) => {
|
|
16445
16686
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16446
16687
|
var InnerSubscriber_1 = require_InnerSubscriber();
|
|
@@ -16460,6 +16701,8 @@ var require_subscribeToResult = __commonJS((exports) => {
|
|
|
16460
16701
|
}
|
|
16461
16702
|
exports.subscribeToResult = subscribeToResult;
|
|
16462
16703
|
});
|
|
16704
|
+
|
|
16705
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/combineLatest.js
|
|
16463
16706
|
var require_combineLatest = __commonJS((exports) => {
|
|
16464
16707
|
var __extends = exports && exports.__extends || function() {
|
|
16465
16708
|
var extendStatics = function(d, b) {
|
|
@@ -16576,6 +16819,8 @@ var require_combineLatest = __commonJS((exports) => {
|
|
|
16576
16819
|
}(OuterSubscriber_1.OuterSubscriber);
|
|
16577
16820
|
exports.CombineLatestSubscriber = CombineLatestSubscriber;
|
|
16578
16821
|
});
|
|
16822
|
+
|
|
16823
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduled/scheduleObservable.js
|
|
16579
16824
|
var require_scheduleObservable = __commonJS((exports) => {
|
|
16580
16825
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16581
16826
|
var Observable_1 = require_Observable();
|
|
@@ -16609,6 +16854,8 @@ var require_scheduleObservable = __commonJS((exports) => {
|
|
|
16609
16854
|
}
|
|
16610
16855
|
exports.scheduleObservable = scheduleObservable;
|
|
16611
16856
|
});
|
|
16857
|
+
|
|
16858
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduled/schedulePromise.js
|
|
16612
16859
|
var require_schedulePromise = __commonJS((exports) => {
|
|
16613
16860
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16614
16861
|
var Observable_1 = require_Observable();
|
|
@@ -16635,6 +16882,8 @@ var require_schedulePromise = __commonJS((exports) => {
|
|
|
16635
16882
|
}
|
|
16636
16883
|
exports.schedulePromise = schedulePromise;
|
|
16637
16884
|
});
|
|
16885
|
+
|
|
16886
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduled/scheduleIterable.js
|
|
16638
16887
|
var require_scheduleIterable = __commonJS((exports) => {
|
|
16639
16888
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16640
16889
|
var Observable_1 = require_Observable();
|
|
@@ -16681,6 +16930,8 @@ var require_scheduleIterable = __commonJS((exports) => {
|
|
|
16681
16930
|
}
|
|
16682
16931
|
exports.scheduleIterable = scheduleIterable;
|
|
16683
16932
|
});
|
|
16933
|
+
|
|
16934
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isInteropObservable.js
|
|
16684
16935
|
var require_isInteropObservable = __commonJS((exports) => {
|
|
16685
16936
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16686
16937
|
var observable_1 = require_observable();
|
|
@@ -16689,6 +16940,8 @@ var require_isInteropObservable = __commonJS((exports) => {
|
|
|
16689
16940
|
}
|
|
16690
16941
|
exports.isInteropObservable = isInteropObservable;
|
|
16691
16942
|
});
|
|
16943
|
+
|
|
16944
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isIterable.js
|
|
16692
16945
|
var require_isIterable = __commonJS((exports) => {
|
|
16693
16946
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16694
16947
|
var iterator_1 = require_iterator();
|
|
@@ -16697,6 +16950,8 @@ var require_isIterable = __commonJS((exports) => {
|
|
|
16697
16950
|
}
|
|
16698
16951
|
exports.isIterable = isIterable;
|
|
16699
16952
|
});
|
|
16953
|
+
|
|
16954
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/scheduled/scheduled.js
|
|
16700
16955
|
var require_scheduled = __commonJS((exports) => {
|
|
16701
16956
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16702
16957
|
var scheduleObservable_1 = require_scheduleObservable();
|
|
@@ -16723,6 +16978,8 @@ var require_scheduled = __commonJS((exports) => {
|
|
|
16723
16978
|
}
|
|
16724
16979
|
exports.scheduled = scheduled;
|
|
16725
16980
|
});
|
|
16981
|
+
|
|
16982
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/from.js
|
|
16726
16983
|
var require_from = __commonJS((exports) => {
|
|
16727
16984
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16728
16985
|
var Observable_1 = require_Observable();
|
|
@@ -16740,6 +16997,8 @@ var require_from = __commonJS((exports) => {
|
|
|
16740
16997
|
}
|
|
16741
16998
|
exports.from = from;
|
|
16742
16999
|
});
|
|
17000
|
+
|
|
17001
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/innerSubscribe.js
|
|
16743
17002
|
var require_innerSubscribe = __commonJS((exports) => {
|
|
16744
17003
|
var __extends = exports && exports.__extends || function() {
|
|
16745
17004
|
var extendStatics = function(d, b) {
|
|
@@ -16859,6 +17118,8 @@ var require_innerSubscribe = __commonJS((exports) => {
|
|
|
16859
17118
|
}
|
|
16860
17119
|
exports.innerSubscribe = innerSubscribe;
|
|
16861
17120
|
});
|
|
17121
|
+
|
|
17122
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/mergeMap.js
|
|
16862
17123
|
var require_mergeMap = __commonJS((exports) => {
|
|
16863
17124
|
var __extends = exports && exports.__extends || function() {
|
|
16864
17125
|
var extendStatics = function(d, b) {
|
|
@@ -16984,6 +17245,8 @@ var require_mergeMap = __commonJS((exports) => {
|
|
|
16984
17245
|
exports.MergeMapSubscriber = MergeMapSubscriber;
|
|
16985
17246
|
exports.flatMap = mergeMap;
|
|
16986
17247
|
});
|
|
17248
|
+
|
|
17249
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/mergeAll.js
|
|
16987
17250
|
var require_mergeAll = __commonJS((exports) => {
|
|
16988
17251
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16989
17252
|
var mergeMap_1 = require_mergeMap();
|
|
@@ -16996,6 +17259,8 @@ var require_mergeAll = __commonJS((exports) => {
|
|
|
16996
17259
|
}
|
|
16997
17260
|
exports.mergeAll = mergeAll;
|
|
16998
17261
|
});
|
|
17262
|
+
|
|
17263
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/concatAll.js
|
|
16999
17264
|
var require_concatAll = __commonJS((exports) => {
|
|
17000
17265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17001
17266
|
var mergeAll_1 = require_mergeAll();
|
|
@@ -17004,6 +17269,8 @@ var require_concatAll = __commonJS((exports) => {
|
|
|
17004
17269
|
}
|
|
17005
17270
|
exports.concatAll = concatAll;
|
|
17006
17271
|
});
|
|
17272
|
+
|
|
17273
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/concat.js
|
|
17007
17274
|
var require_concat = __commonJS((exports) => {
|
|
17008
17275
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17009
17276
|
var of_1 = require_of();
|
|
@@ -17017,6 +17284,8 @@ var require_concat = __commonJS((exports) => {
|
|
|
17017
17284
|
}
|
|
17018
17285
|
exports.concat = concat;
|
|
17019
17286
|
});
|
|
17287
|
+
|
|
17288
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/defer.js
|
|
17020
17289
|
var require_defer = __commonJS((exports) => {
|
|
17021
17290
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17022
17291
|
var Observable_1 = require_Observable();
|
|
@@ -17037,6 +17306,8 @@ var require_defer = __commonJS((exports) => {
|
|
|
17037
17306
|
}
|
|
17038
17307
|
exports.defer = defer;
|
|
17039
17308
|
});
|
|
17309
|
+
|
|
17310
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/forkJoin.js
|
|
17040
17311
|
var require_forkJoin = __commonJS((exports) => {
|
|
17041
17312
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17042
17313
|
var Observable_1 = require_Observable();
|
|
@@ -17114,6 +17385,8 @@ var require_forkJoin = __commonJS((exports) => {
|
|
|
17114
17385
|
});
|
|
17115
17386
|
}
|
|
17116
17387
|
});
|
|
17388
|
+
|
|
17389
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/fromEvent.js
|
|
17117
17390
|
var require_fromEvent = __commonJS((exports) => {
|
|
17118
17391
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17119
17392
|
var Observable_1 = require_Observable();
|
|
@@ -17184,6 +17457,8 @@ var require_fromEvent = __commonJS((exports) => {
|
|
|
17184
17457
|
return sourceObj && typeof sourceObj.addEventListener === "function" && typeof sourceObj.removeEventListener === "function";
|
|
17185
17458
|
}
|
|
17186
17459
|
});
|
|
17460
|
+
|
|
17461
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/fromEventPattern.js
|
|
17187
17462
|
var require_fromEventPattern = __commonJS((exports) => {
|
|
17188
17463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17189
17464
|
var Observable_1 = require_Observable();
|
|
@@ -17221,6 +17496,8 @@ var require_fromEventPattern = __commonJS((exports) => {
|
|
|
17221
17496
|
}
|
|
17222
17497
|
exports.fromEventPattern = fromEventPattern;
|
|
17223
17498
|
});
|
|
17499
|
+
|
|
17500
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/generate.js
|
|
17224
17501
|
var require_generate = __commonJS((exports) => {
|
|
17225
17502
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17226
17503
|
var Observable_1 = require_Observable();
|
|
@@ -17339,6 +17616,8 @@ var require_generate = __commonJS((exports) => {
|
|
|
17339
17616
|
return this.schedule(state);
|
|
17340
17617
|
}
|
|
17341
17618
|
});
|
|
17619
|
+
|
|
17620
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/iif.js
|
|
17342
17621
|
var require_iif = __commonJS((exports) => {
|
|
17343
17622
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17344
17623
|
var defer_1 = require_defer();
|
|
@@ -17356,6 +17635,8 @@ var require_iif = __commonJS((exports) => {
|
|
|
17356
17635
|
}
|
|
17357
17636
|
exports.iif = iif;
|
|
17358
17637
|
});
|
|
17638
|
+
|
|
17639
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/isNumeric.js
|
|
17359
17640
|
var require_isNumeric = __commonJS((exports) => {
|
|
17360
17641
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17361
17642
|
var isArray_1 = require_isArray();
|
|
@@ -17364,6 +17645,8 @@ var require_isNumeric = __commonJS((exports) => {
|
|
|
17364
17645
|
}
|
|
17365
17646
|
exports.isNumeric = isNumeric;
|
|
17366
17647
|
});
|
|
17648
|
+
|
|
17649
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/interval.js
|
|
17367
17650
|
var require_interval = __commonJS((exports) => {
|
|
17368
17651
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17369
17652
|
var Observable_1 = require_Observable();
|
|
@@ -17394,6 +17677,8 @@ var require_interval = __commonJS((exports) => {
|
|
|
17394
17677
|
this.schedule({ subscriber, counter: counter + 1, period }, period);
|
|
17395
17678
|
}
|
|
17396
17679
|
});
|
|
17680
|
+
|
|
17681
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/merge.js
|
|
17397
17682
|
var require_merge = __commonJS((exports) => {
|
|
17398
17683
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17399
17684
|
var Observable_1 = require_Observable();
|
|
@@ -17423,6 +17708,8 @@ var require_merge = __commonJS((exports) => {
|
|
|
17423
17708
|
}
|
|
17424
17709
|
exports.merge = merge2;
|
|
17425
17710
|
});
|
|
17711
|
+
|
|
17712
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/never.js
|
|
17426
17713
|
var require_never = __commonJS((exports) => {
|
|
17427
17714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17428
17715
|
var Observable_1 = require_Observable();
|
|
@@ -17433,6 +17720,8 @@ var require_never = __commonJS((exports) => {
|
|
|
17433
17720
|
}
|
|
17434
17721
|
exports.never = never;
|
|
17435
17722
|
});
|
|
17723
|
+
|
|
17724
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/onErrorResumeNext.js
|
|
17436
17725
|
var require_onErrorResumeNext = __commonJS((exports) => {
|
|
17437
17726
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17438
17727
|
var Observable_1 = require_Observable();
|
|
@@ -17466,6 +17755,8 @@ var require_onErrorResumeNext = __commonJS((exports) => {
|
|
|
17466
17755
|
}
|
|
17467
17756
|
exports.onErrorResumeNext = onErrorResumeNext;
|
|
17468
17757
|
});
|
|
17758
|
+
|
|
17759
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/pairs.js
|
|
17469
17760
|
var require_pairs = __commonJS((exports) => {
|
|
17470
17761
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17471
17762
|
var Observable_1 = require_Observable();
|
|
@@ -17506,6 +17797,8 @@ var require_pairs = __commonJS((exports) => {
|
|
|
17506
17797
|
}
|
|
17507
17798
|
exports.dispatch = dispatch;
|
|
17508
17799
|
});
|
|
17800
|
+
|
|
17801
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/util/not.js
|
|
17509
17802
|
var require_not = __commonJS((exports) => {
|
|
17510
17803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17511
17804
|
function not(pred, thisArg) {
|
|
@@ -17518,6 +17811,8 @@ var require_not = __commonJS((exports) => {
|
|
|
17518
17811
|
}
|
|
17519
17812
|
exports.not = not;
|
|
17520
17813
|
});
|
|
17814
|
+
|
|
17815
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/filter.js
|
|
17521
17816
|
var require_filter = __commonJS((exports) => {
|
|
17522
17817
|
var __extends = exports && exports.__extends || function() {
|
|
17523
17818
|
var extendStatics = function(d, b) {
|
|
@@ -17580,6 +17875,8 @@ var require_filter = __commonJS((exports) => {
|
|
|
17580
17875
|
return FilterSubscriber2;
|
|
17581
17876
|
}(Subscriber_1.Subscriber);
|
|
17582
17877
|
});
|
|
17878
|
+
|
|
17879
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/partition.js
|
|
17583
17880
|
var require_partition = __commonJS((exports) => {
|
|
17584
17881
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17585
17882
|
var not_1 = require_not();
|
|
@@ -17594,6 +17891,8 @@ var require_partition = __commonJS((exports) => {
|
|
|
17594
17891
|
}
|
|
17595
17892
|
exports.partition = partition;
|
|
17596
17893
|
});
|
|
17894
|
+
|
|
17895
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/race.js
|
|
17597
17896
|
var require_race = __commonJS((exports) => {
|
|
17598
17897
|
var __extends = exports && exports.__extends || function() {
|
|
17599
17898
|
var extendStatics = function(d, b) {
|
|
@@ -17689,6 +17988,8 @@ var require_race = __commonJS((exports) => {
|
|
|
17689
17988
|
}(OuterSubscriber_1.OuterSubscriber);
|
|
17690
17989
|
exports.RaceSubscriber = RaceSubscriber;
|
|
17691
17990
|
});
|
|
17991
|
+
|
|
17992
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/range.js
|
|
17692
17993
|
var require_range = __commonJS((exports) => {
|
|
17693
17994
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17694
17995
|
var Observable_1 = require_Observable();
|
|
@@ -17742,6 +18043,8 @@ var require_range = __commonJS((exports) => {
|
|
|
17742
18043
|
}
|
|
17743
18044
|
exports.dispatch = dispatch;
|
|
17744
18045
|
});
|
|
18046
|
+
|
|
18047
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/timer.js
|
|
17745
18048
|
var require_timer = __commonJS((exports) => {
|
|
17746
18049
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17747
18050
|
var Observable_1 = require_Observable();
|
|
@@ -17783,6 +18086,8 @@ var require_timer = __commonJS((exports) => {
|
|
|
17783
18086
|
this.schedule(state, period);
|
|
17784
18087
|
}
|
|
17785
18088
|
});
|
|
18089
|
+
|
|
18090
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/using.js
|
|
17786
18091
|
var require_using = __commonJS((exports) => {
|
|
17787
18092
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17788
18093
|
var Observable_1 = require_Observable();
|
|
@@ -17816,6 +18121,8 @@ var require_using = __commonJS((exports) => {
|
|
|
17816
18121
|
}
|
|
17817
18122
|
exports.using = using;
|
|
17818
18123
|
});
|
|
18124
|
+
|
|
18125
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/zip.js
|
|
17819
18126
|
var require_zip = __commonJS((exports) => {
|
|
17820
18127
|
var __extends = exports && exports.__extends || function() {
|
|
17821
18128
|
var extendStatics = function(d, b) {
|
|
@@ -18046,6 +18353,8 @@ var require_zip = __commonJS((exports) => {
|
|
|
18046
18353
|
return ZipBufferIterator2;
|
|
18047
18354
|
}(innerSubscribe_1.SimpleOuterSubscriber);
|
|
18048
18355
|
});
|
|
18356
|
+
|
|
18357
|
+
// ../../node_modules/@uipath/robot-client/node_modules/rxjs/index.js
|
|
18049
18358
|
var require_rxjs = __commonJS((exports) => {
|
|
18050
18359
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18051
18360
|
var Observable_1 = require_Observable();
|
|
@@ -18165,6 +18474,8 @@ var require_rxjs = __commonJS((exports) => {
|
|
|
18165
18474
|
var config_1 = require_config();
|
|
18166
18475
|
exports.config = config_1.config;
|
|
18167
18476
|
});
|
|
18477
|
+
|
|
18478
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/completed-status.js
|
|
18168
18479
|
var require_completed_status = __commonJS((exports) => {
|
|
18169
18480
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18170
18481
|
exports.CompletedStatus = undefined;
|
|
@@ -18175,6 +18486,8 @@ var require_completed_status = __commonJS((exports) => {
|
|
|
18175
18486
|
CompletedStatus2[CompletedStatus2["Failed"] = 2] = "Failed";
|
|
18176
18487
|
})(CompletedStatus = exports.CompletedStatus || (exports.CompletedStatus = {}));
|
|
18177
18488
|
});
|
|
18489
|
+
|
|
18490
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/connect-to-server-parameters.js
|
|
18178
18491
|
var require_connect_to_server_parameters = __commonJS((exports) => {
|
|
18179
18492
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18180
18493
|
exports.ConnectToServerParameters = undefined;
|
|
@@ -18189,6 +18502,8 @@ var require_connect_to_server_parameters = __commonJS((exports) => {
|
|
|
18189
18502
|
}
|
|
18190
18503
|
exports.ConnectToServerParameters = ConnectToServerParameters;
|
|
18191
18504
|
});
|
|
18505
|
+
|
|
18506
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/disconnect-from-server-parameters.js
|
|
18192
18507
|
var require_disconnect_from_server_parameters = __commonJS((exports) => {
|
|
18193
18508
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18194
18509
|
exports.RunningJobHandling = exports.DisconnectFromServerParameters = undefined;
|
|
@@ -18209,6 +18524,8 @@ var require_disconnect_from_server_parameters = __commonJS((exports) => {
|
|
|
18209
18524
|
RunningJobHandling2["WaitRunningJobs"] = "WaitRunningJobs";
|
|
18210
18525
|
})(RunningJobHandling = exports.RunningJobHandling || (exports.RunningJobHandling = {}));
|
|
18211
18526
|
});
|
|
18527
|
+
|
|
18528
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/foreground-status.js
|
|
18212
18529
|
var require_foreground_status = __commonJS((exports) => {
|
|
18213
18530
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18214
18531
|
exports.ForegroundStatus = undefined;
|
|
@@ -18219,6 +18536,8 @@ var require_foreground_status = __commonJS((exports) => {
|
|
|
18219
18536
|
ForegroundStatus2["Background"] = "Background";
|
|
18220
18537
|
})(ForegroundStatus = exports.ForegroundStatus || (exports.ForegroundStatus = {}));
|
|
18221
18538
|
});
|
|
18539
|
+
|
|
18540
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/get-project-details-parameters.js
|
|
18222
18541
|
var require_get_project_details_parameters = __commonJS((exports) => {
|
|
18223
18542
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18224
18543
|
exports.GetProjectDetailsParameters = undefined;
|
|
@@ -18232,9 +18551,13 @@ var require_get_project_details_parameters = __commonJS((exports) => {
|
|
|
18232
18551
|
}
|
|
18233
18552
|
exports.GetProjectDetailsParameters = GetProjectDetailsParameters;
|
|
18234
18553
|
});
|
|
18554
|
+
|
|
18555
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/input-argument-schema.js
|
|
18235
18556
|
var require_input_argument_schema = __commonJS((exports) => {
|
|
18236
18557
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18237
18558
|
});
|
|
18559
|
+
|
|
18560
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/install-process-parameters.js
|
|
18238
18561
|
var require_install_process_parameters = __commonJS((exports) => {
|
|
18239
18562
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18240
18563
|
exports.InstallProcessParameters = undefined;
|
|
@@ -18248,6 +18571,8 @@ var require_install_process_parameters = __commonJS((exports) => {
|
|
|
18248
18571
|
}
|
|
18249
18572
|
exports.InstallProcessParameters = InstallProcessParameters;
|
|
18250
18573
|
});
|
|
18574
|
+
|
|
18575
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/job-completed-event-args.js
|
|
18251
18576
|
var require_job_completed_event_args = __commonJS((exports) => {
|
|
18252
18577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18253
18578
|
exports.JobCompletedEventArgs = undefined;
|
|
@@ -18263,9 +18588,13 @@ var require_job_completed_event_args = __commonJS((exports) => {
|
|
|
18263
18588
|
}
|
|
18264
18589
|
exports.JobCompletedEventArgs = JobCompletedEventArgs;
|
|
18265
18590
|
});
|
|
18591
|
+
|
|
18592
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/job-data.js
|
|
18266
18593
|
var require_job_data = __commonJS((exports) => {
|
|
18267
18594
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18268
18595
|
});
|
|
18596
|
+
|
|
18597
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/job-status.js
|
|
18269
18598
|
var require_job_status = __commonJS((exports) => {
|
|
18270
18599
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18271
18600
|
exports.JobStatus = undefined;
|
|
@@ -18276,6 +18605,8 @@ var require_job_status = __commonJS((exports) => {
|
|
|
18276
18605
|
JobStatus2[JobStatus2["Paused"] = 2] = "Paused";
|
|
18277
18606
|
})(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
|
|
18278
18607
|
});
|
|
18608
|
+
|
|
18609
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/job-status-changed-event-args.js
|
|
18279
18610
|
var require_job_status_changed_event_args = __commonJS((exports) => {
|
|
18280
18611
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18281
18612
|
exports.JobStatusChangedEventArgs = undefined;
|
|
@@ -18293,9 +18624,13 @@ var require_job_status_changed_event_args = __commonJS((exports) => {
|
|
|
18293
18624
|
}
|
|
18294
18625
|
exports.JobStatusChangedEventArgs = JobStatusChangedEventArgs;
|
|
18295
18626
|
});
|
|
18627
|
+
|
|
18628
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/local-process-information.js
|
|
18296
18629
|
var require_local_process_information = __commonJS((exports) => {
|
|
18297
18630
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18298
18631
|
});
|
|
18632
|
+
|
|
18633
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/log-level.js
|
|
18299
18634
|
var require_log_level = __commonJS((exports) => {
|
|
18300
18635
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18301
18636
|
exports.LogLevel = undefined;
|
|
@@ -18310,9 +18645,13 @@ var require_log_level = __commonJS((exports) => {
|
|
|
18310
18645
|
LogLevel2["Off"] = "Off";
|
|
18311
18646
|
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
|
|
18312
18647
|
});
|
|
18648
|
+
|
|
18649
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/map-from-string.js
|
|
18313
18650
|
var require_map_from_string = __commonJS((exports) => {
|
|
18314
18651
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18315
18652
|
});
|
|
18653
|
+
|
|
18654
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/orchestrator-status.js
|
|
18316
18655
|
var require_orchestrator_status = __commonJS((exports) => {
|
|
18317
18656
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18318
18657
|
exports.OrchestratorStatus = undefined;
|
|
@@ -18324,6 +18663,8 @@ var require_orchestrator_status = __commonJS((exports) => {
|
|
|
18324
18663
|
OrchestratorStatus2[OrchestratorStatus2["ConnectionFailed"] = 3] = "ConnectionFailed";
|
|
18325
18664
|
})(OrchestratorStatus = exports.OrchestratorStatus || (exports.OrchestratorStatus = {}));
|
|
18326
18665
|
});
|
|
18666
|
+
|
|
18667
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/orchestrator-status-changed-event-args.js
|
|
18327
18668
|
var require_orchestrator_status_changed_event_args = __commonJS((exports) => {
|
|
18328
18669
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18329
18670
|
exports.OrchestratorStatusChangedEventArgs = undefined;
|
|
@@ -18337,6 +18678,8 @@ var require_orchestrator_status_changed_event_args = __commonJS((exports) => {
|
|
|
18337
18678
|
}
|
|
18338
18679
|
exports.OrchestratorStatusChangedEventArgs = OrchestratorStatusChangedEventArgs;
|
|
18339
18680
|
});
|
|
18681
|
+
|
|
18682
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/pause-job-parameters.js
|
|
18340
18683
|
var require_pause_job_parameters = __commonJS((exports) => {
|
|
18341
18684
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18342
18685
|
exports.PauseJobParameters = undefined;
|
|
@@ -18350,9 +18693,13 @@ var require_pause_job_parameters = __commonJS((exports) => {
|
|
|
18350
18693
|
}
|
|
18351
18694
|
exports.PauseJobParameters = PauseJobParameters;
|
|
18352
18695
|
});
|
|
18696
|
+
|
|
18697
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/process-data.js
|
|
18353
18698
|
var require_process_data = __commonJS((exports) => {
|
|
18354
18699
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18355
18700
|
});
|
|
18701
|
+
|
|
18702
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/process-installation-state.js
|
|
18356
18703
|
var require_process_installation_state = __commonJS((exports) => {
|
|
18357
18704
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18358
18705
|
exports.ProcessInstallationState = undefined;
|
|
@@ -18363,12 +18710,18 @@ var require_process_installation_state = __commonJS((exports) => {
|
|
|
18363
18710
|
ProcessInstallationState2[ProcessInstallationState2["Installed"] = 2] = "Installed";
|
|
18364
18711
|
})(ProcessInstallationState = exports.ProcessInstallationState || (exports.ProcessInstallationState = {}));
|
|
18365
18712
|
});
|
|
18713
|
+
|
|
18714
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/process-list-updated-args.js
|
|
18366
18715
|
var require_process_list_updated_args = __commonJS((exports) => {
|
|
18367
18716
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18368
18717
|
});
|
|
18718
|
+
|
|
18719
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/project-details.js
|
|
18369
18720
|
var require_project_details = __commonJS((exports) => {
|
|
18370
18721
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18371
18722
|
});
|
|
18723
|
+
|
|
18724
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/project-settings.js
|
|
18372
18725
|
var require_project_settings = __commonJS((exports) => {
|
|
18373
18726
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18374
18727
|
exports.ProjectSettings = undefined;
|
|
@@ -18380,6 +18733,8 @@ var require_project_settings = __commonJS((exports) => {
|
|
|
18380
18733
|
}
|
|
18381
18734
|
exports.ProjectSettings = ProjectSettings;
|
|
18382
18735
|
});
|
|
18736
|
+
|
|
18737
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/proxy-basic-authentication-info.js
|
|
18383
18738
|
var require_proxy_basic_authentication_info = __commonJS((exports) => {
|
|
18384
18739
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18385
18740
|
exports.ProxyBasicAuthenticationInfo = undefined;
|
|
@@ -18393,9 +18748,13 @@ var require_proxy_basic_authentication_info = __commonJS((exports) => {
|
|
|
18393
18748
|
}
|
|
18394
18749
|
exports.ProxyBasicAuthenticationInfo = ProxyBasicAuthenticationInfo;
|
|
18395
18750
|
});
|
|
18751
|
+
|
|
18752
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/refresh-status-parameters.js
|
|
18396
18753
|
var require_refresh_status_parameters = __commonJS((exports) => {
|
|
18397
18754
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18398
18755
|
});
|
|
18756
|
+
|
|
18757
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/resume-job-parameters.js
|
|
18399
18758
|
var require_resume_job_parameters = __commonJS((exports) => {
|
|
18400
18759
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18401
18760
|
exports.ResumeJobParameters = undefined;
|
|
@@ -18409,6 +18768,8 @@ var require_resume_job_parameters = __commonJS((exports) => {
|
|
|
18409
18768
|
}
|
|
18410
18769
|
exports.ResumeJobParameters = ResumeJobParameters;
|
|
18411
18770
|
});
|
|
18771
|
+
|
|
18772
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/robot-status.js
|
|
18412
18773
|
var require_robot_status = __commonJS((exports) => {
|
|
18413
18774
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18414
18775
|
exports.RobotStatus = undefined;
|
|
@@ -18422,9 +18783,13 @@ var require_robot_status = __commonJS((exports) => {
|
|
|
18422
18783
|
RobotStatus2[RobotStatus2["Connected"] = 6] = "Connected";
|
|
18423
18784
|
})(RobotStatus = exports.RobotStatus || (exports.RobotStatus = {}));
|
|
18424
18785
|
});
|
|
18786
|
+
|
|
18787
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/robot-status-changed-event-args.js
|
|
18425
18788
|
var require_robot_status_changed_event_args = __commonJS((exports) => {
|
|
18426
18789
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18427
18790
|
});
|
|
18791
|
+
|
|
18792
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/start-job-parameters.js
|
|
18428
18793
|
var require_start_job_parameters = __commonJS((exports) => {
|
|
18429
18794
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18430
18795
|
exports.StartJobParameters = undefined;
|
|
@@ -18441,6 +18806,8 @@ var require_start_job_parameters = __commonJS((exports) => {
|
|
|
18441
18806
|
}
|
|
18442
18807
|
exports.StartJobParameters = StartJobParameters;
|
|
18443
18808
|
});
|
|
18809
|
+
|
|
18810
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/stop-job-parameters.js
|
|
18444
18811
|
var require_stop_job_parameters = __commonJS((exports) => {
|
|
18445
18812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18446
18813
|
exports.StopJobParameters = undefined;
|
|
@@ -18454,6 +18821,8 @@ var require_stop_job_parameters = __commonJS((exports) => {
|
|
|
18454
18821
|
}
|
|
18455
18822
|
exports.StopJobParameters = StopJobParameters;
|
|
18456
18823
|
});
|
|
18824
|
+
|
|
18825
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/user-info.js
|
|
18457
18826
|
var require_user_info = __commonJS((exports) => {
|
|
18458
18827
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18459
18828
|
exports.UserInfo = undefined;
|
|
@@ -18468,6 +18837,8 @@ var require_user_info = __commonJS((exports) => {
|
|
|
18468
18837
|
}
|
|
18469
18838
|
exports.UserInfo = UserInfo;
|
|
18470
18839
|
});
|
|
18840
|
+
|
|
18841
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/user-info-state.js
|
|
18471
18842
|
var require_user_info_state = __commonJS((exports) => {
|
|
18472
18843
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18473
18844
|
exports.UserInfoState = undefined;
|
|
@@ -18479,6 +18850,8 @@ var require_user_info_state = __commonJS((exports) => {
|
|
|
18479
18850
|
UserInfoState2["SignedInConfirmed"] = "SignedInConfirmed";
|
|
18480
18851
|
})(UserInfoState = exports.UserInfoState || (exports.UserInfoState = {}));
|
|
18481
18852
|
});
|
|
18853
|
+
|
|
18854
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/user-info-wrapper.js
|
|
18482
18855
|
var require_user_info_wrapper = __commonJS((exports) => {
|
|
18483
18856
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18484
18857
|
exports.UserInfoWrapper = undefined;
|
|
@@ -18491,6 +18864,8 @@ var require_user_info_wrapper = __commonJS((exports) => {
|
|
|
18491
18864
|
}
|
|
18492
18865
|
exports.UserInfoWrapper = UserInfoWrapper;
|
|
18493
18866
|
});
|
|
18867
|
+
|
|
18868
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/signin-parameters.js
|
|
18494
18869
|
var require_signin_parameters = __commonJS((exports) => {
|
|
18495
18870
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18496
18871
|
exports.SignInParameters = undefined;
|
|
@@ -18505,6 +18880,8 @@ var require_signin_parameters = __commonJS((exports) => {
|
|
|
18505
18880
|
}
|
|
18506
18881
|
exports.SignInParameters = SignInParameters;
|
|
18507
18882
|
});
|
|
18883
|
+
|
|
18884
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/tenant.js
|
|
18508
18885
|
var require_tenant = __commonJS((exports) => {
|
|
18509
18886
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18510
18887
|
exports.Tenant = undefined;
|
|
@@ -18519,6 +18896,8 @@ var require_tenant = __commonJS((exports) => {
|
|
|
18519
18896
|
}
|
|
18520
18897
|
exports.Tenant = Tenant;
|
|
18521
18898
|
});
|
|
18899
|
+
|
|
18900
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/server-error-code.js
|
|
18522
18901
|
var require_server_error_code = __commonJS((exports) => {
|
|
18523
18902
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18524
18903
|
exports.ServerErrorCode = undefined;
|
|
@@ -18530,6 +18909,8 @@ var require_server_error_code = __commonJS((exports) => {
|
|
|
18530
18909
|
ServerErrorCode2[ServerErrorCode2["InvalidLoginMethod"] = 1415] = "InvalidLoginMethod";
|
|
18531
18910
|
})(ServerErrorCode = exports.ServerErrorCode || (exports.ServerErrorCode = {}));
|
|
18532
18911
|
});
|
|
18912
|
+
|
|
18913
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/target-framework.js
|
|
18533
18914
|
var require_target_framework = __commonJS((exports) => {
|
|
18534
18915
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18535
18916
|
exports.TargetFramework = undefined;
|
|
@@ -18540,6 +18921,8 @@ var require_target_framework = __commonJS((exports) => {
|
|
|
18540
18921
|
TargetFramework2[TargetFramework2["Portable"] = 2] = "Portable";
|
|
18541
18922
|
})(TargetFramework = exports.TargetFramework || (exports.TargetFramework = {}));
|
|
18542
18923
|
});
|
|
18924
|
+
|
|
18925
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/connect-with-client-credentials.js
|
|
18543
18926
|
var require_connect_with_client_credentials = __commonJS((exports) => {
|
|
18544
18927
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18545
18928
|
exports.ConnectWithClientCredentialsParameters = undefined;
|
|
@@ -18555,6 +18938,8 @@ var require_connect_with_client_credentials = __commonJS((exports) => {
|
|
|
18555
18938
|
}
|
|
18556
18939
|
exports.ConnectWithClientCredentialsParameters = ConnectWithClientCredentialsParameters;
|
|
18557
18940
|
});
|
|
18941
|
+
|
|
18942
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/connection-info.js
|
|
18558
18943
|
var require_connection_info = __commonJS((exports) => {
|
|
18559
18944
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18560
18945
|
exports.ConnectionType = undefined;
|
|
@@ -18566,6 +18951,8 @@ var require_connection_info = __commonJS((exports) => {
|
|
|
18566
18951
|
ConnectionType2["Offline"] = "Offline";
|
|
18567
18952
|
})(ConnectionType = exports.ConnectionType || (exports.ConnectionType = {}));
|
|
18568
18953
|
});
|
|
18954
|
+
|
|
18955
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/package-download-event-args.js
|
|
18569
18956
|
var require_package_download_event_args = __commonJS((exports) => {
|
|
18570
18957
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18571
18958
|
exports.PackageDownloadEventArgs = undefined;
|
|
@@ -18580,6 +18967,8 @@ var require_package_download_event_args = __commonJS((exports) => {
|
|
|
18580
18967
|
}
|
|
18581
18968
|
exports.PackageDownloadEventArgs = PackageDownloadEventArgs;
|
|
18582
18969
|
});
|
|
18970
|
+
|
|
18971
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/package-download-state.js
|
|
18583
18972
|
var require_package_download_state = __commonJS((exports) => {
|
|
18584
18973
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18585
18974
|
exports.PackageDownloadState = undefined;
|
|
@@ -18590,6 +18979,8 @@ var require_package_download_state = __commonJS((exports) => {
|
|
|
18590
18979
|
PackageDownloadState2[PackageDownloadState2["Failed"] = 2] = "Failed";
|
|
18591
18980
|
})(PackageDownloadState = exports.PackageDownloadState || (exports.PackageDownloadState = {}));
|
|
18592
18981
|
});
|
|
18982
|
+
|
|
18983
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/dtos/index.js
|
|
18593
18984
|
var require_dtos = __commonJS((exports) => {
|
|
18594
18985
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
18595
18986
|
if (k2 === undefined)
|
|
@@ -18653,24 +19044,38 @@ var require_dtos = __commonJS((exports) => {
|
|
|
18653
19044
|
__exportStar(require_package_download_event_args(), exports);
|
|
18654
19045
|
__exportStar(require_package_download_state(), exports);
|
|
18655
19046
|
});
|
|
19047
|
+
|
|
19048
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/interactive-sign-in.js
|
|
18656
19049
|
var require_interactive_sign_in = __commonJS((exports) => {
|
|
18657
19050
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18658
19051
|
});
|
|
19052
|
+
|
|
19053
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/telemetry.js
|
|
18659
19054
|
var require_telemetry = __commonJS((exports) => {
|
|
18660
19055
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18661
19056
|
});
|
|
19057
|
+
|
|
19058
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/robot-agent-proxy.js
|
|
18662
19059
|
var require_robot_agent_proxy = __commonJS((exports) => {
|
|
18663
19060
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18664
19061
|
});
|
|
19062
|
+
|
|
19063
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/interactive-connect-flow.js
|
|
18665
19064
|
var require_interactive_connect_flow = __commonJS((exports) => {
|
|
18666
19065
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18667
19066
|
});
|
|
19067
|
+
|
|
19068
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/access-provider.js
|
|
18668
19069
|
var require_access_provider = __commonJS((exports) => {
|
|
18669
19070
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18670
19071
|
});
|
|
19072
|
+
|
|
19073
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/robotjs-services.js
|
|
18671
19074
|
var require_robotjs_services = __commonJS((exports) => {
|
|
18672
19075
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18673
19076
|
});
|
|
19077
|
+
|
|
19078
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/agent/index.js
|
|
18674
19079
|
var require_agent = __commonJS((exports) => {
|
|
18675
19080
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
18676
19081
|
if (k2 === undefined)
|
|
@@ -18701,9 +19106,13 @@ var require_agent = __commonJS((exports) => {
|
|
|
18701
19106
|
__exportStar(require_access_provider(), exports);
|
|
18702
19107
|
__exportStar(require_robotjs_services(), exports);
|
|
18703
19108
|
});
|
|
19109
|
+
|
|
19110
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/attended-events.js
|
|
18704
19111
|
var require_attended_events = __commonJS((exports) => {
|
|
18705
19112
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18706
19113
|
});
|
|
19114
|
+
|
|
19115
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/client-process-message.js
|
|
18707
19116
|
var require_client_process_message = __commonJS((exports) => {
|
|
18708
19117
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18709
19118
|
exports.ClientProcessMessage = undefined;
|
|
@@ -18717,6 +19126,8 @@ var require_client_process_message = __commonJS((exports) => {
|
|
|
18717
19126
|
}
|
|
18718
19127
|
exports.ClientProcessMessage = ClientProcessMessage;
|
|
18719
19128
|
});
|
|
19129
|
+
|
|
19130
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/connect-to-server-parameters.js
|
|
18720
19131
|
var require_connect_to_server_parameters2 = __commonJS((exports) => {
|
|
18721
19132
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18722
19133
|
exports.ConnectToServerParameters = undefined;
|
|
@@ -18731,6 +19142,8 @@ var require_connect_to_server_parameters2 = __commonJS((exports) => {
|
|
|
18731
19142
|
}
|
|
18732
19143
|
exports.ConnectToServerParameters = ConnectToServerParameters;
|
|
18733
19144
|
});
|
|
19145
|
+
|
|
19146
|
+
// ../../node_modules/@uipath/robot-client/dist/commons/guid.js
|
|
18734
19147
|
var require_guid = __commonJS((exports) => {
|
|
18735
19148
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18736
19149
|
exports.Guid = undefined;
|
|
@@ -18739,6 +19152,8 @@ var require_guid = __commonJS((exports) => {
|
|
|
18739
19152
|
Guid2.empty = "00000000-0000-0000-0000-000000000000";
|
|
18740
19153
|
})(Guid = exports.Guid || (exports.Guid = {}));
|
|
18741
19154
|
});
|
|
19155
|
+
|
|
19156
|
+
// ../../node_modules/@uipath/robot-client/dist/commons/pipe-utils.js
|
|
18742
19157
|
var require_pipe_utils = __commonJS((exports) => {
|
|
18743
19158
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
18744
19159
|
if (k2 === undefined)
|
|
@@ -18804,6 +19219,8 @@ var require_pipe_utils = __commonJS((exports) => {
|
|
|
18804
19219
|
exports.PipeUtils = PipeUtils;
|
|
18805
19220
|
PipeUtils._alternateIpcScopeFileName = "AlternateIpcScope";
|
|
18806
19221
|
});
|
|
19222
|
+
|
|
19223
|
+
// ../../node_modules/@uipath/robot-client/dist/commons/index.js
|
|
18807
19224
|
var require_commons = __commonJS((exports) => {
|
|
18808
19225
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18809
19226
|
exports.PipeUtils = exports.Guid = undefined;
|
|
@@ -18816,6 +19233,8 @@ var require_commons = __commonJS((exports) => {
|
|
|
18816
19233
|
return pipe_utils_1.PipeUtils;
|
|
18817
19234
|
} });
|
|
18818
19235
|
});
|
|
19236
|
+
|
|
19237
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/communication-settings.js
|
|
18819
19238
|
var require_communication_settings = __commonJS((exports) => {
|
|
18820
19239
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18821
19240
|
exports.Communication = undefined;
|
|
@@ -18842,6 +19261,8 @@ var require_communication_settings = __commonJS((exports) => {
|
|
|
18842
19261
|
exports.Communication = Communication;
|
|
18843
19262
|
Communication.settings = new CommunicationSettings;
|
|
18844
19263
|
});
|
|
19264
|
+
|
|
19265
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/install-process-parameters.js
|
|
18845
19266
|
var require_install_process_parameters2 = __commonJS((exports) => {
|
|
18846
19267
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18847
19268
|
exports.InstallProcessParameters = undefined;
|
|
@@ -18857,6 +19278,8 @@ var require_install_process_parameters2 = __commonJS((exports) => {
|
|
|
18857
19278
|
}
|
|
18858
19279
|
exports.InstallProcessParameters = InstallProcessParameters;
|
|
18859
19280
|
});
|
|
19281
|
+
|
|
19282
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/refresh-status-parameters.js
|
|
18860
19283
|
var require_refresh_status_parameters2 = __commonJS((exports) => {
|
|
18861
19284
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18862
19285
|
exports.RefreshStatusParameters = undefined;
|
|
@@ -18870,6 +19293,8 @@ var require_refresh_status_parameters2 = __commonJS((exports) => {
|
|
|
18870
19293
|
}
|
|
18871
19294
|
exports.RefreshStatusParameters = RefreshStatusParameters;
|
|
18872
19295
|
});
|
|
19296
|
+
|
|
19297
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/robot-status.js
|
|
18873
19298
|
var require_robot_status2 = __commonJS((exports) => {
|
|
18874
19299
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18875
19300
|
exports.RobotStatus = undefined;
|
|
@@ -18883,6 +19308,8 @@ var require_robot_status2 = __commonJS((exports) => {
|
|
|
18883
19308
|
RobotStatus2[RobotStatus2["Connected"] = 5] = "Connected";
|
|
18884
19309
|
})(RobotStatus = exports.RobotStatus || (exports.RobotStatus = {}));
|
|
18885
19310
|
});
|
|
19311
|
+
|
|
19312
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/robot-status-changed-event-args.js
|
|
18886
19313
|
var require_robot_status_changed_event_args2 = __commonJS((exports) => {
|
|
18887
19314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18888
19315
|
exports.RobotStatusChangedEventArgs = undefined;
|
|
@@ -18903,6 +19330,8 @@ var require_robot_status_changed_event_args2 = __commonJS((exports) => {
|
|
|
18903
19330
|
}
|
|
18904
19331
|
exports.RobotStatusChangedEventArgs = RobotStatusChangedEventArgs;
|
|
18905
19332
|
});
|
|
19333
|
+
|
|
19334
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/set-value-parameters.js
|
|
18906
19335
|
var require_set_value_parameters = __commonJS((exports) => {
|
|
18907
19336
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18908
19337
|
exports.SetValueParameters = undefined;
|
|
@@ -18916,6 +19345,8 @@ var require_set_value_parameters = __commonJS((exports) => {
|
|
|
18916
19345
|
}
|
|
18917
19346
|
exports.SetValueParameters = SetValueParameters;
|
|
18918
19347
|
});
|
|
19348
|
+
|
|
19349
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/get-resource-url-args.js
|
|
18919
19350
|
var require_get_resource_url_args = __commonJS((exports) => {
|
|
18920
19351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18921
19352
|
exports.GetResourceUrlArgs = undefined;
|
|
@@ -18929,6 +19360,8 @@ var require_get_resource_url_args = __commonJS((exports) => {
|
|
|
18929
19360
|
}
|
|
18930
19361
|
exports.GetResourceUrlArgs = GetResourceUrlArgs;
|
|
18931
19362
|
});
|
|
19363
|
+
|
|
19364
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/get-access-token-args.js
|
|
18932
19365
|
var require_get_access_token_args = __commonJS((exports) => {
|
|
18933
19366
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18934
19367
|
exports.GetAccessTokenArgs = undefined;
|
|
@@ -18944,6 +19377,8 @@ var require_get_access_token_args = __commonJS((exports) => {
|
|
|
18944
19377
|
}
|
|
18945
19378
|
exports.GetAccessTokenArgs = GetAccessTokenArgs;
|
|
18946
19379
|
});
|
|
19380
|
+
|
|
19381
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/get-processes-parameters.js
|
|
18947
19382
|
var require_get_processes_parameters = __commonJS((exports) => {
|
|
18948
19383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18949
19384
|
exports.GetProcessesParameters = undefined;
|
|
@@ -18957,6 +19392,8 @@ var require_get_processes_parameters = __commonJS((exports) => {
|
|
|
18957
19392
|
}
|
|
18958
19393
|
exports.GetProcessesParameters = GetProcessesParameters;
|
|
18959
19394
|
});
|
|
19395
|
+
|
|
19396
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/job-command.js
|
|
18960
19397
|
var require_job_command = __commonJS((exports) => {
|
|
18961
19398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18962
19399
|
exports.JobCommand = undefined;
|
|
@@ -18967,6 +19404,8 @@ var require_job_command = __commonJS((exports) => {
|
|
|
18967
19404
|
JobCommand2["Resume"] = "Resume";
|
|
18968
19405
|
})(JobCommand = exports.JobCommand || (exports.JobCommand = {}));
|
|
18969
19406
|
});
|
|
19407
|
+
|
|
19408
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/job-command-parameters.js
|
|
18970
19409
|
var require_job_command_parameters = __commonJS((exports) => {
|
|
18971
19410
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18972
19411
|
exports.JobCommandParameters = undefined;
|
|
@@ -18981,6 +19420,8 @@ var require_job_command_parameters = __commonJS((exports) => {
|
|
|
18981
19420
|
}
|
|
18982
19421
|
exports.JobCommandParameters = JobCommandParameters;
|
|
18983
19422
|
});
|
|
19423
|
+
|
|
19424
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/start-job-parameters.js
|
|
18984
19425
|
var require_start_job_parameters2 = __commonJS((exports) => {
|
|
18985
19426
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18986
19427
|
exports.StartJobParameters = undefined;
|
|
@@ -18999,6 +19440,8 @@ var require_start_job_parameters2 = __commonJS((exports) => {
|
|
|
18999
19440
|
}
|
|
19000
19441
|
exports.StartJobParameters = StartJobParameters;
|
|
19001
19442
|
});
|
|
19443
|
+
|
|
19444
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/dtos/index.js
|
|
19002
19445
|
var require_dtos2 = __commonJS((exports) => {
|
|
19003
19446
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19004
19447
|
if (k2 === undefined)
|
|
@@ -19035,6 +19478,8 @@ var require_dtos2 = __commonJS((exports) => {
|
|
|
19035
19478
|
__exportStar(require_job_command_parameters(), exports);
|
|
19036
19479
|
__exportStar(require_start_job_parameters2(), exports);
|
|
19037
19480
|
});
|
|
19481
|
+
|
|
19482
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/attended-operations.js
|
|
19038
19483
|
var require_attended_operations = __commonJS((exports) => {
|
|
19039
19484
|
var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
|
|
19040
19485
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19097,6 +19542,8 @@ var require_attended_operations = __commonJS((exports) => {
|
|
|
19097
19542
|
], IAttendedOperations);
|
|
19098
19543
|
exports.IAttendedOperations = IAttendedOperations;
|
|
19099
19544
|
});
|
|
19545
|
+
|
|
19546
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/settings-operations.js
|
|
19100
19547
|
var require_settings_operations = __commonJS((exports) => {
|
|
19101
19548
|
var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
|
|
19102
19549
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19223,6 +19670,8 @@ var require_settings_operations = __commonJS((exports) => {
|
|
|
19223
19670
|
], ISettingsOperations);
|
|
19224
19671
|
exports.ISettingsOperations = ISettingsOperations;
|
|
19225
19672
|
});
|
|
19673
|
+
|
|
19674
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/user-operations.js
|
|
19226
19675
|
var require_user_operations = __commonJS((exports) => {
|
|
19227
19676
|
var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
|
|
19228
19677
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19314,12 +19763,18 @@ var require_user_operations = __commonJS((exports) => {
|
|
|
19314
19763
|
], IUserOperations);
|
|
19315
19764
|
exports.IUserOperations = IUserOperations;
|
|
19316
19765
|
});
|
|
19766
|
+
|
|
19767
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/sign-in-callback.js
|
|
19317
19768
|
var require_sign_in_callback = __commonJS((exports) => {
|
|
19318
19769
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19319
19770
|
});
|
|
19771
|
+
|
|
19772
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/user-operations-callback.js
|
|
19320
19773
|
var require_user_operations_callback = __commonJS((exports) => {
|
|
19321
19774
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19322
19775
|
});
|
|
19776
|
+
|
|
19777
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/assistant-telemetry-operations.js
|
|
19323
19778
|
var require_assistant_telemetry_operations = __commonJS((exports) => {
|
|
19324
19779
|
var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
|
|
19325
19780
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19363,6 +19818,8 @@ var require_assistant_telemetry_operations = __commonJS((exports) => {
|
|
|
19363
19818
|
], IAssistantTelemetryOperations);
|
|
19364
19819
|
exports.IAssistantTelemetryOperations = IAssistantTelemetryOperations;
|
|
19365
19820
|
});
|
|
19821
|
+
|
|
19822
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/interactive-connect-flow.js
|
|
19366
19823
|
var require_interactive_connect_flow2 = __commonJS((exports) => {
|
|
19367
19824
|
var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
|
|
19368
19825
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19452,6 +19909,8 @@ var require_interactive_connect_flow2 = __commonJS((exports) => {
|
|
|
19452
19909
|
], IInteractiveConnectFlow);
|
|
19453
19910
|
exports.IInteractiveConnectFlow = IInteractiveConnectFlow;
|
|
19454
19911
|
});
|
|
19912
|
+
|
|
19913
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/oidc-command-relay.js
|
|
19455
19914
|
var require_oidc_command_relay = __commonJS((exports) => {
|
|
19456
19915
|
var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
|
|
19457
19916
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19486,6 +19945,8 @@ var require_oidc_command_relay = __commonJS((exports) => {
|
|
|
19486
19945
|
], IOidcCommandLineRelay);
|
|
19487
19946
|
exports.IOidcCommandLineRelay = IOidcCommandLineRelay;
|
|
19488
19947
|
});
|
|
19948
|
+
|
|
19949
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/ifaces/index.js
|
|
19489
19950
|
var require_ifaces = __commonJS((exports) => {
|
|
19490
19951
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19491
19952
|
if (k2 === undefined)
|
|
@@ -19518,6 +19979,8 @@ var require_ifaces = __commonJS((exports) => {
|
|
|
19518
19979
|
__exportStar(require_interactive_connect_flow2(), exports);
|
|
19519
19980
|
__exportStar(require_oidc_command_relay(), exports);
|
|
19520
19981
|
});
|
|
19982
|
+
|
|
19983
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robot/index.js
|
|
19521
19984
|
var require_robot = __commonJS((exports) => {
|
|
19522
19985
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19523
19986
|
if (k2 === undefined)
|
|
@@ -19544,6 +20007,8 @@ var require_robot = __commonJS((exports) => {
|
|
|
19544
20007
|
__exportStar(require_dtos2(), exports);
|
|
19545
20008
|
__exportStar(require_communication_settings(), exports);
|
|
19546
20009
|
});
|
|
20010
|
+
|
|
20011
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robotjs/dtos/handle-consent-code-message.js
|
|
19547
20012
|
var require_handle_consent_code_message = __commonJS((exports) => {
|
|
19548
20013
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19549
20014
|
exports.HandleConsentCodeMessage = undefined;
|
|
@@ -19561,6 +20026,8 @@ var require_handle_consent_code_message = __commonJS((exports) => {
|
|
|
19561
20026
|
}
|
|
19562
20027
|
exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
|
|
19563
20028
|
});
|
|
20029
|
+
|
|
20030
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robotjs/dtos/is-domain-allowed-message.js
|
|
19564
20031
|
var require_is_domain_allowed_message = __commonJS((exports) => {
|
|
19565
20032
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19566
20033
|
exports.IsDomainAllowedMessage = undefined;
|
|
@@ -19574,6 +20041,8 @@ var require_is_domain_allowed_message = __commonJS((exports) => {
|
|
|
19574
20041
|
}
|
|
19575
20042
|
exports.IsDomainAllowedMessage = IsDomainAllowedMessage;
|
|
19576
20043
|
});
|
|
20044
|
+
|
|
20045
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robotjs/dtos/index.js
|
|
19577
20046
|
var require_dtos3 = __commonJS((exports) => {
|
|
19578
20047
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19579
20048
|
if (k2 === undefined)
|
|
@@ -19599,6 +20068,8 @@ var require_dtos3 = __commonJS((exports) => {
|
|
|
19599
20068
|
__exportStar(require_handle_consent_code_message(), exports);
|
|
19600
20069
|
__exportStar(require_is_domain_allowed_message(), exports);
|
|
19601
20070
|
});
|
|
20071
|
+
|
|
20072
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robotjs/ifaces/consent-code-services.js
|
|
19602
20073
|
var require_consent_code_services = __commonJS((exports) => {
|
|
19603
20074
|
var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
|
|
19604
20075
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -19643,6 +20114,8 @@ var require_consent_code_services = __commonJS((exports) => {
|
|
|
19643
20114
|
], IConsentCodeServices);
|
|
19644
20115
|
exports.IConsentCodeServices = IConsentCodeServices;
|
|
19645
20116
|
});
|
|
20117
|
+
|
|
20118
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robotjs/ifaces/index.js
|
|
19646
20119
|
var require_ifaces2 = __commonJS((exports) => {
|
|
19647
20120
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19648
20121
|
if (k2 === undefined)
|
|
@@ -19667,6 +20140,8 @@ var require_ifaces2 = __commonJS((exports) => {
|
|
|
19667
20140
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19668
20141
|
__exportStar(require_consent_code_services(), exports);
|
|
19669
20142
|
});
|
|
20143
|
+
|
|
20144
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robotjs/robotjs-communication-settings.js
|
|
19670
20145
|
var require_robotjs_communication_settings = __commonJS((exports) => {
|
|
19671
20146
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19672
20147
|
exports.RobotJsCommunication = undefined;
|
|
@@ -19685,6 +20160,8 @@ var require_robotjs_communication_settings = __commonJS((exports) => {
|
|
|
19685
20160
|
exports.RobotJsCommunication = RobotJsCommunication;
|
|
19686
20161
|
RobotJsCommunication.settings = new RobotJsCommunicationSettings;
|
|
19687
20162
|
});
|
|
20163
|
+
|
|
20164
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/robotjs/index.js
|
|
19688
20165
|
var require_robotjs = __commonJS((exports) => {
|
|
19689
20166
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19690
20167
|
if (k2 === undefined)
|
|
@@ -19711,6 +20188,8 @@ var require_robotjs = __commonJS((exports) => {
|
|
|
19711
20188
|
__exportStar(require_ifaces2(), exports);
|
|
19712
20189
|
__exportStar(require_robotjs_communication_settings(), exports);
|
|
19713
20190
|
});
|
|
20191
|
+
|
|
20192
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/mapper/mapper.js
|
|
19714
20193
|
var require_mapper = __commonJS((exports) => {
|
|
19715
20194
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19716
20195
|
if (k2 === undefined)
|
|
@@ -19850,6 +20329,8 @@ var require_mapper = __commonJS((exports) => {
|
|
|
19850
20329
|
Mapper2.StartJobParameters = StartJobParameters;
|
|
19851
20330
|
})(Mapper = exports.Mapper || (exports.Mapper = {}));
|
|
19852
20331
|
});
|
|
20332
|
+
|
|
20333
|
+
// ../../node_modules/@uipath/robot-client/dist/contract/mapper/index.js
|
|
19853
20334
|
var require_mapper2 = __commonJS((exports) => {
|
|
19854
20335
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19855
20336
|
if (k2 === undefined)
|
|
@@ -19874,6 +20355,8 @@ var require_mapper2 = __commonJS((exports) => {
|
|
|
19874
20355
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19875
20356
|
__exportStar(require_mapper(), exports);
|
|
19876
20357
|
});
|
|
20358
|
+
|
|
20359
|
+
// ../../node_modules/windows-foreground-love/index.js
|
|
19877
20360
|
var require_windows_foreground_love = __commonJS((exports) => {
|
|
19878
20361
|
var foregroundLove = null;
|
|
19879
20362
|
var tried = false;
|
|
@@ -19884,9 +20367,7 @@ var require_windows_foreground_love = __commonJS((exports) => {
|
|
|
19884
20367
|
if (!tried) {
|
|
19885
20368
|
tried = true;
|
|
19886
20369
|
try {
|
|
19887
|
-
foregroundLove = (()
|
|
19888
|
-
throw new Error("Cannot require module " + "./build/Release/foreground_love");
|
|
19889
|
-
})();
|
|
20370
|
+
foregroundLove = (()=>{throw new Error("Cannot require module "+"./build/Release/foreground_love");})();
|
|
19890
20371
|
} catch (err) {
|
|
19891
20372
|
console.error(err);
|
|
19892
20373
|
}
|
|
@@ -19903,6 +20384,8 @@ var require_windows_foreground_love = __commonJS((exports) => {
|
|
|
19903
20384
|
return r;
|
|
19904
20385
|
};
|
|
19905
20386
|
});
|
|
20387
|
+
|
|
20388
|
+
// ../../node_modules/@uipath/robot-client/dist/io-helpers.js
|
|
19906
20389
|
var require_io_helpers = __commonJS((exports) => {
|
|
19907
20390
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19908
20391
|
exports.IOHelpers = undefined;
|
|
@@ -19918,6 +20401,8 @@ var require_io_helpers = __commonJS((exports) => {
|
|
|
19918
20401
|
}
|
|
19919
20402
|
exports.IOHelpers = IOHelpers;
|
|
19920
20403
|
});
|
|
20404
|
+
|
|
20405
|
+
// ../../node_modules/@uipath/robot-client/dist/interactive-sign-in.js
|
|
19921
20406
|
var require_interactive_sign_in2 = __commonJS((exports) => {
|
|
19922
20407
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19923
20408
|
if (k2 === undefined)
|
|
@@ -20039,6 +20524,8 @@ var require_interactive_sign_in2 = __commonJS((exports) => {
|
|
|
20039
20524
|
}
|
|
20040
20525
|
exports.InteractiveSignIn = InteractiveSignIn;
|
|
20041
20526
|
});
|
|
20527
|
+
|
|
20528
|
+
// ../../node_modules/@uipath/robot-client/dist/telemetry.js
|
|
20042
20529
|
var require_telemetry2 = __commonJS((exports) => {
|
|
20043
20530
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
20044
20531
|
if (k2 === undefined)
|
|
@@ -20120,6 +20607,8 @@ var require_telemetry2 = __commonJS((exports) => {
|
|
|
20120
20607
|
}
|
|
20121
20608
|
exports.Telemetry = Telemetry;
|
|
20122
20609
|
});
|
|
20610
|
+
|
|
20611
|
+
// ../../node_modules/@uipath/robot-client/dist/interactive-connect-flow.js
|
|
20123
20612
|
var require_interactive_connect_flow3 = __commonJS((exports) => {
|
|
20124
20613
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
20125
20614
|
if (k2 === undefined)
|
|
@@ -20233,6 +20722,8 @@ var require_interactive_connect_flow3 = __commonJS((exports) => {
|
|
|
20233
20722
|
}
|
|
20234
20723
|
exports.InteractiveConnectFlow = InteractiveConnectFlow;
|
|
20235
20724
|
});
|
|
20725
|
+
|
|
20726
|
+
// ../../node_modules/@uipath/robot-client/dist/access-provider.js
|
|
20236
20727
|
var require_access_provider2 = __commonJS((exports) => {
|
|
20237
20728
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
20238
20729
|
if (k2 === undefined)
|
|
@@ -20287,6 +20778,8 @@ var require_access_provider2 = __commonJS((exports) => {
|
|
|
20287
20778
|
}
|
|
20288
20779
|
exports.AccessProvider = AccessProvider;
|
|
20289
20780
|
});
|
|
20781
|
+
|
|
20782
|
+
// ../../node_modules/@uipath/robot-client/dist/robotjs-services.js
|
|
20290
20783
|
var require_robotjs_services2 = __commonJS((exports) => {
|
|
20291
20784
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
20292
20785
|
if (k2 === undefined)
|
|
@@ -20338,6 +20831,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
|
|
|
20338
20831
|
}
|
|
20339
20832
|
exports.RobotJsServices = RobotJsServices;
|
|
20340
20833
|
});
|
|
20834
|
+
|
|
20835
|
+
// ../../node_modules/@uipath/robot-client/dist/robot-agent-proxy.js
|
|
20341
20836
|
var require_robot_agent_proxy2 = __commonJS((exports) => {
|
|
20342
20837
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
20343
20838
|
if (k2 === undefined)
|
|
@@ -20690,6 +21185,8 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
|
|
|
20690
21185
|
}
|
|
20691
21186
|
};
|
|
20692
21187
|
});
|
|
21188
|
+
|
|
21189
|
+
// ../../node_modules/@uipath/robot-client/dist/index.js
|
|
20693
21190
|
var require_dist = __commonJS((exports) => {
|
|
20694
21191
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
20695
21192
|
if (k2 === undefined)
|
|
@@ -20725,7 +21222,15 @@ var require_dist = __commonJS((exports) => {
|
|
|
20725
21222
|
exports.RobotProxyConstructor = RobotProxyConstructor;
|
|
20726
21223
|
__exportStar(require_agent(), exports);
|
|
20727
21224
|
});
|
|
21225
|
+
// ../auth/src/server.ts
|
|
21226
|
+
var init_server = __esm(() => {
|
|
21227
|
+
init_constants();
|
|
21228
|
+
});
|
|
21229
|
+
|
|
21230
|
+
// ../common/src/attachment-binding.ts
|
|
20728
21231
|
init_src();
|
|
21232
|
+
|
|
21233
|
+
// ../common/src/catch-error.ts
|
|
20729
21234
|
function isPromiseLike(value) {
|
|
20730
21235
|
return value !== null && typeof value === "object" && typeof value.then === "function";
|
|
20731
21236
|
}
|
|
@@ -20752,6 +21257,7 @@ function settlePromiseLike(thenable) {
|
|
|
20752
21257
|
undefined
|
|
20753
21258
|
]);
|
|
20754
21259
|
}
|
|
21260
|
+
// ../../node_modules/commander/esm.mjs
|
|
20755
21261
|
var import__ = __toESM(require_commander(), 1);
|
|
20756
21262
|
var {
|
|
20757
21263
|
program,
|
|
@@ -20766,11 +21272,14 @@ var {
|
|
|
20766
21272
|
Option,
|
|
20767
21273
|
Help
|
|
20768
21274
|
} = import__.default;
|
|
21275
|
+
|
|
21276
|
+
// ../common/src/command-examples.ts
|
|
20769
21277
|
var examplesByCommand = new WeakMap;
|
|
20770
21278
|
Command.prototype.examples = function(examples) {
|
|
20771
21279
|
examplesByCommand.set(this, examples);
|
|
20772
21280
|
return this;
|
|
20773
21281
|
};
|
|
21282
|
+
// ../common/src/singleton.ts
|
|
20774
21283
|
var PREFIX = "@uipath/common/";
|
|
20775
21284
|
var _g = globalThis;
|
|
20776
21285
|
function singleton(ctorOrName) {
|
|
@@ -20799,6 +21308,8 @@ function singleton(ctorOrName) {
|
|
|
20799
21308
|
}
|
|
20800
21309
|
};
|
|
20801
21310
|
}
|
|
21311
|
+
|
|
21312
|
+
// ../common/src/output-context.ts
|
|
20802
21313
|
function createStorage() {
|
|
20803
21314
|
const [error, mod] = catchError(() => __require("node:async_hooks"));
|
|
20804
21315
|
if (error || typeof mod?.AsyncLocalStorage !== "function") {
|
|
@@ -20827,11 +21338,15 @@ var CONSOLE_FALLBACK = {
|
|
|
20827
21338
|
function getOutputSink() {
|
|
20828
21339
|
return outputStorage.getStore() ?? sinkSlot.get() ?? CONSOLE_FALLBACK;
|
|
20829
21340
|
}
|
|
21341
|
+
// ../common/src/completer.ts
|
|
20830
21342
|
var COMPLETER_SYMBOL = Symbol.for("@uipath/common/completer");
|
|
21343
|
+
// ../common/src/console-guard.ts
|
|
20831
21344
|
var guardInstalledSlot = singleton("ConsoleGuardInstalled");
|
|
20832
21345
|
var savedOriginalsSlot = singleton("ConsoleGuardOriginals");
|
|
21346
|
+
// ../common/src/constants.ts
|
|
20833
21347
|
var UIPATH_HOME_DIR = ".uipath";
|
|
20834
21348
|
var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
|
|
21349
|
+
// ../../node_modules/@jmespath-community/jmespath/dist/index.mjs
|
|
20835
21350
|
var isObject = (obj) => {
|
|
20836
21351
|
return obj !== null && Object.prototype.toString.call(obj) === "[object Object]";
|
|
20837
21352
|
};
|
|
@@ -22790,6 +23305,8 @@ function search(data, expression, options) {
|
|
|
22790
23305
|
const nodeTree = Parser_default.parse(expression, options);
|
|
22791
23306
|
return TreeInterpreter_default.search(nodeTree, data);
|
|
22792
23307
|
}
|
|
23308
|
+
|
|
23309
|
+
// ../../node_modules/js-yaml/dist/js-yaml.mjs
|
|
22793
23310
|
/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
|
|
22794
23311
|
function isNothing(subject) {
|
|
22795
23312
|
return typeof subject === "undefined" || subject === null;
|
|
@@ -25435,6 +25952,8 @@ var dump = dumper.dump;
|
|
|
25435
25952
|
var safeLoad = renamed("safeLoad", "load");
|
|
25436
25953
|
var safeLoadAll = renamed("safeLoadAll", "loadAll");
|
|
25437
25954
|
var safeDump = renamed("safeDump", "dump");
|
|
25955
|
+
|
|
25956
|
+
// ../common/src/logger.ts
|
|
25438
25957
|
init_src();
|
|
25439
25958
|
var logFilePathSlot = singleton("logFilePath");
|
|
25440
25959
|
function setGlobalLogFilePath(path3) {
|
|
@@ -25443,7 +25962,7 @@ function setGlobalLogFilePath(path3) {
|
|
|
25443
25962
|
function getGlobalLogFilePath() {
|
|
25444
25963
|
return logFilePathSlot.get("");
|
|
25445
25964
|
}
|
|
25446
|
-
var DEFAULT_LOG_LEVEL = 3
|
|
25965
|
+
var DEFAULT_LOG_LEVEL = 3 /* ERROR */;
|
|
25447
25966
|
|
|
25448
25967
|
class SimpleLogger {
|
|
25449
25968
|
__brand = "SimpleLogger";
|
|
@@ -25471,26 +25990,26 @@ class SimpleLogger {
|
|
|
25471
25990
|
return explicitLevel;
|
|
25472
25991
|
const debugVal = process.env?.DEBUG;
|
|
25473
25992
|
if (debugVal === "true" || debugVal === "1") {
|
|
25474
|
-
return 0
|
|
25993
|
+
return 0 /* DEBUG */;
|
|
25475
25994
|
}
|
|
25476
25995
|
return DEFAULT_LOG_LEVEL;
|
|
25477
25996
|
}
|
|
25478
25997
|
const [localStorageError, hasDebug] = catchError(() => typeof localStorage !== "undefined" && !!localStorage.getItem("debug"));
|
|
25479
25998
|
if (!localStorageError && hasDebug) {
|
|
25480
|
-
return 0
|
|
25999
|
+
return 0 /* DEBUG */;
|
|
25481
26000
|
}
|
|
25482
26001
|
return DEFAULT_LOG_LEVEL;
|
|
25483
26002
|
}
|
|
25484
26003
|
static parseLevel(value) {
|
|
25485
26004
|
switch (value.toLowerCase()) {
|
|
25486
26005
|
case "debug":
|
|
25487
|
-
return 0
|
|
26006
|
+
return 0 /* DEBUG */;
|
|
25488
26007
|
case "info":
|
|
25489
|
-
return 1
|
|
26008
|
+
return 1 /* INFO */;
|
|
25490
26009
|
case "warn":
|
|
25491
|
-
return 2
|
|
26010
|
+
return 2 /* WARN */;
|
|
25492
26011
|
case "error":
|
|
25493
|
-
return 3
|
|
26012
|
+
return 3 /* ERROR */;
|
|
25494
26013
|
default:
|
|
25495
26014
|
return;
|
|
25496
26015
|
}
|
|
@@ -25516,7 +26035,7 @@ class SimpleLogger {
|
|
|
25516
26035
|
]).then(() => getFileSystem().appendFile(path3, `${timestamp2} ${formatted}`).catch(() => {}));
|
|
25517
26036
|
}
|
|
25518
26037
|
debug(message, ...args) {
|
|
25519
|
-
if (this.level > 0)
|
|
26038
|
+
if (this.level > 0 /* DEBUG */)
|
|
25520
26039
|
return;
|
|
25521
26040
|
const formatted = this.format(`[DEBUG] ${message}`, args);
|
|
25522
26041
|
if (this.isFileLoggingActive()) {
|
|
@@ -25526,7 +26045,7 @@ class SimpleLogger {
|
|
|
25526
26045
|
}
|
|
25527
26046
|
}
|
|
25528
26047
|
info(message, ...args) {
|
|
25529
|
-
if (this.level > 1)
|
|
26048
|
+
if (this.level > 1 /* INFO */)
|
|
25530
26049
|
return;
|
|
25531
26050
|
const formatted = this.format(message, args);
|
|
25532
26051
|
if (this.isFileLoggingActive()) {
|
|
@@ -25536,7 +26055,7 @@ class SimpleLogger {
|
|
|
25536
26055
|
}
|
|
25537
26056
|
}
|
|
25538
26057
|
warn(message, ...args) {
|
|
25539
|
-
if (this.level > 2)
|
|
26058
|
+
if (this.level > 2 /* WARN */)
|
|
25540
26059
|
return;
|
|
25541
26060
|
const formatted = this.format(`[WARN] ${message}`, args);
|
|
25542
26061
|
if (this.isFileLoggingActive()) {
|
|
@@ -25546,7 +26065,7 @@ class SimpleLogger {
|
|
|
25546
26065
|
}
|
|
25547
26066
|
}
|
|
25548
26067
|
error(message, ...args) {
|
|
25549
|
-
if (this.level > 3)
|
|
26068
|
+
if (this.level > 3 /* ERROR */)
|
|
25550
26069
|
return;
|
|
25551
26070
|
const formatted = this.format(`[ERROR] ${message}`, args);
|
|
25552
26071
|
if (this.isFileLoggingActive()) {
|
|
@@ -25625,6 +26144,8 @@ var logger = SimpleLogger.getInstance();
|
|
|
25625
26144
|
function getLogFilePath() {
|
|
25626
26145
|
return logger.getLogFilePath();
|
|
25627
26146
|
}
|
|
26147
|
+
|
|
26148
|
+
// ../common/src/output-format-context.ts
|
|
25628
26149
|
var formatSlot = singleton("OutputFormat");
|
|
25629
26150
|
var formatExplicitSlot = singleton("OutputFormatExplicit");
|
|
25630
26151
|
var filterSlot = singleton("OutputFilter");
|
|
@@ -25634,9 +26155,14 @@ function getOutputFormat() {
|
|
|
25634
26155
|
function getOutputFilter() {
|
|
25635
26156
|
return filterSlot.get();
|
|
25636
26157
|
}
|
|
26158
|
+
|
|
26159
|
+
// ../common/src/telemetry/telemetry-events.ts
|
|
25637
26160
|
var CommonTelemetryEvents = {
|
|
25638
26161
|
Error: "uip.error"
|
|
25639
26162
|
};
|
|
26163
|
+
|
|
26164
|
+
// ../common/src/registry.ts
|
|
26165
|
+
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
25640
26166
|
function readRegistryValue(keyPath, valueName) {
|
|
25641
26167
|
if (process.platform !== "win32") {
|
|
25642
26168
|
return "";
|
|
@@ -25652,6 +26178,7 @@ function readRegistryValue(keyPath, valueName) {
|
|
|
25652
26178
|
return match?.[1]?.trim() ?? "";
|
|
25653
26179
|
}
|
|
25654
26180
|
|
|
26181
|
+
// ../common/src/telemetry/logger-telemetry-provider.ts
|
|
25655
26182
|
class LoggerTelemetryProvider {
|
|
25656
26183
|
analyticsUniqueId;
|
|
25657
26184
|
constructor() {
|
|
@@ -25698,6 +26225,8 @@ function formatMessage(category, name, properties) {
|
|
|
25698
26225
|
}
|
|
25699
26226
|
return message;
|
|
25700
26227
|
}
|
|
26228
|
+
// ../common/src/telemetry/node-context-storage.ts
|
|
26229
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
25701
26230
|
|
|
25702
26231
|
class NodeContextStorage {
|
|
25703
26232
|
storage = new AsyncLocalStorage;
|
|
@@ -25708,7 +26237,7 @@ class NodeContextStorage {
|
|
|
25708
26237
|
return this.storage.getStore();
|
|
25709
26238
|
}
|
|
25710
26239
|
}
|
|
25711
|
-
|
|
26240
|
+
// ../common/src/telemetry/telemetry-service.ts
|
|
25712
26241
|
class TelemetryService {
|
|
25713
26242
|
telemetryProvider;
|
|
25714
26243
|
contextStorage;
|
|
@@ -25796,8 +26325,11 @@ class TelemetryService {
|
|
|
25796
26325
|
return crypto.randomUUID().replaceAll("-", "");
|
|
25797
26326
|
}
|
|
25798
26327
|
}
|
|
26328
|
+
// ../common/src/telemetry/node-appinsights-telemetry-provider.ts
|
|
25799
26329
|
var telemetryPropsSlot = singleton("TelemetryDefaultProps");
|
|
25800
26330
|
var providerSlot = singleton("TelemetryProvider");
|
|
26331
|
+
|
|
26332
|
+
// ../common/src/telemetry/telemetry-init.ts
|
|
25801
26333
|
var telemetryInstanceSlot = singleton("TelemetryService");
|
|
25802
26334
|
var DEFAULT_AI_CONNECTION_STRING = atob("SW5zdHJ1bWVudGF0aW9uS2V5PTliZDM3NDgyLTgxMGUtNDQyYS1hYWE2LWQzOGVmNjVjNjY3NDtJbmdlc3Rpb25FbmRwb2ludD1odHRwczovL3dlc3RldXJvcGUtNS5pbi5hcHBsaWNhdGlvbmluc2lnaHRzLmF6dXJlLmNvbS87TGl2ZUVuZHBvaW50PWh0dHBzOi8vd2VzdGV1cm9wZS5saXZlZGlhZ25vc3RpY3MubW9uaXRvci5henVyZS5jb20vO0FwcGxpY2F0aW9uSWQ9MzU2OTdlZjEtOGJkMC00ZjE5LWEyN2MtZDg3Y2NhYzY2ZDJj");
|
|
25803
26335
|
function getGlobalTelemetryInstance() {
|
|
@@ -25824,6 +26356,8 @@ var telemetry = new Proxy({}, {
|
|
|
25824
26356
|
return typeof value === "function" ? value.bind(instance) : value;
|
|
25825
26357
|
}
|
|
25826
26358
|
});
|
|
26359
|
+
|
|
26360
|
+
// ../common/src/formatter.ts
|
|
25827
26361
|
var RESULTS = {
|
|
25828
26362
|
Success: "Success",
|
|
25829
26363
|
Failure: "Failure",
|
|
@@ -25840,7 +26374,6 @@ var EXIT_CODES = {
|
|
|
25840
26374
|
ValidationError: 3,
|
|
25841
26375
|
TimeoutError: 4
|
|
25842
26376
|
};
|
|
25843
|
-
|
|
25844
26377
|
class SuccessOutput {
|
|
25845
26378
|
Result = RESULTS.Success;
|
|
25846
26379
|
Code;
|
|
@@ -25866,6 +26399,60 @@ function escapeNonAscii(jsonText) {
|
|
|
25866
26399
|
function needsAsciiSafeJson(sink) {
|
|
25867
26400
|
return process.platform === "win32" && !sink.capabilities.isInteractive;
|
|
25868
26401
|
}
|
|
26402
|
+
function isPlainRecord(value) {
|
|
26403
|
+
if (value === null || typeof value !== "object")
|
|
26404
|
+
return false;
|
|
26405
|
+
const prototype = Object.getPrototypeOf(value);
|
|
26406
|
+
return prototype === Object.prototype || prototype === null;
|
|
26407
|
+
}
|
|
26408
|
+
function toLowerCamelCaseKey(key) {
|
|
26409
|
+
if (!key)
|
|
26410
|
+
return key;
|
|
26411
|
+
if (/[_\-\s]/.test(key)) {
|
|
26412
|
+
const [firstPart, ...restParts] = key.split(/[_\-\s]+/).filter(Boolean);
|
|
26413
|
+
if (!firstPart)
|
|
26414
|
+
return key;
|
|
26415
|
+
return [
|
|
26416
|
+
toLowerCamelCaseSimpleKey(firstPart),
|
|
26417
|
+
...restParts.map((part) => {
|
|
26418
|
+
const normalized = toLowerCamelCaseSimpleKey(part);
|
|
26419
|
+
return normalized.charAt(0).toUpperCase() + normalized.slice(1);
|
|
26420
|
+
})
|
|
26421
|
+
].join("");
|
|
26422
|
+
}
|
|
26423
|
+
return toLowerCamelCaseSimpleKey(key);
|
|
26424
|
+
}
|
|
26425
|
+
function toLowerCamelCaseSimpleKey(key) {
|
|
26426
|
+
if (/^[A-Z0-9]+$/.test(key))
|
|
26427
|
+
return key.toLowerCase();
|
|
26428
|
+
return key.replace(/^[A-Z]+(?=[A-Z][a-z]|\d|$)|^[A-Z]/, (match) => match.toLowerCase());
|
|
26429
|
+
}
|
|
26430
|
+
function toPascalCaseKey(key) {
|
|
26431
|
+
const lowerCamelKey = toLowerCamelCaseKey(key);
|
|
26432
|
+
return lowerCamelKey ? lowerCamelKey.charAt(0).toUpperCase() + lowerCamelKey.slice(1) : lowerCamelKey;
|
|
26433
|
+
}
|
|
26434
|
+
function toPascalCaseData(value) {
|
|
26435
|
+
if (Array.isArray(value))
|
|
26436
|
+
return value.map(toPascalCaseData);
|
|
26437
|
+
if (!isPlainRecord(value))
|
|
26438
|
+
return value;
|
|
26439
|
+
const result = {};
|
|
26440
|
+
for (const [key, nestedValue] of Object.entries(value)) {
|
|
26441
|
+
result[toPascalCaseKey(key)] = toPascalCaseData(nestedValue);
|
|
26442
|
+
}
|
|
26443
|
+
return result;
|
|
26444
|
+
}
|
|
26445
|
+
function normalizeDataKeys(data) {
|
|
26446
|
+
return toPascalCaseData(data);
|
|
26447
|
+
}
|
|
26448
|
+
function normalizeOutputKeys(data) {
|
|
26449
|
+
const result = {};
|
|
26450
|
+
for (const [key, value] of Object.entries(data)) {
|
|
26451
|
+
const pascalKey = toPascalCaseKey(key);
|
|
26452
|
+
result[pascalKey] = pascalKey === "Data" ? value : toPascalCaseData(value);
|
|
26453
|
+
}
|
|
26454
|
+
return result;
|
|
26455
|
+
}
|
|
25869
26456
|
function printOutput(data, format = "json", logFn, asciiSafe = false) {
|
|
25870
26457
|
if (!data) {
|
|
25871
26458
|
logFn("Empty response object. No data to display.");
|
|
@@ -25928,7 +26515,7 @@ function wrapText(text, width) {
|
|
|
25928
26515
|
function printTable(data, logFn, externalLogValue) {
|
|
25929
26516
|
if (data.length === 0)
|
|
25930
26517
|
return;
|
|
25931
|
-
const keys = Object.keys(data[0]).filter((key) =>
|
|
26518
|
+
const keys = Object.keys(data[0]).filter((key) => !["code", "log"].includes(key.toLowerCase()));
|
|
25932
26519
|
const maxWidths = keys.map((key) => Math.max(key.length, ...data.map((item) => cellToString(item[key]).length)));
|
|
25933
26520
|
const header = keys.map((key, i2) => key.padEnd(maxWidths[i2])).join(" | ");
|
|
25934
26521
|
logFn(header);
|
|
@@ -25943,7 +26530,7 @@ function printTable(data, logFn, externalLogValue) {
|
|
|
25943
26530
|
}
|
|
25944
26531
|
}
|
|
25945
26532
|
function printVerticalTable(data, logFn = console.log, externalLogValue) {
|
|
25946
|
-
const keys = Object.keys(data).filter((key) =>
|
|
26533
|
+
const keys = Object.keys(data).filter((key) => !["code", "log"].includes(key.toLowerCase()));
|
|
25947
26534
|
if (keys.length === 0)
|
|
25948
26535
|
return;
|
|
25949
26536
|
const maxKeyWidth = Math.max(...keys.map((key) => key.length));
|
|
@@ -25959,7 +26546,7 @@ function printVerticalTable(data, logFn = console.log, externalLogValue) {
|
|
|
25959
26546
|
function printResizableTable(data, logFn = console.log, externalLogValue) {
|
|
25960
26547
|
if (data.length === 0)
|
|
25961
26548
|
return;
|
|
25962
|
-
const keys = Object.keys(data[0]).filter((key) =>
|
|
26549
|
+
const keys = Object.keys(data[0]).filter((key) => !["code", "log"].includes(key.toLowerCase()));
|
|
25963
26550
|
if (keys.length === 0)
|
|
25964
26551
|
return;
|
|
25965
26552
|
if (!process.stdout.isTTY) {
|
|
@@ -26035,8 +26622,26 @@ function printResizableTable(data, logFn = console.log, externalLogValue) {
|
|
|
26035
26622
|
function toYaml(data) {
|
|
26036
26623
|
return dump(data);
|
|
26037
26624
|
}
|
|
26625
|
+
class FilterEvaluationError extends Error {
|
|
26626
|
+
__brand = "FilterEvaluationError";
|
|
26627
|
+
filter;
|
|
26628
|
+
instructions;
|
|
26629
|
+
result = RESULTS.ValidationError;
|
|
26630
|
+
constructor(filter, cause) {
|
|
26631
|
+
const underlying = cause instanceof Error ? cause.message : String(cause);
|
|
26632
|
+
super(`Filter '${filter}' failed to evaluate: ${underlying}`);
|
|
26633
|
+
this.name = "FilterEvaluationError";
|
|
26634
|
+
this.filter = filter;
|
|
26635
|
+
this.instructions = `The --output-filter expression '${filter}' failed at evaluation time. ` + "Note that --output-filter operates on the 'Data' field of the envelope, not the full object. " + "For example, on a list result use 'length(@)' instead of 'Data | length(@)'.";
|
|
26636
|
+
}
|
|
26637
|
+
}
|
|
26038
26638
|
function applyFilter(data, filter) {
|
|
26039
|
-
|
|
26639
|
+
let result;
|
|
26640
|
+
try {
|
|
26641
|
+
result = search(data, filter);
|
|
26642
|
+
} catch (err) {
|
|
26643
|
+
throw new FilterEvaluationError(filter, err);
|
|
26644
|
+
}
|
|
26040
26645
|
if (result == null)
|
|
26041
26646
|
return [];
|
|
26042
26647
|
if (Array.isArray(result)) {
|
|
@@ -26052,16 +26657,21 @@ function applyFilter(data, filter) {
|
|
|
26052
26657
|
return { Value: result };
|
|
26053
26658
|
}
|
|
26054
26659
|
var OutputFormatter;
|
|
26055
|
-
((
|
|
26056
|
-
function success(data) {
|
|
26660
|
+
((OutputFormatter) => {
|
|
26661
|
+
function success(data, options) {
|
|
26057
26662
|
data.Log ??= getLogFilePath() || undefined;
|
|
26663
|
+
const normalize = !options?.preserveDataKeys;
|
|
26664
|
+
if (normalize) {
|
|
26665
|
+
data.Data = normalizeDataKeys(data.Data);
|
|
26666
|
+
}
|
|
26058
26667
|
const filter = getOutputFilter();
|
|
26059
26668
|
if (filter) {
|
|
26060
|
-
|
|
26669
|
+
const filtered = applyFilter(data.Data, filter);
|
|
26670
|
+
data.Data = normalize ? normalizeDataKeys(filtered) : filtered;
|
|
26061
26671
|
}
|
|
26062
|
-
logOutput(data, getOutputFormat());
|
|
26672
|
+
logOutput(normalizeOutputKeys(data), getOutputFormat());
|
|
26063
26673
|
}
|
|
26064
|
-
|
|
26674
|
+
OutputFormatter.success = success;
|
|
26065
26675
|
function error(data) {
|
|
26066
26676
|
data.Log ??= getLogFilePath() || undefined;
|
|
26067
26677
|
process.exitCode = EXIT_CODES[data.Result] ?? 1;
|
|
@@ -26069,9 +26679,9 @@ var OutputFormatter;
|
|
|
26069
26679
|
result: data.Result,
|
|
26070
26680
|
message: data.Message
|
|
26071
26681
|
});
|
|
26072
|
-
logOutput(data, getOutputFormat());
|
|
26682
|
+
logOutput(normalizeOutputKeys(data), getOutputFormat());
|
|
26073
26683
|
}
|
|
26074
|
-
|
|
26684
|
+
OutputFormatter.error = error;
|
|
26075
26685
|
function emitList(code, items, opts) {
|
|
26076
26686
|
const data = {
|
|
26077
26687
|
Result: RESULTS.Success,
|
|
@@ -26086,38 +26696,45 @@ var OutputFormatter;
|
|
|
26086
26696
|
}
|
|
26087
26697
|
success(data);
|
|
26088
26698
|
}
|
|
26089
|
-
|
|
26699
|
+
OutputFormatter.emitList = emitList;
|
|
26090
26700
|
function log(data) {
|
|
26091
26701
|
const format = getOutputFormat();
|
|
26092
26702
|
const sink = getOutputSink();
|
|
26703
|
+
const normalized = toPascalCaseData(data);
|
|
26093
26704
|
if (format === "json") {
|
|
26094
|
-
const json2 = JSON.stringify(
|
|
26705
|
+
const json2 = JSON.stringify(normalized);
|
|
26095
26706
|
const safe = needsAsciiSafeJson(sink) ? escapeNonAscii(json2) : json2;
|
|
26096
26707
|
sink.writeErr(`${safe}
|
|
26097
26708
|
`);
|
|
26098
26709
|
} else {
|
|
26099
|
-
for (const [key, value] of Object.entries(
|
|
26710
|
+
for (const [key, value] of Object.entries(normalized)) {
|
|
26100
26711
|
sink.writeErr(`${key}: ${value}
|
|
26101
26712
|
`);
|
|
26102
26713
|
}
|
|
26103
26714
|
}
|
|
26104
26715
|
}
|
|
26105
|
-
|
|
26716
|
+
OutputFormatter.log = log;
|
|
26106
26717
|
function formatToString(data) {
|
|
26107
26718
|
const filter = getOutputFilter();
|
|
26108
|
-
if (
|
|
26109
|
-
data.Data =
|
|
26719
|
+
if ("Data" in data && data.Data != null) {
|
|
26720
|
+
data.Data = normalizeDataKeys(data.Data);
|
|
26721
|
+
if (filter) {
|
|
26722
|
+
data.Data = normalizeDataKeys(applyFilter(data.Data, filter));
|
|
26723
|
+
}
|
|
26110
26724
|
}
|
|
26725
|
+
const output = normalizeOutputKeys(data);
|
|
26111
26726
|
const lines = [];
|
|
26112
26727
|
const sink = getOutputSink();
|
|
26113
|
-
printOutput(
|
|
26728
|
+
printOutput(output, getOutputFormat(), (msg) => {
|
|
26114
26729
|
lines.push(msg);
|
|
26115
26730
|
}, needsAsciiSafeJson(sink));
|
|
26116
26731
|
return lines.join(`
|
|
26117
26732
|
`);
|
|
26118
26733
|
}
|
|
26119
|
-
|
|
26734
|
+
OutputFormatter.formatToString = formatToString;
|
|
26120
26735
|
})(OutputFormatter ||= {});
|
|
26736
|
+
// ../../node_modules/jsonpath-plus/dist/index-node-esm.js
|
|
26737
|
+
import vm from "vm";
|
|
26121
26738
|
|
|
26122
26739
|
class Hooks {
|
|
26123
26740
|
add(name, callback, first) {
|
|
@@ -27519,6 +28136,23 @@ JSONPath.prototype.safeVm = {
|
|
|
27519
28136
|
Script: SafeScript
|
|
27520
28137
|
};
|
|
27521
28138
|
JSONPath.prototype.vm = vm;
|
|
28139
|
+
// ../common/src/polling/types.ts
|
|
28140
|
+
var PollOutcome = {
|
|
28141
|
+
Completed: "completed",
|
|
28142
|
+
Timeout: "timeout",
|
|
28143
|
+
Interrupted: "interrupted",
|
|
28144
|
+
Aborted: "aborted",
|
|
28145
|
+
Failed: "failed"
|
|
28146
|
+
};
|
|
28147
|
+
|
|
28148
|
+
// ../common/src/polling/poll-failure-mapping.ts
|
|
28149
|
+
var REASON_BY_OUTCOME = {
|
|
28150
|
+
[PollOutcome.Timeout]: "poll_timeout",
|
|
28151
|
+
[PollOutcome.Failed]: "poll_failed",
|
|
28152
|
+
[PollOutcome.Interrupted]: "poll_failed",
|
|
28153
|
+
[PollOutcome.Aborted]: "poll_aborted"
|
|
28154
|
+
};
|
|
28155
|
+
// ../common/src/polling/terminal-statuses.ts
|
|
27522
28156
|
var TERMINAL_STATUSES = new Set([
|
|
27523
28157
|
"completed",
|
|
27524
28158
|
"successful",
|
|
@@ -27536,15 +28170,20 @@ var FAILURE_STATUSES = new Set([
|
|
|
27536
28170
|
"canceled",
|
|
27537
28171
|
"stopped"
|
|
27538
28172
|
]);
|
|
28173
|
+
// ../common/src/screen-logger.ts
|
|
27539
28174
|
var ScreenLogger;
|
|
27540
|
-
((
|
|
28175
|
+
((ScreenLogger) => {
|
|
27541
28176
|
function progress(message) {
|
|
27542
28177
|
getOutputSink().writeErr(`${message}
|
|
27543
28178
|
`);
|
|
27544
28179
|
}
|
|
27545
|
-
|
|
28180
|
+
ScreenLogger.progress = progress;
|
|
27546
28181
|
})(ScreenLogger ||= {});
|
|
28182
|
+
// ../common/src/sdk-user-agent.ts
|
|
28183
|
+
var sdkUserAgentHostToken = singleton("SdkUserAgentHostToken");
|
|
28184
|
+
// ../common/src/tool-provider.ts
|
|
27547
28185
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
28186
|
+
// ../common/src/telemetry/pii-redactor.ts
|
|
27548
28187
|
var REDACTED = "[REDACTED]";
|
|
27549
28188
|
var MAX_VALUE_LENGTH = 200;
|
|
27550
28189
|
var SENSITIVE_NAME_TOKENS = new Set([
|
|
@@ -27667,6 +28306,8 @@ function redactProperties(properties) {
|
|
|
27667
28306
|
}
|
|
27668
28307
|
return out;
|
|
27669
28308
|
}
|
|
28309
|
+
|
|
28310
|
+
// ../common/src/trackedAction.ts
|
|
27670
28311
|
var pollSignalSlot = singleton("PollSignal");
|
|
27671
28312
|
var processContext = {
|
|
27672
28313
|
exit: (code) => {
|
|
@@ -27722,13 +28363,17 @@ Command.prototype.trackedAction = function(context, fn, properties) {
|
|
|
27722
28363
|
const [error] = await catchError(fn(...args));
|
|
27723
28364
|
if (error) {
|
|
27724
28365
|
errorMessage = error instanceof Error ? error.message : String(error);
|
|
27725
|
-
logger.
|
|
28366
|
+
logger.debug(`[trackedAction] ${telemetryName} failed: ${errorMessage}`);
|
|
28367
|
+
const typed = error;
|
|
28368
|
+
const customInstructions = typeof typed.instructions === "string" ? typed.instructions : undefined;
|
|
28369
|
+
const customResult = typeof typed.result === "string" && typed.result !== RESULTS.Success && Object.values(RESULTS).includes(typed.result) ? typed.result : undefined;
|
|
28370
|
+
const finalResult = customResult ?? RESULTS.Failure;
|
|
27726
28371
|
OutputFormatter.error({
|
|
27727
|
-
Result:
|
|
28372
|
+
Result: finalResult,
|
|
27728
28373
|
Message: errorMessage,
|
|
27729
|
-
Instructions: "An unexpected error occurred. Run with --log-level debug for details."
|
|
28374
|
+
Instructions: customInstructions ?? "An unexpected error occurred. Run with --log-level debug for details."
|
|
27730
28375
|
});
|
|
27731
|
-
context.exit(
|
|
28376
|
+
context.exit(EXIT_CODES[finalResult]);
|
|
27732
28377
|
}
|
|
27733
28378
|
const durationMs = performance.now() - startTime;
|
|
27734
28379
|
const success = !error && (process.exitCode === undefined || process.exitCode === 0);
|
|
@@ -27741,6 +28386,7 @@ Command.prototype.trackedAction = function(context, fn, properties) {
|
|
|
27741
28386
|
}));
|
|
27742
28387
|
});
|
|
27743
28388
|
};
|
|
28389
|
+
// ../uipath-python-bridge/src/cache.ts
|
|
27744
28390
|
init_src();
|
|
27745
28391
|
async function readCache(cacheFile) {
|
|
27746
28392
|
const fs7 = getFileSystem();
|
|
@@ -27759,6 +28405,7 @@ async function readCache(cacheFile) {
|
|
|
27759
28405
|
}
|
|
27760
28406
|
return cache;
|
|
27761
28407
|
}
|
|
28408
|
+
// ../uipath-python-bridge/src/config.ts
|
|
27762
28409
|
var DEFAULT_CONFIG = {
|
|
27763
28410
|
allowedPythonVersions: ["3.13", "3.12", "3.11"],
|
|
27764
28411
|
packageName: "uipath",
|
|
@@ -27831,6 +28478,10 @@ function processCommandArgs(args, rules) {
|
|
|
27831
28478
|
args: [...argsWithoutForce]
|
|
27832
28479
|
};
|
|
27833
28480
|
}
|
|
28481
|
+
// ../uipath-python-bridge/src/execute.ts
|
|
28482
|
+
import { spawn } from "node:child_process";
|
|
28483
|
+
|
|
28484
|
+
// ../auth/src/config.ts
|
|
27834
28485
|
init_constants();
|
|
27835
28486
|
var DEFAULT_CLIENT_ID = "36dea5b8-e8bb-423d-8e7b-c808df8f1c00";
|
|
27836
28487
|
var AUTH_FILE_CONFIG_KEY = Symbol.for("@uipath/auth/AuthFileConfig");
|
|
@@ -27854,32 +28505,7 @@ class InvalidBaseUrlError extends Error {
|
|
|
27854
28505
|
this.name = "InvalidBaseUrlError";
|
|
27855
28506
|
}
|
|
27856
28507
|
}
|
|
27857
|
-
var DEFAULT_SCOPES = [
|
|
27858
|
-
"offline_access",
|
|
27859
|
-
"ProcessMining",
|
|
27860
|
-
"OrchestratorApiUserAccess",
|
|
27861
|
-
"StudioWebBackend",
|
|
27862
|
-
"IdentityServerApi",
|
|
27863
|
-
"ConnectionService",
|
|
27864
|
-
"DataService",
|
|
27865
|
-
"DataServiceApiUserAccess",
|
|
27866
|
-
"DocumentUnderstanding",
|
|
27867
|
-
"EnterpriseContextService",
|
|
27868
|
-
"Directory",
|
|
27869
|
-
"JamJamApi",
|
|
27870
|
-
"LLMGateway",
|
|
27871
|
-
"LLMOps",
|
|
27872
|
-
"OMS",
|
|
27873
|
-
"RCS.FolderAuthorization",
|
|
27874
|
-
"RCS.TagsManagement",
|
|
27875
|
-
"TestmanagerApiUserAccess",
|
|
27876
|
-
"AutomationSolutions",
|
|
27877
|
-
"StudioWebTypeCacheService",
|
|
27878
|
-
"Docs.GPT.Search",
|
|
27879
|
-
"Insights",
|
|
27880
|
-
"ReferenceToken",
|
|
27881
|
-
"Audit.Read"
|
|
27882
|
-
];
|
|
28508
|
+
var DEFAULT_SCOPES = ["openid", "profile", "offline_access"];
|
|
27883
28509
|
var normalizeAndValidateBaseUrl = (rawUrl) => {
|
|
27884
28510
|
let baseUrl = rawUrl;
|
|
27885
28511
|
if (baseUrl.endsWith("/identity_/")) {
|
|
@@ -27929,7 +28555,8 @@ var resolveConfigAsync = async ({
|
|
|
27929
28555
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
27930
28556
|
clientSecret = fileAuth.clientSecret;
|
|
27931
28557
|
}
|
|
27932
|
-
const
|
|
28558
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
28559
|
+
const scopes = customScopes && customScopes.length > 0 ? customScopes : fileAuth.scopes && fileAuth.scopes.length > 0 ? fileAuth.scopes : isExternalAppAuth ? [] : DEFAULT_SCOPES;
|
|
27933
28560
|
return {
|
|
27934
28561
|
clientId,
|
|
27935
28562
|
clientSecret,
|
|
@@ -27939,9 +28566,12 @@ var resolveConfigAsync = async ({
|
|
|
27939
28566
|
tokenEndpoint: `${baseUrl}/identity_/connect/token`
|
|
27940
28567
|
};
|
|
27941
28568
|
};
|
|
28569
|
+
|
|
28570
|
+
// ../auth/src/index.ts
|
|
27942
28571
|
init_constants();
|
|
28572
|
+
// ../auth/src/loginStatus.ts
|
|
27943
28573
|
init_src();
|
|
27944
|
-
|
|
28574
|
+
// ../auth/src/utils/jwt.ts
|
|
27945
28575
|
class InvalidIssuerError extends Error {
|
|
27946
28576
|
expected;
|
|
27947
28577
|
actual;
|
|
@@ -28011,6 +28641,8 @@ var getTokenExpiration = (accessToken) => {
|
|
|
28011
28641
|
return;
|
|
28012
28642
|
}
|
|
28013
28643
|
};
|
|
28644
|
+
|
|
28645
|
+
// ../auth/src/envAuth.ts
|
|
28014
28646
|
var ENV_AUTH_ENABLE_VAR = "UIPATH_CLI_ENABLE_ENV_AUTH";
|
|
28015
28647
|
var ENFORCE_ROBOT_AUTH_VAR = "UIPATH_CLI_ENFORCE_ROBOT_AUTH";
|
|
28016
28648
|
var ENV_AUTH_VARS = {
|
|
@@ -28070,6 +28702,8 @@ var readAuthFromEnv = () => {
|
|
|
28070
28702
|
expiration
|
|
28071
28703
|
};
|
|
28072
28704
|
};
|
|
28705
|
+
|
|
28706
|
+
// ../auth/src/robotClientFallback.ts
|
|
28073
28707
|
init_src();
|
|
28074
28708
|
var DEFAULT_TIMEOUT_MS = 1000;
|
|
28075
28709
|
var CLOSE_TIMEOUT_MS = 500;
|
|
@@ -28207,6 +28841,8 @@ var tryRobotClientFallback = async (options = {}) => {
|
|
|
28207
28841
|
await catchError2(() => withTimeout(proxy.CloseAsync(), CLOSE_TIMEOUT_MS));
|
|
28208
28842
|
}
|
|
28209
28843
|
};
|
|
28844
|
+
|
|
28845
|
+
// ../auth/src/tokenRefresh.ts
|
|
28210
28846
|
var TOKEN_REFRESH_REAUTHENTICATE_MESSAGE = "Token refresh failed. Run 'uip login' to re-authenticate.";
|
|
28211
28847
|
|
|
28212
28848
|
class TokenRefreshOAuthError extends Error {
|
|
@@ -28251,6 +28887,8 @@ var refreshAccessToken = async ({
|
|
|
28251
28887
|
}
|
|
28252
28888
|
return { accessToken: newAccessToken, refreshToken: newRefreshToken };
|
|
28253
28889
|
};
|
|
28890
|
+
|
|
28891
|
+
// ../auth/src/utils/envFile.ts
|
|
28254
28892
|
init_src();
|
|
28255
28893
|
init_constants();
|
|
28256
28894
|
var DEFAULT_ENV_FILENAME = `${UIPATH_HOME_DIR2}/${AUTH_FILENAME}`;
|
|
@@ -28410,12 +29048,137 @@ var saveEnvFileAsync = async ({
|
|
|
28410
29048
|
await fs7.writeFile(tempPath, content);
|
|
28411
29049
|
await fs7.rename(tempPath, absolutePath);
|
|
28412
29050
|
};
|
|
29051
|
+
|
|
29052
|
+
// ../auth/src/loginStatus.ts
|
|
28413
29053
|
function normalizeTokenRefreshFailure() {
|
|
28414
29054
|
return "stored refresh token is invalid or expired";
|
|
28415
29055
|
}
|
|
28416
29056
|
function normalizeTokenRefreshUnavailableFailure() {
|
|
28417
29057
|
return "token refresh failed before authentication completed";
|
|
28418
29058
|
}
|
|
29059
|
+
function errorMessage(error) {
|
|
29060
|
+
return error instanceof Error ? error.message : String(error);
|
|
29061
|
+
}
|
|
29062
|
+
function computeExpirationThreshold(ensureTokenValidityMinutes) {
|
|
29063
|
+
return new Date(Date.now() + (ensureTokenValidityMinutes ?? 0) * 60 * 1000);
|
|
29064
|
+
}
|
|
29065
|
+
async function runRefreshLocked(inputs) {
|
|
29066
|
+
const {
|
|
29067
|
+
absolutePath,
|
|
29068
|
+
refreshToken: callerRefreshToken,
|
|
29069
|
+
customAuthority,
|
|
29070
|
+
ensureTokenValidityMinutes,
|
|
29071
|
+
loadEnvFile,
|
|
29072
|
+
saveEnvFile,
|
|
29073
|
+
refreshFn,
|
|
29074
|
+
resolveConfig
|
|
29075
|
+
} = inputs;
|
|
29076
|
+
const expirationThreshold = computeExpirationThreshold(ensureTokenValidityMinutes);
|
|
29077
|
+
let fresh;
|
|
29078
|
+
try {
|
|
29079
|
+
fresh = await loadEnvFile({ envPath: absolutePath });
|
|
29080
|
+
} catch (error) {
|
|
29081
|
+
return {
|
|
29082
|
+
kind: "fail",
|
|
29083
|
+
status: {
|
|
29084
|
+
loginStatus: "Refresh Failed",
|
|
29085
|
+
hint: "Could not read the auth file while refreshing. Retry, or run 'uip login' to re-authenticate.",
|
|
29086
|
+
tokenRefresh: {
|
|
29087
|
+
attempted: false,
|
|
29088
|
+
success: false,
|
|
29089
|
+
errorMessage: `auth file read failed: ${errorMessage(error)}`
|
|
29090
|
+
}
|
|
29091
|
+
}
|
|
29092
|
+
};
|
|
29093
|
+
}
|
|
29094
|
+
const freshAccess = fresh.UIPATH_ACCESS_TOKEN;
|
|
29095
|
+
const freshExp = freshAccess ? getTokenExpiration(freshAccess) : undefined;
|
|
29096
|
+
if (freshAccess && freshExp && freshExp > expirationThreshold) {
|
|
29097
|
+
return {
|
|
29098
|
+
kind: "ok",
|
|
29099
|
+
accessToken: freshAccess,
|
|
29100
|
+
refreshToken: fresh.UIPATH_REFRESH_TOKEN ?? callerRefreshToken,
|
|
29101
|
+
expiration: freshExp,
|
|
29102
|
+
tokenRefresh: { attempted: false, success: true }
|
|
29103
|
+
};
|
|
29104
|
+
}
|
|
29105
|
+
const tokenForIdP = fresh.UIPATH_REFRESH_TOKEN ?? callerRefreshToken;
|
|
29106
|
+
let refreshedAccess;
|
|
29107
|
+
let refreshedRefresh;
|
|
29108
|
+
try {
|
|
29109
|
+
const config = await resolveConfig({ customAuthority });
|
|
29110
|
+
const refreshed = await refreshFn({
|
|
29111
|
+
refreshToken: tokenForIdP,
|
|
29112
|
+
tokenEndpoint: config.tokenEndpoint,
|
|
29113
|
+
clientId: config.clientId,
|
|
29114
|
+
expectedAuthority: customAuthority
|
|
29115
|
+
});
|
|
29116
|
+
refreshedAccess = refreshed.accessToken;
|
|
29117
|
+
refreshedRefresh = refreshed.refreshToken;
|
|
29118
|
+
} catch (error) {
|
|
29119
|
+
const isOAuthFailure = isTokenRefreshOAuthFailure(error);
|
|
29120
|
+
const hint = isOAuthFailure ? "Run 'uip login' to re-authenticate — the stored refresh token is invalid or expired." : "Token refresh failed. Check your network connection, then retry or run 'uip login' to re-authenticate.";
|
|
29121
|
+
const message = isOAuthFailure ? normalizeTokenRefreshFailure() : normalizeTokenRefreshUnavailableFailure();
|
|
29122
|
+
return {
|
|
29123
|
+
kind: "fail",
|
|
29124
|
+
status: {
|
|
29125
|
+
loginStatus: "Refresh Failed",
|
|
29126
|
+
hint,
|
|
29127
|
+
tokenRefresh: {
|
|
29128
|
+
attempted: true,
|
|
29129
|
+
success: false,
|
|
29130
|
+
errorMessage: message
|
|
29131
|
+
}
|
|
29132
|
+
}
|
|
29133
|
+
};
|
|
29134
|
+
}
|
|
29135
|
+
const refreshedExp = getTokenExpiration(refreshedAccess);
|
|
29136
|
+
if (!refreshedExp || refreshedExp <= new Date) {
|
|
29137
|
+
return {
|
|
29138
|
+
kind: "fail",
|
|
29139
|
+
status: {
|
|
29140
|
+
loginStatus: "Refresh Failed",
|
|
29141
|
+
hint: "The identity server returned an unusable token. Run 'uip login' to re-authenticate.",
|
|
29142
|
+
tokenRefresh: {
|
|
29143
|
+
attempted: true,
|
|
29144
|
+
success: false,
|
|
29145
|
+
errorMessage: "refreshed token has no valid expiration claim"
|
|
29146
|
+
}
|
|
29147
|
+
}
|
|
29148
|
+
};
|
|
29149
|
+
}
|
|
29150
|
+
try {
|
|
29151
|
+
await saveEnvFile({
|
|
29152
|
+
envPath: absolutePath,
|
|
29153
|
+
data: {
|
|
29154
|
+
UIPATH_ACCESS_TOKEN: refreshedAccess,
|
|
29155
|
+
UIPATH_REFRESH_TOKEN: refreshedRefresh
|
|
29156
|
+
},
|
|
29157
|
+
merge: true
|
|
29158
|
+
});
|
|
29159
|
+
return {
|
|
29160
|
+
kind: "ok",
|
|
29161
|
+
accessToken: refreshedAccess,
|
|
29162
|
+
refreshToken: refreshedRefresh,
|
|
29163
|
+
expiration: refreshedExp,
|
|
29164
|
+
tokenRefresh: { attempted: true, success: true }
|
|
29165
|
+
};
|
|
29166
|
+
} catch (error) {
|
|
29167
|
+
const msg = errorMessage(error);
|
|
29168
|
+
return {
|
|
29169
|
+
kind: "ok",
|
|
29170
|
+
accessToken: refreshedAccess,
|
|
29171
|
+
refreshToken: refreshedRefresh,
|
|
29172
|
+
expiration: refreshedExp,
|
|
29173
|
+
persistenceWarning: `Access token refreshed in memory but could not be written to ${absolutePath}: ${msg}. The next CLI invocation will fail until the file can be updated — run 'uip login' to re-authenticate.`,
|
|
29174
|
+
tokenRefresh: {
|
|
29175
|
+
attempted: true,
|
|
29176
|
+
success: true,
|
|
29177
|
+
errorMessage: `persistence failed: ${msg}`
|
|
29178
|
+
}
|
|
29179
|
+
};
|
|
29180
|
+
}
|
|
29181
|
+
}
|
|
28419
29182
|
var getLoginStatusWithDeps = async (options = {}, deps = {}) => {
|
|
28420
29183
|
const {
|
|
28421
29184
|
resolveEnvFilePath = resolveEnvFilePathAsync,
|
|
@@ -28447,7 +29210,7 @@ var getLoginStatusWithDeps = async (options = {}, deps = {}) => {
|
|
|
28447
29210
|
tenantName: robotCreds.tenantName,
|
|
28448
29211
|
tenantId: robotCreds.tenantId,
|
|
28449
29212
|
expiration: expiration2,
|
|
28450
|
-
source: "robot"
|
|
29213
|
+
source: "robot" /* Robot */
|
|
28451
29214
|
};
|
|
28452
29215
|
}
|
|
28453
29216
|
if (isEnvAuthEnabled()) {
|
|
@@ -28468,7 +29231,7 @@ var getLoginStatusWithDeps = async (options = {}, deps = {}) => {
|
|
|
28468
29231
|
tenantName: robotCreds.tenantName,
|
|
28469
29232
|
tenantId: robotCreds.tenantId,
|
|
28470
29233
|
expiration: expiration2,
|
|
28471
|
-
source: "robot"
|
|
29234
|
+
source: "robot" /* Robot */
|
|
28472
29235
|
};
|
|
28473
29236
|
return status;
|
|
28474
29237
|
}
|
|
@@ -28490,73 +29253,103 @@ var getLoginStatusWithDeps = async (options = {}, deps = {}) => {
|
|
|
28490
29253
|
let refreshToken = credentials.UIPATH_REFRESH_TOKEN;
|
|
28491
29254
|
let expiration = getTokenExpiration(accessToken);
|
|
28492
29255
|
let persistenceWarning;
|
|
29256
|
+
let lockReleaseFailed = false;
|
|
28493
29257
|
let tokenRefresh;
|
|
28494
|
-
const
|
|
28495
|
-
|
|
28496
|
-
|
|
28497
|
-
|
|
29258
|
+
const outerThreshold = computeExpirationThreshold(ensureTokenValidityMinutes);
|
|
29259
|
+
const tryGlobalCredsHint = async () => {
|
|
29260
|
+
const fs7 = getFs();
|
|
29261
|
+
const globalPath = fs7.path.join(fs7.env.homedir(), envFilePath);
|
|
29262
|
+
if (absolutePath === globalPath)
|
|
29263
|
+
return;
|
|
29264
|
+
if (!await fs7.exists(globalPath))
|
|
29265
|
+
return;
|
|
28498
29266
|
try {
|
|
28499
|
-
const
|
|
28500
|
-
|
|
28501
|
-
|
|
28502
|
-
const
|
|
28503
|
-
|
|
28504
|
-
|
|
28505
|
-
|
|
28506
|
-
|
|
28507
|
-
|
|
28508
|
-
refreshedAccess = refreshed.accessToken;
|
|
28509
|
-
refreshedRefresh = refreshed.refreshToken;
|
|
28510
|
-
} catch (error) {
|
|
28511
|
-
const isOAuthFailure = isTokenRefreshOAuthFailure(error);
|
|
28512
|
-
const hint = isOAuthFailure ? "Run 'uip login' to re-authenticate — the stored refresh token is invalid or expired." : "Token refresh failed. Check your network connection, then retry or run 'uip login' to re-authenticate.";
|
|
28513
|
-
const errorMessage = isOAuthFailure ? normalizeTokenRefreshFailure() : normalizeTokenRefreshUnavailableFailure();
|
|
28514
|
-
return {
|
|
28515
|
-
loginStatus: "Refresh Failed",
|
|
28516
|
-
hint,
|
|
28517
|
-
tokenRefresh: {
|
|
28518
|
-
attempted: true,
|
|
28519
|
-
success: false,
|
|
28520
|
-
errorMessage
|
|
28521
|
-
}
|
|
28522
|
-
};
|
|
29267
|
+
const globalCreds = await loadEnvFile({ envPath: globalPath });
|
|
29268
|
+
if (!globalCreds.UIPATH_ACCESS_TOKEN)
|
|
29269
|
+
return;
|
|
29270
|
+
const globalExp = getTokenExpiration(globalCreds.UIPATH_ACCESS_TOKEN);
|
|
29271
|
+
if (globalExp && globalExp <= new Date)
|
|
29272
|
+
return;
|
|
29273
|
+
return `Local credentials file at ${absolutePath} has expired credentials. Valid credentials exist in ${globalPath}. Remove the local file or run 'uip login' to re-authenticate.`;
|
|
29274
|
+
} catch {
|
|
29275
|
+
return;
|
|
28523
29276
|
}
|
|
28524
|
-
|
|
28525
|
-
|
|
29277
|
+
};
|
|
29278
|
+
if (expiration && expiration <= outerThreshold && refreshToken) {
|
|
29279
|
+
let release;
|
|
29280
|
+
try {
|
|
29281
|
+
release = await getFs().acquireLock(absolutePath);
|
|
29282
|
+
} catch (error) {
|
|
29283
|
+
const msg = errorMessage(error);
|
|
29284
|
+
const globalHint = await tryGlobalCredsHint();
|
|
29285
|
+
if (globalHint) {
|
|
29286
|
+
return {
|
|
29287
|
+
loginStatus: "Expired",
|
|
29288
|
+
accessToken,
|
|
29289
|
+
refreshToken,
|
|
29290
|
+
baseUrl: credentials.UIPATH_URL,
|
|
29291
|
+
organizationName: credentials.UIPATH_ORGANIZATION_NAME,
|
|
29292
|
+
organizationId: credentials.UIPATH_ORGANIZATION_ID,
|
|
29293
|
+
tenantName: credentials.UIPATH_TENANT_NAME,
|
|
29294
|
+
tenantId: credentials.UIPATH_TENANT_ID,
|
|
29295
|
+
expiration,
|
|
29296
|
+
source: "file" /* File */,
|
|
29297
|
+
hint: globalHint,
|
|
29298
|
+
tokenRefresh: {
|
|
29299
|
+
attempted: false,
|
|
29300
|
+
success: false,
|
|
29301
|
+
errorMessage: `lock acquisition failed: ${msg}`
|
|
29302
|
+
}
|
|
29303
|
+
};
|
|
29304
|
+
}
|
|
28526
29305
|
return {
|
|
28527
29306
|
loginStatus: "Refresh Failed",
|
|
28528
|
-
hint: "
|
|
29307
|
+
hint: "Could not acquire the auth-file lock — too many concurrent `uip` processes, or a permission issue on the auth directory. Retry, or run 'uip login' to re-authenticate.",
|
|
28529
29308
|
tokenRefresh: {
|
|
28530
|
-
attempted:
|
|
29309
|
+
attempted: false,
|
|
28531
29310
|
success: false,
|
|
28532
|
-
errorMessage:
|
|
29311
|
+
errorMessage: `lock acquisition failed: ${msg}`
|
|
28533
29312
|
}
|
|
28534
29313
|
};
|
|
28535
29314
|
}
|
|
28536
|
-
|
|
28537
|
-
refreshToken = refreshedRefresh;
|
|
28538
|
-
expiration = refreshedExp;
|
|
29315
|
+
let lockedFailure;
|
|
28539
29316
|
try {
|
|
28540
|
-
await
|
|
28541
|
-
|
|
28542
|
-
|
|
28543
|
-
|
|
28544
|
-
|
|
28545
|
-
|
|
28546
|
-
|
|
29317
|
+
const outcome = await runRefreshLocked({
|
|
29318
|
+
absolutePath,
|
|
29319
|
+
refreshToken,
|
|
29320
|
+
customAuthority: credentials.UIPATH_URL,
|
|
29321
|
+
ensureTokenValidityMinutes,
|
|
29322
|
+
loadEnvFile,
|
|
29323
|
+
saveEnvFile,
|
|
29324
|
+
refreshFn: refreshTokenFn,
|
|
29325
|
+
resolveConfig
|
|
28547
29326
|
});
|
|
28548
|
-
|
|
28549
|
-
|
|
28550
|
-
|
|
28551
|
-
|
|
28552
|
-
|
|
28553
|
-
|
|
28554
|
-
|
|
28555
|
-
|
|
28556
|
-
|
|
28557
|
-
|
|
28558
|
-
|
|
28559
|
-
|
|
29327
|
+
if (outcome.kind === "fail") {
|
|
29328
|
+
lockedFailure = outcome.status;
|
|
29329
|
+
} else {
|
|
29330
|
+
accessToken = outcome.accessToken;
|
|
29331
|
+
refreshToken = outcome.refreshToken;
|
|
29332
|
+
expiration = outcome.expiration;
|
|
29333
|
+
tokenRefresh = outcome.tokenRefresh;
|
|
29334
|
+
if (outcome.persistenceWarning) {
|
|
29335
|
+
persistenceWarning = outcome.persistenceWarning;
|
|
29336
|
+
}
|
|
29337
|
+
}
|
|
29338
|
+
} finally {
|
|
29339
|
+
try {
|
|
29340
|
+
await release();
|
|
29341
|
+
} catch {
|
|
29342
|
+
lockReleaseFailed = true;
|
|
29343
|
+
}
|
|
29344
|
+
}
|
|
29345
|
+
if (lockedFailure) {
|
|
29346
|
+
const globalHint = await tryGlobalCredsHint();
|
|
29347
|
+
const base = globalHint ? {
|
|
29348
|
+
...lockedFailure,
|
|
29349
|
+
loginStatus: "Expired",
|
|
29350
|
+
hint: globalHint
|
|
29351
|
+
} : lockedFailure;
|
|
29352
|
+
return lockReleaseFailed ? { ...base, lockReleaseFailed: true } : base;
|
|
28560
29353
|
}
|
|
28561
29354
|
}
|
|
28562
29355
|
const result = {
|
|
@@ -28569,25 +29362,15 @@ var getLoginStatusWithDeps = async (options = {}, deps = {}) => {
|
|
|
28569
29362
|
tenantName: credentials.UIPATH_TENANT_NAME,
|
|
28570
29363
|
tenantId: credentials.UIPATH_TENANT_ID,
|
|
28571
29364
|
expiration,
|
|
28572
|
-
source: "file"
|
|
29365
|
+
source: "file" /* File */,
|
|
28573
29366
|
...persistenceWarning ? { hint: persistenceWarning, persistenceFailed: true } : {},
|
|
29367
|
+
...lockReleaseFailed ? { lockReleaseFailed: true } : {},
|
|
28574
29368
|
...tokenRefresh ? { tokenRefresh } : {}
|
|
28575
29369
|
};
|
|
28576
29370
|
if (result.loginStatus === "Expired") {
|
|
28577
|
-
const
|
|
28578
|
-
|
|
28579
|
-
|
|
28580
|
-
try {
|
|
28581
|
-
const globalCreds = await loadEnvFile({
|
|
28582
|
-
envPath: globalPath
|
|
28583
|
-
});
|
|
28584
|
-
if (globalCreds.UIPATH_ACCESS_TOKEN) {
|
|
28585
|
-
const globalExp = getTokenExpiration(globalCreds.UIPATH_ACCESS_TOKEN);
|
|
28586
|
-
if (!globalExp || globalExp > new Date) {
|
|
28587
|
-
result.hint = `Local credentials file at ${absolutePath} has expired credentials. Valid credentials exist in ${globalPath}. Remove the local file or run 'uip login' to re-authenticate.`;
|
|
28588
|
-
}
|
|
28589
|
-
}
|
|
28590
|
-
} catch {}
|
|
29371
|
+
const globalHint = await tryGlobalCredsHint();
|
|
29372
|
+
if (globalHint) {
|
|
29373
|
+
result.hint = globalHint;
|
|
28591
29374
|
}
|
|
28592
29375
|
}
|
|
28593
29376
|
return result;
|
|
@@ -28600,8 +29383,15 @@ var isFileNotFoundError = (error) => {
|
|
|
28600
29383
|
var getLoginStatusAsync = async (options = {}) => {
|
|
28601
29384
|
return getLoginStatusWithDeps(options);
|
|
28602
29385
|
};
|
|
29386
|
+
// ../auth/src/interactive.ts
|
|
28603
29387
|
init_src();
|
|
29388
|
+
// ../auth/src/logout.ts
|
|
28604
29389
|
init_src();
|
|
29390
|
+
|
|
29391
|
+
// ../auth/src/index.ts
|
|
29392
|
+
init_server();
|
|
29393
|
+
|
|
29394
|
+
// ../uipath-python-bridge/src/execute.ts
|
|
28605
29395
|
init_src();
|
|
28606
29396
|
var ENV_FILE_NAME = ".env";
|
|
28607
29397
|
function isHelpCommand(args) {
|
|
@@ -28663,128 +29453,142 @@ async function buildAuthContext() {
|
|
|
28663
29453
|
}
|
|
28664
29454
|
return { authEnv, loginStatus: status };
|
|
28665
29455
|
}
|
|
28666
|
-
|
|
28667
|
-
|
|
28668
|
-
|
|
28669
|
-
|
|
28670
|
-
|
|
28671
|
-
|
|
28672
|
-
|
|
28673
|
-
|
|
28674
|
-
|
|
28675
|
-
|
|
28676
|
-
|
|
28677
|
-
|
|
28678
|
-
|
|
28679
|
-
|
|
28680
|
-
|
|
28681
|
-
|
|
28682
|
-
|
|
28683
|
-
|
|
28684
|
-
|
|
28685
|
-
|
|
28686
|
-
|
|
28687
|
-
|
|
28688
|
-
|
|
28689
|
-
|
|
28690
|
-
|
|
28691
|
-
|
|
28692
|
-
|
|
28693
|
-
|
|
28694
|
-
|
|
28695
|
-
});
|
|
28696
|
-
processContext.exit(1);
|
|
28697
|
-
return;
|
|
29456
|
+
var fail = (reason, message, instructions, extras = {}) => ({
|
|
29457
|
+
ok: false,
|
|
29458
|
+
reason,
|
|
29459
|
+
message,
|
|
29460
|
+
instructions,
|
|
29461
|
+
exitCode: extras.exitCode ?? 1,
|
|
29462
|
+
stderr: extras.stderr
|
|
29463
|
+
});
|
|
29464
|
+
async function runUipathPythonCommand(args, options = {}) {
|
|
29465
|
+
const fs7 = getFileSystem();
|
|
29466
|
+
const cacheFile = fs7.path.join(fs7.env.homedir(), UIPATH_HOME_DIR, getCacheFileName());
|
|
29467
|
+
const setupHint = options.commandPrefix ? `Run 'uip ${options.commandPrefix} setup' first to configure environment.` : "Run setup first to configure environment.";
|
|
29468
|
+
const cache = await readCache(cacheFile);
|
|
29469
|
+
if (!cache?.uipathExePath) {
|
|
29470
|
+
return fail("python_not_configured", "Python not configured.", setupHint);
|
|
29471
|
+
}
|
|
29472
|
+
if (!await fs7.exists(cache.uipathExePath)) {
|
|
29473
|
+
return fail("uipath_exe_missing", "uipath executable not found.", setupHint);
|
|
29474
|
+
}
|
|
29475
|
+
const processed = processCommandArgs(args, options.commandRules ?? []);
|
|
29476
|
+
if (!processed.allowed) {
|
|
29477
|
+
return fail("command_disabled", processed.errorMessage || "Command disabled.", "Use of --force flag is not recommended. Favor alternate command.", { exitCode: 3 });
|
|
29478
|
+
}
|
|
29479
|
+
const commandArgs = options.commandPrefix ? [options.commandPrefix, ...processed.args] : [...processed.args];
|
|
29480
|
+
const requiredEnv = {};
|
|
29481
|
+
for (const requirement of options.requiredEnvironmentVariables ?? []) {
|
|
29482
|
+
const applies = matchesRequiredCommand(processed.args, requirement.commands) && (!requirement.skipWhenHelp || !isHelpCommand(processed.args));
|
|
29483
|
+
if (!applies) {
|
|
29484
|
+
continue;
|
|
28698
29485
|
}
|
|
28699
|
-
const
|
|
28700
|
-
if (!
|
|
28701
|
-
|
|
28702
|
-
Result: RESULTS.ValidationError,
|
|
28703
|
-
Message: processed.errorMessage || "Command disabled.",
|
|
28704
|
-
Instructions: "Use of --force flag is not recommended. Favor alternate command."
|
|
28705
|
-
});
|
|
28706
|
-
processContext.exit(3);
|
|
28707
|
-
return;
|
|
29486
|
+
const value = await getConfiguredEnvValue(fs7, requirement.name);
|
|
29487
|
+
if (!value) {
|
|
29488
|
+
return fail("required_env_missing", `${requirement.name} environment variable not found.`, requirement.instructions);
|
|
28708
29489
|
}
|
|
28709
|
-
|
|
28710
|
-
|
|
28711
|
-
|
|
28712
|
-
|
|
28713
|
-
|
|
28714
|
-
|
|
28715
|
-
|
|
28716
|
-
|
|
28717
|
-
|
|
28718
|
-
|
|
28719
|
-
|
|
28720
|
-
|
|
28721
|
-
Instructions: requirement.instructions
|
|
28722
|
-
});
|
|
28723
|
-
processContext.exit(1);
|
|
28724
|
-
return;
|
|
28725
|
-
}
|
|
28726
|
-
requiredEnv[requirement.name] = value;
|
|
29490
|
+
requiredEnv[requirement.name] = value;
|
|
29491
|
+
}
|
|
29492
|
+
const { authEnv, loginStatus: loginStatus2 } = await buildAuthContext();
|
|
29493
|
+
if (options.commandPreflight) {
|
|
29494
|
+
const preflight = options.commandPreflight;
|
|
29495
|
+
const [preflightError, preflightResult] = await catchError(Promise.resolve().then(() => preflight({
|
|
29496
|
+
args: commandArgs,
|
|
29497
|
+
loginStatus: loginStatus2,
|
|
29498
|
+
authEnv
|
|
29499
|
+
})));
|
|
29500
|
+
if (preflightError) {
|
|
29501
|
+
return fail("preflight_error", preflightError.message, "Check your credentials and configuration, then retry.");
|
|
28727
29502
|
}
|
|
28728
|
-
|
|
28729
|
-
|
|
28730
|
-
const [preflightError, preflightResult] = await catchError(Promise.resolve().then(() => commandPreflight({
|
|
28731
|
-
args: commandArgs,
|
|
28732
|
-
loginStatus: loginStatus2,
|
|
28733
|
-
authEnv
|
|
28734
|
-
})));
|
|
28735
|
-
if (preflightError) {
|
|
28736
|
-
OutputFormatter.error({
|
|
28737
|
-
Result: RESULTS.Failure,
|
|
28738
|
-
Message: preflightError.message,
|
|
28739
|
-
Instructions: "Check your credentials and configuration, then retry."
|
|
28740
|
-
});
|
|
28741
|
-
processContext.exit(1);
|
|
28742
|
-
return;
|
|
28743
|
-
}
|
|
28744
|
-
if (preflightResult && !preflightResult.allowed) {
|
|
28745
|
-
OutputFormatter.error({
|
|
28746
|
-
Result: RESULTS.ConfigError,
|
|
28747
|
-
Message: preflightResult.message || "Command preflight check failed.",
|
|
28748
|
-
Instructions: preflightResult.instructions || "Update the command configuration and try again."
|
|
28749
|
-
});
|
|
28750
|
-
processContext.exit(preflightResult.exitCode ?? 1);
|
|
28751
|
-
return;
|
|
28752
|
-
}
|
|
29503
|
+
if (preflightResult && !preflightResult.allowed) {
|
|
29504
|
+
return fail("preflight_rejected", preflightResult.message || "Command preflight check failed.", preflightResult.instructions || "Update the command configuration and try again.", { exitCode: preflightResult.exitCode ?? 1 });
|
|
28753
29505
|
}
|
|
28754
|
-
|
|
28755
|
-
|
|
28756
|
-
|
|
28757
|
-
|
|
28758
|
-
|
|
28759
|
-
|
|
28760
|
-
|
|
29506
|
+
}
|
|
29507
|
+
const stdio = options.stdio ?? "inherit";
|
|
29508
|
+
const cwd = options.cwd ?? fs7.env.cwd();
|
|
29509
|
+
const proc = spawn(cache.uipathExePath, commandArgs, {
|
|
29510
|
+
cwd,
|
|
29511
|
+
env: {
|
|
29512
|
+
...process.env,
|
|
29513
|
+
...authEnv,
|
|
29514
|
+
...requiredEnv
|
|
29515
|
+
},
|
|
29516
|
+
stdio: stdio === "pipe" ? ["ignore", "pipe", "pipe"] : "inherit",
|
|
29517
|
+
signal: options.signal
|
|
29518
|
+
});
|
|
29519
|
+
let stdout = "";
|
|
29520
|
+
let stderr = "";
|
|
29521
|
+
if (stdio === "pipe") {
|
|
29522
|
+
proc.stdout?.on("data", (chunk) => {
|
|
29523
|
+
stdout += chunk.toString("utf8");
|
|
29524
|
+
});
|
|
29525
|
+
proc.stderr?.on("data", (chunk) => {
|
|
29526
|
+
stderr += chunk.toString("utf8");
|
|
29527
|
+
});
|
|
29528
|
+
}
|
|
29529
|
+
const [spawnError, exitCode] = await catchError(new Promise((resolve2, reject) => {
|
|
29530
|
+
proc.on("close", (code) => resolve2(code ?? 1));
|
|
29531
|
+
proc.on("error", reject);
|
|
29532
|
+
}));
|
|
29533
|
+
if (spawnError) {
|
|
29534
|
+
return fail("spawn_failed", spawnError.message, setupHint, {
|
|
29535
|
+
stderr: stdio === "pipe" ? stderr : undefined
|
|
29536
|
+
});
|
|
29537
|
+
}
|
|
29538
|
+
if (exitCode !== 0) {
|
|
29539
|
+
return fail("command_failed", `Python 'uipath ${commandArgs.join(" ")}' exited with code ${exitCode}.`, stdio === "pipe" && stderr ? "See the captured stderr below for the Python tool's error output." : "Re-run with verbose flags or stream stdio inherit to diagnose.", {
|
|
29540
|
+
exitCode,
|
|
29541
|
+
stderr: stdio === "pipe" ? stderr : undefined
|
|
29542
|
+
});
|
|
29543
|
+
}
|
|
29544
|
+
return {
|
|
29545
|
+
ok: true,
|
|
29546
|
+
pythonExePath: cache.uipathExePath,
|
|
29547
|
+
exitCode: 0,
|
|
29548
|
+
stdout: stdio === "pipe" ? stdout : undefined,
|
|
29549
|
+
stderr: stdio === "pipe" ? stderr : undefined
|
|
29550
|
+
};
|
|
29551
|
+
}
|
|
29552
|
+
var CLI_RESULT_BY_REASON = {
|
|
29553
|
+
python_not_configured: RESULTS.ConfigError,
|
|
29554
|
+
uipath_exe_missing: RESULTS.ConfigError,
|
|
29555
|
+
command_disabled: RESULTS.ValidationError,
|
|
29556
|
+
required_env_missing: RESULTS.ConfigError,
|
|
29557
|
+
preflight_error: RESULTS.Failure,
|
|
29558
|
+
preflight_rejected: RESULTS.ConfigError,
|
|
29559
|
+
spawn_failed: RESULTS.Failure
|
|
29560
|
+
};
|
|
29561
|
+
function createExecuteCommand(config) {
|
|
29562
|
+
const executeCommand = async (rawArgs, _options) => {
|
|
29563
|
+
const runIndex = rawArgs.indexOf("exec");
|
|
29564
|
+
const actualArgs = runIndex >= 0 ? rawArgs.slice(runIndex + 1) : [];
|
|
29565
|
+
const result = await runUipathPythonCommand(actualArgs, {
|
|
29566
|
+
commandPrefix: config.commandPrefix,
|
|
29567
|
+
commandRules: config.commandRules,
|
|
29568
|
+
commandPreflight: config.commandPreflight,
|
|
29569
|
+
requiredEnvironmentVariables: config.requiredEnvironmentVariables,
|
|
28761
29570
|
stdio: "inherit"
|
|
28762
29571
|
});
|
|
28763
|
-
|
|
28764
|
-
proc.on("exit", (code) => {
|
|
28765
|
-
processContext.exit(code ?? 1);
|
|
28766
|
-
resolve2();
|
|
28767
|
-
});
|
|
28768
|
-
proc.on("error", reject);
|
|
28769
|
-
}));
|
|
28770
|
-
if (spawnError) {
|
|
29572
|
+
if (!result.ok && result.reason !== "command_failed") {
|
|
28771
29573
|
OutputFormatter.error({
|
|
28772
|
-
Result:
|
|
28773
|
-
Message:
|
|
28774
|
-
Instructions:
|
|
29574
|
+
Result: CLI_RESULT_BY_REASON[result.reason],
|
|
29575
|
+
Message: result.message,
|
|
29576
|
+
Instructions: result.instructions
|
|
28775
29577
|
});
|
|
28776
|
-
processContext.exit(1);
|
|
28777
29578
|
}
|
|
29579
|
+
processContext.exit(result.exitCode);
|
|
28778
29580
|
};
|
|
28779
29581
|
const registerExecCommand = (program2) => {
|
|
28780
|
-
program2.command("exec", { hidden: true }).description("Execute the uipath package with provided arguments").allowUnknownOption(true).allowExcessArguments(true).trackedAction(processContext, telemetryEvent, async (_options, cmd) => {
|
|
29582
|
+
program2.command("exec", { hidden: true }).description("Execute the uipath package with provided arguments").allowUnknownOption(true).allowExcessArguments(true).trackedAction(processContext, config.telemetryEvent, async (_options, cmd) => {
|
|
28781
29583
|
await executeCommand(["_", "_", "exec", ...cmd.args], {});
|
|
28782
29584
|
});
|
|
28783
29585
|
};
|
|
28784
29586
|
return { executeCommand, registerExecCommand };
|
|
28785
29587
|
}
|
|
29588
|
+
// ../uipath-python-bridge/src/python-service.ts
|
|
29589
|
+
import { spawn as spawn2 } from "node:child_process";
|
|
29590
|
+
import { platform as platform2 } from "node:os";
|
|
28786
29591
|
init_src();
|
|
28787
|
-
|
|
28788
29592
|
class PythonService {
|
|
28789
29593
|
cacheFile;
|
|
28790
29594
|
config;
|
|
@@ -29186,6 +29990,7 @@ Please install one of the required Python versions:
|
|
|
29186
29990
|
logger.info(`Cache saved to ${this.cacheFile}`);
|
|
29187
29991
|
}
|
|
29188
29992
|
}
|
|
29993
|
+
// ../uipath-python-bridge/src/register.ts
|
|
29189
29994
|
init_src();
|
|
29190
29995
|
function createSetupCommand(config) {
|
|
29191
29996
|
return (program2) => {
|
|
@@ -29271,7 +30076,8 @@ function createCommandForwarder(executeCommand) {
|
|
|
29271
30076
|
// package.json
|
|
29272
30077
|
var package_default = {
|
|
29273
30078
|
name: "@uipath/context-grounding-tool",
|
|
29274
|
-
|
|
30079
|
+
license: "MIT",
|
|
30080
|
+
version: "1.195.0",
|
|
29275
30081
|
description: "Tool for context grounding operations via the UiPath Python SDK",
|
|
29276
30082
|
keywords: [
|
|
29277
30083
|
"uipcli-tool",
|