czpGhost/dsh-glm-web-search ↗★ 0
dsh-glm-web-search
通过Z.AI邮箱登录使用联网搜索与视觉 适合拥有Z.AI账号,希望在DSH中免API Key使用其搜索和视觉功能的用户。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:czpGhost/dsh-glm-web-search说明文档
阅读完整 README ↗Usage
/dsh-glm-web-search login # sign in (opens your browser)
/dsh-glm-web-search logout # sign out, forget the local credential
/dsh-glm-web-search status # token, plan and quota
/dsh-glm-login /dsh-glm-logout /dsh-glm-status # equivalent aliases
Each subcommand is also a standalone command because the menu matches on a command's name:
typing /dsh-glm-log is what surfaces both login and logout.
Upgrading
The Plugin Manager does not auto-update installed plugins. Remove the old version first, then add the new one:
dsh plugin --profile desktop remove dsh-glm-web-search
dsh plugin --profile desktop add dsh-glm-web-search
Then restart. Your credential lives outside the package, so it survives an upgrade.
Configuration
| Field | Default | Purpose |
|---|---|---|
origin | https://zcode.z.ai | Gateway origin |
model | unset (resolved live) | Model that runs search and fetch |
appVersion | probed | Client version advertised to the gateway |
jwtEnv | ZAI_JWT | Credential reference |
tokenPath | $DSH_HOME/dsh-glm-web-search/token.json | Local token file |
vision | true | Register the zai_vision tool |
timeoutMs | 90000 | Per-request deadline |
Credential order: managed record → $ZAI_JWT → the local token file.
On a headless host, set ZAI_BROWSER_OPEN=0; the URL is still printed so you can open it yourself.