remoteWinsOf (c7bbd3faf) drew a Remote magpie row's windows from the
remote's cards. It said "Allowance unavailable" only when the remote's own
card failed. When the remote answered but its Claude card there carried an
error (the remote's own Claude read failed), the Usage page showed that
card and its reason, while Routing's row showed nothing. The row now takes
the error of the card of its own family (Claude's on a claude row,
Codex's on a gpt/codex row), with the reason on hover. The remote's own
card still comes first. The plugin's file only; no core bytes.
Run (mote, worktree on origin/main 69eb93e0a plus 607f8b43a):
- routing-remote-windows.test.cjs (a new remote "elm", its model named
as a remote really names it, claude/claude-opus-5, its Claude card
erroring and its Codex card erroring otherwise) and
routing-account-windows.test.cjs, 5 languages, 1100 and 420px, chromium
and webkit: 44 pass, 0 fail.
- Broken by hand: the new fallback removed made routing-remote-windows go
0 pass, 22 fail.
- Real two-magpie repro (see 607f8b43a): with A's key held, B's Routing
row says "Allowance unavailable — hover for why", the held reason on
hover; with Quotas on, 5 hours 40% · 7 days 12%.
Not tried: yi_time's own setup, which this may not be. Their Routing
report came before v0.1.2908 (c7bbd3faf) was published at 07:08 UTC on
11-04; a Windows magpie older than that draws no remote windows on
Routing at all. Not tried in WebView2 or WebKitGTK.
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).