Files
plugins/packages/loomy/package.json
T
yetone 09e5970996 loomy: the total names no reset while only permanent credits are left (#1153)
With the daily credits spent and permanent ones left, the 积分合计 window
still said it reset at Beijing midnight. magpie's smart routing ranks the
soonest reset first, so such an account went ahead of trae-cn's, Qoder's
and WorkBuddy's day and month windows, whose credits are lost at their
reset, while midnight loses nothing of Loomy's. The total now names a
reset (and its span: magpie reads a span with no reset as renewing a span
from now) only while daily credits are left, or when nothing is left at
all, so a used-up account still says when it is back. The daily wallet
beside it, set aside for routing, keeps showing midnight.

loomy 0.1.9.

Run on mica (Bun 1.4.2), sandbox HOME: bun test in packages/loomy 33
pass; scripts/check.mjs loomy clean. Broken by hand: with main's
index.mjs the usage test fails (resetsAt 1794672000000, expected none).
Checked in magpie origin/main: Smart puts a window with no known reset
after those with one (internal/routes/strategies.go), and a window
set aside never enters the allowance (provider/routing.go).
Not tried: a real Loomy account in routing.
2026-11-14 22:53:12 +08:00

29 lines
707 B
JSON

{
"name": "@magpie-community/opencode-loomy-auth",
"version": "0.1.9",
"description": "OpenCode & Magpie provider plugin for Loomy (讯飞, loomyad.xunfei.cn): SMS sign-in, chat, models, the two point wallets and the daily first-login grant",
"type": "module",
"main": "./opencode.mjs",
"exports": { ".": "./opencode2.mjs" },
"files": [
"index.mjs",
"opencode.mjs",
"opencode2.mjs",
"README.md"
],
"keywords": [
"opencode",
"opencode-plugin",
"magpie",
"loomy",
"xunfei",
"讯飞"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/loomy"
}
}