pi-lens 4.4.9 → 4.4.11
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 +262 -0
- package/README.md +2 -0
- package/dist/{chunk-7YTRG6YW.js → chunk-2SD2CGVH.js} +2 -2
- package/dist/{chunk-CDFJF5YD.js → chunk-34RXPR7M.js} +1 -1
- package/dist/{chunk-XO756WE5.js → chunk-3C6ZZAB2.js} +34 -27
- package/dist/{chunk-MKPDIAZH.js → chunk-3HZ6MNB2.js} +1 -1
- package/dist/{chunk-RNXOWDM6.js → chunk-3NVGBFJS.js} +6 -6
- package/dist/{chunk-DGKFWQK4.js → chunk-3QCI3V6C.js} +11 -11
- package/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/dist/{chunk-PIIUNJIT.js → chunk-43KD3PPM.js} +1 -1
- package/dist/{chunk-LAHHGNAY.js → chunk-4HNBY7S7.js} +20 -19
- package/dist/chunk-4WWPDMRA.js +22 -0
- package/dist/{chunk-L7O774U7.js → chunk-532X3OCZ.js} +116 -22
- package/dist/{chunk-ZVCDHYWZ.js → chunk-5RLEDUUE.js} +9 -9
- package/dist/{chunk-5YSEQHJN.js → chunk-5YTDZ5WP.js} +3 -3
- package/dist/{chunk-X5BJ3G2P.js → chunk-6EIV3H7O.js} +158 -61
- package/dist/{chunk-KV6GQOGN.js → chunk-6K4X7IIF.js} +164 -172
- package/dist/{chunk-HYSKJMZK.js → chunk-6RXMQYNU.js} +3 -3
- package/dist/{chunk-7UTSNTWM.js → chunk-6XNVY3FW.js} +10 -10
- package/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/dist/{chunk-JUZ67QZQ.js → chunk-A4HKPAEN.js} +8 -8
- package/dist/{chunk-EKNYSXFB.js → chunk-AFNPNHJV.js} +8 -8
- package/dist/{chunk-W5E72HJA.js → chunk-AGEQRJ5A.js} +37 -11
- package/dist/{chunk-4ENEJHF4.js → chunk-AJ62EQIQ.js} +15 -14
- package/dist/{chunk-VWLSU3XV.js → chunk-AOQKQWZU.js} +14 -5
- package/dist/{chunk-CJS6WE66.js → chunk-AVOUHMCS.js} +111 -107
- package/dist/{chunk-WTB4GKMH.js → chunk-AYDE7RFV.js} +45 -5
- package/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/dist/{chunk-SLSMJPEF.js → chunk-B4K6OSLL.js} +49 -42
- package/dist/{chunk-CM6BDY4E.js → chunk-BBJXIZ3X.js} +3 -3
- package/dist/chunk-BJDB7PXU.js +25 -0
- package/dist/{chunk-TOE2RRCS.js → chunk-BLL4VYGZ.js} +1 -1
- package/dist/{chunk-THYHUIDR.js → chunk-BMMRLJA4.js} +7 -5
- package/dist/{chunk-LWOM6LVS.js → chunk-BN36MQW5.js} +35 -34
- package/dist/{chunk-ZCQBNPRH.js → chunk-C2REOMPO.js} +2 -2
- package/dist/{chunk-T5QSLSMM.js → chunk-C4ICGFEO.js} +23 -23
- package/dist/chunk-CIA7X2PZ.js +26 -0
- package/dist/{chunk-VO4JFPTV.js → chunk-D5L7Q57Z.js} +2 -2
- package/dist/{chunk-YOXCCJDF.js → chunk-DBAHJFBU.js} +70 -64
- package/dist/{chunk-TMNUTMT5.js → chunk-DNB4ZQGN.js} +59 -22
- package/dist/chunk-DPDA3ILA.js +108 -0
- package/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/dist/{chunk-QVBOXT3L.js → chunk-E6Z3CJT2.js} +13 -9
- package/dist/{chunk-ZDMFGACN.js → chunk-ECYUBKYX.js} +588 -566
- package/dist/chunk-F37CCZUA.js +27 -0
- package/dist/{chunk-E65WJVI5.js → chunk-FVEEEEIM.js} +10 -13
- package/dist/{chunk-F6BEQWAK.js → chunk-GL6J5R34.js} +5 -5
- package/dist/{chunk-5GEYJJHG.js → chunk-GTNO6F6K.js} +11 -10
- package/dist/{chunk-NMUSOZ2D.js → chunk-HASJPQBC.js} +10 -10
- package/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/dist/{chunk-XKFO2SZV.js → chunk-HIUVHRLM.js} +35 -34
- package/dist/{chunk-PRHYIA6X.js → chunk-HTUG7ZFK.js} +8 -8
- package/dist/{chunk-HEA3EM23.js → chunk-IBEYUBCM.js} +9 -9
- package/dist/{chunk-WSSLVMDA.js → chunk-IJ55MYO6.js} +15 -12
- package/dist/{chunk-MRLH4MYU.js → chunk-IT7MFVGP.js} +2 -2
- package/dist/{chunk-MQ4PPCJB.js → chunk-ITAPXBIB.js} +42 -43
- package/dist/{chunk-RNJFRXEN.js → chunk-JSQK5DH3.js} +4 -4
- package/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/dist/{chunk-3NPWO5UO.js → chunk-KBSC5Z3G.js} +9 -8
- package/dist/{chunk-PXQ45SGD.js → chunk-KDGKKK7A.js} +2 -2
- package/dist/{chunk-SIQHOB6P.js → chunk-KDMJ2DJD.js} +11 -11
- package/dist/{chunk-RTFMDIKV.js → chunk-KNP4ENFT.js} +1 -1
- package/dist/chunk-KX4DF6XX.js +25 -0
- package/dist/{chunk-ZZN74OGD.js → chunk-LHCDWFDB.js} +37 -144
- package/dist/{chunk-N5CEGQPG.js → chunk-LHU6NG5Z.js} +16 -15
- package/dist/{chunk-G22UNQID.js → chunk-LIDFFCZZ.js} +17 -15
- package/dist/{chunk-NOWH2VA2.js → chunk-LPM6NKVI.js} +7 -7
- package/dist/{chunk-KXMJLOZF.js → chunk-LXE7JAMV.js} +37 -26
- package/dist/{chunk-47UCC4MM.js → chunk-ME6MF2N2.js} +1 -1
- package/dist/{chunk-V67D6TMU.js → chunk-NLRKB32C.js} +7 -7
- package/dist/{chunk-2VZ3VN3N.js → chunk-NQFXN5U7.js} +2 -2
- package/dist/{chunk-IILEH3ZC.js → chunk-NR4KQOXZ.js} +14 -9
- package/dist/{chunk-UXTQ3QPD.js → chunk-NWK7KKNO.js} +4 -4
- package/dist/{chunk-ZMMHHXSW.js → chunk-O6LCSHHI.js} +2 -1
- package/dist/{chunk-ZZSJAR76.js → chunk-OC4ZGVMH.js} +33 -17
- package/dist/{chunk-L6WBJGQS.js → chunk-OP5BMZKK.js} +3 -3
- package/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/dist/{chunk-OSEKJEUU.js → chunk-PSUXESQ5.js} +41 -4
- package/dist/{chunk-6GPB3JLL.js → chunk-QAM2Q3VO.js} +3 -3
- package/dist/{chunk-OUYAUXAT.js → chunk-QBUSONNE.js} +518 -191
- package/dist/{chunk-PBZNYHMM.js → chunk-QDZ3ZZMY.js} +18 -66
- package/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/dist/{chunk-XLAI7UYY.js → chunk-QUZYRDT6.js} +12 -12
- package/dist/{chunk-QP33NKYC.js → chunk-R2UF54ON.js} +17 -15
- package/dist/{chunk-V2WDBOLZ.js → chunk-R2VUZZPJ.js} +11 -10
- package/dist/chunk-R5BNSOIV.js +29 -0
- package/dist/chunk-RV5VX2XW.js +29 -0
- package/dist/{chunk-FGNSESAC.js → chunk-SQBDX6IO.js} +12 -12
- package/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
- package/dist/{chunk-J3Q2NYJR.js → chunk-SUIZOCSY.js} +3 -2
- package/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
- package/dist/{chunk-FRUBVFXV.js → chunk-TBE4OLPA.js} +37 -35
- package/dist/{chunk-GQTQUNCG.js → chunk-TPMBNWHO.js} +28 -26
- package/dist/{chunk-IICERRFF.js → chunk-TRYOYWWU.js} +18 -12
- package/dist/{chunk-3HTZDY3C.js → chunk-TTGDTNSN.js} +6 -6
- package/dist/{chunk-NCLO6E6N.js → chunk-UELHWF5I.js} +139 -135
- package/dist/chunk-UG4YLCJ5.js +58 -0
- package/dist/chunk-UQ6OZYTO.js +91 -0
- package/dist/{chunk-L4Y3ROKQ.js → chunk-UY3WWW5R.js} +4 -4
- package/dist/chunk-V7IPIAE5.js +74 -0
- package/dist/{chunk-C3YRO3EU.js → chunk-VDMF7Q2P.js} +10 -10
- package/dist/{chunk-N56BNAA6.js → chunk-VI3BJMZO.js} +35 -34
- package/dist/{chunk-EY6LY2HO.js → chunk-VTXJAO5R.js} +34 -35
- package/dist/chunk-W6VLB6LL.js +145 -0
- package/dist/{chunk-AACN5GNE.js → chunk-WBXCIRVI.js} +21 -2
- package/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/dist/{chunk-ZPM7ZIFL.js → chunk-WMCAEP2K.js} +11 -8
- package/dist/{chunk-H3BVMK47.js → chunk-WXMUGUZV.js} +21 -25
- package/dist/{chunk-QB7T2PHK.js → chunk-X33QECRJ.js} +4 -2
- package/dist/{chunk-7R5GZIA6.js → chunk-YUF4DRYB.js} +399 -308
- package/dist/{chunk-HSOBIN22.js → chunk-YVPB5YGO.js} +2 -2
- package/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/dist/index.js +6100 -4440
- package/dist/mcp/analyze-cli.js +17 -11
- package/dist/mcp/cli.js +43 -42
- package/dist/mcp/server.js +1534 -623
- package/dist/mcp/worker.js +62 -59
- package/dist/probes/installer.js +19 -18
- package/docs/agent-guide.md +5 -2
- package/docs/agent-tools.md +17 -4
- package/docs/alignment-families.md +5 -1
- package/docs/ci.md +120 -0
- package/docs/configuration.md +30 -7
- package/docs/custom-rules.md +1 -0
- package/docs/defect-shapes.md +122 -72
- 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 +12 -2
- package/docs/globalconfig.md +13 -0
- package/docs/invariants/dispatch-runners.md +13 -0
- package/docs/invariants/language-config.md +9 -1
- package/docs/language-coverage.md +67 -1
- package/docs/lsp-capability-matrix.md +68 -23
- package/docs/lsp-idle-eviction.md +17 -13
- package/docs/module-report-read-symbol.md +2 -2
- package/docs/pi-lens-fixer.md +11 -8
- package/docs/pi-lens-merge-policy.md +6 -1
- package/docs/pi-lens-monitor.md +4 -1
- package/docs/pi-lens-release.md +22 -2
- package/docs/pi-lens-reviewer.md +60 -13
- 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 +16 -4
- package/docs/usage.md +1 -0
- package/docs/word-index.md +9 -10
- package/package.json +4 -4
- 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/download-grammars.js +10 -0
- package/scripts/grammars.lock.json +7 -0
- package/scripts/lib/latency-log-phases.mjs +125 -0
- package/vendor/grammars/tree-sitter-groovy.wasm +0 -0
- package/dist/chunk-H6FLQ5NW.js +0 -28
- package/dist/chunk-KR5VGMVT.js +0 -25
- package/dist/chunk-Q6JQKWPK.js +0 -25
- package/dist/chunk-QJJKOHLH.js +0 -57
- package/dist/chunk-TGQDAG4B.js +0 -88
- package/dist/chunk-TYHPVE5H.js +0 -25
- package/dist/chunk-UAKO2M6B.js +0 -73
- package/dist/chunk-UC5AXW5Z.js +0 -20
- package/dist/chunk-UTJP6WOS.js +0 -28
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
GovulncheckClient,
|
|
4
|
+
parseGovulncheckJson
|
|
5
|
+
} from "./chunk-A4HKPAEN.js";
|
|
6
|
+
import "./chunk-QDZ3ZZMY.js";
|
|
7
|
+
import "./chunk-DPDA3ILA.js";
|
|
8
|
+
import "./chunk-LHCDWFDB.js";
|
|
9
|
+
import "./chunk-QJ4T73J5.js";
|
|
10
|
+
import "./chunk-W6VLB6LL.js";
|
|
11
|
+
import "./chunk-OP5BMZKK.js";
|
|
12
|
+
import "./chunk-WBXCIRVI.js";
|
|
13
|
+
import "./chunk-DNB4ZQGN.js";
|
|
14
|
+
import "./chunk-B4FAFEBP.js";
|
|
15
|
+
import "./chunk-6EIV3H7O.js";
|
|
16
|
+
import "./chunk-3R3Z54J7.js";
|
|
17
|
+
import "./chunk-43KD3PPM.js";
|
|
18
|
+
import "./chunk-AGEQRJ5A.js";
|
|
19
|
+
import "./chunk-S26LC76R.js";
|
|
20
|
+
import "./chunk-K2GV34T2.js";
|
|
21
|
+
import "./chunk-LJDODBBZ.js";
|
|
22
|
+
import "./chunk-WLD6BGON.js";
|
|
23
|
+
import "./chunk-NXL4FFQQ.js";
|
|
24
|
+
export {
|
|
25
|
+
GovulncheckClient,
|
|
26
|
+
parseGovulncheckJson
|
|
27
|
+
};
|
|
@@ -2,14 +2,14 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
createAvailabilityProbeFlight,
|
|
4
4
|
probeToolAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OP5BMZKK.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
classifyFinderFailure,
|
|
8
8
|
createAvailabilityLatch,
|
|
9
9
|
isTransientDecision,
|
|
10
10
|
logAvailabilityDecision,
|
|
11
11
|
startHostStallSampler
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WBXCIRVI.js";
|
|
13
13
|
import {
|
|
14
14
|
NODE_MODULES_BIN_DIRS,
|
|
15
15
|
createGenerationSource,
|
|
@@ -17,20 +17,20 @@ import {
|
|
|
17
17
|
projectLocalBinDirs,
|
|
18
18
|
recordProjectCommandRefusal,
|
|
19
19
|
safeSpawnAsync
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
21
21
|
import {
|
|
22
22
|
getProjectTrustState
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-43KD3PPM.js";
|
|
24
24
|
import {
|
|
25
25
|
logExtension,
|
|
26
26
|
recordDegradationOnce
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
28
28
|
import {
|
|
29
29
|
isAtOrAboveHomeDir,
|
|
30
30
|
isUnderDir,
|
|
31
31
|
realpathOrResolve,
|
|
32
32
|
walkUpDirs
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WLD6BGON.js";
|
|
34
34
|
|
|
35
35
|
// dist/clients/package-manager.js
|
|
36
36
|
import * as fs from "node:fs";
|
|
@@ -117,11 +117,8 @@ async function probeAvailability(pm) {
|
|
|
117
117
|
});
|
|
118
118
|
return true;
|
|
119
119
|
}
|
|
120
|
-
const { outcome, cause, evidence } =
|
|
121
|
-
hostStallMs
|
|
122
|
-
// Preserve pre-#1496 meaning for anything the classifier can't place: a
|
|
123
|
-
// present manager that rejects its probe is durable, same as before.
|
|
124
|
-
unclassifiedFailureOutcome: "missing"
|
|
120
|
+
const { outcome, cause, evidence, forced } = classifyFinderFailure(result, {
|
|
121
|
+
hostStallMs
|
|
125
122
|
});
|
|
126
123
|
const retryAfterMs = latch.noteUnavailable(outcome, cause);
|
|
127
124
|
logAvailabilityDecision({
|
|
@@ -134,7 +131,7 @@ async function probeAvailability(pm) {
|
|
|
134
131
|
hostStallMs,
|
|
135
132
|
...retryAfterMs > 0 && { retryAfterMs },
|
|
136
133
|
budgetMs: PROBE_TIMEOUT_MS,
|
|
137
|
-
classifiedBy: "probe",
|
|
134
|
+
classifiedBy: forced ? "caller" : "probe",
|
|
138
135
|
evidence
|
|
139
136
|
});
|
|
140
137
|
return false;
|
|
@@ -2,20 +2,20 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
classifyProbeFailure,
|
|
4
4
|
installRetryDelayMs
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WBXCIRVI.js";
|
|
6
6
|
import {
|
|
7
7
|
safeSpawnAsync
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
9
9
|
import {
|
|
10
10
|
assertInstallAllowed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-43KD3PPM.js";
|
|
12
12
|
import {
|
|
13
13
|
logExtension,
|
|
14
14
|
recordDegradationOnce
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
16
16
|
import {
|
|
17
17
|
isToolInstallDisabled
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K2GV34T2.js";
|
|
19
19
|
|
|
20
20
|
// dist/clients/dispatch/runners/utils/lazy-installer.js
|
|
21
21
|
var LAZY_INSTALL_SPECS = {
|
|
@@ -2,19 +2,20 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
computeImpactCascade,
|
|
4
4
|
computeTransitiveImpact
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6RXMQYNU.js";
|
|
6
6
|
import "./chunk-PKLB2XJL.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-6XNVY3FW.js";
|
|
8
|
+
import "./chunk-SUIZOCSY.js";
|
|
9
|
+
import "./chunk-DNB4ZQGN.js";
|
|
10
|
+
import "./chunk-SRXYSLMW.js";
|
|
11
|
+
import "./chunk-6EIV3H7O.js";
|
|
12
|
+
import "./chunk-3R3Z54J7.js";
|
|
13
|
+
import "./chunk-43KD3PPM.js";
|
|
14
|
+
import "./chunk-AGEQRJ5A.js";
|
|
14
15
|
import "./chunk-S26LC76R.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-K2GV34T2.js";
|
|
16
17
|
import "./chunk-LJDODBBZ.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WLD6BGON.js";
|
|
18
19
|
import "./chunk-NXL4FFQQ.js";
|
|
19
20
|
export {
|
|
20
21
|
computeImpactCascade,
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
getFilterStats,
|
|
16
16
|
isBuildArtifact,
|
|
17
17
|
sourceTwinCandidates
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-3NVGBFJS.js";
|
|
19
|
+
import "./chunk-C2REOMPO.js";
|
|
20
|
+
import "./chunk-DNB4ZQGN.js";
|
|
21
21
|
import "./chunk-QYF5S6P6.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-SRXYSLMW.js";
|
|
23
|
+
import "./chunk-6EIV3H7O.js";
|
|
24
|
+
import "./chunk-3R3Z54J7.js";
|
|
25
|
+
import "./chunk-43KD3PPM.js";
|
|
26
|
+
import "./chunk-AGEQRJ5A.js";
|
|
27
27
|
import "./chunk-S26LC76R.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-K2GV34T2.js";
|
|
29
29
|
import "./chunk-LJDODBBZ.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-WLD6BGON.js";
|
|
31
31
|
import "./chunk-NXL4FFQQ.js";
|
|
32
32
|
export {
|
|
33
33
|
ALL_SCANNABLE_EXTENSIONS,
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
getProcessSingleton,
|
|
4
4
|
logLatency
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K2GV34T2.js";
|
|
6
6
|
|
|
7
7
|
// dist/clients/lsp/workspace-sweep-hold.js
|
|
8
8
|
var SWEEP_IDLE_SAFETY_MARGIN_MS = 6e4;
|
|
@@ -44,7 +44,8 @@ function reapStaleHolds() {
|
|
|
44
44
|
type: "phase",
|
|
45
45
|
phase: "lsp_workspace_sweep_hold_force_released",
|
|
46
46
|
filePath: "",
|
|
47
|
-
|
|
47
|
+
// The hold's age at the reap, not work anyone did (#5379).
|
|
48
|
+
ageMs,
|
|
48
49
|
metadata: { holdId, maxHoldAgeMs: maxAgeMs }
|
|
49
50
|
});
|
|
50
51
|
}
|
|
@@ -2,59 +2,60 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
createAvailabilityChecker,
|
|
4
4
|
resolveAvailableOrInstall
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UELHWF5I.js";
|
|
6
6
|
import {
|
|
7
7
|
ruffConfigArgs
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-RTFMDIKV.js";
|
|
8
|
+
} from "./chunk-YUF4DRYB.js";
|
|
9
|
+
import "./chunk-DBAHJFBU.js";
|
|
10
|
+
import "./chunk-2SD2CGVH.js";
|
|
11
|
+
import "./chunk-NLRKB32C.js";
|
|
12
|
+
import "./chunk-QJ4T73J5.js";
|
|
13
|
+
import "./chunk-HTUG7ZFK.js";
|
|
14
|
+
import "./chunk-7424ANRU.js";
|
|
15
|
+
import "./chunk-SUIZOCSY.js";
|
|
16
|
+
import "./chunk-5YTDZ5WP.js";
|
|
17
|
+
import "./chunk-E3PNZDPH.js";
|
|
18
|
+
import "./chunk-KNP4ENFT.js";
|
|
20
19
|
import "./chunk-CKEQFGLT.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-LXE7JAMV.js";
|
|
21
|
+
import "./chunk-IT7MFVGP.js";
|
|
22
|
+
import "./chunk-AYDE7RFV.js";
|
|
23
|
+
import "./chunk-3HZ6MNB2.js";
|
|
24
24
|
import "./chunk-2BEMIWEW.js";
|
|
25
25
|
import "./chunk-IJYGIDF4.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ITAPXBIB.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveToolCwd
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-JSQK5DH3.js";
|
|
30
|
+
import "./chunk-FVEEEEIM.js";
|
|
31
|
+
import "./chunk-OP5BMZKK.js";
|
|
32
32
|
import "./chunk-UYXV5NIS.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-WBXCIRVI.js";
|
|
34
|
+
import "./chunk-TTGDTNSN.js";
|
|
35
|
+
import "./chunk-34RXPR7M.js";
|
|
36
|
+
import "./chunk-3NVGBFJS.js";
|
|
37
|
+
import "./chunk-C2REOMPO.js";
|
|
38
38
|
import {
|
|
39
39
|
safeSpawnAsync
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
41
|
+
import "./chunk-B4FAFEBP.js";
|
|
42
42
|
import "./chunk-QYF5S6P6.js";
|
|
43
43
|
import {
|
|
44
44
|
isFileKind
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-SRXYSLMW.js";
|
|
46
|
+
import "./chunk-6EIV3H7O.js";
|
|
47
|
+
import "./chunk-3R3Z54J7.js";
|
|
48
|
+
import "./chunk-CIA7X2PZ.js";
|
|
49
|
+
import "./chunk-43KD3PPM.js";
|
|
49
50
|
import {
|
|
50
51
|
createSubsystemLogger
|
|
51
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
52
53
|
import "./chunk-S26LC76R.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-K2GV34T2.js";
|
|
54
55
|
import "./chunk-LJDODBBZ.js";
|
|
55
56
|
import {
|
|
56
57
|
pathsEqual
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-WLD6BGON.js";
|
|
58
59
|
import "./chunk-NXL4FFQQ.js";
|
|
59
60
|
|
|
60
61
|
// dist/clients/ruff-client.js
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
deserializeWordIndex,
|
|
4
4
|
recordPersistedWordIndexWireBytes,
|
|
5
5
|
serializeWordIndex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LXE7JAMV.js";
|
|
7
7
|
import {
|
|
8
8
|
fingerprintProjectSnapshotJson
|
|
9
9
|
} from "./chunk-2BEMIWEW.js";
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
getProjectDataDir,
|
|
19
19
|
isStaleStageFile,
|
|
20
20
|
withGenerationLockSync
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
22
22
|
import {
|
|
23
23
|
writeFileAtomic
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-43KD3PPM.js";
|
|
25
25
|
import {
|
|
26
26
|
incrementDegradationCount
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
28
28
|
import {
|
|
29
29
|
logLatency
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K2GV34T2.js";
|
|
31
31
|
import {
|
|
32
32
|
BoundedFifoMap,
|
|
33
33
|
normalizeMapKey
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WLD6BGON.js";
|
|
35
35
|
|
|
36
36
|
// dist/clients/project-snapshot.js
|
|
37
37
|
import * as fs3 from "node:fs";
|
|
@@ -716,8 +716,7 @@ function getProjectSnapshotPersistWorkerHeapStatistics() {
|
|
|
716
716
|
return _snapshotPersistWorkerHeapStatistics;
|
|
717
717
|
}
|
|
718
718
|
function snapshotWorkerEnabled() {
|
|
719
|
-
|
|
720
|
-
return !(raw === "1" || raw === "true");
|
|
719
|
+
return process.env.PI_LENS_SNAPSHOT_PERSIST_SYNC !== "1";
|
|
721
720
|
}
|
|
722
721
|
function pendingSnapshotIsCurrent(pending) {
|
|
723
722
|
return !_snapshotGenerationGateEnabledForTests || _snapshotGenerationStates.get(pending.key)?.generation === pending.generation;
|
|
@@ -1625,6 +1624,7 @@ export {
|
|
|
1625
1624
|
loadProjectSnapshotWithoutWordIndex,
|
|
1626
1625
|
refreshProjectSnapshotPersistWorkerHeapStatistics,
|
|
1627
1626
|
getProjectSnapshotPersistWorkerHeapStatistics,
|
|
1627
|
+
snapshotWorkerEnabled,
|
|
1628
1628
|
runSnapshotPersistExitFlushForTests,
|
|
1629
1629
|
saveProjectSnapshot,
|
|
1630
1630
|
waitForProjectSnapshotPersistsForTests,
|
|
@@ -4,40 +4,40 @@ import {
|
|
|
4
4
|
} from "./chunk-7U2IDNXN.js";
|
|
5
5
|
import {
|
|
6
6
|
getScratchTreeFnmatchPatterns
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D5L7Q57Z.js";
|
|
8
8
|
import {
|
|
9
9
|
firstOutputLine,
|
|
10
10
|
formatToolFailure,
|
|
11
11
|
spawnFailedWithNoOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LHCDWFDB.js";
|
|
13
13
|
import {
|
|
14
14
|
extractTomlTableSection,
|
|
15
15
|
parseTomlStringArray
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SUIZOCSY.js";
|
|
17
17
|
import {
|
|
18
18
|
findLocalBinsAt
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FVEEEEIM.js";
|
|
20
20
|
import {
|
|
21
21
|
probeToolAsync
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OP5BMZKK.js";
|
|
23
23
|
import {
|
|
24
24
|
classifyProbeFailure,
|
|
25
25
|
createAvailabilityLatch,
|
|
26
26
|
logAvailabilityDecision,
|
|
27
27
|
startHostStallSampler
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WBXCIRVI.js";
|
|
29
29
|
import {
|
|
30
30
|
VENV_BIN_DIRS,
|
|
31
31
|
listNestedLinkedWorktreeRoots,
|
|
32
32
|
safeSpawnAsync
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
34
34
|
import {
|
|
35
35
|
createSubsystemLogger,
|
|
36
36
|
incrementDegradationCount
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
38
38
|
import {
|
|
39
39
|
findNearestMarkerRoot
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WLD6BGON.js";
|
|
41
41
|
|
|
42
42
|
// dist/clients/dead-code-client.js
|
|
43
43
|
import * as fs from "node:fs";
|
|
@@ -42,26 +42,28 @@ import {
|
|
|
42
42
|
saveRuntimeProjectSnapshot,
|
|
43
43
|
setProjectSnapshotGenerationGateForTests,
|
|
44
44
|
setProjectSnapshotPromotionSeamForTests,
|
|
45
|
+
snapshotWorkerEnabled,
|
|
45
46
|
terminateProjectSnapshotPersistWorkerForTests,
|
|
46
47
|
waitForProjectSnapshotPersistsForTests
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-HTUG7ZFK.js";
|
|
49
|
+
import "./chunk-LXE7JAMV.js";
|
|
50
|
+
import "./chunk-IT7MFVGP.js";
|
|
51
|
+
import "./chunk-AYDE7RFV.js";
|
|
50
52
|
import "./chunk-2BEMIWEW.js";
|
|
51
53
|
import "./chunk-IJYGIDF4.js";
|
|
52
54
|
import "./chunk-UYXV5NIS.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-DNB4ZQGN.js";
|
|
56
|
+
import "./chunk-B4FAFEBP.js";
|
|
55
57
|
import "./chunk-QYF5S6P6.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-SRXYSLMW.js";
|
|
59
|
+
import "./chunk-6EIV3H7O.js";
|
|
60
|
+
import "./chunk-3R3Z54J7.js";
|
|
61
|
+
import "./chunk-43KD3PPM.js";
|
|
62
|
+
import "./chunk-AGEQRJ5A.js";
|
|
61
63
|
import "./chunk-S26LC76R.js";
|
|
62
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-K2GV34T2.js";
|
|
63
65
|
import "./chunk-LJDODBBZ.js";
|
|
64
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-WLD6BGON.js";
|
|
65
67
|
import "./chunk-NXL4FFQQ.js";
|
|
66
68
|
export {
|
|
67
69
|
PROJECT_SNAPSHOT_MAX_WARM_ROOTS,
|
|
@@ -106,6 +108,7 @@ export {
|
|
|
106
108
|
saveRuntimeProjectSnapshot,
|
|
107
109
|
setProjectSnapshotGenerationGateForTests,
|
|
108
110
|
setProjectSnapshotPromotionSeamForTests,
|
|
111
|
+
snapshotWorkerEnabled,
|
|
109
112
|
terminateProjectSnapshotPersistWorkerForTests,
|
|
110
113
|
waitForProjectSnapshotPersistsForTests
|
|
111
114
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
loadPiLensProjectConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6EIV3H7O.js";
|
|
5
5
|
import {
|
|
6
6
|
lazyEnvNumber,
|
|
7
7
|
toPositiveFinite
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-K2GV34T2.js";
|
|
9
9
|
|
|
10
10
|
// dist/clients/project-scale.js
|
|
11
11
|
var DEFAULT_PROJECT_SCALE_BASE = 2e3;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
resolveToolCwd
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JSQK5DH3.js";
|
|
5
5
|
import {
|
|
6
6
|
allAvailableGlobalBinDirs,
|
|
7
7
|
installArgs,
|
|
8
8
|
pmBinary,
|
|
9
9
|
resolveNodePackageManager
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FVEEEEIM.js";
|
|
11
11
|
import {
|
|
12
12
|
probeToolAsync
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OP5BMZKK.js";
|
|
14
14
|
import {
|
|
15
15
|
registerBackgroundWriteDrain
|
|
16
16
|
} from "./chunk-UYXV5NIS.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
createAvailabilityLatch,
|
|
21
21
|
logAvailabilityDecision,
|
|
22
22
|
startHostStallSampler
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WBXCIRVI.js";
|
|
24
24
|
import {
|
|
25
25
|
acquireBoundedPidFileLock,
|
|
26
26
|
acquireQuarantinePidFileLock,
|
|
@@ -40,27 +40,30 @@ import {
|
|
|
40
40
|
startGenerationHeartbeat,
|
|
41
41
|
tryAcquireGeneration,
|
|
42
42
|
windowsExe
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
44
|
+
import {
|
|
45
|
+
hashContentBytes
|
|
46
|
+
} from "./chunk-CIA7X2PZ.js";
|
|
44
47
|
import {
|
|
45
48
|
assertInstallAllowed,
|
|
46
49
|
getProjectTrustGeneration,
|
|
47
50
|
projectTrustDenialReason,
|
|
48
51
|
writeFileAtomic,
|
|
49
52
|
writeFileAtomicAsync
|
|
50
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-43KD3PPM.js";
|
|
51
54
|
import {
|
|
52
55
|
getDegradationLedgerGeneration,
|
|
53
56
|
incrementDegradationCount,
|
|
54
57
|
logExtension,
|
|
55
58
|
recordDegradationOnce
|
|
56
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
57
60
|
import {
|
|
58
61
|
createNdjsonLogger,
|
|
59
62
|
getGlobalPiLensLogDir,
|
|
60
63
|
getMaxLogSizeMB,
|
|
61
64
|
isTestMode,
|
|
62
65
|
isToolInstallDisabled
|
|
63
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-K2GV34T2.js";
|
|
64
67
|
import {
|
|
65
68
|
BoundedLruCache,
|
|
66
69
|
findLocalToolConfig,
|
|
@@ -68,7 +71,7 @@ import {
|
|
|
68
71
|
isUnderDir,
|
|
69
72
|
realpathOrResolve,
|
|
70
73
|
toPosix
|
|
71
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-WLD6BGON.js";
|
|
72
75
|
import {
|
|
73
76
|
__require
|
|
74
77
|
} from "./chunk-NXL4FFQQ.js";
|
|
@@ -76,7 +79,7 @@ import {
|
|
|
76
79
|
// dist/clients/installer/index.js
|
|
77
80
|
import { existsSync, readFileSync as readFileSync2, statSync as statSync2, unlinkSync, writeFileSync } from "node:fs";
|
|
78
81
|
import fs2 from "node:fs/promises";
|
|
79
|
-
import {
|
|
82
|
+
import { randomUUID } from "node:crypto";
|
|
80
83
|
import https from "node:https";
|
|
81
84
|
import { createRequire } from "node:module";
|
|
82
85
|
import os from "node:os";
|
|
@@ -316,7 +319,7 @@ function recordGhTokenUnavailable(consumer, { outcome, cause, classifiedBy }, el
|
|
|
316
319
|
}
|
|
317
320
|
function recordZizmorOfflineDegradation(reason) {
|
|
318
321
|
incrementDegradationCount({
|
|
319
|
-
kind: "
|
|
322
|
+
kind: "zizmor-offline",
|
|
320
323
|
subject: "zizmor",
|
|
321
324
|
reason
|
|
322
325
|
});
|
|
@@ -2636,6 +2639,22 @@ function getArchiveBinaryCandidates(binaryName, platform, assetName) {
|
|
|
2636
2639
|
candidates.add(`${binaryName}.cmd`);
|
|
2637
2640
|
return [...candidates];
|
|
2638
2641
|
}
|
|
2642
|
+
async function firstVerifiedBinary(candidates, onTransient, verificationArgs, verificationTimeoutMs) {
|
|
2643
|
+
for (const candidate of candidates) {
|
|
2644
|
+
try {
|
|
2645
|
+
await fs2.access(candidate);
|
|
2646
|
+
if (isUntrustedProjectPath(candidate)) {
|
|
2647
|
+
recordProjectCommandRefusal(candidate);
|
|
2648
|
+
continue;
|
|
2649
|
+
}
|
|
2650
|
+
if (await verifyToolBinary(candidate, void 0, onTransient, verificationTimeoutMs, verificationArgs)) {
|
|
2651
|
+
return candidate;
|
|
2652
|
+
}
|
|
2653
|
+
} catch {
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
return void 0;
|
|
2657
|
+
}
|
|
2639
2658
|
async function findNpmGlobalToolPath(binaryName, onTransient, verificationArgs = ["--version"], verificationTimeoutMs = 1e4) {
|
|
2640
2659
|
const isWindows = process.platform === "win32";
|
|
2641
2660
|
const binDirs = await getNpmGlobalBinCandidates(onTransient);
|
|
@@ -2644,19 +2663,9 @@ async function findNpmGlobalToolPath(binaryName, onTransient, verificationArgs =
|
|
|
2644
2663
|
path4.join(dir, `${binaryName}.cmd`),
|
|
2645
2664
|
path4.join(dir, `${binaryName}.exe`)
|
|
2646
2665
|
] : [path4.join(dir, binaryName)];
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
if (isUntrustedProjectPath(candidate)) {
|
|
2651
|
-
recordProjectCommandRefusal(candidate);
|
|
2652
|
-
continue;
|
|
2653
|
-
}
|
|
2654
|
-
if (await verifyToolBinary(candidate, void 0, onTransient, verificationTimeoutMs, verificationArgs)) {
|
|
2655
|
-
return candidate;
|
|
2656
|
-
}
|
|
2657
|
-
} catch {
|
|
2658
|
-
}
|
|
2659
|
-
}
|
|
2666
|
+
const verified = await firstVerifiedBinary(candidates, onTransient, verificationArgs, verificationTimeoutMs);
|
|
2667
|
+
if (verified)
|
|
2668
|
+
return verified;
|
|
2660
2669
|
}
|
|
2661
2670
|
return void 0;
|
|
2662
2671
|
}
|
|
@@ -2712,19 +2721,9 @@ async function findPipUserToolPath(binaryName, onTransient, verificationArgs = [
|
|
|
2712
2721
|
path4.join(dir, `${binaryName}.cmd`),
|
|
2713
2722
|
path4.join(dir, binaryName)
|
|
2714
2723
|
] : [path4.join(dir, binaryName)];
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
if (isUntrustedProjectPath(candidate)) {
|
|
2719
|
-
recordProjectCommandRefusal(candidate);
|
|
2720
|
-
continue;
|
|
2721
|
-
}
|
|
2722
|
-
if (await verifyToolBinary(candidate, void 0, onTransient, verificationTimeoutMs, verificationArgs)) {
|
|
2723
|
-
return candidate;
|
|
2724
|
-
}
|
|
2725
|
-
} catch {
|
|
2726
|
-
}
|
|
2727
|
-
}
|
|
2724
|
+
const verified = await firstVerifiedBinary(candidates, onTransient, verificationArgs, verificationTimeoutMs);
|
|
2725
|
+
if (verified)
|
|
2726
|
+
return verified;
|
|
2728
2727
|
}
|
|
2729
2728
|
}
|
|
2730
2729
|
return void 0;
|
|
@@ -3618,7 +3617,7 @@ async function installArchiveTool(tool) {
|
|
|
3618
3617
|
return void 0;
|
|
3619
3618
|
}
|
|
3620
3619
|
const pinned = spec.sha256?.[url];
|
|
3621
|
-
const digest =
|
|
3620
|
+
const digest = hashContentBytes(archiveBuffer);
|
|
3622
3621
|
if (digest !== pinned) {
|
|
3623
3622
|
const reason = pinned === void 0 ? "sha256-unpinned" : "sha256-mismatch";
|
|
3624
3623
|
recordDegradationOnce({
|
|
@@ -4121,7 +4120,7 @@ async function stampInstallResolution(toolId) {
|
|
|
4121
4120
|
return;
|
|
4122
4121
|
try {
|
|
4123
4122
|
const resolutionId = lastInstallResolutionId.get(toolId);
|
|
4124
|
-
const refresh = await import("./chunk-
|
|
4123
|
+
const refresh = await import("./chunk-VI3BJMZO.js");
|
|
4125
4124
|
await refresh.stampManagedToolInstall(toolId, resolutionId);
|
|
4126
4125
|
} catch {
|
|
4127
4126
|
}
|
|
@@ -4134,7 +4133,7 @@ async function finishInstallAttempt(toolId, ok, startedAt) {
|
|
|
4134
4133
|
if (ok) {
|
|
4135
4134
|
resetSafeSpawnWindowsCommandCache();
|
|
4136
4135
|
try {
|
|
4137
|
-
const { resetMadgeManagedPathMemo } = await import("./chunk-
|
|
4136
|
+
const { resetMadgeManagedPathMemo } = await import("./chunk-UG4YLCJ5.js");
|
|
4138
4137
|
resetMadgeManagedPathMemo();
|
|
4139
4138
|
} catch (err) {
|
|
4140
4139
|
logSessionStart(`auto-install ${toolId}: madge memo reset failed: ${err.message}`);
|
|
@@ -4164,7 +4163,7 @@ async function installTool(toolId, ownsLock) {
|
|
|
4164
4163
|
return false;
|
|
4165
4164
|
const npmPath = await installNpmTool(tool.id, tool.packageName, tool.binaryName, tool.checkArgs, getToolVerificationTimeout(tool), packageEntryVerification(tool), ownsLock);
|
|
4166
4165
|
if (npmPath !== void 0) {
|
|
4167
|
-
await import("./chunk-
|
|
4166
|
+
await import("./chunk-VI3BJMZO.js").then((m) => m.stampManagedToolInstalled(tool.id, tool.packageName)).catch(() => {
|
|
4168
4167
|
});
|
|
4169
4168
|
}
|
|
4170
4169
|
return finishInstallAttempt(tool.id, npmPath !== void 0, startedAt);
|
|
@@ -4538,10 +4537,10 @@ export {
|
|
|
4538
4537
|
isZizmorAuditTarget,
|
|
4539
4538
|
resetZizmorTokenAvailability,
|
|
4540
4539
|
resolveZizmorGitHubToken,
|
|
4541
|
-
logSessionStart,
|
|
4542
|
-
findCommandOnPath,
|
|
4543
4540
|
commitDurableStore,
|
|
4544
4541
|
commitDurableStoreAsync,
|
|
4542
|
+
logSessionStart,
|
|
4543
|
+
findCommandOnPath,
|
|
4545
4544
|
getManagedToolsDir,
|
|
4546
4545
|
TOOLS,
|
|
4547
4546
|
getToolVerificationTimeout,
|