@uipath/eval-tool 1.203.0-preview.203 → 1.203.0-preview.208

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.
@@ -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
- open_default as default
629
+ apps,
630
+ open_default as default,
631
+ openApp
612
632
  };
613
633
 
614
- //# debugId=6F288C058A3A412164756E2164756E21
634
+ //# debugId=42C9AEC59ECC644E64756E2164756E21
package/dist/index.js CHANGED
@@ -1,16 +1,17 @@
1
1
  #!/usr/bin/env bun
2
2
  import {
3
- Command
4
- } from "./tool-pa6awsya.js";
3
+ metadata,
4
+ registerCommands
5
+ } from "./tool-ccrspvgr.js";
5
6
  import {
6
- metadata2,
7
- registerCommands2
8
- } from "./tool-r9mtm8ew.js";
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(metadata2.commandPrefix).description(metadata2.description).version(metadata2.version);
13
- await registerCommands2(program);
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=C08E57297796321864756E2164756E21
17
+ //# debugId=7FEA55D2A244CE4064756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./tool-epsr41wx.js";
3
+ } from "./tool-1de529jm.js";
4
4
 
5
5
  // ../../node_modules/jmespath/jmespath.js
6
6
  var require_jmespath = __commonJS(function(exports) {
@@ -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=41DC6971B94BC54964756E2164756E21
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 || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
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, __exportCjs, __require };
37
+ export { __toESM, __commonJS, __require };
47
38
 
48
- //# debugId=6692E9B4C735B07364756E2164756E21
39
+ //# debugId=4A15A0D6FCDB684764756E2164756E21
@@ -1,18 +1,21 @@
1
1
  import {
2
+ OutputFormatter,
3
+ Pagination,
4
+ RESULTS,
2
5
  catchError,
3
6
  extractErrorMessage,
4
- RESULTS,
5
- Pagination,
6
- OutputFormatter,
7
- processContext,
8
- getAuthContext
9
- } from "./tool-pa6awsya.js";
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.203",
18
+ version: "1.203.0-preview.208",
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-24qchvk6.js");
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 metadata2 = {
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 registerCommands2 = async (program) => {
1590
+ var registerCommands = async (program) => {
1588
1591
  registerEvalCommand(program);
1589
1592
  };
1590
1593
 
1591
- export { metadata2, registerCommands2 };
1594
+ export { metadata, registerCommands };
1592
1595
 
1593
- //# debugId=EFBD09296909983C64756E2164756E21
1596
+ //# debugId=B688504C5ACFA4F964756E2164756E21