@herbertgao/pi-extensions 2026.10.17 → 2026.10.19
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 +6 -7
- package/THIRD_PARTY_NOTICES.md +0 -1
- package/node_modules/@dietrichgebert/ponytail/.qoder-plugin/plugin.json +1 -1
- package/node_modules/@dietrichgebert/ponytail/hooks/band/metrics.ts +5 -11
- package/node_modules/@dietrichgebert/ponytail/hooks/band/register.tsx +69 -46
- package/node_modules/@dietrichgebert/ponytail/hooks/band/types.d.ts +0 -1
- package/node_modules/@dietrichgebert/ponytail/hooks/claude-codex-hooks.json +3 -3
- package/node_modules/@dietrichgebert/ponytail/hooks/copilot-hooks.json +2 -2
- package/node_modules/@dietrichgebert/ponytail/hooks/cursor-hooks.json +2 -2
- package/node_modules/@dietrichgebert/ponytail/hooks/ponytail-activate.js +4 -3
- package/node_modules/@dietrichgebert/ponytail/hooks/ponytail-map.js +4 -1
- package/node_modules/@dietrichgebert/ponytail/package.json +1 -1
- package/node_modules/@narumitw/pi-btw/README.md +3 -1
- package/node_modules/@narumitw/pi-btw/dist/index.ts +26 -5
- package/node_modules/@narumitw/pi-btw/dist/index.ts.map +2 -2
- package/node_modules/@narumitw/pi-btw/docs/core-alignment.md +40 -0
- package/node_modules/@narumitw/pi-btw/docs/workflows.md +3 -0
- package/node_modules/@narumitw/pi-btw/package.json +1 -1
- package/node_modules/@narumitw/pi-btw/src/btw.ts +31 -5
- package/node_modules/@narumitw/pi-btw/src/fullscreen-ui.ts +13 -0
- package/node_modules/pi-lens/CHANGELOG.md +83 -0
- package/node_modules/pi-lens/README.md +5 -1
- package/node_modules/pi-lens/dist/{chunk-JL6CXUMW.js → chunk-24BILSZW.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-S67UJDGQ.js → chunk-2TF6RXWB.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-ARD426WI.js → chunk-3F6BMY53.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-5ZR3APIM.js → chunk-3FRLWYBG.js} +26 -26
- package/node_modules/pi-lens/dist/{chunk-T7FTXGS3.js → chunk-3K2F6UDZ.js} +30 -30
- package/node_modules/pi-lens/dist/{chunk-HK6JVFZC.js → chunk-3YY7IXIL.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-46TNM7XZ.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-4AVZ3TG7.js → chunk-4L36HG27.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-PO45POGF.js → chunk-4LM3VAZH.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-UN4TEBWN.js → chunk-4LOE5R5P.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-KLQVC3XC.js → chunk-4YHYPW2G.js} +30 -7
- package/node_modules/pi-lens/dist/{chunk-W5LGKNET.js → chunk-4ZYJHQMB.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-W2V54OCL.js → chunk-6IR3ZYIB.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-FJIVKLPH.js → chunk-72OKUXSD.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-7RQXA5GG.js → chunk-75GAYVNO.js} +10 -9
- package/node_modules/pi-lens/dist/{chunk-V3APN3DY.js → chunk-7E2563GA.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-4WX4CTUE.js → chunk-7GLOLOSH.js} +25 -25
- package/node_modules/pi-lens/dist/{chunk-BWYQUPOS.js → chunk-ABPKUVA4.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-IPDG45G5.js → chunk-AKUUMGD5.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-Q6D6VMI4.js → chunk-ASUXV767.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-BM5GS6ZH.js → chunk-AWDSEDER.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-MA77RSFN.js → chunk-BZARLRJW.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-EVDGNG4F.js → chunk-CB4WHS4H.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-FA5LDARD.js → chunk-CCV2EU7T.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-U6OC3QEM.js → chunk-CE6VMBCB.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-AMXIUN2R.js → chunk-CPSR3AVL.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-SXGD4ANG.js → chunk-CTADOKYM.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-63RIVFQI.js → chunk-DH5JPM3K.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-MT6BVNFW.js → chunk-DPGEAHZT.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-4PCQCU47.js → chunk-DQZFQSR5.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-BHUWL2Y3.js → chunk-E7HJ56Y7.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-DQXSPYRI.js → chunk-EAOK7MIZ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-2RLWJO5K.js → chunk-EKWX4WD3.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-WIZWZR4C.js → chunk-F7K5IBZG.js} +30 -28
- package/node_modules/pi-lens/dist/{chunk-VQH24FIP.js → chunk-FB5SCCPT.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-GZE7WOI4.js → chunk-FZKFVUEC.js} +438 -140
- package/node_modules/pi-lens/dist/{chunk-TIYGSODX.js → chunk-H7OR7DFZ.js} +15 -13
- package/node_modules/pi-lens/dist/{chunk-CJYKEW2L.js → chunk-HO6LWE2E.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YSBHPOY6.js → chunk-HR3OJ3TH.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-CFRQMBGP.js → chunk-HWDAVBFU.js} +14 -14
- package/node_modules/pi-lens/dist/{chunk-2X4VLOCC.js → chunk-JJ2RRESP.js} +8 -5
- package/node_modules/pi-lens/dist/{chunk-YBSONGSZ.js → chunk-JMEKXFOL.js} +24 -24
- package/node_modules/pi-lens/dist/{chunk-MKVZQUEG.js → chunk-KDX35VXP.js} +69 -13
- package/node_modules/pi-lens/dist/{chunk-75SY4F24.js → chunk-KKCK636N.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-OLAWH5UQ.js → chunk-KPPJTH44.js} +2 -1
- package/node_modules/pi-lens/dist/{chunk-5APMQ2IJ.js → chunk-KW5JQPO5.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-SCIUNBPF.js → chunk-L3CMBQMH.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-GAACZY6R.js → chunk-L5JYIU47.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-2DDDCJDL.js → chunk-LBLBAFG3.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-NNKXDXXS.js → chunk-LLS45EWB.js} +8 -0
- package/node_modules/pi-lens/dist/{chunk-WQOIR3QY.js → chunk-LS3QJRUB.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-XCUHKYCQ.js → chunk-LSC3VADM.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-GMTFDAOK.js → chunk-LUBPZN36.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-DMSLNKF7.js → chunk-LV4UMYVH.js} +19 -19
- package/node_modules/pi-lens/dist/{chunk-XAIT2YGS.js → chunk-MB6PXBUA.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-AE37FEGH.js → chunk-MNJIXFX4.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-OJLTLYHB.js → chunk-MPKRJBPK.js} +30 -10
- package/node_modules/pi-lens/dist/{chunk-QGSTQH4D.js → chunk-N5WSK2K7.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-Z7IGUAXL.js → chunk-NA7SEXHE.js} +10 -6
- package/node_modules/pi-lens/dist/{chunk-UHGF5UT5.js → chunk-O4BJFESU.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-UCGQT677.js → chunk-OE5ZBP7F.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-KSR7RGQY.js → chunk-OXOI55RU.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-NDMCVUYK.js → chunk-PR6PO3ES.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-NIU2IPC5.js → chunk-PUZ3E2J4.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-2DMLM3ZO.js → chunk-QHSNL7B2.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ZYNI26MI.js → chunk-QOE342SU.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-3WEPUD2V.js → chunk-R5MOQM2H.js} +98 -31
- package/node_modules/pi-lens/dist/{chunk-PPIBVH4R.js → chunk-RC2Z6K47.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-LEJOJDXL.js → chunk-RORGS5II.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-K2YGBXOA.js → chunk-RQS4QQSD.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-XQCSWV2G.js → chunk-RRV3FNNM.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-GTAI2J6U.js → chunk-SHLDT3OI.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-VPBIMOAQ.js → chunk-SNDXCFRS.js} +11 -9
- package/node_modules/pi-lens/dist/{chunk-Q4FCYCRE.js → chunk-T7A2HK2B.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-MN7MHUXQ.js → chunk-U5HPROLA.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ZUUI3ZSA.js → chunk-U6VN4NVL.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-W5R5SABV.js → chunk-U7BD2QL7.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-P4QNXS6I.js → chunk-UF7RTZSO.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-A3YNG5KP.js → chunk-URCQWAQ4.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-FFL3A2VP.js → chunk-VUZWQ7UG.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-YRD4ISED.js → chunk-W4WP2ERB.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-OOU2WZZE.js → chunk-WDBICWH3.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-BI5LAQ3Y.js → chunk-WGRJOXED.js} +114 -148
- package/node_modules/pi-lens/dist/{chunk-ZQ6NZZTB.js → chunk-WME2OQST.js} +33 -0
- package/node_modules/pi-lens/dist/{chunk-DC4CFXM5.js → chunk-XT2HTCJ5.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-SJJYRZB4.js → chunk-Y7F7IEE3.js} +55 -23
- package/node_modules/pi-lens/dist/{chunk-2F47TQOA.js → chunk-YES5CACN.js} +29 -29
- package/node_modules/pi-lens/dist/{chunk-H7HTEQUZ.js → chunk-YHC2O2WO.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-Q3UZHW6N.js → chunk-YVHBNSME.js} +6 -10
- package/node_modules/pi-lens/dist/{chunk-3MYEA7QD.js → chunk-ZE3KXHS7.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-VG5JS5SW.js → chunk-ZGSJDWQU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-5CV5ITZF.js → chunk-ZJTT47IG.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-Q4EMRFNA.js → chunk-ZMAUPOMG.js} +24 -24
- package/node_modules/pi-lens/dist/index.js +1925 -944
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +6 -6
- package/node_modules/pi-lens/dist/mcp/cli.js +30 -30
- package/node_modules/pi-lens/dist/mcp/server.js +707 -455
- package/node_modules/pi-lens/dist/mcp/worker.js +48 -48
- package/node_modules/pi-lens/dist/probes/installer.js +13 -13
- package/node_modules/pi-lens/docs/agent-tools.md +11 -3
- package/node_modules/pi-lens/docs/defect-shapes.md +15 -1
- package/node_modules/pi-lens/docs/dependencies.md +1 -0
- package/node_modules/pi-lens/docs/environment-variables.md +14 -0
- package/node_modules/pi-lens/docs/features.md +11 -1
- package/node_modules/pi-lens/docs/globalconfig.md +12 -1
- package/node_modules/pi-lens/docs/invariants/git-guard-host.md +34 -0
- package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +6 -0
- package/node_modules/pi-lens/docs/invariants/session-telemetry.md +42 -2
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +89 -45
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +3 -5
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +8 -1
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +7 -4
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +7 -4
- package/node_modules/pi-lens/docs/schema/pi-lens-config-v1.json +23 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +5 -0
- package/node_modules/pi-lens/docs/usage.md +5 -0
- package/node_modules/pi-lens/package.json +1 -1
- package/node_modules/pi-web-access/CHANGELOG.md +32 -1
- package/node_modules/pi-web-access/README.md +53 -15
- package/node_modules/pi-web-access/cloudflare-search.ts +237 -0
- package/node_modules/pi-web-access/curator-page.ts +12 -1
- package/node_modules/pi-web-access/curator-server.ts +3 -0
- package/node_modules/pi-web-access/dist/index.js +9450 -8642
- package/node_modules/pi-web-access/dist/mcp-cli.js +16742 -15954
- package/node_modules/pi-web-access/exa.ts +94 -20
- package/node_modules/pi-web-access/extract.ts +61 -9
- package/node_modules/pi-web-access/gemini-search.ts +17 -7
- package/node_modules/pi-web-access/index.ts +6 -0
- package/node_modules/pi-web-access/mcp-tool-definitions.ts +50 -34
- package/node_modules/pi-web-access/openai-search.ts +3 -1
- package/node_modules/pi-web-access/package.json +3 -2
- package/node_modules/pi-web-access/page-query.ts +13 -3
- package/node_modules/pi-web-access/pdf-extract.ts +1 -5
- package/node_modules/pi-web-access/perplexity.ts +2 -0
- package/node_modules/pi-web-access/searchapi.ts +202 -0
- package/node_modules/pi-web-access/source-check.ts +7 -0
- package/node_modules/pi-web-access/ssrf-protection.ts +25 -1
- package/node_modules/pi-web-access/summary-review.ts +21 -10
- package/node_modules/pi-web-access/tabstack.ts +289 -0
- package/node_modules/pi-web-access/utils.ts +79 -16
- package/node_modules/pi-web-access/web-tool-core.ts +10 -1
- package/node_modules/pi-web-access/xai-search.ts +3 -1
- package/package.json +5 -8
- package/node_modules/@tifan/pi-inline-skills/README.md +0 -41
- package/node_modules/@tifan/pi-inline-skills/package.json +0 -44
- package/node_modules/@tifan/pi-inline-skills/src/index.ts +0 -646
- package/node_modules/pi-lens/dist/chunk-G2B7F6ZU.js +0 -88
|
@@ -15,7 +15,7 @@ respawned server reports every finding it reported before eviction; the
|
|
|
15
15
|
content-bound coverage check the auxiliary freeze depends on. A server that
|
|
16
16
|
cannot demonstrate it is never proposed for eviction on perf grounds alone.
|
|
17
17
|
|
|
18
|
-
_Last generated: 2026-10-
|
|
18
|
+
_Last generated: 2026-10-27 on linux; 49 registry servers: 33 eligible, 0 vetoed, 2 inconclusive, 14 unavailable (0 not reached: budget)._
|
|
19
19
|
|
|
20
20
|
## Per-server rows
|
|
21
21
|
|
|
@@ -46,7 +46,7 @@ step log only, because it flaps.
|
|
|
46
46
|
| dart | primary | unmeasured | unavailable | tool-unavailable | n/a | n/a |
|
|
47
47
|
| deno | primary | transparent | eligible | · | ok | preserved |
|
|
48
48
|
| docker | primary | transparent | eligible | · | ok | preserved |
|
|
49
|
-
| docker-official | primary |
|
|
49
|
+
| docker-official | primary | transparent | eligible | · | ok | preserved |
|
|
50
50
|
| elixir | primary | unmeasured | unavailable | tool-unavailable | n/a | n/a |
|
|
51
51
|
| expert | primary | unmeasured | eligible | · | ok | preserved |
|
|
52
52
|
| fish | primary | transparent | eligible | · | ok | preserved |
|
|
@@ -83,7 +83,7 @@ step log only, because it flaps.
|
|
|
83
83
|
| vue | primary | unmeasured | inconclusive | no-baseline | n/a | unproven |
|
|
84
84
|
| yaml | primary | transparent | eligible | · | ok | preserved |
|
|
85
85
|
| zig | primary | unmeasured | eligible | · | ok | preserved |
|
|
86
|
-
| zizmor | auxiliary |
|
|
86
|
+
| zizmor | auxiliary | transparent | eligible | · | ok | preserved |
|
|
87
87
|
|
|
88
88
|
## Declared versus measured
|
|
89
89
|
|
|
@@ -93,7 +93,6 @@ nothing.
|
|
|
93
93
|
|
|
94
94
|
- **ast-grep** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
95
95
|
- **cue** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
96
|
-
- **docker-official** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
97
96
|
- **expert** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
98
97
|
- **gleam** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
99
98
|
- **kotlin** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
@@ -106,7 +105,6 @@ nothing.
|
|
|
106
105
|
- **toml** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
107
106
|
- **typos** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
108
107
|
- **zig** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
109
|
-
- **zizmor** [proposal] declared unmeasured but eviction and respawn preserved its findings
|
|
110
108
|
|
|
111
109
|
## Reasons
|
|
112
110
|
|
|
@@ -265,7 +265,14 @@ rigor (#2599).
|
|
|
265
265
|
must pass, and the hand-back quotes them. The body lint reads the closed
|
|
266
266
|
issue's labels through `gh api`; a `::warning::` that the Detection check
|
|
267
267
|
was skipped means gh failed, so the section was not required, not that it
|
|
268
|
-
passed (#4288). A
|
|
268
|
+
passed (#4288). A body that only references an issue (`Refs #N`, or any
|
|
269
|
+
close keyword the closing read does not own), or whose title names one
|
|
270
|
+
(`(refs #N)`), owes the same section when that issue is labelled `bug` or
|
|
271
|
+
`nightly-drift`; so does a body that closes a `nightly-drift` issue. A
|
|
272
|
+
reference written as `owner/repo#N` or a URL is refused unless the body
|
|
273
|
+
already closes a bug, which owes the section whatever else it cites. CI refuses a label
|
|
274
|
+
it cannot read; the local preflight, with no working gh, warns and skips it
|
|
275
|
+
as for a closed issue (#4968). A non-bug PR either deletes the `## Detection` section or
|
|
269
276
|
fills the three lines, and a `Shape:` or `Enforcer:` line it does write is
|
|
270
277
|
validated too; free text in between reds the local preflight. A bug-closing
|
|
271
278
|
PR that answers a layer, the `Gap: none:` reason, the `Shape: new:` name or
|
|
@@ -555,10 +555,13 @@ operator's private notes, so a different orchestrator can run the same train.
|
|
|
555
555
|
layer SHOULD have caught it earlier and at what cost. The accepted layer
|
|
556
556
|
words are the `DETECTION_LAYERS` list exported by `scripts/check-pr-body.mjs`,
|
|
557
557
|
which the `## Detection` body check reads; the prose does not restate them.
|
|
558
|
-
`nightly` may carry its workflow as `nightly:<workflow
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
558
|
+
`nightly` may carry its workflow as `nightly:<workflow>`. A PR that only
|
|
559
|
+
references a `bug` or `nightly-drift` issue, in its body or its title, owes
|
|
560
|
+
the section too (#4968: the 2026-10-29 audit found 24 bug-linked PRs merged
|
|
561
|
+
in one week with `Refs #N` and no lesson). A PR that owes the section is refused when `Caught by:`,
|
|
562
|
+
`Should have been caught by:`, the reason after `Gap: none:`, the
|
|
563
|
+
`Shape: new:` name or the `Enforcer: none:` reason is a placeholder (starts
|
|
564
|
+
with `unknown`, or is exactly `n/a`, `tbd` or `?`)
|
|
562
565
|
(#4519: 139 of 363 closed bugs read unknown in the 2026-10-16 retro).
|
|
563
566
|
If that layer does not exist, file it as an issue with the bug as
|
|
564
567
|
its named recurrence — the same standard shapes are held to. The lesson
|
|
@@ -143,10 +143,13 @@ the brief gives.
|
|
|
143
143
|
is that summary and nothing else: the full evidence (probe transcripts,
|
|
144
144
|
tables, mutation logs) goes in the declared deliverable file or, when there
|
|
145
145
|
is none, `~/.local/share/pi-lens-orchestrator/tmp/<lane>-tmp/REPORT.md`, and
|
|
146
|
-
the summary names that path. The
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
the summary names that path. The hand-back file a brief names is a required
|
|
147
|
+
lane record, kept outside the repo; the harness default against report `.md`
|
|
148
|
+
files does not cover it. A lane that skips the file has not delivered. The
|
|
149
|
+
orchestrator reads the summary alone to route the lane and opens the file only
|
|
150
|
+
when routing a fix round, so a claim made only in the file does not route.
|
|
151
|
+
(Full reports pasted into the reply were the largest orchestrator token cost
|
|
152
|
+
on 2026-10-07.)
|
|
150
153
|
- **Handbacks between rounds.** Every lane's returned summary for PR #N is
|
|
151
154
|
kept at `~/.local/share/pi-lens-orchestrator/tmp/handbacks/pr-<N>.md` (the
|
|
152
155
|
orchestrator's hooks write it; a fixer may also write it). A reviewer or
|
|
@@ -139,6 +139,18 @@
|
|
|
139
139
|
"guard": {
|
|
140
140
|
"x-stability": "stable"
|
|
141
141
|
},
|
|
142
|
+
"astGrep": {
|
|
143
|
+
"x-stability": "stable"
|
|
144
|
+
},
|
|
145
|
+
"zizmor": {
|
|
146
|
+
"x-stability": "stable"
|
|
147
|
+
},
|
|
148
|
+
"typos": {
|
|
149
|
+
"x-stability": "stable"
|
|
150
|
+
},
|
|
151
|
+
"spotbugs": {
|
|
152
|
+
"x-stability": "stable"
|
|
153
|
+
},
|
|
142
154
|
"opengrep": {
|
|
143
155
|
"x-stability": "stable"
|
|
144
156
|
},
|
|
@@ -398,6 +410,17 @@
|
|
|
398
410
|
"turnEnd": {
|
|
399
411
|
"x-stability": "stable"
|
|
400
412
|
},
|
|
413
|
+
"fallow": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"additionalProperties": true,
|
|
416
|
+
"properties": {
|
|
417
|
+
"enabled": {
|
|
418
|
+
"type": "boolean",
|
|
419
|
+
"x-stability": "experimental"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"x-stability": "stable"
|
|
423
|
+
},
|
|
401
424
|
"knip": {
|
|
402
425
|
"type": "object",
|
|
403
426
|
"additionalProperties": true,
|
|
@@ -6,7 +6,7 @@ server's `initialize` handshake. Generated by `node scripts/server-capabilities.
|
|
|
6
6
|
absent on the generating host are listed under *Unavailable* — run in a
|
|
7
7
|
provisioned environment (the nightly) to capture those rows.
|
|
8
8
|
|
|
9
|
-
_Last generated: 2026-10-
|
|
9
|
+
_Last generated: 2026-10-27 on linux; 41 servers captured, 9 unavailable._
|
|
10
10
|
|
|
11
11
|
## Diagnostic mode + navigation/edit operations
|
|
12
12
|
|
|
@@ -77,6 +77,10 @@ column is the effective behavior when nothing is set.
|
|
|
77
77
|
| `--lens-guard` | `guard.enabled` | global | **off** |
|
|
78
78
|
| `--lens-checkout-guard` | `guard.sharedCheckout` | global | **off** |
|
|
79
79
|
| `--no-opengrep` | `opengrep.enabled` | global | Opengrep scanner **on** |
|
|
80
|
+
| `--no-ast-grep` | `astGrep.enabled` | global | ast-grep auxiliary server **on** |
|
|
81
|
+
| `--no-zizmor` | `zizmor.enabled` | global | zizmor auxiliary server **on** |
|
|
82
|
+
| `--no-typos` | `typos.enabled` | global | typos auxiliary server **on** |
|
|
83
|
+
| `--lens-spotbugs` | `spotbugs.enabled` | global | SpotBugs **off** |
|
|
80
84
|
| `--no-read-guard` | `readGuard.enabled` | global | read-before-edit monitor **on** |
|
|
81
85
|
| `--no-lens-context` | `contextInjection.enabled` | global | context injection **on** |
|
|
82
86
|
| `--lens-retain-injections` | `contextInjection.retain` | global | **off** |
|
|
@@ -92,6 +96,7 @@ column is the effective behavior when nothing is set.
|
|
|
92
96
|
| `--no-lazy-tools` | `tools.lazy` | global | `true`: the five situational tools start inactive on every model (`"auto"` only on a model that keeps mid-conversation system messages, `false` never) |
|
|
93
97
|
| `--no-tool=<name>` | `tools.<name>.enabled` | project | every lens tool **on** |
|
|
94
98
|
| `--lens-turn-end-madge` | `turnEnd.madge.enabled` | global | **off** (madge runs at session start, not per turn) |
|
|
99
|
+
| `--lens-fallow` | `fallow.enabled` | global | **off** (fallow-lsp advisory auxiliary on JS/TS files; nothing installed or launched while off) |
|
|
95
100
|
| `--no-knip` | `knip.enabled` | project | knip analyzer **on** |
|
|
96
101
|
| `--no-jscpd` | `jscpd.enabled` | project | jscpd analyzer **on** |
|
|
97
102
|
| `--no-madge` | `madge.enabled` | project | madge analyzer **on** |
|
|
@@ -109,6 +109,10 @@ pi --no-delta # Disable delta mode (show all diagnostics, not just ne
|
|
|
109
109
|
pi --lens-guard # Block git commit/push when unresolved blockers exist (experimental)
|
|
110
110
|
pi --lens-checkout-guard # Decline git commands that rewrite the working tree while another live pi-lens session shares this dirty checkout (experimental)
|
|
111
111
|
pi --no-opengrep # Disable the Opengrep security scanner (default-on auxiliary LSP)
|
|
112
|
+
pi --no-ast-grep # Disable the ast-grep auxiliary LSP server (default-on)
|
|
113
|
+
pi --no-zizmor # Disable the zizmor auxiliary LSP server (default-on)
|
|
114
|
+
pi --no-typos # Disable the typos auxiliary LSP server (default-on)
|
|
115
|
+
pi --lens-spotbugs # Run SpotBugs on Java and Kotlin files (opt-in; needs a Java build descriptor and compiled classes)
|
|
112
116
|
pi --no-read-guard # Disable the read-before-edit behavior monitor
|
|
113
117
|
pi --lens-retain-injections # Re-send injected findings unchanged in later requests, for exact-prefix (local) prompt caches
|
|
114
118
|
pi --lens-turn-summary # Persist a per-turn summary of diagnostics, autofixes, and autoformats
|
|
@@ -118,6 +122,7 @@ pi --lens-hide-lsp-status # Publish no pi-lens-lsp footer status at all, so
|
|
|
118
122
|
pi --lens-compact-widget # Render the widget as one summary line (languages + totals, LSP↑ chip while servers spawn) with no file rows or blocker details (refs #3959)
|
|
119
123
|
pi --no-lazy-tools # Keep every pi-lens tool active instead of activating the situational ones on demand
|
|
120
124
|
pi --lens-turn-end-madge # Run the madge circular-dependency check at every turn end, not just at session start
|
|
125
|
+
pi --lens-fallow # Run fallow-lsp beside the TypeScript server on JS/TS files (advisory unused-code, duplication and cycle findings; opt-in)
|
|
121
126
|
pi --no-knip # Disable the knip session-start analyzer
|
|
122
127
|
pi --no-jscpd # Disable the jscpd session-start analyzer
|
|
123
128
|
pi --no-madge # Disable the madge session-start analyzer
|
|
@@ -2,7 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [
|
|
5
|
+
## [0.46.0] - 2026-10-28
|
|
6
|
+
|
|
7
|
+
### Highlights
|
|
8
|
+
|
|
9
|
+
- Read more pages that block bots. Page fetches can connect the way Chrome does: in a test of 68 mostly bot-protected pages, readable pages went from 18 to about 31. Blocked pages can also be handed to Exa or Tabstack.
|
|
10
|
+
- Three new search options, each used only when you pick it: Cloudflare, Google through SearchApi, and Tabstack, which returns one cited answer instead of a list of links.
|
|
11
|
+
- Over MCP, the web tools take half as much of every request to the model (about 1.75k → 0.9k tokens).
|
|
12
|
+
- Reading a PDF now gives you its text instead of a note saying where the file was saved.
|
|
13
|
+
- A proxy you set keeps working after Pi reloads, and a rate-limited free search now says so instead of claiming no search provider is set up.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- Search through the [Cloudflare Web Search API](https://developers.cloudflare.com/web-search/) with `provider: "cloudflare"`. It runs on Ceramic, Exa, or Linkup (`cloudflareSearchProvider`, default Ceramic) through your AI Gateway, billed to AI Gateway credits or a provider key stored on the gateway. It reads the `CLOUDFLARE_API_KEY` and `CLOUDFLARE_ACCOUNT_ID` environment variables, or `cloudflareApiKey` and `cloudflareAccountId` in `web-search.json`; a Cloudflare key saved with Pi's `/login` is not used. It runs only when you name it, so `auto` and `all` never spend on it. Thanks to [@kestermcullough](https://github.com/kestermcullough) for [PR #639](https://github.com/nicobailon/pi-web-access/pull/639).
|
|
18
|
+
- `fetchContent.curl` in `web-search.json` sends the extension's own page fetch through a curl command instead of Node's fetch. Point it at [curl-impersonate](https://github.com/lexiforest/curl-impersonate), which connects the way Chrome does, and many sites that answer Node's fetch with HTTP 403 send the page instead. In a test of 68 pages, most of them behind bot protection, the number the extension could read went from 18 to about 31. Through curl, the extension leaves out its default `User-Agent` so the command's browser `User-Agent` is used. Without the setting, Node's fetch is used as before. Thanks to [@kestermcullough](https://github.com/kestermcullough) for [PR #640](https://github.com/nicobailon/pi-web-access/pull/640).
|
|
19
|
+
- `fetch_content` can read a page through Exa when a site refuses the direct fetch, using the Exa key you already set for search (`exaApiKey` or `EXA_API_KEY`). Add `"exa"` to `fetchRouting.providers` and set `fetchRouting.allowRemoteHostedProviders` to `true`; the page address is sent to Exa, and Exa bills each page it reads. A page Exa can't read comes back as an Exa error, not an empty page. Thanks to [@ccc592](https://github.com/ccc592) for [issue #633](https://github.com/nicobailon/pi-web-access/issues/633).
|
|
20
|
+
- Search Google through [SearchApi](https://www.searchapi.io) with `provider: "searchapi"`, configured with `searchapiApiKey` or `SEARCHAPI_API_KEY` (and an optional `searchapiBaseUrl` gateway). It runs only when you name it or list it in `searchRouting`; `auto` and `provider: "all"` never choose it. Domain filters become `site:` clauses and recency maps to `time_period`. Each search returns at most 10 results, one Google results page. Thanks to [@gabsferreira](https://github.com/gabsferreira) for [PR #645](https://github.com/nicobailon/pi-web-access/pull/645).
|
|
21
|
+
- Search with [Tabstack](https://tabstack.ai) Research, which returns a cited answer with its sources, using `provider: "tabstack"` and `tabstackApiKey` (or `TABSTACK_API_KEY`). It runs only when you name it; `auto` and `all` never choose it. Research runs in `fast` mode unless `tabstackResearchMode` is `"balanced"`. Tabstack Extract can also fetch blocked or JavaScript-heavy pages once you add `"tabstack"` to `fetchRouting.providers` and turn on `fetchRouting.allowRemoteHostedProviders`. Thanks to [@tessak22](https://github.com/tessak22) for [PR #641](https://github.com/nicobailon/pi-web-access/pull/641).
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- The MCP server's tool definitions shrink from about 7,000 to about 3,500 characters (about 1,750 to 900 tokens) on every request to the model. The `provider` parameter no longer spells out every provider name; an unknown name is still rejected before any request, and the error lists the valid names. Thanks to [@mikeyobrien](https://github.com/mikeyobrien) for [PR #644](https://github.com/nicobailon/pi-web-access/pull/644).
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- `fetch_content` recognizes mixed-case Content-Type headers, so HTML still goes through readable extraction and Cloudflare challenge detection, and PDF and binary types are handled like lowercase types. Thanks to [@Nyarlathoteppppp](https://github.com/Nyarlathoteppppp) for [PR #632](https://github.com/nicobailon/pi-web-access/pull/632).
|
|
30
|
+
- Reading a PDF with `fetch_content` now returns the PDF's text, with the path of the saved Markdown file above it. Before, the result was only a "saved to" notice, and `get_search_content` returned that same notice, so a model that cannot open local files had no way to read the PDF. Thanks to [@ccc592](https://github.com/ccc592) for [issue #634](https://github.com/nicobailon/pi-web-access/issues/634).
|
|
31
|
+
- Searching without an Exa key no longer says that no search provider is set up when Exa's free search answered but couldn't be used. When the free Exa search is rate-limited, the error now says so and tells you to add an Exa API key; when Exa sends back something without search results, the error shows what it sent. Search routing treats these like any other rate limit or unreadable reply, so `fallbackOn` can move on to the next provider. A search that finds nothing is now an empty result, not an error. Thanks to [@vishwajeet7381](https://github.com/vishwajeet7381) for [issue #638](https://github.com/nicobailon/pi-web-access/issues/638).
|
|
32
|
+
- When no summary model can be used, the reason now lists every model that was tried and why each one failed, instead of naming only the last one. Before, a session with none of the default summary models set up showed one model as "not enabled", which pointed at the wrong fix. Thanks to [@vishwajeet7381](https://github.com/vishwajeet7381) for [issue #642](https://github.com/nicobailon/pi-web-access/issues/642).
|
|
33
|
+
- A proxy you set could be skipped after Pi reloaded its extensions, so web requests went out directly instead of through it. Requests now go through the proxy you chose. Thanks to [@xiangsheng](https://github.com/xiangsheng) for [issue #643](https://github.com/nicobailon/pi-web-access/issues/643).
|
|
34
|
+
- `source_check` marks OpenAI and xAI citation snippets as `[provider summary, not page text]`. Those snippets are cut from the search provider's own answer, not from the cited page, and were shown as if they were quotes from it. Thanks to [@panchogn](https://github.com/panchogn) for [PR #629](https://github.com/nicobailon/pi-web-access/pull/629).
|
|
35
|
+
- `fetch_content` answer mode asks models that can't turn thinking off, such as Claude Opus 5.5 and Sonnet 5.5, for their lowest thinking level instead of leaving it to the provider. Models that can turn thinking off still run without it. Thanks to [@panchogn](https://github.com/panchogn) for [PR #629](https://github.com/nicobailon/pi-web-access/pull/629).
|
|
36
|
+
- Requests sent through a `proxy` no longer follow redirects inside curl when `~/.curlrc` turns on `location`, so the extension checks each redirect again. A curl download that fails partway is now an error instead of a short response. A URL with `[ ]` or `{ }` in it, such as `?ids[]=1`, is now sent as written instead of failing or being turned into several requests.
|
|
6
37
|
|
|
7
38
|
## [0.45.0] - 2026-10-25
|
|
8
39
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Pi Web Access
|
|
6
6
|
|
|
7
|
-
**Web search, content extraction, and video understanding for Pi agent. OpenAI/Codex search, zero-config Exa search, Brave, Parallel, TinyFish, Search1API, Searchinfinity, Querit, Tavily, Firecrawl, Jina, SERPdive, Kagi, Bocha, Ollama, AnySearch, XCrawl, Valyu, xAI/Grok, Mistral, Bright Data SERP, SerpBase, SerpApi, Linkup, Serper, explicit-only Serply, self-hosted SearXNG, degoog metasearch, self-hosted Crawl4AI extraction, keyless DuckDuckGo, keyless Keenable, optional browser-cookie Gemini Web, Kimi Code Plan search, or bring your own API keys.**
|
|
7
|
+
**Web search, content extraction, and video understanding for Pi agent. OpenAI/Codex search, zero-config Exa search, Brave, Parallel, TinyFish, Search1API, Searchinfinity, Querit, Tavily, Firecrawl, Jina, SERPdive, Kagi, Bocha, Ollama, AnySearch, XCrawl, Valyu, xAI/Grok, Mistral, Bright Data SERP, SerpBase, SerpApi, Linkup, Serper, explicit-only Serply, SearchApi, self-hosted SearXNG, degoog metasearch, self-hosted Crawl4AI extraction, keyless DuckDuckGo, keyless Keenable, optional browser-cookie Gemini Web, Kimi Code Plan search, or bring your own API keys.**
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/pi-web-access)
|
|
10
10
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -12,9 +12,15 @@
|
|
|
12
12
|
|
|
13
13
|
<https://github.com/user-attachments/assets/cac6a17a-1eeb-4dde-9818-cdf85d8ea98f>
|
|
14
14
|
|
|
15
|
+
## What's new in 0.45
|
|
16
|
+
|
|
17
|
+
https://github.com/user-attachments/assets/d9296f9b-9769-4ca0-8c27-ef1a766afcdc
|
|
18
|
+
|
|
19
|
+
The agent can now pull specific values off a page, like a price or a rate limit, instead of reading the whole thing. Numbers and text come back with the line they were found on, and anything the model isn't sure of is marked as a guess or as not on the page. Code mode scripts get those values as typed data, so one script can search and compare numbers across the top results. Search can also move on to the next provider when one comes back empty or off-topic, and the web tools take about 60% fewer tokens on every request. See the [changelog](CHANGELOG.md#0450---2026-10-25) for everything in this release.
|
|
20
|
+
|
|
15
21
|
## Why Pi Web Access
|
|
16
22
|
|
|
17
|
-
**Zero Config** — Works out of the box with Exa MCP (no API key needed). If you're signed into Pi with a Codex subscription, OpenAI web search can reuse that auth. An active Kimi Code Plan signed in through `/login kimi-coding` enables explicit Kimi search without a separate Open Platform key. Add API keys or endpoints for OpenAI, Brave, Parallel, TinyFish, Search1API, Searchinfinity, Querit, Tavily, Firecrawl, Jina, SERPdive, Kagi, Bocha, Ollama, Valyu, SerpBase, SerpApi, Serper, explicit-only Serply, Exa, Perplexity, Gemini API, or Mistral for more control; configure a self-hosted SearXNG endpoint or a degoog metasearch instance (public `https://degoog.org` by default) for private search; or opt into browser-cookie access for Gemini Web.
|
|
23
|
+
**Zero Config** — Works out of the box with Exa MCP (no API key needed). If you're signed into Pi with a Codex subscription, OpenAI web search can reuse that auth. An active Kimi Code Plan signed in through `/login kimi-coding` enables explicit Kimi search without a separate Open Platform key. Add API keys or endpoints for OpenAI, Brave, Parallel, TinyFish, Search1API, Searchinfinity, Querit, Tavily, Firecrawl, Jina, SERPdive, Kagi, Bocha, Ollama, Valyu, SerpBase, SerpApi, Serper, explicit-only Serply, SearchApi, Exa, Perplexity, Gemini API, or Mistral for more control; configure a self-hosted SearXNG endpoint or a degoog metasearch instance (public `https://degoog.org` by default) for private search; or add a Tabstack key for cited research answers; or opt into browser-cookie access for Gemini Web.
|
|
18
24
|
|
|
19
25
|
**Video Understanding** — Point it at a YouTube video or local screen recording and ask questions about what's on screen. Full transcripts, visual descriptions, and frame extraction at exact timestamps.
|
|
20
26
|
|
|
@@ -191,7 +197,7 @@ fetch_content({ url: "/path/to/recording.mp4", prompt: "What error appears on sc
|
|
|
191
197
|
|
|
192
198
|
### web_search
|
|
193
199
|
|
|
194
|
-
Search the web via OpenAI, Brave, Parallel, TinyFish, Search1API, Searchinfinity, Querit, Tavily, Firecrawl, Jina, SERPdive, Kagi, Bocha, Ollama, AnySearch, XCrawl, Valyu, xAI, Mistral, Bright Data SERP, SerpBase, SerpApi, Serper, Serply, You.com, keyless Keenable, Ceramic, DeepSeek, Linkup, a 9router gateway, self-hosted SearXNG, explicit-only degoog, keyless DuckDuckGo, Exa, Perplexity AI, Gemini, or Kimi. The default `none` workflow makes no summary-generation model call and opens no curator/browser: it returns bounded raw results, identifies the provider used for each query, and stores the full results for retrieval by responseId. The selected search provider may itself be model-backed.
|
|
200
|
+
Search the web via OpenAI, Brave, Parallel, TinyFish, Search1API, Searchinfinity, Querit, Tavily, Firecrawl, Jina, SERPdive, Kagi, Bocha, Ollama, AnySearch, XCrawl, Valyu, xAI, Mistral, Bright Data SERP, SerpBase, SerpApi, Serper, Serply, SearchApi, You.com, keyless Keenable, Ceramic, DeepSeek, Linkup, a 9router gateway, the Cloudflare Web Search API, explicit-only Tabstack Research, self-hosted SearXNG, explicit-only degoog, keyless DuckDuckGo, Exa, Perplexity AI, Gemini, or Kimi. The default `none` workflow makes no summary-generation model call and opens no curator/browser: it returns bounded raw results, identifies the provider used for each query, and stores the full results for retrieval by responseId. The selected search provider may itself be model-backed.
|
|
195
201
|
|
|
196
202
|
```typescript
|
|
197
203
|
web_search({ query: "rust async programming" })
|
|
@@ -217,7 +223,7 @@ web_search({ queries: ["query 1", "query 2"], workflow: "auto-summary" })
|
|
|
217
223
|
| `recencyFilter` | `day`, `week`, `month`, or `year` |
|
|
218
224
|
| `domainFilter` | Limit to domains (prefix with `-` to exclude) |
|
|
219
225
|
| `category` | Exa only: restrict results to a category such as `publication` (research papers), `news`, or `company`; other providers ignore it. Each Exa source lists its published date and authors when Exa returns them, and `publication` results also list the citation count and DOI. Without an API key, if Exa's filtered search is unavailable, the category is added to the query instead |
|
|
220
|
-
| `provider` | Omit it or pass `"auto"` to use the configured provider (auto-selects when no provider or routing is configured). `"all"` searches every eligible provider at once; [All providers](#all-providers) lists the explicit-only providers it skips. Otherwise one name (`openai`, `brave`, `parallel`, `parallel-mcp`, `tinyfish`, `search1api`, `searchinfinity`, `querit`, `tavily`, `you`, `firecrawl`, `jina`, `serpdive`, `kagi`, `bocha`, `ollama`, `anysearch`, `xcrawl`, `valyu`, `xai`, `mistral`, `brightdata`, `serpbase`, `serpapi`, `serper`, `serply`, `baizhi`, `zai`, `keenable`, `ceramic`, `deepseek`, `linkup`, `ninerouter`, `searxng`, `degoog`, `duckduckgo`, `exa`, `perplexity`, `gemini`, or `kimi`), or several comma-separated names such as `"brave,exa"` to search them at once. An unknown name fails before any request with an error that lists the valid names |
|
|
226
|
+
| `provider` | Omit it or pass `"auto"` to use the configured provider (auto-selects when no provider or routing is configured). `"all"` searches every eligible provider at once; [All providers](#all-providers) lists the explicit-only providers it skips. Otherwise one name (`openai`, `brave`, `parallel`, `parallel-mcp`, `tinyfish`, `search1api`, `searchinfinity`, `querit`, `tavily`, `you`, `firecrawl`, `jina`, `serpdive`, `kagi`, `bocha`, `ollama`, `anysearch`, `xcrawl`, `valyu`, `xai`, `mistral`, `brightdata`, `serpbase`, `serpapi`, `serper`, `serply`, `searchapi`, `baizhi`, `zai`, `keenable`, `ceramic`, `deepseek`, `linkup`, `ninerouter`, `cloudflare`, `tabstack`, `searxng`, `degoog`, `duckduckgo`, `exa`, `perplexity`, `gemini`, or `kimi`), or several comma-separated names such as `"brave,exa"` to search them at once. An unknown name fails before any request with an error that lists the valid names |
|
|
221
227
|
| `includeContent` | Fetch full page content from sources in background |
|
|
222
228
|
| `model` | Model ID for this call only, used instead of `openaiSearchModel`, `xaiSearchModel`, `mistralSearchModel`, or Gemini's `searchModel`. Requires `provider` set to exactly one of `openai`, `xai`, `mistral`, or `gemini`. A failure is reported as an error rather than retried with another model or provider, and Gemini uses only its API, never browser cookies. Listed only when `webSearch.allowedProviders` allows one of those providers; not available with `workflow: "summary-review"` or over MCP |
|
|
223
229
|
| `workflow` | `none` (skip curator; fresh-install default), `summary-review` (open curator and auto-generate a summary draft), or `auto-summary` (generate a summary without opening the curator) |
|
|
@@ -391,9 +397,9 @@ Requires `ffmpeg` (and `yt-dlp` for YouTube). Timestamps accept `H:MM:SS`, `MM:S
|
|
|
391
397
|
|
|
392
398
|
### PDFs
|
|
393
399
|
|
|
394
|
-
With `mode: "answer"`, the answer model receives the extracted PDF Markdown
|
|
400
|
+
With `mode: "answer"`, the answer model receives the extracted PDF Markdown. In readable mode the result is the Markdown itself, preceded by the path of the saved file, and long PDFs are cut at `maxInlineContentChars` like any page. In readable, answer and extract modes the Markdown is stored, so `get_search_content` can page through it.
|
|
395
401
|
|
|
396
|
-
PDF URLs are converted to Markdown and saved under the temporary `pi-web-pdf` directory by default so
|
|
402
|
+
PDF URLs are converted to Markdown and also saved under the temporary `pi-web-pdf` directory by default, so an agent that can read local files can `read` specific sections. Four engines are available, selected with `pdf.provider` (`"auto"` is the default):
|
|
397
403
|
|
|
398
404
|
| Provider | Engine | Trade-offs |
|
|
399
405
|
| --- | --- | --- |
|
|
@@ -450,7 +456,7 @@ The config-level `proxy` applies only to requests made by this extension's tools
|
|
|
450
456
|
|
|
451
457
|
Localhost, `127.0.0.1`, `[::1]`, and any host matching the `NO_PROXY` environment variable are never proxied.
|
|
452
458
|
|
|
453
|
-
When Readability fails or returns only a cookie notice, the extension can retry configured Firecrawl extraction, configured Crawl4AI extraction, Jina Reader (handles JS rendering server-side, no API key needed), TinyFish, Search1API, Querit, Kagi Extract, Ollama Web Fetch, Parallel, Bright Data Web Unlocker, DeepSeek Fetch, Gemini URL Context API, and Gemini Web extraction when browser cookies are enabled. Configure `fetchRouting.providers` to change the order or set of `fetch_content` providers. Supported values are `http`, `firecrawl`, `crawl4ai`, `jina`, `tinyfish`, `search1api`, `querit`, `kagi`, `ollama`, `parallel`, `parallel-mcp`, `brightdata`, `gemini`, and `
|
|
459
|
+
When Readability fails or returns only a cookie notice, the extension can retry configured Firecrawl extraction, configured Crawl4AI extraction, Jina Reader (handles JS rendering server-side, no API key needed), TinyFish, Search1API, Querit, Kagi Extract, Ollama Web Fetch, Parallel, Bright Data Web Unlocker, DeepSeek Fetch, Exa contents, Tabstack Extract, Gemini URL Context API, and Gemini Web extraction when browser cookies are enabled. Configure `fetchRouting.providers` to change the order or set of `fetch_content` providers. Supported values are `http`, `firecrawl`, `crawl4ai`, `jina`, `tinyfish`, `search1api`, `querit`, `kagi`, `ollama`, `parallel`, `parallel-mcp`, `brightdata`, `gemini`, `deepseek`, `exa`, and `tabstack`; when absent, the default order is unchanged. `parallel-mcp`, `deepseek`, `exa`, and `tabstack` are not in the default fetch order and must be listed explicitly. `exa` reads the page with Exa's `POST /contents` endpoint using the same `exaApiKey`/`EXA_API_KEY` as Exa search (it is skipped without a key, and Exa bills each page); a page Exa cannot read is reported as an Exa error rather than an empty page. For remote HTTP(S) targets, third-party hosted providers are disabled unless `fetchRouting.allowRemoteHostedProviders` is `true`, because hosted services perform their own fetch and can see a different redirect chain than the local safety gate. Firecrawl and Crawl4AI stay available as configured self-hosted extraction services. Firecrawl requests are cache-only by default and require an explicit fresh-scrape opt-in before the Firecrawl server can fetch target URLs. Bright Data Web Unlocker runs last of the remote scraping providers, ahead of only the Gemini fallbacks, because it is billed per request against a paid account; it is skipped unless both a key and an `unblocker` zone are configured. It applies no minimum-length check, so any non-empty body it returns — including a short consent or paywall stub — is the final answer for that URL and the Gemini fallbacks are not tried. Handles SPAs, JS-heavy pages, and anti-bot protections transparently. Also parses Next.js RSC flight data when present. HTML extraction also surfaces registered discovery relations (`service-desc`, `service-doc`, `service-meta`, `api-catalog`, `describedby`) from the HTTP `Link` header and matching `link`/`a[rel]` markup. Readable or rendered content remains primary; on an empty shell, the normal extraction fallbacks run before declared links are returned on their own.
|
|
454
460
|
|
|
455
461
|
## How It Works
|
|
456
462
|
|
|
@@ -533,6 +539,8 @@ Config defaults to `~/.pi/agent/web-search.json` when neither `PI_CODING_AGENT_D
|
|
|
533
539
|
"search1apiApiKey": "...",
|
|
534
540
|
"tavilyApiKey": "tvly-...",
|
|
535
541
|
"tavilyBaseUrl": "https://gateway.example.com/tavily",
|
|
542
|
+
"tabstackApiKey": "$TABSTACK_API_KEY",
|
|
543
|
+
"tabstackResearchMode": "fast",
|
|
536
544
|
"youApiKey": "your-ydc-api-key",
|
|
537
545
|
"jinaApiKey": "$JINA_API_KEY",
|
|
538
546
|
"serpdiveApiKey": "sd_live_...",
|
|
@@ -551,6 +559,7 @@ Config defaults to `~/.pi/agent/web-search.json` when neither `PI_CODING_AGENT_D
|
|
|
551
559
|
"serperBaseUrl": "https://gateway.example.com/serper",
|
|
552
560
|
"serperApiKey": "$SERPER_API_KEY",
|
|
553
561
|
"serplyApiKey": "$SERPLY_API_KEY",
|
|
562
|
+
"searchapiApiKey": "$SEARCHAPI_API_KEY",
|
|
554
563
|
"baizhiApiKey": "$BAIZHI_API_KEY",
|
|
555
564
|
"zaiApiKey": "$ZAI_API_KEY",
|
|
556
565
|
"brightdataApiKey": "$BRIGHTDATA_API_KEY",
|
|
@@ -667,7 +676,8 @@ Config defaults to `~/.pi/agent/web-search.json` when neither `PI_CODING_AGENT_D
|
|
|
667
676
|
"deny": ["blocked.example.com"]
|
|
668
677
|
},
|
|
669
678
|
"redirects": "same-origin",
|
|
670
|
-
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36"
|
|
679
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
|
|
680
|
+
"curl": "curl_chrome146"
|
|
671
681
|
},
|
|
672
682
|
"shortcuts": {
|
|
673
683
|
"curate": "ctrl+shift+s",
|
|
@@ -690,7 +700,7 @@ Config defaults to `~/.pi/agent/web-search.json` when neither `PI_CODING_AGENT_D
|
|
|
690
700
|
|
|
691
701
|
`summaryInstructions` appends custom text to the Requirements section of the summary prompt used by the curator UI and `auto-summary` mode (e.g. `"- Preserve concrete figures verbatim: prices, limits, versions, dates.\n- Name the product version each claim applies to."`). The text is passed verbatim to the summary model, so use one `- ` bullet per requirement. It is additive: the built-in guardrails (no invented sources, explicit weak/conflicting-evidence notes, the Sources section) always stay in place, and curator regeneration feedback is still appended afterwards. Missing, non-string, or blank values leave the default prompt unchanged.
|
|
692
702
|
|
|
693
|
-
All provider API-key fields (`openaiApiKey`, `braveApiKey`, `parallelApiKey`, `tinyfishApiKey`, `search1apiApiKey`, `searchinfinityApiKey`, `queritApiKey`, `tavilyApiKey`, `youApiKey`, `jinaApiKey`, `serpdiveApiKey`, `kagiApiKey`, `bochaApiKey`, `ollamaApiKey`, `valyuApiKey`, `serpbaseApiKey`, `serpapiApiKey`, `serperApiKey`, `serplyApiKey`, `baizhiApiKey`, `zaiApiKey`, `keenableApiKey`, `ceramicApiKey`, `linkupApiKey`, `ninerouterApiKey`, `deepseekApiKey`, `degoogApiKey`, `anysearchApiKey`, `xcrawlApiKey`, `xaiApiKey`, `mistralApiKey`, `brightdataApiKey`, `firecrawlApiKey`, `crawl4aiApiToken`, `exaApiKey`, `perplexityApiKey`, `geminiApiKey`, `datalabApiKey`, and `cloudflareApiKey`) accept explicit credential sources. Use `$NAME` or `${NAME}` to read one named environment variable, or prefix a trusted local shell command with `!` to resolve one value at provider request time. Escape `$$` as a literal leading `$` and `$!` as a literal leading `!`:
|
|
703
|
+
All provider API-key fields (`openaiApiKey`, `braveApiKey`, `parallelApiKey`, `tinyfishApiKey`, `search1apiApiKey`, `searchinfinityApiKey`, `queritApiKey`, `tavilyApiKey`, `tabstackApiKey`, `youApiKey`, `jinaApiKey`, `serpdiveApiKey`, `kagiApiKey`, `bochaApiKey`, `ollamaApiKey`, `valyuApiKey`, `serpbaseApiKey`, `serpapiApiKey`, `serperApiKey`, `serplyApiKey`, `searchapiApiKey`, `baizhiApiKey`, `zaiApiKey`, `keenableApiKey`, `ceramicApiKey`, `linkupApiKey`, `ninerouterApiKey`, `deepseekApiKey`, `degoogApiKey`, `anysearchApiKey`, `xcrawlApiKey`, `xaiApiKey`, `mistralApiKey`, `brightdataApiKey`, `firecrawlApiKey`, `crawl4aiApiToken`, `exaApiKey`, `perplexityApiKey`, `geminiApiKey`, `datalabApiKey`, and `cloudflareApiKey`) accept explicit credential sources. Use `$NAME` or `${NAME}` to read one named environment variable, or prefix a trusted local shell command with `!` to resolve one value at provider request time. Escape `$$` as a literal leading `$` and `$!` as a literal leading `!`:
|
|
694
704
|
|
|
695
705
|
```json
|
|
696
706
|
{
|
|
@@ -701,18 +711,18 @@ All provider API-key fields (`openaiApiKey`, `braveApiKey`, `parallelApiKey`, `t
|
|
|
701
711
|
}
|
|
702
712
|
```
|
|
703
713
|
|
|
704
|
-
This syntax applies to provider credentials only; other configuration fields are not interpolated. `firecrawlApiKey`, `crawl4aiApiToken`, `kagiApiKey`, `ollamaApiKey`, `valyuApiKey`, `serpbaseApiKey`, `serpapiApiKey`, `serperApiKey`, `serplyApiKey`, `baizhiApiKey`, `zaiApiKey`, `keenableApiKey`, `ceramicApiKey`, `linkupApiKey`, `ninerouterApiKey`, `deepseekApiKey`, `degoogApiKey`, `mistralApiKey`, and `brightdataApiKey` use the same credential-source rules, while API base URLs, `firecrawlApiVersion`, `firecrawlFreshScrape`, `firecrawlPdfMaxPages`, `crawl4aiBaseUrl`, `degoogBaseUrl`, `degoogEngines`, `brightdataSerpZone`, `brightdataUnlockerZone`, and `zaiEndpoint` are literal config values.
|
|
714
|
+
This syntax applies to provider credentials only; other configuration fields are not interpolated. `firecrawlApiKey`, `crawl4aiApiToken`, `kagiApiKey`, `ollamaApiKey`, `valyuApiKey`, `serpbaseApiKey`, `serpapiApiKey`, `serperApiKey`, `serplyApiKey`, `searchapiApiKey`, `baizhiApiKey`, `zaiApiKey`, `keenableApiKey`, `ceramicApiKey`, `linkupApiKey`, `ninerouterApiKey`, `deepseekApiKey`, `degoogApiKey`, `mistralApiKey`, and `brightdataApiKey` use the same credential-source rules, while API base URLs, `firecrawlApiVersion`, `firecrawlFreshScrape`, `firecrawlPdfMaxPages`, `crawl4aiBaseUrl`, `degoogBaseUrl`, `degoogEngines`, `brightdataSerpZone`, `brightdataUnlockerZone`, and `zaiEndpoint` are literal config values.
|
|
705
715
|
|
|
706
716
|
A command source is not run while the extension loads or registers tools. Each selected provider request runs it again with a five-second timeout, a 16 KiB output limit, a minimized environment, and a one-line non-empty stdout requirement. Command text and stderr are omitted from errors. On Windows the command runs in Git Bash (or `bash.exe` on `PATH`), like Pi's own `!command` config values, so POSIX syntax such as `$HOME` works; it falls back to `cmd.exe` when no bash is found. These commands are trusted local configuration, not a same-user process isolation boundary; use absolute executable paths and protect the config file. `OP_SESSION_*` and `OP_SERVICE_ACCOUNT_TOKEN`, when present in Pi's environment, are forwarded to trusted resolver commands so 1Password CLI sessions and service accounts can be reused without storing their credentials in config. For example, `"braveApiKey": "!/absolute/path/to/op read 'op://Automation/Brave/credential'"` resolves that item after you replace the executable placeholder with your trusted installation's absolute path, but the `op://` argument is not an authorization boundary: every configured resolver command that receives the token can exercise all vault and item permissions granted to its service account. Prefer a narrowly scoped service account. An explicit source overrides legacy provider environment variables and fails that provider locally rather than falling back with a stale credential. Direct Google Gemini API requests send the resolved key only in the `x-goog-api-key` header, never in the URL.
|
|
707
717
|
|
|
708
718
|
`mistralSearchModel` defaults to `mistral-small-latest` and must be a non-empty string. `mistralSearchTool` defaults to `web_search` and accepts only `web_search` or the opt-in `web_search_premium` tool.
|
|
709
719
|
|
|
710
|
-
These providers accept an API base URL for compatible gateways. Environment variables take precedence over config; path prefixes are preserved and trailing slashes are removed. Ollama and
|
|
720
|
+
These providers accept an API base URL for compatible gateways. Environment variables take precedence over config; path prefixes are preserved and trailing slashes are removed. Ollama, DeepSeek, and Tabstack read `PI_OLLAMA_BASE_URL`, `PI_DEEPSEEK_BASE_URL`, and `PI_TABSTACK_BASE_URL`, because other tools commonly set the bare `OLLAMA_BASE_URL` (a local Ollama server), `DEEPSEEK_BASE_URL` (an OpenAI-compatible `/v1` root), and `TABSTACK_BASE_URL` (the Tabstack SDKs' `/v1` root); the bare names are ignored.
|
|
711
721
|
|
|
712
722
|
| Config | Environment variable | Appended paths |
|
|
713
723
|
|---|---|---|
|
|
714
724
|
| `braveBaseUrl` | `BRAVE_BASE_URL` | `/web/search` |
|
|
715
|
-
| `exaBaseUrl` | `EXA_BASE_URL` | `/search` |
|
|
725
|
+
| `exaBaseUrl` | `EXA_BASE_URL` | `/search`, `/contents` |
|
|
716
726
|
| `tavilyBaseUrl` | `TAVILY_BASE_URL` | `/search` |
|
|
717
727
|
| `anysearchBaseUrl` | `ANYSEARCH_BASE_URL` | `/v1/search` |
|
|
718
728
|
| `bochaBaseUrl` | `BOCHA_BASE_URL` | `/v1/web-search` |
|
|
@@ -729,12 +739,14 @@ These providers accept an API base URL for compatible gateways. Environment vari
|
|
|
729
739
|
| `perplexityBaseUrl` | `PERPLEXITY_BASE_URL` | `/search`, `/chat/completions` |
|
|
730
740
|
| `queritBaseUrl` | `QUERIT_BASE_URL` | `/v1/search`, `/v1/contents` |
|
|
731
741
|
| `search1apiBaseUrl` | `SEARCH1API_BASE_URL` | `/search`, `/crawl` |
|
|
742
|
+
| `searchapiBaseUrl` | `SEARCHAPI_BASE_URL` | `/api/v1/search` |
|
|
732
743
|
| `searchinfinityBaseUrl` | `SEARCHINFINITY_BASE_URL` | `/search_api/web_search` |
|
|
733
744
|
| `serpapiBaseUrl` | `SERPAPI_BASE_URL` | `/search.json` |
|
|
734
745
|
| `serpbaseBaseUrl` | `SERPBASE_BASE_URL` | `/google/search` |
|
|
735
746
|
| `serpdiveBaseUrl` | `SERPDIVE_BASE_URL` | `/v1/search` |
|
|
736
747
|
| `serperBaseUrl` | `SERPER_BASE_URL` | `/search` |
|
|
737
748
|
| `serplyBaseUrl` | `SERPLY_BASE_URL` | `/v1/search` |
|
|
749
|
+
| `tabstackBaseUrl` | `PI_TABSTACK_BASE_URL` | `/v1/research`, `/v1/extract/markdown` |
|
|
738
750
|
| `valyuBaseUrl` | `VALYU_BASE_URL` | `/v1/search` |
|
|
739
751
|
| `xcrawlBaseUrl` | `XCRAWL_BASE_URL` | `/v1/serp` |
|
|
740
752
|
| `youBaseUrl` | `YOU_BASE_URL` | `/v1/search` |
|
|
@@ -757,6 +769,8 @@ Existing Responses endpoint settings (`openaiResponsesUrl`, `xaiResponsesUrl`),
|
|
|
757
769
|
|
|
758
770
|
`fetchContent.userAgent` sets the `User-Agent` header of this extension's own direct HTTP page fetch, which `fetch_content`, `web_search` `includeContent`, and `source_check` use, including `auth` profile and `mode: "raw"` fetches. It defaults to `OpenAI File Downloader, XaiImageApiFetch/1.0`; set it when a site rejects that default, for example to a regular browser User-Agent. Extraction providers such as Jina Reader or Firecrawl are not affected. The value must be a non-empty string of printable ASCII characters; any other value fails the page fetch with a config error.
|
|
759
771
|
|
|
772
|
+
`fetchContent.curl` sends the same direct HTTP page fetch through a curl command instead of Node's built-in fetch. Many sites block Node's fetch because of how it opens the secure connection. [curl-impersonate](https://github.com/lexiforest/curl-impersonate) opens it the way a browser does, so point this setting at one of its wrapper scripts, such as `"curl_chrome146"`. A string names one executable, found on `PATH` or given as a path. An array names the executable and its arguments, such as `["/opt/curl-impersonate/curl-impersonate", "--impersonate", "chrome146"]`, which also works on Windows, where wrapper scripts can't be started directly. Plain `curl` works too, but sites block it about as often as Node's fetch. When `curl` is set, the extension doesn't send its default `User-Agent`, so the command's own browser `User-Agent` is used, and a configured `fetchContent.userAgent` is still sent. The extension turns off curl's own redirect following, even when the command or `~/.curlrc` asks for it, so the extension still follows and checks each redirect itself. The SSRF checks, domain policy, timeout, size limit, and extraction stay the same; curl stops a download that is over the size limit. A configured or per-call `proxy` is passed to the command with `-x`. Otherwise curl ignores proxy environment variables such as `HTTPS_PROXY`, except when `ssrf.trustEnvProxy` is on and the variable covers the host: the extension then leaves that host to the proxy instead of checking it, so curl connects through the proxy. `auth` profile fetches keep Node's fetch, so browser cookies are never put on a command line, and extraction providers and search APIs are not affected. A command that can't be found fails the page fetch with `fetchContent.curl command not found` instead of falling back to other providers, and any value other than a non-empty string or a non-empty array of non-empty strings fails the page fetch with a config error. When `curl` is not set, Node's fetch is used as before.
|
|
773
|
+
|
|
760
774
|
`fetch.timeout` is an optional positive finite number of seconds for direct HTTP fetches and the Jina Reader fallback. When omitted, both use a 30-second budget. Fractional values are supported and rounded up to at least 1 millisecond; values that cannot be converted to a finite safe integer delay from 1 through Node's 2,147,483,647 ms timer maximum are rejected. An invalid declared value fails closed with an error naming `web-search.json`. An internal/per-call `timeoutMs` override takes precedence over this setting. Other remote extraction fallbacks keep their own documented budgets.
|
|
761
775
|
|
|
762
776
|
`fetch.defaultMode` sets the mode used when `fetch_content` omits `mode`, and `fetch.allowedModes` controls which modes the tool exposes and accepts. Valid modes are `readable`, `raw`, `answer`, and `extract`. By default, the default mode is `readable` and `readable`, `raw`, and `answer` are allowed; `extract` is allowed only when listed and cannot be the default. The default must be included in the non-empty, duplicate-free allowed list. An explicitly requested disabled mode fails before fetching or invoking a model and is never replaced with another mode. Raw mode remains direct HTTP-only and never runs readability, specialized source handling, or hosted extraction fallbacks.
|
|
@@ -793,6 +807,8 @@ Bright Data Web Unlocker is a paid `fetch_content` fallback after Parallel and b
|
|
|
793
807
|
|
|
794
808
|
**Ceramic.** Set `ceramicApiKey` or `CERAMIC_API_KEY` ([get a key](https://platform.ceramic.ai/keys)) and select `provider: "ceramic"` to query [Ceramic](https://www.ceramic.ai)'s web search API, a paid keyword search index with free starter credits. Ceramic is explicit-only: it is never chosen by `auto` or `provider: "all"`, but it can be configured as the named provider or added to `searchRouting`. Ceramic matches keywords rather than questions, so short keyword queries work best. Allowed domains become `site:` clauses in the query; excluded domains are only removed from the returned results, because Ceramic documents no exclusion syntax, so a search with exclusions can return fewer results than requested. `recencyFilter` is unsupported and is not sent, because Ceramic has no date filter. Result snippets are capped at 500 characters.
|
|
795
809
|
|
|
810
|
+
**Cloudflare.** Select `provider: "cloudflare"` to search through the [Cloudflare Web Search API](https://developers.cloudflare.com/web-search/), which runs the query on Ceramic, Exa, or Linkup through an AI Gateway and bills it to your AI Gateway credits at each provider's list price, or to a provider key stored on the gateway. Set `cloudflareAccountId` or `CLOUDFLARE_ACCOUNT_ID`, and `cloudflareApiKey` or `CLOUDFLARE_API_KEY` to an API token with **Workers AI Read** and **AI Gateway Read**. These are the same environment variables Pi's Cloudflare provider reads; a key saved with Pi's `/login` is not used here. `cloudflareSearchProvider` (or `CLOUDFLARE_SEARCH_PROVIDER`) picks `"ceramic"` (default), `"exa"`, or `"linkup"`, and `cloudflareGatewayId` (or `CLOUDFLARE_GATEWAY_ID`) picks the gateway (default `"default"`). Cloudflare is explicit-only: it is never chosen by `auto` or `provider: "all"`, but it can be configured as the named provider or added to `searchRouting`. The API returns at most 10 results and has no domain or date filters: with Ceramic, allowed domains become `site:` clauses in the query; for every provider, domain filters are applied to the returned results, so a filtered search can return fewer results than requested. `recencyFilter` is not sent. Result snippets are capped at 500 characters.
|
|
811
|
+
|
|
796
812
|
**DeepSeek.** Set `deepseekApiKey` or `DEEPSEEK_API_KEY` ([get a key](https://platform.deepseek.com/api_keys)) and select `provider: "deepseek"` to query DeepSeek's [Search API](https://api-docs.deepseek.com/guides/search), which is billed per successful request. DeepSeek is explicit-only: it is never chosen by `auto` or `provider: "all"`, but it can be configured as the named provider or added to `searchRouting`. Allowed domains become `site:` clauses, excluded domains become `-site:` clauses, and `recencyFilter` becomes an `after:` date in the query. DeepSeek accepts at most 128 characters per query including those clauses, so a longer query fails before any request is sent. Each result's snippet is DeepSeek's model-oriented `summary`, capped at 800 characters. With `includeContent: true`, the request sets `need_content: true` and DeepSeek's native page content is returned as inline content, so pages the provider already fetched are not fetched again; this does not change the per-request price. DeepSeek Fetch is also available as an opt-in `fetch_content` provider: add `deepseek` to `fetchRouting.providers` (it is not in the default fetch order) and set `fetchRouting.allowRemoteHostedProviders` to `true`. It calls `POST https://api.deepseek.com/v1/tools/fetch` and returns the page as Markdown, sharing `deepseekApiKey`/`DEEPSEEK_API_KEY` with search. The target URL is validated locally before the API request, and the key is stripped from cross-origin API redirects. DeepSeek bills each successful Fetch, and `auto`/`all` never select it.
|
|
797
813
|
|
|
798
814
|
**Serper.** Set `serperApiKey` or `SERPER_API_KEY` and select `provider: "serper"` to query Serper's Google Search API. Serper is explicit-only: it is never chosen by `auto` or `provider: "all"`, but it can be configured as the named provider or added to `searchRouting`.
|
|
@@ -807,11 +823,13 @@ The Baizhi input contract is based on the [published September 16 discovery snap
|
|
|
807
823
|
|
|
808
824
|
**Serply.** Set `serplyApiKey` or `SERPLY_API_KEY` and select `provider: "serply"` to query [Serply](https://serply.io)'s Google Search API. Serply is explicit-only: it is never chosen by `auto` or `provider: "all"`, but it can be configured as the named provider or added to `searchRouting`. The key is sent in the `X-Api-Key` request header. Domain filters are sent as Google `site:` clauses and reapplied locally; recency maps to Google's `tbs` time filter. Each request consumes Serply search credits; see the [API documentation](https://serply.io/docs).
|
|
809
825
|
|
|
826
|
+
**SearchApi.** Set `searchapiApiKey` or `SEARCHAPI_API_KEY` and select `provider: "searchapi"` to query [SearchApi](https://www.searchapi.io)'s Google Search API. SearchApi is explicit-only: it is never chosen by `auto` or `provider: "all"`, but it can be configured as the named provider or added to `searchRouting`. The key is sent as a `Bearer` token in the `Authorization` request header, never in the URL. Domain filters are sent as Google `site:` clauses and reapplied locally; recency maps to SearchApi's `time_period` filter (`last_day`, `last_week`, `last_month`, `last_year`). Each request fetches one Google results page and consumes SearchApi search credits, so a search returns at most 10 results even when `numResults` asks for more; results are trimmed to `numResults` locally. See the [API documentation](https://www.searchapi.io/docs/google).
|
|
827
|
+
|
|
810
828
|
**You.com.** Set `youApiKey` or `YDC_API_KEY` and select `provider: "you"` to query the [You.com Web Search API](https://you.com/docs/guides/search). You.com is explicit-only: it is never chosen by `auto` or `provider: "all"`, but it can be configured as the named provider or added to `searchRouting`. The key is sent in the `X-API-Key` request header. Domain filters map to `include_domains` and `exclude_domains`, and recency maps to `freshness`. Each request consumes You.com API credits.
|
|
811
829
|
|
|
812
830
|
**Parallel MCP.** Select `provider: "parallel-mcp"` to use Parallel Search MCP without an API key, or add it to `searchRouting`. It is explicit-only and is never chosen by `auto` or `provider: "all"`; the existing `parallel` provider remains the key-required REST API. A configured `parallelApiKey` or `PARALLEL_API_KEY` is sent as an optional Bearer token for higher MCP limits. To use MCP `web_fetch`, add `parallel-mcp` to `fetchRouting.providers` and set `fetchRouting.allowRemoteHostedProviders` to `true`; it is not part of the default fetch route.
|
|
813
831
|
|
|
814
|
-
Without an explicit `$` or `!` source, `OPENAI_API_KEY`, `BRAVE_API_KEY`, `PARALLEL_API_KEY`, `TINYFISH_API_KEY`, `SEARCH1API_KEY`, `SEARCHINFINITY_API_KEY`, `QUERIT_API_KEY`, `TAVILY_API_KEY`, `YDC_API_KEY`, `JINA_API_KEY`, `SERPDIVE_API_KEY`, `KAGI_API_KEY`, `BOCHA_API_KEY`, `OLLAMA_API_KEY`, `SERPBASE_API_KEY`, `SERPAPI_KEY`, `SERPER_API_KEY`, `SERPLY_API_KEY`, `BAIZHI_API_KEY`, `ZAI_API_KEY`, `KEENABLE_API_KEY`, `CERAMIC_API_KEY`, `DEEPSEEK_API_KEY`, `LINKUP_API_KEY`, `NINEROUTER_API_KEY`, `ANYSEARCH_API_KEY`, `XCRAWL_API_KEY`, `VALYU_API_KEY`, `XAI_API_KEY`, `MISTRAL_API_KEY`, `BRIGHTDATA_API_KEY`, `FIRECRAWL_API_KEY`, `CRAWL4AI_API_TOKEN`, `DEGOOG_API_KEY`, `EXA_API_KEY`, `GEMINI_API_KEY`, `DATALAB_API_KEY`, `DATALAB_PROCESSING_LOCATION`, `DATALAB_MODE`, `DATALAB_API_BASE`, `PERPLEXITY_API_KEY`, `GOOGLE_GEMINI_BASE_URL`, and `CLOUDFLARE_API_KEY` env vars retain their existing precedence over literal config file values. `openaiResponsesUrl` can point OpenAI `web_search` and `source_check` at a third-party gateway that supports the OpenAI Responses API and web search tool; it is an explicit endpoint override, not derived from Pi model provider settings, and defaults to `https://api.openai.com/v1/responses`. `openaiSearchModel` pins the model id used for OpenAI `web_search`, bypassing automatic selection (newest Luna model, then newest bare `gpt-N` or `gpt-N.N` id, then newest other `gpt-<version>` id; `gpt-6-luna` when only an API key is configured); the id is sent verbatim with whichever OpenAI auth resolves, so gateway-only model ids work too. `xaiSearchModel` similarly pins the xAI search model. `openaiSearchProviders` sets which Pi model providers OpenAI `web_search` resolves login credentials from, in priority order; it defaults to `["openai-codex", "openai"]`, entries that are not registered or not signed in are skipped, and an empty array skips Pi credentials entirely so the `openaiApiKey` / `OPENAI_API_KEY` fallback applies. Useful for choosing between multiple Codex accounts (for example a second account registered by an extension) or forcing API-key billing while signed into Codex. Configured Exa API keys use Exa's own account limits directly; any legacy local `exa-usage.json` file is ignored. `GOOGLE_GEMINI_BASE_URL` overrides the Gemini API host for Gemini generate-content calls such as search, URL context, YouTube, and local video analysis. Set it to a bare host with no trailing slash and no version segment, for example `https://my-gateway.example.com/gemini`; `geminiBaseUrl` is the config-file equivalent. When the configured host contains `gateway.ai.cloudflare.com`, authentication uses `cf-aig-authorization: Bearer <token>` from `CLOUDFLARE_API_KEY` or `cloudflareApiKey`, and `GEMINI_API_KEY` is not required for generate-content calls. Alternatively, set `geminiAuth` to `"adc"` to authenticate Gemini generate-content calls with Google Application Default Credentials (ADC) instead of an API key; calls go to the Vertex AI endpoint (`aiplatform.googleapis.com`) with an OAuth bearer token minted from the ADC file (`GOOGLE_APPLICATION_CREDENTIALS` or `~/.config/gcloud/application_default_credentials.json`, i.e. `gcloud auth application-default login`) or, on Compute Engine, from the metadata server. `geminiProject`/`geminiLocation` set the Vertex project and location and fall back to the `GOOGLE_CLOUD_PROJECT`/`GOOGLE_CLOUD_LOCATION` (or `GCLOUD_PROJECT`) env vars; project and location are required. ADC supports `authorized_user` (OAuth refresh token) and `service_account` (JWT assertion) credential files, and when neither `GOOGLE_APPLICATION_CREDENTIALS` nor `~/.config/gcloud/application_default_credentials.json` exists and Pi runs on Google Compute Engine, ADC uses the attached service account token from the GCE metadata server (`GCE_METADATA_HOST` overrides the host; `METADATA_SERVER_DETECTION=none` disables it); tokens are cached and refreshed from expiry. ADC mode covers search, URL context, and PDF/inline-data extraction; YouTube and local video analysis still go through the Gemini Files API, so they fall back to Gemini Web unless a `GEMINI_API_KEY` is also configured. The access token is treated as a credential and is redacted from errors. Local video file upload still uses Google's Files API directly, so gateway-only video extraction falls back to Gemini Web unless a `GEMINI_API_KEY` is also configured. `provider` or `searchProvider` sets the default search provider and is used when a tool call omits `provider` or sends `"auto"`: `"all"`, `"openai"`, `"brave"`, `"parallel"`, `"parallel-mcp"`, `"tinyfish"`, `"search1api"`, `"searchinfinity"`, `"querit"`, `"tavily"`, `"firecrawl"`, `"jina"`, `"serpdive"`, `"kagi"`, `"bocha"`, `"ollama"`, `"anysearch"`, `"xcrawl"`, `"valyu"`, `"xai"`, `"mistral"`, `"brightdata"`, `"serpbase"`, `"serpapi"`, `"serper"`, `"serply"`, `"you"`, `"baizhi"`, `"zai"`, `"keenable"`, `"ceramic"`, `"deepseek"`, `"ninerouter"`, `"searxng"`, `"degoog"`, `"exa"`, `"perplexity"`, or `"gemini"`. Parallel MCP, degoog, AnySearch, XCrawl, Valyu, xAI, Mistral, Bright Data, SerpBase, SerpApi, Serper, Serply, You.com, Baizhi, Z.ai, Keenable, Ceramic, DeepSeek, Linkup, and 9router are never selected by `auto`; choose them explicitly or place them in `searchRouting`. If either single-provider field is configured, it takes precedence over `searchRouting`. Otherwise, `searchRouting` can opt into an ordered `providers` list and an explicit `fallbackOn` list containing `"transient"`, `"quota"`, `"network"`, and/or `"invalid-response"`; only those typed failures continue to the next available candidate. `fallbackOn` may also list `"empty"` (a successful response with no results and no answer) and `"domain-miss"` (no result on a requested include domain; an empty response also counts when an include domain was requested), so a route moves on from a successful but unusable response; if every candidate is weak, the first weak response is returned instead of an error. Both are off unless listed. `searchRouting.timeoutMs` (integer, 1 to 600000) optionally caps one routed search across all candidates, including each candidate's availability check and credential or browser-cookie lookup: when it elapses the in-flight request is aborted, later candidates are not tried, and the first weak response or the exhausted-route diagnostics (with `routing timeout after <N>ms`) are returned. Cancelling the search yourself is still reported as a cancellation, and a named provider is never affected. `"all"` is not valid inside `searchRouting.providers`, because that list defines sequential fallback rather than multi-provider aggregation. Named providers remain strict, and exhausted routes return per-provider diagnostics. `provider` can also be a non-empty array of named providers such as `["brave", "exa"]`; those providers run concurrently using the same aggregation path as `"all"`, while `"auto"` and `"all"` are invalid inside arrays. When every provider in a default array fails and each failure is a `fallbackOn` type, the search continues through the `searchRouting` providers the array did not try; a list given in a tool call (`"brave,exa"` from Pi, or an array over MCP) stays strict. Random, weighted, sticky, and cooldown routing are not enabled. This is also updated automatically when you change the provider in the curator UI. Set `webSearch.enabled` to `false` to unregister the configured search and source-check tools while leaving fetch/content tools available. `toolNames` can opt into alternate public tool names for environments where another extension or model reserves the defaults, without changing behavior: `webSearch`, `sourceCheck`, `fetchContent`, and `getSearchContent` default to `web_search`, `source_check`, `fetch_content`, and `get_search_content`. `workflow` sets the default search workflow: `"none"` (default; raw results, no curator), `"summary-review"` (opens curator with an auto-generated summary draft), or `"auto-summary"` (returns a model-generated summary without opening the browser curator). Overridden per-call via the `workflow` parameter on the configured search tool, or toggled at runtime with `/curator`. `browserCookies.profile` pins Gemini Web cookie lookup to a specific Chromium profile. When omitted, detected Chromium profiles are scanned in stable order and the first profile containing the required Gemini cookies is used. macOS discovery supports Helium, Chrome, Brave, and Arc; Linux discovery supports Chromium and Chrome. `allowBrowserCookies` enables Chromium cookie extraction for Gemini Web; it defaults to `false` to avoid browser data access and surprise macOS Keychain prompts. You can also set `PI_ALLOW_BROWSER_COOKIES=1`. Cookie databases are copied to a temporary read-only working copy; the reader uses `node:sqlite` when available and otherwise tries the `sqlite3` CLI or Python's standard-library SQLite module. `searchModel` overrides the Gemini API model used by the configured search tool without changing URL, YouTube, or video extraction defaults. Gemini API grounded search uses `gemini-3.6-flash` by default; set `searchModel` to choose another model. Gemini Web browser-cookie fallback uses its separate `gemini-3.1-pro` default because Gemini Web relies on private header values; explicitly configured unsupported Web models fail instead of silently falling back to 2.5 Flash. `summaryModel` sets the default model used for generating summary drafts in the curator UI and `auto-summary` mode (e.g. `"anthropic/claude-haiku-4-5"`, `"openai-codex/gpt-5.3-codex-spark"`, or `"openrouter/nvidia/nemotron-3-super-120b-a12b:free"`). Preferred summary and query-rewrite models also resolve through routed provider registrations such as OpenRouter when the native provider is unavailable. When Pi `enabledModels` is configured, summaries are limited to that allowlist; if no enabled summary model is available, the tool returns a deterministic summary instead of calling an unrelated model. `summaryGenerationDeadlineMs` sets the maximum time for one summary model attempt in the curator UI and `auto-summary` mode. It defaults to `30000`, must be a positive integer, and is capped at `600000`. `maxInlineContentChars` sets the direct `fetch_content` content slice and the default and maximum `get_search_content` slice. It defaults to `30000`, must be a positive integer, and is capped at `200000`; full fetched content remains stored for later retrieval. `curatorTimeoutSeconds` controls the initial curator idle timeout (default `20`, max `600`); users can still adjust the timer in the curator UI. `ssrf.allowRanges` lists CIDR ranges (e.g. `"198.18.0.0/15"`, `"fd00::/8"`) exempted from the SSRF guard that otherwise blocks private/reserved IP ranges. This unblocks `fetch_content`/`web_search` on hosts whose network proxy runs in TUN + fake-IP mode (Surge, Clash, Mihomo, Stash, ...), where public domains resolve into a synthetic reserved range. It is **off by default** — the guard stays fully enabled unless you list ranges here. Use the narrowest range that covers your proxy's fake-IP pool. All-address CIDRs such as `0.0.0.0/0` and `::/0` are rejected. `ssrf.trustEnvProxy` is a separate opt-in for networks where only the proxy can resolve hostnames; it skips local DNS preflight only for hostnames sent through the configured `proxy` or, when none is configured, hostnames covered by valid HTTP(S) proxy env vars in sandboxes that route through them, and still blocks localhost, literal private IP targets, and `NO_PROXY` matches. It does not configure proxy transport.
|
|
832
|
+
Without an explicit `$` or `!` source, `OPENAI_API_KEY`, `BRAVE_API_KEY`, `PARALLEL_API_KEY`, `TINYFISH_API_KEY`, `SEARCH1API_KEY`, `SEARCHINFINITY_API_KEY`, `QUERIT_API_KEY`, `TAVILY_API_KEY`, `TABSTACK_API_KEY`, `YDC_API_KEY`, `JINA_API_KEY`, `SERPDIVE_API_KEY`, `KAGI_API_KEY`, `BOCHA_API_KEY`, `OLLAMA_API_KEY`, `SERPBASE_API_KEY`, `SERPAPI_KEY`, `SERPER_API_KEY`, `SERPLY_API_KEY`, `SEARCHAPI_API_KEY`, `BAIZHI_API_KEY`, `ZAI_API_KEY`, `KEENABLE_API_KEY`, `CERAMIC_API_KEY`, `DEEPSEEK_API_KEY`, `LINKUP_API_KEY`, `NINEROUTER_API_KEY`, `ANYSEARCH_API_KEY`, `XCRAWL_API_KEY`, `VALYU_API_KEY`, `XAI_API_KEY`, `MISTRAL_API_KEY`, `BRIGHTDATA_API_KEY`, `FIRECRAWL_API_KEY`, `CRAWL4AI_API_TOKEN`, `DEGOOG_API_KEY`, `EXA_API_KEY`, `GEMINI_API_KEY`, `DATALAB_API_KEY`, `DATALAB_PROCESSING_LOCATION`, `DATALAB_MODE`, `DATALAB_API_BASE`, `PERPLEXITY_API_KEY`, `GOOGLE_GEMINI_BASE_URL`, and `CLOUDFLARE_API_KEY` env vars retain their existing precedence over literal config file values. `openaiResponsesUrl` can point OpenAI `web_search` and `source_check` at a third-party gateway that supports the OpenAI Responses API and web search tool; it is an explicit endpoint override, not derived from Pi model provider settings, and defaults to `https://api.openai.com/v1/responses`. `openaiSearchModel` pins the model id used for OpenAI `web_search`, bypassing automatic selection (newest Luna model, then newest bare `gpt-N` or `gpt-N.N` id, then newest other `gpt-<version>` id; `gpt-6-luna` when only an API key is configured); the id is sent verbatim with whichever OpenAI auth resolves, so gateway-only model ids work too. `xaiSearchModel` similarly pins the xAI search model. `openaiSearchProviders` sets which Pi model providers OpenAI `web_search` resolves login credentials from, in priority order; it defaults to `["openai-codex", "openai"]`, entries that are not registered or not signed in are skipped, and an empty array skips Pi credentials entirely so the `openaiApiKey` / `OPENAI_API_KEY` fallback applies. Useful for choosing between multiple Codex accounts (for example a second account registered by an extension) or forcing API-key billing while signed into Codex. Configured Exa API keys use Exa's own account limits directly; any legacy local `exa-usage.json` file is ignored. `GOOGLE_GEMINI_BASE_URL` overrides the Gemini API host for Gemini generate-content calls such as search, URL context, YouTube, and local video analysis. Set it to a bare host with no trailing slash and no version segment, for example `https://my-gateway.example.com/gemini`; `geminiBaseUrl` is the config-file equivalent. When the configured host contains `gateway.ai.cloudflare.com`, authentication uses `cf-aig-authorization: Bearer <token>` from `CLOUDFLARE_API_KEY` or `cloudflareApiKey`, and `GEMINI_API_KEY` is not required for generate-content calls. Alternatively, set `geminiAuth` to `"adc"` to authenticate Gemini generate-content calls with Google Application Default Credentials (ADC) instead of an API key; calls go to the Vertex AI endpoint (`aiplatform.googleapis.com`) with an OAuth bearer token minted from the ADC file (`GOOGLE_APPLICATION_CREDENTIALS` or `~/.config/gcloud/application_default_credentials.json`, i.e. `gcloud auth application-default login`) or, on Compute Engine, from the metadata server. `geminiProject`/`geminiLocation` set the Vertex project and location and fall back to the `GOOGLE_CLOUD_PROJECT`/`GOOGLE_CLOUD_LOCATION` (or `GCLOUD_PROJECT`) env vars; project and location are required. ADC supports `authorized_user` (OAuth refresh token) and `service_account` (JWT assertion) credential files, and when neither `GOOGLE_APPLICATION_CREDENTIALS` nor `~/.config/gcloud/application_default_credentials.json` exists and Pi runs on Google Compute Engine, ADC uses the attached service account token from the GCE metadata server (`GCE_METADATA_HOST` overrides the host; `METADATA_SERVER_DETECTION=none` disables it); tokens are cached and refreshed from expiry. ADC mode covers search, URL context, and PDF/inline-data extraction; YouTube and local video analysis still go through the Gemini Files API, so they fall back to Gemini Web unless a `GEMINI_API_KEY` is also configured. The access token is treated as a credential and is redacted from errors. Local video file upload still uses Google's Files API directly, so gateway-only video extraction falls back to Gemini Web unless a `GEMINI_API_KEY` is also configured. `provider` or `searchProvider` sets the default search provider and is used when a tool call omits `provider` or sends `"auto"`: `"all"`, `"openai"`, `"brave"`, `"parallel"`, `"parallel-mcp"`, `"tinyfish"`, `"search1api"`, `"searchinfinity"`, `"querit"`, `"tavily"`, `"firecrawl"`, `"jina"`, `"serpdive"`, `"kagi"`, `"bocha"`, `"ollama"`, `"anysearch"`, `"xcrawl"`, `"valyu"`, `"xai"`, `"mistral"`, `"brightdata"`, `"serpbase"`, `"serpapi"`, `"serper"`, `"serply"`, `"searchapi"`, `"you"`, `"baizhi"`, `"zai"`, `"keenable"`, `"ceramic"`, `"deepseek"`, `"ninerouter"`, `"cloudflare"`, `"tabstack"`, `"searxng"`, `"degoog"`, `"exa"`, `"perplexity"`, or `"gemini"`. Parallel MCP, degoog, AnySearch, XCrawl, Valyu, xAI, Mistral, Bright Data, SerpBase, SerpApi, Serper, Serply, You.com, Baizhi, Z.ai, Keenable, Ceramic, DeepSeek, Linkup, 9router, Cloudflare, SearchApi, and Tabstack are never selected by `auto`; choose them explicitly or place them in `searchRouting`. If either single-provider field is configured, it takes precedence over `searchRouting`. Otherwise, `searchRouting` can opt into an ordered `providers` list and an explicit `fallbackOn` list containing `"transient"`, `"quota"`, `"network"`, and/or `"invalid-response"`; only those typed failures continue to the next available candidate. `fallbackOn` may also list `"empty"` (a successful response with no results and no answer) and `"domain-miss"` (no result on a requested include domain; an empty response also counts when an include domain was requested), so a route moves on from a successful but unusable response; if every candidate is weak, the first weak response is returned instead of an error. Both are off unless listed. `searchRouting.timeoutMs` (integer, 1 to 600000) optionally caps one routed search across all candidates, including each candidate's availability check and credential or browser-cookie lookup: when it elapses the in-flight request is aborted, later candidates are not tried, and the first weak response or the exhausted-route diagnostics (with `routing timeout after <N>ms`) are returned. Cancelling the search yourself is still reported as a cancellation, and a named provider is never affected. `"all"` is not valid inside `searchRouting.providers`, because that list defines sequential fallback rather than multi-provider aggregation. Named providers remain strict, and exhausted routes return per-provider diagnostics. `provider` can also be a non-empty array of named providers such as `["brave", "exa"]`; those providers run concurrently using the same aggregation path as `"all"`, while `"auto"` and `"all"` are invalid inside arrays. When every provider in a default array fails and each failure is a `fallbackOn` type, the search continues through the `searchRouting` providers the array did not try; a list given in a tool call (`"brave,exa"` from Pi, or an array over MCP) stays strict. Random, weighted, sticky, and cooldown routing are not enabled. This is also updated automatically when you change the provider in the curator UI. Set `webSearch.enabled` to `false` to unregister the configured search and source-check tools while leaving fetch/content tools available. `toolNames` can opt into alternate public tool names for environments where another extension or model reserves the defaults, without changing behavior: `webSearch`, `sourceCheck`, `fetchContent`, and `getSearchContent` default to `web_search`, `source_check`, `fetch_content`, and `get_search_content`. `workflow` sets the default search workflow: `"none"` (default; raw results, no curator), `"summary-review"` (opens curator with an auto-generated summary draft), or `"auto-summary"` (returns a model-generated summary without opening the browser curator). Overridden per-call via the `workflow` parameter on the configured search tool, or toggled at runtime with `/curator`. `browserCookies.profile` pins Gemini Web cookie lookup to a specific Chromium profile. When omitted, detected Chromium profiles are scanned in stable order and the first profile containing the required Gemini cookies is used. macOS discovery supports Helium, Chrome, Brave, and Arc; Linux discovery supports Chromium and Chrome. `allowBrowserCookies` enables Chromium cookie extraction for Gemini Web; it defaults to `false` to avoid browser data access and surprise macOS Keychain prompts. You can also set `PI_ALLOW_BROWSER_COOKIES=1`. Cookie databases are copied to a temporary read-only working copy; the reader uses `node:sqlite` when available and otherwise tries the `sqlite3` CLI or Python's standard-library SQLite module. `searchModel` overrides the Gemini API model used by the configured search tool without changing URL, YouTube, or video extraction defaults. Gemini API grounded search uses `gemini-3.6-flash` by default; set `searchModel` to choose another model. Gemini Web browser-cookie fallback uses its separate `gemini-3.1-pro` default because Gemini Web relies on private header values; explicitly configured unsupported Web models fail instead of silently falling back to 2.5 Flash. `summaryModel` sets the default model used for generating summary drafts in the curator UI and `auto-summary` mode (e.g. `"anthropic/claude-haiku-4-5"`, `"openai-codex/gpt-5.3-codex-spark"`, or `"openrouter/nvidia/nemotron-3-super-120b-a12b:free"`). Preferred summary and query-rewrite models also resolve through routed provider registrations such as OpenRouter when the native provider is unavailable. When Pi `enabledModels` is configured, summaries are limited to that allowlist; if no enabled summary model is available, the tool returns a deterministic summary instead of calling an unrelated model. `summaryGenerationDeadlineMs` sets the maximum time for one summary model attempt in the curator UI and `auto-summary` mode. It defaults to `30000`, must be a positive integer, and is capped at `600000`. `maxInlineContentChars` sets the direct `fetch_content` content slice and the default and maximum `get_search_content` slice. It defaults to `30000`, must be a positive integer, and is capped at `200000`; full fetched content remains stored for later retrieval. `curatorTimeoutSeconds` controls the initial curator idle timeout (default `20`, max `600`); users can still adjust the timer in the curator UI. `ssrf.allowRanges` lists CIDR ranges (e.g. `"198.18.0.0/15"`, `"fd00::/8"`) exempted from the SSRF guard that otherwise blocks private/reserved IP ranges. This unblocks `fetch_content`/`web_search` on hosts whose network proxy runs in TUN + fake-IP mode (Surge, Clash, Mihomo, Stash, ...), where public domains resolve into a synthetic reserved range. It is **off by default** — the guard stays fully enabled unless you list ranges here. Use the narrowest range that covers your proxy's fake-IP pool. All-address CIDRs such as `0.0.0.0/0` and `::/0` are rejected. `ssrf.trustEnvProxy` is a separate opt-in for networks where only the proxy can resolve hostnames; it skips local DNS preflight only for hostnames sent through the configured `proxy` or, when none is configured, hostnames covered by valid HTTP(S) proxy env vars in sandboxes that route through them, and still blocks localhost, literal private IP targets, and `NO_PROXY` matches. It does not configure proxy transport.
|
|
815
833
|
|
|
816
834
|
`searchRouting.fallbackOn` can also list `"off-topic"` to move on when a provider's answer and results have nothing to do with the query, as judged by the classifier model named in `searchRouting.offTopicModel` (`"cloudflare-workers-ai/@cf/cloudflare/clef"`, `"typesafe/jev-latest"`, or `"cloudflare-workers-ai/typesafe/jev-1.14.0"`, with Pi's credentials for that provider); the query, answer and result snippets are sent to that provider on every routed search that returns something. If the check fails, the response is kept. It works only in Pi, not over MCP. [docs/offtopic-judge.md](docs/offtopic-judge.md) has the measurements.
|
|
817
835
|
|
|
@@ -846,7 +864,7 @@ Kimi is explicit-only: it is never chosen by `auto` and never participates in `p
|
|
|
846
864
|
|
|
847
865
|
### All providers
|
|
848
866
|
|
|
849
|
-
Set `provider: "all"` on `web_search` or `source_check`, or configure `"provider": "all"` as the default, to run the same query against every eligible search provider simultaneously. Parallel MCP, degoog, DuckDuckGo, Kimi, AnySearch, XCrawl, Valyu, xAI, Mistral, Bright Data, SerpBase, SerpApi, Serper, Serply, You.com, Baizhi, Z.ai, Keenable, Ceramic, DeepSeek, Linkup, and
|
|
867
|
+
Set `provider: "all"` on `web_search` or `source_check`, or configure `"provider": "all"` as the default, to run the same query against every eligible search provider simultaneously. Parallel MCP, degoog, DuckDuckGo, Kimi, AnySearch, XCrawl, Valyu, xAI, Mistral, Bright Data, SerpBase, SerpApi, Serper, Serply, You.com, Baizhi, Z.ai, Keenable, Ceramic, DeepSeek, Linkup, 9router, Cloudflare, SearchApi, and Tabstack are always excluded because they are explicit-only; Bright Data, SerpBase, SerpApi, Serper, Serply, SearchApi, You.com, Ceramic, DeepSeek, Linkup, and Tabstack are paid search APIs, while Baizhi, Z.ai, Kimi, and Mistral may consume account quota or paid search-tool usage, so `all` never spends either resource without an explicit request. Exa remains eligible through its zero-config MCP path, OpenAI can use Pi auth, and other API-backed search providers participate when their API key, local endpoint, or gateway makes them available. Browser-cookie access alone does not opt Gemini into `all`; select Gemini explicitly or configure its API/gateway.
|
|
850
868
|
|
|
851
869
|
Successful provider answers are preserved separately while source URLs and inline content are deduplicated, and one provider failure does not discard the other results. If every participating provider fails, the tool returns per-provider diagnostics. Configured Firecrawl participates in `all` like other eligible providers. In the Curator, **All** can also be selected like the other provider buttons. Each participating provider gets its own result card, including a provider badge and independent selection checkbox; failed providers get their own disabled error card. The final summary is generated from the selected provider cards and is what Pi receives. Outside the Curator, the same provider answers remain available as labeled sections in one tool response.
|
|
852
870
|
|
|
@@ -929,6 +947,23 @@ Setting `provider` is optional. In `auto` mode, an available Querit provider is
|
|
|
929
947
|
|
|
930
948
|
Search requests follow the official [`querit-python`](https://github.com/querit-ai/querit-python) models: `numResults` maps to `count`, include/exclude `domainFilter` values map to `filters.sites`, and recency maps to `filters.timeRange.date` (`d1`, `w1`, `m1`, or `y1`). When `includeContent` is true, result URLs are sent to `POST /v1/contents` in batches of up to 10 and returned as inline Markdown. The same Contents endpoint is used as a hosted `fetch_content` fallback after Search1API and before Parallel. Querit Search and Contents subscriptions are independent; an API key can search successfully while `/v1/contents` returns `403 No active contents subscription`.
|
|
931
949
|
|
|
950
|
+
### Tabstack
|
|
951
|
+
|
|
952
|
+
`tabstackApiKey` enables Tabstack Research for `web_search` and Tabstack Extract for `fetch_content`; alternatively, set `TABSTACK_API_KEY`. Get an API key from the [Tabstack console](https://console.tabstack.ai).
|
|
953
|
+
|
|
954
|
+
```json
|
|
955
|
+
{
|
|
956
|
+
"tabstackApiKey": "$TABSTACK_API_KEY",
|
|
957
|
+
"provider": "tabstack"
|
|
958
|
+
}
|
|
959
|
+
```
|
|
960
|
+
|
|
961
|
+
Tabstack Research returns a cited answer instead of a list of results: within one request it runs the searches, reads the sources, and writes a report with numbered citations.
|
|
962
|
+
|
|
963
|
+
For `fetch_content`, Tabstack Extract returns a page as clean Markdown and renders JavaScript-heavy pages server-side. Like the other hosted fetchers, it is used for remote targets only when `fetchRouting.allowRemoteHostedProviders` is on.
|
|
964
|
+
|
|
965
|
+
Tabstack is explicit-only: it is never chosen by `auto` and never participates in `provider: "all"`. Select it with `provider: "tabstack"`, per request or as the default `provider` in `web-search.json`, or place `"tabstack"` in `searchRouting.providers`; for `fetch_content`, add `"tabstack"` to `fetchRouting.providers`, since it is not in the default fetch order. Research runs in `fast` mode by default, which usually answers in seconds; set `tabstackResearchMode` to `"balanced"` for a deeper multi-pass report that takes longer. The report becomes the answer and every cited page becomes a source, in the order the report cites them, so `numResults` does not trim the list. The Research API has no domain or recency parameters, so `domainFilter` and `recencyFilter` are not sent. Requests have a 120-second deadline in `fast` mode and 300 seconds in `balanced` mode, and respect caller cancellation.
|
|
966
|
+
|
|
932
967
|
### AnySearch
|
|
933
968
|
|
|
934
969
|
AnySearch is an explicit-only provider: it is never included in zero-config `auto` fallback or in `provider: "all"`, but it can be selected with `provider: "anysearch"`, configured as the named provider, or placed in `searchRouting`. It supports anonymous requests and optional `anysearchApiKey` / `ANYSEARCH_API_KEY` credentials. Requests intentionally send only `{ query, max_results }`; `recencyFilter`, `domainFilter`, and `includeContent` do not add API request parameters. When `includeContent` is true, returned `content` fields are exposed as inline content.
|
|
@@ -1268,6 +1303,7 @@ Rate limits: Perplexity is capped at 10 requests/minute (client-side). Jina Sear
|
|
|
1268
1303
|
| `searchinfinity.ts` | Byteplus Searchinfinity search provider |
|
|
1269
1304
|
| `querit.ts` | Querit Search and Contents API provider |
|
|
1270
1305
|
| `tavily.ts` | Tavily Search API provider |
|
|
1306
|
+
| `tabstack.ts` | Tabstack Research search and Tabstack Extract fetch provider |
|
|
1271
1307
|
| `you.ts` | You.com Search API provider |
|
|
1272
1308
|
| `firecrawl.ts` | Firecrawl search provider and extraction fallback |
|
|
1273
1309
|
| `crawl4ai.ts` | Self-hosted Crawl4AI extraction fallback |
|
|
@@ -1280,6 +1316,7 @@ Rate limits: Perplexity is capped at 10 requests/minute (client-side). Jina Sear
|
|
|
1280
1316
|
| `serpapi.ts` | Explicit-only SerpApi Google Search provider |
|
|
1281
1317
|
| `serper.ts` | Explicit-only Serper Google SERP provider |
|
|
1282
1318
|
| `serply.ts` | Explicit-only Serply Google SERP provider |
|
|
1319
|
+
| `searchapi.ts` | Explicit-only SearchApi Google Search provider |
|
|
1283
1320
|
| `baizhi.ts` | Explicit-only Baizhi Streamable HTTP MCP search provider |
|
|
1284
1321
|
| `zai.ts` | Explicit-only Z.ai GLM Coding Plan MCP search provider |
|
|
1285
1322
|
| `anysearch.ts` | Explicit-only AnySearch search provider |
|
|
@@ -1287,6 +1324,7 @@ Rate limits: Perplexity is capped at 10 requests/minute (client-side). Jina Sear
|
|
|
1287
1324
|
| `valyu.ts` | Explicit-only Valyu research search provider |
|
|
1288
1325
|
| `keenable.ts` | Explicit-only Keenable search provider, keyless with an optional API key |
|
|
1289
1326
|
| `ceramic.ts` | Explicit-only Ceramic keyword search provider |
|
|
1327
|
+
| `cloudflare-search.ts` | Explicit-only Cloudflare Web Search API provider (Ceramic, Exa, or Linkup through AI Gateway) |
|
|
1290
1328
|
| `linkup.ts` | Explicit-only Linkup search provider with configurable depth |
|
|
1291
1329
|
| `ninerouter.ts` | Explicit-only search through a self-hosted 9router gateway's unified `/v1/search` |
|
|
1292
1330
|
| `deepseek.ts` | Explicit-only DeepSeek Search and opt-in Fetch API provider |
|
|
@@ -1297,7 +1335,7 @@ Rate limits: Perplexity is capped at 10 requests/minute (client-side). Jina Sear
|
|
|
1297
1335
|
| `degoog.ts` | degoog metasearch search provider with optional API key and engine selection |
|
|
1298
1336
|
| `duckduckgo.ts` | Explicit-only keyless DuckDuckGo HTML search provider |
|
|
1299
1337
|
| `duckduckgo-rate-limit.ts` | DuckDuckGo request spacing and bot-check cooldown |
|
|
1300
|
-
| `exa.ts` | Exa.ai search provider — direct API and MCP proxy |
|
|
1338
|
+
| `exa.ts` | Exa.ai search provider — direct API and MCP proxy — and opt-in Exa contents fetch provider |
|
|
1301
1339
|
| `extract.ts` | URL/file path routing, HTTP extraction, fallback orchestration |
|
|
1302
1340
|
| `content-find.ts` | Bounded exact, case-insensitive, and fuzzy passage lookup |
|
|
1303
1341
|
| `page-query.ts` | Grounded page-local answer generation with model context budgeting |
|