New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dsh-plugin-dit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-plugin-dit

Dual-protocol DIT.ai provider bundle for DeepSeek Harness

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
91
-72.42%
Maintainers
1
Weekly downloads
 
Created
Source

DIT.ai for DeepSeek Harness

Use production-routed models from DIT.ai in DeepSeek Harness. This profile bundle adds DIT as a native model provider while keeping the stock Harness runtime and tools unchanged.

Install

DeepSeek Harness requires Node.js 22.19 or newer and pnpm.

npx @deepseek-ai/dsh plugin --profile web add dsh-plugin-dit

Set the DIT API key, then start Harness:

export DIT_API_KEY="your-dit-api-key"
npx @deepseek-ai/dsh web

Open Settings → Models, then choose a model and protocol:

  • DIT.ai: recommended default using OpenAI Chat Completions (/v1/chat/completions)
  • DIT.ai Messages: Anthropic Messages (/v1/messages)

Both providers expose the production-verified claude-sonnet-4-6 and claude-opus-4-6 models and share the same DIT_API_KEY.

For headless runs:

npx @deepseek-ai/dsh plugin --profile headless add dsh-plugin-dit
export DIT_API_KEY="your-dit-api-key"
npx @deepseek-ai/dsh --profile headless "Explain this repository"

Protocol support

ProviderHarness APIDIT endpointThinking
ditopenai-completions/v1/chat/completionsStandard chat
dit-messagesanthropic-messages/v1/messagesNative Anthropic Messages thinking

Use DIT.ai for OpenAI-compatible clients. Use DIT.ai Messages for Anthropic content blocks, tool use, native Messages streaming events, and thinking budgets.

What the bundle configures

  • Provider routes: dit and dit-messages
  • OpenAI Chat base URL: https://api.dit.ai/v1
  • Anthropic Messages base URL: https://api.dit.ai (Harness appends /v1/messages)
  • Credential reference: DIT_API_KEY
  • Attribution header: X-DIT-Integration: deepseek-harness
  • Models: claude-sonnet-4-6, claude-opus-4-6
  • Native Messages thinking with Off, High, and Max levels

The API key is resolved by Harness at request time and is never embedded in the plugin.

Local development

From this directory:

pnpm test
pnpm smoke:harness
npx @deepseek-ai/dsh plugin --profile web add .
npx @deepseek-ai/dsh --profile web --dump-config

pnpm smoke:harness runs the official Harness headless agent against local /v1/chat/completions and /v1/messages mocks. It verifies attribution, both authentication header styles, models, stream events, and thinking parameters without spending API credit.

Uninstall

npx @deepseek-ai/dsh plugin --profile web remove dsh-plugin-dit

License

MIT

Keywords

deepseek

FAQs

Package last updated on 14 Aug 2026

Related posts