READMESource: main@15023be4
🔍 Cross Search — DSH-Plugin
多引擎交叉驗證搜索:Brave / Tavily / DuckDuckGo / Wikipedia(可選 Bing / Mojeek)並行查詢,URL 去重,按獨立引擎同意數分置信度——單引擎結果誠實標為 LOW。
Confidence tiers
| Tier | Condition | Meaning |
|---|---|---|
| 🟢 HIGH | ≥ 50% of running engines agree | independently verified |
| 🟡 MEDIUM | ≥ 2 engines agree | partially verified |
| 🔴 LOW | single engine | honest unverified |
Tool
cross_search { query, engines?, limit? } — parallel fetch, URL dedupe
(tracking params stripped), tiered ranking, engine provenance per result.
API keys (env)
| Engine | Env var | Keyless fallback |
|---|---|---|
| Brave | BRAVE_API_KEY |
— |
| Tavily | TAVILY_API_KEY |
— |
| Bing | BING_API_KEY |
— |
| Mojeek | MOJEEK_API_KEY |
— |
| DuckDuckGo | — | ✅ (HTML endpoint) |
| Wikipedia | — | ✅ (REST API, wikiLang config) |
Missing keys skip that engine; the report always states which engines ran.
Install
"dsh": { "profile": { "bundles": ["@bryan-cmf/dsh-cross-search"] } }
Configuration
| Key | Default | Meaning |
|---|---|---|
engines |
brave, tavily, duckduckgo, wikipedia, bing, mojeek | Attempt order |
timeoutMs |
8000 |
Per-engine timeout |
perEngine |
8 |
Results per engine |
wikiLang |
zh |
Wikipedia language |
Development
pnpm install --store-dir .pnpm-store
pnpm build
License
MIT
No comments yet. Be the first to write one.