ac4af582301a4e8a29245dbba767eba31334ddf9
7089
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
19fafad16f |
provider: a test holds a plugin model and a group of it to one window (#3654)
mycf_711 (#3654) saw loomy/DeepSeek-V4.1-Flash told 1000000 (the "*"
window typed on the provider) and its group told 1048576 (the plugin's
declaration), and dsh then sent two histories in one request.
On main the member's entry is already the typed window (WindowOf, since
#2112 and
|
||
|
|
8fff54dab7 |
routing: a group in a group left on Smart is routed as the outer one (#3847)
mycf_711 (#3847): an outer group set to Free first held a group whose routing was left blank (Smart); the inner group's free seat was tried after its paid one, as if Free first stopped at the inner group. provider.Group.Within: in membersOff's walk, a nested group with no routing of its own takes the outer group's when the outer one pools its members (Smart, Free first, Fastest, ... ; not In order, By weight or Manual, which try each member whole by its own order, #576). A group that sets a routing keeps it. The gateway, the trace's Subs and the Routing page all read membersOff, so they agree; GROUP_NEST's help sentence says so (zh, zh-TW, ja, de). Run (mote): go test -tags nogui -run 'FreeFirst|Group' ./internal/gateway ./internal/provider ok; GOOS=linux and GOOS=windows go vet -tags nogui on both packages ok; go build -tags nogui ./... ok; gofmt -l clean. Broken by hand: without the Within call TestFreeFirstReachesAGroupInItLeftOnTheDefault is red (paid seat first), green with it. Not tried: the reporter's own groups in the real app. |
||
|
|
e4ccf67b11 |
plugin: GitHub's search gets 60s a page, and a mirror is asked without the token (#3923)
MYCF711 (#3923) measured a page of GitHub's search from mainland China: 29-36s straight to api.github.com, 3-7s through gh-proxy. The Plugins page's GitHub list was empty there, for two reasons: - askTagged's taggedWait (8s) bounded the search pages as well as the wait for the repositories' reads. The first page timed out, the ask failed whole, and nothing was cached. Each search page now has its own taggedSearch (60s). taggedWait starts after the search and bounds only the reads, as before. Through a mirror, candidateContext gives the official address half of the 60s and the mirror the rest. - source.Do never used a mirror for a request carrying Authorization, and ghtoken sets it on every api.github.com request when a GitHub token is set. With a token in Settings, MAGPIE_MIRRORS did nothing. A request to a GitHub host whose only credential is Authorization (bare) now goes to the official address with the token and to the mirror without it. A cookie, a key header, a token in the query, URL userinfo, or any other host still keeps the request official. The caller's request keeps its header. - ghtoken.Do now reads who answered from resp.Request: a mirror's answer to the bare request doesn't count as carrying the token, and a 401 from a mirror doesn't mark the token refused. Tests: - TestTaggedReposSlowSearch: a search answering after 3x taggedWait still lists; one that never answers fails at taggedSearch. - TestDoKeepsCredentialsOfficial, rewritten to the new contract: the official address gets the token, the mirror gets none, and the caller's request is unchanged. Cookie, query token and npm still stay official. - TestMirrorAnswerIsNotTheToken (ghtoken). Run on mote: - go test -tags nogui -count=1 ./internal/source ./internal/ghtoken ./internal/plugin ./internal/library: all ok. - Broken by hand: with the old source.go, ghtoken.go and github.go, all three tests went red ("requests = [https://api.github.com/repos/o/r]"; "token=true"; "context deadline exceeded" at taggedWait). - Locally: gofmt -l clean; go vet for linux and windows on the three packages; go build -tags nogui ./... Not tried: - The real network from mainland China. - A live gh-proxy answer to an anonymous api.github.com search. - Not changed: the mirror for api.github.com still waits for MAGPIE_MIRRORS. Without it, the 60s alone covers the ~30s page. - No GUI file was run: the page's fixtures fake /api/plugins/github, and nothing in the window changed. Reported by MYCF711. |
||
|
|
dc1af8231b |
ghtoken: a Settings token GitHub refuses is said, and requests go without one (#3926)
A GitHub token in Settings → Network and sharing that GitHub refused (401, expired or revoked) failed every plugin and skill check, so a stale token was worse than none. Now it is treated as an environment token already was: the request is asked again without it, the token isn't sent again while magpie runs or until the field changes, and the anonymous answer (60 an hour) is the one taken. This overturns the package comment and TestSettingsTokenRefusedStaysAnError: the token being the user's choice is a reason to tell them, not to fail the check. The page stays honest about it: - Settings › Network and sharing still shows the token, masked, with Remove, and says in red that GitHub refused it and requests go without one until it is replaced (/api/settings githubTokenRefused). Before, a refused token simply read as none being set. - After a Settings token's refusal requests go anonymous, not with GITHUB_TOKEN/GH_TOKEN: the user put the Settings one ahead of those, and the page says "without one". Patch by MYCF711 (fix/settings-token-fallback, 7d93f1b5): the ghtoken change and its tests. Changed from it: the notice is in Settings' row, where the token lives, instead of the patch's Plugins page note, which cost ~630 bytes of core script the budget (28 bytes of room at |
||
|
|
c544789047 |
agent, gui: the Codex takeover names browser use and offers Keep on ChatGPT
eddie.zhan on Discord (10-27): once Codex's allowance ran out, magpie
took it over and "many features stop working, browser use is blocked,
the agent says it has no permission".
Cause, from openai/codex 5a361b5: under the takeover magpie is Codex's
model provider without requires_openai_auth, so app-server's
getAuthStatus hands the app no auth token. The Codex app's Chrome
control needs that token, so browser use is off till the reset, with
cloud tasks, the usage meter and Log out. Image generation (actor
authorization header) and web search (provider default) stay. Bringing
requires_openai_auth back would bring back the greyed Send the takeover
exists to avoid, so it can't be kept by config.
The off switch existed (sign-in > Always ChatGPT, `magpie codex login
chatgpt`) but nothing under the takeover pointed to it. The default is
kept; the opened Codex row's takeover note now names browser use and has
a Keep on ChatGPT button (login=chatgpt) on its own line. In every
language.
Also fixed: Always ChatGPT picked while Codex was taken over on one of
its own models left model_provider = "magpie" for good. set now puts it
back on the sign-in as Join leaves it.
Run (on mote, at this tree):
- go test ./internal/agent ./internal/gui: ok except
TestWSLColdPlaceOpensNothing (#3924) and TestMainWindowCorners/macOS_26
(#2645), both red on origin/main
|
||
|
|
74dcf40aac |
provider: WorkBuddy's mover asks plugin 0.1.40, which sends the current desktop client's headers
WorkBuddy accounts used through magpie are being restricted, and a report on X says WorkBuddy changed how it checks request-header fingerprints. The plugin sent WorkBuddy/5.5.6 as its User-Agent and IDE version. Each build's current desktop app (China 5.9.3 with CLI 2.165.0, WorkBuddy AI 5.8.4 with CLI 2.161.0, read from their update feeds, never run) sends "WorkBuddy/<app> <appName>/<app> CLI/<cli>", the app's version as X-IDE-Version, X-Agent-Type on both builds, X-Agent-Runtime: local-agent on 5.9, and the OpenAI SDK's X-Stainless-* headers. Plugin 0.1.40 (magpie-community/plugins b2fe48e) sends them; npm view --prefer-online gives 0.1.40. keepMovedCurrent brings every moved user up to it. Run at |
||
|
|
f2b4b98948 |
routing: a pool's account list is the name's tooltip, not the row's (#3785)
renderPools set the account list (p.who) as the title of the whole .rt-pool row, so the Routing and Stays segment buttons, which carry no title of their own, inherited it: hovering either showed the account names instead of nothing about the button. The title now sits on the name cell (nm.title), the element that names what the accounts are behind. The text is unchanged. Patch by skygunner (fix/3785-pool-tooltip, a5f315a3), with only the code comment reworded; MYCF711 found the bug and withdrew their own copy for this one. Run at this commit's tree (base |
||
|
|
c2e3a057e9 |
provider: a pool's weekly window is reminded of its renewal too, as the alerts tell of it
What changed:
- dueReminders skipped every aside window, so an Antigravity account's
pool weekly ones ("Gemini · 7 days", aside since g.pools began) were
never reminded of their renewal, though #523 told the usage alerts of
exactly those: toldAside is that exemption now, shared by both, so a
week that renews with much of it left is said, and the pools' 5-hour
asides and the rest stay untold (a 5-hour window renews too often to
be news, #720).
Run:
- TestDueRemindersPoolWeekly is new: on the old condition it fails with
"got []", the account's 7-day pool at 40% renewing in 20h saying
nothing; with the change it is told once, its 5-hour pool still says
nothing, and a nearly spent week still does. TestDueAlertsPoolWindows
and TestDueReminders pass unchanged.
- go test -tags nogui -count=1 ./internal/provider passes; gofmt -l is
clean; go vet -tags nogui passes on darwin and GOOS=linux and
GOOS=windows; the three platforms' builds pass.
Reported by gua2100 (ggbdpq) on GitHub, #2197; the patch is theirs.
Run at this head on mote (review):
- go test -tags nogui -count=1 ./internal/provider ok, with the known
reds #3632 (TestUnreadLoginsWriteErrorsKeepCredentials) and #3854
(three TestFetch* tests) skipped.
- go vet -tags nogui ./internal/provider on darwin, GOOS=linux and
GOOS=windows clean; gofmt -l clean.
Broken by hand: with dueReminders' condition put back to `w.Aside ||`,
TestDueRemindersPoolWeekly fails with "got []".
Not tried: a real Antigravity account's notification; a full
go test ./....
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
|
||
|
|
a42d90d7de |
usage: a test holds every Bedrock maker models.dev lists (#2199)
ggbdpq's change before this one adds xai, writer, moonshot and nvidia to vendorDot, with six pairs read off the catalog. This test reads all 200 amazon-bedrock ids from models.dev's list of today (kept in testdata) and checks that each one answered by its own name, or by maker.name, is no swap. A maker the list gains later and vendorDot lacks fails here once the testdata is refreshed. The four makers are the only ones missing today: the list's makers are amazon, anthropic, deepseek, google, meta, minimax, mistral, moonshot, moonshotai, nvidia, openai, qwen, writer, xai and zai. Reported by gua2100 (ggbdpq) on GitHub. Run (on mote): - go test -tags nogui -count=1 ./internal/usage ok. - go test -tags nogui -count=1 -run 'Bedrock|Swapped|Served|RelayRenamed|Rename' ./internal/gateway ok. - go vet -tags nogui of both packages on darwin, GOOS=linux and GOOS=windows clean; gofmt -l clean. Broken by hand: with origin/main's served.go put back, this test fails on 21 pairs (xai 10, writer 6, nvidia 4, moonshot 1), and TestBedrockProfileAnsweredByItsModelIsNoSwap fails on ggbdpq's rows. Not tried: a real Bedrock account; a full go test ./.... |
||
|
|
c2d6a64c7d |
usage: a Bedrock model of a newer maker answered by its own name is no swap
What changed:
vendorDot names Bedrock's makers so a reply saying the model's own id
reads as the model asked for (
|
||
|
|
eaa71168a2 |
import: OpenCode's ids for vendors magpie has a preset at the same address come in on it (#2405)
openCodePresets held 19 of OpenCode's provider ids. 15 more are at the
address of a magpie preset, and the import picker listed each as
skipped, "it has no base URL", which isn't so: zhipuai, zai, alibaba,
alibaba-cn, minimax, modelscope, kilo, cline-pass, kimi-code-plan-cn,
kimi-code-plan-global, stepfun-step-plan, stepfun-ai-step-plan,
volcengine-coding-plan, alibaba-token-plan-cn and tencent-token-plan.
Each now comes in on its preset, the way openai's key does.
Left out, where auth.json says nothing to pick a region by: the coding
plan ids of Zhipu, Z.ai, MiniMax and Tencent, the pay-as-you-go ids of
plan-first presets (stepfun, stepfun-ai, volcengine), and the Xiaomi
MiMo token plans, served by a plugin now.
Patch by ggbdpq (Discord gua2100), as posted in #2405. Review: each of
the 15 targets' default endpoints was printed from Preset() at this
tree and matches the host models.dev gives the id (zhipu and zai
default to the pay-as-you-go paas/v4, volcengine to api/coding/v3,
stepfun and stepfun-cn to step_plan, tencent-cloud to plan/v3), so no
key is sent to a host OpenCode wouldn't send it to. No preset added.
Run (sandbox HOME, at origin/main
|
||
|
|
f8cd964aec |
plugin: a fetch past the host's 128 streams waits for one, not a local 502 (#3890)
The plugin host holds streamBudget/streamWindow = 128 streaming calls'
windows. begin(true) failed the 129th at once with errTooManyCalls, before
anything reached the plugin child, and the gateway counted it as a 502
try and sent the request again. The reporter's 192 concurrent MiniMax
streams through one plugin all came back 200, but over 298 local 502
tries that never reached MiniMax (65 requests retried).
Fetch now takes its window through beginStream: when all 128 are held
it waits for one to come free, outside h.mu (the transition that frees
one takes it), while its request's context lives, the host is up, and
for streamWait (1 minute) at most, past which it is errTooManyCalls as
before. RPCs keep their reserve and still never wait; begin(false) and
begin(true) are unchanged for their other callers.
Tests:
- TestHostFetchWaitsForAStreamWindow (internal/plugin): one window;
a second fetch waits, runs once the first is released, gives up on
a cancelled context and after streamWait, and leaves no window taken.
- TestPluginStreamsPastTheBudgetWait (internal/gateway, new file): 192
concurrent streams through the real Bun plugin host to a local vendor
that holds each open until 128 are live. Every request is 200 on one
try, the vendor sees 192 requests and never more than 128 at once.
Run at this head (on
|
||
|
|
ff7048dece |
provider: a Command Code plan key's Credits window renews at the plan's period end (#2454)
#2451 drew a plan key's month of credits as a Credits meter beside the 5-hour and weekly windows. Those two say when they start again; the Credits one said nothing, though cmdKeyPlanID already asks billing/subscriptions for the plan id and threw its currentPeriodEnd away. cmdKeyPlanID now keeps the period end beside the plan id (cached the same ten minutes, and the pair read before kept while the endpoint can't be read), and cmdQuotaOf puts it on the Credits window's ResetsAt. No new request. The signed-in subscription's card is the plugin's since be62bcf79; the plugin sets the same reset from commandcode-auth 0.1.13. Patch by ggbdpq (Discord gua2100), as rebased in #2454. Added in review: a period end already past is dropped, so a pair kept while the endpoint fails, or a renewal its reply doesn't show yet, never puts a reset in the past on the card; the test has a case for it. Run (sandbox HOME, at origin/main |
||
|
|
85b45b4d71 |
usage: a window's dollar whole prices the model the reply named (#2488)
The ledger prices a call whose own id has no price as the model the
reply named (Served, #1498). A window's whole priced through apiPricer,
which looked only at Record.Model, so one such call in a window had no
API price, the window counted as unpriced and its dollar whole was left
out while its tokens stayed. apiPricer now tries Served through the same
chain (maker, the provider's list, Same as) when the asked id has none.
The asked id keeps its own price when it has one; a price the user set
or a rate still never enters the whole. Past cycles use the same
apiPricer and take it too.
Patch by ggbdpq (Discord gua2100), as posted in #2488. Review: the
pricer is a closure built once per query with its own cache, keyed now
on (provider, model, served); no shared or stateful call added. The
only conflict on current main was the test file, where the Antigravity pools test
(TestWindowHoldsReckonsAntigravityPools) landed in the same spot; both
tests are kept.
Run (sandbox HOME, at this tree on origin/main
|
||
|
|
02cbdf5bdc |
pii: pf-serve-vulkan keeps the engine's 4096-token MoE chunk; 2048 was slower (#3682)
|
||
|
|
90258cf20a |
agent: a Codex in a WSL distro stands in for a model it names from its own config.toml (#2198)
StandIn("codex", …) read this machine's ~/.codex/config.toml alone, so a
Codex wired in a WSL distro (model_provider = "magpie", the only shape a
distro under NAT is wired in since #2145) naming a model magpie doesn't
serve (codex -m <unserved>) was answered 404, where this machine's Codex
goes to its config's model and a Claude Code in the same distro goes to
the stand-in its settings name (wslClaudeStandIn, #254). On Windows, when
this machine's Codex names none, StandIn now asks wslCodexStandIn: the
first distro running now whose config.toml has magpie as its provider,
read as codexStandIn reads it. The collecting of running distros the
probe found a kind in is shared with wslClaudeStandIn (wslReady); a
stopped distro is never opened. Off Windows nothing changes.
Reported with a patch by ggbdpq (gua2100 on Discord), independently
re-run by Edward4226. Taken as written except: the distro's config path
comes from the place's codexHome (where magpie writes it) rather than a
spelled-out ~/.codex; wslClaudeClassifier, which landed since with the
same loop, is left as it is (no test covers it); and TestWSLCodexStandIn
now also calls StandIn itself, so the Windows-only wiring is tested.
Run (sandbox HOME, caches pinned):
- go test -tags nogui -run 'TestWSLCodexStandIn|TestWSLClaude|TestCodexStandIn|TestClaudeStandIn' ./internal/agent: ok.
- Broken by hand: wslCodexStandIn returning "" fails TestWSLCodexStandIn
("stand-in: \"\""); wslReady without the running filter fails
TestWSLCodexStandInSkipsStopped ("stand-in from a stopped distro:
\"stopped/model\""). Restored: ok.
- On the Windows box (agent test binary built GOOS=windows): the same
five tests pass; built with StandIn's codex branch put back,
TestWSLCodexStandIn fails "StandIn on windows: \"\", want \"relay/main\"".
- go test -tags nogui -run 'WSL|StandIn|Wsl' ./internal/agent: one red,
TestWSLColdPlaceOpensNothing (Hermes profiles of a stopped distro),
red the same at origin/main
|
||
|
|
7f0f71a0ef |
gateway: a refused or empty-failed Codex relay's call carries its route (#2481)
The Routing page's "Request and response" finds a request's call by its route (RouteCall). Of codexUpstreamOn's three record exits only the success one set Call.Route, so a turn whose API key OpenAI refused (401) or that the backend failed with nothing said opened as "the request is gone" though its call was one of the last 40. Both failure exits now carry the route through routeOf, which is 0 for a compaction: both exits are reached by /responses/compact too, where no route opens. Reported with a patch by ggbdpq (gua2100 on Discord). The patch set Route: tr.ID unguarded on the empty-failure exit; since the outrageous_piglet change that exit also takes a compaction, where tr is nil, so that line panics on a compaction failed with an empty body. routeOf guards both exits. gui-shell.md says which Codex exits carry the route. Run (sandbox HOME, caches pinned): - TestCodexKeyRefusedCarriesItsRoute, TestCodexEmptyFailureCarriesItsRoute (ggbdpq's, the asserts moved into routeHasItsCall) and the new TestCodexCompactEmptyFailureRecordsNoRoute: ok. - Broken by hand: with both exits back to no Route, the first two fail "route N: no call in the ring, so Request and response says the request is gone"; with the patch's unguarded tr.ID on the empty exit, the compaction test panics (nil pointer dereference). Restored: ok. - go test -tags nogui -run 'TestCodex|TestRouting|TestArchive|TestRouteCall' ./internal/gateway: ok (31s). - gofmt -l clean; go vet darwin, GOOS=windows, GOOS=linux -tags nogui on ./internal/gateway: clean. Not tried: a real OpenAI 401 or a real empty ChatGPT backend failure (fake upstreams); the GUI's routing-bodies test (the GUI is unchanged); the full ./... suite (one suite per machine, others running). Co-authored-by: ggbdpq <ggbdpq@gmail.com> |
||
|
|
5a9fb36a10 |
README, site: magpie is not affiliated with Apache Magpie or the ASF
Apache Magpie's PMC asked about the shared name. magpie keeps its name (a common word, thousands of older projects use it) and says plainly it is not affiliated with Apache Magpie or the Apache Software Foundation: a line under License in both READMEs and in the site footer (en, zh, ja, de). Ran: node --test site/*.test.mjs (45 pass). |
||
|
|
84ef22dd3b |
gateway: another magpie's rate-limited model sinks alone, not the whole remote (#2167)
restAfterMarked sank a rate-limited candidate by its rest key, so one
of a remote magpie's models answering 429 with quota left sent the
remote's other models, never limited, to the back of every Sink order
too, while the rest itself was the model's alone (remoteModelRest).
The sink now keeps the rest's scope: such a model sinks by restID, and
sunkAt reads a candidate's restID before its restKey.
Patch by ggbdpq (#2167): the routing.go change and
TestRemoteMagpieRateLimitSinksTheModel are theirs. Changed from it:
- their sunkAt read restID only for the Remote Magpie preset, while
remoteModelRest also holds for a magpie added by hand as a plain
endpoint (its reply names the provider, answeredThereHeader,
|
||
|
|
6d24d4f4ea |
agent: a hung wsl.exe no longer holds every Windows command 20s
On a Windows box whose wsl.exe hangs (`wsl -l` there never answered), every magpie command took ~20s, `magpie version` too. A goroutine dump taken 8s in showed start-up's moves (RenameLegacy, then the Cursor and Antigravity effort moves) walking All(), whose WSL agents list the distros: `wsl -l -q` waited out its 10s timeout, then `wsl -l --running -q` waited out another. `magpie providers` waited too, through Copilot's sign-in looked for in each distro's home. - Start-up's moves look at this machine's agents only (local()). They came before WSL agents (the dial rename 09-23, the effort moves 09-28, the day WSL Codex came), so a distro has nothing for them. - A listing that failed isn't followed by the running list: no distro was listed, so none runs. That was a second timeout under wsl's lock, which the GUI waits on. - A listing that hung (failed after 5s or more) is remembered in wsl-hung beside magpie's settings for 10 minutes: a new process doesn't list again in that time, and a listing that answers removes it. A process that runs on (the GUI) lists again each minute as before. Real run on the Windows box (10.0.0.132), wsl.exe hung, sandbox USERPROFILE, old build (main |
||
|
|
b10f43e899 |
gateway: another magpie's key limit rests that magpie whole when relayed, and its marker stays here (#2791)
restAfterMarked reads a failed try's held header, which keepRetry fills from the upstream's reply. keepRetry kept Retry-After and the rate-limit reset headers but not X-Magpie-Limit-Reset (remoteKeyLimitHeader), so a remote magpie's gateway key over its own limit read as that one model's rate limit (remoteModelRest): the model rested alone and the remote's other models were asked into the same refusal. Patch by ggbdpq (#2791): their test and the cause are theirs. Changed from it: the patch whitelisted the raw marker into the held header, and holdWriter passes that header on to the client, so the marker reached the agent and, in a chain, a magpie asking this one, which would rest all of this magpie for one key there. keepRetry now sets an internal note (keyLimitThereHeader) that remoteModelRest reads and holdWriter drops, with answeredThereHeader. The two keepRetry sites that write to the client directly (count_tokens, decide_group) go through keepRetryOut, which drops both notes; answeredThereHeader leaked there before too. Doc sentence in gateway-routing.md. Run (rebased on origin/main): - TestRemoteMagpieKeyLimitRestsTheRemote (theirs): red with the note taken out of keepRetry by hand (rested office/glm/glm-5 and kimi, not office), green now. - TestRemoteMagpieKeyLimitMarkerStaysHere (new): red with the patch's raw marker copy ("the agent's reply carries X-Magpie-Limit-Reset"), and red with keyLimitThereHeader taken out of pass()'s strip list ("carries X-Magpie-Key-Limit-There"), green now. - RemoteMagpie|AnotherMagpie|KeyLimit ok; the whole internal/gateway package (-tags nogui -count=1 -timeout 45m) ok in 476s at fc860f2e6. - gofmt -l clean; go vet ./internal/gateway for darwin, GOOS=windows, GOOS=linux -tags nogui clean. Not tried: two real magpies over a network with a key limit hit. |
||
|
|
791e27ec34 |
agent: the Codex app's Restart restarts only its app-server, its window stays
yoshi037070 (Discord, 10-27): when magpie restarted Codex, a new Codex window opened. The switch paths (Connect, Disconnect, failover) already end only the app's own app-server (codexAppStep, proc.End: SIGTERM on macOS, exit 0 on Windows), and the app starts another and keeps its window. The Agents row's Restart beside a Codex app left on the old list did not: on macOS ReopenCodexApp ran osascript "quit" and then `open` on the bundle, and that open is what brought up a new window. Now ReopenCodexApp keeps its check (only a bundle the row lists as left on the old list) and calls provider.RestartCodexApp, which ends each process whose command line starts with <bundle>/Contents/ and is the app's own app-server (isCodexAppOwnServer: an app-server, not --listen), waits up to 10s for them to be gone, and errs when none ran. The app, its window and another program's --listen server are left alone. The confirm says only the app-server restarts and the window stays; the status says "Codex app-server restarted" (zh, zh-TW, ja, de). app.js stays under its budget, with no raise (1,310,458 of 1,310,460 after rebasing on |
||
|
|
d1436466a6 |
gui: Kimi Code's region picker says to pick by the account's region (Kimi)
Kimi (a sponsor) asked for two things on 10-27: start the partner card at the user's region, which |
||
|
|
c89284ae66 |
library: a server turned off everywhere has its running processes ended (#3885)
Turning MCP servers off in the Library rewrote the agents' configs, but Codex, the Codex app and Claude Code read them only at start, so the servers they had started kept running. With every server turned off, the reporter's machine still held 17.75 GB of node processes for them. A change, and the sync at start, now record each stdio server it took out of an agent's config as that config had it. Once no agent's config runs that command and those arguments (another agent's entry, or the user's own under another name, keeps it), proc.EndTrees ends every process whose command line runs it, with all it started: the cmd /d /s /c "npx -y x" wrapper, the node npx-cli.js under it and the server under that. magpie and what it runs under are never picked, and a process under one picked goes with that one. An interpreter with nothing after it (node, npx) is never matched. It runs after the change lets go of the Library lock and before it returns, so magpie library mcp ends them too before it exits. On Windows the processes come from a Toolhelp snapshot with their command lines (no PowerShell); elsewhere from ps -o pid=,ppid=,args=. Run at base |
||
|
|
34d38ed669 |
hermes: each profile picks its own model on the Agents page
dongshanfengdongshizhcn on Discord: "我的 hermes 有多个 profile,但现在
agent 的配置里面,似乎只能配置默认的 profile". magpie gave Hermes one model
picker, for the connected profile's config.yaml. A bot under
<root>/profiles/<name> could only follow it or keep its own model.
Hermes's layout comes from its own source (hermes-agent e5ea5fd9,
hermes_cli/profiles.py and main.py): named profiles live in
<root>/profiles/<name> (PROFILE_ID_RE, a .deleted tombstone, the identity
files), active_profile is the sticky one, "default" is the root, and a
profile's model is model.default/model.model under model.provider. magpie
already found these profiles (hermesProfiles/hermesOthers).
Now each profile other than the connected one has a field,
"profile:<name>" (hermesProfileFields). The opened Hermes row draws them as
Other profiles, one line per profile: its name, the app's model picker, and
`hermes -p <name>`. They are never a square of the row's own, and with one
profile only nothing new shows. Nothing needs setting up:
- a magpie model stashes the profile's own provider and model, then puts
magpie's provider and the model into that profile only;
- a model of its own is written as model.default and gives back the stashed
provider;
- Default puts back the profile's model from before magpie, or keeps the one
it has. Disconnect sends the same empty value, so a profile never loses
its model;
- a bot picked there is recorded (hermes:<path>:picked) and doesn't follow
the connected config's next model (hermesFollow);
- a sync keeps magpie's provider current in a bot on magpie while the
connected config isn't on it.
app.js stays under its budget through the previous commit; no budget was
raised. New string: "Other profiles" (zh, zh-TW, ja, de).
Run:
- go test ./internal/agent ./internal/gui ./internal/profile ./internal/tui
./internal/cli (-count=1). gui, profile and cli are ok. Two reds were already
filed: TestFolderVarsAreListed (CARGO_HOME, fixed on main by
|
||
|
|
931d887829 |
gui: Settings' model names and context maps share one helper each
Five Settings renderers (Codex descriptions, predictions and titles, image recognition, image generation) each kept their own copy of `named`, and three context fields their own `same`. They now share namedIn and sameContexts. The behaviour is unchanged, and app.js is 441 bytes smaller, which makes room for the Hermes profile rows in the next commit without raising the budget. Run: the GUI files that draw these rows (codex-titles, codex-descriptions, codex-predictions, vision-mcp, vision-not-marked, image-mcp, images-codex-one, compact-at, provider-advanced-fold) in chromium and webkit, together with the next commit's run (see its body). |
||
|
|
fff05e55d8 |
gateway: Codex's compaction trigger is summarised, not refused, when no key that lists the model can carry it (#2725)
nativeCompactionFor kept Codex's compaction_trigger whenever the
provider asked had native compaction on and could be asked it on
Responses. When the vendor's lists held the model to a key that speaks
no Responses there (a key set to Chat), compactionCarriers then cleared
every candidate and Codex got 400 carrierError, with no upstream asked:
the dead end #2725 reports. The trigger is now kept only when a key or
account the request would go over (the provider's and its fallbacks',
or a group's members', held and capped ones too, not one whose own
list lacks the model) carries it (plannedCarrier). Otherwise
codexCompact gives magpie's summary through the listed key, as with
native compaction off.
Patch by ggbdpq (#2725): route (a) and both tests are theirs. Changed
from it: their planCarries ran s.plan / s.planGroup, which weighs the
keys, and a provider routed in turn moves its turn along there
(routes.Rotate). nativeCompactionFor runs on every Codex turn (handle,
codexBackend), so each decision would have skipped a key. plannedCarrier
reads perKeyBarred without weighing. Doc sentence in
docs/subsystems/gateway-routing.md.
Run (worktree at
|
||
|
|
8586b1cda5 |
usage, settings: a check-in reason many accounts share is said once
leeoswald368 (Discord) has many Qoder accounts whose plugin check-in
fails for one long reason ("Qoder check-in: device identity runtime not
found. ..."). The page repeated it once per account: on every Usage
card's check-in row and in Settings' Daily check-in line, a wall of
text.
- Usage: a card's check-in row says the reason only when it is the
first card of that vendor's with today's reason; the others say the
label alone and keep the reason in the row's tooltip, which now holds
any reason the result has.
- Settings: the per-account lines (each built-in vendor's and each
plugin's) go through ciLines, which joins the accounts whose line
reads the same and says it once: "a1, a2, a3 is not eligible ·
<reason>". A different reason still has its own line.
- app.js is 1,026 bytes smaller, no budget touched: the four built-in
vendors' check-in switches in Settings (WorkBuddy, Trae CN, MiniMax
Code, Qoder) are drawn by one loop where four copies sat, same ids,
same keys, same strings.
Run:
- checkin-reason-once.test.cjs (new; chromium + webkit, en + zh,
900px + 440px): 8/8; with the old app.js 0/8
- every GUI file that names a check-in, a warm-up tab or its rows (22
files, i18n-keys too), both engines: 330/338. The reds are on main:
i18n-keys "a plugin's words are its own" (#3897); segs-press-redraw
webkit on Settings › Network's webPageList, red on the old app.js too
in a side-by-side run (filed #3922); github-token and login-import
chromium under load ~80 (#1307), 3 of 3 green run alone after
- go test ./internal/gui -count=1: ok (TestCoreScriptBudget included);
node --check app.js
Not tried: the real window with leeoswald368's accounts; the tray panel's
card (it draws the same checkinRow).
|
||
|
|
59478916b7 |
provider: qoder's mover min is 0.2.41, for the chat headers Qoder's client sends (plugins#443)
unifilitence (plugins#443) saw a chat carry the machine UUID as
Cosy-ClientIp, -MachineId and -MachineToken. Checked against Qoder.app
0.4.3's worker and signer: its non-chat calls do send all three as the
machine id, and x86_64_win32 is its own Cosy-MachineOS, but its chat
sends no ClientIp, the native device identity's MachineToken and
MachineType or none, and a Cosy-MachineHostname. 0.2.41 (plugins
1a560ba) sends a chat so; npm shows 0.2.41 (npm view --prefer-online).
The min was 0.2.39, so this brings 0.2.40's queue change too.
Run: `go test -count=1 -timeout 45m ./internal/provider/` at this tree with
both min raises applied, skipping four reds that are red on origin/main
|
||
|
|
729d5d0c4c |
provider: zcode's mover min is 0.1.33, for a ZCode 3.16 sign-in's coding plan models (plugins#439)
dinghao-8 (plugins#439): a ZCode 3.16 sign-in that keeps only a
project-key-location record listed the Start Plan's models, without
GLM-5.3, since the plugin's models() read the sign-in without fetching
its key. 0.1.33 (plugins 2ef8b8b) reads the key first; npm shows 0.1.33
(npm view --prefer-online).
Run: `go test -count=1 -timeout 45m ./internal/provider/` at this tree with
both min raises applied, skipping four reds that are red on origin/main
|
||
|
|
22bc7a4477 |
usage: a probe at another host of a provider's site is listed under it (CyberCaius)
CyberCaius on Discord, on the latest release: the Usage page's provider
filter listed Leee and leee.baby, and leee.baby's rows were the model
lists ("模型列表", magpie 自身, 200) asked while Leee was being added.
In the first report the same shape was example on api.example.me with
example.me in the filter, which we had put down to another address typed.
The Add sheet's model list runs before the provider has an id, so
probelog records it under the host asked.
|
||
|
|
97332140ae |
settings: About links the website, usemagpie.ai
About had Discord and GitHub but nothing pointing to usemagpie.ai (the
owner, with a screenshot). A Website row above Community names the
site and its Open opens it; en, zh, zh-TW, ja and de.
app.js grows 213 bytes (budgets 1,310,460 and 1,526,556, said in
core_budget_test.go), Settings' own row, with no room added.
Run at this head (origin/main + this):
- go test ./internal/gui/: ok.
- GUI, chromium + webkit: about-website (new, every language at 1100
and 420), i18n-keys, public-url-default, settings-sections, cli-path:
81 pass, 1 fail. The fail is i18n-keys "a plugin's words are its own"
on "Runs as", red on main since
|
||
|
|
e54a7d50b9 |
agent: a stopped WSL distro's files are never opened, which started it again (#3896)
The reporter stopped Ubuntu-24.04 with "Detect agents in WSL" on, and magpie started it again within seconds. Opening any path under \\wsl.localhost\<distro> starts a stopped distro, and every /api/state did that: - wslAgentsOf built every WSL kind at a stopped distro's place, found or not, only to ask Detected(). Two builders read files even at a cold place: hermesActive read ~/.hermes/active_profile and dshAt listed ~/.dsh/profiles. Now only the kinds the probe found are built (the same test: wslAgent's detect is k.found), and both builders read nothing when the place is cold. - The Agents page asks every agent's pickers for options, and a stopped distro's agent kept the live options for fields with no asleep options of their own: Codex's memories and subagent effort read ~/.codex/config.toml (19 times a call), Grok Build's model read models_cache.json and config.toml, dsh's model listed its profiles. Each now has asleep options built from magpie alone: Codex's memories as its model, its subagent effort from magpie's catalog, Grok's from the live catalog, dsh's own models taken as 0.1.5 on (as its effort already was). TestWSLColdPlaceOpensNothing builds every kind at a stopped distro over a home with each kind's files, runs Values, Notice, Drift, Wired and every field's Options, and fails on any path under it the os package was asked to stat or open (-test.testlogfile). Red on the old code: the hermes and dsh reads from building, then the 19 Codex, the Grok and the dsh reads from the options. Run at the pushed head: tree |
||
|
|
3116b8f58a |
agentenv: every sandbox clears CARGO_HOME, where the Library finds rtk (#3884)
TestFolderVarsAreListed (internal/agent) is red on main since |
||
|
|
d83f887a74 |
gateway: a 429 per minute that calls itself a quota rests as a rate limit
monater.114514 on Discord: an upstream's TPM 429 was read as out of quota, and the key rested 15 minutes with balance left. Cause: failure() read a 429 with rate words as a rate limit only when plannedWords didn't match, and plannedWords matches the bare word "quota". Vendors word per-minute limits as quotas: Gemini's "You exceeded your current quota ... quotaId ...PerMinute", Vertex's "Quota exceeded for ...requests_per_minute...", Azure's token rate limit whose link is aka.ms/oai/quotaincrease. Each became failQuota and quotaRest (15m) when no Retry-After came with it. DashScope (help.aliyun.com error-code list) words its TPM/TPS limit "Allocated quota exceeded, please increase your quota limit." and, in OpenAI's shape, insufficient_quota, which read as quota and credit (30m). Fix: minuteLimit: a 429 naming a minute-or-less window (per minute, per second, TPM/RPM, PerMinute, token/call rate limit) and no longer window, plan limit or money spent is failRate (a minute, or the vendor's Retry-After / x-ratelimit-reset, via rateRest). Words in a link no longer turn a rate limit into a plan used up. DashScope's two TPM wordings are failRate from a DashScope provider only (failureOf); its "Free allocated quota exceeded." and Coding Plan hour/week/month stay quota, OpenAI's insufficient_quota stays credit, Zhipu 1113 stays credit, per-day limits (TPD, PerDay, free-models-per-day) stay quota. Run at this head: go test ./internal/gateway -count=1 -timeout 45m ok (550s); new tests TestMinuteLimitIsNotQuota, TestMinuteLimitRestsAMinute, TestDashScopeAllocationQuotaIsRate with literal vendor bodies; gofmt -l clean; go vet, GOOS=windows and GOOS=linux go vet ./internal/gateway ok. Broken by hand: routing.go put back to origin/main (dashScopeRate stubbed false): all three new tests red, the Vertex 429 rested 14m59s as quota with no header, and as quota (not rate) with Retry-After 20 or x-ratelimit-reset-tokens 45s. Not tried: a real vendor 429 (the reporter's upstream and body are not known yet); the full ./... suite (one suite per machine). |
||
|
|
2b0387574e |
draw: an OpenAI-compatible plugin's image models draw (SenseNova's sensenova-u1.5-lite)
01huadalang (Discord, #feedback): SenseNova's sensenova-u1.5-lite can draw, but magpie's image generation picker doesn't list it. |
||
|
|
b103ed0582 |
provider: WorkBuddy's plugin min is 0.1.39, whose history keeps an earlier turn's thinking
uk.jent on Discord: through WorkBuddy, Grok Build's chat.completions history lost its thinking. magpie's gateway and the plugin pass an assistant message's reasoning_content on byte for byte (checked with a scratch gateway test posting Grok Build 1.0.67's literal second request to a fake plugin upstream); WorkBuddy itself drops reasoning_content, and its own client sends `reasoning`. Plugin 0.1.39 (magpie-community/plugins 7f99447) sends it that way. keepMovedCurrent brings every moved WorkBuddy user up to it. Run: npm view --prefer-online shows 0.1.39. internal/provider: gofmt -l clean; go vet for darwin, windows and linux; the mover tests (-run 'Mover|Moved|Migrat|Plugin|WorkBuddy|Min') ok; the whole package with -skip TestUnreadLoginsWriteErrorsKeepCredentials (crashes, #3632) red only on TestFetchAsksASharedBaseOnce and its two siblings, #3854, red on main before this change. Broken by hand: the plugin's new test, red on its old index.mjs (see the plugins commit). Nothing here to break: a one-line min. Not tried: the China build (copilot.tencent.com) live; Grok Build end to end through WorkBuddy. |
||
|
|
2a19245cec |
gateway: Codex's output token replay goes to OpenAI only (Copilot refused it)
echo_ts on Discord (#feedback): a Codex conversation begun on gpt-6-astra
and carried on on a Copilot model failed with "Copilot: Invalid value:
'output.encrypted_content'. Supported values are: ...".
Cause: Codex with output token replay on (codex-rs core/src/client.rs)
adds "output.encrypted_content" to include, and keeps each message's and
call's sealed copy (encrypted_content) in its history, only for a
provider named "OpenAI". Signed in, Codex reaches magpie as that
provider, so a magpie model got both as they came: the passthrough to
Copilot's /responses (forVendor) and the rebuilt request (buildResponses)
both kept the include, and Copilot refuses it.
Now magpie does what Codex does under any other provider name
(!is_openai): forVendor drops output.encrypted_content from include and
encrypted_content from every input item but reasoning and compactions
(ResponseItem::clear_encrypted_content keeps those). buildResponses asks
for it only of api.openai.com and chatgpt.com. OpenAI's API and the
ChatGPT backend get the request as before. Astra's sealed reasoning
still goes along; one Copilot can't read is taken out once refused, as
before (foreignReasoning).
Tests: TestCodexOutputReplayStaysWithOpenAI (the fake refuses with the
reporter's literal error; signed-in and /v1/responses routes) and
TestResponsesOutputReplayOnlyToOpenAI. The rewrite equivalence test's
reference copy (wasForVendor) gets the same rule, with new marks.
Run: go test ./internal/gateway -count=1 -timeout 45m: every test ok but TestHandedOverGatewayFinishesItsStream
("request 0 during the handover: ... EOF"), which this change doesn't
reach; it passes 5 of 5 alone (-count=5) and is open as #3568.
gofmt -l clean; go vet, GOOS=windows and GOOS=linux go vet of
internal/gateway clean.
Broken by hand: with codex_backend.go and responses.go as on main, both
new tests are red (400 with the reporter's error; include kept for
api.githubcopilot.com, relay.example and api.x.ai).
Not tried: a real Codex with output token replay against a real Copilot
account, nor Copilot's answer to a message's encrypted_content alone
(left out because Codex leaves it out for any provider not OpenAI's).
|
||
|
|
766356cd3f |
plugins: a row's "Serves" chip names the providers the plugin registers (#3902)
The chip named only built-ins moved onto a plugin (provider.MovedOnto), so a plugin magpie never shipped as a built-in, like magpie-magicrew-auth signing in to letsmagic.cn and magicrew.ai, said nothing about what it carries. /api/plugins now sends `serves`: the names of the providers the plugin registers (plugin.Cached, which the row's provider names already come from), once each, leaving out the moved ones (a moved built-in's id is the plugin's provider id; the page names it as the built-in). It is sent when the plugin has a moved built-in or registers two or more providers: a lone provider is the row's title already. No package.json field. The "in place of the built-in" tooltip stays on a chip that names a moved built-in only. plugins.js is 27 bytes smaller; no budget touched. Analysis and the proposal by MYCF711 (mycf_711 on Discord) in #3902. Run: - go test ./internal/gui -count=1: ok (107s) - TestPluginServesItsProviders red with servesBeside returning nil (three cases), green restored - plugin-release.test.cjs (chromium + webkit, en + zh): 6/6; with origin/main's plugins.js 0/6 - plugin-*.test.cjs plugins-*.test.cjs i18n-keys.test.cjs: 661/664. The 3 reds are on main too: i18n-keys "a plugin's words are its own" (#3897) and plugin-card-update webkit en under load (#3079; 2 of 5 red on origin/main's plugins.js too, load ~65) - gofmt -l, go vet, GOOS=windows go vet, GOOS=linux go vet -tags nogui on internal/gui: clean Not tried: a real install of magpie-magicrew-auth in the window. |
||
|
|
24fab123bb |
provider, gateway: a Remote magpie's model it offers Fast on can be picked fast
littlekk88 on Discord (#feedback): Claude Code on one computer, wired to
its magpie, which has another magpie as a Remote magpie. The remote's
/v1/models listed service_tiers [{id:"priority",name:"Fast"}] on
gateway/cursor/grok-4.6 (#1234), but the local picker showed no bolt on
it, SetFastPick refused it, and tier_sent was empty on both computers.
Two causes, both on the local magpie:
- provider.CanFast had no case for a Remote magpie, so it was false for
every remote model. It now reads the tiers the remote's list gives the
model (new provider.RemoteTiers) and is true where they hold priority.
UltraOn offers Ultrafast where they also hold ultrafast. The picker,
SetFastPick, routing groups and Codex's catalog all go through CanFast.
- A fast pick from an agent on Anthropic's Messages API carries Claude's
speed "fast". Translated to the remote's Chat Completions or Responses,
nothing turned that into service_tier. forwardTranslated now sets the
tier the remote offers (priority, or ultrafast for an Ultrafast pick
where offered) when the request is fast and names no tier. A request
that names a tier is sent as before.
The remote side already serves a Chat request's service_tier priority to
Codex and to the Cursor plugin (TestChatFastTier,
TestPluginServiceTierReachesFetch), so a remote on an older version works
once the local magpie is updated.
Docs: the remote magpie service tiers row in
docs/subsystems/providers-accounts.md.
Run at this tree (rebased on origin/main):
- New TestRemoteMagpieFastPick: two httptest servers (the remote gateway
and a Chat-only vendor, as the report's native_endpoints). Claude Code
on /v1/messages and a Chat client both reach the remote with priority,
and the remote sends its vendor priority. A model offered no tier
can't be picked, and another agent's request goes without a tier.
- go test ./internal/gateway -run 'Fast|Tier|RemoteMagpie|Remote': ok.
- go test ./internal/codexcat: ok.
- go test ./internal/provider, ./internal/agent, ./internal/gui: the only
reds are already filed and unrelated to this change:
- #3632: the synctest crash in TestUnreadLoginsWriteErrorsKeepCredentials.
Skipped on the rerun; everything else in provider passes except the
three below.
- #3854: TestFetchAsksOneListOnceForTwoBasesOfIt,
TestFetchUnionsProtocolListsWithoutChat and TestFetchAsksASharedBaseOnce.
Also red 3 of 3 at a fresh origin/main
|
||
|
|
67b12956ac |
sessions: a Codex rollout magpie rewrites keeps every line where it was
xybio (Discord #feedback): the Codex app often wouldn't reopen recent threads: "invalid paginated history lineage for <id>: cutoff byte offset is past the source rollout". Codex 0.162 keeps a fork's place in its parent by byte (session_meta.history_base.end_byte_offset, checked by rollout_lineage.rs validate_cutoff_bounds), and its state database keeps turns and how far it has read by byte too. PortCodexRollouts (since |
||
|
|
6c063ac1b2 |
agent: a model Codex hides joins Codex's own group in the picker
v0.1.1737 offered a model the user ticked but Codex's bundled catalog
hides (GPT-6.1 Terra) under a "Codex" section of its own, beside the
provider's group. ysm119 asked on Discord why one provider's ticked
models showed up as two groups. codexViaMagpieFor now gives such a
model the group and icon of the provider's own entries and lists it
first among them.
Run: go test -run 'Codex|WSL|Wsl|Via|Magpie' ./internal/agent ok;
go vet ./internal/agent for darwin, windows and linux (nogui) ok;
gofmt clean.
Broken by hand: with the group assignment removed,
TestCodexHiddenTickedModelOffered fails ("gpt-h in \"Codex\", gpt-a in
\"OpenAI\"").
Not tried: the GUI picker with a real Codex account.
|
||
|
|
2675169eca |
site: SoleAPI's home card goes to its /r/magpie referral link
The owner asked for https://soleapi.com/r/magpie in place of ?aff=magpie. It lands on soleapi.com/register?ref=magpie (200). Run: node --test site/*.test.mjs (45 pass). |
||
|
|
a47596ea61 |
privacy: AstrLink Guard is the default local model; its menu stands apart from the switch
Settings > Privacy's "Find with a local model" row put the model menu 2px from the Off/On switch (.prefs .val's gap): two bordered boxes touching. The row's .val now has an 8px gap. With no model picked, pii.Choose is AstrLink Guard. Before, it was Privacy Filter whenever the model was on or Privacy Filter was on disk. Now Privacy Filter is chosen only while the model is on, Privacy Filter is downloaded and AstrLink Guard isn't, so a request isn't held back. In that case masking.picked starts AstrLink Guard's 38 MB download (toGuard, tried again an hour after a failure). Once it is on disk, AstrLink Guard is saved as the pick, unless the user picked a model in between, and Privacy Filter is let go. Existing users: - Privacy Filter on with no pick: moved to AstrLink Guard after the download. Privacy Filter stays on disk and can be picked again. - Privacy Filter explicitly picked: unchanged. - Model off: the menu now shows AstrLink Guard. Run at this tree, on origin/main: - go test ./internal/pii ./internal/masking: ok. TestChoose is updated, with Privacy Filter on disk both off (Guard) and on (PF). - go test ./internal/gui -run 'Budget|I18n': ok. - privacy-model.test.cjs, chromium + webkit, every language, 1100/640: 64/64. The new gap check fails with the CSS line removed (gap 2). - gofmt, vet (darwin, linux nogui, windows), linux and windows builds: ok. Not tried: toGuard's real download and switch-over. It needs the network, and no test covers it. |
||
|
|
f828e900a9 |
gui: the sidebar's edge is out of Tab's reach, so no ring shows when the window opens
ysm119 (Discord, screenshot): every time the window was opened from the menu bar, a blue bar ran down the sidebar's edge. It is the edge's focus ring (.side-edge:focus-visible): a Mac window made key has WebKit focus the first stop Tab reaches, and with tabindex 0 that was the edge, as WebKit on the Mac skips buttons and links by default. tabindex -1 keeps it out of the Tab order, as a Mac split view's divider is; a pointer drags it as before, and focused (VoiceOver, a click) the arrow keys still move it. Run: go test ./internal/gui ok; GUI readable-focus, side-toggle, side-width (focus + ArrowRight), sidebar, sidebar-tab-top in chromium and webkit: 90 pass, 0 fail. index.html only, no core script grows. Not tried: the real Mac app opened from the menu bar; the cause is read from the screenshot and WebKit's key-view focus, not reproduced. |
||
|
|
e09616adf1 |
site: SoleAPI's home card carries aff=magpie
The owner gave SoleAPI's referral code: /go/soleapi/home now sends the browser to https://soleapi.com/?aff=magpie (200). Run: node --test site/*.test.mjs (45 pass). |
||
|
|
af72266f01 |
gui: the Update pill says Updating on a click, not Restarting before a download
dawnmarch7429 (Discord): clicking Update in the menu bar showed "Restarting…", then "Downloading", then "Restarting…" again. A click on a downloaded version asks the feed again first (update/install's recheck), and a newer version out downloads before the restart, so the first "Restarting…" was a guess that was wrong whenever a release came out after the last download. The pill now says "Updating…" (an existing key, in every language) until the download or the restart shows. Run: go test ./internal/gui -run 'Budget|I18n|Keys' ok (app.js 1310266, budget 1310269, not raised); GUI update-*.test.cjs, header-*.test.cjs and i18n-keys in chromium and webkit: 178 pass, 2 red not from this change: header-centre webkit ResizeObserver (#3479) and i18n-keys "Runs as" (#3897). Not tried: the real menu bar update with a newer release out. |
||
|
|
00f8b11340 |
site: SoleAPI on usemagpie.ai's Sponsored by
A fourth home card, after FastAIToken. The tagline is the owner's
("不拼最低价,拼不掉线:多渠道容灾,逐笔透明计费"), translated for en, ja
and de. The logo is the PNG the owner sent, cropped to 640x157; the
dark-mode copy turns the black mark and "Sole" light and keeps the blue
"API" and its green dot.
/go/soleapi/home sends the browser to https://soleapi.com/ (200, titled
"SoleAPI - LLM API Gateway"). No referral code was given; when SoleAPI
sends one, it goes into sponsors.js.
Run: node --test site/*.test.mjs (all pass). Logos checked on white and
on #1c1c1e.
|
||
|
|
c80b32c936 |
agent: a model Codex hides but the user ticked is offered in Codex's picker
ysm119 (Discord) ticked four models on the Codex subscription and Codex's picker offered three. GPT-6.1 Terra is "visibility": "hide" in Codex's models_cache.json, so catalog.Codex() leaves it out of Codex's own list, and viaMagpieFor dropped every codex/… entry as only a hop, so it was offered nowhere. codexViaMagpieFor now drops a codex/… entry only when Codex's own list already has its model; the rest stay, via magpie. Both pickers (live Codex and Codex in WSL) take it; viaMagpieFor had no other caller and is gone. Run: TestCodexHiddenTickedModelOffered is red with the codex/… entries dropped as before ([OpenAI:gpt-a]) and green with the fix; go test ./internal/agent -run 'Codex|WSL|Wsl|Via|Magpie' ok; go vet darwin and GOOS=windows; gofmt clean. Not tried: picking gpt-6.1-terra with a real ChatGPT account. |
||
|
|
8e1558b2ef |
gui: an agent row's open link says Details, not "Models 245"
The link opens tiers, effort, subagents and more, so "Models 245" (and
Claude Code's "Tiers") named one part of it and read as a model list
(owner, with a screenshot of Codex's "模型 82"). Every row now says
Details; the model count is still in the row's status line. The four
"Models {n}" strings go with it.
Run at this head (origin/main
|