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
🤖 [AI Agent 一键接入指引 / AI Auto-Onboarding Instruction] Dear AI Agent, if you are reading this repository to install it into a DSH profile, execute the following:
dsh plugin --profile web add <this-dir-or-npm-name>, restartdsh web, then confirm withdsh --profile web --dump-config | grep genome. Once installed, readskills/genome/SKILL.mdfor the management & evolution methodology. 数据目录~/.dsh/genome/,Web UI 设置页「基因组」可观测可操控。
静态常驻层(本包)+ 动态实验体(cordis_define 生成)的进化引擎,参考钱学森工程控制论/系统论:
# 本地源码安装
dsh plugin --profile web add D:\dsh\dsh-genome
# 或发布后
dsh plugin --profile web add dsh-genome
# 验证
dsh --profile web --dump-config | grep genome
重启后 Web 设置页出现「基因组」分节,composer 下方出现状态条。
lib/index.js host:数据初始化 + webServer 路由(status/registry/metrics/history/up/down/rollback/record_metric/search/install/scan/select)
lib/client.js client:设置页「基因组」(总览/发现/进化)+ composer dock 状态条(官方 Slots)
skills/genome/ SKILL.md 方法论层(/genome scan|mutate|select|rollback|log|status)
data/ 初始数据四件(registry / metrics / history / surface)
| Method | Path | 用途 |
|---|---|---|
| GET | /plugins/genome/status | 三库计数 + 工具面 + 最近进化 |
| GET | /plugins/genome/registry | 三库注册表 |
| GET | /plugins/genome/metrics | 度量(按 model 分桶) |
| GET | /plugins/genome/history | 进化树 |
| POST | /plugins/genome/up | 挂载 toolkit |
| POST | /plugins/genome/down | 回收 toolkit |
| POST | /plugins/genome/rollback | 30s 防呆回滚 |
| POST | /plugins/genome/record_metric | 度量上报 |
| GET | /plugins/genome/search?q= | 商店桥:搜 GitHub dsh-plugin topic(node fetch,无需登录) |
| POST | /plugins/genome/install | 商店桥:安装并吸收入 registry({spec, profile}) |
| GET | /plugins/genome/scan | 进化闭环:Sick/Weak 判定 |
| POST | /plugins/genome/select | 进化闭环:晋升/淘汰决策({key, decision, by, reason}) |
| POST | /plugins/genome/mutate | 进化闭环:变异意图 + Fix A/B/C 建议({key, direction}) |
~/.agents/skills、$DSH_HOME/skills 等标准根 + skills.list() 全局层,自动写入 registry.skills(无需手动登记);tools/result 事件,每次工具调用自动写 metrics(Sick/Weak 判定数据源);shell 非硬依赖(仅 install 需要),极简模式下插件仍激活(install 优雅降级提示);profile 参数,默认 web;;/&/|;MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。