DevViking-Persike/dsh-cliproxy0

dsh-cliproxy

DSH 插件,通过本地 CLIProxyAPI 实例路由 Claude 和 OpenAI 请求,以接入个人 CLI 订阅。

AI 分析

核心用途是将 DSH 的模型请求桥接到本地 CLI 代理服务。适合拥有个人 CLI 订阅并希望在 DSH 中直接使用这些通道进行对话的用户。

包名
dsh-cliproxy
版本
0.1.0
许可证
MIT
最近更新
2026年8月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DevViking-Persike/dsh-cliproxy

Configuration

Every field is optional.

FieldDefaultMeaning
baseURLhttp://127.0.0.1:8317/v1Endpoint including the /v1 prefix.
apiKeyEnvCLIPROXY_API_KEYCredential reference and environment variable holding the proxy key.
claudeModelssix Claude entriesCatalog for cliproxy-claude. A supplied array replaces the default.
openaiModelsfive GPT entriesCatalog for cliproxy-openai.
streamIdleTimeoutMs300000Budget between reads before the transport gives up.
defaultContextWindow200000Context assumed for a model absent from the catalog.
maxTokens32000Output cap when neither request nor catalog states one.
retryPolicynormal, 3 retriesMerged 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.