pi-lens 4.4.8 → 4.4.10
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/CHANGELOG-USER.md +31 -0
- package/CHANGELOG.md +258 -0
- package/README.md +4 -1
- package/config/dependency-cruiser-eager-allowlist.json +1 -1
- package/dist/{chunk-6YUNI7B5.js → chunk-2ADRLTM2.js} +14 -60
- package/dist/{chunk-4B2YFN4U.js → chunk-2LVJQU3I.js} +46 -33
- package/dist/{chunk-2453RRJ2.js → chunk-3FRI5H4T.js} +72 -23
- package/dist/{chunk-7MAD5ZAY.js → chunk-3HM4BUHR.js} +14 -16
- package/dist/chunk-3QWVOBZJ.js +73 -0
- package/dist/{chunk-PIQQM32Y.js → chunk-46TQJSUE.js} +4 -2
- package/dist/{chunk-RZG472YW.js → chunk-4ITEFRDH.js} +84 -46
- package/dist/{chunk-6FIRFP6A.js → chunk-4NCDHTFI.js} +10 -12
- package/dist/{chunk-7CGIDRIK.js → chunk-6I44EDNQ.js} +14 -16
- package/dist/{chunk-2BKUFQKR.js → chunk-6MDM5MQT.js} +554 -217
- package/dist/{chunk-BBET6HD6.js → chunk-7JX3RNG4.js} +1 -1
- package/dist/{chunk-JE6HKLC7.js → chunk-7WJ55KBN.js} +2 -4
- package/dist/{chunk-4BKU7PV3.js → chunk-A5TEJZGJ.js} +2 -1
- package/dist/{chunk-7ANZ7XDD.js → chunk-ACRJ2GZ5.js} +2 -2
- package/dist/{chunk-2ZE3AUJQ.js → chunk-ALIZWXHZ.js} +13 -15
- package/dist/{chunk-BQG2QFVO.js → chunk-AON2QIJF.js} +43 -55
- package/dist/chunk-B2YUE6YD.js +23 -0
- package/dist/{chunk-L4NEVZ4T.js → chunk-B6HXETWY.js} +25 -27
- package/dist/chunk-BDR5MEZY.js +25 -0
- package/dist/{chunk-HXFUTMX2.js → chunk-BGLS5SDN.js} +2 -2
- package/dist/{chunk-ZZDIOAAJ.js → chunk-BRESRQBE.js} +6 -6
- package/dist/{chunk-WXUDRAG6.js → chunk-C6AODRNU.js} +10 -12
- package/dist/{chunk-GMROJJRN.js → chunk-CB7PEVOJ.js} +9 -1
- package/dist/{chunk-BHWW6FAX.js → chunk-CTB5BAJI.js} +53 -22
- package/dist/{chunk-VN3L2JWZ.js → chunk-CYUJB552.js} +5 -5
- package/dist/{chunk-6GMGEKQN.js → chunk-CZAWWXP6.js} +39 -12
- package/dist/{chunk-G5GV2Q7K.js → chunk-CZCAZVTD.js} +16 -2
- package/dist/chunk-DBS736MA.js +57 -0
- package/dist/{chunk-OWTG6UMO.js → chunk-DOUAWKLO.js} +75 -22
- package/dist/{chunk-BOPDQ7AZ.js → chunk-DVRJBQOJ.js} +19 -21
- package/dist/{chunk-UHHLR2VY.js → chunk-E4VXKTBR.js} +38 -41
- package/dist/{chunk-X66YJ2SS.js → chunk-F6FT6BVQ.js} +33 -34
- package/dist/{chunk-GIRBSBGL.js → chunk-FCQSZQAT.js} +3 -3
- package/dist/{chunk-X35S7HSB.js → chunk-FOEPIX76.js} +41 -30
- package/dist/{chunk-MC6VB2E5.js → chunk-GMC4ZGYR.js} +17 -5
- package/dist/{chunk-7TNILKGY.js → chunk-GTTMQ6XB.js} +1 -1
- package/dist/{chunk-HHR7WGCI.js → chunk-GUGKKGG7.js} +3 -3
- package/dist/{chunk-OZWXLJMX.js → chunk-GVWIU7M7.js} +2 -2
- package/dist/{chunk-WMDUT4KH.js → chunk-H65TYP6V.js} +94 -90
- package/dist/{chunk-5F3XF3SX.js → chunk-HILZE4BQ.js} +9 -8
- package/dist/{chunk-PKSUMEPT.js → chunk-HSYFLOZY.js} +3 -3
- package/dist/{chunk-4QG55RRC.js → chunk-I32RSMH6.js} +10 -12
- package/dist/chunk-I74RQGKA.js +88 -0
- package/dist/{chunk-G6JKM4O7.js → chunk-IDCTDKIA.js} +10 -10
- package/dist/chunk-IK4YS3KC.js +25 -0
- package/dist/{chunk-O2ARHQKF.js → chunk-IL6PIV33.js} +2 -2
- package/dist/{chunk-L3CLUGDY.js → chunk-J6BR5XN2.js} +3 -3
- package/dist/chunk-JKOZ2Z4U.js +20 -0
- package/dist/{chunk-SP4TFY5F.js → chunk-JZQGRARR.js} +11 -13
- package/dist/{chunk-CUDD35TW.js → chunk-K6WIBVMK.js} +6 -5
- package/dist/{chunk-DIWK3LBC.js → chunk-KDCIG23C.js} +8 -10
- package/dist/{chunk-4NBWFYWW.js → chunk-KFRDFAOE.js} +8 -33
- package/dist/{chunk-I22THIHI.js → chunk-KJ3AHOCK.js} +10 -12
- package/dist/{chunk-VOP4PJKA.js → chunk-KSTQ4VXT.js} +7 -9
- package/dist/{chunk-RGGH6M34.js → chunk-LT62P654.js} +1 -1
- package/dist/chunk-MAD4QJTP.js +198 -0
- package/dist/{chunk-CM73PPGD.js → chunk-MN635QYA.js} +3 -4
- package/dist/{chunk-HUAM7QG3.js → chunk-NBM7PNBP.js} +25 -23
- package/dist/{chunk-DYRZGUMA.js → chunk-NE4EFHJX.js} +2 -2
- package/dist/{chunk-SQC7K3SP.js → chunk-NL5LSKVD.js} +2 -2
- package/dist/{chunk-JZRP4DGP.js → chunk-NPNFGYLV.js} +4 -2
- package/dist/{chunk-NM2NWH55.js → chunk-NUSXS6YB.js} +6 -5
- package/dist/{chunk-ZKLTNLAW.js → chunk-OPFNQBS5.js} +6 -6
- package/dist/{chunk-PPKECBPP.js → chunk-OTSTS7L2.js} +19 -1
- package/dist/{chunk-SFLHSL5R.js → chunk-PTSA6QKL.js} +18 -7
- package/dist/{chunk-OY7WZI7Q.js → chunk-Q2VCKC3X.js} +6 -6
- package/dist/{chunk-HKIL6DCL.js → chunk-QGITU23N.js} +1 -1
- package/dist/{chunk-3O5EII3W.js → chunk-QHOTTC4A.js} +2 -2
- package/dist/{chunk-35WKJWO5.js → chunk-QL37SGTS.js} +112 -20
- package/dist/{chunk-OC7VWJBZ.js → chunk-QMV2APEH.js} +35 -37
- package/dist/{chunk-BUZIQDFS.js → chunk-QSCZAP24.js} +3 -3
- package/dist/{chunk-O4N5BQ3T.js → chunk-QUPYLQA4.js} +8 -10
- package/dist/{chunk-A5GRLYPZ.js → chunk-QUQY3IME.js} +7 -13
- package/dist/{chunk-R2QQC33W.js → chunk-QWTHFFU6.js} +12 -14
- package/dist/{chunk-TV6RXRYH.js → chunk-RQRKIRFY.js} +8 -10
- package/dist/{chunk-ZFORSIED.js → chunk-S3WFVG5P.js} +15 -42
- package/dist/{chunk-5RNB4HVK.js → chunk-SG2JQ2YP.js} +1 -1
- package/dist/{chunk-KZ4ALBCH.js → chunk-SJQUWQR6.js} +2 -2
- package/dist/{chunk-T2S3FNNJ.js → chunk-SKVNHCT5.js} +41 -42
- package/dist/{chunk-SDFKOLSF.js → chunk-TJQSYX3J.js} +8 -6
- package/dist/{chunk-IYVYZQRL.js → chunk-TLWFZ66Y.js} +5 -7
- package/dist/{chunk-5T5A6YAJ.js → chunk-TN5CWX5D.js} +33 -34
- package/dist/chunk-TQHOKMVZ.js +28 -0
- package/dist/{chunk-XOMGO63G.js → chunk-TYHOEX4V.js} +19 -21
- package/dist/{chunk-6LJOJ6EO.js → chunk-UNBRHPHJ.js} +14 -16
- package/dist/{chunk-4LL2VRNY.js → chunk-UOO4D2TK.js} +16 -18
- package/dist/{chunk-AGGUWKRK.js → chunk-UY745U35.js} +1 -1
- package/dist/{chunk-LSFXZLPW.js → chunk-V7F7JHS5.js} +218 -253
- package/dist/{chunk-VLQ7UKZH.js → chunk-VCRVNLE7.js} +135 -2
- package/dist/{chunk-JPRDTY5S.js → chunk-VGTBLTPN.js} +8 -10
- package/dist/{chunk-JBP7KESM.js → chunk-VPFRU5IG.js} +1 -1
- package/dist/chunk-VS2L7QDI.js +25 -0
- package/dist/{chunk-4W52ZKZX.js → chunk-W4CUK5G6.js} +2 -2
- package/dist/{chunk-VPLBLWFO.js → chunk-W7TY6HYX.js} +1 -1
- package/dist/{chunk-JYLOYTZD.js → chunk-WAA63ZJV.js} +5 -1
- package/dist/{chunk-WC6WRNQT.js → chunk-WS3UFJOU.js} +2 -2
- package/dist/chunk-XAFZJEXY.js +50 -0
- package/dist/{chunk-XYLC35E4.js → chunk-XPGH5O74.js} +555 -336
- package/dist/{chunk-VOXTCULR.js → chunk-XVB3Q2PG.js} +2 -4
- package/dist/{chunk-FRLAUP2B.js → chunk-Y3EHLUPL.js} +4 -4
- package/dist/{chunk-CZL44WFN.js → chunk-YF4G5NN5.js} +2 -2
- package/dist/{chunk-XWIME22V.js → chunk-YQA34KAF.js} +11 -13
- package/dist/{chunk-FHEV6T4L.js → chunk-YT2VR4SL.js} +8 -10
- package/dist/chunk-ZD4KVFXI.js +234 -0
- package/dist/{chunk-NSPVR3FN.js → chunk-ZOPXB2KK.js} +17 -19
- package/dist/chunk-ZPFLHB3R.js +28 -0
- package/dist/{chunk-R4QWJQ2H.js → chunk-ZZDVGCGG.js} +9 -11
- package/dist/index.js +5398 -4438
- package/dist/mcp/analyze-cli.js +12 -17
- package/dist/mcp/cli.js +41 -42
- package/dist/mcp/server.js +1466 -663
- package/dist/mcp/worker.js +59 -60
- package/dist/probes/installer.js +17 -19
- package/docs/agent-guide.md +2 -1
- package/docs/agent-tools.md +53 -10
- package/docs/analysisall.md +1 -1
- package/docs/ci-bot-pr-checks.md +7 -5
- package/docs/configuration.md +60 -13
- package/docs/defect-shapes.md +67 -4
- package/docs/environment-variables.md +18 -1
- package/docs/features.md +23 -6
- package/docs/globalconfig.md +24 -3
- package/docs/invariants/language-config.md +9 -1
- package/docs/invariants/lsp-trust-exec.md +9 -2
- package/docs/invariants/session-telemetry.md +2 -2
- package/docs/language-coverage.md +67 -0
- package/docs/lsp-capability-matrix.md +121 -53
- package/docs/lsp-idle-eviction.md +20 -13
- package/docs/merge-queue-rollout.md +10 -8
- package/docs/module-report-read-symbol.md +34 -23
- package/docs/pi-lens-fixer.md +19 -7
- package/docs/pi-lens-investigator.md +3 -0
- package/docs/pi-lens-merge-policy.md +20 -8
- package/docs/pi-lens-release.md +3 -2
- package/docs/pi-lens-reviewer.md +53 -12
- package/docs/pi-lens-subagent.md +13 -0
- package/docs/public-api-stability.md +39 -5
- package/docs/release-qa-baseline.md +7 -4
- package/docs/schema/pi-lens-config-v1.json +11 -2
- package/docs/servercapabilities.md +3 -1
- package/docs/settings.md +9 -6
- package/docs/usage.md +1 -0
- package/docs/word-index.md +3 -2
- package/package.json +9 -4
- package/rules/ast-grep-rules/rules/no-sql-in-code-execute-js.yml +1 -2
- package/rules/ast-grep-rules/rules/no-sql-in-code-execute.yml +1 -2
- package/scripts/download-grammars.js +13 -2
- package/scripts/grammars.lock.json +7 -0
- package/skills/pi-lens-lsp-navigation/SKILL.md +5 -1
- package/vendor/grammars/tree-sitter-groovy.wasm +0 -0
- package/dist/chunk-2TS4GLOJ.js +0 -31
- package/dist/chunk-3JAHQBSY.js +0 -27
- package/dist/chunk-447YZL4S.js +0 -25
- package/dist/chunk-565VRUP4.js +0 -136
- package/dist/chunk-57X2CDRX.js +0 -49
- package/dist/chunk-GGYOZWHW.js +0 -27
- package/dist/chunk-IE5D3RA5.js +0 -58
- package/dist/chunk-LPYTPNOJ.js +0 -22
- package/dist/chunk-OFNMHPBT.js +0 -89
- package/dist/chunk-U3AS2FR6.js +0 -106
- package/dist/chunk-W3BGKBBK.js +0 -27
- package/dist/chunk-WQV6BI4Q.js +0 -48
- package/dist/chunk-YHGYAEFH.js +0 -443
- package/dist/chunk-ZONZ6YY3.js +0 -74
- package/dist/chunk-ZSM35JF4.js +0 -30
|
@@ -2,7 +2,7 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
collectSourceFiles,
|
|
4
4
|
collectSourceFilesAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IDCTDKIA.js";
|
|
6
6
|
|
|
7
7
|
// dist/clients/scan-utils.js
|
|
8
8
|
function getSourceFiles(dir, _isTsProject) {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
+
logExtension,
|
|
3
4
|
recordDegradation
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
logExtension
|
|
7
|
-
} from "./chunk-WQV6BI4Q.js";
|
|
5
|
+
} from "./chunk-3FRI5H4T.js";
|
|
8
6
|
import {
|
|
9
7
|
stagePathFor
|
|
10
8
|
} from "./chunk-LJDODBBZ.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
BoundedLruCache,
|
|
4
4
|
BoundedSet,
|
|
5
5
|
normalizeMapKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
7
7
|
|
|
8
8
|
// dist/clients/dispatch/fact-store.js
|
|
9
9
|
var capacityEvictionReporter;
|
|
@@ -318,5 +318,6 @@ var FactStore = class {
|
|
|
318
318
|
export {
|
|
319
319
|
setFactStoreEvictionReporter,
|
|
320
320
|
getFactStoreEvictionReporter,
|
|
321
|
+
MAX_SESSION_FACT_RECORDS,
|
|
321
322
|
FactStore
|
|
322
323
|
};
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
findGoverningTsconfigDir,
|
|
4
4
|
getDirectoryMarkers,
|
|
5
5
|
registerWorkspaceTopologyReset
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NL5LSKVD.js";
|
|
7
7
|
import {
|
|
8
8
|
BoundedLruCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
10
10
|
|
|
11
11
|
// dist/clients/review-graph/tsconfig-paths.js
|
|
12
12
|
import * as fs from "node:fs";
|
|
@@ -4,42 +4,40 @@ import {
|
|
|
4
4
|
} from "./chunk-7U2IDNXN.js";
|
|
5
5
|
import {
|
|
6
6
|
getScratchTreeFnmatchPatterns
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SJQUWQR6.js";
|
|
8
8
|
import {
|
|
9
9
|
firstOutputLine,
|
|
10
10
|
formatToolFailure,
|
|
11
11
|
spawnFailedWithNoOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4ITEFRDH.js";
|
|
13
13
|
import {
|
|
14
14
|
extractTomlTableSection,
|
|
15
15
|
parseTomlStringArray
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WS3UFJOU.js";
|
|
17
17
|
import {
|
|
18
18
|
findLocalBinsAt
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KSTQ4VXT.js";
|
|
20
20
|
import {
|
|
21
21
|
probeToolAsync
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VPFRU5IG.js";
|
|
23
23
|
import {
|
|
24
24
|
classifyProbeFailure,
|
|
25
25
|
createAvailabilityLatch,
|
|
26
26
|
logAvailabilityDecision,
|
|
27
27
|
startHostStallSampler
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NPNFGYLV.js";
|
|
29
29
|
import {
|
|
30
30
|
VENV_BIN_DIRS,
|
|
31
31
|
listNestedLinkedWorktreeRoots,
|
|
32
32
|
safeSpawnAsync
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-H65TYP6V.js";
|
|
34
34
|
import {
|
|
35
|
+
createSubsystemLogger,
|
|
35
36
|
incrementDegradationCount
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
createSubsystemLogger
|
|
39
|
-
} from "./chunk-WQV6BI4Q.js";
|
|
37
|
+
} from "./chunk-3FRI5H4T.js";
|
|
40
38
|
import {
|
|
41
39
|
findNearestMarkerRoot
|
|
42
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
43
41
|
|
|
44
42
|
// dist/clients/dead-code-client.js
|
|
45
43
|
import * as fs from "node:fs";
|
|
@@ -412,13 +410,13 @@ var PythonDeadCodeClient = class {
|
|
|
412
410
|
}
|
|
413
411
|
const output = result.stdout || "";
|
|
414
412
|
if (!output.trim()) {
|
|
415
|
-
const stderr = (result.stderr || "").trim();
|
|
413
|
+
const stderr = firstOutputLine((result.stderr || "").trim().split("\n").at(-1));
|
|
416
414
|
if (spawnFailedWithNoOutput(result, output)) {
|
|
417
415
|
const reason = formatToolFailure({
|
|
418
416
|
tool: "vulture",
|
|
419
417
|
status: result.status,
|
|
420
418
|
signal: result.signal,
|
|
421
|
-
stderr
|
|
419
|
+
stderr
|
|
422
420
|
});
|
|
423
421
|
this.log(reason);
|
|
424
422
|
incrementDegradationCount({
|
|
@@ -428,7 +426,7 @@ var PythonDeadCodeClient = class {
|
|
|
428
426
|
});
|
|
429
427
|
return {
|
|
430
428
|
...emptyResult(this.language),
|
|
431
|
-
summary: stderr ? `vulture error: ${
|
|
429
|
+
summary: stderr ? `vulture error: ${stderr}` : reason,
|
|
432
430
|
durationMs
|
|
433
431
|
};
|
|
434
432
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
resolveToolCwd
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TLWFZ66Y.js";
|
|
5
5
|
import {
|
|
6
6
|
allAvailableGlobalBinDirs,
|
|
7
7
|
installArgs,
|
|
8
8
|
pmBinary,
|
|
9
9
|
resolveNodePackageManager
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KSTQ4VXT.js";
|
|
11
11
|
import {
|
|
12
12
|
probeToolAsync
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VPFRU5IG.js";
|
|
14
14
|
import {
|
|
15
15
|
registerBackgroundWriteDrain
|
|
16
16
|
} from "./chunk-UYXV5NIS.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
createAvailabilityLatch,
|
|
21
21
|
logAvailabilityDecision,
|
|
22
22
|
startHostStallSampler
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NPNFGYLV.js";
|
|
24
24
|
import {
|
|
25
25
|
acquireBoundedPidFileLock,
|
|
26
26
|
acquireQuarantinePidFileLock,
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
isLockContention,
|
|
31
31
|
isUntrustedProjectPath,
|
|
32
32
|
ownsTopGeneration,
|
|
33
|
+
realIsPidAlive,
|
|
33
34
|
recordGenerationTakeover,
|
|
34
35
|
recordLegacyLockHeld,
|
|
35
36
|
recordProjectCommandRefusal,
|
|
@@ -39,28 +40,27 @@ import {
|
|
|
39
40
|
startGenerationHeartbeat,
|
|
40
41
|
tryAcquireGeneration,
|
|
41
42
|
windowsExe
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-H65TYP6V.js";
|
|
43
44
|
import {
|
|
44
45
|
assertInstallAllowed,
|
|
45
46
|
getProjectTrustGeneration,
|
|
46
47
|
projectTrustDenialReason,
|
|
47
48
|
writeFileAtomic,
|
|
48
49
|
writeFileAtomicAsync
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7WJ55KBN.js";
|
|
50
51
|
import {
|
|
51
52
|
getDegradationLedgerGeneration,
|
|
52
53
|
incrementDegradationCount,
|
|
54
|
+
logExtension,
|
|
53
55
|
recordDegradationOnce
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import {
|
|
56
|
-
logExtension
|
|
57
|
-
} from "./chunk-WQV6BI4Q.js";
|
|
56
|
+
} from "./chunk-3FRI5H4T.js";
|
|
58
57
|
import {
|
|
59
58
|
createNdjsonLogger,
|
|
60
59
|
getGlobalPiLensLogDir,
|
|
61
60
|
getMaxLogSizeMB,
|
|
62
|
-
isTestMode
|
|
63
|
-
|
|
61
|
+
isTestMode,
|
|
62
|
+
isToolInstallDisabled
|
|
63
|
+
} from "./chunk-VCRVNLE7.js";
|
|
64
64
|
import {
|
|
65
65
|
BoundedLruCache,
|
|
66
66
|
findLocalToolConfig,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
isUnderDir,
|
|
69
69
|
realpathOrResolve,
|
|
70
70
|
toPosix
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
72
72
|
import {
|
|
73
73
|
__require
|
|
74
74
|
} from "./chunk-NXL4FFQQ.js";
|
|
@@ -373,14 +373,6 @@ var installLockExitCleanupRegistered = false;
|
|
|
373
373
|
function getManagedToolsDir() {
|
|
374
374
|
return TOOLS_DIR;
|
|
375
375
|
}
|
|
376
|
-
function isProcessAlive(pid) {
|
|
377
|
-
try {
|
|
378
|
-
process.kill(pid, 0);
|
|
379
|
-
return true;
|
|
380
|
-
} catch (error) {
|
|
381
|
-
return error.code === "EPERM";
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
376
|
function installLockMaxAgeMs() {
|
|
385
377
|
return (Number(process.env.PI_LENS_INSTALL_TIMEOUT_MS) || 12e4) + 6e4;
|
|
386
378
|
}
|
|
@@ -388,7 +380,7 @@ function legacyInstallLockIsStale(maxAgeMs) {
|
|
|
388
380
|
try {
|
|
389
381
|
const owner = JSON.parse(readFileSync2(INSTALL_LOCK_PATH, "utf8"));
|
|
390
382
|
const expired = Number.isFinite(owner.createdAt) && Date.now() - owner.createdAt > maxAgeMs;
|
|
391
|
-
return expired || Number.isInteger(owner.pid) && owner.pid > 0 && !
|
|
383
|
+
return expired || Number.isInteger(owner.pid) && owner.pid > 0 && !realIsPidAlive(owner.pid);
|
|
392
384
|
} catch {
|
|
393
385
|
try {
|
|
394
386
|
return Date.now() - statSync2(INSTALL_LOCK_PATH).mtimeMs > maxAgeMs;
|
|
@@ -2644,6 +2636,22 @@ function getArchiveBinaryCandidates(binaryName, platform, assetName) {
|
|
|
2644
2636
|
candidates.add(`${binaryName}.cmd`);
|
|
2645
2637
|
return [...candidates];
|
|
2646
2638
|
}
|
|
2639
|
+
async function firstVerifiedBinary(candidates, onTransient, verificationArgs, verificationTimeoutMs) {
|
|
2640
|
+
for (const candidate of candidates) {
|
|
2641
|
+
try {
|
|
2642
|
+
await fs2.access(candidate);
|
|
2643
|
+
if (isUntrustedProjectPath(candidate)) {
|
|
2644
|
+
recordProjectCommandRefusal(candidate);
|
|
2645
|
+
continue;
|
|
2646
|
+
}
|
|
2647
|
+
if (await verifyToolBinary(candidate, void 0, onTransient, verificationTimeoutMs, verificationArgs)) {
|
|
2648
|
+
return candidate;
|
|
2649
|
+
}
|
|
2650
|
+
} catch {
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
return void 0;
|
|
2654
|
+
}
|
|
2647
2655
|
async function findNpmGlobalToolPath(binaryName, onTransient, verificationArgs = ["--version"], verificationTimeoutMs = 1e4) {
|
|
2648
2656
|
const isWindows = process.platform === "win32";
|
|
2649
2657
|
const binDirs = await getNpmGlobalBinCandidates(onTransient);
|
|
@@ -2652,19 +2660,9 @@ async function findNpmGlobalToolPath(binaryName, onTransient, verificationArgs =
|
|
|
2652
2660
|
path4.join(dir, `${binaryName}.cmd`),
|
|
2653
2661
|
path4.join(dir, `${binaryName}.exe`)
|
|
2654
2662
|
] : [path4.join(dir, binaryName)];
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
if (isUntrustedProjectPath(candidate)) {
|
|
2659
|
-
recordProjectCommandRefusal(candidate);
|
|
2660
|
-
continue;
|
|
2661
|
-
}
|
|
2662
|
-
if (await verifyToolBinary(candidate, void 0, onTransient, verificationTimeoutMs, verificationArgs)) {
|
|
2663
|
-
return candidate;
|
|
2664
|
-
}
|
|
2665
|
-
} catch {
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2663
|
+
const verified = await firstVerifiedBinary(candidates, onTransient, verificationArgs, verificationTimeoutMs);
|
|
2664
|
+
if (verified)
|
|
2665
|
+
return verified;
|
|
2668
2666
|
}
|
|
2669
2667
|
return void 0;
|
|
2670
2668
|
}
|
|
@@ -2720,19 +2718,9 @@ async function findPipUserToolPath(binaryName, onTransient, verificationArgs = [
|
|
|
2720
2718
|
path4.join(dir, `${binaryName}.cmd`),
|
|
2721
2719
|
path4.join(dir, binaryName)
|
|
2722
2720
|
] : [path4.join(dir, binaryName)];
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
if (isUntrustedProjectPath(candidate)) {
|
|
2727
|
-
recordProjectCommandRefusal(candidate);
|
|
2728
|
-
continue;
|
|
2729
|
-
}
|
|
2730
|
-
if (await verifyToolBinary(candidate, void 0, onTransient, verificationTimeoutMs, verificationArgs)) {
|
|
2731
|
-
return candidate;
|
|
2732
|
-
}
|
|
2733
|
-
} catch {
|
|
2734
|
-
}
|
|
2735
|
-
}
|
|
2721
|
+
const verified = await firstVerifiedBinary(candidates, onTransient, verificationArgs, verificationTimeoutMs);
|
|
2722
|
+
if (verified)
|
|
2723
|
+
return verified;
|
|
2736
2724
|
}
|
|
2737
2725
|
}
|
|
2738
2726
|
return void 0;
|
|
@@ -3216,7 +3204,7 @@ ${result.stderr}`);
|
|
|
3216
3204
|
}
|
|
3217
3205
|
}
|
|
3218
3206
|
async function acquireManagedInstallGate(context) {
|
|
3219
|
-
if (
|
|
3207
|
+
if (isToolInstallDisabled()) {
|
|
3220
3208
|
return {
|
|
3221
3209
|
ok: false,
|
|
3222
3210
|
reason: "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1"
|
|
@@ -4129,7 +4117,7 @@ async function stampInstallResolution(toolId) {
|
|
|
4129
4117
|
return;
|
|
4130
4118
|
try {
|
|
4131
4119
|
const resolutionId = lastInstallResolutionId.get(toolId);
|
|
4132
|
-
const refresh = await import("./chunk-
|
|
4120
|
+
const refresh = await import("./chunk-TYHOEX4V.js");
|
|
4133
4121
|
await refresh.stampManagedToolInstall(toolId, resolutionId);
|
|
4134
4122
|
} catch {
|
|
4135
4123
|
}
|
|
@@ -4142,7 +4130,7 @@ async function finishInstallAttempt(toolId, ok, startedAt) {
|
|
|
4142
4130
|
if (ok) {
|
|
4143
4131
|
resetSafeSpawnWindowsCommandCache();
|
|
4144
4132
|
try {
|
|
4145
|
-
const { resetMadgeManagedPathMemo } = await import("./chunk-
|
|
4133
|
+
const { resetMadgeManagedPathMemo } = await import("./chunk-DBS736MA.js");
|
|
4146
4134
|
resetMadgeManagedPathMemo();
|
|
4147
4135
|
} catch (err) {
|
|
4148
4136
|
logSessionStart(`auto-install ${toolId}: madge memo reset failed: ${err.message}`);
|
|
@@ -4151,7 +4139,7 @@ async function finishInstallAttempt(toolId, ok, startedAt) {
|
|
|
4151
4139
|
return ok;
|
|
4152
4140
|
}
|
|
4153
4141
|
async function installTool(toolId, ownsLock) {
|
|
4154
|
-
if (
|
|
4142
|
+
if (isToolInstallDisabled()) {
|
|
4155
4143
|
installFailureReasons.set(toolId, "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1");
|
|
4156
4144
|
noteInstallAttempt(toolId, "declined", "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1");
|
|
4157
4145
|
logSessionStart(`auto-install ${toolId}: refused \u2014 PI_LENS_DISABLE_TOOL_INSTALL=1`);
|
|
@@ -4172,7 +4160,7 @@ async function installTool(toolId, ownsLock) {
|
|
|
4172
4160
|
return false;
|
|
4173
4161
|
const npmPath = await installNpmTool(tool.id, tool.packageName, tool.binaryName, tool.checkArgs, getToolVerificationTimeout(tool), packageEntryVerification(tool), ownsLock);
|
|
4174
4162
|
if (npmPath !== void 0) {
|
|
4175
|
-
await import("./chunk-
|
|
4163
|
+
await import("./chunk-TYHOEX4V.js").then((m) => m.stampManagedToolInstalled(tool.id, tool.packageName)).catch(() => {
|
|
4176
4164
|
});
|
|
4177
4165
|
}
|
|
4178
4166
|
return finishInstallAttempt(tool.id, npmPath !== void 0, startedAt);
|
|
@@ -4275,7 +4263,7 @@ async function ensureToolResolved(toolId, opts) {
|
|
|
4275
4263
|
logSessionStart(`auto-install ensure ${toolId}: force reinstall blocked \u2014 install disabled, discovery only (${Date.now() - ensureStartMs2}ms)`);
|
|
4276
4264
|
return cacheResolvedPath(await getToolPath(toolId));
|
|
4277
4265
|
}
|
|
4278
|
-
if (
|
|
4266
|
+
if (isToolInstallDisabled()) {
|
|
4279
4267
|
installFailureReasons.set(toolId, "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1");
|
|
4280
4268
|
noteInstallAttempt(toolId, "declined", "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1");
|
|
4281
4269
|
logSessionStart(`auto-install ensure ${toolId}: refused \u2014 PI_LENS_DISABLE_TOOL_INSTALL=1`);
|
|
@@ -4364,7 +4352,7 @@ async function ensureToolResolved(toolId, opts) {
|
|
|
4364
4352
|
logSessionStart(`auto-install ensure ${toolId}: install disabled \u2014 discovery only, not found (${Date.now() - ensureStartMs}ms)`);
|
|
4365
4353
|
return void 0;
|
|
4366
4354
|
}
|
|
4367
|
-
if (
|
|
4355
|
+
if (isToolInstallDisabled()) {
|
|
4368
4356
|
installFailureReasons.set(toolId, "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1");
|
|
4369
4357
|
noteInstallAttempt(toolId, "declined", "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1");
|
|
4370
4358
|
logSessionStart(`auto-install ensure ${toolId}: refused \u2014 PI_LENS_DISABLE_TOOL_INSTALL=1 (${Date.now() - ensureStartMs}ms)`);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
getSourceFiles,
|
|
4
|
+
getSourceFilesAsync
|
|
5
|
+
} from "./chunk-7JX3RNG4.js";
|
|
6
|
+
import "./chunk-IDCTDKIA.js";
|
|
7
|
+
import "./chunk-IL6PIV33.js";
|
|
8
|
+
import "./chunk-H65TYP6V.js";
|
|
9
|
+
import "./chunk-QYF5S6P6.js";
|
|
10
|
+
import "./chunk-CZCAZVTD.js";
|
|
11
|
+
import "./chunk-FOEPIX76.js";
|
|
12
|
+
import "./chunk-NL5LSKVD.js";
|
|
13
|
+
import "./chunk-7WJ55KBN.js";
|
|
14
|
+
import "./chunk-3FRI5H4T.js";
|
|
15
|
+
import "./chunk-S26LC76R.js";
|
|
16
|
+
import "./chunk-VCRVNLE7.js";
|
|
17
|
+
import "./chunk-LJDODBBZ.js";
|
|
18
|
+
import "./chunk-CB7PEVOJ.js";
|
|
19
|
+
import "./chunk-NXL4FFQQ.js";
|
|
20
|
+
export {
|
|
21
|
+
getSourceFiles,
|
|
22
|
+
getSourceFilesAsync
|
|
23
|
+
};
|
|
@@ -52,41 +52,39 @@ import {
|
|
|
52
52
|
tryLazyInstallFormatterTool,
|
|
53
53
|
typstyleFormatter,
|
|
54
54
|
zigFormatter
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-UOO4D2TK.js";
|
|
56
|
+
import "./chunk-GMC4ZGYR.js";
|
|
57
|
+
import "./chunk-HILZE4BQ.js";
|
|
58
|
+
import "./chunk-BRESRQBE.js";
|
|
59
|
+
import "./chunk-WS3UFJOU.js";
|
|
60
|
+
import "./chunk-QGITU23N.js";
|
|
61
61
|
import "./chunk-6HWVI6MI.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-NBM7PNBP.js";
|
|
63
|
+
import "./chunk-BGLS5SDN.js";
|
|
64
64
|
import "./chunk-2BEMIWEW.js";
|
|
65
65
|
import "./chunk-IJYGIDF4.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-AON2QIJF.js";
|
|
67
|
+
import "./chunk-TLWFZ66Y.js";
|
|
68
|
+
import "./chunk-KSTQ4VXT.js";
|
|
69
|
+
import "./chunk-VPFRU5IG.js";
|
|
70
70
|
import "./chunk-UYXV5NIS.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-NPNFGYLV.js";
|
|
72
|
+
import "./chunk-TJQSYX3J.js";
|
|
73
|
+
import "./chunk-7JX3RNG4.js";
|
|
74
|
+
import "./chunk-IDCTDKIA.js";
|
|
75
|
+
import "./chunk-IL6PIV33.js";
|
|
76
|
+
import "./chunk-H65TYP6V.js";
|
|
77
77
|
import "./chunk-AWQWXSW4.js";
|
|
78
78
|
import "./chunk-QYF5S6P6.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-WQV6BI4Q.js";
|
|
79
|
+
import "./chunk-CZCAZVTD.js";
|
|
80
|
+
import "./chunk-FOEPIX76.js";
|
|
81
|
+
import "./chunk-NL5LSKVD.js";
|
|
82
|
+
import "./chunk-7WJ55KBN.js";
|
|
83
|
+
import "./chunk-3FRI5H4T.js";
|
|
85
84
|
import "./chunk-S26LC76R.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-VLQ7UKZH.js";
|
|
85
|
+
import "./chunk-VCRVNLE7.js";
|
|
88
86
|
import "./chunk-LJDODBBZ.js";
|
|
89
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-CB7PEVOJ.js";
|
|
90
88
|
import "./chunk-NXL4FFQQ.js";
|
|
91
89
|
export {
|
|
92
90
|
ALL_FORMATTERS,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
GovulncheckClient,
|
|
4
|
+
parseGovulncheckJson
|
|
5
|
+
} from "./chunk-PTSA6QKL.js";
|
|
6
|
+
import "./chunk-VGTBLTPN.js";
|
|
7
|
+
import "./chunk-4ITEFRDH.js";
|
|
8
|
+
import "./chunk-LT62P654.js";
|
|
9
|
+
import "./chunk-VPFRU5IG.js";
|
|
10
|
+
import "./chunk-NPNFGYLV.js";
|
|
11
|
+
import "./chunk-H65TYP6V.js";
|
|
12
|
+
import "./chunk-AWQWXSW4.js";
|
|
13
|
+
import "./chunk-FOEPIX76.js";
|
|
14
|
+
import "./chunk-NL5LSKVD.js";
|
|
15
|
+
import "./chunk-7WJ55KBN.js";
|
|
16
|
+
import "./chunk-3FRI5H4T.js";
|
|
17
|
+
import "./chunk-S26LC76R.js";
|
|
18
|
+
import "./chunk-VCRVNLE7.js";
|
|
19
|
+
import "./chunk-LJDODBBZ.js";
|
|
20
|
+
import "./chunk-CB7PEVOJ.js";
|
|
21
|
+
import "./chunk-NXL4FFQQ.js";
|
|
22
|
+
export {
|
|
23
|
+
GovulncheckClient,
|
|
24
|
+
parseGovulncheckJson
|
|
25
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
loadPiLensProjectConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FOEPIX76.js";
|
|
5
5
|
import {
|
|
6
6
|
lazyEnvNumber,
|
|
7
7
|
toPositiveFinite
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VCRVNLE7.js";
|
|
9
9
|
|
|
10
10
|
// dist/clients/project-scale.js
|
|
11
11
|
var DEFAULT_PROJECT_SCALE_BASE = 2e3;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
deserializeWordIndex,
|
|
4
4
|
recordPersistedWordIndexWireBytes,
|
|
5
5
|
serializeWordIndex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NBM7PNBP.js";
|
|
7
7
|
import {
|
|
8
8
|
fingerprintProjectSnapshotJson
|
|
9
9
|
} from "./chunk-2BEMIWEW.js";
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
getProjectDataDir,
|
|
19
19
|
isStaleStageFile,
|
|
20
20
|
withGenerationLockSync
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-H65TYP6V.js";
|
|
22
22
|
import {
|
|
23
23
|
writeFileAtomic
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7WJ55KBN.js";
|
|
25
25
|
import {
|
|
26
26
|
incrementDegradationCount
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3FRI5H4T.js";
|
|
28
28
|
import {
|
|
29
29
|
logLatency
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VCRVNLE7.js";
|
|
31
31
|
import {
|
|
32
32
|
BoundedFifoMap,
|
|
33
33
|
normalizeMapKey
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
35
35
|
|
|
36
36
|
// dist/clients/project-snapshot.js
|
|
37
37
|
import * as fs3 from "node:fs";
|
|
@@ -2,21 +2,19 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
computeImpactCascade,
|
|
4
4
|
computeTransitiveImpact
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HSYFLOZY.js";
|
|
6
6
|
import "./chunk-PKLB2XJL.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-WQV6BI4Q.js";
|
|
7
|
+
import "./chunk-K6WIBVMK.js";
|
|
8
|
+
import "./chunk-WS3UFJOU.js";
|
|
9
|
+
import "./chunk-H65TYP6V.js";
|
|
10
|
+
import "./chunk-FOEPIX76.js";
|
|
11
|
+
import "./chunk-NL5LSKVD.js";
|
|
12
|
+
import "./chunk-7WJ55KBN.js";
|
|
13
|
+
import "./chunk-3FRI5H4T.js";
|
|
15
14
|
import "./chunk-S26LC76R.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-VLQ7UKZH.js";
|
|
15
|
+
import "./chunk-VCRVNLE7.js";
|
|
18
16
|
import "./chunk-LJDODBBZ.js";
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-CB7PEVOJ.js";
|
|
20
18
|
import "./chunk-NXL4FFQQ.js";
|
|
21
19
|
export {
|
|
22
20
|
computeImpactCascade,
|
|
@@ -2605,13 +2605,20 @@ function relativeInside(root, file, pathImpl = path2) {
|
|
|
2605
2605
|
return relative !== ".." && !relative.startsWith(`..${pathImpl.sep}`) && !pathImpl.isAbsolute(relative) ? relative.replace(/\\/g, "/") : void 0;
|
|
2606
2606
|
}
|
|
2607
2607
|
function toProjectRelativePath(filePath, projectRoot) {
|
|
2608
|
+
return relativeToProjectRoot(filePath, projectRoot, () => normalizeFilePath(projectRoot));
|
|
2609
|
+
}
|
|
2610
|
+
function createProjectRelativePathResolver(projectRoot) {
|
|
2611
|
+
let canonicalRoot;
|
|
2612
|
+
return (filePath) => relativeToProjectRoot(filePath, projectRoot, () => canonicalRoot ??= normalizeFilePath(projectRoot));
|
|
2613
|
+
}
|
|
2614
|
+
function relativeToProjectRoot(filePath, projectRoot, canonicalRoot) {
|
|
2608
2615
|
const p = isWindowsPath(filePath) ? win32 : path2;
|
|
2609
2616
|
if (!p.isAbsolute(filePath))
|
|
2610
2617
|
return filePath.replace(/\\/g, "/");
|
|
2611
2618
|
const direct = relativeInside(projectRoot, filePath, p);
|
|
2612
2619
|
if (direct)
|
|
2613
2620
|
return direct;
|
|
2614
|
-
const canonical = relativeInside(
|
|
2621
|
+
const canonical = relativeInside(canonicalRoot(), normalizeFilePath(filePath), p);
|
|
2615
2622
|
if (canonical)
|
|
2616
2623
|
return canonical;
|
|
2617
2624
|
return filePath.replace(/\\/g, "/");
|
|
@@ -2997,6 +3004,7 @@ export {
|
|
|
2997
3004
|
normalizeMapKey,
|
|
2998
3005
|
relativeInside,
|
|
2999
3006
|
toProjectRelativePath,
|
|
3007
|
+
createProjectRelativePathResolver,
|
|
3000
3008
|
normalizeEphemeralMapKey,
|
|
3001
3009
|
pathsEqual,
|
|
3002
3010
|
walkUpDirs,
|