Repository navigation
Sponsored by TestMu AI · AgentAPIGate — thank you for keeping wigolo free for everyone.
Search says when it failed: responses carry status and reason, a failed search is an error on the CLI, REST, MCP and the SDKs, and wigolo warmup exits 1 when a component fails. Search now refuses result sets that share almost no words with the query instead of returning them as success; sets that match the query only by chance can still come back (#788).
⚠️ Breaking
wigolo searchexits 1 when the search fails. Search responses carrystatus(ok,partial,empty,failed) and areasoncode whenever the status is notok. A search that returns no results isfailedwhen any engine failed, andemptywhen no engine failed (including when every result was filtered out). A one-shotwigolo searchwhose status isfailednow exits 1 instead of 0, and--jsonstill prints the full body.partialandemptystill exit 0. (#735)- A failed search is an error over REST and MCP.
POST /v1/searchreturns HTTP 502 when the searchstatusisfailed, instead of 200. The body keeps the full search response and adds the REST error fields, witherror_reasonset to the same code asreason. Over MCP, afailedsearch setsisError: trueand keeps the same JSON body.partialandemptystay successful responses on both. The TypeScript and Python SDKs'search()now throws on a failed search; the TypeScript error carries the parsed body asbody. (#736)
wigolo warmupexits 1 when a component fails. It exited 0 before, even when--jsonreported"browserEngine": "failed", so scripts and install checks took a failed setup for a success. Warmup now exits 1 when any component you asked for failed, and--jsonstill prints the full body. A component skipped on purpose still exits 0: one you did not ask for, a turned-off reranker, or a search engine sidecar that falls back to the built-in backend. (#777)
Changed
- Mojeek and Marginalia are opt-in. A default search no longer calls them, including the retry rounds that run when other engines fail. Name them in
search_enginesto use them.docs/configuration.mdlists the default and opt-in engines. (#740) - Search drops an engine's result set that shares almost no words with the query, instead of returning it as a successful result. A set of three or more results is dropped when none of its top three results, and fewer than one in five of all its results, contain a word of the query in the title, snippet or URL. Small spelling slips in longer words count as a match. The engine is reported as failed for that call, with an
off_querycode inengine_warnings. When every engine's set is dropped, search returns no results withstatus: failedandreason: off_query. The check is lenient: a set that matches a query word only by chance still comes back (#788). A query written only in a non-Latin script drops result sets with no text in that script, so correct results in another language can be dropped for it. (#734, #766)
Added
WIGOLO_MARGINALIA_API_KEYsends your own Marginalia key instead of the shared, rate-limitedpublickey. (#740)- The repository has a set of measurement scripts,
npm run referee, that measure a wigolo build against its own earlier versions: off-topic searches, answers in search results, fetch results on live pages, install and download size, memory and start-up time, and reply size.docs/measurements.mdexplains each number, how to rerun it and its limits. The reports recorded for the published 0.3.4 are inbenchmarks/referee/reports/0.3.4/. (#749, #750)
Removed
WIGOLO_MOJEEK_PROBE_ONLY. Mojeek no longer runs in default searches at all, so the setting has nothing left to control. To use Mojeek, name it insearch_engines. (#740)
Fixed
- On the legacy search backend, a search that returns no results is no longer cached. Before, an
answersearch whose engines all failed was cached, and the same query run again was then answered from the cache asemptywith no results instead of running the engines and reporting the failure. (#769) - The README, the contributing guide, the site and the examples state Node 22 or later, which is what
package.jsonrequires. Several places still said Node 20. (#752) - The README comparison table was checked again and corrected where it was out of date, and the docs no longer carry pinned old version strings or hand-written test counts. (#753)