@uipath/packager-tool-workflowcompiler 0.0.14
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/index.d.ts +7 -0
- package/dist/i18n/locales/en.d.ts +46 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1213 -0
- package/dist/output-entry.d.ts +42 -0
- package/dist/workflow-compiler-config.d.ts +23 -0
- package/dist/workflow-compiler-executor.d.ts +30 -0
- package/dist/workflow-compiler-path-resolver.d.ts +30 -0
- package/dist/workflow-compiler-tool-factory.d.ts +9 -0
- package/dist/workflow-compiler-tool.d.ts +17 -0
- package/package.json +54 -0
- package/src/i18n/index.ts +45 -0
- package/src/i18n/locales/de.json +40 -0
- package/src/i18n/locales/en.ts +60 -0
- package/src/i18n/locales/es-MX.json +40 -0
- package/src/i18n/locales/es.json +40 -0
- package/src/i18n/locales/fr.json +40 -0
- package/src/i18n/locales/ja.json +40 -0
- package/src/i18n/locales/ko.json +40 -0
- package/src/i18n/locales/pt-BR.json +40 -0
- package/src/i18n/locales/pt.json +40 -0
- package/src/i18n/locales/ro.json +40 -0
- package/src/i18n/locales/ru.json +40 -0
- package/src/i18n/locales/tr.json +40 -0
- package/src/i18n/locales/zh-CN.json +40 -0
- package/src/i18n/locales/zh-TW.json +40 -0
- package/src/i18n/locales/zu.json +40 -0
- package/src/index.ts +22 -0
- package/src/output-entry.ts +46 -0
- package/src/workflow-compiler-config.ts +32 -0
- package/src/workflow-compiler-executor.ts +386 -0
- package/src/workflow-compiler-path-resolver.ts +311 -0
- package/src/workflow-compiler-tool-factory.ts +29 -0
- package/src/workflow-compiler-tool.ts +187 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message type from workflow compiler output
|
|
3
|
+
*/
|
|
4
|
+
export declare enum OutputMessageType {
|
|
5
|
+
Log = "Log",
|
|
6
|
+
Progress = "Progress",
|
|
7
|
+
Result = "Result"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Base output message from workflow compiler
|
|
11
|
+
*/
|
|
12
|
+
export interface IOutputMessage {
|
|
13
|
+
type: OutputMessageType;
|
|
14
|
+
toolId?: string;
|
|
15
|
+
inputId?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Log message from workflow compiler output
|
|
19
|
+
*/
|
|
20
|
+
export interface IOutputLog extends IOutputMessage {
|
|
21
|
+
type: OutputMessageType.Log;
|
|
22
|
+
message: string;
|
|
23
|
+
logLevel: "Information" | "Warning" | "Error";
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Progress update from workflow compiler output
|
|
27
|
+
*/
|
|
28
|
+
export interface IOutputProgress extends IOutputMessage {
|
|
29
|
+
type: OutputMessageType.Progress;
|
|
30
|
+
percentage?: number;
|
|
31
|
+
message?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Result from workflow compiler execution
|
|
35
|
+
*/
|
|
36
|
+
export interface IOutputResult extends IOutputMessage {
|
|
37
|
+
type: OutputMessageType.Result;
|
|
38
|
+
errorCode: string;
|
|
39
|
+
message?: string;
|
|
40
|
+
outputPackages: string[];
|
|
41
|
+
elapsed?: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const DEFAULT_WORKFLOW_COMPILER_VERSION = "26.0.0-alpha.22366";
|
|
2
|
+
export declare const workflowCompilerConfig: {
|
|
3
|
+
workflowCompilerPath: string | undefined;
|
|
4
|
+
workflowCompilerVersion: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Configure the workflow compiler tool.
|
|
8
|
+
*
|
|
9
|
+
* @param options.compilerPath - Explicit path to the compiler executable (skips all resolution logic).
|
|
10
|
+
* @param options.version - NuGet package version to download. Defaults to {@link DEFAULT_WORKFLOW_COMPILER_VERSION}.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { setupWorkflowCompiler } from "@uipath/packager-tool-workflowcompiler";
|
|
15
|
+
*
|
|
16
|
+
* setupWorkflowCompiler({ compilerPath: "/path/to/UiPath.WorkflowCompiler.exe" });
|
|
17
|
+
* setupWorkflowCompiler({ version: "26.0.0-alpha.22366" });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function setupWorkflowCompiler(options: {
|
|
21
|
+
compilerPath?: string;
|
|
22
|
+
version?: string;
|
|
23
|
+
}): void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type IFileSystem, type IToolLogger, ToolResult } from "@uipath/solutionpackager-tool-core";
|
|
2
|
+
/**
|
|
3
|
+
* Executor for running workflow compiler commands as child processes.
|
|
4
|
+
* Handles process spawning, output parsing, and logging.
|
|
5
|
+
*/
|
|
6
|
+
export declare class WorkflowCompilerExecutor {
|
|
7
|
+
private readonly logger;
|
|
8
|
+
private static readonly DOTNET_EXECUTABLE;
|
|
9
|
+
private readonly pathResolver;
|
|
10
|
+
constructor(logger: IToolLogger, fileSystem: IFileSystem);
|
|
11
|
+
/**
|
|
12
|
+
* Execute a workflow compiler command
|
|
13
|
+
* @param operation - Operation name (e.g., 'restore', 'build', 'pack', 'validate')
|
|
14
|
+
* @param args - Additional command arguments
|
|
15
|
+
* @param cancellationToken - Optional cancellation token
|
|
16
|
+
* @returns Promise resolving to ToolResult
|
|
17
|
+
*/
|
|
18
|
+
executeAsync(operation: string, args: string[], cancellationToken?: AbortSignal): Promise<ToolResult>;
|
|
19
|
+
protected spawnProcess(command: string, args: string[]): import("node:child_process").ChildProcessByStdio<null, import("node:stream").Readable, import("node:stream").Readable>;
|
|
20
|
+
private logCommandStart;
|
|
21
|
+
private setupStdoutHandling;
|
|
22
|
+
private processOutputLine;
|
|
23
|
+
private logMessage;
|
|
24
|
+
private logProgress;
|
|
25
|
+
private setupStderrHandling;
|
|
26
|
+
private processErrorLine;
|
|
27
|
+
private setupProcessEventHandlers;
|
|
28
|
+
private setupCancellationHandler;
|
|
29
|
+
private parseOutputEntry;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { IFileSystem, IToolLogger } from "@uipath/solutionpackager-tool-core";
|
|
2
|
+
export interface IWorkflowCompilerPathResolver {
|
|
3
|
+
getCompilerPathAsync(): Promise<string>;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Resolves and caches the workflow compiler executable path.
|
|
7
|
+
*
|
|
8
|
+
* Resolution chain:
|
|
9
|
+
* 1. In-memory cache (subsequent calls)
|
|
10
|
+
* 2. Explicit config path (`workflowCompilerConfig.workflowCompilerPath`)
|
|
11
|
+
* 3. `UIPATH_WORKFLOWCOMPILER_LOCATION` env var — full file path (pipelines / offline)
|
|
12
|
+
* 4. NuGet global packages cache
|
|
13
|
+
* 5. `dotnet restore` to populate NuGet cache, then (4) again
|
|
14
|
+
*/
|
|
15
|
+
export declare class WorkflowCompilerPathResolver implements IWorkflowCompilerPathResolver {
|
|
16
|
+
private readonly logger;
|
|
17
|
+
private readonly fileSystem;
|
|
18
|
+
private static instance;
|
|
19
|
+
private cachedPath;
|
|
20
|
+
private pendingResolution;
|
|
21
|
+
private readonly tempStorage;
|
|
22
|
+
constructor(logger: IToolLogger, fileSystem: IFileSystem);
|
|
23
|
+
static getInstance(logger: IToolLogger, fileSystem: IFileSystem): IWorkflowCompilerPathResolver;
|
|
24
|
+
getCompilerPathAsync(): Promise<string>;
|
|
25
|
+
private resolveCompilerPath;
|
|
26
|
+
private findInEnvLocation;
|
|
27
|
+
private restoreAndResolve;
|
|
28
|
+
private getPlatformInfo;
|
|
29
|
+
private getNuGetCompilerPath;
|
|
30
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type IFileSystem, type IProjectToolFactory, type IToolLogger, type ProjectTool, type ProjectType } from "@uipath/solutionpackager-tool-core";
|
|
2
|
+
/**
|
|
3
|
+
* Factory for creating a workflow compiler tool.
|
|
4
|
+
* Handles Process, Library, WebApp, and Tests project types.
|
|
5
|
+
*/
|
|
6
|
+
export declare class WorkflowCompilerToolFactory implements IProjectToolFactory {
|
|
7
|
+
readonly supportedTypes: readonly ProjectType[];
|
|
8
|
+
createAsync(logger: IToolLogger, fileSystem: IFileSystem): Promise<ProjectTool>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type IFileSystem, type IProjectBuildOptions, type IProjectPackOptions, type IProjectRestoreOptions, type IProjectValidateOptions, type IToolLogger, ProjectTool, type ToolResult } from "@uipath/solutionpackager-tool-core";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow compiler tool implementation.
|
|
4
|
+
* Builds commands and delegates execution to WorkflowCompilerExecutor.
|
|
5
|
+
*/
|
|
6
|
+
export declare class WorkflowCompilerTool extends ProjectTool {
|
|
7
|
+
private readonly executor;
|
|
8
|
+
constructor(fileSystem: IFileSystem, logger: IToolLogger);
|
|
9
|
+
restoreAsync(options: IProjectRestoreOptions, cancellationToken?: AbortSignal): Promise<ToolResult>;
|
|
10
|
+
validateAsync(options: IProjectValidateOptions, cancellationToken?: AbortSignal): Promise<ToolResult>;
|
|
11
|
+
buildAsync(options: IProjectBuildOptions, cancellationToken?: AbortSignal): Promise<ToolResult>;
|
|
12
|
+
packAsync(options: IProjectPackOptions, cancellationToken?: AbortSignal): Promise<ToolResult>;
|
|
13
|
+
/**
|
|
14
|
+
* Maps output type for workflow compiler.
|
|
15
|
+
*/
|
|
16
|
+
private mapOutputType;
|
|
17
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@uipath/packager-tool-workflowcompiler",
|
|
3
|
+
"version": "0.0.14",
|
|
4
|
+
"description": "UiPath Workflow Compiler tool 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"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"registry": "https://registry.npmjs.org/"
|
|
19
|
+
},
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "bun build ./src/index.ts --outdir dist --format esm --target node --external @uipath/solutionpackager-tool-core && tsc --emitDeclarationOnly --outDir dist",
|
|
23
|
+
"dev": "bun build ./src/index.ts --outdir dist --format esm --target node --external @uipath/solutionpackager-tool-core --watch",
|
|
24
|
+
"test": "vitest run",
|
|
25
|
+
"test:coverage": "vitest run --coverage",
|
|
26
|
+
"test:all": "bun run test",
|
|
27
|
+
"test:all:coverage": "bun run test:coverage",
|
|
28
|
+
"prepack": "bun run build",
|
|
29
|
+
"publish:dry": "bun publish --dry-run",
|
|
30
|
+
"publish:gh": "bun publish",
|
|
31
|
+
"version:patch": "bun version patch --no-git-tag-version",
|
|
32
|
+
"version:minor": "bun version minor --no-git-tag-version",
|
|
33
|
+
"version:major": "bun version major --no-git-tag-version",
|
|
34
|
+
"lint": "biome check ."
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"dist",
|
|
38
|
+
"!dist/**/*.map",
|
|
39
|
+
"src"
|
|
40
|
+
],
|
|
41
|
+
"author": "",
|
|
42
|
+
"license": "ISC",
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@uipath/solutionpackager-tool-core": "0.0.31"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/node": "^25.5.0",
|
|
48
|
+
"@uipath/solutionpackager-tool-core": "0.0.31",
|
|
49
|
+
"@vitest/coverage-v8": "^4.0.14",
|
|
50
|
+
"typescript": "^5.9.3",
|
|
51
|
+
"vitest": "^4.0.14"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {}
|
|
54
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* i18n module for tool-workflowcompiler package.
|
|
3
|
+
* Registers tool-workflowcompiler-specific translations.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { I18nManager } from "@uipath/solutionpackager-tool-core";
|
|
7
|
+
import de from "./locales/de.json" with { type: "json" };
|
|
8
|
+
import { en } from "./locales/en.js";
|
|
9
|
+
import es from "./locales/es.json" with { type: "json" };
|
|
10
|
+
import esMX from "./locales/es-MX.json" with { type: "json" };
|
|
11
|
+
import fr from "./locales/fr.json" with { type: "json" };
|
|
12
|
+
import ja from "./locales/ja.json" with { type: "json" };
|
|
13
|
+
import ko from "./locales/ko.json" with { type: "json" };
|
|
14
|
+
import pt from "./locales/pt.json" with { type: "json" };
|
|
15
|
+
import ptBR from "./locales/pt-BR.json" with { type: "json" };
|
|
16
|
+
import ro from "./locales/ro.json" with { type: "json" };
|
|
17
|
+
import ru from "./locales/ru.json" with { type: "json" };
|
|
18
|
+
import tr from "./locales/tr.json" with { type: "json" };
|
|
19
|
+
import zhCN from "./locales/zh-CN.json" with { type: "json" };
|
|
20
|
+
import zhTW from "./locales/zh-TW.json" with { type: "json" };
|
|
21
|
+
import zu from "./locales/zu.json" with { type: "json" };
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Register tool-workflowcompiler translations at module initialization.
|
|
25
|
+
* This extends the core translations with package-specific keys.
|
|
26
|
+
*/
|
|
27
|
+
I18nManager.registerTranslations("en", en);
|
|
28
|
+
I18nManager.registerTranslations("de", de);
|
|
29
|
+
I18nManager.registerTranslations("es", es);
|
|
30
|
+
I18nManager.registerTranslations("es-MX", esMX);
|
|
31
|
+
I18nManager.registerTranslations("fr", fr);
|
|
32
|
+
I18nManager.registerTranslations("ja", ja);
|
|
33
|
+
I18nManager.registerTranslations("ko", ko);
|
|
34
|
+
I18nManager.registerTranslations("pt", pt);
|
|
35
|
+
I18nManager.registerTranslations("pt-BR", ptBR);
|
|
36
|
+
I18nManager.registerTranslations("ro", ro);
|
|
37
|
+
I18nManager.registerTranslations("ru", ru);
|
|
38
|
+
I18nManager.registerTranslations("tr", tr);
|
|
39
|
+
I18nManager.registerTranslations("zh-CN", zhCN);
|
|
40
|
+
I18nManager.registerTranslations("zh-TW", zhTW);
|
|
41
|
+
I18nManager.registerTranslations("zu", zu);
|
|
42
|
+
|
|
43
|
+
export type { TranslationKeys } from "./locales/en.js";
|
|
44
|
+
// Export the translations for type inference
|
|
45
|
+
export { en };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolWorkflowcompiler": {
|
|
3
|
+
"lifecycle": {
|
|
4
|
+
"started": "[WorkflowCompiler] {operation} started",
|
|
5
|
+
"command": "[WorkflowCompiler] Command: {command}",
|
|
6
|
+
"completed": "[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
7
|
+
"cancelled": "[WorkflowCompiler] Operation cancelled"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"processExited": "Process exited with code {exitCode}",
|
|
11
|
+
"failed": "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
12
|
+
"processError": "[WorkflowCompiler] Process error: {message}",
|
|
13
|
+
"startFailed": "Failed to start workflow compiler: {message}",
|
|
14
|
+
"operationCancelled": "Operation cancelled"
|
|
15
|
+
},
|
|
16
|
+
"pathResolver": {
|
|
17
|
+
"info": {
|
|
18
|
+
"usingCached": "[PathResolver] Using cached compiler path: {path}",
|
|
19
|
+
"usingExplicitPath": "[PathResolver] Using explicit compiler path: {path}",
|
|
20
|
+
"resolving": "[PathResolver] Resolving workflow compiler path...",
|
|
21
|
+
"checkingEnvVar": "[PathResolver] Checking environment variable location: {path}",
|
|
22
|
+
"foundViaEnv": "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
23
|
+
"checkingNuGetCache": "[PathResolver] Checking NuGet cache: {path}",
|
|
24
|
+
"foundInNuGetCache": "[PathResolver] Found compiler in NuGet cache",
|
|
25
|
+
"notFoundStartingInstall": "[PathResolver] Compiler not found, starting dotnet restore...",
|
|
26
|
+
"restoringPackage": "[PathResolver] Restoring NuGet package \"{packageName}\" v{version} for platform \"{platform}\" via dotnet restore...",
|
|
27
|
+
"runningDotnetRestore": "[PathResolver] Running dotnet restore...",
|
|
28
|
+
"restoreCompleted": "[PathResolver] dotnet restore completed",
|
|
29
|
+
"installCompleted": "[PathResolver] Compiler restored successfully",
|
|
30
|
+
"cleaningUp": "[PathResolver] Cleaning up temp directory",
|
|
31
|
+
"resolved": "[PathResolver] Compiler resolved at: {path}"
|
|
32
|
+
},
|
|
33
|
+
"errors": {
|
|
34
|
+
"unsupportedPlatform": "Unsupported platform: {platform}",
|
|
35
|
+
"compilerNotFoundAfterRestore": "Compiler not found in NuGet cache after dotnet restore.",
|
|
36
|
+
"dotnetRestoreFailed": "dotnet restore failed: {details}"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English translations for tool-workflowcompiler package.
|
|
3
|
+
* These translations are registered alongside core translations via I18nManager.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const en = {
|
|
7
|
+
toolWorkflowcompiler: {
|
|
8
|
+
lifecycle: {
|
|
9
|
+
started: "[WorkflowCompiler] {operation} started",
|
|
10
|
+
command: "[WorkflowCompiler] Command: {command}",
|
|
11
|
+
completed:
|
|
12
|
+
"[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
13
|
+
cancelled: "[WorkflowCompiler] Operation cancelled",
|
|
14
|
+
},
|
|
15
|
+
errors: {
|
|
16
|
+
processExited: "Process exited with code {exitCode}",
|
|
17
|
+
failed: "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
18
|
+
processError: "[WorkflowCompiler] Process error: {message}",
|
|
19
|
+
startFailed: "Failed to start workflow compiler: {message}",
|
|
20
|
+
operationCancelled: "Operation cancelled",
|
|
21
|
+
},
|
|
22
|
+
pathResolver: {
|
|
23
|
+
info: {
|
|
24
|
+
usingCached:
|
|
25
|
+
"[PathResolver] Using cached compiler path: {path}",
|
|
26
|
+
usingExplicitPath:
|
|
27
|
+
"[PathResolver] Using explicit compiler path: {path}",
|
|
28
|
+
resolving: "[PathResolver] Resolving workflow compiler path...",
|
|
29
|
+
checkingEnvVar:
|
|
30
|
+
"[PathResolver] Checking environment variable location: {path}",
|
|
31
|
+
foundViaEnv:
|
|
32
|
+
"[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
33
|
+
checkingNuGetCache:
|
|
34
|
+
"[PathResolver] Checking NuGet cache: {path}",
|
|
35
|
+
foundInNuGetCache:
|
|
36
|
+
"[PathResolver] Found compiler in NuGet cache",
|
|
37
|
+
notFoundStartingInstall:
|
|
38
|
+
"[PathResolver] Compiler not found, starting dotnet restore...",
|
|
39
|
+
restoringPackage:
|
|
40
|
+
'[PathResolver] Restoring NuGet package "{packageName}" v{version} for platform "{platform}" via dotnet restore...',
|
|
41
|
+
runningDotnetRestore:
|
|
42
|
+
"[PathResolver] Running dotnet restore...",
|
|
43
|
+
restoreCompleted: "[PathResolver] dotnet restore completed",
|
|
44
|
+
installCompleted:
|
|
45
|
+
"[PathResolver] Compiler restored successfully",
|
|
46
|
+
cleaningUp: "[PathResolver] Cleaning up temp directory",
|
|
47
|
+
resolved: "[PathResolver] Compiler resolved at: {path}",
|
|
48
|
+
},
|
|
49
|
+
errors: {
|
|
50
|
+
unsupportedPlatform: "Unsupported platform: {platform}",
|
|
51
|
+
compilerNotFoundAfterRestore:
|
|
52
|
+
"Compiler not found in NuGet cache after dotnet restore.",
|
|
53
|
+
dotnetRestoreFailed: "dotnet restore failed: {details}",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
} as const;
|
|
58
|
+
|
|
59
|
+
/** @public */
|
|
60
|
+
export type TranslationKeys = typeof en;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolWorkflowcompiler": {
|
|
3
|
+
"lifecycle": {
|
|
4
|
+
"started": "[WorkflowCompiler] {operation} started",
|
|
5
|
+
"command": "[WorkflowCompiler] Command: {command}",
|
|
6
|
+
"completed": "[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
7
|
+
"cancelled": "[WorkflowCompiler] Operation cancelled"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"processExited": "Process exited with code {exitCode}",
|
|
11
|
+
"failed": "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
12
|
+
"processError": "[WorkflowCompiler] Process error: {message}",
|
|
13
|
+
"startFailed": "Failed to start workflow compiler: {message}",
|
|
14
|
+
"operationCancelled": "Operation cancelled"
|
|
15
|
+
},
|
|
16
|
+
"pathResolver": {
|
|
17
|
+
"info": {
|
|
18
|
+
"usingCached": "[PathResolver] Using cached compiler path: {path}",
|
|
19
|
+
"usingExplicitPath": "[PathResolver] Using explicit compiler path: {path}",
|
|
20
|
+
"resolving": "[PathResolver] Resolving workflow compiler path...",
|
|
21
|
+
"checkingEnvVar": "[PathResolver] Checking environment variable location: {path}",
|
|
22
|
+
"foundViaEnv": "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
23
|
+
"checkingNuGetCache": "[PathResolver] Checking NuGet cache: {path}",
|
|
24
|
+
"foundInNuGetCache": "[PathResolver] Found compiler in NuGet cache",
|
|
25
|
+
"notFoundStartingInstall": "[PathResolver] Compiler not found, starting dotnet restore...",
|
|
26
|
+
"restoringPackage": "[PathResolver] Restoring NuGet package \"{packageName}\" v{version} for platform \"{platform}\" via dotnet restore...",
|
|
27
|
+
"runningDotnetRestore": "[PathResolver] Running dotnet restore...",
|
|
28
|
+
"restoreCompleted": "[PathResolver] dotnet restore completed",
|
|
29
|
+
"installCompleted": "[PathResolver] Compiler restored successfully",
|
|
30
|
+
"cleaningUp": "[PathResolver] Cleaning up temp directory",
|
|
31
|
+
"resolved": "[PathResolver] Compiler resolved at: {path}"
|
|
32
|
+
},
|
|
33
|
+
"errors": {
|
|
34
|
+
"unsupportedPlatform": "Unsupported platform: {platform}",
|
|
35
|
+
"compilerNotFoundAfterRestore": "Compiler not found in NuGet cache after dotnet restore.",
|
|
36
|
+
"dotnetRestoreFailed": "dotnet restore failed: {details}"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolWorkflowcompiler": {
|
|
3
|
+
"lifecycle": {
|
|
4
|
+
"started": "[WorkflowCompiler] {operation} started",
|
|
5
|
+
"command": "[WorkflowCompiler] Command: {command}",
|
|
6
|
+
"completed": "[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
7
|
+
"cancelled": "[WorkflowCompiler] Operation cancelled"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"processExited": "Process exited with code {exitCode}",
|
|
11
|
+
"failed": "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
12
|
+
"processError": "[WorkflowCompiler] Process error: {message}",
|
|
13
|
+
"startFailed": "Failed to start workflow compiler: {message}",
|
|
14
|
+
"operationCancelled": "Operation cancelled"
|
|
15
|
+
},
|
|
16
|
+
"pathResolver": {
|
|
17
|
+
"info": {
|
|
18
|
+
"usingCached": "[PathResolver] Using cached compiler path: {path}",
|
|
19
|
+
"usingExplicitPath": "[PathResolver] Using explicit compiler path: {path}",
|
|
20
|
+
"resolving": "[PathResolver] Resolving workflow compiler path...",
|
|
21
|
+
"checkingEnvVar": "[PathResolver] Checking environment variable location: {path}",
|
|
22
|
+
"foundViaEnv": "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
23
|
+
"checkingNuGetCache": "[PathResolver] Checking NuGet cache: {path}",
|
|
24
|
+
"foundInNuGetCache": "[PathResolver] Found compiler in NuGet cache",
|
|
25
|
+
"notFoundStartingInstall": "[PathResolver] Compiler not found, starting dotnet restore...",
|
|
26
|
+
"restoringPackage": "[PathResolver] Restoring NuGet package \"{packageName}\" v{version} for platform \"{platform}\" via dotnet restore...",
|
|
27
|
+
"runningDotnetRestore": "[PathResolver] Running dotnet restore...",
|
|
28
|
+
"restoreCompleted": "[PathResolver] dotnet restore completed",
|
|
29
|
+
"installCompleted": "[PathResolver] Compiler restored successfully",
|
|
30
|
+
"cleaningUp": "[PathResolver] Cleaning up temp directory",
|
|
31
|
+
"resolved": "[PathResolver] Compiler resolved at: {path}"
|
|
32
|
+
},
|
|
33
|
+
"errors": {
|
|
34
|
+
"unsupportedPlatform": "Unsupported platform: {platform}",
|
|
35
|
+
"compilerNotFoundAfterRestore": "Compiler not found in NuGet cache after dotnet restore.",
|
|
36
|
+
"dotnetRestoreFailed": "dotnet restore failed: {details}"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolWorkflowcompiler": {
|
|
3
|
+
"lifecycle": {
|
|
4
|
+
"started": "[WorkflowCompiler] {operation} started",
|
|
5
|
+
"command": "[WorkflowCompiler] Command: {command}",
|
|
6
|
+
"completed": "[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
7
|
+
"cancelled": "[WorkflowCompiler] Operation cancelled"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"processExited": "Process exited with code {exitCode}",
|
|
11
|
+
"failed": "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
12
|
+
"processError": "[WorkflowCompiler] Process error: {message}",
|
|
13
|
+
"startFailed": "Failed to start workflow compiler: {message}",
|
|
14
|
+
"operationCancelled": "Operation cancelled"
|
|
15
|
+
},
|
|
16
|
+
"pathResolver": {
|
|
17
|
+
"info": {
|
|
18
|
+
"usingCached": "[PathResolver] Using cached compiler path: {path}",
|
|
19
|
+
"usingExplicitPath": "[PathResolver] Using explicit compiler path: {path}",
|
|
20
|
+
"resolving": "[PathResolver] Resolving workflow compiler path...",
|
|
21
|
+
"checkingEnvVar": "[PathResolver] Checking environment variable location: {path}",
|
|
22
|
+
"foundViaEnv": "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
23
|
+
"checkingNuGetCache": "[PathResolver] Checking NuGet cache: {path}",
|
|
24
|
+
"foundInNuGetCache": "[PathResolver] Found compiler in NuGet cache",
|
|
25
|
+
"notFoundStartingInstall": "[PathResolver] Compiler not found, starting dotnet restore...",
|
|
26
|
+
"restoringPackage": "[PathResolver] Restoring NuGet package \"{packageName}\" v{version} for platform \"{platform}\" via dotnet restore...",
|
|
27
|
+
"runningDotnetRestore": "[PathResolver] Running dotnet restore...",
|
|
28
|
+
"restoreCompleted": "[PathResolver] dotnet restore completed",
|
|
29
|
+
"installCompleted": "[PathResolver] Compiler restored successfully",
|
|
30
|
+
"cleaningUp": "[PathResolver] Cleaning up temp directory",
|
|
31
|
+
"resolved": "[PathResolver] Compiler resolved at: {path}"
|
|
32
|
+
},
|
|
33
|
+
"errors": {
|
|
34
|
+
"unsupportedPlatform": "Unsupported platform: {platform}",
|
|
35
|
+
"compilerNotFoundAfterRestore": "Compiler not found in NuGet cache after dotnet restore.",
|
|
36
|
+
"dotnetRestoreFailed": "dotnet restore failed: {details}"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolWorkflowcompiler": {
|
|
3
|
+
"lifecycle": {
|
|
4
|
+
"started": "[WorkflowCompiler] {operation} started",
|
|
5
|
+
"command": "[WorkflowCompiler] Command: {command}",
|
|
6
|
+
"completed": "[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
7
|
+
"cancelled": "[WorkflowCompiler] Operation cancelled"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"processExited": "Process exited with code {exitCode}",
|
|
11
|
+
"failed": "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
12
|
+
"processError": "[WorkflowCompiler] Process error: {message}",
|
|
13
|
+
"startFailed": "Failed to start workflow compiler: {message}",
|
|
14
|
+
"operationCancelled": "Operation cancelled"
|
|
15
|
+
},
|
|
16
|
+
"pathResolver": {
|
|
17
|
+
"info": {
|
|
18
|
+
"usingCached": "[PathResolver] Using cached compiler path: {path}",
|
|
19
|
+
"usingExplicitPath": "[PathResolver] Using explicit compiler path: {path}",
|
|
20
|
+
"resolving": "[PathResolver] Resolving workflow compiler path...",
|
|
21
|
+
"checkingEnvVar": "[PathResolver] Checking environment variable location: {path}",
|
|
22
|
+
"foundViaEnv": "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
23
|
+
"checkingNuGetCache": "[PathResolver] Checking NuGet cache: {path}",
|
|
24
|
+
"foundInNuGetCache": "[PathResolver] Found compiler in NuGet cache",
|
|
25
|
+
"notFoundStartingInstall": "[PathResolver] Compiler not found, starting dotnet restore...",
|
|
26
|
+
"restoringPackage": "[PathResolver] Restoring NuGet package \"{packageName}\" v{version} for platform \"{platform}\" via dotnet restore...",
|
|
27
|
+
"runningDotnetRestore": "[PathResolver] Running dotnet restore...",
|
|
28
|
+
"restoreCompleted": "[PathResolver] dotnet restore completed",
|
|
29
|
+
"installCompleted": "[PathResolver] Compiler restored successfully",
|
|
30
|
+
"cleaningUp": "[PathResolver] Cleaning up temp directory",
|
|
31
|
+
"resolved": "[PathResolver] Compiler resolved at: {path}"
|
|
32
|
+
},
|
|
33
|
+
"errors": {
|
|
34
|
+
"unsupportedPlatform": "Unsupported platform: {platform}",
|
|
35
|
+
"compilerNotFoundAfterRestore": "Compiler not found in NuGet cache after dotnet restore.",
|
|
36
|
+
"dotnetRestoreFailed": "dotnet restore failed: {details}"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolWorkflowcompiler": {
|
|
3
|
+
"lifecycle": {
|
|
4
|
+
"started": "[WorkflowCompiler] {operation} started",
|
|
5
|
+
"command": "[WorkflowCompiler] Command: {command}",
|
|
6
|
+
"completed": "[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
7
|
+
"cancelled": "[WorkflowCompiler] Operation cancelled"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"processExited": "Process exited with code {exitCode}",
|
|
11
|
+
"failed": "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
12
|
+
"processError": "[WorkflowCompiler] Process error: {message}",
|
|
13
|
+
"startFailed": "Failed to start workflow compiler: {message}",
|
|
14
|
+
"operationCancelled": "Operation cancelled"
|
|
15
|
+
},
|
|
16
|
+
"pathResolver": {
|
|
17
|
+
"info": {
|
|
18
|
+
"usingCached": "[PathResolver] Using cached compiler path: {path}",
|
|
19
|
+
"usingExplicitPath": "[PathResolver] Using explicit compiler path: {path}",
|
|
20
|
+
"resolving": "[PathResolver] Resolving workflow compiler path...",
|
|
21
|
+
"checkingEnvVar": "[PathResolver] Checking environment variable location: {path}",
|
|
22
|
+
"foundViaEnv": "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
23
|
+
"checkingNuGetCache": "[PathResolver] Checking NuGet cache: {path}",
|
|
24
|
+
"foundInNuGetCache": "[PathResolver] Found compiler in NuGet cache",
|
|
25
|
+
"notFoundStartingInstall": "[PathResolver] Compiler not found, starting dotnet restore...",
|
|
26
|
+
"restoringPackage": "[PathResolver] Restoring NuGet package \"{packageName}\" v{version} for platform \"{platform}\" via dotnet restore...",
|
|
27
|
+
"runningDotnetRestore": "[PathResolver] Running dotnet restore...",
|
|
28
|
+
"restoreCompleted": "[PathResolver] dotnet restore completed",
|
|
29
|
+
"installCompleted": "[PathResolver] Compiler restored successfully",
|
|
30
|
+
"cleaningUp": "[PathResolver] Cleaning up temp directory",
|
|
31
|
+
"resolved": "[PathResolver] Compiler resolved at: {path}"
|
|
32
|
+
},
|
|
33
|
+
"errors": {
|
|
34
|
+
"unsupportedPlatform": "Unsupported platform: {platform}",
|
|
35
|
+
"compilerNotFoundAfterRestore": "Compiler not found in NuGet cache after dotnet restore.",
|
|
36
|
+
"dotnetRestoreFailed": "dotnet restore failed: {details}"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolWorkflowcompiler": {
|
|
3
|
+
"lifecycle": {
|
|
4
|
+
"started": "[WorkflowCompiler] {operation} started",
|
|
5
|
+
"command": "[WorkflowCompiler] Command: {command}",
|
|
6
|
+
"completed": "[WorkflowCompiler] {operation} completed in {elapsed}ms with code: {errorCode}",
|
|
7
|
+
"cancelled": "[WorkflowCompiler] Operation cancelled"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"processExited": "Process exited with code {exitCode}",
|
|
11
|
+
"failed": "[WorkflowCompiler] {operation} failed: {errorMessage}",
|
|
12
|
+
"processError": "[WorkflowCompiler] Process error: {message}",
|
|
13
|
+
"startFailed": "Failed to start workflow compiler: {message}",
|
|
14
|
+
"operationCancelled": "Operation cancelled"
|
|
15
|
+
},
|
|
16
|
+
"pathResolver": {
|
|
17
|
+
"info": {
|
|
18
|
+
"usingCached": "[PathResolver] Using cached compiler path: {path}",
|
|
19
|
+
"usingExplicitPath": "[PathResolver] Using explicit compiler path: {path}",
|
|
20
|
+
"resolving": "[PathResolver] Resolving workflow compiler path...",
|
|
21
|
+
"checkingEnvVar": "[PathResolver] Checking environment variable location: {path}",
|
|
22
|
+
"foundViaEnv": "[PathResolver] Found compiler via UIPATH_WORKFLOWCOMPILER_LOCATION",
|
|
23
|
+
"checkingNuGetCache": "[PathResolver] Checking NuGet cache: {path}",
|
|
24
|
+
"foundInNuGetCache": "[PathResolver] Found compiler in NuGet cache",
|
|
25
|
+
"notFoundStartingInstall": "[PathResolver] Compiler not found, starting dotnet restore...",
|
|
26
|
+
"restoringPackage": "[PathResolver] Restoring NuGet package \"{packageName}\" v{version} for platform \"{platform}\" via dotnet restore...",
|
|
27
|
+
"runningDotnetRestore": "[PathResolver] Running dotnet restore...",
|
|
28
|
+
"restoreCompleted": "[PathResolver] dotnet restore completed",
|
|
29
|
+
"installCompleted": "[PathResolver] Compiler restored successfully",
|
|
30
|
+
"cleaningUp": "[PathResolver] Cleaning up temp directory",
|
|
31
|
+
"resolved": "[PathResolver] Compiler resolved at: {path}"
|
|
32
|
+
},
|
|
33
|
+
"errors": {
|
|
34
|
+
"unsupportedPlatform": "Unsupported platform: {platform}",
|
|
35
|
+
"compilerNotFoundAfterRestore": "Compiler not found in NuGet cache after dotnet restore.",
|
|
36
|
+
"dotnetRestoreFailed": "dotnet restore failed: {details}"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|