DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-web-search-zhipu

d

dsh-web-search-zhipu

Manifest valid

GLM (Zhipu bigmodel) web search provider - routes ctx.web search through Zhipu's Anthropic-compatible endpoint with the native web_search server tool, billing your existing GLM quota or Coding Plan in

hasBundlePatch

dsh-web-search-zhipu

npm license

为 DeepSeek Harness (DSH) 编写的 GLM(智谱 bigmodel)网页搜索插件。让 DSH 的 web_search 工具走智谱的 Anthropic 兼容端点(https://open.bigmodel.cn/api/anthropic/v1),消耗你现有的 GLM 额度 / Coding Plan,替代官方 dsh-web-search-deepseek 的 DeepSeek 通道——不需要 DeepSeek 平台余额,也不需要再注册任何搜索服务。

简体中文 | English

为什么需要它

智谱端点功能上支持 Anthropic 的 web_search_20250305 服务端工具,但返回的不是标准 Anthropic 布局:

Anthropic 标准(DSH 要求)智谱实际返回
结果块类型web_search_tool_resulttool_result
内容格式结构化数组 {type:"web_search_result", url, title}Python-repr 风格字符串
URL 字段urllink

本插件内置格式翻译层(lib/repr.js),两种布局都能解析、按 URL 去重、拼接引用摘要——web_search 工具保持稳定的 schema 与引用卡片,后端则计费到你的智谱账户。

安装

插件市场收录后可直接安装,或:

dsh plugin --profile web add dsh-web-search-zhipu

然后重启 dsh web。插件会注册搜索 provider glm-bigmodel,并随附 patch 将 web.searchProvider 指向它。

要求:

  • DSH web profile,dsh >= 0.1.1-rc.1(在 0.1.1-rc.2 上验证)
  • Node.js >= 20
  • 智谱 bigmodel API key,存于 DSH 凭据服务,键名 ZAI_CODING_CN_API_KEY(通常就是 agent 的 GLM 模型在用的那把)

配置

默认零配置可用;设置页 → 插件里会出现 web-search-glm 配置节。

配置项默认值说明
apiKeyEnvZAI_CODING_CN_API_KEY凭据服务里的 key 引用
baseURLhttps://open.bigmodel.cn/api/anthropic/v1也可用环境变量 GLM_SEARCH_BASE_URL 覆盖
modelglm-4.6任意 GLM 对话模型
apiVersion2023-06-01anthropic-version 请求头
maxTokens4096单次搜索生成上限
maxUses3单次请求搜索工具调用上限

回滚

dsh plugin --profile web remove dsh-web-search-zhipu

移除后若不重新指定 web.searchProvider,会自动回落到剩余唯一注册的 provider(内置 deepseek-official)。

English

A DeepSeek Harness web-search plugin that routes the web_search tool through Zhipu's (bigmodel) Anthropic-compatible endpoint, billing your existing GLM quota / Coding Plan instead of the DeepSeek platform. Ships a translation layer for Zhipu's non-standard tool_result response layout (plus standard Anthropic layout), with URL dedupe and citation-snippet joining. Zero-config with defaults; provider id glm-bigmodel.

dsh plugin --profile web add dsh-web-search-zhipu   # then restart dsh web

开发

node test/unit.mjs   # 解析器单测(真实响应回放 + 合成样例)
node test/e2e.mjs    # 真实端点 e2e(读取 ~/.dsh/.credentials.yaml 的 ZAI key)

License

MIT

Compatibility

DSH 0.1.6-alpha.2: failedDSH 0.1.7-alpha.1: failedDSH 0.1.5-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

dsh-web-search-glm

Zhipu GLM web search provider: registers as `glm` on the ctx.web seam and runs the native web_search server tool through GLM's Anthropic-compatible API (Coding Plan billing).

Tools & CapabilitiesModels & ProvidersManifest valid

★ 0

↓ 62/wk

dsh plugin --profile web add dsh-web-search-glm

by Canary-Builds

Z.AI (GLM) web search provider for DeepSeek Harness — native web_search via the Anthropic-compatible Messages API. Dependency-free DSH Profile Bundle.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add @canary-builds/dsh-web-search-zai

by Zn-Dk

Zhipu BigModel/GLM provider toolkit for DeepSeek Harness: dual-endpoint model catalog (Coding Plan + ordinary API), verified thinking-level mapping, live model discovery, Web settings card

Models & ProvidersManifest valid

★ 0

MIT

TypeScript

Sep 9, 2026

dsh plugin --profile web add dsh-zhipu-toolkit

by fineven

Zhipu BigModel all-in-one plugin for the DeepSeek Harness: web search (web_search_prime) + web reader (webReader, server-side rendered) + GLM-4.6V vision (vision_analyze + pasted-image hook), one ZAI_

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add dsh-zhipu

by kenny2077

Web search for DeepSeek Harness through Z.ai or Zhipu, with Coding Plan MCP quota and REST API billing modes, a native bilingual settings card, and support for reusing an existing ZAI_API_KEY.

Tools & CapabilitiesDevelopment & InfrastructureModels & ProvidersManifest valid

★ 1

↓ 67/wk

MIT

TypeScript

Sep 5, 2026

dsh plugin --profile web add dsh-web-search-zai

by magian1127

Zhipu (GLM Coding Plan) MCP servers into DSH - 接入智谱的工具

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 3

↓ 505/wk

MIT

TypeScript

Oct 23, 2026

dsh plugin --profile web add deepseek-harness-zhipu_plan_tools