yetone
2ab2f69132
agent: Codex's status line shows the account's quota or the relay's balance (opt-in)
...
lyj1115 on X asked for the current account's quota, or the relay key's
balance, under Codex's chat box, off by default. Codex's TUI draws its
footer from a status line provider from 0.171.0-alpha.12 on: a stdio
MCP server whose tool advertises a statusline entrypoint, picked in
[tui] status_line_provider behind [features] tui_extensions_statusline.
Codex reads it about once a second with the thread's id. Nothing is put
into the prompt or the model's reply.
- `magpie statusline --codex` is that server. Each read asks the local
gateway for the thread's latest route and the kept quotas (no vendor
read). It answers `→ provider/model` and that provider's account that
answered last, with its windows or a key's balance. A gateway that is
down gives a null tree, never an error, because an error stops Codex's
reads. The tool's name and words name neither magpie nor a vendor,
since the tool is listed to the model.
- A status line square on Codex's row (`magpie codex statusline on`)
writes the flag, [mcp_servers.quota_line] (this magpie by full path,
args statusline --codex, env_vars = ["MAGPIE_ADDR"]) and the
provider. Every write is read back, and the file is restored on a
mismatch. Off and Disconnect take out only magpie's keys, and the flag
only when the stash says magpie wrote it.
- Nothing of the user's is written over. A provider of their own, a
quota_line of theirs, the flag turned off or an unreadable file keeps
the square away and refuses on.
- The switch is offered only when a Codex CLI here is 0.171.0-alpha.12
or newer (0.170.0 reads the keys and draws nothing), and only on this
computer, not in a WSL distro.
- In the GUI, the status line square's title takes the note of its
field's on option, which Claude Code's field already sent with the
same words TOGGLES kept, so Codex's says its own words in en, zh,
zh-TW, ja and de. TOGGLES' copy of Claude's note went, and app.js
stays under its budget (30 bytes of room) without a raise.
The Codex desktop app has no such footer. cockpit-tools reaches it
through a debug port, and magpie doesn't.
Run (WSL magpie-desktop, since mote's load was over 18):
- go vet -tags nogui ./...; GOOS=windows go vet of agent, cli, provider
and gui; gofmt -l clean.
- go test -tags nogui of ./internal/cli and ./internal/provider: ok.
- ./internal/agent -run "CodexStatus|Statusline|StatusLine|TestCodex|
TestWSLCodex": ok.
- ./internal/gui -run "CoreScript|Budget|I18n|Keys" and node --test of
codex-statusline, claude-statusline and i18n-keys (both engines, every
language, window and panel), with vet (and GOOS=linux and windows
vet) of agent, cli, provider and gui, on mote at the rebased head
(on 1bd1a08a3 ): all ok, 64 of 64 GUI cases.
Broken by hand:
- free() reduced to `readable`: TestCodexStatusLineLeavesTheUsers is red
on their provider, their server and flag off.
- The field not appended: TestCodexStatusLineSwitch is red ("no
statusline field").
- The first build checked `at.base == nil` after codexIn had set base.
Every agent test went red, which is how that bug was found.
Real Codex, in a sandbox HOME on WSL with a fake gateway:
- 0.171.0-alpha.13, with `magpie codex statusline on` writing config.toml,
draws `→ relay/glm-5 relay $4.20` under the prompt, and the server is
read about once a second.
- Without env_vars, Codex starts the server without MAGPIE_ADDR: nothing
was asked and nothing was drawn. That is why env_vars is written.
- On a second time leaves the file byte for byte. Off brings it back to
what it was, apart from Codex's own NUX counter.
- 0.170.0 lists quota_line from the same file and runs fine.
Not tried: macOS and Windows Codex; a real gateway with real accounts
(the server was fed through MAGPIE_ADDR); whether an open Codex session
picks the footer up without a restart.
Full suite: run after push.
2026-11-19 00:44:40 +08:00
..
2026-11-18 16:52:58 +08:00
2026-10-12 23:45:06 +08:00
2026-11-09 18:19:02 +08:00
2026-11-11 14:18:10 +08:00
2026-11-13 23:42:57 +08:00
2026-11-05 00:11:02 +08:00
2026-11-01 15:15:08 +08:00
2026-11-01 15:15:08 +08:00
2026-10-10 10:22:59 +08:00
2026-11-15 12:14:48 +08:00
2026-11-12 12:28:56 +08:00
2026-10-29 23:44:56 +08:00
2026-11-01 15:15:08 +08:00
2026-10-27 10:02:22 +08:00
2026-10-27 10:02:22 +08:00
2026-10-11 03:42:35 +08:00
2026-10-11 03:42:35 +08:00
2026-11-01 14:50:45 +08:00
2026-11-16 17:59:26 +08:00
2026-10-31 11:03:35 +08:00
2026-10-31 11:03:35 +08:00
2026-11-15 03:50:46 +08:00
2026-11-15 03:50:46 +08:00
2026-11-18 23:50:16 +08:00
2026-11-01 07:39:08 +08:00
agent, gateway: Cursor Private Inference's row has an effort, which magpie's gateway asks its requests for ( #1003 , gjf7) — other agents' rows pick a reasoning effort that magpie writes into their config, but Cursor Private Inference reads only its base URL and key from the environment, and its app offers no Reasoning control for most of magpie's models, so there was no way to set one short of a routing group with a member fixed at a level, which the reporter used as a workaround. Its row now has an effort field like the others': the default (as Cursor asks) first, then every level the models it lists have (cursorLocalEfforts: their levels in MemberEfforts order, low/medium/high where a model reasons with levels unknown, none at all when nothing it lists reasons or it isn't connected). The pick is kept in magpie, settings' agentEfforts by agent (provider.AgentEffort / SetAgentEffort, a level of MemberEfforts or "" for none), and the gateway's candidate loop asks a cursor-local request for it with withFixedEffort, fitted to the model's levels and bounded by a group's, on a model that reasons (the new Provider.Thinks: levels, its list's Reasoning, or models.dev's). Precedence: a group member's fixed effort, then a :effort suffix, then a routing rule's turn pick, then the agent's pick, then the request's own; the pick wins over a level Cursor sent, as Cursor sends its own default as often as a choice, and Default hands the choice back to Cursor. A model that doesn't reason and every other agent's requests go as they came. The Settings page's save carries agentEfforts over as it does fastPicks (TestSettingsSaveKeepsWhatItDoesNotSend's fixture names it). In the window the field sits under "Settings" rather than "New sessions" for this agent alone, as it applies to every request from then on, not to what a session starts on; no new t() strings (Settings, effort and default are translated in zh, ja and de already). TestAgentEffortOnCursorLocal (Chat and Responses with and without a level of their own, Claude on Messages made to think, OpenCode's request untouched, a non-reasoning model untouched, a member fixed at low kept, the pick taken off) fails without the gateway change and passes; TestCursorLocalEffort covers the options (none with no reasoning model, the union of levels, the low/medium/high fallback, none while disconnected), Apply and a bad level refused; both pass -race (-count=20 gateway, -count=10 agent). cursor-local-effort.test.cjs (the window at 560px and the tray panel at 440px: the field under Settings, the slider's five stops with Default first, a pick posting the field, no sideways scroll) passes on Chromium and WebKit in en, zh, ja and de; claude-effort, subagent-effort, agent-field-names, agent-connect, agent-layout, agent-tweak-fold, agent-models, cursor-local-launch and i18n pass on both. go test -tags nogui ./internal/..., go vet, gofmt -l, linux (nogui) and windows builds pass. Not tried with the real Cursor Private Inference: whether it sends a reasoning level of its own on models it shows a Reasoning control for is unverified, which the precedence makes moot. docs/subsystems/gateway-routing.md and agent-wiring.md say it.
2026-10-06 17:29:28 +08:00
2026-11-12 23:01:29 +08:00
2026-11-14 14:02:49 +08:00
2026-11-17 21:43:12 +08:00
2026-11-17 21:43:12 +08:00
2026-11-14 12:21:48 +08:00
2026-11-16 18:14:38 +08:00
2026-11-16 18:14:38 +08:00
2026-10-10 20:00:38 +08:00
2026-11-13 18:50:25 +08:00
2026-11-01 11:53:58 +08:00
2026-11-07 13:26:51 +08:00
2026-11-01 07:06:19 +08:00
2026-11-01 07:06:19 +08:00
2026-11-15 12:14:48 +08:00
2026-10-20 02:49:50 +08:00
2026-11-17 18:59:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-10 20:16:44 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-12 17:03:53 +08:00
2026-10-12 20:18:31 +08:00
2026-10-12 20:18:31 +08:00
2026-10-26 10:19:29 +08:00
2026-11-17 02:19:48 +08:00
2026-10-30 03:09:29 +08:00
2026-10-20 00:18:51 +08:00
2026-11-17 20:21:21 +08:00
2026-10-29 20:31:20 +08:00
2026-10-25 11:52:02 +08:00
2026-11-18 14:32:44 +08:00
2026-11-05 00:14:14 +08:00
2026-11-14 13:03:16 +08:00
2026-11-12 03:13:50 +08:00
2026-11-10 02:23:23 +08:00
2026-11-12 03:13:50 +08:00
2026-10-28 10:52:46 +08:00
2026-11-14 13:03:16 +08:00
2026-11-06 11:53:33 +08:00
2026-11-10 12:54:39 +08:00
2026-11-17 22:34:51 +08:00
2026-11-10 04:33:22 +08:00
2026-10-16 19:30:42 +08:00
2026-10-30 04:48:17 +08:00
2026-11-10 18:58:03 +08:00
2026-11-14 12:21:48 +08:00
2026-11-12 05:30:42 +08:00
2026-10-28 09:29:44 +08:00
2026-10-13 09:09:37 +08:00
2026-11-15 06:06:25 +08:00
2026-11-01 05:00:54 +08:00
2026-11-01 06:16:35 +08:00
2026-10-14 19:06:50 +08:00
2026-10-06 02:30:31 +08:00
2026-11-02 20:04:32 +08:00
2026-11-18 16:04:56 +08:00
2026-11-13 17:36:40 +08:00
2026-11-13 17:36:40 +08:00
2026-11-02 05:22:12 +08:00
2026-11-10 11:17:07 +08:00
2026-10-17 23:11:00 +08:00
2026-10-21 07:23:23 +08:00
2026-11-06 19:48:21 +08:00
2026-11-14 14:02:49 +08:00
2026-10-13 06:43:00 +08:00
2026-11-01 07:15:05 +08:00
2026-10-26 01:59:38 +08:00
2026-11-01 07:15:05 +08:00
2026-11-14 03:17:11 +08:00
2026-11-09 23:25:19 +08:00
2026-11-14 03:17:11 +08:00
2026-11-18 23:39:19 +08:00
claude: an account's saved sign-in isn't overwritten with the account Claude Code was just switched to (netfishx on X: Pro, Max and Team accounts, "Keep Claude Code signed in to" on; after routing moved once or twice the Usage page showed one account's plan and allowance on another's card) — magpie switching Claude Code (to the kept account, or back to it) writes the new sign-in and profile, and a Claude Code started on the account before then writes that one's profile into ~/.claude.json: the credential was the Team's, the profile the Pro's. rememberLogins paired them, and upsertLogin, matching the Pro's record by the profile, wrote the Team's sign-in and plan into it ("pro@x.com · Team"). The Pro's runs, in its own config directory seeded from that record, then spent the Team account, and their rate_limit_events and plan showed on the Pro's card. upsertLogin now refuses a Claude sign-in another saved account holds (access or refresh token) while the record the profile names doesn't: the account the profile names holding it already, or Claude Code having renewed it, it is saved as before, so a record crossed by an earlier version doesn't hold the owner back (re-adding the crossed account puts its own sign-in back). TestClaudeUsageUnavailableAfterAccountSwitch switched by the profile alone; it now writes the new account's sign-in as a switch does. Not tried with real Claude accounts (one here). claude_crossed_test (switch to Team, the Pro's profile written after, switch back: each record and each saved account's directory keeps its own sign-in and plan; a crossed record doesn't stop the Team's own being saved, renewed or not) fails without the fix on the first case and passes with -race -count=5; go test ./internal/provider/ ./internal/gateway/, go vet, linux(nogui)/windows builds pass.
2026-10-06 13:39:48 +08:00
2026-11-14 13:08:40 +08:00
2026-11-16 10:09:47 +08:00
2026-11-13 23:42:57 +08:00
2026-11-14 14:02:49 +08:00
2026-10-07 03:00:47 +08:00
2026-10-31 18:18:37 +08:00
2026-11-16 10:09:47 +08:00
2026-10-11 23:37:34 +08:00
2026-10-13 09:50:28 +08:00
2026-10-31 23:35:27 +08:00
2026-11-10 18:21:32 +08:00
2026-11-12 08:27:46 +08:00
2026-11-14 13:08:40 +08:00
2026-11-02 05:38:11 +08:00
2026-10-21 19:00:33 +08:00
2026-11-10 13:04:57 +08:00
2026-11-02 11:48:26 +08:00
2026-10-30 22:05:12 +08:00
2026-10-30 22:05:12 +08:00
2026-11-16 14:19:19 +08:00
2026-10-25 04:12:06 +08:00
2026-11-11 12:26:43 +08:00
2026-11-17 11:42:27 +08:00
2026-11-04 17:12:50 +08:00
2026-11-05 06:43:51 +08:00
2026-11-10 05:03:10 +08:00
2026-10-08 06:20:03 +08:00
2026-11-17 11:42:27 +08:00
2026-11-17 11:42:27 +08:00
2026-11-15 14:30:16 +08:00
2026-10-20 20:23:55 +08:00
2026-10-05 20:42:48 +08:00
2026-11-17 12:17:10 +08:00
2026-11-17 12:17:10 +08:00
2026-11-02 14:51:16 +08:00
2026-11-04 16:47:45 +08:00
2026-11-13 23:42:57 +08:00
2026-11-11 14:08:18 +08:00
2026-11-06 06:30:23 +08:00
2026-11-01 15:16:00 +08:00
2026-10-13 16:11:42 +08:00
2026-11-06 12:09:21 +08:00
2026-10-11 23:37:34 +08:00
2026-11-11 09:04:52 +08:00
2026-11-04 16:47:45 +08:00
2026-11-06 06:30:23 +08:00
2026-11-13 23:42:57 +08:00
2026-10-12 23:12:20 +08:00
2026-11-13 05:12:30 +08:00
2026-10-22 02:25:34 +08:00
2026-10-22 02:25:34 +08:00
2026-10-17 23:11:00 +08:00
2026-11-10 14:27:21 +08:00
2026-11-01 13:32:30 +08:00
2026-11-07 15:27:29 +08:00
2026-10-10 21:49:14 +08:00
2026-11-06 19:50:18 +08:00
2026-11-07 15:27:29 +08:00
2026-10-05 21:56:59 +08:00
2026-10-20 00:18:51 +08:00
2026-11-10 09:49:30 +08:00
2026-11-10 09:49:30 +08:00
2026-11-13 05:12:30 +08:00
2026-11-11 17:12:44 +08:00
2026-11-11 17:12:44 +08:00
2026-11-13 20:12:28 +08:00
2026-11-05 07:51:09 +08:00
2026-10-30 21:01:09 +08:00
2026-11-03 15:46:42 +08:00
2026-11-15 06:06:25 +08:00
2026-11-13 16:01:06 +08:00
2026-11-13 20:12:28 +08:00
2026-10-30 13:42:48 +08:00
2026-10-14 16:37:59 +08:00
2026-11-13 02:00:40 +08:00
2026-11-11 20:57:11 +08:00
2026-11-01 21:19:22 +08:00
2026-11-01 09:08:07 +08:00
2026-11-13 23:42:57 +08:00
2026-11-09 12:56:42 +08:00
2026-11-09 12:56:42 +08:00
2026-11-03 09:54:05 +08:00
2026-11-06 19:50:18 +08:00
2026-11-05 18:31:22 +08:00
2026-10-27 14:28:01 +08:00
2026-11-02 20:04:32 +08:00
2026-11-10 12:54:39 +08:00
2026-11-07 21:59:07 +08:00
2026-11-07 21:59:07 +08:00
2026-11-01 18:35:15 +08:00
2026-10-31 19:26:55 +08:00
2026-11-04 14:38:48 +08:00
2026-10-29 18:20:50 +08:00
2026-11-15 06:06:25 +08:00
2026-10-10 22:36:28 +08:00
2026-10-31 19:42:52 +08:00
2026-10-31 19:42:52 +08:00
2026-10-31 19:42:52 +08:00
2026-10-13 06:18:27 +08:00
2026-10-13 06:18:27 +08:00
2026-11-10 08:13:08 +08:00
2026-11-15 07:39:25 +08:00
2026-10-16 03:46:15 +08:00
2026-11-15 13:28:34 +08:00
2026-11-15 13:28:34 +08:00
2026-11-09 18:13:08 +08:00
2026-10-20 22:17:55 +08:00
2026-10-20 22:17:55 +08:00
2026-10-24 14:37:39 +08:00
2026-11-18 21:20:35 +08:00
2026-11-18 18:23:25 +08:00
2026-11-10 12:54:39 +08:00
2026-10-29 16:11:26 +08:00
2026-11-11 13:26:49 +08:00
2026-11-11 13:26:49 +08:00
2026-11-11 08:18:24 +08:00
2026-10-30 02:28:10 +08:00
2026-11-08 14:37:31 +08:00
2026-10-14 14:47:35 +08:00
2026-11-17 16:56:29 +08:00
2026-11-18 16:04:56 +08:00
2026-11-02 21:52:57 +08:00
2026-11-07 06:39:39 +08:00
2026-11-01 04:51:55 +08:00
2026-11-07 21:59:07 +08:00
2026-11-13 02:00:40 +08:00
2026-11-07 21:59:07 +08:00
2026-10-29 16:11:26 +08:00
2026-11-13 05:12:30 +08:00
2026-10-28 05:02:12 +08:00
2026-10-30 01:40:48 +08:00
2026-11-10 08:12:56 +08:00
2026-10-31 18:18:37 +08:00
2026-10-25 01:49:13 +08:00
2026-10-16 03:27:22 +08:00
2026-11-09 19:07:06 +08:00
2026-11-01 06:46:50 +08:00
2026-11-03 23:12:33 +08:00
2026-11-16 18:59:40 +08:00
2026-11-03 16:34:30 +08:00
2026-11-17 11:42:27 +08:00
2026-11-13 04:22:45 +08:00
2026-11-13 12:53:04 +08:00
2026-11-02 20:04:32 +08:00
2026-11-02 20:04:32 +08:00
2026-11-15 06:06:25 +08:00
2026-10-24 22:22:21 +08:00
2026-11-14 14:02:49 +08:00
2026-11-10 03:10:48 +08:00
2026-10-17 16:37:09 +08:00
2026-11-10 04:23:37 +08:00
2026-10-09 23:16:53 +08:00
2026-10-19 18:02:56 +08:00
2026-10-24 21:00:05 +08:00
2026-11-01 18:48:13 +08:00
2026-10-17 23:11:01 +08:00
2026-11-01 18:48:13 +08:00
2026-11-04 16:17:47 +08:00
2026-11-12 23:01:29 +08:00
2026-11-17 15:39:12 +08:00
2026-11-11 14:28:17 +08:00
2026-11-13 05:12:30 +08:00
2026-11-08 11:28:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-03 16:43:12 +08:00
2026-11-09 18:19:02 +08:00
2026-11-18 23:50:16 +08:00
2026-11-07 04:03:00 +08:00
2026-10-31 21:29:22 +08:00
2026-11-17 00:21:23 +08:00
2026-10-07 07:08:17 +08:00
2026-10-08 07:27:03 +08:00
2026-10-08 07:27:03 +08:00
2026-11-10 12:54:39 +08:00
2026-10-08 07:27:03 +08:00
2026-10-12 22:16:17 +08:00
2026-10-12 22:16:17 +08:00
2026-11-12 14:17:12 +08:00
2026-11-14 03:37:38 +08:00
2026-11-10 22:19:31 +08:00
2026-11-10 12:54:39 +08:00
2026-10-14 09:29:59 +08:00
2026-11-06 19:50:18 +08:00
2026-10-08 11:17:39 +08:00
2026-10-07 07:08:17 +08:00
2026-11-17 00:21:23 +08:00
2026-10-09 23:25:04 +08:00
2026-11-15 12:14:48 +08:00
2026-10-15 23:08:04 +08:00
2026-10-15 23:08:04 +08:00
2026-11-07 08:07:58 +08:00
2026-10-27 11:27:43 +08:00
2026-10-27 11:27:43 +08:00
2026-11-10 12:54:39 +08:00
2026-11-10 18:07:27 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:11:00 +08:00
2026-11-04 22:45:40 +08:00
2026-10-11 03:28:48 +08:00
2026-10-27 14:57:16 +08:00
2026-11-10 12:54:39 +08:00
2026-11-09 13:05:00 +08:00
2026-10-05 17:38:03 +08:00
2026-11-01 01:55:09 +08:00
2026-11-18 12:08:46 +08:00
2026-10-11 01:37:18 +08:00
2026-10-20 00:18:51 +08:00
2026-10-31 14:51:11 +08:00
2026-10-15 02:00:44 +08:00
2026-11-15 02:19:18 +08:00
2026-10-28 15:46:26 +08:00
2026-11-18 12:08:46 +08:00
2026-11-18 12:08:46 +08:00
2026-10-15 03:34:59 +08:00
2026-11-10 11:05:59 +08:00
2026-11-08 11:28:54 +08:00
2026-11-12 19:48:02 +08:00
2026-10-17 23:11:01 +08:00
2026-10-07 03:00:47 +08:00
2026-10-17 23:11:01 +08:00
2026-10-17 23:11:01 +08:00
2026-11-14 12:25:28 +08:00
2026-11-13 12:26:43 +08:00
2026-11-14 12:25:28 +08:00
2026-10-13 05:34:13 +08:00
2026-11-18 12:35:06 +08:00
2026-10-17 23:11:00 +08:00
2026-11-18 14:32:44 +08:00
2026-10-17 23:11:01 +08:00
2026-11-04 14:28:02 +08:00
2026-11-10 11:05:59 +08:00
2026-11-16 09:28:28 +08:00
2026-10-14 07:51:41 +08:00
2026-10-21 07:32:11 +08:00
2026-10-14 16:11:58 +08:00
2026-11-15 12:14:48 +08:00
2026-10-30 22:48:39 +08:00
2026-11-15 19:06:45 +08:00
2026-10-17 23:11:00 +08:00
2026-11-10 12:54:39 +08:00
2026-10-14 15:17:06 +08:00
2026-11-02 05:38:10 +08:00
2026-10-17 23:11:00 +08:00
2026-10-12 19:02:25 +08:00
2026-10-16 19:14:52 +08:00
2026-11-18 21:20:35 +08:00
2026-10-31 19:54:28 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:11:00 +08:00
2026-10-17 23:11:00 +08:00
2026-10-17 23:11:01 +08:00
2026-11-15 12:14:48 +08:00
2026-11-10 22:26:38 +08:00
2026-11-15 12:14:48 +08:00
2026-11-12 11:38:52 +08:00
2026-10-09 14:08:07 +08:00
2026-10-09 14:08:07 +08:00
2026-10-26 23:27:55 +08:00
2026-11-12 01:56:26 +08:00
2026-10-10 10:22:59 +08:00
2026-11-11 20:10:42 +08:00
2026-11-15 12:14:48 +08:00
2026-11-11 20:10:42 +08:00
2026-10-20 20:08:25 +08:00
2026-11-04 17:11:55 +08:00
2026-11-17 20:06:48 +08:00
2026-11-17 20:06:48 +08:00
2026-11-15 01:25:49 +08:00
2026-11-11 16:42:53 +08:00
2026-11-15 12:14:48 +08:00
2026-10-27 15:21:10 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-11 08:31:55 +08:00
2026-10-17 23:11:01 +08:00
2026-10-17 23:11:01 +08:00
2026-11-10 12:54:39 +08:00
2026-11-13 21:44:24 +08:00
2026-11-01 06:21:39 +08:00
2026-10-17 23:11:01 +08:00
2026-11-11 19:42:17 +08:00
2026-11-06 19:07:15 +08:00
2026-10-10 19:46:58 +08:00
2026-11-08 02:08:30 +08:00
2026-11-09 23:08:13 +08:00
2026-11-01 08:29:21 +08:00
2026-11-04 23:28:23 +08:00
2026-10-27 01:55:25 +08:00
2026-11-04 03:56:38 +08:00
2026-11-06 10:44:24 +08:00
2026-11-10 03:48:24 +08:00
2026-11-10 17:56:42 +08:00
2026-10-20 00:18:51 +08:00
2026-11-13 12:53:04 +08:00
2026-11-13 05:12:30 +08:00
2026-10-19 15:19:31 +08:00
2026-10-11 21:24:10 +08:00
2026-11-12 01:56:26 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 02:29:21 +08:00
2026-11-17 20:21:21 +08:00
2026-11-17 22:00:51 +08:00
2026-11-12 01:56:26 +08:00
2026-10-28 18:52:39 +08:00
2026-11-10 08:38:12 +08:00
2026-11-07 20:19:50 +08:00
2026-11-07 20:19:50 +08:00
2026-11-18 21:20:35 +08:00
2026-11-18 21:20:35 +08:00
2026-10-20 00:18:51 +08:00
2026-10-20 00:18:51 +08:00
groups: a routing group's own id keeps a model's dots ( #968 ) — a group named GPT 6.1 Sol was group/gpt-6-1-sol, so a harness pricing or tuning by the model's name didn't know it (dbydd). provider.GroupSlug is Slug with the dots kept (a run of them one, none at the ends); SaveGroup, RenameGroup, the backup's import and export, the GUI's save and rename, the CLI's group add and edit, and the Routing editor (groupSlug) derive and check a group's id by it. The ids magpie finds stay Slug's (auto-gpt-6-1-sol), so no id saved before changes, and an agent sending the bare name gpt-6.1-sol reaches a group of that id first (GroupFor). groupid_test (ids, save, rename, bad ids, found ids unchanged) and gateway's TestDottedGroupID (group/gpt-6.1-sol and the bare name served, falling through as the group's order says; -race -count=5) pass and fail without the fix; group-id-dots (hint and Add's body, groupSlug cases) passes in Chromium and WebKit, en and zh, and fails without it. The other group-* GUI tests, agent-model-groups and i18n-keys pass, except group-arrange, whose Chromium cases fail the same on origin/main (mouse.move: Invalid parameters at line 165). go test . provider/gui/gateway/agent/tui, vet, linux/windows builds pass.
2026-10-06 12:32:16 +08:00
2026-10-14 18:14:17 +08:00
2026-11-17 02:19:48 +08:00
2026-11-17 02:19:48 +08:00
2026-10-16 20:03:29 +08:00
2026-10-09 11:10:12 +08:00
2026-10-15 23:08:02 +08:00
2026-11-10 01:08:04 +08:00
2026-11-13 05:12:30 +08:00
2026-10-25 13:32:12 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 22:57:20 +08:00
2026-10-17 10:04:39 +08:00
2026-10-25 18:18:02 +08:00
2026-11-10 22:57:20 +08:00
2026-11-11 17:53:05 +08:00
2026-11-17 22:00:51 +08:00
gui, provider, gateway: a group's models are dragged into order, a group can be switched off, several models are added at once, and a page shows a scrollbar on the Mac (PAMI on Discord) — in a group's editor a model went up one step a click and only up; its number is now a handle (grip on hover) that drags it, Alt+↑/↓ moves it from the keyboard, and Up and Down stay beside it; a pattern's members follow the named ones. A group of the user's has a switch on its card: off, agents aren't offered it, a request to it is turned away with 404 "the routing group … is switched off", a group that has it in it goes on to its next member, a save from the editor leaves it off, and one that classifies for another can't be switched off (a found group is removed instead, as before). Each member already had its own switch. The editor's Add a model picker stays open: each model clicked is added and ticked, clicked again taken out, and each says the other groups it is in. Pages, dialogs and framed editors had their scrollbar hidden everywhere (width 0); on the Mac they now have a thin 8px thumb, elsewhere the 10px one other lists have. TestSwitchGroup, TestSwitchedOffGroup, group-member-drag, group-switch-add-many and view-scrollbar (WebKit, en and zh) fail without the change. go vet, go build (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui ./... under a temp HOME pass (TestProvidersAnswerWhileListsComeIn is flaky on origin/main as well).
2026-10-05 16:46:59 +08:00
2026-11-13 05:12:30 +08:00
2026-11-13 05:12:30 +08:00
2026-10-13 13:10:30 +08:00
2026-10-13 13:10:30 +08:00
2026-11-15 01:32:07 +08:00
2026-11-15 01:32:07 +08:00
2026-11-11 14:13:01 +08:00
2026-11-10 02:16:41 +08:00
2026-11-04 17:06:31 +08:00
2026-11-11 14:43:25 +08:00
2026-10-14 15:30:43 +08:00
2026-11-13 18:59:59 +08:00
2026-11-06 15:24:18 +08:00
2026-11-13 00:11:37 +08:00
2026-10-11 01:28:22 +08:00
2026-10-26 17:05:16 +08:00
2026-10-26 17:05:16 +08:00
2026-11-08 22:55:09 +08:00
2026-11-10 12:54:39 +08:00
2026-11-06 08:01:14 +08:00
2026-11-11 21:59:36 +08:00
2026-11-13 12:38:22 +08:00
2026-10-13 16:00:31 +08:00
2026-11-16 17:59:26 +08:00
2026-11-16 17:59:26 +08:00
2026-10-10 22:36:28 +08:00
2026-10-28 16:59:10 +08:00
2026-10-28 03:10:46 +08:00
2026-11-12 01:20:52 +08:00
2026-10-05 11:28:51 +08:00
2026-10-10 23:17:22 +08:00
2026-10-17 11:54:55 +08:00
2026-11-16 17:59:26 +08:00
2026-11-08 18:37:41 +08:00
2026-11-18 16:52:58 +08:00
2026-10-15 23:08:05 +08:00
2026-11-13 14:30:19 +08:00
2026-10-19 00:19:53 +08:00
2026-10-08 08:58:15 +08:00
2026-11-15 14:52:48 +08:00
2026-11-18 16:04:56 +08:00
2026-11-04 17:06:31 +08:00
2026-11-18 23:21:28 +08:00
2026-11-04 21:21:32 +08:00
2026-11-10 12:54:39 +08:00
2026-11-06 18:48:50 +08:00
2026-10-30 02:09:54 +08:00
2026-11-16 10:09:47 +08:00
2026-11-01 07:06:19 +08:00
2026-11-16 01:54:28 +08:00
2026-11-13 12:18:23 +08:00
2026-11-13 12:18:23 +08:00
2026-11-09 04:06:39 +08:00
2026-11-05 00:11:02 +08:00
2026-11-02 14:30:45 +08:00
2026-11-05 00:11:02 +08:00
2026-11-05 11:46:26 +08:00
2026-10-26 20:37:07 +08:00
2026-11-06 10:17:08 +08:00
2026-10-16 06:32:41 +08:00
2026-11-13 16:31:24 +08:00
2026-11-13 16:31:24 +08:00
2026-10-13 07:30:06 +08:00
2026-11-12 18:31:50 +08:00
2026-11-12 18:31:50 +08:00
2026-10-16 00:16:43 +08:00
2026-11-14 16:34:10 +08:00
2026-10-05 21:44:15 +08:00
2026-11-04 21:21:32 +08:00
2026-10-16 08:43:02 +08:00
2026-11-14 16:34:10 +08:00
2026-10-13 13:42:56 +08:00
2026-11-06 19:50:18 +08:00
2026-11-01 11:19:26 +08:00
2026-11-11 20:52:43 +08:00
2026-11-05 16:22:31 +08:00
2026-11-05 16:22:31 +08:00
2026-10-17 23:11:00 +08:00
2026-10-17 23:11:00 +08:00
2026-10-14 09:29:59 +08:00
2026-10-17 23:11:00 +08:00
2026-11-01 11:30:12 +08:00
2026-11-13 02:00:40 +08:00
2026-11-06 12:48:51 +08:00
2026-10-12 22:33:07 +08:00
2026-10-20 20:23:55 +08:00
2026-11-01 00:43:15 +08:00
2026-10-23 03:35:27 +08:00
2026-10-10 01:30:29 +08:00
2026-10-05 17:19:42 +08:00
2026-11-08 11:28:54 +08:00
2026-10-16 18:51:40 +08:00
2026-10-05 21:48:01 +08:00
2026-11-01 04:16:57 +08:00
2026-11-01 03:05:59 +08:00
2026-10-13 13:47:59 +08:00
2026-11-12 19:48:02 +08:00
2026-11-15 12:14:48 +08:00
2026-11-17 15:39:12 +08:00
2026-11-11 04:07:09 +08:00
2026-11-11 05:30:02 +08:00
2026-10-10 15:04:23 +08:00
2026-11-01 15:07:37 +08:00
2026-10-13 18:16:03 +08:00
2026-11-16 15:58:58 +08:00
2026-11-16 15:58:58 +08:00
2026-11-02 19:41:05 +08:00
2026-10-13 16:34:23 +08:00
2026-11-11 02:40:18 +08:00
2026-10-11 23:37:34 +08:00
2026-11-15 06:06:25 +08:00
2026-10-20 20:23:55 +08:00
2026-11-04 17:06:31 +08:00
gateway: a gateway key can be held to some accounts ( #905 , LCorleone) — a key could burn any account a provider had: two coding plans of one vendor, and a key given to someone had them both. A key now keeps an optional list of accounts and keys (caller-keys.json "accounts", none = every account, so older files read as before): "<provider>/<account>", an account by its stable id — the login's, set once it is written and kept through renames (logins.json's savedLogin id, written by every write and stood in for by one made of the name until then, so an entry made before stands), a key by its fingerprint — every one a provider has when the list is set, and one gone later (a key rotated, an account signed out) kept as it is, matching nothing, holding the key closer, never wider. The command line and the menu name an account by who is signed in and keep its id. Routing holds a plan to the key's accounts beside its models: a candidate whose account the key may not use is left out — through a routing group the key names no less, for naming a group is not naming its accounts — the plan's order keeping step and its left-out list marking what the key held out (Weighed's held); magpie's own calls for the key — a web search, a picture described, a Codex title — are of the models the user picked, so the models don't hold them, but their spend lands on an account all the same, and the accounts hold them too. When every account or key a model has is one the key may not use, the request is refused with a 403 in the API's own error shape naming the model and the accounts the key may use, logged as a rejected call: after a usage cap's 429 and before an account barred for the model's, itself before the no-member 404. /v1/models and the Anthropic and Gemini lists show the key only the models an account or key it may use serves (a provider's account set not to serve one, #474 , is none of the key's); a provider with no account and no key (a local ollama) is one the key names no account of — its models stay listed and its asks pass — while an entry kept after its provider lost its last account or key serves none, holding the key closer. The embeddings, images and videos endpoints hold their candidate to the key's accounts the same way, and counting tokens counts on those alone (the local estimate where it may use none). System One asks its decision model of an account or key the key may use — and sends on that key, of those in use, not the provider's first, which a key held to a later one was spent on; the videos and images keyed paths send on one the key may use too, held to a later key no longer refused for the first alone. Set it in the app's menu the models are picked in — the accounts after the models, an account by who is signed in with their plan in the note, a key by its fingerprint, what the CLI kept that no provider has now kept as "Not signed in now" — or magpie gateway-key accounts <id> codex/me@example.com openai/<key id> (all takes it off); gateway-key list has an ACCOUNTS column. en/zh/ja/de, the German "{n} accounts" main already had left to it rather than written twice. The images API's fan-out over a subscription's accounts is held to the key's accounts as one: one of the key's whose plan refuses to draw no longer hands the pen to an account it may not use, and the second in the order, when it is the key's, draws what the first may not (drawOnAccounts filters the candidates, the account pinned to with the account header told plainly when the key may not use it). The Routing view's left-out list says an account the key held out for what it is, not that its plan lacks the model, in Chinese, Japanese and German too; the key's badge names its accounts by who is signed in, not by the stable ids it keeps. ( #932 )
2026-10-06 10:51:50 +08:00
2026-10-08 08:23:20 +08:00
2026-11-12 17:27:33 +08:00
gui: a Usage card has a refresh of its own, left of its "Updated" time, that reads that card alone (Hu9956, #840 : 在更新时间左侧加一个刷新按钮,鼠标悬停在套餐卡片上时显示,可以单独刷新某个套餐的用量,不用刷新全部) — only the page's Refresh read the allowances again, every card at once. Each card now has a ↻ that opens left of "Updated 3 min ago" (or of a failed reading's reason, or under a balance) as the card is hovered; at rest the line starts where the card's others do. A click POSTs /api/usage/quotas/refresh?provider=&user=: provider.RefreshUsage reads that subscription account, plan key or balance key again (a Claude account by running Claude Code's own /usage, as the page's Refresh does) and puts it in place in the caches, the other cards not asked and kept as they were read; the button turns while it reads. zh, ja, de strings. TestRefreshOneCard (two keys of one relay and another provider: a refresh asks that key alone, the others keep their figures) and the plugin case in TestPluginUsage (one account of three read) fail on the old code; usage-card-refresh.test.cjs (WebKit, en and zh: aligned at rest, left of the time when hovered, a click reads that card alone, turns meanwhile, doesn't scroll; a failed card's own button) fails on the old code. usage-quota-head, usage-checkin, click-scroll, quota-read-at, balance-parts, claude-usage-asked, gui-ja and gui-de pass on WebKit. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass.
2026-10-05 08:59:47 +08:00
2026-11-10 09:49:30 +08:00
2026-11-01 13:32:30 +08:00
2026-10-06 00:37:50 +08:00
2026-11-13 02:00:40 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-18 17:43:17 +08:00
2026-11-02 13:44:11 +08:00
2026-11-10 02:10:10 +08:00
2026-10-30 15:42:29 +08:00
2026-11-01 04:53:36 +08:00
gateway, provider: a Claude model is asked on Anthropic's Messages where its provider has an Anthropic URL, not Chat ( #997 , wlj521: 自动好像只会走chat; ReturnTrue on Discord: a relay with an OpenAI and an Anthropic URL had 0% cache hits from Claude models until the OpenAI URL was left empty) — every API's order was Chat first. A request on an API the provider serves was already relayed as it is (a fake relay recording each path: Messages → /v1/messages, Responses → /v1/responses, Chat → /v1/chat/completions, for GLM, GPT and Claude alike, with one URL for three APIs and with an OpenAI URL plus an Anthropic one), but two places fell back to Chat for Claude: usable(), which a request on an API the provider lacks is translated to (Codex's Responses for a Claude model at a Chat+Anthropic relay went to /v1/chat/completions, losing the cache breakpoints the translation to Messages adds), and Provider.Native, the API Pi, omp and droid are wired to ask each model on (route.go's magpieModels), which named Chat for every Claude model at such a relay, so those agents spoke Chat and their cache_control never reached the relay. MessagesFirst (a Claude model by name, where the provider has an Anthropic URL) now puts Messages first in both, beside ResponsesFirst for OpenAI's models. A model the user set "Asked on" for, or one the vendor's list names its APIs for, is as before; GPT and other models keep Chat first; Copilot's Claude, which its list serves on Chat and Messages, is now native on Messages (TestNative updated), the API Claude Code already reaches it on. Not reproduced: a Claude Code /v1/messages request translated to Chat — with either relay layout, a list as new-api answers it, and a key per protocol, it went to /v1/messages with cache_control kept; ReturnTrue is asked for the request's Protocol row. TestClaudeGoesOnMessagesWhereTheRelayHasThem and TestNativeClaudeIsMessagesWhereServed fail without the change and pass; TestAutoRelaysOnTheClientsOwnAPI guards the pass-through for the three APIs; -race -count=5 on them. go test ./internal/gateway ./internal/provider ./internal/catalog ./internal/agent, go vet, darwin, linux (nogui) and windows builds pass. docs/subsystems/gateway-routing.md says the order.
2026-10-06 15:33:16 +08:00
2026-11-10 20:16:44 +08:00
2026-11-16 03:00:18 +08:00
2026-10-13 09:50:57 +08:00
2026-11-18 16:41:37 +08:00
2026-10-16 22:58:41 +08:00
2026-11-10 18:13:38 +08:00
2026-10-16 22:58:41 +08:00
2026-10-09 01:55:07 +08:00
2026-10-25 17:42:37 +08:00
2026-10-17 23:11:00 +08:00
2026-11-01 18:28:31 +08:00
2026-11-16 19:04:01 +08:00
2026-10-17 23:11:00 +08:00
2026-10-26 16:27:06 +08:00
2026-11-17 00:39:50 +08:00
2026-10-26 16:13:57 +08:00
2026-10-17 23:11:00 +08:00
2026-11-16 03:00:18 +08:00
2026-11-16 15:11:46 +08:00
2026-11-17 01:48:56 +08:00
2026-11-05 01:00:28 +08:00
2026-11-16 03:00:18 +08:00
2026-10-17 23:11:00 +08:00
2026-11-14 14:02:49 +08:00
2026-11-03 16:34:30 +08:00
2026-11-06 13:52:28 +08:00
2026-11-06 13:52:28 +08:00
2026-10-13 16:34:59 +08:00
2026-11-11 08:31:55 +08:00
2026-10-13 16:34:59 +08:00
2026-11-08 11:28:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-15 12:14:48 +08:00
2026-11-01 04:05:38 +08:00
2026-11-01 07:21:07 +08:00
2026-11-14 14:02:49 +08:00
2026-11-03 18:34:19 +08:00
2026-10-12 19:14:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-15 12:14:48 +08:00
2026-11-14 14:02:49 +08:00
2026-10-11 20:09:14 +08:00
2026-10-17 23:11:00 +08:00
2026-11-15 09:02:39 +08:00
2026-11-18 19:59:27 +08:00
2026-11-13 05:12:30 +08:00
2026-10-24 05:31:59 +08:00
2026-11-13 16:10:47 +08:00
2026-11-10 07:25:54 +08:00
2026-11-12 01:56:26 +08:00
2026-11-12 01:56:26 +08:00
2026-11-08 02:08:08 +08:00
2026-10-28 07:10:09 +08:00
2026-10-28 07:10:09 +08:00
2026-11-15 02:19:18 +08:00
2026-11-15 11:50:15 +08:00
2026-10-15 05:20:17 +08:00
2026-10-15 05:20:17 +08:00
2026-11-13 05:12:30 +08:00
2026-10-31 10:08:40 +08:00
2026-10-12 23:45:06 +08:00
2026-11-01 04:49:32 +08:00
2026-11-10 07:18:50 +08:00
2026-10-14 04:40:21 +08:00
2026-11-05 16:22:31 +08:00
2026-11-02 14:30:45 +08:00
2026-11-13 16:56:19 +08:00
2026-11-13 16:56:19 +08:00
2026-11-12 22:27:39 +08:00
2026-11-12 22:27:39 +08:00
2026-10-20 01:25:47 +08:00
2026-10-20 01:25:47 +08:00
2026-10-13 13:03:26 +08:00
2026-10-13 13:03:26 +08:00
2026-10-12 00:37:27 +08:00
2026-10-12 00:37:27 +08:00
2026-11-01 05:42:21 +08:00
2026-10-19 13:42:21 +08:00
2026-11-05 18:31:16 +08:00
2026-11-01 14:48:19 +08:00
2026-11-18 22:37:50 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 23:09:15 +08:00
2026-11-02 17:08:45 +08:00
2026-11-02 17:08:45 +08:00
2026-11-01 14:48:19 +08:00
2026-11-01 14:48:19 +08:00
2026-11-18 22:37:50 +08:00
2026-11-15 02:19:18 +08:00
2026-11-13 05:12:30 +08:00
2026-11-17 20:21:21 +08:00
2026-11-02 21:52:57 +08:00
2026-10-13 13:42:56 +08:00
2026-10-09 01:40:02 +08:00
2026-10-09 01:40:02 +08:00
2026-10-28 00:19:58 +08:00
2026-10-24 21:33:06 +08:00
2026-11-10 12:54:39 +08:00
2026-11-07 00:42:21 +08:00
2026-11-07 00:42:21 +08:00
2026-11-01 07:41:23 +08:00
2026-11-13 01:01:23 +08:00
2026-11-01 19:02:59 +08:00
2026-11-02 22:28:57 +08:00
2026-10-31 10:08:40 +08:00
2026-10-31 10:08:40 +08:00
gateway, provider: the Routing page says what a lone key or account has left, and a key bought as a plan (Kimi Code, GLM Coding Plan, MiniMax, OpenCode Go, Command Code) is weighed by its plan's windows ( #1016 , gphysign: Kimi Code (China) with one key on, Smart routing; the card said only "Kimi Code (China) 只启用了一个 Key,无需选择。" while /v1/magpie/quotas had its 5 hours 49 used, 51 left and its 7 days 45 used) — two gaps. weighRouted returned before reading anyone's allowance when there was one candidate, so a lone key or a lone subscription account was never known in the trace, and the Routing page, which shows a bar and "{n} used · renews in {d}" for a known row, had nothing to show; every single-account subscription said "what's left not known yet" the same way. And KeyAllowance read only a sub2api key's limits, so a key whose plan the Usage page reads (planQuotaSourceOf: Kimi Code, GLM Coding Plan and Z.ai, MiniMax Coding Plan, OpenCode Go, Command Code) was never known to routing, with one key or several. weighRouted now reads what each candidate has left before returning a lone one (one alone is still weighed against nobody). readsKeyWindows takes a plan key too; keyWindows reads it through planKeyWindows (planWindows, with Zhipu's team quota behind a key that has none of its own, as PlanQuotas does), and PlanQuotas' own read of a card is noted for routing at once (noteKeyAllowance), so the Usage page and routing never ask twice; the card kept on disk seeds it after a restart (keyCardTag keys a plan card as plan:, a sub2api one as balance:). A key at such a vendor that turns out to be pay-as-you-go, with no windows, is asked again every 30 minutes (keyNoWindowsAge), not every minute it is used. So, beyond the issue: several plan keys on one provider are now weighed by their windows under Smart, usage and pace, and a plan key the vendor refuses as out of quota rests until its window renews and comes back once read short of full, as a sub2api key does. affine no longer says a lone key or account all but used up "moved" its conversation: there is nobody to move to (at > 0). The GUI needed no change. TestLoneOneTellsWhatItHasLeft (a lone Kimi key known at 49% with both renews, the week first; a lone Codex account known; a plain DeepSeek key not), TestLoneSpentKeyKeepsItsConversation (fails with the at > 0 guard taken out), TestPlanKeyAllowance (the windows read behind the request, asked once; DeepSeek and Moonshot keys never asked), TestPlanKeyAllowanceFromItsCard (PlanQuotas' read known at once without a second ask; after a restart with the vendor down, the card on disk stands in and a failed read keeps it) and TestPayAsYouGoKeyAskedSeldom (a GLM pay-as-you-go key asked once, not two minutes on, again 31 minutes on) all fail without the change and pass -race -count=20 (provider) / -count=10 (gateway). routing-key-windows.test.cjs gains a lone Kimi Code key at 1100px and 440px (the one-key story, the row's bar at 49%, its provider row "49% used · renews in …" fitting, no sideways scroll) and passes in full on Chromium and WebKit in en, zh, ja and de; routing-quota-left and panel-routing pass. go test -tags nogui ./internal/..., go test -race on ./internal/provider and ./internal/gateway in full, go vet, gofmt -l, darwin, linux and windows (nogui) builds pass. Not tried with a real Kimi Code key. StepFun's Step Plan is read through a sign-in, not the key, so it isn't one of these. docs/subsystems/gateway-routing.md, providers-accounts.md and docs/reference.md say it.
2026-10-06 20:25:04 +08:00
2026-11-04 16:55:33 +08:00
2026-11-09 05:06:48 +08:00
2026-11-16 01:54:28 +08:00
2026-11-01 22:14:19 +08:00
2026-10-30 16:59:04 +08:00
2026-11-01 18:28:31 +08:00
2026-10-28 10:09:51 +08:00
2026-11-05 01:43:41 +08:00
2026-10-30 08:33:28 +08:00
2026-10-28 04:18:21 +08:00
2026-11-11 14:13:01 +08:00
2026-10-19 18:58:42 +08:00
2026-10-10 10:22:59 +08:00
2026-10-15 23:08:04 +08:00
2026-11-12 14:35:38 +08:00
2026-11-12 14:35:38 +08:00
2026-10-10 10:22:59 +08:00
2026-10-10 10:22:59 +08:00
2026-11-03 21:01:27 +08:00
2026-11-03 21:01:27 +08:00
2026-10-14 13:20:13 +08:00
2026-10-25 11:52:02 +08:00
2026-11-04 19:16:10 +08:00
2026-11-11 23:54:16 +08:00
2026-10-13 09:52:14 +08:00
2026-11-02 07:40:21 +08:00
2026-10-29 16:50:17 +08:00
2026-10-19 21:31:23 +08:00
2026-11-04 11:56:33 +08:00
2026-10-15 22:36:59 +08:00
2026-10-22 20:51:08 +08:00
2026-10-29 00:52:19 +08:00
2026-10-29 18:17:55 +08:00
2026-11-02 12:03:24 +08:00
2026-11-02 09:11:30 +08:00
2026-10-28 08:28:56 +08:00
2026-11-17 11:00:09 +08:00
2026-11-10 20:32:38 +08:00
2026-11-15 12:14:48 +08:00
2026-11-05 11:46:26 +08:00
2026-11-07 22:36:03 +08:00
2026-11-17 11:00:09 +08:00
2026-11-10 10:01:59 +08:00
2026-11-10 10:01:59 +08:00
2026-10-28 18:11:21 +08:00
2026-11-18 23:39:19 +08:00
2026-11-03 13:40:20 +08:00
2026-11-15 14:52:48 +08:00
2026-11-14 12:31:48 +08:00
2026-11-14 12:31:48 +08:00
2026-11-10 19:53:54 +08:00
2026-11-15 14:52:48 +08:00
2026-10-28 09:29:44 +08:00
2026-11-18 19:59:27 +08:00
2026-10-05 21:56:59 +08:00
2026-10-28 12:39:39 +08:00
2026-10-15 23:08:03 +08:00
2026-11-10 04:47:19 +08:00
2026-10-27 18:43:32 +08:00
2026-10-14 04:35:55 +08:00
2026-10-14 04:35:55 +08:00
2026-11-12 00:17:30 +08:00
2026-11-18 20:22:30 +08:00
2026-11-16 10:42:40 +08:00
2026-11-01 03:10:49 +08:00
2026-11-17 22:01:56 +08:00
2026-11-17 22:01:56 +08:00
2026-10-06 07:43:47 +08:00
2026-11-14 19:09:35 +08:00
2026-11-14 19:09:35 +08:00
2026-11-04 10:23:34 +08:00
2026-10-21 07:23:23 +08:00
2026-11-14 14:02:49 +08:00
2026-11-02 19:10:37 +08:00
2026-11-01 12:52:19 +08:00
2026-11-02 21:59:29 +08:00
2026-11-10 17:18:32 +08:00
2026-10-17 23:11:00 +08:00
2026-11-13 05:12:30 +08:00
2026-11-15 12:14:48 +08:00
2026-11-11 03:41:37 +08:00
2026-10-13 09:09:37 +08:00
2026-11-18 14:32:44 +08:00
2026-10-14 21:54:12 +08:00
2026-11-02 05:38:10 +08:00
2026-10-20 20:23:55 +08:00
2026-11-06 12:05:01 +08:00
2026-11-06 12:05:01 +08:00
2026-11-01 00:14:17 +08:00
2026-11-15 12:14:48 +08:00
2026-10-20 20:23:55 +08:00
2026-11-10 12:54:39 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 06:06:25 +08:00
2026-10-05 10:41:07 +08:00
2026-10-15 23:08:02 +08:00
2026-11-06 12:09:21 +08:00
2026-10-15 23:08:02 +08:00
2026-11-14 19:37:57 +08:00
2026-11-13 23:42:57 +08:00
2026-11-15 12:14:48 +08:00
2026-10-21 08:40:49 +08:00
2026-11-11 21:59:36 +08:00
2026-11-14 19:09:35 +08:00
2026-11-18 19:59:27 +08:00
2026-11-13 05:12:30 +08:00
2026-10-30 18:55:51 +08:00
2026-11-09 02:47:26 +08:00
2026-10-14 09:38:12 +08:00
2026-11-06 19:50:18 +08:00
2026-11-06 19:50:18 +08:00
2026-10-24 02:11:14 +08:00
2026-11-13 13:15:31 +08:00
2026-11-16 14:18:47 +08:00
2026-11-15 05:45:09 +08:00
2026-11-15 09:38:24 +08:00
2026-11-12 09:47:34 +08:00
2026-11-16 10:42:40 +08:00
2026-10-29 20:50:18 +08:00
2026-11-06 15:41:43 +08:00
2026-11-06 15:41:43 +08:00
2026-10-15 01:54:28 +08:00
2026-11-16 10:42:40 +08:00
2026-11-11 15:59:46 +08:00
2026-10-10 03:55:45 +08:00
2026-11-07 16:05:37 +08:00
2026-11-12 19:48:02 +08:00
2026-11-13 15:32:20 +08:00
2026-11-13 15:32:20 +08:00
2026-11-16 10:42:40 +08:00
2026-11-15 18:58:57 +08:00
2026-11-09 12:42:35 +08:00
2026-11-13 10:22:01 +08:00
2026-11-16 10:42:40 +08:00
2026-11-16 10:42:40 +08:00
2026-11-05 12:37:30 +08:00
2026-11-18 14:32:44 +08:00
2026-11-08 03:13:15 +08:00
2026-10-28 00:14:13 +08:00
2026-11-16 01:54:28 +08:00
2026-11-03 14:16:20 +08:00
2026-10-29 17:02:24 +08:00
2026-11-03 14:16:20 +08:00
2026-10-14 05:22:39 +08:00
2026-11-01 00:28:03 +08:00
2026-11-13 14:30:19 +08:00
2026-10-19 15:19:31 +08:00
2026-10-19 15:19:31 +08:00
2026-11-09 18:13:08 +08:00
2026-11-12 22:14:40 +08:00
2026-11-18 16:33:04 +08:00
2026-10-08 20:13:26 +08:00
2026-11-10 18:48:13 +08:00
2026-11-10 18:48:13 +08:00
2026-10-11 21:24:10 +08:00
2026-11-10 12:54:39 +08:00
2026-10-05 16:31:07 +08:00
2026-11-10 22:57:20 +08:00
2026-10-29 20:36:04 +08:00
2026-10-24 19:40:14 +08:00
2026-10-15 23:08:00 +08:00
2026-11-12 19:48:02 +08:00
2026-11-12 19:48:02 +08:00
2026-11-10 16:47:33 +08:00
2026-11-07 21:21:48 +08:00
2026-11-04 20:55:42 +08:00
2026-10-24 21:00:05 +08:00
2026-10-24 21:00:05 +08:00
2026-10-19 15:19:31 +08:00
2026-10-19 15:19:31 +08:00
2026-11-11 21:13:43 +08:00
2026-10-07 02:09:17 +08:00
2026-10-15 23:08:04 +08:00
2026-11-06 12:48:51 +08:00
2026-10-20 20:23:55 +08:00
2026-11-03 16:43:12 +08:00
2026-11-11 13:05:16 +08:00
2026-11-11 13:05:16 +08:00
2026-10-16 03:46:15 +08:00
2026-11-10 03:48:24 +08:00
2026-11-14 16:55:08 +08:00
2026-10-14 08:39:37 +08:00
2026-11-03 10:44:15 +08:00
2026-11-15 14:30:16 +08:00
2026-10-17 19:55:49 +08:00
2026-10-12 21:57:29 +08:00
2026-11-13 13:58:00 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-10 12:54:39 +08:00
2026-10-12 19:38:11 +08:00
2026-10-17 23:11:01 +08:00
2026-10-10 10:22:59 +08:00
2026-10-12 22:16:17 +08:00
2026-11-10 12:54:39 +08:00
2026-10-11 09:40:38 +08:00
2026-10-17 23:11:00 +08:00
2026-11-16 14:19:19 +08:00
2026-11-09 12:04:20 +08:00
2026-11-13 21:09:44 +08:00
2026-11-17 14:08:48 +08:00
2026-11-17 14:08:48 +08:00
2026-11-12 10:59:13 +08:00
2026-11-18 20:22:30 +08:00
2026-11-18 23:50:16 +08:00
2026-11-11 04:13:12 +08:00
2026-11-01 13:32:30 +08:00
2026-11-19 00:44:40 +08:00
2026-11-19 00:44:40 +08:00
2026-11-13 00:11:37 +08:00
2026-11-01 13:40:29 +08:00
2026-11-13 00:11:37 +08:00
2026-11-13 00:11:37 +08:00
2026-11-06 19:50:18 +08:00
2026-11-12 11:38:52 +08:00
2026-11-10 03:48:24 +08:00
2026-10-07 06:14:20 +08:00
2026-11-01 00:43:15 +08:00
2026-11-11 10:37:13 +08:00
2026-11-11 10:37:13 +08:00
2026-10-14 19:47:16 +08:00
2026-10-06 18:57:47 +08:00
gui: an answer read while the accounts are read again is followed by the new one ( #959 ) — usage/quotas answers at once with the kept copy and reads the accounts again behind it, so the tray panel, opened, showed the old usage (40%) while the window's next timed read had the new (used up), until refreshed by hand (Magixyne). Such an answer now says so (X-Magpie-Reading: 1, provider.SubscriptionUsageReading), and loadQuotas asks again every 1.5s, twenty times at most, until it has landed; an answer the same as the last isn't drawn again. quota-reading-again (panel and window, en and zh, Chromium and WebKit; a read that never lands stops after twenty) passes and fails without the fix; TestSubscriptionUsageReadingWhileStale passes with -race -count=5. claude-usage-asked, panel-usage, tray-usages, usage-card-refresh, usage-stale-answer, quota-curve and usage-fold pass; go test ./internal/provider/ ./internal/gui/ and vet pass.
2026-10-06 10:58:10 +08:00
2026-10-11 21:22:18 +08:00
2026-11-16 14:19:19 +08:00
2026-11-13 05:12:30 +08:00
2026-10-31 19:35:16 +08:00
2026-11-01 05:23:58 +08:00
2026-11-01 05:23:58 +08:00
2026-11-05 16:22:31 +08:00
2026-11-04 21:21:32 +08:00
2026-11-12 01:20:52 +08:00
2026-11-07 13:34:54 +08:00
2026-11-13 02:00:40 +08:00
2026-11-12 18:09:14 +08:00
2026-11-12 18:09:14 +08:00
2026-10-09 02:20:30 +08:00
2026-10-27 16:23:20 +08:00
2026-10-31 00:08:29 +08:00
2026-11-18 12:08:46 +08:00
2026-10-30 14:17:26 +08:00
2026-11-10 12:54:39 +08:00
2026-10-23 19:03:58 +08:00
2026-11-14 14:02:49 +08:00
2026-10-31 22:21:29 +08:00
2026-11-05 18:31:17 +08:00
2026-11-10 12:54:39 +08:00
2026-11-17 20:21:21 +08:00
2026-11-16 01:54:28 +08:00
2026-11-10 10:03:49 +08:00
2026-11-10 10:03:49 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 18:01:13 +08:00
2026-11-10 07:36:19 +08:00
2026-10-24 02:48:50 +08:00
2026-11-11 09:30:53 +08:00
2026-11-07 17:44:31 +08:00
2026-11-07 17:44:31 +08:00
2026-10-10 18:31:32 +08:00
2026-11-10 18:11:38 +08:00
2026-11-05 17:50:33 +08:00
2026-11-10 12:54:39 +08:00
2026-11-11 03:54:21 +08:00
2026-11-16 13:17:46 +08:00
2026-11-16 13:17:46 +08:00
2026-11-14 02:22:28 +08:00
2026-10-29 22:40:31 +08:00
2026-10-09 23:25:04 +08:00
2026-11-14 19:09:35 +08:00
2026-11-06 10:17:08 +08:00
2026-11-15 08:24:18 +08:00
2026-11-09 19:23:13 +08:00
2026-11-15 11:00:37 +08:00
2026-10-29 15:39:31 +08:00
2026-11-15 11:00:37 +08:00
2026-10-08 16:05:15 +08:00
2026-10-08 16:05:15 +08:00
2026-10-08 16:05:15 +08:00
2026-10-08 16:05:15 +08:00
2026-11-02 03:46:01 +08:00
2026-11-02 03:46:01 +08:00
2026-11-13 23:12:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-11-01 05:23:58 +08:00
2026-10-23 19:03:58 +08:00
2026-11-14 14:02:49 +08:00
2026-11-03 10:39:41 +08:00
2026-10-17 23:11:00 +08:00
2026-10-26 22:42:59 +08:00
2026-11-10 12:54:39 +08:00
2026-10-30 15:53:22 +08:00
2026-11-10 12:54:39 +08:00
2026-10-13 05:57:40 +08:00
2026-11-13 22:46:00 +08:00
2026-11-13 22:46:00 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:11:00 +08:00
2026-10-22 04:32:46 +08:00
2026-10-17 23:11:00 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:10:59 +08:00
2026-11-17 16:00:37 +08:00
2026-11-17 16:00:37 +08:00
2026-11-15 12:14:48 +08:00
2026-11-03 16:26:17 +08:00
2026-10-13 13:59:17 +08:00
2026-11-05 11:44:31 +08:00
2026-10-15 15:55:24 +08:00
2026-10-15 15:55:24 +08:00
2026-10-08 05:57:48 +08:00
2026-10-31 07:26:46 +08:00
2026-10-27 18:45:45 +08:00
2026-10-27 18:45:45 +08:00