dshbase

Plugin directory / Developer / dsh-local-web

dsh-local-web

Verified · install-tested on dsh wanghj040530

✓ Actively maintained Builds on 4 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-18Last push
Cross-platformPlatform

What it does

Local web fetch provider for DeepSeek Harness: web_fetch via local Ollama model (fetch page -> summarize/parse locally -> return to agent)

✅
Our take
Works — verified, early-stage project

Local web fetch provider for DeepSeek Harness: web_fetch via local Ollama model (fetch page -> summarize/parse locally -> return to agent) It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-local-web

本地网页读取插件:让 dsh 的 web_fetch 走「抓网页 → 本地 Ollama 模型整理 → 返回」链路,网页内容不出本机。

背景

DSH (DeepSeek Harness) 默认没有内置 fetch provider,web_fetch 工具因缺少 provider 而不可用。本插件注册一个 local-ollama fetch provider,补全整条链路:

dsh web_fetch(url)
  → Node fetch 抓取网页
  → 轻量 HTML→text 提取
  → 本地 Ollama (qwen3.5:9b) 整理/总结
  → 返回 { url, statusCode, body: { kind: 'text', content }, truncated }

特性

  • 本地处理:网页内容只发给本地 Ollama,不上传云端
  • 零依赖抓取:用 Node 原生 fetch + 正则提取 HTML 文本,不引 turndown
  • 即装即用:注册后 dsh 的 web_fetch 工具自动走此 provider

安装

# 复制到本地插件目录
cp -r dsh-local-web ~/.dsh/local-plugins/dsh-local-web

# 安装到 profile(以 desktop 为例)
dsh plugin --profile desktop add "link:~/.dsh/local-plugins/dsh-local-web"

# 配置 fetch provider(在 profile 的 cordis.patch.yml 中)
# web:
#   fetchProvider: local-ollama

# 重启 DSH

前置要求

  • 本机运行 Ollama,并已拉取模型(如 qwen3.5:9b)
  • DSH profile 已启用 tool-web(disabled: false + fetch: true)

配置

插件在 cordis.patch.yml 中的默认配置:

- id: dsh-local-web
  config:
    baseURL: http://127.0.0.1:11434/v1   # Ollama OpenAI 兼容端点
    model: qwen3.5:9b                     # 本地整理模型
    timeoutMs: 120000                     # 抓取+推理总超时
    maxChars: 8000                        # 送入模型的文本上限
    prompt: >-
      请用中文简洁总结以下网页内容,提取关键信息与要点。
      如果内容为其他语言,请用与内容相同的语言总结。

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-local-web for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:wanghj040530/dsh-local-web

Headless (CLI) profile:

dsh plugin --profile headless add github:wanghj040530/dsh-local-web

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →