@herbertgao/pi-extensions 2026.11.19 → 2026.11.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +10 -10
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/node_modules/@estebanforge/pi-antigravity-bridge/CHANGELOG.md +8 -0
- package/node_modules/@estebanforge/pi-antigravity-bridge/README.md +9 -5
- package/node_modules/@estebanforge/pi-antigravity-bridge/extensions/index.ts +11 -1
- package/node_modules/@estebanforge/pi-antigravity-bridge/package.json +1 -1
- package/node_modules/@estebanforge/pi-antigravity-bridge/src/config.ts +71 -13
- package/node_modules/@estebanforge/pi-antigravity-bridge/src/provider.ts +148 -47
- package/node_modules/@narumitw/pi-btw/CHANGELOG.md +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/{main-tree-picker-3PXJARQW.ts → main-tree-picker-WMTVRTR2.ts} +1 -1
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WMTVRTR2.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/index.ts +1 -1
- package/node_modules/@narumitw/pi-btw/docs/core-alignment.md +6 -0
- package/node_modules/@narumitw/pi-btw/package.json +5 -5
- package/node_modules/@narumitw/pi-btw/src/main-tree-picker.ts +1 -1
- package/node_modules/@narumitw/pi-caffeinate/CHANGELOG.md +7 -0
- package/node_modules/@narumitw/pi-caffeinate/package.json +3 -3
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +121 -0
- package/node_modules/pi-lens/README.md +9 -2
- package/node_modules/pi-lens/dist/{chunk-ZVQUYCBU.js → chunk-2ERVW2UF.js} +161 -100
- package/node_modules/pi-lens/dist/{chunk-AFSG6YUB.js → chunk-2K7BUOKS.js} +13 -13
- package/node_modules/pi-lens/dist/{chunk-BJGWP4UX.js → chunk-3JJ4OAJI.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-GIK6VUCY.js → chunk-3UHGSUVL.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-EKQDQPX6.js → chunk-463WN3VP.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-F7BFIENK.js → chunk-4X3ML2UQ.js} +29 -32
- package/node_modules/pi-lens/dist/{chunk-7JMEPY6P.js → chunk-5BI5YP57.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-MKW7ZUTT.js → chunk-5Z4XLUFF.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-NIZKGBOU.js → chunk-62AJH3IN.js} +12 -14
- package/node_modules/pi-lens/dist/{chunk-4GLSO2EM.js → chunk-6F34GMP7.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-35UJUF27.js → chunk-6LIUVGOR.js} +13 -3
- package/node_modules/pi-lens/dist/{chunk-WJ7GY5WJ.js → chunk-6REF4GCO.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-HFIFEH46.js → chunk-7KRR24GO.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-WAK2AXQQ.js → chunk-7OMOMBEQ.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-S7KUDW73.js → chunk-7ZFXICNN.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-VEF3GFOL.js → chunk-ABKRQVOY.js} +28 -52
- package/node_modules/pi-lens/dist/{chunk-Y2LIOCA7.js → chunk-ANSLRJBG.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ARTCVE6I.js → chunk-AWMFBPGJ.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-H6DNTQ4V.js → chunk-BG7KHGNX.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-FD4LJQ6Y.js → chunk-BK2R2223.js} +10 -8
- package/node_modules/pi-lens/dist/{chunk-TWAQFMLW.js → chunk-BXXC6KRR.js} +31 -34
- package/node_modules/pi-lens/dist/{chunk-S247BOH2.js → chunk-CKJS2AUI.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-GNK2IHVG.js → chunk-COGU5KQJ.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-P7EV5ISR.js → chunk-CQNXALZJ.js} +12 -6
- package/node_modules/pi-lens/dist/{chunk-IO6P3NBP.js → chunk-CSZESDPP.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-CZ5TCJPB.js +98 -0
- package/node_modules/pi-lens/dist/{chunk-DLGJYQML.js → chunk-D2LFEA5U.js} +9 -2
- package/node_modules/pi-lens/dist/chunk-D3KLF5CD.js +50 -0
- package/node_modules/pi-lens/dist/{chunk-W2JPGW7Q.js → chunk-ENJ2M76Y.js} +20 -20
- package/node_modules/pi-lens/dist/{chunk-2DWNYVUN.js → chunk-EQKF6BAK.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-KIQSNH3F.js → chunk-F2SAP2FM.js} +38 -45
- package/node_modules/pi-lens/dist/{chunk-BYIEU4E4.js → chunk-F6QAJXQV.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-GR2QDWH5.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-T2D2WWP6.js → chunk-GVE5VZYQ.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-HMXWZUQW.js → chunk-GWZZOJD2.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-GZS6VPIE.js +27 -0
- package/node_modules/pi-lens/dist/chunk-H4B4SC7I.js +71 -0
- package/node_modules/pi-lens/dist/{chunk-2RQREVGO.js → chunk-HA6TUJOE.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-NAACKIKT.js → chunk-HKPJTI47.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-NHHS5T52.js → chunk-HPKC55MA.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-B2QO7GHY.js → chunk-I65CQLCG.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-BQ72NQQM.js → chunk-IDKLWVKY.js} +11 -11
- package/node_modules/pi-lens/dist/chunk-IUM2Q7NF.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-PVV27TOX.js → chunk-J24IS3KZ.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-DKXIUGNA.js → chunk-J2DAHH4T.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-CDAJQBKJ.js → chunk-JBDZVOFL.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-T7KHGEJ5.js → chunk-JC6NFC57.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-BWGNVM33.js → chunk-JTHEUTW7.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-WWZLT6AM.js → chunk-JWW3ODBN.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-Q32RJDYC.js → chunk-K3ZIYLHT.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-LDPY22FS.js → chunk-KDPZA2UE.js} +2 -3
- package/node_modules/pi-lens/dist/{chunk-YIEHUKX2.js → chunk-KMY2OU4T.js} +489 -285
- package/node_modules/pi-lens/dist/{chunk-WH6O4IFD.js → chunk-KQF7VT26.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-OG3UCAHV.js → chunk-KVGA7X76.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-TABDCX35.js → chunk-KW7O72AK.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-AOEVZXR6.js → chunk-LEQTVRSV.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-7BWPQZHE.js → chunk-LKPSBM6S.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-WA6U2URH.js → chunk-LKW2HFSZ.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-M3QGXGY4.js → chunk-LURFD4HD.js} +624 -97
- package/node_modules/pi-lens/dist/{chunk-2YQ5LI7R.js → chunk-M6ELTECW.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-OHTHVILU.js → chunk-MGVVYYKW.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-W2YHHNY3.js → chunk-MQBKGRSB.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-MET776XM.js → chunk-MVG2ZEAO.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-2XALJI2K.js → chunk-MY4XNNTX.js} +39 -41
- package/node_modules/pi-lens/dist/{chunk-GFCPPCNR.js → chunk-N4AJVFRF.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-UARVPNAU.js → chunk-OFKKMXWM.js} +31 -36
- package/node_modules/pi-lens/dist/{chunk-DHFJS2I4.js → chunk-OFZE4ANN.js} +8 -8
- package/node_modules/pi-lens/dist/chunk-OLXBUTJR.js +61 -0
- package/node_modules/pi-lens/dist/{chunk-SJ2SR432.js → chunk-OZGEHOSG.js} +38 -17
- package/node_modules/pi-lens/dist/{chunk-6MDWNZ7E.js → chunk-PKGOROPQ.js} +40 -2
- package/node_modules/pi-lens/dist/{chunk-3IWMNN2S.js → chunk-Q6D5QKRG.js} +17 -17
- package/node_modules/pi-lens/dist/{chunk-JGCBMCCS.js → chunk-QECLJFHI.js} +12 -17
- package/node_modules/pi-lens/dist/{chunk-KXKM2DFP.js → chunk-QJA33VD5.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-YV7XVYSJ.js → chunk-R5XVJ6AN.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-62PIU4TO.js → chunk-REZL4OM4.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-NNDZ7DOP.js → chunk-RK5RBREN.js} +74 -107
- package/node_modules/pi-lens/dist/chunk-RP5ZQTHO.js +86 -0
- package/node_modules/pi-lens/dist/{chunk-HKRESBMC.js → chunk-RURPX2YV.js} +23 -23
- package/node_modules/pi-lens/dist/chunk-TB5MGZLS.js +53 -0
- package/node_modules/pi-lens/dist/chunk-TC63XRYP.js +27 -0
- package/node_modules/pi-lens/dist/chunk-TJOYHAXJ.js +69 -0
- package/node_modules/pi-lens/dist/{chunk-NZ7NSKIW.js → chunk-TRXKDCBP.js} +13 -13
- package/node_modules/pi-lens/dist/{chunk-7WAQ3K26.js → chunk-TTK37D7R.js} +22 -23
- package/node_modules/pi-lens/dist/{chunk-ALTHJUZO.js → chunk-UH3QHLR5.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6MZLS6CK.js → chunk-UNTJJ7GN.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-XRLZ75YY.js → chunk-UPAFSETJ.js} +54 -59
- package/node_modules/pi-lens/dist/{chunk-N2U644ZW.js → chunk-UX75PTQW.js} +50 -17
- package/node_modules/pi-lens/dist/{chunk-EXHSWN3P.js → chunk-V353PYMK.js} +423 -233
- package/node_modules/pi-lens/dist/{chunk-SL4G67AP.js → chunk-V4TFQY5G.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YOMLAKU6.js → chunk-VC3W54G3.js} +289 -138
- package/node_modules/pi-lens/dist/{chunk-KSQJBGRO.js → chunk-VSBCJVPC.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-EBXCYEII.js → chunk-WAQQGXVV.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-7ORBRDFY.js → chunk-WLEVWR7Y.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-Q4UQNTLB.js → chunk-WPMPVP5I.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-TQKWR5AZ.js → chunk-WXNLFOC2.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-HOWHAKXO.js → chunk-Y3ZNOZZS.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-DNJJVKJZ.js → chunk-YL6JQTWC.js} +29 -32
- package/node_modules/pi-lens/dist/{chunk-HUWW77QY.js → chunk-YVE5Q2UU.js} +86 -217
- package/node_modules/pi-lens/dist/{chunk-25CAONWT.js → chunk-YZNARDMM.js} +12 -9
- package/node_modules/pi-lens/dist/{chunk-HERQPNY6.js → chunk-ZDWNFZJ2.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-MKQFSW2Q.js → chunk-ZEUF7BIN.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-AB26NAHA.js → chunk-ZIF4WLWR.js} +45 -25
- package/node_modules/pi-lens/dist/{chunk-6MWX2J5H.js → chunk-ZSPVF7KI.js} +227 -24
- package/node_modules/pi-lens/dist/{chunk-QQGZY2BR.js → chunk-ZX6OKBVO.js} +2 -2
- package/node_modules/pi-lens/dist/index.js +6455 -5243
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +8 -8
- package/node_modules/pi-lens/dist/mcp/cli.js +39 -41
- package/node_modules/pi-lens/dist/mcp/server.js +870 -559
- package/node_modules/pi-lens/dist/mcp/worker.js +68 -59
- package/node_modules/pi-lens/dist/probes/installer.js +19 -20
- package/node_modules/pi-lens/docs/configuration.md +24 -10
- package/node_modules/pi-lens/docs/defect-shapes.md +18 -2
- package/node_modules/pi-lens/docs/environment-variables.md +18 -9
- package/node_modules/pi-lens/docs/globalconfig.md +16 -0
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +7 -0
- package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +33 -3
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +23 -10
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +8 -3
- package/node_modules/pi-lens/docs/release-qa-baseline.md +22 -17
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +9 -2
- package/node_modules/pi-lens/docs/tools.md +1 -1
- package/node_modules/pi-lens/package.json +3 -3
- package/node_modules/pi-typesafe/README.md +1 -1
- package/node_modules/pi-typesafe/dist/ask.js +6 -3
- package/node_modules/pi-typesafe/dist/auth.d.ts +31 -7
- package/node_modules/pi-typesafe/dist/auth.js +159 -55
- package/node_modules/pi-typesafe/dist/batch.d.ts +16 -2
- package/node_modules/pi-typesafe/dist/batch.js +62 -22
- package/node_modules/pi-typesafe/dist/calibrate.d.ts +38 -11
- package/node_modules/pi-typesafe/dist/calibrate.js +56 -24
- package/node_modules/pi-typesafe/dist/client.d.ts +13 -0
- package/node_modules/pi-typesafe/dist/client.js +67 -27
- package/node_modules/pi-typesafe/dist/errors.d.ts +20 -0
- package/node_modules/pi-typesafe/dist/errors.js +105 -2
- package/node_modules/pi-typesafe/dist/extension.d.ts +106 -0
- package/node_modules/pi-typesafe/dist/extension.js +206 -106
- package/node_modules/pi-typesafe/dist/index.d.ts +8 -8
- package/node_modules/pi-typesafe/dist/index.js +3 -3
- package/node_modules/pi-typesafe/dist/key-prompt.d.ts +20 -0
- package/node_modules/pi-typesafe/dist/key-prompt.js +23 -3
- package/node_modules/pi-typesafe/dist/login.d.ts +58 -1
- package/node_modules/pi-typesafe/dist/login.js +167 -13
- package/node_modules/pi-typesafe/dist/schema.d.ts +3 -0
- package/node_modules/pi-typesafe/dist/schema.js +47 -13
- package/node_modules/pi-typesafe/dist/ui.d.ts +2 -1
- package/node_modules/pi-typesafe/dist/usage.d.ts +53 -0
- package/node_modules/pi-typesafe/dist/usage.js +79 -40
- package/node_modules/pi-typesafe/package.json +3 -3
- package/package.json +8 -8
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-3PXJARQW.ts.map +0 -7
- package/node_modules/pi-lens/dist/chunk-3UTDLQWO.js +0 -88
- package/node_modules/pi-lens/dist/chunk-3Z7Z3B7V.js +0 -27
- package/node_modules/pi-lens/dist/chunk-4E4OCW3L.js +0 -38
- package/node_modules/pi-lens/dist/chunk-5HVDD7IA.js +0 -17
- package/node_modules/pi-lens/dist/chunk-BKJ6WZKP.js +0 -255
- package/node_modules/pi-lens/dist/chunk-D3UQWOCB.js +0 -46
- package/node_modules/pi-lens/dist/chunk-EH6EHFW2.js +0 -73
- package/node_modules/pi-lens/dist/chunk-J7VNGHLN.js +0 -69
- package/node_modules/pi-lens/dist/chunk-L3Q72QGQ.js +0 -25
- package/node_modules/pi-lens/dist/chunk-TFSBHRL2.js +0 -25
- package/node_modules/pi-lens/dist/chunk-UWBD3JMH.js +0 -56
- package/node_modules/pi-lens/dist/chunk-XWWFESYZ.js +0 -27
- package/node_modules/pi-lens/dist/chunk-XZSXSM4K.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @herbertgao/pi-extensions
|
|
2
2
|
|
|
3
|
+
## 2026.11.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#416](https://github.com/HerbertGao/pi-extensions/pull/416) [`e76e871`](https://github.com/HerbertGao/pi-extensions/commit/e76e871a7789047843b72892409a597a7a9c18d1) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Pin `@estebanforge/pi-antigravity-bridge@1.13.2`, `@narumitw/pi-btw@0.63.9`, `@narumitw/pi-caffeinate@0.49.16`, and `pi-lens@4.5.2`. Promote `@narumitw/pi-tui-kit@^0.71.0` and `@ast-grep/cli@0.51.2` for BTW, caffeinate, and pi-lens.
|
|
8
|
+
|
|
9
|
+
## 2026.11.20
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#413](https://github.com/HerbertGao/pi-extensions/pull/413) [`e703338`](https://github.com/HerbertGao/pi-extensions/commit/e703338631d4174a4fdf9485284b1e50a8e62df8) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Pin Graphify PyPI `0.9.115` and bundle `pi-typesafe@0.15.1` so TypeSafe accepts Pi 1.x peers and per-backend auth matches the published companion releases.
|
|
14
|
+
|
|
3
15
|
## 2026.11.19
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -20,13 +20,13 @@ When migrating from `pi-mcp-adapter`, remove any standalone adapter install as w
|
|
|
20
20
|
|
|
21
21
|
The package bundles 7 active `@herbertgao/*` child packages—`pi-agency`, `pi-bark`, `pi-cc-extensions`, `pi-impeccable`, `pi-inline-skill-commands`, `pi-subagents`, and `sol-pi`—plus the following upstream packages under their original names:
|
|
22
22
|
|
|
23
|
-
- `@estebanforge/pi-antigravity-bridge@1.13.
|
|
23
|
+
- `@estebanforge/pi-antigravity-bridge@1.13.2`
|
|
24
24
|
- `pi-commandcode-provider@0.8.4`
|
|
25
25
|
- `pi-provider-qoder@0.6.13`
|
|
26
26
|
- `@dietrichgebert/ponytail@5.3.3`
|
|
27
27
|
- `@juicesharp/rpiv-ask-user-question@2.15.0`
|
|
28
|
-
- `@narumitw/pi-btw@0.63.
|
|
29
|
-
- `@narumitw/pi-caffeinate@0.49.
|
|
28
|
+
- `@narumitw/pi-btw@0.63.9`
|
|
29
|
+
- `@narumitw/pi-caffeinate@0.49.16`
|
|
30
30
|
- `@pi-plugins/fast-mode@0.1.16`
|
|
31
31
|
- `@tifan/pi-copy-response@0.2.7`
|
|
32
32
|
- `@tifan/pi-handoff@2.2.2`
|
|
@@ -34,16 +34,16 @@ The package bundles 7 active `@herbertgao/*` child packages—`pi-agency`, `pi-b
|
|
|
34
34
|
- `@tifan/pi-recap@0.4.8`
|
|
35
35
|
- `@tifan/pi-rename@0.6.0`
|
|
36
36
|
- `@tintinweb/pi-tasks@0.9.1`
|
|
37
|
-
- `pi-typesafe@0.
|
|
37
|
+
- `pi-typesafe@0.15.1`
|
|
38
38
|
- `pi-next-cue@1.0.8`
|
|
39
|
-
- `pi-lens@4.5.
|
|
39
|
+
- `pi-lens@4.5.2`
|
|
40
40
|
- `pi-web-access@0.48.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.21`; 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
|
-
`@estebanforge/pi-antigravity-bridge@1.13.
|
|
46
|
+
`@estebanforge/pi-antigravity-bridge@1.13.2` registers the `antigravity` provider for Gemini models in `/model` (`antigravity/*`). It shells out to the official `agy` CLI: default engine `agy acp` (ACP), with stream-json as fallback. Install and sign in to `agy` on the host before using the provider; the aggregate does not bundle or invoke Google OAuth directly. Configure runtime with `/agy` (engine, bridge tools, permissions, model, thinking). Web search and fetch are not bundled like the retired unofficial provider; use `pi-web-access` or enable the bridge's opt-in web tools. Ask `2.15.0` lets other extensions in the same process answer or cancel TUI questionnaires through its event channel, without sender authentication. Its notes shortcut defaults to `n` and can be a single non-Latin character; reserved navigation keys stay on `n`. Web Access `0.45.0` keeps direct tool exposure and `toolActivation: auto` by default. Linkup, DeepSeek search and fetch, provider gateways, `toolActivation: "none"`, deferred exposure, GCE ADC, field extraction, 9router, and plain HTTP gateway URLs require explicit configuration. Web Access `0.48.0` adds SpecStream, Autom, and cloro as explicit-only search providers. A search timeout is a network failure, so a route that falls back on network continues. DuckDuckGo searches in one process start at least 10 seconds apart, at most 10 in any 10 minutes, and a slot more than 20 seconds away fails at once. Web Access `0.47.0` adds Sofya and Outcrawl as explicit-only search providers. `lockProxy: true` rejects a tool-call proxy that differs from the configured proxy, including a direct connection. A GitHub repository README is returned up to 100K characters, and a clone with no `githubClone.clonePath` goes under the OS temp directory.
|
|
47
47
|
|
|
48
48
|
Ponytail `5.3.2` updates the Pi skill guidance, including how to turn it off. Its Pi extension entry is unchanged; the new Claude Code band/board hooks are not registered by this aggregate.
|
|
49
49
|
|
|
@@ -59,13 +59,13 @@ Impeccable `4.10.0` is vendored as `@herbertgao/pi-impeccable` and loaded with `
|
|
|
59
59
|
|
|
60
60
|
`@herbertgao/pi-inline-skill-commands` completes and expands Pi's native `/skill:<name>` commands inside a larger prompt. At token boundaries the dropdown lists only skills and completion keeps the surrounding text. Submission renders the same collapsed skill block a start-of-prompt command produces and keeps your sentence, command included, beneath it. Commands at the start of the prompt stay native, ordinary commands such as `/model` remain start-only, and no `/<name>` aliases are added, so skill entries are not duplicated. It uses `CustomEditor`'s private autocomplete trigger to fire on `/`; see the [package README](../pi-inline-skill-commands/README.md).
|
|
61
61
|
|
|
62
|
-
`@narumitw/pi-caffeinate@0.49.
|
|
62
|
+
`@narumitw/pi-caffeinate@0.49.16` uses the host platform's sleep inhibitor during each Pi agent run. On macOS, `/caffeinate sleep` keeps the system awake while allowing the display to sleep; `/caffeinate display` also keeps the display awake. It releases the inhibitor when the run or session ends. Its D-Bus dependency remains on the normal socket transport under Node; Bun on Linux/macOS can use FFI and an in-process reader thread for Unix file-descriptor transport, and that thread can be unreferenced so the connection need not keep the process alive. It falls back when FFI is unavailable. No daemon or build step is added. The published extension source is unchanged from 0.49.15 aside from the manifest. It declares `@narumitw/pi-tui-kit@^0.71.0` and `dbus-native@^0.16.3`. BTW `0.63.9` requires the same kit range, so the aggregate resolves one `0.71.0` install for both. A questionnaire summary names the selected option.
|
|
63
63
|
|
|
64
|
-
`@narumitw/pi-btw@0.63.
|
|
64
|
+
`@narumitw/pi-btw@0.63.9` opens its side workspace through the `@narumitw/pi-tui-kit@^0.71.0` fullscreen handoff. Published `src` and `dist` are unchanged from 0.63.8 aside from the manifest, changelog, and pi-tui-kit dependency. Fullscreen, menu, and transcript modules load on first use. An already ended session does not open that UI. The loaded flow still stops when the dedicated UI is disposed or the parent terminal cannot be restored. Only one BTW flow can be open per session; a second `/btw` warns and stays closed. In split layout, mounting the first split releases Pi's idle wait so the main input stays usable. Importing new main-thread context stays manual. The main-thread tree picker walks an arbitrarily deep session on the heap, keeps raw copy text as fragments until a copy, and stores a saved label only when the entry has one. Settings rows keep a clipped label or value in full under the list, and a searchable model choice shows how many results match. A searchable choice keeps page scrolling; the host still owns search activation. The promoted kit can name an editor-status widget and collapse it to that divider; BTW does not mount that widget.
|
|
65
65
|
|
|
66
|
-
`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.
|
|
66
|
+
`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.15.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 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; an unknown backend name is a configuration error at session start, so `/typesafe login`, `logout`, `setup`, `enable`, `test`, and `playground` decline until `PI_TYPESAFE_BACKEND` is fixed or unset. Login proves a candidate key in isolation on backends whose public model lists do not verify keys, so a rejected candidate does not write `usage.json` or mark that backend rejected. Only HTTP 401 refuses that key, and only for 15 minutes; a 403 refuses one request and leaves the key usable. Nace.AI (`https://console.nace.ai`, `NACE_API_KEY`, default model `drex-v2.0`) is a judgment backend. Daily request, token, and USD caps are opt-in. OpenRouter, Command Code, Liquid, SubQ, Nace.AI, and a named endpoint stay explicit and use that backend's own key. The promoted SDK is `@typesafe-ai/sdk@0.7.0`. Under Bun, the judge transport reads each response body once and replays it, so the SDK can still read the result after Bun marks the original body used.
|
|
67
67
|
|
|
68
|
-
`@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.5.
|
|
68
|
+
`@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.5.2` publishes a public LSP config schema, reads user-level custom rule directories (project before user before built-in), normalizes argv-style server entries, downgrades `throw-new-error` to a warning, and counts Docker, JSON, and Jedi servers in idle eviction; language routing and the retained multi-root diagnostic facts are unchanged. `.mts` and `.cts` use the TypeScript rules. Groovy files still classify as Groovy, and the vendored Groovy grammar lists classes and methods. `--no-read-expansion` turns off read widening without disabling the read-before-edit guard. It promotes `@ast-grep/cli` to `0.51.2` and `@ast-grep/napi` to `^0.51.0`. `widget.position` and `widget.hideWhenClean` can move the diagnostics widget above the editor or hide it after a clean spell. Language servers now close stale documents under a cap and release on session idle. A blank `PI_LENS_*` number falls back to the default, and an explicit `0` is a value. An edit that raises a named function past the high-complexity threshold and past the default branch names that function on one line; a function the edit improved, or that is still no worse than the default branch, is not named. `ast_grep_replace` no longer requests strict JSON-schema sampling; `lens_diagnostic_mark` still does. A language server for a project outside the session folder starts only when Pi would trust that project. Four MCP tools advertise only `path`. A session rooted at `/` keeps `lsp.disabledServers`. Concatenated SQL passed to `.execute()` is an advisory full-analysis finding; a parameterized `execute(sql, values)` call stays quiet. Keeping injected findings in later requests is opt-in. A workspace edit through a dangling symlink is refused, and a symlink that resolves outside the workspace is refused; the fallback Biome config no longer names a nursery rule. An identity `filter(x => x).map(...)` stays a warning, and a non-identity `filter(fn).map(...)` is no longer flagged. An async array callback with a block body is not flagged for a missing return. A sync block callback that does not return still is. `--lens-issues-status` can show diagnostic counts in the footer and stays off unless set. Esc cancels a hung language-server request instead of leaving that server busy. A reduce that copies its accumulator with `Object.assign` is a warning. A directory whose name starts with `..` stays inside its project. `.groovy`, `.gvy`, `.gy`, `.gsh`, `Jenkinsfile`, `build.gradle`, and `settings.gradle` classify as Groovy; `build.gradle.kts` does not. `minimatch` is `^11.0.4` and `vscode-jsonrpc` is `^10.0.0`. `pi-web-access@0.48.0` provides configurable web search and fetch tools; its `toolActivation` defaults to `auto`, choosing eager or dynamic tool activation per model. `toolActivation: "none"` stays opt-in and still requires deferred exposure. Field extraction, 9router, empty or off-topic search fallback, and plain HTTP gateway URLs stay off unless configured. An unknown tool-call provider name fails instead of selecting a provider automatically, and DuckDuckGo searches stay spaced apart after a bot check. It adds structured search/fetch data for codemode and an optional, manually started `pi-web-access-mcp` stdio CLI; installing the aggregate does not start that server. Degoog, Keenable, Ceramic, Linkup, DeepSeek fetch, Cloudflare search, SearchApi, Outcrawl, Sofya, cloro, Autom, SpecStream, and Tabstack are explicit-only, excluded from automatic and `all` selection. DuckDuckGo searches in one process start at least 10 seconds apart and at most 10 in any 10 minutes. `lockProxy: true` rejects a tool-call proxy other than the configured one. A GitHub repository README is returned up to 100K characters, and a clone with no `githubClone.clonePath` goes under the OS temp directory. Optional `fetchContent.curl` and Exa/Tabstack fetch routing stay off unless configured. Provider gateway base URLs are opt-in and are not configured by the aggregate. OpenAI search now defaults to `gpt-6-luna`, results and clone cleanup are scoped per extension instance, and the promoted `@modelcontextprotocol/sdk@^1.32.1` moves the bundle off GHSA-6qxp-vccf-f47h. Perplexity search now uses the Search API's ranked pages and snippets rather than a Sonar-generated answer; requests requiring prose still use Sonar. `@estebanforge/pi-antigravity-bridge@1.13.2` keeps provider id `antigravity` and requires the host `agy` CLI (`agy acp` by default). Consecutive user messages join into one prompt for agy; hand-edited boolean config strings no longer flip options on by accident. It does not register `google_search`, `read_url_content`, or `generate_image`; use `pi-web-access` or the bridge's opt-in web tools instead. Pi peers supply `typebox`; promoted `undici@^8.11.2` remains for web access. `pi-provider-qoder@0.6.13` registers the `qoder` and `qoder-cn` model providers. A plan-disabled catalog model stays listed so a configured model still resolves, and auto stays hidden unless the server enables it. After login the provider refreshes that catalog, waiting at most 15 seconds, instead of keeping the static fallback until restart. A tool-call argument stream that is cut off before a usable call is reported as a retryable server error. Startup logs one line when the npm registry has a newer release; `PI_PROVIDER_QODER_SKIP_UPDATE_CHECK=1` skips that lookup. A queued model-busy response reports its wait instead of being ignored; a ready busy response stays retryable. A queued wait that does not fit in a safe millisecond count uses `retryAfterSeconds` instead. Agent chat prefers the account's remote-agent node and, on daily chat limit code 110, tries the next node. The chosen node is cached for one hour. Sign in with `/login qoder` (browser or a personal access token from [qoder.com/account/integrations](https://qoder.com/account/integrations)) or `/login qoder-cn` (token from [qoder.com.cn/account/integrations](https://qoder.com.cn/account/integrations)). `QODER_PERSONAL_ACCESS_TOKEN` and `QODERCN_PERSONAL_ACCESS_TOKEN` log those providers in at startup. `/qoder-usage footer on` replaces the status-bar footer for that session, so leave it off while the pi-cc footer is in use. `pi-commandcode-provider@0.8.6` registers `commandcode` beside `qoder`, `qoder-cn`, and `antigravity`. Inference uses the Provider API only. `/login` lists those subscription providers and runs only the one you select. `@tifan/pi-preferred-thinking` is no longer bundled. Per-model thinking levels come from Pi. Deprecated `@tifan/pi-titlebar-spinner` is no longer bundled; Rename remains the single owner of Herdr tab naming. `@tifan/pi-handoff` imports `@tifan/pi-rename/naming` when it generates a session name, so Rename stays installed and its `/rename` command stays registered.
|
|
69
69
|
|
|
70
70
|
`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.
|
|
71
71
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -34,7 +34,7 @@ THE SOFTWARE.
|
|
|
34
34
|
|
|
35
35
|
## `@narumitw/pi-caffeinate`
|
|
36
36
|
|
|
37
|
-
The aggregate bundles [`@narumitw/pi-caffeinate`](https://github.com/narumiruna/pi-extensions/tree/main/packages/pi-caffeinate) version 0.49.
|
|
37
|
+
The aggregate bundles [`@narumitw/pi-caffeinate`](https://github.com/narumiruna/pi-extensions/tree/main/packages/pi-caffeinate) version 0.49.16 under its original MIT license:
|
|
38
38
|
|
|
39
39
|
MIT License
|
|
40
40
|
|
|
@@ -84,11 +84,11 @@ THE SOFTWARE.
|
|
|
84
84
|
|
|
85
85
|
## `@estebanforge/pi-antigravity-bridge`
|
|
86
86
|
|
|
87
|
-
The aggregate bundles [`@estebanforge/pi-antigravity-bridge`](https://github.com/EstebanForge/pi-extensions/tree/main/packages/pi-antigravity-bridge) version 1.13.
|
|
87
|
+
The aggregate bundles [`@estebanforge/pi-antigravity-bridge`](https://github.com/EstebanForge/pi-extensions/tree/main/packages/pi-antigravity-bridge) version 1.13.2 under its original package name. The published npm release corresponds to git commit [`6b40e5bd49bffba8909556e1b802fe8dacc153e8`](https://github.com/EstebanForge/pi-extensions/commit/6b40e5bd49bffba8909556e1b802fe8dacc153e8). The published tarball includes the MIT `LICENSE` file (Copyright (c) 2026 EstebanForge). Using the provider requires the official `agy` CLI on the host machine; it is not bundled as an npm dependency.
|
|
88
88
|
|
|
89
89
|
## `pi-typesafe`
|
|
90
90
|
|
|
91
|
-
The aggregate bundles [`pi-typesafe`](https://github.com/DevMortimer/pi-typesafe) version 0.
|
|
91
|
+
The aggregate bundles [`pi-typesafe`](https://github.com/DevMortimer/pi-typesafe) version 0.15.1 under its original MIT license:
|
|
92
92
|
|
|
93
93
|
MIT License
|
|
94
94
|
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.13.2] - 2026-11-22
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **Consecutive user messages no longer drop earlier prompts or images (issue #24).** The provider read only the LAST message, so a turn stacking `[user prompt, before_agent_start note]` shipped the note as the prompt: digest off lost the real prompt entirely, digest on demoted it into `[earlier user message]` continuity context (and could drop it on stream-json under the byte budget), and images attached to earlier messages never reached agy at all. The provider now joins the trailing run of `role: "user"` messages into one prompt with images unioned in order. The run is watermark-bounded - messages at or before the watermark belong to turns agy already saw, so failed-turn backlog never re-executes as prompt (the issue #1 guard holds) - and compaction summaries, branch summaries, and bash-run texts stop the run instead of sweeping into the prompt. The digest window ends at the run start so nothing double-delivers; a whitespace-only trailing message no longer kills the turn with "No user message"; and a joined run that would cross the stream-json silent-drop cap truncates oldest-first with a visible `[truncated]` marker and ships without the digest instead of a doomed turn.
|
|
10
|
+
- **Parse fallbacks surface where they happen, and `0`/`1` count as booleans (issue #23 review follow-up).** `parseBoolish` now also accepts the JSON numbers `0`/`1`; junk values keep the safe default and now warn on session start (toast in the UI, stderr headless) in addition to the `/agy doctor` row, because a hand editor never runs `/agy`. The README no longer misstates the `webTools` default and documents the env/file grammar asymmetry: `AGY_SKIP_PERMISSIONS` takes only `1`/`true` in the env, and a set env var skips the file parse entirely so it warns nothing about the value it overrides.
|
|
11
|
+
- **String booleans in config.json no longer silently enable a disabled option (issue #23).** The boolean keys (`readOnly`, `skipPermissions`, `askTool`, `webTools`, `digest`, `systemPrompt`, `acp.sessionRetryOnTimeout`) passed raw file values through `??`, so a hand-edited `"off"`, `"false"`, or `"0"` - the exact vocabulary the README and `/agy` display - was a truthy string and switched the option ON. The file path now parses the `/agy` vocabulary (`true`/`false`/`on`/`off`/`1`/`0`, case and whitespace tolerated); env parsing is unchanged. Present-but-unparseable values fall back to the key's default and surface a `config warnings:` row in `/agy doctor` instead of failing silently; `readOnly` fails closed (ON) on junk, mirroring `AGY_READONLY`; and `saveConfig` neither rewrites a hand-edited value on an unrelated toggle nor persists the computed warnings field. The same pass closes a crash in the class the reporter's table exposed: a non-string `defaultThinking`, `bridgeTools`, `approvals.gateMode`, `approvals.mode`, or `agent` threw on every bridge call (`.toLowerCase()`/`.trim()` on a non-string) and now falls back to the default like every other junk value.
|
|
12
|
+
|
|
5
13
|
## [1.13.1] - 2026-11-21
|
|
6
14
|
|
|
7
15
|
### Fixed
|
|
@@ -115,16 +115,20 @@ If `agy models` fails at load (binary missing, auth not done, network stall), a
|
|
|
115
115
|
|
|
116
116
|
| Key | Values | Default |
|
|
117
117
|
| --- | --- | --- |
|
|
118
|
-
| `askTool` | `
|
|
119
|
-
| `webTools` | `
|
|
118
|
+
| `askTool` | `true` (register the AskAntigravity delegation tool), `false` (no delegation tool; provider and models only) | `true` |
|
|
119
|
+
| `webTools` | `false` (no web tools), `true` (register `agy_web_search` + `agy_read_url` as Pi tools, usable by ANY provider's model). Each call spawns a one-shot search-only `agy` agent (plan mode, bridge MCP inheritance off), gates the answer on an observed native `search_web`/`read_url_content` step, and spends Antigravity quota. Off by default: Antigravity sessions already have native web tools on both engines; these serve other providers | `false` |
|
|
120
120
|
| `bridgeTools` | `none` (bridge off), `all` (every non-builtin tool, incl. other `Ask*` delegations), `mcp` (pi-mcp-adapter tools + skills bridge only) | `all` |
|
|
121
|
-
| `digest` | Self-gating delta of pi-side context (compaction summaries, other-provider turns, handoffs after a mid-session switch) shipped to agy only when the delta is non-empty, each piece once. Pure antigravity sessions get byte-stable prompts and an intact prompt cache. `
|
|
122
|
-
| `systemPrompt` | `on` (send pi's system prompt - operating instructions plus the global agent-dir `AGENTS.md` and ancestor `AGENTS.md`/`CLAUDE.md` - to the first prompt of each new agy conversation, plus a tool-priority note: Pi Bridge tools win over agy's native interactive ones, which never reach the user. Delivery: stream-json stages it as an agy agent file via `--agent`, off the prompt line - the CLI silently drops single prompts past a ~25KB cap and the dropped turn kills the conversation; the carrier declares the productive toolset explicitly (omitting `tools:` reads as a read-only set upstream, issue #13) plus `subagent: false` + `agents: []` so the native subagent tools stay masked (ACP carries no agent file, so its natives remain and the tool-priority note steers the model to pi delegation). ACP prepends it to the first prompt) or `
|
|
121
|
+
| `digest` | Self-gating delta of pi-side context (compaction summaries, other-provider turns, handoffs after a mid-session switch) shipped to agy only when the delta is non-empty, each piece once. Pure antigravity sessions get byte-stable prompts and an intact prompt cache. `false` = agy prompts contain only your message; a conversation opened mid-session starts without prior pi-side context | `true` |
|
|
122
|
+
| `systemPrompt` | `on` (send pi's system prompt - operating instructions plus the global agent-dir `AGENTS.md` and ancestor `AGENTS.md`/`CLAUDE.md` - to the first prompt of each new agy conversation, plus a tool-priority note: Pi Bridge tools win over agy's native interactive ones, which never reach the user. Delivery: stream-json stages it as an agy agent file via `--agent`, off the prompt line - the CLI silently drops single prompts past a ~25KB cap and the dropped turn kills the conversation; the carrier declares the productive toolset explicitly (omitting `tools:` reads as a read-only set upstream, issue #13) plus `subagent: false` + `agents: []` so the native subagent tools stay masked (ACP carries no agent file, so its natives remain and the tool-priority note steers the model to pi delegation). ACP prepends it to the first prompt) or `false` (agy-native behavior) | `true` |
|
|
123
|
+
| `readOnly` | `true`: fail-closed kill switch - every provider turn and the `AskAntigravity` tool are refused with a visible error (the CLI has no review-only enforcement, see [Permissions](#permissions) and [readOnly](#readonly)). In the file, any value that is not a recognized boolean spelling (or an explicit blank) also fails closed to `true` | `false` |
|
|
124
|
+
| `skipPermissions` | `true`: pass `--dangerously-skip-permissions` so agy tool calls never hang on an unanswerable prompt in non-interactive runs; DANGEROUS: agy executes commands without per-action review (see [Permissions](#permissions)). `false`: prompt instead - hangs any `run_command` in `-p` mode | `true` |
|
|
123
125
|
| `turnTimeoutMin` | Overall cap on ONE agy turn, minutes, both engines. Parked time (pi-tool round-trips, escalated calls, human-gated approvals) does not count against it on either engine: the cap pauses with remaining-budget semantics and resumes on unpark. When it fires, the bridge kills the agy process mid-task ("ACP turn exceeded the 10m deadline" / "agy exceeded the 10m turn timeout") - it is a bridge cap, not a Google server limit. Default is TTY-aware: `0` (no cap) on an interactive pi - you are the backstop with Esc; `20` headless, where nobody can abort and one runaway turn blocks the serialized turn queue. Opt into a gate with 1-1440 (free type via `config.json` or `/agy timeout <1-1440|off>`, or the `/agy` picker's preset list); `0` disables explicitly; anything else falls back to the TTY-aware default. The 5m inactivity stall guard always still bounds a hung server | `0` TTY / `20` headless |
|
|
124
126
|
| `inactivityTimeoutMin` | Silence cap, minutes, both engines: no stream-json stdout / no ACP session/update for this long fails the turn as a stall. `0` disables the guard. Parks (bridge calls, escalated calls, ACP permission dialogs) pause it; agy-native long steps such as builds do not. A false kill costs the whole turn, and on stream-json a stall kill with no result frame clears the conversation binding. Keep `5`; use `2`-`3` only when native steps are known to be short; do not use `1` | `5` |
|
|
125
127
|
| `acp.sessionTimeoutMs` | Timeout in ms for ACP `session/new`, `session/load`, `session/set_config_option`, and `session/close`. Valid range: `1000`-`300000`. Raise only on slow or proxied networks | `20000` |
|
|
126
128
|
| `acp.sessionRetryOnTimeout` | Advanced: transparently retry `session/new` once when it times out while `agy acp` is still alive. **Warning:** doubles total wait time on dead networks and may not recover if `agy`'s internal socket is wedged | `false` |
|
|
127
129
|
|
|
130
|
+
Boolean keys (`readOnly`, `skipPermissions`, `askTool`, `webTools`, `digest`, `systemPrompt`, `acp.sessionRetryOnTimeout`) take JSON booleans, the `/agy` vocabulary as strings (`on`/`off`, `1`/`0`, case and whitespace tolerated), and the JSON numbers `0`/`1`, so a hand-edited `"off"` means off instead of silently on (issue #23). Unrecognized values fall back to the key's default - `readOnly` falls closed to `true` - and surface a `config warnings:` row in `/agy doctor` plus a startup warning toast. The `AGY_*` env vars keep their own grammars: notably `AGY_SKIP_PERMISSIONS` does not accept `on` (only `1`/`true` enable there), and while an env var is set the matching file value is never parsed, so it emits no warning for the value it overrides.
|
|
131
|
+
|
|
128
132
|
Env overrides: `AGY_BRIDGE_TOOLS`, `AGY_ASK_TOOL`, `AGY_WEB_TOOLS`, `AGY_DIGEST`, `AGY_SYSTEM_PROMPT`, `AGY_TURN_TIMEOUT_MIN`, `AGY_INACTIVITY_TIMEOUT_MIN`, `AGY_ACP_SESSION_TIMEOUT_MS`, `AGY_ACP_SESSION_RETRY`. Env wins over the file, so while `AGY_DIGEST` or `AGY_SYSTEM_PROMPT` is set, the matching `/agy digest` or `/agy system-prompt` toggle persists a value that never takes effect.
|
|
129
133
|
|
|
130
134
|
The `activate_skill` catalog mirrors pi's directory-based skill discovery: the two global dirs plus project dirs, the latter only when pi has trusted the project (same gate pi itself applies). Pi's other skill sources - the `skills` settings array, `package.json` entries, and `--skill` CLI paths - are not mirrored and won't appear in the catalog.
|
|
@@ -166,7 +170,7 @@ Plan mode never receives the flag: the flag auto-approves every permission reque
|
|
|
166
170
|
|
|
167
171
|
### readOnly
|
|
168
172
|
|
|
169
|
-
`"readOnly": true` in the config (or `AGY_READONLY=1`, or `/agy readonly on`) is a fail-closed kill switch: every provider turn AND the `AskAntigravity` tool are refused with a visible error instead of running write-capable under a read-only label. Built for callers like `pi -p --no-tools --model antigravity/...` health checks that must never mutate a workspace: with no review-only enforcement available in the CLI (see Permissions), a visible refusal is the only honest behavior. The knob covers provider turns and the ask tool; the web tools still spawn agy for searches. Default false.
|
|
173
|
+
`"readOnly": true` in the config (or `AGY_READONLY=1`, or `/agy readonly on`) is a fail-closed kill switch: every provider turn AND the `AskAntigravity` tool are refused with a visible error instead of running write-capable under a read-only label. Built for callers like `pi -p --no-tools --model antigravity/...` health checks that must never mutate a workspace: with no review-only enforcement available in the CLI (see Permissions), a visible refusal is the only honest behavior. The knob covers provider turns and the ask tool; the web tools still spawn agy for searches. Default false. In the config file, junk values fail closed too: anything that is not `true`/`false`/`on`/`off`/`1`/`0` (or an explicit empty string) reads as ON and adds a `config warnings:` row in `/agy doctor` (issue #23).
|
|
170
174
|
|
|
171
175
|
For per-action review of agy's mutating native tools (`run_command`, `create_file`, `edit_file`, ...), see the [Approval gate](docs/APPROVAL-GATE.md): with it on, the call must pass a pi-side approval (your permission extension, or the built-in ask/allow/deny fallback) before agy executes it.
|
|
172
176
|
|
|
@@ -68,7 +68,7 @@ import { agyAuthenticationMessage } from "../src/agy-install.js";
|
|
|
68
68
|
import { createAgySetupOffer } from "../src/agy-setup.js";
|
|
69
69
|
import { ensureQueuedMessagesDefaults } from "../src/queued-messages.js";
|
|
70
70
|
import type { TurnDriver, TurnOutcome } from "../src/driver-types.js";
|
|
71
|
-
import { configPath, loadConfig, logsDir, MAX_TURN_CAP_MIN, parseCapMinutes, removeLegacyAcpBin, saveConfig, type AcpConfig, type AgyMode, type BridgeTools, type Engine, type ThinkingTier } from "../src/config.js";
|
|
71
|
+
import { configPath, configWarningsMessage, loadConfig, logsDir, MAX_TURN_CAP_MIN, parseCapMinutes, removeLegacyAcpBin, saveConfig, type AcpConfig, type AgyMode, type BridgeTools, type Engine, type ThinkingTier } from "../src/config.js";
|
|
72
72
|
import { agyMissingMessage, ENGINE_SETTINGS_ROW_ID, engineSettingsRow, isAgyInstalled, savedEngineMessage, showEnginePicker, shouldOfferEnginePicker } from "../src/engine-picker.js";
|
|
73
73
|
import { agyVersionVerdict, agyUpdateMessage, checkAgyCliVersion, describeAgyVersionCheck, MIN_AGY_ACP_VERSION, MIN_AGY_VERSION, MIN_GEMINI_DIR_VERSION, probeGeminiDirFlag, resolveStreamHomeMode } from "../src/agy-version.js";
|
|
74
74
|
import { isValidAgyAgentName, listAgyAgents } from "../src/agents.js";
|
|
@@ -844,6 +844,14 @@ export default async function (pi: ExtensionAPI): Promise<void> {
|
|
|
844
844
|
if (ctx.hasUI) ctx.ui.notify(msg, "warning");
|
|
845
845
|
else console.error(`[antigravity-bridge] ${msg}`);
|
|
846
846
|
}
|
|
847
|
+
// A hand editor never runs /agy: surface parse fallbacks where they
|
|
848
|
+
// happen (issue #23). Headless sessions keep the stderr record.
|
|
849
|
+
const configWarnings = loadConfig().parseWarnings;
|
|
850
|
+
if (configWarnings?.length) {
|
|
851
|
+
const msg = configWarningsMessage(configWarnings);
|
|
852
|
+
if (ctx.hasUI) ctx.ui.notify(msg, "warning");
|
|
853
|
+
else console.error(`[antigravity-bridge] ${msg}`);
|
|
854
|
+
}
|
|
847
855
|
if (!managedAcpCleanupRan) {
|
|
848
856
|
managedAcpCleanupRan = true;
|
|
849
857
|
try {
|
|
@@ -1280,6 +1288,8 @@ function settingsRows(ctx: AgyCommandCtx): string[] {
|
|
|
1280
1288
|
row("bridge tools:", config.bridgeTools),
|
|
1281
1289
|
row("digest:", config.digest ? "on" : "off"),
|
|
1282
1290
|
row("system prompt:", config.systemPrompt ? "on" : "off"),
|
|
1291
|
+
// issue #23: unparseable hand-edited values must not fail silently.
|
|
1292
|
+
...(config.parseWarnings ?? []).map((w, i) => row(i === 0 ? "config warnings:" : "", w)),
|
|
1283
1293
|
];
|
|
1284
1294
|
}
|
|
1285
1295
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@estebanforge/pi-antigravity-bridge",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.2",
|
|
4
4
|
"description": "Gemini provider for Pi on the Antigravity ACP server (official Google ACP) or the stream-json agy CLI. Use antigravity/* models in Pi. Full /model picker support. Models runs Pi's tools. ToS safe to use.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -140,6 +140,10 @@ export interface AgyConfig {
|
|
|
140
140
|
* on the installed pi. The notice never repeats; /agy patch-cleanup is
|
|
141
141
|
* always available. */
|
|
142
142
|
patchCleanupNotified?: boolean;
|
|
143
|
+
/** config.json values that were present but unparseable and fell back or
|
|
144
|
+
* failed closed (issue #23). Surfaced by /agy doctor; undefined when
|
|
145
|
+
* every value parsed. Computed per load, never persisted by saveConfig. */
|
|
146
|
+
parseWarnings?: string[];
|
|
143
147
|
/** Custom agy agent for stream-json turns (`--agent`, /agy agent).
|
|
144
148
|
* Absent = agy's default agent. ACP turns ignore it (no protocol slot). */
|
|
145
149
|
agent?: string;
|
|
@@ -261,6 +265,55 @@ export function parseCapMinutes(raw: string | number | undefined, fallback: numb
|
|
|
261
265
|
return n >= 1 && n <= MAX_TURN_CAP_MIN ? n : fallback;
|
|
262
266
|
}
|
|
263
267
|
|
|
268
|
+
/** Boolean spellings shared by the AGY_* env grammar and config.json (issue
|
|
269
|
+
* #23): the /agy UI's on/off vocabulary plus the JSON literals and digits. */
|
|
270
|
+
const BOOLISH_TRUE = new Set(["1", "true", "on"]);
|
|
271
|
+
const BOOLISH_FALSE = new Set(["0", "false", "off"]);
|
|
272
|
+
|
|
273
|
+
/** Parse a config.json boolean that a hand editor may have written as a
|
|
274
|
+
* string ("off", "false", "0" - the README and /agy vocabulary) or as the
|
|
275
|
+
* JSON numbers 0/1. Present but unparseable values fall back to the given
|
|
276
|
+
* default and warn; the silence is what made issue #23 invisible. */
|
|
277
|
+
function parseBoolish(raw: unknown, label: string, fallback: boolean, warnings: string[]): boolean {
|
|
278
|
+
if (typeof raw === "boolean") return raw;
|
|
279
|
+
if (raw === 0 || raw === 1) return raw === 1;
|
|
280
|
+
if (typeof raw === "string") {
|
|
281
|
+
const v = raw.trim().toLowerCase();
|
|
282
|
+
if (BOOLISH_TRUE.has(v)) return true;
|
|
283
|
+
if (BOOLISH_FALSE.has(v)) return false;
|
|
284
|
+
}
|
|
285
|
+
if (raw === undefined || raw === null) return fallback;
|
|
286
|
+
warnings.push(`${label}: ${JSON.stringify(raw)} is not a recognized boolean (true/false, on/off, 1/0); using default ${fallback}`);
|
|
287
|
+
return fallback;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/** File-path readOnly parse: the AGY_READONLY env grammar mirrored (issue
|
|
291
|
+
* #23). Explicit blank and spelled-out falsities are OFF, every other
|
|
292
|
+
* present value counts as ON so a typo can never disable the safety knob. */
|
|
293
|
+
function parseReadOnlyValue(raw: unknown, warnings: string[]): boolean {
|
|
294
|
+
const failClosed = (rawValue: unknown): boolean => {
|
|
295
|
+
warnings.push(`readOnly: ${JSON.stringify(rawValue)} is not a recognized boolean (true/false, on/off, 1/0); failing closed to true`);
|
|
296
|
+
return true;
|
|
297
|
+
};
|
|
298
|
+
if (typeof raw === "boolean") return raw;
|
|
299
|
+
if (typeof raw === "string") {
|
|
300
|
+
if (raw === "") return false;
|
|
301
|
+
const v = raw.trim().toLowerCase();
|
|
302
|
+
if (BOOLISH_FALSE.has(v)) return false;
|
|
303
|
+
if (BOOLISH_TRUE.has(v)) return true;
|
|
304
|
+
return failClosed(raw);
|
|
305
|
+
}
|
|
306
|
+
if (raw === undefined || raw === null) return DEFAULTS.readOnly;
|
|
307
|
+
return failClosed(raw);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/** One-line startup/doctor summary for unparseable config values (issue
|
|
311
|
+
* #23). The toast points at /agy doctor because the per-value detail
|
|
312
|
+
* (label, raw value, fallback) lives in the parseWarnings row list. */
|
|
313
|
+
export function configWarningsMessage(warnings: string[]): string {
|
|
314
|
+
return `config.json: ${warnings.length} unparseable value${warnings.length === 1 ? "" : "s"} fell back to defaults (readOnly fails closed); run /agy doctor for details.`;
|
|
315
|
+
}
|
|
316
|
+
|
|
264
317
|
/** Read the raw config file (no defaults, no env). Shared by loadConfig and
|
|
265
318
|
* saveConfig so persisted writes can never bake env overrides into the file. */
|
|
266
319
|
function readConfigFile(configPath: string): Partial<AgyConfig> {
|
|
@@ -294,6 +347,7 @@ export function removeLegacyAcpBin(configFile: string = configPath()): boolean {
|
|
|
294
347
|
/** Load config merged over defaults. Env vars override the file when set. */
|
|
295
348
|
export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
296
349
|
let file: Partial<AgyConfig> = readConfigFile(configFile);
|
|
350
|
+
const parseWarnings: string[] = [];
|
|
297
351
|
|
|
298
352
|
// Env overrides file (matches the skipPermissions pattern).
|
|
299
353
|
// The naive OR `env === "plan" || file.mode === "plan"` would ignore an
|
|
@@ -323,7 +377,7 @@ export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
|
323
377
|
const skipPermissions =
|
|
324
378
|
envPerm !== undefined
|
|
325
379
|
? envPerm === "1" || envPerm.toLowerCase() === "true"
|
|
326
|
-
: file.skipPermissions
|
|
380
|
+
: parseBoolish(file.skipPermissions, "skipPermissions", DEFAULTS.skipPermissions, parseWarnings);
|
|
327
381
|
|
|
328
382
|
const envReadOnly = process.env.AGY_READONLY;
|
|
329
383
|
// Fail-closed parse for a safety knob: empty string means the user
|
|
@@ -334,7 +388,7 @@ export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
|
334
388
|
? envReadOnly === ""
|
|
335
389
|
? false
|
|
336
390
|
: !["0", "false", "off"].includes(envReadOnly.trim().toLowerCase())
|
|
337
|
-
: file.readOnly
|
|
391
|
+
: parseReadOnlyValue(file.readOnly, parseWarnings);
|
|
338
392
|
|
|
339
393
|
const defaultModelRaw =
|
|
340
394
|
process.env.AGY_DEFAULT_MODEL ?? file.defaultModel ?? DEFAULTS.defaultModel;
|
|
@@ -342,19 +396,19 @@ export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
|
342
396
|
typeof defaultModelRaw === "string" ? defaultModelRaw.trim() || DEFAULTS.defaultModel : DEFAULTS.defaultModel;
|
|
343
397
|
|
|
344
398
|
const envThink = process.env.AGY_DEFAULT_THINKING;
|
|
345
|
-
const thinkRaw = (envThink ?? file.defaultThinking ?? DEFAULTS.defaultThinking).toLowerCase();
|
|
399
|
+
const thinkRaw = String(envThink ?? file.defaultThinking ?? DEFAULTS.defaultThinking).toLowerCase();
|
|
346
400
|
const defaultThinking: ThinkingTier =
|
|
347
401
|
thinkRaw === "low" || thinkRaw === "high" ? thinkRaw : "medium";
|
|
348
402
|
|
|
349
403
|
const askTool = process.env.AGY_ASK_TOOL !== undefined
|
|
350
404
|
? ["1", "true", "on"].includes(process.env.AGY_ASK_TOOL.toLowerCase())
|
|
351
|
-
: file.askTool
|
|
405
|
+
: parseBoolish(file.askTool, "askTool", DEFAULTS.askTool, parseWarnings);
|
|
352
406
|
|
|
353
407
|
const webTools = process.env.AGY_WEB_TOOLS !== undefined
|
|
354
408
|
? ["1", "true", "on"].includes(process.env.AGY_WEB_TOOLS.toLowerCase())
|
|
355
|
-
: file.webTools
|
|
409
|
+
: parseBoolish(file.webTools, "webTools", DEFAULTS.webTools, parseWarnings);
|
|
356
410
|
|
|
357
|
-
const bridgeRaw = (process.env.AGY_BRIDGE_TOOLS ?? file.bridgeTools ?? DEFAULTS.bridgeTools).toLowerCase();
|
|
411
|
+
const bridgeRaw = String(process.env.AGY_BRIDGE_TOOLS ?? file.bridgeTools ?? DEFAULTS.bridgeTools).toLowerCase();
|
|
358
412
|
const bridgeTools: BridgeTools =
|
|
359
413
|
bridgeRaw === "none" || bridgeRaw === "all" || bridgeRaw === "mcp"
|
|
360
414
|
? bridgeRaw
|
|
@@ -376,12 +430,12 @@ export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
|
376
430
|
|
|
377
431
|
const digest = process.env.AGY_DIGEST !== undefined
|
|
378
432
|
? ["1", "true", "on"].includes(process.env.AGY_DIGEST.toLowerCase())
|
|
379
|
-
: file.digest
|
|
433
|
+
: parseBoolish(file.digest, "digest", DEFAULTS.digest, parseWarnings);
|
|
380
434
|
|
|
381
435
|
const envSys = process.env.AGY_SYSTEM_PROMPT;
|
|
382
436
|
const systemPrompt = envSys !== undefined
|
|
383
437
|
? ["1", "true", "on"].includes(envSys.toLowerCase())
|
|
384
|
-
: file.systemPrompt
|
|
438
|
+
: parseBoolish(file.systemPrompt, "systemPrompt", DEFAULTS.systemPrompt, parseWarnings);
|
|
385
439
|
|
|
386
440
|
// Turn caps, minutes. Env wins over the file (same pattern as mode).
|
|
387
441
|
const turnTimeoutMin = parseCapMinutes(
|
|
@@ -395,12 +449,12 @@ export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
|
395
449
|
|
|
396
450
|
// Approval gate (docs/TODO.md 2.5). Unknown values fall back to "auto"
|
|
397
451
|
// so a typo can never silently force the gate on.
|
|
398
|
-
const gateRaw = (process.env.AGY_APPROVALS ?? file.approvals?.gateMode ?? DEFAULTS.approvals.gateMode).toLowerCase();
|
|
452
|
+
const gateRaw = String(process.env.AGY_APPROVALS ?? file.approvals?.gateMode ?? DEFAULTS.approvals.gateMode).toLowerCase();
|
|
399
453
|
const gateMode: GateMode =
|
|
400
454
|
gateRaw === "shadow" || gateRaw === "dedicated" || gateRaw === "off"
|
|
401
455
|
? gateRaw
|
|
402
456
|
: "auto";
|
|
403
|
-
const askRaw = (process.env.AGY_APPROVALS_MODE ?? file.approvals?.mode ?? DEFAULTS.approvals.mode).toLowerCase();
|
|
457
|
+
const askRaw = String(process.env.AGY_APPROVALS_MODE ?? file.approvals?.mode ?? DEFAULTS.approvals.mode).toLowerCase();
|
|
404
458
|
const gateAskMode: GateAskMode =
|
|
405
459
|
askRaw === "allow" || askRaw === "deny"
|
|
406
460
|
? askRaw
|
|
@@ -421,13 +475,14 @@ export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
|
421
475
|
const envSessionRetry = process.env.AGY_ACP_SESSION_RETRY;
|
|
422
476
|
const sessionRetryOnTimeout = envSessionRetry !== undefined
|
|
423
477
|
? ["1", "true", "on"].includes(envSessionRetry.toLowerCase())
|
|
424
|
-
: fileAcp.sessionRetryOnTimeout
|
|
478
|
+
: parseBoolish(fileAcp.sessionRetryOnTimeout, "acp.sessionRetryOnTimeout", DEFAULTS.acp.sessionRetryOnTimeout, parseWarnings);
|
|
425
479
|
const acp: AcpConfig = { usageEstimate, sessionTimeoutMs, sessionRetryOnTimeout };
|
|
426
480
|
|
|
427
481
|
// Custom agent for stream-json turns (--agent). Env wins over the file
|
|
428
482
|
// (same pattern as mode). Normalized (trim/cap/control-strip); an empty
|
|
429
483
|
// result means agy's default agent.
|
|
430
|
-
const
|
|
484
|
+
const agentRaw: unknown = process.env.AGY_AGENT ?? file.agent;
|
|
485
|
+
const agent = normalizeAgyAgentName(typeof agentRaw === "string" ? agentRaw : undefined);
|
|
431
486
|
|
|
432
487
|
return {
|
|
433
488
|
engine,
|
|
@@ -448,6 +503,7 @@ export function loadConfig(configFile: string = configPath()): AgyConfig {
|
|
|
448
503
|
agent,
|
|
449
504
|
approvals: { gateMode, mode: gateAskMode },
|
|
450
505
|
patchCleanupNotified: file.patchCleanupNotified === true,
|
|
506
|
+
parseWarnings: parseWarnings.length > 0 ? parseWarnings : undefined,
|
|
451
507
|
};
|
|
452
508
|
}
|
|
453
509
|
|
|
@@ -483,7 +539,7 @@ function writeConfigJson(configPath: string, value: unknown): void {
|
|
|
483
539
|
* disk on any unrelated save, outliving the env var). Nested objects are
|
|
484
540
|
* re-normalized to their known keys: a raw passthrough would resurrect
|
|
485
541
|
* legacy keys (acp.permissions) that loadConfig normalization drops. */
|
|
486
|
-
export type ConfigPatch = Partial<Omit<AgyConfig, "acp">> & { acp?: Partial<AcpConfig> };
|
|
542
|
+
export type ConfigPatch = Partial<Omit<AgyConfig, "acp" | "parseWarnings">> & { acp?: Partial<AcpConfig> };
|
|
487
543
|
|
|
488
544
|
export function saveConfig(patch: ConfigPatch, configFile: string = configPath()): AgyConfig {
|
|
489
545
|
const file = readConfigFile(configFile);
|
|
@@ -517,6 +573,8 @@ export function saveConfig(patch: ConfigPatch, configFile: string = configPath()
|
|
|
517
573
|
...restPatch,
|
|
518
574
|
acp: mergedAcp,
|
|
519
575
|
engine: narrowEngine(String(persistedEngine).toLowerCase()),
|
|
576
|
+
// Computed per load; a raw file spread must never persist it.
|
|
577
|
+
parseWarnings: undefined,
|
|
520
578
|
};
|
|
521
579
|
writeConfigJson(configFile, next);
|
|
522
580
|
return next;
|