安装
npx @deepseek-ai/dsh plugin --profile web add dsh-plugin-dit此命令根据 GitHub 仓库地址生成。运行前请检查上游 README 与源代码;需要可复现安装时,请固定 release 或 commit。
README
维护者编写的文档快照。
最近一次目录同步未能刷新此 README 快照。
DIT.ai for DeepSeek Harness
Use the DIT.ai conversational model catalog in DeepSeek Harness. This profile bundle adds DIT.ai 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)
DIT.ai exposes every current DIT model that supports OpenAI Chat Completions. DIT.ai Messages exposes every model that supports Anthropic Messages. Both providers 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"
Discover inside Harness
The plugin is listed in the community directory used by dsh-market and can also be found by dsh-find-plugin.
npx @deepseek-ai/dsh plugin --profile web add dshmarket
Open the Market tab and search for DIT or dsh-plugin-dit.
Protocol support
| Provider | Harness API | DIT endpoint | Thinking |
|---|---|---|---|
dit | openai-completions | /v1/chat/completions | Model-specific |
dit-messages | anthropic-messages | /v1/messages | Native 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:
ditanddit-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 - Chat models: all 29 models currently advertised with
openai_chat_completions, including Claude, DeepSeek V4, Gemini, GLM, GPT, Grok, Kimi, and MiniMax families - Messages models: all 10 Claude models currently advertised with
anthropic_messages - 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.
DIT's authenticated /v1/models response is the protocol authority. Image, audio, and video models are not listed because Harness consumes conversational model APIs.
Security
The bundle contains no API key. DIT_API_KEY remains an environment reference
and is resolved by Harness only when a request is sent. Please report security
issues privately through GitHub's security advisory form.
Local development
From this directory:
pnpm test
pnpm smoke:harness
DIT_API_KEY="your-dit-api-key" node scripts/check-catalog.mjs
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. scripts/check-catalog.mjs compares the bundled model IDs with DIT's live protocol declarations without making a model request.
Uninstall
npx @deepseek-ai/dsh plugin --profile web remove dsh-plugin-dit
License
MIT
项目文件与信号
以下项目是目录快照中检测到的公开仓库信号。
仓库信息
- 开发语言
- JavaScript
- 许可证
- MIT
- 最新发布
- v0.1.3
- 最后更新
- 2026年8月18日 03:06
谨慎安装
请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。