Files
opencode c60dcda4b9 feat: SearXNG websearch provider + searxng tool for opencode v2
- Effect API provider (id searxng) with user-configured baseUrl, no forced default
- Companion searxng tool with per-query categories/engines/language/time_range/safesearch/pageno
- SearXNG JSON mapping with tolerant date parsing, 25s timeout, bearer auth passthrough
- Publish-ready as @heretek-ai/opencode-searxng (public, provenance)
2026-10-16 00:21:57 +00:00

20 lines
363 B
JSON

{
"plugins": [
{
"package": "@heretek-ai/opencode-searxng",
"options": {
"baseUrl": "http://localhost:8888",
"categories": "general",
"engines": "",
"language": "all",
"safesearch": 1,
"maxResults": 8,
"timeoutMs": 25000
}
}
],
"websearch": {
"provider": "searxng"
}
}