pi-lens 4.4.10 → 4.4.12
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.
- package/CHANGELOG-USER.md +12 -12
- package/CHANGELOG.md +212 -0
- package/README.md +1 -0
- package/dist/{chunk-W4CUK5G6.js → chunk-2HWVG3IM.js} +2 -2
- package/dist/{chunk-B2YUE6YD.js → chunk-3EIZMRXI.js} +11 -11
- package/dist/{chunk-Y3EHLUPL.js → chunk-3MHY4BQY.js} +4 -4
- package/dist/{chunk-IDCTDKIA.js → chunk-3PMLYGJN.js} +6 -6
- package/dist/{chunk-VPFRU5IG.js → chunk-3QMLB4TI.js} +3 -3
- package/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/dist/chunk-3VWEZ6H2.js +72 -0
- package/dist/{chunk-YT2VR4SL.js → chunk-5EEWCJG7.js} +7 -7
- package/dist/{chunk-4NCDHTFI.js → chunk-5FDUKJZO.js} +10 -10
- package/dist/{chunk-QUQY3IME.js → chunk-5KLRCUDT.js} +9 -8
- package/dist/{chunk-FOEPIX76.js → chunk-6EIV3H7O.js} +158 -61
- package/dist/{chunk-GMC4ZGYR.js → chunk-6EXGCXM5.js} +5 -5
- package/dist/{chunk-CTB5BAJI.js → chunk-6GWCYEP7.js} +17 -16
- package/dist/{chunk-NBM7PNBP.js → chunk-6JLNZ6DP.js} +37 -26
- package/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/dist/{chunk-TJQSYX3J.js → chunk-75TVYCQW.js} +6 -6
- package/dist/{chunk-J6BR5XN2.js → chunk-7BEADGAZ.js} +3 -3
- package/dist/chunk-7KWI5UHL.js +28 -0
- package/dist/{chunk-GUGKKGG7.js → chunk-7M64NTAK.js} +3 -3
- package/dist/{chunk-SKVNHCT5.js → chunk-7T64QA5D.js} +48 -43
- package/dist/{chunk-YQA34KAF.js → chunk-7ZVEFWOE.js} +11 -11
- package/dist/{chunk-SJQUWQR6.js → chunk-AAIVSSUU.js} +2 -2
- package/dist/{chunk-6I44EDNQ.js → chunk-AD7JDEI6.js} +17 -15
- package/dist/{chunk-3FRI5H4T.js → chunk-AGEQRJ5A.js} +24 -10
- package/dist/{chunk-NPNFGYLV.js → chunk-AVBEPUCD.js} +19 -2
- package/dist/{chunk-OTSTS7L2.js → chunk-AYDE7RFV.js} +34 -3
- package/dist/{chunk-UOO4D2TK.js → chunk-AZXTLZHE.js} +34 -35
- package/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/dist/{chunk-S3WFVG5P.js → chunk-BEIPWPVR.js} +137 -126
- package/dist/{chunk-CZAWWXP6.js → chunk-BMMRLJA4.js} +7 -5
- package/dist/{chunk-QWTHFFU6.js → chunk-C6V2DSZZ.js} +12 -12
- package/dist/chunk-CIA7X2PZ.js +26 -0
- package/dist/{chunk-ZD4KVFXI.js → chunk-D2ZYRI7M.js} +172 -3
- package/dist/{chunk-F6FT6BVQ.js → chunk-D6ANA6YU.js} +34 -35
- package/dist/{chunk-HILZE4BQ.js → chunk-D7OEGXDX.js} +396 -306
- package/dist/{chunk-FCQSZQAT.js → chunk-DFAY7JUN.js} +14 -5
- package/dist/{chunk-DOUAWKLO.js → chunk-DIIDMDZU.js} +12 -12
- package/dist/{chunk-6MDM5MQT.js → chunk-DZSQXG66.js} +394 -162
- package/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/dist/{chunk-QSCZAP24.js → chunk-E5SSUV2A.js} +4 -4
- package/dist/{chunk-H65TYP6V.js → chunk-ET3DSSFZ.js} +37 -21
- package/dist/chunk-F7AMFFVK.js +22 -0
- package/dist/{chunk-4ITEFRDH.js → chunk-FDLGJFAE.js} +37 -145
- package/dist/{chunk-XAFZJEXY.js → chunk-FVQKX5KI.js} +23 -23
- package/dist/{chunk-CYUJB552.js → chunk-G3LR6V6N.js} +18 -12
- package/dist/{chunk-ZOPXB2KK.js → chunk-GHATCG2A.js} +111 -107
- package/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/dist/{chunk-UNBRHPHJ.js → chunk-HJWF7CGW.js} +17 -15
- package/dist/chunk-HRQTYU2T.js +355 -0
- package/dist/{chunk-QUPYLQA4.js → chunk-HSTN27NR.js} +14 -9
- package/dist/{chunk-YF4G5NN5.js → chunk-HWMNTQBJ.js} +2 -2
- package/dist/{chunk-K6WIBVMK.js → chunk-HYDJUVOE.js} +8 -9
- package/dist/{chunk-OPFNQBS5.js → chunk-HYR25MV3.js} +21 -25
- package/dist/{chunk-MAD4QJTP.js → chunk-IC4L65U7.js} +21 -17
- package/dist/{chunk-I32RSMH6.js → chunk-ILC2B7IJ.js} +11 -10
- package/dist/{chunk-BGLS5SDN.js → chunk-IT7MFVGP.js} +2 -2
- package/dist/{chunk-KDCIG23C.js → chunk-IZ36G463.js} +13 -9
- package/dist/{chunk-ALIZWXHZ.js → chunk-JKAVKTMY.js} +9 -9
- package/dist/{chunk-3HM4BUHR.js → chunk-JLMS7EMD.js} +16 -15
- package/dist/{chunk-HSYFLOZY.js → chunk-JRSS6KM4.js} +3 -3
- package/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/dist/{chunk-KJ3AHOCK.js → chunk-K2LD6YNH.js} +10 -10
- package/dist/chunk-KUDUKKQE.js +89 -0
- package/dist/{chunk-7JX3RNG4.js → chunk-KXDQD34C.js} +1 -1
- package/dist/{chunk-VGTBLTPN.js → chunk-LD7SXICE.js} +18 -66
- package/dist/{chunk-UY745U35.js → chunk-ME6MF2N2.js} +1 -1
- package/dist/{chunk-QHOTTC4A.js → chunk-MOEWCPMC.js} +2 -2
- package/dist/{chunk-JZQGRARR.js → chunk-MV6ST2KT.js} +15 -12
- package/dist/{chunk-QL37SGTS.js → chunk-NCDH2JB7.js} +18 -18
- package/dist/{chunk-AON2QIJF.js → chunk-NRVWLTOY.js} +20 -17
- package/dist/chunk-NZINZCHB.js +108 -0
- package/dist/{chunk-A5TEJZGJ.js → chunk-O6LCSHHI.js} +1 -1
- package/dist/{chunk-PTSA6QKL.js → chunk-OEPWTSUG.js} +8 -8
- package/dist/{chunk-QMV2APEH.js → chunk-OF2YGDUE.js} +36 -36
- package/dist/{chunk-GTTMQ6XB.js → chunk-OHEUOWYT.js} +1 -1
- package/dist/{chunk-GVWIU7M7.js → chunk-ORYQGVC3.js} +41 -4
- package/dist/{chunk-KSTQ4VXT.js → chunk-OVPR3GQ6.js} +10 -13
- package/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/dist/{chunk-TN5CWX5D.js → chunk-PCREZ4HJ.js} +34 -35
- package/dist/{chunk-SG2JQ2YP.js → chunk-PK3GDU4M.js} +1 -1
- package/dist/{chunk-NE4EFHJX.js → chunk-PPYUBO6Y.js} +2 -2
- package/dist/{chunk-DVRJBQOJ.js → chunk-PTJXMYRY.js} +19 -20
- package/dist/{chunk-TYHOEX4V.js → chunk-PXGVB2CY.js} +36 -39
- package/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/dist/{chunk-2LVJQU3I.js → chunk-QY6J2FTK.js} +33 -29
- package/dist/{chunk-ZZDVGCGG.js → chunk-R67WQ5RY.js} +9 -9
- package/dist/{chunk-Q2VCKC3X.js → chunk-S6ZQFPOX.js} +11 -8
- package/dist/{chunk-KFRDFAOE.js → chunk-SF7KSXB5.js} +7 -7
- package/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
- package/dist/{chunk-WS3UFJOU.js → chunk-SUIZOCSY.js} +3 -2
- package/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
- package/dist/{chunk-V7F7JHS5.js → chunk-T6PPK3T6.js} +563 -554
- package/dist/chunk-TM3A3K7T.js +28 -0
- package/dist/{chunk-RQRKIRFY.js → chunk-TOOXNL6M.js} +8 -8
- package/dist/chunk-TS5EIWEF.js +25 -0
- package/dist/chunk-VD7MQFEV.js +56 -0
- package/dist/{chunk-2ADRLTM2.js → chunk-VU2PRGRI.js} +6 -35
- package/dist/chunk-W6VLB6LL.js +145 -0
- package/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/dist/{chunk-C6AODRNU.js → chunk-WTSQKJAR.js} +11 -10
- package/dist/{chunk-46TQJSUE.js → chunk-X33QECRJ.js} +2 -2
- package/dist/{chunk-B6HXETWY.js → chunk-Y7XMKBFP.js} +28 -26
- package/dist/{chunk-TLWFZ66Y.js → chunk-YLHJWAQS.js} +4 -4
- package/dist/{chunk-BRESRQBE.js → chunk-YLW26OHX.js} +8 -8
- package/dist/{chunk-IL6PIV33.js → chunk-YTXFNCVN.js} +2 -2
- package/dist/chunk-YULIERZW.js +27 -0
- package/dist/chunk-Z2W5YJBW.js +25 -0
- package/dist/{chunk-XPGH5O74.js → chunk-Z6WTLVUL.js} +30 -39
- package/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/dist/{chunk-E4VXKTBR.js → chunk-ZWZD4TJ5.js} +163 -173
- package/dist/index.js +6405 -4497
- package/dist/mcp/analyze-cli.js +17 -13
- package/dist/mcp/cli.js +42 -43
- package/dist/mcp/server.js +1520 -608
- package/dist/mcp/worker.js +62 -61
- package/dist/probes/installer.js +19 -18
- package/docs/agent-guide.md +3 -1
- package/docs/agent-tools.md +57 -13
- package/docs/alignment-families.md +5 -1
- package/docs/ci.md +120 -0
- package/docs/configuration.md +24 -6
- package/docs/custom-rules.md +1 -0
- package/docs/defect-shapes.md +107 -71
- package/docs/durable-store-audit-1202.md +1 -1
- package/docs/engineering-principles.md +46 -12
- package/docs/environment-variables.md +25 -2
- package/docs/features.md +1 -1
- package/docs/globalconfig.md +8 -1
- package/docs/invariants/dispatch-runners.md +13 -0
- package/docs/invariants/lsp-trust-exec.md +7 -0
- package/docs/language-coverage.md +1 -1
- package/docs/lsp-capability-matrix.md +15 -16
- package/docs/lsp-idle-eviction.md +1 -1
- package/docs/mcp.md +2 -1
- package/docs/module-report-read-symbol.md +2 -2
- package/docs/pi-lens-fixer.md +3 -2
- package/docs/pi-lens-merge-policy.md +1 -0
- package/docs/pi-lens-monitor.md +4 -1
- package/docs/pi-lens-release.md +19 -0
- package/docs/pi-lens-reviewer.md +8 -2
- package/docs/public-api-stability.md +41 -6
- package/docs/rfcs/5138-query-surface.md +121 -0
- package/docs/servercapabilities.md +1 -1
- package/docs/settings.md +9 -0
- package/docs/usage.md +1 -1
- package/docs/word-index.md +9 -10
- package/package.json +3 -3
- package/rules/ast-grep-rules/coderabbit/README.md +2 -0
- package/rules/ast-grep-rules/coderabbit/rules/c/security/dont-call-system-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/file-access-before-action-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/file-stat-before-action-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/insecure-hash-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/libxml2-audit-parser-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/null-library-function-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/world-writable-file-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/dont-call-system-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-access-before-action-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-stat-before-action-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/fix-format-security-error-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/insecure-hash-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/libxml2-audit-parser-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/missing-nul-cpp-string-memcpy-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/null-library-function-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/small-key-size-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-return-data-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-vector-invalidation-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/string-view-temporary-string-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/world-writable-file-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/httponly-false-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/insecure-binaryformatter-deserialization-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-decode-without-verify-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-tokenvalidationparameters-no-expiry-validation-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/networkcredential-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/npgsqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/oracleconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/sqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/stacktrace-disclosure-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/use-ecb-mode-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/avoid-bind-to-all-interfaces-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-cookie-store-hardcoded-session-key-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-csrf-hardcoded-auth-key-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/grpc-client-insecure-connection-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/jwt-go-none-algorithm-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/missing-ssl-minversion-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/openai-empty-secret-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/openai-hardcoded-secret-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/ssl-v3-is-insecure-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/tls-with-insecure-cipher-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/use-of-weak-rsa-key-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/html/security/plaintext-http-link-html.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cbc-padding-oracle-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-httponly-false-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-httponly-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-samesite-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-secure-flag-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-secure-flag-false-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/datanucleus-hardcoded-connection-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/des-is-deprecated-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/desede-is-deprecated-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-disallow-doctype-decl-false-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-general-entities-true-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-parameter-entities-true-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/drivermanager-hardcoded-secret-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/ecb-cipher-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-connection-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-secret-in-credentials-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/java-jwt-hardcoded-secret-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisclientconfig-hardcoded-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisfactory-hardcoded-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/missing-httponly-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/missing-secure-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/no-null-cipher-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/passwordauthentication-hardcoded-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/rsa-no-padding-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/simple-command-injection-direct-input-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/system-setproperty-hardcoded-secret-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/unencrypted-socket-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-aes-ecb-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-blowfish-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-default-aes-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-digest-utils-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc2-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc4-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-sha1-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/weak-ssl-context-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/detect-angular-sce-disabled-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-jwt-hardcoded-secret-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-session-hardcoded-secret-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/jwt-simple-noverify-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-rsa-weak-key-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-empty-password-argument-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-hardcoded-secret-argument-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/des-is-deprecated-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/desede-is-deprecated-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/jwt-hardcode-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/rsa-no-padding-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/system-setproperty-hardcoded-secret-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/php/security/openssl-cbc-static-iv-php.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/php/security/search-active-debug-php.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/avoid-mktemp-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/avoid_app_run_with_bad_host-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/debug-enabled-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-django-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-flask-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/insecure-cipher-algorithm-rc4-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/jwt-python-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/openai-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-elasticsearch-hardcoded-bearer-auth-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pyjwt-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-oauth-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-urllib3-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/force-ssl-false-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-http-auth-in-controller-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-secret-rsa-passphrase-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/insufficient-rsa-key-size-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-aws-sdk-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-excon-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-faraday-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-octokit-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/empty-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/hardcoded-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/postgres-empty-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/reqwest-accept-invalid-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/secrets-reqwest-hardcoded-auth-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/ssl-verify-none-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-empty-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-hardcoded-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/scala/security/jwt-scala-hardcode-scala.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/scala/security/scala-jwt-hardcoded-secret-scala.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/aes-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/blowfish-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/chacha20-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/insecure-biometrics-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/rabbit-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/detect-angular-sce-disabled-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/express-session-hardcoded-secret-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/jwt-simple-noverify-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-rsa-weak-key-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-empty-password-argument-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-hardcoded-secret-argument-typescript.yml +2 -1
- package/rules/ast-grep-rules/rule-schema.json +1 -1
- package/rules/ast-grep-rules/rules/c-no-malloc-free.yml +13 -12
- package/rules/ast-grep-rules/rules/cpp-no-malloc-free.yml +11 -10
- package/rules/ast-grep-rules/rules/cpp-no-printf.yml +10 -9
- package/rules/ast-grep-rules/rules/go-defer-func-call-antipattern.yml +14 -13
- package/rules/ast-grep-rules/rules/go-no-fmt-println.yml +14 -13
- package/rules/ast-grep-rules/rules/go-no-panic-in-lib.yml +20 -19
- package/rules/ast-grep-rules/rules/go-no-underscore-func-name.yml +14 -13
- package/rules/ast-grep-rules/rules/go-prefer-errors-is.yml +14 -13
- package/rules/ast-grep-rules/rules/go-prefer-string-builder.yml +19 -18
- package/rules/ast-grep-rules/rules/go-test-functions.yml +14 -13
- package/rules/ast-grep-rules/rules/hyphenated-svg-attribute.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-no-lateinit.yml +12 -11
- package/rules/ast-grep-rules/rules/kotlin-no-nullable-boolean.yml +11 -10
- package/rules/ast-grep-rules/rules/kotlin-no-println.yml +15 -14
- package/rules/ast-grep-rules/rules/kotlin-no-unnecessary-let.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-no-unsafe-cast.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-no-var.yml +11 -10
- package/rules/ast-grep-rules/rules/kotlin-prefer-data-class.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-prefer-is-empty.yml +10 -9
- package/rules/ast-grep-rules/rules/no-aws-access-key-literal.yml +1 -1
- package/rules/ast-grep-rules/rules/no-compile-call.yml +13 -12
- package/rules/ast-grep-rules/rules/no-flask-secret-key-literal.yml +1 -1
- package/rules/ast-grep-rules/rules/no-hardcoded-password.yml +1 -1
- package/rules/ast-grep-rules/rules/no-marshal-load.yml +12 -11
- package/rules/ast-grep-rules/rules/no-python-sql-string-concat.yml +12 -11
- package/rules/ast-grep-rules/rules/no-requests-verify-false.yml +13 -12
- package/rules/ast-grep-rules/rules/no-secret-in-env-var-name.yml +1 -1
- package/rules/ast-grep-rules/rules/python-optional-type.yml +9 -8
- package/rules/ast-grep-rules/rules/reducible-list-comprehension.yml +8 -7
- package/rules/ast-grep-rules/rules/ruby-detect-path-traversal.yml +14 -13
- package/rules/ast-grep-rules/rules/ruby-symbol-to-proc-candidate.yml +8 -7
- package/rules/ast-grep-rules/rules/rust-no-chars-enumerate.yml +9 -8
- package/rules/ast-grep-rules/rules-disabled/gorm-unbounded-preload.yml +7 -6
- package/rules/ast-grep-rules/rules-disabled/shadow-err-variable.yml +6 -5
- package/scripts/analyze-pi-lens-logs.mjs +262 -3
- package/scripts/lib/latency-log-phases.mjs +125 -0
- package/dist/chunk-3QWVOBZJ.js +0 -73
- package/dist/chunk-7WJ55KBN.js +0 -162
- package/dist/chunk-BDR5MEZY.js +0 -25
- package/dist/chunk-CKEQFGLT.js +0 -32
- package/dist/chunk-DBS736MA.js +0 -57
- package/dist/chunk-I74RQGKA.js +0 -88
- package/dist/chunk-IK4YS3KC.js +0 -25
- package/dist/chunk-JKOZ2Z4U.js +0 -20
- package/dist/chunk-TQHOKMVZ.js +0 -28
- package/dist/chunk-VS2L7QDI.js +0 -25
- package/dist/chunk-WAA63ZJV.js +0 -140
- package/dist/chunk-ZPFLHB3R.js +0 -28
package/CHANGELOG-USER.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# User changelog
|
|
2
2
|
|
|
3
|
+
## [4.4.12] - 2026-11-10
|
|
4
|
+
|
|
5
|
+
1 feature, 2 fixes.
|
|
6
|
+
|
|
7
|
+
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.12
|
|
8
|
+
|
|
9
|
+
## [4.4.11] - 2026-11-09
|
|
10
|
+
|
|
11
|
+
32 fixes, 2 other changes.
|
|
12
|
+
|
|
13
|
+
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.11
|
|
14
|
+
|
|
3
15
|
## [4.4.10] - 2026-11-06
|
|
4
16
|
|
|
5
17
|
2 features, 7 fixes, 1 other change.
|
|
@@ -17,15 +29,3 @@ Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.9
|
|
|
17
29
|
1 feature, 28 fixes, 6 other changes.
|
|
18
30
|
|
|
19
31
|
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.8
|
|
20
|
-
|
|
21
|
-
## [4.4.7] - 2026-10-29
|
|
22
|
-
|
|
23
|
-
2 features, 21 fixes.
|
|
24
|
-
|
|
25
|
-
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.7
|
|
26
|
-
|
|
27
|
-
## [4.4.6] - 2026-10-27
|
|
28
|
-
|
|
29
|
-
6 fixes, 2 other changes.
|
|
30
|
-
|
|
31
|
-
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.6
|
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,218 @@ All notable changes to pi-lens will be documented in this file.
|
|
|
16
16
|
|
|
17
17
|
### Security
|
|
18
18
|
|
|
19
|
+
## [4.4.12] - 2026-11-10
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
#### Rules
|
|
24
|
+
|
|
25
|
+
- **Edits now name functions they made more complex than main.**
|
|
26
|
+
An edit's result gains one short line, such as
|
|
27
|
+
`⚠ complexity vs main: Store.get cc 12→19 (≥15)`, naming the functions the
|
|
28
|
+
edit itself made worse than the default branch has them, at or past the
|
|
29
|
+
`high-complexity` thresholds (15 and 6 for every language until per-language
|
|
30
|
+
ones exist). A function the edit did not change, or improved, is never
|
|
31
|
+
named; neither is an anonymous callback, and the line waits while the edit
|
|
32
|
+
has blockers. The line is bounded: past its length budget the remaining
|
|
33
|
+
names collapse into `+N more`, and only a file's first 512 functions are
|
|
34
|
+
judged. Outside a repository it compares with the file as it was before the
|
|
35
|
+
edit. `--no-complexity` or disabling `high-complexity` turns it off, and a
|
|
36
|
+
file over 256 KiB is not judged. Owner matching is linear,
|
|
37
|
+
and first touches defer it until an edit reads the baseline. (refs #5087)
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
#### Language servers
|
|
42
|
+
|
|
43
|
+
- **Edits to a project outside the session folder now get language server diagnostics.** An edit to a file in a sibling project (an adopted root) used to report "not analyzed" even while its language server ran. In pi, language servers that run project code, such as rust-analyzer, now start there only when pi itself would trust that project: a saved decision on it or a parent folder, pi's default for a folder without `.pi` resources, or `defaultProjectTrust`. They no longer borrow the session's trust. Under MCP, pi's trust is not read; the MCP client owns workspace trust. (refs #5469)
|
|
44
|
+
|
|
45
|
+
#### Hosts and integrations
|
|
46
|
+
|
|
47
|
+
- **Providers that rejected pi-lens's strict tool schemas work again.** With 4.4.11, opencode-go beam-free failed every turn with “Invalid request” and Amazon Bedrock's Anthropic models with “For 'array' type, property 'maxItems' is not supported”; the five tools whose schemas they rejected no longer request strict mode, and the three that still do use only schema keywords strict mode accepts. (refs #5471, #5480)
|
|
48
|
+
|
|
49
|
+
## [4.4.11] - 2026-11-09
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
#### Configuration and flags
|
|
54
|
+
|
|
55
|
+
- **Numeric knobs now treat 0 as a value and blank as unset.** A blank `PI_LENS_*` number now falls back to its default, and an explicit `0` disables the knobs documented as "0 disables", such as `PI_LENS_LSP_TOUCH_DEBOUNCE_MS` and `PI_LENS_LSP_EARLY_UNBLOCK_GRACE_MS`; `PI_LENS_LSP_NAV_CLIENT_WAIT_MS` keeps its 1500 ms default, and an explicit `0` also waits 1500 ms. A non-numeric or negative value also falls back to the default. The switches `PI_LENS_REVERSE_DEPS_REUSE`, `PI_LENS_GRAPH_SEQ_FASTPATH` and `PI_LENS_READ_GUARD_LOG_SNAPSHOTS` now read only the exact `0` or `1`, so `false` and `off` stop switching them off. `PI_LENS_SNAPSHOT_PERSIST_SYNC` accepted `1` and `true` before and now accepts only `1`, so `true` stops switching it to sync persistence. (refs #5419)
|
|
56
|
+
|
|
57
|
+
#### Hosts and integrations
|
|
58
|
+
|
|
59
|
+
- **`path` is now the only file argument four MCP tools advertise.** `pilens_module_report`, `pilens_read_symbol`, `pilens_read_enclosing` and `pilens_effective_config` take their schema and description from the pi tool definition, which names `path` alone, so a model reading the tool list is never sent to `file` or `filePath`. A `file`-only call to the three read tools is now refused as a missing `path`; `pilens_effective_config` still answers one, with the ignored-argument notice. `pilens_analyze`, `pilens_diagnostics` and `pilens_lsp_navigation` keep both aliases. (refs #5138)
|
|
60
|
+
|
|
61
|
+
### Fixed
|
|
62
|
+
|
|
63
|
+
#### Language servers
|
|
64
|
+
|
|
65
|
+
- **A session rooted at `/` keeps its `lsp.disabledServers` denial.** The LSP session-root registry answered "no config" for every file under a root whose path is the filesystem root (a container's `WORKDIR /`), so a language server the operator had turned off could still attach. It now uses the containment check the rest of that module already used. Four other inline containment checks (C/C++ include resolution, the bundled query root, the LSP root-walk stop directory and the live-peer root match) now go through the shared path helpers. Their answers change only where the old inline check was wrong: a root at `/`, Windows drive and UNC roots, and case-insensitive spellings. (refs #4907)
|
|
66
|
+
|
|
67
|
+
#### Blockers and sessions
|
|
68
|
+
|
|
69
|
+
- **A dismissed cascade error stops coming back.** Mark a neighbour's reported error as a false positive and the "still unresolved until a cascade or an edit shows them gone" line drops it on the next turn, instead of repeating at blocker tier until some later check re-reads that file. (refs #5344)
|
|
70
|
+
|
|
71
|
+
- **A mark copied from a cascade line now hides that error.** The cascade line
|
|
72
|
+
prints only the first line of an error message, cut at 100 characters, so a
|
|
73
|
+
false-positive or suppress mark spelled from what the agent was shown hid
|
|
74
|
+
nothing for a long or multiline error; the error kept reporting every turn.
|
|
75
|
+
A mark that quotes text two live errors share still hides neither, so naming
|
|
76
|
+
one message exactly drops that one alone. (refs #5367)
|
|
77
|
+
|
|
78
|
+
- **Cross-process autoformat nudges keep every file.** Two writes landing in
|
|
79
|
+
the same tick previously dropped one batch, so an agent could miss the
|
|
80
|
+
"these files were autoformatted" note about one of them. (refs #5377)
|
|
81
|
+
|
|
82
|
+
- **An LSP rename no longer costs an extra read after /tree or /fork.** On OpenAI Responses sessions the tool-call id carries a pipe, and the write record of an `lsp_navigation` rename or code action kept that raw id, so a branch move dropped it. The record now keeps the same sanitized id the branch holds, and the next edit of the renamed file is allowed. (refs #5405)
|
|
83
|
+
|
|
84
|
+
#### Runners and scanners
|
|
85
|
+
|
|
86
|
+
- **Linters now find a project venv tool once pi trusts the project.** A
|
|
87
|
+
linter that was skipped because pi had not yet trusted the project now
|
|
88
|
+
checks again after trust is granted, so a project `.venv` ruff runs in the
|
|
89
|
+
same session. In a trusted project, the project's own `.venv` or
|
|
90
|
+
`node_modules/.bin` copy of a linter now runs ahead of pi-lens's managed
|
|
91
|
+
copy and the one on PATH; a project copy that cannot start falls back to
|
|
92
|
+
them. Twelve linters (yamllint, markdownlint, stylelint and others) also
|
|
93
|
+
stop re-running their version check on every edit when the tool is present
|
|
94
|
+
but broken. (refs #5410)
|
|
95
|
+
|
|
96
|
+
- **A linter that hangs now costs one timeout per session, not one per edit.**
|
|
97
|
+
Any linter whose run times out is skipped for the rest of the session
|
|
98
|
+
before it spawns or checks its version again, and the skip is reported
|
|
99
|
+
once. A slow linter that runs after the edit no longer starts a second copy
|
|
100
|
+
while one is still running: edits made meanwhile get one rerun per file
|
|
101
|
+
once the first run ends. (refs #5413)
|
|
102
|
+
|
|
103
|
+
- **A truncated gitleaks or trivy report now reports a failed scan, not a clean one.** A report the scanner could not read used to read as "no secrets or vulnerabilities found"; it now leaves a failed result and a `security-scan-report-failed` health row that names the unreadable report, as jscpd and opengrep already did. An empty report file still reads as an empty run. (refs #5447)
|
|
104
|
+
|
|
105
|
+
- **Autofix now skips a tool that timed out for the rest of the session.** Later edits no longer wait out another 30 second budget on that tool.
|
|
106
|
+
(refs #5376)
|
|
107
|
+
|
|
108
|
+
- **Config-gated linters now agree on whether your project has config.** The detekt runner now finds a config at the repo root from a Gradle module, and tflint receives a `.tflint.hcl` that sits in your home directory. Black and ruff config is read from TOML table headings and requirement names, so a commented `[tool.ruff]` or a `flake8-black` entry no longer counts. The `effective_config` tool reports `no-project-config` for a linter that declares it needs project config and would skip (eslint, mypy, detekt, golangci-lint, phpstan, credo, vale), and the SQL lint policy no longer claims it needs config. (refs #5408)
|
|
109
|
+
|
|
110
|
+
- **A failed jscpd run is recorded, and an opengrep run with no report is empty.** Opengrep and jscpd each ran their
|
|
111
|
+
own copy of the report file rules, so the same run read differently per
|
|
112
|
+
scanner. An opengrep scan that exited 0 and wrote no report read as a
|
|
113
|
+
failure, and a jscpd run that never started, or wrote a report it could not
|
|
114
|
+
read, came back empty and left no record. All four scanners now share one
|
|
115
|
+
verdict: a clean run with no report is an empty scan that claims no files,
|
|
116
|
+
and a missing or unreadable report in any other case is a failure with its
|
|
117
|
+
reason on the record; a readable report still goes to the parser. (refs #5411)
|
|
118
|
+
|
|
119
|
+
- **Unreadable output and timeouts now read the same across linters.** A nonzero exit with output its parser cannot parse at all is a parse error for vale, SwiftLint, spellcheck, taplo and detekt, as it already was for ruff, and a nonzero prisma exit that printed nothing is a skip. A timeout in helm or clippy is a run that did not finish, as it is for SwiftLint. For vale, SwiftLint, spellcheck, taplo and detekt, a valid report that names only other files still reads clean. Ruff, credo and shellcheck no longer lose their findings to a warning printed on stderr, and opengrep reads a complete report whatever its exit status. (refs #5411)
|
|
120
|
+
|
|
121
|
+
- **Information-level findings now count as advisory warnings on every path.** Pyright information findings were warnings through the CLI and `none` through the language server, so the copy the dispatcher kept depended on which lane answered. A finding with no rule also took its identity from its line alone, so a second finding on the same line could drop out of the report. (refs #5412)
|
|
122
|
+
|
|
123
|
+
- **A new unused variable, unused import or undefined name now blocks whichever linter reports it.** The same finding from two tools is listed once, and a disabled rule or a pre-existing finding in one tool no longer hides or blocks another tool's copy. (refs #5416)
|
|
124
|
+
|
|
125
|
+
- **A fixer that rewrites a file and then exits nonzero is now recorded as a change.** The autofix and formatter paths compare the bytes, not the exit code, so the rewritten file is refreshed and resynced to the language server. `ast_grep_replace`, language-server workspace edits and `lens_diagnostic_mark` refuse files outside the session's writable roots and record the files an interrupted `ast_grep_replace` already rewrote. Under `no-autofix`, `ast_grep_replace` previews but refuses `apply: true`, and a language-server rename that touches a vendor path such as `node_modules` is refused whole. (refs #5417)
|
|
126
|
+
|
|
127
|
+
- **`.mts` and `.cts` files now count as source.** The startup source count, the duplicate-code (jscpd) re-scan and walk gate, and the review-graph module walk each kept a hand-written extension list that left out ES-module and CommonJS-module TypeScript; they now answer through the language registry's JS/TS source check. `.mjs` and `.cjs` files also now count at the startup file-limit count, in the review-graph walk and at the circular-dependency root gate. Circular-dependency scanning of `.mts` and `.cts` still waits on madge reading those extensions. (refs #5446)
|
|
128
|
+
|
|
129
|
+
#### Rules
|
|
130
|
+
|
|
131
|
+
- **The ast-grep rules pi-lens dispatches load on ast-grep 0.51.1 and later.** Those versions refuse a rule file with a top-level key outside the rule schema, which stopped the whole rule set from loading. The 218 rules that carried `tags`, `examples`, `has_fix` or the vendored CodeRabbit `ast-grep-essentials` marker at top level now keep them under `metadata:`, and what each rule matches is unchanged. (refs #5424)
|
|
132
|
+
|
|
133
|
+
#### Tools and reports
|
|
134
|
+
|
|
135
|
+
- **A mark on a finding's own file now hides it in cached reports.** A chart-level finding recorded under the edited file's session record (helm-lint reporting `Chart.yaml`) honored marks made on the edited file's path and ignored its own; `lens_diagnostics mode=all`/`delta` and the footer's tags now anchor on the file each finding names. A cited file that moved after the finding was observed, or that sits outside the project or cannot be read, no longer suppresses that row. (refs #5044)
|
|
136
|
+
|
|
137
|
+
- **Esc now stops the child processes a pi-lens tool call started.** `ast_grep_outline` and `ast_grep_replace` kill their ast-grep run when the call is aborted instead of running it to the end. An aborted `ast_grep_replace` apply changes no file when the abort lands before the write starts, and finishes the write when it lands during it. Tool installs and shared availability checks still run to completion. (refs #5097)
|
|
138
|
+
|
|
139
|
+
- **`symbol_search` now lists the files that a term-less filter matches.** A call with `paths`, `lang`, or an inline `lang:`, `file:` or `ext:` filter and no search terms lists the matching files instead of answering that nothing matched. A call with neither terms nor scope is now an error that says so, on the pi tool and over MCP alike. An unknown `lang` value is refused with the accepted file kinds and language ids, even when no term has hits or the index is still building. Inline `lang:` also accepts language ids such as `typescript` and `dockerfile`, and `lang:css`, `lang:json` and `lang:terraform` still match `.scss`, `.jsonc` and `.tfvars` files. (refs #5135)
|
|
140
|
+
|
|
141
|
+
- **A file no check completed on is no longer reported as clean.** `lens_diagnostics` now names such files as not checked instead of opening with "No issues ✓", the footer stops counting kinds nothing can check, and `pi-lens-analyze` and `pilens_analyze` print the reason instead of exiting silent. The default cold hook pass over TypeScript now prints a not-checked line, because it runs without a language server. One wording now covers a file no language server handles, and the mode=full sweep names an enabled opt-in server as not run. (refs #5287)
|
|
142
|
+
|
|
143
|
+
- **A second distinct warning is no longer dropped.** Two notices whose text shared their first 200 characters were treated as one event, so the second was never shown; a long checkout, fixture or `TMPDIR` path made that likely, and the shown notice stays the same length as before. (refs #5359)
|
|
144
|
+
|
|
145
|
+
- **A `paths` glob now finds the same files in every tool.** `paths: ["src/**/*.ts"]` searched the workspace in `symbol_search`, reached the ast-grep CLI as a file name and answered "No matches found", and on `source=lsp` reported `path not found`. A glob now expands once against the call's own root. A path that exists is always a literal, so `app/[id]/page.tsx` keeps working. A glob that matches nothing says `no file matches`, one rooted outside the workspace is refused, and an entry starting with `!` is refused. (refs #5371)
|
|
146
|
+
|
|
147
|
+
- **Tool view and maxLines parameters now answer the same on pi and MCP.** `view:"json"` returns JSON on `module_report`, `project_report` accepts the known JSON preset names (`json`, `summary-json`, `full-json`) as its JSON hatch, and `read_enclosing` clamps `maxLines` to a floored minimum of 1 in the engine, so pi and MCP report the same number.
|
|
148
|
+
(refs #5372)
|
|
149
|
+
|
|
150
|
+
- **Every file a `mv -t` move renames stays tracked.** `mv -t DIR a b` and `mv --target-directory=DIR a b` reported only the first moved file, so a later edit of the others was refused as a file never read and the paths they moved to were not recorded as written; both argument orders now report every source and every destination. (refs #5378)
|
|
151
|
+
|
|
152
|
+
- **The performance report no longer ranks waiting time as slow work.** Phases that record how long ago something happened, such as a document drift age or the time since process start, now write that value as `ageMs` and are left out of the slowest-phase ranking, including in older logs. (refs #5379)
|
|
153
|
+
|
|
154
|
+
- **`pilens_health` now gives offline zizmor scans and failed PowerShell runs their own names.** Two report groups each mixed two unrelated causes: zizmor running without a GitHub token shared a group with a notice the terminal mode could not show, and a refused grammar download shared one with a blocked PowerShell analysis run. Each cause has its own name now, so the group a reader sees says which one happened. Rows written before the split keep their earlier names and still appear. (refs #5400)
|
|
155
|
+
|
|
156
|
+
- **Three successful edits to one file no longer warn as thrashing.** The 🔴 THRASHING line means the same call keeps repeating with no progress, and it now checks the call itself: a successful call that ran with the same arguments as the call before it counts as no progress. Edits that each change the file, and reads at different offsets, are progress, so a working sequence stays quiet while identical successful retries still warn. (refs #5429)
|
|
157
|
+
|
|
158
|
+
- **A stuck retry loop now shows the THRASHING warning.** Repeating the same failing edit three times renders 🔴 THRASHING on that failing result, instead of only when a later retry happens to succeed. (refs #5434)
|
|
159
|
+
|
|
160
|
+
#### Configuration and flags
|
|
161
|
+
|
|
162
|
+
- **A session started in a package directory keeps the repo root's project settings.**
|
|
163
|
+
`.pi-lens.json` layers upward field by field now: a package config that sets
|
|
164
|
+
one key no longer drops the root's `autofix.enabled`, `maxProjectFiles`,
|
|
165
|
+
`tools.*.enabled`, `trivy.enabled` or any other field, and the nearest file
|
|
166
|
+
still wins each key it sets. The turn-off lists (`rules.<id>.disable`,
|
|
167
|
+
`lsp.disabledServers`, `dispatch.disabledRunners`) merge as the union of
|
|
168
|
+
every file, so a nested config can add a denial but never re-enable one.
|
|
169
|
+
The layering stops at the git root: a `.pi-lens.json` in a folder above the
|
|
170
|
+
repository is never merged in. (refs #5291)
|
|
171
|
+
|
|
172
|
+
#### Install and updates
|
|
173
|
+
|
|
174
|
+
- **A failed `which` or `where` no longer marks pnpm, yarn, bun, npm or Java as absent.** The package-manager and Java probes now read a finder that could not spawn (EACCES, EMFILE) as a transient rejection and re-probe after the cooldown, as the formatter probe already did; before, one such failure latched the tool as not installed until the next session. (refs #4907)
|
|
175
|
+
|
|
176
|
+
#### Hosts and integrations
|
|
177
|
+
|
|
178
|
+
- **The deferred-tools log field now states how the host sends this model's tools.**
|
|
179
|
+
The `tool_set_mutation` row in `latency.log` reported that capability as
|
|
180
|
+
false on every supported pi host, because it read a compat flag only the
|
|
181
|
+
long-unsupported pi 0.80.10 build shipped. It now reports true exactly when
|
|
182
|
+
pi's own transport leaves the request's tool list empty or partial — the
|
|
183
|
+
Responses-family tool-search gate, the Responses-family additional-tools
|
|
184
|
+
gate, the Anthropic mid-conversation tool-change gate, and the
|
|
185
|
+
chat-completions tool-additions gate — and false when the host resends the
|
|
186
|
+
full tool list on every turn. (refs #5361)
|
|
187
|
+
|
|
188
|
+
### Internal
|
|
189
|
+
|
|
190
|
+
<details>
|
|
191
|
+
<summary>18 internal changes: tests, CI, tooling, and refactors</summary>
|
|
192
|
+
|
|
193
|
+
- The two refusal vocabularies in `clients/language-registry.ts` now sort with `compareOrdinal`, clearing master's SonarCloud S2871 red; the order of today's kinds and language ids is unchanged (refs #5135).
|
|
194
|
+
|
|
195
|
+
- Ledger-subject assertions in the #4530 trust suite, the #4760 auxiliary-root decline, the bare-`tsc` trust refusal, the pi-agent staging-root decline, and the two #4535 disk-change rows now compare the `degradation-ledger`'s bounded subject instead of the raw `kind:path` key, so a long checkout or TMPDIR no longer reddens them in the pre-push hook (refs #5246).
|
|
196
|
+
|
|
197
|
+
- The release roll (`release-roll.sh`) now runs `node scripts/rollup-changelog.mjs --duplicates <version>` and adds its checklist of likely duplicate entry pairs (one section and area, similar headlines or shared code spans) to the release PR body; it edits nothing. A release can also carry `.changelog/highlights/<version>.md`, which `changelog-extract.mjs --summary` puts on top of the release body (refs #5351).
|
|
198
|
+
|
|
199
|
+
- Retired ci.yml's `heavy-gate` job (`Heavy advisory gate (advisory)`), `scripts/ci-heavy-gate.mjs` and ci-verdict's deferred-row list. No job had waited on the gate since #5275, and it was never a required check; an older head's gate row still classifies as advisory. (refs #3801)
|
|
200
|
+
|
|
201
|
+
- CI npm installs retry a transient registry 5xx: every workflow that reaches the npm registry sets `npm_config_fetch_retries` and `npm_config_fetch_retry_maxtimeout` once at its top level (install-smoke adds the `pnpm_config_` pair, which pnpm reads instead), and the four `oven-sh/setup-bun` steps in install-smoke now install `bun@latest` from the npm registry. The fetch gate fails closed on a workflow that installs from npm without the env, on an install step it cannot classify, on a command word it cannot resolve, on any `npm_config_` or `pnpm_config_` override in any case, and on any `uses:` action with no recorded verdict (refs #5420).
|
|
202
|
+
|
|
203
|
+
- Restores the DegradationKind doc blocks above their own kinds (misplaced by the #2671 sort), pins that each kind's doc names it, and corrects the sha256 comments, the `PI_LENS_LSP_NAV_REQUEST_TIMEOUT_MS` reference row and the shape verdicts (refs #5401).
|
|
204
|
+
|
|
205
|
+
- The tmp-fixture-hygiene owner-population case no longer asserts on directories it creates. It created `<prefix>population-` for every row of `tests/config/tmp-fixture-hygiene-baseline.json` and checked that the census saw each prefix, so the setup supplied the value the assertion read. A row whose producer had been deleted always passed. Liveness now comes from the owner's source, and a row with no live producer reds with "remove the admission". The census's owner index reads files through the same scan. (refs #5072)
|
|
206
|
+
|
|
207
|
+
- `scripts/analyze-pi-lens-logs.mjs` now reports a per-(tool, phase) and per-runner latency distribution in both the text and `--json` outputs. Percentiles are the clamped floor-rank index `clamp(floor(p * n), 0, n - 1)` over the ascending sample, so every reported number is an observed row and, for any group of 20 rows or fewer, p95 equals max. Each group carries count, p50, p95, max and its share of the summed recorded phase spans (nested spans overlap); age rows (the shared span-or-age rule of #5379) are left out of the samples, parent `total` rows and runner skip or pending rows are left out and counted, and a section that truncates says "showing N of M groups". `--limit` below 1 is refused at parse. A ranking of performance work can therefore be read from real sessions' `latency.log` instead of only from the synthetic hot-path sampler (refs #5263).
|
|
208
|
+
|
|
209
|
+
- One generic packaging gate now reads the published file list: `packedImportResolutionViolations` (`scripts/lib/packed-layout.mjs`) checks every relative `import`, dynamic `import()` and `require` in each packed `.js`/`.mjs`/`.cjs` file against that same list, and `tests/packaging-pack-manifest.test.ts` runs it over the real `npm pack` tarball. A published script that imports a file `files[]` omits fails in the Unit tests shards instead of CI's install leg, so the per-file pins it subsumes (#1926, #2626, #3409, #4314, #4789) are deleted. (refs #5365)
|
|
210
|
+
|
|
211
|
+
- CI downloads of the pinned release binaries and the TLA+ jar go through one fetch-verified helper: restored from actions/cache by tool, version and sha256, fetched with `--fail` and retries on a miss, and verified before use. A GitHub 504 now names an HTTP error instead of a checksum mismatch. The helper deletes a rejected cache file before it downloads. A governance test refuses any other CI network fetch that has no named admission (refs #5409).
|
|
212
|
+
|
|
213
|
+
- **The tool registries and the docs now name the same tools.** A parity guard compares the runner registry, `TOOL_EXECUTION_POLICY`, `TOOL_COMMAND_SPECS`, `AUTO_INSTALLABLE_DEFAULT_FORMATTERS` and the installer table with each other, and with the docs lists that name runners and autofix tools. It reds a dangling id, a policy row for a tool no registry has, and a docs name that is not a registered runner. The drift it found was live: two command specs pointed their install pointer at installer entries that never existed, `typstyle` was an auto-installable formatter with no policy row, and `typos`, `phpstan` and `detekt` were probed with neither an installer entry nor a written reason. `docs/language-coverage.md` named `ts-lsp`, `type-safety` and `similarity` as JS/TS dispatch runners, and `docs/features.md` called the Dart autofix `dart-fix`. `TOOL_EXECUTION_POLICY`'s `gate` became `configEligibility`, so the word `gate` means only the per-file policy gate it used to disagree with. The LSP/linter coverage guard's hand list of smart-default linters is derived from that table now, so a new smart-default runner lands in the guard without anyone editing a list. (refs #5418)
|
|
214
|
+
|
|
215
|
+
- The four path-sensitive test files (`effective-config`, `lens-diagnostic-mark`, `lens-diagnostics`, `lsp-navigation`) now build their temp roots by realpath at each fixture site, as `setupTestEnvironment` does, so a symlinked `TMPDIR` (macOS `/var` to `/private/var`) passes them the way the real root does (refs #5439).
|
|
216
|
+
|
|
217
|
+
- Routes the last raw separator fold in `index.ts` (the `lens-health` sample path) through `toPosix`, and empties the shape-A census pin in `tests/config/path-key-fold-sweep.test.ts`. The output is byte-identical (refs #5401).
|
|
218
|
+
|
|
219
|
+
- **A `symbol_search` query-metrics instrument measures the D8 acceptance signal over recorded pi sessions (refs #5138)** — `scripts/symbol-search-query-metrics.mjs` reports `emptyRate`, `listedReadRate`, `repeatReadRate`, `drilldownRate` and `unscannableRate` per time window, so each PR in the #5138 sequence can quote a before/after from the append-only session JSONL instead of "metric absent". No runtime path changes; no CI gate.
|
|
220
|
+
|
|
221
|
+
- Twelve production sites that spelled their own whole-content sha256 of a byte buffer (partial-edit records, review-graph content fingerprints, fix-run restore, read-guard edit snapshots, observed and opaque mutation scans, the opengrep pack refresh, the archive installer integrity check and the grammar pin comparison) now call `hashContentBytes` / `hashFileBytes` in `clients/content-stamp.ts`; digests are unchanged (refs #4907).
|
|
222
|
+
|
|
223
|
+
- **The dispatcher records a runner's tier observation in one place (refs #4907)** — the collect-later run and the inline run in `clients/dispatch/dispatcher.ts` shared a spelled-twice block (latency observation, `runner_collect_later_tier_flip` row, `runner-collect-later` count); one local `observeRunnerTier` now does it. Rows, counts and tiers are unchanged for every probed project root.
|
|
224
|
+
|
|
225
|
+
- **The tree-walk census now follows helper modules.** A test that pays a whole-tree walk inside an imported `tests/` helper kept vitest's 5 s default and timed out on the Windows unit leg. The census now derives each helper module's verdicts from its source, fails an unresolvable call closed as a walk, and reads the `it(title, { timeout }, fn)` form; on one tree it counts 399 members where it counted 259, all budgeted (#4967).
|
|
226
|
+
|
|
227
|
+
- **Four fast-check tests turn the 2026-11-07 property-based probes into regression tests (refs #3995)** — a two-session model for the per-repository commit gate and the per-session change-log stamp (#4952, #4953), a generated-K session-root eviction property (#4734), a generated venv-install property (#5009), and a concurrent-publisher property for the recent-touches record (#5385). Each runs a bounded `numRuns` under seed 5370 and is red on its bug's parent commit. No runtime path changes.
|
|
228
|
+
|
|
229
|
+
</details>
|
|
230
|
+
|
|
19
231
|
## [4.4.10] - 2026-11-06
|
|
20
232
|
|
|
21
233
|
### Added
|
package/README.md
CHANGED
|
@@ -554,6 +554,7 @@ Thanks goes to these wonderful people:
|
|
|
554
554
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aprudkin"><img src="https://avatars.githubusercontent.com/u/126267327?v=4" width="100px;" alt=""/><br /><sub><b>aprudkin</b></sub></a><br /><a href="#bug-aprudkin" title="Bug reports">🐛</a></td>
|
|
555
555
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ProphetOfDoom-PoD"><img src="https://avatars.githubusercontent.com/u/260035065?v=4" width="100px;" alt=""/><br /><sub><b>Prophet Of Doom</b></sub></a><br /><a href="#ideas-ProphetOfDoom-PoD" title="Ideas & Planning">🤔</a></td>
|
|
556
556
|
<td align="center" valign="top" width="14.28%"><a href="http://www.apostolapostolov.com/"><img src="https://avatars.githubusercontent.com/u/4083812?v=4" width="100px;" alt=""/><br /><sub><b>Apostol Apostolov</b></sub></a><br /><a href="#bug-apoapostolov" title="Bug reports">🐛</a></td>
|
|
557
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/spearmootz"><img src="https://avatars.githubusercontent.com/u/19737290?v=4" width="100px;" alt=""/><br /><sub><b>Ricardo Spear</b></sub></a><br /><a href="#bug-spearmootz" title="Bug reports">🐛</a></td>
|
|
557
558
|
</tr>
|
|
558
559
|
</tbody>
|
|
559
560
|
</table>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createToolchainAvailability
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E5SSUV2A.js";
|
|
5
5
|
import {
|
|
6
6
|
createSubsystemLogger
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/rust-client.js
|
|
10
10
|
import * as path from "node:path";
|
|
@@ -2,20 +2,20 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
getSourceFiles,
|
|
4
4
|
getSourceFilesAsync
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-KXDQD34C.js";
|
|
6
|
+
import "./chunk-3PMLYGJN.js";
|
|
7
|
+
import "./chunk-YTXFNCVN.js";
|
|
8
|
+
import "./chunk-ET3DSSFZ.js";
|
|
9
9
|
import "./chunk-QYF5S6P6.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-SRXYSLMW.js";
|
|
11
|
+
import "./chunk-6EIV3H7O.js";
|
|
12
|
+
import "./chunk-3R3Z54J7.js";
|
|
13
|
+
import "./chunk-HRQTYU2T.js";
|
|
14
|
+
import "./chunk-AGEQRJ5A.js";
|
|
15
15
|
import "./chunk-S26LC76R.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-K2GV34T2.js";
|
|
17
17
|
import "./chunk-LJDODBBZ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WLD6BGON.js";
|
|
19
19
|
import "./chunk-NXL4FFQQ.js";
|
|
20
20
|
export {
|
|
21
21
|
getSourceFiles,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
withFactTree
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OHEUOWYT.js";
|
|
5
5
|
import {
|
|
6
6
|
childrenOfType,
|
|
7
7
|
firstChildOfType,
|
|
8
8
|
walk
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6GWCYEP7.js";
|
|
10
10
|
import {
|
|
11
11
|
isJstsFactFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SRXYSLMW.js";
|
|
13
13
|
import {
|
|
14
14
|
logLatency
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K2GV34T2.js";
|
|
16
16
|
|
|
17
17
|
// dist/clients/dispatch/facts/import-facts.js
|
|
18
18
|
function importFactsApplyTo(filePath) {
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
shouldRecurseIntoDir,
|
|
4
4
|
walkTreeRecursiveSync,
|
|
5
5
|
walkTreeStackAsync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YTXFNCVN.js";
|
|
7
7
|
import {
|
|
8
8
|
getProjectIgnoreMatcher
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
10
10
|
import {
|
|
11
11
|
KIND_EXTENSIONS,
|
|
12
12
|
SPECIAL_FILENAMES,
|
|
13
13
|
isCodeKindFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SRXYSLMW.js";
|
|
15
15
|
import {
|
|
16
16
|
classifyGeneratedOrArtifactDetailed,
|
|
17
17
|
isDeclarationFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6EIV3H7O.js";
|
|
19
19
|
import {
|
|
20
20
|
logLatency,
|
|
21
21
|
toPositiveFinite
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-K2GV34T2.js";
|
|
23
23
|
import {
|
|
24
24
|
BoundedLruCache,
|
|
25
25
|
normalizeEphemeralMapKey,
|
|
26
26
|
normalizeFilePath
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WLD6BGON.js";
|
|
28
28
|
|
|
29
29
|
// dist/clients/source-filter.js
|
|
30
30
|
import * as fs2 from "node:fs";
|
|
@@ -2,10 +2,10 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
getGlobalPiLensDir,
|
|
4
4
|
safeSpawnAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
6
6
|
import {
|
|
7
7
|
createSingleFlight
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B4FAFEBP.js";
|
|
9
9
|
|
|
10
10
|
// dist/clients/tool-probe.js
|
|
11
11
|
import * as fs from "node:fs";
|
|
@@ -17,7 +17,7 @@ function getIsolatedNpxSpawnOptions() {
|
|
|
17
17
|
}
|
|
18
18
|
async function probeToolAsync(command, args, options) {
|
|
19
19
|
const { cwd: _strippedCwd, ...rest } = options ?? {};
|
|
20
|
-
return safeSpawnAsync(command, [...args], { ...rest });
|
|
20
|
+
return safeSpawnAsync(command, [...args], { ...rest, cooldown: false });
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// dist/clients/availability-probe-flight.js
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-S26LC76R.js";
|
|
7
7
|
import {
|
|
8
8
|
logLatency
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K2GV34T2.js";
|
|
10
10
|
import {
|
|
11
11
|
isWindowsPath,
|
|
12
12
|
nameMatchesMarkerGlob,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
realpathOrResolve,
|
|
15
15
|
toPosix,
|
|
16
16
|
walkUpDirs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WLD6BGON.js";
|
|
18
18
|
|
|
19
19
|
// dist/clients/workspace-topology.js
|
|
20
20
|
import * as fs2 from "node:fs";
|
|
@@ -73,8 +73,14 @@ var DECLARED_LEGACY_FILE_SURFACES = [
|
|
|
73
73
|
...PROJECT_CONFIG_LOCATIONS,
|
|
74
74
|
...GLOBAL_CONFIG_LOCATIONS
|
|
75
75
|
].filter((location) => location.legacy).map((location) => location.surface);
|
|
76
|
-
function configSearchDirs(startDir, homeDir = os.homedir()) {
|
|
77
|
-
|
|
76
|
+
function configSearchDirs(startDir, homeDir = os.homedir(), stopAtGitRoot = false) {
|
|
77
|
+
const dirs = [];
|
|
78
|
+
for (const dir of walkUpDirs(startDir, { homeDir })) {
|
|
79
|
+
dirs.push(dir);
|
|
80
|
+
if (stopAtGitRoot && fs.existsSync(path.join(dir, ".git")))
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
return dirs;
|
|
78
84
|
}
|
|
79
85
|
function defaultGlobalConfigExists(file) {
|
|
80
86
|
try {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
adaptLspService,
|
|
4
|
+
getLSPService,
|
|
5
|
+
groupFilesByPrimaryServer,
|
|
6
|
+
hasAuxiliaryLspPublishedForRoot,
|
|
7
|
+
notifyExternalFileChange,
|
|
8
|
+
peekLSPService,
|
|
9
|
+
resetLSPService,
|
|
10
|
+
resyncGitChangedFiles,
|
|
11
|
+
runPerServerGroups
|
|
12
|
+
} from "./chunk-DZSQXG66.js";
|
|
13
|
+
import "./chunk-DFAY7JUN.js";
|
|
14
|
+
import "./chunk-XIMYZ3JA.js";
|
|
15
|
+
import "./chunk-Z6WTLVUL.js";
|
|
16
|
+
import "./chunk-PPYUBO6Y.js";
|
|
17
|
+
import "./chunk-5EEWCJG7.js";
|
|
18
|
+
import "./chunk-QJ4T73J5.js";
|
|
19
|
+
import "./chunk-YLW26OHX.js";
|
|
20
|
+
import "./chunk-HGEE5LDW.js";
|
|
21
|
+
import "./chunk-NCDH2JB7.js";
|
|
22
|
+
import "./chunk-HYDJUVOE.js";
|
|
23
|
+
import "./chunk-7424ANRU.js";
|
|
24
|
+
import "./chunk-SUIZOCSY.js";
|
|
25
|
+
import "./chunk-6GWCYEP7.js";
|
|
26
|
+
import "./chunk-Z54ZSOBZ.js";
|
|
27
|
+
import "./chunk-7M64NTAK.js";
|
|
28
|
+
import "./chunk-E3PNZDPH.js";
|
|
29
|
+
import "./chunk-6HWVI6MI.js";
|
|
30
|
+
import "./chunk-PK3GDU4M.js";
|
|
31
|
+
import "./chunk-6JLNZ6DP.js";
|
|
32
|
+
import "./chunk-IT7MFVGP.js";
|
|
33
|
+
import "./chunk-AYDE7RFV.js";
|
|
34
|
+
import "./chunk-HWMNTQBJ.js";
|
|
35
|
+
import "./chunk-ZRQMENT4.js";
|
|
36
|
+
import "./chunk-2BEMIWEW.js";
|
|
37
|
+
import "./chunk-IJYGIDF4.js";
|
|
38
|
+
import "./chunk-NRVWLTOY.js";
|
|
39
|
+
import "./chunk-YLHJWAQS.js";
|
|
40
|
+
import "./chunk-OVPR3GQ6.js";
|
|
41
|
+
import "./chunk-3QMLB4TI.js";
|
|
42
|
+
import "./chunk-UYXV5NIS.js";
|
|
43
|
+
import "./chunk-AVBEPUCD.js";
|
|
44
|
+
import "./chunk-75TVYCQW.js";
|
|
45
|
+
import "./chunk-KXDQD34C.js";
|
|
46
|
+
import "./chunk-3PMLYGJN.js";
|
|
47
|
+
import "./chunk-YTXFNCVN.js";
|
|
48
|
+
import "./chunk-ET3DSSFZ.js";
|
|
49
|
+
import "./chunk-B4FAFEBP.js";
|
|
50
|
+
import "./chunk-QYF5S6P6.js";
|
|
51
|
+
import "./chunk-SRXYSLMW.js";
|
|
52
|
+
import "./chunk-6EIV3H7O.js";
|
|
53
|
+
import "./chunk-3R3Z54J7.js";
|
|
54
|
+
import "./chunk-CIA7X2PZ.js";
|
|
55
|
+
import "./chunk-HRQTYU2T.js";
|
|
56
|
+
import "./chunk-AGEQRJ5A.js";
|
|
57
|
+
import "./chunk-S26LC76R.js";
|
|
58
|
+
import "./chunk-K2GV34T2.js";
|
|
59
|
+
import "./chunk-LJDODBBZ.js";
|
|
60
|
+
import "./chunk-WLD6BGON.js";
|
|
61
|
+
import "./chunk-NXL4FFQQ.js";
|
|
62
|
+
export {
|
|
63
|
+
adaptLspService,
|
|
64
|
+
getLSPService,
|
|
65
|
+
groupFilesByPrimaryServer,
|
|
66
|
+
hasAuxiliaryLspPublishedForRoot,
|
|
67
|
+
notifyExternalFileChange,
|
|
68
|
+
peekLSPService,
|
|
69
|
+
resetLSPService,
|
|
70
|
+
resyncGitChangedFiles,
|
|
71
|
+
runPerServerGroups
|
|
72
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
parseJsonc
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7424ANRU.js";
|
|
5
5
|
import {
|
|
6
6
|
extractTomlTableSection,
|
|
7
7
|
hasTomlTable,
|
|
8
8
|
parseTomlScalarString,
|
|
9
9
|
parseTomlStringArray
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SUIZOCSY.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLanguage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AYDE7RFV.js";
|
|
14
14
|
import {
|
|
15
15
|
getProjectTrustState
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HRQTYU2T.js";
|
|
17
17
|
import {
|
|
18
18
|
incrementDegradationCount,
|
|
19
19
|
logExtension,
|
|
20
20
|
recordDegradationOnce
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
22
22
|
import {
|
|
23
23
|
logLatency
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-K2GV34T2.js";
|
|
25
25
|
import {
|
|
26
26
|
UV_WORKSPACE_EXCLUDE_DIALECT,
|
|
27
27
|
UV_WORKSPACE_MEMBERS_DIALECT,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
realpathOrResolve,
|
|
30
30
|
relativeInside,
|
|
31
31
|
walkUpDirs
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WLD6BGON.js";
|
|
33
33
|
|
|
34
34
|
// dist/clients/bounded-telemetry.js
|
|
35
35
|
var MAX_TRACKED_TURN_CAPS = 64;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
collectSourceFiles
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-3PMLYGJN.js";
|
|
5
|
+
import "./chunk-YTXFNCVN.js";
|
|
6
|
+
import "./chunk-ET3DSSFZ.js";
|
|
7
7
|
import "./chunk-QYF5S6P6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-SRXYSLMW.js";
|
|
9
|
+
import "./chunk-6EIV3H7O.js";
|
|
10
|
+
import "./chunk-3R3Z54J7.js";
|
|
11
|
+
import "./chunk-HRQTYU2T.js";
|
|
12
|
+
import "./chunk-AGEQRJ5A.js";
|
|
13
13
|
import "./chunk-S26LC76R.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-K2GV34T2.js";
|
|
15
15
|
import "./chunk-LJDODBBZ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-WLD6BGON.js";
|
|
17
17
|
import "./chunk-NXL4FFQQ.js";
|
|
18
18
|
|
|
19
19
|
// dist/clients/todo-scanner.js
|
|
@@ -22,19 +22,20 @@ import {
|
|
|
22
22
|
safeSpawn,
|
|
23
23
|
safeSpawnAsync,
|
|
24
24
|
setAmbientAbortSignal,
|
|
25
|
-
spawnAbortScope,
|
|
26
25
|
statIsFile,
|
|
27
26
|
trustScopedEnvironment,
|
|
28
27
|
trustScopedSearchPath
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
29
|
+
import {
|
|
30
|
+
spawnAbortScope
|
|
31
|
+
} from "./chunk-6EIV3H7O.js";
|
|
32
|
+
import "./chunk-3R3Z54J7.js";
|
|
33
|
+
import "./chunk-HRQTYU2T.js";
|
|
34
|
+
import "./chunk-AGEQRJ5A.js";
|
|
34
35
|
import "./chunk-S26LC76R.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-K2GV34T2.js";
|
|
36
37
|
import "./chunk-LJDODBBZ.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-WLD6BGON.js";
|
|
38
39
|
import "./chunk-NXL4FFQQ.js";
|
|
39
40
|
export {
|
|
40
41
|
SpawnFailureError,
|