Skip to content
dsh.fish
Bundle

@bryan-cmf/dsh-cross-search

DSH-Plugin: multi-engine cross-validated search — parallel queries across Brave/Tavily/DuckDuckGo/Wikipedia (Bing/Mojeek optional), URL dedupe, confidence tiers.

Source
Bryan-cmf
License
MIT
Updated
Updated 15 days ago

Readme

# 🔍 Cross Search — DSH-Plugin

> **多引擎交叉驗證搜索**:Brave / Tavily / DuckDuckGo / Wikipedia(可選 Bing / Mojeek)並行查詢,URL 去重,**按獨立引擎同意數分置信度**——單引擎結果誠實標為 LOW。

[![npm](https://img.shields.io/npm/v/@bryan-cmf/dsh-cross-search)](https://www.npmjs.com/package/@bryan-cmf/dsh-cross-search)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![DSH](https://img.shields.io/badge/DSH-Plugin-4B32C3)](https://github.com/deepseek-ai/deepseek-harness)

## 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

```jsonc
"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

```bash
pnpm install --store-dir .pnpm-store
pnpm build
```

## License

MIT

Install

dsh plugin --profile web add github:Bryan-cmf/dsh-cross-search

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source