@uipath/packager-tool-workflowcompiler 1.207.0 → 1.208.0-preview.410

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.
@@ -16,7 +16,7 @@ export declare const en: {
16
16
  readonly processError: "[WorkflowCompiler] Process error: {message}";
17
17
  readonly startFailed: "Failed to start workflow compiler: {message}";
18
18
  readonly operationCancelled: "Operation cancelled";
19
- readonly dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.";
19
+ readonly dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.";
20
20
  readonly packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'.";
21
21
  };
22
22
  readonly pathResolver: {
@@ -28,18 +28,15 @@ export declare const en: {
28
28
  readonly foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION";
29
29
  readonly checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}";
30
30
  readonly foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache";
31
- readonly notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...";
32
- readonly restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...';
33
- readonly runningDotnetRestore: "[PathResolver] Running dotnet restore...";
34
- readonly restoreCompleted: "[PathResolver] dotnet restore completed";
35
- readonly installCompleted: "[PathResolver] Compiler restored successfully";
36
- readonly cleaningUp: "[PathResolver] Cleaning up temp directory";
31
+ readonly notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...";
32
+ readonly downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...';
33
+ readonly installCompleted: "[PathResolver] Compiler downloaded";
37
34
  readonly resolved: "[PathResolver] Compiler resolved at: {path}";
38
35
  };
39
36
  readonly errors: {
40
37
  readonly unsupportedPlatform: "Unsupported platform: {platform}";
41
- readonly compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.";
42
- readonly dotnetRestoreFailed: "dotnet restore failed: {details}";
38
+ readonly compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.';
39
+ readonly downloadFailed: "Downloading the workflow compiler failed: {details}";
43
40
  };
44
41
  };
45
42
  };
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var de_default = {
15
15
  processError: "[WorkflowCompiler] Process error: {message}",
16
16
  startFailed: "Failed to start workflow compiler: {message}",
17
17
  operationCancelled: "Operation cancelled",
18
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
18
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
19
19
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
20
20
  },
21
21
  pathResolver: {
@@ -27,18 +27,15 @@ var de_default = {
27
27
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
28
28
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
29
29
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
30
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
31
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
32
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
33
- restoreCompleted: "[PathResolver] dotnet restore completed",
34
- installCompleted: "[PathResolver] Compiler restored successfully",
35
- cleaningUp: "[PathResolver] Cleaning up temp directory",
30
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
31
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
32
+ installCompleted: "[PathResolver] Compiler downloaded",
36
33
  resolved: "[PathResolver] Compiler resolved at: {path}"
37
34
  },
38
35
  errors: {
39
36
  unsupportedPlatform: "Unsupported platform: {platform}",
40
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
41
- dotnetRestoreFailed: "dotnet restore failed: {details}"
37
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
38
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
42
39
  }
43
40
  }
44
41
  }
@@ -59,7 +56,7 @@ var en = {
59
56
  processError: "[WorkflowCompiler] Process error: {message}",
60
57
  startFailed: "Failed to start workflow compiler: {message}",
61
58
  operationCancelled: "Operation cancelled",
62
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
59
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
63
60
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
64
61
  },
65
62
  pathResolver: {
@@ -71,18 +68,15 @@ var en = {
71
68
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
72
69
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
73
70
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
74
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
75
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
76
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
77
- restoreCompleted: "[PathResolver] dotnet restore completed",
78
- installCompleted: "[PathResolver] Compiler restored successfully",
79
- cleaningUp: "[PathResolver] Cleaning up temp directory",
71
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
72
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
73
+ installCompleted: "[PathResolver] Compiler downloaded",
80
74
  resolved: "[PathResolver] Compiler resolved at: {path}"
81
75
  },
82
76
  errors: {
83
77
  unsupportedPlatform: "Unsupported platform: {platform}",
84
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
85
- dotnetRestoreFailed: "dotnet restore failed: {details}"
78
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
79
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
86
80
  }
87
81
  }
88
82
  }
@@ -102,7 +96,7 @@ var es_default = {
102
96
  processError: "[WorkflowCompiler] Process error: {message}",
103
97
  startFailed: "Failed to start workflow compiler: {message}",
104
98
  operationCancelled: "Operation cancelled",
105
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
99
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
106
100
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
107
101
  },
108
102
  pathResolver: {
@@ -114,18 +108,15 @@ var es_default = {
114
108
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
115
109
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
116
110
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
117
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
118
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
119
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
120
- restoreCompleted: "[PathResolver] dotnet restore completed",
121
- installCompleted: "[PathResolver] Compiler restored successfully",
122
- cleaningUp: "[PathResolver] Cleaning up temp directory",
111
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
112
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
113
+ installCompleted: "[PathResolver] Compiler downloaded",
123
114
  resolved: "[PathResolver] Compiler resolved at: {path}"
124
115
  },
125
116
  errors: {
126
117
  unsupportedPlatform: "Unsupported platform: {platform}",
127
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
128
- dotnetRestoreFailed: "dotnet restore failed: {details}"
118
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
119
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
129
120
  }
130
121
  }
131
122
  }
@@ -145,7 +136,7 @@ var es_MX_default = {
145
136
  processError: "[WorkflowCompiler] Process error: {message}",
146
137
  startFailed: "Failed to start workflow compiler: {message}",
147
138
  operationCancelled: "Operation cancelled",
148
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
139
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
149
140
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
150
141
  },
151
142
  pathResolver: {
@@ -157,18 +148,15 @@ var es_MX_default = {
157
148
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
158
149
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
159
150
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
160
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
161
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
162
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
163
- restoreCompleted: "[PathResolver] dotnet restore completed",
164
- installCompleted: "[PathResolver] Compiler restored successfully",
165
- cleaningUp: "[PathResolver] Cleaning up temp directory",
151
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
152
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
153
+ installCompleted: "[PathResolver] Compiler downloaded",
166
154
  resolved: "[PathResolver] Compiler resolved at: {path}"
167
155
  },
168
156
  errors: {
169
157
  unsupportedPlatform: "Unsupported platform: {platform}",
170
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
171
- dotnetRestoreFailed: "dotnet restore failed: {details}"
158
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
159
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
172
160
  }
173
161
  }
174
162
  }
@@ -188,7 +176,7 @@ var fr_default = {
188
176
  processError: "[WorkflowCompiler] Process error: {message}",
189
177
  startFailed: "Failed to start workflow compiler: {message}",
190
178
  operationCancelled: "Operation cancelled",
191
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
179
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
192
180
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
193
181
  },
194
182
  pathResolver: {
@@ -200,18 +188,15 @@ var fr_default = {
200
188
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
201
189
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
202
190
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
203
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
204
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
205
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
206
- restoreCompleted: "[PathResolver] dotnet restore completed",
207
- installCompleted: "[PathResolver] Compiler restored successfully",
208
- cleaningUp: "[PathResolver] Cleaning up temp directory",
191
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
192
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
193
+ installCompleted: "[PathResolver] Compiler downloaded",
209
194
  resolved: "[PathResolver] Compiler resolved at: {path}"
210
195
  },
211
196
  errors: {
212
197
  unsupportedPlatform: "Unsupported platform: {platform}",
213
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
214
- dotnetRestoreFailed: "dotnet restore failed: {details}"
198
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
199
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
215
200
  }
216
201
  }
217
202
  }
@@ -231,7 +216,7 @@ var ja_default = {
231
216
  processError: "[WorkflowCompiler] Process error: {message}",
232
217
  startFailed: "Failed to start workflow compiler: {message}",
233
218
  operationCancelled: "Operation cancelled",
234
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
219
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
235
220
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
236
221
  },
237
222
  pathResolver: {
@@ -243,18 +228,15 @@ var ja_default = {
243
228
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
244
229
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
245
230
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
246
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
247
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
248
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
249
- restoreCompleted: "[PathResolver] dotnet restore completed",
250
- installCompleted: "[PathResolver] Compiler restored successfully",
251
- cleaningUp: "[PathResolver] Cleaning up temp directory",
231
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
232
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
233
+ installCompleted: "[PathResolver] Compiler downloaded",
252
234
  resolved: "[PathResolver] Compiler resolved at: {path}"
253
235
  },
254
236
  errors: {
255
237
  unsupportedPlatform: "Unsupported platform: {platform}",
256
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
257
- dotnetRestoreFailed: "dotnet restore failed: {details}"
238
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
239
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
258
240
  }
259
241
  }
260
242
  }
@@ -274,7 +256,7 @@ var ko_default = {
274
256
  processError: "[WorkflowCompiler] Process error: {message}",
275
257
  startFailed: "Failed to start workflow compiler: {message}",
276
258
  operationCancelled: "Operation cancelled",
277
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
259
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
278
260
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
279
261
  },
280
262
  pathResolver: {
@@ -286,18 +268,15 @@ var ko_default = {
286
268
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
287
269
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
288
270
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
289
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
290
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
291
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
292
- restoreCompleted: "[PathResolver] dotnet restore completed",
293
- installCompleted: "[PathResolver] Compiler restored successfully",
294
- cleaningUp: "[PathResolver] Cleaning up temp directory",
271
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
272
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
273
+ installCompleted: "[PathResolver] Compiler downloaded",
295
274
  resolved: "[PathResolver] Compiler resolved at: {path}"
296
275
  },
297
276
  errors: {
298
277
  unsupportedPlatform: "Unsupported platform: {platform}",
299
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
300
- dotnetRestoreFailed: "dotnet restore failed: {details}"
278
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
279
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
301
280
  }
302
281
  }
303
282
  }
@@ -317,7 +296,7 @@ var pt_default = {
317
296
  processError: "[WorkflowCompiler] Process error: {message}",
318
297
  startFailed: "Failed to start workflow compiler: {message}",
319
298
  operationCancelled: "Operation cancelled",
320
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
299
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
321
300
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
322
301
  },
323
302
  pathResolver: {
@@ -329,18 +308,15 @@ var pt_default = {
329
308
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
330
309
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
331
310
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
332
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
333
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
334
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
335
- restoreCompleted: "[PathResolver] dotnet restore completed",
336
- installCompleted: "[PathResolver] Compiler restored successfully",
337
- cleaningUp: "[PathResolver] Cleaning up temp directory",
311
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
312
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
313
+ installCompleted: "[PathResolver] Compiler downloaded",
338
314
  resolved: "[PathResolver] Compiler resolved at: {path}"
339
315
  },
340
316
  errors: {
341
317
  unsupportedPlatform: "Unsupported platform: {platform}",
342
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
343
- dotnetRestoreFailed: "dotnet restore failed: {details}"
318
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
319
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
344
320
  }
345
321
  }
346
322
  }
@@ -360,7 +336,7 @@ var pt_BR_default = {
360
336
  processError: "[WorkflowCompiler] Process error: {message}",
361
337
  startFailed: "Failed to start workflow compiler: {message}",
362
338
  operationCancelled: "Operation cancelled",
363
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
339
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
364
340
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
365
341
  },
366
342
  pathResolver: {
@@ -372,18 +348,15 @@ var pt_BR_default = {
372
348
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
373
349
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
374
350
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
375
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
376
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
377
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
378
- restoreCompleted: "[PathResolver] dotnet restore completed",
379
- installCompleted: "[PathResolver] Compiler restored successfully",
380
- cleaningUp: "[PathResolver] Cleaning up temp directory",
351
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
352
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
353
+ installCompleted: "[PathResolver] Compiler downloaded",
381
354
  resolved: "[PathResolver] Compiler resolved at: {path}"
382
355
  },
383
356
  errors: {
384
357
  unsupportedPlatform: "Unsupported platform: {platform}",
385
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
386
- dotnetRestoreFailed: "dotnet restore failed: {details}"
358
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
359
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
387
360
  }
388
361
  }
389
362
  }
@@ -403,7 +376,7 @@ var ro_default = {
403
376
  processError: "[WorkflowCompiler] Process error: {message}",
404
377
  startFailed: "Failed to start workflow compiler: {message}",
405
378
  operationCancelled: "Operation cancelled",
406
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
379
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
407
380
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
408
381
  },
409
382
  pathResolver: {
@@ -415,18 +388,15 @@ var ro_default = {
415
388
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
416
389
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
417
390
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
418
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
419
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
420
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
421
- restoreCompleted: "[PathResolver] dotnet restore completed",
422
- installCompleted: "[PathResolver] Compiler restored successfully",
423
- cleaningUp: "[PathResolver] Cleaning up temp directory",
391
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
392
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
393
+ installCompleted: "[PathResolver] Compiler downloaded",
424
394
  resolved: "[PathResolver] Compiler resolved at: {path}"
425
395
  },
426
396
  errors: {
427
397
  unsupportedPlatform: "Unsupported platform: {platform}",
428
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
429
- dotnetRestoreFailed: "dotnet restore failed: {details}"
398
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
399
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
430
400
  }
431
401
  }
432
402
  }
@@ -446,7 +416,7 @@ var ru_default = {
446
416
  processError: "[WorkflowCompiler] Process error: {message}",
447
417
  startFailed: "Failed to start workflow compiler: {message}",
448
418
  operationCancelled: "Operation cancelled",
449
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
419
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
450
420
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
451
421
  },
452
422
  pathResolver: {
@@ -458,18 +428,15 @@ var ru_default = {
458
428
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
459
429
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
460
430
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
461
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
462
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
463
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
464
- restoreCompleted: "[PathResolver] dotnet restore completed",
465
- installCompleted: "[PathResolver] Compiler restored successfully",
466
- cleaningUp: "[PathResolver] Cleaning up temp directory",
431
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
432
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
433
+ installCompleted: "[PathResolver] Compiler downloaded",
467
434
  resolved: "[PathResolver] Compiler resolved at: {path}"
468
435
  },
469
436
  errors: {
470
437
  unsupportedPlatform: "Unsupported platform: {platform}",
471
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
472
- dotnetRestoreFailed: "dotnet restore failed: {details}"
438
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
439
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
473
440
  }
474
441
  }
475
442
  }
@@ -489,7 +456,7 @@ var tr_default = {
489
456
  processError: "[WorkflowCompiler] Process error: {message}",
490
457
  startFailed: "Failed to start workflow compiler: {message}",
491
458
  operationCancelled: "Operation cancelled",
492
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
459
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
493
460
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
494
461
  },
495
462
  pathResolver: {
@@ -501,18 +468,15 @@ var tr_default = {
501
468
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
502
469
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
503
470
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
504
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
505
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
506
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
507
- restoreCompleted: "[PathResolver] dotnet restore completed",
508
- installCompleted: "[PathResolver] Compiler restored successfully",
509
- cleaningUp: "[PathResolver] Cleaning up temp directory",
471
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
472
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
473
+ installCompleted: "[PathResolver] Compiler downloaded",
510
474
  resolved: "[PathResolver] Compiler resolved at: {path}"
511
475
  },
512
476
  errors: {
513
477
  unsupportedPlatform: "Unsupported platform: {platform}",
514
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
515
- dotnetRestoreFailed: "dotnet restore failed: {details}"
478
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
479
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
516
480
  }
517
481
  }
518
482
  }
@@ -532,7 +496,7 @@ var zh_CN_default = {
532
496
  processError: "[WorkflowCompiler] Process error: {message}",
533
497
  startFailed: "Failed to start workflow compiler: {message}",
534
498
  operationCancelled: "Operation cancelled",
535
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
499
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
536
500
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
537
501
  },
538
502
  pathResolver: {
@@ -544,18 +508,15 @@ var zh_CN_default = {
544
508
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
545
509
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
546
510
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
547
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
548
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
549
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
550
- restoreCompleted: "[PathResolver] dotnet restore completed",
551
- installCompleted: "[PathResolver] Compiler restored successfully",
552
- cleaningUp: "[PathResolver] Cleaning up temp directory",
511
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
512
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
513
+ installCompleted: "[PathResolver] Compiler downloaded",
553
514
  resolved: "[PathResolver] Compiler resolved at: {path}"
554
515
  },
555
516
  errors: {
556
517
  unsupportedPlatform: "Unsupported platform: {platform}",
557
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
558
- dotnetRestoreFailed: "dotnet restore failed: {details}"
518
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
519
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
559
520
  }
560
521
  }
561
522
  }
@@ -575,7 +536,7 @@ var zh_TW_default = {
575
536
  processError: "[WorkflowCompiler] Process error: {message}",
576
537
  startFailed: "Failed to start workflow compiler: {message}",
577
538
  operationCancelled: "Operation cancelled",
578
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
539
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
579
540
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
580
541
  },
581
542
  pathResolver: {
@@ -587,18 +548,15 @@ var zh_TW_default = {
587
548
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
588
549
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
589
550
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
590
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
591
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
592
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
593
- restoreCompleted: "[PathResolver] dotnet restore completed",
594
- installCompleted: "[PathResolver] Compiler restored successfully",
595
- cleaningUp: "[PathResolver] Cleaning up temp directory",
551
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
552
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
553
+ installCompleted: "[PathResolver] Compiler downloaded",
596
554
  resolved: "[PathResolver] Compiler resolved at: {path}"
597
555
  },
598
556
  errors: {
599
557
  unsupportedPlatform: "Unsupported platform: {platform}",
600
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
601
- dotnetRestoreFailed: "dotnet restore failed: {details}"
558
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
559
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
602
560
  }
603
561
  }
604
562
  }
@@ -618,7 +576,7 @@ var zu_default = {
618
576
  processError: "[WorkflowCompiler] Process error: {message}",
619
577
  startFailed: "Failed to start workflow compiler: {message}",
620
578
  operationCancelled: "Operation cancelled",
621
- dotnetNotAvailable: "The .NET SDK 8.0 is required by the workflow compiler, but the 'dotnet' CLI was not found on PATH. Install SDK 8.0 from https://dotnet.microsoft.com/download/dotnet/8.0, then re-run this command.",
579
+ dotnetNotAvailable: "No 'dotnet' was found on PATH. The workflow compiler runs on .NET 10: install the .NET 10 runtime (the .NET Desktop Runtime on Windows) from https://dotnet.microsoft.com/download/dotnet/10.0, then re-run this command.",
622
580
  packageNotFoundWithoutFeedFolder: "NuGet found no source for {packages}. Without --feed-folder, the only Orchestrator feeds searched are the tenant library feeds. If the library is in a folder feed, or in the tenant Processes feed (where 'uip or packages upload' puts it), rerun with --feed-folder <folder the process runs from>, or publish it with 'uip or libraries upload'."
623
581
  },
624
582
  pathResolver: {
@@ -630,18 +588,15 @@ var zu_default = {
630
588
  foundViaEnv: "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
631
589
  checkingNuGetCache: "[PathResolver] Checking NuGet cache: {path}",
632
590
  foundInNuGetCache: "[PathResolver] Found compiler in NuGet cache",
633
- notFoundStartingInstall: "[PathResolver] Compiler not found, starting dotnet restore...",
634
- restoringPackage: '[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
635
- runningDotnetRestore: "[PathResolver] Running dotnet restore...",
636
- restoreCompleted: "[PathResolver] dotnet restore completed",
637
- installCompleted: "[PathResolver] Compiler restored successfully",
638
- cleaningUp: "[PathResolver] Cleaning up temp directory",
591
+ notFoundStartingInstall: "[PathResolver] Compiler not found, downloading it...",
592
+ downloadingPackage: '[PathResolver] Downloading NuGet package "{packageName}" v{version} for platform "{platform}" from {url}...',
593
+ installCompleted: "[PathResolver] Compiler downloaded",
639
594
  resolved: "[PathResolver] Compiler resolved at: {path}"
640
595
  },
641
596
  errors: {
642
597
  unsupportedPlatform: "Unsupported platform: {platform}",
643
- compilerNotFoundAfterRestore: "Compiler not found in NuGet cache after dotnet restore.",
644
- dotnetRestoreFailed: "dotnet restore failed: {details}"
598
+ compilerNotInPackage: 'NuGet package "{packageName}" v{version} has no WorkflowCompiler/UiPath.WorkflowCompiler.dll.',
599
+ downloadFailed: "Downloading the workflow compiler failed: {details}"
645
600
  }
646
601
  }
647
602
  }
@@ -716,7 +671,7 @@ var readProjectIdentity = async (target, fs) => {
716
671
  };
717
672
 
718
673
  // src/workflow-compiler-config.ts
719
- var DEFAULT_WORKFLOW_COMPILER_VERSION = "26.0.202-cloud.24987";
674
+ var DEFAULT_WORKFLOW_COMPILER_VERSION = "27.0.207-alpha.26343";
720
675
  var DEFAULT_DOTNET_PATH = "dotnet";
721
676
  var workflowCompilerConfig = {
722
677
  workflowCompilerPath: undefined,
@@ -1253,7 +1208,7 @@ import {
1253
1208
  // ../packager-orchestrator-client/package.json
1254
1209
  var package_default = {
1255
1210
  name: "@uipath/packager-orchestrator-client",
1256
- version: "1.207.0",
1211
+ version: "1.208.0",
1257
1212
  description: "UiPath packager client for Orchestrator package-feed interaction (feed discovery + NuGet source composition)",
1258
1213
  type: "module",
1259
1214
  private: true,
@@ -1671,31 +1626,24 @@ import {
1671
1626
  } from "@uipath/solutionpackager-tool-core";
1672
1627
 
1673
1628
  // src/workflow-compiler-path-resolver.ts
1674
- import { execFileSync } from "node:child_process";
1629
+ import { randomUUID } from "node:crypto";
1675
1630
  import { homedir, platform } from "node:os";
1676
1631
  import {
1677
1632
  Path as Path2,
1678
- TemporaryStorageService as TemporaryStorageService2,
1679
- translate as translate3
1633
+ translate as translate3,
1634
+ ZipService
1680
1635
  } from "@uipath/solutionpackager-tool-core";
1681
1636
  var NUGET_FEED_URL = "https://pkgs.uipath.com/internal/index.json";
1637
+ var DOWNLOAD_TIMEOUT_MS = 10 * 60000;
1638
+ var RENAME_RETRYABLE_CODES = new Set(["EPERM", "EBUSY", "EACCES"]);
1639
+ var RENAME_ATTEMPTS = 10;
1640
+ var RENAME_RETRY_DELAY_MS = 100;
1682
1641
  var WORKFLOW_COMPILER_DLL_NAME = "UiPath.WorkflowCompiler.dll";
1683
1642
  var PLATFORM_PACKAGE_IDS = {
1684
1643
  win32: "UiPath.WorkflowCompiler.Windows",
1685
1644
  darwin: "UiPath.WorkflowCompiler.macOS",
1686
1645
  linux: "UiPath.WorkflowCompiler.Linux"
1687
1646
  };
1688
- var RESTORE_CSPROJ_TEMPLATE = `<Project Sdk="Microsoft.NET.Sdk">
1689
- <PropertyGroup>
1690
- <TargetFramework>net8.0</TargetFramework>
1691
- </PropertyGroup>
1692
- <ItemGroup>
1693
- <PackageReference Include="{packageId}" Version="{version}" />
1694
- </ItemGroup>
1695
- </Project>`;
1696
- var EMPTY_NUGET_CONFIG = `<?xml version="1.0" encoding="utf-8"?>
1697
- <configuration>
1698
- </configuration>`;
1699
1647
 
1700
1648
  class WorkflowCompilerPathResolver {
1701
1649
  logger;
@@ -1703,11 +1651,9 @@ class WorkflowCompilerPathResolver {
1703
1651
  static instance = null;
1704
1652
  cachedPath = null;
1705
1653
  pendingResolution = null;
1706
- tempStorage;
1707
1654
  constructor(logger, fileSystem) {
1708
1655
  this.logger = logger;
1709
1656
  this.fileSystem = fileSystem;
1710
- this.tempStorage = new TemporaryStorageService2(fileSystem);
1711
1657
  }
1712
1658
  static getInstance(logger, fileSystem) {
1713
1659
  if (!WorkflowCompilerPathResolver.instance) {
@@ -1748,7 +1694,7 @@ class WorkflowCompilerPathResolver {
1748
1694
  return compilerPath;
1749
1695
  }
1750
1696
  this.logger.info(translate3.t("toolWorkflowcompiler.pathResolver.info.notFoundStartingInstall"));
1751
- return this.restoreAndResolve(compilerPath, version);
1697
+ return this.downloadAndResolve(compilerPath, version);
1752
1698
  }
1753
1699
  async findInEnvLocation() {
1754
1700
  const location = process.env.UIPATH_WORKFLOWCOMPILER_LOCATION;
@@ -1761,42 +1707,84 @@ class WorkflowCompilerPathResolver {
1761
1707
  }
1762
1708
  return null;
1763
1709
  }
1764
- async restoreAndResolve(compilerPath, version) {
1710
+ async downloadAndResolve(compilerPath, version) {
1765
1711
  const packageId = this.getPackageId();
1766
- const tempDir = await this.tempStorage.getTempFolderPath();
1712
+ const packageDir = this.getNuGetPackageDir(version);
1713
+ const stagingDir = Path2.join(Path2.dirname(packageDir), `.download-${randomUUID()}`);
1767
1714
  try {
1768
- this.logger.info(translate3.t("toolWorkflowcompiler.pathResolver.info.restoringPackage", { packageName: packageId, version, platform: platform() }));
1769
- const csproj = RESTORE_CSPROJ_TEMPLATE.replace("{packageId}", packageId).replace("{version}", version);
1770
- await this.fileSystem.writeFile(Path2.join(tempDir, "restore.csproj"), csproj);
1771
- await this.fileSystem.writeFile(Path2.join(tempDir, "nuget.config"), EMPTY_NUGET_CONFIG);
1772
- this.logger.info(translate3.t("toolWorkflowcompiler.pathResolver.info.runningDotnetRestore"));
1773
- try {
1774
- execFileSync("dotnet", [
1775
- "restore",
1776
- "--source",
1777
- NUGET_FEED_URL,
1778
- "--source",
1779
- "https://api.nuget.org/v3/index.json"
1780
- ], {
1781
- cwd: tempDir,
1782
- stdio: "pipe"
1783
- });
1784
- } catch (error) {
1785
- const err = error;
1786
- const stderr = err?.stderr ? String(err.stderr).trim() : "";
1787
- const stdout = err?.stdout ? String(err.stdout).trim() : "";
1788
- const details = stderr || stdout || (error instanceof Error ? error.message : String(error));
1789
- throw new Error(translate3.t("toolWorkflowcompiler.pathResolver.errors.dotnetRestoreFailed", { details }));
1790
- }
1791
- this.logger.info(translate3.t("toolWorkflowcompiler.pathResolver.info.restoreCompleted"));
1792
- if (!await this.fileSystem.exists(compilerPath)) {
1793
- throw new Error(translate3.t("toolWorkflowcompiler.pathResolver.errors.compilerNotFoundAfterRestore"));
1715
+ const nupkg = await this.downloadPackage(packageId, version);
1716
+ await this.unpack(nupkg, stagingDir);
1717
+ if (!await this.fileSystem.exists(Path2.join(stagingDir, "WorkflowCompiler", WORKFLOW_COMPILER_DLL_NAME))) {
1718
+ throw new Error(translate3.t("toolWorkflowcompiler.pathResolver.errors.compilerNotInPackage", { packageName: packageId, version }));
1794
1719
  }
1720
+ await this.moveIntoPlace(stagingDir, packageDir, compilerPath);
1795
1721
  this.logger.info(translate3.t("toolWorkflowcompiler.pathResolver.info.installCompleted"));
1796
1722
  return compilerPath;
1797
1723
  } finally {
1798
- this.logger.info(translate3.t("toolWorkflowcompiler.pathResolver.info.cleaningUp"));
1799
- await this.tempStorage.cleanup();
1724
+ await this.fileSystem.rm(stagingDir).catch(() => {
1725
+ return;
1726
+ });
1727
+ }
1728
+ }
1729
+ async unpack(nupkg, stagingDir) {
1730
+ try {
1731
+ await new ZipService(this.fileSystem).extractAsync(nupkg, stagingDir);
1732
+ } catch (error) {
1733
+ throw new Error(translate3.t("toolWorkflowcompiler.pathResolver.errors.downloadFailed", { details: describeError(error) }));
1734
+ }
1735
+ }
1736
+ async downloadPackage(packageId, version) {
1737
+ const lowerId = packageId.toLowerCase();
1738
+ const lowerVersion = version.toLowerCase();
1739
+ try {
1740
+ const baseAddress = await this.getPackageBaseAddress();
1741
+ const url = `${baseAddress}/${lowerId}/${lowerVersion}/${lowerId}.${lowerVersion}.nupkg`;
1742
+ this.logger.info(translate3.t("toolWorkflowcompiler.pathResolver.info.downloadingPackage", {
1743
+ packageName: packageId,
1744
+ version,
1745
+ platform: platform(),
1746
+ url
1747
+ }));
1748
+ const response = await fetch(url, {
1749
+ signal: AbortSignal.timeout(DOWNLOAD_TIMEOUT_MS)
1750
+ });
1751
+ if (!response.ok) {
1752
+ throw new Error(`${url}: HTTP ${response.status} ${response.statusText}`);
1753
+ }
1754
+ return new Uint8Array(await response.arrayBuffer());
1755
+ } catch (error) {
1756
+ throw new Error(translate3.t("toolWorkflowcompiler.pathResolver.errors.downloadFailed", { details: describeError(error) }));
1757
+ }
1758
+ }
1759
+ async getPackageBaseAddress() {
1760
+ const response = await fetch(NUGET_FEED_URL, {
1761
+ signal: AbortSignal.timeout(DOWNLOAD_TIMEOUT_MS)
1762
+ });
1763
+ if (!response.ok) {
1764
+ throw new Error(`${NUGET_FEED_URL}: HTTP ${response.status} ${response.statusText}`);
1765
+ }
1766
+ const index = await response.json();
1767
+ const baseAddress = index.resources?.find((resource) => resource["@type"] === "PackageBaseAddress/3.0.0")?.["@id"];
1768
+ if (!baseAddress) {
1769
+ throw new Error(`${NUGET_FEED_URL} lists no PackageBaseAddress/3.0.0`);
1770
+ }
1771
+ return baseAddress.replace(/\/$/, "");
1772
+ }
1773
+ async moveIntoPlace(stagingDir, packageDir, compilerPath) {
1774
+ for (let attempt = 1;; attempt++) {
1775
+ try {
1776
+ await this.fileSystem.rename(stagingDir, packageDir);
1777
+ return;
1778
+ } catch (error) {
1779
+ if (await this.fileSystem.exists(compilerPath)) {
1780
+ return;
1781
+ }
1782
+ const code = error?.code;
1783
+ if (attempt >= RENAME_ATTEMPTS || typeof code !== "string" || !RENAME_RETRYABLE_CODES.has(code)) {
1784
+ throw new Error(translate3.t("toolWorkflowcompiler.pathResolver.errors.downloadFailed", { details: describeError(error) }));
1785
+ }
1786
+ await new Promise((resolve) => setTimeout(resolve, RENAME_RETRY_DELAY_MS * attempt));
1787
+ }
1800
1788
  }
1801
1789
  }
1802
1790
  getPackageId() {
@@ -1806,10 +1794,19 @@ class WorkflowCompilerPathResolver {
1806
1794
  }
1807
1795
  return packageId;
1808
1796
  }
1809
- getNuGetCompilerPath(version) {
1797
+ getNuGetPackageDir(version) {
1810
1798
  const cacheRoot = process.env.NUGET_PACKAGES ?? Path2.join(homedir(), ".nuget", "packages");
1811
- return Path2.join(cacheRoot, this.getPackageId().toLowerCase(), version.toLowerCase(), "WorkflowCompiler", WORKFLOW_COMPILER_DLL_NAME);
1799
+ return Path2.join(cacheRoot, this.getPackageId().toLowerCase(), version.toLowerCase());
1800
+ }
1801
+ getNuGetCompilerPath(version) {
1802
+ return Path2.join(this.getNuGetPackageDir(version), "WorkflowCompiler", WORKFLOW_COMPILER_DLL_NAME);
1803
+ }
1804
+ }
1805
+ function describeError(error) {
1806
+ if (!(error instanceof Error)) {
1807
+ return String(error);
1812
1808
  }
1809
+ return error.cause instanceof Error ? `${error.message}: ${error.cause.message}` : error.message;
1813
1810
  }
1814
1811
 
1815
1812
  // src/workflow-compiler-executor.ts
@@ -2513,7 +2510,7 @@ class WorkflowCompilerToolFactory {
2513
2510
  return WorkflowCompilerToolFactory.cachedDotnetAvailable;
2514
2511
  }
2515
2512
  try {
2516
- execSync("dotnet --version", {
2513
+ execSync("dotnet --list-runtimes", {
2517
2514
  stdio: ["ignore", "pipe", "ignore"]
2518
2515
  });
2519
2516
  WorkflowCompilerToolFactory.cachedDotnetAvailable = true;
@@ -2529,4 +2526,4 @@ export {
2529
2526
  setupWorkflowCompiler
2530
2527
  };
2531
2528
 
2532
- //# debugId=2BB1E047AB1059F064756E2164756E21
2529
+ //# debugId=B56078294E97DC6764756E2164756E21
@@ -1,4 +1,4 @@
1
- export declare const DEFAULT_WORKFLOW_COMPILER_VERSION = "26.0.202-cloud.24987";
1
+ export declare const DEFAULT_WORKFLOW_COMPILER_VERSION = "27.0.207-alpha.26343";
2
2
  /** The dotnet host used when no consumer pins one: whatever `dotnet` PATH resolves to. */
3
3
  export declare const DEFAULT_DOTNET_PATH = "dotnet";
4
4
  export declare const workflowCompilerConfig: {
@@ -12,7 +12,7 @@ export interface IWorkflowCompilerPathResolver {
12
12
  * 2. Explicit config path (`workflowCompilerConfig.workflowCompilerPath`)
13
13
  * 3. `UIPATH_WORKFLOWCOMPILER_LOCATION` env var — full path to .dll (pipelines / offline)
14
14
  * 4. NuGet global packages cache
15
- * 5. `dotnet restore` to populate NuGet cache, then (4) again
15
+ * 5. Download the package from the UiPath feed into that cache, then (4)
16
16
  */
17
17
  export declare class WorkflowCompilerPathResolver implements IWorkflowCompilerPathResolver {
18
18
  private readonly logger;
@@ -20,13 +20,25 @@ export declare class WorkflowCompilerPathResolver implements IWorkflowCompilerPa
20
20
  private static instance;
21
21
  private cachedPath;
22
22
  private pendingResolution;
23
- private readonly tempStorage;
24
23
  constructor(logger: IToolLogger, fileSystem: IFileSystem);
25
24
  static getInstance(logger: IToolLogger, fileSystem: IFileSystem): IWorkflowCompilerPathResolver;
26
25
  getCompilerPathAsync(): Promise<string>;
27
26
  private resolveCompilerPath;
28
27
  private findInEnvLocation;
29
- private restoreAndResolve;
28
+ /**
29
+ * Downloads the compiler package and unpacks it where NuGet would. It is
30
+ * a plain web request, so no .NET SDK is needed. The package is unpacked
31
+ * into a folder of its own and renamed into place, so a half-written one
32
+ * is never found in the cache.
33
+ */
34
+ private downloadAndResolve;
35
+ private unpack;
36
+ private downloadPackage;
37
+ /** The feed's flat container (NuGet v3 `PackageBaseAddress`), read from its service index. */
38
+ private getPackageBaseAddress;
39
+ private moveIntoPlace;
30
40
  private getPackageId;
41
+ /** Where NuGet keeps this version of the package: `<cache>/<id>/<version>`, both lowercase. */
42
+ private getNuGetPackageDir;
31
43
  private getNuGetCompilerPath;
32
44
  }
@@ -5,7 +5,7 @@ import { type IFileSystem, type IProjectToolFactory, type IToolLogger, type Proj
5
5
  */
6
6
  export declare class WorkflowCompilerToolFactory implements IProjectToolFactory {
7
7
  /**
8
- * Process-lifetime cache of a successful `dotnet --version` lookup.
8
+ * Process-lifetime cache of a successful `dotnet --list-runtimes` lookup.
9
9
  * Negative results are not cached so a one-off failure does not pin
10
10
  * the factory across the rest of the process.
11
11
  */
@@ -15,14 +15,13 @@ export declare class WorkflowCompilerToolFactory implements IProjectToolFactory
15
15
  createAsync(logger: IToolLogger, fileSystem: IFileSystem, context?: ProjectOperationContext): Promise<ProjectTool>;
16
16
  /**
17
17
  * True when the caller has supplied both the compiler and the dotnet host to
18
- * run it with — i.e. it resolved its own .NET and neither the NuGet-restore
19
- * fallback nor a machine-wide install is involved.
18
+ * run it with — i.e. it resolved its own .NET and neither the compiler
19
+ * download nor a machine-wide install is involved.
20
20
  *
21
- * The preflight below asks PATH for an SDK. A pinned host is typically a
22
- * runtime-only bundle (Studio/Robot ship the runtime, never the SDK), which
23
- * cannot answer `dotnet --version` at all — that is an SDK verb. Probing it
24
- * can therefore only reject a configuration that works, so a caller that has
25
- * pinned both is trusted and the tool is created unconditionally.
21
+ * The preflight below asks the `dotnet` on PATH, which a caller that has
22
+ * pinned both never runs. Probing it can therefore only reject a
23
+ * configuration that works, so such a caller is trusted and the tool is
24
+ * created unconditionally.
26
25
  */
27
26
  private isPinnedByCaller;
28
27
  private isDotnetAvailable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-workflowcompiler",
3
- "version": "1.207.0",
3
+ "version": "1.208.0-preview.410",
4
4
  "description": "UiPath Workflow Compiler tool implementation",
5
5
  "type": "module",
6
6
  "exports": {
@@ -21,8 +21,8 @@
21
21
  "author": "UiPath",
22
22
  "license": "SEE LICENSE IN LICENSE.txt",
23
23
  "peerDependencies": {
24
- "@uipath/solutionpackager-tool-core": "1.207.0"
24
+ "@uipath/solutionpackager-tool-core": "1.208.0"
25
25
  },
26
26
  "dependencies": {},
27
- "gitHead": "2d6579e5a7d675dd7ce547093bf2a8524af7b308"
27
+ "gitHead": "a0eb209136a06dba74ec06c23eae686e93e23187"
28
28
  }