Skip to content

Releases

v0.1.6

Choose a tag to compare

@road-kid road-kid released this 31 Oct 16:20

Fixed

  • The model picker shows the point rates again: the rate rides the model record the host reads — the live list's and the fallback table's alike, the fallback's free bits with them.
  • A failed model-list ask marks the fallback it hands back, the way the host reads it.

Full changelog: https://github.com/road-kid/opencode-loomy-auth/blob/main/CHANGELOG.md

v0.1.5

Choose a tag to compare

@road-kid road-kid released this 31 Oct 16:25

Fixed

  • The built-in fallback model table is the catalog observed on 2026-10-28: the retired ids are gone, and the ten chat entries carry their rates, free bits, context and output limits as the gateway served them.
  • The quota note's file write is serialized: two accounts signing in at once no longer race the read-merge-write and drop each other's note.
  • A refused self-heal ask retries after ten minutes instead of never.

Changed

  • The error paths speak the interface language too (sign-in expired or failed, points query failed, the hosts' HTTP errors, the account fallback); the usage card's wording already did.
  • The Chinese README moved to docs/README.zh.md — npm's readme picker reads the package root, where the English README.md now stands alone.
  • The READMEs tell the protocol's facts and leave the override knobs out of the public docs.

Full changelog: https://github.com/road-kid/opencode-loomy-auth/blob/main/CHANGELOG.md

v0.1.3

Choose a tag to compare

@road-kid road-kid released this 27 Oct 21:48

The check-in now claims the one-time newcomer tasks — the eight on Loomy's onboarding board, worth 10000 points in all — beside the daily grant: serially, highest value first, idempotent on the upstream's alreadyCompleted, and a refusal among them never touches the daily claim's own result. The first check-in of a fresh account typically refreshes the grant and lands the newcomer purse in one go.

The usage card also carries an aside row with the still-claimable sum while any of it stands (one read per session per run; the check-in's round clears it) — a purse spent once has no window to consume, so it never drives the percentages.

The README in this release carries the model table as the gateway actually served it on 2026-10-28 (thirteen models, three of them image generation), and the docs' wording is tightened.

Install:

magpie plugin add @roadkid/opencode-loomy-auth

Full changelog: https://github.com/road-kid/opencode-loomy-auth/blob/main/CHANGELOG.md

v0.1.2

Choose a tag to compare

@road-kid road-kid released this 27 Oct 21:34

The package moves to @roadkid/opencode-loomy-auth — the community @magpie-community scope publishes from the magpie-community/plugins organization, which this plugin has not joined, so its scope cannot be published under from a personal account (the registry answers 404). Same code as 0.1.1: the usage-card percentage and check-in state fixes. The README in this release also carries the model table as the gateway actually served it on 2026-10-28 (thirteen models, three of them image generation) and the docs no longer print the signing pair.

Install:

magpie plugin add @roadkid/opencode-loomy-auth

Full changelog: https://github.com/road-kid/opencode-loomy-auth/blob/main/CHANGELOG.md

v0.1.1

Choose a tag to compare

@road-kid road-kid released this 27 Oct 20:39

Fixed

  • The usage card's percentage was forever 0%. The pair it computed from (dailyRemainingPoints/dailyLimitPoints) never comes back from the live upstream, and the dailyBalance the card fell back to showing alone is the grant's remaining, not its size. The consumed share now reads (quota − remaining) / quota off the remaining, with the quota taken from the answer when it carries one (dailyQuota, or the older pair) or from the size the check-in notes per account — kept in memory for the run and in a .loomy-quota.json beside the plugin across restarts, so it takes a check-in (the Daily check-in switch, or Check in now) to write the first note. Without a quota the card shows the remaining alone; no share is invented and no quota is assumed. (#1)
  • The check-in reported claimed for every success. The answer's alreadyProcessed tells the day's renewal from a repeat: a repeat now reports done (「今日已刷新」, with what is left of the grant), and the day's first reports claimed — with the gain as its credit when the answer carries the whole arithmetic (dailyQuota − dailyConsumed). (#1)

Added

  • LOOMY_QUOTA_CACHE_FILE moves the quota cache file.
  • A CHANGELOG.md.

Full changelog: https://github.com/road-kid/opencode-loomy-auth/blob/main/CHANGELOG.md

v0.1.0 — Loomy provider plugin for OpenCode / magpie

Choose a tag to compare

@road-kid road-kid released this 24 Oct 18:16

Phone-code sign-in, OpenAI-compatible chat relay (dual token headers, quota errors rewritten as 429 rate_limit_error for account failover), live model catalog with capabilities and reasoning-effort variants, dual point wallets on the Usage card, and the daily first-login refresh as check-in. Zero runtime dependencies (node:crypto + fetch only), Bun/Node dual compatible, 50 offline tests against a local fake upstream.

手机验证码登录;OpenAI 兼容转发(双 token 头,额度不足错误改写为 429 供账号切换);实时模型清单(能力位 + reasoning-effort 档位);积分双钱包 Usage 卡片;每日 first-login 刷新即签到。零运行时依赖,Bun/Node 双兼容,50 个断网测试。

Install / 安装:

magpie plugin add github:road-kid/opencode-loomy-auth