@uipath/eval-tool 1.205.0-preview.276 → 1.206.0-preview.279

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/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # @uipath/eval-tool
2
+
3
+ `uip` plugin for runtime evaluations of deployed agent processes. It adds
4
+ `uip eval`, which manages the evaluators, eval sets, evaluations (test data
5
+ points) and schedules stored for a process, submits eval runs and reads their
6
+ results. Everything is keyed by the deployed process (`--process-key`). To
7
+ edit evaluations inside a local agent project, use `uip agent eval` instead.
8
+
9
+ Full guide: [docs/tools/eval.md](../../docs/tools/eval.md).
10
+
11
+ ## Commands
12
+
13
+ | Command | Purpose |
14
+ | --- | --- |
15
+ | `uip eval execute-and-evaluate` | Submit an eval run, from an eval set (`--eval-set-id`) or from inline `--items` and `--evaluators`. |
16
+ | `uip eval run list` / `get <id>` / `results <id>` | List a process's eval set runs, get one, or read its per-item results. |
17
+ | `uip eval evaluator list` / `get` / `create` / `update` / `delete` | Manage evaluators. |
18
+ | `uip eval eval-set list` / `get` / `create` / `update` / `delete` | Manage eval sets. |
19
+ | `uip eval evaluation list` / `get` / `create` / `update` / `delete` | Manage the evaluations in an eval set (`--eval-set-id`). |
20
+ | `uip eval schedule create` / `list` / `get` / `update` / `pause` / `resume` / `delete` | Run an eval set on a five-field UTC cron. |
21
+ | `uip eval simulatable-components list` | List the components of a deployed process that an evaluation can simulate. |
22
+
23
+ ## Examples
24
+
25
+ ```bash
26
+ uip eval eval-set list --process-key <process-key>
27
+ uip eval evaluation create --process-key <process-key> --eval-set-id <eval-set-id> \
28
+ --folder-key <folder-key> --name "Greeting test" --inputs '{"input":"hello"}'
29
+ uip eval execute-and-evaluate --process-key <process-key> --eval-set-id <eval-set-id>
30
+ uip eval run list --process-key <process-key>
31
+ uip eval run results <eval-set-run-id> --process-key <process-key>
32
+ uip eval schedule create --process-key <process-key> --eval-set-id <eval-set-id> --cron "0 9 * * *"
33
+ ```
34
+
35
+ `uip or processes list` shows process keys.
36
+
37
+ ## Authentication
38
+
39
+ Needs `uip login` first. The evals API is served by the agents runtime
40
+ (`agentsruntime_`); use an interactive login, since the runtime has refused
41
+ the e2e suites' client-credentials app with a 401. `--tenant` picks a tenant
42
+ other than the one you logged in to.
@@ -0,0 +1,478 @@
1
+ import {
2
+ getSdkUserAgentToken,
3
+ addSdkUserAgentHeader,
4
+ installSdkUserAgentHeader,
5
+ resolveSessionIdentity,
6
+ getAuthContext
7
+ } from "./tool-r2w4fazn.js";
8
+
9
+ // ../orchestrator-sdk/generated/src/runtime.ts
10
+ var BASE_PATH = "https://alpha.uipath.com/Ada/byoa/orchestrator_".replace(/\/+$/, "");
11
+
12
+ class Configuration {
13
+ configuration;
14
+ constructor(configuration = {}) {
15
+ this.configuration = configuration;
16
+ }
17
+ set config(configuration) {
18
+ this.configuration = configuration;
19
+ }
20
+ get basePath() {
21
+ return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
22
+ }
23
+ get fetchApi() {
24
+ return this.configuration.fetchApi;
25
+ }
26
+ get middleware() {
27
+ return this.configuration.middleware || [];
28
+ }
29
+ get queryParamsStringify() {
30
+ return this.configuration.queryParamsStringify || querystring;
31
+ }
32
+ get username() {
33
+ return this.configuration.username;
34
+ }
35
+ get password() {
36
+ return this.configuration.password;
37
+ }
38
+ get apiKey() {
39
+ const apiKey = this.configuration.apiKey;
40
+ if (apiKey) {
41
+ return typeof apiKey === "function" ? apiKey : () => apiKey;
42
+ }
43
+ return;
44
+ }
45
+ get accessToken() {
46
+ const accessToken = this.configuration.accessToken;
47
+ if (accessToken) {
48
+ return typeof accessToken === "function" ? accessToken : async () => accessToken;
49
+ }
50
+ return;
51
+ }
52
+ get headers() {
53
+ return this.configuration.headers;
54
+ }
55
+ get credentials() {
56
+ return this.configuration.credentials;
57
+ }
58
+ }
59
+ var DefaultConfig = new Configuration;
60
+
61
+ class BaseAPI {
62
+ configuration;
63
+ static jsonRegex = new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i");
64
+ middleware;
65
+ constructor(configuration = DefaultConfig) {
66
+ this.configuration = configuration;
67
+ this.middleware = configuration.middleware;
68
+ }
69
+ withMiddleware(...middlewares) {
70
+ const next = this.clone();
71
+ next.middleware = next.middleware.concat(...middlewares);
72
+ return next;
73
+ }
74
+ withPreMiddleware(...preMiddlewares) {
75
+ const middlewares = preMiddlewares.map((pre) => ({ pre }));
76
+ return this.withMiddleware(...middlewares);
77
+ }
78
+ withPostMiddleware(...postMiddlewares) {
79
+ const middlewares = postMiddlewares.map((post) => ({ post }));
80
+ return this.withMiddleware(...middlewares);
81
+ }
82
+ isJsonMime(mime) {
83
+ if (!mime) {
84
+ return false;
85
+ }
86
+ return BaseAPI.jsonRegex.test(mime);
87
+ }
88
+ async request(context, initOverrides) {
89
+ const { url, init } = await this.createFetchParams(context, initOverrides);
90
+ const response = await this.fetchApi(url, init);
91
+ if (response && (response.status >= 200 && response.status < 300)) {
92
+ return response;
93
+ }
94
+ throw new ResponseError(response, "Response returned an error code");
95
+ }
96
+ async createFetchParams(context, initOverrides) {
97
+ let url = this.configuration.basePath + context.path;
98
+ if (context.query !== undefined && Object.keys(context.query).length !== 0) {
99
+ url += "?" + this.configuration.queryParamsStringify(context.query);
100
+ }
101
+ const headers = Object.assign({}, this.configuration.headers, context.headers);
102
+ Object.keys(headers).forEach((key) => headers[key] === undefined ? delete headers[key] : {});
103
+ const initOverrideFn = typeof initOverrides === "function" ? initOverrides : async () => initOverrides;
104
+ const initParams = {
105
+ method: context.method,
106
+ headers,
107
+ body: context.body,
108
+ credentials: this.configuration.credentials
109
+ };
110
+ const overriddenInit = {
111
+ ...initParams,
112
+ ...await initOverrideFn({
113
+ init: initParams,
114
+ context
115
+ })
116
+ };
117
+ let body;
118
+ if (isFormData(overriddenInit.body) || overriddenInit.body instanceof URLSearchParams || isBlob(overriddenInit.body)) {
119
+ body = overriddenInit.body;
120
+ } else if (this.isJsonMime(headers["Content-Type"])) {
121
+ body = JSON.stringify(overriddenInit.body);
122
+ } else {
123
+ body = overriddenInit.body;
124
+ }
125
+ const init = {
126
+ ...overriddenInit,
127
+ body
128
+ };
129
+ return { url, init };
130
+ }
131
+ fetchApi = async (url, init) => {
132
+ let fetchParams = { url, init };
133
+ for (const middleware of this.middleware) {
134
+ if (middleware.pre) {
135
+ fetchParams = await middleware.pre({
136
+ fetch: this.fetchApi,
137
+ ...fetchParams
138
+ }) || fetchParams;
139
+ }
140
+ }
141
+ let response = undefined;
142
+ try {
143
+ response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
144
+ } catch (e) {
145
+ for (const middleware of this.middleware) {
146
+ if (middleware.onError) {
147
+ response = await middleware.onError({
148
+ fetch: this.fetchApi,
149
+ url: fetchParams.url,
150
+ init: fetchParams.init,
151
+ error: e,
152
+ response: response ? response.clone() : undefined
153
+ }) || response;
154
+ }
155
+ }
156
+ if (response === undefined) {
157
+ if (e instanceof Error) {
158
+ throw new FetchError(e, "The request failed and the interceptors did not return an alternative response");
159
+ } else {
160
+ throw e;
161
+ }
162
+ }
163
+ }
164
+ for (const middleware of this.middleware) {
165
+ if (middleware.post) {
166
+ response = await middleware.post({
167
+ fetch: this.fetchApi,
168
+ url: fetchParams.url,
169
+ init: fetchParams.init,
170
+ response: response.clone()
171
+ }) || response;
172
+ }
173
+ }
174
+ return response;
175
+ };
176
+ clone() {
177
+ const constructor = this.constructor;
178
+ const next = new constructor(this.configuration);
179
+ next.middleware = this.middleware.slice();
180
+ return next;
181
+ }
182
+ }
183
+ function isBlob(value) {
184
+ return typeof Blob !== "undefined" && value instanceof Blob;
185
+ }
186
+ function isFormData(value) {
187
+ return typeof FormData !== "undefined" && value instanceof FormData;
188
+ }
189
+
190
+ class ResponseError extends Error {
191
+ response;
192
+ name = "ResponseError";
193
+ constructor(response, msg) {
194
+ super(msg);
195
+ this.response = response;
196
+ }
197
+ }
198
+
199
+ class FetchError extends Error {
200
+ cause;
201
+ name = "FetchError";
202
+ constructor(cause, msg) {
203
+ super(msg);
204
+ this.cause = cause;
205
+ }
206
+ }
207
+ function querystring(params, prefix = "") {
208
+ return Object.keys(params).map((key) => querystringSingleKey(key, params[key], prefix)).filter((part) => part.length > 0).join("&");
209
+ }
210
+ function querystringSingleKey(key, value, keyPrefix = "") {
211
+ const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
212
+ if (value instanceof Array) {
213
+ const multiValue = value.map((singleValue) => encodeURIComponent(String(singleValue))).join(`&${encodeURIComponent(fullKey)}=`);
214
+ return `${encodeURIComponent(fullKey)}=${multiValue}`;
215
+ }
216
+ if (value instanceof Set) {
217
+ const valueAsArray = Array.from(value);
218
+ return querystringSingleKey(key, valueAsArray, keyPrefix);
219
+ }
220
+ if (value instanceof Date) {
221
+ return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
222
+ }
223
+ if (value instanceof Object) {
224
+ return querystring(value, fullKey);
225
+ }
226
+ return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
227
+ }
228
+ class JSONApiResponse {
229
+ raw;
230
+ transformer;
231
+ constructor(raw, transformer = (jsonValue) => jsonValue) {
232
+ this.raw = raw;
233
+ this.transformer = transformer;
234
+ }
235
+ async value() {
236
+ return this.transformer(await this.raw.json());
237
+ }
238
+ }
239
+ // ../orchestrator-sdk/package.json
240
+ var package_default = {
241
+ name: "@uipath/orchestrator-sdk",
242
+ author: "UiPath",
243
+ license: "SEE LICENSE IN LICENSE.txt",
244
+ version: "1.206.0",
245
+ repository: {
246
+ type: "git",
247
+ url: "https://github.com/UiPath/cli.git",
248
+ directory: "packages/orchestrator-sdk"
249
+ },
250
+ publishConfig: {
251
+ registry: "https://npm.pkg.github.com/@uipath"
252
+ },
253
+ keywords: [
254
+ "uipath",
255
+ "orchestrator",
256
+ "sdk"
257
+ ],
258
+ type: "module",
259
+ main: "./dist/index.js",
260
+ types: "./dist/src/index.d.ts",
261
+ exports: {
262
+ ".": {
263
+ browser: {
264
+ types: "./dist/src/index.browser.d.ts",
265
+ default: "./dist/index.browser.js"
266
+ },
267
+ default: {
268
+ types: "./dist/src/index.d.ts",
269
+ default: "./dist/index.js"
270
+ }
271
+ },
272
+ "./folder-feed": {
273
+ types: "./dist/src/folder-feed.d.ts",
274
+ default: "./dist/folder-feed.js"
275
+ }
276
+ },
277
+ files: [
278
+ "dist"
279
+ ],
280
+ private: true,
281
+ scripts: {
282
+ build: "bun build ./src/index.ts ./src/folder-feed.ts --outdir dist --format esm --target node --sourcemap=linked && bun build ./src/index.browser.ts --outdir dist --format esm --target browser --external @uipath/auth --external @uipath/common --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
283
+ generate: "bun run src/scripts/generate-sdk.ts",
284
+ lint: "biome check .",
285
+ test: "vitest run",
286
+ "test:coverage": "vitest run --coverage",
287
+ typecheck: "tsc --noEmit"
288
+ },
289
+ devDependencies: {
290
+ "@uipath/auth": "workspace:*",
291
+ "@uipath/common": "workspace:*",
292
+ "@openapitools/openapi-generator-cli": "^2.31.1",
293
+ "@types/node": "^25.5.2",
294
+ typescript: "^7.0.2"
295
+ }
296
+ };
297
+
298
+ // ../orchestrator-sdk/src/user-agent.ts
299
+ var SDK_USER_AGENT = getSdkUserAgentToken(package_default);
300
+ installSdkUserAgentHeader(BaseAPI, SDK_USER_AGENT);
301
+ // ../orchestrator-sdk/generated/src/models/PersonalWorkspaceDto.ts
302
+ function PersonalWorkspaceDtoFromJSON(json) {
303
+ return PersonalWorkspaceDtoFromJSONTyped(json, false);
304
+ }
305
+ function PersonalWorkspaceDtoFromJSONTyped(json, ignoreDiscriminator) {
306
+ if (json == null) {
307
+ return json;
308
+ }
309
+ return {
310
+ key: json["Key"] == null ? undefined : json["Key"],
311
+ name: json["Name"] == null ? undefined : json["Name"],
312
+ isActive: json["IsActive"] == null ? undefined : json["IsActive"],
313
+ ownerId: json["OwnerId"] == null ? undefined : json["OwnerId"],
314
+ ownerKey: json["OwnerKey"] == null ? undefined : json["OwnerKey"],
315
+ ownerName: json["OwnerName"] == null ? undefined : json["OwnerName"],
316
+ lastLogin: json["LastLogin"] == null ? undefined : new Date(json["LastLogin"]),
317
+ exploringUserIds: json["ExploringUserIds"] == null ? undefined : json["ExploringUserIds"],
318
+ id: json["Id"] == null ? undefined : json["Id"]
319
+ };
320
+ }
321
+
322
+ // ../orchestrator-sdk/generated/src/models/ODataValueOfIEnumerableOfPersonalWorkspaceDto.ts
323
+ function ODataValueOfIEnumerableOfPersonalWorkspaceDtoFromJSON(json) {
324
+ return ODataValueOfIEnumerableOfPersonalWorkspaceDtoFromJSONTyped(json, false);
325
+ }
326
+ function ODataValueOfIEnumerableOfPersonalWorkspaceDtoFromJSONTyped(json, ignoreDiscriminator) {
327
+ if (json == null) {
328
+ return json;
329
+ }
330
+ return {
331
+ value: json["value"] == null ? undefined : json["value"].map(PersonalWorkspaceDtoFromJSON)
332
+ };
333
+ }
334
+ // ../orchestrator-sdk/generated/src/apis/PersonalWorkspacesApi.ts
335
+ class PersonalWorkspacesApi extends BaseAPI {
336
+ async personalWorkspacesGetRaw(requestParameters, initOverrides) {
337
+ const queryParameters = {};
338
+ if (requestParameters["$select"] != null) {
339
+ queryParameters["$select"] = requestParameters["$select"];
340
+ }
341
+ if (requestParameters["$expand"] != null) {
342
+ queryParameters["$expand"] = requestParameters["$expand"];
343
+ }
344
+ if (requestParameters["$filter"] != null) {
345
+ queryParameters["$filter"] = requestParameters["$filter"];
346
+ }
347
+ if (requestParameters["$orderby"] != null) {
348
+ queryParameters["$orderby"] = requestParameters["$orderby"];
349
+ }
350
+ if (requestParameters["$top"] != null) {
351
+ queryParameters["$top"] = requestParameters["$top"];
352
+ }
353
+ if (requestParameters["$skip"] != null) {
354
+ queryParameters["$skip"] = requestParameters["$skip"];
355
+ }
356
+ if (requestParameters["$count"] != null) {
357
+ queryParameters["$count"] = requestParameters["$count"];
358
+ }
359
+ const headerParameters = {};
360
+ if (this.configuration && this.configuration.accessToken) {
361
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", []);
362
+ }
363
+ let urlPath = `/odata/PersonalWorkspaces`;
364
+ const response = await this.request({
365
+ path: urlPath,
366
+ method: "GET",
367
+ headers: headerParameters,
368
+ query: queryParameters
369
+ }, initOverrides);
370
+ return new JSONApiResponse(response, (jsonValue) => ODataValueOfIEnumerableOfPersonalWorkspaceDtoFromJSON(jsonValue));
371
+ }
372
+ async personalWorkspacesGet(requestParameters = {}, initOverrides) {
373
+ const response = await this.personalWorkspacesGetRaw(requestParameters, initOverrides);
374
+ return await response.value();
375
+ }
376
+ async personalWorkspacesGetPersonalWorkspaceRaw(requestParameters, initOverrides) {
377
+ const queryParameters = {};
378
+ if (requestParameters["$select"] != null) {
379
+ queryParameters["$select"] = requestParameters["$select"];
380
+ }
381
+ if (requestParameters["$expand"] != null) {
382
+ queryParameters["$expand"] = requestParameters["$expand"];
383
+ }
384
+ const headerParameters = {};
385
+ if (this.configuration && this.configuration.accessToken) {
386
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", []);
387
+ }
388
+ let urlPath = `/odata/PersonalWorkspaces/UiPath.Server.Configuration.OData.GetPersonalWorkspace`;
389
+ const response = await this.request({
390
+ path: urlPath,
391
+ method: "GET",
392
+ headers: headerParameters,
393
+ query: queryParameters
394
+ }, initOverrides);
395
+ return new JSONApiResponse(response, (jsonValue) => PersonalWorkspaceDtoFromJSON(jsonValue));
396
+ }
397
+ async personalWorkspacesGetPersonalWorkspace(requestParameters = {}, initOverrides) {
398
+ const response = await this.personalWorkspacesGetPersonalWorkspaceRaw(requestParameters, initOverrides);
399
+ return await response.value();
400
+ }
401
+ }
402
+ // ../common/src/session-kind.ts
403
+ var SESSION_KIND_KEY = Symbol.for("@uipath/common/SessionKind");
404
+ function attachSessionKind(carrier, kind) {
405
+ if (!kind)
406
+ return carrier;
407
+ Object.defineProperty(carrier, SESSION_KIND_KEY, {
408
+ value: {
409
+ __brand: "SessionKind",
410
+ type: kind.type,
411
+ ...kind.clientId ? { clientId: kind.clientId } : {},
412
+ ...kind.applicationSubtype ? { applicationSubtype: kind.applicationSubtype } : {}
413
+ },
414
+ enumerable: false,
415
+ configurable: true
416
+ });
417
+ const clone = carrier.clone;
418
+ if (typeof clone === "function") {
419
+ Object.defineProperty(carrier, "clone", {
420
+ value: function stampedClone(...args) {
421
+ const copy = clone.apply(this, args);
422
+ return typeof copy === "object" && copy !== null ? attachSessionKind(copy, kind) : copy;
423
+ },
424
+ enumerable: false,
425
+ configurable: true,
426
+ writable: true
427
+ });
428
+ }
429
+ return carrier;
430
+ }
431
+
432
+ // ../orchestrator-sdk/src/client-factory.ts
433
+ async function createOrchestratorConfig(options) {
434
+ const ctx = await getAuthContext({
435
+ tenant: options?.tenant,
436
+ ensureTokenValidityMinutes: options?.loginValidity,
437
+ envFilePath: options?.envFilePath
438
+ });
439
+ const orchestratorBasePath = ctx.organizationId && ctx.tenantName ? `${ctx.baseUrl}/${ctx.organizationId}/${ctx.tenantName}/orchestrator_` : ctx.baseUrl;
440
+ const headers = addSdkUserAgentHeader({
441
+ Authorization: `Bearer ${ctx.accessToken}`
442
+ }, SDK_USER_AGENT);
443
+ if (options?.folderId) {
444
+ headers["X-UIPATH-OrganizationUnitId"] = options.folderId;
445
+ } else if (options?.folderKey && options?.folderPath) {
446
+ throw new Error("Provide either folderKey or folderPath, not both.");
447
+ } else if (options?.folderKey) {
448
+ headers["X-UIPATH-FolderKey"] = options.folderKey;
449
+ } else if (options?.folderPath) {
450
+ headers["X-UIPATH-FolderPath"] = options.folderPath;
451
+ }
452
+ return new Configuration({
453
+ basePath: orchestratorBasePath,
454
+ headers,
455
+ fetchApi: sessionKindStampingFetch(ctx.identity ?? resolveSessionIdentity(ctx.accessToken))
456
+ });
457
+ }
458
+ function sessionKindStampingFetch(kind) {
459
+ if (!kind)
460
+ return;
461
+ return async (...args) => attachSessionKind(await fetch(...args), kind);
462
+ }
463
+ async function createApiClient(ApiClass, options) {
464
+ const config = await createOrchestratorConfig(options);
465
+ return new ApiClass(config);
466
+ }
467
+ // ../orchestrator-sdk/src/knowledge-bundles.ts
468
+ var KB_INLINE_LIMITS = {
469
+ maxObjectBytes: 16 * 1024 * 1024,
470
+ maxBodyBytes: 100 * 1024 * 1024,
471
+ maxParts: 1e4
472
+ };
473
+ export {
474
+ PersonalWorkspacesApi,
475
+ createApiClient
476
+ };
477
+
478
+ //# debugId=1ED4B6BA4ECE001664756E2164756E21
@@ -1,5 +1,3 @@
1
- import"./tool-1de529jm.js";
2
-
3
1
  // ../../node_modules/open/index.js
4
2
  import process7 from "node:process";
5
3
  import path from "node:path";
@@ -548,22 +546,6 @@ var open = (target, options) => {
548
546
  target
549
547
  });
550
548
  };
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
- };
567
549
  function detectArchBinary(binary) {
568
550
  if (typeof binary === "string" || Array.isArray(binary)) {
569
551
  return binary;
@@ -626,9 +608,7 @@ defineLazyProperty(apps, "safari", () => detectPlatformBinary({
626
608
  }));
627
609
  var open_default = open;
628
610
  export {
629
- apps,
630
- open_default as default,
631
- openApp
611
+ open_default as default
632
612
  };
633
613
 
634
- //# debugId=42C9AEC59ECC644E64756E2164756E21
614
+ //# debugId=6F288C058A3A412164756E2164756E21
package/dist/index.js CHANGED
@@ -1,17 +1,16 @@
1
1
  #!/usr/bin/env bun
2
- import {
3
- metadata,
4
- registerCommands
5
- } from "./tool-6mzryzpp.js";
6
2
  import {
7
3
  Command
8
- } from "./tool-ja7k1eac.js";
9
- import"./tool-1de529jm.js";
4
+ } from "./tool-r2w4fazn.js";
5
+ import {
6
+ metadata2,
7
+ registerCommands2
8
+ } from "./tool-4n0qzn5m.js";
10
9
 
11
10
  // src/index.ts
12
11
  var program = new Command;
13
- program.name(metadata.commandPrefix).description(metadata.description).version(metadata.version);
14
- await registerCommands(program);
12
+ program.name(metadata2.commandPrefix).description(metadata2.description).version(metadata2.version);
13
+ await registerCommands2(program);
15
14
  await program.parseAsync(process.argv);
16
15
 
17
- //# debugId=7FEA55D2A244CE4064756E2164756E21
16
+ //# debugId=C08E57297796321864756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./tool-1de529jm.js";
3
+ } from "./tool-epsr41wx.js";
4
4
 
5
5
  // ../../node_modules/jmespath/jmespath.js
6
6
  var require_jmespath = __commonJS(function(exports) {
@@ -1,5 +1,3 @@
1
- import"./tool-1de529jm.js";
2
-
3
1
  // ../../node_modules/js-yaml/dist/js-yaml.mjs
4
2
  function getDefaultExportFromCjs(x) {
5
3
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -3150,4 +3148,4 @@ export {
3150
3148
  types
3151
3149
  };
3152
3150
 
3153
- //# debugId=9FA8E718B2F80BEA64756E2164756E21
3151
+ //# debugId=41DC6971B94BC54964756E2164756E21
@@ -1,24 +1,21 @@
1
1
  import {
2
- OutputFormatter,
3
- Pagination,
4
- RESULTS,
5
- carriedInstructions,
6
2
  catchError,
3
+ carriedInstructions,
7
4
  extractErrorDetails,
8
5
  extractErrorMessage,
9
- getAuthContext,
10
6
  instructionsFor,
11
- processContext
12
- } from "./tool-ja7k1eac.js";
13
- import {
14
- __require
15
- } from "./tool-1de529jm.js";
7
+ RESULTS,
8
+ Pagination,
9
+ OutputFormatter,
10
+ processContext,
11
+ getAuthContext
12
+ } from "./tool-r2w4fazn.js";
16
13
  // package.json
17
14
  var package_default = {
18
15
  name: "@uipath/eval-tool",
19
16
  author: "UiPath",
20
17
  license: "SEE LICENSE IN LICENSE.txt",
21
- version: "1.205.0-preview.276",
18
+ version: "1.206.0-preview.279",
22
19
  description: "Manage runtime evaluations, evaluators, eval sets, evaluations, and schedules.",
23
20
  private: false,
24
21
  repository: {
@@ -45,6 +42,7 @@ var package_default = {
45
42
  ],
46
43
  scripts: {
47
44
  build: "bun ../../tools/build-tool.ts",
45
+ typecheck: "tsc --noEmit",
48
46
  package: "bun run build && bun pm pack",
49
47
  test: "vitest run",
50
48
  "test:coverage": "vitest run --coverage",
@@ -1068,7 +1066,7 @@ async function resolveInline(options) {
1068
1066
  folderKey = options.folderKey;
1069
1067
  folderLabel = folderKey;
1070
1068
  } else {
1071
- const { createApiClient, PersonalWorkspacesApi } = await import("./index-wm83gmqp.js");
1069
+ const { createApiClient, PersonalWorkspacesApi } = await import("./index-4vph9vqn.js");
1072
1070
  const [wsApiErr, wsApi] = await catchError(createApiClient(PersonalWorkspacesApi, {
1073
1071
  tenant: options.tenant
1074
1072
  }));
@@ -1619,16 +1617,16 @@ function registerEvalCommand(program) {
1619
1617
  }
1620
1618
 
1621
1619
  // src/tool.ts
1622
- var metadata = {
1620
+ var metadata2 = {
1623
1621
  name: "eval-tool",
1624
1622
  version: package_default.version,
1625
1623
  description: "Run runtime evaluations, manage evaluators, eval sets, evaluations, and schedules.",
1626
1624
  commandPrefix: "eval"
1627
1625
  };
1628
- var registerCommands = async (program) => {
1626
+ var registerCommands2 = async (program) => {
1629
1627
  registerEvalCommand(program);
1630
1628
  };
1631
1629
 
1632
- export { metadata, registerCommands };
1630
+ export { metadata2, registerCommands2 };
1633
1631
 
1634
- //# debugId=C5BCC55FE5E6B8E264756E2164756E21
1632
+ //# debugId=E6B0B41A3AB6D7E964756E2164756E21