CLIProxyAPI (CPA) 插件集合。当前提供独立发布的 Quota Center 插件。
| ID | 说明 | 源码 |
|---|---|---|
quota-center |
多供应商额度中心:智谱、MiniMax、方舟、Codex、Gemini 和 Grok。支持 CPA 原生认证复用、手动账号和额度看板。 | 独立插件仓库 |
插件工件遵循 CLIProxyAPI 插件商店的标准命名:
<id>_<version>_<goos>_<goarch>.zip
ZIP 根目录只包含平台动态库:
quota-center_0.2.1_linux_amd64.zip # quota-center.so
quota-center_0.2.1_darwin_arm64.zip # quota-center.dylib
当前 quota-center 的源码、构建和 Release 工作流位于 RayenAlex/quota-center。本仓库只维护商店 registry、可安装工件和校验工具。
在 CLIProxyAPI 配置中添加自定义商店源:
plugins:
enabled: true
store-sources:
- "https://raw.githubusercontent.com/RayenAlex/cpa-plugin/main/registry.json"刷新插件商店后,安装或更新 quota-center。
以 Linux amd64 为例:
curl -L -o quota-center_0.2.1_linux_amd64.zip \
https://github.com/RayenAlex/quota-center/releases/download/v0.2.1/quota-center_0.2.1_linux_amd64.zip
unzip quota-center_0.2.1_linux_amd64.zip将解压出的 quota-center.so 放入 CPA 的插件目录,并在配置中启用:
plugins:
enabled: true
dir: "plugins"
configs:
quota-center:
enabled: true插件商店安装会自动按 GOOS/GOARCH 选择工件并校验 SHA-256。
在 CPA 插件商店中添加:
https://raw.githubusercontent.com/RayenAlex/cpa-plugin/main/registry.json
然后在商店 UI 中安装或更新 quota-center。
正式 registry 位于 registry.json,当前包含 quota-center 版本 0.2.1,引用独立仓库的 GitHub Release。
本地验证:
python3 scripts/validate-registry.py registry.json
python3 scripts/check-registry-artifacts.py registry.json \
--artifacts-dir artifacts \
--url-prefix https://raw.githubusercontent.com/RayenAlex/cpa-plugin/main/artifacts
python3 -m unittest discover -s tests -p 'test_*.py' -vcheck-registry-artifacts.py 会检查 Release URL 的平台、版本、文件名及 SHA-256 格式。