dsh-rustxng
使用自建RustXNG实例替代内置搜索 适合拥有自建RustXNG搜索服务的用户,用以定制和增强网页检索。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kgmkm/dsh-rustxng说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
enabled | true | Master switch; false unloads the tools and unregisters the provider. |
baseUrl | http://127.0.0.1:8888 | Where RustXNG listens. Volatile (editable in the card). |
timeoutMs | 20000 | Timeout for one search. |
defaultLimit | 12 | Sources handed to web_search (1–50). |
language | '' | Search language (ja, en, …); empty = instance default. |
timeRange | '' | day / week / month / year; empty = no filter. |
safeSearch | -1 | -1 = instance default, else 0 / 1 / 2. |
categories | [] | Category filters applied to every search (general, it, …). |
exposeTools | true | Register rustxng_search / rustxng_status. |
webSearch.enabled | false | Replace the built-in web_search. Volatile. |
webSearch.autoSelect | true | Write web.searchProvider = 'rustxng' for you. Volatile. |
debug | false | Log each provider decision. |