DevViking-Persike/dsh-cliproxy ↗★ 0
dsh-cliproxy
DSH 插件,通过本地 CLIProxyAPI 实例路由 Claude 和 OpenAI 请求,以接入个人 CLI 订阅。
AI 分析
核心用途是将 DSH 的模型请求桥接到本地 CLI 代理服务。适合拥有个人 CLI 订阅并希望在 DSH 中直接使用这些通道进行对话的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DevViking-Persike/dsh-cliproxy说明文档
阅读完整 README ↗Configuration
Every field is optional.
| Field | Default | Meaning |
|---|---|---|
baseURL | http://127.0.0.1:8317/v1 | Endpoint including the /v1 prefix. |
apiKeyEnv | CLIPROXY_API_KEY | Credential reference and environment variable holding the proxy key. |
claudeModels | six Claude entries | Catalog for cliproxy-claude. A supplied array replaces the default. |
openaiModels | five GPT entries | Catalog for cliproxy-openai. |
streamIdleTimeoutMs | 300000 | Budget between reads before the transport gives up. |
defaultContextWindow | 200000 | Context assumed for a model absent from the catalog. |
maxTokens | 32000 | Output cap when neither request nor catalog states one. |
retryPolicy | normal, 3 retries | Merged over the default; read field by field by the harness retry plugin. |
- id: dsh-cliproxy
name: 'dsh-cliproxy'
config:
baseURL: http://127.0.0.1:8317/v1
claudeModels:
- id: claude-opus-5
name: Claude Opus 5
contextWindow: 1000000
maxTokens: 128000
A supplied catalog replaces rather than merges: naming three models means those three, and merging would silently reintroduce models your proxy does not serve.