From 3944e53b8c4bc7058003a136c5967b9803f10ab7 Mon Sep 17 00:00:00 2001 From: YangHonghang <60209620+YangHonghang@users.noreply.github.com> Date: Mon, 2 Nov 2026 16:01:23 +0800 Subject: [PATCH] =?UTF-8?q?registry:=20list=20Window=20Warmup=20(=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E9=A2=84=E7=83=AD)=20page=20plugin=20(#622,=20YangHon?= =?UTF-8?q?ghang)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lists magpie-window-warmup, YangHonghang's own page plugin published from his own repo (no community flag, search only, like PinK and WispTerm). It keeps subscription windows warm: on a window, daily or every-N-hours trigger it sends a fixed "hi" (max_tokens 16) through magpie's local gateway with the chosen account pinned. Checked at c328ac6159554630eb4e8d350072cf8ea7a9bb55, against npm magpie-window-warmup@0.3.6 (sha512-NmLEUwVj..., the tarball reviewed): - The package: no dependencies or install scripts, readable bundle; a rebuild from github.com/YangHonghang/magpie-window-warmup 29ad1e6 is byte-identical to the committed dist and to npm's. Its own tsc --noEmit and bun test (236 pass) on mote. - Loaded as the plugin host does (import default, server({}, {port})) in a sandbox HOME with a fake gateway: every /api route needs its per-process token, a foreign Host or Origin gets 403, traversal 404; a task and run-now sent only the "hi" body to the gateway. It reads providers.json only to fingerprint keys (10 hex of sha256); no key appeared in gateway traffic or its own state. - The page has no permissions and only navigates to its 127.0.0.1 service. - CI (pr.yml): bun test and bun scripts/check.mjs green. --- registry.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/registry.json b/registry.json index c382bf5..820e9d4 100644 --- a/registry.json +++ b/registry.json @@ -181,6 +181,16 @@ "zh": "把终端里的 Agent CLI 搬进 magpie 窗口,直接对话使用。会在本机 127.0.0.1 跑一个后台服务,打开页面才启动,随 magpie 退出;令牌只交给自己的页面。首次安装约 46 MB;不自带 Claude Code,要用请自己装 `claude` CLI。" } }, + { + "package": "magpie-window-warmup", + "name": "Window Warmup", + "kind": "page", + "icon": "https://raw.githubusercontent.com/YangHonghang/magpie-window-warmup/main/page/icon.svg", + "summary": { + "en": "Start a subscription's 5-hour or weekly quota window ahead of time: send one fixed short message (\"hi\", max_tokens 16) to a provider, account and model you pick, right after its window resets, daily at set times or every few hours. Each send uses that provider's quota. Runs a local service on 127.0.0.1 that only calls magpie's own gateway; only its own page gets the token.", + "zh": "提前开启订阅的 5 小时或每周额度窗口:给指定的供应商、账号和模型发一条固定短消息(\"hi\",max_tokens 16),可在窗口重置后、每天定时或每隔几小时发送。每次发送都会消耗该供应商的额度。在本机 127.0.0.1 跑一个本地服务,只调用 magpie 自己的网关;令牌只交给自己的页面。" + } + }, { "package": "@magpie-community/opencode-astudio-auth", "name": "AStudio", "providers": ["astudio"], "community": true, "summary": { "en": "Unofficial AStudio (iFLYTEK Astron Studio desktop): reuse the desktop sign-in to serve its Responses model gateway, with the live model catalog, daily login-points check-in and points balance. Desktop discovery runs on Windows (registry lookup), with a paste-token fallback. Differs from Providers Hub's hub-astudio, which signs in on a local page (SMS, password or WeChat QR) and calls chat/completions; on one account both share the same daily points pool.", "zh": "非官方 AStudio(科大讯飞 Astron Studio 桌面端):复用桌面端登录态接入其模型网关,含实时模型目录、每日登录积分签到与积分余额。桌面端发现仅 Windows(注册表定位),另有粘贴凭据方式。与 Providers Hub 的 hub-astudio 不同:那边在本地登录页用短信、密码或微信扫码登录,走 chat/completions;同一账号两边共用一个每日积分池。" } }, { "package": "@magpie-community/opencode-agnes-code-auth", "name": "Agnes Code", "providers": ["agnes-code"], "community": true,