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
DSH profile 整合包 · 插件全生命周期管理器(v0.2.1)
English: A full-lifecycle plugin manager for DSH profile bundles — update check, search, install, uninstall and security audit for npm / GitHub / local-link plugins. Every write operation is auto-backed up first.
五个工具覆盖插件从发现到维护的完整生命周期:检查更新 / 搜索 / 安装 / 卸载 / 安全审计。 吸收社区 dsh-update-radar(link-git 上游检查)与 marketplace(安装管道)的设计思路; 所有写操作(安装 / 卸载 / 更新)前自动备份,可随时回退。
bundle_update — 检查/更新插件检查三类依赖:
| 参数 | 说明 |
|---|---|
mode |
check(默认)只报告;update 执行更新(前自动备份) |
packages |
包名子集;缺省全部 |
bundle_search — 搜索社区插件| 参数 | 说明 |
|---|---|
query |
关键词 |
source |
github(默认,dsh-plugin topic)或 npm(registry) |
limit |
条数上限,默认 10 |
返回名称/描述/star/安装 spec,可直接喂给 bundle_install。
bundle_install — 安装插件spec 支持:npm 包名@版本 / github:owner/repo#ref / link:绝对路径。
自动加入 dependencies + dsh.profile.bundles,安装前备份。
bundle_uninstall — 卸载插件按包名从 dependencies + bundles 移除,卸载前备份。
bundle_security — 安全审计三道防线扫描当前整合包:
pnpm audit(官方 registry)preinstall/install/postinstall/prepare 等脚本(供应链攻击最常见入口)| 参数 | 说明 |
|---|---|
deep |
true 时同时扫描传递依赖(较慢);缺省只扫直接依赖 |
本插件零被动 token 开销(不在启动时注入内容)。每周提醒用官方
schedule_create:
schedule_create(every_seconds=604800, prompt="检查 DSH 插件更新:bundle_update(mode=check) 后报告")
# ~/.dsh/profiles/web/cordis.patch.yml
- id: bundle-updater
name: dsh-bundle-updater
config:
profile: web
# skip: ["dsh-token-budget"]
npm run typecheck # tsc --noEmit
npm run build # esbuild → lib/index.js CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。