pi-lens 4.4.7 → 4.4.9
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 +327 -0
- package/README.md +13 -2
- package/config/dependency-cruiser-eager-allowlist.json +1 -1
- package/config/markdownlint/run-no-fix.mjs +36 -0
- package/dist/{chunk-4LM3VAZH.js → chunk-2VZ3VN3N.js} +2 -2
- package/dist/{chunk-PUZ3E2J4.js → chunk-3HTZDY3C.js} +8 -6
- package/dist/{chunk-RORGS5II.js → chunk-3NPWO5UO.js} +7 -13
- package/dist/{chunk-MNJIXFX4.js → chunk-47UCC4MM.js} +1 -1
- package/dist/chunk-4ENEJHF4.js +198 -0
- package/dist/chunk-5GEYJJHG.js +22 -0
- package/dist/{chunk-U6VN4NVL.js → chunk-5YSEQHJN.js} +3 -3
- package/dist/{chunk-6IR3ZYIB.js → chunk-6GPB3JLL.js} +3 -3
- package/dist/{chunk-MB6PXBUA.js → chunk-7R5GZIA6.js} +7 -15
- package/dist/{chunk-DH5JPM3K.js → chunk-7UTSNTWM.js} +10 -9
- package/dist/{chunk-24BILSZW.js → chunk-7YTRG6YW.js} +2 -2
- package/dist/{chunk-KW5JQPO5.js → chunk-AACN5GNE.js} +2 -2
- package/dist/{chunk-PKES3ISE.js → chunk-ACRJ2GZ5.js} +2 -2
- package/dist/{chunk-4ZYJHQMB.js → chunk-C3YRO3EU.js} +10 -12
- package/dist/{chunk-PQJFG24Z.js → chunk-CB7PEVOJ.js} +1300 -946
- package/dist/{chunk-ABPKUVA4.js → chunk-CDFJF5YD.js} +1 -1
- package/dist/{chunk-T7A2HK2B.js → chunk-CJS6WE66.js} +17 -18
- package/dist/{chunk-3YY7IXIL.js → chunk-CM6BDY4E.js} +14 -60
- package/dist/{chunk-RZOXUSPC.js → chunk-CZCAZVTD.js} +16 -2
- package/dist/chunk-DGKFWQK4.js +23 -0
- package/dist/{chunk-NA7SEXHE.js → chunk-E65WJVI5.js} +7 -9
- package/dist/{chunk-2TF6RXWB.js → chunk-EKNYSXFB.js} +8 -10
- package/dist/{chunk-RRV3FNNM.js → chunk-EY6LY2HO.js} +27 -30
- package/dist/{chunk-LBLBAFG3.js → chunk-F6BEQWAK.js} +17 -5
- package/dist/{chunk-4L36HG27.js → chunk-FGNSESAC.js} +12 -14
- package/dist/{chunk-3FRLWYBG.js → chunk-FRUBVFXV.js} +39 -42
- package/dist/{chunk-FB5SCCPT.js → chunk-G22UNQID.js} +14 -15
- package/dist/{chunk-LV4UMYVH.js → chunk-GQTQUNCG.js} +26 -27
- package/dist/{chunk-E7HJ56Y7.js → chunk-H3BVMK47.js} +64 -73
- package/dist/chunk-H6FLQ5NW.js +28 -0
- package/dist/{chunk-QHSNL7B2.js → chunk-HEA3EM23.js} +15 -19
- package/dist/{chunk-AWDSEDER.js → chunk-HSOBIN22.js} +2 -2
- package/dist/{chunk-EAOK7MIZ.js → chunk-HYSKJMZK.js} +17 -4
- package/dist/{chunk-VUZWQ7UG.js → chunk-IICERRFF.js} +46 -72
- package/dist/{chunk-OXOI55RU.js → chunk-IILEH3ZC.js} +8 -10
- package/dist/{chunk-ZKXQKGWZ.js → chunk-J3Q2NYJR.js} +4 -3
- package/dist/{chunk-YHC2O2WO.js → chunk-JUZ67QZQ.js} +20 -9
- package/dist/chunk-KR5VGMVT.js +25 -0
- package/dist/{chunk-F7K5IBZG.js → chunk-KV6GQOGN.js} +41 -44
- package/dist/{chunk-SNDXCFRS.js → chunk-KXMJLOZF.js} +25 -23
- package/dist/{chunk-CB4WHS4H.js → chunk-L4Y3ROKQ.js} +3 -3
- package/dist/{chunk-3F6BMY53.js → chunk-L6WBJGQS.js} +1 -1
- package/dist/{chunk-MPKRJBPK.js → chunk-L7O774U7.js} +30 -32
- package/dist/{chunk-URCQWAQ4.js → chunk-LAHHGNAY.js} +21 -21
- package/dist/{chunk-V63BC55Q.js → chunk-LT62P654.js} +1 -1
- package/dist/{chunk-ZMAUPOMG.js → chunk-LWOM6LVS.js} +34 -34
- package/dist/{chunk-HO6LWE2E.js → chunk-MKPDIAZH.js} +21 -1
- package/dist/{chunk-2PHMIAKO.js → chunk-MN635QYA.js} +3 -4
- package/dist/{chunk-KDX35VXP.js → chunk-MQ4PPCJB.js} +166 -149
- package/dist/{chunk-QOE342SU.js → chunk-MRLH4MYU.js} +2 -2
- package/dist/{chunk-CE6VMBCB.js → chunk-N56BNAA6.js} +20 -21
- package/dist/{chunk-L3CMBQMH.js → chunk-N5CEGQPG.js} +14 -17
- package/dist/{chunk-7E2563GA.js → chunk-NCLO6E6N.js} +13 -33
- package/dist/{chunk-J6JP25XU.js → chunk-NL5LSKVD.js} +4 -3
- package/dist/{chunk-U7BD2QL7.js → chunk-NMUSOZ2D.js} +10 -12
- package/dist/{chunk-BZARLRJW.js → chunk-NOWH2VA2.js} +8 -33
- package/dist/{chunk-U2SDMG7C.js → chunk-NUSXS6YB.js} +6 -5
- package/dist/{chunk-ZJTT47IG.js → chunk-OSEKJEUU.js} +2 -2
- package/dist/{chunk-FZKFVUEC.js → chunk-OUYAUXAT.js} +647 -355
- package/dist/{chunk-ZE3KXHS7.js → chunk-PBZNYHMM.js} +84 -4
- package/dist/{chunk-U5HPROLA.js → chunk-PIIUNJIT.js} +2 -4
- package/dist/chunk-PKLB2XJL.js +8 -0
- package/dist/{chunk-RC2Z6K47.js → chunk-PRHYIA6X.js} +15 -6
- package/dist/{chunk-RQS4QQSD.js → chunk-PXQ45SGD.js} +2 -2
- package/dist/chunk-Q6JQKWPK.js +25 -0
- package/dist/{chunk-F6X3YJWD.js → chunk-QB7T2PHK.js} +2 -2
- package/dist/{chunk-TIQJPRDD.js → chunk-QGITU23N.js} +3 -2
- package/dist/chunk-QJJKOHLH.js +57 -0
- package/dist/{chunk-4LOE5R5P.js → chunk-QP33NKYC.js} +18 -15
- package/dist/{chunk-N5WSK2K7.js → chunk-QVBOXT3L.js} +12 -17
- package/dist/{chunk-DPGEAHZT.js → chunk-RNJFRXEN.js} +10 -18
- package/dist/{chunk-EKWX4WD3.js → chunk-RNXOWDM6.js} +10 -10
- package/dist/{chunk-O4BJFESU.js → chunk-RTFMDIKV.js} +1 -1
- package/dist/{chunk-LS3QJRUB.js → chunk-SIQHOB6P.js} +11 -13
- package/dist/{chunk-3K2F6UDZ.js → chunk-SLSMJPEF.js} +43 -42
- package/dist/chunk-T5QSLSMM.js +50 -0
- package/dist/chunk-TGQDAG4B.js +88 -0
- package/dist/{chunk-4YHYPW2G.js → chunk-THYHUIDR.js} +44 -13
- package/dist/{chunk-YVHBNSME.js → chunk-TMNUTMT5.js} +1099 -1100
- package/dist/{chunk-WDBICWH3.js → chunk-TOE2RRCS.js} +1 -1
- package/dist/chunk-TYHPVE5H.js +25 -0
- package/dist/chunk-UAKO2M6B.js +73 -0
- package/dist/chunk-UC5AXW5Z.js +20 -0
- package/dist/chunk-UTJP6WOS.js +28 -0
- package/dist/{chunk-DQZFQSR5.js → chunk-UXTQ3QPD.js} +4 -4
- package/dist/chunk-UYXV5NIS.js +20 -0
- package/dist/{chunk-KKCK636N.js → chunk-V2WDBOLZ.js} +10 -12
- package/dist/{chunk-PR6PO3ES.js → chunk-V67D6TMU.js} +22 -20
- package/dist/{chunk-VSFLRN5Y.js → chunk-VCRVNLE7.js} +135 -2
- package/dist/{chunk-CPSR3AVL.js → chunk-VO4JFPTV.js} +2 -2
- package/dist/{chunk-XT2HTCJ5.js → chunk-VWLSU3XV.js} +6 -5
- package/dist/{chunk-WME2OQST.js → chunk-W5E72HJA.js} +66 -24
- package/dist/{chunk-LLS45EWB.js → chunk-W7TY6HYX.js} +6 -8
- package/dist/{chunk-CCV2EU7T.js → chunk-WSSLVMDA.js} +12 -13
- package/dist/{chunk-YISME6ON.js → chunk-WTB4GKMH.js} +10 -1
- package/dist/{chunk-KPPJTH44.js → chunk-X5BJ3G2P.js} +64 -35
- package/dist/{chunk-JMEKXFOL.js → chunk-XKFO2SZV.js} +39 -34
- package/dist/{chunk-HR3OJ3TH.js → chunk-XLAI7UYY.js} +84 -31
- package/dist/{chunk-H7OR7DFZ.js → chunk-XO756WE5.js} +53 -37
- package/dist/{chunk-F5Z6URKM.js → chunk-XVB3Q2PG.js} +2 -4
- package/dist/{chunk-R5MOQM2H.js → chunk-YOXCCJDF.js} +607 -366
- package/dist/{chunk-ZGSJDWQU.js → chunk-ZCQBNPRH.js} +2 -2
- package/dist/chunk-ZD4KVFXI.js +234 -0
- package/dist/{chunk-WGRJOXED.js → chunk-ZDMFGACN.js} +1295 -966
- package/dist/{chunk-OSTKYB55.js → chunk-ZMMHHXSW.js} +1 -1
- package/dist/{chunk-75GAYVNO.js → chunk-ZPM7ZIFL.js} +6 -6
- package/dist/{chunk-LUBPZN36.js → chunk-ZVCDHYWZ.js} +9 -11
- package/dist/{chunk-Y7F7IEE3.js → chunk-ZZN74OGD.js} +102 -7
- package/dist/{chunk-L5JYIU47.js → chunk-ZZSJAR76.js} +39 -20
- package/dist/index.js +10933 -8644
- package/dist/mcp/analyze-cli.js +12 -17
- package/dist/mcp/cli.js +43 -42
- package/dist/mcp/server.js +3073 -1147
- package/dist/mcp/worker.js +61 -61
- package/dist/probes/installer.js +18 -19
- package/docs/adr/0003-git-guard-latch-writer.md +11 -6
- package/docs/agent-tools.md +58 -16
- package/docs/alignment-families.md +29 -0
- package/docs/analysisall.md +1 -1
- package/docs/ast-grep_rules_catalog.md +6 -4
- package/docs/ci-bot-pr-checks.md +128 -0
- package/docs/configuration.md +150 -12
- package/docs/defect-shapes.md +107 -15
- package/docs/engineering-principles.md +27 -2
- package/docs/environment-variables.md +18 -1
- package/docs/features.md +14 -7
- package/docs/globalconfig.md +11 -3
- package/docs/invariants/git-guard-host.md +7 -3
- package/docs/invariants/language-config.md +15 -4
- package/docs/invariants/lsp-trust-exec.md +25 -4
- package/docs/invariants/paths-os.md +4 -2
- package/docs/invariants/session-telemetry.md +2 -2
- package/docs/language-coverage.md +1 -0
- package/docs/lsp-capability-matrix.md +167 -65
- package/docs/lsp-idle-eviction.md +4 -1
- package/docs/merge-queue-rollout.md +10 -8
- package/docs/module-report-read-symbol.md +34 -23
- package/docs/pi-lens-fixer.md +34 -17
- package/docs/pi-lens-investigator.md +3 -0
- package/docs/pi-lens-merge-policy.md +34 -17
- package/docs/pi-lens-monitor.md +9 -0
- package/docs/pi-lens-orchestration.md +4 -1
- package/docs/pi-lens-reviewer.md +6 -6
- package/docs/pi-lens-subagent.md +19 -3
- package/docs/public-api-stability.md +57 -7
- package/docs/release-qa-baseline.md +7 -4
- package/docs/schema/pi-lens-config-v1.json +21 -2
- package/docs/servercapabilities.md +3 -1
- package/docs/settings.md +11 -7
- package/docs/word-index.md +20 -7
- package/package.json +11 -4
- package/rules/ast-grep-rules/rule-tests/no-accumulating-spread-js-test.yml +37 -0
- package/rules/ast-grep-rules/rule-tests/ts-redundant-filter-map-test.yml +12 -1
- package/rules/ast-grep-rules/rule-tests-disabled/filter-then-map-js-test.yml +12 -0
- package/rules/ast-grep-rules/rule-tests-disabled/filter-then-map-test.yml +25 -0
- package/rules/ast-grep-rules/rules/no-accumulating-spread-js.yml +49 -1
- 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/rules/ast-grep-rules/rules/ts-redundant-filter-map.yml +9 -1
- package/rules/ast-grep-rules/rules-disabled/filter-then-map-js.yml +17 -0
- package/rules/ast-grep-rules/rules-disabled/filter-then-map.yml +36 -0
- package/rules/ast-grep-rules/self-scan-baseline.json +1 -1
- package/scripts/download-grammars.js +3 -2
- package/skills/pi-lens-lsp-navigation/SKILL.md +5 -1
- package/dist/chunk-46TNM7XZ.js +0 -88
- package/dist/chunk-72OKUXSD.js +0 -31
- package/dist/chunk-7GLOLOSH.js +0 -57
- package/dist/chunk-AKUUMGD5.js +0 -26
- package/dist/chunk-ASUXV767.js +0 -22
- package/dist/chunk-CTADOKYM.js +0 -25
- package/dist/chunk-GNSIWBAT.js +0 -106
- package/dist/chunk-HWDAVBFU.js +0 -49
- package/dist/chunk-JJ2RRESP.js +0 -58
- package/dist/chunk-KXF5R4UN.js +0 -48
- package/dist/chunk-LSC3VADM.js +0 -23
- package/dist/chunk-OE5ZBP7F.js +0 -443
- package/dist/chunk-SHLDT3OI.js +0 -27
- package/dist/chunk-UF7RTZSO.js +0 -27
- package/dist/chunk-W4WP2ERB.js +0 -30
- package/dist/chunk-YES5CACN.js +0 -73
- package/dist/chunk-Z2XAOKHK.js +0 -136
|
@@ -1,58 +1,59 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
buildModuleGraph
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7UTSNTWM.js";
|
|
5
5
|
import {
|
|
6
6
|
aliasedImportTargets,
|
|
7
7
|
referencedProjectImportTarget
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ACRJ2GZ5.js";
|
|
9
9
|
import {
|
|
10
10
|
getSharedTreeSitterClient,
|
|
11
11
|
loadWebTreeSitter,
|
|
12
12
|
logTreeSitterDiagnostic,
|
|
13
13
|
resolveTreeSitterLanguage,
|
|
14
14
|
wasmQueryInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZZSJAR76.js";
|
|
16
16
|
import {
|
|
17
17
|
EXTENSION_TO_GRAMMAR,
|
|
18
18
|
KIND_TO_GRAMMAR
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WTB4GKMH.js";
|
|
20
20
|
import {
|
|
21
21
|
HOOK_WALL_BUDGET_MS
|
|
22
22
|
} from "./chunk-CKEQFGLT.js";
|
|
23
|
-
import {
|
|
24
|
-
bounded
|
|
25
|
-
} from "./chunk-HO6LWE2E.js";
|
|
26
23
|
import {
|
|
27
24
|
hashContentBytes,
|
|
28
25
|
toRunnerDisplayPath
|
|
29
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-W7TY6HYX.js";
|
|
27
|
+
import {
|
|
28
|
+
bounded
|
|
29
|
+
} from "./chunk-MKPDIAZH.js";
|
|
30
30
|
import {
|
|
31
31
|
loadPiLensGlobalConfig
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TMNUTMT5.js";
|
|
33
33
|
import {
|
|
34
34
|
isFileKind
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CZCAZVTD.js";
|
|
36
36
|
import {
|
|
37
37
|
isDeclarationFile
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-X5BJ3G2P.js";
|
|
39
39
|
import {
|
|
40
40
|
incrementDegradationCount,
|
|
41
41
|
recordDegradationOnce
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-W5E72HJA.js";
|
|
43
43
|
import {
|
|
44
44
|
freshnessFromMtime
|
|
45
45
|
} from "./chunk-S26LC76R.js";
|
|
46
46
|
import {
|
|
47
47
|
toPositiveFinite
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VCRVNLE7.js";
|
|
49
49
|
import {
|
|
50
50
|
BoundedFifoMap,
|
|
51
51
|
BoundedLruCache,
|
|
52
52
|
isUnderDir,
|
|
53
53
|
normalizeEphemeralMapKey,
|
|
54
|
-
normalizeMapKey
|
|
55
|
-
|
|
54
|
+
normalizeMapKey,
|
|
55
|
+
walkUpDirs
|
|
56
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
56
57
|
|
|
57
58
|
// dist/clients/blocker-freshness.js
|
|
58
59
|
import * as fs4 from "node:fs";
|
|
@@ -652,11 +653,10 @@ function resolveCxx(cwd, filePath, source) {
|
|
|
652
653
|
function pythonRoots(cwd, fileDir) {
|
|
653
654
|
let p = fileDir;
|
|
654
655
|
const root = path2.resolve(cwd);
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
if (
|
|
656
|
+
for (const dir of walkUpDirs(fileDir, { spelling: true })) {
|
|
657
|
+
p = dir;
|
|
658
|
+
if (!(isFile(path2.join(dir, "__init__.py")) && isWithin(cwd, dir)))
|
|
658
659
|
break;
|
|
659
|
-
p = parent;
|
|
660
660
|
}
|
|
661
661
|
const roots = /* @__PURE__ */ new Set([p, root, path2.join(root, "src")]);
|
|
662
662
|
return [...roots].filter((r) => isDir(r));
|
|
@@ -691,9 +691,11 @@ function resolvePython(cwd, filePath, source) {
|
|
|
691
691
|
return [];
|
|
692
692
|
}
|
|
693
693
|
function findGoModule(cwd, filePath) {
|
|
694
|
-
|
|
694
|
+
const start = path2.dirname(path2.resolve(filePath));
|
|
695
695
|
const root = path2.resolve(cwd);
|
|
696
|
-
|
|
696
|
+
for (const dir of walkUpDirs(start, { spelling: true })) {
|
|
697
|
+
if (dir !== start && !isWithin(cwd, dir))
|
|
698
|
+
break;
|
|
697
699
|
try {
|
|
698
700
|
const content = fs3.readFileSync(path2.join(dir, "go.mod"), "utf-8");
|
|
699
701
|
const m = content.match(/^[^\S\n\r\u2028\u2029]*module\s+(\S+)/m);
|
|
@@ -703,10 +705,6 @@ function findGoModule(cwd, filePath) {
|
|
|
703
705
|
}
|
|
704
706
|
if (dir === root)
|
|
705
707
|
break;
|
|
706
|
-
const parent = path2.dirname(dir);
|
|
707
|
-
if (parent === dir || !isWithin(cwd, parent))
|
|
708
|
-
break;
|
|
709
|
-
dir = parent;
|
|
710
708
|
}
|
|
711
709
|
return null;
|
|
712
710
|
}
|
|
@@ -726,15 +724,13 @@ function javaSourceRoots(cwd, filePath) {
|
|
|
726
724
|
for (const c of ["src/main/java", "src/test/java", "src", ""]) {
|
|
727
725
|
roots.add(path2.join(root, c));
|
|
728
726
|
}
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
if (p === root)
|
|
727
|
+
const start = path2.dirname(path2.resolve(filePath));
|
|
728
|
+
for (const dir of walkUpDirs(start, { spelling: true })) {
|
|
729
|
+
if (dir !== start && !isWithin(cwd, dir))
|
|
733
730
|
break;
|
|
734
|
-
|
|
735
|
-
if (
|
|
731
|
+
roots.add(dir);
|
|
732
|
+
if (dir === root)
|
|
736
733
|
break;
|
|
737
|
-
p = parent;
|
|
738
734
|
}
|
|
739
735
|
return [...roots].filter((r) => isDir(r));
|
|
740
736
|
}
|
|
@@ -1925,6 +1921,7 @@ var TreeSitterSymbolExtractor = class _TreeSitterSymbolExtractor {
|
|
|
1925
1921
|
|
|
1926
1922
|
// dist/clients/blocker-freshness.js
|
|
1927
1923
|
var DEPENDENCY_DRIFT_MAX_DELIVERIES = 3;
|
|
1924
|
+
var SELF_DRIFT_MAX_DELIVERIES = 3;
|
|
1928
1925
|
var SELF_DRIFT_HASH_BUDGET_BYTES = 8 * 1024 * 1024;
|
|
1929
1926
|
var MAX_IMPLICIT_SCOPE_PARSES = 32;
|
|
1930
1927
|
var GLOBAL_SCOPE_ROLE_MEMO_ENTRIES = 1024;
|
|
@@ -2497,6 +2494,7 @@ export {
|
|
|
2497
2494
|
symbolExtractionGrammar,
|
|
2498
2495
|
TreeSitterSymbolExtractor,
|
|
2499
2496
|
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
2497
|
+
SELF_DRIFT_MAX_DELIVERIES,
|
|
2500
2498
|
_getForwardImportParsesForTests,
|
|
2501
2499
|
extractForwardImports,
|
|
2502
2500
|
extractForwardImportPaths,
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
4
|
+
SELF_DRIFT_MAX_DELIVERIES,
|
|
4
5
|
_getForwardImportParsesForTests,
|
|
5
6
|
collectForwardImportMtimes,
|
|
6
7
|
extractForwardImportPaths,
|
|
7
8
|
extractForwardImports,
|
|
8
9
|
sweepInlineBlockerFreshness
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-L7O774U7.js";
|
|
11
|
+
import "./chunk-7UTSNTWM.js";
|
|
12
|
+
import "./chunk-ACRJ2GZ5.js";
|
|
13
|
+
import "./chunk-J3Q2NYJR.js";
|
|
14
|
+
import "./chunk-ZZSJAR76.js";
|
|
14
15
|
import "./chunk-Z54ZSOBZ.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-5YSEQHJN.js";
|
|
17
|
+
import "./chunk-QGITU23N.js";
|
|
18
|
+
import "./chunk-WTB4GKMH.js";
|
|
18
19
|
import "./chunk-CKEQFGLT.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-KXF5R4UN.js";
|
|
20
|
+
import "./chunk-W7TY6HYX.js";
|
|
21
|
+
import "./chunk-MKPDIAZH.js";
|
|
22
|
+
import "./chunk-AACN5GNE.js";
|
|
23
|
+
import "./chunk-TMNUTMT5.js";
|
|
24
|
+
import "./chunk-CZCAZVTD.js";
|
|
25
|
+
import "./chunk-X5BJ3G2P.js";
|
|
26
|
+
import "./chunk-NL5LSKVD.js";
|
|
27
|
+
import "./chunk-PIIUNJIT.js";
|
|
28
|
+
import "./chunk-W5E72HJA.js";
|
|
29
29
|
import {
|
|
30
30
|
MTIME_DRIFT_TOLERANCE_MS
|
|
31
31
|
} from "./chunk-S26LC76R.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-VSFLRN5Y.js";
|
|
32
|
+
import "./chunk-VCRVNLE7.js";
|
|
34
33
|
import "./chunk-LJDODBBZ.js";
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-CB7PEVOJ.js";
|
|
36
35
|
import "./chunk-NXL4FFQQ.js";
|
|
37
36
|
export {
|
|
38
37
|
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
39
38
|
MTIME_DRIFT_TOLERANCE_MS,
|
|
39
|
+
SELF_DRIFT_MAX_DELIVERIES,
|
|
40
40
|
_getForwardImportParsesForTests,
|
|
41
41
|
collectForwardImportMtimes,
|
|
42
42
|
extractForwardImportPaths,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isTestMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VCRVNLE7.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/scanner-temp-root.js
|
|
7
7
|
import * as os from "node:os";
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
resolveManagedToolClient
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NCLO6E6N.js";
|
|
5
5
|
import {
|
|
6
6
|
biomeConfigArgs
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./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-
|
|
7
|
+
} from "./chunk-7R5GZIA6.js";
|
|
8
|
+
import "./chunk-YOXCCJDF.js";
|
|
9
|
+
import "./chunk-7YTRG6YW.js";
|
|
10
|
+
import "./chunk-V67D6TMU.js";
|
|
11
|
+
import "./chunk-LT62P654.js";
|
|
12
|
+
import "./chunk-PRHYIA6X.js";
|
|
13
|
+
import "./chunk-ACRJ2GZ5.js";
|
|
14
|
+
import "./chunk-J3Q2NYJR.js";
|
|
15
|
+
import "./chunk-5YSEQHJN.js";
|
|
16
|
+
import "./chunk-QGITU23N.js";
|
|
17
|
+
import "./chunk-WTB4GKMH.js";
|
|
18
|
+
import "./chunk-RTFMDIKV.js";
|
|
18
19
|
import "./chunk-CKEQFGLT.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-KXMJLOZF.js";
|
|
21
|
+
import "./chunk-MRLH4MYU.js";
|
|
22
|
+
import "./chunk-MKPDIAZH.js";
|
|
22
23
|
import "./chunk-2BEMIWEW.js";
|
|
23
24
|
import "./chunk-IJYGIDF4.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-MQ4PPCJB.js";
|
|
25
26
|
import {
|
|
26
27
|
resolveToolCwd
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RNJFRXEN.js";
|
|
28
29
|
import {
|
|
29
30
|
findGlobalBinary,
|
|
30
31
|
findLocalBinAt,
|
|
31
32
|
localBinPath
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-E65WJVI5.js";
|
|
33
34
|
import {
|
|
34
35
|
getIsolatedNpxSpawnOptions,
|
|
35
36
|
probeToolAsync
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-L6WBJGQS.js";
|
|
38
|
+
import "./chunk-UYXV5NIS.js";
|
|
37
39
|
import {
|
|
38
40
|
classifyProbeFailure,
|
|
39
41
|
createAvailabilityLatch,
|
|
40
42
|
describeInstallAttempt,
|
|
41
43
|
logAvailabilityDecision,
|
|
42
44
|
startHostStallSampler
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-AACN5GNE.js";
|
|
46
|
+
import "./chunk-3HTZDY3C.js";
|
|
47
|
+
import "./chunk-CDFJF5YD.js";
|
|
48
|
+
import "./chunk-RNXOWDM6.js";
|
|
49
|
+
import "./chunk-ZCQBNPRH.js";
|
|
48
50
|
import {
|
|
49
51
|
getGlobalPiLensDir,
|
|
50
52
|
safeSpawnAsync
|
|
51
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-TMNUTMT5.js";
|
|
52
54
|
import {
|
|
53
55
|
createSingleFlight
|
|
54
56
|
} from "./chunk-AWQWXSW4.js";
|
|
55
57
|
import "./chunk-QYF5S6P6.js";
|
|
56
58
|
import {
|
|
57
59
|
isFileKind
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-WME2OQST.js";
|
|
60
|
+
} from "./chunk-CZCAZVTD.js";
|
|
61
|
+
import "./chunk-X5BJ3G2P.js";
|
|
62
|
+
import "./chunk-NL5LSKVD.js";
|
|
63
|
+
import "./chunk-PIIUNJIT.js";
|
|
63
64
|
import {
|
|
64
65
|
createSubsystemLogger
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-W5E72HJA.js";
|
|
66
67
|
import "./chunk-S26LC76R.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-VSFLRN5Y.js";
|
|
68
|
+
import "./chunk-VCRVNLE7.js";
|
|
69
69
|
import "./chunk-LJDODBBZ.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-CB7PEVOJ.js";
|
|
71
71
|
import "./chunk-NXL4FFQQ.js";
|
|
72
72
|
|
|
73
73
|
// dist/clients/biome-client.js
|
|
@@ -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-W5E72HJA.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/deadline-utils.js
|
|
7
7
|
function combineAbortSignals(...signals) {
|
|
@@ -22,6 +22,21 @@ function combineAbortSignals(...signals) {
|
|
|
22
22
|
}
|
|
23
23
|
return controller.signal;
|
|
24
24
|
}
|
|
25
|
+
function untilAborted(work, signal, aborted) {
|
|
26
|
+
if (!signal)
|
|
27
|
+
return work;
|
|
28
|
+
if (signal.aborted)
|
|
29
|
+
return Promise.race([work, Promise.resolve(aborted)]);
|
|
30
|
+
let onAbort;
|
|
31
|
+
const abortedPromise = new Promise((resolve) => {
|
|
32
|
+
onAbort = () => resolve(aborted);
|
|
33
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
34
|
+
});
|
|
35
|
+
return Promise.race([work, abortedPromise]).finally(() => {
|
|
36
|
+
if (onAbort)
|
|
37
|
+
signal.removeEventListener("abort", onAbort);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
25
40
|
function withDeadline(promise, options) {
|
|
26
41
|
const onTimeout = options.onTimeout ?? "reject";
|
|
27
42
|
const onReject = options.onReject ?? "propagate";
|
|
@@ -52,6 +67,9 @@ function withDeadline(promise, options) {
|
|
|
52
67
|
function withTimeout(promise, timeoutMs) {
|
|
53
68
|
return withDeadline(promise, { ms: timeoutMs });
|
|
54
69
|
}
|
|
70
|
+
function withBudget(promise, budgetMs) {
|
|
71
|
+
return withDeadline(promise, { ms: budgetMs, onTimeout: "undefined" });
|
|
72
|
+
}
|
|
55
73
|
var BOUND_ABORTED = /* @__PURE__ */ Symbol("pi-lens/bounded/aborted");
|
|
56
74
|
async function bounded(promise, options) {
|
|
57
75
|
const { signal, shutdownSignal, hook, label } = options;
|
|
@@ -114,7 +132,9 @@ async function bounded(promise, options) {
|
|
|
114
132
|
|
|
115
133
|
export {
|
|
116
134
|
combineAbortSignals,
|
|
135
|
+
untilAborted,
|
|
117
136
|
withDeadline,
|
|
118
137
|
withTimeout,
|
|
138
|
+
withBudget,
|
|
119
139
|
bounded
|
|
120
140
|
};
|
|
@@ -4,10 +4,9 @@ import {
|
|
|
4
4
|
getOwnedLspService,
|
|
5
5
|
peekOwnedLspService,
|
|
6
6
|
resetOwnedLspService
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-PQJFG24Z.js";
|
|
7
|
+
} from "./chunk-XVB3Q2PG.js";
|
|
8
|
+
import "./chunk-VCRVNLE7.js";
|
|
9
|
+
import "./chunk-CB7PEVOJ.js";
|
|
11
10
|
import "./chunk-NXL4FFQQ.js";
|
|
12
11
|
export {
|
|
13
12
|
configureLspServiceLifecycle,
|