@uipath/agent-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.
Files changed (62) hide show
  1. package/README.md +51 -0
  2. package/dist/THIRD-PARTY-NOTICES.md +5 -5
  3. package/dist/agent-tool-OK5DK57D-bjevqt47.js +10 -0
  4. package/dist/{de-MUJPA4EB-209jpeqe.js → de-AI7ML6JM-km47f8k4.js} +47 -5
  5. package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
  6. package/dist/en-LAVDF7IQ-xe939kq1.js +254 -0
  7. package/dist/{es-MX-2MYFZU7X-6v0q5rbn.js → es-MX-7KJZPEQN-1fq0a9jr.js} +47 -5
  8. package/dist/{es-7SE7HX2X-qda7whn6.js → es-SPNKTD5Y-vw5cbgv5.js} +47 -5
  9. package/dist/executor-tool.js +8 -10
  10. package/dist/first-party-service-ahcc6xc6.js +8 -0
  11. package/dist/{fr-MDFKNZ4C-qmypp92m.js → fr-AXJGUT53-hdg3pmd4.js} +47 -5
  12. package/dist/index-20nm3a1t.js +36 -0
  13. package/dist/{index-ar269vgy.js → index-js1wb4x0.js} +223 -199
  14. package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
  15. package/dist/index-ybw87d41.js +21 -0
  16. package/dist/index-z2qk2qn6.js +24 -0
  17. package/dist/index.js +15 -19
  18. package/dist/{ja-UTQEAP34-hvyf683h.js → ja-C7GZV6YP-hvtbngr5.js} +47 -5
  19. package/dist/{jmespath-e4a59c8w.js → jmespath-ab6tdc42.js} +1 -1
  20. package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
  21. package/dist/{ko-AXCHW2OK-pkwdcbmx.js → ko-Q24HSSL4-5vn55pte.js} +47 -5
  22. package/dist/{memory-runtime-service-h9wdsd31.js → memory-runtime-service-h5bqa30b.js} +16 -27
  23. package/dist/{packager-tool-je2re4j6.js → packager-tool-0ajs8pnk.js} +53 -8
  24. package/dist/packager-tool-1593sna4.js +1434 -0
  25. package/dist/{packager-tool-3hmm8f9s.js → packager-tool-1cn7vbjr.js} +49 -60
  26. package/dist/{packager-tool-fza8z686.js → packager-tool-21r3phhc.js} +984 -467
  27. package/dist/{packager-tool-jd8cfevc.js → packager-tool-4j09ztk2.js} +10 -40
  28. package/dist/{packager-tool-22e4nhzm.js → packager-tool-4shqngrj.js} +2 -2
  29. package/dist/packager-tool-bh92xy8d.js +17988 -0
  30. package/dist/{packager-tool-16007tbr.js → packager-tool-d1tw3gdx.js} +1533 -726
  31. package/dist/{packager-tool-1yh8g550.js → packager-tool-epsr41wx.js} +8 -12
  32. package/dist/packager-tool-fc08rcbk.js +253 -0
  33. package/dist/{packager-tool-xbzpm6s2.js → packager-tool-kawtadzm.js} +44 -38
  34. package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
  35. package/dist/{packager-tool-vwsq85y7.js → packager-tool-qr8dtv3r.js} +35 -18
  36. package/dist/{packager-tool-7sbsrgd5.js → packager-tool-qvsazy59.js} +6 -7
  37. package/dist/{packager-tool-b098y4a2.js → packager-tool-wbksf242.js} +97 -97
  38. package/dist/packager-tool-z6a5nr2d.js +2342 -0
  39. package/dist/packager-tool.js +5 -9
  40. package/dist/{pt-BR-Y6K6XHXK-37a932vp.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +47 -5
  41. package/dist/{pt-3DIO5QWG-hb763vct.js → pt-MHX6JGAX-xfgvdqwg.js} +47 -5
  42. package/dist/{ro-BWR3ONRR-jmap5ajd.js → ro-3RKJNGJZ-xqj14e3d.js} +47 -5
  43. package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
  44. package/dist/solution-auth-wmeqt2hh.js +10 -0
  45. package/dist/tool.js +14 -18
  46. package/dist/{tr-5IIHSFW5-stsb3dar.js → tr-PQLUUHPC-qsb7btxn.js} +47 -5
  47. package/dist/{zh-CN-R2KU4U5L-q4yhc33t.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +47 -5
  48. package/dist/{zh-TW-GNKMELBF-r4ay2475.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +47 -5
  49. package/package.json +2 -2
  50. package/dist/agent-tool-OK5DK57D-1654w938.js +0 -12
  51. package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
  52. package/dist/first-party-service-srxaftkn.js +0 -27
  53. package/dist/index-8bp6b26w.js +0 -666
  54. package/dist/index-aa5b4rsq.js +0 -3174
  55. package/dist/index-kmp9fmhb.js +0 -25
  56. package/dist/packager-tool-4mna26cc.js +0 -133
  57. package/dist/packager-tool-53w8skv5.js +0 -262
  58. package/dist/packager-tool-607v4t05.js +0 -22083
  59. package/dist/packager-tool-c23zrhj8.js +0 -11
  60. package/dist/packager-tool-ceh8aqcd.js +0 -5365
  61. package/dist/packager-tool-emspfs60.js +0 -31133
  62. package/dist/solution-auth-h0yjcbsy.js +0 -11
@@ -3,7 +3,7 @@ import {
3
3
  logger,
4
4
  quoteForShell,
5
5
  unsupportedSolutionProjectType
6
- } from "./packager-tool-fza8z686.js";
6
+ } from "./packager-tool-21r3phhc.js";
7
7
 
8
8
  // ../solution-sdk/src/solution-file.ts
9
9
  var STUDIO_WEB_PROJECT_TYPE_OVERRIDES = {
@@ -96,7 +96,7 @@ async function autoScaffoldSolution(fs, baseDir, projectName) {
96
96
  SolutionFile: solutionFile
97
97
  };
98
98
  }
99
- async function prepareProjectLocation(fs, candidateProjectDir, projectName, options = {}) {
99
+ async function prepareProjectLocation2(fs, candidateProjectDir, projectName, options = {}) {
100
100
  const resolved = fs.path.resolve(candidateProjectDir);
101
101
  if (options.skipRegistration) {
102
102
  return { projectDir: resolved };
@@ -122,14 +122,7 @@ async function warnIfCandidateDirShadowed(fs, candidateDir, projectDir) {
122
122
  }
123
123
  logger.warn(`An existing directory "${candidateDir}" was left untouched. ` + `The project was created inside the auto-created solution at "${projectDir}". ` + "Run init from inside an existing solution, or pass --skip-solution-registration, if you meant to use the existing directory.");
124
124
  }
125
- function resolveSolutionDir(fs, inputPath) {
126
- const resolved = fs.path.resolve(inputPath);
127
- if (resolved.endsWith(".uipx")) {
128
- return fs.path.dirname(resolved);
129
- }
130
- return resolved;
131
- }
132
- async function updateUipxSolutionId(fs, uipxPath, newSolutionId) {
125
+ async function updateUipxSolutionId2(fs, uipxPath, newSolutionId) {
133
126
  const [readError, content] = await catchError(fs.readFile(uipxPath, "utf-8"));
134
127
  if (readError || !content) {
135
128
  logger.error(`Could not read .uipx file for update: ${readError?.message ?? "empty file"}`);
@@ -148,7 +141,7 @@ async function updateUipxSolutionId(fs, uipxPath, newSolutionId) {
148
141
  logger.info(`Updated .uipx with Studio Web SolutionId: ${newSolutionId}`);
149
142
  }
150
143
  }
151
- async function findSolutionFile(fs, projectPath) {
144
+ async function findSolutionFile2(fs, projectPath) {
152
145
  const parentDir = fs.path.resolve(projectPath, "..");
153
146
  const [dirError, entries] = await catchError(fs.readdir(parentDir));
154
147
  if (dirError) {
@@ -183,7 +176,7 @@ async function findSolutionFile(fs, projectPath) {
183
176
  projectId: projectId ?? crypto.randomUUID()
184
177
  };
185
178
  }
186
- async function updateSolutionFile(fs, projectPath, newSolutionId) {
179
+ async function updateSolutionFile2(fs, projectPath, newSolutionId) {
187
180
  const parentDir = fs.path.resolve(projectPath, "..");
188
181
  const [dirError, entries] = await catchError(fs.readdir(parentDir));
189
182
  if (dirError)
@@ -192,9 +185,9 @@ async function updateSolutionFile(fs, projectPath, newSolutionId) {
192
185
  if (!uipxFile)
193
186
  return;
194
187
  const uipxPath = fs.path.join(parentDir, uipxFile);
195
- await updateUipxSolutionId(fs, uipxPath, newSolutionId);
188
+ await updateUipxSolutionId2(fs, uipxPath, newSolutionId);
196
189
  }
197
- async function tryRegisterProjectInParentSolution(fs, projectDir, options) {
190
+ async function tryRegisterProjectInParentSolution2(fs, projectDir, options) {
198
191
  if (options?.skipRegistration) {
199
192
  return {
200
193
  Status: "OptedOut",
@@ -494,30 +487,7 @@ function buildOptedOutInstructions(projectDir) {
494
487
  ].join(`
495
488
  `);
496
489
  }
497
- async function isProjectRegisteredInSolution(fs, projectDir, solutionFile) {
498
- const [readErr, manifest] = await readSolutionManifest(fs, solutionFile);
499
- if (readErr) {
500
- throw readErr;
501
- }
502
- if (!manifest) {
503
- throw new Error(`Unable to read solution manifest: ${solutionFile}`);
504
- }
505
- const solutionDir = fs.path.dirname(solutionFile);
506
- const projectDirReal = await canonicalizePath(fs, projectDir);
507
- for (const project of manifest.projects) {
508
- const candidateDir = fs.path.resolve(solutionDir, fs.path.dirname(toPortableRelativePath(project.ProjectRelativePath)));
509
- const candidateReal = await canonicalizePath(fs, candidateDir);
510
- if (candidateReal === projectDirReal) {
511
- return true;
512
- }
513
- }
514
- return false;
515
- }
516
- async function canonicalizePath(fs, p) {
517
- const [err, real] = await catchError(fs.realpath(p));
518
- return err || !real ? p : real;
519
- }
520
- async function findSolutionFileUpward(fs, startDir) {
490
+ async function findSolutionFileUpward2(fs, startDir) {
521
491
  let dir = startDir;
522
492
  while (true) {
523
493
  const entries = await fs.readdir(dir);
@@ -536,6 +506,6 @@ async function findSolutionFileUpward(fs, startDir) {
536
506
  }
537
507
  }
538
508
 
539
- export { normalizeProjectType, toPortableRelativePath, readUipxFile, createSolutionManifest, autoScaffoldSolution, prepareProjectLocation, resolveSolutionDir, updateUipxSolutionId, findSolutionFile, updateSolutionFile, tryRegisterProjectInParentSolution, findNearestParentUipxFile, readSolutionManifest, isProjectRegisteredInSolution, findSolutionFileUpward };
509
+ export { normalizeProjectType, toPortableRelativePath, readUipxFile, prepareProjectLocation2, updateUipxSolutionId2, findSolutionFile2, updateSolutionFile2, tryRegisterProjectInParentSolution2, findSolutionFileUpward2 };
540
510
 
541
- //# debugId=DDAB1B523F5F442564756E2164756E21
511
+ //# debugId=A7FFF6E6EF1B5CB164756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  zipSync
3
- } from "./packager-tool-b098y4a2.js";
3
+ } from "./packager-tool-wbksf242.js";
4
4
 
5
5
  // ../packager/packager-core/src/filesystem/path.ts
6
6
  class Path {
@@ -1173,4 +1173,4 @@ I18nManager.registerTranslations("zu", zu);
1173
1173
  I18nManager.setLocale("en");
1174
1174
  export { Path, TemporaryStorageService, NugetConstants, ToolResult, NugetPackager, ProjectTool, toolsFactoryRepository };
1175
1175
 
1176
- //# debugId=964BCF56E9AD260E64756E2164756E21
1176
+ //# debugId=37731CA99FA9256364756E2164756E21