@uipath/eval-tool 1.203.0-preview.203 → 1.203.0-preview.205
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/THIRD-PARTY-NOTICES.md +323 -0
- package/dist/index-cr9dpxy8.js +35716 -0
- package/dist/{index-nzr4mx5p.js → index-sby22td6.js} +22 -2
- package/dist/index.js +9 -8
- package/dist/{jmespath-ab6tdc42.js → jmespath-231m3hyn.js} +1 -1
- package/dist/{js-yaml-a2bk27p6.js → js-yaml-88tdqrtd.js} +3 -1
- package/dist/{tool-epsr41wx.js → tool-1de529jm.js} +3 -12
- package/dist/{tool-r9mtm8ew.js → tool-jwqr447k.js} +15 -12
- package/dist/{tool-pa6awsya.js → tool-q9tp0v6c.js} +741 -765
- package/dist/tool.js +8 -7
- package/package.json +2 -10
- package/dist/index-0ccvrrm4.js +0 -692
- package/dist/index-24qchvk6.js +0 -686
- package/dist/index-5n3avrgd.js +0 -686
- package/dist/index-79k4yaq0.js +0 -692
- package/dist/tool-4dvyv6d3.js +0 -1593
- package/dist/tool-9wbdx38t.js +0 -7462
- package/dist/tool-hmrrz4ws.js +0 -1593
- package/dist/tool-qgxwdxzs.js +0 -7407
- package/dist/tool-s9nrxyrx.js +0 -7407
- package/dist/tool-wpdw8g6y.js +0 -1593
- package/dist/tool-y87tv8gm.js +0 -1593
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import"./tool-1de529jm.js";
|
|
2
|
+
|
|
1
3
|
// ../../node_modules/open/index.js
|
|
2
4
|
import process7 from "node:process";
|
|
3
5
|
import path from "node:path";
|
|
@@ -546,6 +548,22 @@ var open = (target, options) => {
|
|
|
546
548
|
target
|
|
547
549
|
});
|
|
548
550
|
};
|
|
551
|
+
var openApp = (name, options) => {
|
|
552
|
+
if (typeof name !== "string" && !Array.isArray(name)) {
|
|
553
|
+
throw new TypeError("Expected a valid `name`");
|
|
554
|
+
}
|
|
555
|
+
const { arguments: appArguments = [] } = options ?? {};
|
|
556
|
+
if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) {
|
|
557
|
+
throw new TypeError("Expected `appArguments` as Array type");
|
|
558
|
+
}
|
|
559
|
+
return baseOpen({
|
|
560
|
+
...options,
|
|
561
|
+
app: {
|
|
562
|
+
name,
|
|
563
|
+
arguments: appArguments
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
};
|
|
549
567
|
function detectArchBinary(binary) {
|
|
550
568
|
if (typeof binary === "string" || Array.isArray(binary)) {
|
|
551
569
|
return binary;
|
|
@@ -608,7 +626,9 @@ defineLazyProperty(apps, "safari", () => detectPlatformBinary({
|
|
|
608
626
|
}));
|
|
609
627
|
var open_default = open;
|
|
610
628
|
export {
|
|
611
|
-
|
|
629
|
+
apps,
|
|
630
|
+
open_default as default,
|
|
631
|
+
openApp
|
|
612
632
|
};
|
|
613
633
|
|
|
614
|
-
//# debugId=
|
|
634
|
+
//# debugId=42C9AEC59ECC644E64756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
metadata,
|
|
4
|
+
registerCommands
|
|
5
|
+
} from "./tool-jwqr447k.js";
|
|
5
6
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
Command
|
|
8
|
+
} from "./tool-q9tp0v6c.js";
|
|
9
|
+
import"./tool-1de529jm.js";
|
|
9
10
|
|
|
10
11
|
// src/index.ts
|
|
11
12
|
var program = new Command;
|
|
12
|
-
program.name(
|
|
13
|
-
await
|
|
13
|
+
program.name(metadata.commandPrefix).description(metadata.description).version(metadata.version);
|
|
14
|
+
await registerCommands(program);
|
|
14
15
|
await program.parseAsync(process.argv);
|
|
15
16
|
|
|
16
|
-
//# debugId=
|
|
17
|
+
//# debugId=7FEA55D2A244CE4064756E2164756E21
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import"./tool-1de529jm.js";
|
|
2
|
+
|
|
1
3
|
// ../../node_modules/js-yaml/dist/js-yaml.mjs
|
|
2
4
|
function getDefaultExportFromCjs(x) {
|
|
3
5
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -3148,4 +3150,4 @@ export {
|
|
|
3148
3150
|
types
|
|
3149
3151
|
};
|
|
3150
3152
|
|
|
3151
|
-
//# debugId=
|
|
3153
|
+
//# debugId=9FA8E718B2F80BEA64756E2164756E21
|
|
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
18
18
|
return cached;
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
|
-
const to = isNodeMode || !mod || !mod.__esModule
|
|
21
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
22
|
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
23
|
for (let key of __getOwnPropNames(mod))
|
|
24
24
|
if (!__hasOwnProp.call(to, key))
|
|
@@ -32,17 +32,8 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
32
32
|
return to;
|
|
33
33
|
};
|
|
34
34
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
35
|
-
var __exportCjs = (target, getters, setters) => {
|
|
36
|
-
for (var name in getters)
|
|
37
|
-
__defProp(target, name, {
|
|
38
|
-
get: getters[name],
|
|
39
|
-
set: setters[name],
|
|
40
|
-
enumerable: true,
|
|
41
|
-
configurable: true
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
35
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
45
36
|
|
|
46
|
-
export { __toESM, __commonJS,
|
|
37
|
+
export { __toESM, __commonJS, __require };
|
|
47
38
|
|
|
48
|
-
//# debugId=
|
|
39
|
+
//# debugId=4A15A0D6FCDB684764756E2164756E21
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
+
OutputFormatter,
|
|
3
|
+
Pagination,
|
|
4
|
+
RESULTS,
|
|
2
5
|
catchError,
|
|
3
6
|
extractErrorMessage,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./tool-
|
|
7
|
+
getAuthContext,
|
|
8
|
+
processContext
|
|
9
|
+
} from "./tool-q9tp0v6c.js";
|
|
10
|
+
import {
|
|
11
|
+
__require
|
|
12
|
+
} from "./tool-1de529jm.js";
|
|
10
13
|
// package.json
|
|
11
14
|
var package_default = {
|
|
12
15
|
name: "@uipath/eval-tool",
|
|
13
16
|
author: "UiPath",
|
|
14
17
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
15
|
-
version: "1.203.0-preview.
|
|
18
|
+
version: "1.203.0-preview.205",
|
|
16
19
|
description: "Manage runtime evaluations, evaluators, eval sets, evaluations, and schedules.",
|
|
17
20
|
private: false,
|
|
18
21
|
repository: {
|
|
@@ -1020,7 +1023,7 @@ async function resolveInline(options) {
|
|
|
1020
1023
|
folderKey = options.folderKey;
|
|
1021
1024
|
folderLabel = folderKey;
|
|
1022
1025
|
} else {
|
|
1023
|
-
const { createApiClient, PersonalWorkspacesApi } = await import("./index-
|
|
1026
|
+
const { createApiClient, PersonalWorkspacesApi } = await import("./index-cr9dpxy8.js");
|
|
1024
1027
|
const [wsApiErr, wsApi] = await catchError(createApiClient(PersonalWorkspacesApi, {
|
|
1025
1028
|
tenant: options.tenant
|
|
1026
1029
|
}));
|
|
@@ -1578,16 +1581,16 @@ function registerEvalCommand(program) {
|
|
|
1578
1581
|
}
|
|
1579
1582
|
|
|
1580
1583
|
// src/tool.ts
|
|
1581
|
-
var
|
|
1584
|
+
var metadata = {
|
|
1582
1585
|
name: "eval-tool",
|
|
1583
1586
|
version: package_default.version,
|
|
1584
1587
|
description: "Run runtime evaluations, manage evaluators, eval sets, evaluations, and schedules.",
|
|
1585
1588
|
commandPrefix: "eval"
|
|
1586
1589
|
};
|
|
1587
|
-
var
|
|
1590
|
+
var registerCommands = async (program) => {
|
|
1588
1591
|
registerEvalCommand(program);
|
|
1589
1592
|
};
|
|
1590
1593
|
|
|
1591
|
-
export {
|
|
1594
|
+
export { metadata, registerCommands };
|
|
1592
1595
|
|
|
1593
|
-
//# debugId=
|
|
1596
|
+
//# debugId=3DBF66EDE5F3F6B064756E2164756E21
|