Introduction

When developing agents based on DeepSeek Harness, you often encounter the need to call basic country data. Manually maintaining this data is both cumbersome and error-prone. The dsh-china plugin uses built-in data structures to return complete information for China locally, without requiring online queries.

Plugin Overview

dsh-china is a DSH plugin that provides basic country information for China, maintained by uckkk. It addresses the need to obtain standardized China country data locally, with no network dependency.

Core Features

The plugin provides the following two main capabilities:

  1. country_info: Returns complete information for China, including name, capital, population, area, currency code, official language, telephone code, top-level domain, continent, and flag.
  2. country_field: Queries a single field of China’s country data by field name, suitable for extracting specific fields in a workflow.

Installation and Enablement

Before installing the plugin, ensure the environment meets the following dependency requirements:
* @deepseek-ai/cordis (^4.0.1)
* @deepseek-ai/dsh-tools (>=0.1.0-rc.6)

Run the following command to install:

dsh plugin add github:uckkk/dsh-china

Common Usage

  1. Call country_info to retrieve complete country information for China.
  2. Call country_field to query country information by field name.

Applicable Scenarios and Notes

  • Pure Node Implementation: The plugin is implemented in pure Node and does not depend on the network environment, so it can run normally in offline or intranet environments.
  • Version Dependencies: Ensure that the specified versions of Cordis and DSH Tools are installed before installation.

Summary

By adopting dsh-china, you can quickly obtain standardized China country data locally and simplify the development workflow for agents. For more details, refer to the plugin directory or GitHub repository.