DSH Plugins
返回列表
🤖

dsh-claude-bridge

模型推理 更新于 2026.08.31

在终端中运行以下命令:

dsh plugin install shaneconner/dsh-claude-bridge

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在终端运行 dsh plugin install shaneconner/dsh-claude-bridge 即可安装该插件,源码地址为 https://github.com/shaneconner/dsh-claude-bridge

插件介绍

DeepSeek Harness can already connect to Anthropic via OAuth, but third-party harness usage on that route is billed as extra usage per token rather than against your Claude Pro or Max plan limits. dsh-claude-bridge takes a different path: it drives the already-authenticated Claude Code CLI through the Agent SDK, so inference and tool-call usage lands on the subscription you already pay for.

The plugin supports streaming text and reasoning output, multi-round and parallel tool calls (with precise tool-use id pairing), token accounting including cache reads and writes, finish reasons, model listing and resolution, reasoning effort control, and an optional one-million-token context window. On the safety side, the child process reads no settings files at all, and environment variables such as ANTHROPIC_API_KEY that could redirect billing to a different account are explicitly stripped before the CLI runs.

It is designed for users who hold a Claude Pro or Max subscription and want to route Claude model calls through DeepSeek Harness while staying within plan limits. Keep in mind that conversation history is carried as inline prompts rather than written to the CLI's session file, so cross-turn prefix caching does not apply (it does within a single tool round), which can increase cost on long conversations. Anthropic has also made and then walked back a change to how Agent SDK usage is billed, so it is worth confirming the current policy before relying on this approach.

使用场景

  • 将 Claude Pro 或 Max 订阅接入 DeepSeek Harness 作为模型提供方
  • 在 Harness 中执行多轮工具调用并复用 Claude 套餐额度
  • 以按套餐而非按 token 的方式消耗 Claude 订阅完成推理任务

适合人员

  • 持有 Claude Pro 或 Max 订阅的开发者
  • 希望在 DeepSeek Harness 生态中使用 Claude 模型的用户
  • 关注推理成本并希望按套餐额度计费而非逐 token 计费的团队