kenny2077/dsh-web-search-zai

Web search for DSH through Z.ai or Zhipu, with a native English/Chinese settings card and a choice between Coding Plan quota and REST billing.

Gives the agent a web search tool backed by Z.ai or Zhipu, with the billing question left to you instead of assumed. Version 0.2 adds two modes: Coding Plan (the default) draws on subscription MCP quota, and API mode keeps the previous REST transport with its engine and recency options. There is no automatic fallback to the paid API — the README says so directly, which matters when the alternative is a surprise bill. Configuration is a native settings card in Settings → Web Search (Z.ai), in English and Chinese, where you set the mode, manage the key and choose the Z.ai or Zhipu MCP endpoint; changes apply to the next search. Key handling has its own rules: keys stay in credentials, blank input preserves the shared key, and Reset clears only search-setting overrides while keeping the key. Underneath, the model-facing web-search tools and the zai provider ID are unchanged from 0.1.0, so this is an upgrade of the plumbing, not a new interface for the model to learn.

Tools & Capabilities ★ 1
View on GitHub ↗

Install

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

The README's install line for the web profile, with @latest explicit; it notes prebuilt JavaScript is included and the package manager installs runtime dependencies, so you do not need to allow a plugin build script. Alternatives are documented: the latest GitHub build (dsh plugin --profile web add github:kenny2077/dsh-web-search-zai), a local checkout (install its dependencies first, then dsh plugin --profile web add .), and, from a DSH source checkout, pnpm dsh plugin --profile web add <absolute-plugin-path> run inside the DSH repository. Upgrades: dsh plugin --profile web update dsh-web-search-zai --latest, with a documented path for anyone upgrading from 0.1.0 who wants to keep REST API billing.

Compatibility

Requires DeepSeek Harness with the dsh CLI and its web settings services, plus Node.js 22.19+ within Node 22 or 24+. Keys must be native to the service you select — third-party chat gateway keys are explicitly not supported. The provider ID (zai) and the web-search-zai settings namespace stay the same across the 0.2 change, so existing integrations do not move. The README is careful about cost rather than hand-wavy: it states that a search can consume quota even without a chat inference request, that in its own Zhipu test (September 2026) each search consumed one point from the Coding Plan's rolling 5-hour pool of 2,000 points, and that in REST API mode a single search was billed at ¥0.05 RMB — while saying explicitly that these observations are not guaranteed rates or allowances and pointing at the current Z.ai and Zhipu documentation. It also states the plugin is a community plugin, and that catalog listing implies no endorsement by DSH or Z.ai.

Details

Alternatives

kenny2077/dsh-web-kimi · lemoncat7/dsh-web-search · aaronlei/dsh-web-search-diy

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins