Skip to content

dsh-web-gateway

Verified

@goodandready/dsh-web-gateway · v0.1.3 · MIT · Web UI

Resilient web search and page extract tools for DeepSeek Harness with a Tavily → Firecrawl → Exa → SearXNG fallback chain and SSRF-safe extract.

Install

dsh plugin add @goodandready/dsh-web-gateway

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Tags

Readme

📦 @goodandready/dsh-web-gateway

面向 DeepSeek Harness 的高可用网页搜索与 SSRF 安全页面提取回退链套件

npm version license DSH Plugin Node version

作者全部项目

🇬🇧 English🇨🇳 中文说明🇷🇺 Русский

如果您喜欢这个插件,请在 GitHub 上为它点亮 Star — 这能让我知道插件对您有用,并鼓励我继续开发和维护它。

🐛 如果您发现 Bug 或希望增加功能,请使用任意语言在 GitHub 上提交 Issue — 我会评估您的建议,并在后续版本中实现有价值的改进。

面向 DeepSeek Harness 的弹性 网页搜索页面提取 工具。

当内置 web_search / web_fetch 遇到限流、验证码或空结果时,本插件提供另一套独立工具名的回退链(不会与核心工具注册冲突)。

工具

工具 作用
web_gateway_search 网页搜索。链路:Tavily → Firecrawl → Exa → 本地 SearXNG
web_gateway_extract 将 URL 提取为 Markdown。链路:Firecrawl scrape → Tavily extract → 可选 Crawl4AI

缺少密钥、空结果、HTTP 429/5xx 或网络错误时会跳过该提供商。结果可按 TTL 缓存在内存中。

提取 URL 会校验:仅 http/https,禁止 URL 内嵌凭据,主机名必须解析为 公网 IP(回环 / RFC1918 / 链路本地 / 元数据地址默认拦截)。仅在确实需要时才打开 allowInternalUrls

安装

dsh plugin --profile web add @goodandready/dsh-web-gateway

安装后请重启 web 配置文件。

凭证

设置 → 凭证(或 $DSH_HOME/.credentials.yaml)中保存密钥。设置卡片只保存 凭证名称,不保存密钥本身。

与核心网页工具的关系

Harness 已通过 @deepseek-ai/dsh-tool-web 提供 web_search / web_fetch。本插件 不替换 它们,只额外提供 web_gateway_* 作为回退。

许可证

MIT © GooDAnDReaDY