DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Cliproxyapi Provider — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

dsh-cliproxyapi-provider

Cliproxyapi Provider

适用于 DeepSeek Harness 的 CLIProxyAPI 提供程序,支持本地自动发现、动态模型同步和原生模型切换。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:ChadCSong/dsh-cliproxyapi-provider#6f1039feeb184cd2a7b4e92a2a8ca879ff3d00d6
README兼容性版本

兼容性与来源证明

Cliproxyapi Provider 以 dsh-cliproxyapi-provider 发布,当前版本为 0.1.9。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/16

版本

0.1.9stable
2026/9/16
0.1.7stable
2026/8/20

相关插件

正在加载相关插件…

最新版
0.1.9
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/9/16
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。Codex Subscriptiondsh-codex-subscription通过 OAuth 在 DeepSeek Harness 中使用 ChatGPT 和 Codex 订阅,支持配额管理、安全重置、网页搜索、图像和快速模式Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额

README

DSH CLIProxyAPI Provider

An auto-discovery CLIProxyAPI provider for DeepSeek Harness (DSH).

It discovers a local CPA service and synchronizes the live model catalog into DSH's native model picker.

简体中文说明

Why this plugin?

Generic OpenAI-compatible routes usually require a manually maintained base URL and model list. This plugin treats CLIProxyAPI as a first-class, dynamic DSH provider:

  • Zero-address local setup — probes 127.0.0.1:8317, localhost:8317, and [::1]:8317.
  • Live model discovery — reads /v1/models?client_version=pi, with standard data[].id fallback.
  • Native model switching — models appear under CLIProxyAPI (auto) in DSH's model picker.
  • Newest versions first — versions are sorted newest-first inside each model family.
  • Native capability sync — imports context/output limits, reasoning support, image input, and service tiers when CPA reports them.
  • Automatic refresh — CPA account or model changes are picked up without reinstalling the plugin.
  • Credential-safe — the API key is stored through DSH's credential service, not in settings.yaml.
  • Standard DSH bundle — works with DSH Web, headless profiles, and DSH Desktop; it is not a Desktop-only extension.

Requirements

  • DeepSeek Harness 0.1.5-rc.1 (public contracts 0.1.5-rc.2)
  • Node.js 22.19+ or 24+
  • A running CLIProxyAPI instance

The plugin is built and tested against the public DSH 0.1.5-rc.2 contracts used by the 0.1.5-rc.1 CLI release. Version 0.1.8 and later use the current settings and browser module APIs.

Install

Install directly from GitHub into the profile you use:

dsh plugin --profile web add github:ChadCSong/dsh-cliproxyapi-provider

For DSH Desktop, use its active profile (normally desktop):

dsh plugin --profile desktop add github:ChadCSong/dsh-cliproxyapi-provider

Restart the corresponding DSH process once after installation. No manual profile patching is needed; the standard DSH bundle declaration lives in package.json and cordis.patch.yml.

Install from a local checkout

git clone https://github.com/ChadCSong/dsh-cliproxyapi-provider.git
cd dsh-cliproxyapi-provider
pnpm install
pnpm build
dsh plugin --profile web add "$PWD"

Replace web with the profile you actually use.

Setup and usage

  1. Start CLIProxyAPI. Leave the URL empty when it listens on the default port, 8317.
  2. Open Settings → Plugins → CLIProxyAPI (auto discovery) in DSH.
  3. If CPA bearer authentication is enabled, enter the API key once.
  4. Return to a conversation and select any model under CLIProxyAPI (auto) in DSH's native picker.

Useful commands:

/cpa-status
/cpa-refresh

/cpa-status reports the current endpoint and synchronized model count. /cpa-refresh immediately probes CPA and refreshes the DSH model catalog.

Configuration

The settings namespace intentionally remains dsh-cliproxyapi for upgrade compatibility:

dsh-cliproxyapi:
  enabled: true
  # Empty means local auto-discovery. Remote CPA is also supported.
  baseURL: ''
  apiKeyEnv: CLIPROXYAPI_API_KEY
  protocol: openai-completions
  refreshIntervalSeconds: 300
  probeTimeoutMs: 2000

Endpoint resolution

Candidates are deduplicated and tried in this order:

  1. Explicit baseURL setting
  2. CLIPROXYAPI_BASE_URL from the DSH launch environment
  3. Local loopback candidates on port 8317

A non-loopback service is contacted only when you explicitly configure it.

API key storage

apiKeyEnv is a credential reference, not the secret itself. The settings UI writes the key through DSH's credential service. The default reference is CLIPROXYAPI_API_KEY.

Inference protocol

The default, openai-completions, uses CPA's /v1/chat/completions route. Select openai-responses only when your CPA deployment exposes the target models through the Responses API.

Image input

The plugin forwards the input capabilities reported by CPA. Models that declare image input receive images through DSH's official adapter; text-only models remain text-only. There is no separate vision model, image-to-text preprocessing, or capability override. DSH applies its native compatibility rules when a session contains images.

How it works

The plugin manages one route in DSH's official @deepseek-ai/dsh-llm-pi-ai adapter through the public settings contract. It does not patch Harness or reimplement model transport. Streaming, tool calls, attachments, reasoning, image handling, and errors continue through the official adapter.

The host bundle imports no Electron or dsh-plugin-desktop APIs. Its settings card uses public DSH client services and slots, allowing the same package to run in CLI/Web and Desktop profiles.

Development

pnpm install
pnpm test
pnpm typecheck
pnpm build

When developing against a local Harness checkout:

DSH_CHECKOUT=/absolute/path/to/deepseek-harness pnpm test
DSH_CHECKOUT=/absolute/path/to/deepseek-harness pnpm build

Alternatively, point DSH_PACKAGES_ROOT at a DSH node_modules directory. Generated local path files are ignored by Git and never included in published packages.

Security

Automatic discovery only contacts loopback addresses. The plugin never writes a literal API key to its settings, model cache, or logs. See SECURITY.md to report a vulnerability privately.

Contributing

Issues and pull requests are welcome. For behavior changes, please include or update Vitest coverage and verify pnpm test, pnpm typecheck, and pnpm build before submitting.

License

MIT