shaneconner/dsh-claude-bridge ↗★ 0
dsh-claude-bridge
Use a Claude Pro or Max subscription as a DeepSeek Harness model provider, by driving the Claude Code CLI through the Agent SDK.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shaneconner/dsh-claude-bridge说明文档
阅读完整 README ↗Configuration
- id: claude-bridge
name: 'dsh-claude-bridge'
config:
# Ask for the 1M window. Off by default: outside a Max plan it draws extra
# usage, which is the exact thing this bridge exists to avoid.
longContext: false
# Run a different claude binary. PATH is not consulted; left unset, the SDK
# runs the one bundled in its own dependency.
pathToClaudeCodeExecutable: /home/you/.local/bin/claude
# Working directory for the CLI child. Defaults to the harness process's.
cwd: /home/you/project
Some decisions are taken for you and are not options. The CLI child runs with ENABLE_CLAUDEAI_MCP_SERVERS=0 and DISABLE_AUTO_COMPACT=1, its preset is told to exclude CLAUDE.md and .claude/rules, and it loads no settings files at all. Each hands a decision back to the harness that the CLI would otherwise make for itself: the harness owns tool discovery, compaction, and context files.
The variables that would move the child onto a different account, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_BASE_URL, CLAUDE_CODE_USE_BEDROCK and CLAUDE_CODE_USE_VERTEX, are removed from its environment rather than forwarded. The harness materializes /.env and $DSH_HOME/.env into its own environment before any plugin loads, so one of these left in a .env for another tool would otherwise reach the child and bill per token.