pi-web-toolkit 0.1.0 → 0.1.1

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.
@@ -0,0 +1,22 @@
1
+ /**
2
+ * pi-web-tools — Unified entry point
3
+ *
4
+ * Registers all web research tools as a single extension:
5
+ * - web_search: Search via SearXNG
6
+ * - web_fetch: Fetch static pages with scrapling
7
+ * - web_browse: Interactive browser automation via agent-browser
8
+ * - web_batch_fetch: Concurrent multi-page fetching
9
+ */
10
+
11
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
12
+ import registerWebSearch from "./web_search";
13
+ import registerWebFetch from "./web_fetch";
14
+ import registerWebBrowse from "./web_browse";
15
+ import registerWebBatchFetch from "./web_batch_fetch";
16
+
17
+ export default function (pi: ExtensionAPI) {
18
+ registerWebSearch(pi);
19
+ registerWebFetch(pi);
20
+ registerWebBrowse(pi);
21
+ registerWebBatchFetch(pi);
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-web-toolkit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Web research toolkit for the pi coding agent. Search via SearXNG, fetch static pages with scrapling, browse interactively via agent-browser, and batch-read sources in parallel.",
5
5
  "author": "Wade Huang <fastwade11@gmail.com>",
6
6
  "license": "MIT",
@@ -25,10 +25,7 @@
25
25
  },
26
26
  "pi": {
27
27
  "extensions": [
28
- "./extensions/web_search.ts",
29
- "./extensions/web_fetch.ts",
30
- "./extensions/web_browse.ts",
31
- "./extensions/web_batch_fetch.ts"
28
+ "./extensions/index.ts"
32
29
  ]
33
30
  }
34
31
  }