clikit-plugin 0.2.40 → 0.2.41
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/package.json +1 -1
- package/src/agents/research.md +5 -20
package/package.json
CHANGED
package/src/agents/research.md
CHANGED
|
@@ -7,6 +7,7 @@ tools:
|
|
|
7
7
|
write: false
|
|
8
8
|
edit: false
|
|
9
9
|
bash: false
|
|
10
|
+
websearch: true
|
|
10
11
|
webfetch: true
|
|
11
12
|
permission:
|
|
12
13
|
edit: deny
|
|
@@ -46,26 +47,10 @@ After initial search, validate before handoff:
|
|
|
46
47
|
|
|
47
48
|
- **Context7** (`resolve-library-id` → `query-docs`) for official API docs
|
|
48
49
|
- **GitHub grep** (`grep_searchGitHub`) for real-world code patterns
|
|
49
|
-
- **Primary web source**: `
|
|
50
|
-
- **Fallback web source**: `webfetch` — only when
|
|
50
|
+
- **Primary web source**: `websearch` (OpenCode built-in Exa) — always use this first for recent releases, migration guides, blog posts, and all web discovery
|
|
51
|
+
- **Fallback web source**: `webfetch` — only when `websearch` errors or you need to fetch a specific URL for full page content/citation
|
|
51
52
|
- Use 3+ sources in parallel when available
|
|
52
53
|
|
|
53
|
-
### websearch_web_search Parameters
|
|
54
|
-
|
|
55
|
-
```json
|
|
56
|
-
{
|
|
57
|
-
"query": "search query string",
|
|
58
|
-
"numResults": 5,
|
|
59
|
-
"language": "en",
|
|
60
|
-
"region": "us",
|
|
61
|
-
"resultType": "all"
|
|
62
|
-
}
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
- `resultType`: `"all"` (default), `"news"` (recent news), `"blogs"` (blog posts)
|
|
66
|
-
- Increase `numResults` for broader coverage, reduce to save tokens
|
|
67
|
-
- Use `excludeDomains` / `includeDomains` to filter specific sources
|
|
68
|
-
|
|
69
54
|
## Output Format
|
|
70
55
|
|
|
71
56
|
```markdown
|
|
@@ -102,5 +87,5 @@ Never:
|
|
|
102
87
|
- Present uncited assumptions as facts
|
|
103
88
|
- Modify any files
|
|
104
89
|
- Use a single source for high-impact recommendations
|
|
105
|
-
- Use `webfetch` as primary web source — always try `
|
|
106
|
-
- Skip
|
|
90
|
+
- Use `webfetch` as primary web source — always try `websearch` (Exa) first
|
|
91
|
+
- Skip `websearch` without reason; only fall back to `webfetch` when `websearch` errors or a specific URL must be fetched directly
|