dshbase

Plugin directory / Developer / dsh-cpa-status

dsh-cpa-status

Unverified xohmai

✓ Actively maintained 2 contributors Builds on 1 official DSH packages

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
Language
2026-08-18Last push
Cross-platformPlatform

What it does

DeepSeek Harness 插件:CLIProxyAPI 账号池状态面板——配额、健康刻度、流量一览 / CPA status panel for DSH

Our take
Unverified — not yet verified

DeepSeek Harness 插件:CLIProxyAPI 账号池状态面板——配额、健康刻度、流量一览 / CPA status panel for DSH Not yet verified — install and test it yourself.

“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

Plugin author? Get the “Verified” label — submit your own evidence (screenshots, logs, or a short demo) and we'll review and flip the badge.

Submit verification evidence ↗

README

dsh-cpa-status

CLIProxyAPI(CPA) 的 DeepSeek Harness 状态面板插件:侧栏常驻状态灯,点开即看账号池配额、健康与流量——不用每次开 CPA 管理页。

状态面板

  • 收起态● CPA · 3/3 账号 · 28 次/30min,成功率异常或账号缺员时自动变色告警
  • 账号卡:套餐徽章(含订阅剩余天数)、指标宫格(请求总数 / 成功率 / 近 30 分钟)、健康刻度带(约 3.3 小时逐 10 分钟成败)、配额进度条(剩余 % + 重置倒计时)
  • AI 供应商页:api-key 网关列表(类型 / 地址 / 模型 / 密钥末四位 / 启停),与认证文件分页签切换
  • 配额手动同步:点「同步配额」才探测上游(codex / kimi / xai 已实测),平时只读 CPA 本地数据
  • 非侵入:不碰 usage 队列、不写 CPA 数据;密钥仅存本机凭据库,网关密钥只显示末四位

侧栏底部收起态

安装

dsh plugin add 会自动完成依赖链接与 profile 注册,装完重启 dsh web 生效。卸载:dsh plugin --profile web remove dsh-cpa-status

方式一:GitHub 直装(推荐)

dsh plugin --profile web add github:xohmai/dsh-cpa-status
# 锁定版本更安全:github:xohmai/dsh-cpa-status#<commit-sha>

本插件零构建(纯 JS,无 TypeScript / 无打包步骤),git 安装不会踩「源码拉下来没跑 build」的坑,也无需 pnpm allowBuilds 授权。

方式二:tarball 离线分发(内网场景)

npm pack                                             # 产出 dsh-cpa-status-0.1.0.tgz(约 31 kB / 6 个文件)
dsh plugin --profile web add ./dsh-cpa-status-0.1.0.tgz

配置

点侧栏「连接 CPA」,填两项:

  • Base URL:CPA 地址,如 http://127.0.0.1:8317;反代场景填到子路径根(https://example.com/abc123
  • Management Key:CPA 管理密钥,仅存本机凭据库

Public URL 可选(「管理页 ↗」外链,默认 {Base URL}/management.html)。亦可用环境变量 CPA_BASE_URL / CPA_MANAGEMENT_KEY 预置(env 注入时表单密钥只读)。

安全

  • Management Key 只写入本机凭据库,接口响应不回传完整密钥
  • 账号/网关字段白名单返回;网关密钥仅显示末四位
  • 面板可开脱敏模式,进一步打码邮箱、地址与名称

详见 SECURITY.md

License

Apache-2.0

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-cpa-status for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:xohmai/dsh-cpa-status

Headless (CLI) profile:

dsh plugin --profile headless add github:xohmai/dsh-cpa-status

Test report

Not yet L3-verified — see failure note below if we already ran it.

Status: pending · last test 2026-08-26 · flagged webonly
Note: 验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. Browse all pending failures →
Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7795 plugins →