@herbertgao/pi-extensions 2026.10.13 → 2026.10.14
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/README.md +11 -11
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/config.ts +1 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +3 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/context.ts +22 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +44 -14
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/default-mode.ts +1 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/index.ts +20 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/markdown-enhance.ts +4 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/interaction.ts +42 -18
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/layout.ts +12 -3
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/ccstyle-tool.ts +131 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/grouping.ts +217 -113
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/names.ts +12 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/subagent-notification.ts +556 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/ansi-text.ts +50 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/format.ts +11 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/patch-keys.ts +4 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/README.md +1 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/ask-user-question.ts +27 -3
- package/node_modules/@juicesharp/rpiv-ask-user-question/config.ts +23 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/docs/configuration.md +15 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/docs/keyboard.md +9 -2
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/de.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/en.json +8 -5
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/es.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/fr.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/pt-BR.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/pt.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/ru.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/uk.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/zh.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/package.json +4 -3
- package/node_modules/@juicesharp/rpiv-ask-user-question/presentation.ts +11 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/build-questionnaire.ts +6 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/key-router.ts +49 -8
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/questionnaire-session.ts +6 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/state-reducer.ts +13 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/state.ts +2 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/components/preview/preview-block-renderer.ts +19 -7
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/dialog-builder.ts +36 -7
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/dialog-copy.ts +13 -2
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/tab-content-strategy.ts +24 -8
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/transcript.ts +144 -0
- package/node_modules/@narumitw/pi-btw/README.md +7 -2
- package/node_modules/@narumitw/pi-btw/dist/index.ts +371 -118
- package/node_modules/@narumitw/pi-btw/dist/index.ts.map +4 -4
- package/node_modules/@narumitw/pi-btw/docs/main-context-runtime.md +45 -0
- package/node_modules/@narumitw/pi-btw/docs/workflows.md +48 -5
- package/node_modules/@narumitw/pi-btw/package.json +1 -1
- package/node_modules/@narumitw/pi-btw/src/btw.ts +39 -14
- package/node_modules/@narumitw/pi-btw/src/import-main-updates.ts +84 -0
- package/node_modules/@narumitw/pi-btw/src/keybindings.ts +29 -4
- package/node_modules/@narumitw/pi-btw/src/main-context-snapshot.ts +125 -0
- package/node_modules/@narumitw/pi-btw/src/menu.ts +1 -0
- package/node_modules/@narumitw/pi-btw/src/side-thread.ts +66 -17
- package/node_modules/@narumitw/pi-btw/src/transcript-markdown.ts +5 -5
- package/node_modules/@narumitw/pi-btw/src/transcript-pager.ts +47 -6
- package/node_modules/pi-lens/CHANGELOG.md +440 -0
- package/node_modules/pi-lens/README.md +13 -3
- package/node_modules/pi-lens/config/dependency-cruiser-eager-allowlist.json +1 -0
- package/node_modules/pi-lens/dist/chunk-22Y2BM7H.js +23 -0
- package/node_modules/pi-lens/dist/{chunk-ATKJFDQN.js → chunk-27VWVB23.js} +12 -14
- package/node_modules/pi-lens/dist/{chunk-S2HEXIWI.js → chunk-2FYKETQJ.js} +10 -6
- package/node_modules/pi-lens/dist/{chunk-SRYEJNES.js → chunk-2LDMXL2M.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-ZHH37KZL.js → chunk-2SDHYHHO.js} +17 -17
- package/node_modules/pi-lens/dist/chunk-2Y6OJRSI.js +38 -0
- package/node_modules/pi-lens/dist/chunk-3SNDVPOR.js +507 -0
- package/node_modules/pi-lens/dist/{chunk-5OFV52AM.js → chunk-3WCEHYOI.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-44X7VIKR.js +73 -0
- package/node_modules/pi-lens/dist/{chunk-DEL2U6CM.js → chunk-4FHUGDKU.js} +16 -14
- package/node_modules/pi-lens/dist/{chunk-CT4MN5IU.js → chunk-4ODSZ35Z.js} +353 -359
- package/node_modules/pi-lens/dist/{chunk-ZIVJBOO3.js → chunk-4U7GDSZQ.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-54NIOJJZ.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-N5FLEO7W.js → chunk-5DKE4HGX.js} +37 -37
- package/node_modules/pi-lens/dist/{chunk-P63GXC37.js → chunk-5LRUKYFA.js} +31 -4
- package/node_modules/pi-lens/dist/{chunk-HRNHZA3N.js → chunk-63NMUNYP.js} +12 -16
- package/node_modules/pi-lens/dist/{chunk-HWCCCQNX.js → chunk-6XSESGWD.js} +13 -6
- package/node_modules/pi-lens/dist/{chunk-UMS2MFPZ.js → chunk-72J27ICO.js} +2 -3
- package/node_modules/pi-lens/dist/{chunk-ED36RF6Y.js → chunk-7FLRUH6B.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-7IYC4ENJ.js +297 -0
- package/node_modules/pi-lens/dist/chunk-7WWQAW5P.js +30 -0
- package/node_modules/pi-lens/dist/{chunk-3DA2JDOL.js → chunk-7ZS7MC24.js} +551 -203
- package/node_modules/pi-lens/dist/{chunk-WMYE35PX.js → chunk-AHWA4AKM.js} +7 -5
- package/node_modules/pi-lens/dist/{chunk-JW3YWBVB.js → chunk-AI3GP74G.js} +17 -19
- package/node_modules/pi-lens/dist/{chunk-AGSS7277.js → chunk-APFJKOP6.js} +6 -23
- package/node_modules/pi-lens/dist/{chunk-ZVUL7QYY.js → chunk-ASRAO7KG.js} +29 -32
- package/node_modules/pi-lens/dist/{chunk-BW5KFIQC.js → chunk-AWQWXSW4.js} +1 -0
- package/node_modules/pi-lens/dist/{chunk-TLX72JTG.js → chunk-CG5V25HX.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-CKEQFGLT.js +32 -0
- package/node_modules/pi-lens/dist/{chunk-Y6GZHWSJ.js → chunk-COOUUC5W.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-XTBDCR27.js → chunk-CPZ5JJW6.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-RKKOYPRA.js → chunk-DS2USX5G.js} +13 -15
- package/node_modules/pi-lens/dist/chunk-EA2ZRG44.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-GSLNCYGG.js → chunk-EDMLIW6W.js} +13 -14
- package/node_modules/pi-lens/dist/{chunk-2EECBNC5.js → chunk-EIKRZ32J.js} +75 -0
- package/node_modules/pi-lens/dist/chunk-EKNWOL2I.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-R3T7CLQ2.js → chunk-ELZRSR5N.js} +41 -41
- package/node_modules/pi-lens/dist/{chunk-GMX5OS7B.js → chunk-EN5AM7PX.js} +11 -12
- package/node_modules/pi-lens/dist/{chunk-3RKP3FMS.js → chunk-EWXXLS26.js} +226 -24
- package/node_modules/pi-lens/dist/chunk-EX4EXBW7.js +37 -0
- package/node_modules/pi-lens/dist/{chunk-XHJBS436.js → chunk-EXVXBSGN.js} +25 -25
- package/node_modules/pi-lens/dist/{chunk-MZGQNL3Y.js → chunk-F7BO6FWH.js} +12 -13
- package/node_modules/pi-lens/dist/{chunk-V35JG4JB.js → chunk-FEDWAYDS.js} +152 -334
- package/node_modules/pi-lens/dist/{chunk-J64T55EI.js → chunk-FWZRGGGY.js} +73 -9
- package/node_modules/pi-lens/dist/{chunk-T57LYLZT.js → chunk-G224FADB.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-G5UCJFT7.js +26 -0
- package/node_modules/pi-lens/dist/{chunk-LLJNQKQW.js → chunk-GLW3YDZZ.js} +20 -13
- package/node_modules/pi-lens/dist/{chunk-GXFV6MYU.js → chunk-GTDSYEA2.js} +72 -39
- package/node_modules/pi-lens/dist/{chunk-DUO2TU77.js → chunk-GYRZ72R4.js} +10 -4
- package/node_modules/pi-lens/dist/chunk-HYVXA3BB.js +49 -0
- package/node_modules/pi-lens/dist/{chunk-W66O5E25.js → chunk-IEBJF3PN.js} +13 -15
- package/node_modules/pi-lens/dist/{chunk-GAQ7OQG6.js → chunk-IL7K66ZQ.js} +83 -94
- package/node_modules/pi-lens/dist/{chunk-T7FEBKXN.js → chunk-JWOVP5BL.js} +7 -9
- package/node_modules/pi-lens/dist/{chunk-UBOQLVT2.js → chunk-K2GUZ4DN.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-5VSF4UUQ.js → chunk-K4SZB56V.js} +34 -39
- package/node_modules/pi-lens/dist/{chunk-7D6L4MTX.js → chunk-KCBRHV5E.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-GSM5UU7A.js → chunk-KFXCL4OV.js} +38 -28
- package/node_modules/pi-lens/dist/{chunk-J6MPGQTS.js → chunk-KJJAVH3X.js} +81 -15
- package/node_modules/pi-lens/dist/{chunk-BWD5EPKO.js → chunk-KPVLQHCZ.js} +4 -6
- package/node_modules/pi-lens/dist/{chunk-MPNJLASA.js → chunk-KX56K73G.js} +10 -13
- package/node_modules/pi-lens/dist/{chunk-AWSCPCN2.js → chunk-LMCTHJ2H.js} +19 -19
- package/node_modules/pi-lens/dist/{chunk-IWDLU6K3.js → chunk-MEFLGBCS.js} +4 -6
- package/node_modules/pi-lens/dist/{chunk-TOY6QKOH.js → chunk-MKPCELNI.js} +17 -17
- package/node_modules/pi-lens/dist/{chunk-POMLXPMY.js → chunk-N3PLNNCW.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-N5FBM25N.js +22 -0
- package/node_modules/pi-lens/dist/{chunk-CYRKQRPM.js → chunk-NFNVDDGB.js} +2 -4
- package/node_modules/pi-lens/dist/{chunk-RMLC67LF.js → chunk-NLIVE7L6.js} +2 -30
- package/node_modules/pi-lens/dist/{chunk-24AKHFGP.js → chunk-OMJ3OFBJ.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-IQWN5JCP.js → chunk-OZNCKLOX.js} +13 -14
- package/node_modules/pi-lens/dist/chunk-P5XUGPIX.js +31 -0
- package/node_modules/pi-lens/dist/{chunk-2KXTHF3M.js → chunk-PJXNTPB2.js} +253 -33
- package/node_modules/pi-lens/dist/chunk-PKOXJIVT.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-DGUKIYSI.js → chunk-PP2A5V2T.js} +8 -10
- package/node_modules/pi-lens/dist/{chunk-KAPJINKN.js → chunk-Q42LJANT.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-UZ2XCLYS.js → chunk-Q4BKKOVC.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-TIQ2PKDW.js → chunk-QT66NEYN.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-U44DJXQP.js → chunk-RCHO5W7M.js} +15 -18
- package/node_modules/pi-lens/dist/{chunk-YH5MVY2U.js → chunk-RG3MXTRI.js} +7 -7
- package/node_modules/pi-lens/dist/chunk-RG7OODGM.js +57 -0
- package/node_modules/pi-lens/dist/{chunk-OHKJ7PQF.js → chunk-RU34BA4D.js} +43 -39
- package/node_modules/pi-lens/dist/{chunk-JMYYOTQG.js → chunk-S26LC76R.js} +13 -1
- package/node_modules/pi-lens/dist/{chunk-XBJVAEEO.js → chunk-S55TEC7I.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-RVK72CZX.js → chunk-SJHC3BCZ.js} +1397 -481
- package/node_modules/pi-lens/dist/{chunk-IYNJ6YPZ.js → chunk-SNEUMLM7.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-S67KYG37.js → chunk-T4NGVFYI.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YCWYO6TQ.js → chunk-THEXI2QO.js} +48 -45
- package/node_modules/pi-lens/dist/{chunk-AMERCH6V.js → chunk-TL2TCJYL.js} +15 -16
- package/node_modules/pi-lens/dist/{chunk-KUA4OJ5Y.js → chunk-TPYYEDP5.js} +823 -350
- package/node_modules/pi-lens/dist/{chunk-YNE3RP52.js → chunk-TVZRLTG6.js} +8 -1
- package/node_modules/pi-lens/dist/{chunk-ROYSX2S5.js → chunk-UCVMSOXF.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-UL5SXQVX.js +32 -0
- package/node_modules/pi-lens/dist/{chunk-7HXE67BN.js → chunk-UO66IMVP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-VOOAPROD.js → chunk-UVY4TOJH.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-RKBXZN3A.js → chunk-VIDEKABZ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-2FN63LPV.js → chunk-VITFDI3O.js} +13 -14
- package/node_modules/pi-lens/dist/{chunk-6DLWKFEX.js → chunk-VUAVE3QC.js} +41 -42
- package/node_modules/pi-lens/dist/{chunk-FM4RDMKT.js → chunk-WUY4BZEP.js} +10 -12
- package/node_modules/pi-lens/dist/{chunk-SD4I7ZO4.js → chunk-X3UTCXAA.js} +43 -53
- package/node_modules/pi-lens/dist/chunk-XHDBJODR.js +45 -0
- package/node_modules/pi-lens/dist/{chunk-5IUSNGOC.js → chunk-XHLK33VM.js} +28 -21
- package/node_modules/pi-lens/dist/{chunk-3KAZU3VR.js → chunk-XI34NWDI.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QBFBRV2B.js → chunk-XWFIHYCH.js} +4 -2
- package/node_modules/pi-lens/dist/{chunk-JUKMK5Y4.js → chunk-Y2TPADJR.js} +10 -11
- package/node_modules/pi-lens/dist/{chunk-EBC36LNN.js → chunk-Y5KTA2OB.js} +17 -17
- package/node_modules/pi-lens/dist/{chunk-HYGZEMX6.js → chunk-YKVDBNPO.js} +11 -5
- package/node_modules/pi-lens/dist/{chunk-KN35K52N.js → chunk-YSDPVDFC.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-YWNO5Q4R.js +44 -0
- package/node_modules/pi-lens/dist/{chunk-US7ECLD7.js → chunk-YWWG4AQA.js} +119 -28
- package/node_modules/pi-lens/dist/{chunk-O4NWQT6I.js → chunk-YXDCRUKQ.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-XYURS6EN.js → chunk-YXGRRORB.js} +15 -17
- package/node_modules/pi-lens/dist/{chunk-IUE7SSKV.js → chunk-ZAPSUBLU.js} +13 -7
- package/node_modules/pi-lens/dist/{chunk-EUXZEFTV.js → chunk-ZPJM7DID.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-5HSRT26B.js → chunk-ZSUX7KEM.js} +16 -15
- package/node_modules/pi-lens/dist/index.js +37155 -32210
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +11 -12
- package/node_modules/pi-lens/dist/mcp/cli.js +46 -45
- package/node_modules/pi-lens/dist/mcp/server.js +1210 -574
- package/node_modules/pi-lens/dist/mcp/worker.js +65 -65
- package/node_modules/pi-lens/dist/probes/installer.js +21 -23
- package/node_modules/pi-lens/docs/adr/0010-trace-validation-session-lifecycle.md +390 -0
- package/node_modules/pi-lens/docs/adr/README.md +1 -0
- package/node_modules/pi-lens/docs/ast-grep_rules_catalog.md +5 -3
- package/node_modules/pi-lens/docs/configuration.md +9 -0
- package/node_modules/pi-lens/docs/engineering-principles.md +12 -0
- package/node_modules/pi-lens/docs/environment-variables.md +20 -0
- package/node_modules/pi-lens/docs/features.md +16 -1
- package/node_modules/pi-lens/docs/globalconfig.md +37 -8
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +105 -12
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +37 -18
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +22 -1
- package/node_modules/pi-lens/docs/pi-lens-investigator.md +14 -0
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +23 -10
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +64 -8
- package/node_modules/pi-lens/docs/pi-lens-retro.md +2 -2
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +48 -1
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +8 -1
- package/node_modules/pi-lens/docs/release-qa-baseline.md +19 -7
- package/node_modules/pi-lens/docs/servercapabilities.md +47 -47
- package/node_modules/pi-lens/docs/settings.md +9 -5
- package/node_modules/pi-lens/docs/subagent-compat.md +1 -1
- package/node_modules/pi-lens/docs/usage.md +1 -0
- package/node_modules/pi-lens/package.json +6 -4
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-return-value-in-generator-test.yml +17 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-sql-in-code-execute-js-test.yml +86 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-sql-in-code-execute-test.yml +86 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/unchecked-numeric-parse-python-test.yml +15 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-return-value-in-generator.yml +9 -4
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-sql-in-code-execute-js.yml +119 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-sql-in-code-execute.yml +119 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/unchecked-numeric-parse-python.yml +13 -2
- package/node_modules/pi-lens/rules/rule-catalog.json +25 -1
- package/node_modules/pi-lens/scripts/analyze-pi-lens-logs.mjs +15 -5
- package/node_modules/pi-lens/scripts/lib/is-main-module.mjs +27 -0
- package/node_modules/pi-lens/scripts/lib/scratch-home-env.mjs +21 -0
- package/node_modules/pi-lens/scripts/rpc-load-check.mjs +4 -6
- package/node_modules/pi-lens/scripts/warm-loader-cache.mjs +2 -5
- package/node_modules/pi-next-cue/package.json +4 -1
- package/node_modules/pi-typesafe/README.md +6 -6
- package/node_modules/pi-typesafe/dist/ask.js +9 -2
- package/node_modules/pi-typesafe/dist/auth.d.ts +3 -2
- package/node_modules/pi-typesafe/dist/auth.js +2 -2
- package/node_modules/pi-typesafe/dist/backends.d.ts +20 -5
- package/node_modules/pi-typesafe/dist/backends.js +32 -8
- package/node_modules/pi-typesafe/dist/batch.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/batch.js +2 -2
- package/node_modules/pi-typesafe/dist/client.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/client.js +24 -12
- package/node_modules/pi-typesafe/dist/credentials.d.ts +8 -6
- package/node_modules/pi-typesafe/dist/credentials.js +70 -16
- package/node_modules/pi-typesafe/dist/extension.js +118 -26
- package/node_modules/pi-typesafe/dist/index.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/index.js +1 -1
- package/node_modules/pi-typesafe/dist/key-prompt.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/key-prompt.js +6 -6
- package/node_modules/pi-typesafe/dist/login.d.ts +11 -10
- package/node_modules/pi-typesafe/dist/login.js +24 -21
- package/node_modules/pi-typesafe/dist/schema.d.ts +8 -8
- package/node_modules/pi-typesafe/dist/schema.js +29 -7
- package/node_modules/pi-typesafe/package.json +2 -2
- package/package.json +11 -11
- package/node_modules/pi-lens/dist/chunk-3PTHXJXR.js +0 -28
- package/node_modules/pi-lens/dist/chunk-3QED2P4V.js +0 -31
- package/node_modules/pi-lens/dist/chunk-5WRPDP2A.js +0 -47
- package/node_modules/pi-lens/dist/chunk-ABBOA7UD.js +0 -157
- package/node_modules/pi-lens/dist/chunk-CUHSHSB6.js +0 -273
- package/node_modules/pi-lens/dist/chunk-GL5LUMZE.js +0 -51
- package/node_modules/pi-lens/dist/chunk-HAD7QRQI.js +0 -30
- package/node_modules/pi-lens/dist/chunk-JORED7EX.js +0 -44
- package/node_modules/pi-lens/dist/chunk-KYUB6QDC.js +0 -72
- package/node_modules/pi-lens/dist/chunk-LZSEQW6A.js +0 -57
- package/node_modules/pi-lens/dist/chunk-M2IFVFWU.js +0 -79
- package/node_modules/pi-lens/dist/chunk-M2UD3LPU.js +0 -88
- package/node_modules/pi-lens/dist/chunk-MBKQHGA7.js +0 -39
- package/node_modules/pi-lens/dist/chunk-R7YOCSNV.js +0 -23
- package/node_modules/pi-lens/dist/chunk-SKAMFC7A.js +0 -28
- package/node_modules/pi-lens/dist/chunk-SYE6T2EB.js +0 -28
- package/node_modules/pi-lens/dist/chunk-TRETHTQO.js +0 -26
- package/node_modules/pi-lens/dist/chunk-UA7ZXYDR.js +0 -184
- package/node_modules/pi-lens/dist/chunk-XTFDJI3T.js +0 -24
- package/node_modules/pi-lens/dist/chunk-Z3CCVDUB.js +0 -76
- package/node_modules/pi-next-cue/.github/workflows/publish.yml +0 -20
package/README.md
CHANGED
|
@@ -21,10 +21,10 @@ When migrating from `pi-mcp-adapter`, remove any standalone adapter install as w
|
|
|
21
21
|
The package bundles 5 active `@herbertgao/*` child packages—`pi-agency`, `pi-bark`, `pi-cc-extensions`, `pi-subagents`, and `sol-pi`—plus the following upstream packages under their original names:
|
|
22
22
|
|
|
23
23
|
- `pi-antigravity@0.11.0`
|
|
24
|
-
- `pi-provider-qoder@0.6.
|
|
24
|
+
- `pi-provider-qoder@0.6.5`
|
|
25
25
|
- `@dietrichgebert/ponytail@5.3.2`
|
|
26
|
-
- `@juicesharp/rpiv-ask-user-question@2.
|
|
27
|
-
- `@narumitw/pi-btw@0.
|
|
26
|
+
- `@juicesharp/rpiv-ask-user-question@2.15.0`
|
|
27
|
+
- `@narumitw/pi-btw@0.63.0`
|
|
28
28
|
- `@narumitw/pi-caffeinate@0.49.12`
|
|
29
29
|
- `@pi-plugins/fast-mode@0.1.14`
|
|
30
30
|
- `@tifan/pi-copy-response@0.2.7`
|
|
@@ -34,16 +34,16 @@ The package bundles 5 active `@herbertgao/*` child packages—`pi-agency`, `pi-b
|
|
|
34
34
|
- `@tifan/pi-preferred-thinking@1.0.2`
|
|
35
35
|
- `@tifan/pi-recap@0.4.8`
|
|
36
36
|
- `@tifan/pi-rename@0.6.0`
|
|
37
|
-
- `pi-typesafe@0.
|
|
38
|
-
- `pi-next-cue@1.0.
|
|
39
|
-
- `pi-lens@4.4.
|
|
37
|
+
- `pi-typesafe@0.13.0`
|
|
38
|
+
- `pi-next-cue@1.0.8`
|
|
39
|
+
- `pi-lens@4.4.5`
|
|
40
40
|
- `pi-web-access@0.44.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.11`; 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
|
-
Antigravity `0.11.0` enriches search citations by visiting source sites by default (`ANTIGRAVITY_NO_SOURCE_ENRICH=1` disables enrichment). It refreshes a curated model catalog and upgrades the existing model cache; previously listed model IDs may disappear. Ask `2.
|
|
46
|
+
Antigravity `0.11.0` enriches search citations by visiting source sites by default (`ANTIGRAVITY_NO_SOURCE_ENRICH=1` disables enrichment). 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.44.0` keeps direct tool exposure and `toolActivation: auto` by default. Linkup, DeepSeek search and fetch, provider gateways, `toolActivation: "none"`, deferred exposure, and GCE ADC support require explicit configuration.
|
|
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
|
|
|
@@ -57,15 +57,15 @@ Ponytail `5.3.2` updates the Pi skill guidance, including how to turn it off. It
|
|
|
57
57
|
|
|
58
58
|
`@narumitw/pi-caffeinate@0.49.12` 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, falling back when unavailable. No daemon or build step is added.
|
|
59
59
|
|
|
60
|
-
`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.
|
|
60
|
+
`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.13.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. Daily request, token, and USD caps are opt-in. OpenRouter, Command Code, Liquid, SubQ, and a named endpoint stay explicit and use that backend's own key. The promoted SDK is `@typesafe-ai/sdk@0.7.0`.
|
|
61
61
|
|
|
62
|
-
`@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.
|
|
62
|
+
`@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.5` 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. It promotes `@ast-grep/cli` to `0.51.0` and `@ast-grep/napi` to `^0.51.0`. 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. `pi-web-access@0.44.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. 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, and DeepSeek fetch are explicit-only, excluded from automatic and `all` selection. 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.11.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. `pi-provider-qoder@0.6.5` registers the `qoder` and `qoder-cn` model providers. 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. Preferred Thinking 1.0.2 preserves an explicit subagent `--thinking` choice. Deprecated `@tifan/pi-titlebar-spinner` is no longer bundled; Rename remains the single owner of Herdr tab naming.
|
|
63
63
|
|
|
64
64
|
`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.
|
|
65
65
|
|
|
66
66
|
### Next-cue suggestions
|
|
67
67
|
|
|
68
|
-
`pi-next-cue@1.0.
|
|
68
|
+
`pi-next-cue@1.0.8` predicts a short next prompt after each completed agent turn. Its peer dependency is Pi `>=1.2.0`. In the empty editor, `Tab` fills the suggestion and `Enter` sends it. Each settled turn can make one extra model request using recent conversation text, recent tool names/results, and the configured active or explicitly selected model. It is TUI-only and wraps the prompt editor, so do not enable another custom-editor extension that also owns the editor slot.
|
|
69
69
|
|
|
70
70
|
### Footer
|
|
71
71
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -111,7 +111,7 @@ THE SOFTWARE.
|
|
|
111
111
|
|
|
112
112
|
## `pi-typesafe`
|
|
113
113
|
|
|
114
|
-
The aggregate bundles [`pi-typesafe`](https://github.com/DevMortimer/pi-typesafe) version 0.
|
|
114
|
+
The aggregate bundles [`pi-typesafe`](https://github.com/DevMortimer/pi-typesafe) version 0.13.0 under its original MIT license:
|
|
115
115
|
|
|
116
116
|
MIT License
|
|
117
117
|
|
|
@@ -137,7 +137,7 @@ THE SOFTWARE.
|
|
|
137
137
|
|
|
138
138
|
## `pi-next-cue`
|
|
139
139
|
|
|
140
|
-
The aggregate bundles [`pi-next-cue`](https://github.com/ouzhenkun/pi-next-cue) version 1.0.
|
|
140
|
+
The aggregate bundles [`pi-next-cue`](https://github.com/ouzhenkun/pi-next-cue) version 1.0.8 under its original MIT license. The imported npm package corresponds to upstream commit [`49c56b4ba659d20bbb36873a572094f55779e87b`](https://github.com/ouzhenkun/pi-next-cue/commit/49c56b4ba659d20bbb36873a572094f55779e87b).
|
|
141
141
|
|
|
142
142
|
MIT License
|
|
143
143
|
|
|
@@ -91,7 +91,7 @@ Renderer snapshots for `on` / `compact` modes: [default](./docs/tool-render-exam
|
|
|
91
91
|
"footerGitStatsMode": "working", // working (default): uncommitted; branch: cumulative net changes
|
|
92
92
|
"footerHiddenKeys": [], // hidden chip keys
|
|
93
93
|
"footerLine1Keys": ["model", "context", "cache", "rate", "cost", "pi-usage"], // chip order per line; builtins and plugins share one layout
|
|
94
|
-
"footerLine2Keys": ["cwd", "git"],
|
|
94
|
+
"footerLine2Keys": ["cwd", "git"], // cwd: directory and session; git: branch and changes. Either can move to any line
|
|
95
95
|
"footerLine3Keys": [], // painted only when a chip is visible
|
|
96
96
|
}
|
|
97
97
|
```
|
|
@@ -126,7 +126,7 @@ pi -e . # one run, does not edit settings.json
|
|
|
126
126
|
|
|
127
127
|
## Credits
|
|
128
128
|
|
|
129
|
-
- Based on [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.
|
|
129
|
+
- Based on [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.11 (MIT), upstream baseline [`4697b4a`](https://github.com/minuque/pi-cc-extensions/commit/4697b4ac2cc28ee89bb9c37f1021e91075bfd94c), with this repository's configuration migration and compatibility patches retained.
|
|
130
130
|
- 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).
|
|
131
131
|
|
|
132
132
|
## License
|
|
@@ -90,7 +90,7 @@ pi install git:github.com/HerbertGao/pi-extensions
|
|
|
90
90
|
"footerGitStatsMode": "working", // working(默认):未提交改动;branch:分支累计净改动
|
|
91
91
|
"footerHiddenKeys": [], // 隐藏的芯片 key
|
|
92
92
|
"footerLine1Keys": ["model", "context", "cache", "rate", "cost", "pi-usage"], // 每行芯片顺序;内置项与插件同一套排布
|
|
93
|
-
"footerLine2Keys": ["cwd", "git"],
|
|
93
|
+
"footerLine2Keys": ["cwd", "git"], // cwd:目录和会话名;git:分支和改动。可换到任意行
|
|
94
94
|
"footerLine3Keys": [] // 有可见芯片才占行
|
|
95
95
|
}
|
|
96
96
|
```
|
|
@@ -125,7 +125,7 @@ pi -e . # 只跑一次,不改 settings.json
|
|
|
125
125
|
|
|
126
126
|
## 致谢
|
|
127
127
|
|
|
128
|
-
- 基于 [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.
|
|
128
|
+
- 基于 [`minuque/pi-cc-extensions`](https://github.com/minuque/pi-cc-extensions) 1.0.11(MIT),上游基线 [`4697b4a`](https://github.com/minuque/pi-cc-extensions/commit/4697b4ac2cc28ee89bb9c37f1021e91075bfd94c);保留本仓库的配置迁移与兼容性补丁。
|
|
129
129
|
- 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)。
|
|
130
130
|
|
|
131
131
|
## 许可证
|
|
@@ -122,6 +122,7 @@ export const THINKING_PREVIEW_LINES_VALUES = ["0", "1", "3", "5", "10"];
|
|
|
122
122
|
export const THINKING_ANIMATION_INTERVAL_VALUES = ["40", "60", "90", "120", "180"];
|
|
123
123
|
/** Tools commonly toggled in excludeRenderers via the settings panel. */
|
|
124
124
|
export const EXCLUDE_RENDERER_CANDIDATES = [
|
|
125
|
+
"Agent",
|
|
125
126
|
"bash",
|
|
126
127
|
"powershell",
|
|
127
128
|
"read",
|
|
@@ -82,8 +82,8 @@ function modeSettingDescription(mode: CompactStyleMode): string {
|
|
|
82
82
|
|
|
83
83
|
function excludeRenderersDescription(names: readonly string[]): string {
|
|
84
84
|
return names.length === 0
|
|
85
|
-
? "No tools excluded.
|
|
86
|
-
: `Native renderer for: ${names.join(", ")}.
|
|
85
|
+
? "No tools excluded. Enter to toggle common tools."
|
|
86
|
+
: `Native renderer for: ${names.join(", ")}. Enter to toggle.`;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
function customFooterDescription(enabled: boolean): string {
|
|
@@ -275,10 +275,7 @@ function buildExcludeRenderersSubmenu(
|
|
|
275
275
|
const items = candidates.map((name) => ({
|
|
276
276
|
id: name,
|
|
277
277
|
label: name,
|
|
278
|
-
description:
|
|
279
|
-
name === "Agent"
|
|
280
|
-
? "Agent always uses its dedicated renderer and cannot be forced through ccstyle."
|
|
281
|
-
: `Use Pi native renderer for ${name} instead of Claude Code styling.`,
|
|
278
|
+
description: `Use Pi native renderer for ${name} instead of Claude Code styling.`,
|
|
282
279
|
currentValue: config.excludeRenderers.includes(name) ? "exclude" : "style",
|
|
283
280
|
values: ["style", "exclude"],
|
|
284
281
|
}));
|
|
@@ -820,27 +820,44 @@ export default function contextUsageExtension(pi: ExtensionAPI) {
|
|
|
820
820
|
return theme.style("█".repeat(Math.max(0, cells)), { fg: part.color });
|
|
821
821
|
})
|
|
822
822
|
.join("");
|
|
823
|
+
const amountCells = allParts.map((part) => {
|
|
824
|
+
const pct = contextWindow > 0 ? (part.tokens / contextWindow) * 100 : 0;
|
|
825
|
+
const tokens = formatTokens(part.tokens).padStart(7);
|
|
826
|
+
const percent = `${pct.toFixed(1).padStart(5)}%`;
|
|
827
|
+
return { tokens, percent, plain: `${tokens} ${percent}` };
|
|
828
|
+
});
|
|
829
|
+
// 数字列整体贴右:label 最多占到「行宽 - 数字列宽 - 前缀 - 边距」为止。
|
|
830
|
+
const amountWidth = Math.max(
|
|
831
|
+
...amountCells.map((cell) => visibleWidth(cell.plain)),
|
|
832
|
+
);
|
|
823
833
|
const labelWidth = Math.min(
|
|
824
834
|
24,
|
|
825
835
|
Math.max(...allParts.map((part) => part.label.length)),
|
|
836
|
+
Math.max(1, inner - amountWidth - 5),
|
|
826
837
|
);
|
|
827
838
|
const selectedLabel = visiblePreviews[selectedPreviewIndex]?.label;
|
|
828
|
-
const partRows = allParts.map((part) => {
|
|
829
|
-
const pct = contextWindow > 0 ? (part.tokens / contextWindow) * 100 : 0;
|
|
839
|
+
const partRows = allParts.map((part, index) => {
|
|
830
840
|
const swatch = theme.style("■", { fg: part.color });
|
|
831
841
|
const label = part.label.padEnd(labelWidth);
|
|
832
|
-
const amount =
|
|
842
|
+
const amount = amountCells[index];
|
|
833
843
|
const selected = part.label === selectedLabel;
|
|
834
844
|
const hoverLabel = visiblePreviews.find((p) => p.key === hoveredKey)?.label;
|
|
835
845
|
const prefix = selected ? "› " : " ";
|
|
836
|
-
const
|
|
846
|
+
const left = `${prefix}${swatch} ${label}`;
|
|
847
|
+
const gap = Math.max(
|
|
848
|
+
1,
|
|
849
|
+
inner - 1 - visibleWidth(left) - visibleWidth(amount?.plain ?? ""),
|
|
850
|
+
);
|
|
851
|
+
// token 数字用次级色,百分比保持正文色以保留可读的主指标。
|
|
852
|
+
const right = `${theme.fg("dim", amount?.tokens ?? "")} ${amount?.percent ?? ""}`;
|
|
853
|
+
const row = padLine(`${left}${" ".repeat(gap)}${right}`, inner);
|
|
837
854
|
if (selected) return theme.bg("selectedBg", row);
|
|
838
855
|
return part.label === hoverLabel ? theme.bg("customMessageBg", row) : row;
|
|
839
856
|
});
|
|
840
857
|
const border = (text: string) => theme.fg("border", text);
|
|
841
858
|
const lines = [
|
|
842
859
|
border(`╭${"─".repeat(inner)}╮`),
|
|
843
|
-
`${border("│")}${padLine(` ${title} ${theme.fg("
|
|
860
|
+
`${border("│")}${padLine(` ${title} ${theme.fg("dim", subtitle)}`, inner - escWidth)}${theme.fg(escHovered ? "text" : "muted", "[esc]")}${border("│")}`,
|
|
844
861
|
`${border("├")}${border("─".repeat(inner))}${border("┤")}`,
|
|
845
862
|
`${border("│")}${padLine(` ${segments}`, inner)}${border("│")}`,
|
|
846
863
|
`${border("│")}${" ".repeat(inner)}${border("│")}`,
|
|
@@ -64,6 +64,7 @@ import { paddedBackgroundRow } from "./tool/grouping.ts";
|
|
|
64
64
|
import { styleChangeCounts } from "./tool/ccstyle-tool.ts";
|
|
65
65
|
import { formatDisplayPath } from "./tool/names.ts";
|
|
66
66
|
import {
|
|
67
|
+
contentRowRange,
|
|
67
68
|
hasVisibleText,
|
|
68
69
|
removeStyledRange,
|
|
69
70
|
stripBackgroundAnsi,
|
|
@@ -372,7 +373,7 @@ function editWriteExpandedCard(theme: any, component: any): any {
|
|
|
372
373
|
/** compact 展开面板:外卡片保持展开卡背景;展开的 thinking 另包一层更深的
|
|
373
374
|
* 内卡(自身 Box 背景与外卡同色,不区分会糊在一起),工具卡直接铺在外卡背景上。
|
|
374
375
|
* 每个子卡前面补 1 行分隔(上一条已经是空行时不再补),子卡自带的首尾空行会被裁掉,
|
|
375
|
-
* 避免与外卡/内卡 padding
|
|
376
|
+
* 避免与外卡/内卡 padding 叠出双空行(内联图片的占位行不裁,见 contentRowRange)。
|
|
376
377
|
* hits:子卡的行区间与命中目标(thinking 命中自身,工具命中 tool 组件),
|
|
377
378
|
* 供展开后点击 hint。未开启 toolHits 时不映射工具,点击仍归外层面板。
|
|
378
379
|
* live=true:live 槽位用,不铺底色也不留上下空行,首行紧跟 `↳`、其余行缩进对齐
|
|
@@ -434,14 +435,8 @@ function layoutExpandedToolCard(
|
|
|
434
435
|
const painted = paints?.[childIndex];
|
|
435
436
|
const childLines = Array.isArray(painted) ? painted : child.render(innerWidth);
|
|
436
437
|
const innerCard = !live && isThinkingPreview(child) && child.expanded === true;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
for (let i = 0; i < childLines.length; i++) {
|
|
440
|
-
if (hasVisibleText(childLines[i])) {
|
|
441
|
-
if (first < 0) first = i;
|
|
442
|
-
last = i;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
438
|
+
// 内联图片按 placement 把范围撑开:锚点前后的空行是图片占的位置,不能当首尾空行裁。
|
|
439
|
+
const { first, last } = contentRowRange(childLines);
|
|
445
440
|
if (first < 0) {
|
|
446
441
|
if (live) continue;
|
|
447
442
|
for (const line of childLines) {
|
|
@@ -603,16 +598,20 @@ export type CompactModeHooks = {
|
|
|
603
598
|
/** 重新渲染包含指定 toolCallId 的 assistant 消息(思考收尾时刷新)。 */
|
|
604
599
|
refreshToolCallMessage(toolCallId: string | undefined): void;
|
|
605
600
|
/**
|
|
606
|
-
*
|
|
607
|
-
*
|
|
601
|
+
* 会话已空闲时收尾末尾回合。回放/切换样式/重载重建之后,末尾那条消息
|
|
602
|
+
* 后面没有消息来收口;活性只问会话,不从消息形状推断。
|
|
608
603
|
*/
|
|
609
|
-
|
|
604
|
+
settleIdleRound(): void;
|
|
605
|
+
/** agent 这轮跑完:收尾仍在 live 的末尾回合,别让它一直挂着 Running。 */
|
|
606
|
+
settleFinishedRound(): void;
|
|
610
607
|
shutdown(): void;
|
|
611
608
|
};
|
|
612
609
|
|
|
613
610
|
type CompactModeInstallDeps = {
|
|
614
611
|
query?: CompactThinkingQuery;
|
|
615
612
|
writeMetadata: WriteExecutionMetadataStore;
|
|
613
|
+
/** 会话是否空闲;测试注入用,正式路径取 ctx.isIdle。 */
|
|
614
|
+
isIdle?: () => boolean;
|
|
616
615
|
};
|
|
617
616
|
|
|
618
617
|
type CompactModePatch = {
|
|
@@ -1233,8 +1232,18 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
1233
1232
|
const liveSlotToolIds = new Set<string>();
|
|
1234
1233
|
const pendingFoldRounds = new Set<CompactRound>();
|
|
1235
1234
|
let uiRef: { requestRender?: (force?: boolean) => void } | undefined;
|
|
1235
|
+
let idleRef: (() => boolean) | undefined = deps.isIdle;
|
|
1236
1236
|
let roundTickTimer: ReturnType<typeof setInterval> | undefined;
|
|
1237
1237
|
|
|
1238
|
+
/** 会话是否空闲:回合活性的事实来源,取不到就当没空闲(宁可保留 Running)。 */
|
|
1239
|
+
const sessionIdle = (): boolean => {
|
|
1240
|
+
try {
|
|
1241
|
+
return idleRef?.() === true;
|
|
1242
|
+
} catch {
|
|
1243
|
+
return false;
|
|
1244
|
+
}
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1238
1247
|
const roundWallMs = (round: CompactRound): number => {
|
|
1239
1248
|
const end = round.active ? Date.now() : (round.endedAt ?? Date.now());
|
|
1240
1249
|
return Math.max(1, end - round.startedAt);
|
|
@@ -2172,6 +2181,19 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2172
2181
|
}
|
|
2173
2182
|
};
|
|
2174
2183
|
|
|
2184
|
+
/**
|
|
2185
|
+
* 会话已空闲时收尾末尾回合。重建 pass 内仍按顺序并回合(同一 turn 的多条
|
|
2186
|
+
* 消息要合成一条摘要),只在 pass 结束时对账:会话没在跑,末尾那条就不会
|
|
2187
|
+
* 再长出内容,停在 Running 是假的。
|
|
2188
|
+
*/
|
|
2189
|
+
const settleTrailingRound = (): void => {
|
|
2190
|
+
if (!sessionIdle()) return;
|
|
2191
|
+
const round = activeRound;
|
|
2192
|
+
if (!round) return;
|
|
2193
|
+
finalizeRound(round);
|
|
2194
|
+
renderRound(round);
|
|
2195
|
+
};
|
|
2196
|
+
|
|
2175
2197
|
patch.assistantInstalled = function (this: any, message: any, isStreaming?: boolean) {
|
|
2176
2198
|
const self = this as any;
|
|
2177
2199
|
// 同 compact-thinking:isStreaming 丢失 → mermaid 流式误渲染来回闪。
|
|
@@ -2423,6 +2445,7 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2423
2445
|
sync(ctx: any) {
|
|
2424
2446
|
if (!patch.active) return;
|
|
2425
2447
|
uiRef = ctx?.ui;
|
|
2448
|
+
if (typeof ctx?.isIdle === "function") idleRef = () => ctx.isIdle() === true;
|
|
2426
2449
|
resetRounds();
|
|
2427
2450
|
// 始终保持补丁在链上:mode=on/off 走 passThrough,仍写入 lastMessage
|
|
2428
2451
|
// 与 tracked 集合,这样 /ccstyle 切回 compact 时不必 /reload。
|
|
@@ -2431,6 +2454,7 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2431
2454
|
else hoveredAssistantComponent = undefined;
|
|
2432
2455
|
refreshTrackedComponents();
|
|
2433
2456
|
sweepOrphanTails();
|
|
2457
|
+
settleTrailingRound();
|
|
2434
2458
|
},
|
|
2435
2459
|
refresh() {
|
|
2436
2460
|
if (!patch.active) return;
|
|
@@ -2439,6 +2463,7 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2439
2463
|
if (config.mode !== "compact") hoveredAssistantComponent = undefined;
|
|
2440
2464
|
refreshTrackedComponents();
|
|
2441
2465
|
sweepOrphanTails();
|
|
2466
|
+
settleTrailingRound();
|
|
2442
2467
|
},
|
|
2443
2468
|
assertOwnership() {
|
|
2444
2469
|
if (!patch.active) return;
|
|
@@ -2459,11 +2484,16 @@ export function installCompactMode(deps: CompactModeInstallDeps): CompactModeHoo
|
|
|
2459
2484
|
}
|
|
2460
2485
|
}
|
|
2461
2486
|
},
|
|
2462
|
-
|
|
2487
|
+
settleIdleRound() {
|
|
2488
|
+
if (!patch.active || config.mode !== "compact") return;
|
|
2489
|
+
settleTrailingRound();
|
|
2490
|
+
},
|
|
2491
|
+
settleFinishedRound() {
|
|
2463
2492
|
if (!patch.active || config.mode !== "compact") return;
|
|
2464
2493
|
const round = activeRound;
|
|
2465
2494
|
if (!round) return;
|
|
2466
|
-
|
|
2495
|
+
// 走静默期:摘要行当场翻成 Ran for,槽位卡多留一拍再收拢。
|
|
2496
|
+
endRound(round, true);
|
|
2467
2497
|
renderRound(round);
|
|
2468
2498
|
},
|
|
2469
2499
|
shutdown() {
|
|
@@ -20,10 +20,7 @@ import { createCcstyleTool } from "./tool/ccstyle-tool.ts";
|
|
|
20
20
|
import type { WriteExecutionMetadataStore } from "./tool/diff/index.ts";
|
|
21
21
|
export { shouldRenderRichDiff } from "./tool/ccstyle-tool.ts";
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
const DEDICATED_RENDERER_TOOLS = new Set(["Agent"]);
|
|
25
|
-
|
|
26
|
-
/** 排除名单内且自带 renderer 的工具保留原渲染。 */
|
|
23
|
+
/** 排除名单内且自带 renderer 的工具保留原渲染;excludeRenderers 里的工具也交给原生渲染器。 */
|
|
27
24
|
export function preservesOriginalRenderer(
|
|
28
25
|
extensionDefinition: any,
|
|
29
26
|
toolName: string,
|
|
@@ -117,7 +114,6 @@ function shouldGloballyStyleTool(component: any, patch: GlobalToolRenderPatch):
|
|
|
117
114
|
// compact 也复用同一套 ccstyle call/result,避免折叠态工具卡回落到 Pi 原生样式。
|
|
118
115
|
const useCcstyle =
|
|
119
116
|
patch.mode() !== "off" &&
|
|
120
|
-
!DEDICATED_RENDERER_TOOLS.has(toolName) &&
|
|
121
117
|
!preservesOriginalRenderer(extensionDefinition, toolName, builtInDefinition);
|
|
122
118
|
component[COMPONENT_TOOL_RENDER_MODE] = useCcstyle;
|
|
123
119
|
return useCcstyle;
|
|
@@ -50,13 +50,17 @@ import {
|
|
|
50
50
|
setMessageDisplayTheme,
|
|
51
51
|
} from "./tool/message-display.ts";
|
|
52
52
|
import { GLOBAL_TOOL_RENDER_PATCH, patchRegistry } from "../utils/patch-keys.ts";
|
|
53
|
+
import {
|
|
54
|
+
installSubagentNotificationRenderer,
|
|
55
|
+
refreshSubagentNotifications,
|
|
56
|
+
} from "./tool/subagent-notification.ts";
|
|
53
57
|
|
|
54
58
|
/**
|
|
55
59
|
* Claude Code Style for pi — 装配入口。
|
|
56
60
|
*
|
|
57
61
|
* mode=on → default-mode(工具卡样式 + 展开背景)
|
|
58
62
|
* mode=compact → compact-mode(消息折叠摘要)
|
|
59
|
-
* 共用 → tool-grouping / message-display / mouse / write override
|
|
63
|
+
* 共用 → tool-grouping / message-display / subagent-notification / mouse / write override
|
|
60
64
|
*/
|
|
61
65
|
|
|
62
66
|
let compactModeHooks: CompactModeHooks | undefined;
|
|
@@ -65,6 +69,7 @@ function refreshCurrentTranscript(ctx?: any, toolGrouping?: ToolGroupingHooks):
|
|
|
65
69
|
const tui = getToolMouseTui();
|
|
66
70
|
toolGrouping?.refresh(tui);
|
|
67
71
|
refreshMessageDisplays(tui);
|
|
72
|
+
refreshSubagentNotifications(tui);
|
|
68
73
|
refreshCompactModeComponents(tui);
|
|
69
74
|
compactModeHooks?.refresh();
|
|
70
75
|
tui?.requestRender?.(true);
|
|
@@ -118,6 +123,7 @@ export default function (
|
|
|
118
123
|
toolGrouping: ToolGroupingHooks;
|
|
119
124
|
compactMode: CompactModeHooks;
|
|
120
125
|
disposeMessageDisplay: () => void;
|
|
126
|
+
disposeSubagentNotificationRenderer: () => void;
|
|
121
127
|
disposeToolExpandedBackground: () => void;
|
|
122
128
|
}
|
|
123
129
|
| undefined;
|
|
@@ -143,6 +149,8 @@ export default function (
|
|
|
143
149
|
});
|
|
144
150
|
compactModeHooks = compactMode;
|
|
145
151
|
const disposeMessageDisplay = installMessageDisplayRendering();
|
|
152
|
+
// pi-subagents 的结束通知:换查找结果而不注册,加载先后都归本插件,off 还给原生。
|
|
153
|
+
const disposeSubagentNotificationRenderer = installSubagentNotificationRenderer();
|
|
146
154
|
// 展开背景必须在 compact-mode 之后装,shutdown 时先于 compact 释放。
|
|
147
155
|
const disposeToolExpandedBackground = installToolExpandedBackground();
|
|
148
156
|
installation = {
|
|
@@ -150,6 +158,7 @@ export default function (
|
|
|
150
158
|
toolGrouping,
|
|
151
159
|
compactMode,
|
|
152
160
|
disposeMessageDisplay,
|
|
161
|
+
disposeSubagentNotificationRenderer,
|
|
153
162
|
disposeToolExpandedBackground,
|
|
154
163
|
};
|
|
155
164
|
return installation;
|
|
@@ -254,11 +263,14 @@ export default function (
|
|
|
254
263
|
syncCompactMode(ctx);
|
|
255
264
|
// compact-thinking 的 session_start 处理在本 handler 之后执行(在其之上再装
|
|
256
265
|
// 一层 updateContent);延迟再同步一次,保证 compact 补丁最终位于外层。
|
|
266
|
+
// 历史回放也在这之后跑完:sync 末尾按 ctx.isIdle() 收尾末尾回合,
|
|
267
|
+
// 它没有后续消息,不收就会停在 Running。
|
|
257
268
|
setTimeout(() => syncCompactMode(ctx), 0);
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
269
|
+
scheduleSessionRender(() => {
|
|
270
|
+
hooks.toolGrouping.refresh(getToolMouseTui());
|
|
271
|
+
// /reload、/resume 在 session_start 之前就重建了 transcript:已挂载的通知卡换上本插件的渲染器。
|
|
272
|
+
refreshSubagentNotifications(getToolMouseTui());
|
|
273
|
+
});
|
|
262
274
|
});
|
|
263
275
|
|
|
264
276
|
pi.on("session_compact", async (event, ctx) => {
|
|
@@ -295,6 +307,8 @@ export default function (
|
|
|
295
307
|
|
|
296
308
|
pi.on("agent_end", async () => {
|
|
297
309
|
clearLiveToolCalls();
|
|
310
|
+
// 这轮跑完:末尾回合没有正文收口(纯工具回合)就一直挂着 Running。
|
|
311
|
+
compactModeHooks?.settleFinishedRound();
|
|
298
312
|
});
|
|
299
313
|
|
|
300
314
|
pi.on("session_shutdown", async () => {
|
|
@@ -312,6 +326,7 @@ export default function (
|
|
|
312
326
|
current.compactMode.shutdown();
|
|
313
327
|
compactModeHooks = undefined;
|
|
314
328
|
current.disposeMessageDisplay();
|
|
329
|
+
current.disposeSubagentNotificationRenderer();
|
|
315
330
|
disposeStickyPromptPatches();
|
|
316
331
|
clearAllAnimations();
|
|
317
332
|
installation = undefined;
|
|
@@ -102,7 +102,10 @@ function deCircled(markdown: string): string {
|
|
|
102
102
|
// 跨行链接规整
|
|
103
103
|
// ============================================================================
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
// \x1b 排除:Pi 的带颜色 Mermaid 输出把每行包成含 ANSI SGR(\x1b[...m)的 code span,
|
|
106
|
+
// 转义序列里的 `[` 不能当成链接起点,否则匹配会从第一个转义跨行直到后面真正的 `](`,
|
|
107
|
+
// 把图和之后的段落全压成一行(#84)。
|
|
108
|
+
const MULTILINE_LINK_RE = /(?<!\x1b)\[([^\]\n\x1b]*(?:\n[^\]\n\x1b]*)+)\](?=\()/g;
|
|
106
109
|
|
|
107
110
|
/** 防止 Markdown 跨行链接把行尾填充空格纳入 OSC 8 点击区。 */
|
|
108
111
|
function normalizeMultilineLinks(markdown: string): string {
|
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
markCompactRoundToolExpanded,
|
|
13
13
|
setHoveredCompactAssistant,
|
|
14
14
|
} from "../compact-mode.ts";
|
|
15
|
-
import { isMessageDisplayComponent } from "../tool/message-display.ts";
|
|
16
15
|
import { isLazyProxyTui } from "../../utils/fullscreen-detect.ts";
|
|
17
16
|
import { setToolTuiFullscreen, isCollapseHintLine } from "../tool/names.ts";
|
|
18
17
|
import {
|
|
@@ -43,6 +42,7 @@ import {
|
|
|
43
42
|
collapsedHintHitbox,
|
|
44
43
|
fullscreenContentWidth,
|
|
45
44
|
fullscreenLeafAt,
|
|
45
|
+
isMessageCard,
|
|
46
46
|
isScrollbarColumnAt,
|
|
47
47
|
} from "./layout.ts";
|
|
48
48
|
import {
|
|
@@ -122,7 +122,7 @@ let sessionRenderTimer: ReturnType<typeof setTimeout> | null = null;
|
|
|
122
122
|
let latestInteractionFrame: InteractionFrame = { regions: [] };
|
|
123
123
|
|
|
124
124
|
/** Summary markers used by Pi and ccstyle; unlike the trailing hint, these survive truncation. */
|
|
125
|
-
const COLLAPSED_TOOL_SUMMARY = /^\s*(
|
|
125
|
+
const COLLAPSED_TOOL_SUMMARY = /^\s*(?:↳|└|⎿|●|✓|✗|…|\.\.\.)/;
|
|
126
126
|
|
|
127
127
|
function interactionRegionAt(packet: SgrMousePacket): InteractionRegion | null {
|
|
128
128
|
const matches = latestInteractionFrame.regions.filter(
|
|
@@ -347,28 +347,52 @@ function releaseFullscreenToolMouseMotion(tui?: any): void {
|
|
|
347
347
|
const FULLSCREEN_VIEWPORT_PATCH = Symbol("ccstyle.fullscreen-viewport-patch");
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
|
-
*
|
|
351
|
-
*
|
|
350
|
+
* 折叠卡上哪些行声明为展开入口。resultRendererComponent 自带 isCollapsedHintLine
|
|
351
|
+
* 的(diff/ask/codemode)按它声明的判,行号原样转发;不带的原生卡(grep/find/ls/
|
|
352
|
+
* read/bash/fallback)按原生展开提示的收尾特征判——pi 给结果区套整卡 MouseRegion,
|
|
353
|
+
* 正文行(含路径文本)也会被官方 click 展开,这里把入口收到提示那几行。
|
|
354
|
+
* localRow 是组件 render 内的行号(frame marker / 布局 localRow),供声明按行判。
|
|
352
355
|
*/
|
|
353
|
-
function isCollapsedHintRow(component: any, finalLine: string): boolean {
|
|
356
|
+
function isCollapsedHintRow(component: any, finalLine: string, localRow?: number): boolean {
|
|
354
357
|
const result = component?.resultRendererComponent;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
+
if (typeof result?.isCollapsedHintLine === "function") {
|
|
359
|
+
return result.isCollapsedHintLine(finalLine, localRow);
|
|
360
|
+
}
|
|
361
|
+
return isNativeExpandHintLine(finalLine);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/** 原生折叠卡展开提示的收尾特征:`(... N more lines, ctrl+o to expand)` 或行尾的 `to show more`。 */
|
|
365
|
+
function isNativeExpandHintLine(line: string): boolean {
|
|
366
|
+
return /(\([^()]*\/(?: click| to expand)\)|(?:[\w/+]+\s+)?to (?:expand|show more)\)?)\s*$/.test(
|
|
367
|
+
stripTerminalSequencesPreservingLayout(line),
|
|
368
|
+
);
|
|
358
369
|
}
|
|
359
370
|
|
|
360
371
|
/**
|
|
361
372
|
* pi 0.87 给工具结果区套了 MouseRegion:整卡左键 click 都会 setExpanded。
|
|
362
|
-
*
|
|
363
|
-
*
|
|
373
|
+
* 声明了展开入口的组件(diff remainder 等)与带原生展开提示的卡只放行入口行,
|
|
374
|
+
* 其余位置直接吞掉 click,避免官方把正文当展开入口;无任何展开提示行的原生卡
|
|
375
|
+
* (短输出 / excludeRenderers / mode=off)保持官方整卡 toggle。
|
|
364
376
|
*/
|
|
365
377
|
function blocksOfficialCardToggle(component: any, event: any): boolean {
|
|
366
378
|
if (event?.type !== "click" || event.button !== "left" || component?.expanded) return false;
|
|
367
|
-
const result = component?.resultRendererComponent;
|
|
368
|
-
if (typeof result?.isCollapsedHintLine !== "function") return false;
|
|
369
379
|
const lines = component.render?.(Math.max(1, Math.floor(Number(event.width) || 0)));
|
|
370
|
-
const
|
|
371
|
-
|
|
380
|
+
const row = event.y;
|
|
381
|
+
const line = Array.isArray(lines) ? lines[row] : undefined;
|
|
382
|
+
if (typeof line !== "string") return false;
|
|
383
|
+
|
|
384
|
+
const result = component?.resultRendererComponent;
|
|
385
|
+
if (typeof result?.isCollapsedHintLine === "function") {
|
|
386
|
+
return !result.isCollapsedHintLine(line, row);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
// 原生卡:只有整卡里确实存在展开提示行时,才把入口收到那些行;
|
|
390
|
+
// 无提示的短卡放行官方整卡 expand。
|
|
391
|
+
const hasNativeHint =
|
|
392
|
+
Array.isArray(lines) &&
|
|
393
|
+
lines.some((entry) => typeof entry === "string" && isNativeExpandHintLine(entry));
|
|
394
|
+
if (!hasNativeHint) return false;
|
|
395
|
+
return !isNativeExpandHintLine(line);
|
|
372
396
|
}
|
|
373
397
|
|
|
374
398
|
/**
|
|
@@ -410,7 +434,7 @@ function handleFullscreenToolClick(tui: any, packet: SgrMousePacket): boolean {
|
|
|
410
434
|
const isGroup = component instanceof ToolGroupComponent;
|
|
411
435
|
const isAssistant = isCompactAssistantComponent(component);
|
|
412
436
|
const isThinking = component instanceof ThinkingPreviewBlock;
|
|
413
|
-
const isMessage =
|
|
437
|
+
const isMessage = isMessageCard(component);
|
|
414
438
|
if (!isTool && !isGroup && !isAssistant && !isThinking && !isMessage) return false;
|
|
415
439
|
if (!component.expanded) {
|
|
416
440
|
// collapsed 仅按钮文本可展开,不能把同一行正文/留白变成点击区。
|
|
@@ -419,7 +443,7 @@ function handleFullscreenToolClick(tui: any, packet: SgrMousePacket): boolean {
|
|
|
419
443
|
const onHint = Boolean(
|
|
420
444
|
hint &&
|
|
421
445
|
(isThinking || (packet.col >= hint.startCol && packet.col <= hint.endCol)) &&
|
|
422
|
-
isCollapsedHintRow(component, line),
|
|
446
|
+
isCollapsedHintRow(component, line, hit.localRow),
|
|
423
447
|
);
|
|
424
448
|
if (!onHint) {
|
|
425
449
|
// 面板内非提示区(工具卡标题/摘要行、thinking 预览正文):单击收起整块面板。
|
|
@@ -573,7 +597,7 @@ function handleFullscreenToolHover(tui: any, packet: SgrMousePacket): void {
|
|
|
573
597
|
} else if (isCompactAssistantComponent(component)) {
|
|
574
598
|
// compact 摘要行:折叠时仅提示文字高亮,展开卡整体高亮。
|
|
575
599
|
if (component.expanded || overHint) target = { kind: "assistant", component };
|
|
576
|
-
} else if (
|
|
600
|
+
} else if (isMessageCard(component)) {
|
|
577
601
|
if (overHint) target = { kind: "message", component };
|
|
578
602
|
}
|
|
579
603
|
}
|
|
@@ -758,7 +782,7 @@ function buildInteractionFrame(
|
|
|
758
782
|
if (
|
|
759
783
|
box &&
|
|
760
784
|
COLLAPSED_TOOL_SUMMARY.test(stripTerminalSequences(line)) &&
|
|
761
|
-
isCollapsedHintRow(component, line)
|
|
785
|
+
isCollapsedHintRow(component, line, placement.componentRow)
|
|
762
786
|
) {
|
|
763
787
|
regions.push({ kind: "collapsed-hint", row: finalRow, ...box, component });
|
|
764
788
|
}
|