@uipath/packager-tool-workflowcompiler-browser 0.0.29 → 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.
- package/dist/i18n/locales/en.d.ts +8 -2
- package/dist/index.js +251 -128
- package/dist/pack-result-processor.d.ts +2 -2
- package/dist/project-bundle-executor.d.ts +25 -8
- package/dist/workflow-compiler-tool.d.ts +4 -3
- package/package.json +12 -29
- package/src/i18n/locales/de.json +6 -4
- package/src/i18n/locales/en.ts +16 -4
- package/src/i18n/locales/es-MX.json +6 -4
- package/src/i18n/locales/es.json +6 -4
- package/src/i18n/locales/fr.json +6 -4
- package/src/i18n/locales/ja.json +6 -4
- package/src/i18n/locales/ko.json +6 -4
- package/src/i18n/locales/pt-BR.json +6 -4
- package/src/i18n/locales/pt.json +6 -4
- package/src/i18n/locales/ro.json +6 -4
- package/src/i18n/locales/ru.json +6 -4
- package/src/i18n/locales/tr.json +6 -4
- package/src/i18n/locales/zh-CN.json +6 -4
- package/src/i18n/locales/zh-TW.json +6 -4
- package/src/i18n/locales/zu.json +6 -4
- package/src/pack-result-processor.ts +4 -6
- package/src/packager-hub-connection.ts +15 -40
- package/src/project-bundle-executor.ts +270 -40
- package/src/workflow-compiler-tool.ts +15 -9
package/dist/index.js
CHANGED
|
@@ -7,7 +7,6 @@ import { I18nManager } from "@uipath/solutionpackager-tool-core";
|
|
|
7
7
|
var de_default = {
|
|
8
8
|
toolWorkflowCompilerBrowser: {
|
|
9
9
|
info: {
|
|
10
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
11
10
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
12
11
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
13
12
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -15,14 +14,14 @@ var de_default = {
|
|
|
15
14
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
16
15
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
17
16
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
18
|
-
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"
|
|
19
19
|
},
|
|
20
20
|
errors: {
|
|
21
21
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
22
22
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
23
23
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
24
24
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
25
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
26
25
|
noResultForProject: "No result for project",
|
|
27
26
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
28
27
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -34,7 +33,10 @@ var de_default = {
|
|
|
34
33
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
35
34
|
noOutputForProject: "No output found for project {designId}",
|
|
36
35
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
37
|
-
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}"
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
};
|
|
@@ -43,22 +45,24 @@ var de_default = {
|
|
|
43
45
|
var en = {
|
|
44
46
|
toolWorkflowCompilerBrowser: {
|
|
45
47
|
info: {
|
|
46
|
-
|
|
48
|
+
startingRemoteAgent: "Starting remote {operation} agent for {count} project(s): {paths}",
|
|
47
49
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
48
50
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
49
51
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
50
52
|
extractingArchive: "Extracting archive ({size} bytes) to {path}",
|
|
51
53
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
54
|
+
skippingRemoteCompilation: "No connection info available — skipping remote compilation for workflow compiler projects",
|
|
52
55
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
53
56
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
54
|
-
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"
|
|
55
59
|
},
|
|
56
60
|
errors: {
|
|
57
61
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
58
62
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
59
63
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
60
64
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
61
|
-
|
|
65
|
+
agentFailed: "{operation} agent failed with status {status} (code {errorCode})",
|
|
62
66
|
noResultForProject: "No result for project",
|
|
63
67
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
64
68
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -70,7 +74,11 @@ var en = {
|
|
|
70
74
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
71
75
|
noOutputForProject: "No output found for project {designId}",
|
|
72
76
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
73
|
-
sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects"
|
|
77
|
+
sessionTimeout: "Session timed out waiting for projects: received {received} of {expected} expected projects",
|
|
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
|
};
|
|
@@ -78,7 +86,6 @@ var en = {
|
|
|
78
86
|
var es_default = {
|
|
79
87
|
toolWorkflowCompilerBrowser: {
|
|
80
88
|
info: {
|
|
81
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
82
89
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
83
90
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
84
91
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -86,14 +93,14 @@ var es_default = {
|
|
|
86
93
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
87
94
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
88
95
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
89
|
-
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"
|
|
90
98
|
},
|
|
91
99
|
errors: {
|
|
92
100
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
93
101
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
94
102
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
95
103
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
96
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
97
104
|
noResultForProject: "No result for project",
|
|
98
105
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
99
106
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -105,7 +112,10 @@ var es_default = {
|
|
|
105
112
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
106
113
|
noOutputForProject: "No output found for project {designId}",
|
|
107
114
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
108
|
-
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}"
|
|
109
119
|
}
|
|
110
120
|
}
|
|
111
121
|
};
|
|
@@ -113,7 +123,6 @@ var es_default = {
|
|
|
113
123
|
var es_MX_default = {
|
|
114
124
|
toolWorkflowCompilerBrowser: {
|
|
115
125
|
info: {
|
|
116
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
117
126
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
118
127
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
119
128
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -121,14 +130,14 @@ var es_MX_default = {
|
|
|
121
130
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
122
131
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
123
132
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
124
|
-
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"
|
|
125
135
|
},
|
|
126
136
|
errors: {
|
|
127
137
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
128
138
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
129
139
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
130
140
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
131
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
132
141
|
noResultForProject: "No result for project",
|
|
133
142
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
134
143
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -140,7 +149,10 @@ var es_MX_default = {
|
|
|
140
149
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
141
150
|
noOutputForProject: "No output found for project {designId}",
|
|
142
151
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
143
|
-
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}"
|
|
144
156
|
}
|
|
145
157
|
}
|
|
146
158
|
};
|
|
@@ -148,7 +160,6 @@ var es_MX_default = {
|
|
|
148
160
|
var fr_default = {
|
|
149
161
|
toolWorkflowCompilerBrowser: {
|
|
150
162
|
info: {
|
|
151
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
152
163
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
153
164
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
154
165
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -156,14 +167,14 @@ var fr_default = {
|
|
|
156
167
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
157
168
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
158
169
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
159
|
-
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"
|
|
160
172
|
},
|
|
161
173
|
errors: {
|
|
162
174
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
163
175
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
164
176
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
165
177
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
166
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
167
178
|
noResultForProject: "No result for project",
|
|
168
179
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
169
180
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -175,7 +186,10 @@ var fr_default = {
|
|
|
175
186
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
176
187
|
noOutputForProject: "No output found for project {designId}",
|
|
177
188
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
178
|
-
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}"
|
|
179
193
|
}
|
|
180
194
|
}
|
|
181
195
|
};
|
|
@@ -183,7 +197,6 @@ var fr_default = {
|
|
|
183
197
|
var ja_default = {
|
|
184
198
|
toolWorkflowCompilerBrowser: {
|
|
185
199
|
info: {
|
|
186
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
187
200
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
188
201
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
189
202
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -191,14 +204,14 @@ var ja_default = {
|
|
|
191
204
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
192
205
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
193
206
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
194
|
-
copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
|
|
207
|
+
copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
|
|
208
|
+
offloadingInputArguments: "入力引数が大きすぎるため ({length} 文字)、インラインで送信できません。ファイル添付としてアップロードします"
|
|
195
209
|
},
|
|
196
210
|
errors: {
|
|
197
211
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
198
212
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
199
213
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
200
214
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
201
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
202
215
|
noResultForProject: "No result for project",
|
|
203
216
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
204
217
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -210,7 +223,10 @@ var ja_default = {
|
|
|
210
223
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
211
224
|
noOutputForProject: "No output found for project {designId}",
|
|
212
225
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
213
|
-
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}"
|
|
214
230
|
}
|
|
215
231
|
}
|
|
216
232
|
};
|
|
@@ -218,7 +234,6 @@ var ja_default = {
|
|
|
218
234
|
var ko_default = {
|
|
219
235
|
toolWorkflowCompilerBrowser: {
|
|
220
236
|
info: {
|
|
221
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
222
237
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
223
238
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
224
239
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -226,14 +241,14 @@ var ko_default = {
|
|
|
226
241
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
227
242
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
228
243
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
229
|
-
copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
|
|
244
|
+
copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
|
|
245
|
+
offloadingInputArguments: "입력 인수가 너무 커서({length}자) 인라인으로 보낼 수 없습니다. 파일 첨부로 업로드합니다"
|
|
230
246
|
},
|
|
231
247
|
errors: {
|
|
232
248
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
233
249
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
234
250
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
235
251
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
236
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
237
252
|
noResultForProject: "No result for project",
|
|
238
253
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
239
254
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -245,7 +260,10 @@ var ko_default = {
|
|
|
245
260
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
246
261
|
noOutputForProject: "No output found for project {designId}",
|
|
247
262
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
248
|
-
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}"
|
|
249
267
|
}
|
|
250
268
|
}
|
|
251
269
|
};
|
|
@@ -253,7 +271,6 @@ var ko_default = {
|
|
|
253
271
|
var pt_default = {
|
|
254
272
|
toolWorkflowCompilerBrowser: {
|
|
255
273
|
info: {
|
|
256
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
257
274
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
258
275
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
259
276
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -261,14 +278,14 @@ var pt_default = {
|
|
|
261
278
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
262
279
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
263
280
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
264
|
-
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"
|
|
265
283
|
},
|
|
266
284
|
errors: {
|
|
267
285
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
268
286
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
269
287
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
270
288
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
271
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
272
289
|
noResultForProject: "No result for project",
|
|
273
290
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
274
291
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -280,7 +297,10 @@ var pt_default = {
|
|
|
280
297
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
281
298
|
noOutputForProject: "No output found for project {designId}",
|
|
282
299
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
283
|
-
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}"
|
|
284
304
|
}
|
|
285
305
|
}
|
|
286
306
|
};
|
|
@@ -288,7 +308,6 @@ var pt_default = {
|
|
|
288
308
|
var pt_BR_default = {
|
|
289
309
|
toolWorkflowCompilerBrowser: {
|
|
290
310
|
info: {
|
|
291
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
292
311
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
293
312
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
294
313
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -296,14 +315,14 @@ var pt_BR_default = {
|
|
|
296
315
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
297
316
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
298
317
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
299
|
-
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"
|
|
300
320
|
},
|
|
301
321
|
errors: {
|
|
302
322
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
303
323
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
304
324
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
305
325
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
306
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
307
326
|
noResultForProject: "No result for project",
|
|
308
327
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
309
328
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -315,7 +334,10 @@ var pt_BR_default = {
|
|
|
315
334
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
316
335
|
noOutputForProject: "No output found for project {designId}",
|
|
317
336
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
318
|
-
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}"
|
|
319
341
|
}
|
|
320
342
|
}
|
|
321
343
|
};
|
|
@@ -323,7 +345,6 @@ var pt_BR_default = {
|
|
|
323
345
|
var ro_default = {
|
|
324
346
|
toolWorkflowCompilerBrowser: {
|
|
325
347
|
info: {
|
|
326
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
327
348
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
328
349
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
329
350
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -331,14 +352,14 @@ var ro_default = {
|
|
|
331
352
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
332
353
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
333
354
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
334
|
-
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"
|
|
335
357
|
},
|
|
336
358
|
errors: {
|
|
337
359
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
338
360
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
339
361
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
340
362
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
341
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
342
363
|
noResultForProject: "No result for project",
|
|
343
364
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
344
365
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -350,7 +371,10 @@ var ro_default = {
|
|
|
350
371
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
351
372
|
noOutputForProject: "No output found for project {designId}",
|
|
352
373
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
353
|
-
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}"
|
|
354
378
|
}
|
|
355
379
|
}
|
|
356
380
|
};
|
|
@@ -358,7 +382,6 @@ var ro_default = {
|
|
|
358
382
|
var ru_default = {
|
|
359
383
|
toolWorkflowCompilerBrowser: {
|
|
360
384
|
info: {
|
|
361
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
362
385
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
363
386
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
364
387
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -366,14 +389,14 @@ var ru_default = {
|
|
|
366
389
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
367
390
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
368
391
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
369
|
-
copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
|
|
392
|
+
copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
|
|
393
|
+
offloadingInputArguments: "Входные аргументы слишком велики ({length} символов) для встроенной отправки; они будут загружены как вложение файла"
|
|
370
394
|
},
|
|
371
395
|
errors: {
|
|
372
396
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
373
397
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
374
398
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
375
399
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
376
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
377
400
|
noResultForProject: "No result for project",
|
|
378
401
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
379
402
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -385,7 +408,10 @@ var ru_default = {
|
|
|
385
408
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
386
409
|
noOutputForProject: "No output found for project {designId}",
|
|
387
410
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
388
|
-
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}"
|
|
389
415
|
}
|
|
390
416
|
}
|
|
391
417
|
};
|
|
@@ -393,7 +419,6 @@ var ru_default = {
|
|
|
393
419
|
var tr_default = {
|
|
394
420
|
toolWorkflowCompilerBrowser: {
|
|
395
421
|
info: {
|
|
396
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
397
422
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
398
423
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
399
424
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -401,14 +426,14 @@ var tr_default = {
|
|
|
401
426
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
402
427
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
403
428
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
404
|
-
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"
|
|
405
431
|
},
|
|
406
432
|
errors: {
|
|
407
433
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
408
434
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
409
435
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
410
436
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
411
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
412
437
|
noResultForProject: "No result for project",
|
|
413
438
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
414
439
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -420,7 +445,10 @@ var tr_default = {
|
|
|
420
445
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
421
446
|
noOutputForProject: "No output found for project {designId}",
|
|
422
447
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
423
|
-
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}"
|
|
424
452
|
}
|
|
425
453
|
}
|
|
426
454
|
};
|
|
@@ -428,7 +456,6 @@ var tr_default = {
|
|
|
428
456
|
var zh_CN_default = {
|
|
429
457
|
toolWorkflowCompilerBrowser: {
|
|
430
458
|
info: {
|
|
431
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
432
459
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
433
460
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
434
461
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -436,14 +463,14 @@ var zh_CN_default = {
|
|
|
436
463
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
437
464
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
438
465
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
439
|
-
copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
|
|
466
|
+
copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
|
|
467
|
+
offloadingInputArguments: "输入参数过大({length} 个字符),无法内联发送;将作为文件附件上传"
|
|
440
468
|
},
|
|
441
469
|
errors: {
|
|
442
470
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
443
471
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
444
472
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
445
473
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
446
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
447
474
|
noResultForProject: "No result for project",
|
|
448
475
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
449
476
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -455,7 +482,10 @@ var zh_CN_default = {
|
|
|
455
482
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
456
483
|
noOutputForProject: "No output found for project {designId}",
|
|
457
484
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
458
|
-
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}"
|
|
459
489
|
}
|
|
460
490
|
}
|
|
461
491
|
};
|
|
@@ -463,7 +493,6 @@ var zh_CN_default = {
|
|
|
463
493
|
var zh_TW_default = {
|
|
464
494
|
toolWorkflowCompilerBrowser: {
|
|
465
495
|
info: {
|
|
466
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
467
496
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
468
497
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
469
498
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -471,14 +500,14 @@ var zh_TW_default = {
|
|
|
471
500
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
472
501
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
473
502
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
474
|
-
copyingFiles: "Copying {count} file(s) for project {designId} to {path}"
|
|
503
|
+
copyingFiles: "Copying {count} file(s) for project {designId} to {path}",
|
|
504
|
+
offloadingInputArguments: "輸入引數過大({length} 個字元),無法內嵌傳送;將以檔案附件形式上傳"
|
|
475
505
|
},
|
|
476
506
|
errors: {
|
|
477
507
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
478
508
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
479
509
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
480
510
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
481
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
482
511
|
noResultForProject: "No result for project",
|
|
483
512
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
484
513
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -490,7 +519,10 @@ var zh_TW_default = {
|
|
|
490
519
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
491
520
|
noOutputForProject: "No output found for project {designId}",
|
|
492
521
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
493
|
-
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}"
|
|
494
526
|
}
|
|
495
527
|
}
|
|
496
528
|
};
|
|
@@ -498,7 +530,6 @@ var zh_TW_default = {
|
|
|
498
530
|
var zu_default = {
|
|
499
531
|
toolWorkflowCompilerBrowser: {
|
|
500
532
|
info: {
|
|
501
|
-
startingRemotePackAgent: "Starting remote pack agent for {count} project(s): {paths}",
|
|
502
533
|
connectingToHub: "Connecting to SignalR hub: {url}",
|
|
503
534
|
remoteAgentStartedExecution: "Remote agent started execution",
|
|
504
535
|
downloadingArchive: "Downloading pack result archive from bucket {bucketId}",
|
|
@@ -506,14 +537,14 @@ var zu_default = {
|
|
|
506
537
|
distributingPackages: "Distributing packages for {count} project(s)",
|
|
507
538
|
cleaningUpTempDir: "Cleaning up temporary directory {path}",
|
|
508
539
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
509
|
-
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"
|
|
510
542
|
},
|
|
511
543
|
errors: {
|
|
512
544
|
missingConnectionInfo: "Missing connection info (cloudUrl, accessToken, or folderId)",
|
|
513
545
|
signalRConnectionFailed: "Failed to connect to SignalR hub",
|
|
514
546
|
hubConnectionFailed: "Failed to connect to SignalR hub at {url}: {message}",
|
|
515
547
|
packSucceededNoBucket: "Pack succeeded but no BucketId was returned",
|
|
516
|
-
packAgentFailed: "Pack agent failed with status {status} (code {errorCode})",
|
|
517
548
|
noResultForProject: "No result for project",
|
|
518
549
|
beginSessionFailed: "BeginSession failed ({status}): {errorText}",
|
|
519
550
|
hubConnectionClosed: "Hub connection closed unexpectedly",
|
|
@@ -525,7 +556,10 @@ var zu_default = {
|
|
|
525
556
|
noMatchingProject: "No matching project found for path: {projectPath}",
|
|
526
557
|
noOutputForProject: "No output found for project {designId}",
|
|
527
558
|
distributePackagesFailed: "Failed to distribute packages for {designId}: {message}",
|
|
528
|
-
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}"
|
|
529
563
|
}
|
|
530
564
|
}
|
|
531
565
|
};
|
|
@@ -572,10 +606,10 @@ class PackResultProcessor {
|
|
|
572
606
|
fileSystem;
|
|
573
607
|
logger;
|
|
574
608
|
zipService;
|
|
575
|
-
constructor(fileSystem, logger) {
|
|
609
|
+
constructor(fileSystem, logger, zipService = new ZipService(fileSystem)) {
|
|
576
610
|
this.fileSystem = fileSystem;
|
|
577
611
|
this.logger = logger;
|
|
578
|
-
this.zipService =
|
|
612
|
+
this.zipService = zipService;
|
|
579
613
|
}
|
|
580
614
|
async processAsync(bucketId, projects, context) {
|
|
581
615
|
const connection = context.connection;
|
|
@@ -670,7 +704,7 @@ class PackResultProcessor {
|
|
|
670
704
|
}
|
|
671
705
|
async distributePackages(extractPath, projects, context, results) {
|
|
672
706
|
for (const [projectPath, entry] of projects) {
|
|
673
|
-
const project = context.
|
|
707
|
+
const project = context.projects.find((p) => p.ProjectPath === projectPath);
|
|
674
708
|
if (!project) {
|
|
675
709
|
results.set(projectPath, ToolResult.error("PackResultError", translate.t("toolWorkflowCompilerBrowser.errors.noMatchingProject", { projectPath })));
|
|
676
710
|
continue;
|
|
@@ -717,24 +751,9 @@ import {
|
|
|
717
751
|
HubConnectionState
|
|
718
752
|
} from "@microsoft/signalr";
|
|
719
753
|
import {
|
|
720
|
-
LogLevel,
|
|
721
754
|
LogMessage,
|
|
722
755
|
translate as translate2
|
|
723
756
|
} from "@uipath/solutionpackager-tool-core";
|
|
724
|
-
function toLogLevel(level) {
|
|
725
|
-
switch (level) {
|
|
726
|
-
case "Debug":
|
|
727
|
-
return LogLevel.Debug;
|
|
728
|
-
case "Information":
|
|
729
|
-
return LogLevel.Info;
|
|
730
|
-
case "Warning":
|
|
731
|
-
return LogLevel.Warn;
|
|
732
|
-
case "Error":
|
|
733
|
-
return LogLevel.Error;
|
|
734
|
-
default:
|
|
735
|
-
return LogLevel.Info;
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
757
|
class PackagerHubConnection {
|
|
739
758
|
logger;
|
|
740
759
|
hubConnection = null;
|
|
@@ -814,16 +833,15 @@ class PackagerHubConnection {
|
|
|
814
833
|
return;
|
|
815
834
|
const command = JSON.parse(jsonCommand);
|
|
816
835
|
const agentLog = command.Argument1;
|
|
817
|
-
const
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
});
|
|
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);
|
|
827
845
|
this.logger.logMessage(logMessage);
|
|
828
846
|
}
|
|
829
847
|
onExecutionCompleted(jsonCommand) {
|
|
@@ -851,6 +869,7 @@ class ProjectBundleExecutor {
|
|
|
851
869
|
toolFactory;
|
|
852
870
|
fileSystem;
|
|
853
871
|
static SESSION_TIMEOUT_MS = 1800000;
|
|
872
|
+
static MAX_INLINE_INPUT_ARGUMENTS_LENGTH = 1e4;
|
|
854
873
|
sessions = new Map;
|
|
855
874
|
pendingSessionCreations = new Map;
|
|
856
875
|
constructor(toolFactory, fileSystem) {
|
|
@@ -858,38 +877,58 @@ class ProjectBundleExecutor {
|
|
|
858
877
|
this.fileSystem = fileSystem;
|
|
859
878
|
}
|
|
860
879
|
async packAsync(options, context) {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
const promise = new Promise((r) => {
|
|
866
|
-
resolve = r;
|
|
880
|
+
return this.enqueueAsync(context, {
|
|
881
|
+
operation: "Pack" /* Pack */,
|
|
882
|
+
options,
|
|
883
|
+
resolve: () => {}
|
|
867
884
|
});
|
|
868
|
-
|
|
885
|
+
}
|
|
886
|
+
async validateAsync(options, context) {
|
|
887
|
+
return this.enqueueAsync(context, {
|
|
888
|
+
operation: "Validate" /* Validate */,
|
|
889
|
+
options,
|
|
890
|
+
resolve: () => {}
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
async enqueueAsync(context, entry) {
|
|
894
|
+
const projectPath = entry.options.projectPath;
|
|
895
|
+
context.logger?.info(`[BundleExecutor] ${entry.operation}Async called for project: ${projectPath}`);
|
|
896
|
+
const session = await this.getSessionAsync(context, entry.operation);
|
|
897
|
+
if (session.operation !== entry.operation) {
|
|
898
|
+
return ToolResult2.error("BundleOperationMismatch", translate3.t("toolWorkflowCompilerBrowser.errors.bundleOperationMismatch", {
|
|
899
|
+
sessionOperation: session.operation,
|
|
900
|
+
entryOperation: entry.operation
|
|
901
|
+
}));
|
|
902
|
+
}
|
|
903
|
+
const promise = new Promise((resolve) => {
|
|
904
|
+
entry.resolve = resolve;
|
|
905
|
+
});
|
|
906
|
+
session.projects.set(projectPath, entry);
|
|
869
907
|
const allReceived = session.projects.size === session.expectedCount;
|
|
870
|
-
context.logger?.info(`[BundleExecutor] session: ${session.projects.size}/${session.expectedCount} projects received. allReceived=${allReceived}`);
|
|
908
|
+
context.logger?.info(`[BundleExecutor] session (${session.operation}): ${session.projects.size}/${session.expectedCount} projects received. allReceived=${allReceived}`);
|
|
871
909
|
if (allReceived) {
|
|
872
910
|
clearTimeout(session.timeout);
|
|
873
|
-
await this.
|
|
911
|
+
await this.runAgentAsync(session, context);
|
|
874
912
|
this.sessions.delete(context.id);
|
|
875
913
|
}
|
|
876
914
|
return promise;
|
|
877
915
|
}
|
|
878
|
-
getSessionAsync(context) {
|
|
916
|
+
getSessionAsync(context, operation) {
|
|
879
917
|
const existing = this.sessions.get(context.id);
|
|
880
918
|
if (existing) {
|
|
881
919
|
return Promise.resolve(existing);
|
|
882
920
|
}
|
|
883
921
|
let pending = this.pendingSessionCreations.get(context.id);
|
|
884
922
|
if (!pending) {
|
|
885
|
-
pending = this.createSessionAsync(context);
|
|
923
|
+
pending = this.createSessionAsync(context, operation);
|
|
886
924
|
this.pendingSessionCreations.set(context.id, pending);
|
|
887
925
|
}
|
|
888
926
|
return pending;
|
|
889
927
|
}
|
|
890
|
-
async createSessionAsync(context) {
|
|
928
|
+
async createSessionAsync(context, operation) {
|
|
891
929
|
const expectedCount = this.countCompatibleProjects(context);
|
|
892
930
|
const session = {
|
|
931
|
+
operation,
|
|
893
932
|
expectedCount,
|
|
894
933
|
projects: new Map
|
|
895
934
|
};
|
|
@@ -907,9 +946,10 @@ class ProjectBundleExecutor {
|
|
|
907
946
|
this.pendingSessionCreations.delete(context.id);
|
|
908
947
|
return session;
|
|
909
948
|
}
|
|
910
|
-
async
|
|
949
|
+
async runAgentAsync(session, context) {
|
|
911
950
|
const projectPaths = [...session.projects.keys()];
|
|
912
|
-
context.logger?.info(translate3.t("toolWorkflowCompilerBrowser.info.
|
|
951
|
+
context.logger?.info(translate3.t("toolWorkflowCompilerBrowser.info.startingRemoteAgent", {
|
|
952
|
+
operation: session.operation,
|
|
913
953
|
count: session.expectedCount,
|
|
914
954
|
paths: projectPaths.join(", ")
|
|
915
955
|
}));
|
|
@@ -931,11 +971,11 @@ class ProjectBundleExecutor {
|
|
|
931
971
|
context.logger?.info(`[BundleExecutor] BeginSession succeeded. Waiting for completion...`);
|
|
932
972
|
const result = await hubConnection.waitForCompletionAsync();
|
|
933
973
|
context.logger?.info(`[BundleExecutor] Got result: errorCode=${result.errorCode}, status=${result.status}, message=${result.message}, bucketId=${result.bucketId}`);
|
|
934
|
-
await this.
|
|
974
|
+
await this.handleAgentResultAsync(result, session, context);
|
|
935
975
|
} catch (error) {
|
|
936
976
|
const message = error instanceof Error ? error.message : String(error);
|
|
937
|
-
context.logger?.error(`[BundleExecutor]
|
|
938
|
-
this.resolveAll(session, ToolResult2.error(
|
|
977
|
+
context.logger?.error(`[BundleExecutor] runAgentAsync caught error: ${message}`);
|
|
978
|
+
this.resolveAll(session, ToolResult2.error(`${session.operation}AgentError`, message));
|
|
939
979
|
} finally {
|
|
940
980
|
await hubConnection.disconnectAsync();
|
|
941
981
|
}
|
|
@@ -956,20 +996,34 @@ class ProjectBundleExecutor {
|
|
|
956
996
|
return null;
|
|
957
997
|
}
|
|
958
998
|
}
|
|
959
|
-
async
|
|
999
|
+
async handleAgentResultAsync(result, session, context) {
|
|
960
1000
|
if (result.errorCode !== 0 || result.status !== 0 /* Succeeded */) {
|
|
961
|
-
this.resolveAll(session, ToolResult2.error(
|
|
1001
|
+
this.resolveAll(session, ToolResult2.error(`${session.operation}AgentError`, result.message ?? translate3.t("toolWorkflowCompilerBrowser.errors.agentFailed", {
|
|
1002
|
+
operation: session.operation,
|
|
962
1003
|
status: result.status,
|
|
963
1004
|
errorCode: result.errorCode
|
|
964
1005
|
})));
|
|
965
1006
|
return;
|
|
966
1007
|
}
|
|
1008
|
+
if (session.operation === "Pack" /* Pack */) {
|
|
1009
|
+
await this.handlePackBucketAsync(result, session, context);
|
|
1010
|
+
return;
|
|
1011
|
+
}
|
|
1012
|
+
this.resolveAll(session, ToolResult2.success());
|
|
1013
|
+
}
|
|
1014
|
+
async handlePackBucketAsync(result, session, context) {
|
|
967
1015
|
if (result.bucketId == null) {
|
|
968
1016
|
this.resolveAll(session, ToolResult2.error("PackAgentError", translate3.t("toolWorkflowCompilerBrowser.errors.packSucceededNoBucket")));
|
|
969
1017
|
return;
|
|
970
1018
|
}
|
|
1019
|
+
const packEntries = new Map;
|
|
1020
|
+
for (const [projectPath, entry] of session.projects) {
|
|
1021
|
+
if (entry.operation === "Pack" /* Pack */) {
|
|
1022
|
+
packEntries.set(projectPath, { options: entry.options });
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
971
1025
|
const resultProcessor = new PackResultProcessor(this.fileSystem, context.logger);
|
|
972
|
-
const perProjectResults = await resultProcessor.processAsync(result.bucketId,
|
|
1026
|
+
const perProjectResults = await resultProcessor.processAsync(result.bucketId, packEntries, context);
|
|
973
1027
|
for (const [projectPath, entry] of session.projects) {
|
|
974
1028
|
const projectResult = perProjectResults.get(projectPath);
|
|
975
1029
|
entry.resolve(projectResult ?? ToolResult2.error("PackResultError", translate3.t("toolWorkflowCompilerBrowser.errors.noResultForProject")));
|
|
@@ -980,43 +1034,67 @@ class ProjectBundleExecutor {
|
|
|
980
1034
|
const url = `${relativeBase}/orchestrator_/api/serverless/jobs`;
|
|
981
1035
|
context.logger?.info(`[BundleExecutor] BeginSession URL: ${url}`);
|
|
982
1036
|
const firstEntry = session.projects.values().next().value;
|
|
983
|
-
const pkg = firstEntry.options.package;
|
|
984
1037
|
const opts = firstEntry.options;
|
|
985
1038
|
const rpaProjects = [...session.projects.entries()].map(([projectPath, entry]) => {
|
|
986
|
-
const project = context.
|
|
1039
|
+
const project = context.projects.find((p) => p.ProjectPath === projectPath);
|
|
987
1040
|
return {
|
|
988
1041
|
RelativePath: project?.ProjectRelativePath ?? "",
|
|
989
1042
|
DesignId: project?.Id ?? "",
|
|
990
|
-
|
|
1043
|
+
ProjectStorageId: entry.operation === "Pack" /* Pack */ ? entry.options.projectStorageId ?? "" : "",
|
|
1044
|
+
PackageId: entry.operation === "Pack" /* Pack */ ? entry.options.package.id : ""
|
|
991
1045
|
};
|
|
992
1046
|
});
|
|
993
|
-
const executorInfo =
|
|
994
|
-
Command:
|
|
1047
|
+
const executorInfo = {
|
|
1048
|
+
Command: session.operation,
|
|
995
1049
|
SupportedProtocolVersions: ["2.0"],
|
|
996
|
-
ProjectId: "",
|
|
997
1050
|
DownloadUrl: context.downloadUrl ?? "",
|
|
998
1051
|
SessionId: sessionId,
|
|
999
1052
|
ProfileKey: "StudioWeb",
|
|
1000
1053
|
LicenseType: "Development",
|
|
1001
1054
|
LogLevel: opts.logLevel ?? "Warning",
|
|
1002
|
-
Name: pkg.id,
|
|
1003
|
-
Configuration: context.configuration,
|
|
1004
1055
|
Culture: "en-US",
|
|
1005
|
-
|
|
1006
|
-
Author: pkg.author ?? "",
|
|
1007
|
-
Description: pkg.description ?? "",
|
|
1056
|
+
DownloadTimeoutInSeconds: 300,
|
|
1008
1057
|
SkipAnalyze: String(opts.skipAnalyze),
|
|
1009
1058
|
SkipValidate: String(opts.skipValidate),
|
|
1010
1059
|
TargetFramework: context.targetFramework,
|
|
1011
1060
|
RpaProjects: rpaProjects,
|
|
1012
1061
|
WorkflowCompilerVersion: context.workflowCompilerVersion ?? ""
|
|
1013
|
-
}
|
|
1062
|
+
};
|
|
1063
|
+
if (firstEntry.operation === "Pack" /* Pack */) {
|
|
1064
|
+
executorInfo.Configuration = context.configuration;
|
|
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
|
+
};
|
|
1080
|
+
executorInfo.Name = pkg.id;
|
|
1081
|
+
executorInfo.Version = pkg.version;
|
|
1082
|
+
executorInfo.Author = pkg.author ?? "";
|
|
1083
|
+
executorInfo.Description = pkg.description ?? "";
|
|
1084
|
+
executorInfo.ReleaseNotes = pkg.releaseNotes ?? "";
|
|
1085
|
+
}
|
|
1086
|
+
const inputArguments = JSON.stringify(executorInfo);
|
|
1014
1087
|
const body = {
|
|
1015
1088
|
source: "StudioWeb",
|
|
1016
1089
|
targetFramework: context.targetFramework,
|
|
1017
|
-
jobType: "PublishStudioProject"
|
|
1018
|
-
inputArguments: executorInfo
|
|
1090
|
+
jobType: "PublishStudioProject"
|
|
1019
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
|
+
}
|
|
1020
1098
|
const headers = {
|
|
1021
1099
|
"Content-Type": "application/json",
|
|
1022
1100
|
Authorization: `Bearer ${connection.accessToken}`,
|
|
@@ -1035,19 +1113,63 @@ class ProjectBundleExecutor {
|
|
|
1035
1113
|
throw new Error(translate3.t("toolWorkflowCompilerBrowser.errors.beginSessionFailed", { status: response.status, errorText }));
|
|
1036
1114
|
}
|
|
1037
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
|
+
}
|
|
1038
1159
|
resolveAll(session, result) {
|
|
1039
1160
|
for (const [, entry] of session.projects) {
|
|
1040
1161
|
entry.resolve(result);
|
|
1041
1162
|
}
|
|
1042
1163
|
}
|
|
1043
1164
|
countCompatibleProjects(context) {
|
|
1044
|
-
return context.
|
|
1165
|
+
return context.projects.filter((p) => p.ProjectPath != null && this.toolFactory.supportedTypes.includes(p.Type)).length;
|
|
1045
1166
|
}
|
|
1046
1167
|
}
|
|
1047
1168
|
|
|
1048
1169
|
// src/workflow-compiler-tool.ts
|
|
1049
1170
|
import {
|
|
1050
1171
|
ProjectTool,
|
|
1172
|
+
ToolErrorCodes as ToolErrorCodes2,
|
|
1051
1173
|
ToolResult as ToolResult3
|
|
1052
1174
|
} from "@uipath/solutionpackager-tool-core";
|
|
1053
1175
|
|
|
@@ -1063,9 +1185,11 @@ class WorkflowCompilerTool extends ProjectTool {
|
|
|
1063
1185
|
this.logger.warn("Restore operation is not supported in browser environment");
|
|
1064
1186
|
return ToolResult3.success();
|
|
1065
1187
|
}
|
|
1066
|
-
async validateAsync(
|
|
1067
|
-
this.
|
|
1068
|
-
|
|
1188
|
+
async validateAsync(options, _cancellationToken) {
|
|
1189
|
+
if (!this.context) {
|
|
1190
|
+
return ToolResult3.error(ToolErrorCodes2.InternalError, "Validate operation requires a project operation context");
|
|
1191
|
+
}
|
|
1192
|
+
return this.bundleExecutor.validateAsync(options, this.context);
|
|
1069
1193
|
}
|
|
1070
1194
|
async buildAsync(_options, _cancellationToken) {
|
|
1071
1195
|
this.logger.warn("Build operation is not supported in browser environment");
|
|
@@ -1073,8 +1197,7 @@ class WorkflowCompilerTool extends ProjectTool {
|
|
|
1073
1197
|
}
|
|
1074
1198
|
async packAsync(options, _cancellationToken) {
|
|
1075
1199
|
if (!this.context) {
|
|
1076
|
-
|
|
1077
|
-
return ToolResult3.success();
|
|
1200
|
+
return ToolResult3.error(ToolErrorCodes2.InternalError, "Pack operation requires a project operation context");
|
|
1078
1201
|
}
|
|
1079
1202
|
return this.bundleExecutor.packAsync(options, this.context);
|
|
1080
1203
|
}
|