umicorn07 / dsh-web-search-qwen

Listed

Qwen / DashScope Token Plan web search provider plugin for DeepSeek Harness (dsh)

masterModelTool View source

Installation

npx -y @deepseek-ai/dsh plugin --profile web add github:umicorn07/dsh-web-search-qwen

This installation command is an unverified starting point generated from the GitHub repository address.

README

Maintainer-authored documentation snapshot.

View on GitHub ↗
Commit d164f5eSynced Aug 17, 2026

dsh-web-search-qwen

English | 中文

dsh-web-search-qwen is an open-source web search provider plugin for DeepSeek Harness (dsh).

It connects the web_search capability of DeepSeek Harness to Alibaba Cloud / Qwen Token Plan (DashScope), allowing your Agent to perform real-time internet searches directly using your Token Plan Credits, eliminating unexpected pay-as-you-go billing from DeepSeek's official messages search endpoint.


✨ Features

  • 🚀 Native DSH Integration: Registers directly as a WebSearchProvider (id: qwen-token-plan), seamlessly compatible with standard DSH UI cards and web_search tools.
  • 💰 Cost Effective: Uses your prepaid Qwen Token Plan credits instead of auxiliary DeepSeek official per-token fees.
  • Fast & Accurate: Powered by qwen3.6-flash (or qwen3.7-plus) with enable_search: true for swift retrieval and rich structured markdown summaries.
  • 🔒 Secure Credential Management: Resolves keys through DSH credential store (~/.dsh/.credentials.yaml) and ambient environment variables.

📦 Installation & Setup

Option 1: Via DSH Plugin Command

In your DSH profile directory:

dsh plugin add dsh-web-search-qwen

Option 2: Via cordis.patch.yml

In ~/.dsh/profiles/web/cordis.patch.yml:

# 1. Disable default DeepSeek official pay-as-you-go search
- id: web-search-deepseek
  disabled: true

# 2. Insert Qwen Token Plan search provider
- insert:
    - id: web-search-qwen
      name: 'dsh-web-search-qwen'
      config:
        apiKeyEnv: QWEN_TOKEN_PLAN_CN_API_KEY
        model: qwen3.6-flash

⚙️ Configuration

FieldDefaultDescription
apiKeyEnvQWEN_TOKEN_PLAN_CN_API_KEYCredential reference resolved from DSH credentials or environment
apiKey(omitted)Optional literal API Key
baseURLhttps://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1Token Plan endpoint
modelqwen3.6-flashModel used for search execution and summarization
systemPrompt(default)Custom search prompt

📄 License

MIT License

Repository information

Language
TypeScript
License
MIT
Last updated
Aug 17, 2026, 9:13 AM

Install deliberately

Review source code, permissions, lifecycle hooks, dependencies and network access. Test untrusted plugins in an isolated environment.