opencode-search 0.0.3-next.1 → 0.0.3
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 +29 -8
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# opencode-search
|
|
2
2
|
|
|
3
|
-
An [OpenCode](https://opencode.ai) plugin that gives your agent access to
|
|
3
|
+
An [OpenCode](https://opencode.ai) plugin that gives your agent access to DuckDuckGo, Wikipedia, Bluesky, and [standard.site](https://standard.site).
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
@@ -20,21 +20,42 @@ Restart OpenCode. The plugin will be installed automatically.
|
|
|
20
20
|
|
|
21
21
|
Search the web using DuckDuckGo. Returns a text summary of search results.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
| Parameter | Type | Required |
|
|
24
|
+
| --------- | ------ | -------- |
|
|
25
|
+
| `query` | string | yes |
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Search Wikipedia articles using the MediaWiki REST API. Returns structured results with title, description, excerpt, and a direct link to the article. No API key required. Supports a `limit` parameter (1-100, default 50).
|
|
27
|
+
DuckDuckGo does not provide a structured API. Results are extracted from their HTML endpoint, which means coverage is limited compared to traditional search engines. It works best for factual queries, definitions, and well-known topics. Complex or niche queries may return empty results.
|
|
28
28
|
|
|
29
29
|
### bsky-search
|
|
30
30
|
|
|
31
|
-
Search Bluesky posts via the AT Protocol. Returns posts with author, text, and engagement counts (likes, reposts, replies).
|
|
31
|
+
Search Bluesky posts via the AT Protocol. Returns posts with author handle, text, and engagement counts (likes, reposts, replies).
|
|
32
|
+
|
|
33
|
+
| Parameter | Type | Required | Description |
|
|
34
|
+
| --------- | ------ | -------- | ------------------------------ |
|
|
35
|
+
| `query` | string | yes | |
|
|
36
|
+
| `limit` | number | no | Number of results to return |
|
|
37
|
+
| `sort` | string | no | Sort order: `top` or `latest` |
|
|
32
38
|
|
|
33
39
|
### standard-search
|
|
34
40
|
|
|
35
|
-
Search [standard.site](https://standard.site) document records on the AT Protocol. Returns blog posts and articles published to the ATmosphere.
|
|
41
|
+
Search [standard.site](https://standard.site) document records on the AT Protocol. Returns blog posts and articles published to the ATmosphere with title, URL, date, and snippet.
|
|
42
|
+
|
|
43
|
+
| Parameter | Type | Required | Description |
|
|
44
|
+
| --------- | ------ | -------- | ---------------------------------- |
|
|
45
|
+
| `query` | string | yes | |
|
|
46
|
+
| `limit` | number | no | Number of results to return |
|
|
47
|
+
| `offset` | number | no | Number of results to skip |
|
|
48
|
+
|
|
49
|
+
standard.site is a publishing platform built on the AT Protocol where content is stored in a user's personal data repository. Unlike traditional websites that require crawlers and indexing pipelines to be discoverable, content published on standard.site is structured, portable, and directly queryable through the AT Protocol.
|
|
50
|
+
|
|
51
|
+
### wiki-search
|
|
52
|
+
|
|
53
|
+
Search Wikipedia articles using the MediaWiki REST API. Returns structured results with title, description, excerpt, and a direct link to the article. No API key required.
|
|
36
54
|
|
|
37
|
-
|
|
55
|
+
| Parameter | Type | Required | Description |
|
|
56
|
+
| --------- | ------ | -------- | ---------------------------------- |
|
|
57
|
+
| `query` | string | yes | |
|
|
58
|
+
| `limit` | number | no | Number of results (1-100) |
|
|
38
59
|
|
|
39
60
|
## Why not Google?
|
|
40
61
|
|
package/dist/package.json
CHANGED