@uipath/agent-tool 1.205.0-preview.281 → 1.206.0-preview.282
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/README.md +51 -0
- package/dist/THIRD-PARTY-NOTICES.md +5 -5
- package/dist/agent-tool-OK5DK57D-bjevqt47.js +10 -0
- package/dist/{de-MUJPA4EB-209jpeqe.js → de-AI7ML6JM-km47f8k4.js} +47 -5
- package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/en-LAVDF7IQ-xe939kq1.js +254 -0
- package/dist/{es-MX-2MYFZU7X-6v0q5rbn.js → es-MX-7KJZPEQN-1fq0a9jr.js} +47 -5
- package/dist/{es-7SE7HX2X-qda7whn6.js → es-SPNKTD5Y-vw5cbgv5.js} +47 -5
- package/dist/executor-tool.js +8 -10
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/{fr-MDFKNZ4C-qmypp92m.js → fr-AXJGUT53-hdg3pmd4.js} +47 -5
- package/dist/index-0j2xw9tw.js +36 -0
- package/dist/{index-ar269vgy.js → index-js1wb4x0.js} +223 -199
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/index-ybw87d41.js +21 -0
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +15 -19
- package/dist/{ja-UTQEAP34-hvyf683h.js → ja-C7GZV6YP-hvtbngr5.js} +47 -5
- package/dist/{jmespath-e4a59c8w.js → jmespath-ab6tdc42.js} +1 -1
- package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/{ko-AXCHW2OK-pkwdcbmx.js → ko-Q24HSSL4-5vn55pte.js} +47 -5
- package/dist/{memory-runtime-service-h9wdsd31.js → memory-runtime-service-h5bqa30b.js} +16 -27
- package/dist/{packager-tool-je2re4j6.js → packager-tool-0ajs8pnk.js} +53 -8
- package/dist/{packager-tool-fza8z686.js → packager-tool-21r3phhc.js} +984 -467
- package/dist/{packager-tool-mmvst1c0.js → packager-tool-258gazqz.js} +49 -60
- package/dist/{packager-tool-jd8cfevc.js → packager-tool-4j09ztk2.js} +10 -40
- package/dist/{packager-tool-22e4nhzm.js → packager-tool-4shqngrj.js} +2 -2
- package/dist/packager-tool-ayda10gw.js +1434 -0
- package/dist/packager-tool-bh92xy8d.js +17988 -0
- package/dist/{packager-tool-c8amhz3a.js → packager-tool-d2fvzzb1.js} +1533 -726
- package/dist/{packager-tool-1yh8g550.js → packager-tool-epsr41wx.js} +8 -12
- package/dist/packager-tool-fc08rcbk.js +253 -0
- package/dist/{packager-tool-xbzpm6s2.js → packager-tool-kawtadzm.js} +44 -38
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
- package/dist/{packager-tool-vwsq85y7.js → packager-tool-qr8dtv3r.js} +35 -18
- package/dist/{packager-tool-7sbsrgd5.js → packager-tool-qvsazy59.js} +6 -7
- package/dist/{packager-tool-b098y4a2.js → packager-tool-wbksf242.js} +97 -97
- package/dist/packager-tool-z6a5nr2d.js +2342 -0
- package/dist/packager-tool.js +5 -9
- package/dist/{pt-BR-Y6K6XHXK-37a932vp.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +47 -5
- package/dist/{pt-3DIO5QWG-hb763vct.js → pt-MHX6JGAX-xfgvdqwg.js} +47 -5
- package/dist/{ro-BWR3ONRR-jmap5ajd.js → ro-3RKJNGJZ-xqj14e3d.js} +47 -5
- package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
- package/dist/solution-auth-wmeqt2hh.js +10 -0
- package/dist/tool.js +14 -18
- package/dist/{tr-5IIHSFW5-stsb3dar.js → tr-PQLUUHPC-qsb7btxn.js} +47 -5
- package/dist/{zh-CN-R2KU4U5L-q4yhc33t.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +47 -5
- package/dist/{zh-TW-GNKMELBF-r4ay2475.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +47 -5
- package/package.json +2 -2
- package/dist/agent-tool-OK5DK57D-1654w938.js +0 -12
- package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
- package/dist/first-party-service-srxaftkn.js +0 -27
- package/dist/index-3bq4shbm.js +0 -666
- package/dist/index-aa5b4rsq.js +0 -3174
- package/dist/index-kmp9fmhb.js +0 -25
- package/dist/packager-tool-4mna26cc.js +0 -133
- package/dist/packager-tool-53w8skv5.js +0 -262
- package/dist/packager-tool-607v4t05.js +0 -22083
- package/dist/packager-tool-c23zrhj8.js +0 -11
- package/dist/packager-tool-emspfs60.js +0 -31133
- package/dist/packager-tool-kjhqvfap.js +0 -5365
- package/dist/solution-auth-h0yjcbsy.js +0 -11
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
uploadOrOverwriteSolution
|
|
5
|
-
} from "./packager-tool-kjhqvfap.js";
|
|
6
|
-
import {
|
|
7
|
-
findSolutionFile,
|
|
8
|
-
updateSolutionFile,
|
|
9
|
-
updateUipxSolutionId
|
|
10
|
-
} from "./packager-tool-jd8cfevc.js";
|
|
11
|
-
import {
|
|
12
|
-
JobAttachmentUploadError,
|
|
13
|
-
PersonalWorkspacesApi,
|
|
14
|
-
createApiClient,
|
|
15
|
-
uploadJobAttachment
|
|
16
|
-
} from "./packager-tool-607v4t05.js";
|
|
17
|
-
import {
|
|
18
|
-
getLoginStatusAsync
|
|
19
|
-
} from "./packager-tool-vwsq85y7.js";
|
|
2
|
+
getFileSystem
|
|
3
|
+
} from "./packager-tool-0ajs8pnk.js";
|
|
20
4
|
import {
|
|
21
|
-
OutputFormatter,
|
|
22
5
|
catchError,
|
|
23
6
|
extractErrorDetails,
|
|
24
7
|
extractErrorMessage,
|
|
25
|
-
logger,
|
|
26
8
|
parseAttachmentSpec,
|
|
27
|
-
readAttachmentSpecs
|
|
28
|
-
|
|
9
|
+
readAttachmentSpecs,
|
|
10
|
+
logger,
|
|
11
|
+
OutputFormatter
|
|
12
|
+
} from "./packager-tool-21r3phhc.js";
|
|
29
13
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
14
|
+
PersonalWorkspacesApi2,
|
|
15
|
+
createApiClient2,
|
|
16
|
+
JobAttachmentUploadError2,
|
|
17
|
+
uploadJobAttachment2
|
|
18
|
+
} from "./packager-tool-z6a5nr2d.js";
|
|
19
|
+
import {
|
|
20
|
+
getAuthContext
|
|
21
|
+
} from "./packager-tool-qr8dtv3r.js";
|
|
22
|
+
import {
|
|
23
|
+
finalizeZip642,
|
|
24
|
+
bundleSolution2,
|
|
25
|
+
uploadOrOverwriteSolution2
|
|
26
|
+
} from "./packager-tool-ayda10gw.js";
|
|
27
|
+
import {
|
|
28
|
+
updateUipxSolutionId2,
|
|
29
|
+
findSolutionFile2,
|
|
30
|
+
updateSolutionFile2
|
|
31
|
+
} from "./packager-tool-4j09ztk2.js";
|
|
32
32
|
import {
|
|
33
33
|
zipSync
|
|
34
|
-
} from "./packager-tool-
|
|
34
|
+
} from "./packager-tool-wbksf242.js";
|
|
35
35
|
|
|
36
36
|
// src/services/agent-builder-migrations.ts
|
|
37
37
|
var warnedLegacyToolGuardrailPolicies = false;
|
|
@@ -109,8 +109,9 @@ class AgentProjectService {
|
|
|
109
109
|
const [builderReadError, builderRaw] = await catchError(this.fs.readFile(this.fs.path.join(builderDir, "agent.json"), "utf-8"));
|
|
110
110
|
if (!builderReadError && builderRaw) {
|
|
111
111
|
try {
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
const parsed = JSON.parse(builderRaw);
|
|
113
|
+
existingBuilder = parsed;
|
|
114
|
+
migrateLegacyToolGuardrailPolicies(parsed);
|
|
114
115
|
} catch {}
|
|
115
116
|
}
|
|
116
117
|
const builderAgent = {
|
|
@@ -507,7 +508,7 @@ async function createArchive(sourceDir, outputPath, exclude) {
|
|
|
507
508
|
zippable[relPath] = new Uint8Array(data);
|
|
508
509
|
}
|
|
509
510
|
}
|
|
510
|
-
await fs.writeFile(outputPath,
|
|
511
|
+
await fs.writeFile(outputPath, finalizeZip642(zipSync(zippable, { level: 6 })));
|
|
511
512
|
}
|
|
512
513
|
|
|
513
514
|
// src/services/agent-local-workspace-eval-preparer.ts
|
|
@@ -522,24 +523,12 @@ function toForwardSlash(path) {
|
|
|
522
523
|
return path.replace(/\\/g, "/");
|
|
523
524
|
}
|
|
524
525
|
async function resolveStudioWebConfig() {
|
|
525
|
-
const
|
|
526
|
-
if (loginError) {
|
|
527
|
-
throw new Error(loginError.message);
|
|
528
|
-
}
|
|
529
|
-
if (login.loginStatus !== "Logged in" || !login.baseUrl) {
|
|
530
|
-
throw new Error("Not logged in. Run 'uip login' first.");
|
|
531
|
-
}
|
|
532
|
-
if (!login.accessToken) {
|
|
533
|
-
throw new Error("Access token not available from login.");
|
|
534
|
-
}
|
|
535
|
-
if (!login.organizationName) {
|
|
536
|
-
throw new Error("Organization name not available from login. Required for Studio Web evaluation.");
|
|
537
|
-
}
|
|
526
|
+
const auth = await getAuthContext({ requireOrganizationName: true });
|
|
538
527
|
return {
|
|
539
|
-
baseUrl:
|
|
540
|
-
tenantId:
|
|
541
|
-
authToken:
|
|
542
|
-
organizationName:
|
|
528
|
+
baseUrl: auth.baseUrl,
|
|
529
|
+
tenantId: auth.tenantId,
|
|
530
|
+
authToken: auth.accessToken,
|
|
531
|
+
organizationName: auth.organizationName
|
|
543
532
|
};
|
|
544
533
|
}
|
|
545
534
|
|
|
@@ -570,7 +559,7 @@ class AgentLocalWorkspaceEvalPreparer {
|
|
|
570
559
|
const projectFile = {
|
|
571
560
|
Name: typeof parsedProjectFile.Name === "string" ? parsedProjectFile.Name : undefined
|
|
572
561
|
};
|
|
573
|
-
const solutionInfo = await
|
|
562
|
+
const solutionInfo = await findSolutionFile2(this.fs, agentDir);
|
|
574
563
|
const solutionId = existingSolutionIdOverride ?? marker?.solutionId ?? solutionInfo?.solutionId;
|
|
575
564
|
const solutionName = projectFile.Name ?? agent.metadata.name ?? this.fs.path.basename(agentDir);
|
|
576
565
|
const safeSolutionName = solutionName.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
@@ -586,7 +575,7 @@ class AgentLocalWorkspaceEvalPreparer {
|
|
|
586
575
|
"*/.sw-path-marker"
|
|
587
576
|
]);
|
|
588
577
|
logger.info("Uploading local workspace agent for eval...");
|
|
589
|
-
const importResult = await
|
|
578
|
+
const importResult = await uploadOrOverwriteSolution2({
|
|
590
579
|
baseUrl: config.baseUrl,
|
|
591
580
|
tenantId: config.tenantId,
|
|
592
581
|
authToken: config.authToken
|
|
@@ -596,7 +585,7 @@ class AgentLocalWorkspaceEvalPreparer {
|
|
|
596
585
|
if (packageRoot !== absoluteProjectPath) {
|
|
597
586
|
await this.persistSolutionStorage(projectService, packageRoot, packageRoot, projectFilePath, importResult.id, agent.projectId, matchedProject.id);
|
|
598
587
|
}
|
|
599
|
-
await
|
|
588
|
+
await updateSolutionFile2(this.fs, agentDir, importResult.id);
|
|
600
589
|
if (marker) {
|
|
601
590
|
await this.updateLocalWorkspaceMarker(marker.rootPath, importResult.id);
|
|
602
591
|
}
|
|
@@ -605,7 +594,7 @@ class AgentLocalWorkspaceEvalPreparer {
|
|
|
605
594
|
agentProjectId: matchedProject.id
|
|
606
595
|
};
|
|
607
596
|
} finally {
|
|
608
|
-
const [cleanupError] = await catchError(this.fs.rm(stagingDir
|
|
597
|
+
const [cleanupError] = await catchError(this.fs.rm(stagingDir));
|
|
609
598
|
if (cleanupError) {
|
|
610
599
|
logger.warn(`Cleanup failed: ${cleanupError.message}`);
|
|
611
600
|
}
|
|
@@ -760,7 +749,7 @@ class AgentDebugService {
|
|
|
760
749
|
if (prepared.length === 0) {
|
|
761
750
|
return [];
|
|
762
751
|
}
|
|
763
|
-
const settled = await Promise.allSettled(prepared.map((p) =>
|
|
752
|
+
const settled = await Promise.allSettled(prepared.map((p) => uploadJobAttachment2(p.bytes, p.fileName, { tenant, signal })));
|
|
764
753
|
const bound = [];
|
|
765
754
|
const failures = [];
|
|
766
755
|
settled.forEach((result, index) => {
|
|
@@ -779,16 +768,16 @@ class AgentDebugService {
|
|
|
779
768
|
});
|
|
780
769
|
if (failures.length > 0) {
|
|
781
770
|
this.warnAttachmentsLeftBehind(bound);
|
|
782
|
-
for (const { input
|
|
783
|
-
if (
|
|
784
|
-
logger.warn(`Attachment record ${
|
|
771
|
+
for (const { input, reason } of failures) {
|
|
772
|
+
if (reason instanceof JobAttachmentUploadError2 && reason.stage === "upload" && reason.attachmentId !== undefined) {
|
|
773
|
+
logger.warn(`Attachment record ${reason.attachmentId} for '${input.path}' is left behind after its upload failed.`);
|
|
785
774
|
}
|
|
786
775
|
}
|
|
787
776
|
const [{ input, reason }] = failures;
|
|
788
777
|
if (signal?.aborted) {
|
|
789
778
|
throw new AgentDebugCancelledError;
|
|
790
779
|
}
|
|
791
|
-
const detail = reason instanceof
|
|
780
|
+
const detail = reason instanceof JobAttachmentUploadError2 ? reason.message : await extractErrorMessage(reason);
|
|
792
781
|
throw new AgentDebugAttachmentUploadError(input.field, input.path, `Failed to upload --attachment '${input.path}' for field '${input.field}': ${detail}`, reason);
|
|
793
782
|
}
|
|
794
783
|
return bound;
|
|
@@ -810,7 +799,7 @@ class AgentDebugService {
|
|
|
810
799
|
return this.uploadSolutionAndResolveProjectId(projectPath);
|
|
811
800
|
}
|
|
812
801
|
async uploadSolutionAndResolveProjectId(projectPath) {
|
|
813
|
-
const solution = await
|
|
802
|
+
const solution = await findSolutionFile2(this.fs, projectPath);
|
|
814
803
|
if (!solution) {
|
|
815
804
|
throw new Error(`No enclosing .uipx solution found for '${projectPath}'. Create one with 'uip solution init' and add the agent to it.`);
|
|
816
805
|
}
|
|
@@ -818,10 +807,10 @@ class AgentDebugService {
|
|
|
818
807
|
const solutionDir = this.fs.path.resolve(projectPath, "..");
|
|
819
808
|
const tempDir = await this.fs.getTempDir();
|
|
820
809
|
try {
|
|
821
|
-
const bundle = await
|
|
822
|
-
const importResult = await
|
|
810
|
+
const bundle = await bundleSolution2(this.fs, solutionDir, tempDir);
|
|
811
|
+
const importResult = await uploadOrOverwriteSolution2(config, config.organizationName, bundle.uisPath, bundle.solutionId, this.fs);
|
|
823
812
|
if (importResult.id && bundle.uipxPath) {
|
|
824
|
-
await
|
|
813
|
+
await updateUipxSolutionId2(this.fs, bundle.uipxPath, importResult.id);
|
|
825
814
|
}
|
|
826
815
|
const projectName = await this.readProjectName(projectPath);
|
|
827
816
|
const byName = importResult.projects.find((p) => p.name === projectName);
|
|
@@ -846,7 +835,7 @@ class AgentDebugService {
|
|
|
846
835
|
return parsed?.Name ?? this.fs.path.basename(projectPath);
|
|
847
836
|
}
|
|
848
837
|
async resolvePersonalWorkspaceKey() {
|
|
849
|
-
const wsApi = await
|
|
838
|
+
const wsApi = await createApiClient2(PersonalWorkspacesApi2, {});
|
|
850
839
|
const workspace = await wsApi.personalWorkspacesGetPersonalWorkspace();
|
|
851
840
|
if (!workspace?.key) {
|
|
852
841
|
throw new Error("Could not resolve your personal workspace. Ensure it is enabled for your account.");
|
|
@@ -974,4 +963,4 @@ function parseOutput(outputArguments) {
|
|
|
974
963
|
|
|
975
964
|
export { migrateLegacyToolGuardrailPolicies, AgentProjectService, resolveStudioWebConfig, AgentLocalWorkspaceEvalPreparer, AttachmentInputError, toAttachmentSummaries, prepareAttachmentInputs, AgentDebugCancelledError, AgentDebugAttachmentUploadError, AgentDebugStartOutcomeUnknownError, AgentDebugService };
|
|
976
965
|
|
|
977
|
-
//# debugId=
|
|
966
|
+
//# debugId=C51629623A9837AD64756E2164756E21
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
logger,
|
|
4
4
|
quoteForShell,
|
|
5
5
|
unsupportedSolutionProjectType
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-21r3phhc.js";
|
|
7
7
|
|
|
8
8
|
// ../solution-sdk/src/solution-file.ts
|
|
9
9
|
var STUDIO_WEB_PROJECT_TYPE_OVERRIDES = {
|
|
@@ -96,7 +96,7 @@ async function autoScaffoldSolution(fs, baseDir, projectName) {
|
|
|
96
96
|
SolutionFile: solutionFile
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
async function
|
|
99
|
+
async function prepareProjectLocation2(fs, candidateProjectDir, projectName, options = {}) {
|
|
100
100
|
const resolved = fs.path.resolve(candidateProjectDir);
|
|
101
101
|
if (options.skipRegistration) {
|
|
102
102
|
return { projectDir: resolved };
|
|
@@ -122,14 +122,7 @@ async function warnIfCandidateDirShadowed(fs, candidateDir, projectDir) {
|
|
|
122
122
|
}
|
|
123
123
|
logger.warn(`An existing directory "${candidateDir}" was left untouched. ` + `The project was created inside the auto-created solution at "${projectDir}". ` + "Run init from inside an existing solution, or pass --skip-solution-registration, if you meant to use the existing directory.");
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
const resolved = fs.path.resolve(inputPath);
|
|
127
|
-
if (resolved.endsWith(".uipx")) {
|
|
128
|
-
return fs.path.dirname(resolved);
|
|
129
|
-
}
|
|
130
|
-
return resolved;
|
|
131
|
-
}
|
|
132
|
-
async function updateUipxSolutionId(fs, uipxPath, newSolutionId) {
|
|
125
|
+
async function updateUipxSolutionId2(fs, uipxPath, newSolutionId) {
|
|
133
126
|
const [readError, content] = await catchError(fs.readFile(uipxPath, "utf-8"));
|
|
134
127
|
if (readError || !content) {
|
|
135
128
|
logger.error(`Could not read .uipx file for update: ${readError?.message ?? "empty file"}`);
|
|
@@ -148,7 +141,7 @@ async function updateUipxSolutionId(fs, uipxPath, newSolutionId) {
|
|
|
148
141
|
logger.info(`Updated .uipx with Studio Web SolutionId: ${newSolutionId}`);
|
|
149
142
|
}
|
|
150
143
|
}
|
|
151
|
-
async function
|
|
144
|
+
async function findSolutionFile2(fs, projectPath) {
|
|
152
145
|
const parentDir = fs.path.resolve(projectPath, "..");
|
|
153
146
|
const [dirError, entries] = await catchError(fs.readdir(parentDir));
|
|
154
147
|
if (dirError) {
|
|
@@ -183,7 +176,7 @@ async function findSolutionFile(fs, projectPath) {
|
|
|
183
176
|
projectId: projectId ?? crypto.randomUUID()
|
|
184
177
|
};
|
|
185
178
|
}
|
|
186
|
-
async function
|
|
179
|
+
async function updateSolutionFile2(fs, projectPath, newSolutionId) {
|
|
187
180
|
const parentDir = fs.path.resolve(projectPath, "..");
|
|
188
181
|
const [dirError, entries] = await catchError(fs.readdir(parentDir));
|
|
189
182
|
if (dirError)
|
|
@@ -192,9 +185,9 @@ async function updateSolutionFile(fs, projectPath, newSolutionId) {
|
|
|
192
185
|
if (!uipxFile)
|
|
193
186
|
return;
|
|
194
187
|
const uipxPath = fs.path.join(parentDir, uipxFile);
|
|
195
|
-
await
|
|
188
|
+
await updateUipxSolutionId2(fs, uipxPath, newSolutionId);
|
|
196
189
|
}
|
|
197
|
-
async function
|
|
190
|
+
async function tryRegisterProjectInParentSolution2(fs, projectDir, options) {
|
|
198
191
|
if (options?.skipRegistration) {
|
|
199
192
|
return {
|
|
200
193
|
Status: "OptedOut",
|
|
@@ -494,30 +487,7 @@ function buildOptedOutInstructions(projectDir) {
|
|
|
494
487
|
].join(`
|
|
495
488
|
`);
|
|
496
489
|
}
|
|
497
|
-
async function
|
|
498
|
-
const [readErr, manifest] = await readSolutionManifest(fs, solutionFile);
|
|
499
|
-
if (readErr) {
|
|
500
|
-
throw readErr;
|
|
501
|
-
}
|
|
502
|
-
if (!manifest) {
|
|
503
|
-
throw new Error(`Unable to read solution manifest: ${solutionFile}`);
|
|
504
|
-
}
|
|
505
|
-
const solutionDir = fs.path.dirname(solutionFile);
|
|
506
|
-
const projectDirReal = await canonicalizePath(fs, projectDir);
|
|
507
|
-
for (const project of manifest.projects) {
|
|
508
|
-
const candidateDir = fs.path.resolve(solutionDir, fs.path.dirname(toPortableRelativePath(project.ProjectRelativePath)));
|
|
509
|
-
const candidateReal = await canonicalizePath(fs, candidateDir);
|
|
510
|
-
if (candidateReal === projectDirReal) {
|
|
511
|
-
return true;
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
return false;
|
|
515
|
-
}
|
|
516
|
-
async function canonicalizePath(fs, p) {
|
|
517
|
-
const [err, real] = await catchError(fs.realpath(p));
|
|
518
|
-
return err || !real ? p : real;
|
|
519
|
-
}
|
|
520
|
-
async function findSolutionFileUpward(fs, startDir) {
|
|
490
|
+
async function findSolutionFileUpward2(fs, startDir) {
|
|
521
491
|
let dir = startDir;
|
|
522
492
|
while (true) {
|
|
523
493
|
const entries = await fs.readdir(dir);
|
|
@@ -536,6 +506,6 @@ async function findSolutionFileUpward(fs, startDir) {
|
|
|
536
506
|
}
|
|
537
507
|
}
|
|
538
508
|
|
|
539
|
-
export { normalizeProjectType, toPortableRelativePath, readUipxFile,
|
|
509
|
+
export { normalizeProjectType, toPortableRelativePath, readUipxFile, prepareProjectLocation2, updateUipxSolutionId2, findSolutionFile2, updateSolutionFile2, tryRegisterProjectInParentSolution2, findSolutionFileUpward2 };
|
|
540
510
|
|
|
541
|
-
//# debugId=
|
|
511
|
+
//# debugId=A7FFF6E6EF1B5CB164756E2164756E21
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
zipSync
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-wbksf242.js";
|
|
4
4
|
|
|
5
5
|
// ../packager/packager-core/src/filesystem/path.ts
|
|
6
6
|
class Path {
|
|
@@ -1173,4 +1173,4 @@ I18nManager.registerTranslations("zu", zu);
|
|
|
1173
1173
|
I18nManager.setLocale("en");
|
|
1174
1174
|
export { Path, TemporaryStorageService, NugetConstants, ToolResult, NugetPackager, ProjectTool, toolsFactoryRepository };
|
|
1175
1175
|
|
|
1176
|
-
//# debugId=
|
|
1176
|
+
//# debugId=37731CA99FA9256364756E2164756E21
|