ccreach-dsh-web-search: Using CCReach for Capability Retrieval in DSH

Preface

When integrating “web search” for agents in DeepSeek Harness (DSH), the common approach is to use general search engines, which yield page summaries or generative answers. If your goal is to find pluggable data sources, tools, APIs, MCP services, Skills, or workflows, and you require source evidence and access condition descriptions, general search often fails to meet your needs.

ccreach-dsh-web-search, provided by maintainer tyjean428, registers WebSearchProvider.id = "ccreach" within DSH’s web profile and switches the search provider via a dsh.bundle patch. It interfaces with the CCReach capability retrieval API, returning capability candidates and their provider entry information. The upper-level Agent decides whether and how to invoke them; directory entries, executable: true, or accessible documentation URLs do not indicate that a task has been successfully executed. Unknown pricing and permission conditions are explicitly preserved in the metadata of each result.

What is this

  • Positioning: CCReach capability-search provider for DeepSeek Harness.
  • Maintainer: tyjean428.
  • Repository: github.com/tyjean428/ccreach-dsh-web-search
  • Community Directory: skillhub.cn plugin page (Independent community site, with no official affiliation to DeepSeek / High-Flyer).
  • Current Package Version (package.json): 0.1.0, MIT License.

The plugin does not invoke model APIs; anonymous access is the default, allowing basic retrieval without a CCReach API Key.

Core Features

Integration with DSH WebSearch

Upon installation, the patch replaces the complete configuration of the corresponding line in the web profile with searchProvider: ccreach and inserts the web-search-ccreach line; other providers remain mounted. Subsequent profile / home / CLI patches can override any line; if you customize the complete web configuration, you must retain existing settings such as fetchProvider.

Retrieval Semantics

  • One search corresponds to one GET request to CCReach; request.query maps to the query parameter q (including URL encoding for Unicode and reserved characters).
  • The current DSH WebSearchRequest contains only query and maxResults; it does not support passing pagination or filters per request. Filters are set at the provider configuration layer, and no new tool parameters facing the model are added.
  • Results are mapped to the Harness WebSearchSource: access.docs_url or sources[0].url is used as url; name → title; summary is used as the first line of snippet; resource type, protocol, cost and authentication status, executable, missing_conditions, etc., are written into the second line of snippet and labeled as CCReach capability metadata. access.endpoint does not replace the documentation URL, nor does the adapter actively call the endpoint.
  • WebSearchResult.content is not populated; results missing a URL are filtered out, and the list is truncated according to the request limit.

Credentials (Optional)

Anonymous access is the default. If a Key is configured, the request header will include Authorization: Bearer <key> for future use with authenticated capabilities; no account is created as a result.

The Harness typically resolves credentials through the official credentials service: the inherited environment variable CCREACH_API_KEY takes precedence over $DSH_HOME/.credentials.yaml (commonly ~/.dsh/.credentials.yaml). You can also set it in the startup environment:

export CCREACH_API_KEY='your-api-key'

Credential file example:

CCREACH_API_KEY: your-api-key

On POSIX systems, it is recommended to run chmod 600 ~/.dsh/.credentials.yaml; do not write keys into profile patches or Git. The configuration item requireApiKey defaults to false; requests will only be rejected due to missing credentials if authentication mode is explicitly enabled in the future.

Installation and Activation

Environment Requirements (README): Node.js ^22.19.0 || >=24.0.0, DeepSeek Harness and pnpm installed; verified on DSH 0.1.0-rc.6 (DSH is still a developer preview, and APIs may change).

After the package is published to npm, install it in the web profile:

dsh plugin --profile web add ccreach-dsh-web-search
dsh --profile web --dump-config
dsh --profile web

When installing from a local source directory, you need to build first and then point to the directory (README example):

cd ccreach-dsh-web-search
npm ci
npm run build
cd ..
dsh plugin --profile web add ./ccreach-dsh-web-search

Uninstall and restore the previous provider selection:

dsh plugin --profile web remove ccreach-dsh-web-search

Configuration Examples

You can configure the web-search-ccreach line in a newer profile patch, for example:

- id: web-search-ccreach
  config:
    baseURL: https://ccreach.com
    category: data
    kind: tool
    protocol: http
    free_only: false
    executable_only: true
    count: 10

Common fields (excerpt, refer to README for default values):

Configuration Item Default Meaning
baseURL https://ccreach.com API root address, requests api/search or api/meta
category omitted all/information/data/development/office/media/automation/research/agents etc.
kind omitted all/document/data_source/tool/agent/skill/workflow etc.
protocol omitted all/web/http/mcp/a2a/local etc.
free_only omitted Boolean, passed to backend as-is; unknown costs are not counted as free
executable_only omitted Boolean, passed to backend as-is; does not guarantee successful execution
count 10 Default limit, 1–50; Harness request.maxResults can override, max 50
apiKeyEnv CCREACH_API_KEY Credential environment variable name

Typical Usage and Response Forms

The README provides an excerpt of an anonymous request GET https://ccreach.com/api/search?q=weather&limit=1 on 2026-10-09. The returned entries include name, summary, resource_kind, protocols, executable, cost and authentication status, sources, access.docs_url, missing_conditions, etc. After mapping, the Agent sees a list of citeable sources with titles, URLs, and two lines of snippets (summary + metadata), facilitating the next step of opening documentation or evaluating access conditions.

For complete field examples, refer to examples/ccreach-response.json and examples/mapped-result.json in the repository.

Applicable Scenarios and Notes

Suitable for: Developers using the DSH web profile who want their Agent to retrieve capability directories (MCP services, tools, Skills, workflows) via a unified WebSearch interface, and read sources along with “to be verified” type conditions, rather than getting synthetic answers directly.

Notes:

  1. The plugin runs with the current dsh process permissions; please review the GitHub source code and the MIT license before installation.
  2. Alignment is easier when DSH and Cordis related peer dependency versions match the README development dependencies; for production environments, refer to the actual installed DSH version.
  3. The community directory categorizes this as “Workflow,” which aligns with CCReach’s filtering capabilities for kind: workflow; statistics such as stars are based on real-time data on the directory page.

Conclusion

ccreach-dsh-web-search connects CCReach’s capability retrieval to DSH’s WebSearch abstraction: anonymous by default, optional API Key, configurable filtering by category and protocol at the configuration layer, with results emphasizing evidence and access conditions rather than executing tasks for the Agent. For installation steps and field mappings, please refer to the GitHub README; to browse plugin information in the community, you can open the SkillHub Directory Page.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye