@herbertgao/pi-extensions 2026.11.5 → 2026.11.7
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 +17 -0
- package/README.md +7 -7
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +10 -0
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +5 -4
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +5 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/compact-thinking.ts +6 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/footer.ts +22 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/session-tokens.ts +3 -3
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +22 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/index.ts +5 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/ccstyle-tool.ts +38 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/codemode.ts +2 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-header.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-layout.ts +6 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-palette.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-presentation.ts +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/tool-io.ts +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-mode.ts +465 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-scope.ts +44 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark-hc.json +2 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark.json +3 -5
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light-hc.json +2 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light.json +3 -5
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +16 -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/reference/degraded/asset-producer.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/documenter.md +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/finish-reviewer.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/manual-edit-applier.md +3 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/hooks.md +13 -7
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/init.md +2 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/live.md +5 -3
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work.md +2 -2
- 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/impeccable +39 -22
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable.cmd +43 -15
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +426 -193
- 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 +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +182 -0
- package/node_modules/pi-lens/dist/{chunk-NE4EFHJX.js → chunk-2SD2CGVH.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7JX3RNG4.js → chunk-34RXPR7M.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2LVJQU3I.js → chunk-3C6ZZAB2.js} +33 -27
- package/node_modules/pi-lens/dist/{chunk-WAA63ZJV.js → chunk-3HZ6MNB2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-IDCTDKIA.js → chunk-3NVGBFJS.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-B2YUE6YD.js → chunk-3QCI3V6C.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/node_modules/pi-lens/dist/{chunk-7WJ55KBN.js → chunk-43KD3PPM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DVRJBQOJ.js → chunk-4HNBY7S7.js} +20 -19
- package/node_modules/pi-lens/dist/chunk-4WWPDMRA.js +22 -0
- package/node_modules/pi-lens/dist/{chunk-QL37SGTS.js → chunk-532X3OCZ.js} +18 -16
- package/node_modules/pi-lens/dist/{chunk-ZZDVGCGG.js → chunk-5RLEDUUE.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-GUGKKGG7.js → chunk-5YTDZ5WP.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-FOEPIX76.js → chunk-6EIV3H7O.js} +158 -61
- package/node_modules/pi-lens/dist/{chunk-E4VXKTBR.js → chunk-6K4X7IIF.js} +164 -172
- package/node_modules/pi-lens/dist/{chunk-HSYFLOZY.js → chunk-6RXMQYNU.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-K6WIBVMK.js → chunk-6XNVY3FW.js} +8 -9
- package/node_modules/pi-lens/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PTSA6QKL.js → chunk-A4HKPAEN.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-RQRKIRFY.js → chunk-AFNPNHJV.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-3FRI5H4T.js → chunk-AGEQRJ5A.js} +24 -10
- package/node_modules/pi-lens/dist/{chunk-MAD4QJTP.js → chunk-AJ62EQIQ.js} +15 -14
- package/node_modules/pi-lens/dist/{chunk-FCQSZQAT.js → chunk-AOQKQWZU.js} +14 -5
- package/node_modules/pi-lens/dist/{chunk-ZOPXB2KK.js → chunk-AVOUHMCS.js} +111 -107
- package/node_modules/pi-lens/dist/{chunk-OTSTS7L2.js → chunk-AYDE7RFV.js} +34 -3
- package/node_modules/pi-lens/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/node_modules/pi-lens/dist/{chunk-SKVNHCT5.js → chunk-B4K6OSLL.js} +49 -42
- package/node_modules/pi-lens/dist/{chunk-2ADRLTM2.js → chunk-BBJXIZ3X.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-BJDB7PXU.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-GTTMQ6XB.js → chunk-BLL4VYGZ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CZAWWXP6.js → chunk-BMMRLJA4.js} +7 -5
- package/node_modules/pi-lens/dist/{chunk-TN5CWX5D.js → chunk-BN36MQW5.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-IL6PIV33.js → chunk-C2REOMPO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XAFZJEXY.js → chunk-C4ICGFEO.js} +23 -23
- package/node_modules/pi-lens/dist/chunk-CIA7X2PZ.js +26 -0
- package/node_modules/pi-lens/dist/{chunk-SJQUWQR6.js → chunk-D5L7Q57Z.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XPGH5O74.js → chunk-DBAHJFBU.js} +31 -35
- package/node_modules/pi-lens/dist/{chunk-H65TYP6V.js → chunk-DNB4ZQGN.js} +37 -21
- package/node_modules/pi-lens/dist/chunk-DPDA3ILA.js +108 -0
- package/node_modules/pi-lens/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-KDCIG23C.js → chunk-E6Z3CJT2.js} +13 -9
- package/node_modules/pi-lens/dist/{chunk-V7F7JHS5.js → chunk-ECYUBKYX.js} +557 -551
- package/node_modules/pi-lens/dist/chunk-F37CCZUA.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-KSTQ4VXT.js → chunk-FVEEEEIM.js} +10 -13
- package/node_modules/pi-lens/dist/{chunk-GMC4ZGYR.js → chunk-GL6J5R34.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-C6AODRNU.js → chunk-GTNO6F6K.js} +11 -10
- package/node_modules/pi-lens/dist/{chunk-KJ3AHOCK.js → chunk-HASJPQBC.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-F6FT6BVQ.js → chunk-HIUVHRLM.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-BRESRQBE.js → chunk-HTUG7ZFK.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ALIZWXHZ.js → chunk-IBEYUBCM.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-JZQGRARR.js → chunk-IJ55MYO6.js} +15 -12
- package/node_modules/pi-lens/dist/{chunk-BGLS5SDN.js → chunk-IT7MFVGP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-AON2QIJF.js → chunk-ITAPXBIB.js} +20 -17
- package/node_modules/pi-lens/dist/{chunk-TLWFZ66Y.js → chunk-JSQK5DH3.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/node_modules/pi-lens/dist/{chunk-QUQY3IME.js → chunk-KBSC5Z3G.js} +9 -8
- package/node_modules/pi-lens/dist/{chunk-W4CUK5G6.js → chunk-KDGKKK7A.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YQA34KAF.js → chunk-KDMJ2DJD.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-SG2JQ2YP.js → chunk-KNP4ENFT.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-KX4DF6XX.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-4ITEFRDH.js → chunk-LHCDWFDB.js} +37 -145
- package/node_modules/pi-lens/dist/{chunk-3HM4BUHR.js → chunk-LHU6NG5Z.js} +16 -15
- package/node_modules/pi-lens/dist/{chunk-6I44EDNQ.js → chunk-LIDFFCZZ.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-KFRDFAOE.js → chunk-LPM6NKVI.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-NBM7PNBP.js → chunk-LXE7JAMV.js} +37 -26
- package/node_modules/pi-lens/dist/{chunk-UY745U35.js → chunk-ME6MF2N2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YT2VR4SL.js → chunk-NLRKB32C.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-QHOTTC4A.js → chunk-NQFXN5U7.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QUPYLQA4.js → chunk-NR4KQOXZ.js} +14 -9
- package/node_modules/pi-lens/dist/{chunk-Y3EHLUPL.js → chunk-NWK7KKNO.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-A5TEJZGJ.js → chunk-O6LCSHHI.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CTB5BAJI.js → chunk-OC4ZGVMH.js} +17 -14
- package/node_modules/pi-lens/dist/{chunk-VPFRU5IG.js → chunk-OP5BMZKK.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-GVWIU7M7.js → chunk-PSUXESQ5.js} +41 -4
- package/node_modules/pi-lens/dist/{chunk-J6BR5XN2.js → chunk-QAM2Q3VO.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-6MDM5MQT.js → chunk-QBUSONNE.js} +367 -153
- package/node_modules/pi-lens/dist/{chunk-VGTBLTPN.js → chunk-QDZ3ZZMY.js} +18 -66
- package/node_modules/pi-lens/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DOUAWKLO.js → chunk-QUZYRDT6.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-UNBRHPHJ.js → chunk-R2UF54ON.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-I32RSMH6.js → chunk-R2VUZZPJ.js} +11 -10
- package/node_modules/pi-lens/dist/chunk-R5BNSOIV.js +29 -0
- package/node_modules/pi-lens/dist/chunk-RV5VX2XW.js +29 -0
- package/node_modules/pi-lens/dist/{chunk-QWTHFFU6.js → chunk-SQBDX6IO.js} +12 -12
- 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-QMV2APEH.js → chunk-TBE4OLPA.js} +37 -35
- package/node_modules/pi-lens/dist/{chunk-B6HXETWY.js → chunk-TPMBNWHO.js} +28 -26
- package/node_modules/pi-lens/dist/{chunk-CYUJB552.js → chunk-TRYOYWWU.js} +18 -12
- package/node_modules/pi-lens/dist/{chunk-TJQSYX3J.js → chunk-TTGDTNSN.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-S3WFVG5P.js → chunk-UELHWF5I.js} +137 -126
- package/node_modules/pi-lens/dist/chunk-UG4YLCJ5.js +58 -0
- package/node_modules/pi-lens/dist/chunk-UQ6OZYTO.js +91 -0
- package/node_modules/pi-lens/dist/{chunk-QSCZAP24.js → chunk-UY3WWW5R.js} +4 -4
- package/node_modules/pi-lens/dist/chunk-V7IPIAE5.js +74 -0
- package/node_modules/pi-lens/dist/{chunk-4NCDHTFI.js → chunk-VDMF7Q2P.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-TYHOEX4V.js → chunk-VI3BJMZO.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-UOO4D2TK.js → chunk-VTXJAO5R.js} +34 -35
- package/node_modules/pi-lens/dist/chunk-W6VLB6LL.js +145 -0
- package/node_modules/pi-lens/dist/{chunk-NPNFGYLV.js → chunk-WBXCIRVI.js} +19 -2
- package/node_modules/pi-lens/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/node_modules/pi-lens/dist/{chunk-Q2VCKC3X.js → chunk-WMCAEP2K.js} +11 -8
- package/node_modules/pi-lens/dist/{chunk-OPFNQBS5.js → chunk-WXMUGUZV.js} +21 -25
- package/node_modules/pi-lens/dist/{chunk-46TQJSUE.js → chunk-X33QECRJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-HILZE4BQ.js → chunk-YUF4DRYB.js} +396 -306
- package/node_modules/pi-lens/dist/{chunk-YF4G5NN5.js → chunk-YVPB5YGO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/node_modules/pi-lens/dist/index.js +5573 -4181
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +17 -11
- package/node_modules/pi-lens/dist/mcp/cli.js +43 -42
- package/node_modules/pi-lens/dist/mcp/server.js +1521 -610
- package/node_modules/pi-lens/dist/mcp/worker.js +62 -59
- 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 +4 -2
- 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 +21 -3
- 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/invariants/dispatch-runners.md +13 -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/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/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 +7 -7
- package/node_modules/pi-lens/dist/chunk-3QWVOBZJ.js +0 -73
- package/node_modules/pi-lens/dist/chunk-BDR5MEZY.js +0 -25
- 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-ZPFLHB3R.js +0 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @herbertgao/pi-extensions
|
|
2
2
|
|
|
3
|
+
## 2026.11.7
|
|
4
|
+
|
|
5
|
+
### Patch 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)! - 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.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`e29681d`](https://github.com/HerbertGao/pi-extensions/commit/e29681dc3de160f3710545f573a5c28bb1988ca3)]:
|
|
10
|
+
- @herbertgao/pi-impeccable@0.3.0
|
|
11
|
+
|
|
12
|
+
## 2026.11.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`47bf3d5`](https://github.com/HerbertGao/pi-extensions/commit/47bf3d5c5d482a4fcb1e60a994455a4fc6bbe5e4), [`47bf3d5`](https://github.com/HerbertGao/pi-extensions/commit/47bf3d5c5d482a4fcb1e60a994455a4fc6bbe5e4), [`47bf3d5`](https://github.com/HerbertGao/pi-extensions/commit/47bf3d5c5d482a4fcb1e60a994455a4fc6bbe5e4), [`47bf3d5`](https://github.com/HerbertGao/pi-extensions/commit/47bf3d5c5d482a4fcb1e60a994455a4fc6bbe5e4)]:
|
|
17
|
+
- @herbertgao/pi-impeccable@0.2.0
|
|
18
|
+
- @herbertgao/pi-cc-extensions@1.1.0
|
|
19
|
+
|
|
3
20
|
## 2026.11.5
|
|
4
21
|
|
|
5
22
|
### 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
28
|
- `@narumitw/pi-btw@0.63.5`
|
|
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,18 +36,18 @@ 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.11`
|
|
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.
|
|
43
43
|
|
|
44
|
-
The locally customized CC package follows upstream `pi-cc-extensions@1.0.
|
|
44
|
+
The locally customized CC package follows upstream `pi-cc-extensions@1.0.16`; SoL-Pi follows its complete main baseline `e1a586af` with Pi 1.x/codemode compatibility updates through `21956803`. Local behavior not already covered upstream is retained. SoL-Pi's `update_plan` now follows upstream's model-only contract: invoke it directly, not inside codemode scripts. Action Fusion and ccstyle write rich diffs coexist without disabling either feature. All four SoL-Pi features remain opt-in; its new non-persistent-session evidence archives remain on disk for consumers and require host or caller cleanup.
|
|
45
45
|
|
|
46
46
|
Antigravity `0.12.0` enriches search citations by visiting source sites by default (`ANTIGRAVITY_NO_SOURCE_ENRICH=1` disables enrichment). `ANTIGRAVITY_DEFER_TOOLS=1` registers `google_search` and `generate_image` as deferred tools; the default stays direct. A refreshed catalog does not restore a model the current catalog omitted, and an image save rejects a symlink destination. It refreshes a curated model catalog and upgrades the existing model cache; previously listed model IDs may disappear. Ask `2.15.0` lets other extensions in the same process answer or cancel TUI questionnaires through its event channel, without sender authentication. Its notes shortcut defaults to `n` and can be a single non-Latin character; reserved navigation keys stay on `n`. Web Access `0.45.0` keeps direct tool exposure and `toolActivation: auto` by default. Linkup, DeepSeek search and fetch, provider gateways, `toolActivation: "none"`, deferred exposure, GCE ADC, field extraction, 9router, and plain HTTP gateway URLs require explicit configuration. Web Access `0.47.0` adds Sofya and Outcrawl as explicit-only search providers. `lockProxy: true` rejects a tool-call proxy that differs from the configured proxy, including a direct connection. A GitHub repository README is returned up to 100K characters, and a clone with no `githubClone.clonePath` goes under the OS temp directory.
|
|
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
|
|
|
@@ -63,7 +63,7 @@ Impeccable `4.8.0` is vendored as `@herbertgao/pi-impeccable` and loaded with `/
|
|
|
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.11` 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. 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,15 @@
|
|
|
1
1
|
# @herbertgao/pi-cc-extensions
|
|
2
2
|
|
|
3
|
+
## 1.0.16-local.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#362](https://github.com/HerbertGao/pi-extensions/pull/362) [`47bf3d5`](https://github.com/HerbertGao/pi-extensions/commit/47bf3d5c5d482a4fcb1e60a994455a4fc6bbe5e4) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Replay upstream pi-cc-extensions 1.0.16. Ctrl+O opens a fullscreen transcript with tools expanded and leaves the live transcript unchanged. The session token chip follows the Nerd Font switch, compact summaries wait until a declared tool is mounted, and diff colors follow success and error. Regular mode still does not enable terminal mouse reporting.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#362](https://github.com/HerbertGao/pi-extensions/pull/362) [`47bf3d5`](https://github.com/HerbertGao/pi-extensions/commit/47bf3d5c5d482a4fcb1e60a994455a4fc6bbe5e4) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Keep a shell tool's elapsed time when Ctrl+O opens the fullscreen transcript.
|
|
12
|
+
|
|
3
13
|
## 1.0.15-local.1
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -32,8 +32,9 @@ Run `/reload` after installation.
|
|
|
32
32
|
| Fullscreen mode | Tool card/group expand and collapse on click, previews, hover highlight, and a back-to-bottom button | `TUIMODE=fullscreen` or `--tui-mode fullscreen` |
|
|
33
33
|
| Settings panel | `Style / Features / UI / Diff / Thinking / Footer` tabs | `/ccstyle` |
|
|
34
34
|
| Context inspection | Usage breakdown and previews for the system prompt, memory, skills, tools definition, and messages | `/context` |
|
|
35
|
+
| Transcript browsing | Full-screen transcript browsing with every tool output expanded | `Ctrl+O` |
|
|
35
36
|
| Session/Subagent references | Search and inject effective context from previous Sessions or existing SubAgents | `@` |
|
|
36
|
-
| Status bar | Shows model, context, cache, cost, the conversation token total, and git; also works with `@narumitw/pi-usage` for live quota. Git/cache Nerd Font icons can be turned off | `/ccstyle` |
|
|
37
|
+
| Status bar | Shows model, context, cache, cost, the conversation token total, and git; also works with `@narumitw/pi-usage` for live quota. Git/cache/token Nerd Font icons can be turned off | `/ccstyle` |
|
|
37
38
|
| Theme | Bundled themes: CC Dark, CC Light, CC Dark HC, CC Light HC | `/settings` → Theme |
|
|
38
39
|
|
|
39
40
|
Renderer snapshots for `on` / `compact` modes: [default](./docs/tool-render-examples-default.md) · [compact](./docs/tool-render-examples-compact.md)
|
|
@@ -86,10 +87,10 @@ Renderer snapshots for `on` / `compact` modes: [default](./docs/tool-render-exam
|
|
|
86
87
|
"footerTokenRate": true, // output rate chip; false hides it
|
|
87
88
|
"footerTokenRateMode": "average", // average: whole-prompt avg; live: trailing 1s rate
|
|
88
89
|
"footerTokenRateTtft": true, // append TTFT to the rate chip; false shows tok/s only
|
|
89
|
-
"footerSessionTokens": false, // conversation token total chip (
|
|
90
|
+
"footerSessionTokens": false, // conversation token total chip (Nerd Font glyph, Σ in plain text); sums usage.totalTokens from session entries. Off by default
|
|
90
91
|
"footerCurrency": "USD", // display currency for the footer cost
|
|
91
92
|
"footerCurrencyRate": null, // display units per 1 cost unit; null changes the symbol only
|
|
92
|
-
"footerNerdIcons": true, // Nerd Font glyphs for git/cache; false = plain text
|
|
93
|
+
"footerNerdIcons": true, // Nerd Font glyphs for git/cache/tokens; false = plain text
|
|
93
94
|
"footerGitStatsMode": "working", // working (default): uncommitted; branch: cumulative net changes
|
|
94
95
|
"footerHiddenKeys": [], // hidden chip keys
|
|
95
96
|
"footerLine1Keys": ["model", "context", "cache", "rate", "cost", "tokens", "pi-usage"], // chip order per line; builtins and plugins share one layout
|
|
@@ -128,7 +129,7 @@ pi -e . # one run, does not edit settings.json
|
|
|
128
129
|
|
|
129
130
|
## Credits
|
|
130
131
|
|
|
131
|
-
- Based on [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.
|
|
132
|
+
- Based on [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.16 (MIT), upstream baseline [`5e3ef6b`](https://github.com/minuque/pi-cc-extensions/commit/5e3ef6b9f96d198f93ec242eac81ff21bebdb4e1), with this repository's configuration migration and compatibility patches retained.
|
|
132
133
|
- Rich diffs are adapted from [`MasuRii/pi-tool-display`](https://github.com/MasuRii/pi-tool-display) (MIT). See [`extensions/renderer/tool/diff/ATTRIBUTION.md`](./extensions/renderer/tool/diff/ATTRIBUTION.md).
|
|
133
134
|
|
|
134
135
|
## License
|
|
@@ -32,8 +32,9 @@ pi install git:github.com/HerbertGao/pi-extensions
|
|
|
32
32
|
| Fullscreen mode | 工具卡/group 单击展开与收起、预览、hover 高亮、回到底部按钮 | `TUIMODE=fullscreen` 或 `--tui-mode fullscreen` |
|
|
33
33
|
| 配置面板 | `Style / Features / UI / Diff / Thinking / Footer` 六页签 | `/ccstyle` |
|
|
34
34
|
| 上下文检查 | 查看上下文占用,并预览 System prompt、Memory、Skills、Tools definition 和消息内容 | `/context` |
|
|
35
|
+
| 会话记录浏览 | 全屏浏览完整会话记录,工具输出全展开 | `Ctrl+O` |
|
|
35
36
|
| Session/Subagent 引用 | 搜索并注入历史 Session 或现有 SubAgent 的有效上下文 | `@` |
|
|
36
|
-
| 状态栏 | 显示:模型、上下文、缓存、费用、本次对话累计 token、git并适配 @narumitw/pi-usage 实时显示额度;git
|
|
37
|
+
| 状态栏 | 显示:模型、上下文、缓存、费用、本次对话累计 token、git并适配 @narumitw/pi-usage 实时显示额度;git/缓存/token 图标可关 Nerd Font | `/ccstyle` |
|
|
37
38
|
| 主题 | 随包提供 4 个主题:CC Dark、CC Light、CC Dark HC、CC Light HC | `/settings` → Theme |
|
|
38
39
|
|
|
39
40
|
`on` / `compact` 两种模式的渲染样例:[默认模式](./docs/tool-render-examples-default.md) · [紧凑模式](./docs/tool-render-examples-compact.md)
|
|
@@ -86,10 +87,10 @@ pi install git:github.com/HerbertGao/pi-extensions
|
|
|
86
87
|
"footerTokenRate": true, // 输出速率芯片;false 隐藏
|
|
87
88
|
"footerTokenRateMode": "average", // average:整段指令平均(avg);live:最近 1 秒瞬时(live)
|
|
88
89
|
"footerTokenRateTtft": true, // 速率芯片是否带 TTFT;false 只显示 tok/s
|
|
89
|
-
"footerSessionTokens": false, // 本次对话累计 token
|
|
90
|
+
"footerSessionTokens": false, // 本次对话累计 token 芯片(Nerd Font 图标,纯文本为 Σ);累加会话条目的 usage.totalTokens,默认关
|
|
90
91
|
"footerCurrency": "USD", // 底栏费用的显示币种
|
|
91
92
|
"footerCurrencyRate": null, // 1 单位费用换成多少显示币种;null 只换符号、不乘倍率
|
|
92
|
-
"footerNerdIcons": true, // git
|
|
93
|
+
"footerNerdIcons": true, // git/缓存/token 用 Nerd Font 图标;false 为纯文本
|
|
93
94
|
"footerGitStatsMode": "working", // working(默认):未提交改动;branch:分支累计净改动
|
|
94
95
|
"footerHiddenKeys": [], // 隐藏的芯片 key
|
|
95
96
|
"footerLine1Keys": ["model", "context", "cache", "rate", "cost", "tokens", "pi-usage"], // 每行芯片顺序;内置项与插件同一套排布
|
|
@@ -128,7 +129,7 @@ pi -e . # 只跑一次,不改 settings.json
|
|
|
128
129
|
|
|
129
130
|
## 致谢
|
|
130
131
|
|
|
131
|
-
- 基于 [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.
|
|
132
|
+
- 基于 [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.16(MIT),上游基线 [`5e3ef6b`](https://github.com/minuque/pi-cc-extensions/commit/5e3ef6b9f96d198f93ec242eac81ff21bebdb4e1);保留本仓库的配置迁移与兼容性补丁。
|
|
132
133
|
- Rich diff 改编自 [`MasuRii/pi-tool-display`](https://github.com/MasuRii/pi-tool-display)(MIT);详见 [`extensions/renderer/tool/diff/ATTRIBUTION.md`](./extensions/renderer/tool/diff/ATTRIBUTION.md)。
|
|
133
134
|
|
|
134
135
|
## 许可证
|
|
@@ -760,8 +760,8 @@ export async function showCcstylePanel(
|
|
|
760
760
|
id: "footerNerdIcons",
|
|
761
761
|
label: "Nerd Font icons",
|
|
762
762
|
description: config.footerNerdIcons
|
|
763
|
-
? "Git and
|
|
764
|
-
: "Git and
|
|
763
|
+
? "Git, cache and token chips use Nerd Font glyphs. Turn off for plain text."
|
|
764
|
+
: "Git, cache and token chips use plain text. No Nerd Font required.",
|
|
765
765
|
currentValue: config.footerNerdIcons ? "on" : "off",
|
|
766
766
|
values: ["on", "off"],
|
|
767
767
|
};
|
|
@@ -938,8 +938,8 @@ export async function showCcstylePanel(
|
|
|
938
938
|
updateConfig({ footerNerdIcons: enabled });
|
|
939
939
|
footerNerdIconsSetting.currentValue = enabled ? "on" : "off";
|
|
940
940
|
footerNerdIconsSetting.description = enabled
|
|
941
|
-
? "Git and
|
|
942
|
-
: "Git and
|
|
941
|
+
? "Git, cache and token chips use Nerd Font glyphs. Turn off for plain text."
|
|
942
|
+
: "Git, cache and token chips use plain text. No Nerd Font required.";
|
|
943
943
|
ctx.ui.notify(`Updated ${id}: ${value}`, "info");
|
|
944
944
|
return;
|
|
945
945
|
}
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
styleCompactThinkingText,
|
|
27
27
|
} from "../renderer/compact-mode.ts";
|
|
28
28
|
import { refreshMountedTranscript } from "../renderer/transcript-refresh.ts";
|
|
29
|
+
import { isTranscriptComponent } from "../renderer/transcript-scope.ts";
|
|
29
30
|
import {
|
|
30
31
|
COMPACT_THINKING_OWNER,
|
|
31
32
|
COMPACT_THINKING_PATCH_KEY,
|
|
@@ -645,6 +646,11 @@ function compactThinking(pi: ExtensionAPI) {
|
|
|
645
646
|
message: AssistantMessage,
|
|
646
647
|
isStreaming?: boolean,
|
|
647
648
|
) {
|
|
649
|
+
// 浏览层副本:不改写思考块,也不当作最新消息跟踪。
|
|
650
|
+
if (isTranscriptComponent(this)) {
|
|
651
|
+
originalUpdateContent.call(this, message, isStreaming);
|
|
652
|
+
return;
|
|
653
|
+
}
|
|
648
654
|
const component = this as AssistantMessageComponentLike;
|
|
649
655
|
const self = this as unknown as AssistantInternals;
|
|
650
656
|
// isStreaming 丢失 → mermaid 流式误渲染来回闪。
|
|
@@ -59,10 +59,26 @@ export const FOOTER_NERD_ICON_CACHE = "";
|
|
|
59
59
|
// md power-plug:MCP 服务器连接数
|
|
60
60
|
export const FOOTER_NERD_ICON_MCP = "\u{f06a5}";
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
// md sigma:会话累计 token。与缓存、MCP 同属 md 图标,字高一致。
|
|
63
|
+
export const FOOTER_NERD_ICON_TOKENS = "\u{f04a0}";
|
|
64
|
+
// 纯文本用希腊字母 Σ:数学求和号 ∑ 在多数字体里比数字高,排在芯片里突兀。
|
|
65
|
+
// 不留空:只剩数字时看不出是 token 总数。
|
|
66
|
+
export const FOOTER_PLAIN_ICON_TOKENS = "Σ";
|
|
67
|
+
|
|
68
|
+
export function footerGlyphs(nerdIcons: boolean): {
|
|
69
|
+
git: string;
|
|
70
|
+
cache: string;
|
|
71
|
+
mcp: string;
|
|
72
|
+
tokens: string;
|
|
73
|
+
} {
|
|
63
74
|
return nerdIcons
|
|
64
|
-
? {
|
|
65
|
-
|
|
75
|
+
? {
|
|
76
|
+
git: FOOTER_NERD_ICON_GIT,
|
|
77
|
+
cache: FOOTER_NERD_ICON_CACHE,
|
|
78
|
+
mcp: FOOTER_NERD_ICON_MCP,
|
|
79
|
+
tokens: FOOTER_NERD_ICON_TOKENS,
|
|
80
|
+
}
|
|
81
|
+
: { git: "", cache: "", mcp: "", tokens: FOOTER_PLAIN_ICON_TOKENS };
|
|
66
82
|
}
|
|
67
83
|
|
|
68
84
|
/**
|
|
@@ -487,7 +503,9 @@ const createCustomFooterFactory =
|
|
|
487
503
|
const costChip = costLabel
|
|
488
504
|
? theme.fg("dim", costLabel) + (usingSubscription ? theme.fg("warning", " sub") : "")
|
|
489
505
|
: "";
|
|
490
|
-
const tokensLabel = config.footerSessionTokens
|
|
506
|
+
const tokensLabel = config.footerSessionTokens
|
|
507
|
+
? formatSessionTokenTotal(tokens, footerGlyphs(config.footerNerdIcons).tokens)
|
|
508
|
+
: "";
|
|
491
509
|
|
|
492
510
|
const gitColor = theme.getThinkingBorderColor("medium");
|
|
493
511
|
let place = theme.fg("accent", cwdLabel);
|
package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/session-tokens.ts
CHANGED
|
@@ -45,8 +45,8 @@ export function sessionEntryTokens(entry: unknown): number {
|
|
|
45
45
|
return 0;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
/**
|
|
49
|
-
export function formatSessionTokenTotal(total: number): string {
|
|
48
|
+
/** 芯片文案:`<glyph> 402k`;没有数据返回空串(不占位置)。 */
|
|
49
|
+
export function formatSessionTokenTotal(total: number, glyph: string): string {
|
|
50
50
|
if (!Number.isFinite(total) || total <= 0) return "";
|
|
51
|
-
return
|
|
51
|
+
return `${glyph} ${formatTokenCount(Math.round(total))}`;
|
|
52
52
|
}
|
|
@@ -60,6 +60,14 @@ import { isToolCallHovered } from "./mouse/hover.ts";
|
|
|
60
60
|
import { getToolMouseTui } from "./mouse/scroll.ts";
|
|
61
61
|
import { expandedBodyComponent, insetComponent } from "./tool/result.ts";
|
|
62
62
|
import { isLiveToolCall, scheduleAnimation } from "./tool/tool-state.ts";
|
|
63
|
+
import { isTranscriptComponent } from "./transcript-scope.ts";
|
|
64
|
+
|
|
65
|
+
const COMPACT_ROUND_TAIL_KEY = Symbol.for("ccstyle.compactRoundTail");
|
|
66
|
+
|
|
67
|
+
/** compact 挂进对话区的回合尾行(摘要行与槽位卡),浏览层跳过它。 */
|
|
68
|
+
export function isCompactRoundTail(value: unknown): boolean {
|
|
69
|
+
return Boolean(value && typeof value === "object" && (value as any)[COMPACT_ROUND_TAIL_KEY]);
|
|
70
|
+
}
|
|
63
71
|
import { renderExpandedToolResult } from "./tool/tool-io.ts";
|
|
64
72
|
import { paddedBackgroundRow } from "./tool/grouping.ts";
|
|
65
73
|
import { styleChangeCounts } from "./tool/ccstyle-tool.ts";
|
|
@@ -1479,15 +1487,22 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
1479
1487
|
/**
|
|
1480
1488
|
* 回合还有活干:成员消息仍在流式,或本回合的工具还没拿到最终结果。
|
|
1481
1489
|
* 收尾要么按事实等活干完,要么摘要行就会把仍在跑的工具报成 Ran for。
|
|
1490
|
+
* pendingLiveTool 是「toolCall 已写进消息、组件还没挂上」的空窗:流停了也要等它合上。
|
|
1491
|
+
* 只在 renderRoundLive 里按缺组件重算;空闲回放不会再补组件,不因此停在 Running。
|
|
1482
1492
|
*/
|
|
1483
1493
|
const roundHasLiveWork = (round: CompactRound): boolean => {
|
|
1494
|
+
if (round.pendingLiveTool && !sessionIdle()) return true;
|
|
1484
1495
|
for (const component of round.messages.keys()) {
|
|
1485
1496
|
if (component?.isStreaming === true) return true;
|
|
1486
1497
|
}
|
|
1487
1498
|
const ids = roundToolCallIds(round);
|
|
1488
1499
|
if (ids.size === 0) return false;
|
|
1489
1500
|
for (const tool of trackedToolComponents) {
|
|
1490
|
-
|
|
1501
|
+
const id = tool?.toolCallId;
|
|
1502
|
+
if (typeof id !== "string" || !ids.has(id)) continue;
|
|
1503
|
+
if (isRunningTool(tool)) return true;
|
|
1504
|
+
// 组件已挂上、还没 markExecutionStarted:声明期 id 仍在等派发。
|
|
1505
|
+
if (!sessionIdle() && isLiveToolCall(id) && (!tool.result || tool.isPartial === true)) {
|
|
1491
1506
|
return true;
|
|
1492
1507
|
}
|
|
1493
1508
|
}
|
|
@@ -1625,6 +1640,7 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
1625
1640
|
}
|
|
1626
1641
|
const tail: MountedRoundTail = { host: undefined, container: undefined, parts: [], round };
|
|
1627
1642
|
const host: any = {
|
|
1643
|
+
[COMPACT_ROUND_TAIL_KEY]: true,
|
|
1628
1644
|
outputPad: Number(round.anchor?.outputPad) || 0,
|
|
1629
1645
|
children: [],
|
|
1630
1646
|
render: (width: number) => tail.parts.flatMap((part: any) => part?.render?.(width) ?? []),
|
|
@@ -2287,6 +2303,8 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2287
2303
|
return patch.assistantNative.call(this, message, isStreaming);
|
|
2288
2304
|
}
|
|
2289
2305
|
self.lastMessage = message;
|
|
2306
|
+
// 浏览层副本:不进回合跟踪,按原生方式渲染完整消息。
|
|
2307
|
+
if (isTranscriptComponent(this)) return passThroughAssistant(this, message, isStreaming);
|
|
2290
2308
|
trackedAssistantComponents.add(this);
|
|
2291
2309
|
if (!patch.active || config.mode !== "compact") {
|
|
2292
2310
|
return passThroughAssistant(this, message, isStreaming);
|
|
@@ -2431,7 +2449,7 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2431
2449
|
};
|
|
2432
2450
|
|
|
2433
2451
|
patch.toolInstalledRender = function (this: any, width: number) {
|
|
2434
|
-
if (!patch.active || config.mode !== "compact") {
|
|
2452
|
+
if (!patch.active || config.mode !== "compact" || isTranscriptComponent(this)) {
|
|
2435
2453
|
return patch.toolOriginalRender.call(this, width);
|
|
2436
2454
|
}
|
|
2437
2455
|
const name = String(this.toolName ?? "");
|
|
@@ -2460,6 +2478,8 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2460
2478
|
};
|
|
2461
2479
|
|
|
2462
2480
|
patch.toolInstalledUpdateDisplay = function (this: any) {
|
|
2481
|
+
// 浏览层副本:不受回合展开规则约束,也不进组件跟踪。
|
|
2482
|
+
if (isTranscriptComponent(this)) return patch.toolOriginalUpdateDisplay.call(this);
|
|
2463
2483
|
const id = String(this.toolCallId ?? "");
|
|
2464
2484
|
if (
|
|
2465
2485
|
patch.active &&
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
TOOL_MOUSE_DISABLE,
|
|
32
32
|
} from "./mouse/interaction.ts";
|
|
33
33
|
import { getToolMouseTui, noteNewTranscriptItem } from "./mouse/scroll.ts";
|
|
34
|
+
import { installTranscriptMode, teardownTranscriptMode } from "./transcript-mode.ts";
|
|
34
35
|
import {
|
|
35
36
|
disposeStickyPromptPatches,
|
|
36
37
|
installStickyPromptPatches,
|
|
@@ -254,6 +255,8 @@ export default function (
|
|
|
254
255
|
// 鼠标交互独立于渲染层:fullscreen 渲染层让位(hooks undefined)但
|
|
255
256
|
// 工具点击/回到底部适配仍需安装;保持在渲染层安装之后以维持原顺序。
|
|
256
257
|
if (ctx?.mode === "tui" && ctx?.hasUI) installToolMouseInteraction(ctx, mouseOwner);
|
|
258
|
+
// 浏览模式与鼠标交互同为输入监听,跟着一起装。
|
|
259
|
+
installTranscriptMode(ctx);
|
|
257
260
|
if (!hooks) return;
|
|
258
261
|
hooks.toolGrouping.setTheme(ctx.ui.theme);
|
|
259
262
|
setMessageDisplayTheme(ctx.ui.theme);
|
|
@@ -278,6 +281,7 @@ export default function (
|
|
|
278
281
|
// Compaction rebuilds the transcript without session_start. Rebind after
|
|
279
282
|
// other TUI extensions may have replaced the root input dispatcher.
|
|
280
283
|
if (ctx?.mode === "tui" && ctx?.hasUI) installToolMouseInteraction(ctx, mouseOwner);
|
|
284
|
+
installTranscriptMode(ctx);
|
|
281
285
|
if (!hooks) return;
|
|
282
286
|
hooks.toolGrouping.setTheme(ctx.ui.theme);
|
|
283
287
|
setMessageDisplayTheme(ctx.ui.theme);
|
|
@@ -318,6 +322,7 @@ export default function (
|
|
|
318
322
|
// 鼠标交互独立于渲染层:fullscreen 下 installation 为 undefined,
|
|
319
323
|
// 但 onTerminalInput 监听与 handleViewportInput 包装仍需释放。
|
|
320
324
|
teardownToolMouseInteraction(mouseOwner);
|
|
325
|
+
teardownTranscriptMode();
|
|
321
326
|
const current = installation;
|
|
322
327
|
if (!current || !current.defaultMode.isOwner()) return;
|
|
323
328
|
current.defaultMode.shutdown();
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Text, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
6
6
|
import { config, getToolDisplayConfig, type CompactStyleMode } from "../../config/config.ts";
|
|
7
|
+
import { expandedLineLimit } from "../transcript-scope.ts";
|
|
7
8
|
import { isToolCallHovered } from "../mouse/hover.ts";
|
|
8
9
|
import {
|
|
9
10
|
ASK_USER_QUESTION_TOOL_NAME,
|
|
@@ -126,7 +127,7 @@ function renderExpandedTaskResult(
|
|
|
126
127
|
if (toolName === "TaskList") {
|
|
127
128
|
const tasks = parseTaskList(text);
|
|
128
129
|
if (!tasks.length) return undefined;
|
|
129
|
-
const limit = Math.max(1, config.expandedPreviewMaxLines);
|
|
130
|
+
const limit = Math.max(1, expandedLineLimit(config.expandedPreviewMaxLines));
|
|
130
131
|
const rows = tasks.slice(0, limit).map((task) => {
|
|
131
132
|
const color =
|
|
132
133
|
task.status === "completed"
|
|
@@ -181,6 +182,33 @@ function toolElapsedMs(context: any, isPartial: boolean): number | undefined {
|
|
|
181
182
|
return Math.max(0, end - startedAt);
|
|
182
183
|
}
|
|
183
184
|
|
|
185
|
+
/**
|
|
186
|
+
* 把原卡的 shell 时钟抄到浏览层副本上。
|
|
187
|
+
*
|
|
188
|
+
* 副本是新建的 ToolExecutionComponent,rendererState 是空的。renderCall 见到
|
|
189
|
+
* executionStarted 且没有开始时间就会写成 Date.now(),运行中的卡、以及只靠
|
|
190
|
+
* 时钟记耗时的完成态,会显示成将近 0。完成态的 durationMs 在结果上,跟 result
|
|
191
|
+
* 一起走,这里不抄。只抄这两个字段:共享整个 state 会把展开视图和视觉状态串到对话区那张卡上。
|
|
192
|
+
* 必须在副本 markExecutionStarted / updateResult 之前抄,否则第一次绘制会先写上现在并缓存错误耗时。
|
|
193
|
+
*/
|
|
194
|
+
export function copyShellTimingState(from: any, to: any): void {
|
|
195
|
+
const source = from?.rendererState;
|
|
196
|
+
const target = to?.rendererState;
|
|
197
|
+
if (!source || !target || source === target) return;
|
|
198
|
+
if (
|
|
199
|
+
typeof source.ccstyleShellStartedAt === "number" &&
|
|
200
|
+
Number.isFinite(source.ccstyleShellStartedAt)
|
|
201
|
+
) {
|
|
202
|
+
target.ccstyleShellStartedAt = source.ccstyleShellStartedAt;
|
|
203
|
+
}
|
|
204
|
+
if (
|
|
205
|
+
typeof source.ccstyleShellEndedAt === "number" &&
|
|
206
|
+
Number.isFinite(source.ccstyleShellEndedAt)
|
|
207
|
+
) {
|
|
208
|
+
target.ccstyleShellEndedAt = source.ccstyleShellEndedAt;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
184
212
|
/**
|
|
185
213
|
* shell 的耗时文本。Pi 原生 shell 渲染器会在结果底部报一行,ccstyle 的通用折叠行把它盖掉了。
|
|
186
214
|
*
|
|
@@ -196,8 +224,8 @@ function shellDurationText(toolName: string, context: any, isPartial: boolean):
|
|
|
196
224
|
|
|
197
225
|
/**
|
|
198
226
|
* 运行中的展开视图:与结束后同一份 Input / Output。
|
|
199
|
-
*
|
|
200
|
-
* trim
|
|
227
|
+
* 还没输出时用 Pending… 占位:空正文会被视图画成 Done,像已经跑完了。
|
|
228
|
+
* 纯空白(空格、换行、tab)同样算还没输出;非空正文保留原始缩进,不整体 trim。
|
|
201
229
|
* shell 的已用时间挂到视图尾部;取值函数每帧重算,秒数才跟着动画 tick 走。
|
|
202
230
|
*/
|
|
203
231
|
function renderRunningExpandedResult(toolName: string, result: any, context: any, theme: any): any {
|
|
@@ -474,8 +502,12 @@ export function createCcstyleTool(
|
|
|
474
502
|
cachedWidth = width;
|
|
475
503
|
cachedIcon = icon;
|
|
476
504
|
// 路径按最终可用宽度中间截断,避免整行二次截断隐藏文件名。
|
|
477
|
-
cachedLine =
|
|
478
|
-
|
|
505
|
+
cachedLine = truncateToWidth(
|
|
506
|
+
`${lead}${icon} ${renderToolSummary(summary, mainWidth, theme.fg.bind(theme))}${extraStyled}`,
|
|
507
|
+
viewportWidth,
|
|
508
|
+
"",
|
|
509
|
+
);
|
|
510
|
+
return [cachedLine];
|
|
479
511
|
},
|
|
480
512
|
invalidate() {
|
|
481
513
|
cachedLine = undefined;
|
|
@@ -541,7 +573,7 @@ export function createCcstyleTool(
|
|
|
541
573
|
if (options?.isPartial) {
|
|
542
574
|
// 等待回答时也能展开看问题原文(Input 即 args.questions);折叠态 1 格缩进。
|
|
543
575
|
if (expanded) return renderRunningExpandedResult(toolName, result, context, theme);
|
|
544
|
-
//
|
|
576
|
+
// 折叠后清掉展开视图,与通用 partial 折叠一致。
|
|
545
577
|
if (context?.state) context.state.ccstyleIoView = undefined;
|
|
546
578
|
return renderRunningCollapsedResult({ toolName, context, theme, prefix: " ↳ " });
|
|
547
579
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
import { highlightCode } from "@earendil-works/pi-coding-agent";
|
|
12
12
|
import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
13
13
|
import { config } from "../../config/config.ts";
|
|
14
|
+
import { expandedLineLimit } from "../transcript-scope.ts";
|
|
14
15
|
import { stripAnsi } from "../../utils/ansi-text.ts";
|
|
15
16
|
import { oneLine } from "../../utils/format.ts";
|
|
16
17
|
import { toolLoadingIcon } from "../../utils/tool-loading-icon.ts";
|
|
@@ -164,7 +165,7 @@ export function codemodeCodeLines(
|
|
|
164
165
|
if (text) statements.push(text);
|
|
165
166
|
}
|
|
166
167
|
if (statements.length === 0) return [];
|
|
167
|
-
const limit = Math.max(1, config.expandedInputMaxLines);
|
|
168
|
+
const limit = Math.max(1, expandedLineLimit(config.expandedInputMaxLines));
|
|
168
169
|
const visible = statements.slice(0, limit);
|
|
169
170
|
const rail = `${INDENT}${fg("dim", "│")} `;
|
|
170
171
|
const lines = visible.map((statement) =>
|
package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-header.ts
CHANGED
|
@@ -53,8 +53,8 @@ function renderDiffStatBar(stats: DiffStats, width: number, theme: DiffTheme): s
|
|
|
53
53
|
}
|
|
54
54
|
const removedSlots = Math.max(0, barSlots - addedSlots);
|
|
55
55
|
|
|
56
|
-
const addedBar = addedSlots > 0 ? theme.fg("
|
|
57
|
-
const removedBar = removedSlots > 0 ? theme.fg("
|
|
56
|
+
const addedBar = addedSlots > 0 ? theme.fg("success", "━".repeat(addedSlots)) : "";
|
|
57
|
+
const removedBar = removedSlots > 0 ? theme.fg("error", "━".repeat(removedSlots)) : "";
|
|
58
58
|
return stabilizeBackgroundResets(
|
|
59
59
|
`${theme.fg("dim", "[")}${addedBar}${removedBar}${theme.fg("dim", "]")}`,
|
|
60
60
|
);
|
|
@@ -63,8 +63,8 @@ function renderDiffStatBar(stats: DiffStats, width: number, theme: DiffTheme): s
|
|
|
63
63
|
function buildDiffSummaryBasePieces(stats: DiffStats, theme: DiffTheme): string[] {
|
|
64
64
|
return [
|
|
65
65
|
theme.fg("toolOutput", `↳ ${emphasis(theme, "diff")}`),
|
|
66
|
-
theme.fg("
|
|
67
|
-
theme.fg("
|
|
66
|
+
theme.fg("success", `+${stats.added}`),
|
|
67
|
+
theme.fg("error", `-${stats.removed}`),
|
|
68
68
|
];
|
|
69
69
|
}
|
|
70
70
|
|
package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-layout.ts
CHANGED
|
@@ -92,10 +92,10 @@ function renderChangeMarker(
|
|
|
92
92
|
return rowBg ? `${rowBg} ${rowBg}` : " ";
|
|
93
93
|
}
|
|
94
94
|
if (kind === "add") {
|
|
95
|
-
return colorizeSegment(theme, "
|
|
95
|
+
return colorizeSegment(theme, "success", glyph, rowBg);
|
|
96
96
|
}
|
|
97
97
|
if (kind === "remove") {
|
|
98
|
-
return colorizeSegment(theme, "
|
|
98
|
+
return colorizeSegment(theme, "error", glyph, rowBg);
|
|
99
99
|
}
|
|
100
100
|
return colorizeSegment(theme, "dim", glyph, rowBg);
|
|
101
101
|
}
|
|
@@ -132,12 +132,12 @@ function renderCodeDivider(
|
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
function getLineNumberColor(kind: DiffLineKind): "dim" | "
|
|
135
|
+
function getLineNumberColor(kind: DiffLineKind): "dim" | "success" | "error" {
|
|
136
136
|
if (kind === "add") {
|
|
137
|
-
return "
|
|
137
|
+
return "success";
|
|
138
138
|
}
|
|
139
139
|
if (kind === "remove") {
|
|
140
|
-
return "
|
|
140
|
+
return "error";
|
|
141
141
|
}
|
|
142
142
|
return "dim";
|
|
143
143
|
}
|
|
@@ -179,7 +179,7 @@ function renderClassicContentPrefix(
|
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
const glyph = kind === "add" ? "+" : "-";
|
|
182
|
-
const glyphColor = kind === "add" ? "
|
|
182
|
+
const glyphColor = kind === "add" ? "success" : "error";
|
|
183
183
|
const spacer = rowBg ? `${rowBg} ` : " ";
|
|
184
184
|
return `${colorizeSegment(theme, glyphColor, glyph, rowBg)}${spacer}`;
|
|
185
185
|
}
|
package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-palette.ts
CHANGED
|
@@ -115,7 +115,7 @@ export function keepBackgroundAcrossResets(text: string, rowBg: string): string
|
|
|
115
115
|
|
|
116
116
|
export function colorizeSegment(
|
|
117
117
|
theme: DiffTheme,
|
|
118
|
-
color: "dim" | "
|
|
118
|
+
color: "dim" | "success" | "error",
|
|
119
119
|
text: string,
|
|
120
120
|
rowBg: string | undefined,
|
|
121
121
|
): string {
|
|
@@ -276,15 +276,15 @@ export function readThemeAnsi(
|
|
|
276
276
|
export function resolveDiffPalette(theme: DiffTheme): DiffPalette {
|
|
277
277
|
const fallbackBg = parseAnsiColorCode(readThemeAnsi(theme, "bg", "toolPendingBg")) ??
|
|
278
278
|
parseAnsiColorCode(readThemeAnsi(theme, "bg", "userMessageBg")) ?? { r: 32, g: 35, b: 42 };
|
|
279
|
-
//
|
|
279
|
+
// 新增行/删除行的文字和底色统一取 success、error,与工具标题、footer 计数同源。
|
|
280
280
|
const addBaseBg = parseAnsiColorCode(readThemeAnsi(theme, "bg", "toolSuccessBg")) ?? fallbackBg;
|
|
281
281
|
const removeBaseBg = parseAnsiColorCode(readThemeAnsi(theme, "bg", "toolErrorBg")) ?? addBaseBg;
|
|
282
|
-
const addFg = parseAnsiColorCode(readThemeAnsi(theme, "fg", "
|
|
282
|
+
const addFg = parseAnsiColorCode(readThemeAnsi(theme, "fg", "success")) ?? {
|
|
283
283
|
r: 88,
|
|
284
284
|
g: 173,
|
|
285
285
|
b: 88,
|
|
286
286
|
};
|
|
287
|
-
const removeFg = parseAnsiColorCode(readThemeAnsi(theme, "fg", "
|
|
287
|
+
const removeFg = parseAnsiColorCode(readThemeAnsi(theme, "fg", "error")) ?? {
|
|
288
288
|
r: 196,
|
|
289
289
|
g: 98,
|
|
290
290
|
b: 98,
|