@uipath/agent-tool 1.204.0-preview.255 → 1.205.0-preview.256

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.
@@ -311,7 +311,7 @@ import {
311
311
  searchPackageVersions,
312
312
  solutionExistsOnStudioWeb,
313
313
  uploadOrOverwriteSolution
314
- } from "./packager-tool-e9c9f8zx.js";
314
+ } from "./packager-tool-mrrc7jr3.js";
315
315
  import {
316
316
  autoScaffoldSolution,
317
317
  createSolutionManifest,
@@ -328,8 +328,9 @@ import {
328
328
  tryRegisterProjectInParentSolution,
329
329
  updateSolutionFile,
330
330
  updateUipxSolutionId
331
- } from "./packager-tool-z8ryp7pb.js";
332
- import"./packager-tool-2tf3hrem.js";
331
+ } from "./packager-tool-jd8cfevc.js";
332
+ import"./packager-tool-fza8z686.js";
333
+ import"./packager-tool-je2re4j6.js";
333
334
  import"./packager-tool-b098y4a2.js";
334
335
  import"./packager-tool-1yh8g550.js";
335
336
  export {
@@ -662,4 +663,4 @@ export {
662
663
  uploadOrOverwriteSolution
663
664
  };
664
665
 
665
- //# debugId=BDF7CF0D85DC333164756E2164756E21
666
+ //# debugId=4B93FDA3EAEFA1D764756E2164756E21
package/dist/index.js CHANGED
@@ -2,17 +2,18 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-vyry6fha.js";
5
+ } from "./packager-tool-1zdqafyj.js";
6
6
  import"./packager-tool-4mna26cc.js";
7
7
  import"./packager-tool-c23zrhj8.js";
8
- import"./packager-tool-n95spghc.js";
9
- import"./packager-tool-e9c9f8zx.js";
10
- import"./packager-tool-z8ryp7pb.js";
11
- import"./packager-tool-xxd71jja.js";
12
- import"./packager-tool-h4ymyb9t.js";
8
+ import"./packager-tool-sda9pzxz.js";
9
+ import"./packager-tool-mrrc7jr3.js";
10
+ import"./packager-tool-jd8cfevc.js";
11
+ import"./packager-tool-607v4t05.js";
12
+ import"./packager-tool-vwsq85y7.js";
13
13
  import {
14
14
  Command
15
- } from "./packager-tool-2tf3hrem.js";
15
+ } from "./packager-tool-fza8z686.js";
16
+ import"./packager-tool-je2re4j6.js";
16
17
  import"./packager-tool-thr9mncj.js";
17
18
  import"./packager-tool-b098y4a2.js";
18
19
  import"./packager-tool-1yh8g550.js";
@@ -23,4 +24,4 @@ program.name(metadata.commandPrefix).description(metadata.description).version(m
23
24
  await registerCommands(program);
24
25
  await program.parseAsync(process.argv);
25
26
 
26
- //# debugId=829F3B3A086F0A5D64756E2164756E21
27
+ //# debugId=36093355EFD0A42564756E2164756E21
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  getLoginStatusAsync
3
- } from "./packager-tool-h4ymyb9t.js";
3
+ } from "./packager-tool-vwsq85y7.js";
4
4
  import {
5
5
  catchError
6
- } from "./packager-tool-2tf3hrem.js";
6
+ } from "./packager-tool-fza8z686.js";
7
+ import"./packager-tool-je2re4j6.js";
7
8
  import {
8
9
  __require
9
10
  } from "./packager-tool-1yh8g550.js";
@@ -76,7 +77,7 @@ async function readJson(response, context) {
76
77
  return parsed;
77
78
  }
78
79
  async function resolveRuntimeFolder(input) {
79
- const { resolveFolder } = await import("./index-26qyqxha.js");
80
+ const { resolveFolder } = await import("./index-aa5b4rsq.js");
80
81
  const [resolveError, folder] = await catchError(resolveFolder(input));
81
82
  if (resolveError) {
82
83
  if (input.folderPath !== undefined && input.folderKey === undefined && resolveError.message.startsWith("Folder not found")) {
@@ -135,4 +136,4 @@ export {
135
136
  resolveRuntimeFolder
136
137
  };
137
138
 
138
- //# debugId=EE21839693C3EC8F64756E2164756E21
139
+ //# debugId=FC865CFAF864B89564756E2164756E21
@@ -15,25 +15,25 @@ import {
15
15
  prepareAttachmentInputs,
16
16
  resolveStudioWebConfig,
17
17
  toAttachmentSummaries
18
- } from "./packager-tool-n95spghc.js";
18
+ } from "./packager-tool-sda9pzxz.js";
19
19
  import {
20
20
  StudioWebIncompatibleProjectError,
21
21
  UipignoreExcludesProjectError,
22
22
  buildSolutionUploadFailureOutput,
23
23
  isSolutionUploadHttpError
24
- } from "./packager-tool-e9c9f8zx.js";
24
+ } from "./packager-tool-mrrc7jr3.js";
25
25
  import {
26
26
  prepareProjectLocation,
27
27
  tryRegisterProjectInParentSolution
28
- } from "./packager-tool-z8ryp7pb.js";
28
+ } from "./packager-tool-jd8cfevc.js";
29
29
  import {
30
30
  JobAttachmentUploadError
31
- } from "./packager-tool-xxd71jja.js";
31
+ } from "./packager-tool-607v4t05.js";
32
32
  import {
33
33
  getAuthContext,
34
34
  getLoginStatusAsync,
35
35
  parseJWT
36
- } from "./packager-tool-h4ymyb9t.js";
36
+ } from "./packager-tool-vwsq85y7.js";
37
37
  import {
38
38
  ATTACHMENT_UPLOAD_INSTRUCTIONS,
39
39
  OutputFormatter,
@@ -44,13 +44,15 @@ import {
44
44
  extractErrorDetails,
45
45
  extractErrorMessage,
46
46
  extractErrorMessageSync,
47
- getFileSystem,
48
47
  getSdkUserAgentToken,
49
48
  installSdkUserAgentHeader,
50
49
  logger,
51
50
  parseBoundedInt,
52
51
  processContext
53
- } from "./packager-tool-2tf3hrem.js";
52
+ } from "./packager-tool-fza8z686.js";
53
+ import {
54
+ getFileSystem
55
+ } from "./packager-tool-je2re4j6.js";
54
56
  import {
55
57
  currentAgentStorageSchema,
56
58
  currentEvaluationSetStorageSchema,
@@ -7010,7 +7012,7 @@ var package_default = {
7010
7012
  name: "@uipath/agent-tool",
7011
7013
  author: "UiPath",
7012
7014
  license: "SEE LICENSE IN LICENSE.txt",
7013
- version: "1.204.0-preview.255",
7015
+ version: "1.205.0-preview.256",
7014
7016
  description: "cli plugin for creating and managing UiPath low-code agents",
7015
7017
  private: false,
7016
7018
  repository: {
@@ -7175,7 +7177,7 @@ var registerDebugCommand = (program) => {
7175
7177
  Result: RESULTS.Failure,
7176
7178
  ErrorCode: details.errorCode,
7177
7179
  Message: error.message,
7178
- Instructions: `${ATTACHMENT_UPLOAD_INSTRUCTIONS}${scopeHint} The solution was uploaded to Studio Web and no debug job was started. Attachments this run had already uploaded were deleted where possible; any that could not be removed are named in Message or in the log (UIP_LOG_LEVEL=warn).`,
7180
+ Instructions: `${ATTACHMENT_UPLOAD_INSTRUCTIONS}${scopeHint} The solution was uploaded to Studio Web and no debug job was started. Attachments this run had already uploaded are left on the tenant for Orchestrator's retention to reclaim; their IDs are named in Message or in the log (UIP_LOG_LEVEL=warn).`,
7179
7181
  Retry: details.retry,
7180
7182
  ...details.context ? { Context: details.context } : {}
7181
7183
  });
@@ -7538,7 +7540,7 @@ var package_default2 = {
7538
7540
  name: "@uipath/agent-sdk",
7539
7541
  author: "UiPath",
7540
7542
  license: "SEE LICENSE IN LICENSE.txt",
7541
- version: "1.204.0-preview.255",
7543
+ version: "1.205.0-preview.256",
7542
7544
  description: "SDK for the UiPath Agent Runtime API — evaluation execution and debug sessions.",
7543
7545
  repository: {
7544
7546
  type: "git",
@@ -9546,7 +9548,7 @@ var registerEvalRunCommands = (evalCmd) => {
9546
9548
  processContext.exit(1);
9547
9549
  }
9548
9550
  });
9549
- runCmd.command("status").description("Check the status of an evaluation run").argument("<evalSetRunId>", "Evaluation set run ID").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", "Path to agent project directory", ".").examples(EVAL_RUN_STATUS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
9551
+ runCmd.command("status").description("Check the status of an evaluation run").argument("<eval-set-run-id>", "Evaluation set run ID").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", "Path to agent project directory", ".").examples(EVAL_RUN_STATUS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
9550
9552
  const [error] = await catchError((async () => {
9551
9553
  const api = await createApiClient(EvalsTenantExecutionApi);
9552
9554
  const projectService = new AgentProjectService;
@@ -9590,7 +9592,7 @@ var registerEvalRunCommands = (evalCmd) => {
9590
9592
  processContext.exit(1);
9591
9593
  }
9592
9594
  });
9593
- runCmd.command("results").description("Get detailed results for an evaluation run").argument("<evalSetRunId>", "Evaluation set run ID").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", "Path to agent project directory", ".").option("--only-failed", "Show only failed or errored test cases").option("--verbose", "Include evaluator justifications in output").option("--export-format <json|csv>", "Export results to file (json or csv)").examples(EVAL_RUN_RESULTS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
9595
+ runCmd.command("results").description("Get detailed results for an evaluation run").argument("<eval-set-run-id>", "Evaluation set run ID").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", "Path to agent project directory", ".").option("--only-failed", "Show only failed or errored test cases").option("--verbose", "Include evaluator justifications in output").option("--export-format <json|csv>", "Export results to file (json or csv)").examples(EVAL_RUN_RESULTS_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
9594
9596
  const [error] = await catchError((async () => {
9595
9597
  const api = await createApiClient(EvalsTenantExecutionApi);
9596
9598
  const projectService = new AgentProjectService;
@@ -9734,7 +9736,7 @@ var registerEvalRunCommands = (evalCmd) => {
9734
9736
  processContext.exit(1);
9735
9737
  }
9736
9738
  });
9737
- runCmd.command("compare").description("Compare results of two evaluation runs side by side").argument("<evalSetRunId>", "First evaluation set run ID").requiredOption("--compare-to <id>", "Second evaluation set run ID to compare against").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", "Path to agent project directory", ".").examples(EVAL_RUN_COMPARE_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
9739
+ runCmd.command("compare").description("Compare results of two evaluation runs side by side").argument("<eval-set-run-id>", "First evaluation set run ID").requiredOption("--compare-to <id>", "Second evaluation set run ID to compare against").requiredOption("--set <name>", "Evaluation set name or ID").option("--path <path>", "Path to agent project directory", ".").examples(EVAL_RUN_COMPARE_EXAMPLES).trackedAction(processContext, async (evalSetRunId, options) => {
9738
9740
  const [error] = await catchError((async () => {
9739
9741
  const api = await createApiClient(EvalsTenantExecutionApi);
9740
9742
  const projectService = new AgentProjectService;
@@ -10696,7 +10698,7 @@ var registerGuardrailCommands = (program) => {
10696
10698
 
10697
10699
  // src/services/project-artifacts.ts
10698
10700
  async function ensureProjectArtifacts(args) {
10699
- const { addProjectArtifactsToSolutionAsync } = await import("./index-6dvnvfjv.js");
10701
+ const { addProjectArtifactsToSolutionAsync } = await import("./index-ar269vgy.js");
10700
10702
  return addProjectArtifactsToSolutionAsync(args);
10701
10703
  }
10702
10704
 
@@ -11197,7 +11199,7 @@ var SOLUTION_FOLDER = "solution_folder";
11197
11199
  // src/services/memory-space-solution-link.ts
11198
11200
  async function findEnclosingSolutionFile(projectPath) {
11199
11201
  const fs = getFileSystem();
11200
- const { findSolutionFileUpward } = await import("./index-wpcscws8.js");
11202
+ const { findSolutionFileUpward } = await import("./index-f9rnt0r4.js");
11201
11203
  const [error, solutionFile] = await catchError(findSolutionFileUpward(fs, fs.path.resolve(projectPath)));
11202
11204
  if (error) {
11203
11205
  if (error.message.startsWith("No .uipx solution file found")) {
@@ -11247,7 +11249,7 @@ async function activeTenantId() {
11247
11249
  return status.tenantId ?? undefined;
11248
11250
  }
11249
11251
  async function openSolution(solutionDir) {
11250
- const engine = await import("./index-6dvnvfjv.js");
11252
+ const engine = await import("./index-ar269vgy.js");
11251
11253
  const services = await engine.createResourceBuilderServices();
11252
11254
  await engine.normalizeResourceFileCasing(solutionDir);
11253
11255
  const builder = await services.getSolutionBuilder(solutionDir);
@@ -11757,7 +11759,7 @@ async function resolveRuntimeTarget(memoryName, options) {
11757
11759
  if (options.folderKey === undefined && folderPath.toLowerCase() === SOLUTION_FOLDER) {
11758
11760
  throw new Error(`Feature "${feature.name}" points at ${SOLUTION_FOLDER}, the placeholder the deploy replaces with the deployment folder. Pass --folder-path <deployed folder path> or --folder-key <key> for the folder the solution is deployed to ('uip solution deploy list' shows it).`);
11759
11761
  }
11760
- const { findRuntimeMemorySpace, resolveRuntimeFolder } = await import("./memory-runtime-service-x1ndz84n.js");
11762
+ const { findRuntimeMemorySpace, resolveRuntimeFolder } = await import("./memory-runtime-service-h9wdsd31.js");
11761
11763
  const folder = await resolveRuntimeFolder(options.folderKey !== undefined ? { folderKey: options.folderKey } : { folderPath });
11762
11764
  if (folder === undefined) {
11763
11765
  throw new Error("Memory items are not available in this build; use the uip CLI.");
@@ -11898,7 +11900,7 @@ var registerMemoryCommands = (program) => {
11898
11900
  const memoryType = parseMemoryType(options.memoryType);
11899
11901
  const request = buildItemRequest(memoryType, options);
11900
11902
  const target = await resolveRuntimeTarget(memoryName, options);
11901
- const { addRuntimeMemoryItem } = await import("./memory-runtime-service-x1ndz84n.js");
11903
+ const { addRuntimeMemoryItem } = await import("./memory-runtime-service-h9wdsd31.js");
11902
11904
  const item = await addRuntimeMemoryItem(target.space.id, target.folder.key, request);
11903
11905
  OutputFormatter.success({
11904
11906
  Result: RESULTS.Success,
@@ -11931,7 +11933,7 @@ var registerMemoryCommands = (program) => {
11931
11933
  const [error] = await catchError((async () => {
11932
11934
  const memoryType = options.memoryType === undefined ? undefined : parseMemoryType(options.memoryType);
11933
11935
  const target = await resolveRuntimeTarget(memoryName, options);
11934
- const { listRuntimeMemoryItems } = await import("./memory-runtime-service-x1ndz84n.js");
11936
+ const { listRuntimeMemoryItems } = await import("./memory-runtime-service-h9wdsd31.js");
11935
11937
  const items = await listRuntimeMemoryItems(target.space.id, target.folder.key, memoryType);
11936
11938
  OutputFormatter.success({
11937
11939
  Result: RESULTS.Success,
@@ -31386,7 +31388,7 @@ var package_default3 = {
31386
31388
  name: "@uipath/integrationservice-sdk",
31387
31389
  author: "UiPath",
31388
31390
  license: "SEE LICENSE IN LICENSE.txt",
31389
- version: "1.204.0-preview.255",
31391
+ version: "1.205.0-preview.256",
31390
31392
  repository: {
31391
31393
  type: "git",
31392
31394
  url: "https://github.com/UiPath/cli.git",
@@ -31422,12 +31424,13 @@ var package_default3 = {
31422
31424
  devDependencies: {
31423
31425
  "@uipath/auth": "workspace:*",
31424
31426
  "@uipath/common": "workspace:*",
31427
+ "@uipath/solution-sdk": "workspace:*",
31425
31428
  "@openapitools/openapi-generator-cli": "^2.31.1",
31426
31429
  "@types/node": "^25.5.2",
31427
31430
  typescript: "^7.0.2"
31428
31431
  },
31429
31432
  dependencies: {
31430
- "@uipath/integration-service-design-time": "1.41.2"
31433
+ "@uipath/integration-service-design-time": "2.10.0"
31431
31434
  }
31432
31435
  };
31433
31436
 
@@ -41679,4 +41682,4 @@ var registerCommands = async (program) => {
41679
41682
 
41680
41683
  export { metadata, registerCommands };
41681
41684
 
41682
- //# debugId=868B0B5D4D40639D64756E2164756E21
41685
+ //# debugId=E94A657BD5955A9D64756E2164756E21