@juicesharp/rpiv-web-tools 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,12 +1,25 @@
1
1
  # rpiv-web-tools
2
2
 
3
+ <a href="https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-web-tools">
4
+ <picture>
5
+ <img src="https://raw.githubusercontent.com/juicesharp/rpiv-mono/main/packages/rpiv-web-tools/docs/cover.png" alt="rpiv-web-tools cover" width="100%">
6
+ </picture>
7
+ </a>
8
+
3
9
  [![npm version](https://img.shields.io/npm/v/@juicesharp/rpiv-web-tools.svg)](https://www.npmjs.com/package/@juicesharp/rpiv-web-tools)
4
10
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
11
 
6
- Search and fetch the web from inside [Pi Agent](https://github.com/badlogic/pi-mono). `rpiv-web-tools` adds `web_search` + `web_fetch` tools backed by the Brave Search API, plus `/web-search-config` for interactive API-key setup.
12
+ Let the model search the web and read pages. `rpiv-web-tools` adds `web_search` and `web_fetch` tools to [Pi Agent](https://github.com/badlogic/pi-mono), backed by the Brave Search API, plus `/web-search-config` for interactive API-key setup.
7
13
 
8
14
  ![Brave Search API key prompt](https://raw.githubusercontent.com/juicesharp/rpiv-mono/main/packages/rpiv-web-tools/docs/config.jpg)
9
15
 
16
+ ## Features
17
+
18
+ - **Brave-backed search** — 1–10 ranked results per query with title and snippet.
19
+ - **Read any URL** — fetch http/https pages, strip HTML to text, or get the raw HTML with `raw: true`.
20
+ - **Large-page spillover** — oversized responses truncate inline and spill the full body to a temp file the model can read on demand.
21
+ - **Interactive setup** — `/web-search-config` writes the key to `~/.config/rpiv-web-tools/config.json` (chmod 0600); env var `BRAVE_SEARCH_API_KEY` also works.
22
+
10
23
  ## Install
11
24
 
12
25
  ```bash
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juicesharp/rpiv-web-tools",
3
- "version": "1.0.10",
4
- "description": "Pi extension: web_search + web_fetch via the Brave Search API",
3
+ "version": "1.0.12",
4
+ "description": "Pi extension: lets the model search and read the web via the Brave Search API",
5
5
  "keywords": [
6
6
  "pi-package",
7
7
  "pi-extension",