Dsh Web Search Zai — Development skill for Claude Code
Zhipu (bigmodel.cn) web-search provider plugin for DeepSeek Harness (dsh).
How to install Dsh Web Search Zai
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open terryso/dsh-web-search-zai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dsh Web Search Zai does
Zhipu (bigmodel.cn) web-search provider plugin for DeepSeek Harness (dsh).
Alternatives in Development
- Ds Harness Remote — 基于 DeepSeek Harness 插件机制构建的远程访问方案,通过低延迟、端到端加密的 P2P 网络,支持使用 PC、移动端 和 Web 随时访问本地设备上的DSH 、CodeX、Cursor、Claude Cod 860 ★
- Dsh Plugin Cc — Bridge Deepseek-harness into Claude Code for review, critique, delegation, and session import 80 ★
- Dsh Usage — 🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-chan 74 ★
README
dsh-web-search-zai
[Zhipu / bigmodel.cn](https://www.bigmodel.cn) 独立网页搜索 API 的 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(DSH) 搜索 provider 插件。向 `ctx.web` seam 注册一个 `WebSearchProvider`,让模型端的 `web_search` 工具直接调用智谱的 `POST /web_search` 接口——每次搜索是一次纯 API 调用,不消耗模型轮次。
为什么需要它
DSH 内置的 `web-search-deepseek` provider 走 Anthropic Messages 协议的 `web_search_20250305` 服务端工具;智谱的 Anthropic 兼容层返回的是自定义 `tool_result` 块,内置 provider 解析不了。本插件直接调用智谱的独立搜索 API (`POST /web_search`),把 `search_result[]` 映射为 DSH 的 `WebSearchSource`, 每次搜索是一次纯 API 调用,不消耗模型轮次。
默认引擎链为 `search_pro` + 搜狗回退:智谱自研引擎(`search_std`/`search_pro`) 排序好,但部分内容源(新闻聚合类)不返回真实 URL(`link` 为空)——某些查询下 会**全部**条目无链接;搜狗/夸克引擎的条目则全部带链接。因此 provider 先用主 引擎,若映射后 0 条来源则自动用回退引擎(默认 `search_pro_sogou`)重试一次。 无链接条目总会被丢弃,并按 `maxResults + 5` 超量请求补偿。
安装
# 1. 安装进 profile(link 方式,项目目录的修改直接生效)
# 参数为本项目的克隆路径
dsh plugin --profile web add /path/to/dsh-web-search-zai
`link:` 安装会把 profile 的 `node_modules/dsh-web-search-zai` 符号链接到本项目。 Node 解析模块时会对 symlink 取真实路径,从本项目往上找不到 DSH 的 peer 包, 因此项目的 `node_modules/@deepseek-ai/*` 里放了指向 `~/.dsh/profiles/node_modules/@deepseek-ai/*` 的符号链接(同一份代码,不产生 双实例)。克隆本项目到新机器时需要重建这些链接。
# 2. 激活条目(写入用户 patch 层,精确路径监听会热应用,无需重启)
cat >> ~/.dsh/profiles/web/cordis.patch.yml <<'YAML'
- id: web
config:
searchProvider: zai-web-search
- insert:
- id: web-search-zai
name: dsh-web-search-zai
config:
apiKeyEnv: ZAI_CODING_CN_API_KEY
YAML
这两条做了:① 把 `web` seam 的 `searchProvider` 钉到 `zai-web-search` (覆盖 dsh-base 里的 `deepseek-official`);② 注册本插件行。
注意:条目放在**用户层**而不是本项目的 bundle patch 里是有意的——bundle 层 在每次 `dsh plugin add` 时会自动加入组合栈,如果两层都带 insert 条目,重启后 会重复注册 provider,被 web seam 以 `WEB_PROVIDER_DUPLICATE` 拒绝。
密钥放两处任意一处即可:
- DSH 凭据存储(GUI 的 Models 页面写入的
ZAI_CODING_CN_API_KEY); - 启动环境的环境变量
ZAI_CODING_CN_API_KEY。
配置
patch 层或用户 `cordis.patch.yml` 里可覆盖:
| 字段 | 默认 | 说明 |
|---|---|---|
apiKeyEnv |
ZAI_CODING_CN_API_KEY |
凭据引用名 |
apiKey |
Related Skills
Pivot Web Search
Resilient multi-provider web search & content extraction for Claude Code, DeepSeek Harness, and any MCP host —
Dsh Skills Hub
Skills Hub for DeepSeek Harness: browse, preview, install and remove third-party skills from ClawHub and Skill
Dsh Mux
DeepSeek Harness plugin: talk to Claude Code and other coding CLIs from the DSH web GUI, with sessions resumed
SpecFusion
在 DeepSeek Harness / Claude Code / Cursor / Codex / Gemini CLI 里直接搜索 20 个中国开放平台的 65,600+ 篇 API 文档;零配置,支持 Skill
Deepseek Harness Acp
ACP server implementation for DeepSeek harness. dsh-acp
Dsh Plugin Product Subagents
Role-based Codex / Claude Code / ACP subagent providers for the DeepSeek Harness — continuable children, durab
Related Agents
Ds Flash
DSH (DeepSeek Harness) worker on the flash tier - fast and cheap. Delegate simple, well-scoped subtasks: mecha
Rapid Builder Glm Go
GLM Builder 的 OpenCode Go Provider 槽。Zhipu GLM 配额或可用性不足时回退,也可在吞吐扩容时处理独立切片。
Harness Eng
Use for every build task on a deepseek-harness core — one layer per claimed packet, gated by hedgehog verify.