yetone
71c4ef2d07
gui: Bark push target for every alert, and a daily spend summary (EV_John_Liu on X)
...
Settings > Usage has a Bark row: a server (default https://api.day.app , or
a self-hosted one) and the device key, then Test and Remove. Every alert
that goes through notifier.sendAs (allowance, balance, reset reminder, task
done, masking, sign-in) is also pushed to Bark when a key is set, whether or
not the system lets this computer notify. A second row, once a key is set,
turns on a daily summary at a time of day: today's cost and request count,
and each window or balance near its cap (the Allowance alert's share, else
80%), capped at 8 lines. It is pushed once a day (a restart does not resend;
a failed push is retried every 15 minutes; one more than 6 hours late is
left), in the page's language (en, zh, zh-TW, ja, de).
The device key is a key: the page only gets barkKeySet, never the key; it has
its own route (POST /api/settings/bark, key omitted keeps it, "" removes it),
a Settings save carries it (settingsapi.Merge), and a backup or sync without
keys leaves it out and keeps this machine's. No log line or error names it
(the Bark client replaces it with "..." in what the server or client says).
bark.js is a lazy module so app.js (budget) gains one line.
Run (mote, at the pushed tree before the rebase onto 6d7862769 ):
- go test ./internal/bark ./internal/settings ./internal/settingsapi
./internal/backup ./internal/davsync ./internal/provider: ok.
- go test -run 'Bark|AlertsGoTo|GitHubToken' ./internal/gui: ok. go vet
darwin, GOOS=linux -tags nogui and GOOS=windows over gui, bark, settings:
clean. gofmt -l: clean.
- GUI: bark.test.cjs (5 languages x 900/380px x chromium/webkit), i18n-keys,
i18n-en-no-cjk, usage-alert: pass. Whole GUI suite started; reds so far are
in account/agent/checkin tests that do not touch Settings or Bark, filed
separately after this tag; old-webkit's Safari 15.0 :has() is #5919 .
- All against fake servers; nothing reaches the network.
Broken by hand, each went red: no barkPush in sendAs
(TestAlertsGoToBark), BarkKeySet forced true / key shown (TestBarkSettingAndTest),
no same-day check in the daily step (TestBarkDailyStep).
Not tried: a real Bark device or the real api.day.app; win-run and wsl-run
(vet only for those OSes); a self-hosted Bark server.
2026-11-11 03:41:37 +08:00
..
2026-11-11 03:41:37 +08:00
2026-10-30 15:00:16 +08:00
2026-10-18 07:13:09 +08:00
2026-11-11 03:41:37 +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-11-06 16:51:15 +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-11-06 16:02:04 +08:00
2026-10-14 17:00:34 +08:00
2026-11-07 04:03:01 +08:00
2026-11-11 03:41:37 +08:00
2026-11-10 19:36:24 +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-10 13:02:57 +08:00
2026-11-10 19:36:24 +08:00
2026-11-02 18:24:38 +08:00
2026-11-10 15:43:41 +08:00
2026-10-13 16:55:27 +08:00
2026-11-11 03:41:37 +08:00
2026-11-11 03:41:37 +08:00
2026-11-11 03:41:37 +08:00
2026-11-10 18:58:03 +08:00
2026-11-09 06:57:40 +08:00
2026-11-06 22:11:02 +08:00
2026-11-09 06:57:40 +08:00
2026-11-09 20:12:30 +08:00
2026-11-09 20:12:30 +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-07 03:21:57 +08:00
2026-11-02 13:53:19 +08:00
2026-11-05 18:28:38 +08:00
2026-11-10 13:12:52 +08:00
2026-10-13 14:40:11 +08:00
2026-11-07 05:16:53 +08:00
2026-11-10 15:56:21 +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-11-09 23:19:14 +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-11-07 04:03:01 +08:00
2026-11-07 20:10:28 +08:00
2026-11-07 20:10:28 +08:00
2026-10-30 16:05:58 +08:00
2026-11-08 18:13:30 +08:00
2026-10-22 19:03:32 +08:00
2026-11-08 22:25:58 +08:00
2026-11-11 02:38:58 +08:00
2026-10-07 03:34:05 +08:00
2026-10-31 04:21:21 +08:00
2026-11-10 13:46:13 +08:00
2026-11-10 13:46:13 +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 22:56:33 +08:00
2026-10-25 19:28:05 +08:00
2026-11-06 22:56:33 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-11-06 17:22:52 +08:00
2026-11-07 20:10:28 +08:00
2026-11-08 22:25:58 +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-10 19:36:24 +08:00
2026-10-15 23:08:05 +08:00
2026-11-04 20:20:41 +08:00
2026-11-06 12:12:20 +08:00
2026-11-10 19:36:24 +08:00
2026-11-10 19:36:24 +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-08 02:08:30 +08:00
2026-11-09 21:51:53 +08:00
2026-10-17 20:38:06 +08:00
2026-11-10 00:13:44 +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-10 03:48:24 +08:00
2026-11-04 05:00:18 +08:00
2026-11-10 02:01:37 +08:00
2026-11-10 18:58:03 +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-08 15:54:52 +08:00
2026-11-06 15:24:18 +08:00
2026-11-10 23:05:47 +08:00
2026-11-10 23:05:47 +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-09 21:51:53 +08:00
2026-11-09 21:51:53 +08:00
2026-11-09 21:51:53 +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
2026-11-06 17:34:48 +08:00
2026-11-06 17:34:48 +08:00
2026-11-06 17:34:48 +08:00
2026-11-06 17:34:48 +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-10 22:42:11 +08:00
2026-11-01 04:46:38 +08:00
2026-11-08 15:27:14 +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
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-11 02:55:15 +08:00
2026-11-10 18:07:05 +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-11-08 19:09:21 +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-07 23:27:42 +08:00
2026-11-07 23:27:42 +08:00
2026-11-10 14:01:23 +08:00
2026-11-10 14:01:23 +08:00
2026-11-10 16:00:30 +08:00
2026-11-10 16:00:30 +08:00
2026-10-31 10:57:56 +08:00
2026-10-31 10:57:56 +08:00
2026-11-10 18:07:05 +08:00
2026-11-10 18:07:05 +08:00
2026-11-10 18:07:05 +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-11-08 19:05:36 +08:00
2026-10-15 23:08:03 +08:00
2026-11-10 17:45:42 +08:00
2026-11-10 17:45:42 +08:00
2026-10-24 05:31:59 +08:00
2026-11-10 14:27:21 +08:00
2026-11-10 14:27:21 +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-11-10 01:17:43 +08:00
2026-10-27 08:29:11 +08:00
2026-11-02 17:19:23 +08:00
2026-11-09 23:19:14 +08:00
2026-11-09 23:19:14 +08:00
2026-11-09 23:19:14 +08:00
2026-11-09 23:19:14 +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-09 23:19:14 +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-10 12:54:39 +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-11-08 11:28:54 +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-10 07:25:54 +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-11-07 17:44:31 +08:00
2026-10-14 23:06:35 +08:00
2026-10-10 19:21:56 +08:00
2026-11-11 02:40:18 +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-11-08 02:13:14 +08:00
2026-10-05 14:26:23 +08:00
2026-11-10 18:07:05 +08:00
2026-11-10 18:07:05 +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-10 19:36:24 +08:00
2026-10-29 06:38:04 +08:00
2026-11-11 03:41:37 +08:00
2026-10-08 05:00:55 +08:00
2026-11-10 12:54:39 +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-10 18:39:20 +08:00
2026-11-10 18:39:20 +08:00
2026-11-10 18:39:20 +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-11-07 21:21:48 +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-11-10 18:01:13 +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-11-08 02:37:09 +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-11-10 20:22:17 +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-11-10 13:58:41 +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-10 18:01:13 +08:00
2026-10-09 13:29:08 +08:00
2026-11-11 02:38:58 +08:00
2026-10-30 15:53:22 +08:00
2026-11-08 15:19:03 +08:00
2026-11-08 15:19:03 +08:00
2026-10-31 01:02:24 +08:00
2026-11-04 20:20:41 +08:00
2026-11-09 18:57:29 +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-10 09:23:47 +08:00
2026-11-10 09:23:47 +08:00
2026-11-09 19:57:10 +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-06 16:02:04 +08:00
2026-11-06 16:02:04 +08:00
2026-11-06 16:02:04 +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-11-07 15:04:26 +08:00
2026-11-07 15:04:26 +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-07 13:54:24 +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-09 21:47:24 +08:00
2026-11-10 11:55:27 +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-11-10 19:36:24 +08:00
2026-11-10 19:36:24 +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-11-10 10:14:55 +08:00
2026-10-24 15:20:37 +08:00
2026-11-06 22:56:33 +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-11-10 11:55:27 +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-07 22:36:03 +08:00
2026-11-03 10:14:23 +08:00
2026-11-03 11:16:02 +08:00
2026-11-10 12:54:39 +08:00
2026-11-03 10:14:23 +08:00
2026-11-10 12:54:39 +08:00
2026-11-01 15:19:32 +08:00
2026-10-31 17:12:16 +08:00
2026-11-08 02:37:09 +08:00
2026-11-06 18:51:39 +08:00
2026-10-29 16:31:37 +08:00
2026-11-07 04:03:01 +08:00
2026-10-15 23:08:00 +08:00
2026-11-08 02:37:09 +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-11-06 23:11:43 +08:00
2026-10-31 00:44:59 +08:00
2026-11-10 21:09:39 +08:00
2026-11-10 18:07:05 +08:00
2026-11-10 21:09:39 +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-11-10 07:53:53 +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-11-07 06:09:42 +08:00
2026-10-13 09:47:08 +08:00
2026-11-08 03:13:15 +08:00
2026-11-08 03:13:15 +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-11-10 21:09:39 +08:00
2026-11-10 21:09:39 +08:00
2026-11-10 21:09:39 +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-11-10 02:01:37 +08:00
2026-11-10 07:37:34 +08:00
2026-10-23 10:54:27 +08:00
2026-11-10 07:37:34 +08:00
2026-11-09 21:51:53 +08:00
2026-11-03 18:34:19 +08:00
2026-10-23 03:08:08 +08:00
2026-11-10 01:17:43 +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-11-06 22:17:04 +08:00
2026-10-14 05:29:30 +08:00
2026-11-10 18:07:05 +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-08 14:13:34 +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