dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
Update checker plugin for the DeepSeek Harness (dsh) Web GUI: shows the current version in the session top bar, auto-checks the latest version on npm and prompts you to upgrade when a new one is available.
DeepSeek Harness(dsh)Web GUI 的更新检查插件:在会话顶栏显示当前版本号,自动检查 npm 上的最新版本,有新版时提示升级。

中文 · ← Back to DeepSeekHarnessPlugins
| File | Description |
|---|---|
index.js |
Installed Host half (dsh.bundle entry): registers the /api/dsh-update-checker/check route, reads current version + queries latest version |
lib/client.js |
Installed Client half (dsh.client module): top-bar badge & comparison panel |
cordis.patch.yml |
Bundle composition patch inserting the plugin row into the profile |
package.json |
Package metadata (declares dsh.bundle + dsh.client) |
host.js / client.js |
Dynamic cordis_define usage (mutually exclusive with the installed form) |
README.md / LICENSE |
Docs / MIT license |
This repo is also an installable dsh plugin package (package.json declares dsh.bundle + dsh.client). After installation, restart dsh and the "top-bar version badge" takes effect automatically.
# If published as its own repository (same inclusion style as awesome-dsh-plugin, recommended):
dsh plugin --profile web add github:<your-username>/dsh-update-checker
# If installed as a subdirectory of the DeepSeekHarnessPlugins repository:
dsh plugin --profile web add github:<your-username>/DeepSeekHarnessPlugins#path:dsh-update-checker
To update an installed plugin: re-add the latest commit (or
dsh plugin --profile web update dsh-update-checker), then restart dsh.
Define and run in a dsh Web GUI session with the Cordis tools:
cordis_define: paste host.js content as code.host and client.js content as code.client (plugin.kind: 'new', idPrefix of 3–6 lowercase letters)cordis_run to activate and allow authorization in the UINote: a dynamic plugin lives as long as the current dsh process. After a dsh restart you must define and run it again; for persistence use the "Installation (dsh.bundle)" method above.
Current version (installed form, degraded in order):
process.cwd()/node_modules/@deepseek-ai/dsh/package.json (npx launch scenario)/usr/local/lib, /opt/homebrew/lib)_npx directory by environment variables (npm_config_cache, LOCALAPPDATA, APPDATA, HOME)Latest version (degraded in order):
fetch queries registry.npmmirror.comregistry.npmjs.orgResults are cached for 60 seconds; clicking "Re-check" on the badge skips the cache and forces a refresh.
@deepseek-ai/dsh/package.json@deepseek-ai/dsh) itself, not this pluginEnglish · ← 返回 DeepSeekHarnessPlugins
DeepSeek Harness(dsh)Web GUI 的更新检查插件:在会话顶栏显示当前版本号,自动检查 npm 上的最新版本,有新版时提示升级。
| 文件 | 说明 |
|---|---|
index.js |
安装版 Host 半边(dsh.bundle 入口):注册 /api/dsh-update-checker/check 路由,读当前版本 + 查最新版本 |
lib/client.js |
安装版 Client 半边(dsh.client 模块):顶栏徽章与对比面板 |
cordis.patch.yml |
bundle 组合补丁,把插件行插入 profile |
package.json |
包元信息(声明 dsh.bundle + dsh.client) |
host.js / client.js |
动态 cordis_define 用法(与安装版二选一) |
README.md / LICENSE |
说明文档 / MIT 许可证 |
本仓库同时是可安装的 dsh 插件包(package.json 声明 dsh.bundle + dsh.client)。安装后重启 dsh,「顶栏版本徽章」自动生效。
# 若插件发布为独立仓库(与 awesome-dsh-plugin 收录方式一致,推荐):
dsh plugin --profile web add github:<你的用户名>/dsh-update-checker
# 若作为 DeepSeekHarnessPlugins 仓库的子目录安装:
dsh plugin --profile web add github:<你的用户名>/DeepSeekHarnessPlugins#path:dsh-update-checker
更新已安装的插件:重新 add 最新提交(或
dsh plugin --profile web update dsh-update-checker)后重启 dsh。
在 dsh Web GUI 的会话中,用 Cordis 工具定义并运行:
cordis_define:code.host 粘贴 host.js 的内容,code.client 粘贴 client.js 的内容(plugin.kind: 'new',idPrefix 取 3–6 个小写字母)cordis_run 激活,在界面上允许授权注意:动态插件的生命周期与当前 dsh 进程相同。重启 dsh 后需重新定义运行;如需常驻,请使用上方「安装(dsh.bundle)」方式。
当前版本(安装版,按顺序降级):
process.cwd()/node_modules/@deepseek-ai/dsh/package.json(npx 启动场景)/usr/local/lib、/opt/homebrew/lib)npm_config_cache、LOCALAPPDATA、APPDATA、HOME)扫描 npm 缓存 _npx 目录最新版本(按顺序降级):
fetch 查询 registry.npmmirror.comregistry.npmjs.org结果带 60 秒缓存;点击徽章的「重新检查」会跳过缓存强制刷新。
@deepseek-ai/dsh/package.json@deepseek-ai/dsh)自身的版本,不是本插件版本CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。