@uipath/packager-tool-workflowcompiler-browser 0.0.33 → 1.197.0-preview.64
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 +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +173 -64
- package/dist/pack-result-processor.d.ts +2 -2
- package/dist/project-bundle-executor.d.ts +14 -5
- package/package.json +30 -59
- package/src/i18n/locales/de.json +6 -2
- package/src/i18n/locales/en.ts +8 -0
- package/src/i18n/locales/es-MX.json +6 -2
- package/src/i18n/locales/es.json +6 -2
- package/src/i18n/locales/fr.json +6 -2
- package/src/i18n/locales/ja.json +6 -2
- package/src/i18n/locales/ko.json +6 -2
- package/src/i18n/locales/pt-BR.json +6 -2
- package/src/i18n/locales/pt.json +6 -2
- package/src/i18n/locales/ro.json +6 -2
- package/src/i18n/locales/ru.json +6 -2
- package/src/i18n/locales/tr.json +6 -2
- package/src/i18n/locales/zh-CN.json +6 -2
- package/src/i18n/locales/zh-TW.json +6 -2
- package/src/i18n/locales/zu.json +6 -2
- package/src/index.ts +3 -5
- package/src/pack-result-processor.ts +3 -5
- package/src/packager-hub-connection.ts +15 -40
- package/src/project-bundle-executor.ts +146 -2
package/package.json
CHANGED
|
@@ -1,61 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
"files": [
|
|
39
|
-
"dist",
|
|
40
|
-
"!dist/**/*.map",
|
|
41
|
-
"src"
|
|
42
|
-
],
|
|
43
|
-
"author": "",
|
|
44
|
-
"license": "ISC",
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@microsoft/signalr": "^10.0.0"
|
|
47
|
-
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@uipath/solutionpackager-tool-core": "0.0.33"
|
|
50
|
-
},
|
|
51
|
-
"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",
|
|
56
|
-
"playwright": "^1.57.0",
|
|
57
|
-
"typescript": "^5.9.3",
|
|
58
|
-
"vitest": "^4.0.14"
|
|
59
|
-
},
|
|
60
|
-
"gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
|
|
2
|
+
"name": "@uipath/packager-tool-workflowcompiler-browser",
|
|
3
|
+
"version": "1.197.0-preview.64",
|
|
4
|
+
"description": "UiPath Workflow Compiler tool - browser implementation",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"source": "./src/index.ts",
|
|
9
|
+
"default": "./dist/index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/UiPath/cli.git",
|
|
15
|
+
"directory": "packages/packager/packager-tool-workflowcompiler-browser"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"registry": "https://registry.npmjs.org/"
|
|
19
|
+
},
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"src"
|
|
24
|
+
],
|
|
25
|
+
"author": "",
|
|
26
|
+
"license": "ISC",
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"@uipath/solutionpackager-tool-core": "1.197.0",
|
|
29
|
+
"@microsoft/signalr": ">=7 <11"
|
|
30
|
+
},
|
|
31
|
+
"gitHead": "3977b977945bf519336258da69fd271433eaaef4"
|
|
61
32
|
}
|
package/src/i18n/locales/de.json
CHANGED
|
@@ -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
|
}
|
package/src/i18n/locales/en.ts
CHANGED
|
@@ -21,6 +21,8 @@ export const en = {
|
|
|
21
21
|
deletingBucket: "Deleting temporary storage bucket {bucketId}",
|
|
22
22
|
copyingFiles:
|
|
23
23
|
"Copying {count} file(s) for project {designId} to {path}",
|
|
24
|
+
offloadingInputArguments:
|
|
25
|
+
"Input arguments are too large ({length} chars) to send inline; uploading them as a file attachment",
|
|
24
26
|
},
|
|
25
27
|
errors: {
|
|
26
28
|
missingConnectionInfo:
|
|
@@ -53,6 +55,12 @@ export const en = {
|
|
|
53
55
|
"Session timed out waiting for projects: received {received} of {expected} expected projects",
|
|
54
56
|
bundleOperationMismatch:
|
|
55
57
|
"Cannot mix {sessionOperation} and {entryOperation} in the same context",
|
|
58
|
+
createAttachmentFailed:
|
|
59
|
+
"Failed to create input arguments attachment ({status}): {errorText}",
|
|
60
|
+
attachmentResponseMalformed:
|
|
61
|
+
"Attachment creation response did not include an id and blob URI",
|
|
62
|
+
uploadInputArgumentsFailed:
|
|
63
|
+
"Failed to upload input arguments file ({status}): {statusText}",
|
|
56
64
|
},
|
|
57
65
|
},
|
|
58
66
|
} as const;
|
|
@@ -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": "Los argumentos de entrada son demasiado grandes ({length} caracteres) para enviarlos en línea; se cargarán como un archivo adjunto"
|
|
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": "No se pudo crear el archivo adjunto de argumentos de entrada ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "La respuesta de creación del archivo adjunto no incluía un id ni un URI de blob",
|
|
33
|
+
"uploadInputArgumentsFailed": "No se pudo cargar el archivo de argumentos de entrada ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/es.json
CHANGED
|
@@ -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": "Los argumentos de entrada son demasiado grandes ({length} caracteres) para enviarlos en línea; se cargarán como un archivo adjunto"
|
|
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": "No se pudo crear el archivo adjunto de argumentos de entrada ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "La respuesta de creación del archivo adjunto no incluía un id ni un URI de blob",
|
|
33
|
+
"uploadInputArgumentsFailed": "No se pudo cargar el archivo de argumentos de entrada ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/fr.json
CHANGED
|
@@ -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": "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"
|
|
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": "Échec de la création de la pièce jointe des arguments d'entrée ({status}) : {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "La réponse de création de la pièce jointe ne contenait pas d'id ni d'URI de blob",
|
|
33
|
+
"uploadInputArgumentsFailed": "Échec du chargement du fichier des arguments d'entrée ({status}) : {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/ja.json
CHANGED
|
@@ -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": "入力引数が大きすぎるため ({length} 文字)、インラインで送信できません。ファイル添付としてアップロードします"
|
|
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": "入力引数の添付ファイルの作成に失敗しました ({status}):{errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "添付ファイルの作成応答に id と blob URI が含まれていませんでした",
|
|
33
|
+
"uploadInputArgumentsFailed": "入力引数ファイルのアップロードに失敗しました ({status}):{statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/ko.json
CHANGED
|
@@ -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": "입력 인수가 너무 커서({length}자) 인라인으로 보낼 수 없습니다. 파일 첨부로 업로드합니다"
|
|
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": "입력 인수 첨부 파일을 만들지 못했습니다({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "첨부 파일 생성 응답에 id와 blob URI가 포함되어 있지 않습니다",
|
|
33
|
+
"uploadInputArgumentsFailed": "입력 인수 파일을 업로드하지 못했습니다({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
|
@@ -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": "Os argumentos de entrada são muito grandes ({length} caracteres) para serem enviados inline; eles serão carregados como um anexo de arquivo"
|
|
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": "Falha ao criar o anexo dos argumentos de entrada ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "A resposta de criação do anexo não incluiu um id nem uma URI de blob",
|
|
33
|
+
"uploadInputArgumentsFailed": "Falha ao fazer upload do arquivo de argumentos de entrada ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/pt.json
CHANGED
|
@@ -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": "Os argumentos de entrada são demasiado grandes ({length} carateres) para serem enviados inline; serão carregados como um anexo de ficheiro"
|
|
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": "Falha ao criar o anexo dos argumentos de entrada ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "A resposta de criação do anexo não incluía um id nem um URI de blob",
|
|
33
|
+
"uploadInputArgumentsFailed": "Falha ao carregar o ficheiro de argumentos de entrada ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/ro.json
CHANGED
|
@@ -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": "Argumentele de intrare sunt prea mari ({length} caractere) pentru a fi trimise inline; vor fi încărcate ca atașament de fișier"
|
|
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": "Crearea atașamentului cu argumentele de intrare a eșuat ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "Răspunsul de creare a atașamentului nu a inclus un id și un URI de blob",
|
|
33
|
+
"uploadInputArgumentsFailed": "Încărcarea fișierului cu argumentele de intrare a eșuat ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/ru.json
CHANGED
|
@@ -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": "Входные аргументы слишком велики ({length} символов) для встроенной отправки; они будут загружены как вложение файла"
|
|
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": "Не удалось создать вложение с входными аргументами ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "Ответ на создание вложения не содержал id и blob-URI",
|
|
33
|
+
"uploadInputArgumentsFailed": "Не удалось загрузить файл входных аргументов ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/tr.json
CHANGED
|
@@ -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": "Giriş bağımsız değişkenleri satır içi gönderilemeyecek kadar büyük ({length} karakter); dosya eki olarak yüklenecek"
|
|
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": "Giriş bağımsız değişkenleri eki oluşturulamadı ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "Ek oluşturma yanıtı bir kimlik ve blob URI'si içermiyordu",
|
|
33
|
+
"uploadInputArgumentsFailed": "Giriş bağımsız değişkenleri dosyası yüklenemedi ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
|
@@ -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": "输入参数过大({length} 个字符),无法内联发送;将作为文件附件上传"
|
|
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": "无法创建输入参数附件 ({status}):{errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "附件创建响应未包含 id 和 blob URI",
|
|
33
|
+
"uploadInputArgumentsFailed": "无法上传输入参数文件 ({status}):{statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
|
@@ -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": "輸入引數過大({length} 個字元),無法內嵌傳送;將以檔案附件形式上傳"
|
|
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": "無法建立輸入引數附件 ({status}):{errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "附件建立回應未包含 id 和 blob URI",
|
|
33
|
+
"uploadInputArgumentsFailed": "無法上傳輸入引數檔案 ({status}):{statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/i18n/locales/zu.json
CHANGED
|
@@ -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": "Izimpikiswano zokufaka zinkulu kakhulu ({length} izinhlamvu) ukuze zithunyelwe ngaphakathi; zizolayishwa njengesinamathiselo sefayela"
|
|
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": "Yehlulekile ukudala isinamathiselo sezimpikiswano zokufaka ({status}): {errorText}",
|
|
32
|
+
"attachmentResponseMalformed": "Impendulo yokudala isinamathiselo ayifakanga i-id ne-blob URI",
|
|
33
|
+
"uploadInputArgumentsFailed": "Yehlulekile ukulayisha ifayela lezimpikiswano zokufaka ({status}): {statusText}"
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { toolsFactoryRepository } from "@uipath/solutionpackager-tool-core";
|
|
2
1
|
import "./i18n/index.js";
|
|
3
|
-
import { WorkflowCompilerToolFactory } from "./workflow-compiler-tool-factory.js";
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
// Workflow Compiler (browser) tool factory. Consumers register it explicitly via
|
|
4
|
+
// `toolsFactoryRepository.registerProjectToolFactory(new WorkflowCompilerToolFactory())`.
|
|
5
|
+
export { WorkflowCompilerToolFactory } from "./workflow-compiler-tool-factory.js";
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
type IFileSystem,
|
|
4
4
|
type IProjectPackOptions,
|
|
5
5
|
type IToolLogger,
|
|
6
|
+
type IZipService,
|
|
6
7
|
type ProjectOperationContext,
|
|
7
8
|
ToolErrorCodes,
|
|
8
9
|
ToolResult,
|
|
@@ -22,14 +23,11 @@ interface ProjectResultEntry {
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
export class PackResultProcessor {
|
|
25
|
-
private readonly zipService: ZipService;
|
|
26
|
-
|
|
27
26
|
constructor(
|
|
28
27
|
private readonly fileSystem: IFileSystem,
|
|
29
28
|
private readonly logger?: IToolLogger,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
29
|
+
private readonly zipService: IZipService = new ZipService(fileSystem),
|
|
30
|
+
) {}
|
|
33
31
|
|
|
34
32
|
async processAsync(
|
|
35
33
|
bucketId: number,
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
} from "@microsoft/signalr";
|
|
7
7
|
import {
|
|
8
8
|
type IToolLogger,
|
|
9
|
-
LogLevel,
|
|
10
9
|
LogMessage,
|
|
11
10
|
translate,
|
|
12
11
|
} from "@uipath/solutionpackager-tool-core";
|
|
@@ -37,33 +36,6 @@ interface PackJobResult {
|
|
|
37
36
|
BucketId?: number;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
interface PackAgentLogMessage {
|
|
41
|
-
Message: string;
|
|
42
|
-
LogLevel: string;
|
|
43
|
-
Source?: string;
|
|
44
|
-
SourceTarget?: string;
|
|
45
|
-
Progress?: number;
|
|
46
|
-
Code?: string;
|
|
47
|
-
FilePath?: string;
|
|
48
|
-
Line?: string;
|
|
49
|
-
Id?: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function toLogLevel(level: string): LogLevel {
|
|
53
|
-
switch (level) {
|
|
54
|
-
case "Debug":
|
|
55
|
-
return LogLevel.Debug;
|
|
56
|
-
case "Information":
|
|
57
|
-
return LogLevel.Info;
|
|
58
|
-
case "Warning":
|
|
59
|
-
return LogLevel.Warn;
|
|
60
|
-
case "Error":
|
|
61
|
-
return LogLevel.Error;
|
|
62
|
-
default:
|
|
63
|
-
return LogLevel.Info;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
39
|
enum PackagerCommandType {
|
|
68
40
|
PeerDisconnected = "PeerDisconnected",
|
|
69
41
|
SetLogMessage = "SetLogMessage",
|
|
@@ -209,20 +181,23 @@ export class PackagerHubConnection {
|
|
|
209
181
|
private onLogMessage(jsonCommand: string): void {
|
|
210
182
|
if (!this.logger) return;
|
|
211
183
|
|
|
212
|
-
const command: ExecutorCommand<
|
|
213
|
-
JSON.parse(jsonCommand);
|
|
184
|
+
const command: ExecutorCommand<LogMessage> = JSON.parse(jsonCommand);
|
|
214
185
|
const agentLog = command.Argument1;
|
|
215
186
|
|
|
216
|
-
const
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
187
|
+
const logMessage = new LogMessage(
|
|
188
|
+
agentLog.message,
|
|
189
|
+
agentLog.logLevel,
|
|
190
|
+
{
|
|
191
|
+
source: agentLog.source,
|
|
192
|
+
sourceTarget: agentLog.sourceTarget,
|
|
193
|
+
progress: agentLog.progress,
|
|
194
|
+
code: agentLog.code,
|
|
195
|
+
filePath: agentLog.filePath,
|
|
196
|
+
line: agentLog.line,
|
|
197
|
+
id: agentLog.id,
|
|
198
|
+
},
|
|
199
|
+
agentLog.timestamp,
|
|
200
|
+
);
|
|
226
201
|
this.logger.logMessage(logMessage);
|
|
227
202
|
}
|
|
228
203
|
|