pi-agent-ide 0.2.0 → 0.2.1

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 (326) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/chunk-2XYXV5HS.js +4 -0
  3. package/dist/{chunk-YQTLJ5ZV.js → chunk-6XQQBKPE.js} +1 -1
  4. package/dist/{chunk-VUNCBASK.js → chunk-KH5KPBCR.js} +3 -3
  5. package/dist/chunk-L4FA6OD4.js +1 -0
  6. package/dist/chunk-LGN7EJYR.js +13 -0
  7. package/dist/chunk-MTQSGWZJ.js +1 -0
  8. package/dist/chunk-N34ATN52.js +1 -0
  9. package/dist/{chunk-52BM6J6I.js → chunk-NXHPO7ER.js} +3 -3
  10. package/dist/{chunk-QW5O42QJ.js → chunk-OFHVDY4Q.js} +1 -1
  11. package/dist/{chunk-E4SECPF4.js → chunk-ONWUJXUR.js} +1 -1
  12. package/dist/chunk-QZANC2IG.js +1 -0
  13. package/dist/{chunk-QNZVPFSP.js → chunk-SMSIT3CE.js} +1 -1
  14. package/dist/{chunk-KP37XTDI.js → chunk-UTTW55S2.js} +1 -1
  15. package/dist/chunk-VEJGSURY.js +8 -0
  16. package/dist/chunk-WZI4YC2O.js +1 -0
  17. package/dist/{chunk-5A25RATC.js → chunk-ZIHEF6K3.js} +3 -3
  18. package/dist/entry-0.js +1 -1
  19. package/dist/entry-18.js +1 -1
  20. package/dist/entry-19.js +1 -1
  21. package/dist/entry-20.js +1 -1
  22. package/dist/entry-21.js +1 -1
  23. package/dist/entry-22.js +1 -1
  24. package/dist/entry-23.js +1 -1
  25. package/dist/entry-24.js +1 -1
  26. package/dist/entry-25.js +1 -1
  27. package/dist/entry-26.js +1 -1
  28. package/dist/entry-27.js +1 -1
  29. package/dist/entry-28.js +1 -1
  30. package/dist/entry-29.js +1 -1
  31. package/dist/entry-30.js +1 -1
  32. package/dist/entry-31.js +1 -1
  33. package/dist/entry-32.js +1 -1
  34. package/dist/entry-33.js +1 -1
  35. package/dist/entry-34.js +1 -1
  36. package/dist/entry-35.js +1 -1
  37. package/dist/entry-36.js +1 -1
  38. package/dist/entry-37.js +1 -1
  39. package/dist/entry-38.js +1 -1
  40. package/dist/entry-39.js +1 -1
  41. package/dist/entry-4.js +1 -1
  42. package/dist/entry-40.js +1 -1
  43. package/dist/entry-41.js +1 -1
  44. package/dist/entry-42.js +1 -1
  45. package/dist/entry-43.js +1 -1
  46. package/dist/entry-44.js +1 -1
  47. package/dist/entry-45.js +1 -1
  48. package/dist/entry-46.js +1 -1
  49. package/dist/entry-47.js +1 -1
  50. package/dist/entry-48.js +1 -1
  51. package/dist/entry-49.js +1 -1
  52. package/dist/entry-50.js +1 -1
  53. package/dist/entry-51.js +1 -1
  54. package/dist/entry-52.js +1 -1
  55. package/dist/entry-53.js +1 -0
  56. package/dist/entry-54.js +0 -1
  57. package/dist/entry-55.js +1 -0
  58. package/dist/entry-56.js +0 -1
  59. package/dist/entry-57.js +1 -1
  60. package/dist/entry-58.js +1 -1
  61. package/dist/entry-59.js +1 -1
  62. package/dist/entry-60.js +1 -1
  63. package/dist/entry-61.js +1 -1
  64. package/dist/entry-62.js +1 -0
  65. package/dist/entry-63.js +0 -1
  66. package/dist/entry-64.js +1 -0
  67. package/dist/entry-65.js +0 -1
  68. package/dist/entry-66.js +1 -1
  69. package/dist/entry-67.js +1 -1
  70. package/dist/entry-68.js +1 -1
  71. package/dist/entry-69.js +1 -1
  72. package/dist/entry-70.js +1 -1
  73. package/dist/entry-71.js +1 -1
  74. package/dist/entry-72.js +1 -1
  75. package/dist/entry-73.js +1 -1
  76. package/dist/entry-74.js +1 -1
  77. package/dist/entry-75.js +1 -1
  78. package/dist/entry-76.js +1 -1
  79. package/dist/entry-77.js +1 -1
  80. package/dist/entry-78.js +1 -1
  81. package/dist/entry-79.js +1 -1
  82. package/dist/entry-80.js +1 -0
  83. package/dist/pi-agent-ide.js +12 -12
  84. package/docs/configuration.md +32 -1
  85. package/docs/generated/tool-catalog/cmake.md +5 -5
  86. package/docs/generated/tool-catalog/csharp.md +5 -5
  87. package/docs/generated/tool-catalog/css.md +7 -7
  88. package/docs/generated/tool-catalog/dart.md +9 -0
  89. package/docs/generated/tool-catalog/dockerfile.md +5 -5
  90. package/docs/generated/tool-catalog/elixir.md +9 -0
  91. package/docs/generated/tool-catalog/html.md +7 -6
  92. package/docs/generated/tool-catalog/index.md +9 -0
  93. package/docs/generated/tool-catalog/javascript.md +8 -8
  94. package/docs/generated/tool-catalog/json.md +7 -7
  95. package/docs/generated/tool-catalog/julia.md +8 -0
  96. package/docs/generated/tool-catalog/kotlin.md +6 -5
  97. package/docs/generated/tool-catalog/markdown.md +6 -6
  98. package/docs/generated/tool-catalog/powershell.md +9 -0
  99. package/docs/generated/tool-catalog/python.md +6 -6
  100. package/docs/generated/tool-catalog/r.md +9 -0
  101. package/docs/generated/tool-catalog/scala.md +9 -0
  102. package/docs/generated/tool-catalog/svelte.md +9 -0
  103. package/docs/generated/tool-catalog/typescript.md +9 -8
  104. package/docs/generated/tool-catalog/vue.md +9 -0
  105. package/docs/generated/tool-catalog/yaml.md +6 -6
  106. package/docs/generated/tool-catalog/zig.md +9 -0
  107. package/node_modules/pi-agent-doctor/package.json +10 -3
  108. package/node_modules/pi-agent-doctor/runtime/entry-20.js +1 -0
  109. package/node_modules/pi-agent-doctor/src/catalog.ts +27 -1
  110. package/node_modules/pi-agent-doctor/src/evidence.ts +118 -0
  111. package/node_modules/pi-agent-doctor/src/executable.ts +63 -17
  112. package/node_modules/pi-agent-filesystem/package.json +7 -7
  113. package/node_modules/pi-agent-filesystem-image/package.json +4 -4
  114. package/node_modules/pi-agent-filesystem-pdf/package.json +4 -4
  115. package/node_modules/pi-agent-filesystem-text/package.json +4 -4
  116. package/node_modules/pi-agent-filesystem-text/runtime/entry-24.js +2 -0
  117. package/node_modules/pi-agent-ide-ast/package.json +11 -11
  118. package/node_modules/pi-agent-ide-ast/runtime/entry-25.js +0 -1
  119. package/node_modules/pi-agent-ide-ast/runtime/entry-26.js +2 -0
  120. package/node_modules/pi-agent-ide-ast/src/ast/manager.ts +3 -0
  121. package/node_modules/pi-agent-ide-ast/src/ast/outline.ts +3 -0
  122. package/node_modules/pi-agent-ide-changes/package.json +8 -8
  123. package/node_modules/pi-agent-ide-changes/runtime/entry-27.js +0 -1
  124. package/node_modules/pi-agent-ide-formatter/package.json +4 -4
  125. package/node_modules/pi-agent-ide-formatter/src/catalog.ts +131 -13
  126. package/node_modules/pi-agent-ide-formatter/src/registry.ts +20 -8
  127. package/node_modules/pi-agent-ide-languages/package.json +3 -3
  128. package/node_modules/pi-agent-ide-languages/src/languages.ts +15 -0
  129. package/node_modules/pi-agent-ide-lint/package.json +8 -8
  130. package/node_modules/pi-agent-ide-lint/src/catalog.ts +196 -39
  131. package/node_modules/pi-agent-ide-lint/src/command-linter.ts +23 -3
  132. package/node_modules/pi-agent-ide-lint/src/diagnostics.ts +73 -33
  133. package/node_modules/pi-agent-ide-lint/src/registry.ts +20 -8
  134. package/node_modules/pi-agent-ide-lsp/package.json +9 -9
  135. package/node_modules/pi-agent-ide-lsp/runtime/entry-32.js +2 -0
  136. package/node_modules/pi-agent-ide-lsp/src/catalog.ts +161 -7
  137. package/node_modules/pi-agent-ide-lsp/src/diagnostic-source.ts +3 -6
  138. package/node_modules/pi-agent-ide-lsp/src/doctor-plugin.ts +2 -4
  139. package/node_modules/pi-agent-ide-lsp/src/lsp/client.ts +154 -11
  140. package/node_modules/pi-agent-ide-lsp/src/lsp/file-watchers.ts +88 -0
  141. package/node_modules/pi-agent-ide-lsp/src/lsp/initialization-options.ts +14 -0
  142. package/node_modules/pi-agent-ide-lsp/src/lsp/manager.ts +8 -4
  143. package/node_modules/pi-agent-ide-lsp/src/lsp/registry.ts +69 -34
  144. package/node_modules/pi-agent-ide-lsp/src/lsp/transport-writer.ts +24 -0
  145. package/node_modules/pi-agent-ide-lsp/src/lsp/types.ts +5 -0
  146. package/node_modules/pi-agent-image/package.json +3 -3
  147. package/node_modules/pi-agent-invariant/package.json +2 -2
  148. package/node_modules/pi-agent-pdf/package.json +3 -3
  149. package/node_modules/pi-agent-read/package.json +11 -11
  150. package/node_modules/pi-agent-read/runtime/entry-39.js +0 -1
  151. package/node_modules/pi-agent-read/runtime/entry-40.js +2 -0
  152. package/node_modules/pi-agent-resource/package.json +2 -2
  153. package/node_modules/pi-agent-search/package.json +7 -7
  154. package/node_modules/pi-agent-search/runtime/entry-44.js +0 -1
  155. package/node_modules/pi-agent-search-text/package.json +9 -9
  156. package/node_modules/pi-agent-search-text/runtime/entry-46.js +1 -0
  157. package/node_modules/pi-agent-text/package.json +3 -3
  158. package/node_modules/pi-agent-text/runtime/entry-48.js +1 -0
  159. package/node_modules/pi-agent-text-anchor-constant/package.json +4 -4
  160. package/node_modules/pi-agent-text-anchor-constant/runtime/entry-49.js +2 -0
  161. package/node_modules/pi-agent-text-anchor-exact/package.json +5 -5
  162. package/node_modules/pi-agent-text-anchor-exact/runtime/entry-50.js +0 -1
  163. package/node_modules/pi-agent-text-anchor-exact/runtime/entry-51.js +2 -0
  164. package/node_modules/pi-agent-text-anchor-line-hash/package.json +7 -7
  165. package/node_modules/pi-agent-text-anchor-line-hash/runtime/entry-52.js +0 -1
  166. package/node_modules/pi-agent-text-anchor-line-hash/runtime/entry-53.js +2 -0
  167. package/node_modules/pi-agent-text-editor/package.json +22 -22
  168. package/node_modules/pi-agent-text-editor/runtime/entry-68.js +0 -1
  169. package/node_modules/pi-agent-text-editor-argument-order/package.json +3 -3
  170. package/node_modules/pi-agent-text-editor-overwrite/package.json +4 -4
  171. package/node_modules/pi-agent-text-editor-renderer/package.json +6 -6
  172. package/node_modules/pi-agent-text-editor-stale-anchor/package.json +5 -5
  173. package/node_modules/pi-agent-text-editor-stale-anchor/runtime/entry-73.js +2 -0
  174. package/node_modules/pi-agent-tool-call-interception/package.json +3 -3
  175. package/node_modules/pi-agent-tool-ui/package.json +2 -2
  176. package/node_modules/pi-agent-tool-ui/runtime/entry-75.js +1 -0
  177. package/node_modules/pi-agent-web/package.json +7 -7
  178. package/node_modules/pi-agent-web-html/package.json +3 -3
  179. package/node_modules/pi-agent-web-image/package.json +4 -4
  180. package/node_modules/pi-agent-web-pdf/package.json +4 -4
  181. package/node_modules/pi-agent-web-text/package.json +4 -4
  182. package/node_modules/pi-agent-web-text/runtime/entry-80.js +2 -0
  183. package/package.json +35 -35
  184. package/src/api/tool-config/formatters.json +70 -12
  185. package/src/api/tool-config/linters.json +148 -66
  186. package/src/api/tool-config/lsp-servers.json +142 -7
  187. package/src/api/tool-config.ts +56 -24
  188. package/src/code-view/diagnostic-view.ts +14 -10
  189. package/src/doctor/config-writer.ts +14 -1
  190. package/src/doctor/discovery.ts +13 -68
  191. package/src/doctor/run.ts +33 -1
  192. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/package.json +7 -7
  193. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-image/package.json +4 -4
  194. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-pdf/package.json +4 -4
  195. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-text/package.json +4 -4
  196. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-text/runtime/entry-24.js +2 -0
  197. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/runtime/entry-21.js +2 -0
  198. package/src/extensions/pi-agent-read/extensions/pi-agent-web/package.json +7 -7
  199. package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-html/package.json +3 -3
  200. package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-image/package.json +4 -4
  201. package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-pdf/package.json +4 -4
  202. package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-text/package.json +4 -4
  203. package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-text/runtime/entry-80.js +2 -0
  204. package/src/extensions/pi-agent-read/extensions/pi-agent-web/runtime/entry-76.js +2 -0
  205. package/src/extensions/pi-agent-read/package.json +11 -11
  206. package/src/extensions/pi-agent-read/runtime/entry-39.js +0 -1
  207. package/src/extensions/pi-agent-read/runtime/entry-40.js +2 -0
  208. package/src/extensions/pi-agent-search/package.json +7 -7
  209. package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/package.json +9 -9
  210. package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/runtime/entry-46.js +1 -0
  211. package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/runtime/entry-47.js +1 -0
  212. package/src/extensions/pi-agent-search/runtime/entry-44.js +0 -1
  213. package/src/extensions/pi-agent-search/runtime/entry-45.js +2 -0
  214. package/src/extensions/pi-agent-text-editor/package.json +22 -22
  215. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/package.json +4 -4
  216. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/runtime/entry-49.js +2 -0
  217. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/package.json +5 -5
  218. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/runtime/entry-50.js +0 -1
  219. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/runtime/entry-51.js +2 -0
  220. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/package.json +7 -7
  221. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/runtime/entry-52.js +0 -1
  222. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/runtime/entry-53.js +2 -0
  223. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-argument-order/package.json +3 -3
  224. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-overwrite/package.json +4 -4
  225. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/package.json +6 -6
  226. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-stale-anchor/package.json +5 -5
  227. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-stale-anchor/runtime/entry-73.js +2 -0
  228. package/src/extensions/pi-agent-text-editor/runtime/entry-68.js +0 -1
  229. package/src/extensions/pi-agent-text-editor/runtime/entry-69.js +2 -0
  230. package/src/plugins/pi-agent-ide-ast/package.json +11 -11
  231. package/src/plugins/pi-agent-ide-ast/runtime/entry-25.js +0 -1
  232. package/src/plugins/pi-agent-ide-ast/runtime/entry-26.js +2 -0
  233. package/src/plugins/pi-agent-ide-ast/src/ast/manager.ts +3 -0
  234. package/src/plugins/pi-agent-ide-ast/src/ast/outline.ts +3 -0
  235. package/src/plugins/pi-agent-ide-changes/package.json +8 -8
  236. package/src/plugins/pi-agent-ide-changes/runtime/entry-27.js +0 -1
  237. package/src/plugins/pi-agent-ide-diagnostics/src/extension.ts +8 -0
  238. package/src/plugins/pi-agent-ide-formatter/package.json +4 -4
  239. package/src/plugins/pi-agent-ide-formatter/src/catalog.ts +131 -13
  240. package/src/plugins/pi-agent-ide-formatter/src/registry.ts +20 -8
  241. package/src/plugins/pi-agent-ide-languages/package.json +3 -3
  242. package/src/plugins/pi-agent-ide-languages/src/languages.ts +15 -0
  243. package/src/plugins/pi-agent-ide-lint/package.json +8 -8
  244. package/src/plugins/pi-agent-ide-lint/src/catalog.ts +196 -39
  245. package/src/plugins/pi-agent-ide-lint/src/command-linter.ts +23 -3
  246. package/src/plugins/pi-agent-ide-lint/src/diagnostics.ts +73 -33
  247. package/src/plugins/pi-agent-ide-lint/src/registry.ts +20 -8
  248. package/src/plugins/pi-agent-ide-lsp/package.json +9 -9
  249. package/src/plugins/pi-agent-ide-lsp/runtime/entry-32.js +2 -0
  250. package/src/plugins/pi-agent-ide-lsp/src/catalog.ts +161 -7
  251. package/src/plugins/pi-agent-ide-lsp/src/diagnostic-source.ts +3 -6
  252. package/src/plugins/pi-agent-ide-lsp/src/doctor-plugin.ts +2 -4
  253. package/src/plugins/pi-agent-ide-lsp/src/lsp/client.ts +154 -11
  254. package/src/plugins/pi-agent-ide-lsp/src/lsp/file-watchers.ts +88 -0
  255. package/src/plugins/pi-agent-ide-lsp/src/lsp/initialization-options.ts +14 -0
  256. package/src/plugins/pi-agent-ide-lsp/src/lsp/manager.ts +8 -4
  257. package/src/plugins/pi-agent-ide-lsp/src/lsp/registry.ts +69 -34
  258. package/src/plugins/pi-agent-ide-lsp/src/lsp/transport-writer.ts +24 -0
  259. package/src/plugins/pi-agent-ide-lsp/src/lsp/types.ts +5 -0
  260. package/src/toolchain/types.ts +2 -0
  261. package/dist/chunk-476MR2QB.js +0 -1
  262. package/dist/chunk-4KQOODGE.js +0 -13
  263. package/dist/chunk-7NDBZ4WX.js +0 -1
  264. package/dist/chunk-AP7Z3VWC.js +0 -1
  265. package/dist/chunk-TNWYEXFG.js +0 -1
  266. package/dist/chunk-U4D6FT66.js +0 -1
  267. package/dist/chunk-VWVLBOMU.js +0 -8
  268. package/node_modules/pi-agent-filesystem/runtime/entry-20.js +0 -2
  269. package/node_modules/pi-agent-ide-ast/runtime/entry-24.js +0 -1
  270. package/node_modules/pi-agent-ide-changes/runtime/entry-26.js +0 -1
  271. package/node_modules/pi-agent-image/runtime/entry-32.js +0 -1
  272. package/node_modules/pi-agent-resource/runtime/entry-40.js +0 -1
  273. package/node_modules/pi-agent-text-anchor-constant/runtime/entry-48.js +0 -2
  274. package/node_modules/pi-agent-text-anchor-exact/runtime/entry-49.js +0 -1
  275. package/node_modules/pi-agent-text-anchor-line-hash/runtime/entry-51.js +0 -1
  276. package/node_modules/pi-agent-text-editor/runtime/entry-53.js +0 -1
  277. package/node_modules/pi-agent-tool-call-interception/runtime/entry-73.js +0 -1
  278. package/node_modules/pi-agent-web/runtime/entry-75.js +0 -2
  279. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-image/runtime/entry-21.js +0 -2
  280. package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/runtime/entry-20.js +0 -2
  281. package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-html/runtime/entry-76.js +0 -2
  282. package/src/extensions/pi-agent-read/extensions/pi-agent-web/runtime/entry-75.js +0 -2
  283. package/src/extensions/pi-agent-read/runtime/entry-35.js +0 -1
  284. package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/runtime/entry-45.js +0 -2
  285. package/src/extensions/pi-agent-search/runtime/entry-41.js +0 -1
  286. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/runtime/entry-48.js +0 -2
  287. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/runtime/entry-49.js +0 -1
  288. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/runtime/entry-51.js +0 -1
  289. package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-argument-order/runtime/entry-69.js +0 -2
  290. package/src/extensions/pi-agent-text-editor/runtime/entry-53.js +0 -1
  291. package/src/plugins/pi-agent-ide-ast/runtime/entry-24.js +0 -1
  292. package/src/plugins/pi-agent-ide-changes/runtime/entry-26.js +0 -1
  293. /package/node_modules/{pi-agent-filesystem-image → pi-agent-filesystem}/runtime/entry-21.js +0 -0
  294. /package/node_modules/{pi-agent-filesystem-pdf → pi-agent-filesystem-image}/runtime/entry-22.js +0 -0
  295. /package/node_modules/{pi-agent-filesystem-text → pi-agent-filesystem-pdf}/runtime/entry-23.js +0 -0
  296. /package/node_modules/{pi-agent-ide-formatter → pi-agent-ide-changes}/runtime/entry-28.js +0 -0
  297. /package/node_modules/{pi-agent-ide-languages → pi-agent-ide-formatter}/runtime/entry-29.js +0 -0
  298. /package/node_modules/{pi-agent-ide-lint → pi-agent-ide-languages}/runtime/entry-30.js +0 -0
  299. /package/node_modules/{pi-agent-ide-lsp → pi-agent-ide-lint}/runtime/entry-31.js +0 -0
  300. /package/node_modules/{pi-agent-invariant → pi-agent-image}/runtime/entry-33.js +0 -0
  301. /package/node_modules/{pi-agent-pdf → pi-agent-invariant}/runtime/entry-34.js +0 -0
  302. /package/node_modules/{pi-agent-read → pi-agent-pdf}/runtime/entry-35.js +0 -0
  303. /package/node_modules/{pi-agent-search → pi-agent-resource}/runtime/entry-41.js +0 -0
  304. /package/node_modules/{pi-agent-search-text → pi-agent-search}/runtime/entry-45.js +0 -0
  305. /package/node_modules/{pi-agent-text → pi-agent-search-text}/runtime/entry-47.js +0 -0
  306. /package/node_modules/{pi-agent-text-editor-argument-order → pi-agent-text-editor}/runtime/entry-69.js +0 -0
  307. /package/node_modules/{pi-agent-text-editor-overwrite → pi-agent-text-editor-argument-order}/runtime/entry-70.js +0 -0
  308. /package/node_modules/{pi-agent-text-editor-renderer → pi-agent-text-editor-overwrite}/runtime/entry-71.js +0 -0
  309. /package/node_modules/{pi-agent-text-editor-stale-anchor → pi-agent-text-editor-renderer}/runtime/entry-72.js +0 -0
  310. /package/node_modules/{pi-agent-tool-ui → pi-agent-tool-call-interception}/runtime/entry-74.js +0 -0
  311. /package/node_modules/{pi-agent-web-html → pi-agent-web}/runtime/entry-76.js +0 -0
  312. /package/node_modules/{pi-agent-web-image → pi-agent-web-html}/runtime/entry-77.js +0 -0
  313. /package/node_modules/{pi-agent-web-pdf → pi-agent-web-image}/runtime/entry-78.js +0 -0
  314. /package/node_modules/{pi-agent-web-text → pi-agent-web-pdf}/runtime/entry-79.js +0 -0
  315. /package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/{pi-agent-filesystem-pdf → pi-agent-filesystem-image}/runtime/entry-22.js +0 -0
  316. /package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/{pi-agent-filesystem-text → pi-agent-filesystem-pdf}/runtime/entry-23.js +0 -0
  317. /package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/{pi-agent-web-image → pi-agent-web-html}/runtime/entry-77.js +0 -0
  318. /package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/{pi-agent-web-pdf → pi-agent-web-image}/runtime/entry-78.js +0 -0
  319. /package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/{pi-agent-web-text → pi-agent-web-pdf}/runtime/entry-79.js +0 -0
  320. /package/src/extensions/pi-agent-text-editor/plugins/{pi-agent-text-editor-overwrite → pi-agent-text-editor-argument-order}/runtime/entry-70.js +0 -0
  321. /package/src/extensions/pi-agent-text-editor/plugins/{pi-agent-text-editor-renderer → pi-agent-text-editor-overwrite}/runtime/entry-71.js +0 -0
  322. /package/src/extensions/pi-agent-text-editor/plugins/{pi-agent-text-editor-stale-anchor → pi-agent-text-editor-renderer}/runtime/entry-72.js +0 -0
  323. /package/src/plugins/{pi-agent-ide-formatter → pi-agent-ide-changes}/runtime/entry-28.js +0 -0
  324. /package/src/plugins/{pi-agent-ide-languages → pi-agent-ide-formatter}/runtime/entry-29.js +0 -0
  325. /package/src/plugins/{pi-agent-ide-lint → pi-agent-ide-languages}/runtime/entry-30.js +0 -0
  326. /package/src/plugins/{pi-agent-ide-lsp → pi-agent-ide-lint}/runtime/entry-31.js +0 -0
@@ -1,8 +1,35 @@
1
1
  {
2
2
  "version": 1,
3
3
  "linters": {
4
+ "dart-analyze": {
5
+ "extensions": [".dart"],
6
+ "check": {
7
+ "command": ["dart", "analyze", "--format", "machine", "{file}"],
8
+ "successExitCodes": [0, 1, 2, 3]
9
+ },
10
+ "diagnostics": {
11
+ "format": "regex",
12
+ "pattern": "^(?<severity>[^|]+)\\|[^|]+\\|(?<code>[^|]+)\\|(?<file>[^|]+)\\|(?<line>\\d+)\\|(?<column>\\d+)\\|\\d+\\|(?<message>.*)$"
13
+ }
14
+ },
15
+ "zig-ast-check": {
16
+ "extensions": [".zig", ".zon"],
17
+ "check": { "command": ["zig", "ast-check", "{file}"], "successExitCodes": [0, 1] },
18
+ "diagnostics": { "format": "gcc" }
19
+ },
20
+ "lintr": {
21
+ "extensions": [".r"],
22
+ "check": {
23
+ "command": ["Rscript", "-e", "print(lintr::lint(commandArgs(TRUE)[1]))", "{file}"],
24
+ "successExitCodes": [0, 1]
25
+ },
26
+ "diagnostics": {
27
+ "format": "regex",
28
+ "pattern": "^(?<file>.+?):(?<line>\\d+):(?<column>\\d+): (?<severity>[^:]+): \\[(?<code>[^\\]]+)\\] (?<message>.*)$"
29
+ }
30
+ },
4
31
  "clang-tidy": {
5
- "extensions": [".c", ".h", ".cc", ".cpp", ".cxx", ".hpp"],
32
+ "extensions": [".c", ".h", ".cc", ".cpp", ".cxx", ".hh", ".hpp", ".hxx"],
6
33
  "check": {
7
34
  "command": ["clang-tidy", "{file}"],
8
35
  "successExitCodes": [0, 1]
@@ -12,7 +39,18 @@
12
39
  }
13
40
  },
14
41
  "eslint": {
15
- "extensions": [".js", ".jsx", ".mjs", ".cjs", ".ts", ".tsx"],
42
+ "extensions": [
43
+ ".js",
44
+ ".jsx",
45
+ ".mjs",
46
+ ".cjs",
47
+ ".ts",
48
+ ".tsx",
49
+ ".mts",
50
+ ".cts",
51
+ ".vue",
52
+ ".svelte"
53
+ ],
16
54
  "check": {
17
55
  "command": ["eslint", "--format", "json", "{file}"],
18
56
  "successExitCodes": [0, 1]
@@ -45,11 +83,18 @@
45
83
  "golangci-lint": {
46
84
  "extensions": [".go"],
47
85
  "check": {
48
- "command": ["golangci-lint", "run", "{file}"],
86
+ "command": [
87
+ "golangci-lint",
88
+ "run",
89
+ "--output.text.path=",
90
+ "--output.checkstyle.path=stdout",
91
+ "--show-stats=false",
92
+ "./..."
93
+ ],
49
94
  "successExitCodes": [0, 1]
50
95
  },
51
96
  "diagnostics": {
52
- "format": "gcc"
97
+ "format": "checkstyle"
53
98
  }
54
99
  },
55
100
  "clippy": {
@@ -65,17 +110,18 @@
65
110
  "dotnet-format": {
66
111
  "extensions": [".cs"],
67
112
  "check": {
68
- "command": ["dotnet", "format", "--verify-no-changes"],
69
- "successExitCodes": [0, 1]
113
+ "command": ["dotnet", "format", "--verify-no-changes", "--include", "{relativeFile}"],
114
+ "successExitCodes": [0, 2]
70
115
  },
71
116
  "diagnostics": {
72
- "format": "gcc"
117
+ "format": "regex",
118
+ "pattern": "^(?<file>.+)\\((?<line>\\d+),(?<column>\\d+)\\): (?<severity>error|warning) (?<code>[^:]+): (?<message>.*?)(?: \\[.*\\])?$"
73
119
  }
74
120
  },
75
121
  "checkstyle": {
76
122
  "extensions": [".java"],
77
123
  "check": {
78
- "command": ["checkstyle", "-f", "xml", "{file}"],
124
+ "command": ["checkstyle", "-c", "checkstyle.xml", "-f", "xml", "{file}"],
79
125
  "successExitCodes": [0, 1]
80
126
  },
81
127
  "diagnostics": {
@@ -85,11 +131,12 @@
85
131
  "detekt": {
86
132
  "extensions": [".kt", ".kts"],
87
133
  "check": {
88
- "command": ["detekt", "--input", "{file}"],
89
- "successExitCodes": [0, 1]
134
+ "command": ["detekt", "--input", "{file}", "--config", "detekt.yml"],
135
+ "successExitCodes": [0, 2]
90
136
  },
91
137
  "diagnostics": {
92
- "format": "gcc"
138
+ "format": "regex",
139
+ "pattern": "^(?<file>.+?):(?<line>\\d+):(?<column>\\d+): (?<message>.*?) \\[(?<code>[^\\]]+)\\]$"
93
140
  }
94
141
  },
95
142
  "rubocop": {
@@ -99,37 +146,85 @@
99
146
  "successExitCodes": [0, 1]
100
147
  },
101
148
  "diagnostics": {
102
- "format": "clang"
149
+ "format": "regex",
150
+ "pattern": "^(?<file>.+?):(?<line>\\d+):(?<column>\\d+): (?<severity>[A-Z]): (?:\\[Correctable\\] )?(?<code>[^:]+): (?<message>.*)$"
103
151
  }
104
152
  },
105
153
  "phpcs": {
106
154
  "extensions": [".php"],
107
155
  "check": {
108
- "command": ["phpcs", "--report=emacs", "{file}"],
109
- "successExitCodes": [0, 1]
156
+ "command": ["phpcs", "--report=checkstyle", "{file}"],
157
+ "successExitCodes": [0, 1, 2, 3]
110
158
  },
111
159
  "diagnostics": {
112
- "format": "gcc"
160
+ "format": "checkstyle"
113
161
  }
114
162
  },
115
163
  "swiftlint": {
116
164
  "extensions": [".swift"],
117
165
  "check": {
118
- "command": ["swiftlint", "lint", "--path", "{file}"],
119
- "successExitCodes": [0, 1]
166
+ "command": ["swiftlint", "lint", "--quiet", "--reporter", "checkstyle", "{file}"],
167
+ "successExitCodes": [0, 2]
168
+ },
169
+ "diagnostics": { "format": "checkstyle" }
170
+ },
171
+ "scalafix": {
172
+ "extensions": [".scala", ".sc"],
173
+ "check": {
174
+ "command": ["scalafix", "--check", "--files", "{file}"],
175
+ "successExitCodes": [0, 2, 64, 66]
176
+ },
177
+ "diagnostics": { "format": "gcc" }
178
+ },
179
+ "credo": {
180
+ "extensions": [".ex", ".exs"],
181
+ "check": {
182
+ "command": [
183
+ "mix",
184
+ "credo",
185
+ "--strict",
186
+ "--format",
187
+ "flycheck",
188
+ "--files-included",
189
+ "{file}"
190
+ ],
191
+ "successExitCodes": [
192
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
193
+ 25, 26, 27, 28, 29, 30, 31
194
+ ]
120
195
  },
121
196
  "diagnostics": {
122
- "format": "gcc"
197
+ "format": "regex",
198
+ "pattern": "^(?<file>.+):(?<line>\\d+):(?<column>\\d+): (?<severity>[A-Z]): (?<message>.+)$"
199
+ }
200
+ },
201
+ "psscriptanalyzer": {
202
+ "extensions": [".ps1", ".psm1", ".psd1"],
203
+ "check": {
204
+ "command": [
205
+ "pwsh",
206
+ "-NoProfile",
207
+ "-NonInteractive",
208
+ "-CommandWithArgs",
209
+ "$ErrorActionPreference=\"Stop\";$options=@{};if(Test-Path -LiteralPath PSScriptAnalyzerSettings.psd1){$options.Settings=\"PSScriptAnalyzerSettings.psd1\"};Invoke-ScriptAnalyzer -Path $args[0] @options | ForEach-Object {\"$($_.ScriptPath):$($_.Line):$($_.Column): $($_.Severity): $($_.Message) [$($_.RuleName)]\"}",
210
+ "{file}"
211
+ ],
212
+ "successExitCodes": [0]
213
+ },
214
+ "diagnostics": {
215
+ "format": "regex",
216
+ "pattern": "^(?<file>.+):(?<line>\\d+):(?<column>\\d+): (?<severity>\\w+): (?<message>.+) \\[(?<code>[^\\]]+)\\]$"
123
217
  }
124
218
  },
125
219
  "luacheck": {
126
220
  "extensions": [".lua"],
127
221
  "check": {
128
- "command": ["luacheck", "--formatter", "plain", "{file}"],
129
- "successExitCodes": [0, 1]
222
+ "command": ["luacheck", "--formatter", "plain", "--codes", "--no-color", "{file}"],
223
+ "successExitCodes": [0, 1, 2]
130
224
  },
131
225
  "diagnostics": {
132
- "format": "gcc"
226
+ "format": "regex",
227
+ "pattern": "^(?<file>.+):(?<line>\\d+):(?<column>\\d+): \\((?<code>(?<severity>[WE])\\d+)\\) (?<message>.+)$"
133
228
  }
134
229
  },
135
230
  "shellcheck": {
@@ -146,30 +241,27 @@
146
241
  "extensions": [".css", ".scss", ".sass", ".less"],
147
242
  "check": {
148
243
  "command": ["stylelint", "--formatter", "compact", "{file}"],
149
- "successExitCodes": [0, 1]
244
+ "successExitCodes": [0, 2]
150
245
  },
151
246
  "diagnostics": {
152
- "format": "gcc"
247
+ "format": "regex",
248
+ "pattern": "^(?<file>.+): line (?<line>\\d+), col (?<column>\\d+), (?<severity>error|warning) - (?<message>.+) \\((?<code>[^)]+)\\)$"
153
249
  }
154
250
  },
155
251
  "yamllint": {
156
252
  "extensions": [".yaml", ".yml"],
157
- "check": {
158
- "command": ["yamllint", "-f", "parsable", "{file}"],
159
- "successExitCodes": [0, 1]
160
- },
253
+ "check": { "command": ["yamllint", "-f", "parsable", "{file}"], "successExitCodes": [0, 1] },
161
254
  "diagnostics": {
162
- "format": "gcc"
255
+ "format": "regex",
256
+ "pattern": "^(?<file>.+?):(?<line>\\d+):(?<column>\\d+): \\[(?<severity>[^\\]]+)\\] (?<message>.*?) \\((?<code>[^)]+)\\)$"
163
257
  }
164
258
  },
165
259
  "markdownlint": {
166
260
  "extensions": [".md", ".mdx"],
167
- "check": {
168
- "command": ["markdownlint", "{file}"],
169
- "successExitCodes": [0, 1]
170
- },
261
+ "check": { "command": ["markdownlint", "{file}"], "successExitCodes": [0, 1] },
171
262
  "diagnostics": {
172
- "format": "gcc"
263
+ "format": "regex",
264
+ "pattern": "^(?<file>.+?):(?<line>\\d+)(?::(?<column>\\d+))? (?<severity>error|warning) (?<code>MD\\d+)(?:/\\S+)? (?<message>.*)$"
173
265
  }
174
266
  },
175
267
  "sqlfluff": {
@@ -183,74 +275,64 @@
183
275
  }
184
276
  },
185
277
  "hadolint": {
186
- "extensions": ["*"],
278
+ "extensions": [".dockerfile"],
279
+ "fileNames": ["Dockerfile", "Containerfile"],
187
280
  "check": {
188
- "command": ["hadolint", "--format", "tty", "{file}"],
281
+ "command": ["hadolint", "--format", "checkstyle", "{file}"],
189
282
  "successExitCodes": [0, 1]
190
283
  },
191
- "diagnostics": {
192
- "format": "gcc"
193
- },
194
- "include": ["Dockerfile", "**/Dockerfile"]
284
+ "diagnostics": { "format": "checkstyle" }
195
285
  },
196
286
  "tflint": {
197
287
  "extensions": [".tf"],
198
- "check": {
199
- "command": ["tflint", "--format", "compact"],
200
- "successExitCodes": [0, 1]
201
- },
202
- "diagnostics": {
203
- "format": "gcc"
204
- }
288
+ "check": { "command": ["tflint", "--format", "checkstyle"], "successExitCodes": [0, 2] },
289
+ "diagnostics": { "format": "checkstyle" }
205
290
  },
206
291
  "cmake-lint": {
207
292
  "extensions": [".cmake"],
208
- "check": {
209
- "command": ["cmake-lint", "{file}"],
210
- "successExitCodes": [0, 1]
211
- },
293
+ "fileNames": ["CMakeLists.txt"],
294
+ "check": { "command": ["cmake-lint", "{file}"], "successExitCodes": [0, 1] },
212
295
  "diagnostics": {
213
- "format": "gcc"
296
+ "format": "regex",
297
+ "columnBase": 0,
298
+ "pattern": "^(?<file>.+?):(?<line>\\d+),(?<column>\\d+): \\[(?<code>(?<severity>[A-Z])\\d+)\\] (?<message>.*)$"
214
299
  }
215
300
  },
216
301
  "htmlhint": {
217
302
  "extensions": [".html", ".htm"],
218
303
  "check": {
219
- "command": ["htmlhint", "--format", "unix", "{file}"],
304
+ "command": ["htmlhint", "--format", "checkstyle", "--nocolor", "{file}"],
220
305
  "successExitCodes": [0, 1]
221
306
  },
222
307
  "diagnostics": {
223
- "format": "gcc"
308
+ "format": "checkstyle"
224
309
  }
225
310
  },
226
311
  "jsonlint": {
227
- "extensions": [".json", ".jsonc"],
228
- "check": {
229
- "command": ["jsonlint", "-q", "{file}"],
230
- "successExitCodes": [0, 1]
231
- },
312
+ "extensions": [".json"],
313
+ "check": { "command": ["jsonlint", "-q", "{file}"], "successExitCodes": [0, 1] },
232
314
  "diagnostics": {
233
- "format": "gcc"
315
+ "format": "regex",
316
+ "pattern": "^(?:Error: )?(?<message>Parse (?<severity>error) on line (?<line>\\d+)(?:, column (?<column>\\d+))?:[^\\n]*)$"
234
317
  }
235
318
  },
236
319
  "taplo-check": {
237
320
  "extensions": [".toml"],
238
321
  "check": {
239
- "command": ["taplo", "check", "{file}"],
322
+ "command": ["taplo", "check", "--colors", "never", "{file}"],
240
323
  "successExitCodes": [0, 1]
241
324
  },
242
325
  "diagnostics": {
243
- "format": "gcc"
326
+ "format": "regex",
327
+ "pattern": "^(?<severity>error): (?<message>[^\\n]+)\\n\\s*┌─ (?<file>.+):(?<line>\\d+):(?<column>\\d+)"
244
328
  }
245
329
  },
246
330
  "xmllint": {
247
331
  "extensions": [".xml", ".xsd", ".xsl"],
248
- "check": {
249
- "command": ["xmllint", "--noout", "{file}"],
250
- "successExitCodes": [0, 1]
251
- },
332
+ "check": { "command": ["xmllint", "--noout", "{file}"], "successExitCodes": [0, 1, 2, 3, 4] },
252
333
  "diagnostics": {
253
- "format": "gcc"
334
+ "format": "regex",
335
+ "pattern": "^(?<file>.+?):(?<line>\\d+): (?<severity>(?:parser |validity )?(?:error|warning)) : (?<message>.*)$"
254
336
  }
255
337
  }
256
338
  }
@@ -1,6 +1,86 @@
1
1
  {
2
2
  "version": 1,
3
3
  "servers": {
4
+ "vue-typescript-language-server": {
5
+ "command": ["typescript-language-server", "--stdio"],
6
+ "transport": "stdio",
7
+ "rootMarkers": ["tsconfig.json", "package.json"],
8
+ "languages": { "vue": { "extensions": [".vue"] } },
9
+ "capabilities": ["diagnostics"],
10
+ "initializationOptions": {
11
+ "plugins": [
12
+ {
13
+ "name": "@vue/typescript-plugin",
14
+ "location": "{project}/node_modules/@vue/typescript-plugin",
15
+ "languages": ["vue"]
16
+ }
17
+ ]
18
+ }
19
+ },
20
+ "elixir-ls": {
21
+ "command": ["elixir-ls"],
22
+
23
+ "settings": { "elixirLS": { "mcpEnabled": false } },
24
+ "transport": "stdio",
25
+ "rootMarkers": ["mix.exs"],
26
+ "languages": { "elixir": { "extensions": [".ex", ".exs"] } },
27
+ "capabilities": ["diagnostics"]
28
+ },
29
+ "metals": {
30
+ "command": ["metals"],
31
+ "transport": "stdio",
32
+ "rootMarkers": ["build.sbt", "project.scala", ".bsp"],
33
+ "languages": { "scala": { "extensions": [".scala", ".sc"] } },
34
+ "capabilities": ["diagnostics"]
35
+ },
36
+ "angular-language-server": {
37
+ "command": ["ngserver", "--stdio", "--tsProbeLocations", ".", "--ngProbeLocations", "."],
38
+ "transport": "stdio",
39
+ "rootMarkers": ["angular.json"],
40
+ "requireRootMarker": true,
41
+ "languages": { "typescript": { "extensions": [".ts"] }, "html": { "extensions": [".html"] } },
42
+ "capabilities": ["diagnostics"]
43
+ },
44
+ "svelte-language-server": {
45
+ "command": ["svelteserver", "--stdio"],
46
+ "transport": "stdio",
47
+ "rootMarkers": ["svelte.config.js", "package.json"],
48
+ "languages": { "svelte": { "extensions": [".svelte"] } },
49
+ "capabilities": ["diagnostics"]
50
+ },
51
+ "dart-language-server": {
52
+ "command": ["dart", "language-server", "--protocol=lsp"],
53
+ "transport": "stdio",
54
+ "rootMarkers": ["pubspec.yaml", "analysis_options.yaml"],
55
+ "languages": {
56
+ "dart": {
57
+ "extensions": [".dart"]
58
+ }
59
+ },
60
+ "capabilities": ["diagnostics"]
61
+ },
62
+ "r-language-server": {
63
+ "command": ["Rscript", "-e", "languageserver::run()"],
64
+ "transport": "stdio",
65
+ "rootMarkers": ["DESCRIPTION", ".lintr", ".Rprofile"],
66
+ "languages": {
67
+ "r": {
68
+ "extensions": [".r"]
69
+ }
70
+ },
71
+ "capabilities": ["diagnostics"]
72
+ },
73
+ "zls": {
74
+ "command": ["zls"],
75
+ "transport": "stdio",
76
+ "rootMarkers": ["build.zig", "build.zig.zon", "zls.json"],
77
+ "languages": {
78
+ "zig": {
79
+ "extensions": [".zig", ".zon"]
80
+ }
81
+ },
82
+ "capabilities": ["diagnostics"]
83
+ },
4
84
  "clangd": {
5
85
  "command": ["clangd"],
6
86
  "transport": "stdio",
@@ -21,10 +101,16 @@
21
101
  "rootMarkers": ["tsconfig.json", "jsconfig.json", "package.json"],
22
102
  "languages": {
23
103
  "javascript": {
24
- "extensions": [".js", ".jsx", ".mjs", ".cjs"]
104
+ "extensions": [".js", ".mjs", ".cjs"]
105
+ },
106
+ "javascriptreact": {
107
+ "extensions": [".jsx"]
25
108
  },
26
109
  "typescript": {
27
- "extensions": [".ts", ".tsx", ".mts", ".cts"]
110
+ "extensions": [".ts", ".mts", ".cts"]
111
+ },
112
+ "typescriptreact": {
113
+ "extensions": [".tsx"]
28
114
  }
29
115
  },
30
116
  "capabilities": ["diagnostics"]
@@ -152,6 +238,8 @@
152
238
  },
153
239
  "vscode-css-language-server": {
154
240
  "command": ["vscode-css-language-server", "--stdio"],
241
+
242
+ "settings": { "css": {}, "scss": {}, "less": {} },
155
243
  "transport": "stdio",
156
244
  "rootMarkers": ["package.json"],
157
245
  "languages": {
@@ -216,13 +304,59 @@
216
304
  },
217
305
  "capabilities": ["diagnostics"]
218
306
  },
219
- "cmake-language-server": {
220
- "command": ["cmake-language-server"],
307
+ "kotlin-lsp": {
308
+ "command": ["intellij-server", "--stdio"],
309
+ "transport": "stdio",
310
+ "rootMarkers": ["build.gradle.kts", "build.gradle", "pom.xml", "settings.gradle.kts"],
311
+ "languages": {
312
+ "kotlin": {
313
+ "extensions": [".kt", ".kts"]
314
+ }
315
+ },
316
+ "capabilities": ["diagnostics"]
317
+ },
318
+ "julia-language-server": {
319
+ "command": [
320
+ "julia",
321
+ "--startup-file=no",
322
+ "--history-file=no",
323
+ "-e",
324
+ "using LanguageServer; runserver()"
325
+ ],
326
+ "transport": "stdio",
327
+ "rootMarkers": ["Project.toml", "JuliaProject.toml"],
328
+ "languages": {
329
+ "julia": {
330
+ "extensions": [".jl"]
331
+ }
332
+ },
333
+ "capabilities": ["diagnostics"]
334
+ },
335
+ "powershell-editor-services": {
336
+ "command": [
337
+ "pwsh",
338
+ "-NoProfile",
339
+ "-NonInteractive",
340
+ "-Command",
341
+ "$ErrorActionPreference=\"Stop\";Import-Module PowerShellEditorServices;$d=Join-Path (Get-Location) \".agents/tmp/powershell-lsp-$PID\";[IO.Directory]::CreateDirectory($d)|Out-Null;Start-EditorServices -HostName Pi -HostProfileId Pi -HostVersion 1.0.0 -Stdio -LanguageServiceOnly -LogPath (Join-Path $d \"server.log\") -SessionDetailsPath (Join-Path $d \"session.json\")"
342
+ ],
343
+ "transport": "stdio",
344
+ "rootMarkers": ["PSScriptAnalyzerSettings.psd1"],
345
+ "languages": {
346
+ "powershell": {
347
+ "extensions": [".ps1", ".psm1", ".psd1"]
348
+ }
349
+ },
350
+ "capabilities": ["diagnostics"]
351
+ },
352
+ "neocmakelsp": {
353
+ "command": ["neocmakelsp", "stdio"],
221
354
  "transport": "stdio",
222
- "rootMarkers": ["CMakeLists.txt"],
355
+ "rootMarkers": ["CMakeLists.txt", ".neocmake.toml", ".neocmakelint.toml"],
223
356
  "languages": {
224
357
  "cmake": {
225
- "extensions": [".cmake"]
358
+ "extensions": [".cmake"],
359
+ "fileNames": ["CMakeLists.txt"]
226
360
  }
227
361
  },
228
362
  "capabilities": ["diagnostics"]
@@ -266,7 +400,8 @@
266
400
  "rootMarkers": ["Dockerfile"],
267
401
  "languages": {
268
402
  "dockerfile": {
269
- "extensions": [".dockerfile"]
403
+ "extensions": [".dockerfile"],
404
+ "fileNames": ["Dockerfile", "Containerfile"]
270
405
  }
271
406
  },
272
407
  "capabilities": ["diagnostics"]
@@ -1,7 +1,12 @@
1
1
  import spawn from "cross-spawn";
2
+
3
+ import {
4
+ isExecutableAvailable,
5
+ normalizeProcessEnvironment,
6
+ projectProcessEnvironment,
7
+ } from "pi-agent-doctor/api/executable";
2
8
  import { requiredValue } from "pi-agent-invariant";
3
- import { constants } from "node:fs";
4
- import { access, readFile, writeFile } from "node:fs/promises";
9
+ import { readFile, writeFile } from "node:fs/promises";
5
10
  import os from "node:os";
6
11
  import path from "node:path";
7
12
  import { fileURLToPath } from "node:url";
@@ -27,6 +32,9 @@ File selection shared by formatter and linter commands.
27
32
  */
28
33
  export interface FileMatcherConfig {
29
34
  readonly extensions: readonly string[];
35
+
36
+ /** Exact basenames accepted in addition to extensions, such as CMakeLists.txt. */
37
+ readonly fileNames?: readonly string[];
30
38
  readonly include?: readonly string[];
31
39
  readonly exclude?: readonly string[];
32
40
  }
@@ -62,6 +70,9 @@ Describes how a linter's output becomes Pi Agent IDE diagnostics.
62
70
  export interface DiagnosticParserConfig {
63
71
  readonly format: DiagnosticFormat;
64
72
  readonly pattern?: string;
73
+
74
+ /** Column numbering used by a regex reporter; IDE diagnostics are always one-based. */
75
+ readonly columnBase?: 0 | 1;
65
76
  }
66
77
 
67
78
  /**
@@ -218,6 +229,11 @@ export function matchesConfiguredFile(
218
229
  if (
219
230
  config.extensions.every(
220
231
  (candidate) => !(normalizeExtension(candidate) === extension || candidate === "*"),
232
+ ) &&
233
+ !config.fileNames?.some((name) =>
234
+ process.platform === "win32"
235
+ ? name.toLowerCase() === path.basename(filePath).toLowerCase()
236
+ : name === path.basename(filePath),
221
237
  )
222
238
  ) {
223
239
  return false;
@@ -230,6 +246,29 @@ export function matchesConfiguredFile(
230
246
  return (config.include === undefined || matches(config.include)) && !matches(config.exclude);
231
247
  }
232
248
 
249
+ /**
250
+ Selects an explicit override first, then an available built-in with the strongest native evidence.
251
+ A missing native choice never falls back to an unrelated installed tool.
252
+ */
253
+ export function selectConfiguredEntry<T extends FileMatcherConfig>(
254
+ entries: readonly EffectiveToolConfigEntry<T>[],
255
+ availableBuiltIns: ReadonlySet<string>,
256
+ evidence: ReadonlyMap<string, { readonly score: number }>,
257
+ filePath: string,
258
+ projectRoot: string,
259
+ ): EffectiveToolConfigEntry<T> | undefined {
260
+ const absolute = path.resolve(projectRoot, filePath);
261
+ const matching = entries.filter((entry) =>
262
+ matchesConfiguredFile(entry.config, absolute, projectRoot),
263
+ );
264
+ const override = matching.find((entry) => entry.layer !== "built-in");
265
+ if (override !== undefined) return override;
266
+ const score = Math.max(0, ...matching.map((entry) => evidence.get(entry.id)?.score ?? 0));
267
+ return matching.find(
268
+ (entry) => availableBuiltIns.has(entry.id) && (evidence.get(entry.id)?.score ?? 0) === score,
269
+ );
270
+ }
271
+
233
272
  /**
234
273
  Returns whether a configured process executable can be launched from the project.
235
274
  */
@@ -241,24 +280,7 @@ export async function hasConfiguredExecutable(
241
280
  assertProcessConfig(config, "process");
242
281
  const executable = requiredValue(config.command[0]).replaceAll("{project}", projectRoot);
243
282
  const effectiveEnvironment = createConfiguredProcessEnvironment(config, projectRoot, environment);
244
- const candidates =
245
- path.isAbsolute(executable) || path.dirname(executable) !== "."
246
- ? [path.resolve(projectRoot, executable)]
247
- : (effectiveEnvironment.PATH ?? "")
248
- .split(path.delimiter)
249
- .filter(Boolean)
250
- .map((directory) => path.join(directory, executable));
251
-
252
- for (const candidate of candidates) {
253
- try {
254
- await access(candidate, constants.X_OK);
255
- return true;
256
- } catch {
257
- // Try the next executable location.
258
- }
259
- }
260
-
261
- return false;
283
+ return isExecutableAvailable(executable, projectRoot, effectiveEnvironment);
262
284
  }
263
285
 
264
286
  /**
@@ -408,6 +430,13 @@ export function parseLintersConfig(value: unknown): LintersConfig {
408
430
  throw new Error(`linter ${name} has an unsupported diagnostics format`);
409
431
  }
410
432
 
433
+ if (
434
+ diagnostics.columnBase !== undefined &&
435
+ (diagnostics.format !== "regex" ||
436
+ (diagnostics.columnBase !== 0 && diagnostics.columnBase !== 1))
437
+ ) {
438
+ throw new Error(`linter ${name} columnBase must be 0 or 1 for regex diagnostics`);
439
+ }
411
440
  if (diagnostics.format === "regex" && typeof diagnostics.pattern !== "string") {
412
441
  throw new Error(`linter ${name} regex diagnostics require pattern`);
413
442
  }
@@ -433,6 +462,9 @@ function configRoot(
433
462
  function assertMatcher(record: Record<string, unknown>, label: string): void {
434
463
  assertStringArray(record.extensions, `${label}.extensions`, false);
435
464
 
465
+ if (record.fileNames !== undefined)
466
+ assertStringArray(record.fileNames, `${label}.fileNames`, false);
467
+
436
468
  if (record.include !== undefined) {
437
469
  assertStringArray(record.include, `${label}.include`, false);
438
470
  }
@@ -550,10 +582,10 @@ export function createConfiguredProcessEnvironment(
550
582
  projectRoot: string,
551
583
  environment: NodeJS.ProcessEnv,
552
584
  ): NodeJS.ProcessEnv {
553
- const effective = { ...environment, ...config.env };
554
- const projectBin = path.resolve(projectRoot, "node_modules", ".bin");
555
- effective.PATH = [projectBin, effective.PATH].filter(Boolean).join(path.delimiter);
556
- return effective;
585
+ return projectProcessEnvironment(projectRoot, {
586
+ ...normalizeProcessEnvironment(environment),
587
+ ...normalizeProcessEnvironment(config.env ?? {}),
588
+ });
557
589
  }
558
590
 
559
591
  function expandPlaceholders(