@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @herbertgao/pi-extensions
|
|
2
2
|
|
|
3
|
+
## 2026.11.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#368](https://github.com/HerbertGao/pi-extensions/pull/368) [`6a7741f`](https://github.com/HerbertGao/pi-extensions/commit/6a7741f944d09ac27bae47165a4c534086b6679e) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Pin pi-btw 0.63.7 and pi-lens 4.4.12. The main-thread tree picker walks a deep session without overflowing the call stack and joins copy text only when copying. pi-lens names a function an edit made more complex than the default branch, and AST replace no longer requests strict sampling.
|
|
8
|
+
|
|
9
|
+
- [#368](https://github.com/HerbertGao/pi-extensions/pull/368) [`6a7741f`](https://github.com/HerbertGao/pi-extensions/commit/6a7741f944d09ac27bae47165a4c534086b6679e) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Pin graphifyy 0.9.106. The CLI stays outside the npm aggregate and requires Python >=3.10,<3.15 so installers keep a tree-sitter wheel.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`6a7741f`](https://github.com/HerbertGao/pi-extensions/commit/6a7741f944d09ac27bae47165a4c534086b6679e)]:
|
|
12
|
+
- @herbertgao/pi-subagents@0.23.1
|
|
13
|
+
|
|
14
|
+
## 2026.11.7
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [#365](https://github.com/HerbertGao/pi-extensions/pull/365) [`e29681d`](https://github.com/HerbertGao/pi-extensions/commit/e29681dc3de160f3710545f573a5c28bb1988ca3) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Pin fast-mode 0.1.15, pi-commandcode-provider 0.8.1, pi-lens 4.4.11, and graphifyy 0.9.105. Fast-mode bundles Effect 4.1.2 and is built against Pi 1.5.0. Command Code refreshes the 1.88.5 catalog, including reviewed pricing for DeepSeek V4.1 Flash Ultrafast. pi-lens promotes @ast-grep/cli to 0.51.1 and treats a blank PI_LENS numeric variable as unset. Graphify stays outside the npm aggregate.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`e29681d`](https://github.com/HerbertGao/pi-extensions/commit/e29681dc3de160f3710545f573a5c28bb1988ca3)]:
|
|
21
|
+
- @herbertgao/pi-impeccable@0.3.0
|
|
22
|
+
|
|
3
23
|
## 2026.11.6
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -21,13 +21,13 @@ When migrating from `pi-mcp-adapter`, remove any standalone adapter install as w
|
|
|
21
21
|
The package bundles 6 active `@herbertgao/*` child packages—`pi-agency`, `pi-bark`, `pi-cc-extensions`, `pi-impeccable`, `pi-subagents`, and `sol-pi`—plus the following upstream packages under their original names:
|
|
22
22
|
|
|
23
23
|
- `pi-antigravity@0.12.0`
|
|
24
|
-
- `pi-commandcode-provider@0.8.
|
|
24
|
+
- `pi-commandcode-provider@0.8.1`
|
|
25
25
|
- `pi-provider-qoder@0.6.12`
|
|
26
26
|
- `@dietrichgebert/ponytail@5.3.3`
|
|
27
27
|
- `@juicesharp/rpiv-ask-user-question@2.15.0`
|
|
28
|
-
- `@narumitw/pi-btw@0.63.
|
|
28
|
+
- `@narumitw/pi-btw@0.63.7`
|
|
29
29
|
- `@narumitw/pi-caffeinate@0.49.14`
|
|
30
|
-
- `@pi-plugins/fast-mode@0.1.
|
|
30
|
+
- `@pi-plugins/fast-mode@0.1.15`
|
|
31
31
|
- `@tifan/pi-copy-response@0.2.7`
|
|
32
32
|
- `@tifan/pi-handoff@2.2.2`
|
|
33
33
|
- `@tifan/pi-mermaid-open@0.2.2`
|
|
@@ -36,7 +36,7 @@ The package bundles 6 active `@herbertgao/*` child packages—`pi-agency`, `pi-b
|
|
|
36
36
|
- `@tintinweb/pi-tasks@0.9.1`
|
|
37
37
|
- `pi-typesafe@0.14.0`
|
|
38
38
|
- `pi-next-cue@1.0.8`
|
|
39
|
-
- `pi-lens@4.4.
|
|
39
|
+
- `pi-lens@4.4.12`
|
|
40
40
|
- `pi-web-access@0.47.0`
|
|
41
41
|
|
|
42
42
|
Pi loads their extensions and skills through `node_modules/` paths inside one package root. The upstream companions are pinned and bundled, not forked or renamed.
|
|
@@ -47,7 +47,7 @@ Antigravity `0.12.0` enriches search citations by visiting source sites by defau
|
|
|
47
47
|
|
|
48
48
|
Ponytail `5.3.2` updates the Pi skill guidance, including how to turn it off. Its Pi extension entry is unchanged; the new Claude Code band/board hooks are not registered by this aggregate.
|
|
49
49
|
|
|
50
|
-
Impeccable `4.8.
|
|
50
|
+
Impeccable `4.8.2` is vendored as `@herbertgao/pi-impeccable` and loaded with `/skill:impeccable`. Its native engine downloads to `~/.impeccable` on first use after SHA-256 verification; set `IMPECCABLE_BIN` for offline or preinstalled setups. The launcher pins engine 0.1.21 and skips a sibling engine binary that reports a different version. Go leaves a staged removal in the page so Undo and Discard can restore it. The package does not install automatic post-edit hooks, and upstream `pin`/`unpin` do not discover npm-loaded skills.
|
|
51
51
|
|
|
52
52
|
### Agency Agents
|
|
53
53
|
|
|
@@ -57,13 +57,13 @@ Impeccable `4.8.1` is vendored as `@herbertgao/pi-impeccable` and loaded with `/
|
|
|
57
57
|
|
|
58
58
|
`@herbertgao/pi-bark` sends localized Bark pushes when a user-facing Pi run fully settles or `@juicesharp/rpiv-ask-user-question` needs an answer. Notifications include emoji-labeled machine/path metadata and support the bundled official Pi badge through Bark's `icon` parameter. Configure it in `$PI_CODING_AGENT_DIR/bark.json` (normally `~/.pi/agent/bark.json`); see the [package README](../pi-bark/README.md). Without a valid endpoint it stays inactive.
|
|
59
59
|
|
|
60
|
-
`@narumitw/pi-caffeinate@0.49.14` uses the host platform's sleep inhibitor during each Pi agent run. On macOS, `/caffeinate sleep` keeps the system awake while allowing the display to sleep; `/caffeinate display` also keeps the display awake. It releases the inhibitor when the run or session ends. Its D-Bus dependency remains on the normal socket transport under Node; Bun on Linux/macOS can use FFI and an in-process reader thread for Unix file-descriptor transport, and that thread can be unreferenced so the connection need not keep the process alive. It falls back when FFI is unavailable. No daemon or build step is added. The published extension source is unchanged from 0.49.13 aside from the manifest. It still declares `@narumitw/pi-tui-kit@^0.69.0` and `dbus-native@^0.16.3`. BTW `0.63.
|
|
60
|
+
`@narumitw/pi-caffeinate@0.49.14` uses the host platform's sleep inhibitor during each Pi agent run. On macOS, `/caffeinate sleep` keeps the system awake while allowing the display to sleep; `/caffeinate display` also keeps the display awake. It releases the inhibitor when the run or session ends. Its D-Bus dependency remains on the normal socket transport under Node; Bun on Linux/macOS can use FFI and an in-process reader thread for Unix file-descriptor transport, and that thread can be unreferenced so the connection need not keep the process alive. It falls back when FFI is unavailable. No daemon or build step is added. The published extension source is unchanged from 0.49.13 aside from the manifest. It still declares `@narumitw/pi-tui-kit@^0.69.0` and `dbus-native@^0.16.3`. BTW `0.63.7` requires `@narumitw/pi-tui-kit@^0.69.1`, so the aggregate resolves one `0.69.1` install for both.
|
|
61
61
|
|
|
62
|
-
`@narumitw/pi-btw@0.63.
|
|
62
|
+
`@narumitw/pi-btw@0.63.7` opens its side workspace through the `@narumitw/pi-tui-kit@^0.69.1` fullscreen handoff. Fullscreen, menu, and transcript modules load on first use. An already ended session does not open that UI. The loaded flow still stops when the dedicated UI is disposed or the parent terminal cannot be restored. Only one BTW flow can be open per session; a second `/btw` warns and stays closed. In split layout, mounting the first split releases Pi's idle wait so the main input stays usable. Importing new main-thread context stays manual. The main-thread tree picker walks an arbitrarily deep session on the heap, keeps raw copy text as fragments until a copy, and stores a saved label only when the entry has one. Settings rows keep a clipped label or value in full under the list, and a searchable model choice shows how many results match. A searchable choice keeps page scrolling; the host still owns search activation.
|
|
63
63
|
|
|
64
64
|
`clef` asks Cloudflare Clef-flash an on-demand yes/no, choice, or score and prints the questions and answers in the transcript, plus a one-line notice. It is not a permission gate. `pi-typesafe@0.14.0` provides `/typesafe` and `typesafe_evaluate` for explicit structured decisions; `/typesafe enable` or `PI_TYPESAFE_ENABLED=1` is still required for agent tool calls. The default backend remains `https://api.typesafe.ai`. `PI_TYPESAFE_BACKEND` and `PI_TYPESAFE_MODEL` select the session backend and model, and `/typesafe login` stores a key for the named backend. Only HTTP 401 refuses that key, and only for 15 minutes; a 403 refuses one request and leaves the key usable. Nace.AI (`https://console.nace.ai`, `NACE_API_KEY`, default model `drex-v2.0`) is a judgment backend. Daily request, token, and USD caps are opt-in. OpenRouter, Command Code, Liquid, SubQ, Nace.AI, and a named endpoint stay explicit and use that backend's own key. The promoted SDK is `@typesafe-ai/sdk@0.7.0`. Under Bun, the judge transport reads each response body once and replays it, so the SDK can still read the result after Bun marks the original body used.
|
|
65
65
|
|
|
66
|
-
`@herbertgao/sol-pi` adds opt-in Action Fusion, ObservationPack, Evidence-Preserving Reducer, and Online Context Compact; see its [configuration guide](../sol-pi/docs/configuration.md). `pi-lens@4.4.
|
|
66
|
+
`@herbertgao/sol-pi` adds opt-in Action Fusion, ObservationPack, Evidence-Preserving Reducer, and Online Context Compact; see its [configuration guide](../sol-pi/docs/configuration.md). `pi-lens@4.4.12` publishes a public LSP config schema, reads user-level custom rule directories (project before user before built-in), normalizes argv-style server entries, downgrades `throw-new-error` to a warning, and counts Docker, JSON, and Jedi servers in idle eviction; language routing and the retained multi-root diagnostic facts are unchanged. `.mts` and `.cts` use the TypeScript rules. Groovy files still classify as Groovy, and the vendored Groovy grammar lists classes and methods. `--no-read-expansion` turns off read widening without disabling the read-before-edit guard. It promotes `@ast-grep/cli` to `0.51.1` and `@ast-grep/napi` to `^0.51.0`. A blank `PI_LENS_*` number falls back to the default, and an explicit `0` is a value. An edit that raises a named function past the high-complexity threshold and past the default branch names that function on one line; a function the edit improved, or that is still no worse than the default branch, is not named. `ast_grep_replace` no longer requests strict JSON-schema sampling; `lens_diagnostic_mark` still does. A language server for a project outside the session folder starts only when Pi would trust that project. Four MCP tools advertise only `path`. A session rooted at `/` keeps `lsp.disabledServers`. Concatenated SQL passed to `.execute()` is an advisory full-analysis finding; a parameterized `execute(sql, values)` call stays quiet. Keeping injected findings in later requests is opt-in. A workspace edit through a dangling symlink is refused, and a symlink that resolves outside the workspace is refused; the fallback Biome config no longer names a nursery rule. An identity `filter(x => x).map(...)` stays a warning, and a non-identity `filter(fn).map(...)` is no longer flagged. A reduce that copies its accumulator with `Object.assign` is a warning. A directory whose name starts with `..` stays inside its project. `.groovy`, `.gvy`, `.gy`, `.gsh`, `Jenkinsfile`, `build.gradle`, and `settings.gradle` classify as Groovy; `build.gradle.kts` does not. `minimatch` is `^11.0.4` and `vscode-jsonrpc` is `^10.0.0`. `pi-web-access@0.47.0` provides configurable web search and fetch tools; its `toolActivation` defaults to `auto`, choosing eager or dynamic tool activation per model. `toolActivation: "none"` stays opt-in and still requires deferred exposure. Field extraction, 9router, empty or off-topic search fallback, and plain HTTP gateway URLs stay off unless configured. An unknown tool-call provider name fails instead of selecting a provider automatically, and DuckDuckGo searches stay spaced apart after a bot check. It adds structured search/fetch data for codemode and an optional, manually started `pi-web-access-mcp` stdio CLI; installing the aggregate does not start that server. Degoog, Keenable, Ceramic, Linkup, DeepSeek fetch, Cloudflare search, SearchApi, Outcrawl, Sofya, and Tabstack are explicit-only, excluded from automatic and `all` selection. `lockProxy: true` rejects a tool-call proxy other than the configured one. A GitHub repository README is returned up to 100K characters, and a clone with no `githubClone.clonePath` goes under the OS temp directory. Optional `fetchContent.curl` and Exa/Tabstack fetch routing stay off unless configured. Provider gateway base URLs are opt-in and are not configured by the aggregate. OpenAI search now defaults to `gpt-6-luna`, results and clone cleanup are scoped per extension instance, and the promoted `@modelcontextprotocol/sdk@^1.32.1` moves the bundle off GHSA-6qxp-vccf-f47h. Perplexity search now uses the Search API's ranked pages and snippets rather than a Sonar-generated answer; requests requiring prose still use Sonar. `pi-antigravity@0.12.0` reads Pi 0.86+ transcript system messages, so Antigravity requests carry Pi's system prompt and tools; it also registers `google_search` and `generate_image` tools that use the signed-in Antigravity account. Those tools stay direct unless `ANTIGRAVITY_DEFER_TOOLS=1`. A model removed by catalog refresh is not filled back in from the bootstrap list. Image saves reject symlink destinations. The aggregate keeps host `typebox` and `undici@^8.11.2`. `pi-provider-qoder@0.6.12` registers the `qoder` and `qoder-cn` model providers. A tool-call argument stream that is cut off before a usable call is reported as a retryable server error. Startup logs one line when the npm registry has a newer release; `PI_PROVIDER_QODER_SKIP_UPDATE_CHECK=1` skips that lookup. A queued model-busy response reports its wait instead of being ignored; a ready busy response stays retryable. A queued wait that does not fit in a safe millisecond count uses `retryAfterSeconds` instead. Agent chat prefers the account's remote-agent node and, on daily chat limit code 110, tries the next node. The chosen node is cached for one hour. Sign in with `/login qoder` (browser or a personal access token from [qoder.com/account/integrations](https://qoder.com/account/integrations)) or `/login qoder-cn` (token from [qoder.com.cn/account/integrations](https://qoder.com.cn/account/integrations)). `QODER_PERSONAL_ACCESS_TOKEN` and `QODERCN_PERSONAL_ACCESS_TOKEN` log those providers in at startup. `/qoder-usage footer on` replaces the status-bar footer for that session, so leave it off while the pi-cc footer is in use. `pi-commandcode-provider@0.8.1` registers `commandcode` beside `qoder`, `qoder-cn`, and `antigravity`. Inference uses the Provider API only. `/login` lists those subscription providers and runs only the one you select. `@tifan/pi-preferred-thinking` is no longer bundled. Per-model thinking levels come from Pi. Deprecated `@tifan/pi-titlebar-spinner` is no longer bundled; Rename remains the single owner of Herdr tab naming. `@tifan/pi-handoff` imports `@tifan/pi-rename/naming` when it generates a session name, so Rename stays installed and its `/rename` command stays registered.
|
|
67
67
|
|
|
68
68
|
`pi-stash` is no longer bundled: `/btw` already preserves the main editor draft while handling side questions outside the main conversation. Prior `@herbertgao/pi-stash` releases remain available but are no longer maintained here.
|
|
69
69
|
|
|
@@ -81,7 +81,7 @@ Pi stacks widgets by key. While tasks are visible, three other above-editor widg
|
|
|
81
81
|
|
|
82
82
|
### Command Code
|
|
83
83
|
|
|
84
|
-
`pi-commandcode-provider@0.8.
|
|
84
|
+
`pi-commandcode-provider@0.8.1` adds the `commandcode` model provider. It does not register its own `/login` command. Pi's `/login` lists it with the other subscription providers (`antigravity`, `qoder`, and `qoder-cn`). Choose **Use a subscription**, then **Command Code**. Press Enter for browser login, type `key` to paste an API key, or paste the key directly. `COMMAND_CODE_API_KEY` signs the provider in at startup. Existing keys in `~/.commandcode/auth.json` are also read. Credentials Pi stores for this provider live under the `commandcode` entry in the host auth file. The reader does not take `qoder` or `antigravity` credentials.
|
|
85
85
|
|
|
86
86
|
`/commandcode-quota` shows account usage. `/commandcode-refresh` reloads the model catalog, and `/commandcode-status` shows redacted discovery diagnostics: URL userinfo, query strings, and fragments are removed before the shared credential redactor runs. `/commandcode-endpoint` stores a per-model Provider API route, and `/commandcode-diagnostics` prints a content-free report. Inference stays on the Provider API. A `403 upgrade_required` response stops with that requirement and does not retry the retired `/alpha/generate` transport. `COMMANDCODE_TASTE_LEARNING` is no longer read. During a DeepSeek V4 peak window, context-tier rates are doubled together with the base rates, and the host receives its own mutable copy. `/commandcode-refresh` resets the transport probe. On first start without a cache, model discovery waits for `https://api.commandcode.ai/provider/v1/models` and still loads if that request fails. TypeSafe's Command Code judge backend stays opt-in and uses that backend's own key. This aggregate does not also bundle `pi-login-manager` or `@iaziz786/pi-cmd-login`.
|
|
87
87
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -187,7 +187,7 @@ THE SOFTWARE.
|
|
|
187
187
|
|
|
188
188
|
## `pi-commandcode-provider`
|
|
189
189
|
|
|
190
|
-
The aggregate bundles [`pi-commandcode-provider`](https://github.com/patlux/pi-commandcode-provider) version 0.8.
|
|
190
|
+
The aggregate bundles [`pi-commandcode-provider`](https://github.com/patlux/pi-commandcode-provider) version 0.8.1 under its original MIT license. The imported npm package corresponds to upstream tag `v0.8.1` at commit [`e8ebc6e802246c41f16d88862bb17521655b3d90`](https://github.com/patlux/pi-commandcode-provider/commit/e8ebc6e802246c41f16d88862bb17521655b3d90). npm publishes no gitHead; the published tarball matches that tag.
|
|
191
191
|
|
|
192
192
|
MIT License
|
|
193
193
|
|
|
@@ -217,4 +217,4 @@ The aggregate bundles [`pi-provider-qoder`](https://github.com/simonsmh/pi-provi
|
|
|
217
217
|
|
|
218
218
|
## `@herbertgao/pi-impeccable`
|
|
219
219
|
|
|
220
|
-
The aggregate bundles [`@herbertgao/pi-impeccable`](https://github.com/HerbertGao/pi-extensions/tree/master/packages/pi-impeccable), vendored from [`pbakaus/impeccable`](https://github.com/pbakaus/impeccable) release `4.8.
|
|
220
|
+
The aggregate bundles [`@herbertgao/pi-impeccable`](https://github.com/HerbertGao/pi-extensions/tree/master/packages/pi-impeccable), vendored from [`pbakaus/impeccable`](https://github.com/pbakaus/impeccable) release `4.8.2` at commit `035c8f319edd019936525a062fe99e83ca8d12c6`, under the Apache License 2.0. `scripts/live-browser.js` includes one local fix that keeps a staged removal in the live DOM. The bundled child package includes the complete upstream `LICENSE` and `NOTICE.md`, including its third-party attributions.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @herbertgao/pi-impeccable
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#365](https://github.com/HerbertGao/pi-extensions/pull/365) [`e29681d`](https://github.com/HerbertGao/pi-extensions/commit/e29681dc3de160f3710545f573a5c28bb1988ca3) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Vendor the official Impeccable 4.8.2 Pi skill. The launcher pins engine 0.1.21 and skips a sibling binary from another engine version. The local Go staged-removal fix is kept: a connected live selection is not detached, so Undo and Discard can restore it.
|
|
8
|
+
|
|
3
9
|
## 0.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @herbertgao/pi-impeccable
|
|
2
2
|
|
|
3
|
-
The [Impeccable](https://github.com/pbakaus/impeccable) design skill for [Pi](https://pi.dev/), vendored from the official `skill-v4.8.
|
|
3
|
+
The [Impeccable](https://github.com/pbakaus/impeccable) design skill for [Pi](https://pi.dev/), vendored from the official `skill-v4.8.2` release. It provides design steering, critique, audit, and deterministic anti-pattern detection without an installer, background service, or global skill directory.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -27,7 +27,7 @@ Upstream `pin` and `unpin` only discover skill installations in project harness
|
|
|
27
27
|
|
|
28
28
|
## Updates and provenance
|
|
29
29
|
|
|
30
|
-
This package vendors the official Pi payload: 58 files from commit [`
|
|
30
|
+
This package vendors the official Pi payload: 58 files from commit [`035c8f319edd019936525a062fe99e83ca8d12c6`](https://github.com/pbakaus/impeccable/commit/035c8f319edd019936525a062fe99e83ca8d12c6). `scripts/live-browser.js` has one local fix on top of that commit: Go still cleans edit markers on the live selection, but it no longer detaches a staged removal, so Undo and Discard can restore the hidden node. The review cursor stays at that commit. Updates are reviewed and released through this repository rather than the upstream auto-updater.
|
|
31
31
|
|
|
32
32
|
## License
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herbertgao/pi-impeccable",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The Impeccable design skill for Pi, vendored from the official release.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"x-upstream": {
|
|
48
48
|
"package": "impeccable",
|
|
49
|
-
"version": "4.8.
|
|
50
|
-
"reviewedVersion": "4.8.
|
|
49
|
+
"version": "4.8.2",
|
|
50
|
+
"reviewedVersion": "4.8.2",
|
|
51
51
|
"repository": "https://github.com/pbakaus/impeccable",
|
|
52
|
-
"commit": "
|
|
52
|
+
"commit": "035c8f319edd019936525a062fe99e83ca8d12c6"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: impeccable
|
|
3
3
|
description: "Use when the user wants to design, redesign, shape, critique, audit, polish, simplify, harden, animate, or otherwise improve a frontend interface: websites, landing pages, dashboards, product UI, components, forms, settings, onboarding, empty states, and native iOS or Android screens. Handles UX review, hierarchy, layout, typography, color, motion, UX copy, accessibility, responsive behavior, edge cases, and capturing or documenting design systems (DESIGN.md, tokens). Also for making bland UI bolder, loud UI quieter, or ambitious visual effects. Not for backend-only or non-UI tasks."
|
|
4
|
-
version: 4.8.
|
|
4
|
+
version: 4.8.2
|
|
5
5
|
license: Apache 2.0
|
|
6
6
|
allowed-tools:
|
|
7
7
|
- Bash(npx impeccable *)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.21
|
package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
# The launchers, the npm shim, `impeccable install` and scripts/fetch-engine.mjs verify
|
|
3
3
|
# every engine download against this file. Written by
|
|
4
4
|
# `node scripts/check-engine-release.mjs --record` after each engine release.
|
|
5
|
-
0.1.
|
|
6
|
-
0.1.
|
|
7
|
-
0.1.
|
|
8
|
-
0.1.
|
|
9
|
-
0.1.
|
|
5
|
+
0.1.21 impeccable-darwin-arm64 086fd22e54c445a0e792f66d2f168e35ec93f7c59054e1fde539d0d95b01ce41
|
|
6
|
+
0.1.21 impeccable-darwin-x64 bbcd4307b4dd7e0c8a3a264b880b5d73ae1971cc1d219677b6f7e044b9f05eb7
|
|
7
|
+
0.1.21 impeccable-linux-x64 579a0b6ff639ed28812ae632c556b6524a5b7d13fff4227cd3095a65554415b6
|
|
8
|
+
0.1.21 impeccable-linux-arm64 e2cda6ac3eefb1cdd51d147f6e897a19c773fe7bbfbdbd1361eef744d4137080
|
|
9
|
+
0.1.21 impeccable-windows-x64.exe 4cb1d921315e51ace39af5abbfd2e1be3c8624fcfc5074539f43ba894777fece
|
|
@@ -8730,17 +8730,15 @@
|
|
|
8730
8730
|
const urlRe = /url\((['"]?)(https?:\/\/[^'")\s]+)\1\)/g;
|
|
8731
8731
|
const urls = new Set();
|
|
8732
8732
|
let m;
|
|
8733
|
-
while ((m = urlRe.exec(cssText)))
|
|
8734
|
-
if (FONT_EXT_RE.test(m[2])) urls.add(m[2]);
|
|
8735
|
-
}
|
|
8733
|
+
while ((m = urlRe.exec(cssText))) urls.add(m[2]);
|
|
8736
8734
|
const map = new Map();
|
|
8737
8735
|
await Promise.all([...urls].map(async (url) => {
|
|
8738
8736
|
try {
|
|
8739
8737
|
const res = await fetch(url);
|
|
8740
8738
|
if (!res.ok) return;
|
|
8741
8739
|
const buf = await res.arrayBuffer();
|
|
8742
|
-
const ext = url.toLowerCase().match(FONT_EXT_RE)?.[1]
|
|
8743
|
-
const mime = FONT_MIME[ext] || 'application/octet-stream';
|
|
8740
|
+
const ext = url.toLowerCase().match(FONT_EXT_RE)?.[1];
|
|
8741
|
+
const mime = FONT_MIME[ext] || res.headers.get('content-type')?.split(';')[0].trim() || 'application/octet-stream';
|
|
8744
8742
|
map.set(url, 'data:' + mime + ';base64,' + bufferToBase64(buf));
|
|
8745
8743
|
} catch { /* skip; fall through to URL */ }
|
|
8746
8744
|
}));
|
|
@@ -8749,27 +8747,42 @@
|
|
|
8749
8747
|
return data ? 'url(' + q + data + q + ')' : orig;
|
|
8750
8748
|
});
|
|
8751
8749
|
}
|
|
8750
|
+
// Walks a stylesheet or grouping rule in cascade order. The result is embedded
|
|
8751
|
+
// without its conditional wrappers, so faces behind a false @media or @supports stay out.
|
|
8752
|
+
async function collectFontFaces(source, base, chunks) {
|
|
8753
|
+
let rules;
|
|
8754
|
+
try {
|
|
8755
|
+
rules = source.cssRules;
|
|
8756
|
+
} catch {
|
|
8757
|
+
if (!source.href) return;
|
|
8758
|
+
try {
|
|
8759
|
+
const res = await fetch(source.href);
|
|
8760
|
+
if (!res.ok) return;
|
|
8761
|
+
const parsed = new CSSStyleSheet();
|
|
8762
|
+
parsed.replaceSync(await res.text());
|
|
8763
|
+
// res.url is the base the browser used if the sheet redirected.
|
|
8764
|
+
await collectFontFaces(parsed, res.url || source.href, chunks);
|
|
8765
|
+
} catch { /* ignore; capture is best-effort */ }
|
|
8766
|
+
return;
|
|
8767
|
+
}
|
|
8768
|
+
for (const rule of rules) {
|
|
8769
|
+
if (rule.constructor.name === 'CSSFontFaceRule' || rule.cssText?.startsWith('@font-face')) {
|
|
8770
|
+
chunks.push(absolutizeUrls(rule.cssText, base));
|
|
8771
|
+
} else if (rule.media && !window.matchMedia(rule.media.mediaText).matches) {
|
|
8772
|
+
continue;
|
|
8773
|
+
} else if (rule.constructor.name === 'CSSSupportsRule' && !CSS.supports(rule.conditionText)) {
|
|
8774
|
+
continue;
|
|
8775
|
+
} else if (rule.styleSheet) {
|
|
8776
|
+
await collectFontFaces(rule.styleSheet, rule.styleSheet.href, chunks);
|
|
8777
|
+
} else if (rule.cssRules) {
|
|
8778
|
+
await collectFontFaces(rule, base, chunks);
|
|
8779
|
+
}
|
|
8780
|
+
}
|
|
8781
|
+
}
|
|
8752
8782
|
async function collectFontCssText() {
|
|
8753
8783
|
const chunks = [];
|
|
8754
|
-
const fontFaceRe = /@font-face\s*\{[^}]*\}/g;
|
|
8755
8784
|
for (const sheet of document.styleSheets) {
|
|
8756
|
-
|
|
8757
|
-
const rules = sheet.cssRules;
|
|
8758
|
-
for (const rule of rules) {
|
|
8759
|
-
if (rule.constructor.name === 'CSSFontFaceRule' || rule.cssText?.startsWith('@font-face')) {
|
|
8760
|
-
chunks.push(absolutizeUrls(rule.cssText, sheet.href || document.baseURI));
|
|
8761
|
-
}
|
|
8762
|
-
}
|
|
8763
|
-
} catch {
|
|
8764
|
-
if (!sheet.href) continue;
|
|
8765
|
-
try {
|
|
8766
|
-
const res = await fetch(sheet.href);
|
|
8767
|
-
if (!res.ok) continue;
|
|
8768
|
-
const text = await res.text();
|
|
8769
|
-
let m2;
|
|
8770
|
-
while ((m2 = fontFaceRe.exec(text))) chunks.push(absolutizeUrls(m2[0], sheet.href));
|
|
8771
|
-
} catch { /* ignore; capture is best-effort */ }
|
|
8772
|
-
}
|
|
8785
|
+
await collectFontFaces(sheet, sheet.href || document.baseURI, chunks);
|
|
8773
8786
|
}
|
|
8774
8787
|
if (chunks.length === 0) return '';
|
|
8775
8788
|
return inlineFontUrls(chunks.join('\n'));
|
|
@@ -9486,8 +9499,8 @@ void main() {
|
|
|
9486
9499
|
// (all other variants are display:none). HMR from the source rewrite will
|
|
9487
9500
|
// replace the wrapper imminently. Don't eagerly replaceChild here - React
|
|
9488
9501
|
// reconciliation races with our mutation and throws NotFoundError in Next
|
|
9489
|
-
// 16 / Turbopack.
|
|
9490
|
-
//
|
|
9502
|
+
// 16 / Turbopack. A page without HMR commits in scheduleAcceptCleanup;
|
|
9503
|
+
// framework pages get a deferred fallback in case HMR misses the update.
|
|
9491
9504
|
const acceptedSessionId = currentSessionId;
|
|
9492
9505
|
const acceptedVariant = visibleVariant;
|
|
9493
9506
|
const acceptedIsSvelteComponent = svelteComponentSession?.sessionId === acceptedSessionId
|
|
@@ -9500,6 +9513,7 @@ void main() {
|
|
|
9500
9513
|
id: acceptedSessionId,
|
|
9501
9514
|
variant: String(acceptedVariant),
|
|
9502
9515
|
isSvelteComponent: acceptedIsSvelteComponent,
|
|
9516
|
+
paramValues: { ...paramsCurrentValues },
|
|
9503
9517
|
...acceptedSnapshot,
|
|
9504
9518
|
finalizing: false,
|
|
9505
9519
|
};
|
|
@@ -9556,6 +9570,12 @@ void main() {
|
|
|
9556
9570
|
// Pick → Go loop while carbonize finishes in the background.
|
|
9557
9571
|
if (accepted?.isSvelteComponent) {
|
|
9558
9572
|
commitAcceptedSvelteComponentToDom(accepted.id);
|
|
9573
|
+
} else {
|
|
9574
|
+
// A page with no HMR never swaps the wrapper, and the variant-state
|
|
9575
|
+
// stylesheet goes away below, so commit now or the original and the
|
|
9576
|
+
// other variants show.
|
|
9577
|
+
const wrapper = findVariantsWrapper(accepted.id);
|
|
9578
|
+
if (wrapper && !hasFrameworkHmrOwnership(wrapper)) commitAcceptedVariantToDom(wrapper, accepted);
|
|
9559
9579
|
}
|
|
9560
9580
|
cleanupAcceptedSession();
|
|
9561
9581
|
});
|
|
@@ -9606,7 +9626,6 @@ void main() {
|
|
|
9606
9626
|
if (deferredRecoverySuperseded(pending?.id, recoveryRevision)) return;
|
|
9607
9627
|
if (acceptedDomAlreadyClean(pending)) return;
|
|
9608
9628
|
const sessionId = pending?.id;
|
|
9609
|
-
const variantId = pending?.variant;
|
|
9610
9629
|
const wrappers = findAcceptedRuntimeWrappers(sessionId);
|
|
9611
9630
|
if (hasFrameworkHmrOwnership(wrappers[0] || pending?.parentElement)) {
|
|
9612
9631
|
// Vite can coalesce rapid scaffold/carbonize writes and leave the last
|
|
@@ -9624,18 +9643,7 @@ void main() {
|
|
|
9624
9643
|
return;
|
|
9625
9644
|
}
|
|
9626
9645
|
for (const wrapper of wrappers) {
|
|
9627
|
-
if (
|
|
9628
|
-
const accepted = wrapper.querySelector?.('[data-impeccable-variant="' + variantId + '"]');
|
|
9629
|
-
if (!accepted) {
|
|
9630
|
-
wrapper.remove();
|
|
9631
|
-
continue;
|
|
9632
|
-
}
|
|
9633
|
-
const parent = wrapper.parentElement;
|
|
9634
|
-
if (!parent) continue;
|
|
9635
|
-
while (accepted.firstChild) {
|
|
9636
|
-
parent.insertBefore(accepted.firstChild, wrapper);
|
|
9637
|
-
}
|
|
9638
|
-
wrapper.remove();
|
|
9646
|
+
if (wrapper?.isConnected) commitAcceptedVariantToDom(wrapper, pending);
|
|
9639
9647
|
}
|
|
9640
9648
|
if (!acceptedDomAlreadyClean(pending)) restoreAcceptedDomFromSnapshot(pending, recoveryRevision);
|
|
9641
9649
|
}
|
|
@@ -9701,26 +9709,33 @@ void main() {
|
|
|
9701
9709
|
setLiveState('PICKING');
|
|
9702
9710
|
}
|
|
9703
9711
|
|
|
9704
|
-
function
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
const parent = wrapper.parentElement;
|
|
9710
|
-
if (!parent) return false;
|
|
9712
|
+
function scopeAcceptedCss(css, pending) {
|
|
9713
|
+
return css.replace(/\[\s*data-impeccable-variant\s*=\s*(["']?)([^"'\]\s]+)\1\s*(?:[is]\s*)?\]/gi, (_, __, variant) => (
|
|
9714
|
+
'[data-impeccable-accepted="' + pending.id + (variant === pending.variant ? '' : ':' + variant) + '"]'
|
|
9715
|
+
));
|
|
9716
|
+
}
|
|
9711
9717
|
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9718
|
+
// Keeps the accepted look until reload: the style, then a display: contents
|
|
9719
|
+
// shell carrying the tuned --p-* values. Variant numbers repeat across
|
|
9720
|
+
// sessions, so the shell and its rules move to a per-session attribute that
|
|
9721
|
+
// a later session's variants and CSS cannot match.
|
|
9722
|
+
function commitAcceptedVariantToDom(wrapper, pending) {
|
|
9723
|
+
const parent = wrapper.parentElement;
|
|
9724
|
+
if (!parent) return;
|
|
9725
|
+
const accepted = wrapper.querySelector('[data-impeccable-variant="' + pending.variant + '"]');
|
|
9726
|
+
if (accepted) {
|
|
9727
|
+
const style = wrapper.querySelector('style[data-impeccable-css]');
|
|
9728
|
+
if (style) {
|
|
9729
|
+
style.textContent = scopeAcceptedCss(style.textContent, pending);
|
|
9730
|
+
parent.insertBefore(style, wrapper);
|
|
9731
|
+
}
|
|
9732
|
+
accepted.removeAttribute('data-impeccable-variant');
|
|
9733
|
+
accepted.setAttribute('data-impeccable-accepted', pending.id);
|
|
9734
|
+
accepted.style.display = 'contents';
|
|
9735
|
+
accepted.style.cssText += variantParamDecls(pending.paramValues);
|
|
9736
|
+
parent.insertBefore(accepted, wrapper);
|
|
9717
9737
|
}
|
|
9718
|
-
|
|
9719
|
-
const committed = accepted.cloneNode(true);
|
|
9720
|
-
committed.removeAttribute('hidden');
|
|
9721
|
-
committed.style.display = 'contents';
|
|
9722
|
-
parent.replaceChild(committed, wrapper);
|
|
9723
|
-
return true;
|
|
9738
|
+
wrapper.remove();
|
|
9724
9739
|
}
|
|
9725
9740
|
|
|
9726
9741
|
function handleDiscard() {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.23.2-local.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#368](https://github.com/HerbertGao/pi-extensions/pull/368) [`6a7741f`](https://github.com/HerbertGao/pi-extensions/commit/6a7741f944d09ac27bae47165a4c534086b6679e) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Resolve the conversation viewer's jump-to-latest and scroll-to-top keys through the user's `tui.altScreen` bindings. The away-from-latest divider names that jump key, and Home and End still work as aliases.
|
|
8
|
+
|
|
3
9
|
## 0.23.1-local.1
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -165,7 +165,7 @@ In pi's `/settings → TUI mode → fullscreen`, the observer supports:
|
|
|
165
165
|
- pi's `/settings → Fullscreen scrollbar` preference applies to the observer: `auto` appears on scrolling or hovering and hides after one second of inactivity; `always` reserves a column and stays visible even when the conversation fits; `hidden` removes the rail and its mouse target. The observer reads the main session's settings when opened, without changing them.
|
|
166
166
|
- Clickable footer controls for steering, stopping, Markdown mode, and closing. Stopping still takes two presses, as with `x`.
|
|
167
167
|
- Keyboard navigation and steering as before. Mouse scrolling also works while composing a steering message.
|
|
168
|
-
- The bottom divider stays pinned above the footer (and steering composer when open). While scrolled away, a centered `[ ↓ N new messages · Ctrl+End ]` indicator within the divider counts new conversation messages, not streaming updates. Before any arrive, it reads `[ ↓ Jump to latest message · Ctrl+End ]`. Click it or press
|
|
168
|
+
- The bottom divider stays pinned above the footer (and steering composer when open). While scrolled away, a centered `[ ↓ N new messages · Ctrl+End ]` indicator within the divider counts new conversation messages, not streaming updates. Before any arrive, it reads `[ ↓ Jump to latest message · Ctrl+End ]`. Click it or press the jump-to-latest key to resume following and clear the count, without losing an open steering draft. The key is `tui.altScreen.bottom` (default `Ctrl+End`); the label reflects your binding, and `End` also works. Scroll-to-top follows `tui.altScreen.top` (default `Ctrl+Home`), with `Home` as an alias.
|
|
169
169
|
|
|
170
170
|
Observer mouse events are consumed, including at scroll limits, so they do not scroll, select, or click the main view underneath. Closing restores focus without editing the main prompt. The main conversation can still advance as its agent runs.
|
|
171
171
|
|
|
@@ -1119,7 +1119,7 @@ src/
|
|
|
1119
1119
|
agent-widget.ts # Persistent widget: spinners, activity, status icons, theming
|
|
1120
1120
|
fleet-list.ts # FleetView: navigable agent list below the editor
|
|
1121
1121
|
conversation-viewer.ts # Live conversation overlay for viewing agent sessions
|
|
1122
|
-
viewer-keys.ts # Viewer scroll and
|
|
1122
|
+
viewer-keys.ts # Viewer scroll, expand and jump keys, resolved through user keybindings
|
|
1123
1123
|
agent-mention.ts # `@` roster (running, resumable, and startable agents) + popup rows
|
|
1124
1124
|
schedule-menu.ts # /agents → Scheduled jobs submenu
|
|
1125
1125
|
select-item.ts # Collision-safe ctx.ui.select wrapper (numbered rows)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herbertgao/pi-subagents",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.2-local.1",
|
|
4
4
|
"description": "Claude Code-style autonomous subagents and workflow orchestration for Pi, with HerbertGao-maintained UI extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
},
|
|
70
70
|
"x-upstream": {
|
|
71
71
|
"package": "@tintinweb/pi-subagents",
|
|
72
|
-
"version": "0.23.
|
|
73
|
-
"reviewedVersion": "0.23.
|
|
72
|
+
"version": "0.23.2",
|
|
73
|
+
"reviewedVersion": "0.23.2",
|
|
74
74
|
"repository": "https://github.com/tintinweb/pi-subagents",
|
|
75
|
-
"commit": "
|
|
75
|
+
"commit": "a35acfb3b699e49f579f494473c38c87592f6c8e",
|
|
76
76
|
"trackVersion": true
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -361,8 +361,7 @@ export class ConversationViewer implements Component, Focusable {
|
|
|
361
361
|
if (this.closed) return
|
|
362
362
|
if (
|
|
363
363
|
this.fullscreen &&
|
|
364
|
-
(matchesKey(data, "
|
|
365
|
-
(!this.composer && matchesKey(data, "end")))
|
|
364
|
+
(this.keys.bottom(data) || (!this.composer && matchesKey(data, "end")))
|
|
366
365
|
) {
|
|
367
366
|
this.jumpToLatest()
|
|
368
367
|
return
|
|
@@ -459,7 +458,8 @@ export class ConversationViewer implements Component, Focusable {
|
|
|
459
458
|
else if (this.keys.pageUp(data)) this.scrollView.scrollBy(-viewportHeight)
|
|
460
459
|
else if (this.keys.pageDown(data))
|
|
461
460
|
this.scrollView.scrollBy(viewportHeight)
|
|
462
|
-
else if (matchesKey(data, "home"))
|
|
461
|
+
else if (this.keys.top(data) || matchesKey(data, "home"))
|
|
462
|
+
this.scrollView.scrollToStart()
|
|
463
463
|
return
|
|
464
464
|
}
|
|
465
465
|
const maxScroll = Math.max(0, totalLines - viewportHeight)
|
|
@@ -479,10 +479,10 @@ export class ConversationViewer implements Component, Focusable {
|
|
|
479
479
|
this.scrollOffset + viewportHeight,
|
|
480
480
|
)
|
|
481
481
|
this.autoScroll = this.scrollOffset >= maxScroll
|
|
482
|
-
} else if (matchesKey(data, "home")) {
|
|
482
|
+
} else if (this.keys.top(data) || matchesKey(data, "home")) {
|
|
483
483
|
this.scrollOffset = 0
|
|
484
484
|
this.autoScroll = false
|
|
485
|
-
} else if (matchesKey(data, "end")) {
|
|
485
|
+
} else if (this.keys.bottom(data) || matchesKey(data, "end")) {
|
|
486
486
|
this.scrollOffset = maxScroll
|
|
487
487
|
this.autoScroll = true
|
|
488
488
|
}
|
|
@@ -741,7 +741,11 @@ export class ConversationViewer implements Component, Focusable {
|
|
|
741
741
|
this.newMessages > 0
|
|
742
742
|
? `${this.newMessages} new message${this.newMessages === 1 ? "" : "s"}`
|
|
743
743
|
: "Jump to latest message"
|
|
744
|
-
const label = truncateToWidth(
|
|
744
|
+
const label = truncateToWidth(
|
|
745
|
+
`[ ↓ ${text} · ${this.keys.jumpToLatestLabel()} ]`,
|
|
746
|
+
innerW,
|
|
747
|
+
"…",
|
|
748
|
+
)
|
|
745
749
|
const labelWidth = visibleWidth(label)
|
|
746
750
|
const padding = Math.floor((innerW - labelWidth) / 2)
|
|
747
751
|
this.latestTarget = {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* viewer-keys.ts — Scroll key matchers for the conversation viewer.
|
|
2
|
+
* viewer-keys.ts — Scroll, expand and jump key matchers for the conversation viewer.
|
|
3
3
|
*
|
|
4
|
-
* Resolves `tui.select
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Resolves `tui.select.*`, `app.tools.expand` and the `tui.altScreen.top`/
|
|
5
|
+
* `tui.altScreen.bottom` jump keys through the user's keybindings when pi
|
|
6
|
+
* provides a manager, falling back to the previous hardcoded keys otherwise. The
|
|
7
|
+
* viewer's k/j, shift+arrow and home/end aliases always work alongside whatever
|
|
8
|
+
* is bound.
|
|
7
9
|
*/
|
|
8
10
|
|
|
9
11
|
import { type KeyId, matchesKey } from "@earendil-works/pi-tui"
|
|
@@ -15,10 +17,13 @@ export type ViewerKeybindingId =
|
|
|
15
17
|
| "tui.select.pageUp"
|
|
16
18
|
| "tui.select.pageDown"
|
|
17
19
|
| "app.tools.expand"
|
|
20
|
+
| "tui.altScreen.top"
|
|
21
|
+
| "tui.altScreen.bottom"
|
|
18
22
|
|
|
19
23
|
/** Structural subset of pi-tui's `KeybindingsManager` (which satisfies it). */
|
|
20
24
|
export interface ViewerKeybindings {
|
|
21
25
|
matches(data: string, keybinding: ViewerKeybindingId): boolean
|
|
26
|
+
getKeys(keybinding: ViewerKeybindingId): KeyId[]
|
|
22
27
|
}
|
|
23
28
|
|
|
24
29
|
export interface ViewerKeys {
|
|
@@ -28,6 +33,33 @@ export interface ViewerKeys {
|
|
|
28
33
|
pageDown(data: string): boolean
|
|
29
34
|
/** Unfold the output of the viewer's tool blocks, as in the main transcript. */
|
|
30
35
|
expand(data: string): boolean
|
|
36
|
+
/** Scroll to the start of the conversation (`tui.altScreen.top`). */
|
|
37
|
+
top(data: string): boolean
|
|
38
|
+
/** Jump to the latest message and resume following (`tui.altScreen.bottom`). */
|
|
39
|
+
bottom(data: string): boolean
|
|
40
|
+
/** Display label for the jump-to-latest key, e.g. `Ctrl+End`, for the divider. */
|
|
41
|
+
jumpToLatestLabel(): string
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* `ctrl+end` → `Ctrl+End`. The pure formatter pi uses (`formatKeyText`) lives in
|
|
46
|
+
* an unexported submodule, and the exported hint helpers resolve the extension's
|
|
47
|
+
* own package copy — whose global keybindings are empty — so they render without
|
|
48
|
+
* the key (pi #4748). Formatting the injected manager's own resolved keys here
|
|
49
|
+
* sidesteps both.
|
|
50
|
+
*/
|
|
51
|
+
function formatKeyLabel(key: KeyId): string {
|
|
52
|
+
return key
|
|
53
|
+
.split("+")
|
|
54
|
+
.map((part) => {
|
|
55
|
+
// `alt` reads as `option` on macOS, the way pi's own `formatKeyPart` renders it.
|
|
56
|
+
const display =
|
|
57
|
+
process.platform === "darwin" && part.toLowerCase() === "alt"
|
|
58
|
+
? "option"
|
|
59
|
+
: part
|
|
60
|
+
return display.charAt(0).toUpperCase() + display.slice(1)
|
|
61
|
+
})
|
|
62
|
+
.join("+")
|
|
31
63
|
}
|
|
32
64
|
|
|
33
65
|
export function createViewerKeys(keybindings?: ViewerKeybindings): ViewerKeys {
|
|
@@ -49,5 +81,16 @@ export function createViewerKeys(keybindings?: ViewerKeybindings): ViewerKeys {
|
|
|
49
81
|
matches(data, "tui.select.pageDown", "pageDown") ||
|
|
50
82
|
matchesKey(data, "shift+down"),
|
|
51
83
|
expand: (data) => matches(data, "app.tools.expand", "ctrl+o"),
|
|
84
|
+
// The configurable binding only; the home/end aliases stay at the call sites
|
|
85
|
+
// so the fullscreen "end only when not composing" rule is preserved.
|
|
86
|
+
top: (data) => matches(data, "tui.altScreen.top", "home"),
|
|
87
|
+
bottom: (data) => matches(data, "tui.altScreen.bottom", "ctrl+end"),
|
|
88
|
+
jumpToLatestLabel: () => {
|
|
89
|
+
const keys = keybindings
|
|
90
|
+
? keybindings.getKeys("tui.altScreen.bottom")
|
|
91
|
+
: (["ctrl+end"] as KeyId[])
|
|
92
|
+
// Unbound → the bare `end` alias is still live, so name it.
|
|
93
|
+
return keys.length > 0 ? formatKeyLabel(keys[0]) : "End"
|
|
94
|
+
},
|
|
52
95
|
}
|
|
53
96
|
}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @narumitw/pi-btw
|
|
2
2
|
|
|
3
|
+
## 0.63.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b2b91fa: Reduce main-thread tree picker allocations by joining raw text fragments only when copying and storing saved labels only when needed.
|
|
8
|
+
|
|
9
|
+
## 0.63.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- aca87cf: Fix call stack overflows when opening the main-thread tree picker for deep session histories.
|
|
14
|
+
|
|
3
15
|
## 0.63.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|