Enter3211/dsh-web-search-all-modes
所有 dsh 对话模式支持联网搜索,极简模式可用。Web search for all dsh conversation modes, minimal included.
项目介绍Project Overview
本插件是 DeepSeek Harness 的 bundle,用于在所有内置预设中恢复宿主的 web_search 工具,特别是默认仅含 bash 与 str_replace_editor 的极简模式。其核心机制是按 id 重新启用 tool-web 注册:自带该工具的预设因作用域遮蔽不受影响,而极简模式或任何省略 tool-web 的自定义预设会立即获得 Web 搜索能力。当用户希望在极简环境中调用 web_search,又不想改写预设时启用即可。注意:要求 profile 基于 @deepseek-ai/dsh-base,并需配置 DEEPSEEK_API_KEY;若组合中不存在 tool-web 行,插件将以 no-op 形式跳过。
This plugin is a DeepSeek Harness bundle that restores the host's web_search tool across all built-in presets, especially the minimal mode that ships only with bash and str_replace_editor. It works by re-enabling the tool-web registration via id: presets that already include the tool remain unaffected due to scope shadowing, while minimal mode and any custom preset missing tool-web immediately gain web search capability. Use it when you need web_search in minimal environments without editing presets. Note: the profile must be based on @deepseek-ai/dsh-base and DEEPSEEK_API_KEY is required; if no tool-web row exists in the composition, the plugin loads as a no-op.
请帮我了解并安装插件:【dsh-web-search-all-modes】【https://github.com/Enter3211/dsh-web-search-all-modes】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:Enter3211/dsh-web-search-all-modes
把 Enter3211/dsh-web-search-all-modes 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-web-search-all-modes
简体中文 · English
一个 DeepSeek Harness 插件(bundle),为所有未内置 web_search 工具的 agent 预设恢复该工具——尤其是极简模式,该模式默认只带 bash 与 str_replace_editor 两个工具。
为什么需要它
dsh-base 会为每个 profile 挂载 Web 服务、DeepSeek 搜索 provider 以及模型侧的 web_search 工具。而 dsh-web-app 界面会禁用这条宿主工具,改为让每个会话从 agent 预设中自行组合工具:
| 预设 | web_search |
|---|---|
| 标准(standard) | ✅ 预设自带 |
| 代码(code / PTC) | ✅ 预设自带 |
| 创造(cordis) | ✅ 预设自带 |
| 极简(minimal) | ❌ 无 |
本插件把宿主的 tool-web 行重新打开。自带 web_search 的预设不受影响(作用域内的注册会遮蔽全局注册,不会重复);没有该工具的预设——极简模式,或任何本地编写时省略了 tool-web 的预设——会立即获得该工具。
安装
本地源码安装:
dsh plugin --profile web add ./dsh-web-search-all-modes
从 GitHub 安装(无构建脚本,无需 pnpm build 授权提示):
dsh plugin --profile web add github:Enter3211/dsh-web-search-all-modes
安装后重启 Web 进程。之后在极简模式(或任意模式)新建会话,即可在工具目录中看到 web_search。
环境要求
- profile 基于
@deepseek-ai/dsh-base组合而成(所有官方 profile 均满足)。 - 与标准模式相同的搜索凭据——
DEEPSEEK_API_KEY,由宿主的web-search-deepseekprovider 解析。 - Web 搜索会发起一次独立的模型请求;基础行给每次搜索分配 60 秒预算,并默认
fetch: false(web_fetch保持关闭),与标准模式预设级配置一致。
注意事项
- 极简预设把 persona 固定为完整系统提示词,因此工具引导提示段在该模式下保持隐藏;但
web_search的工具 schema 仍会出现在目录中并正常工作。 - 补丁按 id 定位
tool-web行。若组合中不存在该行(非 base 部署),加载器会记录一条跳过警告,插件整体不生效(no-op)。
许可证
MIT
ruvnet/ruflo
amruthpillai/reactive-resume
esengine/DeepSeek-Reasonix
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/colleague-skill
nocobase/nocobase
Tencent/WeKnora