Introduction¶
The plugin system of DSH (DeepSeek Harness) allows extending model access methods via plugins. dsh-plugin-dit performs a specific task: it adds DIT.ai as a native model provider to DeepSeek Harness, exposes two sets of interfaces (OpenAI Chat Completions and Anthropic Messages), and provides a guide for registration, API key creation, and saving Harness Credentials upon the first run of the Web profile.
What is this¶
dsh-plugin-dit is maintained by cuboteam and is licensed under MIT. The current package version is 0.2.1. It is designed to provide a DIT.ai provider and first-run onboarding for DeepSeek Harness.
It primarily does three things:
- Adds DIT.ai model provider to DeepSeek Harness
- Exposes both OpenAI Chat Completions and Anthropic Messages interfaces simultaneously
- Provides guidance for registration, API key creation, and Harness Credentials saving for the Web profile
Core Features¶
- Adds DIT.ai as a native model provider for DeepSeek Harness
- Supports provider routes:
`dit`: OpenAI Chat Completions, endpoint at/v1/chat/completions`dit-messages`: Anthropic Messages, endpoint at/v1/messages- Provides first-run Web onboarding for registration, creating API keys, and saving them via Harness Credentials
- Harness parses
DIT_API_KEYduring requests - The plugin itself does not contain API keys
- Currently, the DIT directory lists 29 OpenAI Chat Completions models and 10 Anthropic Messages Claude models; these counts are based on the current DIT directory listing
- Supports Native Messages thinking, with levels including
Off,High, andMax - Sends a custom header:
X-DIT-Integration: deepseek-harness
- Can be discovered in
dsh-marketanddsh-find-plugin - Keeps stock Harness runtime and tools unchanged
- Does not list image, audio, and video models
Installation and Usage¶
DeepSeek Harness requires Node.js 22.19 or later and pnpm. The Node engine declaration in package.json is:
"node": "^22.19.0 || >=24.0.0"
Web profile¶
First, install the plugin for the Web profile:
npx @deepseek-ai/dsh plugin --profile web add dsh-plugin-dit
Then start Harness:
npx @deepseek-ai/dsh web
Upon the first launch of the Web profile, a one-time DIT onboarding will guide you through registration, opening the API key page, and saving the key via Harness Credentials.
You can also skip the onboarding and provide the key using an environment variable:
export DIT_API_KEY="your-dit-api-key"
Then open the following in Harness:
Settings > Models
Select one of the following:
`DIT.ai`: OpenAI Chat Completions (/v1/chat/completions)`DIT.ai Messages`: Anthropic Messages (/v1/messages)
Headless profile¶
For headless runtime, first install it to the headless profile:
npx @deepseek-ai/dsh plugin --profile headless add dsh-plugin-dit
Set the key:
export DIT_API_KEY="your-dit-api-key"
Then execute a call:
npx @deepseek-ai/dsh --profile headless "Explain this repository"
Removing the Plugin¶
If no longer needed, you can execute:
npx @deepseek-ai/dsh plugin --profile web remove dsh-plugin-dit
Keys and Permissions¶
This plugin does not contain API keys. DIT_API_KEY is parsed by Harness during requests and is only sent to the configured DIT API endpoint.
The default local Harness backend saves credentials unencrypted in:
$DSH_HOME/.credentials.yaml
The file permissions are 0600. The plugin runs with the permissions of the current dsh process; therefore, please check the source code, license, and runtime environment yourself before installation.
Use Cases and Considerations¶
Suitable for the following use cases:
- Accessing DIT.ai’s OpenAI Chat Completions interface within DeepSeek Harness
- Accessing DIT.ai’s Anthropic Messages interface within the same Harness
- Completing registration and API key saving using Web profile onboarding
- Making command-line calls using
DIT_API_KEYin the headless profile
Please note:
- The model count is the value listed in the current directory and is subject to the current DIT directory listing
- Image, audio, and video models are not within the listed scope
- Community directories like
dsh-marketare for discovering plugins and do not imply that the plugin belongs to an official app store or has official affiliation - You should check the source code and
MITlicense before installation and confirm that the currentdshprocess permissions meet expectations
Links¶
- Community Directory: https://github.com/dsh-market/dsh-market
- Plugin Repository: https://github.com/cuboteam/dsh-plugin-dit