The market section of the root README now says how duplicates are
judged: by channel, not by package shape. A channel listed in an
aggregate package's `providers` array counts as listed. A new standalone
package for a listed channel names its differences (sign-in, endpoint,
abilities, what it can do the existing entry can't) in the PR, its README
and its registry summary, or it isn't merged.
AStudio keeps both entries. From reading both packages' code:
- astudio (0.1.0 -> 0.1.1, README only): reads the AStudio desktop's
session (ASTUDIO_HOME, Windows registry, ~/.acode) or a pasted
modelBearerToken; calls /model-gateway/v1/responses; check-in touches
the session and records the balance delta, claiming nothing.
- magpie-providers-hub 0.5.2 (npm, Gyl1219's repo) hub-astudio: a local
login page (SMS code, password or WeChat QR, with geetest); calls
/model-gateway/v1/chat/completions; check-in completes the
client-popups daily reward and new-user dialogs.
Both read the same account's agent.xfyun.cn points/balance, so one
account has one daily points pool. The astudio README gets a table of
this; both registry summaries (en, zh) say it. The hub's own README lives
in Gyl1219/magpie-providers-hub and is not changed here.
Run on mote at this tree, HOME=$(mktemp -d), Bun 1.4.2:
- bun scripts/check.mjs: ✓ registry.json (the #612 validation), every
package ✓, exit 0.
- bun test: 4709 pass, 0 fail, 12 skip (4721 tests, 363 files).
Not tried: a real AStudio sign-in on either package (no code changed).