@uipath/flow-tool 1.201.0-preview.115 → 1.201.0-preview.121

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 (119) hide show
  1. package/dist/{authoring-vbbqwp0v.js → authoring-rezk32bm.js} +64 -20
  2. package/dist/{conversion-MQ7TJMHW-5zbdb6y2.js → conversion-W6HMHBWW-jnk9z7rw.js} +42 -34
  3. package/dist/{de-JT3SUGT4-msgpbdge.js → de-B2KIY5TC-81f703v3.js} +14 -5
  4. package/dist/{de-3RMZHIP6-1na18a74.js → de-K6MLR24N-00fjz82b.js} +474 -51
  5. package/dist/{de-3RMZHIP6-QW5DEMLQ-fw64syvn.js → de-K6MLR24N-5N5XGLH6-gbwpvdz4.js} +476 -53
  6. package/dist/{de-LVBY3VVG-tc58p3x6.js → de-WMKOGI7B-r1821wpe.js} +16 -7
  7. package/dist/de-XLT4QPIP-0rtw349w.js +32 -0
  8. package/dist/{en-JGJNQYMG-BSN3EE6C-mhg57v8h.js → en-ILA4HPE5-ALHGESZE-zrv4qss8.js} +267 -7
  9. package/dist/{en-JGJNQYMG-xq29xvhk.js → en-ILA4HPE5-fhwvq92r.js} +264 -4
  10. package/dist/{en-H54NJOH6-30ht8n64.js → en-P6PNWNTO-g1f6cjh5.js} +10 -4
  11. package/dist/{en-4UFXRW7N-mqabr9tf.js → en-X4DLPKLJ-dt1wtdm7.js} +17 -5
  12. package/dist/{es-GJOELELT-w1d3agm2.js → es-BBX4AUJX-h99fcr53.js} +14 -5
  13. package/dist/{es-CI4AE5B5-55sgqk64.js → es-BVPGJUWA-9gk2g9yb.js} +16 -7
  14. package/dist/{es-EYHYM5C4-RMLHZ2LF-s0fc3pd6.js → es-HTQSD352-YTAEDCE5-nhsbg581.js} +470 -47
  15. package/dist/{es-EYHYM5C4-3bajghda.js → es-HTQSD352-m9rr3f0g.js} +468 -45
  16. package/dist/{es-MX-AMZIGU27-5pembt6k.js → es-MX-3SP2SSV6-f20qspbr.js} +14 -5
  17. package/dist/{es-MX-QSQP2KWV-qvgkwvz2.js → es-MX-FOX525CG-87g500gr.js} +474 -51
  18. package/dist/{es-MX-QSQP2KWV-XR5DWKNF-kp7pk2s4.js → es-MX-FOX525CG-HLM27OEL-whr0t9v3.js} +476 -53
  19. package/dist/es-MX-OKNDG2NH-c1k1s1tg.js +32 -0
  20. package/dist/{es-MX-OLZNAYY5-30cmv1dx.js → es-MX-U6YL5KQX-ynwxdjr8.js} +16 -7
  21. package/dist/es-NQICVYSQ-aa9z3nhs.js +32 -0
  22. package/dist/{fr-FXFJQRD3-F5HV2VS7-pwdze89j.js → fr-54THJ4QH-IGABNGU6-fpzw2mba.js} +475 -52
  23. package/dist/{fr-FXFJQRD3-rfztd3e5.js → fr-54THJ4QH-d6ezjbhw.js} +473 -50
  24. package/dist/{fr-CCN6ZO5E-x2akzsjt.js → fr-EKTTDR7Z-bmpwp31r.js} +16 -7
  25. package/dist/{fr-LYFYWWCC-nn4reak0.js → fr-FSTBVVGK-t3y57xrb.js} +14 -5
  26. package/dist/fr-PFHIL7YZ-cxnshwa8.js +32 -0
  27. package/dist/index-6hp3p3eq.js +16489 -0
  28. package/dist/{index-w23k88b5.js → index-p50kx6jv.js} +202 -64
  29. package/dist/{index-hzp6y5m7.js → index-q59ephfh.js} +57 -3
  30. package/dist/index.js +19 -16
  31. package/dist/init.js +14 -11
  32. package/dist/{ja-IRXXIG6Q-b3att2bw.js → ja-FW33BJBW-htfk4d8t.js} +14 -5
  33. package/dist/{ja-G7NJYQ42-ve4gadd7.js → ja-MHUPLSWO-3qwy4jc0.js} +470 -47
  34. package/dist/{ja-G7NJYQ42-X76DVL7A-9p8b5115.js → ja-MHUPLSWO-CS3KE4Y3-mbtkzwd7.js} +472 -49
  35. package/dist/ja-P4OSE367-8ywxep9a.js +32 -0
  36. package/dist/{ja-O2NEV5D6-nt9rhd8c.js → ja-Y2YBTXNN-96cvy5av.js} +16 -7
  37. package/dist/{ko-M32WKZ3I-5td5jsw7.js → ko-PDO5AXNW-d653t4pc.js} +14 -5
  38. package/dist/ko-PYOS2KJP-5sbj5bp8.js +32 -0
  39. package/dist/{ko-7XWV2SEQ-chk3y7aj.js → ko-S33XAV26-cxf4dn2t.js} +16 -7
  40. package/dist/{ko-QDHECDTM-6WJAKMQI-0fpd4dqj.js → ko-XPJTXIKK-DNSW4KYQ-956vp61f.js} +469 -46
  41. package/dist/{ko-QDHECDTM-zmbqs9pr.js → ko-XPJTXIKK-w1hs4px7.js} +467 -44
  42. package/dist/{node-6xp9wf15.js → node-f062h75p.js} +11 -5
  43. package/dist/{node-strategy-fwj45942.js → node-strategy-8gzp67xs.js} +4 -4
  44. package/dist/{packager-tool-kvgt1s4z.js → packager-tool-03knb0er.js} +287 -22
  45. package/dist/{packager-tool-9ae2gt84.js → packager-tool-1g6958de.js} +19 -8
  46. package/dist/{packager-tool-vz3b1ea9.js → packager-tool-1gt6js73.js} +7 -914
  47. package/dist/{packager-tool-973f0r2g.js → packager-tool-1yy9x4vk.js} +17 -5
  48. package/dist/{packager-tool-jqtspg41.js → packager-tool-3wf3tkrc.js} +11 -5
  49. package/dist/packager-tool-6a7wdv5z.js +36187 -0
  50. package/dist/{packager-tool-mtrz8981.js → packager-tool-9x76z587.js} +140 -239
  51. package/dist/packager-tool-b0s5d4ek.js +10671 -0
  52. package/dist/{packager-tool-htc0z863.js → packager-tool-cqrsre00.js} +282 -27
  53. package/dist/{packager-tool-q9zrqwxw.js → packager-tool-ef2aypt3.js} +3257 -2669
  54. package/dist/{packager-tool-h3gpqv5a.js → packager-tool-jeh5j2xy.js} +6939 -3736
  55. package/dist/packager-tool-jpcm3xas.js +12 -0
  56. package/dist/{packager-tool-3gmj73c5.js → packager-tool-neavt1k3.js} +1 -1
  57. package/dist/packager-tool-nkrmjr3a.js +915 -0
  58. package/dist/{packager-tool-p1ts5b0h.js → packager-tool-ny53xmsd.js} +129 -49
  59. package/dist/{packager-tool-fr5b9qs6.js → packager-tool-pvgqbm48.js} +3 -3
  60. package/dist/{packager-tool-9qhez6bh.js → packager-tool-qfp49pq4.js} +964 -526
  61. package/dist/packager-tool-v2p6g3fd.js +41 -0
  62. package/dist/{packager-tool-2vme4a8e.js → packager-tool-xa2xwzrq.js} +9864 -16886
  63. package/dist/packager-tool.js +9 -8
  64. package/dist/{pt-VXJT4WUJ-nwkc9k2p.js → pt-4JEPEAST-40npwxyw.js} +471 -48
  65. package/dist/{pt-VXJT4WUJ-M3IR7CL5-1f2ph8gm.js → pt-4JEPEAST-JO5WN33S-ccdbdab2.js} +473 -50
  66. package/dist/{pt-BR-Z4J3LEEO-cf33d2zv.js → pt-BR-JO45SCNI-4kbfnzc4.js} +16 -7
  67. package/dist/{pt-BR-57EHXZKB-8g83gr5g.js → pt-BR-LQH3RSBB-kyb4jmcw.js} +14 -5
  68. package/dist/{pt-BR-SADBLGXA-WG4Q265J-w9tshygt.js → pt-BR-TV7NR3ID-PDSSHRHU-nddwzj29.js} +472 -49
  69. package/dist/{pt-BR-SADBLGXA-yd89fdy2.js → pt-BR-TV7NR3ID-vgd26pj1.js} +470 -47
  70. package/dist/pt-BR-Z3TUDJHM-n7ngej6s.js +32 -0
  71. package/dist/{pt-VNM2XWHA-62z625rh.js → pt-JLZYSSXX-7jth254x.js} +14 -5
  72. package/dist/pt-KSBWHAVQ-hd52bpsz.js +32 -0
  73. package/dist/{pt-CRSN3TCU-txxbbcxm.js → pt-W3NA4LIZ-f02gapvs.js} +16 -7
  74. package/dist/{ro-RISZ75LL-zwztp9j5.js → ro-E2EBPQGT-vn573vcr.js} +14 -5
  75. package/dist/{ro-7JHKFGCH-H3RYKSCL-4w49rx4m.js → ro-RKJ74FV3-QS3I6XKJ-kb31d85k.js} +475 -52
  76. package/dist/{ro-7JHKFGCH-hbtkeqdr.js → ro-RKJ74FV3-qn0ey39v.js} +473 -50
  77. package/dist/ro-VZUZTAMR-tccygznf.js +32 -0
  78. package/dist/{ro-WMQEVD7D-6mtq0e6b.js → ro-WLKX6HF5-fcbe2zz8.js} +16 -7
  79. package/dist/ru-GSCT4ARZ-3TVTUGWP-bbg6360z.js +15 -0
  80. package/dist/{serialization-JNQMGOXW-mj06e5pv.js → serialization-GTFWODSH-ajd6b7n2.js} +10 -8
  81. package/dist/services/flow-validate-service.d.ts +108 -0
  82. package/dist/services/node-service.d.ts +46 -0
  83. package/dist/services/node-validators/ceql-query-validator.d.ts +36 -10
  84. package/dist/services/node-validators/expression-prefix-validator.d.ts +3 -2
  85. package/dist/services/node-validators/index.d.ts +2 -1
  86. package/dist/services/project-artifacts.d.ts +14 -1
  87. package/dist/tool.js +17 -14
  88. package/dist/{tr-UCMB7W3T-xmxp2naq.js → tr-3U2W2XCA-zg3zcmq3.js} +15 -6
  89. package/dist/tr-W4AVRSQ4-bt3qqqdy.js +32 -0
  90. package/dist/{tr-Q6IHBFK7-BEUWO5CI-29rgfwjy.js → tr-X7R6GQNB-VMEZAWRJ-vdbjqw23.js} +484 -61
  91. package/dist/{tr-Q6IHBFK7-zs9rsm1b.js → tr-X7R6GQNB-shwv16dz.js} +482 -59
  92. package/dist/{tr-AUPQF34V-y3dhtj0w.js → tr-ZUUSMHER-pfn5dq1r.js} +14 -5
  93. package/dist/validation.js +14 -11
  94. package/dist/zh-CN-6YRAN57T-j7jp34ws.js +32 -0
  95. package/dist/{zh-CN-3BPA3WIX-JDICNKGH-m87940q5.js → zh-CN-FEZ24J4A-LSEMG63K-db8kf6rm.js} +472 -49
  96. package/dist/{zh-CN-3BPA3WIX-c5ts2m5v.js → zh-CN-FEZ24J4A-q5b5x20w.js} +470 -47
  97. package/dist/{zh-CN-2QOHEFC5-ryjb2byk.js → zh-CN-IPZYQR3P-1h76csc4.js} +16 -7
  98. package/dist/{zh-CN-3INOX2E5-txhr8e18.js → zh-CN-YFKQ7HBX-w98q5zqf.js} +14 -5
  99. package/dist/{zh-TW-UI34YLZQ-j79rg6b7.js → zh-TW-CP5PCVEJ-wvbxf7c7.js} +14 -5
  100. package/dist/{zh-TW-QCJEQC5S-b1v637hd.js → zh-TW-GKSCT6NW-4n1yfre0.js} +464 -41
  101. package/dist/{zh-TW-QCJEQC5S-DQ3454QP-y8vvrebz.js → zh-TW-GKSCT6NW-JLMWTDAF-g2smq1gm.js} +466 -43
  102. package/dist/zh-TW-SO2245GN-m5kh88bg.js +32 -0
  103. package/dist/{zh-TW-Q5QSSTS6-6y7yjbbn.js → zh-TW-YPVSQVGT-wbybwpwt.js} +16 -7
  104. package/package.json +2 -2
  105. package/dist/de-CS2KUCZ6-j5a38g9p.js +0 -20
  106. package/dist/es-MX-3MRZG6V4-9z56akxp.js +0 -20
  107. package/dist/es-QBAGOKHO-b2azze22.js +0 -20
  108. package/dist/fr-HVOCQCNI-1zn75qzy.js +0 -20
  109. package/dist/ja-VYAZOLWC-nbagzgre.js +0 -20
  110. package/dist/ko-EZTVBPMZ-9qq2mrrz.js +0 -20
  111. package/dist/packager-tool-ahm4ymrp.js +0 -12
  112. package/dist/packager-tool-hcdc89cf.js +0 -14010
  113. package/dist/pt-3TKAWGMJ-58y42w7x.js +0 -20
  114. package/dist/pt-BR-ASMQE3WA-9wb74cqx.js +0 -20
  115. package/dist/ro-A65KBZGL-qnwqqezz.js +0 -20
  116. package/dist/ru-GSCT4ARZ-YSDBAAM2-ha88ztsj.js +0 -15
  117. package/dist/tr-Z7YHMEX6-daq3vjbh.js +0 -20
  118. package/dist/zh-CN-W7FK4GLU-vn3n8fcq.js +0 -20
  119. package/dist/zh-TW-PHOEUN3F-t56cjsgw.js +0 -20
@@ -2215,17 +2215,18 @@ var TLS_ERROR_CODES = new Set([
2215
2215
  ]);
2216
2216
  var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
2217
2217
  var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
2218
+ var LOCAL_PERMISSION_ERROR_CODES = new Set(["EACCES", "EPERM", "EROFS"]);
2219
+ var LOCAL_PERMISSION_MESSAGE_PATTERN = /\b(EACCES|EPERM|EROFS)\b/;
2220
+ function localPermissionInstructions(code, path) {
2221
+ const target = path !== undefined ? `'${path}'` : "a local file or resource";
2222
+ if (code === "EROFS") {
2223
+ return `The filesystem containing ${target} is read-only (EROFS), so the ` + "CLI could not write to it. This is a local environment problem, " + "not a UiPath service error — retrying will not help. Use a " + "writable location, or give this environment write access to the " + "path.";
2224
+ }
2225
+ const remedy = process.platform === "win32" ? "Re-run from an elevated terminal, close any program holding " + "the file open, or grant your user access to the path." : "Grant this user (or the sandbox the command runs in) access " + "to the path, or run the command outside the sandbox.";
2226
+ return `The operating system denied access to ${target} (${code}). This is ` + "a local permission problem, not a UiPath service error — retrying " + `without a permission change will not help. ${remedy}`;
2227
+ }
2218
2228
  function describeConnectivityError(error) {
2219
- const queue = [error];
2220
- const seen = new Set;
2221
- for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
2222
- const current = queue.shift();
2223
- if (current === null || typeof current !== "object")
2224
- continue;
2225
- if (seen.has(current))
2226
- continue;
2227
- seen.add(current);
2228
- const cur = current;
2229
+ for (const cur of walkErrorGraph(error)) {
2229
2230
  const code = typeof cur.code === "string" ? cur.code : undefined;
2230
2231
  const message = typeof cur.message === "string" ? cur.message : undefined;
2231
2232
  if (code && TLS_ERROR_CODES.has(code)) {
@@ -2244,6 +2245,49 @@ function describeConnectivityError(error) {
2244
2245
  instructions: NETWORK_INSTRUCTIONS
2245
2246
  };
2246
2247
  }
2248
+ }
2249
+ return;
2250
+ }
2251
+ function describePermissionError(error) {
2252
+ for (const cur of walkErrorGraph(error)) {
2253
+ const message = typeof cur.message === "string" ? cur.message : undefined;
2254
+ const code = matchLocalPermissionCode(cur.code, message);
2255
+ if (!code)
2256
+ continue;
2257
+ const path = localPermissionPath(cur.path, message);
2258
+ return {
2259
+ code,
2260
+ message: message ?? code,
2261
+ ...path !== undefined ? { path } : {},
2262
+ instructions: localPermissionInstructions(code, path)
2263
+ };
2264
+ }
2265
+ return;
2266
+ }
2267
+ function matchLocalPermissionCode(code, message) {
2268
+ if (typeof code === "string" && LOCAL_PERMISSION_ERROR_CODES.has(code)) {
2269
+ return code;
2270
+ }
2271
+ const match = message ? LOCAL_PERMISSION_MESSAGE_PATTERN.exec(message) : null;
2272
+ return match ? match[1] : undefined;
2273
+ }
2274
+ function localPermissionPath(path, message) {
2275
+ if (typeof path === "string")
2276
+ return path;
2277
+ return message ? /'([^']+)'/.exec(message)?.[1] : undefined;
2278
+ }
2279
+ function* walkErrorGraph(error) {
2280
+ const queue = [error];
2281
+ const seen = new Set;
2282
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
2283
+ const current = queue.shift();
2284
+ if (current === null || typeof current !== "object")
2285
+ continue;
2286
+ if (seen.has(current))
2287
+ continue;
2288
+ seen.add(current);
2289
+ const cur = current;
2290
+ yield cur;
2247
2291
  if (cur.cause !== undefined)
2248
2292
  queue.push(cur.cause);
2249
2293
  if (Array.isArray(cur.errors))
@@ -2304,6 +2348,12 @@ function classifyError(status, error) {
2304
2348
  if (status !== undefined && status >= 500 && status < 600) {
2305
2349
  return { errorCode: "server_error", retry: "RetryLater" };
2306
2350
  }
2351
+ if (status === undefined && describePermissionError(error)) {
2352
+ return {
2353
+ errorCode: "local_permission_denied",
2354
+ retry: "RetryWillNotFix"
2355
+ };
2356
+ }
2307
2357
  const connectivity = describeConnectivityError(error);
2308
2358
  if (connectivity) {
2309
2359
  return {
@@ -2406,6 +2456,16 @@ async function extractErrorDetails(error, options) {
2406
2456
  message = `${message}: ${connectivity.message}`;
2407
2457
  }
2408
2458
  }
2459
+ const permission = status === undefined ? describePermissionError(error) : undefined;
2460
+ if (permission) {
2461
+ if (permission.message !== message && !message.includes(permission.message)) {
2462
+ message = `${message}: ${permission.message}`;
2463
+ }
2464
+ if (!message.includes(permission.instructions)) {
2465
+ const punctuated = message.endsWith(".") ? message : `${message}.`;
2466
+ message = `${punctuated} ${permission.instructions}`;
2467
+ }
2468
+ }
2409
2469
  let details = rawMessage;
2410
2470
  if (rawBody) {
2411
2471
  if (parsedBody) {
@@ -2445,6 +2505,9 @@ async function extractErrorDetails(error, options) {
2445
2505
  if (parsedBody?.traceId && typeof parsedBody.traceId === "string") {
2446
2506
  context.traceId = parsedBody.traceId;
2447
2507
  }
2508
+ if (permission?.path !== undefined) {
2509
+ context.path = permission.path;
2510
+ }
2448
2511
  if (status === 429) {
2449
2512
  const resp = response;
2450
2513
  const headersObj = resp?.headers;
@@ -3678,6 +3741,7 @@ var CLI_ERROR_CODES = [
3678
3741
  "invalid_argument",
3679
3742
  "authentication_required",
3680
3743
  "permission_denied",
3744
+ "local_permission_denied",
3681
3745
  "not_found",
3682
3746
  "rate_limited",
3683
3747
  "network_error",
@@ -3711,6 +3775,40 @@ var EXIT_CODES = {
3711
3775
  ValidationError: 3,
3712
3776
  TimeoutError: 4
3713
3777
  };
3778
+
3779
+ class Pagination {
3780
+ Returned;
3781
+ Limit;
3782
+ Offset;
3783
+ Total;
3784
+ HasMore;
3785
+ NextPage;
3786
+ constructor({
3787
+ returned,
3788
+ limit,
3789
+ offset,
3790
+ total,
3791
+ hasMore,
3792
+ nextPage
3793
+ }) {
3794
+ this.Returned = returned;
3795
+ this.Limit = limit;
3796
+ this.Offset = offset;
3797
+ this.Total = total;
3798
+ this.HasMore = hasMore ?? derivePaginationHasMore(returned, limit, offset, total, nextPage);
3799
+ this.NextPage = nextPage;
3800
+ }
3801
+ }
3802
+ function derivePaginationHasMore(returned, limit, offset, total, nextPage) {
3803
+ if (nextPage) {
3804
+ return true;
3805
+ }
3806
+ if (total === undefined) {
3807
+ return returned >= limit;
3808
+ }
3809
+ return (offset ?? 0) + returned < total;
3810
+ }
3811
+
3714
3812
  class SuccessOutput {
3715
3813
  Result = RESULTS.Success;
3716
3814
  Code;
@@ -4113,12 +4211,16 @@ function defaultErrorCodeForHttpStatus(status) {
4113
4211
  return "server_error";
4114
4212
  return;
4115
4213
  }
4214
+ var LOCAL_PERMISSION_TEXT_PATTERN = /(?:\b|\()(?:EACCES|EPERM|EROFS)(?::\s|\))/;
4116
4215
  function defaultErrorCodeForFailure(data) {
4117
4216
  if (data.Result === RESULTS.Failure) {
4118
4217
  const status = data.Context?.httpStatus ?? parseHttpStatusFromMessage2(data.Message);
4119
4218
  const errorCode = defaultErrorCodeForHttpStatus(status);
4120
4219
  if (errorCode)
4121
4220
  return errorCode;
4221
+ if (status === undefined && (LOCAL_PERMISSION_TEXT_PATTERN.test(data.Message) || LOCAL_PERMISSION_TEXT_PATTERN.test(data.Instructions))) {
4222
+ return "local_permission_denied";
4223
+ }
4122
4224
  }
4123
4225
  return defaultErrorCodeForResult(data.Result);
4124
4226
  }
@@ -4569,7 +4671,10 @@ function extractHttpStatus(err) {
4569
4671
  if (!err || typeof err !== "object")
4570
4672
  return;
4571
4673
  const e = err;
4572
- return e.response?.status ?? e.status ?? e.statusCode;
4674
+ const structured = e.response?.status ?? e.status ?? e.statusCode;
4675
+ if (structured !== undefined)
4676
+ return structured;
4677
+ return typeof e.message === "string" ? parseHttpStatusFromMessage(e.message) : undefined;
4573
4678
  }
4574
4679
  var GENERIC = "Check authentication and parameters";
4575
4680
  function instructionsFor(ctx, err) {
@@ -4603,6 +4708,10 @@ function instructionsFor(ctx, err) {
4603
4708
  if (status !== undefined && status >= 500 && status < 600) {
4604
4709
  return "Orchestrator returned a server error — retry; if it persists, check service status";
4605
4710
  }
4711
+ const permission = describePermissionError(err);
4712
+ if (permission) {
4713
+ return permission.instructions;
4714
+ }
4606
4715
  const connectivity = describeConnectivityError(err);
4607
4716
  if (connectivity) {
4608
4717
  return connectivity.instructions;
@@ -4611,6 +4720,11 @@ function instructionsFor(ctx, err) {
4611
4720
  }
4612
4721
  }
4613
4722
  }
4723
+ // ../common/src/guid.ts
4724
+ var GUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
4725
+ function isGuid(value) {
4726
+ return GUID_REGEX.test(value);
4727
+ }
4614
4728
  // ../common/src/host-global-options.ts
4615
4729
  var HOST_GLOBAL_OPTIONS_WITH_VALUE = [
4616
4730
  "--output",
@@ -5231,42 +5345,6 @@ function installRequestHeaderForwarding(BaseApiClass, patchKey, forward) {
5231
5345
  function installSdkUserAgentHeader(BaseApiClass, userAgent) {
5232
5346
  installRequestHeaderForwarding(BaseApiClass, userAgentPatchKey(userAgent), (headers) => addSdkUserAgentHeader(headers, userAgent));
5233
5347
  }
5234
- // ../common/src/tool-module-import.ts
5235
- async function importToolModule(specifier) {
5236
- return await import(specifier);
5237
- }
5238
-
5239
- // ../common/src/tool-provider.ts
5240
- var factorySlot = singleton("PackagerFactoryProvider");
5241
- var moduleSlot = singleton("ToolModuleProvider");
5242
- async function ensureToolModule(verb, packageName, moduleName) {
5243
- if (!/^[a-z0-9-]+$/.test(moduleName)) {
5244
- throw new Error(`Invalid tool module name '${moduleName}'.`);
5245
- }
5246
- const provider = moduleSlot.get();
5247
- if (provider) {
5248
- return provider(verb, moduleName);
5249
- }
5250
- const specifier = `${packageName}/${moduleName}`;
5251
- const [importError, mod] = await catchError(importToolModule(specifier));
5252
- if (importError) {
5253
- logger.debug(`No tool-module provider registered; import of '${specifier}' failed: ${importError.message}`);
5254
- throw new Error(`This command needs '${packageName}'. Install it.`, {
5255
- cause: importError
5256
- });
5257
- }
5258
- return mod;
5259
- }
5260
-
5261
- // ../common/src/solution-project-artifacts.ts
5262
- async function ensureProjectArtifacts(args) {
5263
- const [error, mod] = await catchError(ensureToolModule("solution", "@uipath/solution-tool", "init"));
5264
- if (error) {
5265
- logger.warn(`Solution artifact-resource generation skipped for project "${args.projectName}": ${error.message}. ` + "Run 'uip solution projects add' to finish setup.");
5266
- return { Created: false, Error: error.message };
5267
- }
5268
- return mod.addProjectArtifactsToSolutionAsync(args);
5269
- }
5270
5348
  // ../common/src/solution-project-types.ts
5271
5349
  var LIBRARY_NOT_A_PROJECT = "A library cannot be a project inside a solution — it is a reusable .nupkg that other projects consume as a NuGet dependency, not a deployable unit. Build and publish it on its own ('uip rpa pack <project-dir> <output-path>', then 'uip or libraries upload --file <nupkg-path>'), and reference it from a project's dependencies. To make the published library part of this solution, add it as a resource instead: 'uip solution resources add --source remote --kind Library --name <library-name>'.";
5272
5350
  function unsupportedSolutionProjectType(projectType) {
@@ -5292,6 +5370,8 @@ async function readStdin() {
5292
5370
  }
5293
5371
  // ../common/src/telemetry/ship-succeeded.ts
5294
5372
  var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
5295
- export { catchError, extractErrorMessage, extractErrorMessageSync, appendOption, ATTACHMENT_INSTRUCTIONS, ATTACHMENT_UPLOAD_INSTRUCTIONS, parseAttachmentSpec, resolveAttachmentInputs, InvalidArgumentError, Command, isPreviewBuild, logger, getOutputFormat, getOutputFormatExplicit, RESULTS, OutputFormatter, processContext, UIPATH_HOME_DIR, DEFAULT_PAGE_SIZE, hashContent, instructionsFor, createHiddenDeprecatedTenantOption, parseLimit, parseOffset, registerPackageMetadataOptions, mapPackageMetadataOptions, msToDuration, PollOutcome, ErrorDecision, MIN_INTERVAL_MS, pollUntil, isTerminalStatus, isFailureStatus, ScreenLogger, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, ensureToolModule, ensureProjectArtifacts, unsupportedSolutionProjectType, readStdin };
5373
+ // ../common/src/tool-provider.ts
5374
+ var factorySlot = singleton("PackagerFactoryProvider");
5375
+ export { catchError, extractErrorMessage, extractErrorMessageSync, appendOption, ATTACHMENT_INSTRUCTIONS, ATTACHMENT_UPLOAD_INSTRUCTIONS, parseAttachmentSpec, resolveAttachmentInputs, InvalidArgumentError, Command, isPreviewBuild, logger, getOutputFormat, getOutputFormatExplicit, RESULTS, EXIT_CODES, Pagination, OutputFormatter, processContext, UIPATH_HOME_DIR, DEFAULT_PAGE_SIZE, hashContent, instructionsFor, isGuid, createHiddenDeprecatedTenantOption, parseLimit, parseOffset, parseBoundedInt, registerPackageMetadataOptions, mapPackageMetadataOptions, msToDuration, PollOutcome, ErrorDecision, MIN_INTERVAL_MS, pollUntil, isTerminalStatus, isFailureStatus, ScreenLogger, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, unsupportedSolutionProjectType, readStdin };
5296
5376
 
5297
- //# debugId=BC4C2165AF89B27764756E2164756E21
5377
+ //# debugId=0782299C860DF53C64756E2164756E21
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./packager-tool-ahm4ymrp.js";
3
+ } from "./packager-tool-jpcm3xas.js";
4
4
 
5
- // ../../node_modules/@uipath/flow-converter/dist/chunk-EAYXAJSL.js
5
+ // ../../node_modules/@uipath/flow-converter/dist/chunk-YO2LIT2K.js
6
6
  init_esm_shims();
7
7
  var __defProp = Object.defineProperty;
8
8
  var __glob = (map) => (path) => {
@@ -18,4 +18,4 @@ var __export = (target, all) => {
18
18
 
19
19
  export { __glob, __export };
20
20
 
21
- //# debugId=F4E7DA8AAED8FF0964756E2164756E21
21
+ //# debugId=57CCB2DF9E81E7D064756E2164756E21