DreamRift / dsh-web-search-pool

목록에 있음

DeepSeek Harness 网页搜索插件:多个 Tavily/Exa key 按限流负载均衡,429 自动换 key,含设置页 UI 与 Tavily 额度总览。

main도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:DreamRift/dsh-web-search-pool

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 01b5a37동기화 2026. 8. 18.

dsh-web-search-pool

Version License: MIT DSH Version: rc.7

DeepSeek Harness 的 多供应商搜索负载均衡插件。将多个 Tavily 和 Exa API keys 组织成智能池,自动按限流调度并故障切换。

✨ Features

  • 🔑 Multi-key Pool: 支持多个 Tavily + Exa keys,统一管理
  • ⚖️ Smart Load Balancing: 基于 RPM(每分钟的请求数)加权轮询调度
  • 🔄 Automatic Fallback: 429 rate limit、额度耗尽、网络错误时自动切换到下一个 key
  • 📊 Usage Dashboard: Settings 页卡片实时查看已用额度、总限额、刷新按钮
  • 🔒 Secure: API keys 通过 DSH credentials service 保存,不写入配置文件
  • 🎯 Exa Anonymous Free Tier: 内置免费匿名层(1 req/sec),有 key 走 REST 提配额
  • 🏗️ Native Bundle (rc.7): DeepSeek Harness 官方式原生 Bundle 集成

📦 Installation

# Build distribution package
npm pack

# Install to your profile
dsh plugin --profile web add ./dsh-web-search-pool-0.1.0-rc.7.tgz

Prerequisites

  • DeepSeek Harness 0.1.0-rc.7 or higher
  • 🔐 At least one search provider API key (Tavily / Exa)

⚙️ Configuration

After installation, configure via DSH Settings UI:

  1. Open DeepSeek HarnessSettingsPlugins
  2. Find "搜索 Key 池" card and expand it
  3. Add your Tavily/Exa keys with:
    • Environment Variable Name (e.g., TAVILY_API_KEY_1)
    • Rate Limit (RPM): requests per minute
    • Remark: friendly name (optional)
  4. Click Save - secrets are stored securely via credentials

🔐 All API keys are stored in DS H's credential system, never in plain-text configs.

🛠️ Usage

Once configured, the plugin automatically becomes your default web_search tool. No manual selection needed!

The provider will:

  • Select optimal key based on current quota and load
  • Switch providers (Tavily ↔ Exa) on failure
  • Respect rate limits and quotas across all keys
  • Return structured errors without exposing sensitive data

🧪 Testing

# Run test suite
npm run test

# Syntax check
node --check src/**/*.js scripts/*.mjs

# Pack integrity check
npm pack --dry-run

📄 Documentation

🔧 Troubleshooting

IssueCauseSolution
No settings cardLegacy rc.6 slot registrationUpdate to use key: web-search-pool, restart DSH
Still using official searchBundle patch not loadedReinstall tarball, verify searchProvider: search-pool
Usage refresh failsInvalid credentials or quota exhaustedCheck credentials config, wait for quota recovery

See Upgrade Guide for complete table.

🏗️ Architecture

See technical design docs:

🔐 Security

This plugin follows Zero Trust for credentials:

  • No hardcoded secrets or API keys
  • Keys only stored via DSH credentials service
  • Never logged or exposed in responses
  • Public anonymous mode available (Exa free tier)

📜 License

MIT License - see LICENSE file

🤝 Contributing

Issues and PRs welcome! Please follow existing patterns:

  • Core logic in src/core/ (DSH-independent)
  • Provider implementation in src/dsh/ (Host half)
  • Client UI in src/dsh/client.js (Web half)
  • Tests parallel production coverage (TDD)

See Development Guidelines for best practices.


Built for DeepSeek Harness community · Part of native ecosystem

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨
문서감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 18. 오전 9:23

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.