@counterposition/pi-web-search 0.1.0 → 0.1.2
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 +14 -7
- package/package.json +20 -17
package/README.md
CHANGED
|
@@ -6,6 +6,11 @@ Pi extension package that adds `web_search` and `web_fetch` tools.
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
pi install npm:@counterposition/pi-web-search
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Maintainer smoke test from the monorepo root:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
9
14
|
pi install ./packages/pi-web-search
|
|
10
15
|
```
|
|
11
16
|
|
|
@@ -13,15 +18,17 @@ pi install ./packages/pi-web-search
|
|
|
13
18
|
|
|
14
19
|
Configure at least one search provider API key to enable `web_search`.
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- `
|
|
19
|
-
- `
|
|
21
|
+
Supported search providers:
|
|
22
|
+
|
|
23
|
+
- `BRAVE_API_KEY` - Brave Search
|
|
24
|
+
- `SERPER_API_KEY` - Serper (Google Search API)
|
|
25
|
+
- `TAVILY_API_KEY` - Tavily
|
|
26
|
+
- `EXA_API_KEY` - Exa
|
|
20
27
|
|
|
21
|
-
|
|
28
|
+
Supported fetch providers for `web_fetch`:
|
|
22
29
|
|
|
23
|
-
- `JINA_API_KEY`
|
|
24
|
-
- `FIRECRAWL_API_KEY`
|
|
30
|
+
- `JINA_API_KEY` - Jina Reader (optional; also works without a key at lower limits)
|
|
31
|
+
- `FIRECRAWL_API_KEY` - Firecrawl
|
|
25
32
|
|
|
26
33
|
## Files
|
|
27
34
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@counterposition/pi-web-search",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Web search and page fetching tools for the Pi coding agent",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pi-package"
|
|
7
|
+
],
|
|
5
8
|
"homepage": "https://github.com/counterposition/pi/tree/main/packages/pi-web-search",
|
|
6
9
|
"bugs": {
|
|
7
10
|
"url": "https://github.com/counterposition/pi/issues"
|
|
@@ -23,21 +26,6 @@
|
|
|
23
26
|
"publishConfig": {
|
|
24
27
|
"access": "public"
|
|
25
28
|
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"lint": "pnpm run lint:code && pnpm run lint:docs",
|
|
28
|
-
"lint:code": "oxlint .",
|
|
29
|
-
"lint:code:fix": "oxlint . --fix",
|
|
30
|
-
"lint:docs": "markdownlint-cli2 \"README.md\" \"CHANGELOG.md\" \"docs/**/*.md\"",
|
|
31
|
-
"lint:docs:fix": "markdownlint-cli2 --fix \"README.md\" \"CHANGELOG.md\" \"docs/**/*.md\"",
|
|
32
|
-
"lint:fix": "pnpm run lint:code:fix && pnpm run lint:docs:fix",
|
|
33
|
-
"format": "oxfmt .",
|
|
34
|
-
"format:check": "oxfmt . --check",
|
|
35
|
-
"typecheck": "tsc --noEmit",
|
|
36
|
-
"test": "vitest run",
|
|
37
|
-
"test:watch": "vitest",
|
|
38
|
-
"check": "pnpm run lint && pnpm run format:check && pnpm run typecheck && pnpm run test",
|
|
39
|
-
"pack:check": "pnpm pack --pack-destination ../../.pack"
|
|
40
|
-
},
|
|
41
29
|
"devDependencies": {
|
|
42
30
|
"@types/node": "^25.5.0",
|
|
43
31
|
"oxfmt": "^0.42.0",
|
|
@@ -56,5 +44,20 @@
|
|
|
56
44
|
"extensions": [
|
|
57
45
|
"extensions/web-search.ts"
|
|
58
46
|
]
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"lint": "pnpm run lint:code && pnpm run lint:docs",
|
|
50
|
+
"lint:code": "oxlint .",
|
|
51
|
+
"lint:code:fix": "oxlint . --fix",
|
|
52
|
+
"lint:docs": "markdownlint-cli2 \"README.md\" \"CHANGELOG.md\" \"docs/**/*.md\"",
|
|
53
|
+
"lint:docs:fix": "markdownlint-cli2 --fix \"README.md\" \"CHANGELOG.md\" \"docs/**/*.md\"",
|
|
54
|
+
"lint:fix": "pnpm run lint:code:fix && pnpm run lint:docs:fix",
|
|
55
|
+
"format": "oxfmt .",
|
|
56
|
+
"format:check": "oxfmt . --check",
|
|
57
|
+
"typecheck": "tsc --noEmit",
|
|
58
|
+
"test": "vitest run",
|
|
59
|
+
"test:watch": "vitest",
|
|
60
|
+
"check": "pnpm run lint && pnpm run format:check && pnpm run typecheck && pnpm run test",
|
|
61
|
+
"pack:check": "pnpm pack --pack-destination ../../.pack"
|
|
59
62
|
}
|
|
60
|
-
}
|
|
63
|
+
}
|