@herbertgao/pi-extensions 2026.11.20 → 2026.11.21

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 (159) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +8 -8
  3. package/THIRD_PARTY_NOTICES.md +2 -2
  4. package/node_modules/@estebanforge/pi-antigravity-bridge/CHANGELOG.md +8 -0
  5. package/node_modules/@estebanforge/pi-antigravity-bridge/README.md +9 -5
  6. package/node_modules/@estebanforge/pi-antigravity-bridge/extensions/index.ts +11 -1
  7. package/node_modules/@estebanforge/pi-antigravity-bridge/package.json +1 -1
  8. package/node_modules/@estebanforge/pi-antigravity-bridge/src/config.ts +71 -13
  9. package/node_modules/@estebanforge/pi-antigravity-bridge/src/provider.ts +148 -47
  10. package/node_modules/@narumitw/pi-btw/CHANGELOG.md +7 -0
  11. package/node_modules/@narumitw/pi-btw/dist/chunks/{main-tree-picker-3PXJARQW.ts → main-tree-picker-WMTVRTR2.ts} +1 -1
  12. package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WMTVRTR2.ts.map +7 -0
  13. package/node_modules/@narumitw/pi-btw/dist/index.ts +1 -1
  14. package/node_modules/@narumitw/pi-btw/docs/core-alignment.md +6 -0
  15. package/node_modules/@narumitw/pi-btw/package.json +5 -5
  16. package/node_modules/@narumitw/pi-btw/src/main-tree-picker.ts +1 -1
  17. package/node_modules/@narumitw/pi-caffeinate/CHANGELOG.md +7 -0
  18. package/node_modules/@narumitw/pi-caffeinate/package.json +3 -3
  19. package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
  20. package/node_modules/pi-lens/CHANGELOG.md +121 -0
  21. package/node_modules/pi-lens/README.md +9 -2
  22. package/node_modules/pi-lens/dist/{chunk-ZVQUYCBU.js → chunk-2ERVW2UF.js} +161 -100
  23. package/node_modules/pi-lens/dist/{chunk-AFSG6YUB.js → chunk-2K7BUOKS.js} +13 -13
  24. package/node_modules/pi-lens/dist/{chunk-BJGWP4UX.js → chunk-3JJ4OAJI.js} +10 -10
  25. package/node_modules/pi-lens/dist/{chunk-GIK6VUCY.js → chunk-3UHGSUVL.js} +1 -1
  26. package/node_modules/pi-lens/dist/{chunk-EKQDQPX6.js → chunk-463WN3VP.js} +1 -1
  27. package/node_modules/pi-lens/dist/{chunk-F7BFIENK.js → chunk-4X3ML2UQ.js} +29 -32
  28. package/node_modules/pi-lens/dist/{chunk-7JMEPY6P.js → chunk-5BI5YP57.js} +10 -10
  29. package/node_modules/pi-lens/dist/{chunk-MKW7ZUTT.js → chunk-5Z4XLUFF.js} +3 -3
  30. package/node_modules/pi-lens/dist/{chunk-NIZKGBOU.js → chunk-62AJH3IN.js} +12 -14
  31. package/node_modules/pi-lens/dist/{chunk-4GLSO2EM.js → chunk-6F34GMP7.js} +12 -12
  32. package/node_modules/pi-lens/dist/{chunk-35UJUF27.js → chunk-6LIUVGOR.js} +13 -3
  33. package/node_modules/pi-lens/dist/{chunk-WJ7GY5WJ.js → chunk-6REF4GCO.js} +1 -1
  34. package/node_modules/pi-lens/dist/{chunk-HFIFEH46.js → chunk-7KRR24GO.js} +3 -3
  35. package/node_modules/pi-lens/dist/{chunk-WAK2AXQQ.js → chunk-7OMOMBEQ.js} +9 -9
  36. package/node_modules/pi-lens/dist/{chunk-S7KUDW73.js → chunk-7ZFXICNN.js} +15 -15
  37. package/node_modules/pi-lens/dist/{chunk-VEF3GFOL.js → chunk-ABKRQVOY.js} +28 -52
  38. package/node_modules/pi-lens/dist/{chunk-Y2LIOCA7.js → chunk-ANSLRJBG.js} +1 -1
  39. package/node_modules/pi-lens/dist/{chunk-ARTCVE6I.js → chunk-AWMFBPGJ.js} +9 -9
  40. package/node_modules/pi-lens/dist/{chunk-H6DNTQ4V.js → chunk-BG7KHGNX.js} +2 -2
  41. package/node_modules/pi-lens/dist/{chunk-FD4LJQ6Y.js → chunk-BK2R2223.js} +10 -8
  42. package/node_modules/pi-lens/dist/{chunk-TWAQFMLW.js → chunk-BXXC6KRR.js} +31 -34
  43. package/node_modules/pi-lens/dist/{chunk-S247BOH2.js → chunk-CKJS2AUI.js} +4 -4
  44. package/node_modules/pi-lens/dist/{chunk-GNK2IHVG.js → chunk-COGU5KQJ.js} +15 -15
  45. package/node_modules/pi-lens/dist/{chunk-P7EV5ISR.js → chunk-CQNXALZJ.js} +12 -6
  46. package/node_modules/pi-lens/dist/{chunk-IO6P3NBP.js → chunk-CSZESDPP.js} +1 -1
  47. package/node_modules/pi-lens/dist/chunk-CZ5TCJPB.js +98 -0
  48. package/node_modules/pi-lens/dist/{chunk-DLGJYQML.js → chunk-D2LFEA5U.js} +9 -2
  49. package/node_modules/pi-lens/dist/chunk-D3KLF5CD.js +50 -0
  50. package/node_modules/pi-lens/dist/{chunk-W2JPGW7Q.js → chunk-ENJ2M76Y.js} +20 -20
  51. package/node_modules/pi-lens/dist/{chunk-2DWNYVUN.js → chunk-EQKF6BAK.js} +3 -3
  52. package/node_modules/pi-lens/dist/{chunk-KIQSNH3F.js → chunk-F2SAP2FM.js} +38 -45
  53. package/node_modules/pi-lens/dist/{chunk-BYIEU4E4.js → chunk-F6QAJXQV.js} +2 -2
  54. package/node_modules/pi-lens/dist/chunk-GR2QDWH5.js +25 -0
  55. package/node_modules/pi-lens/dist/{chunk-T2D2WWP6.js → chunk-GVE5VZYQ.js} +5 -5
  56. package/node_modules/pi-lens/dist/{chunk-HMXWZUQW.js → chunk-GWZZOJD2.js} +1 -1
  57. package/node_modules/pi-lens/dist/chunk-GZS6VPIE.js +27 -0
  58. package/node_modules/pi-lens/dist/chunk-H4B4SC7I.js +71 -0
  59. package/node_modules/pi-lens/dist/{chunk-2RQREVGO.js → chunk-HA6TUJOE.js} +1 -1
  60. package/node_modules/pi-lens/dist/{chunk-NAACKIKT.js → chunk-HKPJTI47.js} +2 -2
  61. package/node_modules/pi-lens/dist/{chunk-NHHS5T52.js → chunk-HPKC55MA.js} +1 -1
  62. package/node_modules/pi-lens/dist/{chunk-B2QO7GHY.js → chunk-I65CQLCG.js} +1 -1
  63. package/node_modules/pi-lens/dist/{chunk-BQ72NQQM.js → chunk-IDKLWVKY.js} +11 -11
  64. package/node_modules/pi-lens/dist/chunk-IUM2Q7NF.js +25 -0
  65. package/node_modules/pi-lens/dist/{chunk-PVV27TOX.js → chunk-J24IS3KZ.js} +5 -5
  66. package/node_modules/pi-lens/dist/{chunk-DKXIUGNA.js → chunk-J2DAHH4T.js} +2 -2
  67. package/node_modules/pi-lens/dist/{chunk-CDAJQBKJ.js → chunk-JBDZVOFL.js} +11 -11
  68. package/node_modules/pi-lens/dist/{chunk-T7KHGEJ5.js → chunk-JC6NFC57.js} +3 -3
  69. package/node_modules/pi-lens/dist/{chunk-BWGNVM33.js → chunk-JTHEUTW7.js} +11 -11
  70. package/node_modules/pi-lens/dist/{chunk-WWZLT6AM.js → chunk-JWW3ODBN.js} +2 -2
  71. package/node_modules/pi-lens/dist/{chunk-Q32RJDYC.js → chunk-K3ZIYLHT.js} +4 -4
  72. package/node_modules/pi-lens/dist/{chunk-LDPY22FS.js → chunk-KDPZA2UE.js} +2 -3
  73. package/node_modules/pi-lens/dist/{chunk-YIEHUKX2.js → chunk-KMY2OU4T.js} +489 -285
  74. package/node_modules/pi-lens/dist/{chunk-WH6O4IFD.js → chunk-KQF7VT26.js} +10 -10
  75. package/node_modules/pi-lens/dist/{chunk-OG3UCAHV.js → chunk-KVGA7X76.js} +3 -3
  76. package/node_modules/pi-lens/dist/{chunk-TABDCX35.js → chunk-KW7O72AK.js} +2 -2
  77. package/node_modules/pi-lens/dist/{chunk-AOEVZXR6.js → chunk-LEQTVRSV.js} +9 -9
  78. package/node_modules/pi-lens/dist/{chunk-7BWPQZHE.js → chunk-LKPSBM6S.js} +3 -3
  79. package/node_modules/pi-lens/dist/{chunk-WA6U2URH.js → chunk-LKW2HFSZ.js} +6 -6
  80. package/node_modules/pi-lens/dist/{chunk-M3QGXGY4.js → chunk-LURFD4HD.js} +624 -97
  81. package/node_modules/pi-lens/dist/{chunk-2YQ5LI7R.js → chunk-M6ELTECW.js} +4 -4
  82. package/node_modules/pi-lens/dist/{chunk-OHTHVILU.js → chunk-MGVVYYKW.js} +12 -12
  83. package/node_modules/pi-lens/dist/{chunk-W2YHHNY3.js → chunk-MQBKGRSB.js} +7 -7
  84. package/node_modules/pi-lens/dist/{chunk-MET776XM.js → chunk-MVG2ZEAO.js} +6 -6
  85. package/node_modules/pi-lens/dist/{chunk-2XALJI2K.js → chunk-MY4XNNTX.js} +39 -41
  86. package/node_modules/pi-lens/dist/{chunk-GFCPPCNR.js → chunk-N4AJVFRF.js} +11 -11
  87. package/node_modules/pi-lens/dist/{chunk-UARVPNAU.js → chunk-OFKKMXWM.js} +31 -36
  88. package/node_modules/pi-lens/dist/{chunk-DHFJS2I4.js → chunk-OFZE4ANN.js} +8 -8
  89. package/node_modules/pi-lens/dist/chunk-OLXBUTJR.js +61 -0
  90. package/node_modules/pi-lens/dist/{chunk-SJ2SR432.js → chunk-OZGEHOSG.js} +38 -17
  91. package/node_modules/pi-lens/dist/{chunk-6MDWNZ7E.js → chunk-PKGOROPQ.js} +40 -2
  92. package/node_modules/pi-lens/dist/{chunk-3IWMNN2S.js → chunk-Q6D5QKRG.js} +17 -17
  93. package/node_modules/pi-lens/dist/{chunk-JGCBMCCS.js → chunk-QECLJFHI.js} +12 -17
  94. package/node_modules/pi-lens/dist/{chunk-KXKM2DFP.js → chunk-QJA33VD5.js} +4 -4
  95. package/node_modules/pi-lens/dist/{chunk-YV7XVYSJ.js → chunk-R5XVJ6AN.js} +11 -11
  96. package/node_modules/pi-lens/dist/{chunk-62PIU4TO.js → chunk-REZL4OM4.js} +1 -1
  97. package/node_modules/pi-lens/dist/{chunk-NNDZ7DOP.js → chunk-RK5RBREN.js} +74 -107
  98. package/node_modules/pi-lens/dist/chunk-RP5ZQTHO.js +86 -0
  99. package/node_modules/pi-lens/dist/{chunk-HKRESBMC.js → chunk-RURPX2YV.js} +23 -23
  100. package/node_modules/pi-lens/dist/chunk-TB5MGZLS.js +53 -0
  101. package/node_modules/pi-lens/dist/chunk-TC63XRYP.js +27 -0
  102. package/node_modules/pi-lens/dist/chunk-TJOYHAXJ.js +69 -0
  103. package/node_modules/pi-lens/dist/{chunk-NZ7NSKIW.js → chunk-TRXKDCBP.js} +13 -13
  104. package/node_modules/pi-lens/dist/{chunk-7WAQ3K26.js → chunk-TTK37D7R.js} +22 -23
  105. package/node_modules/pi-lens/dist/{chunk-ALTHJUZO.js → chunk-UH3QHLR5.js} +2 -2
  106. package/node_modules/pi-lens/dist/{chunk-6MZLS6CK.js → chunk-UNTJJ7GN.js} +7 -7
  107. package/node_modules/pi-lens/dist/{chunk-XRLZ75YY.js → chunk-UPAFSETJ.js} +54 -59
  108. package/node_modules/pi-lens/dist/{chunk-N2U644ZW.js → chunk-UX75PTQW.js} +50 -17
  109. package/node_modules/pi-lens/dist/{chunk-EXHSWN3P.js → chunk-V353PYMK.js} +423 -233
  110. package/node_modules/pi-lens/dist/{chunk-SL4G67AP.js → chunk-V4TFQY5G.js} +2 -2
  111. package/node_modules/pi-lens/dist/{chunk-YOMLAKU6.js → chunk-VC3W54G3.js} +289 -138
  112. package/node_modules/pi-lens/dist/{chunk-KSQJBGRO.js → chunk-VSBCJVPC.js} +5 -5
  113. package/node_modules/pi-lens/dist/{chunk-EBXCYEII.js → chunk-WAQQGXVV.js} +3 -3
  114. package/node_modules/pi-lens/dist/{chunk-7ORBRDFY.js → chunk-WLEVWR7Y.js} +2 -2
  115. package/node_modules/pi-lens/dist/{chunk-Q4UQNTLB.js → chunk-WPMPVP5I.js} +4 -4
  116. package/node_modules/pi-lens/dist/{chunk-TQKWR5AZ.js → chunk-WXNLFOC2.js} +7 -7
  117. package/node_modules/pi-lens/dist/{chunk-HOWHAKXO.js → chunk-Y3ZNOZZS.js} +6 -6
  118. package/node_modules/pi-lens/dist/{chunk-DNJJVKJZ.js → chunk-YL6JQTWC.js} +29 -32
  119. package/node_modules/pi-lens/dist/{chunk-HUWW77QY.js → chunk-YVE5Q2UU.js} +86 -217
  120. package/node_modules/pi-lens/dist/{chunk-25CAONWT.js → chunk-YZNARDMM.js} +12 -9
  121. package/node_modules/pi-lens/dist/{chunk-HERQPNY6.js → chunk-ZDWNFZJ2.js} +8 -8
  122. package/node_modules/pi-lens/dist/{chunk-MKQFSW2Q.js → chunk-ZEUF7BIN.js} +2 -2
  123. package/node_modules/pi-lens/dist/{chunk-AB26NAHA.js → chunk-ZIF4WLWR.js} +45 -25
  124. package/node_modules/pi-lens/dist/{chunk-6MWX2J5H.js → chunk-ZSPVF7KI.js} +227 -24
  125. package/node_modules/pi-lens/dist/{chunk-QQGZY2BR.js → chunk-ZX6OKBVO.js} +2 -2
  126. package/node_modules/pi-lens/dist/index.js +6455 -5243
  127. package/node_modules/pi-lens/dist/mcp/analyze-cli.js +8 -8
  128. package/node_modules/pi-lens/dist/mcp/cli.js +39 -41
  129. package/node_modules/pi-lens/dist/mcp/server.js +870 -559
  130. package/node_modules/pi-lens/dist/mcp/worker.js +68 -59
  131. package/node_modules/pi-lens/dist/probes/installer.js +19 -20
  132. package/node_modules/pi-lens/docs/configuration.md +24 -10
  133. package/node_modules/pi-lens/docs/defect-shapes.md +18 -2
  134. package/node_modules/pi-lens/docs/environment-variables.md +18 -9
  135. package/node_modules/pi-lens/docs/globalconfig.md +16 -0
  136. package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +7 -0
  137. package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +33 -3
  138. package/node_modules/pi-lens/docs/lsp-capability-matrix.md +23 -10
  139. package/node_modules/pi-lens/docs/lsp-idle-eviction.md +8 -3
  140. package/node_modules/pi-lens/docs/release-qa-baseline.md +22 -17
  141. package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
  142. package/node_modules/pi-lens/docs/settings.md +9 -2
  143. package/node_modules/pi-lens/docs/tools.md +1 -1
  144. package/node_modules/pi-lens/package.json +3 -3
  145. package/package.json +7 -7
  146. package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-3PXJARQW.ts.map +0 -7
  147. package/node_modules/pi-lens/dist/chunk-3UTDLQWO.js +0 -88
  148. package/node_modules/pi-lens/dist/chunk-3Z7Z3B7V.js +0 -27
  149. package/node_modules/pi-lens/dist/chunk-4E4OCW3L.js +0 -38
  150. package/node_modules/pi-lens/dist/chunk-5HVDD7IA.js +0 -17
  151. package/node_modules/pi-lens/dist/chunk-BKJ6WZKP.js +0 -255
  152. package/node_modules/pi-lens/dist/chunk-D3UQWOCB.js +0 -46
  153. package/node_modules/pi-lens/dist/chunk-EH6EHFW2.js +0 -73
  154. package/node_modules/pi-lens/dist/chunk-J7VNGHLN.js +0 -69
  155. package/node_modules/pi-lens/dist/chunk-L3Q72QGQ.js +0 -25
  156. package/node_modules/pi-lens/dist/chunk-TFSBHRL2.js +0 -25
  157. package/node_modules/pi-lens/dist/chunk-UWBD3JMH.js +0 -56
  158. package/node_modules/pi-lens/dist/chunk-XWWFESYZ.js +0 -27
  159. package/node_modules/pi-lens/dist/chunk-XZSXSM4K.js +0 -27
@@ -148,17 +148,21 @@ extension lists one any other way, and a narrower pi-tui range turned a raw
148
148
  `npm i` with a current pi-tui at the top level into a hard ERESOLVE while
149
149
  `pi install` (which runs `--legacy-peer-deps`) showed users nothing.
150
150
 
151
- The window pi-lens actually supports is therefore not in `package.json`. It is
152
- `PI_HOST_SUPPORTED_RANGE` in `.github/workflows/install-smoke.yml` (the
153
- newest-in-range lane reads it, bounded above so `"*"` can never mean
154
- `@latest`), and `tests/packaging.test.ts` pins it against the hosts this
155
- matrix has passed on. A newer host enters the window in ONE change: run this
156
- matrix on it, add it to that test's verified list, and move the workflow's
157
- ceiling together. P1 is one verified host per minor line from 0.86 onward;
158
- 0.86–1.5 are in-window, and every minor line below 0.86 falls outside the
159
- window entirely, so none needs a dedicated host. A ceiling past an unrun
160
- minor still claims that minor, so the verified-minor ratchet names the admitted
161
- lines explicitly.
151
+ The window pi-lens actually supports is therefore not in `package.json`, and it
152
+ has no hand-kept ceiling (#5749, maintainer decision 2026-11-22). Its lower end
153
+ is `PI_HOST_FLOOR_VERSION` in `.github/workflows/install-smoke.yml`; its upper
154
+ end is always the newest stable pi, the npm dist-tag `latest`. The gating
155
+ newest-in-range lane resolves that tag on every run and installs it (no
156
+ prerelease; if the registry cannot answer, the lane fails closed and never
157
+ falls back to an older host), so a new pi release is exercised by a gating lane
158
+ without anyone bumping a range. `tests/packaging.test.ts` derives the window
159
+ from the floor and pins it against the hosts this matrix has passed on. A
160
+ release-QA run on a newer host extends the `Verified hosts` table below: the
161
+ table is evidence about a host, no longer a gate on the lane.
162
+ P1 is one verified host per minor line from 0.86 onward; 0.86 onward are in-window,
163
+ and every minor line below 0.86 falls outside the window entirely, so none needs
164
+ a dedicated host. A minor line above the newest verified one is inside the window
165
+ and tested by the gating lane, but not release-QA verified until its row lands.
162
166
 
163
167
  The floor is 0.86.1 (#4688, maintainer decision 2026-10-20). 0.80–0.85 are
164
168
  out of the window: since #4644 pi-lens injects context only from a `context`
@@ -171,12 +175,13 @@ the old hosts; a real 0.80.10 session delivered the staged guidance at
171
175
 
172
176
  ### Verified hosts
173
177
 
174
- The certified policy is `>=0.86.1 <1.6.0`, and this table is the whole verified
175
- set: `tests/packaging.test.ts` fails when it and `PI_HOST_SUPPORTED_RANGE`
176
- disagree. Each listed minor line through 1.4 has a release-QA witness; 1.5 was
177
- certified by maintainer decision on 2026-11-02, with its witness blocked by
178
- the lane npm guard. The workflow ceiling
179
- and `tests/packaging.test.ts` list are updated together.
178
+ The certified policy is `>=0.86.1`, with no upper end (the newest stable pi is
179
+ inside the window the day it ships, #5749), and this table is the whole verified set:
180
+ `tests/packaging.test.ts` fails when it and the workflow's floor disagree. Each
181
+ listed minor line through 1.4 has a release-QA witness; 1.5 was certified by
182
+ maintainer decision on 2026-11-02, with its witness blocked by the lane npm
183
+ guard. Add a host here, together with that test's list, after release-QA has
184
+ run on it.
180
185
 
181
186
  | host | date | pi-lens commit | result |
182
187
  | --- | --- | --- | --- |
@@ -6,7 +6,7 @@ server's `initialize` handshake. Generated by `node scripts/server-capabilities.
6
6
  absent on the generating host are listed under *Unavailable* — run in a
7
7
  provisioned environment (the nightly) to capture those rows.
8
8
 
9
- _Last generated: 2026-11-15 on linux; 41 servers captured, 9 unavailable._
9
+ _Last generated: 2026-11-21 on linux; 42 servers captured, 9 unavailable._
10
10
 
11
11
  ## Diagnostic mode + navigation/edit operations
12
12
 
@@ -48,7 +48,12 @@ For a single toggle, highest priority first:
48
48
  project-scoped keys only: the three mutation controls (`format.enabled`,
49
49
  `autofix.enabled`, `actionableWarnings.autoFix.enabled`) and the per-tool
50
50
  switches `tools.<name>.enabled` (`tools.lazy` itself stays global-only). In a
51
- monorepo the closest config to the edited file wins.
51
+ monorepo the closest config to the edited file wins for the three mutation
52
+ controls. The per-tool switches are read once per session from the
53
+ repository's `.pi-lens.json` files at your working directory, up to the git
54
+ root, so a package's own file does not switch a tool off or on. A repository
55
+ with no `.pi-lens.json` of its own still inherits the nearest one above it,
56
+ whole: the git-root limit applies to layered reads, not to that fallback.
52
57
  4. **Global `~/.pi-lens/config.json`**.
53
58
  5. **Built-in default**.
54
59
 
@@ -160,6 +165,8 @@ add a denial but never re-enable one. See
160
165
  | --- | --- | --- | --- |
161
166
  | `ignore` | global + project | `[]` | Gitignore-style globs excluded from every scan |
162
167
  | `widget.visible` | global | `true` | Whether the diagnostics widget shows at session start |
168
+ | `widget.position` | global | `"belowEditor"` | `"aboveEditor"` or `"belowEditor"`: where the widget draws relative to the input box |
169
+ | `widget.hideWhenClean` | global | `false` | Hide the widget 5 s after it first shows `✓ clean`. See [globalconfig](globalconfig.md#widget-position-and-hiding) |
163
170
  | `dispatch.runnerTimeoutFloorMs` | global | none (no floor) | Minimum wall-clock budget per dispatch runner |
164
171
  | `lsp.queryMaxFileLines` | global | `5000` | Line limit of the explicit single-file `lens_diagnostics source=lsp` query only; a whole number from `5000` to `40000` (suggested `20000`). See [globalconfig](globalconfig.md#explicit-diagnostics-query-line-limit) |
165
172
  | `dispatch.disabledRunners` | global + project | `[]` | Dispatch runner ids that never run (for example `["dotnet-build"]`). A denial: the union of every tier, so a project can add but never re-enable. Unknown ids are dropped with a warning. See [configuration](configuration.md#dispatchdisabledrunners--turning-a-dispatch-runner-off) |
@@ -182,7 +189,7 @@ add a denial but never re-enable one. See
182
189
  User-level. The file is selected by the [global-location table](configuration.md#global-config-location)
183
190
  and applies to **every** project. It honors **all** flag keys from the
184
191
  table above plus the non-flag global knobs (`ignore`, `widget.visible`,
185
- `dispatch.runnerTimeoutFloorMs`, `dispatch.disabledRunners`, `format.mode`,
192
+ `widget.position`, `widget.hideWhenClean`, `dispatch.runnerTimeoutFloorMs`, `dispatch.disabledRunners`, `format.mode`,
186
193
  `actionableWarnings.autoFix.maxFixes`, `lsp.queryMaxFileLines`). On Windows the path is
187
194
  `%USERPROFILE%\.pi-lens\config.json`.
188
195
 
@@ -4,7 +4,7 @@ pi-lens registers the following slash commands with the pi host:
4
4
 
5
5
  - `/lens-toggle` — toggle pi-lens on/off for the current session without restarting
6
6
  - `/lens-context-toggle` — toggle automatic context injection on/off for the session (tools/LSP/read-guard/formatting stay active)
7
- - `/lens-widget-toggle` — show/hide the pi-lens diagnostics widget below the editor
7
+ - `/lens-widget-toggle` — show/hide the pi-lens diagnostics widget
8
8
  - `/lens-health` — runtime health, latency, and diagnostic telemetry, including
9
9
  bounded per-session degradation counts (trust refusals, LSP breakers,
10
10
  formatter skips/failures, idle evictions, WASM aborts, timeout tallies, and
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-lens",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "type": "module",
5
5
  "description": "Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo",
6
6
  "repository": {
@@ -131,7 +131,7 @@
131
131
  "banner.png"
132
132
  ],
133
133
  "dependencies": {
134
- "@ast-grep/cli": "0.51.1",
134
+ "@ast-grep/cli": "0.51.2",
135
135
  "@ast-grep/napi": "^0.51.0",
136
136
  "js-yaml": "^5.2.2",
137
137
  "minimatch": "^11.0.4",
@@ -168,7 +168,7 @@
168
168
  ]
169
169
  },
170
170
  "allowScripts": {
171
- "@ast-grep/cli@0.51.1": true,
171
+ "@ast-grep/cli@0.51.2": true,
172
172
  "@google/genai@2.21.0": true,
173
173
  "esbuild@0.28.2": true,
174
174
  "fsevents@2.3.3": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-extensions",
3
- "version": "2026.11.20",
3
+ "version": "2026.11.21",
4
4
  "description": "Aggregate installer for HerbertGao-maintained Pi extensions.",
5
5
  "keywords": [
6
6
  "extensions",
@@ -36,10 +36,10 @@
36
36
  "postpack": "node ../../scripts/aggregate-bundle.mjs restore"
37
37
  },
38
38
  "dependencies": {
39
- "@ast-grep/cli": "0.51.1",
39
+ "@ast-grep/cli": "0.51.2",
40
40
  "@ast-grep/napi": "^0.51.0",
41
41
  "@dietrichgebert/ponytail": "5.3.3",
42
- "@estebanforge/pi-antigravity-bridge": "1.13.1",
42
+ "@estebanforge/pi-antigravity-bridge": "1.13.2",
43
43
  "@estebanforge/pi-ask-shared": "^0.1.6",
44
44
  "@estebanforge/pi-tui-dialogs": "^0.1.3",
45
45
  "@herbertgao/pi-agency": "0.1.4",
@@ -54,9 +54,9 @@
54
54
  "@modelcontextprotocol/sdk": "^1.32.1",
55
55
  "@mozilla/readability": "^0.6.0",
56
56
  "@napi-rs/keyring": "^2.1.0",
57
- "@narumitw/pi-btw": "0.63.8",
58
- "@narumitw/pi-caffeinate": "0.49.15",
59
- "@narumitw/pi-tui-kit": "^0.70.0",
57
+ "@narumitw/pi-btw": "0.63.9",
58
+ "@narumitw/pi-caffeinate": "0.49.16",
59
+ "@narumitw/pi-tui-kit": "^0.71.0",
60
60
  "@pi-plugins/fast-mode": "0.1.16",
61
61
  "@shikijs/cli": "^4.0.2",
62
62
  "@tifan/pi-copy-response": "0.2.7",
@@ -78,7 +78,7 @@
78
78
  "nanoid": "^5.1.16",
79
79
  "p-limit": "^6.1.0",
80
80
  "pi-commandcode-provider": "0.8.7",
81
- "pi-lens": "4.5.1",
81
+ "pi-lens": "4.5.2",
82
82
  "pi-next-cue": "1.0.8",
83
83
  "pi-provider-qoder": "0.6.13",
84
84
  "pi-typesafe": "0.15.1",
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/main-tree-picker.ts"],
4
- "sourcesContent": ["import {\n copyToClipboard,\n type ExtensionAPI,\n type ExtensionCommandContext,\n type SessionEntry,\n type SessionTreeNode,\n TreeSelectorComponent,\n} from \"@earendil-works/pi-coding-agent\";\nimport { type Component, type Focusable, Key, matchesKey } from \"@earendil-works/pi-tui\";\nimport { showBtwCustomPreservingEditor } from \"./menu.js\";\nimport { sanitizeSingleLine } from \"./text.js\";\n\nexport type MainEntryPickResult = { kind: \"selected\"; entryId: string } | { kind: \"back\" } | { kind: \"closed\" };\n\nexport interface MainThreadTreeSelector extends Component, Focusable {\n onCopy?: (text: string | undefined) => void;\n setViewLabel?(entryId: string, label: string | undefined, labelTimestamp?: string): void;\n dispose?(): void;\n}\n\nexport interface MainThreadTreeSelectorOptions {\n tree: SessionTreeNode[];\n currentLeafId: string | null;\n terminalRows: number;\n onSelect: (entryId: string) => void;\n onCancel: () => void;\n onCopy: (entryId: string | undefined, displayText: string | undefined) => void;\n onLabelChange: (entryId: string, label: string | undefined) => void;\n}\n\nexport interface MainThreadTreePickerDependencies {\n createSelector?: (options: MainThreadTreeSelectorOptions) => MainThreadTreeSelector;\n copyToClipboard?: (text: string, signal: AbortSignal) => Promise<void>;\n}\n\nclass MainThreadTreePickerComponent implements Component, Focusable {\n constructor(\n private readonly selector: MainThreadTreeSelector,\n private readonly onClose: () => void,\n ) {}\n\n get focused(): boolean {\n return this.selector.focused;\n }\n\n set focused(value: boolean) {\n this.selector.focused = value;\n }\n\n get wantsKeyRelease(): boolean | undefined {\n return this.selector.wantsKeyRelease;\n }\n\n render(width: number): string[] {\n return this.selector.render(width);\n }\n\n handleInput(data: string): void {\n if (matchesKey(data, Key.ctrl(\"c\"))) {\n this.onClose();\n return;\n }\n this.selector.handleInput?.(data);\n }\n\n invalidate(): void {\n this.selector.invalidate();\n }\n\n dispose(): void {\n this.selector.dispose?.();\n this.onClose();\n }\n}\n\nexport async function pickMainEntry(\n pi: ExtensionAPI,\n ctx: ExtensionCommandContext,\n dependencies: MainThreadTreePickerDependencies = {},\n): Promise<MainEntryPickResult> {\n let rawTree: SessionTreeNode[];\n let currentLeafId: string | null;\n try {\n rawTree = ctx.sessionManager.getTree();\n currentLeafId = ctx.sessionManager.getLeafId();\n } catch {\n return { kind: \"closed\" };\n }\n\n if (rawTree.length === 0) {\n notifySafely(ctx, \"No main-thread entries are available\", \"warning\");\n return { kind: \"back\" };\n }\n\n const { tree, rawCopyText, savedLabels } = prepareTreeSnapshot(rawTree);\n const createSelector = dependencies.createSelector ?? createNativeTreeSelector;\n const copy = dependencies.copyToClipboard ?? copyText;\n const copyControllers = new Set<AbortController>();\n const copyTasks = new Set<Promise<void>>();\n const abortCopies = () => {\n for (const controller of copyControllers) {\n controller.abort(new Error(\"The main-thread tree picker closed\"));\n }\n };\n const result = await showBtwCustomPreservingEditor<MainEntryPickResult>(ctx, (tui, _theme, _keybindings, done) => {\n let settled = false;\n let selector: MainThreadTreeSelector | undefined;\n const finish = (value: MainEntryPickResult) => {\n if (settled) return;\n settled = true;\n abortCopies();\n done(value);\n };\n const onCopy = (entryId: string | undefined, displayText: string | undefined) => {\n if (settled) return;\n let text: string | undefined;\n try {\n const source = entryId ? rawCopyText.get(entryId) : displayText;\n text = typeof source === \"string\" ? source : source?.join(\"\");\n } catch (error: unknown) {\n notifySafely(ctx, `Could not copy selected message: ${formatError(error)}`, \"error\");\n return;\n }\n if (!text) {\n notifySafely(ctx, \"Selected entry has no text to copy\", \"warning\");\n return;\n }\n const controller = new AbortController();\n copyControllers.add(controller);\n let operation: Promise<void>;\n try {\n operation = copy(text, controller.signal);\n } catch (error: unknown) {\n operation = Promise.reject(error);\n }\n let task!: Promise<void>;\n task = operation\n .then(() => {\n if (!settled) notifySafely(ctx, \"Copied selected message\", \"info\");\n })\n .catch((error: unknown) => {\n if (!settled && !controller.signal.aborted) {\n notifySafely(ctx, `Could not copy selected message: ${formatError(error)}`, \"error\");\n }\n })\n .finally(() => {\n copyControllers.delete(controller);\n copyTasks.delete(task);\n });\n copyTasks.add(task);\n };\n const restoreLabel = (entryId: string) => {\n const previous = savedLabels.get(entryId);\n selector?.setViewLabel?.(entryId, previous?.label, previous?.labelTimestamp);\n tui.requestRender();\n };\n const onLabelChange = (entryId: string, label: string | undefined) => {\n if (settled) return;\n try {\n if (!ctx.sessionManager.getEntry(entryId)) {\n restoreLabel(entryId);\n notifySafely(ctx, \"The selected main-thread entry is no longer available\", \"warning\");\n return;\n }\n const persistedLabel = label === undefined ? undefined : sanitizeSingleLine(label);\n pi.setLabel(entryId, persistedLabel);\n if (persistedLabel === undefined) savedLabels.delete(entryId);\n else savedLabels.set(entryId, { label: persistedLabel });\n selector?.setViewLabel?.(entryId, persistedLabel);\n tui.requestRender();\n } catch (error: unknown) {\n restoreLabel(entryId);\n notifySafely(ctx, `Could not update tree label: ${formatError(error)}`, \"error\");\n }\n };\n selector = createSelector({\n tree,\n currentLeafId,\n terminalRows: tui.terminal.rows,\n onSelect: (entryId) => finish({ kind: \"selected\", entryId }),\n onCancel: () => finish({ kind: \"back\" }),\n onCopy,\n onLabelChange,\n });\n return new MainThreadTreePickerComponent(selector, () => finish({ kind: \"closed\" }));\n });\n abortCopies();\n await Promise.allSettled([...copyTasks]);\n\n return result ?? { kind: \"closed\" };\n}\n\nfunction createNativeTreeSelector(options: MainThreadTreeSelectorOptions): MainThreadTreeSelector {\n const selector = new TreeSelectorComponent(\n options.tree,\n options.currentLeafId,\n options.terminalRows,\n options.onSelect,\n options.onCancel,\n options.onLabelChange,\n );\n selector.onCopy = (displayText) => options.onCopy(selector.getTreeList().getSelectedNode()?.entry.id, displayText);\n const result = selector as MainThreadTreeSelector;\n result.setViewLabel = (entryId, label, labelTimestamp) =>\n selector.getTreeList().updateNodeLabel(entryId, label, labelTimestamp);\n return result;\n}\n\ntype RawCopySource = string | readonly string[];\n\n/** @internal Package-local snapshot test boundary; not an extension entrypoint. */\nexport function prepareTreeSnapshot(rawTree: readonly SessionTreeNode[]): {\n tree: SessionTreeNode[];\n rawCopyText: Map<string, RawCopySource>;\n savedLabels: Map<string, SavedLabel>;\n} {\n const tree: SessionTreeNode[] = [];\n const rawCopyText = new Map<string, RawCopySource>();\n const savedLabels = new Map<string, SavedLabel>();\n // Keep traversal state on the heap: valid session histories can be arbitrarily deep.\n const stack = [{ source: rawTree, target: tree, index: 0 }];\n while (stack.length > 0) {\n const frame = stack[stack.length - 1];\n if (frame.index === frame.source.length) {\n stack.pop();\n continue;\n }\n const node = frame.source[frame.index++];\n const label = node.label === undefined ? undefined : sanitizeSingleLine(node.label);\n const labelTimestamp = node.labelTimestamp === undefined ? undefined : sanitizeSingleLine(node.labelTimestamp);\n const displayNode: SessionTreeNode = {\n entry: sanitizeEntryForDisplay(node.entry),\n children: [],\n };\n if (label !== undefined) displayNode.label = label;\n if (labelTimestamp !== undefined) displayNode.labelTimestamp = labelTimestamp;\n frame.target.push(displayNode);\n const source = captureRawCopySource(node.entry);\n if (source !== undefined) rawCopyText.set(node.entry.id, source);\n if (label !== undefined || labelTimestamp !== undefined) {\n savedLabels.set(node.entry.id, { label, labelTimestamp });\n }\n if (node.children.length > 0) {\n stack.push({ source: node.children, target: displayNode.children, index: 0 });\n }\n }\n return { tree, rawCopyText, savedLabels };\n}\n\nfunction sanitizeEntryForDisplay(entry: SessionEntry): SessionEntry {\n switch (entry.type) {\n case \"message\": {\n const message = { ...entry.message } as Record<string, unknown>;\n if (\"content\" in entry.message) message.content = sanitizeDisplayContent(entry.message.content);\n for (const key of [\"role\", \"errorMessage\", \"command\", \"toolName\"] as const) {\n const value = message[key];\n if (typeof value === \"string\") message[key] = sanitizeSingleLine(value);\n }\n return { ...entry, message } as unknown as SessionEntry;\n }\n case \"custom_message\":\n return {\n ...entry,\n customType: sanitizeSingleLine(entry.customType),\n content: sanitizeDisplayContent(entry.content) as typeof entry.content,\n };\n case \"compaction\":\n return { ...entry, summary: sanitizeSingleLine(entry.summary) };\n case \"branch_summary\":\n return { ...entry, summary: sanitizeSingleLine(entry.summary) };\n case \"model_change\":\n return {\n ...entry,\n provider: sanitizeSingleLine(entry.provider),\n modelId: sanitizeSingleLine(entry.modelId),\n };\n case \"thinking_level_change\":\n return { ...entry, thinkingLevel: sanitizeSingleLine(entry.thinkingLevel) };\n case \"custom\":\n return { ...entry, customType: sanitizeSingleLine(entry.customType) };\n case \"context_edit\":\n return { ...entry, targetId: sanitizeSingleLine(entry.targetId) };\n case \"label\":\n return {\n ...entry,\n label: entry.label === undefined ? undefined : sanitizeSingleLine(entry.label),\n };\n case \"session_info\":\n return {\n ...entry,\n name: entry.name === undefined ? undefined : sanitizeSingleLine(entry.name),\n };\n case \"usage\":\n return {\n ...entry,\n kind: sanitizeSingleLine(entry.kind),\n provider: sanitizeSingleLine(entry.provider),\n model: sanitizeSingleLine(entry.model),\n note: entry.note === undefined ? undefined : sanitizeSingleLine(entry.note),\n };\n }\n}\n\nfunction sanitizeDisplayContent(content: unknown): unknown {\n if (typeof content === \"string\") return sanitizeSingleLine(content);\n if (!Array.isArray(content)) return content;\n return content.map((block) => {\n if (block === null || typeof block !== \"object\" || !(\"type\" in block)) return block;\n if (block.type === \"text\" && \"text\" in block && typeof block.text === \"string\") {\n return { ...block, text: sanitizeSingleLine(block.text) };\n }\n if (block.type === \"toolCall\") {\n const copy = { ...block } as Record<string, unknown>;\n if (typeof copy.name === \"string\") copy.name = sanitizeSingleLine(copy.name);\n copy.arguments = sanitizeToolArguments(copy.arguments, new WeakMap());\n return copy;\n }\n return block;\n });\n}\n\nfunction sanitizeToolArguments(value: unknown, seen: WeakMap<object, unknown>): unknown {\n if (typeof value === \"string\") return sanitizeSingleLine(value);\n if (value === null || typeof value !== \"object\") return value;\n const existing = seen.get(value);\n if (existing !== undefined) return existing;\n if (Array.isArray(value)) {\n const result: unknown[] = [];\n seen.set(value, result);\n for (const item of value) result.push(sanitizeToolArguments(item, seen));\n return result;\n }\n const result: Record<string, unknown> = {};\n seen.set(value, result);\n for (const [key, item] of Object.entries(value)) {\n result[key] = sanitizeToolArguments(item, seen);\n }\n return result;\n}\n\nfunction captureRawCopySource(entry: SessionEntry): RawCopySource | undefined {\n let source: RawCopySource | undefined;\n if (entry.type === \"message\") {\n if (entry.message.role === \"bashExecution\") source = entry.message.command;\n else if (\"content\" in entry.message) {\n source = captureRawText(entry.message.content);\n const empty = typeof source === \"string\" ? source.length === 0 : source.every((part) => part.length === 0);\n if (empty && entry.message.role === \"assistant\") source = entry.message.errorMessage;\n }\n } else if (entry.type === \"custom_message\") source = captureRawText(entry.content);\n else if (entry.type === \"compaction\" || entry.type === \"branch_summary\") source = entry.summary;\n if (typeof source === \"string\") return /\\S/u.test(source) ? source : undefined;\n return source?.some((part) => /\\S/u.test(part)) ? source : undefined;\n}\n\nfunction captureRawText(content: unknown): RawCopySource {\n if (typeof content === \"string\") return content;\n if (!Array.isArray(content)) return \"\";\n // Retain immutable strings, not live blocks or joined copies of every message.\n const parts: string[] = [];\n for (const block of content) {\n if (\n block !== null &&\n typeof block === \"object\" &&\n \"type\" in block &&\n block.type === \"text\" &&\n \"text\" in block &&\n typeof block.text === \"string\"\n ) {\n parts.push(block.text);\n }\n }\n return parts.length === 1 ? parts[0] : parts;\n}\n\ninterface SavedLabel {\n label: string | undefined;\n labelTimestamp?: string;\n}\n\nasync function copyText(text: string, signal: AbortSignal): Promise<void> {\n signal.throwIfAborted();\n await copyToClipboard(text);\n signal.throwIfAborted();\n}\n\nfunction notifySafely(\n ctx: ExtensionCommandContext,\n message: string,\n level: Parameters<ExtensionCommandContext[\"ui\"][\"notify\"]>[1],\n): void {\n try {\n ctx.ui.notify(sanitizeSingleLine(message), level);\n } catch {\n // The command context may have been replaced while the selector was open.\n }\n}\n\nfunction formatError(error: unknown): string {\n return error instanceof Error ? error.message : String(error);\n}\n"],
5
- "mappings": ";;;;;;;;;;;AAAA;AAAA,EACE;AAAA,EAKA;AAAA,OACK;AACP,SAAyC,KAAK,kBAAkB;AA2BhE,IAAM,gCAAN,MAAoE;AAAA,EAClE,YACmB,UACA,SACjB;AAFiB;AACA;AAAA,EAChB;AAAA,EAFgB;AAAA,EACA;AAAA,EAGnB,IAAI,UAAmB;AACrB,WAAO,KAAK,SAAS;AAAA,EACvB;AAAA,EAEA,IAAI,QAAQ,OAAgB;AAC1B,SAAK,SAAS,UAAU;AAAA,EAC1B;AAAA,EAEA,IAAI,kBAAuC;AACzC,WAAO,KAAK,SAAS;AAAA,EACvB;AAAA,EAEA,OAAO,OAAyB;AAC9B,WAAO,KAAK,SAAS,OAAO,KAAK;AAAA,EACnC;AAAA,EAEA,YAAY,MAAoB;AAC9B,QAAI,WAAW,MAAM,IAAI,KAAK,GAAG,CAAC,GAAG;AACnC,WAAK,QAAQ;AACb;AAAA,IACF;AACA,SAAK,SAAS,cAAc,IAAI;AAAA,EAClC;AAAA,EAEA,aAAmB;AACjB,SAAK,SAAS,WAAW;AAAA,EAC3B;AAAA,EAEA,UAAgB;AACd,SAAK,SAAS,UAAU;AACxB,SAAK,QAAQ;AAAA,EACf;AACF;AAEA,eAAsB,cACpB,IACA,KACA,eAAiD,CAAC,GACpB;AAC9B,MAAI;AACJ,MAAI;AACJ,MAAI;AACF,cAAU,IAAI,eAAe,QAAQ;AACrC,oBAAgB,IAAI,eAAe,UAAU;AAAA,EAC/C,QAAQ;AACN,WAAO,EAAE,MAAM,SAAS;AAAA,EAC1B;AAEA,MAAI,QAAQ,WAAW,GAAG;AACxB,iBAAa,KAAK,wCAAwC,SAAS;AACnE,WAAO,EAAE,MAAM,OAAO;AAAA,EACxB;AAEA,QAAM,EAAE,MAAM,aAAa,YAAY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E,SAAO,QAAQ,KAAK,CAAC,SAAS,MAAM,KAAK,IAAI,CAAC,IAAI,SAAS;AAC7D;AAEA,SAAS,eAAe,SAAiC;AACvD,MAAI,OAAO,YAAY,SAAU,QAAO;AACxC,MAAI,CAAC,MAAM,QAAQ,OAAO,EAAG,QAAO;AAEpC,QAAM,QAAkB,CAAC;AACzB,aAAW,SAAS,SAAS;AAC3B,QACE,UAAU,QACV,OAAO,UAAU,YACjB,UAAU,SACV,MAAM,SAAS,UACf,UAAU,SACV,OAAO,MAAM,SAAS,UACtB;AACA,YAAM,KAAK,MAAM,IAAI;AAAA,IACvB;AAAA,EACF;AACA,SAAO,MAAM,WAAW,IAAI,MAAM,CAAC,IAAI;AACzC;AAOA,eAAe,SAAS,MAAc,QAAoC;AACxE,SAAO,eAAe;AACtB,QAAM,gBAAgB,IAAI;AAC1B,SAAO,eAAe;AACxB;AAEA,SAAS,aACP,KACA,SACA,OACM;AACN,MAAI;AACF,QAAI,GAAG,OAAO,mBAAmB,OAAO,GAAG,KAAK;AAAA,EAClD,QAAQ;AAAA,EAER;AACF;AAEA,SAAS,YAAY,OAAwB;AAC3C,SAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;AAC9D;",
6
- "names": ["result"]
7
- }
@@ -1,88 +0,0 @@
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-ZVQUYCBU.js";
9
- import "./chunk-BKJ6WZKP.js";
10
- import "./chunk-2RQREVGO.js";
11
- import "./chunk-T7KHGEJ5.js";
12
- import "./chunk-7ORBRDFY.js";
13
- import "./chunk-W2YHHNY3.js";
14
- import "./chunk-OG3UCAHV.js";
15
- import "./chunk-FD4LJQ6Y.js";
16
- import "./chunk-HFIFEH46.js";
17
- import "./chunk-QQGZY2BR.js";
18
- import "./chunk-ALTHJUZO.js";
19
- import "./chunk-S247BOH2.js";
20
- import "./chunk-JGCBMCCS.js";
21
- import "./chunk-NNDZ7DOP.js";
22
- import "./chunk-Q32RJDYC.js";
23
- import "./chunk-2YQ5LI7R.js";
24
- import "./chunk-Y2LIOCA7.js";
25
- import "./chunk-IO6P3NBP.js";
26
- import "./chunk-W2JPGW7Q.js";
27
- import "./chunk-3MED75HT.js";
28
- import "./chunk-PKLB2XJL.js";
29
- import "./chunk-EXHSWN3P.js";
30
- import "./chunk-35UJUF27.js";
31
- import "./chunk-XIMYZ3JA.js";
32
- import "./chunk-YIEHUKX2.js";
33
- import "./chunk-J7VNGHLN.js";
34
- import "./chunk-AB26NAHA.js";
35
- import "./chunk-5HVDD7IA.js";
36
- import "./chunk-B2QO7GHY.js";
37
- import "./chunk-5W3R6LFT.js";
38
- import "./chunk-S7KUDW73.js";
39
- import "./chunk-KSQJBGRO.js";
40
- import "./chunk-H6DNTQ4V.js";
41
- import "./chunk-4GLSO2EM.js";
42
- import "./chunk-Z54ZSOBZ.js";
43
- import "./chunk-2DWNYVUN.js";
44
- import "./chunk-6HWVI6MI.js";
45
- import "./chunk-HMXWZUQW.js";
46
- import "./chunk-MET776XM.js";
47
- import "./chunk-BQ72NQQM.js";
48
- import "./chunk-BYIEU4E4.js";
49
- import "./chunk-NAACKIKT.js";
50
- import "./chunk-6MDWNZ7E.js";
51
- import "./chunk-2APSZHHI.js";
52
- import "./chunk-62PIU4TO.js";
53
- import "./chunk-2BEMIWEW.js";
54
- import "./chunk-IJYGIDF4.js";
55
- import "./chunk-YOMLAKU6.js";
56
- import "./chunk-T2D2WWP6.js";
57
- import "./chunk-25CAONWT.js";
58
- import "./chunk-WWZLT6AM.js";
59
- import "./chunk-DKXIUGNA.js";
60
- import "./chunk-LDPY22FS.js";
61
- import "./chunk-HOWHAKXO.js";
62
- import "./chunk-WJ7GY5WJ.js";
63
- import "./chunk-WA6U2URH.js";
64
- import "./chunk-TABDCX35.js";
65
- import "./chunk-TQWRH25U.js";
66
- import "./chunk-UYXV5NIS.js";
67
- import "./chunk-M3QGXGY4.js";
68
- import "./chunk-GIK6VUCY.js";
69
- import "./chunk-QYF5S6P6.js";
70
- import "./chunk-N2U644ZW.js";
71
- import "./chunk-SL4G67AP.js";
72
- import "./chunk-DLGJYQML.js";
73
- import "./chunk-CIA7X2PZ.js";
74
- import "./chunk-EKQDQPX6.js";
75
- import "./chunk-P7EV5ISR.js";
76
- import "./chunk-S26LC76R.js";
77
- import "./chunk-HUWW77QY.js";
78
- import "./chunk-LJDODBBZ.js";
79
- import "./chunk-NHHS5T52.js";
80
- import "./chunk-6MWX2J5H.js";
81
- import "./chunk-NXL4FFQQ.js";
82
- export {
83
- _getWarmWordIndexCacheStateForTests,
84
- _resetWarmWordIndexCacheForTests,
85
- acquireWarmWordIndex,
86
- analyzeFile,
87
- summarizeWarningTiers
88
- };
@@ -1,27 +0,0 @@
1
- import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
- import {
3
- GovulncheckClient,
4
- parseGovulncheckJson
5
- } from "./chunk-DHFJS2I4.js";
6
- import "./chunk-FD4LJQ6Y.js";
7
- import "./chunk-HFIFEH46.js";
8
- import "./chunk-QQGZY2BR.js";
9
- import "./chunk-5HVDD7IA.js";
10
- import "./chunk-2APSZHHI.js";
11
- import "./chunk-WWZLT6AM.js";
12
- import "./chunk-LDPY22FS.js";
13
- import "./chunk-M3QGXGY4.js";
14
- import "./chunk-GIK6VUCY.js";
15
- import "./chunk-N2U644ZW.js";
16
- import "./chunk-DLGJYQML.js";
17
- import "./chunk-EKQDQPX6.js";
18
- import "./chunk-P7EV5ISR.js";
19
- import "./chunk-S26LC76R.js";
20
- import "./chunk-HUWW77QY.js";
21
- import "./chunk-LJDODBBZ.js";
22
- import "./chunk-6MWX2J5H.js";
23
- import "./chunk-NXL4FFQQ.js";
24
- export {
25
- GovulncheckClient,
26
- parseGovulncheckJson
27
- };
@@ -1,38 +0,0 @@
1
- import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
- import {
3
- GitleaksClient,
4
- PLACEHOLDER_SECRET_REGEXES,
5
- classifyAndFilterFindings,
6
- hasGitRepo,
7
- hasGitleaksSignal,
8
- parseGitleaksReport,
9
- writeScopedGitleaksConfig
10
- } from "./chunk-PVV27TOX.js";
11
- import "./chunk-OG3UCAHV.js";
12
- import "./chunk-FD4LJQ6Y.js";
13
- import "./chunk-HFIFEH46.js";
14
- import "./chunk-QQGZY2BR.js";
15
- import "./chunk-5HVDD7IA.js";
16
- import "./chunk-2APSZHHI.js";
17
- import "./chunk-WWZLT6AM.js";
18
- import "./chunk-LDPY22FS.js";
19
- import "./chunk-M3QGXGY4.js";
20
- import "./chunk-GIK6VUCY.js";
21
- import "./chunk-N2U644ZW.js";
22
- import "./chunk-DLGJYQML.js";
23
- import "./chunk-EKQDQPX6.js";
24
- import "./chunk-P7EV5ISR.js";
25
- import "./chunk-S26LC76R.js";
26
- import "./chunk-HUWW77QY.js";
27
- import "./chunk-LJDODBBZ.js";
28
- import "./chunk-6MWX2J5H.js";
29
- import "./chunk-NXL4FFQQ.js";
30
- export {
31
- GitleaksClient,
32
- PLACEHOLDER_SECRET_REGEXES,
33
- classifyAndFilterFindings,
34
- hasGitRepo,
35
- hasGitleaksSignal,
36
- parseGitleaksReport,
37
- writeScopedGitleaksConfig
38
- };
@@ -1,17 +0,0 @@
1
- import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
- import {
3
- isTestMode
4
- } from "./chunk-HUWW77QY.js";
5
-
6
- // dist/clients/scanner-temp-root.js
7
- import * as os from "node:os";
8
- function scannerReportParentDir() {
9
- if (!isTestMode() && process.env.PI_LENS_TEST_SCANNER_HARNESS !== "1")
10
- return os.tmpdir();
11
- const override = process.env.PI_LENS_TEST_SCANNER_TMPDIR?.trim();
12
- return override && override.length > 0 ? override : os.tmpdir();
13
- }
14
-
15
- export {
16
- scannerReportParentDir
17
- };