@uipath/solution-tool 1.206.0-preview.303 → 1.207.0-preview.305
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/{archive-extract-ma0gy822.js → archive-extract-afgwacbg.js} +3 -3
- package/dist/{cleanup-command-service-07yjaezn.js → cleanup-command-service-j9kawew9.js} +20 -15
- package/dist/deploy-delete-service-1erqap9a.js +23 -0
- package/dist/deploy-run-service-jbs6dxye.js +24 -0
- package/dist/{deploy-status-service-eh32jm3n.js → deploy-status-service-4zn90vds.js} +49 -25
- package/dist/deploy.js +21 -20
- package/dist/{deployment-search-kxvr7anp.js → deployment-search-dwzahe4v.js} +9 -9
- package/dist/feed-resolver-d14rdjss.js +31 -0
- package/dist/feed-scope-failure-w16mze3z.js +20 -0
- package/dist/{feed-session-aw2aef0b.js → feed-session-f2sby6t8.js} +6 -6
- package/dist/{first-party-service-6gf3n6d8.js → first-party-service-7cggb17y.js} +1 -1
- package/dist/folder-runtime-check-586c41dq.js +25 -0
- package/dist/{governance-options-9f0gkd59.js → governance-options-y2xsv7ff.js} +7 -7
- package/dist/{packager-tool-pdfjwnzf.js → index-6ma58k47.js} +33 -708
- package/dist/{index-p3x7ztdr.js → index-795rsz0e.js} +1 -1
- package/dist/{index-yjvmjpdn.js → index-pzkzbqbs.js} +12 -11
- package/dist/{index-j6bry1jf.js → index-wfqzwh7k.js} +9 -7
- package/dist/index.js +26 -26
- package/dist/init.js +10 -10
- package/dist/{list-vj7bxwas.js → list-6pe1nab5.js} +11 -11
- package/dist/models/pack-command-types.d.ts +12 -0
- package/dist/{node-jn4c2v8d.js → node-13wj5mzd.js} +6 -6
- package/dist/pack-command-service-j9bqnsn1.js +32 -0
- package/dist/{pack-project-4m8g3xws.js → pack-project-3sdddc42.js} +21 -18
- package/dist/pack.js +25 -22
- package/dist/{package-id-6ht7na7b.js → package-id-5j4q232a.js} +3 -3
- package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
- package/dist/{packager-tool-vx2c68sb.js → packager-tool-1dsxhz1r.js} +2 -2
- package/dist/{packager-tool-wrv1xqep.js → packager-tool-1tvhgac9.js} +15 -6
- package/dist/{packager-tool-4ngwhqrt.js → packager-tool-2atxqqgd.js} +49 -24
- package/dist/packager-tool-3ft8hywr.js +449 -0
- package/dist/{packager-tool-7m6avabc.js → packager-tool-46x80z85.js} +8 -4
- package/dist/{packager-tool-ztk5t400.js → packager-tool-4hm40a32.js} +8 -74
- package/dist/{packager-tool-f15an17m.js → packager-tool-5p1vy335.js} +1 -1
- package/dist/packager-tool-612prgtc.js +140 -0
- package/dist/packager-tool-7gqn5apd.js +72 -0
- package/dist/{packager-tool-aws5w512.js → packager-tool-887bkh9y.js} +1 -1
- package/dist/{packager-tool-gn42ht23.js → packager-tool-8tckw03n.js} +28 -9
- package/dist/{packager-tool-y5jkhz8b.js → packager-tool-93qy1v8m.js} +52 -15
- package/dist/{packager-tool-fx4ws49n.js → packager-tool-cenfraf4.js} +2 -2
- package/dist/{packager-tool-chff74yz.js → packager-tool-cr1khqtm.js} +103 -166
- package/dist/{packager-tool-hagvwahw.js → packager-tool-da3hvfyn.js} +528 -202
- package/dist/{packager-tool-2zn98p5r.js → packager-tool-dd937g7k.js} +4 -4
- package/dist/{packager-tool-a7s0gbxs.js → packager-tool-devc4w73.js} +7 -2
- package/dist/{packager-tool-gh3tk9qy.js → packager-tool-ewbkaecg.js} +18 -11
- package/dist/{packager-tool-1hf1eza3.js → packager-tool-g08b669a.js} +22 -18
- package/dist/{packager-tool-m07vyk89.js → packager-tool-gb3dq79g.js} +36 -9
- package/dist/{packager-tool-mr0bmnez.js → packager-tool-gmbcn83x.js} +3 -3
- package/dist/{packager-tool-2p1hbxb8.js → packager-tool-jhtsana2.js} +119 -52
- package/dist/{packager-tool-1153jhyk.js → packager-tool-jtg2arr8.js} +20 -8
- package/dist/{packager-tool-t39pjz7n.js → packager-tool-jtvhkavz.js} +48 -6
- package/dist/packager-tool-kffz64hn.js +279 -0
- package/dist/{packager-tool-p5322gew.js → packager-tool-kmwjscby.js} +88 -10
- package/dist/{packager-tool-ppj5f4y7.js → packager-tool-n1zrk6zv.js} +4 -2
- package/dist/{packager-tool-8y4g6zmj.js → packager-tool-pmc5txbm.js} +4 -6
- package/dist/{packager-tool-egc54x78.js → packager-tool-qhht1tc9.js} +2408 -771
- package/dist/{packager-tool-1x83nb8h.js → packager-tool-qm876ezh.js} +84 -29
- package/dist/{packager-tool-resolver-30hxk8vm.js → packager-tool-resolver-y52kztnx.js} +6 -6
- package/dist/{packager-tool-t700684m.js → packager-tool-rhg3mwkn.js} +14 -8
- package/dist/{packager-tool-ckrt4gyr.js → packager-tool-t9zked1m.js} +3 -3
- package/dist/{packager-tool-nhtc47fy.js → packager-tool-tat0qs6z.js} +26 -10
- package/dist/packager-tool-tf0rn1tp.js +741 -0
- package/dist/{packager-tool-v8aac3ec.js → packager-tool-tmba5jv0.js} +140 -10
- package/dist/{packager-tool-2n8dp801.js → packager-tool-tqe3m1xp.js} +6 -6
- package/dist/{packager-tool-1ctvbx0h.js → packager-tool-tr3ttz5c.js} +1 -1
- package/dist/{packager-tool-k9dk39tg.js → packager-tool-txygqgb2.js} +3 -3
- package/dist/packager-tool-v6jcys3s.js +46 -0
- package/dist/packager-tool-w35s60sx.js +179 -0
- package/dist/{packager-tool-axqk17xw.js → packager-tool-xbfr6y2x.js} +142 -34
- package/dist/{packager-tool-2qsbh4kd.js → packager-tool-yfcscjfp.js} +50 -12
- package/dist/{packager-tool-ay4j9x92.js → packager-tool-ykq6gmhc.js} +19 -8
- package/dist/packager-tool.js +2 -2
- package/dist/prepare-solution-resources-sk3tyy8b.js +26 -0
- package/dist/{project-command-utils-82tja3k0.js → project-command-utils-7ygs8xq0.js} +20 -13
- package/dist/project-contributions-nzh06q0y.js +31 -0
- package/dist/project-identity-telemetry-47k2g7nq.js +18 -0
- package/dist/publish.js +14 -14
- package/dist/{resource-mutations-h6wfdqr4.js → resource-mutations-qcz2vcxe.js} +9 -9
- package/dist/{resource-version-lookup-xzgnvr48.js → resource-version-lookup-w3kzh4z9.js} +9 -9
- package/dist/resource.js +9 -9
- package/dist/{restore-command-service-wx8jw22q.js → restore-command-service-m6c8fb7q.js} +20 -15
- package/dist/run-service-cmrzccnm.js +1055 -0
- package/dist/services/deploy-activate-service.d.ts +5 -2
- package/dist/services/deploy-config-file.d.ts +24 -0
- package/dist/services/deploy-delete-service.d.ts +1 -1
- package/dist/services/deploy-run-service.d.ts +8 -1
- package/dist/services/deploy-uninstall-service.d.ts +4 -2
- package/dist/services/deploy-upgrade-service.d.ts +23 -2
- package/dist/services/deployment-feed-locator.d.ts +19 -6
- package/dist/services/deployment-links.d.ts +16 -0
- package/dist/services/deployment-progress.d.ts +10 -0
- package/dist/services/deployment-search.d.ts +15 -2
- package/dist/services/deployment-state.d.ts +9 -0
- package/dist/services/feed-resolver.d.ts +17 -0
- package/dist/services/feed-selection.d.ts +59 -0
- package/dist/services/folder-runtime-check.d.ts +107 -0
- package/dist/services/incomplete-feed-sweep.d.ts +6 -0
- package/dist/services/pack-command-service.d.ts +6 -0
- package/dist/services/pack-project.d.ts +1 -1
- package/dist/services/package-metadata-rewrite.d.ts +13 -0
- package/dist/services/personal-workspace-resolver.d.ts +4 -1
- package/dist/services/prepare-solution-resources.d.ts +11 -6
- package/dist/services/project-contributions.d.ts +26 -2
- package/dist/services/project-identity-telemetry.d.ts +31 -0
- package/dist/services/solution-members.d.ts +31 -0
- package/dist/{ship-telemetry-19gx83af.js → ship-telemetry-9djqndmy.js} +4 -4
- package/dist/{solution-auth-jxcgd2m0.js → solution-auth-0e3qm74f.js} +3 -3
- package/dist/{solution-definition-helper-tqwd6cxn.js → solution-definition-helper-bkyhs1bd.js} +1 -1
- package/dist/{solution-identity-c23d9bfv.js → solution-identity-j63p6n81.js} +4 -4
- package/dist/templates/AGENTS.md +131 -24
- package/dist/tool.js +26 -26
- package/package.json +2 -2
- package/dist/deploy-delete-service-p9gade7a.js +0 -23
- package/dist/deploy-run-service-1k4paz52.js +0 -23
- package/dist/feed-resolver-3cs1dmhh.js +0 -27
- package/dist/feed-scope-failure-78fn8bay.js +0 -20
- package/dist/pack-command-service-zc7hq5s6.js +0 -29
- package/dist/packager-tool-pp4067m7.js +0 -74
- package/dist/packager-tool-vrqbbh01.js +0 -182
- package/dist/prepare-solution-resources-h7zvnncd.js +0 -26
- package/dist/project-contributions-xx560n8y.js +0 -27
- package/dist/run-service-32pky7na.js +0 -506
|
@@ -1,51 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
|
+
RESULTS,
|
|
6
7
|
carriedErrorCode,
|
|
7
8
|
carriedRetry,
|
|
8
9
|
carriedInstructions
|
|
9
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
10
11
|
import {
|
|
11
|
-
RESULTS,
|
|
12
12
|
logger,
|
|
13
13
|
OutputFormatter
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-xbfr6y2x.js";
|
|
15
15
|
import {
|
|
16
16
|
ToolResult
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-devc4w73.js";
|
|
18
18
|
import {
|
|
19
19
|
SolutionPackOptions,
|
|
20
20
|
INVALID_PACKAGE_ID
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-jtg2arr8.js";
|
|
22
22
|
import {
|
|
23
23
|
validateGovernanceOptions2,
|
|
24
24
|
resolveGovernanceFileTypeAsync2
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-887bkh9y.js";
|
|
26
26
|
import {
|
|
27
27
|
isUnpackableProjectTypeError2,
|
|
28
28
|
ensurePackagerTools2
|
|
29
|
-
} from "./packager-tool-
|
|
29
|
+
} from "./packager-tool-dd937g7k.js";
|
|
30
30
|
import {
|
|
31
31
|
prepareSolutionResources2
|
|
32
|
-
} from "./packager-tool-
|
|
32
|
+
} from "./packager-tool-ykq6gmhc.js";
|
|
33
|
+
import {
|
|
34
|
+
createProjectActivityObserver2
|
|
35
|
+
} from "./packager-tool-w35s60sx.js";
|
|
33
36
|
import {
|
|
34
37
|
captureExtractedSolution2
|
|
35
|
-
} from "./packager-tool-
|
|
38
|
+
} from "./packager-tool-t9zked1m.js";
|
|
36
39
|
import {
|
|
37
|
-
createProjectActivityObserver,
|
|
38
40
|
createSolutionPackager,
|
|
39
41
|
readSolutionFileAsUint8Array,
|
|
40
42
|
resolveSdkLogLevel,
|
|
41
43
|
applyAuthConnection,
|
|
42
44
|
SOLUTION_PATH_INSTRUCTIONS,
|
|
43
45
|
checkSolutionPathAsync
|
|
44
|
-
} from "./packager-tool-
|
|
46
|
+
} from "./packager-tool-4hm40a32.js";
|
|
45
47
|
import {
|
|
46
48
|
validatePackProjectOptions,
|
|
47
49
|
PackProjectError
|
|
48
|
-
} from "./packager-tool-
|
|
50
|
+
} from "./packager-tool-tr3ttz5c.js";
|
|
49
51
|
|
|
50
52
|
// src/services/pack-command-service.ts
|
|
51
53
|
class PackCommandService2 {
|
|
@@ -283,7 +285,7 @@ Packing project...
|
|
|
283
285
|
return await this.packProjectAsync(isUisFile, solutionRoot, absoluteOutputPath, resolvedOptions.project, resolvedOptions);
|
|
284
286
|
}
|
|
285
287
|
if (isDirectory) {
|
|
286
|
-
const [prepareError] = await catchError(this.prepareSolutionDirectoryForPack(solutionRoot));
|
|
288
|
+
const [prepareError] = await catchError(this.prepareSolutionDirectoryForPack(solutionRoot, resolvedOptions.forDebug));
|
|
287
289
|
if (prepareError) {
|
|
288
290
|
return toPackFailure(prepareError);
|
|
289
291
|
}
|
|
@@ -296,7 +298,7 @@ Packing project...
|
|
|
296
298
|
const uint8Array = await readSolutionFileAsUint8Array(this.fs, absoluteSolutionPath);
|
|
297
299
|
inputPath = await packager.setupAsync(uint8Array);
|
|
298
300
|
await captureExtractedSolution2(options.telemetryCapture, inputPath);
|
|
299
|
-
await this.prepareSolutionDirectoryForPack(inputPath);
|
|
301
|
+
await this.prepareSolutionDirectoryForPack(inputPath, resolvedOptions.forDebug);
|
|
300
302
|
} else {
|
|
301
303
|
inputPath = await packager.setupAsync(solutionRoot);
|
|
302
304
|
}
|
|
@@ -316,8 +318,8 @@ Packing project...
|
|
|
316
318
|
throw new PackProjectError("--project packs a project out of a solution folder, not out of a .uis file.", "Pass the solution folder instead: uip solution pack <solution-folder> <output-path> --project <id-or-path>.");
|
|
317
319
|
}
|
|
318
320
|
const [error, result] = await catchError(async () => {
|
|
319
|
-
const { prepareSolutionProjectAsync, packSolutionProjectAsync } = await import("./pack-project-
|
|
320
|
-
const { project, packageId } = await prepareSolutionProjectAsync(this.fs, solutionDir, selector, options.packageId);
|
|
321
|
+
const { prepareSolutionProjectAsync, packSolutionProjectAsync } = await import("./pack-project-3sdddc42.js");
|
|
322
|
+
const { project, packageId } = await prepareSolutionProjectAsync(this.fs, solutionDir, selector, options.packageId, options.forDebug);
|
|
321
323
|
await this.fs.mkdir(outputPath);
|
|
322
324
|
const packOptions = await this.createProjectPackOptions(project, packageId, outputPath, options);
|
|
323
325
|
return packSolutionProjectAsync(this.fs, project, packOptions);
|
|
@@ -330,7 +332,9 @@ Packing project...
|
|
|
330
332
|
}
|
|
331
333
|
const tempDir = await this.fs.getTempDir();
|
|
332
334
|
const solutionRoot = this.fs.path.join(tempDir, this.fs.path.basename(solutionDir));
|
|
333
|
-
const [copyError] = await catchError(this.fs.copyDirectory(solutionDir, solutionRoot
|
|
335
|
+
const [copyError] = await catchError(this.fs.copyDirectory(solutionDir, solutionRoot, {
|
|
336
|
+
skipDirectoryNames: ["node_modules"]
|
|
337
|
+
}));
|
|
334
338
|
if (copyError) {
|
|
335
339
|
await this.discardDryRunCopy(tempDir);
|
|
336
340
|
throw copyError;
|
|
@@ -385,8 +389,11 @@ Packing project...
|
|
|
385
389
|
}
|
|
386
390
|
return dirs;
|
|
387
391
|
}
|
|
388
|
-
async prepareSolutionDirectoryForPack(solutionDir) {
|
|
389
|
-
await prepareSolutionResources2(solutionDir, this.fs, {
|
|
392
|
+
async prepareSolutionDirectoryForPack(solutionDir, forDebug) {
|
|
393
|
+
await prepareSolutionResources2(solutionDir, this.fs, {
|
|
394
|
+
gate: true,
|
|
395
|
+
forDebug
|
|
396
|
+
});
|
|
390
397
|
}
|
|
391
398
|
async ensurePackagerAsync() {
|
|
392
399
|
if (!this.packager) {
|
|
@@ -399,7 +406,7 @@ Packing project...
|
|
|
399
406
|
}
|
|
400
407
|
async createPackOptions(inputPath, outputPath, absoluteSolutionPath, isUisFile, options) {
|
|
401
408
|
const packOptions = new SolutionPackOptions;
|
|
402
|
-
packOptions.projectActivity =
|
|
409
|
+
packOptions.projectActivity = createProjectActivityObserver2("uip solution pack");
|
|
403
410
|
packOptions.inputPath = inputPath;
|
|
404
411
|
packOptions.destinationPath = outputPath;
|
|
405
412
|
packOptions.configuration = "Release" /* Release */;
|
|
@@ -410,7 +417,7 @@ Packing project...
|
|
|
410
417
|
return packOptions;
|
|
411
418
|
}
|
|
412
419
|
async createProjectPackOptions(project, packageId, outputPath, options) {
|
|
413
|
-
const projectPackager = await import("./node-
|
|
420
|
+
const projectPackager = await import("./node-13wj5mzd.js");
|
|
414
421
|
const packOptions = new projectPackager.ProjectPackOptions;
|
|
415
422
|
packOptions.inputPath = project.ProjectPath ?? "";
|
|
416
423
|
packOptions.destinationPath = outputPath;
|
|
@@ -444,6 +451,12 @@ async function applySharedPackOptions(packOptions, options) {
|
|
|
444
451
|
packOptions.excludeConfiguredSources = options.excludeConfiguredSources ?? false;
|
|
445
452
|
packOptions.nuGetSourcesConfigPath = options.nugetSourcesConfigPath;
|
|
446
453
|
packOptions.feedFolder = options.feedFolder;
|
|
454
|
+
packOptions.packOptions = {
|
|
455
|
+
skipDependencyOptimization: false,
|
|
456
|
+
includeSources: false,
|
|
457
|
+
splitPackages: false,
|
|
458
|
+
skipBuild: options.skipBuild ?? false
|
|
459
|
+
};
|
|
447
460
|
packOptions.validateOptions = {
|
|
448
461
|
skipAnalyze: options.skipAnalyze ?? false,
|
|
449
462
|
skipValidate: false,
|
|
@@ -486,13 +499,25 @@ function packFailureEnvelope(result, dryRun) {
|
|
|
486
499
|
Retry: "RetryWillNotFix"
|
|
487
500
|
};
|
|
488
501
|
}
|
|
502
|
+
const classified = classifyPackFailure(result.errorCode);
|
|
489
503
|
return {
|
|
490
504
|
Result: RESULTS.Failure,
|
|
491
|
-
Message: `Error code: ${result.errorCode} : ${message}`,
|
|
505
|
+
Message: classified ? message : `Error code: ${result.errorCode} : ${message}`,
|
|
492
506
|
Instructions: result.instructions ?? formatPackFailureInstructions(result.message, dryRun),
|
|
507
|
+
...classified,
|
|
493
508
|
...packFailureData(result)
|
|
494
509
|
};
|
|
495
510
|
}
|
|
511
|
+
function classifyPackFailure(errorCode) {
|
|
512
|
+
switch (errorCode) {
|
|
513
|
+
case "INVALID_PROJECT" /* InvalidProject */:
|
|
514
|
+
return { ErrorCode: "invalid_argument", Retry: "RetryWillNotFix" };
|
|
515
|
+
case "DEPENDENCY_INSTALL_FAILED" /* DependencyInstallFailed */:
|
|
516
|
+
return { ErrorCode: "execution_failed", Retry: "RetryLater" };
|
|
517
|
+
default:
|
|
518
|
+
return;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
496
521
|
function packFailureData(result) {
|
|
497
522
|
const projects = result.details?.projects;
|
|
498
523
|
return Array.isArray(projects) && projects.length > 0 ? { Data: { Projects: projects } } : {};
|
|
@@ -517,4 +542,4 @@ function formatPackFailureInstructions(message, dryRun) {
|
|
|
517
542
|
|
|
518
543
|
export { PackCommandService2 };
|
|
519
544
|
|
|
520
|
-
//# debugId=
|
|
545
|
+
//# debugId=3197650F68433B4B64756E2164756E21
|
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
// ../executor/jit-debug-contract/src/index.ts
|
|
2
|
+
var FPS_DEBUG_MASTER = "debug.master";
|
|
3
|
+
var FPS_DEBUG_EXECUTOR = "debug.executor";
|
|
4
|
+
var FPS_DEBUG_SOURCE = "debug.source";
|
|
5
|
+
var FPS_DEBUG_SESSION_ID = "debug.sessionId";
|
|
6
|
+
var DEBUG_SOURCE_STUDIO_WEB = "studioweb";
|
|
7
|
+
var JIT_DEBUG_VERSION = "1.0.0-debug";
|
|
8
|
+
var DEVELOPMENT_RUNTIME_TYPE = "Development";
|
|
9
|
+
var MAX_JIT_PROCESSES = 64;
|
|
10
|
+
var ORCHESTRATOR_PROJECT_TYPES = [
|
|
11
|
+
"Undefined",
|
|
12
|
+
"Process",
|
|
13
|
+
"ProcessLibrary",
|
|
14
|
+
"BusinessProcess",
|
|
15
|
+
"BusinessProcessLibrary",
|
|
16
|
+
"TestAutomationProcess",
|
|
17
|
+
"ProcessOrchestration",
|
|
18
|
+
"BusinessProcessOrchestration",
|
|
19
|
+
"WebApp",
|
|
20
|
+
"BusinessWebApp",
|
|
21
|
+
"Agent",
|
|
22
|
+
"BusinessAgent",
|
|
23
|
+
"Api",
|
|
24
|
+
"MCPServer",
|
|
25
|
+
"BusinessRules",
|
|
26
|
+
"CaseManagement",
|
|
27
|
+
"Flow",
|
|
28
|
+
"Function",
|
|
29
|
+
"FlowAutomate"
|
|
30
|
+
];
|
|
31
|
+
var READABLE_PROJECT_TYPES = new Set(ORCHESTRATOR_PROJECT_TYPES.map((type) => type.toLowerCase()));
|
|
32
|
+
|
|
33
|
+
class JitAssemblyError extends Error {
|
|
34
|
+
code;
|
|
35
|
+
projectName;
|
|
36
|
+
constructor(code, message, projectName) {
|
|
37
|
+
super(message);
|
|
38
|
+
this.code = code;
|
|
39
|
+
this.projectName = projectName;
|
|
40
|
+
this.name = "JitAssemblyError";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function assembleJitFpsProperties(options) {
|
|
44
|
+
const siblings = options.siblingEntries ?? [];
|
|
45
|
+
const total = siblings.length + 1;
|
|
46
|
+
if (total > MAX_JIT_PROCESSES) {
|
|
47
|
+
throw new JitAssemblyError("TooManyProcesses", `Solution '${options.solutionName}' has ${total} JIT processes; the limit is ${MAX_JIT_PROCESSES}.`);
|
|
48
|
+
}
|
|
49
|
+
for (const entry of [options.leadEntry, ...siblings]) {
|
|
50
|
+
assertPlacementIsEffective(entry);
|
|
51
|
+
}
|
|
52
|
+
for (const sibling of siblings) {
|
|
53
|
+
assertSiblingIsResolvable(sibling);
|
|
54
|
+
}
|
|
55
|
+
const master = {
|
|
56
|
+
solutionName: options.solutionName,
|
|
57
|
+
version: JIT_DEBUG_VERSION,
|
|
58
|
+
processes: [options.leadEntry, ...siblings].map(toWireEntry)
|
|
59
|
+
};
|
|
60
|
+
assignDefined(master, "projectId", options.leadEntry.projectId);
|
|
61
|
+
const bag = {
|
|
62
|
+
[FPS_DEBUG_MASTER]: JSON.stringify(master),
|
|
63
|
+
[FPS_DEBUG_SOURCE]: DEBUG_SOURCE_STUDIO_WEB
|
|
64
|
+
};
|
|
65
|
+
if (options.leadEntry.executorInfo) {
|
|
66
|
+
bag[FPS_DEBUG_EXECUTOR] = options.leadEntry.executorInfo;
|
|
67
|
+
}
|
|
68
|
+
if (options.sessionId) {
|
|
69
|
+
bag[FPS_DEBUG_SESSION_ID] = options.sessionId;
|
|
70
|
+
}
|
|
71
|
+
return JSON.stringify(bag);
|
|
72
|
+
}
|
|
73
|
+
function assertSiblingIsResolvable(sibling) {
|
|
74
|
+
if (!sibling.executorInfo) {
|
|
75
|
+
throw new JitAssemblyError("UnresolvableSibling", `Project '${sibling.name}' takes part in the run but carries no executorInfo, so ` + "Orchestrator would read it as a deployed process and start whatever is deployed " + "under that name instead of this project's source. Give it the executorInfo its " + "executor builds.", sibling.name);
|
|
76
|
+
}
|
|
77
|
+
if (sibling.projectId || sibling.executionSettings?.machineTemplateName) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
throw new JitAssemblyError("UnresolvableSibling", `Project '${sibling.name}' takes part in the run but declares neither a cloud project id ` + "nor a machine to run on, so whichever robot picks it up would have nothing to execute. " + "Give it executionSettings.machineTemplateName to run it from local disk, or a projectId " + "to let it run anywhere.", sibling.name);
|
|
81
|
+
}
|
|
82
|
+
function assertPlacementIsEffective(entry) {
|
|
83
|
+
const settings = entry.executionSettings;
|
|
84
|
+
if (!settings || settings.machineTemplateName) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
throw new JitAssemblyError("IneffectivePlacement", `Project '${entry.name}' carries executionSettings without machineTemplateName, which ` + "Orchestrator does not pin to any machine — the job would go to any machine of that runtime, not this one.", entry.name);
|
|
88
|
+
}
|
|
89
|
+
function toWireEntry(entry) {
|
|
90
|
+
if (!READABLE_PROJECT_TYPES.has(entry.projectType.toLowerCase())) {
|
|
91
|
+
throw new JitAssemblyError("UnknownProjectType", `Project '${entry.name}' has project type '${entry.projectType}', which Orchestrator ` + "cannot read, so a Run Job that targets it would start an ordinary job instead of " + "this project. Translate it to one of: " + `${ORCHESTRATOR_PROJECT_TYPES.join(", ")}.`, entry.name);
|
|
92
|
+
}
|
|
93
|
+
const wire = {
|
|
94
|
+
name: entry.name,
|
|
95
|
+
projectType: entry.projectType
|
|
96
|
+
};
|
|
97
|
+
assignDefined(wire, "executorInfo", entry.executorInfo);
|
|
98
|
+
assignDefined(wire, "folderKey", entry.folderKey);
|
|
99
|
+
assignDefined(wire, "entryPointPath", entry.entryPointPath);
|
|
100
|
+
assignDefined(wire, "requiresUserInteraction", entry.requiresUserInteraction);
|
|
101
|
+
assignDefined(wire, "targetFramework", entry.targetFramework);
|
|
102
|
+
assignDefined(wire, "remoteControlAccess", entry.remoteControlAccess);
|
|
103
|
+
assignDefined(wire, "targetRuntime", entry.targetRuntime);
|
|
104
|
+
assignDefined(wire, "isConversational", entry.isConversational);
|
|
105
|
+
const settings = toWireExecutionSettings(entry.executionSettings);
|
|
106
|
+
assignDefined(wire, "executionSettings", settings);
|
|
107
|
+
return wire;
|
|
108
|
+
}
|
|
109
|
+
function toWireExecutionSettings(settings) {
|
|
110
|
+
if (!settings) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
const wire = {};
|
|
114
|
+
assignDefined(wire, "runtimeType", settings.runtimeType);
|
|
115
|
+
assignDefined(wire, "machineTemplateName", settings.machineTemplateName);
|
|
116
|
+
assignDefined(wire, "hostMachineName", settings.hostMachineName);
|
|
117
|
+
assignDefined(wire, "serviceUserName", settings.serviceUserName);
|
|
118
|
+
assignDefined(wire, "runAsMe", settings.runAsMe);
|
|
119
|
+
return Object.keys(wire).length > 0 ? wire : undefined;
|
|
120
|
+
}
|
|
121
|
+
function assignDefined(target, key, value) {
|
|
122
|
+
if (value !== undefined) {
|
|
123
|
+
target[key] = value;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// ../executor/project-executor/src/models/run-status.ts
|
|
128
|
+
var TERMINAL_RUN_STATUSES = [
|
|
129
|
+
"Succeeded" /* Succeeded */,
|
|
130
|
+
"Faulted" /* Faulted */,
|
|
131
|
+
"Cancelled" /* Cancelled */
|
|
132
|
+
];
|
|
133
|
+
function isTerminalRunStatus(status) {
|
|
134
|
+
return TERMINAL_RUN_STATUSES.includes(status);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// ../executor/project-executor/src/models/run-result.ts
|
|
138
|
+
class RunResult {
|
|
139
|
+
status;
|
|
140
|
+
errorCode;
|
|
141
|
+
rawStatus;
|
|
142
|
+
message;
|
|
143
|
+
jobKey;
|
|
144
|
+
instanceId;
|
|
145
|
+
runId;
|
|
146
|
+
traceId;
|
|
147
|
+
steps;
|
|
148
|
+
output;
|
|
149
|
+
url;
|
|
150
|
+
details;
|
|
151
|
+
constructor(status, errorCode = "None" /* None */, message) {
|
|
152
|
+
this.status = status;
|
|
153
|
+
this.errorCode = errorCode;
|
|
154
|
+
this.message = message;
|
|
155
|
+
}
|
|
156
|
+
get isSuccess() {
|
|
157
|
+
return this.status === "Succeeded" /* Succeeded */ && this.errorCode === "None" /* None */;
|
|
158
|
+
}
|
|
159
|
+
get isTerminal() {
|
|
160
|
+
return isTerminalRunStatus(this.status);
|
|
161
|
+
}
|
|
162
|
+
static succeeded(init = {}) {
|
|
163
|
+
return Object.assign(new RunResult("Succeeded" /* Succeeded */, "None" /* None */), init);
|
|
164
|
+
}
|
|
165
|
+
static failed(errorCode, message, init = {}) {
|
|
166
|
+
return Object.assign(new RunResult("Faulted" /* Faulted */, errorCode, message), init);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// ../executor/project-executor/src/services/executor-logger.ts
|
|
171
|
+
var noopExecutorLogger = {
|
|
172
|
+
info: () => {},
|
|
173
|
+
warn: () => {},
|
|
174
|
+
error: () => {}
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
// ../executor/project-executor/src/services/executors-factory-repository.ts
|
|
178
|
+
class ExecutorsFactoryRepository {
|
|
179
|
+
factoryMap = new Map;
|
|
180
|
+
onConflict;
|
|
181
|
+
constructor(onConflict) {
|
|
182
|
+
this.onConflict = onConflict ?? ((message) => console.warn(message));
|
|
183
|
+
}
|
|
184
|
+
registerProjectExecutorFactory(factory) {
|
|
185
|
+
for (const projectType of factory.supportedTypes) {
|
|
186
|
+
const existing = this.factoryMap.get(projectType);
|
|
187
|
+
if (existing) {
|
|
188
|
+
if (existing.constructor?.name !== factory.constructor?.name) {
|
|
189
|
+
this.onConflict(`Executor factory conflict for project type '${projectType}': ` + `'${existing.constructor?.name}' already registered, ` + `ignoring '${factory.constructor?.name}'.`);
|
|
190
|
+
}
|
|
191
|
+
continue;
|
|
192
|
+
}
|
|
193
|
+
this.factoryMap.set(projectType, factory);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
canHandleProject(projectType) {
|
|
197
|
+
return this.factoryMap.has(projectType);
|
|
198
|
+
}
|
|
199
|
+
getProjectExecutorFactory(projectType) {
|
|
200
|
+
const factory = this.factoryMap.get(projectType);
|
|
201
|
+
if (!factory) {
|
|
202
|
+
throw new Error(`Cannot run project type '${projectType}': no runner is installed for it. ` + `Project types that can be run: ${this.registeredTypes.join(", ") || "none"}.`);
|
|
203
|
+
}
|
|
204
|
+
return factory;
|
|
205
|
+
}
|
|
206
|
+
get registeredTypes() {
|
|
207
|
+
return [...this.factoryMap.keys()];
|
|
208
|
+
}
|
|
209
|
+
reset() {
|
|
210
|
+
this.factoryMap.clear();
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
var REGISTRY_KEY = Symbol.for("@uipath/project-executor/executorsFactoryRepository");
|
|
214
|
+
var _global = globalThis;
|
|
215
|
+
if (!_global[REGISTRY_KEY]) {
|
|
216
|
+
_global[REGISTRY_KEY] = new ExecutorsFactoryRepository;
|
|
217
|
+
}
|
|
218
|
+
var executorsFactoryRepository = _global[REGISTRY_KEY];
|
|
219
|
+
|
|
220
|
+
// ../executor/project-executor/src/services/jit-entry-collector.ts
|
|
221
|
+
class JitContributorError extends Error {
|
|
222
|
+
code;
|
|
223
|
+
projectName;
|
|
224
|
+
constructor(code, message, projectName) {
|
|
225
|
+
super(message);
|
|
226
|
+
this.code = code;
|
|
227
|
+
this.projectName = projectName;
|
|
228
|
+
this.name = "JitContributorError";
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
var DEFAULT_JIT_CONTRIBUTOR_TIMEOUT_MS = 30000;
|
|
232
|
+
|
|
233
|
+
class JitEntryCollector {
|
|
234
|
+
fileSystem;
|
|
235
|
+
logger;
|
|
236
|
+
registry;
|
|
237
|
+
timeoutMs;
|
|
238
|
+
constructor(deps) {
|
|
239
|
+
this.fileSystem = deps.fileSystem;
|
|
240
|
+
this.logger = deps.logger ?? noopExecutorLogger;
|
|
241
|
+
this.registry = deps.registry ?? executorsFactoryRepository;
|
|
242
|
+
this.timeoutMs = deps.timeoutMs ?? DEFAULT_JIT_CONTRIBUTOR_TIMEOUT_MS;
|
|
243
|
+
}
|
|
244
|
+
async collectAsync(context, cancellationToken) {
|
|
245
|
+
const { name, projectType } = context.project;
|
|
246
|
+
cancellationToken?.throwIfAborted();
|
|
247
|
+
let contributed;
|
|
248
|
+
if (this.registry.canHandleProject(projectType)) {
|
|
249
|
+
contributed = await this.askContributorAsync(context, cancellationToken);
|
|
250
|
+
} else {
|
|
251
|
+
this.logger.info(`No executor is registered for '${projectType}', so project '${name}' ` + "is described by name only in the solution's debug map.");
|
|
252
|
+
}
|
|
253
|
+
cancellationToken?.throwIfAborted();
|
|
254
|
+
if (!contributed?.length) {
|
|
255
|
+
this.assertDefaultCanRun(context);
|
|
256
|
+
}
|
|
257
|
+
const entries = contributed?.length ? contributed : [this.defaultEntry(context)];
|
|
258
|
+
return entries.map((entry, index) => this.withPlacement(entry, context, index));
|
|
259
|
+
}
|
|
260
|
+
async askContributorAsync(context, cancellationToken) {
|
|
261
|
+
const { accessToken: _token, ...connection } = context.connection;
|
|
262
|
+
return this.askExecutorAsync(context.project, {
|
|
263
|
+
action: "describe itself for the solution's debug map",
|
|
264
|
+
purpose: "collecting JIT entries"
|
|
265
|
+
}, (executor, signal) => executor.buildJitProcessEntriesAsync({ ...context, connection }, signal), cancellationToken);
|
|
266
|
+
}
|
|
267
|
+
async collectProcessCallsAsync(project, cancellationToken) {
|
|
268
|
+
cancellationToken?.throwIfAborted();
|
|
269
|
+
if (!this.registry.canHandleProject(project.projectType)) {
|
|
270
|
+
return {
|
|
271
|
+
status: "unknown",
|
|
272
|
+
reason: `no executor is registered for the project type '${project.projectType}'`
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
const answer = await this.askExecutorAsync(project, {
|
|
276
|
+
action: "list its process calls",
|
|
277
|
+
purpose: "listing process calls"
|
|
278
|
+
}, (executor, signal) => typeof executor.getProcessCallsAsync === "function" ? executor.getProcessCallsAsync(project, signal) : Promise.resolve({
|
|
279
|
+
status: "unknown",
|
|
280
|
+
reason: `the ${project.projectType} executor does not list the process calls of a project`
|
|
281
|
+
}), cancellationToken);
|
|
282
|
+
cancellationToken?.throwIfAborted();
|
|
283
|
+
return isProcessCallsResult(answer) ? answer : {
|
|
284
|
+
status: "unknown",
|
|
285
|
+
reason: `the ${project.projectType} executor gave its process calls in a shape that this CLI cannot read`
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
async askExecutorAsync(project, wording, ask, cancellationToken) {
|
|
289
|
+
const { name, projectType } = project;
|
|
290
|
+
const budget = new AbortController;
|
|
291
|
+
const signal = cancellationToken ? AbortSignal.any([cancellationToken, budget.signal]) : budget.signal;
|
|
292
|
+
const work = this.runContributorAsync(projectType, wording.purpose, (executor) => ask(executor, signal));
|
|
293
|
+
try {
|
|
294
|
+
return await this.withinBudget(work, project, wording, budget);
|
|
295
|
+
} catch (error) {
|
|
296
|
+
if (error instanceof JitContributorError) {
|
|
297
|
+
throw error;
|
|
298
|
+
}
|
|
299
|
+
throw new JitContributorError("Failed", `Project '${name}' (${projectType}) could not ${wording.action}: ` + `${error instanceof Error ? error.message : String(error)}`, name);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
async runContributorAsync(projectType, purpose, ask) {
|
|
303
|
+
let executor;
|
|
304
|
+
try {
|
|
305
|
+
const factory = this.registry.getProjectExecutorFactory(projectType);
|
|
306
|
+
executor = await factory.createAsync(this.logger, this.fileSystem);
|
|
307
|
+
return executor ? await ask(executor) : undefined;
|
|
308
|
+
} finally {
|
|
309
|
+
try {
|
|
310
|
+
await executor?.dispose();
|
|
311
|
+
} catch (error) {
|
|
312
|
+
this.logger.warn(`Failed to dispose the ${projectType} executor after ${purpose}: ` + `${error instanceof Error ? error.message : String(error)}`);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
withinBudget(pending, project, wording, budget) {
|
|
317
|
+
const { name, projectType } = project;
|
|
318
|
+
let timer;
|
|
319
|
+
const expiry = new Promise((_resolve, reject) => {
|
|
320
|
+
timer = setTimeout(() => {
|
|
321
|
+
budget.abort();
|
|
322
|
+
reject(new JitContributorError("Timeout", `Project '${name}' (${projectType}) did not ${wording.action} ` + `within ${this.timeoutMs}ms.`, name));
|
|
323
|
+
}, this.timeoutMs);
|
|
324
|
+
});
|
|
325
|
+
return Promise.race([pending, expiry]).finally(() => {
|
|
326
|
+
clearTimeout(timer);
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
withPlacement(entry, context, index) {
|
|
330
|
+
const isLeadEntry = context.isLead && index === 0;
|
|
331
|
+
if (isLeadEntry || !context.placement || entry.executionSettings) {
|
|
332
|
+
return entry;
|
|
333
|
+
}
|
|
334
|
+
return { ...entry, executionSettings: context.placement };
|
|
335
|
+
}
|
|
336
|
+
assertDefaultCanRun(context) {
|
|
337
|
+
const { name, projectType, cloudProjectId } = context.project;
|
|
338
|
+
if (!context.placement || cloudProjectId) {
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
throw new JitContributorError("Undescribed", `Project '${name}' (${projectType}) did not describe itself for the solution's ` + "debug map, and with no cloud project id a default entry names no source, so " + "its job would start with nothing to run.", name);
|
|
342
|
+
}
|
|
343
|
+
defaultEntry(context) {
|
|
344
|
+
const { name, projectType, cloudProjectId } = context.project;
|
|
345
|
+
const executorInfo = cloudProjectId ? JSON.stringify({ projectId: cloudProjectId }) : "{}";
|
|
346
|
+
const entry = { name, projectType, executorInfo };
|
|
347
|
+
return cloudProjectId ? { ...entry, projectId: cloudProjectId } : entry;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
function isProcessCallsResult(value) {
|
|
351
|
+
if (typeof value !== "object" || value === null) {
|
|
352
|
+
return false;
|
|
353
|
+
}
|
|
354
|
+
const answer = value;
|
|
355
|
+
if (answer.status === "known") {
|
|
356
|
+
return Array.isArray(answer.calls);
|
|
357
|
+
}
|
|
358
|
+
return answer.status === "unknown" && typeof answer.reason === "string";
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// ../executor/project-executor/src/services/project-runner.ts
|
|
362
|
+
class ProjectRunner {
|
|
363
|
+
fileSystem;
|
|
364
|
+
logger;
|
|
365
|
+
registry;
|
|
366
|
+
constructor(deps) {
|
|
367
|
+
this.fileSystem = deps.fileSystem;
|
|
368
|
+
this.logger = deps.logger ?? noopExecutorLogger;
|
|
369
|
+
this.registry = deps.registry ?? executorsFactoryRepository;
|
|
370
|
+
}
|
|
371
|
+
canRun(projectType) {
|
|
372
|
+
return this.registry.canHandleProject(projectType);
|
|
373
|
+
}
|
|
374
|
+
get runnableTypes() {
|
|
375
|
+
return this.registry.registeredTypes;
|
|
376
|
+
}
|
|
377
|
+
async runAsync(options, cancellationToken) {
|
|
378
|
+
const { projectType, name } = options.project;
|
|
379
|
+
if (!this.canRun(projectType)) {
|
|
380
|
+
const known = this.runnableTypes.join(", ") || "none";
|
|
381
|
+
return RunResult.failed("UnsupportedProjectType" /* UnsupportedProjectType */, `Cannot run project '${name}' (project type '${projectType}'): ` + `no runner is installed for it. Project types that can be run: ${known}.`);
|
|
382
|
+
}
|
|
383
|
+
let executor;
|
|
384
|
+
try {
|
|
385
|
+
const factory = this.registry.getProjectExecutorFactory(projectType);
|
|
386
|
+
executor = await factory.createAsync(this.logger, this.fileSystem);
|
|
387
|
+
this.logger.info(`Running ${name} (${projectType}) on ${options.target}.`);
|
|
388
|
+
return await executor.runAsync(options, cancellationToken);
|
|
389
|
+
} catch (error) {
|
|
390
|
+
return RunResult.failed("Unknown" /* Unknown */, messageOf(error));
|
|
391
|
+
} finally {
|
|
392
|
+
try {
|
|
393
|
+
await executor?.dispose();
|
|
394
|
+
} catch (error) {
|
|
395
|
+
this.logger.warn(`Failed to dispose the ${projectType} executor: ${messageOf(error)}`);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
function messageOf(error) {
|
|
401
|
+
return error instanceof Error ? error.message : String(error);
|
|
402
|
+
}
|
|
403
|
+
// ../executor/project-executor/src/services/executor-tool-import.ts
|
|
404
|
+
async function importExecutorToolModule(specifier) {
|
|
405
|
+
try {
|
|
406
|
+
return { module: await import(specifier) };
|
|
407
|
+
} catch (error) {
|
|
408
|
+
return {
|
|
409
|
+
error: error instanceof Error ? error : new Error(String(error))
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
// ../executor/project-executor/src/services/executor-tool-module.ts
|
|
415
|
+
var EXECUTOR_FACTORY_EXPORT = "createExecutorFactory";
|
|
416
|
+
function isExecutorFactoryModule(module) {
|
|
417
|
+
return typeof module === "object" && module !== null && typeof module[EXECUTOR_FACTORY_EXPORT] === "function";
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
// ../executor/project-executor/src/services/executor-factory-provider.ts
|
|
421
|
+
var PROVIDER_KEY = Symbol.for("@uipath/project-executor/executorFactoryProvider");
|
|
422
|
+
var _global2 = globalThis;
|
|
423
|
+
function registerExecutorFactoryFromModule(module, source) {
|
|
424
|
+
if (!isExecutorFactoryModule(module)) {
|
|
425
|
+
throw new Error(`${source} does not export ${EXECUTOR_FACTORY_EXPORT}().`);
|
|
426
|
+
}
|
|
427
|
+
const factory = module.createExecutorFactory();
|
|
428
|
+
executorsFactoryRepository.registerProjectExecutorFactory(factory);
|
|
429
|
+
return factory;
|
|
430
|
+
}
|
|
431
|
+
async function ensureExecutorFactory(verb, packageName) {
|
|
432
|
+
const provider = _global2[PROVIDER_KEY];
|
|
433
|
+
if (provider) {
|
|
434
|
+
await provider(verb);
|
|
435
|
+
return;
|
|
436
|
+
}
|
|
437
|
+
if (!packageName) {
|
|
438
|
+
throw new Error(`Running this project type needs the executor factory for '${verb}', and no package provides it.`);
|
|
439
|
+
}
|
|
440
|
+
const specifier = `${packageName}/executor-tool`;
|
|
441
|
+
const { module, error } = await importExecutorToolModule(specifier);
|
|
442
|
+
if (error) {
|
|
443
|
+
throw new Error(`Running this project type needs '${packageName}'. Install it.`, { cause: error });
|
|
444
|
+
}
|
|
445
|
+
registerExecutorFactoryFromModule(module, specifier);
|
|
446
|
+
}
|
|
447
|
+
export { FPS_DEBUG_EXECUTOR, DEVELOPMENT_RUNTIME_TYPE, ORCHESTRATOR_PROJECT_TYPES, assembleJitFpsProperties, RunResult, executorsFactoryRepository, ensureExecutorFactory, JitEntryCollector, ProjectRunner };
|
|
448
|
+
|
|
449
|
+
//# debugId=158D08966D28567664756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
installSdkUserAgentHeader
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
5
5
|
|
|
6
6
|
// ../solution-sdk/generated/src/runtime.ts
|
|
7
7
|
var BASE_PATH = "https://alpha.uipath.com/uipattycyrhx/abizon_1/automationsolutions_".replace(/\/+$/, "");
|
|
@@ -257,7 +257,7 @@ var package_default = {
|
|
|
257
257
|
name: "@uipath/solution-sdk",
|
|
258
258
|
author: "UiPath",
|
|
259
259
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
260
|
-
version: "1.
|
|
260
|
+
version: "1.207.0-preview.305",
|
|
261
261
|
repository: {
|
|
262
262
|
type: "git",
|
|
263
263
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -298,6 +298,10 @@ var package_default = {
|
|
|
298
298
|
"./project-context": {
|
|
299
299
|
types: "./dist/src/project-context.d.ts",
|
|
300
300
|
default: "./dist/project-context.js"
|
|
301
|
+
},
|
|
302
|
+
"./invocation-graph": {
|
|
303
|
+
types: "./dist/src/invocation-graph.d.ts",
|
|
304
|
+
default: "./dist/invocation-graph.js"
|
|
301
305
|
}
|
|
302
306
|
},
|
|
303
307
|
bin: {
|
|
@@ -308,7 +312,7 @@ var package_default = {
|
|
|
308
312
|
],
|
|
309
313
|
private: false,
|
|
310
314
|
scripts: {
|
|
311
|
-
build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts ./src/deployment-search.ts ./src/package-search.ts ./src/project-context.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
|
|
315
|
+
build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts ./src/deployment-search.ts ./src/package-search.ts ./src/project-context.ts ./src/invocation-graph.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
|
|
312
316
|
generate: "bun run src/scripts/generate-sdk.ts",
|
|
313
317
|
lint: "biome check .",
|
|
314
318
|
test: "vitest run",
|
|
@@ -1175,4 +1179,4 @@ class SearchApi extends BaseAPI {
|
|
|
1175
1179
|
}
|
|
1176
1180
|
export { Configuration3, ResponseError, SDK_USER_AGENT, DeploymentActivationStatus2, WorkflowAction2, DeploymentOperationStatus2, DeploymentSearchItemDto2FromJSON, PackageInfoFromJSON, SolutionDeploymentAction2, DeploymentsApi2, SearchApi };
|
|
1177
1181
|
|
|
1178
|
-
//# debugId=
|
|
1182
|
+
//# debugId=F10209DF892A576B64756E2164756E21
|