registry: providers-hub lists Qiniu MaaS (hub-qiniu) (#806)

Lists Qiniu MaaS (hub-qiniu) under magpie-providers-hub in registry.json:
the provider list gains hub-qiniu, and the en/zh summaries say eleven
providers and describe the Qiniu channel (80+ models, one endpoint,
https://api.qnaigc.com/v1). Reopens #772, whose branch was rebuilt; both
of #772's blocking points (model count, endpoint named two ways) are fixed
here. Qiniu serves its own models as a cloud, and lakegan handed the
channel over to the hub on #374, so this is the only Qiniu entry.

Run at 1225f2b0 (on origin/main 0daaf15b), on mote with HOME in a temp
folder: bun scripts/check.mjs exits 0; bun test 6489 pass, 20 skip,
0 fail. npm latest is still magpie-providers-hub 0.12.2 (shasum
c6a441d0, last modified 2026-11-06T00:29Z, the tarball #772's review
matched to the repo at 55b720d byte for byte and ran 229 pass / 1 skip /
0 fail, with the clock and planKeys fixes each broken by hand). Its
index.mjs exports HubQiniuPlugin, the eleven providers match the registry
list, and LICENSES/opencode-qiniu-auth-MIT.txt ships. GET
https://api.qnaigc.com/v1/models answered 89 models today, so "80+" holds.

Not tried: a real Qiniu key.
This commit is contained in:
Gyl1219
2026-11-06 23:55:25 +08:00
committed by GitHub
parent 0daaf15b6e
commit f3178ffc26
+4 -3
View File
@@ -187,12 +187,13 @@
"hub-autoclaw-cn",
"hub-loomy",
"hub-monkeycode",
"hub-monkeycode-intl"
"hub-monkeycode-intl",
"hub-qiniu"
],
"community": true,
"summary": {
"en": "Third-party Magpie adapter for dsh-providers-hub (by JetLi): ten providers, each a separate channel you can sign in to, meter and switch off on its own — AStudio (iFlytek), Accio (Alibaba), LobsterAI (Youdao), MagiCrew (letsmagic.cn / magicrew.ai), AutoClaw (international autoglm.ai / China zhipuai.cn), and Loomy (iFlytek), plus MonkeyCode (monkeycode-ai.com China / monkeycode-ai.net international). Channels already in the registry are shipped only with a named difference (#614; see the notes below). Runs without DSH. Its AStudio signs in on a local page (SMS, password or WeChat QR, no desktop app needed) and calls chat/completions; the standalone AStudio plugin (astudio) signs in through a browser or reuses the desktop sign-in, and calls Responses. On one account both share the same daily points pool. Its AutoClaw providers sign in by pasting an accessToken + refreshToken, or by reading an already signed-in AutoClaw desktop client (current Windows user only, off unless clicked) — web OAuth and phone SMS are NOT supported here, use opencode-autoclaw-auth for those. Note: importing rotates the one-time refresh token, which signs the desktop client out; it will ask for sign-in again afterwards. Both plugins read one account's credit balance, so spend in one and the other sees it. Its Loomy adds WeChat QR sign-in (the official iFlytek WeChat OAuth, long-poll for the code) — the standalone Loomy plugin (opencode-loomy-auth) has SMS code + pasted session but no WeChat QR; SMS code sign-in works the same in both (the plugin's local sign-in page offers only WeChat QR and SMS — no pasted-session entry; use opencode-loomy-auth for that), and both read one account's credit balance. Its MonkeyCode providers (new channels, no standalone-package overlap) reach the OhMyAgent gateway over the Anthropic Messages protocol with a per-prompt HMAC signature; sign in through a browser window (the plugin reads the HttpOnly session cookie and exchanges it for gateway credentials) or paste an API key + signing secret; the daily-tier models (monkeycode-basic/pro/ultra/…) draw on the subscription quota and unprefixed models draw on credits, with a Cap proof-of-work daily check-in when a web session is present.",
"zh": "dsh-providers-hub(作者 JetLi)的第三方适配:十条供应商(每渠道一条,可各自登录/看额度/单独关闭)——AStudio(讯飞)、Accio(阿里)、LobsterAI(有道)、超级麦吉/MagiCrew(letsmagic.cn / magicrew.ai)、AutoClaw(autoglm.ai 国际 / zhipuai.cn 国内)、Loomy(讯飞)、MonkeyCode(monkeycode-ai.com 国内 / monkeycode-ai.net 国际)。与 registry 已有渠道重复的,只有写明差别(#614,见下方各渠道说明)才提供。不依赖 DSH 运行。其中 AStudio 在本地登录页用短信、密码或微信扫码登录(不需要桌面端),走 chat/completions;独立的 AStudio 插件(astudio)可在浏览器里登录(可多账号)或复用桌面端登录态,也可以粘贴模型凭据,走 Responses。同一账号两边共用一个每日积分池。其 AutoClaw 两条渠道的登录方式只有两种:粘贴 accessToken + refreshToken,或读取已登录的 AutoClaw 桌面端(仅当前 Windows 用户、默认关闭、需主动点击);不支持网页 OAuth 与手机验证码,需要请用 opencode-autoclaw-auth。注意:导入会轮换一次性的 refresh_token,桌面客户端会被登出、之后需要重新登录。两个插件读同一账号的积分余额,一边用掉的另一边会同步减少。其 Loomy 新增微信扫码登录(讯飞官方微信 OAuth,长轮询拿 code)——独立的 Loomy 插件(opencode-loomy-auth)只有短信验证码与粘贴 session,没有微信扫码;短信验证码两边同款(本插件登录页只有微信扫码与短信两条路,没有粘贴 session 入口,要粘贴请用独立包),读的也是同一账号的积分余额。 其 MonkeyCode 两条渠道为新渠道(registry 无同渠道独立包),走 OhMyAgent 网关的 Anthropic Messages 协议(按 prompt 文本做 HMAC 签名);登录为浏览器窗口(插件读 HttpOnly 会话 cookie 换网关凭据)或粘贴 API Key + 签名密钥;monkeycode-basic/pro/ultra/ 前缀模型走订阅每日额度、不带前缀走积分,有网页会话时支持 Cap 工作量证明的每日签到。"
"en": "Third-party Magpie adapter for dsh-providers-hub (by JetLi): eleven providers, each a separate channel you can sign in to, meter and switch off on its own — AStudio (iFlytek), Accio (Alibaba), LobsterAI (Youdao), MagiCrew (letsmagic.cn / magicrew.ai), AutoClaw (international autoglm.ai / China zhipuai.cn), and Loomy (iFlytek), plus MonkeyCode (monkeycode-ai.com China / monkeycode-ai.net international) and Qiniu MaaS (https://api.qnaigc.com/v1). Channels already in the registry are shipped only with a named difference (#614; see the notes below). Runs without DSH. Its AStudio signs in on a local page (SMS, password or WeChat QR, no desktop app needed) and calls chat/completions; the standalone AStudio plugin (astudio) signs in through a browser or reuses the desktop sign-in, and calls Responses. On one account both share the same daily points pool. Its AutoClaw providers sign in by pasting an accessToken + refreshToken, or by reading an already signed-in AutoClaw desktop client (current Windows user only, off unless clicked) — web OAuth and phone SMS are NOT supported here, use opencode-autoclaw-auth for those. Note: importing rotates the one-time refresh token, which signs the desktop client out; it will ask for sign-in again afterwards. Both plugins read one account's credit balance, so spend in one and the other sees it. Its Loomy adds WeChat QR sign-in (the official iFlytek WeChat OAuth, long-poll for the code) — the standalone Loomy plugin (opencode-loomy-auth) has SMS code + pasted session but no WeChat QR; SMS code sign-in works the same in both (the plugin's local sign-in page offers only WeChat QR and SMS — no pasted-session entry; use opencode-loomy-auth for that), and both read one account's credit balance. Its MonkeyCode providers (new channels, no standalone-package overlap) reach the OhMyAgent gateway over the Anthropic Messages protocol with a per-prompt HMAC signature; sign in through a browser window (the plugin reads the HttpOnly session cookie and exchanges it for gateway credentials) or paste an API key + signing secret; the daily-tier models (monkeycode-basic/pro/ultra/…) draw on the subscription quota and unprefixed models draw on credits, with a Cap proof-of-work daily check-in when a web session is present. Its Qiniu MaaS provider (hub-qiniu) is the only Qiniu channel: ported from community PR #374 (lakegan/opencode-qiniu-auth, MIT), which the author closed as superseded by this plugin so registry never gets a second Qiniu entry. It serves 80+ models over the OpenAI-compatible https://api.qnaigc.com/v1 gateway with a static sk- API key; free Conatus and activity models are listed first, and AK/SK usage reading is an optional plugin option rather than a sign-in prompt. The MIT license text ships in the package.",
"zh": "dsh-providers-hub(作者 JetLi)的第三方适配:十一条供应商(每渠道一条,可各自登录/看额度/单独关闭)——AStudio(讯飞)、Accio(阿里)、LobsterAI(有道)、超级麦吉/MagiCrew(letsmagic.cn / magicrew.ai)、AutoClaw(autoglm.ai 国际 / zhipuai.cn 国内)、Loomy(讯飞)、MonkeyCode(monkeycode-ai.com 国内 / monkeycode-ai.net 国际)、七牛云 MaaS。与 registry 已有渠道重复的,只有写明差别(#614,见下方各渠道说明)才提供。不依赖 DSH 运行。其中 AStudio 在本地登录页用短信、密码或微信扫码登录(不需要桌面端),走 chat/completions;独立的 AStudio 插件(astudio)可在浏览器里登录(可多账号)或复用桌面端登录态,也可以粘贴模型凭据,走 Responses。同一账号两边共用一个每日积分池。其 AutoClaw 两条渠道的登录方式只有两种:粘贴 accessToken + refreshToken,或读取已登录的 AutoClaw 桌面端(仅当前 Windows 用户、默认关闭、需主动点击);不支持网页 OAuth 与手机验证码,需要请用 opencode-autoclaw-auth。注意:导入会轮换一次性的 refresh_token,桌面客户端会被登出、之后需要重新登录。两个插件读同一账号的积分余额,一边用掉的另一边会同步减少。其 Loomy 新增微信扫码登录(讯飞官方微信 OAuth,长轮询拿 code)——独立的 Loomy 插件(opencode-loomy-auth)只有短信验证码与粘贴 session,没有微信扫码;短信验证码两边同款(本插件登录页只有微信扫码与短信两条路,没有粘贴 session 入口,要粘贴请用独立包),读的也是同一账号的积分余额。 其 MonkeyCode 两条渠道为新渠道(registry 无同渠道独立包),走 OhMyAgent 网关的 Anthropic Messages 协议(按 prompt 文本做 HMAC 签名);登录为浏览器窗口(插件读 HttpOnly 会话 cookie 换网关凭据)或粘贴 API Key + 签名密钥;monkeycode-basic/pro/ultra/ 前缀模型走订阅每日额度、不带前缀走积分,有网页会话时支持 Cap 工作量证明的每日签到。 其七牛云 MaaS 渠道(hub-qiniu)为七牛唯一入口:移植自社区 PR #374(lakegan/opencode-qiniu-auth,MIT),作者以「Superseded by magpie-providers-hub」关闭并授权,registry 里不会出现第二个七牛条目。走 https://api.qnaigc.com/v1 的 OpenAI 兼容网关、静态 sk- API Key;免费 Conatus 与活动模型排在目录最前,AK/SK 用量读取走插件 options 而非登录表单;MIT 授权原文随包。"
}
},
{