Joeytisaly/dsh-web-search-tokenrhythm ↗★ 0
dsh-web-search-tokenrhythm
Token Rhythm (OpenAI Responses web_search) search provider for the DeepSeek Harness web capability seam (ctx.web)
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Joeytisaly/dsh-web-search-tokenrhythm说明文档
阅读完整 README ↗dsh-web-search-tokenrhythm
A web-search provider for DeepSeek Harness that turns the built-in web_search tool into real searches through the Token Rhythm (基元律动) gateway's OpenAI Responses API (web_search tool). No extra account, no new API key — it reuses the key you already store for chat.
Quick start (3 steps)
Run these inside your dsh profile directory (e.g. %USERPROFILE%\.dsh\profiles\web):
# 1. Install the package
pnpm add dsh-web-search-tokenrhythm
// 2. Register the bundle in profiles/web/package.json
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"dsh-web-search-tokenrhythm" // ← add this line
]
}
}
# 3. Restart dsh web
That's it. The bundle mounts the provider and switches web_search to it automatically — no cordis.patch.yml editing required.
Prerequisites
- Your gateway must support the OpenAI Responses API with the native
web_searchtool. Token Rhythm does (deepseek-v4-flash-0731, which declareswebSearch: true). Other gateways: check their model metadata before switching. - Store an API key so the provider can authenticate. The default credential reference is
DEEPSEEK_API_KEY— save it through the web UI (Settings → Models) or your credentials file. Point the provider at another reference withapiKeyEnvif you prefer.
Verify it works
In any chat, ask: “帮我搜一下 XXX” or “search the web for XXX”. The response will include real source links.
Configuration
| Key | Default | Meaning |
|---|---|---|
apiKeyEnv | DEEPSEEK_API_KEY | Credential reference resolved for each search. |