registry: add magpie-model-quota (#919)
Lists magpie-model-quota 0.1.2 (page plugin, port 3497) in registry.json. Reviewed at head 943da6b777ea3f23e02887c99a9c139b4e7a9c48. The npm tarball magpie-model-quota@0.1.2 matches GitHub 1sh1ro/magpie-model-quota at 366de7dc file for file (the repo adds only .gitignore, PUBLISHING.md, registry-entry.json and test.mjs). Run in WSL (magpie-desktop), sandbox HOME, server on 127.0.0.1:3502: - refused: Host attacker.localhost:P, 127.0.0.2:P, 127.0.0.1:9, localhost (no port), localhost.:P, [::1]:P, evil.com (403); Origin null without the key (401); Origin http://localhost:9, :9999, attacker.localhost:P, 127.0.0.2:P, evil.com with the key (403); no key or a wrong key (401); index.html to Sec-Fetch-Mode cors/no-cors (403); path traversal (404). - served: navigation to / with the key injected; /api/report with the key from 127.0.0.1, localhost + same Origin, and Origin null. - a restart makes a new key; the old one gets 401. Nothing is written to the sandbox HOME. - bun scripts/check.mjs on a git archive of the PR head: registry.json and every package pass. Not changed, not blocking: usage.jsonl is read whole and kept in memory, and accounts are matched by substring (report.mjs:418-447). Co-authored-by: 1sh1ro <1sh1ro@users.noreply.github.com>
This commit is contained in:
+4
-1
@@ -277,6 +277,9 @@
|
||||
{ "package": "@magpie-community/page-usage-board", "name": "Usage Board", "kind": "page", "community": true,
|
||||
"summary": { "en": "A quota card wall with expiry tiers, daily/per-provider charts, 24h cache-hit and token curves, optional remote attribution and account detail. Runs its own zero-dependency local service reading this machine's Magpie usage data; optional remote attribution queries the configured remote magpie.", "zh": "额度到期卡片墙 + 每日与 provider 用量图表 + 24 小时缓存命中与 token 曲线,可选远端归因与账号明细。自带零依赖本机服务,读本机 Magpie 用量数据;远端归因会查询所配置的远端 magpie。" } },
|
||||
{ "package": "magpie-muse-auth", "name": "Muse (Meta)", "icon": "https://raw.githubusercontent.com/sonvivu/magpie-muse-auth/main/icon.svg", "providers": ["muse"],
|
||||
"summary": { "en": "Muse (Meta) subscription for Magpie and OpenCode: device-code sign-in, minted API key, Wonder and Spark models with reasoning efforts. The -contributor models use Meta's Contributor lane (data may be used for training). Unofficial.", "zh": "使用 Muse (Meta) 订阅:设备码登录,自动换取 API 密钥,提供 Wonder 和 Spark 模型及推理强度设置;以 -contributor 结尾的模型走 Meta 的 Contributor 通道(数据可能用于训练)。(非官方)" } }
|
||||
"summary": { "en": "Muse (Meta) subscription for Magpie and OpenCode: device-code sign-in, minted API key, Wonder and Spark models with reasoning efforts. The -contributor models use Meta's Contributor lane (data may be used for training). Unofficial.", "zh": "使用 Muse (Meta) 订阅:设备码登录,自动换取 API 密钥,提供 Wonder 和 Spark 模型及推理强度设置;以 -contributor 结尾的模型走 Meta 的 Contributor 通道(数据可能用于训练)。(非官方)" } },
|
||||
{ "package": "magpie-model-quota", "kind": "page", "name": "Model Quota",
|
||||
"icon": "https://raw.githubusercontent.com/1sh1ro/magpie-model-quota/main/assets/icon.svg",
|
||||
"summary": { "en": "Estimate how many tokens each model has left, merged across every account and provider. Runs entirely on magpie's local usage history; no telemetry or network requests.", "zh": "把所有账号、所有供应商的额度换算成 token,按模型合并估算还剩多少。完全基于 magpie 本地用量历史,不联网。" } }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user