dc507aefd3f8d50225628a4e2f2e4eda138c9e7c
3747
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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 |
||
|
|
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 |
||
|
|
8634c4ad08 |
library: a repository's card counts the skills its sheet lists once the repository is read
bdefdc319's repository card counted the skills skills.sh lists, while
its sheet, once Find skills' probe had read the repository, listed what
the repository holds: mattpocock/skills read 55 on the card and 39 in
the sheet, a number that changed on click.
A repository's read is now kept for the session (repoRead). Once it is
read, the card behind the sheet says the sheet's count at once, keeps
it when drawn again, and takes its Added from the read too; reopened,
the sheet lists the read repository straight away, the skills just
installed greyed, while it is read again. A later read that fails keeps
the one before; one with no SKILL.md drops it.
Run (mote, at origin/main
|
||
|
|
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 (
|
||
|
|
bdefdc3191 |
library: a repository's skills on skills.sh are one card, opened to install all or a few (Ethereal499 on X)
skills.sh lists a repository's skills one by one, so mattpocock/skills showed as 55 cards side by side in Library > Skills > Discover. Two or more listed from one repository are now one card, the repository, where its first skill comes in the list: its name, how many skills the list has, their names and their installs summed. magpie's own featured skills and a repository with one skill listed keep their own cards. Only a skill's own card asks for its about. Opened (the card or its Choose...), the sheet shows the list's skills at once, ticked, and reads the whole repository through Find skills' probe (library/skills/probe): once it answers, every skill the repository holds is listed, the list's still ticked, the ones the library has greyed, with Select all and a filter past 8. Install takes the picked paths in one skills/install. A repository too big to read whole (#2794) keeps the list's skills, with the reason, and installs each as its card's Add does (market/skill). The "in the library" list already groups skills by repository (skillGroups), so it is unchanged. Strings in zh, zh-TW, ja and de. No backend change. Run (mote, at base |
||
|
|
2416beed69 |
sessions: a tab's count is the rows it lists, and a Pi subagent's calls are no row delete can't find (lurx98 on X)
lurx98 on X (tweet 2122972281534402597): on the Sessions page the tabs said Codex 6 and Pi 8. Codex, opened, said 0 and "no sessions yet"; Pi said 6 from any other tab. Deleting a row titled "Task: 只读事实核对…" toasted "no such session". Two causes, both about one count path and the list disagreeing: - Codex: agentCounts counted every rollout, while the list drops a subagent thread whose parent thread is gone (keptSubagents, |
||
|
|
03314b25a4 |
import: magpie no longer registers CC Switch's ccswitch:// scheme (asombrado_a on X)
|
||
|
|
a2d402afe0 |
gui: the Mac's tray panel sits at a menu bar extra's level, so a screenshot tool draws over it (zyh6036 on X)
zyh6036 on X: the menu bar panel stays so far in front that even
WeChat's screenshot can't cover it, so it's hard to take a picture of.
The panel asked for AlwaysOnTop (NSFloatingWindowLevel, 3), but Wails'
SystemTray.PositionWindow sets the window it places to
NSPopUpMenuWindowLevel (101) every time (systemtray_darwin.m), and magpie
places the panel with it on each open and each resize. The live app's
panel read layer 101 in CGWindowList. Nothing in magpie's history chose
101 (git log -S finds only AlwaysOnTop, from the first commit).
placeByIcon now does PositionWindow and then sets NSStatusWindowLevel
(25), the level of the status bar itself: still over normal windows,
floating ones, the Dock (20) and the menu bar (24), and still on every
Space and over full-screen apps (the collection behavior is unchanged,
#2141), but under pop-up menus and anything a screenshot tool puts up at
25 or above. Both PositionWindow calls (togglePanelNow, sizeOpenPanel)
go through it. Other systems: setPanelLevel is a no-op.
What was run (mica, macOS 27, at
|
||
|
|
534b85bf99 |
gui: an unset Claude Code tier's effort reads "follows session"; a set one says it wins
lightwlh on X: Claude Code's Details shows an effort beside each tier
(Opus, Sonnet, Haiku, Fable) and another under New sessions, and asked
which one wins when they differ. A tier's effort is written into its
model id as <model>:<level> (tierWith in internal/agent/claude.go), and
the gateway asks that model at that level whatever Claude Code asked
(askedAt); the New sessions effort is Claude Code's own (effortLevel /
CLAUDE_CODE_EFFORT_LEVEL), which /effort changes, and reaches only the
tiers with none of their own. The page didn't say so: an unset tier's
effort read "default", like a level of its own.
- An unset tier's effort button reads "follows session" (跟随会话,
跟隨會話, セッションに従う, wie Sitzung) instead of "default"; its
title still names the effort Claude Code asks for.
- A set tier's title adds "Used whatever the session's effort or
/effort is".
- New sessions' effort, while any tier has its own, adds "A tier with an
effort of its own runs at that one" to its title; both follow a pick
in the slider at once (the slider's field is a copy, so the check
reads the picked value).
- No layout change: the same buttons and lines; the subagents' effort
and the tray panel's tiers' square are unchanged.
- app.js +485 and the core +843 bytes of code, budgets raised with the
reason: connectPanel and the effort slider draw every agent's Details,
so there is no page to move it to; the words share one ownSaid.
Run (mote, at this tree rebased on
|
||
|
|
67f24d7422 |
usage: every cache hit rate to two decimals, its exact share on hover; a speed's dash says why
shangyuan0818 on X: in Usage › Requests the ranking's model hit rates
had no decimals or one ("98%" beside "99.6%"), the request table mixed
them too, and hovering showed no exact value.
- hitPct gives every hit rate two decimals (98.00%, 99.60%), the same
in the ranking, the request table and its details, the Cache hit
rate card, the cache-read tiles, the model and agent rows, Sessions,
the tray panel, Routing's rows, figures and group averages, and the
context window's Prompt cache. It still never says 100.00% or 0.00%
of a prompt not all or none cached (99.99%, 0.01%).
- Each of them has the exact share on hover, in its title (hitTip):
"9,800 of 10,000 prompt tokens read from the cache: 98%", the share
to six places with no trailing zeros. One new string, translated in
zh, zh-TW, ja and de.
ohblue on X: 速度 shows "—" for many 200 requests (491 in, 93 out,
first token 6.3s, total 6.4s), "≥133 token/秒" for others.
- That speed can't honestly be counted: 93 tokens in the 120ms after a
6.3s wait would read ~775 tok/s, which is a reply written during the
wait and let go at once (ledHeldShort_). The dash already had its
reason as a title, but nothing showed it was there. It now has the
help cursor (the cache column's dash too), the Speed column's head
says what a speed is on hover, and a request's details say "— " and
the reason in words, for a reader who can't hover.
Budget: app.js and the core grew by my hitTip, cacheHitTip and the
titles. To stay inside both budgets with no raise, setQuotaRange moved
to plugins/usage/page.js and PLACEHOLDER to plugins/redact/page.js (each
read by that page alone), cacheHitOf and cacheHitTip share cachePrompt,
and hitPct is one expression. Core 1,272,578 of 1,272,581; app.js
1,087,887 of 1,088,248.
Run on mote/mica, this change on origin/main, both engines, every
language, at the widths each file covers:
- usage-hit-exact.test.cjs (new): green. Red with the old hitPct
('hit rate 98%') and red with the help cursor and the details' line
taken out ('pointer' !== 'help').
- 85 GUI files (every test that reads a hit rate, quota range or
masking, Usage, Routing, i18n-keys, gui-ja/de/zh-tw): 1318 pass, 30
fail. All 30 are red alike without this change, and all are filed:
agent-menu-label webkit panel (#6371), zcode-models webkit de
(#6566), quota-credits (#6807), quota-curve (#6789), usage-fold's
17 subscriptions (#3415, #6003), usage-ledger (#4078, #3104, #4626),
usage-ledger-chart (#6790). usage-fold's 'several accounts' went red
only under the 85-file run and passes alone on this tree (#3415,
commented).
- go test ./internal/gui on mica: ok (TestCoreScriptBudget included).
- Red alike on a HEAD checkout without this change, already filed:
usage-ledger "newest live route needs no return-to-live button"
(#4078, #3104, #4626), usage-ledger-chart "the metric is remembered"
(#6790).
Not run before the push: the whole GUI suite and go test ./... (both
machines had other sessions' full suites running); they run after it
and their result goes on record. Not tried: Windows WebView2, the
reporters' own ledgers, the real app.
|
||
|
|
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
|
||
|
|
48fffb60c5 |
gui: the provider editor waits for its Advanced headings before it draws (#7051)
|
||
|
|
42181fdd27 |
gui: the Claude provider's run field is named Claude requests, not Claude Code
The Claude provider's editor had a field under Advanced named "Claude Code", the same name as the agent's own sheet on the Agents page, so two different places read as one. The field says how magpie sends requests to Claude (its run row), so it is now "Claude requests": zh Claude 请求, zh-TW Claude 請求, ja Claude リクエスト, de Claude-Anfragen. The name was also the only field label left untranslated. The Agents page's Claude Code is unchanged. claude-extra-usage-setting checks the field's name in each language. Run (mica): - go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok, at this change rebased on |
||
|
|
61c714ed01 |
sessions: By tokens selects the small sessions, to delete them at once
A user asked for a way to delete every session under 10K or 20K tokens (yansheng1003 on X). Selecting sessions on the Sessions page now has a "By tokens" button beside Delete. It opens the app menu (openProtoMenu, no native select) with 10K, 20K, 50K and 100K, each showing how many of the sessions on screen it would select. A pick replaces the selection with the deletable rows on screen (search and filters apply) that used fewer tokens than that. Tokens are counted with sessTokens, the number each row shows. A session that is streaming now (speedOf().live) or was written in the last minute is never picked. The server already refuses one written in the last minute (sessions.Delete's ErrActive). Delete is the existing path: each agent's own delete, gateway-only and forgotten sessions handled as before, files moved to magpie's trash. The existing confirmation names how many sessions go and that Trash puts them back. When the selection is still the By tokens pick, it adds "Each used fewer than 20K tokens". A selection changed by hand drops that line. Only the Sessions plugin changes (client.js, i18n.js in en, zh, zh-TW, ja and de, sessions.css). No server change. New test: sessions-small-delete.test.cjs, in Chromium and WebKit, every language, against a faked API. It covers the menu's head and counts, the pick (running, live, read-only and larger sessions left out, cache counted as the row counts it), a smaller size replacing the pick, a search narrowing it, the dialog's size line, Cancel posting nothing, Delete posting the 4 ids, a 420px bar, and no native select. Run: - At the pushed tree (on origin/main |
||
|
|
31575f71a1 |
gui: the provider editor's Advanced rows sit under four small headings
The provider editor's Advanced held some thirty rows in one run (item 19). They now sit under four small headings, Routing, Models, Limits and cost, and Connection, each row keeping its order inside its group; a row the list doesn't name stays with the one before it, and the headings show only when two groups are used. No page, row or fold moves elsewhere. advgroups.js is imported when Providers first draws, so it weighs nothing on the core script, and the editor opens with the headings already in place. Not done from item 19: a routing group's strategy stays under the group's Advanced. The owner folded it there on purpose ( |
||
|
|
75cc9f6e26 |
gui: a plugin's JSON options point to its provider's editor for the switches it declares
A provider plugin's options had two editors: the switches it declares
in its provider's editor, and the raw JSON on the Plugins page. The
provider editor owns the switches; the JSON editor now says so and links
to it ("Its switches are in {name}'s editor"), closing itself as it
goes. Shown only for a signed-in subscription with declared switches.
Own test: plugin-provider-options clicks the link, lands on Providers,
and checks the JSON editor is gone. Its first run was red 12 of 12: the
link cleared the editing state without a redraw, so the editor stayed
in the page; it now redraws like Cancel does.
Broken by hand: the link's click handler removed,
plugin-provider-options 12 of 12 red; put back, 12 of 12 green.
Run (mote, Chromium and WebKit, en zh zh-TW ja de):
- before the rebase, 23 GUI files: every one green except
plugin-provider-options (my bug, fixed in this branch before the push)
and settings-groups' "warm-ups and check-in in each service's provider
editor", red the same way at fresh origin/main
|
||
|
|
d13151998c |
gui: Profiles says what a profile holds, and that providers and routing stay as they are
The Profiles tip didn't say what a profile is. It now says what one holds, and that switching one leaves providers and routing alone. Own test: panel-profiles (asserts the tip in every language). Run (mote, Chromium and WebKit, en zh zh-TW ja de): - before the rebase, 23 GUI files: every one green except plugin-provider-options (my bug, fixed in this branch before the push) and settings-groups' "warm-ups and check-in in each service's provider editor", red the same way at fresh origin/main |
||
|
|
6396719517 |
gui: the provider editor's row is Masking, the word Plugins › Built-in uses
The provider editor said Redaction where the built-in and its page say Masking (item 18, one word per concept). Privacy stays the Settings tab's name. Own test: provider-unmasked. Run (mote, Chromium and WebKit, en zh zh-TW ja de): - before the rebase, 23 GUI files: every one green except plugin-provider-options (my bug, fixed in this branch before the push) and settings-groups' "warm-ups and check-in in each service's provider editor", red the same way at fresh origin/main |
||
|
|
d90780c5d4 |
gateway, gui: a built-in is turned on in Plugins › Built-in, not a Settings › Plugins that isn't there
Errors and notices sent people to "Settings › Plugins" or called a built-in "the … plugin", where no such page is and the thing is a built-in (item 18, "Plugin" qualified where it's ambiguous). They now name Plugins › Built-in and say built-in. Own tests: builtins, websearch-places; Go: the gateway tests whose strings changed (TestKeyLimitsOnAndOff, TestSearchOnAndOff, TestToolsMCP*, TestHubMCPHeldToKeyLimit, TestVisionMCPHeldToKeyLimit), internal/gui's plugins_own_* tests, davsync, gwbudget, gwmw, provider. Run (mote, Chromium and WebKit, en zh zh-TW ja de): - before the rebase, 23 GUI files: every one green except plugin-provider-options (my bug, fixed in this branch before the push) and settings-groups' "warm-ups and check-in in each service's provider editor", red the same way at fresh origin/main |
||
|
|
87af7281e2 |
gui: Connected means an agent goes through magpie; the Library's list says Using the library
"Connected" meant two things: an agent routed through magpie, and an agent that uses the Library's servers and skills (item 18). The second is now "Using the library"; Connected keeps the first. Own tests: agent-app-restart, library-mcp-hub. Run (mote, Chromium and WebKit, en zh zh-TW ja de): - before the rebase, 23 GUI files: every one green except plugin-provider-options (my bug, fixed in this branch before the push) and settings-groups' "warm-ups and check-in in each service's provider editor", red the same way at fresh origin/main |
||
|
|
6facdb2461 |
gui: a provider's limit is Requests at once, as on gateway keys and accounts
The provider editor called it Concurrency while gateway keys and accounts said Requests at once (item 18). One name now, in every language; the old key is gone from i18n.js. Own tests: provider-concurrency, provider-rpm, lane-limit, gateway-key-concurrency; Go: internal/access. Run (mote, Chromium and WebKit, en zh zh-TW ja de): - before the rebase, 23 GUI files: every one green except plugin-provider-options (my bug, fixed in this branch before the push) and settings-groups' "warm-ups and check-in in each service's provider editor", red the same way at fresh origin/main |
||
|
|
28430c9b90 |
gui: magpie's own paths are written with ›
A path through magpie's own screens was written with › in some places and → in others (11-17 scan, item 18). Every one the user reads is now ›: Settings › Network and sharing, Settings › Privacy, Library › MCP servers, Providers › … › Use it anyway, Settings › Usage, in the GUI and in the Go errors and notices that reach it, in every language. The GUI matches errNotAsked by its prefix, so it still finds it. Left as they are: gateway errors written for agents, AiHubMix's and Claude Desktop's own menu paths (their apps' words), the image MCP tool description (it goes to agents), and comments. Own tests: chatgpt-usage-why, websearch-places, library-mcp-hub, i18n-keys; Go: internal/library (TestPrivateRepoInstallsWithToken, red on the first try because skills.go still had →), internal/plugin (notplugin_test), internal/pii, internal/provider. Run (mote, Chromium and WebKit, en zh zh-TW ja de): - before the rebase, 23 GUI files: every one green except plugin-provider-options (my bug, fixed in this branch before the push) and settings-groups' "warm-ups and check-in in each service's provider editor", red the same way at fresh origin/main |
||
|
|
4338147993 |
gui tests: settings-groups expects Claude's Spend extra usage row (#6597)
|
||
|
|
07d19510f6 |
gui: the Codex client is picked in the Codex provider's Advanced too, which gateway mode reaches
The Codex client (CLI or desktop app, which Codex requests to the ChatGPT accounts say they come from) could be set only in Agents › Codex, which gateway mode doesn't have, so a gateway user couldn't reach it at all. The Codex provider's editor now has it under Advanced: the same app menu (codexMenuBtn, split out of codexMenuPick), posted at once to settings/codex-client like the Agents row, and the button redraws after a pick. The Agents row is unchanged. New test: codex-client-editor.test.cjs, the editor's pick in the app and in gateway mode, every language, Chromium and WebKit. Run (mica, at this tree, rebased on origin/main |
||
|
|
2acc2660e4 |
gui tests: three new files give navigation its 60s next to a 5s default
disabled-model-chips ( |
||
|
|
039719491c |
gui: Sessions' Settings › names the session terminal too, beside history
The Sessions page's head had one Settings › link, and it went to Privacy's Agents' session history. The other setting the page uses, the terminal a session opens in (General's Session terminal), had no way there from Sessions. Where that row exists (a Mac, or a terminal found on Windows or Linux), Settings › now opens the app's menu with both, each noting its tab (Settings › Privacy, Settings › General), and each opens Settings at its row, lit, with Back to Sessions. Without a terminal row it goes straight to Privacy as before; gateway mode still has no link. When the row shows is one rule now (window.sessionTerminalShows in sessions/settings.js), asked by both. No new strings; the core is unchanged. Run (mote, at this tree): - sessions-to-settings (now also on a Mac: the menu, both items, each reaching its row, nothing moved, the menu inside the window at 420), sessions-reads, gateway-mode-sessions, settings-search, i18n-keys, Chromium and WebKit, every language: 104 of 104 pass. - go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok. Broken by hand, each red, then put back: - Settings › going straight to Privacy always: sessions-to-settings 20 of 20 red. - the terminal item aimed at the history rows: 20 of 20 red. Not tried: the real app window. |
||
|
|
2957d16e5e |
gui: every alert row says when notifications won't show, in sight; Bark says it gets them all
The scan's item 9. When the system blocks magpie's notifications, or
can't show them, Settings › Usage's four alerts said so after their
description, but the Masking alert in Settings › Privacy didn't. Both
take the line from one helper now (notifyWarn in app.js), and the
Masking alert appends it as the others do.
On a computer with a pointer that warning was never in sight anyway:
Settings holds a row's explaining line out of sight for the hover card
(app.css, 11-02), and the warning sat inside that line. The comment
there says a warning stays; the rule didn't. A line holding a .warn now
stays in place, so the warning is read without hovering.
Bark gets every notification magpie shows (sendAs → barkPush), even
while the system's are turned off. Its row now says so, in every
language, rather than following a separate set of choices.
New test notify-warn-places.test.cjs: denied and unavailable, the
Masking alert's and the usage alert's warning on screen (wider than the
1px a held line gets, no clip-path), none when nothing is wrong, Bark's
line, nothing past the edge; every language, 900 and 380, both engines.
Run (mote, at this tree; mote at load ~50 and mica at ~160, mote the
lighter):
- notify-warn-places, mask-alert, builtin-places, i18n-keys, bark,
settings-hints, usage-alert, reset-reminder, turn-done, settings-search,
settings-search-reach, settings-groups, gui-de, editor-hints,
privacy-hides-accounts, Chromium and WebKit: reds only these, each red
on an origin/main
|
||
|
|
ab42898d91 |
gui: Manage agents says that hiding an agent takes it out of the Library's lists too
The note in Manage agents said "Hiding only changes this list". But the Library leaves a hidden agent out of its chips too (shownAgents in plugins/library/client.js, #71), and PluginServerOn skips it when giving a plugin's tools to every agent. What it was already given stays, and nothing new goes to it. That is the intended behaviour, so the text now says it: its connection and settings stay as they are, the Library stops listing it, what it was given stays, and nothing new goes to it. The note is in en, zh, zh-TW, ja and de, and so is agentsmanager.js' head comment. Test: agent-bulk-visibility.test.cjs checks the note's text in each language, Chromium and WebKit. Run (mica, at this tree on |
||
|
|
932987c50c |
gui: Disconnect from magpie says it takes out magpie's endpoint, key and models, and that the Library's items stay
The row menu's tip said Disconnect takes out "everything magpie wrote
into {agent}'s config". Agent.Disconnect (internal/agent/applied.go)
takes out only the routing: endpoint, key, models and effort. MCP
servers, skills and hooks the Library gave the agent stay, which is
right, since they are the Library's and are taken out there. The text
is what was wrong, so the text changes, not the action:
- the tip, and the dialog's fallback line (shown when no dry run can be
had), name what is taken out;
- the dialog always says "The Library's MCP servers, skills and hooks
stay".
All of it in en, zh, zh-TW, ja and de. No budget raise: app.js is 4
bytes smaller than before, because the strings are shorter.
Test: agent-disconnect.test.cjs checks the new note's text in en and zh,
and that every new string has its Chinese.
Run (mica, at this tree on
|
||
|
|
93fa1d661c |
library: a Claude plugin's parts keep their own agents through sync, and each says which plugin it came with
givePlugin gives every part of a Claude plugin (skills, MCP servers,
hooks, subagents) the plugin's agents. putPlugins' settle ran it on every
sync put, even when the plugin's own agents and switch hadn't changed.
So an agent ticked or unticked on a part's own row was put back on the
next sync without a word. Now settle gives the parts the plugin's agents
only when those agents or the switch change. A part's own edit stays
until then.
The Library never showed `bundle`, so nothing on a part's row said it
belonged to a plugin. Each such row (Skills, MCP, Hooks, Subagents) now
carries an "In {plugin}" tag. Its tooltip says that changing the
plugin's agents, or turning the plugin off and on, gives the part to the
plugin's agents again. The tag is in en, zh, zh-TW, ja and de.
Tests:
- TestPluginPartOwnAgentsKeptBySync: tdd set to claude alone survives a
sync of the same plugin, and changing the plugin's agents gives tdd
the plugin's agents again.
- library-plugin-parts.test.cjs (new): one bundled part and one own part
on every tab. Each bundled part has the tag, with its text and tooltip
in each language, and the own part has none. Nothing is wider than the
window at 1100 and 420. Chromium and WebKit.
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.
|
||
|
|
36d784da4b |
gui: the check-in time reads as the one time for every vendor
settings.checkinAt is one time that every daily check-in waits for. Its row is drawn under each vendor's check-in, in WorkBuddy's, Trae's, MiniMax's, Qoder's and each plugin's editor, and its picks said Off and On. Under one vendor that read as turning that vendor's check-in off, while it set every vendor's time. The row is now "Check-in time for every vendor", with "Day start" and "Set time". The backend keeps one time, so the row stays one shared setting rather than one per vendor. Same settings, same saves. Translated in zh, zh-TW, ja and de. Run (mote, at this tree): - checkin-at.test.cjs (Chromium and WebKit, 1100 and 420, en zh zh-TW ja de) and i18n-keys.test.cjs: 44 pass. - go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok. Broken by hand: checkin-at against the old checkinnow.js, 20 of 40 red (the name and the Off/On picks), every engine, width and language. Not tried: the real app window. |
||
|
|
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
|
||
|
|
b53e23ba3e |
gui: a provider's editor says Close while nothing waits for its Save
The provider editor mixes two kinds of control. An account's auto-switch, a key's concurrency and spend pills and the Claude Code rows act at once and say so in the status pill, while the rest waits for Save. Its Cancel said Cancel either way, so after a switch that had already been made, it read as if Cancel would take it back. The button now says Close while the draft matches what is saved (providerDirty, the same check Cancel's discard question asks), and Cancel once a field waits for Save. It is read again after each input, change and click in the editor. A new provider's editor keeps Cancel. Escape and the backdrop are unchanged. Tests: six files that pressed the editor's Cancel on a clean editor press its .ed-cancel now. lane-limit's draft-pill test brings the pill into sight before opening its menu: under four files at once a scroll landing after the click closed it (Chromium, 2 of 4). Run (mote, at this tree): - lane-limit.test.cjs: 24 pass. - the 29 GUI files that press an editor's Cancel, Chromium and WebKit, four at a time: 491 pass, 13 red. 12 are red on |
||
|
|
98c487d096 |
gui: Turn off telemetry for all agents says it takes effect when each agent next starts
The switch in Settings › Privacy rewrites each agent's config
(agent.SetTelemetryAll). An agent reads its config when it starts, so one
running now keeps sending until it is restarted. An agent's own Telemetry
switch has always said "Takes effect when {agent} next starts". The
switch for all agents said nothing, unless an agent refused. Now it says
"Takes effect when each agent next starts", in every language. A refusal
is still shown as the error.
Tests: privacy-agent-telemetry checks the status after the switch, in
every language, at 1100 and 640, in both engines.
Run (mote, at this tree):
- privacy-agent-telemetry, i18n-keys, gui-de and settings-search,
Chromium and WebKit: 47 pass.
- go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok.
Broken by hand, then put back: with the old status line,
privacy-agent-telemetry was 20 of 22 red.
Not tried: the real app with a running agent.
|
||
|
|
18fe1e2dc3 |
gui: Mask personal data says it turns on Hide accounts too
Turning on Mask personal data in Settings › Privacy also turns on Hide accounts (window.hideAccounts.set), and Hide accounts follows it until it is chosen by hand. That has been so since inaction's report on Discord, but nothing said it, so the accounts blurred on every page with no word why. The row's description now ends "Turning it on turns on Hide accounts as well", in every language. Tests: privacy-hides-accounts now runs in every language (before, en and zh only) and checks the description before the click. Run (mote, at this tree): - privacy-hides-accounts, privacy-model, redact-kinds, provider-mask, settings-search, i18n-keys, gui-de and gui-ja, Chromium and WebKit: 303 pass, 1 red. The red is provider-mask "Hide accounts is one switch on every page", Chromium en 1000, a timeout under the parallel run. It passed 140 of 140 alone, and is filed as #5109. - go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok. Broken by hand, then put back: with the old description in app.js, privacy-hides-accounts was 10 of 10 red. Not tried: the real app. |
||
|
|
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 |
||
|
|
fefab53d22 |
gui: TestGitHubTokenRefusedShown refuses a token of its own each run
ghtoken keeps the tokens GitHub answered 401 for as long as the process runs, keyed by the token. The test refused one constant token, so a second run in the same process (-count=2) found it refused before GitHub was asked: red every time. Each run now builds its own token, ending in 4567 so the mask it checks is the same. Run on mote at this head: - go test ./internal/gui -run ^TestGitHubTokenRefusedShown$ -count=2 on the old test: FAIL "refused before GitHub was asked", 2 of 2 tries. - go test ./internal/gui -run ^TestGitHubToken -count=5: ok. - gofmt -l: clean. Test-only; no other file changed. |
||
|
|
16c3abd623 |
gui: Settings › Usage says the tray on Windows and Linux, and hides Menu bar refresh when allowances are read only when asked
A menu bar is the Mac's. On Windows and Linux the Usage part said "Menu
bar windows", "Menu bar cost" and so on, about a tray. There it now says
"Allowances in the tray", "Tray windows", "Tray refresh", "Tray Claude
logo", "Tray pace", "Tray cost" and "Tray currency". The descriptions of
cost, Allowance display and Allowance reads say the tray too, and so does
the windows picker's title. This is in every language. The relabel lives
in traywindows.js, which is imported lazily, so the core budget doesn't
grow.
"Menu bar refresh" is hidden when allowances are read only when asked
and only cards are shown. In that case the cards keep the last reading,
so how often the icon redraws changes nothing. With a total picked, the
row stays, because the total is still counted again.
Currency's three rows are left as they are: tightening them is more than
trivial (currencyprefs.js).
Tests: tray-words.test.cjs. It covers MacIntel, Win32 and Linux x86_64
(navigator.platform forced), Chromium and WebKit, and every language. It
checks:
- the row names;
- that no name or description in Settings › Usage says the menu bar off
a Mac (the Mac-only rows excluded);
- that the names survive a redraw;
- that the refresh row hides and comes back with When I ask, and stays
for a total at 420 wide.
Run (mote, at this tree; mote at load ~26 and mica at ~110, so the
lighter one):
- tray-words: 50 pass.
- Nearby files (allowance-open-read, currency*, gui-de, gui-ja,
i18n-keys, quota-reads, settings-groups, settings-search, tray-*), both
engines: 342 pass, 8 red, each red on origin/main too and filed:
- settings-groups "warm-ups and check-in", en and zh (#6597);
- tray-cell-click "a menu-bar cell's click", Chromium en and zh (#5215,
red the same on an origin/main
|
||
|
|
98355866fd |
gui: the speed card's Check… brightens on focus in Safari 15.0 too
|
||
|
|
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). |
||
|
|
68dd531c62 |
gui: a key's concurrency pill shows the provider's limit as typed in the editor
An account or key that takes the provider's limit showed the saved Concurrency on its pill and in its menu's "Provider's" line while the editor's Concurrency box, a few rows up, said another number. Both now read the draft while the editor is open on that provider: a whole number as typed, empty as the plugin's (or no limit), and the saved one while the box holds something out of range. The pills are drawn again on each keystroke in the box. Save and Cancel are unchanged. Run (mote, at this tree): - lane-limit.test.cjs, Chromium and WebKit, en and zh: 20 pass. - go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok. Broken by hand: the new test against the old app.js, 4 of 20 red (the pill kept "2 at once" after 5 was typed), both engines and languages. Not tried: the real app window. |
||
|
|
5e850855b8 |
gui: the menu bar's total says it counts as Usage › Requests does
The menu bar's Tokens and cost picks said "Every agent's, as the Usage page counts them", but the Usage page has two counts: the Overview sums gateway calls only (its own line says so, #usageScope), while Requests, the panel's Usage tab, the menu bar and Bark's daily line add the calls the agents' session logs record (trayTotalSum is Requests' sum). So on a day with session-log calls the Overview's total was lower than the menu bar's claim of the same count. The pick's note now says what it sums and which tab it matches: "Gateway and session-log calls, as Usage › Requests counts them", in every language. Run (mica, at this tree): - tray-totals (Chromium and WebKit, every language) and i18n-keys: 54 pass. - go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS|TestTray': ok. Broken by hand: the old note put back in app.js: tray-totals 15 of 25 red (Chromium), then put back. Not tried: the real app window; the Overview's own sum is unchanged. |
||
|
|
e5c0c23de0 |
gui: Duplicate and Add another ask before they drop a provider's typed edits
In a provider's editor, Duplicate and "Add another {name}" open a new
draft in its place. Each dropped what was typed without a word, while
Cancel, Escape, the scrim and a row click ask "Discard unsaved changes?".
Both now ask the same way: Cancel keeps the edit as typed, Discard goes
on; an untouched editor asks nothing. Duplicate still copies the saved
provider, not the unsaved edit.
The scan also named Add provider, the add sheet's tiles and a plugin's
sign-in. The editor is a modal over them, so none can be reached while a
draft is open; they are left alone.
Paid for in the core budget, no raise: the five "providerDirty() &&
confirmDiscard()" checks are one leaveDraft(), and the eight "editing =
x; draft = null; renderProviders()" are one reEdit(x).
Run (mote, at this tree on origin/main
|
||
|
|
f17300d9c1 |
gui: Download source says what Update source picked
Settings › About's Download source said "from usemagpie.ai, and from
GitHub when that fails" whatever Update source said, right above it: with
usemagpie.ai only it still offered a GitHub mirror that is never used
(the site alone never asks GitHub), and with GitHub only it still named
usemagpie.ai as the source and the checksum's home. Its line, its
tooltip and its host now follow Update source: site says no mirror is
used, GitHub only says updates come from GitHub (or through the mirror)
and are checked against the release's signed checksums.
The row's drawing (renderUpdateMirror, setUpdateMirror, editMirror) moved
into updatesource.js, which About already imports for Update source, so
the core's script shrinks rather than grows; no budget raise.
Run (mica, at this tree):
- settings-update-source (Chromium and WebKit, every language, 1100 and
420 wide), update-mirror, i18n-keys: 56 pass.
- the 18 GUI files that open Settings › About or search Settings
(update-*, whats-new*, segs-glide, uninstall-settings,
settings-search, settings-groups, gui-de): 409 pass, 6 red, all in
settings-groups' "warm-ups and check-in" (an extra "Spend extra usage"
row), red the same on origin/main
|
||
|
|
a10ac7bb02 |
gui: a Vertex AI provider with two keys or more keeps its project's fields
The editor drew Project ID, Location, Credentials file, Service account
and Base URL in an else after "two keys ticked or more: Routing's
spread", so a second ticked key took them away and they could no longer
be changed. They are the project's, not a key's: drawn either way now.
Run (mote, at this tree):
- vertex-two-keys.test.cjs (new), Chromium and WebKit, en zh zh-TW ja de,
one key and two: 22 pass.
- vertex-editor.test.cjs: 52 pass, 2 red ("is added with its project,
not a key", WebKit en and zh: the Add moved the editor's scroll to 0).
Red the same on origin/main
|
||
|
|
eca40383f7 |
routing: a group's routing and window read as a provider's do
The same setting had two names. The Routing page called the "usage"
routing "Least used", while the provider editor, Smart's own hint ("pick
In turn or Least used first"), Built-in plugins and the account reasons
call it "Least used first". A group's Advanced named the window agents
are told "Context", where a provider's Advanced, Agents and the context
card say "Context window". Both now use the provider editor's word
(translations already there in zh, zh-TW, ja and de). Stays, Rate
limited and Compact at already read the same on both pages and are left.
Run (mote, at this tree; load 27 on 18 cores, mica 26 on 12):
- group-context, routing-group-strategy, account-arrange, routing-save,
routing-key-windows, i18n-keys, group-compact and settings-search,
Chromium and WebKit: 118 pass, 2 red: account-arrange in both engines
(53 !== 52), red the same on origin/main
|