pi-lens 4.4.8 → 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.
Files changed (163) hide show
  1. package/CHANGELOG-USER.md +31 -0
  2. package/CHANGELOG.md +178 -0
  3. package/README.md +2 -1
  4. package/config/dependency-cruiser-eager-allowlist.json +1 -1
  5. package/dist/{chunk-3O5EII3W.js → chunk-2VZ3VN3N.js} +2 -2
  6. package/dist/{chunk-SDFKOLSF.js → chunk-3HTZDY3C.js} +8 -6
  7. package/dist/{chunk-A5GRLYPZ.js → chunk-3NPWO5UO.js} +7 -13
  8. package/dist/{chunk-AGGUWKRK.js → chunk-47UCC4MM.js} +1 -1
  9. package/dist/chunk-4ENEJHF4.js +198 -0
  10. package/dist/{chunk-WXUDRAG6.js → chunk-5GEYJJHG.js} +10 -12
  11. package/dist/{chunk-HHR7WGCI.js → chunk-5YSEQHJN.js} +3 -3
  12. package/dist/{chunk-L3CLUGDY.js → chunk-6GPB3JLL.js} +3 -3
  13. package/dist/{chunk-5F3XF3SX.js → chunk-7R5GZIA6.js} +6 -6
  14. package/dist/{chunk-CUDD35TW.js → chunk-7UTSNTWM.js} +4 -4
  15. package/dist/{chunk-DYRZGUMA.js → chunk-7YTRG6YW.js} +2 -2
  16. package/dist/{chunk-JZRP4DGP.js → chunk-AACN5GNE.js} +2 -2
  17. package/dist/{chunk-7ANZ7XDD.js → chunk-ACRJ2GZ5.js} +2 -2
  18. package/dist/{chunk-6FIRFP6A.js → chunk-C3YRO3EU.js} +10 -12
  19. package/dist/{chunk-GMROJJRN.js → chunk-CB7PEVOJ.js} +9 -1
  20. package/dist/{chunk-BBET6HD6.js → chunk-CDFJF5YD.js} +1 -1
  21. package/dist/{chunk-NSPVR3FN.js → chunk-CJS6WE66.js} +17 -19
  22. package/dist/{chunk-6YUNI7B5.js → chunk-CM6BDY4E.js} +14 -60
  23. package/dist/{chunk-G5GV2Q7K.js → chunk-CZCAZVTD.js} +16 -2
  24. package/dist/chunk-DGKFWQK4.js +23 -0
  25. package/dist/{chunk-VOP4PJKA.js → chunk-E65WJVI5.js} +7 -9
  26. package/dist/{chunk-TV6RXRYH.js → chunk-EKNYSXFB.js} +8 -10
  27. package/dist/{chunk-4LL2VRNY.js → chunk-EY6LY2HO.js} +16 -18
  28. package/dist/{chunk-MC6VB2E5.js → chunk-F6BEQWAK.js} +17 -5
  29. package/dist/{chunk-R2QQC33W.js → chunk-FGNSESAC.js} +12 -14
  30. package/dist/{chunk-OC7VWJBZ.js → chunk-FRUBVFXV.js} +35 -37
  31. package/dist/{chunk-7CGIDRIK.js → chunk-G22UNQID.js} +14 -16
  32. package/dist/{chunk-L4NEVZ4T.js → chunk-GQTQUNCG.js} +25 -27
  33. package/dist/{chunk-ZKLTNLAW.js → chunk-H3BVMK47.js} +6 -6
  34. package/dist/chunk-H6FLQ5NW.js +28 -0
  35. package/dist/{chunk-2ZE3AUJQ.js → chunk-HEA3EM23.js} +13 -15
  36. package/dist/{chunk-CZL44WFN.js → chunk-HSOBIN22.js} +2 -2
  37. package/dist/{chunk-PKSUMEPT.js → chunk-HYSKJMZK.js} +3 -3
  38. package/dist/{chunk-VN3L2JWZ.js → chunk-IICERRFF.js} +5 -5
  39. package/dist/{chunk-O4N5BQ3T.js → chunk-IILEH3ZC.js} +8 -10
  40. package/dist/{chunk-WC6WRNQT.js → chunk-J3Q2NYJR.js} +2 -2
  41. package/dist/{chunk-SFLHSL5R.js → chunk-JUZ67QZQ.js} +18 -7
  42. package/dist/chunk-KR5VGMVT.js +25 -0
  43. package/dist/{chunk-UHHLR2VY.js → chunk-KV6GQOGN.js} +38 -41
  44. package/dist/{chunk-HUAM7QG3.js → chunk-KXMJLOZF.js} +25 -23
  45. package/dist/{chunk-BUZIQDFS.js → chunk-L4Y3ROKQ.js} +3 -3
  46. package/dist/{chunk-JBP7KESM.js → chunk-L6WBJGQS.js} +1 -1
  47. package/dist/{chunk-35WKJWO5.js → chunk-L7O774U7.js} +14 -14
  48. package/dist/{chunk-BOPDQ7AZ.js → chunk-LAHHGNAY.js} +19 -21
  49. package/dist/{chunk-RGGH6M34.js → chunk-LT62P654.js} +1 -1
  50. package/dist/{chunk-5T5A6YAJ.js → chunk-LWOM6LVS.js} +33 -34
  51. package/dist/{chunk-JYLOYTZD.js → chunk-MKPDIAZH.js} +5 -1
  52. package/dist/{chunk-CM73PPGD.js → chunk-MN635QYA.js} +3 -4
  53. package/dist/{chunk-BQG2QFVO.js → chunk-MQ4PPCJB.js} +21 -29
  54. package/dist/{chunk-HXFUTMX2.js → chunk-MRLH4MYU.js} +2 -2
  55. package/dist/{chunk-XOMGO63G.js → chunk-N56BNAA6.js} +19 -21
  56. package/dist/{chunk-7MAD5ZAY.js → chunk-N5CEGQPG.js} +14 -16
  57. package/dist/{chunk-ZFORSIED.js → chunk-NCLO6E6N.js} +13 -33
  58. package/dist/{chunk-SQC7K3SP.js → chunk-NL5LSKVD.js} +2 -2
  59. package/dist/{chunk-I22THIHI.js → chunk-NMUSOZ2D.js} +10 -12
  60. package/dist/{chunk-4NBWFYWW.js → chunk-NOWH2VA2.js} +8 -33
  61. package/dist/{chunk-NM2NWH55.js → chunk-NUSXS6YB.js} +6 -5
  62. package/dist/{chunk-OZWXLJMX.js → chunk-OSEKJEUU.js} +2 -2
  63. package/dist/{chunk-2BKUFQKR.js → chunk-OUYAUXAT.js} +405 -181
  64. package/dist/{chunk-JPRDTY5S.js → chunk-PBZNYHMM.js} +8 -10
  65. package/dist/{chunk-JE6HKLC7.js → chunk-PIIUNJIT.js} +2 -4
  66. package/dist/{chunk-ZZDIOAAJ.js → chunk-PRHYIA6X.js} +6 -6
  67. package/dist/{chunk-4W52ZKZX.js → chunk-PXQ45SGD.js} +2 -2
  68. package/dist/chunk-Q6JQKWPK.js +25 -0
  69. package/dist/{chunk-PIQQM32Y.js → chunk-QB7T2PHK.js} +2 -2
  70. package/dist/{chunk-HKIL6DCL.js → chunk-QGITU23N.js} +1 -1
  71. package/dist/chunk-QJJKOHLH.js +57 -0
  72. package/dist/{chunk-6LJOJ6EO.js → chunk-QP33NKYC.js} +14 -16
  73. package/dist/{chunk-DIWK3LBC.js → chunk-QVBOXT3L.js} +8 -10
  74. package/dist/{chunk-IYVYZQRL.js → chunk-RNJFRXEN.js} +5 -7
  75. package/dist/{chunk-G6JKM4O7.js → chunk-RNXOWDM6.js} +10 -10
  76. package/dist/{chunk-5RNB4HVK.js → chunk-RTFMDIKV.js} +1 -1
  77. package/dist/{chunk-XWIME22V.js → chunk-SIQHOB6P.js} +11 -13
  78. package/dist/{chunk-T2S3FNNJ.js → chunk-SLSMJPEF.js} +41 -42
  79. package/dist/chunk-T5QSLSMM.js +50 -0
  80. package/dist/chunk-TGQDAG4B.js +88 -0
  81. package/dist/{chunk-6GMGEKQN.js → chunk-THYHUIDR.js} +39 -12
  82. package/dist/{chunk-WMDUT4KH.js → chunk-TMNUTMT5.js} +72 -89
  83. package/dist/{chunk-7TNILKGY.js → chunk-TOE2RRCS.js} +1 -1
  84. package/dist/chunk-TYHPVE5H.js +25 -0
  85. package/dist/chunk-UAKO2M6B.js +73 -0
  86. package/dist/chunk-UC5AXW5Z.js +20 -0
  87. package/dist/chunk-UTJP6WOS.js +28 -0
  88. package/dist/{chunk-FRLAUP2B.js → chunk-UXTQ3QPD.js} +4 -4
  89. package/dist/{chunk-4QG55RRC.js → chunk-V2WDBOLZ.js} +10 -12
  90. package/dist/{chunk-FHEV6T4L.js → chunk-V67D6TMU.js} +8 -10
  91. package/dist/{chunk-VLQ7UKZH.js → chunk-VCRVNLE7.js} +135 -2
  92. package/dist/{chunk-KZ4ALBCH.js → chunk-VO4JFPTV.js} +2 -2
  93. package/dist/{chunk-GIRBSBGL.js → chunk-VWLSU3XV.js} +3 -3
  94. package/dist/{chunk-2453RRJ2.js → chunk-W5E72HJA.js} +59 -22
  95. package/dist/{chunk-VPLBLWFO.js → chunk-W7TY6HYX.js} +1 -1
  96. package/dist/{chunk-SP4TFY5F.js → chunk-WSSLVMDA.js} +11 -13
  97. package/dist/{chunk-PPKECBPP.js → chunk-WTB4GKMH.js} +10 -1
  98. package/dist/{chunk-X35S7HSB.js → chunk-X5BJ3G2P.js} +41 -30
  99. package/dist/{chunk-X66YJ2SS.js → chunk-XKFO2SZV.js} +33 -34
  100. package/dist/{chunk-OWTG6UMO.js → chunk-XLAI7UYY.js} +75 -22
  101. package/dist/{chunk-4B2YFN4U.js → chunk-XO756WE5.js} +45 -33
  102. package/dist/{chunk-VOXTCULR.js → chunk-XVB3Q2PG.js} +2 -4
  103. package/dist/{chunk-XYLC35E4.js → chunk-YOXCCJDF.js} +517 -308
  104. package/dist/{chunk-O2ARHQKF.js → chunk-ZCQBNPRH.js} +2 -2
  105. package/dist/chunk-ZD4KVFXI.js +234 -0
  106. package/dist/{chunk-LSFXZLPW.js → chunk-ZDMFGACN.js} +184 -235
  107. package/dist/{chunk-4BKU7PV3.js → chunk-ZMMHHXSW.js} +1 -1
  108. package/dist/{chunk-OY7WZI7Q.js → chunk-ZPM7ZIFL.js} +6 -6
  109. package/dist/{chunk-R4QWJQ2H.js → chunk-ZVCDHYWZ.js} +9 -11
  110. package/dist/{chunk-RZG472YW.js → chunk-ZZN74OGD.js} +83 -46
  111. package/dist/{chunk-BHWW6FAX.js → chunk-ZZSJAR76.js} +37 -19
  112. package/dist/index.js +4910 -4218
  113. package/dist/mcp/analyze-cli.js +12 -17
  114. package/dist/mcp/cli.js +41 -42
  115. package/dist/mcp/server.js +1451 -648
  116. package/dist/mcp/worker.js +59 -60
  117. package/dist/probes/installer.js +17 -19
  118. package/docs/agent-tools.md +40 -8
  119. package/docs/analysisall.md +1 -1
  120. package/docs/ci-bot-pr-checks.md +7 -5
  121. package/docs/configuration.md +51 -9
  122. package/docs/defect-shapes.md +52 -3
  123. package/docs/environment-variables.md +18 -1
  124. package/docs/features.md +12 -5
  125. package/docs/globalconfig.md +11 -3
  126. package/docs/invariants/lsp-trust-exec.md +9 -2
  127. package/docs/invariants/session-telemetry.md +2 -2
  128. package/docs/language-coverage.md +1 -0
  129. package/docs/lsp-capability-matrix.md +57 -35
  130. package/docs/lsp-idle-eviction.md +4 -1
  131. package/docs/merge-queue-rollout.md +10 -8
  132. package/docs/module-report-read-symbol.md +34 -23
  133. package/docs/pi-lens-fixer.md +11 -1
  134. package/docs/pi-lens-investigator.md +3 -0
  135. package/docs/pi-lens-merge-policy.md +15 -7
  136. package/docs/pi-lens-reviewer.md +1 -1
  137. package/docs/pi-lens-subagent.md +13 -0
  138. package/docs/public-api-stability.md +39 -5
  139. package/docs/release-qa-baseline.md +7 -4
  140. package/docs/schema/pi-lens-config-v1.json +11 -2
  141. package/docs/servercapabilities.md +3 -1
  142. package/docs/settings.md +2 -2
  143. package/docs/word-index.md +3 -2
  144. package/package.json +8 -3
  145. package/rules/ast-grep-rules/rules/no-sql-in-code-execute-js.yml +1 -2
  146. package/rules/ast-grep-rules/rules/no-sql-in-code-execute.yml +1 -2
  147. package/scripts/download-grammars.js +3 -2
  148. package/skills/pi-lens-lsp-navigation/SKILL.md +5 -1
  149. package/dist/chunk-2TS4GLOJ.js +0 -31
  150. package/dist/chunk-3JAHQBSY.js +0 -27
  151. package/dist/chunk-447YZL4S.js +0 -25
  152. package/dist/chunk-565VRUP4.js +0 -136
  153. package/dist/chunk-57X2CDRX.js +0 -49
  154. package/dist/chunk-GGYOZWHW.js +0 -27
  155. package/dist/chunk-IE5D3RA5.js +0 -58
  156. package/dist/chunk-LPYTPNOJ.js +0 -22
  157. package/dist/chunk-OFNMHPBT.js +0 -89
  158. package/dist/chunk-U3AS2FR6.js +0 -106
  159. package/dist/chunk-W3BGKBBK.js +0 -27
  160. package/dist/chunk-WQV6BI4Q.js +0 -48
  161. package/dist/chunk-YHGYAEFH.js +0 -443
  162. package/dist/chunk-ZONZ6YY3.js +0 -74
  163. package/dist/chunk-ZSM35JF4.js +0 -30
@@ -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-ZDMFGACN.js";
9
+ import "./chunk-F6BEQWAK.js";
10
+ import "./chunk-47UCC4MM.js";
11
+ import "./chunk-HYSKJMZK.js";
12
+ import "./chunk-2VZ3VN3N.js";
13
+ import "./chunk-H3BVMK47.js";
14
+ import "./chunk-VO4JFPTV.js";
15
+ import "./chunk-PBZNYHMM.js";
16
+ import "./chunk-ZZN74OGD.js";
17
+ import "./chunk-PXQ45SGD.js";
18
+ import "./chunk-L4Y3ROKQ.js";
19
+ import "./chunk-QVBOXT3L.js";
20
+ import "./chunk-NCLO6E6N.js";
21
+ import "./chunk-7R5GZIA6.js";
22
+ import "./chunk-UXTQ3QPD.js";
23
+ import "./chunk-CM6BDY4E.js";
24
+ import "./chunk-ZD4KVFXI.js";
25
+ import "./chunk-TOE2RRCS.js";
26
+ import "./chunk-XO756WE5.js";
27
+ import "./chunk-3MED75HT.js";
28
+ import "./chunk-PKLB2XJL.js";
29
+ import "./chunk-OUYAUXAT.js";
30
+ import "./chunk-VWLSU3XV.js";
31
+ import "./chunk-XIMYZ3JA.js";
32
+ import "./chunk-YOXCCJDF.js";
33
+ import "./chunk-7YTRG6YW.js";
34
+ import "./chunk-V67D6TMU.js";
35
+ import "./chunk-LT62P654.js";
36
+ import "./chunk-PRHYIA6X.js";
37
+ import "./chunk-XVB3Q2PG.js";
38
+ import "./chunk-5W3R6LFT.js";
39
+ import "./chunk-L7O774U7.js";
40
+ import "./chunk-7UTSNTWM.js";
41
+ import "./chunk-ACRJ2GZ5.js";
42
+ import "./chunk-J3Q2NYJR.js";
43
+ import "./chunk-ZZSJAR76.js";
44
+ import "./chunk-Z54ZSOBZ.js";
45
+ import "./chunk-5YSEQHJN.js";
46
+ import "./chunk-QGITU23N.js";
47
+ import "./chunk-WTB4GKMH.js";
48
+ import "./chunk-6HWVI6MI.js";
49
+ import "./chunk-RTFMDIKV.js";
50
+ import "./chunk-CKEQFGLT.js";
51
+ import "./chunk-KXMJLOZF.js";
52
+ import "./chunk-MRLH4MYU.js";
53
+ import "./chunk-HSOBIN22.js";
54
+ import "./chunk-W7TY6HYX.js";
55
+ import "./chunk-MKPDIAZH.js";
56
+ import "./chunk-2BEMIWEW.js";
57
+ import "./chunk-IJYGIDF4.js";
58
+ import "./chunk-MQ4PPCJB.js";
59
+ import "./chunk-RNJFRXEN.js";
60
+ import "./chunk-E65WJVI5.js";
61
+ import "./chunk-L6WBJGQS.js";
62
+ import "./chunk-UYXV5NIS.js";
63
+ import "./chunk-AACN5GNE.js";
64
+ import "./chunk-3HTZDY3C.js";
65
+ import "./chunk-CDFJF5YD.js";
66
+ import "./chunk-RNXOWDM6.js";
67
+ import "./chunk-ZCQBNPRH.js";
68
+ import "./chunk-TMNUTMT5.js";
69
+ import "./chunk-AWQWXSW4.js";
70
+ import "./chunk-QYF5S6P6.js";
71
+ import "./chunk-CZCAZVTD.js";
72
+ import "./chunk-X5BJ3G2P.js";
73
+ import "./chunk-NL5LSKVD.js";
74
+ import "./chunk-PIIUNJIT.js";
75
+ import "./chunk-W5E72HJA.js";
76
+ import "./chunk-S26LC76R.js";
77
+ import "./chunk-VCRVNLE7.js";
78
+ import "./chunk-LJDODBBZ.js";
79
+ import "./chunk-ZMMHHXSW.js";
80
+ import "./chunk-CB7PEVOJ.js";
81
+ import "./chunk-NXL4FFQQ.js";
82
+ export {
83
+ _getWarmWordIndexCacheStateForTests,
84
+ _resetWarmWordIndexCacheForTests,
85
+ acquireWarmWordIndex,
86
+ analyzeFile,
87
+ summarizeWarningTiers
88
+ };
@@ -2,21 +2,22 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  hashFileBytes,
4
4
  resolveRunnerPath
5
- } from "./chunk-VPLBLWFO.js";
5
+ } from "./chunk-W7TY6HYX.js";
6
6
  import {
7
7
  recordDegradationOnce,
8
+ resolveLensToolName,
8
9
  translateGuidanceToolNames
9
- } from "./chunk-2453RRJ2.js";
10
+ } from "./chunk-W5E72HJA.js";
10
11
  import {
11
12
  freshnessFromMtime
12
13
  } from "./chunk-S26LC76R.js";
13
14
  import {
14
15
  logLatency
15
- } from "./chunk-565VRUP4.js";
16
+ } from "./chunk-VCRVNLE7.js";
16
17
  import {
17
18
  normalizeMapKey,
18
19
  toProjectRelativePath
19
- } from "./chunk-GMROJJRN.js";
20
+ } from "./chunk-CB7PEVOJ.js";
20
21
 
21
22
  // dist/clients/advisory-provenance.js
22
23
  import * as fs from "node:fs";
@@ -403,6 +404,16 @@ function provenanceStamp(provenance) {
403
404
 
404
405
  // dist/clients/runtime-context.js
405
406
  var AUTOMATION_FRAMING = "[pi-lens automated check \u2014 not a user request] ";
407
+ var BLOCKER_REPEAT_HEADING = "Still unresolved (already reported on an earlier turn, not new):";
408
+ function blockerRepeatContent(blockers) {
409
+ return `${BLOCKER_REPEAT_HEADING}
410
+
411
+ ${blockers}`;
412
+ }
413
+ function blockerRepeatPointer() {
414
+ const tool = resolveLensToolName("lens_diagnostics", "pi");
415
+ return `Every unresolved \u{1F534} blocker: ${tool} {source: "session", mode: "all", severity: "error"}`;
416
+ }
406
417
  var MAX_LOGGED_REASONS = 8;
407
418
  function boundedReasons(reasons) {
408
419
  if (reasons.length <= MAX_LOGGED_REASONS)
@@ -475,27 +486,42 @@ function peekTurnEndFindings(cacheManager, cwd, runtime, logDelivery = false, se
475
486
  ]
476
487
  };
477
488
  }
478
- function consumeTurnEndFindings(cacheManager, cwd, runtime, sessionId, address) {
489
+ function consumeTurnEndFindings(cacheManager, cwd, runtime, sessionId, address, repeat = {
490
+ atPromptTail: true,
491
+ blockersLive: true
492
+ }) {
479
493
  const findings = cacheManager.readCache("turn-end-findings", cwd);
480
494
  if (!findings?.data?.content || findings.data.consumed === true)
481
495
  return;
482
496
  if (addressedElsewhere(findings.data, sessionId, address) !== void 0)
483
497
  return;
498
+ if (findings.data.repeat === true && !repeat.atPromptTail)
499
+ return;
484
500
  const validation = validateAdvisoryProvenance(findings.data, cwd, runtime);
485
501
  logProvenanceDecision(validation, findings.data.provenance, "turn-end", cwd);
486
- if (findings.data.hasBlockers === true && typeof findings.data.sessionId === "string") {
487
- cacheManager.writeCache("turn-end-findings", { ...findings.data, consumed: true }, cwd);
488
- } else {
489
- cacheManager.clearCache("turn-end-findings", cwd);
490
- }
502
+ settleStagedTurnEnd(cacheManager, cwd, findings.data);
491
503
  if (validation.allFilesDeleted)
492
504
  return;
505
+ if (findings.data.repeat === true && !repeat.blockersLive)
506
+ return;
493
507
  return {
494
508
  messages: [
495
- turnEndMessage(findings.data.content, validation.status === "current", findings.data.provenance)
496
- ]
509
+ turnEndMessage(findings.data.repeat === true ? `${findings.data.content}
510
+
511
+ ${blockerRepeatPointer()}` : findings.data.content, validation.status === "current", findings.data.provenance)
512
+ ],
513
+ ...findings.data.repeat === true && findings.data.content.startsWith(BLOCKER_REPEAT_HEADING) ? {
514
+ repeatBody: findings.data.content.slice(BLOCKER_REPEAT_HEADING.length + 2)
515
+ } : {}
497
516
  };
498
517
  }
518
+ function settleStagedTurnEnd(cacheManager, cwd, data) {
519
+ if (data.hasBlockers === true && typeof data.sessionId === "string") {
520
+ cacheManager.writeCache("turn-end-findings", { ...data, consumed: true }, cwd);
521
+ } else {
522
+ cacheManager.clearCache("turn-end-findings", cwd);
523
+ }
524
+ }
499
525
  function peekTestFindings(cacheManager, cwd, runtime, logDelivery = false) {
500
526
  const findings = cacheManager.readCache("test-runner-findings", cwd);
501
527
  if (!findings?.data?.content)
@@ -585,6 +611,7 @@ export {
585
611
  parseScannedAtMs,
586
612
  gateFindingsByPathFreshness,
587
613
  AUTOMATION_FRAMING,
614
+ blockerRepeatContent,
588
615
  peekTurnEndFindings,
589
616
  consumeTurnEndFindings,
590
617
  peekTestFindings,
@@ -13,7 +13,7 @@ import {
13
13
  reportPiLensConfigRecords,
14
14
  resolveOnePiLensConfigDocument,
15
15
  warnIgnoredConfigOnce
16
- } from "./chunk-X35S7HSB.js";
16
+ } from "./chunk-X5BJ3G2P.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-PIIUNJIT.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-W5E72HJA.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
  }
@@ -2277,7 +2278,7 @@ function loadPiLensGlobalConfig(configPath) {
2277
2278
  try {
2278
2279
  const parsed = outcome.value;
2279
2280
  if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
2280
- note("top-level value must be an object");
2281
+ note("top-level value must be an object", "PILENS_CFG_0001");
2281
2282
  return void 0;
2282
2283
  }
2283
2284
  const document = {
@@ -2298,7 +2299,7 @@ function loadPiLensGlobalConfig(configPath) {
2298
2299
  if (toolsSection && "lazy" in toolsSection) {
2299
2300
  const lazy = readLazyToolsSetting(raw);
2300
2301
  if (lazy === void 0)
2301
- warnInvalid('tools.lazy must be "auto", true, or false');
2302
+ warnInvalid('tools.lazy must be "auto", true, or false', "PILENS_CFG_0005");
2302
2303
  else
2303
2304
  config.tools = { ...config.tools, lazy };
2304
2305
  }
@@ -2318,12 +2319,12 @@ function loadPiLensGlobalConfig(configPath) {
2318
2319
  if (mode === "quick" || mode === "full" || mode === "minimal")
2319
2320
  startupConfig.mode = mode;
2320
2321
  else if ("mode" in startup)
2321
- warnInvalid('startup.mode must be "quick", "full", or "minimal"');
2322
+ warnInvalid('startup.mode must be "quick", "full", or "minimal"', "PILENS_CFG_0005");
2322
2323
  if (scans) {
2323
2324
  if (typeof scans.enabled === "boolean") {
2324
2325
  startupConfig.scans = { enabled: scans.enabled };
2325
2326
  } else if ("enabled" in scans)
2326
- warnInvalid("startup.scans.enabled must be a boolean");
2327
+ warnInvalid("startup.scans.enabled must be a boolean", "PILENS_CFG_0005");
2327
2328
  }
2328
2329
  if (startupConfig.mode !== void 0 || startupConfig.scans !== void 0)
2329
2330
  config.startup = startupConfig;
@@ -2335,7 +2336,7 @@ function loadPiLensGlobalConfig(configPath) {
2335
2336
  config.dispatch = { runnerTimeoutFloorMs: floor };
2336
2337
  } else {
2337
2338
  if ("runnerTimeoutFloorMs" in dispatch) {
2338
- warnInvalid("dispatch.runnerTimeoutFloorMs must be a positive finite number");
2339
+ warnInvalid("dispatch.runnerTimeoutFloorMs must be a positive finite number", "PILENS_CFG_0005");
2339
2340
  }
2340
2341
  config.dispatch = { runnerTimeoutFloorMs: void 0 };
2341
2342
  }
@@ -2348,7 +2349,7 @@ function loadPiLensGlobalConfig(configPath) {
2348
2349
  warnings.autoFix ??= {};
2349
2350
  warnings.autoFix.maxFixes = Math.floor(autoFix.maxFixes);
2350
2351
  } else {
2351
- warnInvalid("actionableWarnings.autoFix.maxFixes must be a non-negative finite number");
2352
+ warnInvalid("actionableWarnings.autoFix.maxFixes must be a non-negative finite number", "PILENS_CFG_0005");
2352
2353
  }
2353
2354
  }
2354
2355
  const contextInjection = asConfigObject(raw.contextInjection);
@@ -2357,7 +2358,7 @@ function loadPiLensGlobalConfig(configPath) {
2357
2358
  config.contextInjection ??= {};
2358
2359
  config.contextInjection.requirePreExistingFixes = contextInjection.requirePreExistingFixes;
2359
2360
  } else {
2360
- warnInvalid("contextInjection.requirePreExistingFixes must be a boolean");
2361
+ warnInvalid("contextInjection.requirePreExistingFixes must be a boolean", "PILENS_CFG_0005");
2361
2362
  }
2362
2363
  }
2363
2364
  const widget = asConfigObject(raw.widget);
@@ -2366,7 +2367,7 @@ function loadPiLensGlobalConfig(configPath) {
2366
2367
  config.widget = { visible: widget.visible };
2367
2368
  } else {
2368
2369
  if ("visible" in widget) {
2369
- warnInvalid("widget.visible must be a boolean");
2370
+ warnInvalid("widget.visible must be a boolean", "PILENS_CFG_0005");
2370
2371
  }
2371
2372
  config.widget = { visible: void 0 };
2372
2373
  }
@@ -2379,7 +2380,7 @@ function loadPiLensGlobalConfig(configPath) {
2379
2380
  formatSection.mode = format.mode;
2380
2381
  } else {
2381
2382
  if ("mode" in format) {
2382
- warnInvalid('format.mode must be "immediate" or "deferred"');
2383
+ warnInvalid('format.mode must be "immediate" or "deferred"', "PILENS_CFG_0005");
2383
2384
  }
2384
2385
  formatSection.mode = void 0;
2385
2386
  }
@@ -2391,7 +2392,7 @@ function loadPiLensGlobalConfig(configPath) {
2391
2392
  ]);
2392
2393
  for (const key of Object.keys(raw)) {
2393
2394
  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`);
2395
+ 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
2396
  }
2396
2397
  }
2397
2398
  return config;
@@ -3977,17 +3978,17 @@ function rootsOverlap(a, b) {
3977
3978
  const [shorter, longer] = a.length < b.length ? [a, b] : [b, a];
3978
3979
  return longer.startsWith(shorter.endsWith("/") ? shorter : `${shorter}/`);
3979
3980
  }
3980
- function selectLivePeerInstances(entries, root, now = Date.now(), isPidAlive2 = realIsPidAlive, match = "exact") {
3981
+ function selectLivePeerInstances(entries, root, now = Date.now(), isPidAlive = realIsPidAlive, match = "exact") {
3981
3982
  const normalizedRoot = normalizeFilePath(root);
3982
3983
  return entries.filter((entry) => entry.pid !== process.pid && // #2130: a host serves a SET of roots. Matching only
3983
3984
  // `entry.projectRoot` made every secondary root invisible, so a peer
3984
3985
  // working in the same checkout under its second root read as "no
3985
3986
  // peer" — and the shared-checkout guard then allowed the destructive
3986
3987
  // 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));
3988
+ 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
3989
  }
3989
- function computeResourceFootprint(instances, isPidAlive2) {
3990
- const liveInstances = isPidAlive2 ? instances.filter((instance) => isPidAlive2(instance.pid)) : instances;
3990
+ function computeResourceFootprint(instances, isPidAlive) {
3991
+ const liveInstances = isPidAlive ? instances.filter((instance) => isPidAlive(instance.pid)) : instances;
3991
3992
  const perInstance = liveInstances.map((instance) => {
3992
3993
  const lspChildRssBytes = instance.lspChildren.reduce((sum, child) => sum + (child.rssBytes ?? 0), 0);
3993
3994
  const lspChildCpuPercent = instance.lspChildren.reduce((sum, child) => sum + (child.cpuPercent ?? 0), 0);
@@ -4019,10 +4020,10 @@ function computeResourceFootprint(instances, isPidAlive2) {
4019
4020
  perInstance
4020
4021
  };
4021
4022
  }
4022
- async function getResourceFootprint(isPidAlive2 = realIsPidAlive) {
4023
+ async function getResourceFootprint(isPidAlive = realIsPidAlive) {
4023
4024
  const instances = await readInstanceRegistry();
4024
4025
  const namespace = ownPidNamespace();
4025
- const dead = instances.filter((instance) => !isPidAlive2(instance.pid) && instance.lspChildren.length === 0 && isInPidNamespace(instance, namespace)).map((instance) => ({
4026
+ const dead = instances.filter((instance) => !isPidAlive(instance.pid) && instance.lspChildren.length === 0 && isInPidNamespace(instance, namespace)).map((instance) => ({
4026
4027
  pid: instance.pid,
4027
4028
  processStart: instance.processStart,
4028
4029
  pidNamespace: instance.pidNamespace
@@ -4031,7 +4032,7 @@ async function getResourceFootprint(isPidAlive2 = realIsPidAlive) {
4031
4032
  queueRegistryMutation(() => prunePids(dead)).catch(() => {
4032
4033
  });
4033
4034
  }
4034
- return computeResourceFootprint(instances, isPidAlive2);
4035
+ return computeResourceFootprint(instances, isPidAlive);
4035
4036
  }
4036
4037
  async function pruneDeadInstances(dead) {
4037
4038
  const result = await withInstanceRegistryLock(registryPath(), async () => {
@@ -4053,19 +4054,6 @@ async function prunePids(dead) {
4053
4054
  // dist/clients/instance-reaper.js
4054
4055
  var STALE_HEARTBEAT_MS = 6 * 60 * 60 * 1e3;
4055
4056
  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
4057
  var STAGE_PID_PATTERN = /\.stage-(\d+)-/;
4070
4058
  function isStaleStageFile(entry, artifactPrefix) {
4071
4059
  if (!entry.startsWith(artifactPrefix))
@@ -4079,8 +4067,8 @@ var ATOMIC_STAGE_SWEEP_MAX_ENTRIES = 512;
4079
4067
  async function sweepAtomicWriteStages(directories, options = {}) {
4080
4068
  const requestedMax = options.maxEntries ?? ATOMIC_STAGE_SWEEP_MAX_ENTRIES;
4081
4069
  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 });
4070
+ const isPidAlive = options.isPidAlive ?? realIsPidAlive;
4071
+ return sweepOwnStagingFiles(directories, { maxEntries, isPidAlive });
4084
4072
  }
4085
4073
  var KILL_VERIFY_ATTEMPTS = 5;
4086
4074
  var KILL_VERIFY_INTERVAL_MS = 100;
@@ -4123,13 +4111,13 @@ async function killPidTree(pid, options = {}) {
4123
4111
  return await verifyPidGone(pid, options);
4124
4112
  }
4125
4113
  async function verifyPidGone(pid, options = {}) {
4126
- const isPidAlive2 = options.isPidAlive ?? realIsPidAlive;
4114
+ const isPidAlive = options.isPidAlive ?? realIsPidAlive;
4127
4115
  const attempts = Math.max(1, options.verifyAttempts ?? KILL_VERIFY_ATTEMPTS);
4128
4116
  const intervalMs = Math.max(0, options.verifyIntervalMs ?? KILL_VERIFY_INTERVAL_MS);
4129
4117
  for (let attempt = 0; attempt < attempts; attempt++) {
4130
4118
  let alive;
4131
4119
  try {
4132
- alive = isPidAlive2(pid);
4120
+ alive = isPidAlive(pid);
4133
4121
  } catch {
4134
4122
  alive = true;
4135
4123
  }
@@ -5012,16 +5000,26 @@ function resolveWindowsCommandForEnvironment(command, cwd, env) {
5012
5000
  function resolveWindowsCommand(command, cwd, env) {
5013
5001
  return resolveWindowsCommandForEnvironment(command, cwd, env);
5014
5002
  }
5015
- function getSpawnEnvironment(overrides, stripNpmConfig) {
5003
+ function isNpxCommand(command) {
5004
+ const base = command.split(/[\\/]/).pop() ?? command;
5005
+ return /^npx(?:\.(?:cmd|exe|bat))?$/i.test(base);
5006
+ }
5007
+ function getSpawnEnvironment(command, overrides, stripNpmConfig) {
5016
5008
  const ambient = { ...process.env, GIT_OPTIONAL_LOCKS: "0" };
5017
5009
  const merged = process.platform === "win32" ? mergeWindowsEnvironment(ambient, overrides) : { ...ambient, ...overrides };
5018
- if (!stripNpmConfig)
5010
+ const offline = isToolInstallDisabled() && isNpxCommand(command);
5011
+ if (!stripNpmConfig) {
5012
+ if (offline)
5013
+ merged.npm_config_offline = "true";
5019
5014
  return merged;
5015
+ }
5020
5016
  const stripped = {};
5021
5017
  for (const [key, value] of Object.entries(merged)) {
5022
5018
  if (!/^npm_config_/i.test(key))
5023
5019
  stripped[key] = value;
5024
5020
  }
5021
+ if (offline)
5022
+ stripped.npm_config_offline = "true";
5025
5023
  return stripped;
5026
5024
  }
5027
5025
  function isSpawnLookup(command) {
@@ -5325,7 +5323,7 @@ async function safeSpawnAsync(command, args, options) {
5325
5323
  }
5326
5324
  };
5327
5325
  const isWindows2 = process.platform === "win32";
5328
- const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(options?.env, options?.stripNpmConfig));
5326
+ const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(command, options?.env, options?.stripNpmConfig));
5329
5327
  if (!admission.admitted) {
5330
5328
  resolve7(trustRefusalResult(command, admission.executable));
5331
5329
  return;
@@ -5792,15 +5790,6 @@ async function safeSpawnAsync(command, args, options) {
5792
5790
  });
5793
5791
  });
5794
5792
  }
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
5793
  async function isCommandAvailableAsync(command) {
5805
5794
  const finder = process.platform === "win32" ? "where" : "which";
5806
5795
  const result = await safeSpawnAsync(finder, [command], { timeout: 5e3 });
@@ -5814,7 +5803,7 @@ async function findCommandAsync(command) {
5814
5803
  return admittedLookupAnswer(result.stdout);
5815
5804
  }
5816
5805
  function safeSpawn(command, args, options) {
5817
- const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(options?.env, options?.stripNpmConfig));
5806
+ const admission = admitSpawn(command, options?.cwd, getSpawnEnvironment(command, options?.env, options?.stripNpmConfig));
5818
5807
  if (!admission.admitted)
5819
5808
  return trustRefusalResult(command, admission.executable);
5820
5809
  const spawnEnv = admission.env;
@@ -5907,10 +5896,6 @@ function safeSpawn(command, args, options) {
5907
5896
  ...spawnFailure ? { failure: "spawn", spawnFailure } : {}
5908
5897
  };
5909
5898
  }
5910
- function isCommandAvailable(command) {
5911
- const result = safeSpawn(process.platform === "win32" ? "where" : "which", [command], { timeout: 5e3 });
5912
- return result.status === 0;
5913
- }
5914
5899
  function findCommand(command) {
5915
5900
  const finder = process.platform === "win32" ? "where" : "which";
5916
5901
  const result = safeSpawn(finder, [command], { timeout: 5e3 });
@@ -5940,6 +5925,7 @@ export {
5940
5925
  windowsExe,
5941
5926
  OWNER_TAG_ENV,
5942
5927
  ownerTagForChildren,
5928
+ realIsPidAlive,
5943
5929
  isLockContention,
5944
5930
  recordGenerationTakeover,
5945
5931
  recordLegacyLockHeld,
@@ -5962,7 +5948,6 @@ export {
5962
5948
  removeLspChild,
5963
5949
  selectLivePeerInstances,
5964
5950
  getResourceFootprint,
5965
- realIsPidAlive,
5966
5951
  isStaleStageFile,
5967
5952
  sweepAtomicWriteStages,
5968
5953
  sampleProcessTreeCpuPercent,
@@ -5988,11 +5973,9 @@ export {
5988
5973
  resetUtf8ConsoleCodePageStateForTests,
5989
5974
  spawnAbortScope,
5990
5975
  safeSpawnAsync,
5991
- safeSpawnBatch,
5992
5976
  isCommandAvailableAsync,
5993
5977
  findCommandAsync,
5994
5978
  safeSpawn,
5995
- isCommandAvailable,
5996
5979
  findCommand,
5997
5980
  collectUntrackedIgnoredIds,
5998
5981
  collectTrackedFiles,
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  withTreeSitterRoot
4
- } from "./chunk-BHWW6FAX.js";
4
+ } from "./chunk-ZZSJAR76.js";
5
5
 
6
6
  // dist/clients/dispatch/facts/tree-sitter-facts.js
7
7
  var withFactTree = withTreeSitterRoot;
@@ -0,0 +1,25 @@
1
+ import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
+ import {
3
+ GoClient,
4
+ goClient,
5
+ resetGoAvailability
6
+ } from "./chunk-2VZ3VN3N.js";
7
+ import "./chunk-L4Y3ROKQ.js";
8
+ import "./chunk-L6WBJGQS.js";
9
+ import "./chunk-AACN5GNE.js";
10
+ import "./chunk-TMNUTMT5.js";
11
+ import "./chunk-AWQWXSW4.js";
12
+ import "./chunk-X5BJ3G2P.js";
13
+ import "./chunk-NL5LSKVD.js";
14
+ import "./chunk-PIIUNJIT.js";
15
+ import "./chunk-W5E72HJA.js";
16
+ import "./chunk-S26LC76R.js";
17
+ import "./chunk-VCRVNLE7.js";
18
+ import "./chunk-LJDODBBZ.js";
19
+ import "./chunk-CB7PEVOJ.js";
20
+ import "./chunk-NXL4FFQQ.js";
21
+ export {
22
+ GoClient,
23
+ goClient,
24
+ resetGoAvailability
25
+ };