yetone
640825b09a
usage: the Requests card's traffic line reads whole, and a row says how many images went by file
...
matrix0487 on Discord:
- The Requests card's line "↑ 13 GB · ↓ 13 MB · 图片文件省下 44…" was cut
with an ellipsis. It was one nowrap span.
- A row's details say "图片文件省下 10 MB" and should say "10 MB(3 张)".
The card line is now made of whole parts (usageParts, the pattern the
token line has since #2378 ). A card too narrow for all three puts the
saving on a line of its own. A part that is wider than the card by
itself (German at 420 wide) wraps inside itself; it is never cut.
The count:
- withDeepSeekFiles counts the image blocks it puts a file id in place
of, on each try, and upBytes keeps the most of any one try (a retry
sends the same images again, as the saved bytes are counted).
- It goes into usage.Record as `image_files` (omitempty) beside
image_files_saved.
- packedRow keeps Tries and ImageFiles in int16 each (clamped to
MaxInt16), so the row stays 152 bytes. request_snapshot carries the
new field, and heat_disk hashes Tries as before.
- The detail row says "{size} ({n} image|images)": zh "10 MB(3 张)",
zh-TW 張, ja 枚, de "Bild/Bilder", en "image/images".
- A row from before the count was kept has no image_files and shows
the size alone, with no parentheses. The card's period total gets no
count.
Run on mote, at this tree:
- gofmt -l (clean), go vet ./..., GOOS=linux go vet -tags nogui ./...,
GOOS=windows go vet ./..., go build ./...: ok.
- go test -run 'TestRowImageFilesKept|TestRowBytesKept|TestRowsOfOneSession|
TestDeepSeek|Snapshot|Heat' ./internal/usage ./internal/gateway: ok.
- TestRowImageFilesKept: the count survives pack/unpack beside Tries,
100000 clamps to 32767, an old row reads 0, the JSON has
"image_files":3 and leaves out 0, and packedRow is 152 bytes.
- TestDeepSeekImageFilesCountedInRow: two images in one message and
one again in a later message make 3 in the stored row, twice, and a
request with no image makes 0.
- GUI, BROWSER=chromium and webkit: usage-ledger-bytes runs every
language at 1180 and 420. The 3-image and 1-image rows read in each
language's unit, singular in en and de, and the old row stays bare.
The reporter's period (13 GB, 13 MB, 44 MB) at 1180, 760 and 420 has
every part whole and inside its card.
- The 79 usage-*/led* GUI files (concurrency 2): 641 of 659 pass in
chromium and 637 of 654 in webkit. Every red is filed and red on
origin/main d2c29abe7 too (run alone there in chromium, the same 17
subtests): usage-agents-hide (#2276 , #3414 ), usage-fold (#3415 , #2163 ;
in webkit also a timeout in "several accounts"), usage-ledger's
return-to-live (#4078 , #5048 ) and usage-overview-fold (#3947 ).
- Broken by hand, each red:
- The count left out of packedRow: TestRowImageFilesKept.
- The count not kept in withDeepSeekFiles:
TestDeepSeekImageFilesCountedInRow ("0 images by file, want 3").
- The detail's count dropped: usage-ledger-bytes in every language
("expected '10 MB(3 张)', actual '10 MB'").
- The in-part wrap dropped: "de big 420" ("cut: 0,0,0,11").
Not tried: a real DeepSeek account (the count rides the same path as the
saved bytes, which were tried for #5407 ), and Linux WebKitGTK.
Reported-by: matrix0487
2026-11-06 11:46:25 +08:00
..
2026-11-06 11:46:25 +08:00
2026-10-30 15:00:16 +08:00
2026-10-18 07:13:09 +08:00
2026-11-06 11:46:25 +08:00
2026-10-13 09:55:23 +08:00
2026-11-01 03:49:03 +08:00
2026-11-03 14:09:42 +08:00
2026-10-08 19:22:14 +08:00
2026-10-30 18:03:55 +08:00
2026-10-07 03:34:05 +08:00
2026-11-03 18:23:13 +08:00
2026-10-12 01:29:57 +08:00
2026-10-09 08:50:14 +08:00
2026-10-06 00:31:46 +08:00
2026-10-11 02:34:30 +08:00
2026-11-01 01:56:48 +08:00
2026-10-14 20:01:06 +08:00
2026-10-31 19:35:16 +08:00
2026-10-14 17:00:34 +08:00
2026-10-31 10:33:50 +08:00
2026-11-05 17:24:53 +08:00
2026-11-04 00:22:54 +08:00
2026-10-13 09:55:23 +08:00
2026-10-27 18:58:16 +08:00
2026-10-27 18:58:16 +08:00
2026-10-24 21:01:18 +08:00
2026-10-24 21:01:18 +08:00
2026-10-05 14:37:44 +08:00
2026-10-05 14:37:44 +08:00
2026-11-04 20:20:41 +08:00
2026-11-01 11:43:56 +08:00
2026-11-02 18:24:38 +08:00
2026-11-03 17:24:19 +08:00
2026-10-13 16:55:27 +08:00
2026-11-03 23:48:36 +08:00
2026-10-28 22:26:02 +08:00
2026-10-17 22:54:38 +08:00
2026-10-25 05:54:07 +08:00
2026-10-16 00:16:43 +08:00
2026-10-25 01:23:42 +08:00
2026-11-02 13:53:19 +08:00
2026-11-05 18:28:38 +08:00
2026-11-05 18:28:38 +08:00
2026-10-13 14:40:11 +08:00
2026-11-02 05:37:32 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 12:11:23 +08:00
2026-10-26 15:35:12 +08:00
2026-11-01 21:19:22 +08:00
2026-10-10 22:36:28 +08:00
2026-10-27 15:30:31 +08:00
2026-10-31 09:17:24 +08:00
2026-10-29 22:10:21 +08:00
2026-10-29 22:10:21 +08:00
2026-11-03 13:34:35 +08:00
2026-11-03 13:34:35 +08:00
2026-10-30 13:23:19 +08:00
2026-10-30 16:05:58 +08:00
2026-10-22 19:03:32 +08:00
2026-11-05 17:25:26 +08:00
2026-11-04 23:17:05 +08:00
2026-10-07 03:34:05 +08:00
2026-10-31 04:21:21 +08:00
2026-10-13 07:14:22 +08:00
2026-11-01 16:43:21 +08:00
2026-10-17 05:33:18 +08:00
2026-10-14 08:36:07 +08:00
2026-10-13 05:34:13 +08:00
2026-10-12 22:51:53 +08:00
2026-10-29 20:53:36 +08:00
2026-10-12 00:57:27 +08:00
2026-10-12 00:57:27 +08:00
2026-11-06 10:44:24 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-11-05 00:11:02 +08:00
2026-10-14 13:31:10 +08:00
2026-11-01 17:28:15 +08:00
2026-11-01 17:28:15 +08:00
2026-10-25 19:28:05 +08:00
2026-11-04 04:47:02 +08:00
2026-11-04 04:47:02 +08:00
2026-10-09 12:10:04 +08:00
2026-10-09 12:10:04 +08:00
2026-10-09 12:10:04 +08:00
2026-10-09 12:10:04 +08:00
2026-10-06 19:32:56 +08:00
2026-11-04 20:20:41 +08:00
2026-10-28 12:25:39 +08:00
gui, proc: the Gateway card quits an older magpie serving the gateway and takes it over, or restarts the gateway (leslie_luo on Discord) — the card said an older magpie served the gateway and to quit it, with no way to tell which process that was. With an older magpie on the port it now has "Quit magpie {v} and take over": the process listening on the gateway's port is found (lsof on a Mac, /proc on Linux, Get-NetTCPConnection on Windows), its program path checked to be magpie's (magpie, magpie-*, dial, .exe/.old), asked to quit (SIGTERM, then SIGKILL after 5 s; TerminateProcess on Windows) and this magpie serves the gateway at once instead of within 15 s. Otherwise the card has "Restart gateway" ("Start gateway" when none runs); a magpie of this version or newer gets no button. Anything else on the port is never ended: a program that isn't magpie, one of another user or an administrator, one that won't quit, or a magpie a LaunchAgent/systemd unit/scheduled task starts again is said under the button with its path and pid, in en/zh/ja/de. TestGatewayFixQuitsOnlyAMagpie (copies of the test binary on a port of its own: one named other-server answering as magpie is left running, one named magpie is quit and the gateway is served here, then restarted) and gateway-takeover.test.cjs (WebKit and Chromium, en and zh, no scroll, no left border) fail without the change; TestListeningOn/TestIsMagpie pass on macOS and in a Linux container. go vet, go build (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui ./... under a temp HOME pass.
2026-10-05 15:05:31 +08:00
2026-10-17 17:45:57 +08:00
2026-10-05 22:20:45 +08:00
2026-10-31 09:41:13 +08:00
2026-10-30 19:12:35 +08:00
2026-11-01 11:43:56 +08:00
2026-11-01 11:43:56 +08:00
2026-11-01 11:43:56 +08:00
2026-11-01 11:43:56 +08:00
2026-11-04 23:55:14 +08:00
2026-11-04 23:55:14 +08:00
2026-10-15 23:08:05 +08:00
2026-11-04 20:20:41 +08:00
2026-11-04 20:20:41 +08:00
2026-11-03 02:37:56 +08:00
2026-10-28 03:50:46 +08:00
2026-10-15 00:34:14 +08:00
2026-10-15 00:34:14 +08:00
2026-10-10 15:08:14 +08:00
2026-11-03 11:57:11 +08:00
2026-10-17 20:38:06 +08:00
2026-11-02 14:13:52 +08:00
2026-10-28 17:34:16 +08:00
2026-10-11 18:57:48 +08:00
2026-10-09 11:10:12 +08:00
2026-10-11 10:33:45 +08:00
2026-10-29 23:36:58 +08:00
2026-11-04 05:00:18 +08:00
2026-10-31 00:57:21 +08:00
2026-11-04 05:00:18 +08:00
2026-10-31 15:56:40 +08:00
2026-11-03 11:16:02 +08:00
2026-11-03 11:16:02 +08:00
2026-10-31 12:44:16 +08:00
2026-11-01 14:33:24 +08:00
2026-10-17 05:33:18 +08:00
2026-11-01 11:02:56 +08:00
2026-11-06 08:01:14 +08:00
2026-11-05 19:56:08 +08:00
2026-10-29 15:50:37 +08:00
2026-10-29 15:50:37 +08:00
2026-10-15 19:20:09 +08:00
2026-11-02 11:09:11 +08:00
2026-10-15 23:08:05 +08:00
gui: every installed magpie on a config is one at a time, so a Mac restart can't put two birds in the menu bar (inaction on Discord) — the lock that keeps a second magpie from running (v0.1.879) was keyed by the config dir and the resolved executable, so two copies of the app each took their own: Open at login starting the copy it was turned on for while the Mac reopened the one last run (another magpie.app, or one run translocated from Downloads, whose path changes each launch), or Homebrew's, whose path has its version in it. Every magpie.app and Homebrew copy now shares the lock; a bare binary elsewhere (the owner's magpie-dev) still has its own. A second launch for the window opens the app by its bundle id (com.yetone.magpie) rather than its own path, so it reaches the running copy. TestOneMagpieAtATime fails without the change (the translocated and Homebrew copies had locks of their own). go vet, go build (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui ./... under a temp HOME pass (TestProvidersAnswerWhileListsComeIn and TestUserPath timed out under load and pass alone).
2026-10-05 16:59:33 +08:00
gui: every installed magpie on a config is one at a time, so a Mac restart can't put two birds in the menu bar (inaction on Discord) — the lock that keeps a second magpie from running (v0.1.879) was keyed by the config dir and the resolved executable, so two copies of the app each took their own: Open at login starting the copy it was turned on for while the Mac reopened the one last run (another magpie.app, or one run translocated from Downloads, whose path changes each launch), or Homebrew's, whose path has its version in it. Every magpie.app and Homebrew copy now shares the lock; a bare binary elsewhere (the owner's magpie-dev) still has its own. A second launch for the window opens the app by its bundle id (com.yetone.magpie) rather than its own path, so it reaches the running copy. TestOneMagpieAtATime fails without the change (the translocated and Homebrew copies had locks of their own). go vet, go build (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui ./... under a temp HOME pass (TestProvidersAnswerWhileListsComeIn and TestUserPath timed out under load and pass alone).
2026-10-05 16:59:33 +08:00
2026-10-24 02:20:38 +08:00
2026-10-24 02:20:38 +08:00
2026-10-13 02:14:10 +08:00
2026-11-01 04:46:38 +08:00
2026-10-13 07:30:06 +08:00
2026-10-13 07:30:06 +08:00
2026-10-10 20:00:38 +08:00
gui: many keys are added to a provider at once, and a key the gateway rests says why and until when on its row (361 on Discord: 密钥比较多的话,需要批量导入的话就不方便了) — a provider with several keys took them one at a time, each pasted into Add another key's field. Add another key now has Paste several, a box that takes any number of keys, one a line or separated by commas, semicolons or spaces (full-width ones too), quotes trimmed, repeats counted once, and says how many it holds; Add (or Cmd/Ctrl+Enter) posts keys/import, which adds the ones the provider hasn't got in order (the first becomes its key when it has none) and saves once, and the note says N keys added, M already there. Pasting several keys into the one key's field opens the box with them. Each key's row in the editor, when the gateway is passing it over (rate limited, out of credit, refused…), says Resting · 429 rate limited · back at 14:05, from the same rests the Routing page counts; rotation order and failover were there already (routing modes, rests). zh, ja, de strings. TestSplitKeys, TestAddKeys, TestKeysImportAndRest (no raw key in the reply) fail on the old code (don't build); key-import.test.cjs (WebKit, en and zh: the box, its count, the post, the note, a paste opening it, the rest line, no scroll on a click) fails 4 of 4 on the old assets. account-models, account-arrange, account-return and click-scroll pass on WebKit. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass (TestDevinSignedInOnlyInMagpie and TestClientGoneRecordedAsCanceled timed out once each under load and pass on their own).
2026-10-05 07:54:16 +08:00
2026-10-05 21:44:15 +08:00
2026-11-01 07:39:08 +08:00
2026-10-30 15:26:03 +08:00
2026-11-01 09:04:26 +08:00
2026-11-01 01:28:58 +08:00
2026-10-11 01:49:47 +08:00
2026-11-01 11:43:56 +08:00
2026-11-04 21:00:51 +08:00
2026-10-29 03:17:58 +08:00
2026-10-12 00:10:59 +08:00
2026-10-11 20:10:05 +08:00
2026-11-04 21:18:56 +08:00
2026-11-04 16:32:55 +08:00
2026-10-25 14:00:59 +08:00
2026-10-17 05:33:18 +08:00
2026-10-20 01:25:47 +08:00
2026-10-31 00:44:59 +08:00
2026-10-29 09:24:31 +08:00
2026-10-20 02:29:39 +08:00
2026-11-01 17:28:30 +08:00
2026-11-01 17:28:30 +08:00
2026-10-16 08:43:02 +08:00
2026-10-29 06:38:04 +08:00
2026-10-29 06:38:04 +08:00
2026-11-04 20:20:41 +08:00
2026-10-26 22:50:37 +08:00
2026-10-31 10:57:56 +08:00
2026-10-31 10:57:56 +08:00
2026-11-01 01:56:48 +08:00
2026-11-02 03:40:03 +08:00
2026-11-03 05:21:47 +08:00
2026-10-10 01:30:29 +08:00
2026-10-15 23:08:03 +08:00
2026-10-24 05:31:59 +08:00
2026-11-04 20:20:41 +08:00
2026-10-07 03:00:47 +08:00
2026-10-07 00:16:02 +08:00
2026-10-30 11:54:46 +08:00
2026-10-27 08:29:11 +08:00
2026-11-02 17:19:23 +08:00
2026-10-31 22:39:37 +08:00
2026-11-02 15:27:15 +08:00
2026-11-02 15:27:15 +08:00
2026-10-12 01:45:14 +08:00
2026-10-15 23:08:00 +08:00
2026-10-16 15:40:38 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-11-04 00:22:54 +08:00
2026-11-04 00:22:54 +08:00
2026-10-22 20:50:59 +08:00
2026-10-14 08:50:41 +08:00
2026-10-19 12:42:48 +08:00
2026-11-02 15:27:15 +08:00
2026-10-18 07:13:09 +08:00
2026-11-02 15:27:15 +08:00
2026-11-02 15:27:15 +08:00
2026-11-02 15:27:15 +08:00
2026-11-05 11:45:44 +08:00
2026-10-13 14:29:52 +08:00
2026-11-01 22:14:19 +08:00
2026-10-24 22:31:59 +08:00
2026-10-13 14:29:52 +08:00
2026-10-14 04:22:19 +08:00
2026-10-12 19:38:20 +08:00
2026-10-31 18:30:39 +08:00
2026-10-10 23:57:56 +08:00
2026-10-30 15:42:29 +08:00
2026-10-27 23:37:46 +08:00
2026-11-05 11:45:44 +08:00
2026-10-05 17:25:15 +08:00
2026-11-04 23:55:14 +08:00
2026-10-30 18:55:51 +08:00
2026-11-04 20:20:41 +08:00
2026-10-28 16:55:24 +08:00
2026-10-12 19:14:54 +08:00
2026-11-02 18:37:25 +08:00
2026-10-14 16:40:23 +08:00
2026-10-07 06:14:20 +08:00
2026-10-11 22:41:11 +08:00
2026-11-01 09:14:11 +08:00
2026-11-01 06:01:05 +08:00
2026-10-15 05:20:17 +08:00
2026-10-27 02:26:27 +08:00
2026-10-30 04:48:17 +08:00
2026-10-07 06:14:20 +08:00
2026-10-12 23:45:06 +08:00
2026-11-04 21:21:32 +08:00
2026-10-12 23:45:06 +08:00
2026-10-17 13:11:43 +08:00
2026-10-25 04:12:06 +08:00
2026-10-09 02:20:30 +08:00
2026-11-05 18:31:22 +08:00
2026-10-06 16:02:03 +08:00
2026-11-06 05:21:05 +08:00
2026-11-03 17:00:38 +08:00
2026-10-16 22:58:40 +08:00
2026-10-23 03:35:27 +08:00
2026-11-01 03:07:06 +08:00
2026-10-15 23:08:02 +08:00
2026-10-14 23:06:35 +08:00
2026-10-10 19:21:56 +08:00
2026-11-06 10:17:08 +08:00
2026-11-01 09:14:11 +08:00
2026-11-01 09:04:26 +08:00
2026-10-23 02:39:33 +08:00
2026-10-15 23:08:05 +08:00
2026-10-15 23:08:05 +08:00
2026-10-11 11:04:21 +08:00
2026-10-05 14:26:23 +08:00
2026-10-31 15:56:40 +08:00
2026-10-31 15:56:40 +08:00
2026-11-02 18:53:07 +08:00
2026-11-01 21:16:35 +08:00
2026-11-04 20:20:41 +08:00
2026-11-02 18:53:07 +08:00
2026-10-29 06:38:04 +08:00
2026-11-03 11:16:02 +08:00
2026-10-08 05:00:55 +08:00
2026-10-31 01:01:49 +08:00
2026-10-15 23:08:00 +08:00
2026-10-14 05:22:40 +08:00
2026-11-01 09:14:11 +08:00
2026-11-01 09:14:11 +08:00
2026-11-03 02:25:23 +08:00
2026-10-10 11:29:03 +08:00
2026-10-30 00:46:45 +08:00
2026-10-11 12:41:00 +08:00
2026-11-03 14:16:20 +08:00
2026-11-01 17:28:15 +08:00
2026-11-01 17:28:15 +08:00
2026-11-01 17:28:15 +08:00
2026-10-16 07:23:55 +08:00
2026-10-05 21:42:15 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-10-15 23:08:00 +08:00
2026-11-05 12:40:35 +08:00
2026-11-01 14:43:18 +08:00
2026-11-04 19:43:00 +08:00
2026-10-28 22:48:07 +08:00
2026-10-14 22:45:40 +08:00
2026-10-15 05:10:28 +08:00
2026-10-29 06:30:58 +08:00
2026-10-14 22:45:40 +08:00
2026-10-16 05:10:43 +08:00
2026-10-10 09:53:38 +08:00
2026-10-11 01:13:52 +08:00
2026-11-04 20:20:41 +08:00
2026-11-02 17:19:23 +08:00
2026-11-01 15:27:49 +08:00
2026-10-07 00:16:13 +08:00
2026-10-19 03:57:52 +08:00
2026-10-29 23:56:05 +08:00
2026-10-15 09:40:51 +08:00
2026-10-29 23:56:05 +08:00
2026-11-04 20:20:41 +08:00
2026-10-13 13:02:09 +08:00
2026-10-27 06:18:24 +08:00
2026-10-12 22:29:46 +08:00
2026-10-12 23:33:56 +08:00
2026-10-30 08:32:57 +08:00
2026-10-15 08:23:54 +08:00
2026-10-22 00:04:28 +08:00
2026-11-03 08:54:40 +08:00
2026-11-03 10:50:30 +08:00
2026-10-09 13:29:08 +08:00
2026-11-04 21:00:51 +08:00
2026-10-30 15:53:22 +08:00
2026-10-31 01:02:24 +08:00
2026-11-04 20:20:41 +08:00
2026-10-08 16:38:14 +08:00
2026-10-16 15:40:38 +08:00
2026-10-09 12:59:29 +08:00
2026-10-29 17:09:13 +08:00
2026-11-03 05:21:47 +08:00
2026-11-01 09:14:11 +08:00
2026-11-01 05:12:20 +08:00
2026-11-01 09:14:11 +08:00
2026-10-15 23:08:04 +08:00
2026-10-14 08:32:40 +08:00
2026-10-31 21:38:56 +08:00
2026-10-31 19:35:16 +08:00
2026-11-01 14:39:13 +08:00
2026-11-01 14:39:13 +08:00
2026-10-31 00:08:29 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-08 18:16:03 +08:00
2026-10-13 09:55:23 +08:00
2026-11-05 17:25:26 +08:00
2026-10-19 23:19:24 +08:00
2026-10-30 13:23:19 +08:00
2026-10-31 11:29:38 +08:00
2026-10-30 15:53:22 +08:00
2026-11-05 17:25:26 +08:00
2026-10-12 05:21:23 +08:00
2026-10-12 05:21:23 +08:00
2026-11-03 20:54:01 +08:00
2026-11-03 20:54:01 +08:00
2026-11-01 11:02:56 +08:00
2026-11-01 11:02:56 +08:00
2026-11-03 10:14:23 +08:00
2026-10-31 22:29:48 +08:00
2026-11-06 10:44:24 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-08 05:00:55 +08:00
2026-11-03 10:14:23 +08:00
2026-11-01 21:31:55 +08:00
2026-11-03 10:14:23 +08:00
2026-11-01 21:31:55 +08:00
2026-11-01 21:31:55 +08:00
2026-10-31 16:53:00 +08:00
2026-10-24 15:20:37 +08:00
2026-10-31 16:53:00 +08:00
2026-10-31 16:53:00 +08:00
2026-10-15 23:08:01 +08:00
2026-11-03 10:14:23 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 23:08:01 +08:00
2026-11-03 15:21:17 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-11-03 10:14:23 +08:00
2026-10-14 13:02:48 +08:00
2026-10-12 01:45:14 +08:00
2026-11-03 10:14:23 +08:00
2026-10-14 13:02:48 +08:00
2026-11-03 10:14:23 +08:00
2026-10-14 13:02:48 +08:00
2026-11-03 10:14:23 +08:00
2026-11-03 11:16:02 +08:00
2026-11-03 11:38:09 +08:00
2026-11-03 10:14:23 +08:00
2026-11-03 11:38:09 +08:00
2026-11-01 15:19:32 +08:00
2026-10-31 17:12:16 +08:00
2026-10-29 16:31:37 +08:00
2026-10-15 23:08:00 +08:00
2026-11-04 16:17:47 +08:00
2026-10-11 21:59:10 +08:00
2026-10-11 21:59:10 +08:00
2026-10-29 17:47:30 +08:00
2026-10-29 17:47:30 +08:00
2026-10-31 21:00:55 +08:00
2026-10-31 00:44:59 +08:00
2026-10-14 15:19:14 +08:00
2026-11-01 09:14:11 +08:00
2026-11-04 06:59:29 +08:00
update, gui: a new version Windows won't start is never left in place — tried before it goes in, and a restart into one that doesn't say it is up puts the running one back; that version isn't downloaded again by the clock, and Settings › About › Version says why ( #894 , hisiling) — on Windows 11 with Smart App Control on, the update put the new unsigned exe in place of the running one and restarted into it; CodeIntegrity (3033/3077) refused it, magpie never started again and the working version sat in .old. Now, on Windows, the downloaded exe is first started suspended with no window and ended at once (Windows checks a program when its process is created), and one refused stays out: the running exe isn't moved. At the restart the new process is given MAGPIE_STARTED, a file it writes first thing (AwaitPredecessor); the old one waits up to 20s for it and, if the start fails (ERROR_SYSTEM_INTEGRITY_POLICY_VIOLATION 4551, 1260 or any other), the new process quits before saying so, or it says nothing in time (then it is ended), puts the running exe back over the new one (the new one renamed .blocked if it can't go) and keeps running instead of quitting; nothing notes it as updated in the app. The version is noted in the config folder (update-blocked.json, this machine's only, never synced; gone once a version at least as new runs); the clock's checks leave it alone and show why, a Check clicked downloads and tries it once more. Settings › About › Version: for an application control policy, "0.1.x didn't start on this computer: Windows' Smart App Control (or another app control policy) blocked the new version, which isn't signed. magpie stays on 0.1.y. Download it and run it yourself, or turn Smart App Control off and check again", else the reason, with Download and Check; the error in full on hover. en/zh/ja/de. A user who double-clicks the refused exe is refused by Windows before magpie runs; only signing helps there. TestRelaunchRefusedPutsBack (4551 at the start), TestRelaunchSilentPutsBack (no word in time, killed; quit at once), TestRelaunchReportedStays, TestReportStarted, TestBlockedNote and TestUpdateThatWontStart (the restart doesn't quit, the note, the clock not downloading it again, a Check that does) are new and fail without the change; on Windows TestInstallBinaryRefusedStaysOut, TestTrialStart and TestStartCheckedPutsBackForReal (real processes: not a program, quits at once, runs on silent) pass on the Windows 11 test box with the whole internal/update package (Smart App Control itself isn't on there, so the refusal is simulated). update-blocked.test.cjs (Chromium and WebKit, en and zh: the reason and both versions, full error on hover, Download opens the release, Check downloads, the other reason, no select, no scroll, no left border) fails without the change; update-check, update-mirror, update-auto, update-wait and update-download-percent pass in WebKit; click-scroll's request-list case fails now and then the same on main. go vet, go build (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui ./... under a temp HOME pass.
2026-10-05 19:43:31 +08:00
2026-10-29 18:55:42 +08:00
2026-10-09 10:43:14 +08:00
2026-10-15 23:08:03 +08:00
2026-11-04 06:59:29 +08:00
2026-10-28 23:22:14 +08:00
2026-10-27 01:37:04 +08:00
2026-10-28 23:22:14 +08:00
2026-10-31 17:28:37 +08:00
2026-10-09 10:43:14 +08:00
2026-10-13 09:47:08 +08:00
2026-10-25 18:22:13 +08:00
2026-10-08 17:35:30 +08:00
2026-10-28 23:22:14 +08:00
2026-10-28 23:22:14 +08:00
2026-11-04 06:59:29 +08:00
2026-11-04 06:59:29 +08:00
upstream: the vendors' own status pages say when their API is down ( #971 , emo172: an Anthropic or OpenAI outage looked like a sign-in or quota problem) — a provider that calls Anthropic's, OpenAI's or Moonshot's API (by its base URL's host: api.anthropic.com, which the Claude subscription calls too; api.openai.com and chatgpt.com, Codex's; api.moonshot.cn/.ai) carries "API outage" (red), "API degraded" or "API maintenance" beside its name on its Providers row and its Usage card while the vendor's page says so; its title names the parts and the open incidents, and a click opens the incident (or the page), not the row. internal/upstream reads each page's Statuspage-style summary.json (status.claude.com; status.openai.com, incident.io's; status.moonshot.cn), checked by hand on 2026-10-06, and only the API's own parts (Claude API and Claude Code, not claude.ai; Chat Completions, Responses, Codex, Codex CLI, not "Codex in ChatGPT Desktop", which was degraded that day); an incident naming no parts (OpenAI's) counts only while those parts are affected. Pages are read only when the Providers or Usage page asks (GET /api/upstream), at most once in five minutes, never on a request's way; a page that fails, isn't JSON or no longer lists the API's parts is unknown and marks nothing. A relay serving the same models is never marked. DeepSeek's page (Flashduty) has nothing readable and is only known for its link; OpenRouter, xAI, Mistral and z.ai have no page read. The gateway's failure messages, TUI, CLI and tray aren't changed. zh/ja/de added. upstream_test (fake pages from the real summaries: API down, claude.ai down isn't the API, Claude Code degraded, OpenAI's app isn't the API, 503/HTML/changed page unknown, read once in Fresh and Of never waits, hosts; -race -count=5) and gui's TestUpstreamRoute pass; upstream-status (Anthropic down: its provider and the Claude subscription marked, relay/OpenAI/unread Moonshot not, click opens the incident not the row, all well marks nothing; 900 and 440px, the badge whole, the name giving way) passes in Chromium and WebKit, en and zh, and fails 8/8 without the app.js change. i18n-keys, gui-ja, gui-de, click-scroll, account-return, account-models, usage-keys-fold, deprecated-subscriptions and add-sheet pass; go vet, go test ./internal/gui/, linux/windows/nogui builds pass.
2026-10-06 12:36:05 +08:00
2026-10-29 18:52:05 +08:00
2026-10-28 21:13:09 +08:00
2026-10-15 04:21:31 +08:00
2026-10-28 11:15:57 +08:00
2026-10-07 02:14:29 +08:00
2026-10-14 15:26:28 +08:00
2026-10-23 10:54:27 +08:00
2026-11-06 00:35:39 +08:00
2026-11-03 18:34:19 +08:00
2026-10-23 03:08:08 +08:00
2026-11-01 08:49:18 +08:00
2026-10-28 13:51:37 +08:00
2026-10-29 15:39:31 +08:00
2026-11-01 15:33:35 +08:00
2026-11-04 20:20:41 +08:00
2026-11-04 20:20:41 +08:00
2026-10-28 19:54:53 +08:00
2026-10-27 15:15:29 +08:00
2026-10-14 05:29:30 +08:00
2026-11-03 17:58:31 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 15:25:53 +08:00
2026-11-04 20:20:41 +08:00
2026-10-19 07:23:04 +08:00
2026-10-12 22:03:29 +08:00
2026-10-13 09:50:04 +08:00
2026-10-12 22:03:29 +08:00
2026-10-12 22:03:29 +08:00
2026-10-19 07:23:04 +08:00
2026-10-25 01:46:55 +08:00
2026-11-02 16:14:22 +08:00
2026-10-24 22:54:36 +08:00
2026-11-03 06:35:33 +08:00
2026-10-16 20:05:11 +08:00
2026-10-30 21:56:29 +08:00
2026-10-30 21:56:29 +08:00
2026-10-09 23:07:44 +08:00
2026-11-05 01:37:29 +08:00
2026-11-01 17:28:30 +08:00
2026-11-04 16:32:55 +08:00
2026-11-01 11:02:56 +08:00
2026-11-01 14:26:03 +08:00
2026-10-12 23:16:54 +08:00
2026-11-04 05:00:18 +08:00
2026-10-15 00:34:14 +08:00
2026-10-31 10:57:56 +08:00