fcbc1a2d02ca7b70206f5cb91a0e2a49f34f30be
2616
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
fcbc1a2d02 |
gateway: Claude Code's deferred tools are declared in full where a load would lose the cache
Seapawn1 on X: GPT in Claude Code loses its prompt cache with tool search on. A tool ToolSearch loads joined the top-level tools on the next request on every route but Anthropic's and a Responses upstream that loads in place (LoadedInPlace, #2660). An OpenAI-style cache is a prefix with the tools before the messages, so each load (2.1.327 defers WebFetch, WebSearch, Monitor and the other built-ins too) read the whole conversation again uncached. A sandboxed Claude Code 2.1.327 through a fake upstream showed it: on Chat and on a Responses relay the tools changed at req1 and req3; in place they held. On such a route a Claude Code request carrying DeferredToolPlaceholder is answered 400 invalid_request_error naming tools.defer_loading, locally. The real Claude Code 2.1.327 answers that (after its beta-strip retries, 3 refused requests) by declaring every tool in full for the rest of that conversation, --continue included; a new conversation, on a Claude model, tries tool search again. The message doesn't name the beta header, which Claude Code would remember everywhere. Only while the reminder names 50 deferred tools or fewer: an MCP router's hundreds keep tool search, and a request whose reminder can't be read keeps it too. Anthropic routes and in-place Responses upstreams are unchanged. The refusal is not a member's fault (retryable/shapeRefused false), so a group doesn't fall over or rest. Not handled: a user who set ENABLE_TOOL_SEARCH themselves can't be told apart on the wire; additional-tools=on keeps search on a relay that takes the item. Run: - mica: go test -run 'TestDeferred|TestLoadedTools|TestKimiIsSent|TestToolSearch|TestDeferredToolBlocks' ./internal/gateway ok. - Broken by hand (the check in translate made false): TestDeferredToolsTurnedAwayWhereTheyLoseTheCache and TestDeferredToolsKeptWhereLoadedInPlace red (status 200, upstream called). - mica: GOOS=linux and GOOS=windows go vet ./internal/gateway ./internal/agent ok; gofmt -l clean. - wsl-run (magpie-desktop): go test -timeout 45m ./internal/gateway ./internal/agent started before push; result with the full suite. - Real Claude Code 2.1.327 in a sandbox HOME against a fake 400 naming defer_loading: retried with every tool declared, kept for the conversation and --continue, new conversation searched again. Full suite: run after push. |
||
|
|
91e8146727 |
gateway: words written after a call go before it, so DeepSeek takes the call as answered
wizcheu on X (Claude Code 2.1.327, deepseek-flash at max effort on DeepSeek's own API) still saw "400 due to tool use concurrency issues" after v0.1.4478: "DeepSeek: messages.422.2: `tool_use` ids were found without `tool_result` blocks immediately after: call_00_wIys8uRO8314ixexw3r35173", and earlier messages.71.2. The block index is the clue. Checked against api.deepseek.com/anthropic today: an assistant message with a text block after a tool_use is refused with messages.N.K, K the text block, even when the next message answers the call ([T, tu, X] -> messages.1.2; [X, tu, T, X] -> messages.1.3; [tu, X, tu] -> .2; an empty text after the call too), while [T, tu, T, tu] and [T, X, tu] pass. A system message between a call and its result ( |
||
|
|
2ab2f69132 |
agent: Codex's status line shows the account's quota or the relay's balance (opt-in)
lyj1115 on X asked for the current account's quota, or the relay key's
balance, under Codex's chat box, off by default. Codex's TUI draws its
footer from a status line provider from 0.171.0-alpha.12 on: a stdio
MCP server whose tool advertises a statusline entrypoint, picked in
[tui] status_line_provider behind [features] tui_extensions_statusline.
Codex reads it about once a second with the thread's id. Nothing is put
into the prompt or the model's reply.
- `magpie statusline --codex` is that server. Each read asks the local
gateway for the thread's latest route and the kept quotas (no vendor
read). It answers `→ provider/model` and that provider's account that
answered last, with its windows or a key's balance. A gateway that is
down gives a null tree, never an error, because an error stops Codex's
reads. The tool's name and words name neither magpie nor a vendor,
since the tool is listed to the model.
- A status line square on Codex's row (`magpie codex statusline on`)
writes the flag, [mcp_servers.quota_line] (this magpie by full path,
args statusline --codex, env_vars = ["MAGPIE_ADDR"]) and the
provider. Every write is read back, and the file is restored on a
mismatch. Off and Disconnect take out only magpie's keys, and the flag
only when the stash says magpie wrote it.
- Nothing of the user's is written over. A provider of their own, a
quota_line of theirs, the flag turned off or an unreadable file keeps
the square away and refuses on.
- The switch is offered only when a Codex CLI here is 0.171.0-alpha.12
or newer (0.170.0 reads the keys and draws nothing), and only on this
computer, not in a WSL distro.
- In the GUI, the status line square's title takes the note of its
field's on option, which Claude Code's field already sent with the
same words TOGGLES kept, so Codex's says its own words in en, zh,
zh-TW, ja and de. TOGGLES' copy of Claude's note went, and app.js
stays under its budget (30 bytes of room) without a raise.
The Codex desktop app has no such footer. cockpit-tools reaches it
through a debug port, and magpie doesn't.
Run (WSL magpie-desktop, since mote's load was over 18):
- go vet -tags nogui ./...; GOOS=windows go vet of agent, cli, provider
and gui; gofmt -l clean.
- go test -tags nogui of ./internal/cli and ./internal/provider: ok.
- ./internal/agent -run "CodexStatus|Statusline|StatusLine|TestCodex|
TestWSLCodex": ok.
- ./internal/gui -run "CoreScript|Budget|I18n|Keys" and node --test of
codex-statusline, claude-statusline and i18n-keys (both engines, every
language, window and panel), with vet (and GOOS=linux and windows
vet) of agent, cli, provider and gui, on mote at the rebased head
(on
|
||
|
|
f6a538ece9 |
images: a resolution tier, 1K, 2K or 4K, in Settings and the image MCP (skingstyle48487 on X)
Asking the image MCP for 4K through a relay came back at 2K: nothing told the model how large to draw. Settings › Models › Images now has Image resolution (Automatic, 1K, 2K, 4K; an app menu, saved as imageResolution), and generate_image takes a resolution argument. The agent's own resolution or WIDTHxHEIGHT size wins over the setting. The images API takes `resolution` (or a tier given as size, "4K"), and each vendor gets it in its own field: - Gemini: imageConfig.imageSize (3.x image models; 2.x draws at 1K); - chat image models (Gemini's): image_config.image_size; - OpenRouter /images: resolution; - Grok Imagine: resolution 1k or 2k (its largest); - Seedream (Ark): the size tier the model has, or its pixels for a ratio; - MiniMax H3: area; - GPT Image 2 and other WxH images APIs: pixels at the ratio, within GPT Image 2's limits (edge 3840, 655,360 to 8,294,400 pixels, /16); - gpt-image-1, DALL·E and SenseNova keep their own sizes. A vendor that answers 400 or 422 to a tier is asked once more without it. An unknown resolution is a 400. Both MCPs now say what size each image came back at, and when that is under the tier asked. The row is drawn by videogen.js, after Video generation's, so app.js keeps its budget (it was at 1,088,641 to the byte); the server keeps imageResolution when a save doesn't send it (TestSettingsImageResolution), so prefsKeep doesn't carry it. The menu has no notes: "The model's own" was a plugin's key already. Run (magpie-desktop WSL on xiaomi-gpu; mote was over load 18 all day): - gofmt -l: clean; go vet -tags nogui ./... and GOOS=windows go vet ./...: ok. - go test ./internal/gateway -count=1 (1995s), ./internal/imagemcp, ./internal/settings, ./internal/settingsapi: ok; at this head go vet -tags nogui of gui, gateway and settingsapi, and gateway -run "Tier|ImagesAPIResolution|ImageMCP|Draw|Image", settingsapi and imagemcp: ok. - New: draw_tier_test.go (each protocol's field, a fake upstream for the images API and the image MCP, the 400 retry, the precedence). - At this head (on |
||
|
|
88b65d7584 |
library: the skills sheet says why an agent gets copies (4kT1FohCTP97031 on X)
The report (X, tweet 2123056163587780891): "Claude Code can only copy
skills, never link them; every other agent can use paths." Claude Code
already takes links: real claude 2.1.327 in a sandbox HOME and
CLAUDE_CONFIG_DIR loads a symlinked skill folder and a symlinked
SKILL.md, and reads the files beside it. The row that said 只能用副本
with no reason and no switch was Claude Desktop's (Cowork), which
really does skip a linked skill (Claude Desktop 2.7032; see
desktop_skills.go), so it keeps copies.
- AgentView gains CopyWhy and CopyWith (copyWhy in skill_how.go):
desktop, liveagent, wsl (a WSL agent on a Windows drive), junction
(agy/antigravity/crush on Windows), and shared, for an agent that reads
the same folder as one given copies. A shared agent was shown as
"Gets links" while syncSkills gave it copies (l.copies with sharers);
its How is now copy and the row names whose copies they are.
- The How sheet's row says the reason ("Only ever takes copies: Cowork
skips a linked skill"), in en, zh, zh-TW, ja and de. Without a known
reason it still says "Only ever takes copies".
- docs/subsystems/library.md says so.
Not changed: agy/crush on Windows take copies even where a symlink
could be made (#5107, #6610 decided that); not part of this report.
Tests:
- TestSkillHowSaysWhyCopies: Claude Code link, Claude Desktop
desktop, Codex reading Claude Code's folder as copies -> Claude Code
how copy, shared, ["Codex"], a copy on disk, and links again after.
Red on the old behaviour (fields kept, copyWhy and the How override
dropped): "Claude Desktop: why """ and "Claude Code: how "link"".
- skill-how.test.cjs: the desktop row's reason, a shared row, a bare
must-copy row, and a new all-languages test (en zh zh-TW ja de) at a
phone width. Red on origin/main's plugins/library client.js and
i18n.js in every language (expected the reason, got the bare words).
Run:
- gofmt -l clean. go vet internal/library and (-tags nogui)
internal/gui on Linux, GOOS=windows, GOOS=darwin (wsl-run): ok.
- go test ./internal/library -count=1 at this head (rebased on
origin/main
|
||
|
|
68f6385155 |
library: a skill the router lists stays a $name of Codex's, a /skill:name of Pi's and a /name of Droid's
yuushabu_buyinn on X: with the skill router on, / in the agent no longer picks a skill. |
||
|
|
cb96fcc3a0 |
claude: a gated model goes to the account whose Claude Code offers it (ZacharyZhang on X)
With several Claude accounts and only one with Claude Mythos 5.2, the model was asked of the first account, which answered Anthropic's 404 "There's an issue with the selected model (claude-mythos-5-2). It may not exist or you may not have access to it." That 404 wasn't read as the model's, so the account rested for every model, with a backoff that grew, and was asked Mythos again each time the rest ended. - claudeLists: Claude Code names only the gated models an account has (additionalModelOptionsCache), never the ones it lacks. A model models.dev doesn't list that another account's Claude Code offers is now out of an account whose own file doesn't offer it. AccountsFor then tries it only after the accounts that have it. A model no account offers, nor models.dev lists, is still taken to be in, so an account is never left out when nothing is known. - ModelUnserved: Claude Code's "may not exist or you may not have access" and the API's not_found_error "model: …" rest only that model on that account (restID). Its other models stay on it. Run on mote at |
||
|
|
3438b7bd9c |
codex: a kept ChatGPT account that runs out is taken over on magpie's models, so the Codex app sends them (Yuzhou__Zhang on X)
Yuzhou__Zhang on X, after updating from Stable (v0.1.3960) to v0.1.4477: once the ChatGPT account ran out, the Codex app (ChatGPT app) sent nothing, on "Claude Opus 5.5 · routing group" too, whose Claude accounts had room. The screenshot shows the app's own banner, "Codex 和工作使用额度 已用完 … 11月20日 16:25 重置", and Send greyed: no request reached magpie. Cause. The Codex app greys Send for every model while its authMethod is chatgpt and the account's rate limit says not allowed. magpie gets past that by becoming Codex's provider while the account is held (codex.out, #540). |
||
|
|
f1e2ada0f7 |
usage: GPT-6.2's Ultrafast is priced at OpenAI's 3x, then 6x from March 1st (mu33410 on X)
mu33410 on X asked whether the cost magpie shows is adjusted for GPT's fast modes. Mostly it was: a call is priced at the tier its reply named (else the one sent, which is what a Codex/ChatGPT row has) from models.dev's experimental.modes, on every route (Responses, Chat Completions, the Responses WebSocket, which goes through the same handler, and Codex's backend), in the Usage page, a key's spend limit and a subscription window's API value. Checked against OpenAI's pricing page: Fast (priority) is 2x on every model that lists it, Flex 0.5x, Ultrafast 6x on GPT-6 Astra and GPT-6.1 Sol, all matching. The gap: OpenAI prices GPT-6.2 Astra's and Sol's Ultrafast at "3 times the Standard rate through February 28, 2027" and "6 times the Standard rate starting March 1, 2027 (Pacific time)", and models.dev lists their ultrafast mode with no cost. TierPrice skipped it, so every GPT-6.2 Ultrafast call, on an OpenAI key or a Codex subscription, was priced at the standard rate, below Fast. catalog.TierTimes holds that dated multiple; TierPrice takes the call's time and gives the standard price times the multiple of its day, every part and the long-context rate with it (Price.Times). The price caches in Pricer and apiPricer key on the day's rate (Record.tierKey), and the request-index ask names it, so calls either side of March 1st price apart. Scoped to the openai maker entry and those two models; Claude's fast mode reads its own mode as before. Run (WSL magpie-desktop, Linux, Go 1.26.8; mote overloaded by another session's full suite, mica's disk full): - TestDatedUltrafastPricedAtItsDay (new; Claude fast and standard unchanged among its cases): red on origin/main |
||
|
|
171475905f |
plugin: a reply's head that arrives with its completion is read, not dropped (#7017)
headRead checked the queue, found it empty, and then found the call's
result: a head the plugin queued between those two checks was lost, and
the reply was read as headless ("the vendor ended early"). The result
branch now takes a head queued meanwhile, as the c.done branch already
did. body.Read is not affected: it loops back to the queue after taking
the result.
From recih's branch (68bdf17e6), ported as its own commit.
Run: TestHostHeadArrivesWithCompletion passes on origin/main without
help (the window is narrow); with a 2ms sleep injected between the pop
and the result check it is red on origin/main ("completed reply's head
= {...}, the vendor ended early") and green with this change.
The full stack's run, on mote at e4506887c (this stack on origin/main
|
||
|
|
e8e05b68e3 |
gateway: a stalled upload's retry waits for its connection to close (#7017)
stallGuard dropped the connection of an upload that stalled past bodyStall and retried through GetBody at once, so the retry could start while the stalled connection was still closing. The retry now waits for that close (dropped, closed once inside onStall, the only place errUploadStalled is set). From recih's branch (fix/web-restart-session-persistence, 04bac6196), ported as its own commit. Run: TestStalledBodyRetryWaitsForConnectionClose red on origin/main |
||
|
|
bfbc22e190 |
claude: an idle session is saved whenever the gateway ends or hands over (#7017)
recih: after magpie web restarted (an update's re-exec, or Quit and
start again) the next Claude turn replayed the whole conversation
instead of resuming its session. Web.Wait closed the page server and
never drained the gateway, so abortAll never ran and claude-shelf.json
was never written.
- Web.Wait drains the gateway (Close: page server, then stopServing)
before the plugin hosts end and before update.Reexec.
- Desktop quit: OnShutdown calls stopServing.
- Signals: web, serve, the TUI and the app register their gateway with
the signal handler (stopGatewayOnSignal). SIGINT, SIGTERM and SIGHUP
drain it, sessions saved, before magpie dies of the signal. The return
path waits for a drain the signal already started. The TUI and the
app take SIGINT/SIGTERM themselves, but SIGHUP (the terminal closing)
stays with magpie. runTUI, runGUI and runPanel now register
tui.StopGateway and gui.StopServing for it (added in review).
- Handover: the successor answered a Claude turn before the predecessor
had saved its shelf. The predecessor now serves
GET /_magpie/claude-ready on its callback socket, answered once
abortAll has run. A Claude turn on the successor waits for it.
- The predecessor saves only after every request it holds has ended,
of any provider, which can take up to handedOffDrain (15m).
- Added in review: the wait is bounded by predecessorWait (90s, inside
Claude Code's ten minutes for a reply). Past that, the turn goes on
as before, as a replay, and no later turn waits
(errPredecessorSlow).
- loadShelf still reads a shelf written later, at the next turn with
no session found.
- A predecessor without the endpoint (404) keeps the old race.
- Sweep: sweepSessions removed session files older than idleLongest.
That included a session kept for hours past a quota 429
(keepForReset) and one moving from the shelf to a run.
- Those are now protected: the shelf file, the in-memory shelf, the
resuming set and active runs.
- An unreadable shelf skips the sweep.
- loadShelf and the sweep's snapshot are serialised by shelfFileMu.
The bridge lock is held only for the shelf maps, never across the
file's reads (added in review: the branch read the file under b.mu,
which every Claude turn takes).
From recih's branch fix/web-restart-session-persistence (7a0261cc1,
fab0ea651), with the review's follow-ups. Not taken from the branch:
the .github/workflows/test.yml change (contributors.md: .github/ stops
for the maintainer), and the test-flake commits in other packages,
which are separate goals.
Red on origin/main
|
||
|
|
b400566f96 |
library: a resize no longer works out every agent chip's style again (lexrus on X)
lexrus's Skills page (196 skills, By source, about 24 agent chips a row, dark) crawled while the window was resized. Each row's chip strip was a size container, and the chips' gap used cqw. Chromium invalidates every style with container units on each change of the viewport width (ViewportUnits), so every chip was recalculated on each resize step. Now handGap works the gap out in whole pixels from each row's content-box width, which a ResizeObserver on the .lib-row hands over, so there is no forced layout and no container query. The CSS clamps --lib-gap as before, and the gap is set only when it changes. While the window is resized, .lib-resizing (held 600ms after the last step) turns the chips' translate transitions off, which WebKit was paying to start on every step. Measured with a Playwright probe at the reporter's scale (259 rows, 6425 chips, every group open), 30 resize steps between 1200px and up, CDP Performance.getMetrics and tracing, on mote: - Chromium: resize wall 24.4-29.3s -> 2.7s; style recalc 18.2-22.1s -> 1.3s; layout 0.47-0.71s -> 0.17s; long tasks 53-65 (6.8-8.0s) -> 15 (1.7s). - WebKit: resize wall 25.9-31.6s -> 9.2s; average frame 235-277ms -> 48ms (hiding every chip gives 1.8s, the floor). - Scroll is unchanged (about 31ms frames in Chromium, 20ms in WebKit). content-visibility was tried and dropped: it made scroll worse. skill-name-many-agents.test.cjs now resizes 866px -> 560px and checks the strips match a fresh 560px render, and a guard fails if library.css uses container units again. Broken by hand (handGap run only once): 3 pass, 3 fail. Restored: green. Run on mote at this head (rebased on |
||
|
|
454f9d023a |
library: the Tools on demand row names the agents the gateway gives every tool
The row under the MCP router said "Claude Code, Claude Desktop, Codex and
Pi find tools themselves and are given every one", but hubOnDemand gives
every tool to Droid and omp too (hubSearchesItself). The words now come
from the code: gateway.HubFindsItself (the ordered list hubSearchesItself
is built from) and gateway.HubOnDemandOver reach the library's view as
hubFindsItself (each agent by its name, its id when none is found) and
hubOnDemandOver, and the row joins them with the language's list
separator. Two keys replace the old sentence in zh, zh-TW, ja and de; the
CJK sentences follow each other with no space.
Tests:
- TestHubFindsItselfIsWhoGetsEveryTool: every named agent (and its WSL
id) is given every tool, every agent given every tool is named, and
other agents get theirs on demand.
- TestHubFindsItselfInTheView: /api/library carries the gateway's list
and threshold, each agent by its name.
- library-mcp-router-tools.test.cjs: the row's text is built from the
view's list and count (fixture: 12, six agents), names each one, never
says 10, and has no "。 ".
Run (wsl-run, magpie-desktop; mote was at load 46-49 of 18, mica's disk
full), at this tree on
|
||
|
|
35e5989f17 |
provider: OpenCode Go's own free models are asked as the client asked them, without OpenCode's environment block (withtee on X)
withtee (X, 2123032184043024704) saw models on OpenCode Go answer with
"Prefer /tmp/opencode over generic system temporary directories such as
/tmp". That line is magpie's: OpenCodeFree counted Go's own -free models
(beam-free, cat-jam-free, which models.dev's opencode-go lists) as Zen's
free tier, so the Zen mimicry went with them: OpenCode's <env> block and
the core-tool stubs were added to every request from Claude Code and other
clients, and the model said the block back. Paid Go models never got it.
OpenCodeFree now leaves out a model opencode-go lists when the provider is
at Go's gateway (openCodeGoLists). It is asked as the client asked it and
is not asked again at Zen when Go refuses it. A Zen free model Go doesn't
list (glm-5-free) keeps the block when RetryOpenCodeFreeOnZen asks it at
Zen, which answers 429 without it. The opencode-zen preset is unchanged.
Tests: TestOpenCodeGoOwnFreeModelsAreNotZens (provider) and
TestOpenCodeGoOwnFreeModelGetsNothingOfOpenCodes (gateway, checks the
request body has no /tmp, <env> or stub; Zen's retry of glm-5-free still
carries both). TestOpenCodeGoUnavailableSaysWhere moved to glm-5-free,
since Go now lists cat-jam-free itself.
Run (all on magpie-desktop, WSL2 on xiaomi-gpu, via wsl-run; mote over
its load limit, mica's disk full):
- gofmt -l: clean.
- go vet -tags nogui ./... (Linux): ok. GOOS=windows go vet ./...: ok.
- go test -tags nogui -count=1 -run 'OpenCode|Zen' ./internal/provider
./internal/gateway: ok, before the rebase and again at 32c5d297a on
origin/main
|
||
|
|
1b360f08c2 |
gui: the Version row's Restart is named Restart only (realfxw on X)
With automatic updates off, Settings › About's Version row shows Check and a bare Restart. realfxw restarted again and again, reading Restart as "install the update", while his build was newer than Daily's and no update was on offer. Why the button is there: |
||
|
|
78b6d47ccc |
update: a version newer than its channel's says nothing comes until the channel passes it (realfxw on X)
realfxw on X (tweet 2123033167170814171): "升级无效,重启了无数次,一直卡在这个版本", on 0.1.4445. Every release around it has its 17 assets, so nothing was missing to download. Their Update channel is Daily, and Daily's pick (the 11-17 20:00 UTC cut) is 0.1.4395, older than what they run. The app keeps the newer version and installs nothing until Daily passes it, which is right, but the version row said "Up to date on Daily" (每日版已是最新) and, before a check, Automatic updates are off with a bare Restart. They restarted again and again waiting for an update that couldn't come. - update.go: the update JSON says ahead when the state is latest and this version is newer than the channel's. - app.js: the row says "Newer than Daily's 0.1.4395; it updates once Daily passes it", the newest on Every version after it, and Switch to Every version as before; one t() for both channels and the Every version tail shared with Up to date. Translated in zh, zh-TW, ja, de. - update_cli.go: `magpie update check` says the same, with `magpie update channel every` to get it now. - core_budget_test.go: +68 bytes of code on app.js and the core scripts, packed to the shortest form; renderUpdate draws on every window, so there is no page to move it to. - docs/reference.md: the channel section names Daily and the line. Red on the old code (upd-ahead-red, origin/main |
||
|
|
4d79bebfa7 |
usage: speed counts all output, reasoning and tool calls too, from the first output (Archivemylife on X)
Archivemylife on X: speed should be the upstream's usage over the local time, with no split into reasoning, tools and answer, since reasoning and tool calls are tokens too. Speed is now every output token the vendor's usage counts (reasoning and tool-call arguments included) over the time from the first output of any kind to the end of the reply. The first output is the earlier of the first content (TTFT) and the first sign of reasoning, firstToken.reasoningMs in ttft.go, which works the same in every protocol: - a Responses reasoning item's start; - an Anthropic thinking or redacted_thinking block's start; - sealed (hidden) thinking; - reasoning deltas spread over 100 ms or more. Deltas that came at once are a buffered burst and tell none. A summary is no sign (summaryPart: a Responses reasoning summary, a Gemini thought, or a summary translated from another protocol via firstToken.summarized), because it is written after some of the reasoning it sums up (#1463). A reply that reasoned with no sign of when it began counts only its answer, its output less the reasoning, from its first text, and none with no text. Before this, a reply that reasoned always counted only its answer, and a reply that wrote tool calls after reasoning told no speed. Burst and held-content checks judge the answer's part. The same definition holds everywhere: - gateway: speed.go, trace.go, codex_backend.go; - usage.DecodeOf, for the Usage cards, rows and `magpie usage`; - the Usage page's ledDecode; - the Routing page's decodeOf and its ranking (fast routing reads noteTrySpeed, which uses DecodeOf). settledCountVersion goes to 8, so settled heat totals are counted again. The rule text is in en, zh, zh-TW, ja and de. Docs: reference.md, and gui-shell.md under "Streamed output speed". Red on the old code (scratch worktree at |
||
|
|
1c0ecec0f6 |
library: a magpie in Docker keeps skills and prompts for its clients
fenglian980510 on X: in the Docker gateway the Library had MCP and no Skills. Since |
||
|
|
70ad7cf30f |
provider: an OpenAI key's GPT-6 Astra and Sol can go Ultrafast, on its Responses (OoopsHh on X)
OoopsHh on X: in Docker, an OpenAI API provider's GPT-6 Astra offered Standard and Fast only, in the model's speed, in routing groups and in the Agents settings. Every Ultrafast offer came from a Codex account's or Codex CLI's list, which a Docker magpie with an API key has none of, and buildResponses sent "ultrafast" to chatgpt.com alone. OpenAI's Ultrafast mode guide (developers.openai.com/api/docs/guides/ultrafast-mode) names GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Astra and GPT-6.1 Sol, with service_tier "ultrafast" on the Responses API. provider.OpenAIUltra holds those four (a dated snapshot too). UltraOn offers Ultrafast for them on an OpenAI key's Responses, and on a provider added by its address (OwnFast) with no Codex cache; the GUI's three speed controls read UltraOn (providers.go canUltra, groups.go ultraOK, agent route UltraOK), so no GUI asset changed. buildResponses sends the tier to api.openai.com for those models only (any other goes priority, as before). OpenAI's Chat Completions turns the tier away on every model, so a Chat request to api.openai.com that would carry it, a client's own ask too, goes priority (chatNoUltra, in the tierMate check). Another vendor's model is untouched. The Codex subscription half (Docker asked the ChatGPT list as 0.159.0, below the 0.166.0 that lists GPT-6.2 and Ultrafast) was fixed meanwhile on main by |
||
|
|
5cf1d3846a |
sessions: an agent left off in the first "allow selected" is asked about once more, on Sessions and Usage › Requests
baysonfox on X: with magpie installed after Antigravity 2.0, the app's
sessions and calls made without magpie never showed in Usage, while agy
CLI's did. The first consent named the app off beside agy, and a named
agent was never "new" again, so nothing asked about it and nothing on
Usage said why. The reader is fine: the app's calls come from its own
SQLite steps (antigravityRead), read once allowed.
Nothing is turned on by magpie: the gate is the user's privacy choice.
Instead:
- settings.SessionReads gets Kept: agents turned off on their own (a
sessions/reads post without `all`: Keep off, a Settings › Privacy row,
`magpie sessions read off <agent>`). A post setting it on takes it out.
- readsNow's New: off, found here and not Kept (was: never named). So an
agent left off in the first choice's list is asked about once more,
as one found later already was.
- Usage › Requests shows a line above its rows for those agents
(readsLater in the usage plugin): Count {names} / Don't count, the
same {agents} posts as the Sessions page's laterCard. Gone after
either answer; sessions/reads read at most once a minute.
- Old data: an agent turned off in Settings before Kept existed has no
entry and is asked once more, for every user with such an agent.
Tests:
- TestSessionReadsUncheckedAgentAskedAgain (count, keep off): sandbox
HOME with testdata/agy-sessions and the real Antigravity 2.30
conversation (antigravity-2.30-tools); after the first choice the app
is off and New, has no rows in /api/usage/requests; Count brings its
rows in, Keep off keeps none, and neither is asked again. Red on the
old code (New false after the first choice).
- TestSessionReadsTurnedOffNotAskedAgain: off on its own, under all true
and all false, is neither on nor New.
- usage-reads-note.test.cjs: the Requests line in Chromium and WebKit,
en/zh/zh-TW/ja/de at 900/420/390px, both answers, buttons inside the
line, no sideways scroll; red on the old code (no #ledReads).
Run on mica (mote was full: load 40+, another GUI suite on it), rebased
on
|
||
|
|
dc507aefd3 |
gateway: Automatic image recognition and web search stay with the provider that served them
hxy920830 on X added a Claude account only for account switching, and every agent's image recognition and web search moved onto it: with Settings › Models › Image recognition and Web search on Automatic, magpie ranked the picks again on each call, and a Claude account ranks first in both (seersRanked tier 0, searchRank 0). Adding a provider reassigned what another provider already served. - auto_picks.go holds each Automatic slot (Image recognition, Web search, Image generation, Video generation) to the provider magpie first picked, in auto-picks.json beside providers.json. seersRankedHeld and autoSearcherReady put the held provider before every other of its readiness; AutoDrawer and AutoVideomaker pick among its models while it has one. A default fills only a slot nothing serves: nothing held, or the held provider removed, off, or left with no model for it. - Allowance still comes first for the moment (#1801); the hold stays. - A model picked in Settings is untouched. The picker already shows the pick as "Automatic · <model>", where it can be changed. - A file that can't be read holds nothing and is not written over. Users already switched: holds begin once, when the gateway first serves (seedAutoPicks). It reads the last 30 days of the ledger's Image description calls (kind vision) and the searcher's Web search calls (kind web_search, not search API / native rows). A slot a later provider took over is given back to the provider that served the call just before the current pick's first, while it can still serve it. A switch older than 30 days, or one whose earlier provider is gone, is not restored: the current pick is held and the user picks in Settings › Models. Image and video generation have no Automatic call in the ledger and are held to the pick at the seed, nothing restored. Docs: docs/subsystems/gateway-routing.md, "Automatic picks are held to the provider that serves them". Run: - go test ./internal/gateway -run 'TestAddedProviderTakesNoAutomaticPick|TestAutoPicksSeededFromTheLedger|TestClaudeAccountAddedTakesNoImages' -v: ok (mica) - GOOS=linux go vet ./internal/gateway, GOOS=windows go vet ./internal/gateway: ok (mica) - go test -count=1 -timeout 45m ./... (mote, at |
||
|
|
e08dc0fe58 |
provider: OpenAI's own API sends Responses turns over the WebSocket by default, only the new input each turn (KawaiiZapic on X)
KawaiiZapic's screenshot showed 6.4 GB up for 799 MB down: every turn went out whole. What each leg sends, checked in the code: - Codex on a ChatGPT subscription: the kept upstream socket already sends previous_response_id and only the new input (codex_socket*.go). - A Responses provider with socket=auto/on: the same, but socket was off unless someone ticked it, so an OpenAI API key provider sent the whole conversation each turn over HTTP. - A client's own previous_response_id is kept for api.openai.com, Azure and Ark (prevKeeps); other relays get the expanded whole turn, since they can't be trusted to hold the chain. - Claude Messages, Chat Completions and Gemini have no incremental protocol; those always send whole (prompt caching is what saves there). - The ↑ counter (upbytes.go) counts each upstream write once; no double count found. Change: a Responses provider at https://api.openai.com with no socket set now goes over the WebSocket (provider.SocketByDefault, mirroring codex-rs's create_openai_provider supports_websockets: true). socket=off is now stored, so unticking it there sticks; elsewhere unticked is still "". The CLI shows "auto (default)" and takes socket=off|default. The editor's WebSocket row moved into socketrow.js (imported as the editor draws), so app.js and the core shrink by 165 bytes and their budgets drop with them. Caveat: an OpenAI provider saved unticked before this (socket "") now goes over the socket until it is unticked again; the docs say so. Measured (fake api.openai.com over TLS, sandbox HOME, 20 turns of a 4KB user message each): socket off 20 HTTP posts, 876,345 bytes up; default 0 posts, 20 socket turns on one handshake, 84,928 bytes up (Traffic().Up equal to the socket bytes, so no double count). Run (mica). At this head, rebased on origin/main |
||
|
|
9314999a4a |
ccswitchlink: a ccswitch:// link that still reaches magpie goes to CC Switch, and so does the scheme (asombrado_a on X)
@asombrado_a (X, 2122995130097713493) has CC Switch and magpie both installed, and a ccswitch://v1/import link opened magpie. magpie claims magpie:// only since |
||
|
|
389169f761 |
gateway: a Qwen Token Plan's TTS, ASR and video models are served on OpenAI's routes
gaubeebangeel on X (tweet 2122991088017477954) asked for every kind of model Alibaba's Token Plan sells, each on its own DashScope endpoint. Before this, magpie served the plan's text (Anthropic and chat completions), its realtime voice (/v1/realtime, realtime.go) and its Qwen-Image drawing (draw_dashscope.go). The plan's text list lacked deepseek-v4.1-flash-1017, and nothing served its TTS, ASR or video models. - presets: alibabaPlanModels as the four plans' overviews list them on 11-18 (qwen4-max, qwen4-max-preview, deepseek-v4.1-flash-1017 added). PresetDef gains Drawers, Videos, Speakers and Transcribers, Region gains Speakers and Transcribers, and the four Token Plans (qwen-token-plan, bailian-token-plan, alibaba-token-plan, qwencloud-token-plan) name qwen-image-3.0-pro and wan2.7-image(-pro), wan3.0-video and happyhorse-1.1-t2v/-i2v/-r2v, qwen-audio-3.0-tts-plus and qwen-audio-3.0-asr-flash. PlanSpeakers and PlanTranscribers feed PlanRetrieval, so the router knows which provider speaks and transcribes. - /v1/audio/speech (speech_dashscope.go): a plan key's qwen-audio TTS model is asked on <root>/api/v1/services/audio/tts/SpeechSynthesizer, every field under input as the docs have them. An OpenAI voice name becomes the model's own first voice (longanlingxin for -plus, longanhuan_v3.6 for -flash), speed goes as rate (0.5 to 2), and instructions as instruction. mp3, wav, pcm and opus are served; aac, flac and stream_format sse are 400s before DashScope is asked. The answer's output.audio.url is fetched (or data decoded) and served with the format's type. - /v1/audio/transcriptions: a plan key's qwen-audio ASR model goes to multimodal-generation with the file as an input_audio data URI, its format from the file's name or type, and language as language_hints. The answer is given back as OpenAI's json, text or verbose_json; srt, vtt and translations are 400s. The form's file is read only on this path (audioForm.file), so a form passed on as sent is never copied. - /v1/videos (video_dashscope.go): Wan 3.0 and HappyHorse start at video-synthesis with X-DashScope-Async: enable and are polled at /api/v1/tasks/<id>. The id carries the model and the key's mark, as MiniMax's does. vendorAsk.answer now takes the request's context, so the TTS answer's audio URL is fetched under it. Hosts, paths, fields and voices were checked against Alibaba's docs (help.aliyun.com model-studio qwen-audio-tts/asr HTTP API and Wan 3.0 video reference, docs.qwencloud.com Token Plan multimodal pages, platform.qianwenai.com token-plan), not against the tweet. Not tried against the real API: the owner's magpie has no Token Plan provider. The tests use a fake DashScope serving the docs' shapes. Run (on mote via mote-run, tree at |
||
|
|
589e4ba6da |
agent: OpenCode finds magpie's models itself; opencode.json no longer lists them
chawyehsu on X asked for dynamic model discovery, as
yuhp/opencode-models-discovery does. magpie wrote its whole catalog into
opencode.json's magpie provider. For an OpenCode that loads plugins of
today's shape (1.4.0 and later, 2.0.5 and later; openCodeDiscovers),
the provider now has no "models". magpie writes plugins/magpie-models.js
beside the file (opencode_models.js, marked by its first line). It fills
the provider's models as OpenCode starts, from the gateway's new
/v1/models?format=opencode (opencode2 for OpenCode 2;
gateway/opencode_models.go). That endpoint gives the same entries a sync
would have listed, in magpie's order, never cached, and only the
models of OpenCode's catalog the key asking may use (keyListed).
- OpenCode 1: through its config hook, which runs before it reads
providers. The user's entries under magpie's provider are laid over
magpie's, and an id magpie doesn't list stays.
- OpenCode 2: through ctx.model.transform. The config's own entries are
laid on afterwards by OpenCode. Every entry says variants ([] for
none), so OpenCode makes up none.
- Gateway not answering (3s timeout): the plugin lists the models magpie
had when it last wrote it.
Existing users: the first sync on such an OpenCode takes magpie's list
out of the file (modelsLeft). Of each model, only what the user said
differently stays: their own variant, or a limit.output they typed. A
limit or cost they changed stays whole, since OpenCode 1.19.6 refuses
one without its context ("Missing key ...limit.context"). An id magpie
no longer lists goes that once (stash opencode-discover:<path>), as it
did on every sync before; one added after that is the user's and stays.
The user's other keys and providers are untouched. These keep the list
in the file as before: an OpenCode older than those versions, of no
known version, and the forks (mimocode, DevEco, Air). Going back to
such an OpenCode writes the list again and removes the plugin, and so
does taking magpie out. A file at the plugin's path without magpie's
first line is the user's and is never touched.
Run:
- mote-run go vet ./internal/agent ./internal/gateway, also with
GOOS=linux and GOOS=windows: clean. gofmt -l: clean.
- mote-run go test ./internal/agent -run
'OpenCode|OpenChamber|Air|DevEco|Mimo': ok (TestOpenCodePluginRuns runs
the plugin in node against a stubbed gateway, up and down, v1 and v2).
- mote-run go test ./internal/gateway -run 'TestOpenCodeModelsList|Models': ok.
- Broken by hand, each red: no key filter (TestOpenCodeModelsList),
openCodeDiscovers always false (Finds/ListMoves/DiscoversFrom), the
delta keeping whole models (ListMoves), and the plugin letting magpie's
fields win over the user's (PluginRuns).
- Three opencode_v2 tests that check the listed words now pin 2.0.4 and
1.3.9, which still list.
- Real OpenCode on mote in a sandbox HOME, opencode-ai 1.19.6 and
@opencode/cli 2.3.2. Config and plugin written by magpie's own code, a
fake /v1/models serving one extra model:
- `opencode models` lists the served model with the gateway up, and
the cached list with it down. Both versions, Bearer key sent.
- A file moved from 1.3.9/2.0.4 with a user limit.output and a user
model: `opencode models magpie --verbose` (1.19.6) and
`opencode api --standalone GET /api/model` (2.3.2) resolve magpie's
models the same as the old full-list file did. Names, limits,
variants and the user's edits are identical; 2.3.2 orders a model
the file names first.
- Full suite: mote-run go test ./... -timeout 45m -count=1 on this change over base
|
||
|
|
7300be4d01 |
gateway: find_tools says no tool was found instead of handing over near names
sahuaja3669 on X (tweet 2122928458355319211), on the on-demand router:
it shouldn't pad its answer with tools of a near name that do something
else, and it should say plainly when nothing was found.
Before, find_tools counted any query word found as a substring of a
tool's name or description, stop words and single letters included. "a"
is in nearly every name, so "send an email" against GitHub, filesystem,
Linear, magpie-image and magpie-browser gave five tools in full
(search_code, read_file, write_file, ...) as matches, with nothing saying
they were weak; a query nothing matched did say so.
Now find_tools matches on the query's key words (stop words such as a,
the, to, my left out), each a whole word of the name or description or
the start of one at four letters or more (open/opens, issue/issues; a
non-ASCII word anywhere, as before). A tool is a match only when the
query is its name, or it has two thirds of the key words, one in its
name unless it has them all. When none clears that, the answer says no
tool was found and not to call one that only sounds close, and names
each server with its tool count and up to 8 of its tool names, as what
there is rather than as matches. call_tool's "close to it" for an
unknown name keeps a looser rule (a key word shared with the name,
hubNear), so create_isue still points to create_issue. Cheap and
deterministic: word lists, no model, no index.
The cost: a query in other words than the tool's ("draw an image of a
cat" for generate_image) now finds nothing, and the model reads
generate_image from the server list in the answer, and from find_tools'
description, which already names each server's tools.
Test: TestHubFindNothingClose, on real descriptions from
github-mcp-server, the reference filesystem server, Linear's, and
magpie-image's and magpie-browser's own. Red on the old
hub_ondemand.go: "send an email" matched eight tools or more, five in full.
docs/subsystems/mcp-router.md updated.
Run:
- full go test ./... -count=1 -timeout 45m on mote at 5c32b285d (on
|
||
|
|
d2fa7d8d79 |
sessions: an Antigravity app conversation shows what was said, not only its title
@yansheng1003 on X: the Sessions page showed an Antigravity 2.0 conversation's title and preview only. HasTranscript left "antigravity" out, since conversations/<id>.db's step text is encrypted at rest, so the row had no Show conversation and /api/sessions/transcript said "this agent's conversations can't be shown". The app also writes every step in plain text beside the database: brain/<id>/.system_generated/logs/transcript_full.jsonl in the same store, in agy CLI's format (user input, planner responses with their tool_calls, tool results). Antigravity 2.30's language server writes it in the stable store and in Insiders' (both checked: run in a sandbox HOME on Windows against a fake model that called read_file). - transcript.go: antigravity has a transcript; readTranscriptOf reads it through agyTranscript (antigravityTranscriptOf), so the viewer, TranscriptAt, search, the said index and the Markdown export all get it. A conversation with no transcript file is ErrNoTranscript, as before. - antigravity_app.go: antigravityTranscript derives the path from the database's (stable, Insiders, a WSL distro's); its size and time are folded into the session file's with the -wal's, so a step it adds reads the session and the said index again. - search.go: linesFile is false for antigravity, so the encrypted .db is never pre-scanned for the words. - testdata/antigravity-2.30-tools: that real conversation (db with the WAL checkpointed, summary row, brain/ logs). Tests: TestAntigravityAppTranscript (stable, Insiders, WSL: parts, search hit and miss, Markdown), TestAntigravityAppNoTranscript, internal/gui TestSessionAntigravityConversation (/api/sessions marks it, /api/sessions/transcript gives the five parts). Run: on mica (mica-run) at base |
||
|
|
bfddc9cfba |
routing: DimCode's requests read as DimCode, with its mark, by key too
Yayoi_no_yume on X, a Docker magpie (v0.1.4350): DimCode (dimcode.dev)
on another computer, calling with a gateway key named "Magpie", drew
the Routing page's client node as the cube and "Magpie", and the
request's story said "DimAgent asked for the routing group Step 5
Preview".
Two causes:
- DimCode was no client magpie knew, so usage.AgentOf named it by its
product name: npm's dimagent 0.5.29 sends "DimAgent/<version>" to a
provider set to send its identity (resolveDimOAuthIdentityHeaders)
and "DimCode/<version>" otherwise (read from the published binary).
A client "dimcode" (DimCode, UA dimagent/dimcode) now names it,
apart from the Dim alpha magpie starts ("dima"/"dimcode-alpha" stay
Dim's, by name first). Its icon is dim-color: dimcode.dev's favicon
(dimagent-favicon.svg, "Official DimAgent mark") is the same artwork.
Routes and ledger records kept before are named again through
AgentOf (Route.routedAgain), so old "DimAgent" rows read as DimCode.
- A keyed request's node read the key's name alone (
|
||
|
|
71b8ab46c1 |
gateway: Codex's compaction on Open Design goes without empty tools, and its upstream_error is asked again (Mugenrikka on X)
Codex compacting on any Open Design model got 400 "[code=upstream_error] Provider returned error" from amr-link, while other providers compacted. Codex's compaction is its one request with "tools": [], and the summary ask adds tool_choice and parallel_tool_calls beside them (#292). Since plugins 0.1.13 / |
||
|
|
54117164cd |
gateway: a Claude account Anthropic turned off moves on and rests as restricted
When Anthropic turns a Claude subscription account off, the request now goes on to the routing group's next member and the provider's other accounts, and the account rests as restricted (2h) instead of a short failure rest. Before, a disabled organization's 400 ended the group at that account and its next members were never asked (Ramon317317 on X), and Claude Code's "account is on hold" came back from the bridge as a 502 that rested the account a minute and asked it again. The words (claudeOffWords, routing.go): "This organization has been disabled." (400 invalid_request_error or 403), "account is on hold and can't use Claude Code" (the bridge now answers it as a 403), "organization has disabled Claude subscription access", "OAuth authentication is currently not allowed for this organization", and "account can't receive replies from Claude" (either apostrophe, or "cannot"). claudeAccountOff scopes them to a Claude subscription account or a key on api.anthropic.com. A relay's same words are about the relay's own account behind it, so they stay ordinary failures there, as on Codex. The extra-usage and Usage Policy refusals are not account faults and are unchanged. riskRefused keeps the provider's other accounts in, as for Google's suspension. Docs: claude-subscription-bridge.md and gateway-routing.md updated. Run at f357a5e25 (this commit on origin/main |
||
|
|
3ec89c5224 |
codex: the takeover's end waits for the chats on magpie the Codex app has open (milianxinqi on X)
milianxinqi on X, the Codex app: "Model provider mismatch. This chat uses
magpie, but your current provider is OpenAI. Switch to magpie to
continue." ("用的好好的,codex 突然就弹这个了"), with nothing disconnected.
Cause. With the ChatGPT account Codex is signed in to held (out of its
allowance and credits), magpie is Codex's provider (the codex.out
takeover, #540) and new chats start on magpie. When the account has room
again (its window's reset, a switch to another account, or the account
the user keeps Codex on,
|
||
|
|
c5cb1c0588 |
gui: the tray's logo is 16pt, as large as other apps' menu bar icons
qingnianxiaozhe on X: magpie's A\ in the menu bar looked a size smaller than another app's A\ beside it. magpie fitted each logo to a 14pt box, so the A\ (about 1.37:1) drew 14x10pt. Claude.app's menu bar template (TrayIconTemplate@2x.png, 48x48 px) has 32x32 px of ink, a 16pt glyph, and in the reporter's screenshot the other A\ is 32x22 px against magpie's 28x20 px at 2x. mpLogo is now 16; the letter in a ring (a logo that can't be read) grows with it. The two 10pt rows of percentages are unchanged and still fit the 22pt bar. Tests: the logo boxes in the tray tests follow the 16pt box (offsets 28 -> 32, 34 -> 38 px at 2x); TestTrayImageLogoSizes now wants 27-33 px of a 32 px box. Run on mote (macOS 27.2): - go test ./internal/gui -run Tray -count=1 -v: ok. - Broken by hand (mpLogo back to 14): TestTrayImageLogoSizes FAILs ("alma spans 24 px of a 32 px box", codex/zcode/workbuddy 26 px) and TestTrayImagePlain FAILs ("238 px with logos, 182 without"). - Rendered by the real drawing code (trayImagePNG, 22pt bar at 2x) next to Claude.app's own template icon: the A\ is 28 px wide before and 32x24 px of ink after, as wide as Claude's 32 px spark; the percentages are the same text at the same size. The before/after strips are kept outside the repo (tray-toolbar-scratch/before and after/strip-{light,dark}.png). Suite and checks, on mote at aa31e737c8d271455865615fafdf512e09073663 (this commit and its pair, the tray logo size / the toolbar menu): - go test -count=1 -timeout 45m ./... in a sandbox HOME, caches pinned: exit 0, 103 packages ok, none FAIL (internal/gateway 1633s, internal/agent 949s, internal/provider 470s, internal/gui 295s). - gofmt -l internal/gui: nothing. go vet ./..., GOOS=linux go vet -tags nogui ./..., GOOS=windows go vet ./..., go build, GOOS=linux go build -tags nogui, GOOS=windows go build: all ok. - No GUI asset changed, so the Playwright suite wasn't run. After a rebase onto |
||
|
|
add1e75ee3 |
gui: no Icon and Text menu on a right-click by the traffic lights
AlanWang1027713 on X: a right-click on the main window's title bar, by the lights, offered "Icon and Text / Icon Only / Text Only". It comes from the empty NSToolbar that MacTitleBarHiddenInset puts there to inset the lights; NSThemeFrame's menuForEvent: lists its display modes. insetLights takes the toolbar away only in the macOS 26 design, so on macOS 27, with an older SDK and in a right-to-left layout the toolbar, and its menu, stayed. quietToolbar turns the menu off where the toolbar stays: allowsDisplayModeCustomization = NO (macOS 15+), and AppKit's own _setWantsToolbarContextMenu: NO for macOS 12-14, each looked up with respondsToSelector, since the SDK that builds magpie may be older than the system it runs on. Nothing about the title bar's shape changes. windowshape.Of now reads the menu a right-click 20pt below the top, 120pt in, gets from the window frame (TitlebarMenu), and TestMainWindowCorners and TestMainWindowRightToLeft fail when the main window gets one, or when the reference toolbar window doesn't (so the probe is proven to see it). Run on mote (macOS 27.2), real makeMain window: - go test ./internal/gui -run 'TestMainWindowCorners|TestMainWindowRightToLeft' -count=1 -v: ok. Each stage logs "title bar menu []" next to the reference toolbar window's ["Icon and Text" "Icon Only" "Text Only" "-"] (macOS 26 SDK) and ["-"] (macOS 15 SDK). Lights [[26 26] [49 26] [72 26]], 66pt title bar and 16pt corners with the 26 SDK, [[19 19] [39 19] [59 19]] and 38pt with the 15 SDK: the same as without the change. - Broken by hand (quietToolbar call taken out): both FAIL, "a right-click on the title bar gets a menu: ["Icon and Text" "Icon Only" "Text Only" "-"]" (26 SDK) and ["-"] (15 SDK). - A probe app on mote: either switch alone empties the frame's menu. Suite and checks, on mote at aa31e737c8d271455865615fafdf512e09073663 (this commit and its pair, the tray logo size / the toolbar menu): - go test -count=1 -timeout 45m ./... in a sandbox HOME, caches pinned: exit 0, 103 packages ok, none FAIL (internal/gateway 1633s, internal/agent 949s, internal/provider 470s, internal/gui 295s). - gofmt -l internal/gui: nothing. go vet ./..., GOOS=linux go vet -tags nogui ./..., GOOS=windows go vet ./..., go build, GOOS=linux go build -tags nogui, GOOS=windows go build: all ok. - No GUI asset changed, so the Playwright suite wasn't run. After a rebase onto |
||
|
|
42c43c0020 |
sessions: an agent found after Allow selected is asked about once (Antigravity 2.0)
baysonfox on X: Antigravity 2.0 desktop sessions showed on the Sessions
page only while the app was connected to magpie; agy CLI's always showed.
Cause: not the file reader. Real Antigravity 2.30 (signed out, no model,
sandbox HOME on the Windows box) writes ~/.gemini/antigravity/
conversations/<id>.db, conversation_summaries.db and brain/, and
internal/sessions parses them. The gate is settings.SessionReads:
"Allow selected" (and the Usage readsNote's "Count …") saves all:false,
so an agent installed after that choice is never read and never asked
about again. Gateway-recorded sessions skip the gate, hence "only when
connected".
Fix: /api/sessions/reads marks a found agent `new` when the choice was
made, it isn't read, isn't named in Agents and is on disk (Found(), which
checks every OS's path). The Sessions page shows one quiet card for those
(laterCard): "Show their sessions" names each on, "Keep off" names each
off, so it isn't asked again. No new endpoint; the card posts the
existing sessions/reads.
Tests: TestSessionReadsNewAgent copies the real 2.30 files
(internal/sessions/testdata/antigravity-2.30, sandbox paths only, no
tokens) beside agy-sessions, with agy allowed by name: antigravity is
off and new, nothing listed; after the answer it is not new, settings
keep all:false/agy:true, and its one session is listed only when shown.
TestSessionReadsNewOnlyWhenNamed: not asked, allow all, all with agy off
mark nothing new. sessions-reads.test.cjs: the card, both answers, posts
and no card after reload, Chromium and WebKit, 5 languages, 900/390px.
Run at d7d62d889, on mote, then rebased onto
|
||
|
|
3b74aaf12c |
agent: Claude's auto-compact window is held to the 1000000 Claude Code takes
ZeroX2017 on X (0.1.4404): a compaction threshold of 1048576 typed for Ollama Cloud's 1M DeepSeek went into ~/.claude/settings.json as it was. Claude Code 2.1.316's settings schema (and Claude Desktop 2.7032's copy of it in app.asar) takes autoCompactWindow as an int of 100000 to 1000000 and reads a larger one as none, so a new Claude App session ran that model at the top-level 272K for every model. Every auto-compact window magpie writes for Claude Code is now held to 1000000 (claudeCompactCap): the per-model modelSettings entries (claudePlan), the top-level autoCompactWindow, and CLAUDE_CODE_AUTO_COMPACT_WINDOW. An entry the hold makes equal to what the model runs at anyway is left out. The threshold in magpie stays as typed; Codex and Grok Build get it unheld; tune's card still reads the top-level value back as Long conversations at the typed value (claudeLongWindow compares against the held value). agent-wiring.md says so. Tests: TestClaudeCompactHeldToClaudeMax (Desktop entry, a second sync rewrites nothing, magpie's threshold unchanged, the variable when Claude Code is alone, Codex unheld), TestClaudePlanHeldToClaudeMax, TestClaudeTopCompactHeldToClaudeMax (top-level + tune read-back). Run: - Full suite, go test ./... -timeout 45m -count=1 on mote at base |
||
|
|
00d6c8dbfc |
library: the Plugins page's Give to agents and Hide from agents follow the Library's switch for the plugin's tools
PluginServers called a plugin's tools server on when any agent was ticked for it, but the Library row's switch is !Hidden. With the server on in the Library and no agent ticked, the two pages disagreed. The Library's switch said on, and an app at the MCP router's address had the tools. The Plugins page said "Tools, hidden from agents" and offered Give to agents. Now `on` is !Hidden on both pages. Test: TestPluginToolsHidden checks that with the server on in the Library and no agent ticked, an app at the router's address lists it and PluginServers says on. docs/subsystems/plugin-tools.md says what `on` is. Run (mica, at this tree on |
||
|
|
cb1fe6d5d9 |
gui: Get started put away comes back from Settings › General
Once the Agents page's Get started card was hidden (POST
/api/settings/guide {hidden:true}) nothing in the app brought it back.
Hiding it now says where it comes back ("Get started hidden; Settings ›
General brings it back"), and General has a Get started row with Show,
only while the card is hidden and would otherwise show (setup not done,
not gateway mode). Show posts {hidden:false}, redraws the Agents page and
says so; the row goes. The row lives in guideback.js, imported by
navpages.js beside the sidebar's pages, so the core grows by one status
line. Settings' search finds it by its name.
Run (mote, at this tree):
- getting-started, nav-pages-hidden, nav-pages-order, settings-general,
settings-search, i18n-keys, gui-de, Chromium and WebKit, every
language: 117 tests, all pass after the fake server answered
/api/settings with the guide flag as the real one does.
- go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok.
Broken by hand, each red, then put back:
- renderNavPages not calling guideBack: getting-started 20 of 60 red
(the row never shows).
- the hide's status line removed: getting-started 30 of 60 red.
Not tried: the real app window.
|
||
|
|
afabb7f90f |
library: a skill the router lists stays a /name of Claude Code's
RoyShen on X (yuushabu_buyinn): with the skill router on, / in the agent
no longer picks a skill. A listed skill has no link of its own in the
skills folder, so Claude Code had no /name for it.
For each skill the router lists for Claude Code (any profile; not a
plugin agent or WSL), routerCommands writes <claude dir>/commands/
<name>.md: the skill's description, disable-model-invocation: true, and
a body that has the agent read the skill's SKILL.md at the router's path
and follow it, with $ARGUMENTS. The flag keeps the description out of
the model's prompt, so the router still saves what it saved. The stubs
go in the commands folder, not the skills folder, because Crush, DevEco
Code and Kimi Code read ~/.claude/skills too and ignore the flag.
Applied.RouterCommands records the files with their hash (syncOwnFiles):
one the user changed is theirs. A user's own command file by that name,
or a Library command of that name given to Claude Code, means no stub;
syncCommands takes a stub's file over when such a command is added. The
command import leaves the stubs out. Router off, or the skill kept
direct: the stub goes.
Run:
- mica-run go test -tags nogui ./internal/library -count=1 -timeout 45m: ok
(277s); GOOS=linux and GOOS=windows go vet ./internal/library: ok;
gofmt -l clean. Base
|
||
|
|
888d4eba52 |
library: the MCP market puts the most used servers first, counted from the day's report
gugediyige666 and freedomf26 on X asked for an MCP list ranked by
downloads, searchable and installable. Search and install from the list
were already there; skills were already ranked by skills.sh's install
counts. What was missing was a count of who uses each MCP server.
- internal/library/market_public.go: PublicServers names the Library's
servers that an agent is given and that the market lists from what
ships with magpie (featured, or the registry snapshot), by market id
only, matched by serverKey. A bare command names no package and is
never matched; a server of the user's own, one found only by a
search, and its address, command or keys never go.
- internal/stats/plugins.go: the day's plugin report carries them as
"servers" (at most 50), and goes when either list has something.
PluginCounts returns a Board with plugins and servers.
- site/pluginstats.js: servers are kept as mcp:<id> beside the plugins,
pruned apart (D1 binds at most 100 values a statement; the test's
stand-in now enforces that), never liked, and /api/plugins/stats
returns them under servers.
- GUI: with nothing searched, a server with 20 or more users comes
first, most used first, with a person chip of its count; the rest
keep the curated order. Counts are waited for at most a second, so a
drawn list never reorders; a search keeps the registry's ranking; a
failed ask is tried again after a minute, not with every search.
- Privacy text: READMEs (en, zh), site privacy and start pages (en, zh,
ja), reference.md, the Settings privacy row (zh, zh-TW, ja, de),
llms-full.txt and search indexes rebuilt; docs/subsystems/library.md.
Run (mote, rebased on 18fe1e2dc; budget, TestI18n*, i18n-keys, market-used and privacy-usage-stats again at
|
||
|
|
de321cc92e |
gui: Settings' search finds by a part's name, unfolds an Advanced around a hit, and reaches the settings sheets build
Three gaps in Settings' search (the UI/UX scan's item 12): - every part matched its tab's id too, so "usage" brought all of Allowances (id usage), rows that never say it included. A part is now found by its name; Observability still answers to "otel". - a hit under a folded Advanced (Network and sharing's Name) stayed folded, so the part showed with nothing in it to see. It is unfolded while the search lasts and folded again when it ends (setFolds, in the lazy provlinks.js, so the core grows by two calls). - what an agent's sheet or the Claude editor draws only when opened wasn't in the page to be found: Claude Code's prompt cache (main and subagents), its commit signature (Co-Authored-By), an agent's own fields (permission mode) and the Claude editor's run mode (claude -p). Each has a link row now, in the agent's or provider's name; Open opens the sheet or editor and lights the row, again if the editor draws it anew once the provider list is in (lightWhen). docs/subsystems/gui-shell.md says so. Run (mote, at this tree, rebased on origin/main |
||
|
|
74bba1fa67 |
gui: Settings › Version and the tray restart magpie with no update (yansheng1003 on X)
yansheng1003 asked for a Restart beside Check: "每次改了需要重新magpie, 都要自己退出再启动麻烦". The Version row now has Restart after Check while no update is on offer (found, downloading, downloaded, blocked, a newer version named or a failed download each have their own buttons, which restart through the update and fill a 420px row), and the tray's Restart magpie is always shown: with an update ready it installs it as before, with none it starts this magpie again as it is. Both go through restartSelfNow (restart.go), the updater's own way of starting again: on macOS and Linux the gateway's socket is handed over (beginHandover), so requests in flight carry on; otherwise the bundle or binary is started again (update.Relaunch, relaunchBinary), and on Windows requests in flight are cut. magpie web runs itself again in place. POST /api/restart answers 204 and then quits, or 400 "magpie couldn't start again: quit it and open it again", and the row says Couldn't restart magpie with the reason and gives its buttons back. /api/update now says its run (the time this process started), so a browser's page reloads once another run answers. The click, its error and the reload are in versionrow.js, imported when Restart is pressed. The mirror's Download from GitHub click moved there too, so app.js stays under its budget with no raise (TestCoreScriptBudget at 1,088,248 and 1,272,581, as they were). The route is named in the CLI's notYet list. Words in en, zh, zh-TW, ja and de. What needed a restart before, besides an edited path plugin (the commit before): most settings already applied live (proxies, OTel, HTTPS/mTLS, LAN from the GUI, allow-lists, CORS, shortcuts, tray, language, name, fonts, port, hand-edited caller-keys, oidc-rules and library.json). Still start-only: LAN switched by hand in settings.json, environment variables, and in-memory routing state such as a rate-limited account's order; Restart is for those. Run: - Full Go suite (mote, -timeout 45m) at the head before the rebase and before versionrow.js: 101 packages ok; the reds were TestEveryRouteHasACommandOrIsNamed, TestEveryRouteIsNamedForTheCLI (the route unnamed) and TestCoreScriptBudget, all fixed here. - At this head (mote): go test ./internal/gui -run 'TestCoreScriptBudget|TestEveryRouteIsNamedForTheCLI|TestRestart| TestUpdateSaysItsRun|TestTrayMenu' ok; ./internal/cli -run TestEveryRouteHasACommandOrIsNamed ok. go build, go vet, GOOS=linux go vet -tags nogui ./..., GOOS=windows go vet ./... ok; gofmt -l clean. - GUI (mote, both engines, at this tree): update-*.test.cjs, version-restart, settings-update-source, refresh-page, old-webkit, i18n-keys and i18n-en-no-cjk: 628 pass, then 6 red in update-check (Restart not dimmed while a check runs), fixed here (Restart dims with Check); update-check, version-restart and old-webkit again: 90 pass, 0 fail. - Real restart (mote, sandbox HOME): a built magpie web with MAGPIE_WEB_KEY, signed in through ?k=; POST /api/restart answered 204, the same pid ran again with a new run, and the cookie still signed in. - Broken by hand: restartAppFrom returning true on an error, and TestRestartStartsMagpieAgain is red; version-restart.test.cjs on the old app.js is red (21 on chromium); with Restart shown beside an update on offer again, "no Restart beside an update on offer" is red in all 5 languages and both engines (12 fails). - The whole GUI suite is still running on mica at push time; its reds are compared against origin/main and fixed or filed after. Not tried: the tray item and a restart in the real macOS, Windows and Linux apps (only magpie web was restarted for real). |
||
|
|
95a7c70a63 |
docs: a plugin added by its path is loaded again when its files change
The design reference for the commit before this one: seenStamp, pathsStamp, what is left out and how often it is walked. |
||
|
|
b0c2b5e261 |
gui: a page left out of the sidebar still opens from a link, ?view= or a search hit
Settings › General › Sidebar pages (magpie.navHidden) took a page out of
the sidebar, and offView then sent every way to it (a link, ?view=, a
Settings search hit, a plugin's show()) to Agents or Providers with
nothing said, so the page was unreachable. offView now redirects only a
page gateway mode or a switched-off built-in plugin leaves out. Hiding
stays a sidebar choice: the window's own kept page (magpie.lastView)
isn't reopened when it is hidden, so a fresh window still opens on the
first page, or Providers when Agents is hidden too (keptView in
start.js).
nav-pages-hidden: with Library hidden, show("library") and ?view=library
open Library; a kept lastView of library opens Providers.
Run (mica, at this tree; mote at load 27):
- nav-pages-hidden, nav-pages-order, last-page, gateway-mode, Chromium
and WebKit: 19 pass, 1 red, last-page WebKit, red the same on
origin/main and filed (#7033).
- go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok.
Broken by hand, each red, then put back:
- the new test on origin/main's app.js and start.js: 2 of 2 red (line
69, Library not opened), both engines.
- keptView without the navMine check: Chromium red at line 76 (the
window reopened the hidden page).
Not tried: the real app window, the full GUI suite.
|
||
|
|
e1e454398e |
agent, gateway: the web search path is Settings › Models › Web search
dsh's and DS Bot's "nothing to search with" notices, and the gateway's "searcher picked in Settings" errors, sent people to Settings › Web search. There is no such tab: Web search is a section of Settings › Models. The notices in every language, the gateway errors, the DS Bot docs page (en, ja; zh says no path) and the subsystem docs now name the real path. llms-full.txt, the search indexes and docs-index.sums are rebuilt with `node docs-index.mjs`. Run (mica, at this tree): - go test ./internal/agent -run 'Dsh|Dsbot|Notice': ok - go test ./internal/gateway -run Search: ok - go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS|Search': ok - site: node --test search.test.mjs: 6 pass - GUI: i18n-keys.test.cjs: 4 pass Not broken by hand: a text change, with no test that names the path. Not tried: the real app window. |
||
|
|
32a1818681 |
provider: an AI Studio key decides with Google's gemini-decision-1 (WangYeruo on X)
WangYeruo (v0.1.4401) has a Google AI Studio key's provider, the google
preset. magpie's System One asked for google/gemini-decision-1 fell to
OpenRouter's decision list, because the google provider had no decision
API, and the user's own attempt got Google's 400 "type parameter is
required at input[0]" for an object input.
Google's Decisions API (launched 11-11, aistudio.google.com/docs/
decisions-api, api-reference/decisions/create-decision) serves
gemini-decision-1 at POST generativelanguage.googleapis.com/v1beta/
decisions on any AI Studio key, free tier included, with the key as
x-goog-api-key. It takes System One's questions (noul, choice, score),
an input of text or content blocks, and answers by name with usage
total_input_tokens / total_output_tokens.
- normalize gives a provider asked at the Gemini Developer API (the
google preset's OpenAI-compatible base or a native Gemini base) its
System One at AIStudioGemini (googleDecisions). Not Vertex, not a
signed-in account, not another magpie, and a URL the user gave is kept.
- ViaGoogle: /decisions, signed as Gemini (x-goog-api-key, never Bearer;
DecideProtocol), in AskSystemOne, the list and key checks, and the
gateway's postDecideSent.
- googleAsk: the state goes as input (a string as it is, an object as
its JSON text, never an object, which Google reads as a block), images
as image blocks after it, a choice's null description as "".
- DecideResult: the usage comes back as System One's input_tokens /
output_tokens; prompt_feedback.block_reason with no answers is a 400
that says why. Every other way of asking is unchanged (tested).
- gemini-decision-1: 262,144 context, takes images, so the gateway lets
images through to it as it does for the Clef.
- docs/subsystems/providers-accounts.md says so.
Tests, from Google's documented request and answer bytes, no network:
TestGoogleDecideWire, TestGoogleKeyDecides (with OpenRouter's live list
holding google/gemini-decision-1 seeded: it now routes to google),
TestGoogleSystemOne, TestGoogleDecisionsTakesImages.
Broken by hand, each red: the normalize fill dropped (KeyDecides,
SystemOne, TakesImages red); googleAsk skipped (Wire, KeyDecides,
SystemOne, TakesImages red); signed as Chat/Bearer (KeyDecides,
SystemOne, TakesImages red).
Run at this head:
- gofmt -l internal/: clean. go vet (provider, gateway), GOOS=linux go vet
-tags nogui ./..., GOOS=windows go vet ./... on mote: ok.
- Full suite on mote at 6317fd789 (this change on 7707ba9ad+f4b202030):
go test -count=1 -timeout 45m ./...: 103 packages ok, exit 0, no FAIL.
- Rebased onto
|
||
|
|
2c748531a6 |
docs: skill router, Alma keeps its own magpie-skills first (#5722)
Tried with a real Alma 0.4.738 (/Applications/Alma.app copied to mote,
started with a sandbox HOME, its userData under that HOME, port 23001
free there). magpie at origin/main
|
||
|
|
f4b2020306 |
claude: a client's tool call is waited for however long it takes, never moved to the background at 120s (#6034, FunnyPartMent on X)
#6034 (Suge8) and FunnyPartMent on X: interactive Claude Code moves an
MCP call still running after 120s to the background (2.1.316's
getMcpAutoBackgroundMs: 120000 by default, behind
tengu_mcp_auto_background) and tells the model "It was moved to the
background as task ... You can keep working in the meantime". Every
client tool magpie hands the bridge is such a call.
- Pi's long tool runs: the model wrote its next step without the result,
and the turn's reply was a tool_calls finish with no calls; the run
went on calling tools no one was shown.
- Pi's ask_user_question waiting on its user: the model wrote a bash
call past it that no client runs. The answer reached the run at once
but the model only when that bash call was moved to the background
too, its own 120s later (~113s after the answer).
Change (Suge8's branch fix/claude-mcp-wait, ported): claudeRunEnv sets
CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS=0 and CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT=0
(claudeToolWaitVars) unless magpie's environment sets them, for -p and
the interactive mode alike, and claudeEnvVars hands both to a run in WSL.
0 also turns off the move made to hand over a message that arrived
mid-call (isMcpCallMovableWithoutTimer reads the same value), and the
idle limit no longer aborts an answer that took over 30 minutes. One-off
runs (model test, warm-up, /usage) make no MCP calls and are unchanged.
The subsystem page says why, with the measurements.
Reproduced (Claude Code 2.1.316, sandbox HOME and CLAUDE_CONFIG_DIR, a
fake Anthropic API on 127.0.0.1 and a stdio MCP server whose "wait"
answers after 10s and "bash" after 100s; no real account):
- interactive mode, limit 3000: wait moved at 3s, the model called
bash, bash moved at 3s, the result came only as a task notification.
- -p with CLAUDE_AUTO_BACKGROUND_TASKS=1, limit 8000: wait moved at
8.0s, bash called, next model request at 16.0s, 6s after the result
was in (the 113s, scaled).
- limit 0, both modes: the model's next request at 10.0s carried
"late-result", no bash call made.
Run (on mica, Go 1.26.8, at this change on 53db3e389; the four tests
above again at this head, rebased on
|
||
|
|
7707ba9adb |
sessions: a compaction that doesn't fit its line goes as text, never as magpie's seal (hey_boyce on X)
hey_boyce on X: Codex, talking to OpenAI itself, got 400
invalid_encrypted_content "The encrypted content for item
cmp_magpie_1794916786407450000 could not be verified".
Cause: PortCodexRollouts writes magpie's compaction item (magpie1:
base64 summary) as Codex's own summary message, keeping each line's
length, since a paginated rollout keeps places by byte. A message
longer than the line (a short summary under Codex's ~400-char prefix)
was left as it was, so the magpie1: seal stayed in the rollout, Codex
replayed it to OpenAI every turn, and the thread was stuck. The
incremental pass never looked at such a rollout again.
Change:
- fitShorter: when the full message doesn't fit, the summary goes
under a short heading, then cut to fit (rune-safe, "…"), then
with no heading. If nothing fits, a standalone item is retired as
{"type":"magpie_compaction"}, which Codex reads as unknown and
never sends.
- In replacement_history an unknown item IS sent (as "other"), and
OpenAI refuses it ("Invalid value: 'other'"; seen with real
codex-cli 0.165.0 and 0.169.1). So a compaction or reasoning item
retired there is left out with its metadata entry, and
magpie_reasoning items main's PortCodexRolloutsLeft already wrote
there are taken out (retiredInList). That was a sibling bug: those
threads failed the same way.
- codex-portable.json gains refit: a state from before makes one
whole pass again, so rollouts already left with the seal are fixed.
- The gateway's last line: a 400 naming an item of magpie's own
compaction asks again with its summary message in its place
(withoutItem), not with the summary dropped.
- codexsummary.Summary decodes the seal; Message uses it.
- docs/subsystems/gateway-routing.md says all of this.
Run (on mica, at this head rebased on
|
||
|
|
53db3e3891 |
gateway: a held or relayed stream is kept alive for 30 minutes, then ended with an error (Wing8Aqua on X)
Wing8Aqua on X (magpie 0.1.4111, Ubuntu): asking Claude Fable 5.2 ended
with "pi-ai stream idle timeout after 300000ms". A stream the gateway
passes through as it is (or holds before its headers) got a comment each
keepaliveEvery of vendor silence, but only for keepaliveLongest (5
minutes) since the vendor was last heard. After that the client got no
bytes and no error, so an agent's own idle timer ended it. A translated
stream is already kept alive for translatedQuietLongest (30 minutes), and
the Claude bridge for as long as its Claude Code works (#5043).
holdWriter.keepQuiet now keeps up its comments for translatedQuietLongest.
Past that the vendor is taken as stuck (endStuck): the client gets a 504
"<provider> sent nothing for <d>; the request was ended", as its stream's
error event once the reply has passed or as a status before it, and
serve records the try and tries nothing again after so long a wait.
Note that the reporter's message is DeepSeek Harness's (dsh-llm-pi-ai). Its
watchdog re-arms only on content events, so no keepalive reaches it, and
the 300000 is the route's streamIdleTimeoutMs. magpie writes 600000 into
the dsh routes it makes (dshIdleWait, since v0.1.2464) and keeps a value
already there. This change covers byte-counting clients (pi, Claude Code,
Codex). It does not change dsh.
Tests: TestQuietClaudeStreamKeptAlivePastFiveMinutes (Messages relay,
quiet after message_start and before its headers, keepaliveLongest at
100ms, 1.5s of silence: the client never goes 500ms without a byte, the
reply is whole, and the vendor is asked once) and
TestQuietClaudeStreamStuckEndsWithAnError (silence past
translatedQuietLongest: an error event naming the provider, no reply after
it, one request). TestQuietKeptAliveOnlySoLong now expects the error.
Run at this tree (rebased on
|