From f9f4bd2663dec8e5300e55f9f5bb29e4702bbf5d Mon Sep 17 00:00:00 2001 From: Gyl1219 <1610105401@qq.com> Date: Wed, 4 Nov 2026 05:34:12 +0800 Subject: [PATCH] registry: providers-hub adds AutoClaw (international and China) (#652) Lists magpie-providers-hub's AutoClaw (international and China) channels in the registry. Reviewed at a34421247e27c812f0bbae0da1de78b15afbd2ca, merged onto origin/main 1820255: bun scripts/check.mjs passes on mote. npm magpie-providers-hub 0.9.1 (latest) unpacked: seven function exports matching the registry's providers, no Loomy, 111-byte empty snapshot, no install scripts, network hosts identical to 0.7.3. 0.7.0/0.7.1/0.8.0 deprecated. Package tests on mote with outbound network blocked (unreachable proxy plus connection logger, and sandbox-exec): 159 pass, 0 fail, 1 skipped, no non-loopback connection. Not changed: the package's README still lists ten providers (asked the author to fix). --- registry.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/registry.json b/registry.json index 69b5b72..92e8302 100644 --- a/registry.json +++ b/registry.json @@ -163,12 +163,14 @@ "hub-accio", "hub-lobsterai", "hub-magicrew", - "hub-magicrew-intl" + "hub-magicrew-intl", + "hub-autoclaw", + "hub-autoclaw-cn" ], "community": true, "summary": { - "en": "Third-party Magpie adapter for dsh-providers-hub (by JetLi): five 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). Channels that already exist in the registry are not shipped. 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) reuses the desktop sign-in and calls Responses. On one account both share the same daily points pool.", - "zh": "dsh-providers-hub(作者 JetLi)的第三方适配:五条供应商(每渠道一条,可各自登录/看额度/单独关闭)——AStudio(讯飞)、Accio(阿里)、LobsterAI(有道)、超级麦吉/MagiCrew(letsmagic.cn / magicrew.ai)。与社区 registry 已有插件重叠的渠道不随包提供。不依赖 DSH 运行。其中 AStudio 在本地登录页用短信、密码或微信扫码登录(不需要桌面端),走 chat/completions;独立的 AStudio 插件(astudio)复用桌面端登录态,走 Responses。同一账号两边共用一个每日积分池。" + "en": "Third-party Magpie adapter for dsh-providers-hub (by JetLi): seven 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), and AutoClaw (international autoglm.ai / China zhipuai.cn). Channels already in the registry are shipped only with a named difference (#614; see the AutoClaw note 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) 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.", + "zh": "dsh-providers-hub(作者 JetLi)的第三方适配:七条供应商(每渠道一条,可各自登录/看额度/单独关闭)——AStudio(讯飞)、Accio(阿里)、LobsterAI(有道)、超级麦吉/MagiCrew(letsmagic.cn / magicrew.ai)、AutoClaw(autoglm.ai 国际 / zhipuai.cn 国内)。与 registry 已有渠道重复的,只有写明差别(#614,见下方 AutoClaw 说明)才提供。不依赖 DSH 运行。其中 AStudio 在本地登录页用短信、密码或微信扫码登录(不需要桌面端),走 chat/completions;独立的 AStudio 插件(astudio)复用桌面端登录态,走 Responses。同一账号两边共用一个每日积分池。其 AutoClaw 两条渠道的登录方式只有两种:粘贴 accessToken + refreshToken,或读取已登录的 AutoClaw 桌面端(仅当前 Windows 用户、默认关闭、需主动点击);不支持网页 OAuth 与手机验证码,需要请用 opencode-autoclaw-auth。注意:导入会轮换一次性的 refresh_token,桌面客户端会被登出、之后需要重新登录。两个插件读同一账号的积分余额,一边用掉的另一边会同步减少。" } }, {