chore: add TypeScript, Prettier and changelog scaffold

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
haylanandClaude Bot committed 2026-10-03 19:04:21 +02:00
1 parent 6da76a8a18
commit 5e3671fa8b
12 files changed
+543 -70

No files matched your search

+10 -10
View File
@@ -35,16 +35,16 @@ Result: `url`, `title`, `description`, `snippet` (always-populated alias of `des
Body `{ "success": false, "error": string, "error_code": string }`.
| HTTP | error_code |
|---|---|
| 400 | `invalid_request` |
| 401 | auth middleware message |
| 422 | `target_unreachable` |
| 429 | `rate_limited` |
| 500 | `internal_error` |
| 502 | `http_error` |
| 503 | `search_disabled` / `search_degraded` |
| 504 | `timeout` |
| HTTP | error_code |
| ---- | ------------------------------------- |
| 400 | `invalid_request` |
| 401 | auth middleware message |
| 422 | `target_unreachable` |
| 429 | `rate_limited` |
| 500 | `internal_error` |
| 502 | `http_error` |
| 503 | `search_disabled` / `search_degraded` |
| 504 | `timeout` |
Self-hosted search needs a SearXNG-style backend (`CRW_SEARCH__SEARCH_BACKEND_URL`); without one expect 503 `search_disabled`.
+7 -2
View File
@@ -43,8 +43,13 @@ await ctx.websearch.transform((editor) => {
```jsonc
{
"plugins": [{ "package": "~/.config/opencode/plugins/fastcrw", "options": { "baseURL": "http://crw.home:3000", "limit": 8 } }],
"websearch": { "provider": "fastcrw" }
"plugins": [
{
"package": "~/.config/opencode/plugins/fastcrw",
"options": { "baseURL": "http://crw.home:3000", "limit": 8 },
},
],
"websearch": { "provider": "fastcrw" },
}
```