@herbertgao/pi-extensions 2026.11.6 → 2026.11.8
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.md +20 -0
- package/README.md +9 -9
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +71 -56
- package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-subagents/README.md +2 -2
- package/node_modules/@herbertgao/pi-subagents/package.json +4 -4
- package/node_modules/@herbertgao/pi-subagents/src/ui/conversation-viewer.ts +10 -6
- package/node_modules/@herbertgao/pi-subagents/src/ui/viewer-keys.ts +47 -4
- package/node_modules/@narumitw/pi-btw/CHANGELOG.md +12 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/{main-tree-picker-WHRN26NJ.ts → main-tree-picker-3PXJARQW.ts} +59 -53
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-3PXJARQW.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/index.ts +1 -1
- package/node_modules/@narumitw/pi-btw/docs/main-tree-snapshots.md +39 -0
- package/node_modules/@narumitw/pi-btw/docs/workflows.md +1 -0
- package/node_modules/@narumitw/pi-btw/package.json +1 -1
- package/node_modules/@narumitw/pi-btw/src/main-tree-picker.ts +73 -63
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts +1 -4
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs +5620 -2946
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/package.json +11 -11
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +5 -0
- package/node_modules/pi-commandcode-provider/README.md +1 -1
- package/node_modules/pi-commandcode-provider/package.json +1 -1
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +5 -4
- package/node_modules/pi-commandcode-provider/src/pricing.ts +8 -2
- package/node_modules/pi-lens/CHANGELOG-USER.md +12 -12
- package/node_modules/pi-lens/CHANGELOG.md +212 -0
- package/node_modules/pi-lens/README.md +1 -0
- package/node_modules/pi-lens/dist/{chunk-W4CUK5G6.js → chunk-2HWVG3IM.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-B2YUE6YD.js → chunk-3EIZMRXI.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-Y3EHLUPL.js → chunk-3MHY4BQY.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-IDCTDKIA.js → chunk-3PMLYGJN.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-VPFRU5IG.js → chunk-3QMLB4TI.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/node_modules/pi-lens/dist/chunk-3VWEZ6H2.js +72 -0
- package/node_modules/pi-lens/dist/{chunk-YT2VR4SL.js → chunk-5EEWCJG7.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-4NCDHTFI.js → chunk-5FDUKJZO.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-QUQY3IME.js → chunk-5KLRCUDT.js} +9 -8
- package/node_modules/pi-lens/dist/{chunk-FOEPIX76.js → chunk-6EIV3H7O.js} +158 -61
- package/node_modules/pi-lens/dist/{chunk-GMC4ZGYR.js → chunk-6EXGCXM5.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-CTB5BAJI.js → chunk-6GWCYEP7.js} +17 -16
- package/node_modules/pi-lens/dist/{chunk-NBM7PNBP.js → chunk-6JLNZ6DP.js} +37 -26
- package/node_modules/pi-lens/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-TJQSYX3J.js → chunk-75TVYCQW.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-J6BR5XN2.js → chunk-7BEADGAZ.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-7KWI5UHL.js +28 -0
- package/node_modules/pi-lens/dist/{chunk-GUGKKGG7.js → chunk-7M64NTAK.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-SKVNHCT5.js → chunk-7T64QA5D.js} +48 -43
- package/node_modules/pi-lens/dist/{chunk-YQA34KAF.js → chunk-7ZVEFWOE.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-SJQUWQR6.js → chunk-AAIVSSUU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6I44EDNQ.js → chunk-AD7JDEI6.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-3FRI5H4T.js → chunk-AGEQRJ5A.js} +24 -10
- package/node_modules/pi-lens/dist/{chunk-NPNFGYLV.js → chunk-AVBEPUCD.js} +19 -2
- package/node_modules/pi-lens/dist/{chunk-OTSTS7L2.js → chunk-AYDE7RFV.js} +34 -3
- package/node_modules/pi-lens/dist/{chunk-UOO4D2TK.js → chunk-AZXTLZHE.js} +34 -35
- package/node_modules/pi-lens/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/node_modules/pi-lens/dist/{chunk-S3WFVG5P.js → chunk-BEIPWPVR.js} +137 -126
- package/node_modules/pi-lens/dist/{chunk-CZAWWXP6.js → chunk-BMMRLJA4.js} +7 -5
- package/node_modules/pi-lens/dist/{chunk-QWTHFFU6.js → chunk-C6V2DSZZ.js} +12 -12
- package/node_modules/pi-lens/dist/chunk-CIA7X2PZ.js +26 -0
- package/node_modules/pi-lens/dist/{chunk-ZD4KVFXI.js → chunk-D2ZYRI7M.js} +172 -3
- package/node_modules/pi-lens/dist/{chunk-F6FT6BVQ.js → chunk-D6ANA6YU.js} +34 -35
- package/node_modules/pi-lens/dist/{chunk-HILZE4BQ.js → chunk-D7OEGXDX.js} +396 -306
- package/node_modules/pi-lens/dist/{chunk-FCQSZQAT.js → chunk-DFAY7JUN.js} +14 -5
- package/node_modules/pi-lens/dist/{chunk-DOUAWKLO.js → chunk-DIIDMDZU.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-6MDM5MQT.js → chunk-DZSQXG66.js} +394 -162
- package/node_modules/pi-lens/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-QSCZAP24.js → chunk-E5SSUV2A.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-H65TYP6V.js → chunk-ET3DSSFZ.js} +37 -21
- package/node_modules/pi-lens/dist/chunk-F7AMFFVK.js +22 -0
- package/node_modules/pi-lens/dist/{chunk-4ITEFRDH.js → chunk-FDLGJFAE.js} +37 -145
- package/node_modules/pi-lens/dist/{chunk-XAFZJEXY.js → chunk-FVQKX5KI.js} +23 -23
- package/node_modules/pi-lens/dist/{chunk-CYUJB552.js → chunk-G3LR6V6N.js} +18 -12
- package/node_modules/pi-lens/dist/{chunk-ZOPXB2KK.js → chunk-GHATCG2A.js} +111 -107
- package/node_modules/pi-lens/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-UNBRHPHJ.js → chunk-HJWF7CGW.js} +17 -15
- package/node_modules/pi-lens/dist/chunk-HRQTYU2T.js +355 -0
- package/node_modules/pi-lens/dist/{chunk-QUPYLQA4.js → chunk-HSTN27NR.js} +14 -9
- package/node_modules/pi-lens/dist/{chunk-YF4G5NN5.js → chunk-HWMNTQBJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-K6WIBVMK.js → chunk-HYDJUVOE.js} +8 -9
- package/node_modules/pi-lens/dist/{chunk-OPFNQBS5.js → chunk-HYR25MV3.js} +21 -25
- package/node_modules/pi-lens/dist/{chunk-MAD4QJTP.js → chunk-IC4L65U7.js} +21 -17
- package/node_modules/pi-lens/dist/{chunk-I32RSMH6.js → chunk-ILC2B7IJ.js} +11 -10
- package/node_modules/pi-lens/dist/{chunk-BGLS5SDN.js → chunk-IT7MFVGP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-KDCIG23C.js → chunk-IZ36G463.js} +13 -9
- package/node_modules/pi-lens/dist/{chunk-ALIZWXHZ.js → chunk-JKAVKTMY.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-3HM4BUHR.js → chunk-JLMS7EMD.js} +16 -15
- package/node_modules/pi-lens/dist/{chunk-HSYFLOZY.js → chunk-JRSS6KM4.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/node_modules/pi-lens/dist/{chunk-KJ3AHOCK.js → chunk-K2LD6YNH.js} +10 -10
- package/node_modules/pi-lens/dist/chunk-KUDUKKQE.js +89 -0
- package/node_modules/pi-lens/dist/{chunk-7JX3RNG4.js → chunk-KXDQD34C.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-VGTBLTPN.js → chunk-LD7SXICE.js} +18 -66
- package/node_modules/pi-lens/dist/{chunk-UY745U35.js → chunk-ME6MF2N2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-QHOTTC4A.js → chunk-MOEWCPMC.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-JZQGRARR.js → chunk-MV6ST2KT.js} +15 -12
- package/node_modules/pi-lens/dist/{chunk-QL37SGTS.js → chunk-NCDH2JB7.js} +18 -18
- package/node_modules/pi-lens/dist/{chunk-AON2QIJF.js → chunk-NRVWLTOY.js} +20 -17
- package/node_modules/pi-lens/dist/chunk-NZINZCHB.js +108 -0
- package/node_modules/pi-lens/dist/{chunk-A5TEJZGJ.js → chunk-O6LCSHHI.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-PTSA6QKL.js → chunk-OEPWTSUG.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-QMV2APEH.js → chunk-OF2YGDUE.js} +36 -36
- package/node_modules/pi-lens/dist/{chunk-GTTMQ6XB.js → chunk-OHEUOWYT.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-GVWIU7M7.js → chunk-ORYQGVC3.js} +41 -4
- package/node_modules/pi-lens/dist/{chunk-KSTQ4VXT.js → chunk-OVPR3GQ6.js} +10 -13
- package/node_modules/pi-lens/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-TN5CWX5D.js → chunk-PCREZ4HJ.js} +34 -35
- package/node_modules/pi-lens/dist/{chunk-SG2JQ2YP.js → chunk-PK3GDU4M.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-NE4EFHJX.js → chunk-PPYUBO6Y.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-DVRJBQOJ.js → chunk-PTJXMYRY.js} +19 -20
- package/node_modules/pi-lens/dist/{chunk-TYHOEX4V.js → chunk-PXGVB2CY.js} +36 -39
- package/node_modules/pi-lens/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2LVJQU3I.js → chunk-QY6J2FTK.js} +33 -29
- package/node_modules/pi-lens/dist/{chunk-ZZDVGCGG.js → chunk-R67WQ5RY.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-Q2VCKC3X.js → chunk-S6ZQFPOX.js} +11 -8
- package/node_modules/pi-lens/dist/{chunk-KFRDFAOE.js → chunk-SF7KSXB5.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-WS3UFJOU.js → chunk-SUIZOCSY.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-V7F7JHS5.js → chunk-T6PPK3T6.js} +563 -554
- package/node_modules/pi-lens/dist/chunk-TM3A3K7T.js +28 -0
- package/node_modules/pi-lens/dist/{chunk-RQRKIRFY.js → chunk-TOOXNL6M.js} +8 -8
- package/node_modules/pi-lens/dist/chunk-TS5EIWEF.js +25 -0
- package/node_modules/pi-lens/dist/chunk-VD7MQFEV.js +56 -0
- package/node_modules/pi-lens/dist/{chunk-2ADRLTM2.js → chunk-VU2PRGRI.js} +6 -35
- package/node_modules/pi-lens/dist/chunk-W6VLB6LL.js +145 -0
- package/node_modules/pi-lens/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/node_modules/pi-lens/dist/{chunk-C6AODRNU.js → chunk-WTSQKJAR.js} +11 -10
- package/node_modules/pi-lens/dist/{chunk-46TQJSUE.js → chunk-X33QECRJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-B6HXETWY.js → chunk-Y7XMKBFP.js} +28 -26
- package/node_modules/pi-lens/dist/{chunk-TLWFZ66Y.js → chunk-YLHJWAQS.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-BRESRQBE.js → chunk-YLW26OHX.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-IL6PIV33.js → chunk-YTXFNCVN.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-YULIERZW.js +27 -0
- package/node_modules/pi-lens/dist/chunk-Z2W5YJBW.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-XPGH5O74.js → chunk-Z6WTLVUL.js} +30 -39
- package/node_modules/pi-lens/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/node_modules/pi-lens/dist/{chunk-E4VXKTBR.js → chunk-ZWZD4TJ5.js} +163 -173
- package/node_modules/pi-lens/dist/index.js +6405 -4497
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +17 -13
- package/node_modules/pi-lens/dist/mcp/cli.js +42 -43
- package/node_modules/pi-lens/dist/mcp/server.js +1520 -608
- package/node_modules/pi-lens/dist/mcp/worker.js +62 -61
- package/node_modules/pi-lens/dist/probes/installer.js +19 -18
- package/node_modules/pi-lens/docs/agent-guide.md +3 -1
- package/node_modules/pi-lens/docs/agent-tools.md +57 -13
- package/node_modules/pi-lens/docs/alignment-families.md +5 -1
- package/node_modules/pi-lens/docs/ci.md +120 -0
- package/node_modules/pi-lens/docs/configuration.md +24 -6
- package/node_modules/pi-lens/docs/custom-rules.md +1 -0
- package/node_modules/pi-lens/docs/defect-shapes.md +107 -71
- package/node_modules/pi-lens/docs/durable-store-audit-1202.md +1 -1
- package/node_modules/pi-lens/docs/engineering-principles.md +46 -12
- package/node_modules/pi-lens/docs/environment-variables.md +25 -2
- package/node_modules/pi-lens/docs/features.md +1 -1
- package/node_modules/pi-lens/docs/globalconfig.md +8 -1
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +13 -0
- package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +7 -0
- package/node_modules/pi-lens/docs/language-coverage.md +1 -1
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +15 -16
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +1 -1
- package/node_modules/pi-lens/docs/mcp.md +2 -1
- package/node_modules/pi-lens/docs/module-report-read-symbol.md +2 -2
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +3 -2
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +1 -0
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +4 -1
- package/node_modules/pi-lens/docs/pi-lens-release.md +19 -0
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +8 -2
- package/node_modules/pi-lens/docs/public-api-stability.md +41 -6
- package/node_modules/pi-lens/docs/rfcs/5138-query-surface.md +121 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +9 -0
- package/node_modules/pi-lens/docs/usage.md +1 -1
- package/node_modules/pi-lens/docs/word-index.md +9 -10
- package/node_modules/pi-lens/package.json +3 -3
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/README.md +2 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/dont-call-system-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-access-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-stat-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/insecure-hash-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/libxml2-audit-parser-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/null-library-function-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/world-writable-file-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/dont-call-system-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-access-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-stat-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/fix-format-security-error-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/insecure-hash-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/libxml2-audit-parser-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/missing-nul-cpp-string-memcpy-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/null-library-function-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/small-key-size-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-return-data-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-vector-invalidation-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/string-view-temporary-string-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/world-writable-file-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/httponly-false-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/insecure-binaryformatter-deserialization-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-decode-without-verify-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-tokenvalidationparameters-no-expiry-validation-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/networkcredential-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/npgsqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/oracleconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/sqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/stacktrace-disclosure-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/use-ecb-mode-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/avoid-bind-to-all-interfaces-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-cookie-store-hardcoded-session-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-csrf-hardcoded-auth-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/grpc-client-insecure-connection-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/jwt-go-none-algorithm-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/missing-ssl-minversion-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-empty-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-hardcoded-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/ssl-v3-is-insecure-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/tls-with-insecure-cipher-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/use-of-weak-rsa-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/html/security/plaintext-http-link-html.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cbc-padding-oracle-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-httponly-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-samesite-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-secure-flag-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-secure-flag-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/datanucleus-hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/des-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/desede-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-disallow-doctype-decl-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-general-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-parameter-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/drivermanager-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/ecb-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-secret-in-credentials-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/java-jwt-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisclientconfig-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisfactory-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-secure-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/no-null-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/passwordauthentication-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/rsa-no-padding-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/simple-command-injection-direct-input-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/system-setproperty-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/unencrypted-socket-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-aes-ecb-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-blowfish-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-default-aes-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-digest-utils-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc2-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc4-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-sha1-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/weak-ssl-context-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/detect-angular-sce-disabled-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-jwt-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-session-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/jwt-simple-noverify-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-rsa-weak-key-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-empty-password-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-hardcoded-secret-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/des-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/desede-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/jwt-hardcode-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/rsa-no-padding-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/system-setproperty-hardcoded-secret-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/openssl-cbc-static-iv-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/search-active-debug-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid-mktemp-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid_app_run_with_bad_host-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/debug-enabled-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-django-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-flask-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/insecure-cipher-algorithm-rc4-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/jwt-python-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/openai-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-elasticsearch-hardcoded-bearer-auth-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pyjwt-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-oauth-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-urllib3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/force-ssl-false-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-http-auth-in-controller-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-secret-rsa-passphrase-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/insufficient-rsa-key-size-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-aws-sdk-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-excon-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-faraday-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-octokit-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/reqwest-accept-invalid-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/secrets-reqwest-hardcoded-auth-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/ssl-verify-none-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/jwt-scala-hardcode-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/scala-jwt-hardcoded-secret-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/aes-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/blowfish-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/chacha20-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/insecure-biometrics-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/rabbit-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/detect-angular-sce-disabled-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/express-session-hardcoded-secret-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/jwt-simple-noverify-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-rsa-weak-key-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-empty-password-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-hardcoded-secret-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-schema.json +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/c-no-malloc-free.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-malloc-free.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-printf.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-defer-func-call-antipattern.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-fmt-println.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-panic-in-lib.yml +20 -19
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-underscore-func-name.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-errors-is.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-string-builder.yml +19 -18
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-test-functions.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/hyphenated-svg-attribute.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-lateinit.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-nullable-boolean.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-println.yml +15 -14
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unnecessary-let.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unsafe-cast.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-var.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-data-class.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-is-empty.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-aws-access-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-compile-call.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-flask-secret-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-hardcoded-password.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-marshal-load.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-python-sql-string-concat.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-requests-verify-false.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-secret-in-env-var-name.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/python-optional-type.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/reducible-list-comprehension.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-detect-path-traversal.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-symbol-to-proc-candidate.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/rust-no-chars-enumerate.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/gorm-unbounded-preload.yml +7 -6
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/shadow-err-variable.yml +6 -5
- package/node_modules/pi-lens/scripts/analyze-pi-lens-logs.mjs +262 -3
- package/node_modules/pi-lens/scripts/lib/latency-log-phases.mjs +125 -0
- package/package.json +8 -8
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WHRN26NJ.ts.map +0 -7
- package/node_modules/pi-lens/dist/chunk-3QWVOBZJ.js +0 -73
- package/node_modules/pi-lens/dist/chunk-7WJ55KBN.js +0 -162
- package/node_modules/pi-lens/dist/chunk-BDR5MEZY.js +0 -25
- package/node_modules/pi-lens/dist/chunk-CKEQFGLT.js +0 -32
- package/node_modules/pi-lens/dist/chunk-DBS736MA.js +0 -57
- package/node_modules/pi-lens/dist/chunk-I74RQGKA.js +0 -88
- package/node_modules/pi-lens/dist/chunk-IK4YS3KC.js +0 -25
- package/node_modules/pi-lens/dist/chunk-JKOZ2Z4U.js +0 -20
- package/node_modules/pi-lens/dist/chunk-TQHOKMVZ.js +0 -28
- package/node_modules/pi-lens/dist/chunk-VS2L7QDI.js +0 -25
- package/node_modules/pi-lens/dist/chunk-WAA63ZJV.js +0 -140
- package/node_modules/pi-lens/dist/chunk-ZPFLHB3R.js +0 -28
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
scannerReportParentDir
|
|
7
|
-
} from "./chunk-LT62P654.js";
|
|
3
|
+
runReportScan
|
|
4
|
+
} from "./chunk-NZINZCHB.js";
|
|
8
5
|
import {
|
|
9
6
|
createAvailabilityProbeFlight,
|
|
10
7
|
probeToolAsync
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3QMLB4TI.js";
|
|
12
9
|
import {
|
|
13
10
|
classifyProbeFailure,
|
|
14
11
|
createAvailabilityLatch,
|
|
@@ -16,17 +13,16 @@ import {
|
|
|
16
13
|
describeProbeEvidence,
|
|
17
14
|
logAvailabilityDecision,
|
|
18
15
|
startHostStallSampler
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AVBEPUCD.js";
|
|
20
17
|
import {
|
|
21
18
|
createSingleFlight
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-B4FAFEBP.js";
|
|
23
20
|
import {
|
|
24
21
|
createSubsystemLogger,
|
|
25
22
|
incrementDegradationCount
|
|
26
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
27
24
|
|
|
28
25
|
// dist/clients/security-scan-client.js
|
|
29
|
-
import * as fs from "node:fs";
|
|
30
26
|
import * as path from "node:path";
|
|
31
27
|
var securityProbeFlights = createAvailabilityProbeFlight();
|
|
32
28
|
var SecurityScanClient = class {
|
|
@@ -328,63 +324,19 @@ var SecurityScanClient = class {
|
|
|
328
324
|
return promise;
|
|
329
325
|
}
|
|
330
326
|
/**
|
|
331
|
-
*
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
* report is an unsuccessful empty result (`success` false) and one
|
|
338
|
-
* `security-scan-report-failed` row; a CLI that exits 0 without writing its
|
|
339
|
-
* report is a successful empty one carrying stderr's first line (both CLIs
|
|
340
|
-
* write the report even when nothing is found, so a missing file after a
|
|
341
|
-
* clean exit is an empty run, while a non-zero exit before the report means
|
|
342
|
-
* the scan never ran and must not be cached as clean). A report that exists
|
|
343
|
-
* is parsed whatever the exit code. `spec.parse` runs inside the guard, so
|
|
344
|
-
* its own throw lands in the same unsuccessful result.
|
|
327
|
+
* The security clients' lane onto the one report-file scan lifecycle
|
|
328
|
+
* (`clients/report-scan.ts`, #5411): it binds the tool name, this client's
|
|
329
|
+
* verbose logger, and the shared `security-scan-report-failed` record, so
|
|
330
|
+
* GitleaksClient and TrivyClient keep their result shape and their ledger
|
|
331
|
+
* lane. The lifecycle itself is shared with `OpengrepClient` and
|
|
332
|
+
* `JscpdClient`, which keep their own record kinds.
|
|
345
333
|
*/
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
if (result.error) {
|
|
353
|
-
this.log(`Scan error: ${result.error.message}`);
|
|
354
|
-
this.recordReportScanFailure(result.error.message);
|
|
355
|
-
return spec.fail({
|
|
356
|
-
scannedAt,
|
|
357
|
-
summary: result.error.message.slice(0, 200)
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
|
-
if (!fs.existsSync(reportPath)) {
|
|
361
|
-
if (result.status !== 0) {
|
|
362
|
-
const reason = formatToolFailure({
|
|
363
|
-
tool: this.toolName,
|
|
364
|
-
status: result.status,
|
|
365
|
-
stderr: result.stderr,
|
|
366
|
-
reportMissing: true
|
|
367
|
-
});
|
|
368
|
-
this.recordReportScanFailure(reason);
|
|
369
|
-
return spec.fail({ scannedAt, summary: reason });
|
|
370
|
-
}
|
|
371
|
-
return spec.fail({
|
|
372
|
-
success: true,
|
|
373
|
-
scannedAt,
|
|
374
|
-
summary: (result.stderr ?? "").trim().split("\n")[0] || "no report produced"
|
|
375
|
-
});
|
|
376
|
-
}
|
|
377
|
-
return await spec.parse(fs.readFileSync(reportPath, "utf-8"), scannedAt);
|
|
378
|
-
} catch (err) {
|
|
379
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
380
|
-
this.recordReportScanFailure(message);
|
|
381
|
-
return spec.fail({ scannedAt, summary: message.slice(0, 200) });
|
|
382
|
-
} finally {
|
|
383
|
-
try {
|
|
384
|
-
fs.rmSync(outDir, { recursive: true, force: true });
|
|
385
|
-
} catch {
|
|
386
|
-
}
|
|
387
|
-
}
|
|
334
|
+
runReportScan(spec) {
|
|
335
|
+
return runReportScan(this.toolName, {
|
|
336
|
+
...spec,
|
|
337
|
+
log: this.log,
|
|
338
|
+
recordFailure: (failure) => this.recordReportScanFailure(failure.summary)
|
|
339
|
+
});
|
|
388
340
|
}
|
|
389
341
|
/**
|
|
390
342
|
* Count a spawn error, a throw, or a non-zero exit that left no report in
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
detectFileRole
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6EIV3H7O.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/collateral-test-role.js
|
|
7
7
|
function isTestRoleCollateral(filePath) {
|
|
@@ -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/go-client.js
|
|
10
10
|
import * as path from "node:path";
|
|
@@ -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-YLW26OHX.js";
|
|
49
|
+
import "./chunk-6JLNZ6DP.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-ET3DSSFZ.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-HRQTYU2T.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,53 +1,53 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
buildModuleGraph
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HYDJUVOE.js";
|
|
5
5
|
import {
|
|
6
6
|
aliasedImportTargets,
|
|
7
7
|
referencedProjectImportTarget
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7424ANRU.js";
|
|
9
9
|
import {
|
|
10
10
|
getSharedTreeSitterClient,
|
|
11
11
|
loadWebTreeSitter,
|
|
12
12
|
logTreeSitterDiagnostic,
|
|
13
13
|
resolveTreeSitterLanguage,
|
|
14
14
|
wasmQueryInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6GWCYEP7.js";
|
|
16
16
|
import {
|
|
17
17
|
EXTENSION_TO_GRAMMAR,
|
|
18
18
|
KIND_TO_GRAMMAR
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AYDE7RFV.js";
|
|
20
20
|
import {
|
|
21
|
-
HOOK_WALL_BUDGET_MS
|
|
22
|
-
} from "./chunk-CKEQFGLT.js";
|
|
23
|
-
import {
|
|
24
|
-
hashContentBytes,
|
|
25
21
|
toRunnerDisplayPath
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import {
|
|
28
|
-
bounded
|
|
29
|
-
} from "./chunk-WAA63ZJV.js";
|
|
22
|
+
} from "./chunk-ZRQMENT4.js";
|
|
30
23
|
import {
|
|
31
24
|
LSP_QUERY_MAX_FILE_LINES_MAX,
|
|
32
25
|
getGlobalLspQueryMaxFileLines,
|
|
33
26
|
loadPiLensGlobalConfig
|
|
34
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
35
28
|
import {
|
|
36
29
|
isFileKind
|
|
37
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SRXYSLMW.js";
|
|
38
31
|
import {
|
|
39
32
|
isDeclarationFile
|
|
40
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-6EIV3H7O.js";
|
|
34
|
+
import {
|
|
35
|
+
hashContentBytes
|
|
36
|
+
} from "./chunk-CIA7X2PZ.js";
|
|
37
|
+
import {
|
|
38
|
+
HOOK_WALL_BUDGET_MS,
|
|
39
|
+
bounded
|
|
40
|
+
} from "./chunk-HRQTYU2T.js";
|
|
41
41
|
import {
|
|
42
42
|
incrementDegradationCount,
|
|
43
43
|
recordDegradationOnce
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
45
45
|
import {
|
|
46
46
|
freshnessFromMtime
|
|
47
47
|
} from "./chunk-S26LC76R.js";
|
|
48
48
|
import {
|
|
49
49
|
toPositiveFinite
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-K2GV34T2.js";
|
|
51
51
|
import {
|
|
52
52
|
BoundedFifoMap,
|
|
53
53
|
BoundedLruCache,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
normalizeEphemeralMapKey,
|
|
57
57
|
normalizeMapKey,
|
|
58
58
|
walkUpDirs
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-WLD6BGON.js";
|
|
60
60
|
|
|
61
61
|
// dist/clients/blocker-freshness.js
|
|
62
62
|
import * as fs4 from "node:fs";
|
|
@@ -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-YLHJWAQS.js";
|
|
5
5
|
import {
|
|
6
6
|
allAvailableGlobalBinDirs,
|
|
7
7
|
installArgs,
|
|
8
8
|
pmBinary,
|
|
9
9
|
resolveNodePackageManager
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OVPR3GQ6.js";
|
|
11
11
|
import {
|
|
12
12
|
probeToolAsync
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3QMLB4TI.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-AVBEPUCD.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-ET3DSSFZ.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-HRQTYU2T.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
|
});
|
|
@@ -3614,7 +3617,7 @@ async function installArchiveTool(tool) {
|
|
|
3614
3617
|
return void 0;
|
|
3615
3618
|
}
|
|
3616
3619
|
const pinned = spec.sha256?.[url];
|
|
3617
|
-
const digest =
|
|
3620
|
+
const digest = hashContentBytes(archiveBuffer);
|
|
3618
3621
|
if (digest !== pinned) {
|
|
3619
3622
|
const reason = pinned === void 0 ? "sha256-unpinned" : "sha256-mismatch";
|
|
3620
3623
|
recordDegradationOnce({
|
|
@@ -4117,7 +4120,7 @@ async function stampInstallResolution(toolId) {
|
|
|
4117
4120
|
return;
|
|
4118
4121
|
try {
|
|
4119
4122
|
const resolutionId = lastInstallResolutionId.get(toolId);
|
|
4120
|
-
const refresh = await import("./chunk-
|
|
4123
|
+
const refresh = await import("./chunk-PXGVB2CY.js");
|
|
4121
4124
|
await refresh.stampManagedToolInstall(toolId, resolutionId);
|
|
4122
4125
|
} catch {
|
|
4123
4126
|
}
|
|
@@ -4130,7 +4133,7 @@ async function finishInstallAttempt(toolId, ok, startedAt) {
|
|
|
4130
4133
|
if (ok) {
|
|
4131
4134
|
resetSafeSpawnWindowsCommandCache();
|
|
4132
4135
|
try {
|
|
4133
|
-
const { resetMadgeManagedPathMemo } = await import("./chunk-
|
|
4136
|
+
const { resetMadgeManagedPathMemo } = await import("./chunk-VD7MQFEV.js");
|
|
4134
4137
|
resetMadgeManagedPathMemo();
|
|
4135
4138
|
} catch (err) {
|
|
4136
4139
|
logSessionStart(`auto-install ${toolId}: madge memo reset failed: ${err.message}`);
|
|
@@ -4160,7 +4163,7 @@ async function installTool(toolId, ownsLock) {
|
|
|
4160
4163
|
return false;
|
|
4161
4164
|
const npmPath = await installNpmTool(tool.id, tool.packageName, tool.binaryName, tool.checkArgs, getToolVerificationTimeout(tool), packageEntryVerification(tool), ownsLock);
|
|
4162
4165
|
if (npmPath !== void 0) {
|
|
4163
|
-
await import("./chunk-
|
|
4166
|
+
await import("./chunk-PXGVB2CY.js").then((m) => m.stampManagedToolInstalled(tool.id, tool.packageName)).catch(() => {
|
|
4164
4167
|
});
|
|
4165
4168
|
}
|
|
4166
4169
|
return finishInstallAttempt(tool.id, npmPath !== void 0, startedAt);
|
|
@@ -4534,10 +4537,10 @@ export {
|
|
|
4534
4537
|
isZizmorAuditTarget,
|
|
4535
4538
|
resetZizmorTokenAvailability,
|
|
4536
4539
|
resolveZizmorGitHubToken,
|
|
4537
|
-
logSessionStart,
|
|
4538
|
-
findCommandOnPath,
|
|
4539
4540
|
commitDurableStore,
|
|
4540
4541
|
commitDurableStoreAsync,
|
|
4542
|
+
logSessionStart,
|
|
4543
|
+
findCommandOnPath,
|
|
4541
4544
|
getManagedToolsDir,
|
|
4542
4545
|
TOOLS,
|
|
4543
4546
|
getToolVerificationTimeout,
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
formatToolFailure
|
|
4
|
+
} from "./chunk-FDLGJFAE.js";
|
|
5
|
+
import {
|
|
6
|
+
scannerReportParentDir
|
|
7
|
+
} from "./chunk-QJ4T73J5.js";
|
|
8
|
+
import {
|
|
9
|
+
LEDGER_FIELD_MAX
|
|
10
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
11
|
+
|
|
12
|
+
// dist/clients/report-scan.js
|
|
13
|
+
import * as fs from "node:fs";
|
|
14
|
+
import * as path from "node:path";
|
|
15
|
+
function parseReportJson(toolName, raw) {
|
|
16
|
+
try {
|
|
17
|
+
return JSON.parse(raw);
|
|
18
|
+
} catch (err) {
|
|
19
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
20
|
+
throw new Error(`unreadable ${toolName} report: ${message}`);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
async function runReportScan(toolName, spec) {
|
|
24
|
+
const scannedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
25
|
+
const outDir = fs.mkdtempSync(path.join(scannerReportParentDir(), `pi-lens-${toolName}-`));
|
|
26
|
+
const reportPath = path.join(outDir, `${toolName}-report.json`);
|
|
27
|
+
const failed = (failure) => {
|
|
28
|
+
spec.recordFailure?.(failure);
|
|
29
|
+
return spec.fail(failure);
|
|
30
|
+
};
|
|
31
|
+
try {
|
|
32
|
+
const result = await spec.spawn({ outDir, reportPath });
|
|
33
|
+
if (result.error) {
|
|
34
|
+
const message = result.error.message;
|
|
35
|
+
spec.log?.(`Scan error: ${message}`);
|
|
36
|
+
return failed({
|
|
37
|
+
outcome: "spawn-error",
|
|
38
|
+
scannedAt,
|
|
39
|
+
status: result.status,
|
|
40
|
+
signal: result.signal,
|
|
41
|
+
stderr: result.stderr ?? "",
|
|
42
|
+
errorMessage: message,
|
|
43
|
+
...result.failure ? { spawnFailure: result.failure } : {},
|
|
44
|
+
summary: message.slice(0, LEDGER_FIELD_MAX)
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
const stderr = result.stderr ?? "";
|
|
48
|
+
if (!fs.existsSync(reportPath)) {
|
|
49
|
+
if (result.status !== 0) {
|
|
50
|
+
const reason = formatToolFailure({
|
|
51
|
+
tool: toolName,
|
|
52
|
+
status: result.status,
|
|
53
|
+
// A null exit with a signal is only explainable by the signal, and
|
|
54
|
+
// the four report scanners now say it the same way (#5411).
|
|
55
|
+
signal: result.signal ?? null,
|
|
56
|
+
stderr,
|
|
57
|
+
reportMissing: true,
|
|
58
|
+
...spec.failureFields ? { fields: spec.failureFields() } : {}
|
|
59
|
+
});
|
|
60
|
+
spec.log?.(reason);
|
|
61
|
+
return failed({
|
|
62
|
+
outcome: "no-report",
|
|
63
|
+
scannedAt,
|
|
64
|
+
status: result.status,
|
|
65
|
+
signal: result.signal,
|
|
66
|
+
stderr,
|
|
67
|
+
summary: reason
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return spec.fail({
|
|
71
|
+
outcome: "no-report",
|
|
72
|
+
scannedAt,
|
|
73
|
+
status: result.status,
|
|
74
|
+
signal: result.signal,
|
|
75
|
+
stderr,
|
|
76
|
+
success: true,
|
|
77
|
+
summary: stderr.trim().split("\n")[0] || "no report produced"
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
return await spec.parse(fs.readFileSync(reportPath, "utf-8"), scannedAt, {
|
|
81
|
+
status: result.status,
|
|
82
|
+
signal: result.signal
|
|
83
|
+
});
|
|
84
|
+
} catch (err) {
|
|
85
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
86
|
+
spec.log?.(`Scan error: ${message}`);
|
|
87
|
+
const failure = {
|
|
88
|
+
outcome: "crashed",
|
|
89
|
+
scannedAt,
|
|
90
|
+
status: null,
|
|
91
|
+
signal: void 0,
|
|
92
|
+
stderr: "",
|
|
93
|
+
summary: message.slice(0, LEDGER_FIELD_MAX)
|
|
94
|
+
};
|
|
95
|
+
spec.recordFailure?.(failure);
|
|
96
|
+
return spec.fail(failure);
|
|
97
|
+
} finally {
|
|
98
|
+
try {
|
|
99
|
+
fs.rmSync(outDir, { recursive: true, force: true });
|
|
100
|
+
} catch {
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export {
|
|
106
|
+
parseReportJson,
|
|
107
|
+
runReportScan
|
|
108
|
+
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
SecurityScanClient
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LD7SXICE.js";
|
|
5
5
|
import {
|
|
6
6
|
firstOutputLine,
|
|
7
7
|
spawnFailedWithNoOutput
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FDLGJFAE.js";
|
|
9
9
|
import {
|
|
10
10
|
probeToolAsync
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3QMLB4TI.js";
|
|
12
12
|
import {
|
|
13
13
|
INSTALL_TRANSIENT_MAX_ATTEMPTS,
|
|
14
14
|
classifyProbeFailure,
|
|
15
15
|
describeProbeEvidence,
|
|
16
16
|
logAvailabilityDecision,
|
|
17
17
|
startHostStallSampler
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AVBEPUCD.js";
|
|
19
19
|
import {
|
|
20
20
|
isUntrustedProjectPath,
|
|
21
21
|
recordProjectCommandRefusal,
|
|
22
22
|
safeSpawnAsync
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
24
24
|
import {
|
|
25
25
|
assertInstallAllowed
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HRQTYU2T.js";
|
|
27
27
|
import {
|
|
28
28
|
recordDegradationOnce
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
30
30
|
import {
|
|
31
31
|
isToolInstallDisabled
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-K2GV34T2.js";
|
|
33
33
|
|
|
34
34
|
// dist/clients/govulncheck-client.js
|
|
35
35
|
import * as fs from "node:fs";
|
|
@@ -5,74 +5,74 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
formatToolFailure,
|
|
7
7
|
spawnFailedWithNoOutput
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FDLGJFAE.js";
|
|
9
9
|
import {
|
|
10
10
|
createAvailabilityChecker,
|
|
11
11
|
findManagedNodeToolBinary,
|
|
12
12
|
getManagedToolEnvironment,
|
|
13
13
|
resolveAvailableOrInstall
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-WAA63ZJV.js";
|
|
14
|
+
} from "./chunk-BEIPWPVR.js";
|
|
15
|
+
import "./chunk-D7OEGXDX.js";
|
|
16
|
+
import "./chunk-Z6WTLVUL.js";
|
|
17
|
+
import "./chunk-PPYUBO6Y.js";
|
|
18
|
+
import "./chunk-5EEWCJG7.js";
|
|
19
|
+
import "./chunk-QJ4T73J5.js";
|
|
20
|
+
import "./chunk-YLW26OHX.js";
|
|
21
|
+
import "./chunk-7424ANRU.js";
|
|
22
|
+
import "./chunk-SUIZOCSY.js";
|
|
23
|
+
import "./chunk-7M64NTAK.js";
|
|
24
|
+
import "./chunk-E3PNZDPH.js";
|
|
25
|
+
import "./chunk-PK3GDU4M.js";
|
|
26
|
+
import "./chunk-6JLNZ6DP.js";
|
|
27
|
+
import "./chunk-IT7MFVGP.js";
|
|
28
|
+
import "./chunk-AYDE7RFV.js";
|
|
29
|
+
import "./chunk-W6VLB6LL.js";
|
|
31
30
|
import "./chunk-2BEMIWEW.js";
|
|
32
31
|
import "./chunk-IJYGIDF4.js";
|
|
33
32
|
import {
|
|
34
33
|
logSessionStart
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-NRVWLTOY.js";
|
|
35
|
+
import "./chunk-YLHJWAQS.js";
|
|
37
36
|
import {
|
|
38
37
|
findLocalBinUpwards,
|
|
39
38
|
localBinPath
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-OVPR3GQ6.js";
|
|
40
|
+
import "./chunk-3QMLB4TI.js";
|
|
42
41
|
import "./chunk-UYXV5NIS.js";
|
|
43
42
|
import {
|
|
44
43
|
createAvailabilityLatch,
|
|
45
44
|
describeUnavailability
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-AVBEPUCD.js";
|
|
46
|
+
import "./chunk-75TVYCQW.js";
|
|
47
|
+
import "./chunk-KXDQD34C.js";
|
|
48
|
+
import "./chunk-3PMLYGJN.js";
|
|
49
|
+
import "./chunk-YTXFNCVN.js";
|
|
51
50
|
import {
|
|
52
51
|
canonicalDirectory,
|
|
53
52
|
getProjectDataDir,
|
|
54
53
|
listNestedLinkedWorktreeRoots,
|
|
55
54
|
safeSpawnAsync
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
56
|
+
import "./chunk-B4FAFEBP.js";
|
|
58
57
|
import "./chunk-QYF5S6P6.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-SRXYSLMW.js";
|
|
59
|
+
import "./chunk-6EIV3H7O.js";
|
|
60
|
+
import "./chunk-3R3Z54J7.js";
|
|
61
|
+
import "./chunk-CIA7X2PZ.js";
|
|
62
|
+
import "./chunk-HRQTYU2T.js";
|
|
63
63
|
import {
|
|
64
64
|
createSubsystemLogger,
|
|
65
65
|
incrementDegradationCount
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
67
67
|
import "./chunk-S26LC76R.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-K2GV34T2.js";
|
|
69
69
|
import "./chunk-LJDODBBZ.js";
|
|
70
70
|
import {
|
|
71
71
|
findNearestMarkerRoot,
|
|
72
72
|
isUnderDir,
|
|
73
73
|
normalizeEphemeralMapKey,
|
|
74
74
|
normalizeFilePath
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-WLD6BGON.js";
|
|
76
76
|
import "./chunk-NXL4FFQQ.js";
|
|
77
77
|
|
|
78
78
|
// dist/clients/knip-client.js
|