@herbertgao/pi-extensions 2026.10.14 → 2026.10.16

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 (203) hide show
  1. package/README.md +13 -11
  2. package/THIRD_PARTY_NOTICES.md +3 -3
  3. package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +2 -2
  4. package/node_modules/@herbertgao/pi-cc-extensions/README.md +2 -2
  5. package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/config.ts +38 -1
  6. package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +13 -9
  7. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/default-mode.ts +2 -2
  8. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-highlight.ts +41 -1
  9. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/write-execution.ts +42 -25
  10. package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
  11. package/node_modules/@narumitw/pi-btw/README.md +1 -1
  12. package/node_modules/@narumitw/pi-btw/dist/index.ts +77 -64
  13. package/node_modules/@narumitw/pi-btw/dist/index.ts.map +2 -2
  14. package/node_modules/@narumitw/pi-btw/docs/core-alignment.md +10 -2
  15. package/node_modules/@narumitw/pi-btw/package.json +5 -5
  16. package/node_modules/@narumitw/pi-btw/src/fullscreen-ui.ts +83 -63
  17. package/node_modules/@narumitw/pi-caffeinate/package.json +3 -3
  18. package/node_modules/pi-lens/CHANGELOG.md +37 -0
  19. package/node_modules/pi-lens/README.md +32 -0
  20. package/node_modules/pi-lens/config/biome/core.jsonc +3 -3
  21. package/node_modules/pi-lens/dist/{chunk-K2GUZ4DN.js → chunk-2DDDCJDL.js} +4 -4
  22. package/node_modules/pi-lens/dist/{chunk-DS2USX5G.js → chunk-2DMLM3ZO.js} +11 -11
  23. package/node_modules/pi-lens/dist/chunk-2F47TQOA.js +73 -0
  24. package/node_modules/pi-lens/dist/{chunk-YXDCRUKQ.js → chunk-2PHMIAKO.js} +4 -4
  25. package/node_modules/pi-lens/dist/{chunk-PP2A5V2T.js → chunk-2RLWJO5K.js} +7 -7
  26. package/node_modules/pi-lens/dist/{chunk-T4NGVFYI.js → chunk-2X4VLOCC.js} +2 -2
  27. package/node_modules/pi-lens/dist/{chunk-QT66NEYN.js → chunk-3MYEA7QD.js} +3 -3
  28. package/node_modules/pi-lens/dist/{chunk-7ZS7MC24.js → chunk-3WEPUD2V.js} +22 -22
  29. package/node_modules/pi-lens/dist/{chunk-TL2TCJYL.js → chunk-4AVZ3TG7.js} +14 -14
  30. package/node_modules/pi-lens/dist/{chunk-SNEUMLM7.js → chunk-4PCQCU47.js} +4 -4
  31. package/node_modules/pi-lens/dist/chunk-4WX4CTUE.js +57 -0
  32. package/node_modules/pi-lens/dist/{chunk-5LRUKYFA.js → chunk-5APMQ2IJ.js} +2 -2
  33. package/node_modules/pi-lens/dist/{chunk-4U7GDSZQ.js → chunk-5CV5ITZF.js} +2 -2
  34. package/node_modules/pi-lens/dist/{chunk-VUAVE3QC.js → chunk-5ZR3APIM.js} +36 -36
  35. package/node_modules/pi-lens/dist/{chunk-CPZ5JJW6.js → chunk-63RIVFQI.js} +4 -4
  36. package/node_modules/pi-lens/dist/{chunk-EDMLIW6W.js → chunk-75SY4F24.js} +12 -12
  37. package/node_modules/pi-lens/dist/{chunk-RCHO5W7M.js → chunk-7RQXA5GG.js} +6 -6
  38. package/node_modules/pi-lens/dist/{chunk-XHDBJODR.js → chunk-A3YNG5KP.js} +21 -21
  39. package/node_modules/pi-lens/dist/{chunk-3WCEHYOI.js → chunk-AE37FEGH.js} +1 -1
  40. package/node_modules/pi-lens/dist/{chunk-KPVLQHCZ.js → chunk-AMXIUN2R.js} +2 -2
  41. package/node_modules/pi-lens/dist/{chunk-XI34NWDI.js → chunk-ARD426WI.js} +1 -1
  42. package/node_modules/pi-lens/dist/{chunk-RG3MXTRI.js → chunk-BHUWL2Y3.js} +7 -7
  43. package/node_modules/pi-lens/dist/{chunk-4ODSZ35Z.js → chunk-BI5LAQ3Y.js} +44 -44
  44. package/node_modules/pi-lens/dist/{chunk-Q42LJANT.js → chunk-BM5GS6ZH.js} +2 -2
  45. package/node_modules/pi-lens/dist/{chunk-CG5V25HX.js → chunk-BWYQUPOS.js} +1 -1
  46. package/node_modules/pi-lens/dist/{chunk-HYVXA3BB.js → chunk-CFRQMBGP.js} +23 -23
  47. package/node_modules/pi-lens/dist/{chunk-NLIVE7L6.js → chunk-CJYKEW2L.js} +1 -1
  48. package/node_modules/pi-lens/dist/{chunk-MEFLGBCS.js → chunk-DC4CFXM5.js} +3 -3
  49. package/node_modules/pi-lens/dist/{chunk-ASRAO7KG.js → chunk-DMSLNKF7.js} +27 -27
  50. package/node_modules/pi-lens/dist/{chunk-YSDPVDFC.js → chunk-DQXSPYRI.js} +3 -3
  51. package/node_modules/pi-lens/dist/{chunk-YKVDBNPO.js → chunk-EVDGNG4F.js} +3 -3
  52. package/node_modules/pi-lens/dist/{chunk-2LDMXL2M.js → chunk-F5Z6URKM.js} +2 -2
  53. package/node_modules/pi-lens/dist/{chunk-72J27ICO.js → chunk-F6X3YJWD.js} +2 -2
  54. package/node_modules/pi-lens/dist/{chunk-YXGRRORB.js → chunk-FA5LDARD.js} +13 -13
  55. package/node_modules/pi-lens/dist/{chunk-OMJ3OFBJ.js → chunk-FFL3A2VP.js} +6 -6
  56. package/node_modules/pi-lens/dist/chunk-FJIVKLPH.js +31 -0
  57. package/node_modules/pi-lens/dist/chunk-G2B7F6ZU.js +88 -0
  58. package/node_modules/pi-lens/dist/{chunk-YWWG4AQA.js → chunk-GAACZY6R.js} +24 -25
  59. package/node_modules/pi-lens/dist/{chunk-F7BO6FWH.js → chunk-GMTFDAOK.js} +11 -11
  60. package/node_modules/pi-lens/dist/{chunk-UVY4TOJH.js → chunk-GNSIWBAT.js} +3 -3
  61. package/node_modules/pi-lens/dist/chunk-GTAI2J6U.js +27 -0
  62. package/node_modules/pi-lens/dist/{chunk-SJHC3BCZ.js → chunk-GZE7WOI4.js} +98 -111
  63. package/node_modules/pi-lens/dist/{chunk-ZAPSUBLU.js → chunk-H7HTEQUZ.js} +7 -7
  64. package/node_modules/pi-lens/dist/{chunk-ZPJM7DID.js → chunk-HK6JVFZC.js} +3 -3
  65. package/node_modules/pi-lens/dist/chunk-IPDG45G5.js +26 -0
  66. package/node_modules/pi-lens/dist/{chunk-ZSUX7KEM.js → chunk-J6JP25XU.js} +2 -2
  67. package/node_modules/pi-lens/dist/{chunk-6XSESGWD.js → chunk-JL6CXUMW.js} +2 -2
  68. package/node_modules/pi-lens/dist/{chunk-Y5KTA2OB.js → chunk-K2YGBXOA.js} +2 -2
  69. package/node_modules/pi-lens/dist/{chunk-AHWA4AKM.js → chunk-KLQVC3XC.js} +4 -4
  70. package/node_modules/pi-lens/dist/{chunk-27VWVB23.js → chunk-KSR7RGQY.js} +10 -10
  71. package/node_modules/pi-lens/dist/{chunk-N3PLNNCW.js → chunk-KXF5R4UN.js} +1 -1
  72. package/node_modules/pi-lens/dist/{chunk-GLW3YDZZ.js → chunk-LEJOJDXL.js} +9 -9
  73. package/node_modules/pi-lens/dist/{chunk-Y2TPADJR.js → chunk-MA77RSFN.js} +9 -9
  74. package/node_modules/pi-lens/dist/{chunk-IL7K66ZQ.js → chunk-MKVZQUEG.js} +15 -15
  75. package/node_modules/pi-lens/dist/{chunk-EIKRZ32J.js → chunk-MN7MHUXQ.js} +2 -2
  76. package/node_modules/pi-lens/dist/{chunk-4FHUGDKU.js → chunk-MT6BVNFW.js} +5 -5
  77. package/node_modules/pi-lens/dist/{chunk-3SNDVPOR.js → chunk-NDMCVUYK.js} +8 -8
  78. package/node_modules/pi-lens/dist/{chunk-63NMUNYP.js → chunk-NIU2IPC5.js} +6 -6
  79. package/node_modules/pi-lens/dist/{chunk-APFJKOP6.js → chunk-NNKXDXXS.js} +2 -2
  80. package/node_modules/pi-lens/dist/{chunk-FEDWAYDS.js → chunk-OJLTLYHB.js} +12 -12
  81. package/node_modules/pi-lens/dist/{chunk-KJJAVH3X.js → chunk-OLAWH5UQ.js} +5 -5
  82. package/node_modules/pi-lens/dist/{chunk-G224FADB.js → chunk-OOU2WZZE.js} +1 -1
  83. package/node_modules/pi-lens/dist/{chunk-NFNVDDGB.js → chunk-OSTKYB55.js} +1 -1
  84. package/node_modules/pi-lens/dist/chunk-P4QNXS6I.js +27 -0
  85. package/node_modules/pi-lens/dist/{chunk-7IYC4ENJ.js → chunk-PKES3ISE.js} +2 -2
  86. package/node_modules/pi-lens/dist/{chunk-UCVMSOXF.js → chunk-PO45POGF.js} +2 -2
  87. package/node_modules/pi-lens/dist/{chunk-JWOVP5BL.js → chunk-PPIBVH4R.js} +6 -6
  88. package/node_modules/pi-lens/dist/{chunk-EWXXLS26.js → chunk-PQJFG24Z.js} +82 -12
  89. package/node_modules/pi-lens/dist/{chunk-TPYYEDP5.js → chunk-Q3UZHW6N.js} +45 -22
  90. package/node_modules/pi-lens/dist/{chunk-5DKE4HGX.js → chunk-Q4EMRFNA.js} +34 -34
  91. package/node_modules/pi-lens/dist/{chunk-XHLK33VM.js → chunk-Q4FCYCRE.js} +16 -16
  92. package/node_modules/pi-lens/dist/chunk-Q6D6VMI4.js +22 -0
  93. package/node_modules/pi-lens/dist/{chunk-Q4BKKOVC.js → chunk-QGSTQH4D.js} +8 -8
  94. package/node_modules/pi-lens/dist/{chunk-GYRZ72R4.js → chunk-RZOXUSPC.js} +2 -2
  95. package/node_modules/pi-lens/dist/{chunk-EN5AM7PX.js → chunk-S67UJDGQ.js} +10 -10
  96. package/node_modules/pi-lens/dist/{chunk-YWNO5Q4R.js → chunk-SCIUNBPF.js} +17 -17
  97. package/node_modules/pi-lens/dist/{chunk-VIDEKABZ.js → chunk-SJJYRZB4.js} +2 -2
  98. package/node_modules/pi-lens/dist/chunk-SXGD4ANG.js +25 -0
  99. package/node_modules/pi-lens/dist/{chunk-THEXI2QO.js → chunk-T7FTXGS3.js} +42 -42
  100. package/node_modules/pi-lens/dist/{chunk-WUY4BZEP.js → chunk-TIQJPRDD.js} +106 -50
  101. package/node_modules/pi-lens/dist/{chunk-EXVXBSGN.js → chunk-TIYGSODX.js} +17 -17
  102. package/node_modules/pi-lens/dist/{chunk-2FYKETQJ.js → chunk-U2SDMG7C.js} +5 -5
  103. package/node_modules/pi-lens/dist/{chunk-PJXNTPB2.js → chunk-U6OC3QEM.js} +21 -21
  104. package/node_modules/pi-lens/dist/{chunk-LMCTHJ2H.js → chunk-UCGQT677.js} +18 -18
  105. package/node_modules/pi-lens/dist/{chunk-UL5SXQVX.js → chunk-UHGF5UT5.js} +1 -1
  106. package/node_modules/pi-lens/dist/{chunk-AI3GP74G.js → chunk-UN4TEBWN.js} +15 -15
  107. package/node_modules/pi-lens/dist/{chunk-2SDHYHHO.js → chunk-V3APN3DY.js} +13 -13
  108. package/node_modules/pi-lens/dist/{chunk-7FLRUH6B.js → chunk-V63BC55Q.js} +1 -1
  109. package/node_modules/pi-lens/dist/{chunk-S55TEC7I.js → chunk-VG5JS5SW.js} +2 -2
  110. package/node_modules/pi-lens/dist/{chunk-IEBJF3PN.js → chunk-VPBIMOAQ.js} +11 -11
  111. package/node_modules/pi-lens/dist/{chunk-EX4EXBW7.js → chunk-VQH24FIP.js} +15 -15
  112. package/node_modules/pi-lens/dist/{chunk-TVZRLTG6.js → chunk-VSFLRN5Y.js} +1 -1
  113. package/node_modules/pi-lens/dist/{chunk-KCBRHV5E.js → chunk-W2V54OCL.js} +3 -3
  114. package/node_modules/pi-lens/dist/{chunk-VITFDI3O.js → chunk-W5LGKNET.js} +12 -12
  115. package/node_modules/pi-lens/dist/{chunk-OZNCKLOX.js → chunk-W5R5SABV.js} +12 -12
  116. package/node_modules/pi-lens/dist/{chunk-ELZRSR5N.js → chunk-WIZWZR4C.js} +38 -38
  117. package/node_modules/pi-lens/dist/{chunk-MKPCELNI.js → chunk-WQOIR3QY.js} +13 -13
  118. package/node_modules/pi-lens/dist/{chunk-COOUUC5W.js → chunk-XAIT2YGS.js} +6 -6
  119. package/node_modules/pi-lens/dist/chunk-XCUHKYCQ.js +23 -0
  120. package/node_modules/pi-lens/dist/{chunk-KFXCL4OV.js → chunk-XQCSWV2G.js} +22 -23
  121. package/node_modules/pi-lens/dist/{chunk-RU34BA4D.js → chunk-YBSONGSZ.js} +34 -34
  122. package/node_modules/pi-lens/dist/{chunk-GTDSYEA2.js → chunk-YISME6ON.js} +1 -1
  123. package/node_modules/pi-lens/dist/chunk-YRD4ISED.js +30 -0
  124. package/node_modules/pi-lens/dist/{chunk-X3UTCXAA.js → chunk-YSBHPOY6.js} +12 -12
  125. package/node_modules/pi-lens/dist/{chunk-XWFIHYCH.js → chunk-Z2XAOKHK.js} +2 -2
  126. package/node_modules/pi-lens/dist/{chunk-K4SZB56V.js → chunk-Z7IGUAXL.js} +7 -7
  127. package/node_modules/pi-lens/dist/{chunk-KX56K73G.js → chunk-ZKXQKGWZ.js} +2 -2
  128. package/node_modules/pi-lens/dist/{chunk-FWZRGGGY.js → chunk-ZQ6NZZTB.js} +6 -4
  129. package/node_modules/pi-lens/dist/{chunk-2Y6OJRSI.js → chunk-ZUUI3ZSA.js} +3 -3
  130. package/node_modules/pi-lens/dist/{chunk-UO66IMVP.js → chunk-ZYNI26MI.js} +2 -2
  131. package/node_modules/pi-lens/dist/index.js +571 -409
  132. package/node_modules/pi-lens/dist/mcp/analyze-cli.js +10 -10
  133. package/node_modules/pi-lens/dist/mcp/cli.js +42 -42
  134. package/node_modules/pi-lens/dist/mcp/server.js +108 -108
  135. package/node_modules/pi-lens/dist/mcp/worker.js +61 -61
  136. package/node_modules/pi-lens/dist/probes/installer.js +19 -19
  137. package/node_modules/pi-lens/docs/agent-tools.md +28 -7
  138. package/node_modules/pi-lens/docs/configuration.md +3 -1
  139. package/node_modules/pi-lens/docs/defect-shapes.md +738 -0
  140. package/node_modules/pi-lens/docs/invariants/caches-stores.md +30 -0
  141. package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +164 -0
  142. package/node_modules/pi-lens/docs/invariants/git-guard-host.md +53 -0
  143. package/node_modules/pi-lens/docs/invariants/language-config.md +31 -0
  144. package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +286 -0
  145. package/node_modules/pi-lens/docs/invariants/paths-os.md +59 -0
  146. package/node_modules/pi-lens/docs/invariants/session-telemetry.md +74 -0
  147. package/node_modules/pi-lens/docs/pi-lens-fixer.md +2 -1
  148. package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +10 -8
  149. package/node_modules/pi-lens/docs/pi-lens-monitor.md +2 -2
  150. package/node_modules/pi-lens/docs/pi-lens-orchestration.md +41 -0
  151. package/node_modules/pi-lens/docs/pi-lens-release.md +20 -0
  152. package/node_modules/pi-lens/docs/pi-lens-retro.md +3 -2
  153. package/node_modules/pi-lens/docs/pi-lens-reviewer.md +6 -6
  154. package/node_modules/pi-lens/docs/pi-lens-subagent.md +2 -2
  155. package/node_modules/pi-lens/package.json +3 -2
  156. package/node_modules/pi-provider-qoder/dist/index.js +27 -5
  157. package/node_modules/pi-provider-qoder/package.json +1 -1
  158. package/node_modules/pi-typesafe/README.md +1 -1
  159. package/node_modules/pi-typesafe/dist/client.js +43 -1
  160. package/node_modules/pi-typesafe/package.json +1 -1
  161. package/node_modules/pi-web-access/CHANGELOG.md +40 -0
  162. package/node_modules/pi-web-access/README.md +96 -22
  163. package/node_modules/pi-web-access/brave-rate-limit.ts +2 -2
  164. package/node_modules/pi-web-access/curator-page.ts +3 -1
  165. package/node_modules/pi-web-access/curator-server.ts +1 -0
  166. package/node_modules/pi-web-access/dist/index.js +2607 -1674
  167. package/node_modules/pi-web-access/dist/mcp-cli.js +1119 -327
  168. package/node_modules/pi-web-access/duckduckgo-rate-limit.ts +95 -0
  169. package/node_modules/pi-web-access/duckduckgo.ts +51 -45
  170. package/node_modules/pi-web-access/exa.ts +48 -6
  171. package/node_modules/pi-web-access/extract.ts +2 -2
  172. package/node_modules/pi-web-access/fetch-params.ts +5 -4
  173. package/node_modules/pi-web-access/field-extract.ts +347 -0
  174. package/node_modules/pi-web-access/gemini-search.ts +151 -13
  175. package/node_modules/pi-web-access/index.ts +128 -125
  176. package/node_modules/pi-web-access/mistral-search.ts +1 -1
  177. package/node_modules/pi-web-access/ninerouter.ts +92 -0
  178. package/node_modules/pi-web-access/offtopic-judge.ts +72 -0
  179. package/node_modules/pi-web-access/openai-search.ts +36 -10
  180. package/node_modules/pi-web-access/package.json +1 -1
  181. package/node_modules/pi-web-access/perplexity.ts +1 -0
  182. package/node_modules/pi-web-access/query-rewrite.ts +39 -13
  183. package/node_modules/pi-web-access/source-check.ts +31 -15
  184. package/node_modules/pi-web-access/summary-model-scope.ts +19 -1
  185. package/node_modules/pi-web-access/summary-review.ts +13 -20
  186. package/node_modules/pi-web-access/tool-arguments.ts +1 -1
  187. package/node_modules/pi-web-access/upgrade-notice.ts +47 -0
  188. package/node_modules/pi-web-access/utils.ts +26 -1
  189. package/node_modules/pi-web-access/web-tool-contract.ts +4 -1
  190. package/node_modules/pi-web-access/web-tool-core.ts +99 -19
  191. package/node_modules/pi-web-access/xai-search.ts +3 -3
  192. package/package.json +10 -10
  193. package/node_modules/pi-lens/dist/chunk-22Y2BM7H.js +0 -23
  194. package/node_modules/pi-lens/dist/chunk-44X7VIKR.js +0 -73
  195. package/node_modules/pi-lens/dist/chunk-54NIOJJZ.js +0 -25
  196. package/node_modules/pi-lens/dist/chunk-7WWQAW5P.js +0 -30
  197. package/node_modules/pi-lens/dist/chunk-EA2ZRG44.js +0 -27
  198. package/node_modules/pi-lens/dist/chunk-EKNWOL2I.js +0 -27
  199. package/node_modules/pi-lens/dist/chunk-G5UCJFT7.js +0 -26
  200. package/node_modules/pi-lens/dist/chunk-N5FBM25N.js +0 -22
  201. package/node_modules/pi-lens/dist/chunk-P5XUGPIX.js +0 -31
  202. package/node_modules/pi-lens/dist/chunk-PKOXJIVT.js +0 -88
  203. package/node_modules/pi-lens/dist/chunk-RG7OODGM.js +0 -57
@@ -4,7 +4,15 @@
4
4
 
5
5
  BTW keeps its side-thread policy separate from Pi's renderer and Kit's shared screens.
6
6
  Local improvements do not remove the need for a public Pi workspace API.
7
- The contracts below are proposals, not available Pi APIs. No external issue, core change, or publication is implied.
7
+ The upstream Pi contracts below are proposals, not available Pi APIs. No external issue, core change, or publication is implied.
8
+
9
+ ## Shared physical handoff extraction
10
+
11
+ The Kit `createFullscreenHandoff()` resource shares only terminal entry, native drain, stop/start, owned-overlay hiding, and restoration. BTW retains its multi-screen context adapter, private split-pane layout integration, input priority, paste handling, selection/copy, root cancellation, main-thread updates, bring-to-main, and queued settings writes.
12
+
13
+ The [retained shared matrix and verification record](https://github.com/narumiruna/pi-extensions/blob/main/packages/pi-tui-kit/docs/fullscreen-handoff.md) records two-consumer admission with Starship, lifecycle regressions, artifact and PTY smokes, dependency propagation, and exact-artifact release guards. Historical checks below do not replace the shared resource's evidence. The proposed Pi workspace-composition API remains necessary.
14
+
15
+ Pi's official [TUI guidance](https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/tui.md) advises against a second terminal renderer. BTW intentionally deviates: a second TUI instance exists, but only one renderer actively owns the shared terminal. Extracting the physical lifecycle into Kit does not make that deviation officially supported or remove private layout access from BTW.
8
16
 
9
17
  ## Evidence boundary
10
18
 
@@ -242,7 +250,7 @@ These steps define contract tests, not instructions to open a live provider or i
242
250
 
243
251
  The Pi core maintainer owns API design, implementation, tests, and publication after repository-owner approval.
244
252
  A later authorized BTW migration must pass the existing native-dispatch and terminal-restoration regressions before removing the workaround.
245
- No new Kit API or raised BTW dependency floor is required for this handoff.
253
+ No new Kit API or raised BTW dependency floor was required for that upstream API proposal. The separate shared physical-handoff extraction above must require the Kit release that first contains its API before dependent publication.
246
254
 
247
255
  ## Verification and remaining acceptance
248
256
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-btw",
3
- "version": "0.63.0",
3
+ "version": "0.63.1",
4
4
  "description": "Pi extension that adds a /btw side-question command.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -32,9 +32,9 @@
32
32
  "prepack": "npm run build"
33
33
  },
34
34
  "devDependencies": {
35
- "@earendil-works/pi-ai": "1.3.0",
36
- "@earendil-works/pi-coding-agent": "1.3.0",
37
- "@earendil-works/pi-tui": "1.3.0",
35
+ "@earendil-works/pi-ai": "1.4.0",
36
+ "@earendil-works/pi-coding-agent": "1.4.0",
37
+ "@earendil-works/pi-tui": "1.4.0",
38
38
  "esbuild": "0.28.2",
39
39
  "typescript": "7.0.2"
40
40
  },
@@ -44,7 +44,7 @@
44
44
  "directory": "packages/pi-btw"
45
45
  },
46
46
  "dependencies": {
47
- "@narumitw/pi-tui-kit": "^0.64.0"
47
+ "@narumitw/pi-tui-kit": "^0.67.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@earendil-works/pi-ai": "*",
@@ -5,6 +5,7 @@ import {
5
5
  type Theme,
6
6
  } from "@earendil-works/pi-coding-agent";
7
7
  import { type Component, type OverlayHandle, ScrollView, type TUI, truncateToWidth } from "@earendil-works/pi-tui";
8
+ import type { createFullscreenHandoff, FullscreenHandoff } from "@narumitw/pi-tui-kit";
8
9
  import {
9
10
  type BtwFullscreenTui,
10
11
  createBtwFullscreenTui,
@@ -83,6 +84,10 @@ export async function runBtwFullscreen<T>(
83
84
  options: BtwFullscreenOptions = {},
84
85
  dependencies: BtwFullscreenDependencies = {},
85
86
  ): Promise<T> {
87
+ const { createFullscreenHandoff } = await import("@narumitw/pi-tui-kit/fullscreen-handoff");
88
+ if (ctx.signal?.aborted || options.signal?.aborted || options.canRestoreParent?.() === false) {
89
+ throw new FullscreenUiDisposedError();
90
+ }
86
91
  const createTui =
87
92
  dependencies.createTui ??
88
93
  ((parent: TUI, theme: Theme, keybindings: KeybindingsManager, fullscreenOptions: BtwFullscreenOptions) =>
@@ -121,6 +126,7 @@ export async function runBtwFullscreen<T>(
121
126
  },
122
127
  createTui,
123
128
  options,
129
+ createFullscreenHandoff,
124
130
  );
125
131
  return host;
126
132
  },
@@ -142,7 +148,7 @@ export async function runBtwFullscreen<T>(
142
148
 
143
149
  class BtwFullscreenHost<T> implements Component {
144
150
  private fullscreen: BtwFullscreenTui | undefined;
145
- private parentOverlay: OverlayHandle | undefined;
151
+ private readonly handoff: FullscreenHandoff<BtwFullscreenTui>;
146
152
  private cancelActiveCustom: (() => void) | undefined;
147
153
  private hardCancelActiveCustom: (() => void) | undefined;
148
154
  private removeHardCancelListener: (() => void) | undefined;
@@ -150,13 +156,8 @@ class BtwFullscreenHost<T> implements Component {
150
156
  private started = false;
151
157
  private disposed = false;
152
158
  private finished = false;
153
- private parentStopped = false;
154
- private parentRestoreAttempted = false;
155
- private fullscreenCreated = false;
156
- private fullscreenStopped = false;
157
- private parentRestoreQueued = false;
158
159
  private parentRestorePromise: Promise<void> | undefined;
159
- private cleanupError: unknown;
160
+ private readonly cleanupErrors: unknown[] = [];
160
161
  private removeMainThreadUpdateListener: (() => void) | undefined;
161
162
  private mainThreadRefreshTimer: ReturnType<typeof setTimeout> | undefined;
162
163
  private readonly mainThreadInput: BtwMainThreadInput;
@@ -175,6 +176,7 @@ class BtwFullscreenHost<T> implements Component {
175
176
  private readonly done: (outcome: FullscreenOutcome<T>) => void,
176
177
  private readonly createTui: BtwFullscreenTuiFactory,
177
178
  private readonly options: BtwFullscreenOptions,
179
+ createHandoff: typeof createFullscreenHandoff,
178
180
  ) {
179
181
  const initialMainInput = getFocusedComponent(parent);
180
182
  this.mainThreadInput = new BtwMainThreadInput(
@@ -185,12 +187,20 @@ class BtwFullscreenHost<T> implements Component {
185
187
  },
186
188
  () => this.fullscreen?.requestRender(),
187
189
  );
190
+ this.handoff = createHandoff<BtwFullscreenTui>(parent, {
191
+ isCurrent: () =>
192
+ !this.disposed &&
193
+ !this.finished &&
194
+ !this.lifetimeController.signal.aborted &&
195
+ this.options.canRestoreParent?.() !== false,
196
+ canRestoreParent: () => this.options.canRestoreParent?.() !== false,
197
+ });
188
198
  this.sidePaneRatio = options.sidePaneRatio;
189
199
  queueMicrotask(() => void this.start());
190
200
  }
191
201
 
192
202
  setParentOverlay(overlay: OverlayHandle): void {
193
- this.parentOverlay = overlay;
203
+ this.handoff.setOverlayHandle(overlay);
194
204
  }
195
205
 
196
206
  render(width: number): string[] {
@@ -221,12 +231,12 @@ class BtwFullscreenHost<T> implements Component {
221
231
  getParentFullscreenLayout(this.parent);
222
232
  getParentFullscreenScrollView(this.parent);
223
233
  }
224
- this.parent.stop({ preserveScreen: true });
225
- this.parentStopped = true;
226
- if (this.disposed) throw new FullscreenUiDisposedError();
227
- this.fullscreen = this.createTui(this.parent, this.theme, this.keybindings, this.options);
228
- this.fullscreenCreated = true;
229
- this.fullscreen.start();
234
+ this.fullscreen = await this.handoff.enter(() =>
235
+ this.createTui(this.parent, this.theme, this.keybindings, this.options),
236
+ );
237
+ if (!this.fullscreen || this.disposed || this.finished || this.options.canRestoreParent?.() === false) {
238
+ throw new FullscreenUiDisposedError();
239
+ }
230
240
  this.watchMainThreadUpdates();
231
241
  const shortcuts = resolveBtwShortcuts(
232
242
  this.options.keybindings,
@@ -287,11 +297,19 @@ class BtwFullscreenHost<T> implements Component {
287
297
  try {
288
298
  this.cancelActiveCustom?.();
289
299
  } catch (error) {
290
- this.cleanupError ??= error;
300
+ this.cleanupErrors.push(error);
301
+ }
302
+ this.queueParentRestore();
303
+ await this.parentRestorePromise;
304
+ if (this.cleanupErrors.length) {
305
+ outcome = {
306
+ kind: "failed",
307
+ error: combineErrors(
308
+ outcome.kind === "failed" ? [outcome.error, ...this.cleanupErrors] : this.cleanupErrors,
309
+ "Pi BTW flow and terminal cleanup failed",
310
+ ),
311
+ };
291
312
  }
292
- if (this.parentRestorePromise) await this.parentRestorePromise;
293
- else this.restoreParent();
294
- if (this.cleanupError !== undefined) outcome = { kind: "failed", error: this.cleanupError };
295
313
  this.finished = true;
296
314
  this.done(outcome);
297
315
  }
@@ -333,16 +351,13 @@ class BtwFullscreenHost<T> implements Component {
333
351
  }
334
352
 
335
353
  private queueParentRestore(): void {
336
- if (this.parentRestoreQueued || this.parentRestoreAttempted) return;
337
- this.parentRestoreQueued = true;
354
+ if (this.parentRestorePromise) return;
355
+ const restoration = this.handoff.restore().catch((error: unknown) => {
356
+ this.cleanupErrors.push(error);
357
+ });
338
358
  this.parentRestorePromise = Promise.resolve().then(async () => {
339
- try {
340
- await this.fullscreen?.terminal.drainInput?.();
341
- } catch (error) {
342
- this.cleanupError ??= error;
343
- }
344
- this.parentRestoreQueued = false;
345
359
  this.restoreParent();
360
+ await restoration;
346
361
  });
347
362
  }
348
363
 
@@ -369,50 +384,26 @@ class BtwFullscreenHost<T> implements Component {
369
384
  try {
370
385
  removeMainThreadUpdateListener?.();
371
386
  } catch (error) {
372
- this.cleanupError ??= error;
387
+ this.cleanupErrors.push(error);
373
388
  }
374
389
  try {
375
390
  this.mainThreadInput.dispose();
376
391
  } catch (error) {
377
- this.cleanupError ??= error;
392
+ this.cleanupErrors.push(error);
378
393
  }
379
394
  const removeUpstreamAbortListener = this.removeUpstreamAbortListener;
380
395
  this.removeUpstreamAbortListener = undefined;
381
396
  try {
382
397
  removeUpstreamAbortListener?.();
383
398
  } catch (error) {
384
- this.cleanupError ??= error;
399
+ this.cleanupErrors.push(error);
385
400
  }
386
401
  const removeHardCancelListener = this.removeHardCancelListener;
387
402
  this.removeHardCancelListener = undefined;
388
403
  try {
389
404
  removeHardCancelListener?.();
390
405
  } catch (error) {
391
- this.cleanupError ??= error;
392
- }
393
- if (this.fullscreenCreated && !this.fullscreenStopped) {
394
- this.fullscreenStopped = true;
395
- try {
396
- this.fullscreen?.stop({ preserveScreen: true });
397
- } catch (error) {
398
- this.cleanupError ??= error;
399
- }
400
- }
401
- if (!this.parentStopped || this.parentRestoreAttempted) return;
402
- const parentOverlay = this.parentOverlay;
403
- this.parentOverlay = undefined;
404
- try {
405
- parentOverlay?.setHidden(true);
406
- } catch (error) {
407
- this.cleanupError ??= error;
408
- }
409
- try {
410
- this.parentRestoreAttempted = true;
411
- if (this.options.canRestoreParent?.() === false) return;
412
- this.parent.start();
413
- this.parent.renderNow(false);
414
- } catch (error) {
415
- this.cleanupError ??= error;
406
+ this.cleanupErrors.push(error);
416
407
  }
417
408
  }
418
409
 
@@ -487,23 +478,23 @@ class BtwFullscreenHost<T> implements Component {
487
478
  componentDisposed = true;
488
479
  try {
489
480
  component.dispose?.();
490
- } catch {
491
- // Cleanup must continue so terminal ownership is restored.
481
+ } catch (error) {
482
+ this.cleanupErrors.push(error);
492
483
  }
493
484
  };
494
485
  const unmount = () => {
495
- let cleanupError: unknown;
486
+ const cleanupErrors: unknown[] = [];
496
487
  const removeFocusListener = removePaneFocusListener;
497
488
  removePaneFocusListener = undefined;
498
489
  try {
499
490
  removeFocusListener?.();
500
491
  } catch (error) {
501
- cleanupError = error;
492
+ cleanupErrors.push(error);
502
493
  }
503
494
  try {
504
495
  splitPane?.dispose();
505
496
  } catch (error) {
506
- cleanupError ??= error;
497
+ cleanupErrors.push(error);
507
498
  }
508
499
  splitPane = undefined;
509
500
  try {
@@ -511,18 +502,18 @@ class BtwFullscreenHost<T> implements Component {
511
502
  else if (mounted && layoutMounted) fullscreen.setLayoutRoot(undefined);
512
503
  else if (mounted && component) fullscreen.removeChild(component);
513
504
  } catch (error) {
514
- cleanupError ??= error;
505
+ cleanupErrors.push(error);
515
506
  }
516
507
  if (overlay || mounted) {
517
508
  try {
518
509
  fullscreen.setFocus(null);
519
510
  fullscreen.requestRender();
520
511
  } catch (error) {
521
- cleanupError ??= error;
512
+ cleanupErrors.push(error);
522
513
  }
523
514
  }
524
515
  disposeComponent();
525
- if (cleanupError !== undefined) throw cleanupError;
516
+ if (cleanupErrors.length) throw combineErrors(cleanupErrors, "Pi BTW custom UI cleanup failed");
526
517
  };
527
518
  const complete = () => {
528
519
  if (promiseSettled || !hasPendingValue) return;
@@ -557,7 +548,7 @@ class BtwFullscreenHost<T> implements Component {
557
548
  unmount();
558
549
  reject(error);
559
550
  } catch (cleanupError) {
560
- reject(cleanupError);
551
+ reject(combineErrors([error, cleanupError], "Pi BTW custom UI and cleanup failed"));
561
552
  }
562
553
  };
563
554
  this.cancelActiveCustom = () => {
@@ -710,6 +701,35 @@ class BtwFullscreenHost<T> implements Component {
710
701
  }
711
702
  }
712
703
 
704
+ // Keep an existing aggregate intact unless it overlaps causes already collected.
705
+ function combineErrors(errors: readonly unknown[], message: string): unknown {
706
+ const causes: unknown[] = [];
707
+ const seen = new Set<unknown>();
708
+ const remember = (error: unknown): void => {
709
+ if (seen.has(error)) return;
710
+ seen.add(error);
711
+ if (error instanceof AggregateError) error.errors.forEach(remember);
712
+ };
713
+ const overlaps = (error: unknown, visited = new Set<unknown>()): boolean => {
714
+ if (seen.has(error)) return true;
715
+ if (visited.has(error)) return false;
716
+ visited.add(error);
717
+ return error instanceof AggregateError && error.errors.some((cause: unknown) => overlaps(cause, visited));
718
+ };
719
+ const append = (error: unknown): void => {
720
+ if (seen.has(error)) return;
721
+ if (error instanceof AggregateError && overlaps(error)) {
722
+ seen.add(error);
723
+ error.errors.forEach(append);
724
+ return;
725
+ }
726
+ causes.push(error);
727
+ remember(error);
728
+ };
729
+ errors.forEach(append);
730
+ return causes.length === 1 ? causes[0] : new AggregateError(causes, message);
731
+ }
732
+
713
733
  function formatError(error: unknown): string {
714
734
  return error instanceof Error ? error.message : String(error);
715
735
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-caffeinate",
3
- "version": "0.49.12",
3
+ "version": "0.49.13",
4
4
  "description": "Pi extension that keeps the computer awake while the agent is running.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  "@earendil-works/pi-coding-agent": "*"
36
36
  },
37
37
  "devDependencies": {
38
- "@earendil-works/pi-coding-agent": "1.2.0",
38
+ "@earendil-works/pi-coding-agent": "1.4.0",
39
39
  "@types/node": "26.6.5",
40
40
  "esbuild": "0.28.2",
41
41
  "typescript": "7.0.2"
@@ -47,6 +47,6 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@narumitw/pi-tui-kit": "^0.59.0",
50
- "dbus-native": "^0.16.1"
50
+ "dbus-native": "^0.16.2"
51
51
  }
52
52
  }
@@ -16,6 +16,43 @@ All notable changes to pi-lens will be documented in this file.
16
16
 
17
17
  ### Security
18
18
 
19
+ ## [4.4.6] - 2026-10-27
20
+
21
+ ### Changed
22
+
23
+ - **Termux install fallback** — documents the tested Rust-built ast-grep workaround for the `@ast-grep/cli` native-binary install failure. (#4902)
24
+
25
+ ### Fixed
26
+
27
+ - **`lsp_navigation` results count as reads again (refs #1884)** — A navigation result whose path was relative and had no recorded resolution basis lost the `details.searchReads` lines it showed the agent, so the next edit to those lines was blocked by the read guard. Those lines are registered as reads before the refusal, which still keeps turn state and dispatch closed for the unresolved path. A navigation CALL also resolves the `path` it declares, so pi-lens initialises the file's LSP config and warms it before the request instead of treating the call as naming no file (#3650).
28
+
29
+ - **Writes and LSP edits share one lock and one containment root per file.** A `<dir-link>/../file` spelling no longer locks a different file in pi's mutation queue, a workspace edit's root is the directory the kernel opens, and a path identity stays put when it is resolved again (#4689). A workspace edit whose target the kernel cannot name — an unreadable ancestor, a looping link — is refused instead of confined by its spelling.
30
+
31
+ - **A file reached through a link spelling gets its own project's verdicts (refs #4689)** — the containment predicate, four upward walks (formatter configs, grammar write dirs, temporary-checkout markers), the project ignore verdict and a runner's dispatch path now climb and key the file's kernel-real path, so `repo/link/../f.ts` and a directory named `..foo` agree with the real spelling instead of reading as another project's file, as never ignored, or as outside the root.
32
+
33
+ - **The bundled Biome config loads under Biome 2.6 again (refs #4886)** — In a project with no `biome.json`, pi-lens lints with its own fallback config. That config switched off the nursery rule `useSortedClasses`, which Biome 2.6 renamed, so the managed Biome (which tracks the latest release) rejected the whole file: every Biome lint run reported a config error instead of findings, and `lint --write` fixed nothing. The entry was redundant, since nursery rules are off unless named, so it is gone and the config loads on Biome 2.5 and 2.6 alike.
34
+
35
+ - **Tool calls no longer wait on two walks of a non-git home folder (#4905)** — The opaque-mutation prescan refuses a session root that is the home folder or above it, and reads it as unknown, never as "no change". The declaration-file look skips its walk there but still looks for a dependency install, so language servers still restart after one. A root already found over the file cap is not walked again in the same session. Each is recorded once per session (`opaque-capture-refused` and `lsp-declaration-look-capped`, subject `home-root`).
36
+
37
+ - **Deferred Biome fixes cover every edited JS/TS file (#4862)** — Fix all edited files in a project at agent end instead of only the first. Keep Dart project deduplication and record duplicate-scope skips once per tool/scope per session.
38
+
39
+ ### Security
40
+
41
+ - **Workspace edits no longer write outside the workspace through a dangling symlink (closes #4877).** A `create` or `rename` whose path is a symlink to a missing file is refused instead of confined by its spelling.
42
+
43
+ ### Internal
44
+
45
+ <details>
46
+ <summary>3 internal changes: tests, CI, tooling, and refactors</summary>
47
+
48
+ - **Path-containment ratchet: a hand-rolled `..` test over a `path.relative` result now reds (refs #2556)** — `tests/config/path-containment-sweep.test.ts` admits containment only through `clients/path-utils.ts` (`isUnderDir`, `isWithinForm`, the home-ceiling predicate) across the runtime trees, `scripts/` and `tests/`; the 42 remaining sites are baseline rows with reasons, every comparison and call spelling is read rather than a list of methods, and the detector's state table plants the #4878 F1 spelling that failed 26 `Unit tests Windows` cells.
49
+
50
+ - **AGENTS.md split by seam (refs #4361)** — the defect-shape entries, the seven standing-invariant subsections, the orchestrator-only procedure and the release rules now live in `docs/`, each behind an index line or pointer in `AGENTS.md`; the moved text is verbatim apart from two rule lines, the task router naming the seam table row and the file it names, and one seam-table path corrected to `clients/formatters.ts`. Both reviewer bots load the catalog and the invariant files, and `scripts/check-pr-body.mjs` reads the shape catalog from `docs/defect-shapes.md` at the PR's merge base.
51
+
52
+ - **Dev-only advisories cleared (refs #4874)** — the lockfile resolves `undici` 8.12.3 (through an override, since the pi peer pins 8.10.2), `zod` 4.6.7 and `fast-uri` 3.1.9; none ships in the package.
53
+
54
+ </details>
55
+
19
56
  ## [4.4.5] - 2026-10-25
20
57
 
21
58
  ### Added
@@ -187,6 +187,36 @@ expects to be operated.
187
187
  > git:...` / `pi update --extension git:...`) may similarly prompt for
188
188
  > git-dependency approval; accept it to let the `prepare` build step run.
189
189
 
190
+ ### Android/Termux fallback
191
+
192
+ Try the normal install first. If it fails in `@ast-grep/cli`'s
193
+ `postinstall.js` with `Failed to locate @ast-grep/cli native binary`, the
194
+ fallback below has worked in one Termux environment:
195
+
196
+ ```bash
197
+ pkg install rust clang
198
+ cargo install ast-grep --locked
199
+ ast-grep --version
200
+ npm_config_ignore_scripts=true pi install npm:pi-lens
201
+ ```
202
+
203
+ `npm_config_ignore_scripts=true` skips every dependency lifecycle script for
204
+ that `pi install` command, not only the failing `@ast-grep/cli` script. Use it
205
+ only for this fallback after installing and checking the Rust-built `ast-grep`
206
+ binary separately. `pi update` runs the same postinstall, so set the variable
207
+ for it too. `ast-grep --version` must succeed from a new shell, which means
208
+ `~/.cargo/bin` is on your `PATH`.
209
+
210
+ In the verified environment, `/lens-health` reported zero pipeline crashes and
211
+ listed the `ast-grep` and `bash` LSP servers as available. This confirms startup
212
+ and server discovery only; `ast_grep_search` was not tested end to end.
213
+
214
+ pi-lens only looks for an `ast-grep` on `PATH` (such as Cargo's
215
+ `~/.cargo/bin/ast-grep`) when pi trusts the project, so in an untrusted
216
+ project this fallback leaves `ast_grep_search` unavailable. The in-process
217
+ ast-grep rules (`@ast-grep/napi`) and Biome have no Android build, so they stay
218
+ unavailable either way.
219
+
190
220
  ## Documentation
191
221
 
192
222
  - [Agent guide](docs/agent-guide.md) — how an AI agent should consume and respond to pi-lens
@@ -505,6 +535,8 @@ Thanks goes to these wonderful people:
505
535
  <td align="center" valign="top" width="14.28%"><a href="http://wayneh.tw/"><img src="https://avatars.githubusercontent.com/u/5166321?v=4" width="100px;" alt=""/><br /><sub><b>WeiHung</b></sub></a><br /><a href="#code-wayne930242" title="Code">💻</a></td>
506
536
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/wertyMSD"><img src="https://avatars.githubusercontent.com/u/130595241?v=4" width="100px;" alt=""/><br /><sub><b>wertyMSD</b></sub></a><br /><a href="#bug-wertyMSD" title="Bug reports">🐛</a></td>
507
537
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/rcdailey"><img src="https://avatars.githubusercontent.com/u/1768054?v=4" width="100px;" alt=""/><br /><sub><b>Robert Dailey</b></sub></a><br /><a href="#bug-rcdailey" title="Bug reports">🐛</a></td>
538
+ <td align="center" valign="top" width="14.28%"><a href="https://twitter.com/letwir"><img src="https://avatars.githubusercontent.com/u/16576177?v=4" width="100px;" alt=""/><br /><sub><b>letwir</b></sub></a><br /><a href="#doc-letwir" title="Documentation">📖</a></td>
539
+ <td align="center" valign="top" width="14.28%"><a href="http://www.erikdarling.com/"><img src="https://avatars.githubusercontent.com/u/2136037?v=4" width="100px;" alt=""/><br /><sub><b>Erik Darling</b></sub></a><br /><a href="#bug-erikdarlingdata" title="Bug reports">🐛</a></td>
508
540
  </tr>
509
541
  </tbody>
510
542
  </table>
@@ -60,10 +60,10 @@
60
60
  "noDoubleEquals": "error",
61
61
  "noEmptyInterface": "warn",
62
62
  "noExplicitAny": "warn"
63
- },
64
- "nursery": {
65
- "useSortedClasses": "off"
66
63
  }
64
+ // No "nursery" group (refs #4886): nursery rules are off unless
65
+ // named, and biome renames them between minors, so one stale key
66
+ // makes the managed (latest) biome reject this whole config.
67
67
  }
68
68
  },
69
69
  "javascript": {
@@ -2,16 +2,16 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  classifyProbeFailure,
4
4
  installRetryDelayMs
5
- } from "./chunk-5LRUKYFA.js";
5
+ } from "./chunk-5APMQ2IJ.js";
6
6
  import {
7
7
  safeSpawnAsync
8
- } from "./chunk-TPYYEDP5.js";
8
+ } from "./chunk-Q3UZHW6N.js";
9
9
  import {
10
10
  assertInstallAllowed
11
- } from "./chunk-EIKRZ32J.js";
11
+ } from "./chunk-MN7MHUXQ.js";
12
12
  import {
13
13
  logExtension
14
- } from "./chunk-N3PLNNCW.js";
14
+ } from "./chunk-KXF5R4UN.js";
15
15
 
16
16
  // dist/clients/dispatch/runners/utils/lazy-installer.js
17
17
  var LAZY_INSTALL_SPECS = {
@@ -4,44 +4,44 @@ import {
4
4
  } from "./chunk-7U2IDNXN.js";
5
5
  import {
6
6
  formatToolFailure
7
- } from "./chunk-VIDEKABZ.js";
7
+ } from "./chunk-SJJYRZB4.js";
8
8
  import {
9
9
  firstOutputLine,
10
10
  spawnFailedWithNoOutput
11
- } from "./chunk-T4NGVFYI.js";
11
+ } from "./chunk-2X4VLOCC.js";
12
12
  import {
13
13
  getScratchTreeFnmatchPatterns
14
- } from "./chunk-KPVLQHCZ.js";
14
+ } from "./chunk-AMXIUN2R.js";
15
15
  import {
16
16
  extractTomlTableSection,
17
17
  parseTomlStringArray
18
- } from "./chunk-KX56K73G.js";
18
+ } from "./chunk-ZKXQKGWZ.js";
19
19
  import {
20
20
  findLocalBinsAt
21
- } from "./chunk-K4SZB56V.js";
21
+ } from "./chunk-Z7IGUAXL.js";
22
22
  import {
23
23
  probeToolAsync
24
- } from "./chunk-XI34NWDI.js";
24
+ } from "./chunk-ARD426WI.js";
25
25
  import {
26
26
  classifyProbeFailure,
27
27
  createAvailabilityLatch,
28
28
  logAvailabilityDecision,
29
29
  startHostStallSampler
30
- } from "./chunk-5LRUKYFA.js";
30
+ } from "./chunk-5APMQ2IJ.js";
31
31
  import {
32
32
  VENV_BIN_DIRS,
33
33
  listNestedLinkedWorktreeRoots,
34
34
  safeSpawnAsync
35
- } from "./chunk-TPYYEDP5.js";
35
+ } from "./chunk-Q3UZHW6N.js";
36
36
  import {
37
37
  incrementDegradationCount
38
- } from "./chunk-FWZRGGGY.js";
38
+ } from "./chunk-ZQ6NZZTB.js";
39
39
  import {
40
40
  createSubsystemLogger
41
- } from "./chunk-N3PLNNCW.js";
41
+ } from "./chunk-KXF5R4UN.js";
42
42
  import {
43
43
  findNearestMarkerRoot
44
- } from "./chunk-EWXXLS26.js";
44
+ } from "./chunk-PQJFG24Z.js";
45
45
 
46
46
  // dist/clients/dead-code-client.js
47
47
  import * as fs from "node:fs";
@@ -0,0 +1,73 @@
1
+ import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
+ import {
3
+ adaptLspService,
4
+ getLSPService,
5
+ groupFilesByPrimaryServer,
6
+ hasAuxiliaryLspPublishedForRoot,
7
+ notifyExternalFileChange,
8
+ peekLSPService,
9
+ resetLSPService,
10
+ resyncGitChangedFiles,
11
+ runPerServerGroups
12
+ } from "./chunk-GZE7WOI4.js";
13
+ import "./chunk-DC4CFXM5.js";
14
+ import "./chunk-XIMYZ3JA.js";
15
+ import "./chunk-3WEPUD2V.js";
16
+ import "./chunk-JL6CXUMW.js";
17
+ import "./chunk-NDMCVUYK.js";
18
+ import "./chunk-PPIBVH4R.js";
19
+ import "./chunk-F5Z6URKM.js";
20
+ import "./chunk-OJLTLYHB.js";
21
+ import "./chunk-63RIVFQI.js";
22
+ import "./chunk-PKES3ISE.js";
23
+ import "./chunk-ZKXQKGWZ.js";
24
+ import "./chunk-GAACZY6R.js";
25
+ import "./chunk-Z54ZSOBZ.js";
26
+ import "./chunk-ZUUI3ZSA.js";
27
+ import "./chunk-TIQJPRDD.js";
28
+ import "./chunk-YISME6ON.js";
29
+ import "./chunk-6HWVI6MI.js";
30
+ import "./chunk-UHGF5UT5.js";
31
+ import "./chunk-CKEQFGLT.js";
32
+ import "./chunk-CJYKEW2L.js";
33
+ import "./chunk-VPBIMOAQ.js";
34
+ import "./chunk-ZYNI26MI.js";
35
+ import "./chunk-BM5GS6ZH.js";
36
+ import "./chunk-NNKXDXXS.js";
37
+ import "./chunk-2BEMIWEW.js";
38
+ import "./chunk-IJYGIDF4.js";
39
+ import "./chunk-MKVZQUEG.js";
40
+ import "./chunk-MT6BVNFW.js";
41
+ import "./chunk-Z7IGUAXL.js";
42
+ import "./chunk-ARD426WI.js";
43
+ import "./chunk-5APMQ2IJ.js";
44
+ import "./chunk-NIU2IPC5.js";
45
+ import "./chunk-BWYQUPOS.js";
46
+ import "./chunk-2RLWJO5K.js";
47
+ import "./chunk-VG5JS5SW.js";
48
+ import "./chunk-Q3UZHW6N.js";
49
+ import "./chunk-AWQWXSW4.js";
50
+ import "./chunk-QYF5S6P6.js";
51
+ import "./chunk-RZOXUSPC.js";
52
+ import "./chunk-OLAWH5UQ.js";
53
+ import "./chunk-J6JP25XU.js";
54
+ import "./chunk-MN7MHUXQ.js";
55
+ import "./chunk-ZQ6NZZTB.js";
56
+ import "./chunk-KXF5R4UN.js";
57
+ import "./chunk-S26LC76R.js";
58
+ import "./chunk-Z2XAOKHK.js";
59
+ import "./chunk-VSFLRN5Y.js";
60
+ import "./chunk-LJDODBBZ.js";
61
+ import "./chunk-PQJFG24Z.js";
62
+ import "./chunk-NXL4FFQQ.js";
63
+ export {
64
+ adaptLspService,
65
+ getLSPService,
66
+ groupFilesByPrimaryServer,
67
+ hasAuxiliaryLspPublishedForRoot,
68
+ notifyExternalFileChange,
69
+ peekLSPService,
70
+ resetLSPService,
71
+ resyncGitChangedFiles,
72
+ runPerServerGroups
73
+ };
@@ -4,10 +4,10 @@ import {
4
4
  getOwnedLspService,
5
5
  peekOwnedLspService,
6
6
  resetOwnedLspService
7
- } from "./chunk-2LDMXL2M.js";
8
- import "./chunk-XWFIHYCH.js";
9
- import "./chunk-TVZRLTG6.js";
10
- import "./chunk-EWXXLS26.js";
7
+ } from "./chunk-F5Z6URKM.js";
8
+ import "./chunk-Z2XAOKHK.js";
9
+ import "./chunk-VSFLRN5Y.js";
10
+ import "./chunk-PQJFG24Z.js";
11
11
  import "./chunk-NXL4FFQQ.js";
12
12
  export {
13
13
  configureLspServiceLifecycle,