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.
Files changed (169) hide show
  1. package/CHANGELOG-USER.md +31 -0
  2. package/CHANGELOG.md +258 -0
  3. package/README.md +4 -1
  4. package/config/dependency-cruiser-eager-allowlist.json +1 -1
  5. package/dist/{chunk-6YUNI7B5.js → chunk-2ADRLTM2.js} +14 -60
  6. package/dist/{chunk-4B2YFN4U.js → chunk-2LVJQU3I.js} +46 -33
  7. package/dist/{chunk-2453RRJ2.js → chunk-3FRI5H4T.js} +72 -23
  8. package/dist/{chunk-7MAD5ZAY.js → chunk-3HM4BUHR.js} +14 -16
  9. package/dist/chunk-3QWVOBZJ.js +73 -0
  10. package/dist/{chunk-PIQQM32Y.js → chunk-46TQJSUE.js} +4 -2
  11. package/dist/{chunk-RZG472YW.js → chunk-4ITEFRDH.js} +84 -46
  12. package/dist/{chunk-6FIRFP6A.js → chunk-4NCDHTFI.js} +10 -12
  13. package/dist/{chunk-7CGIDRIK.js → chunk-6I44EDNQ.js} +14 -16
  14. package/dist/{chunk-2BKUFQKR.js → chunk-6MDM5MQT.js} +554 -217
  15. package/dist/{chunk-BBET6HD6.js → chunk-7JX3RNG4.js} +1 -1
  16. package/dist/{chunk-JE6HKLC7.js → chunk-7WJ55KBN.js} +2 -4
  17. package/dist/{chunk-4BKU7PV3.js → chunk-A5TEJZGJ.js} +2 -1
  18. package/dist/{chunk-7ANZ7XDD.js → chunk-ACRJ2GZ5.js} +2 -2
  19. package/dist/{chunk-2ZE3AUJQ.js → chunk-ALIZWXHZ.js} +13 -15
  20. package/dist/{chunk-BQG2QFVO.js → chunk-AON2QIJF.js} +43 -55
  21. package/dist/chunk-B2YUE6YD.js +23 -0
  22. package/dist/{chunk-L4NEVZ4T.js → chunk-B6HXETWY.js} +25 -27
  23. package/dist/chunk-BDR5MEZY.js +25 -0
  24. package/dist/{chunk-HXFUTMX2.js → chunk-BGLS5SDN.js} +2 -2
  25. package/dist/{chunk-ZZDIOAAJ.js → chunk-BRESRQBE.js} +6 -6
  26. package/dist/{chunk-WXUDRAG6.js → chunk-C6AODRNU.js} +10 -12
  27. package/dist/{chunk-GMROJJRN.js → chunk-CB7PEVOJ.js} +9 -1
  28. package/dist/{chunk-BHWW6FAX.js → chunk-CTB5BAJI.js} +53 -22
  29. package/dist/{chunk-VN3L2JWZ.js → chunk-CYUJB552.js} +5 -5
  30. package/dist/{chunk-6GMGEKQN.js → chunk-CZAWWXP6.js} +39 -12
  31. package/dist/{chunk-G5GV2Q7K.js → chunk-CZCAZVTD.js} +16 -2
  32. package/dist/chunk-DBS736MA.js +57 -0
  33. package/dist/{chunk-OWTG6UMO.js → chunk-DOUAWKLO.js} +75 -22
  34. package/dist/{chunk-BOPDQ7AZ.js → chunk-DVRJBQOJ.js} +19 -21
  35. package/dist/{chunk-UHHLR2VY.js → chunk-E4VXKTBR.js} +38 -41
  36. package/dist/{chunk-X66YJ2SS.js → chunk-F6FT6BVQ.js} +33 -34
  37. package/dist/{chunk-GIRBSBGL.js → chunk-FCQSZQAT.js} +3 -3
  38. package/dist/{chunk-X35S7HSB.js → chunk-FOEPIX76.js} +41 -30
  39. package/dist/{chunk-MC6VB2E5.js → chunk-GMC4ZGYR.js} +17 -5
  40. package/dist/{chunk-7TNILKGY.js → chunk-GTTMQ6XB.js} +1 -1
  41. package/dist/{chunk-HHR7WGCI.js → chunk-GUGKKGG7.js} +3 -3
  42. package/dist/{chunk-OZWXLJMX.js → chunk-GVWIU7M7.js} +2 -2
  43. package/dist/{chunk-WMDUT4KH.js → chunk-H65TYP6V.js} +94 -90
  44. package/dist/{chunk-5F3XF3SX.js → chunk-HILZE4BQ.js} +9 -8
  45. package/dist/{chunk-PKSUMEPT.js → chunk-HSYFLOZY.js} +3 -3
  46. package/dist/{chunk-4QG55RRC.js → chunk-I32RSMH6.js} +10 -12
  47. package/dist/chunk-I74RQGKA.js +88 -0
  48. package/dist/{chunk-G6JKM4O7.js → chunk-IDCTDKIA.js} +10 -10
  49. package/dist/chunk-IK4YS3KC.js +25 -0
  50. package/dist/{chunk-O2ARHQKF.js → chunk-IL6PIV33.js} +2 -2
  51. package/dist/{chunk-L3CLUGDY.js → chunk-J6BR5XN2.js} +3 -3
  52. package/dist/chunk-JKOZ2Z4U.js +20 -0
  53. package/dist/{chunk-SP4TFY5F.js → chunk-JZQGRARR.js} +11 -13
  54. package/dist/{chunk-CUDD35TW.js → chunk-K6WIBVMK.js} +6 -5
  55. package/dist/{chunk-DIWK3LBC.js → chunk-KDCIG23C.js} +8 -10
  56. package/dist/{chunk-4NBWFYWW.js → chunk-KFRDFAOE.js} +8 -33
  57. package/dist/{chunk-I22THIHI.js → chunk-KJ3AHOCK.js} +10 -12
  58. package/dist/{chunk-VOP4PJKA.js → chunk-KSTQ4VXT.js} +7 -9
  59. package/dist/{chunk-RGGH6M34.js → chunk-LT62P654.js} +1 -1
  60. package/dist/chunk-MAD4QJTP.js +198 -0
  61. package/dist/{chunk-CM73PPGD.js → chunk-MN635QYA.js} +3 -4
  62. package/dist/{chunk-HUAM7QG3.js → chunk-NBM7PNBP.js} +25 -23
  63. package/dist/{chunk-DYRZGUMA.js → chunk-NE4EFHJX.js} +2 -2
  64. package/dist/{chunk-SQC7K3SP.js → chunk-NL5LSKVD.js} +2 -2
  65. package/dist/{chunk-JZRP4DGP.js → chunk-NPNFGYLV.js} +4 -2
  66. package/dist/{chunk-NM2NWH55.js → chunk-NUSXS6YB.js} +6 -5
  67. package/dist/{chunk-ZKLTNLAW.js → chunk-OPFNQBS5.js} +6 -6
  68. package/dist/{chunk-PPKECBPP.js → chunk-OTSTS7L2.js} +19 -1
  69. package/dist/{chunk-SFLHSL5R.js → chunk-PTSA6QKL.js} +18 -7
  70. package/dist/{chunk-OY7WZI7Q.js → chunk-Q2VCKC3X.js} +6 -6
  71. package/dist/{chunk-HKIL6DCL.js → chunk-QGITU23N.js} +1 -1
  72. package/dist/{chunk-3O5EII3W.js → chunk-QHOTTC4A.js} +2 -2
  73. package/dist/{chunk-35WKJWO5.js → chunk-QL37SGTS.js} +112 -20
  74. package/dist/{chunk-OC7VWJBZ.js → chunk-QMV2APEH.js} +35 -37
  75. package/dist/{chunk-BUZIQDFS.js → chunk-QSCZAP24.js} +3 -3
  76. package/dist/{chunk-O4N5BQ3T.js → chunk-QUPYLQA4.js} +8 -10
  77. package/dist/{chunk-A5GRLYPZ.js → chunk-QUQY3IME.js} +7 -13
  78. package/dist/{chunk-R2QQC33W.js → chunk-QWTHFFU6.js} +12 -14
  79. package/dist/{chunk-TV6RXRYH.js → chunk-RQRKIRFY.js} +8 -10
  80. package/dist/{chunk-ZFORSIED.js → chunk-S3WFVG5P.js} +15 -42
  81. package/dist/{chunk-5RNB4HVK.js → chunk-SG2JQ2YP.js} +1 -1
  82. package/dist/{chunk-KZ4ALBCH.js → chunk-SJQUWQR6.js} +2 -2
  83. package/dist/{chunk-T2S3FNNJ.js → chunk-SKVNHCT5.js} +41 -42
  84. package/dist/{chunk-SDFKOLSF.js → chunk-TJQSYX3J.js} +8 -6
  85. package/dist/{chunk-IYVYZQRL.js → chunk-TLWFZ66Y.js} +5 -7
  86. package/dist/{chunk-5T5A6YAJ.js → chunk-TN5CWX5D.js} +33 -34
  87. package/dist/chunk-TQHOKMVZ.js +28 -0
  88. package/dist/{chunk-XOMGO63G.js → chunk-TYHOEX4V.js} +19 -21
  89. package/dist/{chunk-6LJOJ6EO.js → chunk-UNBRHPHJ.js} +14 -16
  90. package/dist/{chunk-4LL2VRNY.js → chunk-UOO4D2TK.js} +16 -18
  91. package/dist/{chunk-AGGUWKRK.js → chunk-UY745U35.js} +1 -1
  92. package/dist/{chunk-LSFXZLPW.js → chunk-V7F7JHS5.js} +218 -253
  93. package/dist/{chunk-VLQ7UKZH.js → chunk-VCRVNLE7.js} +135 -2
  94. package/dist/{chunk-JPRDTY5S.js → chunk-VGTBLTPN.js} +8 -10
  95. package/dist/{chunk-JBP7KESM.js → chunk-VPFRU5IG.js} +1 -1
  96. package/dist/chunk-VS2L7QDI.js +25 -0
  97. package/dist/{chunk-4W52ZKZX.js → chunk-W4CUK5G6.js} +2 -2
  98. package/dist/{chunk-VPLBLWFO.js → chunk-W7TY6HYX.js} +1 -1
  99. package/dist/{chunk-JYLOYTZD.js → chunk-WAA63ZJV.js} +5 -1
  100. package/dist/{chunk-WC6WRNQT.js → chunk-WS3UFJOU.js} +2 -2
  101. package/dist/chunk-XAFZJEXY.js +50 -0
  102. package/dist/{chunk-XYLC35E4.js → chunk-XPGH5O74.js} +555 -336
  103. package/dist/{chunk-VOXTCULR.js → chunk-XVB3Q2PG.js} +2 -4
  104. package/dist/{chunk-FRLAUP2B.js → chunk-Y3EHLUPL.js} +4 -4
  105. package/dist/{chunk-CZL44WFN.js → chunk-YF4G5NN5.js} +2 -2
  106. package/dist/{chunk-XWIME22V.js → chunk-YQA34KAF.js} +11 -13
  107. package/dist/{chunk-FHEV6T4L.js → chunk-YT2VR4SL.js} +8 -10
  108. package/dist/chunk-ZD4KVFXI.js +234 -0
  109. package/dist/{chunk-NSPVR3FN.js → chunk-ZOPXB2KK.js} +17 -19
  110. package/dist/chunk-ZPFLHB3R.js +28 -0
  111. package/dist/{chunk-R4QWJQ2H.js → chunk-ZZDVGCGG.js} +9 -11
  112. package/dist/index.js +5398 -4438
  113. package/dist/mcp/analyze-cli.js +12 -17
  114. package/dist/mcp/cli.js +41 -42
  115. package/dist/mcp/server.js +1466 -663
  116. package/dist/mcp/worker.js +59 -60
  117. package/dist/probes/installer.js +17 -19
  118. package/docs/agent-guide.md +2 -1
  119. package/docs/agent-tools.md +53 -10
  120. package/docs/analysisall.md +1 -1
  121. package/docs/ci-bot-pr-checks.md +7 -5
  122. package/docs/configuration.md +60 -13
  123. package/docs/defect-shapes.md +67 -4
  124. package/docs/environment-variables.md +18 -1
  125. package/docs/features.md +23 -6
  126. package/docs/globalconfig.md +24 -3
  127. package/docs/invariants/language-config.md +9 -1
  128. package/docs/invariants/lsp-trust-exec.md +9 -2
  129. package/docs/invariants/session-telemetry.md +2 -2
  130. package/docs/language-coverage.md +67 -0
  131. package/docs/lsp-capability-matrix.md +121 -53
  132. package/docs/lsp-idle-eviction.md +20 -13
  133. package/docs/merge-queue-rollout.md +10 -8
  134. package/docs/module-report-read-symbol.md +34 -23
  135. package/docs/pi-lens-fixer.md +19 -7
  136. package/docs/pi-lens-investigator.md +3 -0
  137. package/docs/pi-lens-merge-policy.md +20 -8
  138. package/docs/pi-lens-release.md +3 -2
  139. package/docs/pi-lens-reviewer.md +53 -12
  140. package/docs/pi-lens-subagent.md +13 -0
  141. package/docs/public-api-stability.md +39 -5
  142. package/docs/release-qa-baseline.md +7 -4
  143. package/docs/schema/pi-lens-config-v1.json +11 -2
  144. package/docs/servercapabilities.md +3 -1
  145. package/docs/settings.md +9 -6
  146. package/docs/usage.md +1 -0
  147. package/docs/word-index.md +3 -2
  148. package/package.json +9 -4
  149. package/rules/ast-grep-rules/rules/no-sql-in-code-execute-js.yml +1 -2
  150. package/rules/ast-grep-rules/rules/no-sql-in-code-execute.yml +1 -2
  151. package/scripts/download-grammars.js +13 -2
  152. package/scripts/grammars.lock.json +7 -0
  153. package/skills/pi-lens-lsp-navigation/SKILL.md +5 -1
  154. package/vendor/grammars/tree-sitter-groovy.wasm +0 -0
  155. package/dist/chunk-2TS4GLOJ.js +0 -31
  156. package/dist/chunk-3JAHQBSY.js +0 -27
  157. package/dist/chunk-447YZL4S.js +0 -25
  158. package/dist/chunk-565VRUP4.js +0 -136
  159. package/dist/chunk-57X2CDRX.js +0 -49
  160. package/dist/chunk-GGYOZWHW.js +0 -27
  161. package/dist/chunk-IE5D3RA5.js +0 -58
  162. package/dist/chunk-LPYTPNOJ.js +0 -22
  163. package/dist/chunk-OFNMHPBT.js +0 -89
  164. package/dist/chunk-U3AS2FR6.js +0 -106
  165. package/dist/chunk-W3BGKBBK.js +0 -27
  166. package/dist/chunk-WQV6BI4Q.js +0 -48
  167. package/dist/chunk-YHGYAEFH.js +0 -443
  168. package/dist/chunk-ZONZ6YY3.js +0 -74
  169. package/dist/chunk-ZSM35JF4.js +0 -30
@@ -13,7 +13,7 @@ import {
13
13
  reportPiLensConfigRecords,
14
14
  resolveOnePiLensConfigDocument,
15
15
  warnIgnoredConfigOnce
16
- } from "./chunk-X35S7HSB.js";
16
+ } from "./chunk-FOEPIX76.js";
17
17
  import {
18
18
  CANONICAL_GLOBAL_CONFIG_FILE,
19
19
  FRESHNESS_CADENCE_MS,
@@ -23,7 +23,7 @@ import {
23
23
  errorClassName,
24
24
  getPiLensGlobalConfigPath,
25
25
  getProductionGlobalConfigResolution
26
- } from "./chunk-SQC7K3SP.js";
26
+ } from "./chunk-NL5LSKVD.js";
27
27
  import {
28
28
  DEFAULT_MAX_OUTPUT_BYTES,
29
29
  createBoundedOutputSink,
@@ -31,7 +31,7 @@ import {
31
31
  truncatedByOutputCap,
32
32
  writeFileAtomic,
33
33
  writeFileAtomicAsync
34
- } from "./chunk-JE6HKLC7.js";
34
+ } from "./chunk-7WJ55KBN.js";
35
35
  import {
36
36
  GLOBAL_NON_FLAG_CONFIG_SECTIONS,
37
37
  LENS_FLAGS,
@@ -42,22 +42,19 @@ import {
42
42
  flagValueFromConfig,
43
43
  getLensFlagSpec,
44
44
  incrementDegradationCount,
45
+ logExtension,
45
46
  readFlagConfigValue,
46
47
  readLazyToolsSetting,
47
48
  readToolConfig,
48
49
  recordDegradation,
49
50
  recordDegradationOnce
50
- } from "./chunk-2453RRJ2.js";
51
- import {
52
- logExtension
53
- } from "./chunk-WQV6BI4Q.js";
54
- import {
55
- logLatency
56
- } from "./chunk-565VRUP4.js";
51
+ } from "./chunk-3FRI5H4T.js";
57
52
  import {
58
53
  getProcessSingleton,
54
+ isToolInstallDisabled,
55
+ logLatency,
59
56
  machineStateDir
60
- } from "./chunk-VLQ7UKZH.js";
57
+ } from "./chunk-VCRVNLE7.js";
61
58
  import {
62
59
  STAGE_TMP_PATTERN,
63
60
  stagePathFor,
@@ -86,7 +83,7 @@ import {
86
83
  toPosix,
87
84
  toProjectRelativePath,
88
85
  walkUpDirs
89
- } from "./chunk-GMROJJRN.js";
86
+ } from "./chunk-CB7PEVOJ.js";
90
87
  import {
91
88
  __commonJS,
92
89
  __require,
@@ -1581,6 +1578,30 @@ import path5 from "node:path";
1581
1578
  import { randomInt } from "node:crypto";
1582
1579
  import * as fs4 from "node:fs";
1583
1580
  import * as path4 from "node:path";
1581
+
1582
+ // dist/clients/pid-liveness.js
1583
+ function realIsPidAlive(pid) {
1584
+ if (!Number.isFinite(pid) || pid <= 0)
1585
+ return false;
1586
+ try {
1587
+ process.kill(pid, 0);
1588
+ return true;
1589
+ } catch (err) {
1590
+ const code = err?.code;
1591
+ if (code === "ESRCH")
1592
+ return false;
1593
+ if (code !== "EPERM") {
1594
+ recordDegradationOnce({
1595
+ kind: "pid-liveness-unprobeable",
1596
+ subject: String(code ?? "unknown"),
1597
+ reason: `process.kill(pid, 0) threw ${String(code ?? "an error without a code")}; read as alive`
1598
+ });
1599
+ }
1600
+ return true;
1601
+ }
1602
+ }
1603
+
1604
+ // dist/clients/generation-lock.js
1584
1605
  var GENERATION = /^lock\.(\d+)(\.released)?$/;
1585
1606
  function pidFileOwner(file) {
1586
1607
  try {
@@ -1590,23 +1611,13 @@ function pidFileOwner(file) {
1590
1611
  return void 0;
1591
1612
  }
1592
1613
  }
1593
- function isPidAlive(pid) {
1594
- if (pid === void 0)
1595
- return false;
1596
- try {
1597
- process.kill(pid, 0);
1598
- return true;
1599
- } catch (error) {
1600
- return error?.code !== "ESRCH";
1601
- }
1602
- }
1603
1614
  function pidFileIsStale(file, staleMs) {
1604
1615
  try {
1605
1616
  const stat = fs4.statSync(file);
1606
1617
  if (Date.now() - stat.mtimeMs > staleMs)
1607
1618
  return true;
1608
1619
  const pid = pidFileOwner(file);
1609
- return pid !== void 0 && !isPidAlive(pid);
1620
+ return pid !== void 0 && !realIsPidAlive(pid);
1610
1621
  } catch {
1611
1622
  return false;
1612
1623
  }
@@ -1771,19 +1782,9 @@ function boundedLockIsStale(lockPath) {
1771
1782
  const [pidText] = fs5.readFileSync(lockPath, "utf8").split(":", 1);
1772
1783
  const pid = Number.parseInt(pidText ?? "", 10);
1773
1784
  if (Number.isSafeInteger(pid) && pid > 0)
1774
- return !ownerPidIsLive(pid);
1785
+ return !realIsPidAlive(pid);
1775
1786
  return Date.now() - fs5.statSync(lockPath).mtimeMs > UNREADABLE_LOCK_STALE_MS;
1776
1787
  }
1777
- function ownerPidIsLive(pid) {
1778
- if (!Number.isSafeInteger(pid) || pid <= 0)
1779
- return false;
1780
- try {
1781
- process.kill(pid, 0);
1782
- return true;
1783
- } catch (error) {
1784
- return error.code === "EPERM";
1785
- }
1786
- }
1787
1788
  function quarantinePath(lockPath, token) {
1788
1789
  return `${lockPath}.quarantine-${process.pid}-${token}`;
1789
1790
  }
@@ -1822,7 +1823,7 @@ async function releaseQuarantineLock(lockPath, token) {
1822
1823
  }
1823
1824
  function quarantineOwnerIsStale(owner, staleMs) {
1824
1825
  const pidUsable = Number.isInteger(owner.pid) && owner.pid > 0;
1825
- if (pidUsable && !ownerPidIsLive(owner.pid))
1826
+ if (pidUsable && !realIsPidAlive(owner.pid))
1826
1827
  return true;
1827
1828
  return Number.isFinite(owner.createdAt) && Date.now() - owner.createdAt > staleMs;
1828
1829
  }
@@ -2209,6 +2210,8 @@ function globalCanonicalLocation() {
2209
2210
  }
2210
2211
  return location;
2211
2212
  }
2213
+ var LSP_QUERY_MAX_FILE_LINES_MIN = 5e3;
2214
+ var LSP_QUERY_MAX_FILE_LINES_MAX = 4e4;
2212
2215
  function warnInvalidGlobalConfigOnce(configPath, reason, code) {
2213
2216
  warnIgnoredConfigOnce({
2214
2217
  subsystem: "lens-config",
@@ -2277,7 +2280,7 @@ function loadPiLensGlobalConfig(configPath) {
2277
2280
  try {
2278
2281
  const parsed = outcome.value;
2279
2282
  if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
2280
- note("top-level value must be an object");
2283
+ note("top-level value must be an object", "PILENS_CFG_0001");
2281
2284
  return void 0;
2282
2285
  }
2283
2286
  const document = {
@@ -2298,7 +2301,7 @@ function loadPiLensGlobalConfig(configPath) {
2298
2301
  if (toolsSection && "lazy" in toolsSection) {
2299
2302
  const lazy = readLazyToolsSetting(raw);
2300
2303
  if (lazy === void 0)
2301
- warnInvalid('tools.lazy must be "auto", true, or false');
2304
+ warnInvalid('tools.lazy must be "auto", true, or false', "PILENS_CFG_0005");
2302
2305
  else
2303
2306
  config.tools = { ...config.tools, lazy };
2304
2307
  }
@@ -2318,16 +2321,25 @@ function loadPiLensGlobalConfig(configPath) {
2318
2321
  if (mode === "quick" || mode === "full" || mode === "minimal")
2319
2322
  startupConfig.mode = mode;
2320
2323
  else if ("mode" in startup)
2321
- warnInvalid('startup.mode must be "quick", "full", or "minimal"');
2324
+ warnInvalid('startup.mode must be "quick", "full", or "minimal"', "PILENS_CFG_0005");
2322
2325
  if (scans) {
2323
2326
  if (typeof scans.enabled === "boolean") {
2324
2327
  startupConfig.scans = { enabled: scans.enabled };
2325
2328
  } else if ("enabled" in scans)
2326
- warnInvalid("startup.scans.enabled must be a boolean");
2329
+ warnInvalid("startup.scans.enabled must be a boolean", "PILENS_CFG_0005");
2327
2330
  }
2328
2331
  if (startupConfig.mode !== void 0 || startupConfig.scans !== void 0)
2329
2332
  config.startup = startupConfig;
2330
2333
  }
2334
+ const lspSection = asConfigObject(raw.lsp);
2335
+ if (lspSection && "queryMaxFileLines" in lspSection) {
2336
+ const lines = lspSection.queryMaxFileLines;
2337
+ if (typeof lines === "number" && Number.isInteger(lines) && lines >= LSP_QUERY_MAX_FILE_LINES_MIN && lines <= LSP_QUERY_MAX_FILE_LINES_MAX) {
2338
+ config.lsp = { ...config.lsp, queryMaxFileLines: lines };
2339
+ } else {
2340
+ warnInvalid(`lsp.queryMaxFileLines must be a whole number from ${LSP_QUERY_MAX_FILE_LINES_MIN} to ${LSP_QUERY_MAX_FILE_LINES_MAX}; ignored`, "PILENS_CFG_0005");
2341
+ }
2342
+ }
2331
2343
  const dispatch = asConfigObject(raw.dispatch);
2332
2344
  if (dispatch) {
2333
2345
  const floor = dispatch.runnerTimeoutFloorMs;
@@ -2335,7 +2347,7 @@ function loadPiLensGlobalConfig(configPath) {
2335
2347
  config.dispatch = { runnerTimeoutFloorMs: floor };
2336
2348
  } else {
2337
2349
  if ("runnerTimeoutFloorMs" in dispatch) {
2338
- warnInvalid("dispatch.runnerTimeoutFloorMs must be a positive finite number");
2350
+ warnInvalid("dispatch.runnerTimeoutFloorMs must be a positive finite number", "PILENS_CFG_0005");
2339
2351
  }
2340
2352
  config.dispatch = { runnerTimeoutFloorMs: void 0 };
2341
2353
  }
@@ -2348,7 +2360,7 @@ function loadPiLensGlobalConfig(configPath) {
2348
2360
  warnings.autoFix ??= {};
2349
2361
  warnings.autoFix.maxFixes = Math.floor(autoFix.maxFixes);
2350
2362
  } else {
2351
- warnInvalid("actionableWarnings.autoFix.maxFixes must be a non-negative finite number");
2363
+ warnInvalid("actionableWarnings.autoFix.maxFixes must be a non-negative finite number", "PILENS_CFG_0005");
2352
2364
  }
2353
2365
  }
2354
2366
  const contextInjection = asConfigObject(raw.contextInjection);
@@ -2357,7 +2369,7 @@ function loadPiLensGlobalConfig(configPath) {
2357
2369
  config.contextInjection ??= {};
2358
2370
  config.contextInjection.requirePreExistingFixes = contextInjection.requirePreExistingFixes;
2359
2371
  } else {
2360
- warnInvalid("contextInjection.requirePreExistingFixes must be a boolean");
2372
+ warnInvalid("contextInjection.requirePreExistingFixes must be a boolean", "PILENS_CFG_0005");
2361
2373
  }
2362
2374
  }
2363
2375
  const widget = asConfigObject(raw.widget);
@@ -2366,7 +2378,7 @@ function loadPiLensGlobalConfig(configPath) {
2366
2378
  config.widget = { visible: widget.visible };
2367
2379
  } else {
2368
2380
  if ("visible" in widget) {
2369
- warnInvalid("widget.visible must be a boolean");
2381
+ warnInvalid("widget.visible must be a boolean", "PILENS_CFG_0005");
2370
2382
  }
2371
2383
  config.widget = { visible: void 0 };
2372
2384
  }
@@ -2379,7 +2391,7 @@ function loadPiLensGlobalConfig(configPath) {
2379
2391
  formatSection.mode = format.mode;
2380
2392
  } else {
2381
2393
  if ("mode" in format) {
2382
- warnInvalid('format.mode must be "immediate" or "deferred"');
2394
+ warnInvalid('format.mode must be "immediate" or "deferred"', "PILENS_CFG_0005");
2383
2395
  }
2384
2396
  formatSection.mode = void 0;
2385
2397
  }
@@ -2391,7 +2403,7 @@ function loadPiLensGlobalConfig(configPath) {
2391
2403
  ]);
2392
2404
  for (const key of Object.keys(raw)) {
2393
2405
  if (!knownGlobalConfigKeys.has(key)) {
2394
- warnInvalid(PROJECT_NON_FLAG_CONFIG_SECTIONS.includes(key) ? `"${key}" is a project-scoped pi-lens setting; set it in <project>/.pi-lens.json, not in the global config; ignored` : `unknown key "${key}" is not a recognized pi-lens setting (check for a typo); ignored`);
2406
+ warnInvalid(PROJECT_NON_FLAG_CONFIG_SECTIONS.includes(key) ? `"${key}" is a project-scoped pi-lens setting; set it in <project>/.pi-lens.json, not in the global config; ignored` : `unknown key "${key}" is not a recognized pi-lens setting (check for a typo); ignored`, "PILENS_CFG_0004");
2395
2407
  }
2396
2408
  }
2397
2409
  return config;
@@ -2405,6 +2417,9 @@ function loadPiLensGlobalConfig(configPath) {
2405
2417
  function getGlobalIgnorePatterns(configPath) {
2406
2418
  return loadPiLensGlobalConfig(configPath)?.ignore ?? [];
2407
2419
  }
2420
+ function getGlobalLspQueryMaxFileLines(configPath) {
2421
+ return loadPiLensGlobalConfig(configPath)?.lsp?.queryMaxFileLines;
2422
+ }
2408
2423
  function resolvePiLensFlagWithSource(name, value, config, projectConfig, editedFilePath, projectRoot) {
2409
2424
  const spec = getLensFlagSpec(name);
2410
2425
  if (spec?.env && process.env[spec.env] === "1") {
@@ -3977,17 +3992,17 @@ function rootsOverlap(a, b) {
3977
3992
  const [shorter, longer] = a.length < b.length ? [a, b] : [b, a];
3978
3993
  return longer.startsWith(shorter.endsWith("/") ? shorter : `${shorter}/`);
3979
3994
  }
3980
- function selectLivePeerInstances(entries, root, now = Date.now(), isPidAlive2 = realIsPidAlive, match = "exact") {
3995
+ function selectLivePeerInstances(entries, root, now = Date.now(), isPidAlive = realIsPidAlive, match = "exact") {
3981
3996
  const normalizedRoot = normalizeFilePath(root);
3982
3997
  return entries.filter((entry) => entry.pid !== process.pid && // #2130: a host serves a SET of roots. Matching only
3983
3998
  // `entry.projectRoot` made every secondary root invisible, so a peer
3984
3999
  // working in the same checkout under its second root read as "no
3985
4000
  // peer" — and the shared-checkout guard then allowed the destructive
3986
4001
  // command it exists to block.
3987
- getInstanceRoots(entry).some((entryRoot) => match === "exact" ? entryRoot === normalizedRoot : rootsOverlap(entryRoot, normalizedRoot)) && isPidAlive2(entry.pid) && Number.isFinite(Date.parse(entry.heartbeatAt)) && now - Date.parse(entry.heartbeatAt) <= STALE_HEARTBEAT_MS).sort((a, b) => Date.parse(a.startedAt) - Date.parse(b.startedAt));
4002
+ getInstanceRoots(entry).some((entryRoot) => match === "exact" ? entryRoot === normalizedRoot : rootsOverlap(entryRoot, normalizedRoot)) && isPidAlive(entry.pid) && Number.isFinite(Date.parse(entry.heartbeatAt)) && now - Date.parse(entry.heartbeatAt) <= STALE_HEARTBEAT_MS).sort((a, b) => Date.parse(a.startedAt) - Date.parse(b.startedAt));
3988
4003
  }
3989
- function computeResourceFootprint(instances, isPidAlive2) {
3990
- const liveInstances = isPidAlive2 ? instances.filter((instance) => isPidAlive2(instance.pid)) : instances;
4004
+ function computeResourceFootprint(instances, isPidAlive) {
4005
+ const liveInstances = isPidAlive ? instances.filter((instance) => isPidAlive(instance.pid)) : instances;
3991
4006
  const perInstance = liveInstances.map((instance) => {
3992
4007
  const lspChildRssBytes = instance.lspChildren.reduce((sum, child) => sum + (child.rssBytes ?? 0), 0);
3993
4008
  const lspChildCpuPercent = instance.lspChildren.reduce((sum, child) => sum + (child.cpuPercent ?? 0), 0);
@@ -4019,10 +4034,10 @@ function computeResourceFootprint(instances, isPidAlive2) {
4019
4034
  perInstance
4020
4035
  };
4021
4036
  }
4022
- async function getResourceFootprint(isPidAlive2 = realIsPidAlive) {
4037
+ async function getResourceFootprint(isPidAlive = realIsPidAlive) {
4023
4038
  const instances = await readInstanceRegistry();
4024
4039
  const namespace = ownPidNamespace();
4025
- const dead = instances.filter((instance) => !isPidAlive2(instance.pid) && instance.lspChildren.length === 0 && isInPidNamespace(instance, namespace)).map((instance) => ({
4040
+ const dead = instances.filter((instance) => !isPidAlive(instance.pid) && instance.lspChildren.length === 0 && isInPidNamespace(instance, namespace)).map((instance) => ({
4026
4041
  pid: instance.pid,
4027
4042
  processStart: instance.processStart,
4028
4043
  pidNamespace: instance.pidNamespace
@@ -4031,7 +4046,7 @@ async function getResourceFootprint(isPidAlive2 = realIsPidAlive) {
4031
4046
  queueRegistryMutation(() => prunePids(dead)).catch(() => {
4032
4047
  });
4033
4048
  }
4034
- return computeResourceFootprint(instances, isPidAlive2);
4049
+ return computeResourceFootprint(instances, isPidAlive);
4035
4050
  }
4036
4051
  async function pruneDeadInstances(dead) {
4037
4052
  const result = await withInstanceRegistryLock(registryPath(), async () => {
@@ -4053,19 +4068,6 @@ async function prunePids(dead) {
4053
4068
  // dist/clients/instance-reaper.js
4054
4069
  var STALE_HEARTBEAT_MS = 6 * 60 * 60 * 1e3;
4055
4070
  var isWindows = process.platform === "win32";
4056
- function realIsPidAlive(pid) {
4057
- if (!Number.isFinite(pid) || pid <= 0)
4058
- return false;
4059
- try {
4060
- process.kill(pid, 0);
4061
- return true;
4062
- } catch (err) {
4063
- const code = err?.code;
4064
- if (code === "ESRCH")
4065
- return false;
4066
- return true;
4067
- }
4068
- }
4069
4071
  var STAGE_PID_PATTERN = /\.stage-(\d+)-/;
4070
4072
  function isStaleStageFile(entry, artifactPrefix) {
4071
4073
  if (!entry.startsWith(artifactPrefix))
@@ -4079,8 +4081,8 @@ var ATOMIC_STAGE_SWEEP_MAX_ENTRIES = 512;
4079
4081
  async function sweepAtomicWriteStages(directories, options = {}) {
4080
4082
  const requestedMax = options.maxEntries ?? ATOMIC_STAGE_SWEEP_MAX_ENTRIES;
4081
4083
  const maxEntries = Number.isFinite(requestedMax) ? Math.max(1, Math.floor(requestedMax)) : ATOMIC_STAGE_SWEEP_MAX_ENTRIES;
4082
- const isPidAlive2 = options.isPidAlive ?? realIsPidAlive;
4083
- return sweepOwnStagingFiles(directories, { maxEntries, isPidAlive: isPidAlive2 });
4084
+ const isPidAlive = options.isPidAlive ?? realIsPidAlive;
4085
+ return sweepOwnStagingFiles(directories, { maxEntries, isPidAlive });
4084
4086
  }
4085
4087
  var KILL_VERIFY_ATTEMPTS = 5;
4086
4088
  var KILL_VERIFY_INTERVAL_MS = 100;
@@ -4123,13 +4125,13 @@ async function killPidTree(pid, options = {}) {
4123
4125
  return await verifyPidGone(pid, options);
4124
4126
  }
4125
4127
  async function verifyPidGone(pid, options = {}) {
4126
- const isPidAlive2 = options.isPidAlive ?? realIsPidAlive;
4128
+ const isPidAlive = options.isPidAlive ?? realIsPidAlive;
4127
4129
  const attempts = Math.max(1, options.verifyAttempts ?? KILL_VERIFY_ATTEMPTS);
4128
4130
  const intervalMs = Math.max(0, options.verifyIntervalMs ?? KILL_VERIFY_INTERVAL_MS);
4129
4131
  for (let attempt = 0; attempt < attempts; attempt++) {
4130
4132
  let alive;
4131
4133
  try {
4132
- alive = isPidAlive2(pid);
4134
+ alive = isPidAlive(pid);
4133
4135
  } catch {
4134
4136
  alive = true;
4135
4137
  }
@@ -4319,7 +4321,12 @@ async function sampleProcesses(pids) {
4319
4321
  return await sampleProcessesWindows(valid);
4320
4322
  }
4321
4323
  try {
4322
- const stats = await (0, import_pidusage.default)(valid);
4324
+ const stats = await (0, import_pidusage.default)(valid).catch((err) => {
4325
+ if (err instanceof Error && err.message === "No matching pid found") {
4326
+ return {};
4327
+ }
4328
+ throw err;
4329
+ });
4323
4330
  for (const pid of valid) {
4324
4331
  const stat = stats[String(pid)];
4325
4332
  if (!stat)
@@ -5012,16 +5019,26 @@ function resolveWindowsCommandForEnvironment(command, cwd, env) {
5012
5019
  function resolveWindowsCommand(command, cwd, env) {
5013
5020
  return resolveWindowsCommandForEnvironment(command, cwd, env);
5014
5021
  }
5015
- function getSpawnEnvironment(overrides, stripNpmConfig) {
5022
+ function isNpxCommand(command) {
5023
+ const base = command.split(/[\\/]/).pop() ?? command;
5024
+ return /^npx(?:\.(?:cmd|exe|bat))?$/i.test(base);
5025
+ }
5026
+ function getSpawnEnvironment(command, overrides, stripNpmConfig) {
5016
5027
  const ambient = { ...process.env, GIT_OPTIONAL_LOCKS: "0" };
5017
5028
  const merged = process.platform === "win32" ? mergeWindowsEnvironment(ambient, overrides) : { ...ambient, ...overrides };
5018
- if (!stripNpmConfig)
5029
+ const offline = isToolInstallDisabled() && isNpxCommand(command);
5030
+ if (!stripNpmConfig) {
5031
+ if (offline)
5032
+ merged.npm_config_offline = "true";
5019
5033
  return merged;
5034
+ }
5020
5035
  const stripped = {};
5021
5036
  for (const [key, value] of Object.entries(merged)) {
5022
5037
  if (!/^npm_config_/i.test(key))
5023
5038
  stripped[key] = value;
5024
5039
  }
5040
+ if (offline)
5041
+ stripped.npm_config_offline = "true";
5025
5042
  return stripped;
5026
5043
  }
5027
5044
  function isSpawnLookup(command) {
@@ -5325,7 +5342,7 @@ async function safeSpawnAsync(command, args, options) {
5325
5342
  }
5326
5343
  };
5327
5344
  const isWindows2 = process.platform === "win32";
5328
- const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(options?.env, options?.stripNpmConfig));
5345
+ const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(command, options?.env, options?.stripNpmConfig));
5329
5346
  if (!admission.admitted) {
5330
5347
  resolve7(trustRefusalResult(command, admission.executable));
5331
5348
  return;
@@ -5792,15 +5809,6 @@ async function safeSpawnAsync(command, args, options) {
5792
5809
  });
5793
5810
  });
5794
5811
  }
5795
- async function safeSpawnBatch(commands, concurrency = 3) {
5796
- const results = [];
5797
- for (let i = 0; i < commands.length; i += concurrency) {
5798
- const batch = commands.slice(i, i + concurrency);
5799
- const batchResults = await Promise.all(batch.map(({ command, args, options }) => safeSpawnAsync(command, args, options)));
5800
- results.push(...batchResults);
5801
- }
5802
- return results;
5803
- }
5804
5812
  async function isCommandAvailableAsync(command) {
5805
5813
  const finder = process.platform === "win32" ? "where" : "which";
5806
5814
  const result = await safeSpawnAsync(finder, [command], { timeout: 5e3 });
@@ -5814,7 +5822,7 @@ async function findCommandAsync(command) {
5814
5822
  return admittedLookupAnswer(result.stdout);
5815
5823
  }
5816
5824
  function safeSpawn(command, args, options) {
5817
- const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(options?.env, options?.stripNpmConfig));
5825
+ const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(command, options?.env, options?.stripNpmConfig));
5818
5826
  if (!admission.admitted)
5819
5827
  return trustRefusalResult(command, admission.executable);
5820
5828
  const spawnEnv = admission.env;
@@ -5907,10 +5915,6 @@ function safeSpawn(command, args, options) {
5907
5915
  ...spawnFailure ? { failure: "spawn", spawnFailure } : {}
5908
5916
  };
5909
5917
  }
5910
- function isCommandAvailable(command) {
5911
- const result = safeSpawn(process.platform === "win32" ? "where" : "which", [command], { timeout: 5e3 });
5912
- return result.status === 0;
5913
- }
5914
5918
  function findCommand(command) {
5915
5919
  const finder = process.platform === "win32" ? "where" : "which";
5916
5920
  const result = safeSpawn(finder, [command], { timeout: 5e3 });
@@ -5940,6 +5944,7 @@ export {
5940
5944
  windowsExe,
5941
5945
  OWNER_TAG_ENV,
5942
5946
  ownerTagForChildren,
5947
+ realIsPidAlive,
5943
5948
  isLockContention,
5944
5949
  recordGenerationTakeover,
5945
5950
  recordLegacyLockHeld,
@@ -5962,7 +5967,6 @@ export {
5962
5967
  removeLspChild,
5963
5968
  selectLivePeerInstances,
5964
5969
  getResourceFootprint,
5965
- realIsPidAlive,
5966
5970
  isStaleStageFile,
5967
5971
  sweepAtomicWriteStages,
5968
5972
  sampleProcessTreeCpuPercent,
@@ -5988,15 +5992,15 @@ export {
5988
5992
  resetUtf8ConsoleCodePageStateForTests,
5989
5993
  spawnAbortScope,
5990
5994
  safeSpawnAsync,
5991
- safeSpawnBatch,
5992
5995
  isCommandAvailableAsync,
5993
5996
  findCommandAsync,
5994
5997
  safeSpawn,
5995
- isCommandAvailable,
5996
5998
  findCommand,
5997
5999
  collectUntrackedIgnoredIds,
5998
6000
  collectTrackedFiles,
6001
+ LSP_QUERY_MAX_FILE_LINES_MAX,
5999
6002
  loadPiLensGlobalConfig,
6003
+ getGlobalLspQueryMaxFileLines,
6000
6004
  resolvePiLensFlag,
6001
6005
  ephemeralStagingRoot,
6002
6006
  isEphemeralCheckoutRoot,
@@ -1,24 +1,25 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  loadProjectSnapshotWithoutWordIndex
4
- } from "./chunk-ZZDIOAAJ.js";
4
+ } from "./chunk-BRESRQBE.js";
5
5
  import {
6
6
  resolvePackagePath
7
- } from "./chunk-HKIL6DCL.js";
7
+ } from "./chunk-QGITU23N.js";
8
8
  import {
9
- TERRAGRUNT_FILENAMES
10
- } from "./chunk-G5GV2Q7K.js";
9
+ TERRAGRUNT_FILENAMES,
10
+ isJstsFactFile
11
+ } from "./chunk-CZCAZVTD.js";
11
12
  import {
12
13
  recordDegradationOnce
13
- } from "./chunk-2453RRJ2.js";
14
+ } from "./chunk-3FRI5H4T.js";
14
15
  import {
15
16
  logLatency
16
- } from "./chunk-565VRUP4.js";
17
+ } from "./chunk-VCRVNLE7.js";
17
18
  import {
18
19
  findNearestContaining,
19
20
  normalizeMapKey,
20
21
  walkUpDirs
21
- } from "./chunk-GMROJJRN.js";
22
+ } from "./chunk-CB7PEVOJ.js";
22
23
 
23
24
  // dist/clients/tool-policy.js
24
25
  import * as fs from "node:fs";
@@ -1130,7 +1131,7 @@ var VITE_CONFIGS = [
1130
1131
  ];
1131
1132
  function getLinterPolicyForFile(filePath, context = {}) {
1132
1133
  const ext = path.extname(filePath).toLowerCase();
1133
- if ([".js", ".jsx", ".ts", ".tsx", ".mjs", ".cjs"].includes(ext)) {
1134
+ if (isJstsFactFile(filePath)) {
1134
1135
  const policy = getJstsLintPolicy({
1135
1136
  hasEslintConfig: context.hasEslintConfig,
1136
1137
  hasOxlintConfig: context.hasOxlintConfig,
@@ -6,13 +6,13 @@ import {
6
6
  findModuleForPath,
7
7
  getDownstreamModules,
8
8
  getModuleSourceFiles
9
- } from "./chunk-CUDD35TW.js";
9
+ } from "./chunk-K6WIBVMK.js";
10
10
  import {
11
11
  detectFileRole
12
- } from "./chunk-X35S7HSB.js";
12
+ } from "./chunk-FOEPIX76.js";
13
13
  import {
14
14
  normalizeMapKey
15
- } from "./chunk-GMROJJRN.js";
15
+ } from "./chunk-CB7PEVOJ.js";
16
16
 
17
17
  // dist/clients/review-graph/query.js
18
18
  function dedupe(items) {
@@ -12,21 +12,19 @@ import {
12
12
  isStartupScanVerdictFresh,
13
13
  resolveStartupScanContext,
14
14
  resolveStartupScanContextAsync
15
- } from "./chunk-OY7WZI7Q.js";
16
- import "./chunk-HXFUTMX2.js";
17
- import "./chunk-O2ARHQKF.js";
18
- import "./chunk-WMDUT4KH.js";
15
+ } from "./chunk-Q2VCKC3X.js";
16
+ import "./chunk-BGLS5SDN.js";
17
+ import "./chunk-IL6PIV33.js";
18
+ import "./chunk-H65TYP6V.js";
19
19
  import "./chunk-QYF5S6P6.js";
20
- import "./chunk-X35S7HSB.js";
21
- import "./chunk-SQC7K3SP.js";
22
- import "./chunk-JE6HKLC7.js";
23
- import "./chunk-2453RRJ2.js";
24
- import "./chunk-WQV6BI4Q.js";
20
+ import "./chunk-FOEPIX76.js";
21
+ import "./chunk-NL5LSKVD.js";
22
+ import "./chunk-7WJ55KBN.js";
23
+ import "./chunk-3FRI5H4T.js";
25
24
  import "./chunk-S26LC76R.js";
26
- import "./chunk-565VRUP4.js";
27
- import "./chunk-VLQ7UKZH.js";
25
+ import "./chunk-VCRVNLE7.js";
28
26
  import "./chunk-LJDODBBZ.js";
29
- import "./chunk-GMROJJRN.js";
27
+ import "./chunk-CB7PEVOJ.js";
30
28
  import "./chunk-NXL4FFQQ.js";
31
29
  export {
32
30
  MAX_STARTUP_SCAN_ENTRIES,
@@ -0,0 +1,88 @@
1
+ import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
+ import {
3
+ _getWarmWordIndexCacheStateForTests,
4
+ _resetWarmWordIndexCacheForTests,
5
+ acquireWarmWordIndex,
6
+ analyzeFile,
7
+ summarizeWarningTiers
8
+ } from "./chunk-V7F7JHS5.js";
9
+ import "./chunk-GMC4ZGYR.js";
10
+ import "./chunk-UY745U35.js";
11
+ import "./chunk-HSYFLOZY.js";
12
+ import "./chunk-QHOTTC4A.js";
13
+ import "./chunk-OPFNQBS5.js";
14
+ import "./chunk-SJQUWQR6.js";
15
+ import "./chunk-VGTBLTPN.js";
16
+ import "./chunk-4ITEFRDH.js";
17
+ import "./chunk-W4CUK5G6.js";
18
+ import "./chunk-QSCZAP24.js";
19
+ import "./chunk-KDCIG23C.js";
20
+ import "./chunk-S3WFVG5P.js";
21
+ import "./chunk-HILZE4BQ.js";
22
+ import "./chunk-Y3EHLUPL.js";
23
+ import "./chunk-2ADRLTM2.js";
24
+ import "./chunk-ZD4KVFXI.js";
25
+ import "./chunk-GTTMQ6XB.js";
26
+ import "./chunk-2LVJQU3I.js";
27
+ import "./chunk-3MED75HT.js";
28
+ import "./chunk-PKLB2XJL.js";
29
+ import "./chunk-6MDM5MQT.js";
30
+ import "./chunk-FCQSZQAT.js";
31
+ import "./chunk-XIMYZ3JA.js";
32
+ import "./chunk-XPGH5O74.js";
33
+ import "./chunk-NE4EFHJX.js";
34
+ import "./chunk-YT2VR4SL.js";
35
+ import "./chunk-LT62P654.js";
36
+ import "./chunk-BRESRQBE.js";
37
+ import "./chunk-XVB3Q2PG.js";
38
+ import "./chunk-5W3R6LFT.js";
39
+ import "./chunk-QL37SGTS.js";
40
+ import "./chunk-K6WIBVMK.js";
41
+ import "./chunk-ACRJ2GZ5.js";
42
+ import "./chunk-WS3UFJOU.js";
43
+ import "./chunk-CTB5BAJI.js";
44
+ import "./chunk-Z54ZSOBZ.js";
45
+ import "./chunk-GUGKKGG7.js";
46
+ import "./chunk-QGITU23N.js";
47
+ import "./chunk-OTSTS7L2.js";
48
+ import "./chunk-6HWVI6MI.js";
49
+ import "./chunk-SG2JQ2YP.js";
50
+ import "./chunk-CKEQFGLT.js";
51
+ import "./chunk-NBM7PNBP.js";
52
+ import "./chunk-BGLS5SDN.js";
53
+ import "./chunk-YF4G5NN5.js";
54
+ import "./chunk-W7TY6HYX.js";
55
+ import "./chunk-WAA63ZJV.js";
56
+ import "./chunk-2BEMIWEW.js";
57
+ import "./chunk-IJYGIDF4.js";
58
+ import "./chunk-AON2QIJF.js";
59
+ import "./chunk-TLWFZ66Y.js";
60
+ import "./chunk-KSTQ4VXT.js";
61
+ import "./chunk-VPFRU5IG.js";
62
+ import "./chunk-UYXV5NIS.js";
63
+ import "./chunk-NPNFGYLV.js";
64
+ import "./chunk-TJQSYX3J.js";
65
+ import "./chunk-7JX3RNG4.js";
66
+ import "./chunk-IDCTDKIA.js";
67
+ import "./chunk-IL6PIV33.js";
68
+ import "./chunk-H65TYP6V.js";
69
+ import "./chunk-AWQWXSW4.js";
70
+ import "./chunk-QYF5S6P6.js";
71
+ import "./chunk-CZCAZVTD.js";
72
+ import "./chunk-FOEPIX76.js";
73
+ import "./chunk-NL5LSKVD.js";
74
+ import "./chunk-7WJ55KBN.js";
75
+ import "./chunk-3FRI5H4T.js";
76
+ import "./chunk-S26LC76R.js";
77
+ import "./chunk-VCRVNLE7.js";
78
+ import "./chunk-LJDODBBZ.js";
79
+ import "./chunk-A5TEJZGJ.js";
80
+ import "./chunk-CB7PEVOJ.js";
81
+ import "./chunk-NXL4FFQQ.js";
82
+ export {
83
+ _getWarmWordIndexCacheStateForTests,
84
+ _resetWarmWordIndexCacheForTests,
85
+ acquireWarmWordIndex,
86
+ analyzeFile,
87
+ summarizeWarningTiers
88
+ };