dshbase

插件目录 / Developer / dsh-plugin-dit

dsh-plugin-dit

已验证 · 实测可装 cuboteam

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-19最近推送
跨平台平台

功能简介

DIT.ai provider bundle for DeepSeek Harness

✅
我们的评价
可用 — 实测通过,早期项目

DIT.ai provider bundle for DeepSeek Harness 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

DIT.ai for DeepSeek Harness

npm version
CI
license

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

Start Harness:

npx @deepseek-ai/dsh web

On first Web-profile launch, a one-time DIT guide lets users register, open the API-key page, and save the key through Harness Credentials. The plugin cannot read stored plaintext and does not send the key anywhere except the configured DIT API endpoint.

See installation and troubleshooting for version
verification, onboarding recovery, network access, and compatibility details.

You can also skip the guide and use an environment variable:

export DIT_API_KEY="your-dit-api-key"

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: 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
  • 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
  • One-time Web onboarding for registration, key creation, and secure Harness Credentials storage

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. Harness Credentials does not expose stored
plaintext back to the plugin, but the default local Harness backend persists it
unencrypted in $DSH_HOME/.credentials.yaml with filesystem mode 0600.
See the complete security policy and report security issues
privately through GitHub Security Advisories.

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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-plugin-dit」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:cuboteam/dsh-plugin-dit

Headless(CLI)profile:

dsh plugin --profile headless add github:cuboteam/dsh-plugin-dit

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →