ddowbnac/dsh-web-search-local ↗★ 0

@djdowbnac/dsh-web-search-local

Web-search provider for the DeepSeek Harness (ctx.web): real internet search via a built-in in-process metasearch or DuckDuckGo only, no external API key, no external instance, zero runtime dependencies, plus an optional fully-local corpus full-text index. 适合不想配置搜索密钥、可接受内置 DuckDuckGo 与本地检索的用户。

パッケージ
@djdowbnac/dsh-web-search-local
互換性
未検証
Harness ピア範囲
^0.1.2-rc.1
Cordis ピア範囲
^4.0.2
バージョン
1.1.3
最終更新
2026/09/12

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ddowbnac/dsh-web-search-local

ドキュメント

README 全文を読む ↗

Configuration

The provider exposes the web-search-local settings section, persisted to $DSH_HOME/settings.yaml (hot-reloaded, so a change reaches the next search with no restart):

FieldDefaultMeaning
engineautoWeb backend: auto (metasearch: DuckDuckGo + Bing + Wikipedia), duckduckgo, or searxng (= metasearch, kept for 0.1.x compatibility).
corpusDirs[]Directories to index (absolute or ~). Only used by the local search provider. Empty returns an informed empty result.
includebuilt-in text/code setExtra extensions to index (with or without a leading dot).
excludebuilt-in (node_modules, .git, *.min.js, lockfiles, more)Extra dir names, file names, or dot-suffixes to skip.
indexDir/web-search-localWhere index.db or index.fallback.json and manifest.json live.
maxResults20Per-query source cap (the seam re-enforces the tool's bound).
snippetLength160Approximate snippet length.
autoReindextrueRe-scan the corpus on each search (bounded by an internal interval). false = build on change only.
maxFileSizeBytes5000000Skip files larger than this.

Two ways to configure:

  1. YAML (primary): edit the web-search-local section in $DSH_HOME/settings.yaml (the same file the Settings UI writes). Example:
    web-search-local:
      engine: auto
      corpusDirs:
        - D:\docs
        - ~/notes
    
  2. UI card: when the deployment renders third-party plugin cards, a card appears under Settings -> Plugins for web-search-local (engine, corpus dirs, max results, snippet length, index dir, auto-reindex, then Save). It is optional: when the deployment does not render cards, the YAML path remains fully functional.