Repository navigation
v0.2.0 - per-provider visibility + site-scoping
What changed from v0.1.0
SearchOutcome (breaking tool shape)
The search tool now returns { results, providers, warnings } instead of a flat array.
Every entry of providers exposes the per-engine state so failures never disappear silently:
{
"results": [ { "url": "...", "source": "kvrforums.com", "title": "...", "snippet": "...", "engine": "bing" } ],
"providers": [
{ "name": "duckduckgo", "status": { "kind": "rate_limited", "status": 202 } },
{ "name": "bing", "status": { "kind": "ok", "count": 5 } },
{ "name": "brave", "status": { "kind": "rate_limited", "status": 429 } }
],
"warnings": [
"duckduckgo: rate-limited; back off or rotate ARGOS_PROVIDERS",
"brave: rate-limited; back off or rotate ARGOS_PROVIDERS"
]
}When every configured provider is rate-limited, search returns the new typed error
AllProvidersRateLimited with the per-engine list - so the agent can tell
"no hits for this query" apart from "your IP is being throttled".
SearchResult.source
New source field (compact hostname, no scheme/www/path) populated by every provider.
Helps the agent eyeball credibility without parsing URLs.
search.domains (new optional parameter)
domains: ["kvrforums.com", "reddit.com"] appends
(site:kvrforums.com OR site:reddit.com) to the query. Critical for niche research
where keyless Bing/DDG/Brave misinterpret ambiguous tokens ("free", "best", "download").
Implementation notes
SearchProvidertrait unchanged; onlyFanoutreturns the richer shape via a newrunmethod.Vec<ProviderEntry>chosen overBTreeMapto side-step aschemarsversion conflict
(rmcppulls 1.x; flojo_mcp uses 0.8).
Quality
40/40 unit tests, fmt + clippy -D warnings green, smoke test exercises the new
providers + warnings surface and the domains scoping end-to-end.