@uipath/packager-tool-workflowcompiler-browser 0.0.33 → 1.196.0

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.
@@ -15,6 +15,7 @@ export declare const en: {
15
15
  readonly cleaningUpTempDir: "Cleaning up temporary directory {path}";
16
16
  readonly deletingBucket: "Deleting temporary storage bucket {bucketId}";
17
17
  readonly copyingFiles: "Copying {count} file(s) for project {designId} to {path}";
18
+ readonly offloadingInputArguments: "Input arguments are too large ({length} chars) to send inline; uploading them as a file attachment";
18
19
  };
19
20
  readonly errors: {
20
21
  readonly missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)";
@@ -35,6 +36,9 @@ export declare const en: {
35
36
  readonly distributePackagesFailed: "Failed to distribute packages for {designId}: {message}";
36
37
  readonly sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects";
37
38
  readonly bundleOperationMismatch: "Cannot mix {sessionOperation} and {entryOperation} in the same context";
39
+ readonly createAttachmentFailed: "Failed to create input arguments attachment ({status}): {errorText}";
40
+ readonly attachmentResponseMalformed: "Attachment creation response did not include an id and blob URI";
41
+ readonly uploadInputArgumentsFailed: "Failed to upload input arguments file ({status}): {statusText}";
38
42
  };
39
43
  };
40
44
  };
package/dist/index.js CHANGED
@@ -14,7 +14,8 @@ var de_default = {
14
14
  distributingPackages: "Distributing packages for {count} project(s)",
15
15
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
16
16
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
17
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
17
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
18
+ offloadingInputArguments: "Eingabeargumente sind zu groß ({length} Zeichen), um sie inline zu senden; sie werden als Dateianhang hochgeladen"
18
19
  },
19
20
  errors: {
20
21
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -32,7 +33,10 @@ var de_default = {
32
33
  noMatchingProject: "No matching project found for path: {projectPath}",
33
34
  noOutputForProject: "No output found for project {designId}",
34
35
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
35
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
36
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
37
+ createAttachmentFailed: "Anhang für Eingabeargumente konnte nicht erstellt werden ({status}): {errorText}",
38
+ attachmentResponseMalformed: "Die Antwort auf die Anhangerstellung enthielt keine ID und keine Blob-URI",
39
+ uploadInputArgumentsFailed: "Datei mit Eingabeargumenten konnte nicht hochgeladen werden ({status}): {statusText}"
36
40
  }
37
41
  }
38
42
  };
@@ -50,7 +54,8 @@ var en = {
50
54
  skippingRemoteCompilation: "No connection info available — skipping remote compilation for workflow compiler projects",
51
55
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
52
56
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
53
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
57
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
58
+ offloadingInputArguments: "Input arguments are too large ({length} chars) to send inline; uploading them as a file attachment"
54
59
  },
55
60
  errors: {
56
61
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -70,7 +75,10 @@ var en = {
70
75
  noOutputForProject: "No output found for project {designId}",
71
76
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
72
77
  sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
73
- bundleOperationMismatch: "Cannot mix {sessionOperation} and {entryOperation} in the same context"
78
+ bundleOperationMismatch: "Cannot mix {sessionOperation} and {entryOperation} in the same context",
79
+ createAttachmentFailed: "Failed to create input arguments attachment ({status}): {errorText}",
80
+ attachmentResponseMalformed: "Attachment creation response did not include an id and blob URI",
81
+ uploadInputArgumentsFailed: "Failed to upload input arguments file ({status}): {statusText}"
74
82
  }
75
83
  }
76
84
  };
@@ -85,7 +93,8 @@ var es_default = {
85
93
  distributingPackages: "Distributing packages for {count} project(s)",
86
94
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
87
95
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
88
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
96
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
97
+ offloadingInputArguments: "Los argumentos de entrada son demasiado grandes ({length} caracteres) para enviarlos en línea; se cargarán como un archivo adjunto"
89
98
  },
90
99
  errors: {
91
100
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -103,7 +112,10 @@ var es_default = {
103
112
  noMatchingProject: "No matching project found for path: {projectPath}",
104
113
  noOutputForProject: "No output found for project {designId}",
105
114
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
106
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
115
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
116
+ createAttachmentFailed: "No se pudo crear el archivo adjunto de argumentos de entrada ({status}): {errorText}",
117
+ attachmentResponseMalformed: "La respuesta de creación del archivo adjunto no incluía un id ni un URI de blob",
118
+ uploadInputArgumentsFailed: "No se pudo cargar el archivo de argumentos de entrada ({status}): {statusText}"
107
119
  }
108
120
  }
109
121
  };
@@ -118,7 +130,8 @@ var es_MX_default = {
118
130
  distributingPackages: "Distributing packages for {count} project(s)",
119
131
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
120
132
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
121
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
133
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
134
+ offloadingInputArguments: "Los argumentos de entrada son demasiado grandes ({length} caracteres) para enviarlos en línea; se cargarán como un archivo adjunto"
122
135
  },
123
136
  errors: {
124
137
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -136,7 +149,10 @@ var es_MX_default = {
136
149
  noMatchingProject: "No matching project found for path: {projectPath}",
137
150
  noOutputForProject: "No output found for project {designId}",
138
151
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
139
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
152
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
153
+ createAttachmentFailed: "No se pudo crear el archivo adjunto de argumentos de entrada ({status}): {errorText}",
154
+ attachmentResponseMalformed: "La respuesta de creación del archivo adjunto no incluía un id ni un URI de blob",
155
+ uploadInputArgumentsFailed: "No se pudo cargar el archivo de argumentos de entrada ({status}): {statusText}"
140
156
  }
141
157
  }
142
158
  };
@@ -151,7 +167,8 @@ var fr_default = {
151
167
  distributingPackages: "Distributing packages for {count} project(s)",
152
168
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
153
169
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
154
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
170
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
171
+ offloadingInputArguments: "Les arguments d'entrée sont trop volumineux ({length} caractères) pour être envoyés en ligne ; ils seront chargés en tant que pièce jointe"
155
172
  },
156
173
  errors: {
157
174
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -169,7 +186,10 @@ var fr_default = {
169
186
  noMatchingProject: "No matching project found for path: {projectPath}",
170
187
  noOutputForProject: "No output found for project {designId}",
171
188
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
172
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
189
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
190
+ createAttachmentFailed: "Échec de la création de la pièce jointe des arguments d'entrée ({status}) : {errorText}",
191
+ attachmentResponseMalformed: "La réponse de création de la pièce jointe ne contenait pas d'id ni d'URI de blob",
192
+ uploadInputArgumentsFailed: "Échec du chargement du fichier des arguments d'entrée ({status}) : {statusText}"
173
193
  }
174
194
  }
175
195
  };
@@ -184,7 +204,8 @@ var ja_default = {
184
204
  distributingPackages: "Distributing packages for {count} project(s)",
185
205
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
186
206
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
187
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
207
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
208
+ offloadingInputArguments: "入力引数が大きすぎるため ({length} 文字)、インラインで送信できません。ファイル添付としてアップロードします"
188
209
  },
189
210
  errors: {
190
211
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -202,7 +223,10 @@ var ja_default = {
202
223
  noMatchingProject: "No matching project found for path: {projectPath}",
203
224
  noOutputForProject: "No output found for project {designId}",
204
225
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
205
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
226
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
227
+ createAttachmentFailed: "入力引数の添付ファイルの作成に失敗しました ({status}):{errorText}",
228
+ attachmentResponseMalformed: "添付ファイルの作成応答に id と blob URI が含まれていませんでした",
229
+ uploadInputArgumentsFailed: "入力引数ファイルのアップロードに失敗しました ({status}):{statusText}"
206
230
  }
207
231
  }
208
232
  };
@@ -217,7 +241,8 @@ var ko_default = {
217
241
  distributingPackages: "Distributing packages for {count} project(s)",
218
242
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
219
243
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
220
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
244
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
245
+ offloadingInputArguments: "입력 인수가 너무 커서({length}자) 인라인으로 보낼 수 없습니다. 파일 첨부로 업로드합니다"
221
246
  },
222
247
  errors: {
223
248
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -235,7 +260,10 @@ var ko_default = {
235
260
  noMatchingProject: "No matching project found for path: {projectPath}",
236
261
  noOutputForProject: "No output found for project {designId}",
237
262
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
238
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
263
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
264
+ createAttachmentFailed: "입력 인수 첨부 파일을 만들지 못했습니다({status}): {errorText}",
265
+ attachmentResponseMalformed: "첨부 파일 생성 응답에 id와 blob URI가 포함되어 있지 않습니다",
266
+ uploadInputArgumentsFailed: "입력 인수 파일을 업로드하지 못했습니다({status}): {statusText}"
239
267
  }
240
268
  }
241
269
  };
@@ -250,7 +278,8 @@ var pt_default = {
250
278
  distributingPackages: "Distributing packages for {count} project(s)",
251
279
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
252
280
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
253
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
281
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
282
+ offloadingInputArguments: "Os argumentos de entrada são demasiado grandes ({length} carateres) para serem enviados inline; serão carregados como um anexo de ficheiro"
254
283
  },
255
284
  errors: {
256
285
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -268,7 +297,10 @@ var pt_default = {
268
297
  noMatchingProject: "No matching project found for path: {projectPath}",
269
298
  noOutputForProject: "No output found for project {designId}",
270
299
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
271
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
300
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
301
+ createAttachmentFailed: "Falha ao criar o anexo dos argumentos de entrada ({status}): {errorText}",
302
+ attachmentResponseMalformed: "A resposta de criação do anexo não incluía um id nem um URI de blob",
303
+ uploadInputArgumentsFailed: "Falha ao carregar o ficheiro de argumentos de entrada ({status}): {statusText}"
272
304
  }
273
305
  }
274
306
  };
@@ -283,7 +315,8 @@ var pt_BR_default = {
283
315
  distributingPackages: "Distributing packages for {count} project(s)",
284
316
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
285
317
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
286
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
318
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
319
+ offloadingInputArguments: "Os argumentos de entrada são muito grandes ({length} caracteres) para serem enviados inline; eles serão carregados como um anexo de arquivo"
287
320
  },
288
321
  errors: {
289
322
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -301,7 +334,10 @@ var pt_BR_default = {
301
334
  noMatchingProject: "No matching project found for path: {projectPath}",
302
335
  noOutputForProject: "No output found for project {designId}",
303
336
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
304
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
337
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
338
+ createAttachmentFailed: "Falha ao criar o anexo dos argumentos de entrada ({status}): {errorText}",
339
+ attachmentResponseMalformed: "A resposta de criação do anexo não incluiu um id nem uma URI de blob",
340
+ uploadInputArgumentsFailed: "Falha ao fazer upload do arquivo de argumentos de entrada ({status}): {statusText}"
305
341
  }
306
342
  }
307
343
  };
@@ -316,7 +352,8 @@ var ro_default = {
316
352
  distributingPackages: "Distributing packages for {count} project(s)",
317
353
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
318
354
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
319
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
355
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
356
+ offloadingInputArguments: "Argumentele de intrare sunt prea mari ({length} caractere) pentru a fi trimise inline; vor fi încărcate ca atașament de fișier"
320
357
  },
321
358
  errors: {
322
359
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -334,7 +371,10 @@ var ro_default = {
334
371
  noMatchingProject: "No matching project found for path: {projectPath}",
335
372
  noOutputForProject: "No output found for project {designId}",
336
373
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
337
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
374
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
375
+ createAttachmentFailed: "Crearea atașamentului cu argumentele de intrare a eșuat ({status}): {errorText}",
376
+ attachmentResponseMalformed: "Răspunsul de creare a atașamentului nu a inclus un id și un URI de blob",
377
+ uploadInputArgumentsFailed: "Încărcarea fișierului cu argumentele de intrare a eșuat ({status}): {statusText}"
338
378
  }
339
379
  }
340
380
  };
@@ -349,7 +389,8 @@ var ru_default = {
349
389
  distributingPackages: "Distributing packages for {count} project(s)",
350
390
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
351
391
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
352
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
392
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
393
+ offloadingInputArguments: "Входные аргументы слишком велики ({length} символов) для встроенной отправки; они будут загружены как вложение файла"
353
394
  },
354
395
  errors: {
355
396
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -367,7 +408,10 @@ var ru_default = {
367
408
  noMatchingProject: "No matching project found for path: {projectPath}",
368
409
  noOutputForProject: "No output found for project {designId}",
369
410
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
370
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
411
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
412
+ createAttachmentFailed: "Не удалось создать вложение с входными аргументами ({status}): {errorText}",
413
+ attachmentResponseMalformed: "Ответ на создание вложения не содержал id и blob-URI",
414
+ uploadInputArgumentsFailed: "Не удалось загрузить файл входных аргументов ({status}): {statusText}"
371
415
  }
372
416
  }
373
417
  };
@@ -382,7 +426,8 @@ var tr_default = {
382
426
  distributingPackages: "Distributing packages for {count} project(s)",
383
427
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
384
428
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
385
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
429
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
430
+ offloadingInputArguments: "Giriş bağımsız değişkenleri satır içi gönderilemeyecek kadar büyük ({length} karakter); dosya eki olarak yüklenecek"
386
431
  },
387
432
  errors: {
388
433
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -400,7 +445,10 @@ var tr_default = {
400
445
  noMatchingProject: "No matching project found for path: {projectPath}",
401
446
  noOutputForProject: "No output found for project {designId}",
402
447
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
403
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
448
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
449
+ createAttachmentFailed: "Giriş bağımsız değişkenleri eki oluşturulamadı ({status}): {errorText}",
450
+ attachmentResponseMalformed: "Ek oluşturma yanıtı bir kimlik ve blob URI'si içermiyordu",
451
+ uploadInputArgumentsFailed: "Giriş bağımsız değişkenleri dosyası yüklenemedi ({status}): {statusText}"
404
452
  }
405
453
  }
406
454
  };
@@ -415,7 +463,8 @@ var zh_CN_default = {
415
463
  distributingPackages: "Distributing packages for {count} project(s)",
416
464
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
417
465
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
418
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
466
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
467
+ offloadingInputArguments: "输入参数过大({length} 个字符),无法内联发送;将作为文件附件上传"
419
468
  },
420
469
  errors: {
421
470
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -433,7 +482,10 @@ var zh_CN_default = {
433
482
  noMatchingProject: "No matching project found for path: {projectPath}",
434
483
  noOutputForProject: "No output found for project {designId}",
435
484
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
436
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
485
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
486
+ createAttachmentFailed: "无法创建输入参数附件 ({status}):{errorText}",
487
+ attachmentResponseMalformed: "附件创建响应未包含 id 和 blob URI",
488
+ uploadInputArgumentsFailed: "无法上传输入参数文件 ({status}):{statusText}"
437
489
  }
438
490
  }
439
491
  };
@@ -448,7 +500,8 @@ var zh_TW_default = {
448
500
  distributingPackages: "Distributing packages for {count} project(s)",
449
501
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
450
502
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
451
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
503
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
504
+ offloadingInputArguments: "輸入引數過大({length} 個字元),無法內嵌傳送;將以檔案附件形式上傳"
452
505
  },
453
506
  errors: {
454
507
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -466,7 +519,10 @@ var zh_TW_default = {
466
519
  noMatchingProject: "No matching project found for path: {projectPath}",
467
520
  noOutputForProject: "No output found for project {designId}",
468
521
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
469
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
522
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
523
+ createAttachmentFailed: "無法建立輸入引數附件 ({status}):{errorText}",
524
+ attachmentResponseMalformed: "附件建立回應未包含 id 和 blob URI",
525
+ uploadInputArgumentsFailed: "無法上傳輸入引數檔案 ({status}):{statusText}"
470
526
  }
471
527
  }
472
528
  };
@@ -481,7 +537,8 @@ var zu_default = {
481
537
  distributingPackages: "Distributing packages for {count} project(s)",
482
538
  cleaningUpTempDir: "Cleaning up temporary directory {path}",
483
539
  deletingBucket: "Deleting temporary storage bucket {bucketId}",
484
- copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
540
+ copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
541
+ offloadingInputArguments: "Izimpikiswano zokufaka zinkulu kakhulu ({length} izinhlamvu) ukuze zithunyelwe ngaphakathi; zizolayishwa njengesinamathiselo sefayela"
485
542
  },
486
543
  errors: {
487
544
  missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -499,7 +556,10 @@ var zu_default = {
499
556
  noMatchingProject: "No matching project found for path: {projectPath}",
500
557
  noOutputForProject: "No output found for project {designId}",
501
558
  distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
502
- sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
559
+ sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
560
+ createAttachmentFailed: "Yehlulekile ukudala isinamathiselo sezimpikiswano zokufaka ({status}): {errorText}",
561
+ attachmentResponseMalformed: "Impendulo yokudala isinamathiselo ayifakanga i-id ne-blob URI",
562
+ uploadInputArgumentsFailed: "Yehlulekile ukulayisha ifayela lezimpikiswano zokufaka ({status}): {statusText}"
503
563
  }
504
564
  }
505
565
  };
@@ -546,10 +606,10 @@ class PackResultProcessor {
546
606
  fileSystem;
547
607
  logger;
548
608
  zipService;
549
- constructor(fileSystem, logger) {
609
+ constructor(fileSystem, logger, zipService = new ZipService(fileSystem)) {
550
610
  this.fileSystem = fileSystem;
551
611
  this.logger = logger;
552
- this.zipService = new ZipService(fileSystem);
612
+ this.zipService = zipService;
553
613
  }
554
614
  async processAsync(bucketId, projects, context) {
555
615
  const connection = context.connection;
@@ -691,24 +751,9 @@ import {
691
751
  HubConnectionState
692
752
  } from "@microsoft/signalr";
693
753
  import {
694
- LogLevel,
695
754
  LogMessage,
696
755
  translate as translate2
697
756
  } from "@uipath/solutionpackager-tool-core";
698
- function toLogLevel(level) {
699
- switch (level) {
700
- case "Debug":
701
- return LogLevel.Debug;
702
- case "Information":
703
- return LogLevel.Info;
704
- case "Warning":
705
- return LogLevel.Warn;
706
- case "Error":
707
- return LogLevel.Error;
708
- default:
709
- return LogLevel.Info;
710
- }
711
- }
712
757
  class PackagerHubConnection {
713
758
  logger;
714
759
  hubConnection = null;
@@ -788,16 +833,15 @@ class PackagerHubConnection {
788
833
  return;
789
834
  const command = JSON.parse(jsonCommand);
790
835
  const agentLog = command.Argument1;
791
- const logLevel = toLogLevel(agentLog.LogLevel);
792
- const logMessage = new LogMessage(agentLog.Message, logLevel, {
793
- source: agentLog.Source,
794
- sourceTarget: agentLog.SourceTarget,
795
- progress: agentLog.Progress,
796
- code: agentLog.Code,
797
- filePath: agentLog.FilePath,
798
- line: agentLog.Line,
799
- id: agentLog.Id
800
- });
836
+ const logMessage = new LogMessage(agentLog.message, agentLog.logLevel, {
837
+ source: agentLog.source,
838
+ sourceTarget: agentLog.sourceTarget,
839
+ progress: agentLog.progress,
840
+ code: agentLog.code,
841
+ filePath: agentLog.filePath,
842
+ line: agentLog.line,
843
+ id: agentLog.id
844
+ }, agentLog.timestamp);
801
845
  this.logger.logMessage(logMessage);
802
846
  }
803
847
  onExecutionCompleted(jsonCommand) {
@@ -825,6 +869,7 @@ class ProjectBundleExecutor {
825
869
  toolFactory;
826
870
  fileSystem;
827
871
  static SESSION_TIMEOUT_MS = 1800000;
872
+ static MAX_INLINE_INPUT_ARGUMENTS_LENGTH = 1e4;
828
873
  sessions = new Map;
829
874
  pendingSessionCreations = new Map;
830
875
  constructor(toolFactory, fileSystem) {
@@ -995,6 +1040,7 @@ class ProjectBundleExecutor {
995
1040
  return {
996
1041
  RelativePath: project?.ProjectRelativePath ?? "",
997
1042
  DesignId: project?.Id ?? "",
1043
+ ProjectStorageId: entry.operation === "Pack" /* Pack */ ? entry.options.projectStorageId ?? "" : "",
998
1044
  PackageId: entry.operation === "Pack" /* Pack */ ? entry.options.package.id : ""
999
1045
  };
1000
1046
  });
@@ -1017,17 +1063,38 @@ class ProjectBundleExecutor {
1017
1063
  if (firstEntry.operation === "Pack" /* Pack */) {
1018
1064
  executorInfo.Configuration = context.configuration;
1019
1065
  const pkg = firstEntry.options.package;
1066
+ executorInfo.Package = {
1067
+ Name: pkg.id,
1068
+ Version: pkg.version,
1069
+ Author: pkg.author ?? "",
1070
+ Description: pkg.description ?? "",
1071
+ ReleaseNotes: pkg.releaseNotes ?? "",
1072
+ Tags: pkg.tags ?? "",
1073
+ IconUrl: pkg.iconUrl ?? "",
1074
+ ProjectUrl: pkg.projectUrl ?? "",
1075
+ RepositoryType: pkg.repositoryType ?? "",
1076
+ RepositoryUrl: pkg.repositoryUrl ?? "",
1077
+ RepositoryBranch: pkg.repositoryBranch ?? "",
1078
+ RepositoryCommit: pkg.repositoryCommit ?? ""
1079
+ };
1020
1080
  executorInfo.Name = pkg.id;
1021
1081
  executorInfo.Version = pkg.version;
1022
1082
  executorInfo.Author = pkg.author ?? "";
1023
1083
  executorInfo.Description = pkg.description ?? "";
1084
+ executorInfo.ReleaseNotes = pkg.releaseNotes ?? "";
1024
1085
  }
1086
+ const inputArguments = JSON.stringify(executorInfo);
1025
1087
  const body = {
1026
1088
  source: "StudioWeb",
1027
1089
  targetFramework: context.targetFramework,
1028
- jobType: "PublishStudioProject",
1029
- inputArguments: JSON.stringify(executorInfo)
1090
+ jobType: "PublishStudioProject"
1030
1091
  };
1092
+ if (inputArguments.length > ProjectBundleExecutor.MAX_INLINE_INPUT_ARGUMENTS_LENGTH) {
1093
+ context.logger?.info(translate3.t("toolWorkflowCompilerBrowser.info.offloadingInputArguments", { length: inputArguments.length }));
1094
+ body.inputFile = await this.uploadInputArgumentsFileAsync(inputArguments, connection, context.logger);
1095
+ } else {
1096
+ body.inputArguments = inputArguments;
1097
+ }
1031
1098
  const headers = {
1032
1099
  "Content-Type": "application/json",
1033
1100
  Authorization: `Bearer ${connection.accessToken}`,
@@ -1046,6 +1113,49 @@ class ProjectBundleExecutor {
1046
1113
  throw new Error(translate3.t("toolWorkflowCompilerBrowser.errors.beginSessionFailed", { status: response.status, errorText }));
1047
1114
  }
1048
1115
  }
1116
+ async uploadInputArgumentsFileAsync(inputArguments, connection, logger) {
1117
+ const baseUrl = toRelativeUrl2(connection.cloudUrl);
1118
+ const attachmentsUrl = `${baseUrl}/orchestrator_/odata/Attachments`;
1119
+ const headers = {
1120
+ "Content-Type": "application/json",
1121
+ Authorization: `Bearer ${connection.accessToken}`,
1122
+ "X-UIPATH-OrganizationUnitId": connection.folderId ?? ""
1123
+ };
1124
+ if (connection.tenantId) {
1125
+ headers["x-uipath-tenantid"] = connection.tenantId;
1126
+ }
1127
+ const createResponse = await fetch(attachmentsUrl, {
1128
+ method: "POST",
1129
+ headers,
1130
+ body: JSON.stringify({ name: "input.json" })
1131
+ });
1132
+ if (!createResponse.ok) {
1133
+ const errorText = await createResponse.text();
1134
+ throw new Error(translate3.t("toolWorkflowCompilerBrowser.errors.createAttachmentFailed", { status: createResponse.status, errorText }));
1135
+ }
1136
+ const attachment = await createResponse.json();
1137
+ const attachmentId = attachment.Id ?? attachment.id ?? "";
1138
+ const writeUri = attachment.BlobFileAccess?.Uri ?? attachment.blobFileAccess?.Uri;
1139
+ if (!attachmentId || !writeUri) {
1140
+ throw new Error(translate3.t("toolWorkflowCompilerBrowser.errors.attachmentResponseMalformed"));
1141
+ }
1142
+ const uploadResponse = await fetch(writeUri, {
1143
+ method: "PUT",
1144
+ headers: {
1145
+ "Content-Type": "application/octet-stream",
1146
+ "x-ms-blob-type": "BlockBlob"
1147
+ },
1148
+ body: inputArguments
1149
+ });
1150
+ if (!uploadResponse.ok) {
1151
+ throw new Error(translate3.t("toolWorkflowCompilerBrowser.errors.uploadInputArgumentsFailed", {
1152
+ status: uploadResponse.status,
1153
+ statusText: uploadResponse.statusText
1154
+ }));
1155
+ }
1156
+ logger?.info(`[BundleExecutor] Uploaded input arguments as attachment ${attachmentId}`);
1157
+ return attachmentId;
1158
+ }
1049
1159
  resolveAll(session, result) {
1050
1160
  for (const [, entry] of session.projects) {
1051
1161
  entry.resolve(result);
@@ -1,4 +1,4 @@
1
- import { type IFileSystem, type IProjectPackOptions, type IToolLogger, type ProjectOperationContext, ToolResult } from "@uipath/solutionpackager-tool-core";
1
+ import { type IFileSystem, type IProjectPackOptions, type IToolLogger, type IZipService, type ProjectOperationContext, ToolResult } from "@uipath/solutionpackager-tool-core";
2
2
  interface ProjectResultEntry {
3
3
  options: IProjectPackOptions;
4
4
  }
@@ -6,7 +6,7 @@ export declare class PackResultProcessor {
6
6
  private readonly fileSystem;
7
7
  private readonly logger?;
8
8
  private readonly zipService;
9
- constructor(fileSystem: IFileSystem, logger?: IToolLogger | undefined);
9
+ constructor(fileSystem: IFileSystem, logger?: IToolLogger | undefined, zipService?: IZipService);
10
10
  processAsync(bucketId: number, projects: Map<string, ProjectResultEntry>, context: ProjectOperationContext): Promise<Map<string, ToolResult>>;
11
11
  private downloadArchiveAsync;
12
12
  private deleteBucketAsync;
@@ -7,15 +7,16 @@ export interface IProjectBundleExecutor {
7
7
  packAsync(options: IProjectPackOptions, context: ProjectOperationContext): Promise<ToolResult>;
8
8
  validateAsync(options: IProjectValidateOptions, context: ProjectOperationContext): Promise<ToolResult>;
9
9
  }
10
- /**
11
- * Coordinates pack or validate of multiple projects within a single operation context.
12
- * Waits until all compatible projects have submitted their options,
13
- * then executes a single bundled remote-agent operation and resolves all pending promises.
14
- */
15
10
  export declare class ProjectBundleExecutor implements IProjectBundleExecutor {
16
11
  private readonly toolFactory;
17
12
  private readonly fileSystem;
18
13
  static readonly SESSION_TIMEOUT_MS = 1800000;
14
+ /**
15
+ * Maximum length (in characters) of the inline `inputArguments` payload
16
+ * accepted by the serverless jobs endpoint. Beyond this the arguments must
17
+ * be uploaded as a file attachment and referenced via `inputFile`.
18
+ */
19
+ static readonly MAX_INLINE_INPUT_ARGUMENTS_LENGTH = 10000;
19
20
  private readonly sessions;
20
21
  private readonly pendingSessionCreations;
21
22
  constructor(toolFactory: IProjectToolFactory, fileSystem: IFileSystem);
@@ -29,6 +30,14 @@ export declare class ProjectBundleExecutor implements IProjectBundleExecutor {
29
30
  private handleAgentResultAsync;
30
31
  private handlePackBucketAsync;
31
32
  private sendBeginSessionAsync;
33
+ /**
34
+ * Uploads the input arguments JSON as a file attachment and returns the
35
+ * attachment id, to be passed as `inputFile` on the serverless job request.
36
+ * Mirrors the two-step flow used by the Orchestrator UI: create the
37
+ * attachment (which returns a signed blob write URI) then PUT the contents
38
+ * to that URI using the storage-provided headers.
39
+ */
40
+ private uploadInputArgumentsFileAsync;
32
41
  private resolveAll;
33
42
  private countCompatibleProjects;
34
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-workflowcompiler-browser",
3
- "version": "0.0.33",
3
+ "version": "1.196.0",
4
4
  "description": "UiPath Workflow Compiler tool - browser implementation",
5
5
  "type": "module",
6
6
  "exports": {
@@ -18,23 +18,6 @@
18
18
  "registry": "https://registry.npmjs.org/"
19
19
  },
20
20
  "types": "./dist/index.d.ts",
21
- "scripts": {
22
- "build": "bun build ./src/index.ts --outdir dist --format esm --target browser --external @uipath/solutionpackager-tool-core --external @microsoft/signalr && tsc --emitDeclarationOnly --outDir dist",
23
- "dev": "bun build ./src/index.ts --outdir dist --format esm --target browser --external @uipath/solutionpackager-tool-core --external @microsoft/signalr --watch",
24
- "test": "vitest run",
25
- "test:browser": "vitest run --config=vitest.browser.config.ts",
26
- "test:coverage": "vitest run --coverage",
27
- "test:browser:coverage": "vitest run --config=vitest.browser.config.ts --coverage",
28
- "test:all": "bun run test && bun run test:browser",
29
- "test:all:coverage": "bun run test:coverage && bun run test:browser:coverage",
30
- "prepack": "bun run build",
31
- "publish:dry": "bun publish --dry-run",
32
- "publish:gh": "bun publish",
33
- "version:patch": "bun version patch --no-git-tag-version",
34
- "version:minor": "bun version minor --no-git-tag-version",
35
- "version:major": "bun version major --no-git-tag-version",
36
- "lint": "biome check ."
37
- },
38
21
  "files": [
39
22
  "dist",
40
23
  "!dist/**/*.map",
@@ -42,20 +25,19 @@
42
25
  ],
43
26
  "author": "",
44
27
  "license": "ISC",
45
- "dependencies": {
46
- "@microsoft/signalr": "^10.0.0"
47
- },
48
28
  "peerDependencies": {
49
- "@uipath/solutionpackager-tool-core": "0.0.33"
29
+ "@uipath/solutionpackager-tool-core": "1.196.0",
30
+ "@microsoft/signalr": ">=7 <11"
50
31
  },
51
32
  "devDependencies": {
52
- "@uipath/solutionpackager-tool-core": "0.0.33",
53
- "@vitest/browser": "^4.0.14",
54
- "@vitest/browser-playwright": "^4.0.14",
55
- "@vitest/coverage-v8": "^4.0.14",
33
+ "@microsoft/signalr": "^10.0.0",
34
+ "@uipath/solutionpackager-tool-core": "1.196.0",
35
+ "@vitest/browser": "^4.1.6",
36
+ "@vitest/browser-playwright": "^4.1.6",
37
+ "@vitest/coverage-v8": "^4.1.6",
56
38
  "playwright": "^1.57.0",
57
- "typescript": "^5.9.3",
58
- "vitest": "^4.0.14"
39
+ "typescript": "^6.0.2",
40
+ "vitest": "^4.1.6"
59
41
  },
60
- "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
42
+ "gitHead": "bed2b46f1ec33a47a7dcae2e6d4b7ab99bd06981"
61
43
  }
@@ -8,7 +8,8 @@
8
8
  "distributingPackages": "Distributing packages for {count} project(s)",
9
9
  "cleaningUpTempDir": "Cleaning up temporary directory {path}",
10
10
  "deletingBucket": "Deleting temporary storage bucket {bucketId}",
11
- "copyingFiles": "Copying {count} file(s) for project {designId} to {path}"
11
+ "copyingFiles": "Copying {count} file(s) for project {designId} to {path}",
12
+ "offloadingInputArguments": "Eingabeargumente sind zu groß ({length} Zeichen), um sie inline zu senden; sie werden als Dateianhang hochgeladen"
12
13
  },
13
14
  "errors": {
14
15
  "missingConnectionInfo": "Missing connection info (cloudUrl, accessToken, or folderId)",
@@ -26,7 +27,10 @@
26
27
  "noMatchingProject": "No matching project found for path: {projectPath}",
27
28
  "noOutputForProject": "No output found for project {designId}",
28
29
  "distributePackagesFailed": "Failed to distribute packages for {designId}: {message}",
29
- "sessionTimeout": "Session timed out waiting for projects: received {received} of {expected} expected projects"
30
+ "sessionTimeout": "Session timed out waiting for projects: received {received} of {expected} expected projects",
31
+ "createAttachmentFailed": "Anhang für Eingabeargumente konnte nicht erstellt werden ({status}): {errorText}",
32
+ "attachmentResponseMalformed": "Die Antwort auf die Anhangerstellung enthielt keine ID und keine Blob-URI",
33
+ "uploadInputArgumentsFailed": "Datei mit Eingabeargumenten konnte nicht hochgeladen werden ({status}): {statusText}"
30
34
  }
31
35
  }
32
36
  }