Files
fastcrw-opencode-websearch/CONTEXT.md
T
2026-10-03 17:30:03 +02:00

1000 B

fastCRW websearch plugin for opencode

An opencode v2 plugin that makes a self-hosted fastCRW server opencode's websearch.

Language

Plugin: The opencode v2 module this repo builds and ships. Avoid: extension, integration

Search provider: A named websearch backend that opencode can select. This plugin registers one, fastcrw, and makes it the only one. Avoid: engine, backend (a fastCRW server's own search backend is a different thing)

Endpoint: The base URL of the fastCRW server the plugin talks to. Set by the baseURL option or CRW_API_URL; defaults to http://localhost:3000. Avoid: host, server URL

Token: The optional Bearer key sent to the fastCRW server. Set by the apiKey option or CRW_API_KEY. Absent means no auth header. Avoid: secret, password

Plugin options: The values opencode passes to the plugin from opencode.json: baseURL, apiKey, limit, lang, tbs. Avoid: settings, config (config means opencode.json as a whole)