helibeiqi/dsh-context-aware-search ↗★ 0

@helibeiqi/dsh-context-aware-search

Context-aware web search for DeepSeek Harness (dsh): rewrites queries with session context, reranks and credibility-tags results, and offers one-click source summarization across multiple backends. 需要结合会话上下文搜索并一键总结来源的用户,安装需锁定版本以匹配内核。

パッケージ
@helibeiqi/dsh-context-aware-search
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6
Cordis ピア範囲
^4.0.1
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/08/23

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:helibeiqi/dsh-context-aware-search

ドキュメント

README 全文を読む ↗

Configuration

All settings are optional — the schema supplies the defaults below, and they can be changed live from the Settings Card (ctx → settings).

KeyTypeDefaultMeaning
rerankbooleantrueRerank results by TF-IDF similarity to query + context.
credibilitybooleantrueTag each result with a high/medium/low credibility badge.
rewriteEnabledbooleantrueRewrite the raw query using session context.
contextWindownumber8How many recent session messages to read for context.
backendOrderstring[]['duckduckgo','bing','searxng']Backend priority for fallback.
duckduckgoEnabled / bingEnabled / searxngEnabledbooleantruePer-backend on/off.
searxngInstancestring''Base URL of a SearXNG instance (empty = disabled).
bingApiKeystring''Optional Bing key (empty = keyless scrape fallback).
maxResultsnumber10Max results returned per search.
summarizeTopNnumber5Links the web_summarize tool pulls when given a query.
userAgentstringdsh-context-aware-search/0.1.1UA sent on fetch.

Usage

Just search as usual — the plugin does the rest.

Session:

User:  I'm writing a Rust CLI; my main() returns Result>.
User:  search error handling

What the plugin does:

  1. Reads the last contextWindow messages → detects Rust, cargo, Result.
  2. Rewrites error handling → Rust error handling Result Option unwrap ? best practices.
  3. Runs the rewritten query across the backends (DuckDuckGo → Bing → SearXNG).
  4. Reranks by context similarity and tags credibility.
  5. Returns a banner + sources, e.g.:
🔎 Context-aware rewrite: Rust error handling Result Option unwrap ? best practices

| # | credibility | title | url |
|---|----|----|----|
| 1 | 🟢 high | Error Handling in Rust - The Rust Book | https://doc.rust-lang.org/book/ch09-00-error-handling.html |
| 2 | 🟢 high | Recoverable vs Unrecoverable Errors | https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html |
| 3 | 🟡 medium | thiserror / anyhow patterns | https://crates.io/crates/thiserror |

One-click brief — ask the model to summarize:

User:  web_summarize query="Rust error handling best practices" topN=3

Returns a Markdown brief with key points, key data, and source links.

You can also summarize a specific page:

User:  web_summarize url="https://doc.rust-lang.org/book/ch09-00-error-handling.html"