pi-lens 4.2.1 → 4.3.0

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 (149) hide show
  1. package/CHANGELOG.md +498 -0
  2. package/README.md +45 -2
  3. package/dist/clients/actionable-warnings.js +23 -7
  4. package/dist/clients/advisory-provenance.js +187 -51
  5. package/dist/clients/cache-manager.js +64 -5
  6. package/dist/clients/child-unref.js +17 -8
  7. package/dist/clients/config-diagnostic-codes.js +2 -0
  8. package/dist/clients/config-locations.js +237 -9
  9. package/dist/clients/config-resolve.js +7 -1
  10. package/dist/clients/degradation-ledger.js +33 -3
  11. package/dist/clients/dependency-checker.js +87 -64
  12. package/dist/clients/diagnostic-dispositions.js +39 -3
  13. package/dist/clients/dispatch/finding-policy.js +118 -1
  14. package/dist/clients/dispatch/indent-detect.js +8 -2
  15. package/dist/clients/dispatch/inline-suppressions.js +23 -4
  16. package/dist/clients/dispatch/rule-ignores.js +14 -7
  17. package/dist/clients/dispatch/runners/actionlint.js +26 -28
  18. package/dist/clients/dispatch/runners/biome-check.js +38 -25
  19. package/dist/clients/dispatch/runners/cpp-check.js +32 -49
  20. package/dist/clients/dispatch/runners/credo.js +16 -14
  21. package/dist/clients/dispatch/runners/cue-vet.js +25 -7
  22. package/dist/clients/dispatch/runners/dart-analyze.js +28 -47
  23. package/dist/clients/dispatch/runners/detekt.js +11 -4
  24. package/dist/clients/dispatch/runners/dotnet-build.js +27 -22
  25. package/dist/clients/dispatch/runners/elixir-check.js +31 -46
  26. package/dist/clients/dispatch/runners/eslint.js +29 -46
  27. package/dist/clients/dispatch/runners/gleam-check.js +91 -11
  28. package/dist/clients/dispatch/runners/go-vet.js +16 -2
  29. package/dist/clients/dispatch/runners/golangci-lint.js +38 -23
  30. package/dist/clients/dispatch/runners/hadolint.js +27 -15
  31. package/dist/clients/dispatch/runners/htmlhint.js +17 -8
  32. package/dist/clients/dispatch/runners/javac.js +31 -21
  33. package/dist/clients/dispatch/runners/ktlint.js +34 -60
  34. package/dist/clients/dispatch/runners/lsp.js +6 -5
  35. package/dist/clients/dispatch/runners/markdownlint.js +12 -5
  36. package/dist/clients/dispatch/runners/mypy.js +2 -1
  37. package/dist/clients/dispatch/runners/oxlint.js +22 -6
  38. package/dist/clients/dispatch/runners/php-lint.js +39 -16
  39. package/dist/clients/dispatch/runners/phpstan.js +1 -1
  40. package/dist/clients/dispatch/runners/rubocop.js +27 -18
  41. package/dist/clients/dispatch/runners/ruff.js +18 -19
  42. package/dist/clients/dispatch/runners/rust-clippy.js +6 -1
  43. package/dist/clients/dispatch/runners/shellcheck.js +6 -2
  44. package/dist/clients/dispatch/runners/spellcheck.js +10 -3
  45. package/dist/clients/dispatch/runners/sqlfluff.js +11 -2
  46. package/dist/clients/dispatch/runners/stylelint.js +10 -2
  47. package/dist/clients/dispatch/runners/swiftlint.js +11 -2
  48. package/dist/clients/dispatch/runners/taplo.js +12 -6
  49. package/dist/clients/dispatch/runners/tflint.js +30 -15
  50. package/dist/clients/dispatch/runners/tree-sitter.js +23 -0
  51. package/dist/clients/dispatch/runners/trivy-config.js +8 -2
  52. package/dist/clients/dispatch/runners/utils/diagnostic-parsers.js +11 -1
  53. package/dist/clients/dispatch/runners/vale.js +15 -3
  54. package/dist/clients/dispatch/runners/yamllint.js +12 -2
  55. package/dist/clients/dispatch/runners/zig-check.js +27 -39
  56. package/dist/clients/dispatch/suppress-writer.js +13 -3
  57. package/dist/clients/effective-config.js +3 -1
  58. package/dist/clients/finding-delivery-gate.js +42 -11
  59. package/dist/clients/formatters.js +49 -11
  60. package/dist/clients/git-guard.js +247 -34
  61. package/dist/clients/gradle-ktfmt-style.js +121 -25
  62. package/dist/clients/inline-blocker-dispositions.js +186 -0
  63. package/dist/clients/install-diagnostics.js +19 -6
  64. package/dist/clients/installer/index.js +281 -32
  65. package/dist/clients/jscpd-client.js +8 -0
  66. package/dist/clients/latency-logger.js +8 -0
  67. package/dist/clients/lens-config.js +66 -8
  68. package/dist/clients/lsp/client.js +139 -11
  69. package/dist/clients/lsp/config.js +9 -7
  70. package/dist/clients/lsp/content-limits.js +41 -0
  71. package/dist/clients/lsp/index.js +1 -1
  72. package/dist/clients/lsp/launch.js +23 -2
  73. package/dist/clients/lsp/server.js +106 -25
  74. package/dist/clients/lsp/sync-kind.js +14 -0
  75. package/dist/clients/lsp/wait-policy/strategies.js +105 -16
  76. package/dist/clients/mcp/ipc.js +232 -44
  77. package/dist/clients/mcp/review.js +53 -7
  78. package/dist/clients/opengrep-client.js +11 -6
  79. package/dist/clients/pipeline.js +121 -66
  80. package/dist/clients/project-diagnostics/fresh-fetch.js +21 -3
  81. package/dist/clients/project-lens-config.js +11 -3
  82. package/dist/clients/review-graph/builder.js +34 -26
  83. package/dist/clients/review-graph/git-identity.js +16 -10
  84. package/dist/clients/ruff-client.js +31 -4
  85. package/dist/clients/runtime-coordinator.js +38 -4
  86. package/dist/clients/runtime-tool-call.js +16 -5
  87. package/dist/clients/runtime-tool-result.js +27 -12
  88. package/dist/clients/runtime-turn.js +447 -280
  89. package/dist/clients/safe-spawn.js +256 -65
  90. package/dist/clients/spawn-output-cap.js +84 -1
  91. package/dist/clients/tree-sitter-client.js +119 -58
  92. package/dist/clients/turn-end/lane.js +51 -0
  93. package/dist/clients/turn-end/lanes/govulncheck.js +112 -0
  94. package/dist/clients/turn-end/lanes/secrets.js +204 -0
  95. package/dist/clients/warm-attach.js +59 -0
  96. package/dist/clients/widget-state.js +145 -14
  97. package/dist/clients/workspace-topology.js +57 -3
  98. package/dist/clients/zizmor-config.js +26 -13
  99. package/dist/index.js +5695 -3733
  100. package/dist/mcp/analyze-cli.js +4 -0
  101. package/dist/mcp/server.js +33 -21
  102. package/dist/scripts/lib/web-tree-sitter-dir.mjs +123 -0
  103. package/dist/tools/lens-diagnostics.js +43 -16
  104. package/dist/tools/lsp-diagnostics.js +118 -7
  105. package/docs/adr/0001-stale-advisory-live-arm.md +29 -0
  106. package/docs/adr/0002-workspace-hash-rendezvous.md +30 -0
  107. package/docs/adr/0003-git-guard-latch-writer.md +203 -0
  108. package/docs/adr/0004-disposition-policy-seam.md +38 -0
  109. package/docs/adr/0005-tool-availability-enforcement-seam.md +29 -0
  110. package/docs/adr/0006-derived-state-benchmark-first.md +31 -0
  111. package/docs/adr/0007-end-to-end-witness-per-seam-slice.md +38 -0
  112. package/docs/adr/0008-turn-end-lane-interface.md +165 -0
  113. package/docs/adr/0009-reported-path-attribution.md +114 -0
  114. package/docs/adr/README.md +26 -0
  115. package/docs/agent-tools.md +18 -1
  116. package/docs/ast-grep_rules_catalog.md +4 -3
  117. package/docs/configuration.md +55 -1
  118. package/docs/engineering-principles.md +202 -0
  119. package/docs/environment-variables.md +61 -4
  120. package/docs/features.md +2 -2
  121. package/docs/globalconfig.md +6 -1
  122. package/docs/language-coverage.md +17 -0
  123. package/docs/lsp-capability-matrix.md +98 -31
  124. package/docs/pi-lens-fixer.md +57 -3
  125. package/docs/pi-lens-investigator.md +9 -0
  126. package/docs/pi-lens-reviewer.md +16 -0
  127. package/docs/pi-lens-subagent.md +9 -0
  128. package/docs/public-api-stability.md +1 -0
  129. package/docs/release-qa-baseline.md +2 -0
  130. package/docs/servercapabilities.md +21 -11
  131. package/docs/settings.md +12 -3
  132. package/docs/subagent-compat.md +1 -1
  133. package/package.json +5 -3
  134. package/rules/ast-grep-rules/rule-tests/no-assert-tuple-test.yml +13 -0
  135. package/rules/ast-grep-rules/rule-tests/no-boolean-in-except-test.yml +26 -0
  136. package/rules/ast-grep-rules/rule-tests/no-http-headers-bracket-access-test.yml +10 -0
  137. package/rules/ast-grep-rules/rule-tests/unchecked-numeric-parse-python-test.yml +18 -0
  138. package/rules/ast-grep-rules/rule-tests/unchecked-throwing-call-python-test.yml +4 -3
  139. package/rules/ast-grep-rules/rules/go-no-fmt-println.yml +2 -2
  140. package/rules/ast-grep-rules/rules/no-assert-tuple.yml +23 -13
  141. package/rules/ast-grep-rules/rules/no-boolean-in-except.yml +7 -3
  142. package/rules/ast-grep-rules/rules/no-console-except-error-js.yml +2 -2
  143. package/rules/ast-grep-rules/rules/no-console-except-error.yml +2 -2
  144. package/rules/ast-grep-rules/rules/no-http-headers-bracket-access.yml +12 -7
  145. package/rules/ast-grep-rules/rules/unchecked-numeric-parse-python.yml +44 -0
  146. package/rules/ast-grep-rules/rules/unchecked-throwing-call-python.yml +5 -3
  147. package/rules/tree-sitter-queries/typescript/console-statement.yml +2 -2
  148. package/scripts/install-selftest.mjs +21 -17
  149. package/scripts/lib/web-tree-sitter-dir.mjs +123 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.