pi-lens 4.4.5 → 4.4.7
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.md +120 -0
- package/README.md +37 -1
- package/config/biome/core.jsonc +3 -3
- package/dist/{chunk-6XSESGWD.js → chunk-24BILSZW.js} +2 -2
- package/dist/{chunk-YXDCRUKQ.js → chunk-2PHMIAKO.js} +4 -4
- package/dist/{chunk-EN5AM7PX.js → chunk-2TF6RXWB.js} +10 -10
- package/dist/{chunk-XI34NWDI.js → chunk-3F6BMY53.js} +1 -1
- package/dist/{chunk-VUAVE3QC.js → chunk-3FRLWYBG.js} +36 -36
- package/dist/{chunk-THEXI2QO.js → chunk-3K2F6UDZ.js} +42 -42
- package/dist/{chunk-ZPJM7DID.js → chunk-3YY7IXIL.js} +3 -3
- package/dist/chunk-46TNM7XZ.js +88 -0
- package/dist/{chunk-TL2TCJYL.js → chunk-4L36HG27.js} +14 -14
- package/dist/{chunk-UCVMSOXF.js → chunk-4LM3VAZH.js} +2 -2
- package/dist/{chunk-AI3GP74G.js → chunk-4LOE5R5P.js} +15 -15
- package/dist/{chunk-AHWA4AKM.js → chunk-4YHYPW2G.js} +32 -9
- package/dist/{chunk-VITFDI3O.js → chunk-4ZYJHQMB.js} +12 -12
- package/dist/{chunk-KCBRHV5E.js → chunk-6IR3ZYIB.js} +3 -3
- package/dist/chunk-72OKUXSD.js +31 -0
- package/dist/{chunk-RCHO5W7M.js → chunk-75GAYVNO.js} +13 -12
- package/dist/{chunk-2SDHYHHO.js → chunk-7E2563GA.js} +13 -13
- package/dist/chunk-7GLOLOSH.js +57 -0
- package/dist/{chunk-CG5V25HX.js → chunk-ABPKUVA4.js} +1 -1
- package/dist/chunk-AKUUMGD5.js +26 -0
- package/dist/chunk-ASUXV767.js +22 -0
- package/dist/{chunk-Q42LJANT.js → chunk-AWDSEDER.js} +2 -2
- package/dist/{chunk-Y2TPADJR.js → chunk-BZARLRJW.js} +9 -9
- package/dist/{chunk-YKVDBNPO.js → chunk-CB4WHS4H.js} +3 -3
- package/dist/{chunk-YXGRRORB.js → chunk-CCV2EU7T.js} +13 -13
- package/dist/{chunk-PJXNTPB2.js → chunk-CE6VMBCB.js} +21 -21
- package/dist/{chunk-KPVLQHCZ.js → chunk-CPSR3AVL.js} +2 -2
- package/dist/chunk-CTADOKYM.js +25 -0
- package/dist/{chunk-CPZ5JJW6.js → chunk-DH5JPM3K.js} +4 -4
- package/dist/{chunk-4FHUGDKU.js → chunk-DPGEAHZT.js} +5 -5
- package/dist/{chunk-SNEUMLM7.js → chunk-DQZFQSR5.js} +4 -4
- package/dist/{chunk-RG3MXTRI.js → chunk-E7HJ56Y7.js} +7 -7
- package/dist/{chunk-YSDPVDFC.js → chunk-EAOK7MIZ.js} +3 -3
- package/dist/{chunk-PP2A5V2T.js → chunk-EKWX4WD3.js} +7 -7
- package/dist/{chunk-2LDMXL2M.js → chunk-F5Z6URKM.js} +2 -2
- package/dist/{chunk-72J27ICO.js → chunk-F6X3YJWD.js} +2 -2
- package/dist/{chunk-ELZRSR5N.js → chunk-F7K5IBZG.js} +41 -39
- package/dist/{chunk-EX4EXBW7.js → chunk-FB5SCCPT.js} +15 -15
- package/dist/{chunk-SJHC3BCZ.js → chunk-FZKFVUEC.js} +518 -233
- package/dist/{chunk-UVY4TOJH.js → chunk-GNSIWBAT.js} +3 -3
- package/dist/{chunk-EXVXBSGN.js → chunk-H7OR7DFZ.js} +20 -18
- package/dist/{chunk-NLIVE7L6.js → chunk-HO6LWE2E.js} +1 -1
- package/dist/{chunk-X3UTCXAA.js → chunk-HR3OJ3TH.js} +12 -12
- package/dist/{chunk-HYVXA3BB.js → chunk-HWDAVBFU.js} +23 -23
- package/dist/{chunk-ZSUX7KEM.js → chunk-J6JP25XU.js} +2 -2
- package/dist/{chunk-T4NGVFYI.js → chunk-JJ2RRESP.js} +8 -5
- package/dist/{chunk-RU34BA4D.js → chunk-JMEKXFOL.js} +34 -34
- package/dist/{chunk-IL7K66ZQ.js → chunk-KDX35VXP.js} +74 -18
- package/dist/{chunk-EDMLIW6W.js → chunk-KKCK636N.js} +12 -12
- package/dist/{chunk-KJJAVH3X.js → chunk-KPPJTH44.js} +6 -5
- package/dist/{chunk-5LRUKYFA.js → chunk-KW5JQPO5.js} +2 -2
- package/dist/{chunk-N3PLNNCW.js → chunk-KXF5R4UN.js} +1 -1
- package/dist/{chunk-YWNO5Q4R.js → chunk-L3CMBQMH.js} +17 -17
- package/dist/{chunk-YWWG4AQA.js → chunk-L5JYIU47.js} +24 -25
- package/dist/{chunk-K2GUZ4DN.js → chunk-LBLBAFG3.js} +4 -4
- package/dist/{chunk-APFJKOP6.js → chunk-LLS45EWB.js} +10 -2
- package/dist/{chunk-MKPCELNI.js → chunk-LS3QJRUB.js} +13 -13
- package/dist/chunk-LSC3VADM.js +23 -0
- package/dist/{chunk-F7BO6FWH.js → chunk-LUBPZN36.js} +11 -11
- package/dist/{chunk-ASRAO7KG.js → chunk-LV4UMYVH.js} +27 -27
- package/dist/{chunk-COOUUC5W.js → chunk-MB6PXBUA.js} +6 -6
- package/dist/{chunk-3WCEHYOI.js → chunk-MNJIXFX4.js} +1 -1
- package/dist/{chunk-FEDWAYDS.js → chunk-MPKRJBPK.js} +35 -15
- package/dist/{chunk-Q4BKKOVC.js → chunk-N5WSK2K7.js} +8 -8
- package/dist/{chunk-K4SZB56V.js → chunk-NA7SEXHE.js} +12 -8
- package/dist/{chunk-UL5SXQVX.js → chunk-O4BJFESU.js} +1 -1
- package/dist/{chunk-LMCTHJ2H.js → chunk-OE5ZBP7F.js} +18 -18
- package/dist/{chunk-NFNVDDGB.js → chunk-OSTKYB55.js} +1 -1
- package/dist/{chunk-27VWVB23.js → chunk-OXOI55RU.js} +10 -10
- package/dist/{chunk-7IYC4ENJ.js → chunk-PKES3ISE.js} +2 -2
- package/dist/{chunk-EWXXLS26.js → chunk-PQJFG24Z.js} +82 -12
- package/dist/{chunk-3SNDVPOR.js → chunk-PR6PO3ES.js} +8 -8
- package/dist/{chunk-63NMUNYP.js → chunk-PUZ3E2J4.js} +6 -6
- package/dist/{chunk-DS2USX5G.js → chunk-QHSNL7B2.js} +11 -11
- package/dist/{chunk-UO66IMVP.js → chunk-QOE342SU.js} +2 -2
- package/dist/{chunk-7ZS7MC24.js → chunk-R5MOQM2H.js} +107 -40
- package/dist/{chunk-JWOVP5BL.js → chunk-RC2Z6K47.js} +6 -6
- package/dist/{chunk-GLW3YDZZ.js → chunk-RORGS5II.js} +9 -9
- package/dist/{chunk-Y5KTA2OB.js → chunk-RQS4QQSD.js} +2 -2
- package/dist/{chunk-KFXCL4OV.js → chunk-RRV3FNNM.js} +22 -23
- package/dist/{chunk-GYRZ72R4.js → chunk-RZOXUSPC.js} +2 -2
- package/dist/chunk-SHLDT3OI.js +27 -0
- package/dist/{chunk-IEBJF3PN.js → chunk-SNDXCFRS.js} +15 -13
- package/dist/{chunk-XHLK33VM.js → chunk-T7A2HK2B.js} +16 -16
- package/dist/{chunk-WUY4BZEP.js → chunk-TIQJPRDD.js} +106 -50
- package/dist/{chunk-2FYKETQJ.js → chunk-U2SDMG7C.js} +5 -5
- package/dist/{chunk-EIKRZ32J.js → chunk-U5HPROLA.js} +2 -2
- package/dist/{chunk-2Y6OJRSI.js → chunk-U6VN4NVL.js} +3 -3
- package/dist/{chunk-OZNCKLOX.js → chunk-U7BD2QL7.js} +12 -12
- package/dist/chunk-UF7RTZSO.js +27 -0
- package/dist/{chunk-XHDBJODR.js → chunk-URCQWAQ4.js} +21 -21
- package/dist/{chunk-7FLRUH6B.js → chunk-V63BC55Q.js} +1 -1
- package/dist/{chunk-TVZRLTG6.js → chunk-VSFLRN5Y.js} +1 -1
- package/dist/{chunk-OMJ3OFBJ.js → chunk-VUZWQ7UG.js} +6 -6
- package/dist/chunk-W4WP2ERB.js +30 -0
- package/dist/{chunk-G224FADB.js → chunk-WDBICWH3.js} +1 -1
- package/dist/{chunk-4ODSZ35Z.js → chunk-WGRJOXED.js} +121 -155
- package/dist/{chunk-FWZRGGGY.js → chunk-WME2OQST.js} +39 -4
- package/dist/{chunk-MEFLGBCS.js → chunk-XT2HTCJ5.js} +3 -3
- package/dist/{chunk-VIDEKABZ.js → chunk-Y7F7IEE3.js} +55 -23
- package/dist/chunk-YES5CACN.js +73 -0
- package/dist/{chunk-ZAPSUBLU.js → chunk-YHC2O2WO.js} +7 -7
- package/dist/{chunk-GTDSYEA2.js → chunk-YISME6ON.js} +1 -1
- package/dist/{chunk-TPYYEDP5.js → chunk-YVHBNSME.js} +48 -29
- package/dist/{chunk-XWFIHYCH.js → chunk-Z2XAOKHK.js} +2 -2
- package/dist/{chunk-QT66NEYN.js → chunk-ZE3KXHS7.js} +3 -3
- package/dist/{chunk-S55TEC7I.js → chunk-ZGSJDWQU.js} +2 -2
- package/dist/{chunk-4U7GDSZQ.js → chunk-ZJTT47IG.js} +2 -2
- package/dist/{chunk-KX56K73G.js → chunk-ZKXQKGWZ.js} +2 -2
- package/dist/{chunk-5DKE4HGX.js → chunk-ZMAUPOMG.js} +34 -34
- package/dist/index.js +2446 -1303
- package/dist/mcp/analyze-cli.js +10 -10
- package/dist/mcp/cli.js +42 -42
- package/dist/mcp/server.js +724 -472
- package/dist/mcp/worker.js +61 -61
- package/dist/probes/installer.js +19 -19
- package/docs/agent-tools.md +39 -10
- package/docs/configuration.md +3 -1
- package/docs/defect-shapes.md +752 -0
- package/docs/dependencies.md +1 -0
- package/docs/environment-variables.md +14 -0
- package/docs/features.md +11 -1
- package/docs/globalconfig.md +12 -1
- package/docs/invariants/caches-stores.md +30 -0
- package/docs/invariants/dispatch-runners.md +164 -0
- package/docs/invariants/git-guard-host.md +87 -0
- package/docs/invariants/language-config.md +31 -0
- package/docs/invariants/lsp-trust-exec.md +292 -0
- package/docs/invariants/paths-os.md +59 -0
- package/docs/invariants/session-telemetry.md +114 -0
- package/docs/lsp-capability-matrix.md +89 -45
- package/docs/lsp-idle-eviction.md +3 -5
- package/docs/pi-lens-fixer.md +10 -2
- package/docs/pi-lens-merge-policy.md +17 -12
- package/docs/pi-lens-monitor.md +2 -2
- package/docs/pi-lens-orchestration.md +41 -0
- package/docs/pi-lens-release.md +20 -0
- package/docs/pi-lens-retro.md +3 -2
- package/docs/pi-lens-reviewer.md +6 -6
- package/docs/pi-lens-subagent.md +9 -6
- package/docs/schema/pi-lens-config-v1.json +23 -0
- package/docs/servercapabilities.md +1 -1
- package/docs/settings.md +5 -0
- package/docs/usage.md +5 -0
- package/package.json +3 -2
- package/dist/chunk-22Y2BM7H.js +0 -23
- package/dist/chunk-44X7VIKR.js +0 -73
- package/dist/chunk-54NIOJJZ.js +0 -25
- package/dist/chunk-7WWQAW5P.js +0 -30
- package/dist/chunk-EA2ZRG44.js +0 -27
- package/dist/chunk-EKNWOL2I.js +0 -27
- package/dist/chunk-G5UCJFT7.js +0 -26
- package/dist/chunk-N5FBM25N.js +0 -22
- package/dist/chunk-P5XUGPIX.js +0 -31
- package/dist/chunk-PKOXJIVT.js +0 -88
- package/dist/chunk-RG7OODGM.js +0 -57
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createSubsystemLogger
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-KXF5R4UN.js";
|
|
5
|
+
import "./chunk-VSFLRN5Y.js";
|
|
6
|
+
import "./chunk-PQJFG24Z.js";
|
|
7
7
|
import "./chunk-NXL4FFQQ.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/metrics-client.js
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
buildReverseDependencyIndexFromGraph,
|
|
7
7
|
getLSPService,
|
|
8
8
|
rankFilesByReverseDependencyCentrality
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FZKFVUEC.js";
|
|
10
10
|
import {
|
|
11
11
|
notePersistWorkerMessageFault,
|
|
12
12
|
readWorkerHeapStatistics
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RC2Z6K47.js";
|
|
14
14
|
import {
|
|
15
15
|
buildQualifiedName,
|
|
16
16
|
findOwnerName
|
|
@@ -26,48 +26,48 @@ import {
|
|
|
26
26
|
resolveProjectReferenceImport,
|
|
27
27
|
resolveWorkspacePackageImport,
|
|
28
28
|
symbolExtractionGrammar
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MPKRJBPK.js";
|
|
30
30
|
import {
|
|
31
31
|
classifyTreeSitterWasmError,
|
|
32
32
|
getSharedTreeSitterClient,
|
|
33
33
|
logTreeSitterCacheStats,
|
|
34
34
|
withTreeSitterRoot
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-L5JYIU47.js";
|
|
36
36
|
import {
|
|
37
37
|
getReviewGraphMaxFilesDerived
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QOE342SU.js";
|
|
39
39
|
import {
|
|
40
40
|
readGzipStageWorkerResult,
|
|
41
41
|
reapStageFile
|
|
42
42
|
} from "./chunk-IJYGIDF4.js";
|
|
43
43
|
import {
|
|
44
44
|
collectSourceFilesWithBudgetAsync
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-EKWX4WD3.js";
|
|
46
46
|
import {
|
|
47
47
|
collectUntrackedIgnoredIds,
|
|
48
48
|
createGitIdentityResolver,
|
|
49
49
|
getProjectDataDir,
|
|
50
50
|
isStaleStageFile,
|
|
51
51
|
resolveGitIdentity
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YVHBNSME.js";
|
|
53
53
|
import {
|
|
54
54
|
KIND_EXTENSIONS,
|
|
55
55
|
detectFileKind
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-RZOXUSPC.js";
|
|
57
57
|
import {
|
|
58
58
|
detectFileRole
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-KPPJTH44.js";
|
|
60
60
|
import {
|
|
61
61
|
writeFileAtomic
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-U5HPROLA.js";
|
|
63
63
|
import {
|
|
64
64
|
compareOrdinal,
|
|
65
65
|
escapeRegExp,
|
|
66
66
|
incrementDegradationCount
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-WME2OQST.js";
|
|
68
68
|
import {
|
|
69
69
|
logLatency
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-Z2XAOKHK.js";
|
|
71
71
|
import {
|
|
72
72
|
createNdjsonLogger,
|
|
73
73
|
getGlobalPiLensLogDir,
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
getTurnId,
|
|
76
76
|
isTestMode,
|
|
77
77
|
lazyEnvNumber
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-VSFLRN5Y.js";
|
|
79
79
|
import {
|
|
80
80
|
FactStore
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-OSTKYB55.js";
|
|
82
82
|
import {
|
|
83
83
|
BoundedFifoMap,
|
|
84
84
|
BoundedLruCache,
|
|
@@ -86,12 +86,14 @@ import {
|
|
|
86
86
|
isUnderDir,
|
|
87
87
|
normalizeFilePath,
|
|
88
88
|
normalizeMapKey,
|
|
89
|
+
realpathOrResolve,
|
|
89
90
|
toProjectRelativePath
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-PQJFG24Z.js";
|
|
91
92
|
|
|
92
93
|
// dist/clients/review-graph/builder.js
|
|
93
94
|
import { createHash as createHash2 } from "node:crypto";
|
|
94
95
|
import * as fs2 from "node:fs";
|
|
96
|
+
import * as os from "node:os";
|
|
95
97
|
import * as path2 from "node:path";
|
|
96
98
|
import { Worker } from "node:worker_threads";
|
|
97
99
|
import { constants as zlibConstants, gunzipSync, gzipSync } from "node:zlib";
|
|
@@ -2478,8 +2480,8 @@ async function ensureReviewGraphFacts(filePath, cwd, facts, contentOverride) {
|
|
|
2478
2480
|
}
|
|
2479
2481
|
try {
|
|
2480
2482
|
const [{ importFactProvider }, { functionFactProvider }] = await Promise.all([
|
|
2481
|
-
import("./chunk-
|
|
2482
|
-
import("./chunk-
|
|
2483
|
+
import("./chunk-W4WP2ERB.js"),
|
|
2484
|
+
import("./chunk-72OKUXSD.js")
|
|
2483
2485
|
]);
|
|
2484
2486
|
await importFactProvider.run(ctx, facts);
|
|
2485
2487
|
await functionFactProvider.run(ctx, facts);
|
|
@@ -3604,7 +3606,7 @@ async function _doBuildGraph(cwd, changedFiles, facts, seqHint, buildId) {
|
|
|
3604
3606
|
const normalizedChanged = changedFiles.map((file) => normalizeMapKey(file));
|
|
3605
3607
|
const normalizedChangedSet = new Set(normalizedChanged);
|
|
3606
3608
|
logCwdWorktreeMismatchOnce(cwd, resolveIdentity);
|
|
3607
|
-
if (isAtOrAboveHomeDir(
|
|
3609
|
+
if (isAtOrAboveHomeDir(normalizedCwd, realpathOrResolve(os.homedir()))) {
|
|
3608
3610
|
const graph2 = createEmptyGraph();
|
|
3609
3611
|
for (const file of normalizedChanged) {
|
|
3610
3612
|
upsertChangedSymbols(graph2, facts, file);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
recordDegradationOnce
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WME2OQST.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/deadline-utils.js
|
|
7
7
|
function combineAbortSignals(...signals) {
|
|
@@ -3,47 +3,47 @@ import {
|
|
|
3
3
|
augmentPythonEnvironment,
|
|
4
4
|
detectPythonEnvironment,
|
|
5
5
|
emitBounded
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PR6PO3ES.js";
|
|
7
7
|
import {
|
|
8
8
|
stripAnsi
|
|
9
9
|
} from "./chunk-6HWVI6MI.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveToolCwd
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DPGEAHZT.js";
|
|
13
13
|
import {
|
|
14
14
|
findGlobalBinary,
|
|
15
15
|
findLocalBinAt,
|
|
16
16
|
localBinPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NA7SEXHE.js";
|
|
18
18
|
import {
|
|
19
19
|
getIsolatedNpxSpawnOptions
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3F6BMY53.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveLanguageRootForFile
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PUZ3E2J4.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveGitCheckout,
|
|
26
26
|
safeSpawn,
|
|
27
27
|
safeSpawnAsync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YVHBNSME.js";
|
|
29
29
|
import {
|
|
30
30
|
DOTNET_CSHARP_ROOT_MARKERS,
|
|
31
31
|
detectFileKind
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RZOXUSPC.js";
|
|
33
33
|
import {
|
|
34
34
|
PathKeyedMap,
|
|
35
35
|
detectFileRole
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KPPJTH44.js";
|
|
37
37
|
import {
|
|
38
38
|
findNearestDirWithAnyBasename
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-J6JP25XU.js";
|
|
40
40
|
import {
|
|
41
41
|
LEDGER_FIELD_MAX,
|
|
42
42
|
recordDegradationOnce
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-WME2OQST.js";
|
|
44
44
|
import {
|
|
45
45
|
createSubsystemLogger
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-KXF5R4UN.js";
|
|
47
47
|
import {
|
|
48
48
|
BoundedFifoMap,
|
|
49
49
|
direntsHaveMarkerGlobMatch,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
pathsEqual,
|
|
57
57
|
realpathOrResolve,
|
|
58
58
|
toPosix
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-PQJFG24Z.js";
|
|
60
60
|
|
|
61
61
|
// dist/clients/test-runner-client.js
|
|
62
62
|
import { createHash } from "node:crypto";
|
|
@@ -8,34 +8,34 @@ import {
|
|
|
8
8
|
isExcludedTestTarget,
|
|
9
9
|
isRunnerErrorResult,
|
|
10
10
|
stripWrapperArgs
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-HR3OJ3TH.js";
|
|
12
|
+
import "./chunk-PR6PO3ES.js";
|
|
13
|
+
import "./chunk-PKES3ISE.js";
|
|
14
|
+
import "./chunk-ZKXQKGWZ.js";
|
|
15
|
+
import "./chunk-YISME6ON.js";
|
|
16
16
|
import "./chunk-6HWVI6MI.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-DPGEAHZT.js";
|
|
18
|
+
import "./chunk-NA7SEXHE.js";
|
|
19
|
+
import "./chunk-3F6BMY53.js";
|
|
20
|
+
import "./chunk-KW5JQPO5.js";
|
|
21
|
+
import "./chunk-PUZ3E2J4.js";
|
|
22
|
+
import "./chunk-ABPKUVA4.js";
|
|
23
|
+
import "./chunk-EKWX4WD3.js";
|
|
24
|
+
import "./chunk-ZGSJDWQU.js";
|
|
25
|
+
import "./chunk-YVHBNSME.js";
|
|
26
26
|
import "./chunk-AWQWXSW4.js";
|
|
27
27
|
import "./chunk-QYF5S6P6.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-RZOXUSPC.js";
|
|
29
|
+
import "./chunk-KPPJTH44.js";
|
|
30
|
+
import "./chunk-J6JP25XU.js";
|
|
31
|
+
import "./chunk-U5HPROLA.js";
|
|
32
|
+
import "./chunk-WME2OQST.js";
|
|
33
|
+
import "./chunk-KXF5R4UN.js";
|
|
34
34
|
import "./chunk-S26LC76R.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-Z2XAOKHK.js";
|
|
36
|
+
import "./chunk-VSFLRN5Y.js";
|
|
37
37
|
import "./chunk-LJDODBBZ.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-PQJFG24Z.js";
|
|
39
39
|
import "./chunk-NXL4FFQQ.js";
|
|
40
40
|
export {
|
|
41
41
|
MAX_CANONICAL_ROOT_MEMO_ENTRIES,
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-S26LC76R.js";
|
|
7
7
|
import {
|
|
8
8
|
logLatency
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z2XAOKHK.js";
|
|
10
10
|
import {
|
|
11
11
|
isWindowsPath,
|
|
12
12
|
nameMatchesMarkerGlob,
|
|
13
13
|
normalizeFilePath,
|
|
14
14
|
realpathOrResolve,
|
|
15
15
|
walkUpDirs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PQJFG24Z.js";
|
|
17
17
|
|
|
18
18
|
// dist/clients/workspace-topology.js
|
|
19
19
|
import * as fs2 from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
truncatedByOutputCap
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U5HPROLA.js";
|
|
5
5
|
import {
|
|
6
6
|
LEDGER_FIELD_MAX
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WME2OQST.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/dispatch/runners/utils/spawn-outcome.js
|
|
10
10
|
function firstOutputLine(text, max = LEDGER_FIELD_MAX) {
|
|
@@ -16,6 +16,9 @@ function firstOutputLine(text, max = LEDGER_FIELD_MAX) {
|
|
|
16
16
|
}
|
|
17
17
|
return "";
|
|
18
18
|
}
|
|
19
|
+
function processCutShort(result) {
|
|
20
|
+
return Boolean(result.error || result.signal) || (result.status ?? null) === null;
|
|
21
|
+
}
|
|
19
22
|
function classifyRunOutcome(input) {
|
|
20
23
|
const { result, exitCodes, reportMissing } = input;
|
|
21
24
|
const status = result.status ?? null;
|
|
@@ -29,10 +32,9 @@ function classifyRunOutcome(input) {
|
|
|
29
32
|
// branches below are byte-for-byte the pre-#2100 rules.
|
|
30
33
|
outputCapped: truncatedByOutputCap(result)
|
|
31
34
|
};
|
|
32
|
-
if (result
|
|
33
|
-
return { kind: "did-not-run", ...base };
|
|
34
|
-
if (status === null)
|
|
35
|
+
if (processCutShort(result) || status === null) {
|
|
35
36
|
return { kind: "did-not-run", ...base };
|
|
37
|
+
}
|
|
36
38
|
if (reportMissing) {
|
|
37
39
|
return status === 0 ? { kind: "ran", ...base } : { kind: "report-missing", ...base };
|
|
38
40
|
}
|
|
@@ -50,6 +52,7 @@ function spawnFailedWithNoOutput(result, output = result.stdout) {
|
|
|
50
52
|
|
|
51
53
|
export {
|
|
52
54
|
firstOutputLine,
|
|
55
|
+
processCutShort,
|
|
53
56
|
classifyRunOutcome,
|
|
54
57
|
spawnFailedWithNoOutput
|
|
55
58
|
};
|
|
@@ -2,59 +2,59 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
createAvailabilityChecker,
|
|
4
4
|
resolveAvailableOrInstall
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7E2563GA.js";
|
|
6
6
|
import {
|
|
7
7
|
ruffConfigArgs
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-MB6PXBUA.js";
|
|
9
|
+
import "./chunk-R5MOQM2H.js";
|
|
10
|
+
import "./chunk-24BILSZW.js";
|
|
11
|
+
import "./chunk-PR6PO3ES.js";
|
|
12
|
+
import "./chunk-RC2Z6K47.js";
|
|
13
|
+
import "./chunk-PKES3ISE.js";
|
|
14
|
+
import "./chunk-ZKXQKGWZ.js";
|
|
15
|
+
import "./chunk-U6VN4NVL.js";
|
|
16
|
+
import "./chunk-TIQJPRDD.js";
|
|
17
|
+
import "./chunk-YISME6ON.js";
|
|
18
|
+
import "./chunk-O4BJFESU.js";
|
|
19
19
|
import "./chunk-CKEQFGLT.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-HO6LWE2E.js";
|
|
21
|
+
import "./chunk-SNDXCFRS.js";
|
|
22
|
+
import "./chunk-QOE342SU.js";
|
|
23
23
|
import "./chunk-2BEMIWEW.js";
|
|
24
24
|
import "./chunk-IJYGIDF4.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-KDX35VXP.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveToolCwd
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-DPGEAHZT.js";
|
|
29
|
+
import "./chunk-NA7SEXHE.js";
|
|
30
|
+
import "./chunk-3F6BMY53.js";
|
|
31
|
+
import "./chunk-KW5JQPO5.js";
|
|
32
|
+
import "./chunk-PUZ3E2J4.js";
|
|
33
|
+
import "./chunk-ABPKUVA4.js";
|
|
34
|
+
import "./chunk-EKWX4WD3.js";
|
|
35
|
+
import "./chunk-ZGSJDWQU.js";
|
|
36
36
|
import {
|
|
37
37
|
safeSpawnAsync
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YVHBNSME.js";
|
|
39
39
|
import "./chunk-AWQWXSW4.js";
|
|
40
40
|
import "./chunk-QYF5S6P6.js";
|
|
41
41
|
import {
|
|
42
42
|
isFileKind
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-RZOXUSPC.js";
|
|
44
|
+
import "./chunk-KPPJTH44.js";
|
|
45
|
+
import "./chunk-J6JP25XU.js";
|
|
46
|
+
import "./chunk-U5HPROLA.js";
|
|
47
|
+
import "./chunk-WME2OQST.js";
|
|
48
48
|
import {
|
|
49
49
|
createSubsystemLogger
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KXF5R4UN.js";
|
|
51
51
|
import "./chunk-S26LC76R.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-Z2XAOKHK.js";
|
|
53
|
+
import "./chunk-VSFLRN5Y.js";
|
|
54
54
|
import "./chunk-LJDODBBZ.js";
|
|
55
55
|
import {
|
|
56
56
|
pathsEqual
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-PQJFG24Z.js";
|
|
58
58
|
import "./chunk-NXL4FFQQ.js";
|
|
59
59
|
|
|
60
60
|
// dist/clients/ruff-client.js
|
|
@@ -1,23 +1,23 @@
|
|
|
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-DPGEAHZT.js";
|
|
5
5
|
import {
|
|
6
6
|
allAvailableGlobalBinDirs,
|
|
7
7
|
installArgs,
|
|
8
8
|
pmBinary,
|
|
9
9
|
resolveNodePackageManager
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NA7SEXHE.js";
|
|
11
11
|
import {
|
|
12
12
|
probeToolAsync
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3F6BMY53.js";
|
|
14
14
|
import {
|
|
15
15
|
TRANSIENT_MAX_COOLDOWN_MS,
|
|
16
16
|
classifyProbeFailure,
|
|
17
17
|
createAvailabilityLatch,
|
|
18
18
|
logAvailabilityDecision,
|
|
19
19
|
startHostStallSampler
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KW5JQPO5.js";
|
|
21
21
|
import {
|
|
22
22
|
acquireBoundedPidFileLock,
|
|
23
23
|
acquireQuarantinePidFileLock,
|
|
@@ -35,35 +35,35 @@ import {
|
|
|
35
35
|
safeSpawnAsync,
|
|
36
36
|
startGenerationHeartbeat,
|
|
37
37
|
tryAcquireGeneration
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YVHBNSME.js";
|
|
39
39
|
import {
|
|
40
40
|
assertInstallAllowed,
|
|
41
41
|
getProjectTrustGeneration,
|
|
42
42
|
projectTrustDenialReason,
|
|
43
43
|
writeFileAtomic,
|
|
44
44
|
writeFileAtomicAsync
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-U5HPROLA.js";
|
|
46
46
|
import {
|
|
47
47
|
getDegradationLedgerGeneration,
|
|
48
48
|
incrementDegradationCount,
|
|
49
49
|
recordDegradationOnce
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-WME2OQST.js";
|
|
51
51
|
import {
|
|
52
52
|
logExtension
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-KXF5R4UN.js";
|
|
54
54
|
import {
|
|
55
55
|
createNdjsonLogger,
|
|
56
56
|
getGlobalPiLensLogDir,
|
|
57
57
|
getMaxLogSizeMB,
|
|
58
58
|
isTestMode
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VSFLRN5Y.js";
|
|
60
60
|
import {
|
|
61
61
|
BoundedLruCache,
|
|
62
62
|
findLocalToolConfig,
|
|
63
63
|
isFullyQualified,
|
|
64
64
|
isUnderDir,
|
|
65
65
|
realpathOrResolve
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-PQJFG24Z.js";
|
|
67
67
|
import {
|
|
68
68
|
__require
|
|
69
69
|
} from "./chunk-NXL4FFQQ.js";
|
|
@@ -751,8 +751,8 @@ var TOOLS = [
|
|
|
751
751
|
checkCommand: "jscpd",
|
|
752
752
|
checkArgs: ["--version"],
|
|
753
753
|
installStrategy: "npm",
|
|
754
|
-
packageName: "jscpd@5.4.
|
|
755
|
-
// v5.4.
|
|
754
|
+
packageName: "jscpd@5.4.2",
|
|
755
|
+
// v5.4.2 is the repository's exact devDependency; the v4 packaging defect that required the older v5.0.12 pin is gone, and parseReport() reads the unchanged clone-report fields.
|
|
756
756
|
binaryName: "jscpd"
|
|
757
757
|
},
|
|
758
758
|
// Structural search and dead code detection
|
|
@@ -1472,6 +1472,54 @@ var TOOLS = [
|
|
|
1472
1472
|
binaryInArchive: "typos-lsp"
|
|
1473
1473
|
}
|
|
1474
1474
|
},
|
|
1475
|
+
{
|
|
1476
|
+
// fallow-lsp (#4929): the TS/JS dead-code, duplication and cycle analyzer's
|
|
1477
|
+
// LSP server, an OPT-IN language-scoped auxiliary (`--lens-fallow`). One
|
|
1478
|
+
// release archive per target holds four sibling binaries (`fallow`,
|
|
1479
|
+
// `fallow-lsp`, `fallow-mcp`, `fallow-similar-code`) at the archive root
|
|
1480
|
+
// (verified on the 3.37.0 tar.gz and zip listings), so this is a native TREE
|
|
1481
|
+
// BUNDLE like clangd and FallowServer launches `<bundle>/fallow-lsp`. The
|
|
1482
|
+
// version is pinned and every archive is checked against its sha256 before
|
|
1483
|
+
// extraction (a mismatch or an unpinned URL refuses the install). The
|
|
1484
|
+
// release's `SHA256SUMS` lists only the VS Code extension files, so the pins
|
|
1485
|
+
// are the per-asset digests GitHub publishes (`gh api
|
|
1486
|
+
// repos/fallow-rs/fallow/releases/tags/v3.37.0 --jq
|
|
1487
|
+
// '.assets[]|[.name,.digest]|@tsv'`), each re-computed here from the
|
|
1488
|
+
// downloaded bytes. The tree marker is the `fallow-lsp` binary itself
|
|
1489
|
+
// (`fallow-lsp.exe` on Windows). Linux uses the gnu build (needs glibc 2.30);
|
|
1490
|
+
// Windows arm64 has its own build.
|
|
1491
|
+
id: "fallow-lsp",
|
|
1492
|
+
name: "fallow-lsp",
|
|
1493
|
+
checkCommand: "fallow-lsp",
|
|
1494
|
+
checkArgs: ["--version"],
|
|
1495
|
+
installStrategy: "archive",
|
|
1496
|
+
binaryName: "fallow-lsp",
|
|
1497
|
+
archive: {
|
|
1498
|
+
url: (platform, arch) => {
|
|
1499
|
+
const base = "https://github.com/fallow-rs/fallow/releases/download/v3.37.0";
|
|
1500
|
+
if (arch !== "x64" && arch !== "arm64")
|
|
1501
|
+
return void 0;
|
|
1502
|
+
if (platform === "linux")
|
|
1503
|
+
return arch === "arm64" ? `${base}/fallow-aarch64-unknown-linux-gnu.tar.gz` : `${base}/fallow-x86_64-unknown-linux-gnu.tar.gz`;
|
|
1504
|
+
if (platform === "darwin")
|
|
1505
|
+
return arch === "arm64" ? `${base}/fallow-aarch64-apple-darwin.tar.gz` : `${base}/fallow-x86_64-apple-darwin.tar.gz`;
|
|
1506
|
+
if (platform === "win32")
|
|
1507
|
+
return arch === "arm64" ? `${base}/fallow-aarch64-pc-windows-msvc.zip` : `${base}/fallow-x86_64-pc-windows-msvc.zip`;
|
|
1508
|
+
return void 0;
|
|
1509
|
+
},
|
|
1510
|
+
kind: (platform) => platform === "win32" ? "zip" : "tgz",
|
|
1511
|
+
stripComponents: 0,
|
|
1512
|
+
treeMarker: (platform) => platform === "win32" ? "fallow-lsp.exe" : "fallow-lsp",
|
|
1513
|
+
sha256: {
|
|
1514
|
+
"https://github.com/fallow-rs/fallow/releases/download/v3.37.0/fallow-aarch64-unknown-linux-gnu.tar.gz": "cbbf98681687fd2f43be852f15aab8ad34fb51cf6f7e354d3bdc1a9b7cba9c5a",
|
|
1515
|
+
"https://github.com/fallow-rs/fallow/releases/download/v3.37.0/fallow-x86_64-unknown-linux-gnu.tar.gz": "7c09d9b7812be030951f75ebfdd98a4e23ecaee6260c34d7e7f3a6c28a0c3cf0",
|
|
1516
|
+
"https://github.com/fallow-rs/fallow/releases/download/v3.37.0/fallow-aarch64-apple-darwin.tar.gz": "02caed6d3da52ea5ffff84b8619bc399a9302c5c6748633177db64005895a159",
|
|
1517
|
+
"https://github.com/fallow-rs/fallow/releases/download/v3.37.0/fallow-x86_64-apple-darwin.tar.gz": "abf1897d6521dbd8fbfb01a4add5070538fdb7cde049090f991780fd3576acc6",
|
|
1518
|
+
"https://github.com/fallow-rs/fallow/releases/download/v3.37.0/fallow-aarch64-pc-windows-msvc.zip": "26529ecf3a031c01d13adbdbf831ba627c20cf5e4ff95000a1b6ec1497513c83",
|
|
1519
|
+
"https://github.com/fallow-rs/fallow/releases/download/v3.37.0/fallow-x86_64-pc-windows-msvc.zip": "f20ad53eb2190e9ab04288a58068f568699757744fccf5adca216a5250789134"
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1475
1523
|
{
|
|
1476
1524
|
id: "tflint",
|
|
1477
1525
|
name: "tflint",
|
|
@@ -2266,9 +2314,12 @@ ${result.stderr}`;
|
|
|
2266
2314
|
return false;
|
|
2267
2315
|
}
|
|
2268
2316
|
}
|
|
2269
|
-
async function getAllToolStatuses() {
|
|
2317
|
+
async function getAllToolStatuses(toolIds) {
|
|
2270
2318
|
const statuses = [];
|
|
2319
|
+
const only = toolIds ? new Set(toolIds) : void 0;
|
|
2271
2320
|
for (const tool of TOOLS) {
|
|
2321
|
+
if (only && !only.has(tool.id))
|
|
2322
|
+
continue;
|
|
2272
2323
|
const status = {
|
|
2273
2324
|
id: tool.id,
|
|
2274
2325
|
name: tool.name,
|
|
@@ -2357,7 +2408,8 @@ async function getArchiveTreeBundlePath(tool) {
|
|
|
2357
2408
|
return void 0;
|
|
2358
2409
|
}
|
|
2359
2410
|
const extractDir = path3.join(TOOLS_DIR, tool.id);
|
|
2360
|
-
const
|
|
2411
|
+
const treeMarker = tool.archive && resolveTreeMarker(tool.archive);
|
|
2412
|
+
const marker = treeMarker ? path3.join(extractDir, ...treeMarker.split("/")) : extractDir;
|
|
2361
2413
|
try {
|
|
2362
2414
|
await fs2.access(marker);
|
|
2363
2415
|
return extractDir;
|
|
@@ -3449,6 +3501,9 @@ exec java -jar "$(dirname "$0")/${tool.id}.jar" "$@"
|
|
|
3449
3501
|
function resolveArchiveUrl(spec, platform = installerPlatform(), arch = process.arch) {
|
|
3450
3502
|
return typeof spec.url === "function" ? spec.url(platform, arch) : spec.url;
|
|
3451
3503
|
}
|
|
3504
|
+
function resolveTreeMarker(spec, platform = installerPlatform()) {
|
|
3505
|
+
return typeof spec.treeMarker === "function" ? spec.treeMarker(platform) : spec.treeMarker;
|
|
3506
|
+
}
|
|
3452
3507
|
function resolveArchiveKind(spec, platform = installerPlatform(), arch = process.arch) {
|
|
3453
3508
|
return typeof spec.kind === "function" ? spec.kind(platform, arch) : spec.kind;
|
|
3454
3509
|
}
|
|
@@ -3609,7 +3664,8 @@ async function installArchiveTool(tool) {
|
|
|
3609
3664
|
return void 0;
|
|
3610
3665
|
}
|
|
3611
3666
|
if (!spec.launcher) {
|
|
3612
|
-
const
|
|
3667
|
+
const treeMarker = resolveTreeMarker(spec, platform);
|
|
3668
|
+
const tmpMarker = treeMarker ? path3.join(tmpExtractDir, ...treeMarker.split("/")) : tmpExtractDir;
|
|
3613
3669
|
try {
|
|
3614
3670
|
await fs2.access(tmpMarker);
|
|
3615
3671
|
} catch {
|
|
@@ -4049,7 +4105,7 @@ async function stampInstallResolution(toolId) {
|
|
|
4049
4105
|
return;
|
|
4050
4106
|
try {
|
|
4051
4107
|
const resolutionId = lastInstallResolutionId.get(toolId);
|
|
4052
|
-
const refresh = await import("./chunk-
|
|
4108
|
+
const refresh = await import("./chunk-CE6VMBCB.js");
|
|
4053
4109
|
await refresh.stampManagedToolInstall(toolId, resolutionId);
|
|
4054
4110
|
} catch {
|
|
4055
4111
|
}
|
|
@@ -4062,7 +4118,7 @@ async function finishInstallAttempt(toolId, ok, startedAt) {
|
|
|
4062
4118
|
if (ok) {
|
|
4063
4119
|
resetSafeSpawnWindowsCommandCache();
|
|
4064
4120
|
try {
|
|
4065
|
-
const { resetMadgeManagedPathMemo } = await import("./chunk-
|
|
4121
|
+
const { resetMadgeManagedPathMemo } = await import("./chunk-7GLOLOSH.js");
|
|
4066
4122
|
resetMadgeManagedPathMemo();
|
|
4067
4123
|
} catch (err) {
|
|
4068
4124
|
logSessionStart(`auto-install ${toolId}: madge memo reset failed: ${err.message}`);
|
|
@@ -4092,7 +4148,7 @@ async function installTool(toolId, ownsLock) {
|
|
|
4092
4148
|
return false;
|
|
4093
4149
|
const npmPath = await installNpmTool(tool.id, tool.packageName, tool.binaryName, tool.checkArgs, getToolVerificationTimeout(tool), packageEntryVerification(tool), ownsLock);
|
|
4094
4150
|
if (npmPath !== void 0) {
|
|
4095
|
-
await import("./chunk-
|
|
4151
|
+
await import("./chunk-CE6VMBCB.js").then((m) => m.stampManagedToolInstalled(tool.id, tool.packageName)).catch(() => {
|
|
4096
4152
|
});
|
|
4097
4153
|
}
|
|
4098
4154
|
return finishInstallAttempt(tool.id, npmPath !== void 0, startedAt);
|
|
@@ -12,21 +12,21 @@ import {
|
|
|
12
12
|
isStartupScanVerdictFresh,
|
|
13
13
|
resolveStartupScanContext,
|
|
14
14
|
resolveStartupScanContextAsync
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-75GAYVNO.js";
|
|
16
|
+
import "./chunk-QOE342SU.js";
|
|
17
|
+
import "./chunk-ZGSJDWQU.js";
|
|
18
|
+
import "./chunk-YVHBNSME.js";
|
|
19
19
|
import "./chunk-QYF5S6P6.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-KPPJTH44.js";
|
|
21
|
+
import "./chunk-J6JP25XU.js";
|
|
22
|
+
import "./chunk-U5HPROLA.js";
|
|
23
|
+
import "./chunk-WME2OQST.js";
|
|
24
|
+
import "./chunk-KXF5R4UN.js";
|
|
25
25
|
import "./chunk-S26LC76R.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-Z2XAOKHK.js";
|
|
27
|
+
import "./chunk-VSFLRN5Y.js";
|
|
28
28
|
import "./chunk-LJDODBBZ.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-PQJFG24Z.js";
|
|
30
30
|
import "./chunk-NXL4FFQQ.js";
|
|
31
31
|
export {
|
|
32
32
|
MAX_STARTUP_SCAN_ENTRIES,
|