@herbertgao/pi-extensions 2026.10.11 → 2026.10.12
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 +7 -7
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/node_modules/@herbertgao/pi-agency/README.md +5 -3
- package/node_modules/@herbertgao/pi-agency/package.json +1 -1
- package/node_modules/@herbertgao/pi-agency/src/index.ts +51 -7
- package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-subagents/package.json +1 -1
- package/node_modules/@herbertgao/pi-subagents/src/agent-color.ts +11 -2
- package/node_modules/@herbertgao/pi-subagents/src/index.ts +10 -5
- package/node_modules/@herbertgao/pi-subagents/src/ui/agent-widget.ts +3 -2
- package/node_modules/@herbertgao/pi-subagents/src/ui/conversation-viewer.ts +1 -1
- package/node_modules/@herbertgao/pi-subagents/src/ui/fleet-list.ts +1 -0
- package/node_modules/@herbertgao/sol-pi/README.md +1 -1
- package/node_modules/@herbertgao/sol-pi/agents-install.md +2 -2
- package/node_modules/@narumitw/pi-btw/README.md +14 -5
- package/node_modules/@narumitw/pi-btw/dist/index.ts +1067 -560
- package/node_modules/@narumitw/pi-btw/dist/index.ts.map +4 -4
- package/node_modules/@narumitw/pi-btw/docs/core-alignment.md +277 -0
- package/node_modules/@narumitw/pi-btw/docs/native-appearance.md +857 -0
- package/node_modules/@narumitw/pi-btw/docs/workflows.md +34 -13
- package/node_modules/@narumitw/pi-btw/package.json +4 -4
- package/node_modules/@narumitw/pi-btw/src/btw.ts +152 -108
- package/node_modules/@narumitw/pi-btw/src/conversation-chrome.ts +93 -0
- package/node_modules/@narumitw/pi-btw/src/fullscreen-renderer.ts +329 -0
- package/node_modules/@narumitw/pi-btw/src/fullscreen-ui.ts +109 -315
- package/node_modules/@narumitw/pi-btw/src/keybindings.ts +100 -22
- package/node_modules/@narumitw/pi-btw/src/menu.ts +42 -27
- package/node_modules/@narumitw/pi-btw/src/session-lifetime.ts +66 -0
- package/node_modules/@narumitw/pi-btw/src/transcript-pager.ts +366 -164
- package/node_modules/@narumitw/pi-btw/src/workspace-layout.ts +96 -36
- package/node_modules/pi-lens/CHANGELOG.md +281 -0
- package/node_modules/pi-lens/README.md +13 -1
- package/node_modules/pi-lens/dist/{chunk-SS36ZX4J.js → chunk-24AKHFGP.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-JSQFTSC6.js → chunk-2FN63LPV.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-5UCAH366.js → chunk-2KXTHF3M.js} +20 -20
- package/node_modules/pi-lens/dist/{chunk-EU63SDCG.js → chunk-3DA2JDOL.js} +367 -281
- package/node_modules/pi-lens/dist/{chunk-RWWYJ623.js → chunk-3KAZU3VR.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-3PTHXJXR.js +28 -0
- package/node_modules/pi-lens/dist/chunk-3QED2P4V.js +31 -0
- package/node_modules/pi-lens/dist/{chunk-N2H3ZPZY.js → chunk-3RKP3FMS.js} +1 -0
- package/node_modules/pi-lens/dist/{chunk-XVF2VVXP.js → chunk-5HSRT26B.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-MXGY6KPT.js → chunk-5IUSNGOC.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-EJIUXPBX.js → chunk-5OFV52AM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-AW7R2GWG.js → chunk-5VSF4UUQ.js} +12 -7
- package/node_modules/pi-lens/dist/{chunk-6STA6Z7I.js → chunk-5WRPDP2A.js} +18 -18
- package/node_modules/pi-lens/dist/{chunk-YIUAVF7E.js → chunk-6DLWKFEX.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-WOA4LN2R.js → chunk-7D6L4MTX.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-GAEGEPOC.js → chunk-7HXE67BN.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-AGSS7277.js +84 -0
- package/node_modules/pi-lens/dist/{chunk-R3PCY3YS.js → chunk-AMERCH6V.js} +13 -13
- package/node_modules/pi-lens/dist/{chunk-WU567RSC.js → chunk-ATKJFDQN.js} +14 -10
- package/node_modules/pi-lens/dist/{chunk-VSSBEUFT.js → chunk-AWSCPCN2.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-VCHXCQFG.js → chunk-BWD5EPKO.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-H6MF6EVN.js → chunk-CT4MN5IU.js} +1200 -230
- package/node_modules/pi-lens/dist/{chunk-FCSOVF55.js → chunk-CUHSHSB6.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-CHOW74WE.js → chunk-CYRKQRPM.js} +7 -10
- package/node_modules/pi-lens/dist/{chunk-Q7DUK4LX.js → chunk-DEL2U6CM.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-6C7JWPCP.js → chunk-DGUKIYSI.js} +26 -23
- package/node_modules/pi-lens/dist/{chunk-PHDMFAKM.js → chunk-DUO2TU77.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-MRXKYPCS.js → chunk-EBC36LNN.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-CSHFH5IN.js → chunk-ED36RF6Y.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-76MWC2K6.js → chunk-EUXZEFTV.js} +90 -97
- package/node_modules/pi-lens/dist/{chunk-QOZXJ4NA.js → chunk-FM4RDMKT.js} +11 -8
- package/node_modules/pi-lens/dist/{chunk-ACXEQZOU.js → chunk-GAQ7OQG6.js} +31 -28
- package/node_modules/pi-lens/dist/{chunk-XAGLWMJ4.js → chunk-GL5LUMZE.js} +23 -23
- package/node_modules/pi-lens/dist/{chunk-BKE7E7TC.js → chunk-GMX5OS7B.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-ZHFZWTZV.js → chunk-GSLNCYGG.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-3W7IEVVL.js → chunk-GSM5UU7A.js} +26 -34
- package/node_modules/pi-lens/dist/{chunk-724UL2TJ.js → chunk-GXFV6MYU.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-HAD7QRQI.js +30 -0
- package/node_modules/pi-lens/dist/{chunk-QOBUHWHX.js → chunk-HRNHZA3N.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-VWCXW2E7.js → chunk-HWCCCQNX.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-7DYBLXYA.js → chunk-HYGZEMX6.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-IJYGIDF4.js +186 -0
- package/node_modules/pi-lens/dist/{chunk-4W4VLAPJ.js → chunk-IQWN5JCP.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-SQ4TVJBR.js → chunk-IUE7SSKV.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-IBGIOBEE.js → chunk-IWDLU6K3.js} +68 -5
- package/node_modules/pi-lens/dist/{chunk-XCJN5IJU.js → chunk-IYNJ6YPZ.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-JAU72XNY.js → chunk-J64T55EI.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-2BBLFX75.js → chunk-J6MPGQTS.js} +5 -5
- package/node_modules/pi-lens/dist/chunk-JORED7EX.js +44 -0
- package/node_modules/pi-lens/dist/{chunk-6SDEP3AJ.js → chunk-JUKMK5Y4.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-FMSO6RDZ.js → chunk-JW3YWBVB.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-L3BLXZG7.js → chunk-KAPJINKN.js} +30 -69
- package/node_modules/pi-lens/dist/{chunk-2B73ZPOK.js → chunk-KN35K52N.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-C34ZXZ7O.js → chunk-KUA4OJ5Y.js} +24 -11
- package/node_modules/pi-lens/dist/chunk-KYUB6QDC.js +72 -0
- package/node_modules/pi-lens/dist/{chunk-67WMNWEE.js → chunk-LLJNQKQW.js} +12 -10
- package/node_modules/pi-lens/dist/chunk-LZSEQW6A.js +57 -0
- package/node_modules/pi-lens/dist/{chunk-ZANLILYD.js → chunk-M2IFVFWU.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-M2UD3LPU.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-XIJZVPD5.js → chunk-MBKQHGA7.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-P7266HLM.js → chunk-MPNJLASA.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6GFRNVYR.js → chunk-MZGQNL3Y.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-ZWFS3OEF.js → chunk-N5FLEO7W.js} +33 -32
- package/node_modules/pi-lens/dist/{chunk-3JNKMP3B.js → chunk-O4NWQT6I.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-T6CPIZNT.js → chunk-OHKJ7PQF.js} +33 -32
- package/node_modules/pi-lens/dist/{chunk-VRZP76YM.js → chunk-P63GXC37.js} +4 -1
- package/node_modules/pi-lens/dist/{chunk-XTMJ7XDT.js → chunk-POMLXPMY.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-QQNQ7SJW.js → chunk-QBFBRV2B.js} +10 -4
- package/node_modules/pi-lens/dist/{chunk-CMMHNUZ2.js → chunk-R3T7CLQ2.js} +60 -38
- package/node_modules/pi-lens/dist/{chunk-23WOO7TX.js → chunk-R7YOCSNV.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-2CD5RS6M.js → chunk-RKBXZN3A.js} +23 -2
- package/node_modules/pi-lens/dist/{chunk-OCAGUNBC.js → chunk-RKKOYPRA.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-52FUZI6K.js → chunk-RMLC67LF.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-XMSXXAHW.js → chunk-ROYSX2S5.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-M6HSLBWY.js → chunk-RVK72CZX.js} +6507 -7514
- package/node_modules/pi-lens/dist/{chunk-FLKWCIZH.js → chunk-S2HEXIWI.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-UZ3TUTRV.js → chunk-S67KYG37.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-VCO24T4L.js → chunk-SD4I7ZO4.js} +14 -14
- package/node_modules/pi-lens/dist/{chunk-Z527N6YQ.js → chunk-SKAMFC7A.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-MQLUAEOC.js → chunk-SRYEJNES.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-BRGDSBJE.js → chunk-SYE6T2EB.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-GXW6K4YJ.js → chunk-T57LYLZT.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ZXYDQ3TZ.js → chunk-T7FEBKXN.js} +48 -15
- package/node_modules/pi-lens/dist/{chunk-3EFKIGZN.js → chunk-TIQ2PKDW.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-QILIYSJF.js → chunk-TLX72JTG.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-TYM6OUIT.js → chunk-TOY6QKOH.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-IZSHAIJ7.js → chunk-TRETHTQO.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-3VPVG5SU.js → chunk-U44DJXQP.js} +10 -6
- package/node_modules/pi-lens/dist/{chunk-PNQDPDRC.js → chunk-UA7ZXYDR.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-OXXKQCSV.js → chunk-UBOQLVT2.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-QGQ5CCCG.js → chunk-UMS2MFPZ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QHJ6DQ2R.js → chunk-US7ECLD7.js} +55 -13
- package/node_modules/pi-lens/dist/{chunk-AB3YYG6N.js → chunk-UZ2XCLYS.js} +8 -8
- package/node_modules/pi-lens/dist/chunk-V35JG4JB.js +2667 -0
- package/node_modules/pi-lens/dist/{chunk-N3X6Q4YT.js → chunk-VOOAPROD.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-SAEFPSB6.js → chunk-W66O5E25.js} +21 -11
- package/node_modules/pi-lens/dist/{chunk-KBG47GHP.js → chunk-WMYE35PX.js} +15 -11
- package/node_modules/pi-lens/dist/{chunk-5NGR67U5.js → chunk-XBJVAEEO.js} +32 -5
- package/node_modules/pi-lens/dist/{chunk-YYOIQFRS.js → chunk-XHJBS436.js} +122 -44
- package/node_modules/pi-lens/dist/{chunk-GBPP5P7X.js → chunk-XTBDCR27.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-4UNXBNE2.js → chunk-XTFDJI3T.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-UXGETRP4.js → chunk-XYURS6EN.js} +13 -12
- package/node_modules/pi-lens/dist/{chunk-RPLINGVB.js → chunk-Y6GZHWSJ.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-2VUQMUMT.js → chunk-YCWYO6TQ.js} +41 -38
- package/node_modules/pi-lens/dist/{chunk-77M37OKR.js → chunk-YH5MVY2U.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-AOHZU2BM.js → chunk-YNE3RP52.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YSZNHOBY.js → chunk-ZHH37KZL.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-ZGDGW2V3.js → chunk-ZIVJBOO3.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-RXCOMYPY.js → chunk-ZVUL7QYY.js} +29 -28
- package/node_modules/pi-lens/dist/index.js +11052 -5852
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +10 -9
- package/node_modules/pi-lens/dist/mcp/cli.js +41 -38
- package/node_modules/pi-lens/dist/mcp/server.js +1120 -474
- package/node_modules/pi-lens/dist/mcp/worker.js +61 -58
- package/node_modules/pi-lens/dist/probes/installer.js +19 -19
- package/node_modules/pi-lens/dist/workers/project-snapshot-persist-worker.js +28 -9
- package/node_modules/pi-lens/dist/workers/review-graph-persist-worker.js +1 -1
- package/node_modules/pi-lens/docs/configuration.md +11 -0
- package/node_modules/pi-lens/docs/engineering-principles.md +32 -0
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +1 -1
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +15 -26
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +117 -13
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +97 -7
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +8 -2
- package/node_modules/pi-lens/docs/pi-lens-retro.md +4 -1
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +112 -4
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +22 -14
- package/node_modules/pi-lens/docs/release-qa-baseline.md +3 -1
- package/node_modules/pi-lens/docs/servercapabilities.md +9 -19
- package/node_modules/pi-lens/package.json +7 -5
- package/node_modules/pi-lens/scripts/download-grammars.js +40 -7
- package/node_modules/pi-lens/scripts/lib/latency-log-phases.mjs +95 -0
- package/node_modules/pi-lens/scripts/rpc-load-check.mjs +570 -81
- package/node_modules/pi-provider-qoder/dist/index.js +323 -154
- package/node_modules/pi-provider-qoder/package.json +1 -1
- package/node_modules/pi-web-access/CHANGELOG.md +39 -0
- package/node_modules/pi-web-access/README.md +83 -12
- package/node_modules/pi-web-access/anysearch.ts +4 -3
- package/node_modules/pi-web-access/bocha.ts +4 -3
- package/node_modules/pi-web-access/brightdata-unlocker.ts +3 -2
- package/node_modules/pi-web-access/brightdata.ts +4 -3
- package/node_modules/pi-web-access/ceramic.ts +3 -2
- package/node_modules/pi-web-access/curator-page.ts +3 -1
- package/node_modules/pi-web-access/curator-server.ts +1 -0
- package/node_modules/pi-web-access/deepseek.ts +179 -6
- package/node_modules/pi-web-access/dist/index.js +1118 -688
- package/node_modules/pi-web-access/dist/mcp-cli.js +1081 -667
- package/node_modules/pi-web-access/extract.ts +58 -6
- package/node_modules/pi-web-access/gemini-search.ts +29 -6
- package/node_modules/pi-web-access/index.ts +20 -3
- package/node_modules/pi-web-access/jina-search.ts +6 -4
- package/node_modules/pi-web-access/kagi.ts +5 -4
- package/node_modules/pi-web-access/keenable.ts +3 -2
- package/node_modules/pi-web-access/linkup.ts +170 -0
- package/node_modules/pi-web-access/mistral-search.ts +4 -3
- package/node_modules/pi-web-access/ollama.ts +5 -4
- package/node_modules/pi-web-access/package.json +1 -1
- package/node_modules/pi-web-access/parallel.ts +7 -7
- package/node_modules/pi-web-access/perplexity.ts +5 -3
- package/node_modules/pi-web-access/querit.ts +4 -3
- package/node_modules/pi-web-access/search1api.ts +4 -3
- package/node_modules/pi-web-access/searchinfinity.ts +4 -3
- package/node_modules/pi-web-access/serpapi.ts +7 -5
- package/node_modules/pi-web-access/serpbase.ts +5 -4
- package/node_modules/pi-web-access/serpdive.ts +4 -3
- package/node_modules/pi-web-access/serper.ts +6 -4
- package/node_modules/pi-web-access/serply.ts +3 -2
- package/node_modules/pi-web-access/utils.ts +24 -1
- package/node_modules/pi-web-access/valyu.ts +4 -3
- package/node_modules/pi-web-access/web-tool-core.ts +5 -0
- package/node_modules/pi-web-access/xai-search.ts +49 -7
- package/node_modules/pi-web-access/xcrawl.ts +4 -3
- package/node_modules/pi-web-access/you.ts +3 -2
- package/package.json +9 -9
- package/node_modules/pi-lens/dist/chunk-3YN6V5TV.js +0 -85
- package/node_modules/pi-lens/dist/chunk-466Z26MG.js +0 -30
- package/node_modules/pi-lens/dist/chunk-EC47DWFA.js +0 -56
- package/node_modules/pi-lens/dist/chunk-KDERNTCQ.js +0 -28
- package/node_modules/pi-lens/dist/chunk-KSX3TXSZ.js +0 -69
- package/node_modules/pi-lens/dist/chunk-LOP6GRPH.js +0 -31
- package/node_modules/pi-lens/dist/chunk-UOPVJQ4N.js +0 -103
- /package/node_modules/pi-lens/dist/{chunk-FC4RP4I2.js → chunk-6HWVI6MI.js} +0 -0
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Aggregate installer for HerbertGao-maintained Pi extensions and pinned upstream
|
|
|
8
8
|
pi install npm:@herbertgao/pi-extensions
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Requires Node.js
|
|
11
|
+
Requires Node.js 22.19.0 or newer and Pi 1.2.0 or newer.
|
|
12
12
|
|
|
13
13
|
## Native MCP
|
|
14
14
|
|
|
@@ -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.2`
|
|
25
25
|
- `@dietrichgebert/ponytail@5.3.2`
|
|
26
26
|
- `@juicesharp/rpiv-ask-user-question@2.13.9`
|
|
27
|
-
- `@narumitw/pi-btw@0.
|
|
27
|
+
- `@narumitw/pi-btw@0.62.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`
|
|
@@ -36,14 +36,14 @@ The package bundles 5 active `@herbertgao/*` child packages—`pi-agency`, `pi-b
|
|
|
36
36
|
- `@tifan/pi-rename@0.6.0`
|
|
37
37
|
- `pi-typesafe@0.10.0`
|
|
38
38
|
- `pi-next-cue@1.0.7`
|
|
39
|
-
- `pi-lens@4.4.
|
|
40
|
-
- `pi-web-access@0.
|
|
39
|
+
- `pi-lens@4.4.4`
|
|
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
44
|
The locally customized CC package follows upstream `pi-cc-extensions@1.0.8`; 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.13.9` lets other extensions in the same process answer or cancel TUI questionnaires through its event channel, without sender authentication. Web Access `0.
|
|
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.13.9` lets other extensions in the same process answer or cancel TUI questionnaires through its event channel, without sender authentication. 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
|
|
|
@@ -59,7 +59,7 @@ Ponytail `5.3.2` updates the Pi skill guidance, including how to turn it off. It
|
|
|
59
59
|
|
|
60
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.9.1` provides `/typesafe` and `typesafe_evaluate` for explicit structured decisions; `/typesafe enable` or `PI_TYPESAFE_ENABLED=1` is still required for agent tool calls. The Pi extension continues to use the TypeSafe API, not Liquid. The package's programmatic client additionally supports Liquid with its own API key and free or paid models; existing usage accounting now merges writes under a short-lived file lock (up to 200ms synchronous wait under contention).
|
|
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.4` 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.50.0`. `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.2` 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
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -163,4 +163,4 @@ THE SOFTWARE.
|
|
|
163
163
|
|
|
164
164
|
## `pi-provider-qoder`
|
|
165
165
|
|
|
166
|
-
The aggregate bundles [`pi-provider-qoder`](https://github.com/simonsmh/pi-provider-qoder) version 0.6.
|
|
166
|
+
The aggregate bundles [`pi-provider-qoder`](https://github.com/simonsmh/pi-provider-qoder) version 0.6.2 under its original package name. npm metadata and the repository README declare the MIT license. The published tarball does not include a LICENSE file. The published package corresponds to git commit [`9764217c0c2c8db9f442b87e045153a11a6dfb1c`](https://github.com/simonsmh/pi-provider-qoder/commit/9764217c0c2c8db9f442b87e045153a11a6dfb1c).
|
|
@@ -11,7 +11,7 @@ The catalog location is fixed at `~/.agency-agents`. `agency_dispatch` also need
|
|
|
11
11
|
|
|
12
12
|
## Tools
|
|
13
13
|
|
|
14
|
-
`agency_search({ queries, limit?, per_division? })` returns cards (`path`, `name`, `description`, `score`) for each query. It ranks every `<division>/**/*.md` file with `name` and `description` frontmatter by BM25 over name, path, and description. It returns at most `limit` cards per query (default 6) and `per_division` cards per top-level division (default 2). The repository's `integrations`, `strategy`, `examples`, and `scripts` directories are skipped.
|
|
14
|
+
`agency_search({ queries, limit?, per_division? })` returns cards (`path`, `name`, `description`, `score`) for each query. The text form prints each card's absolute path; `catalog` plus `path` compose the same path for programmatic callers. It ranks every `<division>/**/*.md` file with `name` and `description` frontmatter by BM25 over name, path, and description. It returns at most `limit` cards per query (default 6) and `per_division` cards per top-level division (default 2). The repository's `integrations`, `strategy`, `examples`, and `scripts` directories are skipped.
|
|
15
15
|
|
|
16
16
|
`agency_dispatch({ runs, shared?, shared_file?, subagent_type?, isolated?, model?, thinking?, max_turns?, record_dir? })` runs every `runs[i].prompt` as a foreground `Agent` call, all in parallel, and returns when they finish. Foreground calls do not queue completion notifications for the parent session.
|
|
17
17
|
|
|
@@ -19,8 +19,10 @@ The catalog location is fixed at `~/.agency-agents`. `agency_dispatch` also need
|
|
|
19
19
|
- `{{shared}}` is replaced by `shared` or the text of `shared_file`.
|
|
20
20
|
- Each placeholder must appear exactly once when its value is given and must not appear otherwise. Substitution happens in one pass, so `$&` and placeholder-like text in inserted content stay literal.
|
|
21
21
|
- Defaults are `subagent_type: "general-purpose"` and `isolated: true`, which gives subagents built-in tools only.
|
|
22
|
-
- Each result includes `promptSha256` for the prompt actually sent, plus the run's status, agent id, resolved model, and output.
|
|
23
|
-
- `
|
|
22
|
+
- Each result includes `promptSha256` for the prompt actually sent, plus the run's status, agent id, resolved model, duration, tool uses, tokens, and output. The text form repeats those statistics on the heading of a completed run.
|
|
23
|
+
- All runs come back inside one tool result, so their `Agent` calls stay nested and get no separate transcript rows. Seat, review, and any other lane that needs its own row, its own model, or its own turn cap belongs in one `Agent` call per lane, not here.
|
|
24
|
+
- `max_turns` is omitted unless you pass it, so a run decides when it is done; set it only to bound a runaway.
|
|
25
|
+
- `record_dir` must be absolute and used by one dispatch at a time. It receives `<id>.prompt.txt` and `<id>.return.txt` with mode `0600`. The call fails before any dispatch if one of those files already exists.
|
|
24
26
|
|
|
25
27
|
Both tools return `structuredContent`, so codemode scripts receive objects instead of text.
|
|
26
28
|
|
|
@@ -167,7 +167,26 @@ export function fillPrompt(
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
const sha256 = (text: string) => createHash("sha256").update(text).digest("hex")
|
|
170
|
+
|
|
171
|
+
/** Same wording pi-subagents prints, so one run reads the same on every surface. */
|
|
172
|
+
function statsLine(run: {
|
|
173
|
+
durationMs: number | null
|
|
174
|
+
toolUses: number | null
|
|
175
|
+
tokens: string | null
|
|
176
|
+
}): string {
|
|
177
|
+
const parts = [
|
|
178
|
+
run.durationMs === null
|
|
179
|
+
? undefined
|
|
180
|
+
: `${(run.durationMs / 1000).toFixed(1)}s`,
|
|
181
|
+
run.toolUses === null
|
|
182
|
+
? undefined
|
|
183
|
+
: `${run.toolUses} tool use${run.toolUses === 1 ? "" : "s"}`,
|
|
184
|
+
run.tokens,
|
|
185
|
+
].filter(Boolean)
|
|
186
|
+
return parts.length ? ` (${parts.join(", ")})` : ""
|
|
187
|
+
}
|
|
170
188
|
const NullableString = Type.Union([Type.String(), Type.Null()])
|
|
189
|
+
const NullableNumber = Type.Union([Type.Number(), Type.Null()])
|
|
171
190
|
|
|
172
191
|
/** Some models fill every optional parameter with "" or 0; every such value here means omitted. */
|
|
173
192
|
export function dropPlaceholders(args: unknown): any {
|
|
@@ -186,7 +205,7 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
186
205
|
name: "agency_search",
|
|
187
206
|
label: "Agency Search",
|
|
188
207
|
description:
|
|
189
|
-
"Search the local Agency Agents catalog (~/.agency-agents) without listing or reading it into context. Each query (one per review axis or touchpoint) returns up to `limit` cards (catalog path, name, description) ranked by BM25 over name, path and description, with at most `per_division` cards per top-level division. Pick personas from the cards
|
|
208
|
+
"Search the local Agency Agents catalog (~/.agency-agents) without listing or reading it into context. Each query (one per review axis or touchpoint) returns up to `limit` cards (catalog path, name, description) ranked by BM25 over name, path and description, with at most `per_division` cards per top-level division. Pick personas from the cards and let the seat read the file.",
|
|
190
209
|
promptSnippet: "Shortlist Agency Agents personas by query",
|
|
191
210
|
prepareArguments: dropPlaceholders,
|
|
192
211
|
parameters: Type.Object({
|
|
@@ -225,6 +244,7 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
225
244
|
),
|
|
226
245
|
}),
|
|
227
246
|
async execute(_toolCallId, params) {
|
|
247
|
+
const base = realRoot(root)
|
|
228
248
|
const cards = loadCatalog(root)
|
|
229
249
|
const results = params.queries.map((query) => ({
|
|
230
250
|
query,
|
|
@@ -236,7 +256,8 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
236
256
|
`## ${result.query}\n` +
|
|
237
257
|
(result.cards
|
|
238
258
|
.map(
|
|
239
|
-
(card) =>
|
|
259
|
+
(card) =>
|
|
260
|
+
`- ${join(base, card.path)} — ${card.name}: ${card.description}`,
|
|
240
261
|
)
|
|
241
262
|
.join("\n") || "(no match)"),
|
|
242
263
|
)
|
|
@@ -258,12 +279,12 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
258
279
|
name: "agency_dispatch",
|
|
259
280
|
label: "Agency Dispatch",
|
|
260
281
|
description:
|
|
261
|
-
"Run subagents in parallel through pi-subagents' Agent tool and return all results together. Runs are foreground, so no completion notifications follow. Each run's prompt is sent as written after `{{persona}}` is replaced by the persona file's body (frontmatter removed) and `{{shared}}` by `shared` or the text of `shared_file`, so persona text never passes through your context. Personas outside the catalog or containing <persona> delimiters are rejected.
|
|
282
|
+
"Run subagents in parallel through pi-subagents' Agent tool and return all results together. Runs are foreground, so no completion notifications follow. Each run's prompt is sent as written after `{{persona}}` is replaced by the persona file's body (frontmatter removed) and `{{shared}}` by `shared` or the text of `shared_file`, so persona text never passes through your context. Personas outside the catalog or containing <persona> delimiters are rejected. Every run shares one tool result, so its Agent calls stay nested and get no separate transcript rows: seat, review, and any other lane that needs its own row, model, or turn cap belongs in one Agent call per lane, not here. Each result carries status, the SHA-256 of the prompt actually sent, duration, tool uses, tokens, and output; `record_dir` also saves <id>.prompt.txt and <id>.return.txt and never overwrites. `max_turns` is omitted unless you set it, so a run decides when it is done. Defaults: subagent_type general-purpose, isolated true (built-in tools only).",
|
|
262
283
|
promptSnippet:
|
|
263
284
|
"Dispatch catalog personas to parallel subagents without reading them",
|
|
264
285
|
prepareArguments: dropPlaceholders,
|
|
265
286
|
promptGuidelines: [
|
|
266
|
-
"For Agency Agents personas, use agency_search
|
|
287
|
+
"For Agency Agents personas, use agency_search to pick the seat, then one Agent call per seat carrying that persona's path; reach for agency_dispatch only for bulk work that does not need a run per row.",
|
|
267
288
|
],
|
|
268
289
|
parameters: Type.Object({
|
|
269
290
|
runs: Type.Array(
|
|
@@ -300,7 +321,13 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
300
321
|
isolated: Type.Optional(Type.Boolean()),
|
|
301
322
|
model: Type.Optional(Type.String()),
|
|
302
323
|
thinking: Type.Optional(Type.String()),
|
|
303
|
-
max_turns: Type.Optional(
|
|
324
|
+
max_turns: Type.Optional(
|
|
325
|
+
Type.Integer({
|
|
326
|
+
minimum: 1,
|
|
327
|
+
description:
|
|
328
|
+
"Turn cap. Omit it unless host policy requires one, so the run decides when it is done.",
|
|
329
|
+
}),
|
|
330
|
+
),
|
|
304
331
|
record_dir: Type.Optional(
|
|
305
332
|
Type.String({
|
|
306
333
|
description:
|
|
@@ -317,6 +344,9 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
317
344
|
status: Type.String(),
|
|
318
345
|
agentId: NullableString,
|
|
319
346
|
model: NullableString,
|
|
347
|
+
durationMs: NullableNumber,
|
|
348
|
+
toolUses: NullableNumber,
|
|
349
|
+
tokens: NullableString,
|
|
320
350
|
output: Type.String(),
|
|
321
351
|
}),
|
|
322
352
|
),
|
|
@@ -398,12 +428,17 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
398
428
|
status?: string
|
|
399
429
|
agentId?: string
|
|
400
430
|
modelName?: string
|
|
431
|
+
durationMs?: number
|
|
432
|
+
toolUses?: number
|
|
433
|
+
tokens?: string
|
|
401
434
|
}
|
|
402
|
-
// pi-subagents prefixes foreground output with "Agent completed in
|
|
435
|
+
// pi-subagents prefixes foreground output with "Agent completed in 5.4s (2 tool uses).\n\n".
|
|
403
436
|
const header = /^(?:[\s\S]*?\n)?Agent completed in [^\n]*\n\n/.exec(
|
|
404
437
|
text,
|
|
405
438
|
)
|
|
406
439
|
const output = header ? text.slice(header[0].length) : text
|
|
440
|
+
// Reuse the producer's own wording so one run reads the same everywhere.
|
|
441
|
+
|
|
407
442
|
record(`${run.id}.return.txt`, output)
|
|
408
443
|
return {
|
|
409
444
|
id: run.id,
|
|
@@ -414,13 +449,22 @@ export function agencyTools(root = CATALOG_ROOT) {
|
|
|
414
449
|
: (details.status ?? (header ? "completed" : "unknown")),
|
|
415
450
|
agentId: details.agentId ?? null,
|
|
416
451
|
model: details.modelName ?? null,
|
|
452
|
+
// A hand-off to the background reports zeroes where a run measured.
|
|
453
|
+
durationMs:
|
|
454
|
+
details.status === "background"
|
|
455
|
+
? null
|
|
456
|
+
: (details.durationMs ?? null),
|
|
457
|
+
toolUses:
|
|
458
|
+
details.status === "background" ? null : (details.toolUses ?? null),
|
|
459
|
+
tokens:
|
|
460
|
+
details.status === "background" ? null : details.tokens || null,
|
|
417
461
|
output,
|
|
418
462
|
}
|
|
419
463
|
})
|
|
420
464
|
const text = results
|
|
421
465
|
.map(
|
|
422
466
|
(run) =>
|
|
423
|
-
`## ${run.id}${run.persona ? ` ${run.persona}` : ""}: ${run.status}\nsha256 ${run.promptSha256}\n\n${run.output}`,
|
|
467
|
+
`## ${run.id}${run.persona ? ` ${run.persona}` : ""}: ${run.status}${statsLine(run)}\nsha256 ${run.promptSha256}\n\n${run.output}`,
|
|
424
468
|
)
|
|
425
469
|
.join("\n\n")
|
|
426
470
|
return {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.22.0-local.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#306](https://github.com/HerbertGao/pi-extensions/pull/306) [`935acc3`](https://github.com/HerbertGao/pi-extensions/commit/935acc38af54c76b6924bb48a0b09d2c59e4997f) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Label a run with its own `name` in the agent widget, the expanded agent block, the fleet list, the conversation header, and the Agent tool row, keeping its type's badge color. `agency_dispatch` now reports per-run duration, tool uses, and tokens in both its text and its structured result, and reports none of them for a run handed off to the background.
|
|
8
|
+
|
|
3
9
|
## 0.22.0-local.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -192,8 +192,17 @@ export function renderAgentName(
|
|
|
192
192
|
type: string | undefined,
|
|
193
193
|
theme: AgentNameTheme,
|
|
194
194
|
style: AgentNameStyle = {},
|
|
195
|
+
/** A run's own name, which outranks its type's label while keeping the type's color. */
|
|
196
|
+
label?: string,
|
|
195
197
|
): string {
|
|
196
|
-
if (!type)
|
|
198
|
+
if (!type) {
|
|
199
|
+
return renderAgentNameLabel(label ?? "Agent", undefined, theme, style)
|
|
200
|
+
}
|
|
197
201
|
const config = getConfig(type)
|
|
198
|
-
return renderAgentNameLabel(
|
|
202
|
+
return renderAgentNameLabel(
|
|
203
|
+
label ?? config.displayName,
|
|
204
|
+
config.color,
|
|
205
|
+
theme,
|
|
206
|
+
style,
|
|
207
|
+
)
|
|
199
208
|
}
|
|
@@ -2280,11 +2280,16 @@ Terse command-style prompts produce shallow, generic work.
|
|
|
2280
2280
|
)
|
|
2281
2281
|
: ""
|
|
2282
2282
|
const desc = args.description ?? ""
|
|
2283
|
-
const name = renderAgentName(
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2283
|
+
const name = renderAgentName(
|
|
2284
|
+
args.subagent_type,
|
|
2285
|
+
theme,
|
|
2286
|
+
{
|
|
2287
|
+
fallbackColor: "toolTitle",
|
|
2288
|
+
restoreBackground: rowBackground,
|
|
2289
|
+
bold: true,
|
|
2290
|
+
},
|
|
2291
|
+
args.name,
|
|
2292
|
+
)
|
|
2288
2293
|
return new Text(
|
|
2289
2294
|
rowBackground +
|
|
2290
2295
|
"▸ " +
|
|
@@ -441,6 +441,7 @@ export class AgentWidget {
|
|
|
441
441
|
startedAt: number
|
|
442
442
|
completedAt?: number
|
|
443
443
|
error?: string
|
|
444
|
+
alias?: string
|
|
444
445
|
lifetimeUsage?: LifetimeUsage
|
|
445
446
|
},
|
|
446
447
|
theme: Theme,
|
|
@@ -484,7 +485,7 @@ export class AgentWidget {
|
|
|
484
485
|
parts.push(duration)
|
|
485
486
|
|
|
486
487
|
const modeTag = modeLabel ? ` ${theme.fg("dim", `(${modeLabel})`)}` : ""
|
|
487
|
-
return `${icon} ${renderAgentName(a.type, theme, { fallbackColor: "dim" })}${modeTag} ${theme.fg("dim", a.description)} ${theme.fg("dim", "·")} ${theme.fg("dim", parts.join(" · "))}${statusText}`
|
|
488
|
+
return `${icon} ${renderAgentName(a.type, theme, { fallbackColor: "dim" }, a.alias)}${modeTag} ${theme.fg("dim", a.description)} ${theme.fg("dim", "·")} ${theme.fg("dim", parts.join(" · "))}${statusText}`
|
|
488
489
|
}
|
|
489
490
|
|
|
490
491
|
/**
|
|
@@ -579,7 +580,7 @@ export class AgentWidget {
|
|
|
579
580
|
runningLines.push([
|
|
580
581
|
truncate(
|
|
581
582
|
theme.fg("dim", "├─") +
|
|
582
|
-
` ${theme.fg("accent", frame)} ${renderAgentName(a.type, theme, { bold: true })}${modeTag} ${theme.fg("muted", a.description)} ${theme.fg("dim", "·")} ${fgPreservingNestedStyles(theme, "dim", statsText)}`,
|
|
583
|
+
` ${theme.fg("accent", frame)} ${renderAgentName(a.type, theme, { bold: true }, a.alias)}${modeTag} ${theme.fg("muted", a.description)} ${theme.fg("dim", "·")} ${fgPreservingNestedStyles(theme, "dim", statsText)}`,
|
|
583
584
|
),
|
|
584
585
|
truncate(theme.fg("dim", "│ ") + theme.fg("dim", ` ⎿ ${activity}`)),
|
|
585
586
|
])
|
|
@@ -594,7 +594,7 @@ export class ConversationViewer implements Component, Focusable {
|
|
|
594
594
|
|
|
595
595
|
lines.push(
|
|
596
596
|
row(
|
|
597
|
-
`${statusIcon} ${renderAgentName(this.record.type, th, { bold: true })}${modeTag} ${th.fg("muted", this.record.description)} ${th.fg("dim", "·")} ${fgPreservingNestedStyles(th, "dim", headerParts.join(" · "))}`,
|
|
597
|
+
`${statusIcon} ${renderAgentName(this.record.type, th, { bold: true }, this.record.alias)}${modeTag} ${th.fg("muted", this.record.description)} ${th.fg("dim", "·")} ${fgPreservingNestedStyles(th, "dim", headerParts.join(" · "))}`,
|
|
598
598
|
),
|
|
599
599
|
)
|
|
600
600
|
const invocationLine = this.invocationLine()
|
|
@@ -67,7 +67,7 @@ Read our paper: [SoL-Pi: Recursively Scaling Auto-Research Loops for Efficient A
|
|
|
67
67
|
|
|
68
68
|
### Requirements
|
|
69
69
|
|
|
70
|
-
- Node.js
|
|
70
|
+
- Node.js 22.19.0 or newer
|
|
71
71
|
- npm
|
|
72
72
|
- `@earendil-works/pi-coding-agent` 1.2.0 (the monorepo's tested host; runtime peers remain `*`)
|
|
73
73
|
|
|
@@ -7,7 +7,7 @@ Installation and configuration are complete only when Pi remains unmodified, the
|
|
|
7
7
|
## Rules
|
|
8
8
|
|
|
9
9
|
- Do not modify, patch, fork, or vendor upstream Pi. SoL-Pi must load as a standalone extension through Pi's public package interface.
|
|
10
|
-
- Use Node.js
|
|
10
|
+
- Use Node.js 22.19.0 or newer and the tested Pi release `@earendil-works/pi-coding-agent@1.2.0`. Treat a different Pi version as a compatibility change and rerun the full suite before using it.
|
|
11
11
|
- Do not clean, reset, switch, or overwrite unrelated repository changes.
|
|
12
12
|
- Do not print, log, commit, upload, or include any secret in a command line. Check only whether a credential is present.
|
|
13
13
|
- Keep SoL-Pi settings in `sol-pi.json`. The Evidence-Preserving Reducer provider/model route is a SoL-Pi setting; provider URLs, credentials, the main agent model, and shell behavior remain Pi settings.
|
|
@@ -35,7 +35,7 @@ node --version
|
|
|
35
35
|
npm --version
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Require Node.js
|
|
38
|
+
Require Node.js 22.19.0 or newer. In this monorepo, run the dependency and full checks from the repository root, then return to `packages/sol-pi` for package validation:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
# Repository root
|
|
@@ -10,12 +10,13 @@ Only context you explicitly bring back is loaded into the main editor.
|
|
|
10
10
|
- Starts a side thread immediately with `/btw <question>` or opens the manager with `/btw`.
|
|
11
11
|
- Uses any persisted main-session branch as context without switching branches.
|
|
12
12
|
- Supports scrollable answers, transcript search, a clickable jump-to-latest control, follow-up questions, queued steering, and in-memory resume.
|
|
13
|
-
-
|
|
13
|
+
- Uses Pi's message components, a native-style working editor border, and a compact footer below the editor.
|
|
14
|
+
- Offers fullscreen, side-thread-left, and side-thread-right workspaces with Pi's live main-thread view, mouse or keyboard pane focus, and a draggable remembered divider.
|
|
14
15
|
- Renders supported Mermaid fences as width-safe, themed Unicode diagrams without a browser or network request.
|
|
15
16
|
- Keeps side questions and answers out of the main conversation by default.
|
|
16
17
|
- Brings back the latest answer, a question suffix, an exact range, or the complete thread only when requested.
|
|
17
18
|
- Uses Pi's current model and thinking level or saved pi-btw choices.
|
|
18
|
-
- Offers BTW-only exit, thinking-cycle,
|
|
19
|
+
- Offers BTW-only exit, thinking-cycle, bring-to-main, and pane-switch keybindings.
|
|
19
20
|
|
|
20
21
|
## 📦 Install
|
|
21
22
|
|
|
@@ -116,7 +117,9 @@ Pi-btw does not inherit Pi core's setting of the same name because Pi's public e
|
|
|
116
117
|
`layout` controls the dedicated workspace and defaults to `fullscreen` when omitted.
|
|
117
118
|
Accepted values are `fullscreen`, `left-pane`, and `right-pane`.
|
|
118
119
|
The pane names identify the side thread's position; the other pane reuses Pi's native main-thread rendering at pane width and stays current while BTW is open.
|
|
119
|
-
A single muted divider separates the panes; click either pane to move keyboard focus
|
|
120
|
+
A single muted divider separates the panes; click either pane or use the pane-switch shortcut to move keyboard focus.
|
|
121
|
+
The footer below the editor shows **BTW focus** or **Main focus** and the available switch key.
|
|
122
|
+
It also shows the selected side model and thinking level when space permits; narrow or short views omit optional fields and hints before the active input row.
|
|
120
123
|
Drag the divider with the primary mouse button to resize both panes.
|
|
121
124
|
The side-thread share is limited to 20–80% and saved as `sidePaneRatio` when the button is released, independent of whether the side thread is on the left or right.
|
|
122
125
|
If the save fails, the workspace restores the last saved ratio and reports the error.
|
|
@@ -138,6 +141,7 @@ The literal `/btw settings` remains a side question, not a settings subcommand.
|
|
|
138
141
|
| `exit` | `ctrl+c` | Cancel and leave the dedicated side-thread workspace, including its nested dialogs. |
|
|
139
142
|
| `cycleThinkingLevel` | Inherit Pi's `app.thinking.cycle` | Cycle supported levels while composing or generating. |
|
|
140
143
|
| `bringToMain` | `ctrl+r` | Open the bring-to-main chooser after a completed answer. |
|
|
144
|
+
| `switchPane` | First available `f6`, `f7`, or `f8` | Switch keyboard focus between panes in a split workspace. |
|
|
141
145
|
|
|
142
146
|
For example, merge these overrides into `pi-btw.json`:
|
|
143
147
|
|
|
@@ -159,6 +163,8 @@ Actual availability depends on the terminal; `super` and some modified combinati
|
|
|
159
163
|
New overrides cannot take ordinary typing keys or conflict with BTW actions, Pi editing, selection, search, scrolling, or enabled manual-copy bindings.
|
|
160
164
|
Pi's explicitly configured printable thinking shortcuts remain inherited for compatibility.
|
|
161
165
|
If a saved override becomes conflicting, BTW warns and uses an available default; if none is usable, that shortcut is unavailable and its activation hint is omitted.
|
|
166
|
+
The pane-switch action uses only the first available fallback and does not displace an existing BTW override or inherited Pi thinking shortcut.
|
|
167
|
+
It has no effect in fullscreen-only or collapsed layouts, and background pane switching is blocked while an overlay owns focus.
|
|
162
168
|
An explicitly unbound Pi thinking action stays unbound. Remove an override field to restore its default; neither saving nor resetting modifies Pi's global keybindings.
|
|
163
169
|
**Ctrl+C always remains available as hard cancel**, even after configuring another exit key. Shortcut handling does not interpret bracketed-paste payloads as commands.
|
|
164
170
|
|
|
@@ -176,10 +182,13 @@ The file is read for every `/btw` invocation, so edits apply without `/reload`.
|
|
|
176
182
|
## 🚧 Limitations
|
|
177
183
|
|
|
178
184
|
- `/btw` supports TUI mode only.
|
|
179
|
-
- Only the
|
|
185
|
+
- Only the active pane receives keyboard input; hovering or scrolling over the other pane does not move focus.
|
|
180
186
|
- Resume state is memory-only and lasts only for the current extension instance.
|
|
181
187
|
- A side thread retains the latest 40,000 characters of main-conversation context and adds a truncation notice when earlier content is omitted.
|
|
182
188
|
- Clipboard access depends on Pi's host helper, the operating system, and the terminal.
|
|
189
|
+
- The live workspace still uses a BTW-owned terminal handoff and private host-layout access because Pi has no public workspace-composition API; see the [core-alignment handoff](./docs/core-alignment.md) for tested safeguards, exact limits, and proposed APIs.
|
|
190
|
+
- Pi does not expose all effective renderer options or a public clipboard-read callback. BTW uses native automatic wheel behavior but does not inherit private host wheel overrides or right-click clipboard paste.
|
|
191
|
+
- Conversation appearance follows native defaults, not custom host editor/footer extensions or private padding settings. BTW uses one-cell message padding and zero-cell editor padding; see the [appearance reference and before/after frames](./docs/native-appearance.md).
|
|
183
192
|
- Malformed, unsupported, or oversized Mermaid diagrams remain readable as fenced source; partial parses also show a warning.
|
|
184
193
|
- Pi versions before 0.85 omit the clickable jump-to-latest control.
|
|
185
194
|
|
|
@@ -191,7 +200,7 @@ packages/pi-btw/
|
|
|
191
200
|
│ ├── index.ts # Thin Pi entrypoint
|
|
192
201
|
│ └── btw.ts # Side-thread lifecycle and command
|
|
193
202
|
├── dist/ # Generated Jiti runtime
|
|
194
|
-
├── docs/ #
|
|
203
|
+
├── docs/ # Workflows, appearance evidence, and core-alignment handoff
|
|
195
204
|
├── scripts/build-runtime.mjs # Runtime builder
|
|
196
205
|
└── test/ # Behavior and lifecycle coverage
|
|
197
206
|
```
|