@uipath/solution-tool 1.206.0-preview.303 → 1.207.0-preview.305

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 (122) hide show
  1. package/dist/{archive-extract-ma0gy822.js → archive-extract-afgwacbg.js} +3 -3
  2. package/dist/{cleanup-command-service-07yjaezn.js → cleanup-command-service-j9kawew9.js} +20 -15
  3. package/dist/deploy-delete-service-1erqap9a.js +23 -0
  4. package/dist/deploy-run-service-jbs6dxye.js +24 -0
  5. package/dist/{deploy-status-service-eh32jm3n.js → deploy-status-service-4zn90vds.js} +49 -25
  6. package/dist/deploy.js +21 -20
  7. package/dist/{deployment-search-kxvr7anp.js → deployment-search-dwzahe4v.js} +9 -9
  8. package/dist/feed-resolver-d14rdjss.js +31 -0
  9. package/dist/feed-scope-failure-w16mze3z.js +20 -0
  10. package/dist/{feed-session-aw2aef0b.js → feed-session-f2sby6t8.js} +6 -6
  11. package/dist/{first-party-service-6gf3n6d8.js → first-party-service-7cggb17y.js} +1 -1
  12. package/dist/folder-runtime-check-586c41dq.js +25 -0
  13. package/dist/{governance-options-9f0gkd59.js → governance-options-y2xsv7ff.js} +7 -7
  14. package/dist/{packager-tool-pdfjwnzf.js → index-6ma58k47.js} +33 -708
  15. package/dist/{index-p3x7ztdr.js → index-795rsz0e.js} +1 -1
  16. package/dist/{index-yjvmjpdn.js → index-pzkzbqbs.js} +12 -11
  17. package/dist/{index-j6bry1jf.js → index-wfqzwh7k.js} +9 -7
  18. package/dist/index.js +26 -26
  19. package/dist/init.js +10 -10
  20. package/dist/{list-vj7bxwas.js → list-6pe1nab5.js} +11 -11
  21. package/dist/models/pack-command-types.d.ts +12 -0
  22. package/dist/{node-jn4c2v8d.js → node-13wj5mzd.js} +6 -6
  23. package/dist/pack-command-service-j9bqnsn1.js +32 -0
  24. package/dist/{pack-project-4m8g3xws.js → pack-project-3sdddc42.js} +21 -18
  25. package/dist/pack.js +25 -22
  26. package/dist/{package-id-6ht7na7b.js → package-id-5j4q232a.js} +3 -3
  27. package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
  28. package/dist/{packager-tool-vx2c68sb.js → packager-tool-1dsxhz1r.js} +2 -2
  29. package/dist/{packager-tool-wrv1xqep.js → packager-tool-1tvhgac9.js} +15 -6
  30. package/dist/{packager-tool-4ngwhqrt.js → packager-tool-2atxqqgd.js} +49 -24
  31. package/dist/packager-tool-3ft8hywr.js +449 -0
  32. package/dist/{packager-tool-7m6avabc.js → packager-tool-46x80z85.js} +8 -4
  33. package/dist/{packager-tool-ztk5t400.js → packager-tool-4hm40a32.js} +8 -74
  34. package/dist/{packager-tool-f15an17m.js → packager-tool-5p1vy335.js} +1 -1
  35. package/dist/packager-tool-612prgtc.js +140 -0
  36. package/dist/packager-tool-7gqn5apd.js +72 -0
  37. package/dist/{packager-tool-aws5w512.js → packager-tool-887bkh9y.js} +1 -1
  38. package/dist/{packager-tool-gn42ht23.js → packager-tool-8tckw03n.js} +28 -9
  39. package/dist/{packager-tool-y5jkhz8b.js → packager-tool-93qy1v8m.js} +52 -15
  40. package/dist/{packager-tool-fx4ws49n.js → packager-tool-cenfraf4.js} +2 -2
  41. package/dist/{packager-tool-chff74yz.js → packager-tool-cr1khqtm.js} +103 -166
  42. package/dist/{packager-tool-hagvwahw.js → packager-tool-da3hvfyn.js} +528 -202
  43. package/dist/{packager-tool-2zn98p5r.js → packager-tool-dd937g7k.js} +4 -4
  44. package/dist/{packager-tool-a7s0gbxs.js → packager-tool-devc4w73.js} +7 -2
  45. package/dist/{packager-tool-gh3tk9qy.js → packager-tool-ewbkaecg.js} +18 -11
  46. package/dist/{packager-tool-1hf1eza3.js → packager-tool-g08b669a.js} +22 -18
  47. package/dist/{packager-tool-m07vyk89.js → packager-tool-gb3dq79g.js} +36 -9
  48. package/dist/{packager-tool-mr0bmnez.js → packager-tool-gmbcn83x.js} +3 -3
  49. package/dist/{packager-tool-2p1hbxb8.js → packager-tool-jhtsana2.js} +119 -52
  50. package/dist/{packager-tool-1153jhyk.js → packager-tool-jtg2arr8.js} +20 -8
  51. package/dist/{packager-tool-t39pjz7n.js → packager-tool-jtvhkavz.js} +48 -6
  52. package/dist/packager-tool-kffz64hn.js +279 -0
  53. package/dist/{packager-tool-p5322gew.js → packager-tool-kmwjscby.js} +88 -10
  54. package/dist/{packager-tool-ppj5f4y7.js → packager-tool-n1zrk6zv.js} +4 -2
  55. package/dist/{packager-tool-8y4g6zmj.js → packager-tool-pmc5txbm.js} +4 -6
  56. package/dist/{packager-tool-egc54x78.js → packager-tool-qhht1tc9.js} +2408 -771
  57. package/dist/{packager-tool-1x83nb8h.js → packager-tool-qm876ezh.js} +84 -29
  58. package/dist/{packager-tool-resolver-30hxk8vm.js → packager-tool-resolver-y52kztnx.js} +6 -6
  59. package/dist/{packager-tool-t700684m.js → packager-tool-rhg3mwkn.js} +14 -8
  60. package/dist/{packager-tool-ckrt4gyr.js → packager-tool-t9zked1m.js} +3 -3
  61. package/dist/{packager-tool-nhtc47fy.js → packager-tool-tat0qs6z.js} +26 -10
  62. package/dist/packager-tool-tf0rn1tp.js +741 -0
  63. package/dist/{packager-tool-v8aac3ec.js → packager-tool-tmba5jv0.js} +140 -10
  64. package/dist/{packager-tool-2n8dp801.js → packager-tool-tqe3m1xp.js} +6 -6
  65. package/dist/{packager-tool-1ctvbx0h.js → packager-tool-tr3ttz5c.js} +1 -1
  66. package/dist/{packager-tool-k9dk39tg.js → packager-tool-txygqgb2.js} +3 -3
  67. package/dist/packager-tool-v6jcys3s.js +46 -0
  68. package/dist/packager-tool-w35s60sx.js +179 -0
  69. package/dist/{packager-tool-axqk17xw.js → packager-tool-xbfr6y2x.js} +142 -34
  70. package/dist/{packager-tool-2qsbh4kd.js → packager-tool-yfcscjfp.js} +50 -12
  71. package/dist/{packager-tool-ay4j9x92.js → packager-tool-ykq6gmhc.js} +19 -8
  72. package/dist/packager-tool.js +2 -2
  73. package/dist/prepare-solution-resources-sk3tyy8b.js +26 -0
  74. package/dist/{project-command-utils-82tja3k0.js → project-command-utils-7ygs8xq0.js} +20 -13
  75. package/dist/project-contributions-nzh06q0y.js +31 -0
  76. package/dist/project-identity-telemetry-47k2g7nq.js +18 -0
  77. package/dist/publish.js +14 -14
  78. package/dist/{resource-mutations-h6wfdqr4.js → resource-mutations-qcz2vcxe.js} +9 -9
  79. package/dist/{resource-version-lookup-xzgnvr48.js → resource-version-lookup-w3kzh4z9.js} +9 -9
  80. package/dist/resource.js +9 -9
  81. package/dist/{restore-command-service-wx8jw22q.js → restore-command-service-m6c8fb7q.js} +20 -15
  82. package/dist/run-service-cmrzccnm.js +1055 -0
  83. package/dist/services/deploy-activate-service.d.ts +5 -2
  84. package/dist/services/deploy-config-file.d.ts +24 -0
  85. package/dist/services/deploy-delete-service.d.ts +1 -1
  86. package/dist/services/deploy-run-service.d.ts +8 -1
  87. package/dist/services/deploy-uninstall-service.d.ts +4 -2
  88. package/dist/services/deploy-upgrade-service.d.ts +23 -2
  89. package/dist/services/deployment-feed-locator.d.ts +19 -6
  90. package/dist/services/deployment-links.d.ts +16 -0
  91. package/dist/services/deployment-progress.d.ts +10 -0
  92. package/dist/services/deployment-search.d.ts +15 -2
  93. package/dist/services/deployment-state.d.ts +9 -0
  94. package/dist/services/feed-resolver.d.ts +17 -0
  95. package/dist/services/feed-selection.d.ts +59 -0
  96. package/dist/services/folder-runtime-check.d.ts +107 -0
  97. package/dist/services/incomplete-feed-sweep.d.ts +6 -0
  98. package/dist/services/pack-command-service.d.ts +6 -0
  99. package/dist/services/pack-project.d.ts +1 -1
  100. package/dist/services/package-metadata-rewrite.d.ts +13 -0
  101. package/dist/services/personal-workspace-resolver.d.ts +4 -1
  102. package/dist/services/prepare-solution-resources.d.ts +11 -6
  103. package/dist/services/project-contributions.d.ts +26 -2
  104. package/dist/services/project-identity-telemetry.d.ts +31 -0
  105. package/dist/services/solution-members.d.ts +31 -0
  106. package/dist/{ship-telemetry-19gx83af.js → ship-telemetry-9djqndmy.js} +4 -4
  107. package/dist/{solution-auth-jxcgd2m0.js → solution-auth-0e3qm74f.js} +3 -3
  108. package/dist/{solution-definition-helper-tqwd6cxn.js → solution-definition-helper-bkyhs1bd.js} +1 -1
  109. package/dist/{solution-identity-c23d9bfv.js → solution-identity-j63p6n81.js} +4 -4
  110. package/dist/templates/AGENTS.md +131 -24
  111. package/dist/tool.js +26 -26
  112. package/package.json +2 -2
  113. package/dist/deploy-delete-service-p9gade7a.js +0 -23
  114. package/dist/deploy-run-service-1k4paz52.js +0 -23
  115. package/dist/feed-resolver-3cs1dmhh.js +0 -27
  116. package/dist/feed-scope-failure-78fn8bay.js +0 -20
  117. package/dist/pack-command-service-zc7hq5s6.js +0 -29
  118. package/dist/packager-tool-pp4067m7.js +0 -74
  119. package/dist/packager-tool-vrqbbh01.js +0 -182
  120. package/dist/prepare-solution-resources-h7zvnncd.js +0 -26
  121. package/dist/project-contributions-xx560n8y.js +0 -27
  122. package/dist/run-service-32pky7na.js +0 -506
@@ -8,7 +8,7 @@ import {
8
8
  JsonSerializerFactory2,
9
9
  JsonSerializerProxy2,
10
10
  StreamSerializer2
11
- } from "./packager-tool-chff74yz.js";
11
+ } from "./packager-tool-cr1khqtm.js";
12
12
  export {
13
13
  CAMEL_CASE_ENUM_PROPERTIES2 as CAMEL_CASE_ENUM_PROPERTIES,
14
14
  JsonSerializer2 as JsonSerializer,
@@ -23,7 +23,6 @@ import {
23
23
  normalizeResourceFileCasing2,
24
24
  readResourceConfigurationsAsync2,
25
25
  readResourceConfigurationAsync2,
26
- validateResourceName2,
27
26
  formatResourceSubtypes2,
28
27
  sameResourceSubtype2,
29
28
  syncResourcesFromBindings2,
@@ -38,15 +37,17 @@ import {
38
37
  syncAndLog2,
39
38
  resourceRefreshAsync2,
40
39
  resourceRemoteSyncAsync2
41
- } from "./packager-tool-chff74yz.js";
42
- import"./packager-tool-a7s0gbxs.js";
43
- import"./packager-tool-egc54x78.js";
44
- import"./packager-tool-ppj5f4y7.js";
45
- import"./packager-tool-p5322gew.js";
46
- import"./packager-tool-t39pjz7n.js";
47
- import"./packager-tool-axqk17xw.js";
48
- import"./packager-tool-m07vyk89.js";
49
- import"./packager-tool-vgrswa8p.js";
40
+ } from "./packager-tool-cr1khqtm.js";
41
+ import"./packager-tool-devc4w73.js";
42
+ import"./packager-tool-qhht1tc9.js";
43
+ import"./packager-tool-n1zrk6zv.js";
44
+ import {
45
+ validateResourceName2
46
+ } from "./packager-tool-kmwjscby.js";
47
+ import"./packager-tool-jtvhkavz.js";
48
+ import"./packager-tool-xbfr6y2x.js";
49
+ import"./packager-tool-gb3dq79g.js";
50
+ import"./packager-tool-1db1wqdy.js";
50
51
  import"./packager-tool-rj2d1g0w.js";
51
52
  export {
52
53
  addProjectArtifactsToSolutionAsync2 as addProjectArtifactsToSolutionAsync,
@@ -90,4 +91,4 @@ export {
90
91
  writeSolutionFile2 as writeSolutionFile
91
92
  };
92
93
 
93
- //# debugId=E7CDB340D2981A7064756E2164756E21
94
+ //# debugId=8980A1BB58D1AA5764756E2164756E21
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  getAvailablePublishLocationsV22,
3
3
  StudioWebIncompatibleProjectError2,
4
+ StudioWebInvalidFileNameError2,
4
5
  UipignoreExcludesProjectError2,
5
6
  bundleSolution2,
6
7
  isDebugProvisioningTerminal2,
@@ -13,7 +14,7 @@ import {
13
14
  solutionExistsOnStudioWeb2,
14
15
  importSolution2,
15
16
  overwriteSolution2
16
- } from "./packager-tool-y5jkhz8b.js";
17
+ } from "./packager-tool-93qy1v8m.js";
17
18
  import {
18
19
  Configuration3,
19
20
  DeploymentActivationStatus2,
@@ -21,15 +22,15 @@ import {
21
22
  DeploymentOperationStatus2,
22
23
  SolutionDeploymentAction2,
23
24
  DeploymentsApi2
24
- } from "./packager-tool-7m6avabc.js";
25
+ } from "./packager-tool-46x80z85.js";
25
26
  import {
26
27
  toPortableRelativePath2,
27
28
  resolveSolutionDir2,
28
29
  updateUipxSolutionId2
29
- } from "./packager-tool-p5322gew.js";
30
- import"./packager-tool-axqk17xw.js";
31
- import"./packager-tool-m07vyk89.js";
32
- import"./packager-tool-vgrswa8p.js";
30
+ } from "./packager-tool-kmwjscby.js";
31
+ import"./packager-tool-xbfr6y2x.js";
32
+ import"./packager-tool-gb3dq79g.js";
33
+ import"./packager-tool-1db1wqdy.js";
33
34
  import"./packager-tool-rj2d1g0w.js";
34
35
  export {
35
36
  Configuration3 as Configuration,
@@ -38,6 +39,7 @@ export {
38
39
  DeploymentsApi2 as DeploymentsApi,
39
40
  SolutionDeploymentAction2 as SolutionDeploymentAction,
40
41
  StudioWebIncompatibleProjectError2 as StudioWebIncompatibleProjectError,
42
+ StudioWebInvalidFileNameError2 as StudioWebInvalidFileNameError,
41
43
  UipignoreExcludesProjectError2 as UipignoreExcludesProjectError,
42
44
  WorkflowAction2 as WorkflowAction,
43
45
  buildSolutionUploadFailureOutput2 as buildSolutionUploadFailureOutput,
@@ -57,4 +59,4 @@ export {
57
59
  updateUipxSolutionId2 as updateUipxSolutionId
58
60
  };
59
61
 
60
- //# debugId=137C15DB62A42BA364756E2164756E21
62
+ //# debugId=87AA9DA9E379BD0564756E2164756E21
package/dist/index.js CHANGED
@@ -1,36 +1,36 @@
1
1
  #!/usr/bin/env bun
2
2
  import {
3
3
  Command
4
- } from "./packager-tool-axqk17xw.js";
5
- import"./packager-tool-vgrswa8p.js";
6
- import"./packager-tool-m07vyk89.js";
7
- import"./packager-tool-t39pjz7n.js";
8
- import"./packager-tool-ppj5f4y7.js";
9
- import"./packager-tool-2n8dp801.js";
10
- import"./packager-tool-7m6avabc.js";
11
- import"./packager-tool-y5jkhz8b.js";
4
+ } from "./packager-tool-xbfr6y2x.js";
5
+ import"./packager-tool-1db1wqdy.js";
6
+ import"./packager-tool-gb3dq79g.js";
7
+ import"./packager-tool-jtvhkavz.js";
8
+ import"./packager-tool-n1zrk6zv.js";
9
+ import"./packager-tool-tqe3m1xp.js";
10
+ import"./packager-tool-46x80z85.js";
11
+ import"./packager-tool-93qy1v8m.js";
12
12
  import"./packager-tool-rj2d1g0w.js";
13
- import"./packager-tool-t700684m.js";
14
- import"./packager-tool-v8aac3ec.js";
15
- import"./packager-tool-egc54x78.js";
16
- import"./packager-tool-gh3tk9qy.js";
13
+ import"./packager-tool-rhg3mwkn.js";
14
+ import"./packager-tool-tmba5jv0.js";
15
+ import"./packager-tool-qhht1tc9.js";
16
+ import"./packager-tool-ewbkaecg.js";
17
17
  import {
18
18
  metadata2,
19
19
  registerCommands2
20
- } from "./packager-tool-hagvwahw.js";
21
- import"./packager-tool-2p1hbxb8.js";
22
- import"./packager-tool-vx2c68sb.js";
23
- import"./packager-tool-8y4g6zmj.js";
24
- import"./packager-tool-ckrt4gyr.js";
25
- import"./packager-tool-gn42ht23.js";
26
- import"./packager-tool-k9dk39tg.js";
27
- import"./packager-tool-vrqbbh01.js";
28
- import"./packager-tool-wrv1xqep.js";
29
- import"./packager-tool-pp4067m7.js";
30
- import"./packager-tool-nhtc47fy.js";
31
- import"./packager-tool-fx4ws49n.js";
32
- import"./packager-tool-1ctvbx0h.js";
33
- import"./packager-tool-p5322gew.js";
20
+ } from "./packager-tool-da3hvfyn.js";
21
+ import"./packager-tool-jhtsana2.js";
22
+ import"./packager-tool-1dsxhz1r.js";
23
+ import"./packager-tool-pmc5txbm.js";
24
+ import"./packager-tool-8tckw03n.js";
25
+ import"./packager-tool-t9zked1m.js";
26
+ import"./packager-tool-txygqgb2.js";
27
+ import"./packager-tool-3ft8hywr.js";
28
+ import"./packager-tool-612prgtc.js";
29
+ import"./packager-tool-tat0qs6z.js";
30
+ import"./packager-tool-1tvhgac9.js";
31
+ import"./packager-tool-cenfraf4.js";
32
+ import"./packager-tool-tr3ttz5c.js";
33
+ import"./packager-tool-kmwjscby.js";
34
34
 
35
35
  // src/index.ts
36
36
  var program = new Command;
package/dist/init.js CHANGED
@@ -1,19 +1,19 @@
1
- import"./packager-tool-vgrswa8p.js";
2
- import"./packager-tool-m07vyk89.js";
3
- import"./packager-tool-axqk17xw.js";
1
+ import"./packager-tool-1db1wqdy.js";
2
+ import"./packager-tool-gb3dq79g.js";
3
+ import"./packager-tool-xbfr6y2x.js";
4
4
  import"./packager-tool-rj2d1g0w.js";
5
- import"./packager-tool-a7s0gbxs.js";
5
+ import"./packager-tool-devc4w73.js";
6
6
  import {
7
7
  addProjectArtifactsToSolutionAsync2
8
- } from "./packager-tool-chff74yz.js";
9
- import"./packager-tool-t39pjz7n.js";
10
- import"./packager-tool-egc54x78.js";
11
- import"./packager-tool-ppj5f4y7.js";
8
+ } from "./packager-tool-cr1khqtm.js";
9
+ import"./packager-tool-jtvhkavz.js";
10
+ import"./packager-tool-qhht1tc9.js";
11
+ import"./packager-tool-n1zrk6zv.js";
12
12
  import {
13
13
  SolutionInitError2,
14
14
  solutionInitAsync2
15
- } from "./packager-tool-fx4ws49n.js";
16
- import"./packager-tool-p5322gew.js";
15
+ } from "./packager-tool-cenfraf4.js";
16
+ import"./packager-tool-kmwjscby.js";
17
17
  export {
18
18
  SolutionInitError2 as SolutionInitError,
19
19
  addProjectArtifactsToSolutionAsync2 as addProjectArtifactsToSolutionAsync,
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  getFileSystem
3
- } from "./packager-tool-vgrswa8p.js";
3
+ } from "./packager-tool-1db1wqdy.js";
4
4
  import {
5
- catchError
6
- } from "./packager-tool-m07vyk89.js";
5
+ catchError,
6
+ RESULTS
7
+ } from "./packager-tool-gb3dq79g.js";
7
8
  import {
8
- RESULTS,
9
9
  Pagination,
10
10
  OutputFormatter,
11
11
  processContext,
12
12
  DEFAULT_PAGE_SIZE,
13
13
  parseOffset,
14
14
  parseBoundedInt
15
- } from "./packager-tool-axqk17xw.js";
16
- import"./packager-tool-7m6avabc.js";
15
+ } from "./packager-tool-xbfr6y2x.js";
16
+ import"./packager-tool-46x80z85.js";
17
17
  import {
18
18
  getStudioWebSolutionProjects2,
19
19
  listStudioWebSolutions2
20
- } from "./packager-tool-y5jkhz8b.js";
20
+ } from "./packager-tool-93qy1v8m.js";
21
21
  import"./packager-tool-rj2d1g0w.js";
22
- import"./packager-tool-t39pjz7n.js";
22
+ import"./packager-tool-jtvhkavz.js";
23
23
  import {
24
24
  useStudioWebAuth,
25
25
  getStudioWebAuth
26
- } from "./packager-tool-vx2c68sb.js";
27
- import"./packager-tool-p5322gew.js";
26
+ } from "./packager-tool-1dsxhz1r.js";
27
+ import"./packager-tool-kmwjscby.js";
28
28
 
29
29
  // src/services/solution-list-service.ts
30
30
  var fail = (message, instructions) => ({
@@ -377,4 +377,4 @@ export {
377
377
  registerListCommand
378
378
  };
379
379
 
380
- //# debugId=9319893B8AB3773464756E2164756E21
380
+ //# debugId=F7B9826F3CB31DEB64756E2164756E21
@@ -16,6 +16,11 @@ export interface PackCommandOptions extends PackageMetadataFields {
16
16
  name?: string;
17
17
  /** Package version (default: 1.0.0) */
18
18
  version?: string;
19
+ /**
20
+ * Packing for a debug run: each project's resource contributor may relax
21
+ * release-only gates, such as unbound case roles. The build is the same.
22
+ */
23
+ forDebug?: boolean;
19
24
  /** Solution classification — `standard` or `vertical`. Absent means standard. */
20
25
  solutionType?: string;
21
26
  /**
@@ -77,6 +82,13 @@ export interface PackCommandOptions extends PackageMetadataFields {
77
82
  * are not run.
78
83
  */
79
84
  skipAnalyze?: boolean;
85
+ /**
86
+ * Pack each coded app's existing build output (`config.bundlePath`)
87
+ * instead of running its install and `build` script first. For a pipeline
88
+ * that already built the app, or one that cannot reach the package
89
+ * registry. A missing build output then fails the pack.
90
+ */
91
+ skipBuild?: boolean;
80
92
  /**
81
93
  * Analyzer rule IDs whose findings are dropped for every RPA project. The
82
94
  * rules still run; their findings are not reported and cannot fail the
@@ -3,15 +3,15 @@ import {
3
3
  DotnetDiscoveryService2,
4
4
  NodePackageSignService2,
5
5
  createNodeProjectPackager2
6
- } from "./packager-tool-1153jhyk.js";
6
+ } from "./packager-tool-jtg2arr8.js";
7
7
  import {
8
8
  ProjectPackOptions2,
9
9
  ToolLogger2
10
- } from "./packager-tool-1x83nb8h.js";
11
- import"./packager-tool-a7s0gbxs.js";
12
- import"./packager-tool-axqk17xw.js";
13
- import"./packager-tool-m07vyk89.js";
14
- import"./packager-tool-vgrswa8p.js";
10
+ } from "./packager-tool-qm876ezh.js";
11
+ import"./packager-tool-devc4w73.js";
12
+ import"./packager-tool-xbfr6y2x.js";
13
+ import"./packager-tool-gb3dq79g.js";
14
+ import"./packager-tool-1db1wqdy.js";
15
15
  import"./packager-tool-rj2d1g0w.js";
16
16
  export {
17
17
  BaseNodePackagerFactory2 as BaseNodePackagerFactory,
@@ -0,0 +1,32 @@
1
+ import {
2
+ PackCommandService2
3
+ } from "./packager-tool-2atxqqgd.js";
4
+ import"./packager-tool-ykq6gmhc.js";
5
+ import"./packager-tool-887bkh9y.js";
6
+ import"./packager-tool-yfcscjfp.js";
7
+ import"./packager-tool-4hm40a32.js";
8
+ import"./packager-tool-w35s60sx.js";
9
+ import"./packager-tool-dd937g7k.js";
10
+ import"./packager-tool-jtg2arr8.js";
11
+ import"./packager-tool-qzcd5c9s.js";
12
+ import"./packager-tool-qm876ezh.js";
13
+ import"./packager-tool-5p1vy335.js";
14
+ import"./packager-tool-tr3ttz5c.js";
15
+ import"./packager-tool-t9zked1m.js";
16
+ import"./packager-tool-93qy1v8m.js";
17
+ import"./packager-tool-46x80z85.js";
18
+ import"./packager-tool-cr1khqtm.js";
19
+ import"./packager-tool-devc4w73.js";
20
+ import"./packager-tool-qhht1tc9.js";
21
+ import"./packager-tool-n1zrk6zv.js";
22
+ import"./packager-tool-kmwjscby.js";
23
+ import"./packager-tool-jtvhkavz.js";
24
+ import"./packager-tool-xbfr6y2x.js";
25
+ import"./packager-tool-gb3dq79g.js";
26
+ import"./packager-tool-1db1wqdy.js";
27
+ import"./packager-tool-rj2d1g0w.js";
28
+ export {
29
+ PackCommandService2 as PackCommandService
30
+ };
31
+
32
+ //# debugId=A7AF90049AEBA79864756E2164756E21
@@ -1,47 +1,50 @@
1
- import"./packager-tool-vgrswa8p.js";
2
- import"./packager-tool-m07vyk89.js";
1
+ import"./packager-tool-1db1wqdy.js";
2
+ import"./packager-tool-gb3dq79g.js";
3
3
  import {
4
4
  logger,
5
5
  telemetry
6
- } from "./packager-tool-axqk17xw.js";
6
+ } from "./packager-tool-xbfr6y2x.js";
7
7
  import"./packager-tool-rj2d1g0w.js";
8
- import"./packager-tool-a7s0gbxs.js";
8
+ import"./packager-tool-devc4w73.js";
9
9
  import {
10
10
  isPackageIdTooLongError,
11
11
  PackService,
12
12
  readMemberPackageIdAsync2
13
- } from "./packager-tool-1x83nb8h.js";
13
+ } from "./packager-tool-qm876ezh.js";
14
14
  import {
15
15
  createNodeProjectPackager2,
16
16
  toProjectDiagnostics
17
- } from "./packager-tool-1153jhyk.js";
18
- import"./packager-tool-f15an17m.js";
17
+ } from "./packager-tool-jtg2arr8.js";
18
+ import"./packager-tool-5p1vy335.js";
19
19
  import"./packager-tool-qzcd5c9s.js";
20
20
  import {
21
21
  ensurePackagerTools2
22
- } from "./packager-tool-2zn98p5r.js";
23
- import"./packager-tool-chff74yz.js";
24
- import"./packager-tool-t39pjz7n.js";
25
- import"./packager-tool-egc54x78.js";
26
- import"./packager-tool-ppj5f4y7.js";
22
+ } from "./packager-tool-dd937g7k.js";
23
+ import"./packager-tool-cr1khqtm.js";
24
+ import"./packager-tool-jtvhkavz.js";
25
+ import"./packager-tool-qhht1tc9.js";
26
+ import"./packager-tool-n1zrk6zv.js";
27
27
  import {
28
28
  collectProjectContributions2,
29
29
  assertNoContributionErrors2
30
- } from "./packager-tool-2qsbh4kd.js";
30
+ } from "./packager-tool-yfcscjfp.js";
31
31
  import {
32
32
  PackProjectError,
33
33
  resolvePackProjectAsync,
34
34
  projectFolder
35
- } from "./packager-tool-1ctvbx0h.js";
36
- import"./packager-tool-p5322gew.js";
35
+ } from "./packager-tool-tr3ttz5c.js";
36
+ import"./packager-tool-kmwjscby.js";
37
37
 
38
38
  // src/services/pack-project.ts
39
- async function prepareSolutionProjectAsync(fs, solutionDir, selector, packageIdOverride) {
39
+ async function prepareSolutionProjectAsync(fs, solutionDir, selector, packageIdOverride, forDebug) {
40
40
  const { project: entry, solutionName } = await resolvePackProjectAsync(fs, solutionDir, selector);
41
41
  await ensurePackagerTools2(solutionDir, fs, {
42
42
  onlyProjectRelativePath: entry.relativePath
43
43
  });
44
- assertNoContributionErrors2(await collectProjectContributions2(solutionDir, fs, entry.id));
44
+ assertNoContributionErrors2(await collectProjectContributions2(solutionDir, fs, {
45
+ onlyProjectId: entry.id,
46
+ forDebug
47
+ }));
45
48
  const project = {
46
49
  Id: entry.id,
47
50
  Type: entry.type,
@@ -87,4 +90,4 @@ export {
87
90
  prepareSolutionProjectAsync
88
91
  };
89
92
 
90
- //# debugId=4391374521570ABA64756E2164756E21
93
+ //# debugId=1F2898E8D18B53DC64756E2164756E21
package/dist/pack.js CHANGED
@@ -1,30 +1,33 @@
1
- import"./packager-tool-vgrswa8p.js";
2
- import"./packager-tool-m07vyk89.js";
3
- import"./packager-tool-axqk17xw.js";
1
+ import"./packager-tool-1db1wqdy.js";
2
+ import"./packager-tool-gb3dq79g.js";
3
+ import"./packager-tool-xbfr6y2x.js";
4
4
  import"./packager-tool-rj2d1g0w.js";
5
- import"./packager-tool-a7s0gbxs.js";
6
- import"./packager-tool-1153jhyk.js";
7
- import"./packager-tool-1x83nb8h.js";
8
- import"./packager-tool-aws5w512.js";
9
- import"./packager-tool-f15an17m.js";
5
+ import"./packager-tool-devc4w73.js";
6
+ import"./packager-tool-jtg2arr8.js";
7
+ import"./packager-tool-qm876ezh.js";
8
+ import"./packager-tool-887bkh9y.js";
9
+ import"./packager-tool-5p1vy335.js";
10
10
  import"./packager-tool-qzcd5c9s.js";
11
- import"./packager-tool-2zn98p5r.js";
12
- import"./packager-tool-chff74yz.js";
13
- import"./packager-tool-t39pjz7n.js";
14
- import"./packager-tool-egc54x78.js";
15
- import"./packager-tool-ppj5f4y7.js";
16
- import"./packager-tool-2qsbh4kd.js";
17
- import"./packager-tool-ay4j9x92.js";
18
- import"./packager-tool-ckrt4gyr.js";
19
- import"./packager-tool-4ngwhqrt.js";
11
+ import"./packager-tool-dd937g7k.js";
12
+ import"./packager-tool-cr1khqtm.js";
13
+ import"./packager-tool-jtvhkavz.js";
14
+ import"./packager-tool-qhht1tc9.js";
15
+ import"./packager-tool-n1zrk6zv.js";
16
+ import"./packager-tool-yfcscjfp.js";
17
+ import"./packager-tool-ykq6gmhc.js";
18
+ import"./packager-tool-46x80z85.js";
19
+ import"./packager-tool-93qy1v8m.js";
20
+ import"./packager-tool-w35s60sx.js";
21
+ import"./packager-tool-t9zked1m.js";
22
+ import"./packager-tool-2atxqqgd.js";
20
23
  import {
21
24
  packSolutionAsync2
22
- } from "./packager-tool-mr0bmnez.js";
23
- import"./packager-tool-ztk5t400.js";
24
- import"./packager-tool-1ctvbx0h.js";
25
- import"./packager-tool-p5322gew.js";
25
+ } from "./packager-tool-gmbcn83x.js";
26
+ import"./packager-tool-4hm40a32.js";
27
+ import"./packager-tool-tr3ttz5c.js";
28
+ import"./packager-tool-kmwjscby.js";
26
29
  export {
27
30
  packSolutionAsync2 as packSolutionAsync
28
31
  };
29
32
 
30
- //# debugId=CABB0A5CBCD4BA1064756E2164756E21
33
+ //# debugId=B2C59A23D75DC37764756E2164756E21
@@ -1,9 +1,9 @@
1
1
  import"./packager-tool-rj2d1g0w.js";
2
- import"./packager-tool-a7s0gbxs.js";
2
+ import"./packager-tool-devc4w73.js";
3
3
  import {
4
4
  readMemberPackageIdAsync2
5
- } from "./packager-tool-1x83nb8h.js";
6
- import"./packager-tool-m07vyk89.js";
5
+ } from "./packager-tool-qm876ezh.js";
6
+ import"./packager-tool-gb3dq79g.js";
7
7
  export {
8
8
  readMemberPackageIdAsync2 as readMemberPackageIdAsync
9
9
  };
@@ -47,12 +47,26 @@ class NodeFileSystem {
47
47
  throw error;
48
48
  }
49
49
  }
50
- async writeFile(filePath, data) {
50
+ async writeFile(filePath, data, options) {
51
51
  const dir = path.dirname(filePath);
52
52
  if (dir) {
53
53
  await fs.mkdir(dir, { recursive: true });
54
54
  }
55
- await fs.writeFile(filePath, data);
55
+ if (options?.mode === undefined || process.platform === "win32") {
56
+ if (options?.exclusive) {
57
+ await fs.writeFile(filePath, data, { flag: "wx" });
58
+ } else {
59
+ await fs.writeFile(filePath, data);
60
+ }
61
+ return;
62
+ }
63
+ const handle = await fs.open(filePath, options.exclusive ? "wx" : "w", options.mode);
64
+ try {
65
+ await handle.chmod(options.mode);
66
+ await handle.writeFile(data);
67
+ } finally {
68
+ await handle.close();
69
+ }
56
70
  }
57
71
  async appendFile(filePath, data) {
58
72
  const dir = path.dirname(filePath);
@@ -87,7 +101,8 @@ class NodeFileSystem {
87
101
  isDirectory: () => stats.isDirectory(),
88
102
  size: stats.size,
89
103
  mtimeMs: stats.mtimeMs,
90
- ctimeMs: stats.ctimeMs
104
+ ctimeMs: stats.ctimeMs,
105
+ mode: stats.mode
91
106
  };
92
107
  } catch (error) {
93
108
  if (this.isEnoent(error))
@@ -98,8 +113,13 @@ class NodeFileSystem {
98
113
  async exists(filePath) {
99
114
  return existsSync(filePath);
100
115
  }
101
- async mkdir(dirPath) {
102
- await fs.mkdir(dirPath, { recursive: true });
116
+ async mkdir(dirPath, options) {
117
+ await fs.mkdir(dirPath, { recursive: true, mode: options?.mode });
118
+ }
119
+ async chmod(targetPath, mode) {
120
+ if (process.platform === "win32")
121
+ return;
122
+ await fs.chmod(targetPath, mode);
103
123
  }
104
124
  async acquireLock(lockPath) {
105
125
  const canonicalPath = await this.canonicalizeLockTarget(lockPath);
@@ -249,7 +269,7 @@ class NodeFileSystem {
249
269
  async getTempDir() {
250
270
  return await fs.mkdtemp(path.join(os.tmpdir(), "uipath-fs-"));
251
271
  }
252
- async copyDirectory(sourcePath, destPath) {
272
+ async copyDirectory(sourcePath, destPath, options) {
253
273
  const sourceStats = await this.stat(sourcePath);
254
274
  if (!sourceStats) {
255
275
  throw new Error(`Source directory does not exist: ${sourcePath}`);
@@ -266,7 +286,9 @@ class NodeFileSystem {
266
286
  if (!entryStats)
267
287
  continue;
268
288
  if (entryStats.isDirectory()) {
269
- await this.copyDirectory(srcEntry, destEntry);
289
+ if (options?.skipDirectoryNames?.includes(entry))
290
+ continue;
291
+ await this.copyDirectory(srcEntry, destEntry, options);
270
292
  } else if (entryStats.isFile()) {
271
293
  const content = await this.readFile(srcEntry);
272
294
  if (content !== null) {
@@ -289,4 +311,4 @@ var getFileSystem = () => fsInstance;
289
311
 
290
312
  export { NodeFileSystem, getFileSystem };
291
313
 
292
- //# debugId=6B0A3304ED8573E564756E2164756E21
314
+ //# debugId=A46D263EC93C9CC864756E2164756E21
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getAuthContext
3
- } from "./packager-tool-t39pjz7n.js";
3
+ } from "./packager-tool-jtvhkavz.js";
4
4
  import {
5
5
  catchError
6
- } from "./packager-tool-m07vyk89.js";
6
+ } from "./packager-tool-gb3dq79g.js";
7
7
 
8
8
  // src/services/studio-web-auth-middleware.ts
9
9
  var studioWebAuthByCommand = new WeakMap;
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  catchError
3
- } from "./packager-tool-m07vyk89.js";
3
+ } from "./packager-tool-gb3dq79g.js";
4
4
  import {
5
5
  quoteForShell
6
- } from "./packager-tool-axqk17xw.js";
6
+ } from "./packager-tool-xbfr6y2x.js";
7
7
  import {
8
8
  Configuration2,
9
9
  PipelinesApi
10
- } from "./packager-tool-2n8dp801.js";
10
+ } from "./packager-tool-tqe3m1xp.js";
11
11
  import {
12
12
  Configuration3,
13
13
  SolutionDeploymentAction2,
14
14
  DeploymentsApi2
15
- } from "./packager-tool-7m6avabc.js";
15
+ } from "./packager-tool-46x80z85.js";
16
16
 
17
17
  // src/services/deployment-state.ts
18
18
  function pendingResourceApis(auth) {
@@ -172,6 +172,15 @@ function formatPendingResources(resources) {
172
172
  const remaining = resources.length - MAX_LISTED_RESOURCES;
173
173
  return remaining > 0 ? `${described}; and ${remaining} more` : described;
174
174
  }
175
+ function relinkStep(deployment, version, feedSelector) {
176
+ const name = quoteForShell(deployment.name);
177
+ const pkg = deployment.packageName ? quoteForShell(deployment.packageName) : "<package-name>";
178
+ const key = deployment.installDeploymentKey || deployment.key;
179
+ const folderFeed = feedSelector !== "" && feedSelector !== " --personal-workspace";
180
+ const target = key ? quoteForShell(key) : folderFeed ? `<deployment-key> (Key from uip solution deploy list${feedSelector})` : `--name ${name} --package-name ${pkg}${feedSelector}`;
181
+ const pinned = version ? quoteForShell(version) : "<deployed-version>";
182
+ return `To link its resources to existing ones instead (an authenticated connection in place of the one the deploy created): uip solution deploy config get ${pkg} --package-version ${pinned}${feedSelector} -d config.json, then uip solution deploy config link config.json '<resource-name>' --name '<existing-name>' --folder-path '<folder-path>' for each resource, then uip solution deploy upgrade ${target} --version ${pinned} --config-file config.json (keep only the linked resources in the file: each resource it names is applied as written, one it leaves out keeps its values), then uip solution deploy activate ${name}${feedSelector}.`;
183
+ }
175
184
  function activationNextSteps(deployment, pendingResources, feedSelector = "") {
176
185
  const name = deployment.name;
177
186
  const version = deployment.currentPackageVersion ?? deployment.packageVersion;
@@ -182,7 +191,7 @@ function activationNextSteps(deployment, pendingResources, feedSelector = "") {
182
191
  `${installed} but not live: it needs 'Setup activation' before it can be activated.`,
183
192
  describePendingResources(pendingResources)
184
193
  ];
185
- steps.push(`Complete 'Setup activation' for '${name}' in Orchestrator (Tenant > Solutions > Deployments, open the deployment). The CLI has no command for this step on an existing deployment: 'uip solution deploy config link' applies only to a new 'deploy run', an upgrade takes no config file, and 'uip solution deploy activate' is refused until the setup is done.`);
194
+ steps.push(relinkStep(deployment, version, feedSelector), `Or complete 'Setup activation' for '${name}' in Orchestrator (Tenant > Solutions > Deployments, open the deployment), which is also where a connection is authenticated in place. 'uip solution deploy activate' is refused until one of the two is done.`);
186
195
  return steps;
187
196
  }
188
197
  case "ReadyToActivate":
@@ -253,4 +262,4 @@ function describeDraft(deployment, feedSelector) {
253
262
 
254
263
  export { pendingResourceApis, reportedActivationStatus, readPendingResourcesAsync, readActivationBlockersAsync, isCurrentRecordAsync, appendDeploymentStateInstructions, explainRefusal, needsPendingResources, deploymentNextSteps };
255
264
 
256
- //# debugId=3538D00B5467556D64756E2164756E21
265
+ //# debugId=060FE384381C1FD364756E2164756E21