@herbertgao/pi-extensions 2026.11.4 → 2026.11.6

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 (207) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +9 -9
  3. package/THIRD_PARTY_NOTICES.md +2 -2
  4. package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +10 -0
  5. package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +5 -4
  6. package/node_modules/@herbertgao/pi-cc-extensions/README.md +5 -4
  7. package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +4 -4
  8. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/compact-thinking.ts +6 -0
  9. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/footer.ts +22 -4
  10. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/session-tokens.ts +3 -3
  11. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +22 -2
  12. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/index.ts +5 -0
  13. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/ccstyle-tool.ts +38 -6
  14. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/codemode.ts +2 -1
  15. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-header.ts +4 -4
  16. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-layout.ts +6 -6
  17. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-palette.ts +4 -4
  18. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-presentation.ts +2 -2
  19. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/tool-io.ts +3 -2
  20. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-mode.ts +465 -0
  21. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-scope.ts +44 -0
  22. package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
  23. package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark-hc.json +2 -4
  24. package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark.json +3 -5
  25. package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light-hc.json +2 -4
  26. package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light.json +3 -5
  27. package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +10 -0
  28. package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
  29. package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
  30. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +1 -1
  31. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/asset-producer.md +1 -1
  32. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/documenter.md +4 -4
  33. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/finish-reviewer.md +2 -2
  34. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/manual-edit-applier.md +3 -2
  35. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/hooks.md +13 -7
  36. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/init.md +2 -0
  37. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/live.md +5 -3
  38. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work.md +2 -2
  39. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
  40. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
  41. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable +39 -22
  42. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable.cmd +43 -15
  43. package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +357 -139
  44. package/node_modules/@narumitw/pi-btw/CHANGELOG.md +8 -0
  45. package/node_modules/@narumitw/pi-btw/README.md +1 -0
  46. package/node_modules/@narumitw/pi-btw/dist/chunks/bring-to-main-VMICX6GU.ts +450 -0
  47. package/node_modules/@narumitw/pi-btw/dist/chunks/bring-to-main-VMICX6GU.ts.map +7 -0
  48. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-6GO5M6UJ.ts +142 -0
  49. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-6GO5M6UJ.ts.map +7 -0
  50. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-E4LBFYRH.ts +452 -0
  51. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-E4LBFYRH.ts.map +7 -0
  52. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-FWW662MW.ts +329 -0
  53. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-FWW662MW.ts.map +7 -0
  54. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-TPDBHPLD.ts +614 -0
  55. package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-TPDBHPLD.ts.map +7 -0
  56. package/node_modules/@narumitw/pi-btw/dist/chunks/fullscreen-ui-4MJ3HOFJ.ts +1400 -0
  57. package/node_modules/@narumitw/pi-btw/dist/chunks/fullscreen-ui-4MJ3HOFJ.ts.map +7 -0
  58. package/node_modules/@narumitw/pi-btw/dist/chunks/import-main-updates-XFSIED52.ts +79 -0
  59. package/node_modules/@narumitw/pi-btw/dist/chunks/import-main-updates-XFSIED52.ts.map +7 -0
  60. package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WHRN26NJ.ts +328 -0
  61. package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WHRN26NJ.ts.map +7 -0
  62. package/node_modules/@narumitw/pi-btw/dist/chunks/menu-SYMLQYWC.ts +15 -0
  63. package/node_modules/@narumitw/pi-btw/dist/chunks/menu-SYMLQYWC.ts.map +7 -0
  64. package/node_modules/@narumitw/pi-btw/dist/chunks/transcript-pager-D7XAJC65.ts +824 -0
  65. package/node_modules/@narumitw/pi-btw/dist/chunks/transcript-pager-D7XAJC65.ts.map +7 -0
  66. package/node_modules/@narumitw/pi-btw/dist/index.ts +111 -4497
  67. package/node_modules/@narumitw/pi-btw/dist/index.ts.map +4 -4
  68. package/node_modules/@narumitw/pi-btw/package.json +2 -2
  69. package/node_modules/@narumitw/pi-btw/src/btw.ts +55 -30
  70. package/node_modules/pi-antigravity/README.md +6 -2
  71. package/node_modules/pi-antigravity/package.json +9 -5
  72. package/node_modules/pi-antigravity/src/features/generate-image.ts +9 -3
  73. package/node_modules/pi-antigravity/src/features/google-search.ts +3 -2
  74. package/node_modules/pi-antigravity/src/image/image.ts +42 -4
  75. package/node_modules/pi-antigravity/src/index.ts +3 -1
  76. package/node_modules/pi-antigravity/src/models/models.ts +27 -2
  77. package/node_modules/pi-antigravity/src/search/search.ts +7 -2
  78. package/node_modules/pi-antigravity/src/stream/stream.ts +91 -15
  79. package/node_modules/pi-antigravity/src/types/types.ts +2 -0
  80. package/node_modules/pi-antigravity/src/utils/util.ts +7 -0
  81. package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
  82. package/node_modules/pi-lens/CHANGELOG.md +80 -0
  83. package/node_modules/pi-lens/README.md +2 -0
  84. package/node_modules/pi-lens/dist/{chunk-CM6BDY4E.js → chunk-2ADRLTM2.js} +2 -2
  85. package/node_modules/pi-lens/dist/{chunk-XO756WE5.js → chunk-2LVJQU3I.js} +15 -14
  86. package/node_modules/pi-lens/dist/{chunk-W5E72HJA.js → chunk-3FRI5H4T.js} +13 -1
  87. package/node_modules/pi-lens/dist/{chunk-N5CEGQPG.js → chunk-3HM4BUHR.js} +11 -11
  88. package/node_modules/pi-lens/dist/{chunk-UAKO2M6B.js → chunk-3QWVOBZJ.js} +30 -30
  89. package/node_modules/pi-lens/dist/{chunk-QB7T2PHK.js → chunk-46TQJSUE.js} +3 -1
  90. package/node_modules/pi-lens/dist/{chunk-ZZN74OGD.js → chunk-4ITEFRDH.js} +3 -2
  91. package/node_modules/pi-lens/dist/{chunk-C3YRO3EU.js → chunk-4NCDHTFI.js} +6 -6
  92. package/node_modules/pi-lens/dist/{chunk-G22UNQID.js → chunk-6I44EDNQ.js} +10 -10
  93. package/node_modules/pi-lens/dist/{chunk-OUYAUXAT.js → chunk-6MDM5MQT.js} +169 -56
  94. package/node_modules/pi-lens/dist/{chunk-CDFJF5YD.js → chunk-7JX3RNG4.js} +1 -1
  95. package/node_modules/pi-lens/dist/{chunk-PIIUNJIT.js → chunk-7WJ55KBN.js} +1 -1
  96. package/node_modules/pi-lens/dist/{chunk-ZMMHHXSW.js → chunk-A5TEJZGJ.js} +1 -0
  97. package/node_modules/pi-lens/dist/{chunk-HEA3EM23.js → chunk-ALIZWXHZ.js} +8 -8
  98. package/node_modules/pi-lens/dist/{chunk-MQ4PPCJB.js → chunk-AON2QIJF.js} +32 -36
  99. package/node_modules/pi-lens/dist/{chunk-DGKFWQK4.js → chunk-B2YUE6YD.js} +7 -7
  100. package/node_modules/pi-lens/dist/{chunk-GQTQUNCG.js → chunk-B6HXETWY.js} +20 -20
  101. package/node_modules/pi-lens/dist/{chunk-KR5VGMVT.js → chunk-BDR5MEZY.js} +9 -9
  102. package/node_modules/pi-lens/dist/{chunk-MRLH4MYU.js → chunk-BGLS5SDN.js} +1 -1
  103. package/node_modules/pi-lens/dist/{chunk-PRHYIA6X.js → chunk-BRESRQBE.js} +4 -4
  104. package/node_modules/pi-lens/dist/{chunk-5GEYJJHG.js → chunk-C6AODRNU.js} +7 -7
  105. package/node_modules/pi-lens/dist/{chunk-ZZSJAR76.js → chunk-CTB5BAJI.js} +24 -11
  106. package/node_modules/pi-lens/dist/{chunk-IICERRFF.js → chunk-CYUJB552.js} +4 -4
  107. package/node_modules/pi-lens/dist/{chunk-THYHUIDR.js → chunk-CZAWWXP6.js} +1 -1
  108. package/node_modules/pi-lens/dist/{chunk-QJJKOHLH.js → chunk-DBS736MA.js} +27 -27
  109. package/node_modules/pi-lens/dist/{chunk-XLAI7UYY.js → chunk-DOUAWKLO.js} +8 -8
  110. package/node_modules/pi-lens/dist/{chunk-LAHHGNAY.js → chunk-DVRJBQOJ.js} +12 -12
  111. package/node_modules/pi-lens/dist/{chunk-KV6GQOGN.js → chunk-E4VXKTBR.js} +28 -28
  112. package/node_modules/pi-lens/dist/{chunk-XKFO2SZV.js → chunk-F6FT6BVQ.js} +26 -26
  113. package/node_modules/pi-lens/dist/{chunk-VWLSU3XV.js → chunk-FCQSZQAT.js} +1 -1
  114. package/node_modules/pi-lens/dist/{chunk-X5BJ3G2P.js → chunk-FOEPIX76.js} +1 -1
  115. package/node_modules/pi-lens/dist/{chunk-F6BEQWAK.js → chunk-GMC4ZGYR.js} +4 -4
  116. package/node_modules/pi-lens/dist/{chunk-TOE2RRCS.js → chunk-GTTMQ6XB.js} +1 -1
  117. package/node_modules/pi-lens/dist/{chunk-5YSEQHJN.js → chunk-GUGKKGG7.js} +1 -1
  118. package/node_modules/pi-lens/dist/{chunk-OSEKJEUU.js → chunk-GVWIU7M7.js} +1 -1
  119. package/node_modules/pi-lens/dist/{chunk-TMNUTMT5.js → chunk-H65TYP6V.js} +25 -4
  120. package/node_modules/pi-lens/dist/{chunk-7R5GZIA6.js → chunk-HILZE4BQ.js} +5 -4
  121. package/node_modules/pi-lens/dist/{chunk-HYSKJMZK.js → chunk-HSYFLOZY.js} +2 -2
  122. package/node_modules/pi-lens/dist/{chunk-V2WDBOLZ.js → chunk-I32RSMH6.js} +7 -7
  123. package/node_modules/pi-lens/dist/chunk-I74RQGKA.js +88 -0
  124. package/node_modules/pi-lens/dist/{chunk-RNXOWDM6.js → chunk-IDCTDKIA.js} +3 -3
  125. package/node_modules/pi-lens/dist/{chunk-TYHPVE5H.js → chunk-IK4YS3KC.js} +8 -8
  126. package/node_modules/pi-lens/dist/{chunk-ZCQBNPRH.js → chunk-IL6PIV33.js} +2 -2
  127. package/node_modules/pi-lens/dist/{chunk-6GPB3JLL.js → chunk-J6BR5XN2.js} +2 -2
  128. package/node_modules/pi-lens/dist/{chunk-UC5AXW5Z.js → chunk-JKOZ2Z4U.js} +6 -6
  129. package/node_modules/pi-lens/dist/{chunk-WSSLVMDA.js → chunk-JZQGRARR.js} +7 -7
  130. package/node_modules/pi-lens/dist/{chunk-7UTSNTWM.js → chunk-K6WIBVMK.js} +4 -3
  131. package/node_modules/pi-lens/dist/{chunk-QVBOXT3L.js → chunk-KDCIG23C.js} +6 -6
  132. package/node_modules/pi-lens/dist/{chunk-NOWH2VA2.js → chunk-KFRDFAOE.js} +4 -4
  133. package/node_modules/pi-lens/dist/{chunk-NMUSOZ2D.js → chunk-KJ3AHOCK.js} +6 -6
  134. package/node_modules/pi-lens/dist/{chunk-E65WJVI5.js → chunk-KSTQ4VXT.js} +5 -5
  135. package/node_modules/pi-lens/dist/{chunk-4ENEJHF4.js → chunk-MAD4QJTP.js} +9 -9
  136. package/node_modules/pi-lens/dist/{chunk-KXMJLOZF.js → chunk-NBM7PNBP.js} +7 -7
  137. package/node_modules/pi-lens/dist/{chunk-7YTRG6YW.js → chunk-NE4EFHJX.js} +1 -1
  138. package/node_modules/pi-lens/dist/{chunk-AACN5GNE.js → chunk-NPNFGYLV.js} +3 -1
  139. package/node_modules/pi-lens/dist/{chunk-H3BVMK47.js → chunk-OPFNQBS5.js} +5 -5
  140. package/node_modules/pi-lens/dist/{chunk-WTB4GKMH.js → chunk-OTSTS7L2.js} +11 -2
  141. package/node_modules/pi-lens/dist/{chunk-JUZ67QZQ.js → chunk-PTSA6QKL.js} +7 -7
  142. package/node_modules/pi-lens/dist/{chunk-ZPM7ZIFL.js → chunk-Q2VCKC3X.js} +3 -3
  143. package/node_modules/pi-lens/dist/{chunk-2VZ3VN3N.js → chunk-QHOTTC4A.js} +2 -2
  144. package/node_modules/pi-lens/dist/{chunk-L7O774U7.js → chunk-QL37SGTS.js} +105 -13
  145. package/node_modules/pi-lens/dist/{chunk-FRUBVFXV.js → chunk-QMV2APEH.js} +27 -27
  146. package/node_modules/pi-lens/dist/{chunk-L4Y3ROKQ.js → chunk-QSCZAP24.js} +3 -3
  147. package/node_modules/pi-lens/dist/{chunk-IILEH3ZC.js → chunk-QUPYLQA4.js} +4 -4
  148. package/node_modules/pi-lens/dist/{chunk-3NPWO5UO.js → chunk-QUQY3IME.js} +4 -4
  149. package/node_modules/pi-lens/dist/{chunk-FGNSESAC.js → chunk-QWTHFFU6.js} +8 -8
  150. package/node_modules/pi-lens/dist/{chunk-EKNYSXFB.js → chunk-RQRKIRFY.js} +5 -5
  151. package/node_modules/pi-lens/dist/{chunk-NCLO6E6N.js → chunk-S3WFVG5P.js} +14 -21
  152. package/node_modules/pi-lens/dist/{chunk-RTFMDIKV.js → chunk-SG2JQ2YP.js} +1 -1
  153. package/node_modules/pi-lens/dist/{chunk-VO4JFPTV.js → chunk-SJQUWQR6.js} +2 -2
  154. package/node_modules/pi-lens/dist/{chunk-SLSMJPEF.js → chunk-SKVNHCT5.js} +32 -32
  155. package/node_modules/pi-lens/dist/{chunk-3HTZDY3C.js → chunk-TJQSYX3J.js} +3 -3
  156. package/node_modules/pi-lens/dist/{chunk-RNJFRXEN.js → chunk-TLWFZ66Y.js} +3 -3
  157. package/node_modules/pi-lens/dist/{chunk-LWOM6LVS.js → chunk-TN5CWX5D.js} +26 -26
  158. package/node_modules/pi-lens/dist/{chunk-UTJP6WOS.js → chunk-TQHOKMVZ.js} +11 -11
  159. package/node_modules/pi-lens/dist/{chunk-N56BNAA6.js → chunk-TYHOEX4V.js} +15 -15
  160. package/node_modules/pi-lens/dist/{chunk-QP33NKYC.js → chunk-UNBRHPHJ.js} +10 -10
  161. package/node_modules/pi-lens/dist/{chunk-EY6LY2HO.js → chunk-UOO4D2TK.js} +11 -11
  162. package/node_modules/pi-lens/dist/{chunk-47UCC4MM.js → chunk-UY745U35.js} +1 -1
  163. package/node_modules/pi-lens/dist/{chunk-ZDMFGACN.js → chunk-V7F7JHS5.js} +71 -55
  164. package/node_modules/pi-lens/dist/{chunk-PBZNYHMM.js → chunk-VGTBLTPN.js} +4 -4
  165. package/node_modules/pi-lens/dist/{chunk-L6WBJGQS.js → chunk-VPFRU5IG.js} +1 -1
  166. package/node_modules/pi-lens/dist/{chunk-Q6JQKWPK.js → chunk-VS2L7QDI.js} +8 -8
  167. package/node_modules/pi-lens/dist/{chunk-PXQ45SGD.js → chunk-W4CUK5G6.js} +2 -2
  168. package/node_modules/pi-lens/dist/{chunk-MKPDIAZH.js → chunk-WAA63ZJV.js} +1 -1
  169. package/node_modules/pi-lens/dist/{chunk-J3Q2NYJR.js → chunk-WS3UFJOU.js} +1 -1
  170. package/node_modules/pi-lens/dist/{chunk-T5QSLSMM.js → chunk-XAFZJEXY.js} +16 -16
  171. package/node_modules/pi-lens/dist/{chunk-YOXCCJDF.js → chunk-XPGH5O74.js} +56 -46
  172. package/node_modules/pi-lens/dist/{chunk-UXTQ3QPD.js → chunk-Y3EHLUPL.js} +2 -2
  173. package/node_modules/pi-lens/dist/{chunk-HSOBIN22.js → chunk-YF4G5NN5.js} +2 -2
  174. package/node_modules/pi-lens/dist/{chunk-SIQHOB6P.js → chunk-YQA34KAF.js} +7 -7
  175. package/node_modules/pi-lens/dist/{chunk-V67D6TMU.js → chunk-YT2VR4SL.js} +4 -4
  176. package/node_modules/pi-lens/dist/{chunk-CJS6WE66.js → chunk-ZOPXB2KK.js} +11 -11
  177. package/node_modules/pi-lens/dist/{chunk-H6FLQ5NW.js → chunk-ZPFLHB3R.js} +11 -11
  178. package/node_modules/pi-lens/dist/{chunk-ZVCDHYWZ.js → chunk-ZZDVGCGG.js} +6 -6
  179. package/node_modules/pi-lens/dist/index.js +537 -269
  180. package/node_modules/pi-lens/dist/mcp/analyze-cli.js +6 -6
  181. package/node_modules/pi-lens/dist/mcp/cli.js +32 -32
  182. package/node_modules/pi-lens/dist/mcp/server.js +109 -109
  183. package/node_modules/pi-lens/dist/mcp/worker.js +49 -49
  184. package/node_modules/pi-lens/dist/probes/installer.js +13 -13
  185. package/node_modules/pi-lens/docs/agent-guide.md +2 -1
  186. package/node_modules/pi-lens/docs/agent-tools.md +13 -2
  187. package/node_modules/pi-lens/docs/configuration.md +9 -4
  188. package/node_modules/pi-lens/docs/defect-shapes.md +15 -1
  189. package/node_modules/pi-lens/docs/features.md +11 -1
  190. package/node_modules/pi-lens/docs/globalconfig.md +13 -0
  191. package/node_modules/pi-lens/docs/invariants/language-config.md +9 -1
  192. package/node_modules/pi-lens/docs/language-coverage.md +66 -0
  193. package/node_modules/pi-lens/docs/lsp-capability-matrix.md +66 -20
  194. package/node_modules/pi-lens/docs/lsp-idle-eviction.md +17 -13
  195. package/node_modules/pi-lens/docs/pi-lens-fixer.md +8 -6
  196. package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +5 -1
  197. package/node_modules/pi-lens/docs/pi-lens-release.md +3 -2
  198. package/node_modules/pi-lens/docs/pi-lens-reviewer.md +52 -11
  199. package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
  200. package/node_modules/pi-lens/docs/settings.md +7 -4
  201. package/node_modules/pi-lens/docs/usage.md +1 -0
  202. package/node_modules/pi-lens/package.json +2 -2
  203. package/node_modules/pi-lens/scripts/download-grammars.js +10 -0
  204. package/node_modules/pi-lens/scripts/grammars.lock.json +7 -0
  205. package/node_modules/pi-lens/vendor/grammars/tree-sitter-groovy.wasm +0 -0
  206. package/package.json +7 -7
  207. package/node_modules/pi-lens/dist/chunk-TGQDAG4B.js +0 -88
@@ -1,13 +1,13 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  resolveOpengrepConfig
4
- } from "./chunk-7YTRG6YW.js";
4
+ } from "./chunk-NE4EFHJX.js";
5
5
  import {
6
6
  PYTHON_COMPILE_VERDICT_SERVER_ID,
7
7
  augmentPythonEnvironment,
8
8
  detectPythonEnvironment,
9
9
  pythonEnvironmentToolCandidates
10
- } from "./chunk-V67D6TMU.js";
10
+ } from "./chunk-YT2VR4SL.js";
11
11
  import {
12
12
  scannerReportParentDir
13
13
  } from "./chunk-LT62P654.js";
@@ -16,24 +16,25 @@ import {
16
16
  readCargoWorkspaceExclude,
17
17
  readCargoWorkspaceMembers,
18
18
  readTextFileOrUndefined
19
- } from "./chunk-J3Q2NYJR.js";
19
+ } from "./chunk-WS3UFJOU.js";
20
20
  import {
21
21
  getUserRuleRoot,
22
22
  ruleCorpusFingerprintForCycle
23
- } from "./chunk-5YSEQHJN.js";
23
+ } from "./chunk-GUGKKGG7.js";
24
24
  import {
25
25
  load,
26
26
  resolvePackagePath
27
27
  } from "./chunk-QGITU23N.js";
28
28
  import {
29
- extensionsForLanguage
30
- } from "./chunk-WTB4GKMH.js";
29
+ extensionsForLanguage,
30
+ isTypeScriptFile
31
+ } from "./chunk-OTSTS7L2.js";
31
32
  import {
32
33
  HOOK_WALL_BUDGET_MS
33
34
  } from "./chunk-CKEQFGLT.js";
34
35
  import {
35
36
  bounded
36
- } from "./chunk-MKPDIAZH.js";
37
+ } from "./chunk-WAA63ZJV.js";
37
38
  import {
38
39
  ensureTool,
39
40
  findManagedToolBinary,
@@ -43,25 +44,25 @@ import {
43
44
  isZizmorAuditTarget,
44
45
  logSessionStart,
45
46
  resolveZizmorGitHubToken
46
- } from "./chunk-MQ4PPCJB.js";
47
+ } from "./chunk-AON2QIJF.js";
47
48
  import {
48
49
  resolveToolCwd
49
- } from "./chunk-RNJFRXEN.js";
50
+ } from "./chunk-TLWFZ66Y.js";
50
51
  import {
51
52
  commandSearchReachesProject,
52
53
  findGlobalBinary,
53
54
  isProjectLocalBinPath
54
- } from "./chunk-E65WJVI5.js";
55
+ } from "./chunk-KSTQ4VXT.js";
55
56
  import {
56
57
  classifyProbeFailure,
57
58
  createAvailabilityLatch,
58
59
  describeInstallAttempt,
59
60
  logAvailabilityDecision,
60
61
  startHostStallSampler
61
- } from "./chunk-AACN5GNE.js";
62
+ } from "./chunk-NPNFGYLV.js";
62
63
  import {
63
64
  readDirEntriesSafeAsync
64
- } from "./chunk-ZCQBNPRH.js";
65
+ } from "./chunk-IL6PIV33.js";
65
66
  import {
66
67
  OWNER_TAG_ENV,
67
68
  SpawnFailureError,
@@ -90,7 +91,7 @@ import {
90
91
  safeSpawnAsync,
91
92
  statIsFile,
92
93
  trustScopedEnvironment
93
- } from "./chunk-TMNUTMT5.js";
94
+ } from "./chunk-H65TYP6V.js";
94
95
  import {
95
96
  DOTNET_CSHARP_ROOT_MARKERS,
96
97
  DOTNET_FSHARP_ROOT_MARKERS,
@@ -108,7 +109,7 @@ import {
108
109
  reportPiLensConfigRecords,
109
110
  resolvePiLensConfig,
110
111
  summarizeConfigResolution
111
- } from "./chunk-X5BJ3G2P.js";
112
+ } from "./chunk-FOEPIX76.js";
112
113
  import {
113
114
  FRESHNESS_CADENCE_MS,
114
115
  LSP_NAMESPACE_KEY,
@@ -123,13 +124,13 @@ import {
123
124
  import {
124
125
  getProjectTrustGeneration,
125
126
  getProjectTrustState
126
- } from "./chunk-PIIUNJIT.js";
127
+ } from "./chunk-7WJ55KBN.js";
127
128
  import {
128
129
  getDegradationLedgerGeneration,
129
130
  incrementDegradationCount,
130
131
  logExtension,
131
132
  recordDegradationOnce
132
- } from "./chunk-W5E72HJA.js";
133
+ } from "./chunk-3FRI5H4T.js";
133
134
  import {
134
135
  claimPhaseOncePerSession,
135
136
  currentSessionRecordId,
@@ -910,22 +911,23 @@ async function buildAugmentedPath(basePath) {
910
911
  return toAppend.join(path4.delimiter);
911
912
  return `${basePath}${path4.delimiter}${toAppend.join(path4.delimiter)}`;
912
913
  }
913
- function isCmdShimValid(cmdPath) {
914
+ function isCmdShimValid(cmdPath, cwd) {
915
+ const shimFile = cwd === void 0 ? cmdPath : path4.resolve(cwd, cmdPath);
914
916
  try {
915
- const content = fs5.readFileSync(cmdPath, "utf-8");
917
+ const content = fs5.readFileSync(shimFile, "utf-8");
916
918
  const match = content.match(/"%~dp0[/\\]\.\.[/\\]((?:[\w./@-]|\\)+\.(?:mjs|cjs|js))"/i);
917
919
  if (!match)
918
920
  return true;
919
921
  const relPath = match[1].replace(/[/\\]/g, path4.sep);
920
- const target = path4.resolve(path4.dirname(cmdPath), "..", relPath);
922
+ const target = path4.resolve(path4.dirname(shimFile), "..", relPath);
921
923
  return fs5.existsSync(target);
922
924
  } catch {
923
- return true;
925
+ return statIsFile(shimFile);
924
926
  }
925
927
  }
926
928
  function windowsCommandPresence(evidence) {
927
929
  const { command, spawnCommand } = evidence;
928
- if (/\.(cmd|bat)$/i.test(spawnCommand) && isCmdShimValid(spawnCommand)) {
930
+ if (/\.(cmd|bat)$/i.test(spawnCommand) && isCmdShimValid(spawnCommand, evidence.cwd)) {
929
931
  return "present";
930
932
  }
931
933
  if (evidence.isBareCommand) {
@@ -933,10 +935,10 @@ function windowsCommandPresence(evidence) {
933
935
  }
934
936
  return statIsFile(spawnCommand) || resolveWindowsCommandForEnvironment(spawnCommand, evidence.cwd, evidence.env) ? "present" : "absent";
935
937
  }
936
- function isMissingWindowsStartupCommand(spawnCommand, presence) {
938
+ function isMissingWindowsStartupCommand(spawnCommand, presence, cwd) {
937
939
  if (!isWindows)
938
940
  return false;
939
- if (/\.(cmd|bat)$/i.test(spawnCommand) && !isCmdShimValid(spawnCommand)) {
941
+ if (/\.(cmd|bat)$/i.test(spawnCommand) && !isCmdShimValid(spawnCommand, cwd)) {
940
942
  return true;
941
943
  }
942
944
  return presence === "absent";
@@ -1190,7 +1192,7 @@ async function launchLSP(command, args = [], options = {}) {
1190
1192
  }
1191
1193
  if (isBareCommand)
1192
1194
  refuseProjectLookup(command, spawnCommand, cwd, env);
1193
- if (isWindows && /\.(cmd|bat)$/i.test(spawnCommand) && !isCmdShimValid(spawnCommand)) {
1195
+ if (isWindows && /\.(cmd|bat)$/i.test(spawnCommand) && !isCmdShimValid(spawnCommand, cwd)) {
1194
1196
  logSessionStart2(`lsp cmd-shim-invalid: ${spawnCommand} target missing \u2014 skipping candidate`);
1195
1197
  const cause = Object.assign(new Error(`LSP .cmd shim target not found: ${spawnCommand}`), { code: "ENOENT" });
1196
1198
  throw await classifySpawnFailure(cause, { command, cwd });
@@ -1228,7 +1230,7 @@ async function launchLSP(command, args = [], options = {}) {
1228
1230
  if (proc.exitCode !== null || proc.killed) {
1229
1231
  const message = `LSP server ${command} exited immediately (code: ${proc.exitCode}). The binary may be missing or corrupted.`;
1230
1232
  const failure = new Error(message);
1231
- if (proc.exitCode === 1 && isMissingWindowsStartupCommand(spawnCommand, commandPresence)) {
1233
+ if (proc.exitCode === 1 && isMissingWindowsStartupCommand(spawnCommand, commandPresence, cwd)) {
1232
1234
  throw new SpawnFailureError("tool-not-found", message, failure);
1233
1235
  }
1234
1236
  throw failure;
@@ -1266,7 +1268,7 @@ async function launchLSP(command, args = [], options = {}) {
1266
1268
  const errorMsg = isWindowsCmd && code === 1 ? `npm .cmd shim failed (underlying binary not installed). Run 'npm install' in this project or use a global installation.` : `The binary may be missing or corrupted.`;
1267
1269
  const message = `LSP server ${command} exited immediately with code ${code}. ${errorMsg}${formatStartupStderr(startupStderr)}`;
1268
1270
  const failure = new Error(message);
1269
- if (code === 1 && isMissingWindowsStartupCommand(spawnCommand, commandPresence)) {
1271
+ if (code === 1 && isMissingWindowsStartupCommand(spawnCommand, commandPresence, cwd)) {
1270
1272
  reject(new SpawnFailureError("tool-not-found", message, failure));
1271
1273
  return;
1272
1274
  }
@@ -2035,13 +2037,12 @@ var SERVER_DIAGNOSTIC_STRATEGIES = {
2035
2037
  // clean→clean edit (docs/lsp-capability-matrix.md, re-confirmed
2036
2038
  // 2026-07-12). It's the lone core-set tier-3 server, which is exactly
2037
2039
  // why the cascade lane's in-lane wait is worth skipping for it
2038
- // specifically. Applies to the CLASSIC server only (#524/#529/#558)
2040
+ // specifically. Applies to the CLASSIC server only (#524/#529/#558/#5348)
2039
2041
  // — TS7's native `tsc --lsp --stdio` variant shares this
2040
- // "typescript" server id but the 2026-07-12 dual-environment
2041
- // re-measurement found it now publishes on clean (a drift from the
2042
- // #541 measurement); wait-policy/classification.ts's classifier checks the live
2043
- // snapshot's launchVariant and never applies this flag to a
2044
- // native-ts7 instance.
2042
+ // "typescript" server id; `getStrategy` answers it with
2043
+ // NATIVE_TS7_DIAGNOSTIC_STRATEGY and wait-policy/classification.ts's
2044
+ // classifier checks the live snapshot's launchVariant, so neither
2045
+ // applies this flag to a native-ts7 instance.
2045
2046
  silentOnClean: true
2046
2047
  },
2047
2048
  "rust-analyzer": {
@@ -2377,8 +2378,12 @@ var SERVER_DIAGNOSTIC_STRATEGIES = {
2377
2378
  var NATIVE_TS7_DIAGNOSTIC_STRATEGY = {
2378
2379
  ...SERVER_DIAGNOSTIC_STRATEGIES.typescript,
2379
2380
  seedFirstPush: false,
2380
- // Native TS7 demonstrably publishes on clean, so the classic-only marker
2381
- // must not leak through the shared server id.
2381
+ // #5348: the classic-only marker must not leak through the shared server id.
2382
+ // It turns a wait that lapses with no publish into a confirmed clean, and
2383
+ // nothing measures that a push-only TS7 build publishes a file's errors
2384
+ // inside the budget. Native TS7 7.0.2 and `effect-tsgo` (this strategy is
2385
+ // also its) are pull servers, so the marker is not read for them today (see
2386
+ // `silentOnClean`).
2382
2387
  silentOnClean: false
2383
2388
  };
2384
2389
  var DEFAULT_STRATEGY = {
@@ -4143,18 +4148,14 @@ var TS_TOOLING_MARKERS = [
4143
4148
  "yarn.lock",
4144
4149
  "package.json"
4145
4150
  ];
4146
- var TS_FAMILY_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".tsx", ".mts", ".cts"]);
4147
- function isTsFamilyFile(file) {
4148
- return TS_FAMILY_EXTENSIONS.has(path8.extname(file).toLowerCase());
4149
- }
4150
4151
  function tsConfigMarkersForFile(file) {
4151
- return isTsFamilyFile(file) ? ["tsconfig.json"] : TS_CONFIG_MARKERS;
4152
+ return isTypeScriptFile(file) ? ["tsconfig.json"] : TS_CONFIG_MARKERS;
4152
4153
  }
4153
4154
  var TypeScriptConfigRootTsOnly = IgnoreHomeRoot(createRootDetector(["tsconfig.json"]));
4154
4155
  var TypeScriptConfigRootEither = IgnoreHomeRoot(createRootDetector([...TS_CONFIG_MARKERS]));
4155
4156
  var TypeScriptToolingRoot = IgnoreHomeRoot(createRootDetector([...TS_TOOLING_MARKERS]));
4156
4157
  async function findTypeScriptProjectRoot(file) {
4157
- const configDetector = isTsFamilyFile(file) ? TypeScriptConfigRootTsOnly : TypeScriptConfigRootEither;
4158
+ const configDetector = isTypeScriptFile(file) ? TypeScriptConfigRootTsOnly : TypeScriptConfigRootEither;
4158
4159
  const [configRoot, toolingRoot] = await Promise.all([
4159
4160
  configDetector(file),
4160
4161
  TypeScriptToolingRoot(file)
@@ -4192,18 +4193,23 @@ async function findExtensionBoundedRoot(file, extensionRootKey) {
4192
4193
  }
4193
4194
  return void 0;
4194
4195
  }
4195
- async function hasAgentLevelProjectMarker(extensionRootKey) {
4196
+ async function classifyAgentLevelMarker(extensionRootKey, file) {
4196
4197
  const agentDir = path8.dirname(extensionRootKey);
4197
4198
  if (!agentDir || agentDir === extensionRootKey)
4198
- return false;
4199
- for (const pattern of [...TS_CONFIG_MARKERS, ...TS_TOOLING_MARKERS]) {
4199
+ return void 0;
4200
+ const configMarkers = tsConfigMarkersForFile(file);
4201
+ for (const pattern of [
4202
+ ...configMarkers,
4203
+ ...TS_CONFIG_MARKERS,
4204
+ ...TS_TOOLING_MARKERS
4205
+ ]) {
4200
4206
  try {
4201
4207
  await stat(path8.join(agentDir, pattern));
4202
- return true;
4208
+ return configMarkers.includes(pattern) ? "config" : "other";
4203
4209
  } catch {
4204
4210
  }
4205
4211
  }
4206
- return false;
4212
+ return void 0;
4207
4213
  }
4208
4214
  var TypeScriptRoot = withRootMarkers(DenoExcludeRoot(async (file) => {
4209
4215
  const extensionRootKey = piAgentExtensionsRootKey(file) ?? piAgentExtensionsRootKey(realpathOrResolve(file));
@@ -4211,7 +4217,11 @@ var TypeScriptRoot = withRootMarkers(DenoExcludeRoot(async (file) => {
4211
4217
  const bounded2 = await findExtensionBoundedRoot(file, extensionRootKey);
4212
4218
  if (bounded2)
4213
4219
  return bounded2;
4214
- if (await hasAgentLevelProjectMarker(extensionRootKey)) {
4220
+ const agentMarker = await classifyAgentLevelMarker(extensionRootKey, file);
4221
+ if (agentMarker === "config") {
4222
+ return realpathOrResolve(path8.dirname(extensionRootKey));
4223
+ }
4224
+ if (agentMarker === "other") {
4215
4225
  return FileDirRoot(file);
4216
4226
  }
4217
4227
  return void 0;
@@ -1,12 +1,12 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  withFactTree
4
- } from "./chunk-TOE2RRCS.js";
4
+ } from "./chunk-GTTMQ6XB.js";
5
5
  import {
6
6
  childrenOfType,
7
7
  firstChildOfType,
8
8
  walk
9
- } from "./chunk-ZZSJAR76.js";
9
+ } from "./chunk-CTB5BAJI.js";
10
10
  import {
11
11
  isJstsFactFile
12
12
  } from "./chunk-CZCAZVTD.js";
@@ -2,10 +2,10 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  DEFAULT_MAX_OUTPUT_BYTES,
4
4
  writeFileAtomic
5
- } from "./chunk-PIIUNJIT.js";
5
+ } from "./chunk-7WJ55KBN.js";
6
6
  import {
7
7
  incrementDegradationCount
8
- } from "./chunk-W5E72HJA.js";
8
+ } from "./chunk-3FRI5H4T.js";
9
9
 
10
10
  // dist/clients/mcp/ipc.js
11
11
  import * as crypto from "node:crypto";
@@ -1,25 +1,25 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  parseSymbolKey
4
- } from "./chunk-6GPB3JLL.js";
4
+ } from "./chunk-J6BR5XN2.js";
5
5
  import "./chunk-3MED75HT.js";
6
6
  import {
7
7
  isBuildArtifact
8
- } from "./chunk-RNXOWDM6.js";
9
- import "./chunk-ZCQBNPRH.js";
8
+ } from "./chunk-IDCTDKIA.js";
9
+ import "./chunk-IL6PIV33.js";
10
10
  import {
11
11
  getProjectDataDir
12
- } from "./chunk-TMNUTMT5.js";
12
+ } from "./chunk-H65TYP6V.js";
13
13
  import "./chunk-QYF5S6P6.js";
14
14
  import "./chunk-CZCAZVTD.js";
15
15
  import {
16
16
  detectFileRole
17
- } from "./chunk-X5BJ3G2P.js";
17
+ } from "./chunk-FOEPIX76.js";
18
18
  import "./chunk-NL5LSKVD.js";
19
19
  import {
20
20
  writeFileAtomic
21
- } from "./chunk-PIIUNJIT.js";
22
- import "./chunk-W5E72HJA.js";
21
+ } from "./chunk-7WJ55KBN.js";
22
+ import "./chunk-3FRI5H4T.js";
23
23
  import "./chunk-S26LC76R.js";
24
24
  import "./chunk-VCRVNLE7.js";
25
25
  import "./chunk-LJDODBBZ.js";
@@ -7,18 +7,18 @@ import {
7
7
  hasTomlTable,
8
8
  parseTomlScalarString,
9
9
  parseTomlStringArray
10
- } from "./chunk-J3Q2NYJR.js";
10
+ } from "./chunk-WS3UFJOU.js";
11
11
  import {
12
12
  resolveLanguage
13
- } from "./chunk-WTB4GKMH.js";
13
+ } from "./chunk-OTSTS7L2.js";
14
14
  import {
15
15
  getProjectTrustState
16
- } from "./chunk-PIIUNJIT.js";
16
+ } from "./chunk-7WJ55KBN.js";
17
17
  import {
18
18
  incrementDegradationCount,
19
19
  logExtension,
20
20
  recordDegradationOnce
21
- } from "./chunk-W5E72HJA.js";
21
+ } from "./chunk-3FRI5H4T.js";
22
22
  import {
23
23
  logLatency
24
24
  } from "./chunk-VCRVNLE7.js";
@@ -1,32 +1,32 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  getScratchTreeDirNames
4
- } from "./chunk-VO4JFPTV.js";
4
+ } from "./chunk-SJQUWQR6.js";
5
5
  import {
6
6
  SecurityScanClient
7
- } from "./chunk-PBZNYHMM.js";
8
- import "./chunk-ZZN74OGD.js";
7
+ } from "./chunk-VGTBLTPN.js";
8
+ import "./chunk-4ITEFRDH.js";
9
9
  import {
10
10
  resolveOpengrepConfig
11
- } from "./chunk-7YTRG6YW.js";
11
+ } from "./chunk-NE4EFHJX.js";
12
12
  import {
13
13
  scannerReportParentDir
14
14
  } from "./chunk-LT62P654.js";
15
15
  import {
16
16
  stripPackRuleIdPrefix
17
- } from "./chunk-RTFMDIKV.js";
18
- import "./chunk-L6WBJGQS.js";
19
- import "./chunk-AACN5GNE.js";
17
+ } from "./chunk-SG2JQ2YP.js";
18
+ import "./chunk-VPFRU5IG.js";
19
+ import "./chunk-NPNFGYLV.js";
20
20
  import {
21
21
  safeSpawnAsync
22
- } from "./chunk-TMNUTMT5.js";
22
+ } from "./chunk-H65TYP6V.js";
23
23
  import "./chunk-AWQWXSW4.js";
24
- import "./chunk-X5BJ3G2P.js";
24
+ import "./chunk-FOEPIX76.js";
25
25
  import "./chunk-NL5LSKVD.js";
26
- import "./chunk-PIIUNJIT.js";
26
+ import "./chunk-7WJ55KBN.js";
27
27
  import {
28
28
  recordDegradationOnce
29
- } from "./chunk-W5E72HJA.js";
29
+ } from "./chunk-3FRI5H4T.js";
30
30
  import "./chunk-S26LC76R.js";
31
31
  import "./chunk-VCRVNLE7.js";
32
32
  import "./chunk-LJDODBBZ.js";
@@ -2,21 +2,21 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  importFactProvider,
4
4
  importFactsApplyTo
5
- } from "./chunk-UXTQ3QPD.js";
6
- import "./chunk-TOE2RRCS.js";
7
- import "./chunk-ZZSJAR76.js";
5
+ } from "./chunk-Y3EHLUPL.js";
6
+ import "./chunk-GTTMQ6XB.js";
7
+ import "./chunk-CTB5BAJI.js";
8
8
  import "./chunk-Z54ZSOBZ.js";
9
- import "./chunk-5YSEQHJN.js";
9
+ import "./chunk-GUGKKGG7.js";
10
10
  import "./chunk-QGITU23N.js";
11
- import "./chunk-WTB4GKMH.js";
12
- import "./chunk-MKPDIAZH.js";
13
- import "./chunk-AACN5GNE.js";
14
- import "./chunk-TMNUTMT5.js";
11
+ import "./chunk-OTSTS7L2.js";
12
+ import "./chunk-WAA63ZJV.js";
13
+ import "./chunk-NPNFGYLV.js";
14
+ import "./chunk-H65TYP6V.js";
15
15
  import "./chunk-CZCAZVTD.js";
16
- import "./chunk-X5BJ3G2P.js";
16
+ import "./chunk-FOEPIX76.js";
17
17
  import "./chunk-NL5LSKVD.js";
18
- import "./chunk-PIIUNJIT.js";
19
- import "./chunk-W5E72HJA.js";
18
+ import "./chunk-7WJ55KBN.js";
19
+ import "./chunk-3FRI5H4T.js";
20
20
  import "./chunk-S26LC76R.js";
21
21
  import "./chunk-VCRVNLE7.js";
22
22
  import "./chunk-LJDODBBZ.js";
@@ -1,16 +1,16 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  parseSymbolKey
4
- } from "./chunk-6GPB3JLL.js";
4
+ } from "./chunk-J6BR5XN2.js";
5
5
  import {
6
6
  isTestRoleCollateral
7
- } from "./chunk-47UCC4MM.js";
7
+ } from "./chunk-UY745U35.js";
8
8
  import "./chunk-3MED75HT.js";
9
- import "./chunk-TMNUTMT5.js";
10
- import "./chunk-X5BJ3G2P.js";
9
+ import "./chunk-H65TYP6V.js";
10
+ import "./chunk-FOEPIX76.js";
11
11
  import "./chunk-NL5LSKVD.js";
12
- import "./chunk-PIIUNJIT.js";
13
- import "./chunk-W5E72HJA.js";
12
+ import "./chunk-7WJ55KBN.js";
13
+ import "./chunk-3FRI5H4T.js";
14
14
  import "./chunk-S26LC76R.js";
15
15
  import "./chunk-VCRVNLE7.js";
16
16
  import "./chunk-LJDODBBZ.js";