Files
magpie/docs
yetone c7bbd3faf6 routing: a Claude joined over the network shows its windows in Accounts and keys (yi_time on Discord)
A remote magpie's provider row on the Routing page showed no usage, while
the subscriptions above it did. The remote's cards already reach the
window as /api/usage/quotas entries with `from` set (provider =
<remote id>/<card provider>), but the page's cardOf/winsOf match only
kind "account" with no `from`. remoteWinsOf (plugins/routing/client.js)
now draws those windows on a remote-magpie row: a claude-* model row
gets the remote's claude cards, gpt/codex/o\d rows its codex cards, each
window prefixed by the user when several cards match. When the remote's
read failed it says "Allowance unavailable — hover for why" with the
error as the title (existing string, all languages), never 0. The usage
comes from the machine that owns the account; no gateway change.

Run (mote, no Go change):
- routing-remote-windows.test.cjs (new; 5 languages, widths 1100 and 420,
  chromium and webkit) and routing-account-windows.test.cjs at ec697e692
  on origin/main 07f02d0d9..: 44 pass, 0 fail.
- Broken by hand: render call removed, and the model-family filter
  removed; each took the new test to 0 pass, 11 fail.
- Full go test -timeout 45m ./... at ea1aab179 (same client.js, rebased on
  f177c36a9): 86 ok, 2 red, neither from this change: TestCoreScriptBudget
  (1534154 > 1533802 at origin/main too, #5139) and
  TestMainWindowCorners/macOS_26_SDK (#3949).
- Six routing GUI files, serial, on origin/main cd83c3147 with no change:
  85 pass, 19 fail (rule-remove #3096, rule-drag #3789, row-swap #3799,
  order-unknown #4627, rules-line #3593; commented there). On this change
  27 and 28 fail; routing-rules-line alone 6 and 7 of 20 against 4 of 20
  on main, all the same 5s waitForFunction on .rt-gedit with the failing
  cells changing between runs. I judge it the same flake; not proven.
- The full GUI suite was started and killed after ~3h unfinished; its
  reds were in unrelated files (account-eye passes 15/15 alone).

Not tried: a real two-machine LAN run, a real Claude account on a remote,
Windows or Linux GUI engines (WebKitGTK).
2026-11-04 14:59:26 +08:00
..