da29171a4e148e1815a608ed999023efcca7e2cf
2402
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
da29171a4e |
library: a plugin hook that reads CLAUDE_PLUGIN_ROOT itself gets the folder
@AXmake110 on X: with the Claude Code plugin ponytail installed for an
agent, every start of the agent printed a red error. ponytail's hooks
read the folder in Node, not through the shell:
node -e "require(require('path').join(process.env.CLAUDE_PLUGIN_ROOT.split(String.fromCharCode(92)).join('/'), 'hooks/ponytail-activate.js'))"
magpie replaced only ${CLAUDE_PLUGIN_ROOT} and $CLAUDE_PLUGIN_ROOT, so
the command went into Claude Code's settings.json (and, for the
UserPromptSubmit hook, Codex's hooks.json) as written. Outside Claude
Code's plugin runtime nothing sets the variable, and Node threw
"Cannot read properties of undefined (reading 'split')".
Fixed for the class (plugin_env.go):
- a hook program's own read of CLAUDE_PLUGIN_ROOT or CLAUDE_PLUGIN_DATA
becomes a quoted string literal of the folder, with forward slashes:
process.env.X, process.env['X'], Bun.env, Deno.env.get, Python's
os.environ[...]/.get/os.getenv, Ruby's ENV[...]/ENV.fetch. The quote
is chosen so it doesn't end the sh quoting around it. PowerShell's
$env:X / ${env:X} and cmd's %X% become the folder.
- a plugin's command MCP server gets both variables in its env, as
Claude Code gives them, unless the plugin set them.
- ${CLAUDE_PLUGIN_ROOT}/DATA in a subagent's prompt and in a copied
SKILL.md are resolved, as Claude Code resolves them in Markdown.
- every agent gets the same text: the parts are library items, so
Claude Code, Codex, Gemini, Cursor and Grok are all written from them.
- existing installs: load() heals the hooks, servers and subagent
prompts of an installed plugin that still name the variables, and the
next sync (the app's startup sync) writes them out again; the old
entry is replaced, not duplicated. A SKILL.md copied before is fixed
by the plugin's Update or a reinstall.
Not carried yet, filed as #6682: exec-form hooks (command + args, whose
args are dropped today) and CLAUDE_PLUGIN_OPTION_<KEY>.
The fixture is ponytail's published hooks files, byte for byte
(DietrichGebert/ponytail 96608e07, testdata/ponytail/README.md).
Run (mote; full suite at 901b56c80 on origin/main
|
||
|
|
411769e9c7 |
library: GitHub Copilot gets the Library's instructions with VS Code or JetBrains alone
@codealc on X (0.1.3827, Windows, Codex with Copilot as the provider): 资源库 › 指令 has no way to give GitHub Copilot instructions. The only Copilot row was Copilot CLI's, listed only when the CLI was detected (settings.json or the copilot command) and not uninstalled, so a user of Copilot in VS Code or JetBrains saw none. Which file Copilot reads, from each surface's own source: - Copilot CLI 1.0.95: $COPILOT_HOME/copilot-instructions.md, else ~/.copilot/copilot-instructions.md (run for real, below). - VS Code (microsoft/vscode d95071e96, promptsServiceImpl / computeAutomaticInstructions): ~/.copilot/copilot-instructions.md, plus ~/.copilot/instructions/**/*.instructions.md; its docs' reference table gives the same for the Copilot harness's user scope. - GitHub Copilot for JetBrains 1.21.0 (javap of the plugin's classes): getCopilotCliHomePath() (COPILOT_HOME, else ~/.copilot) + copilot-instructions.md. So Copilot CLI's agent now has shared "GitHub Copilot" (as Cursor CLI's ~/.cursor is the Cursor editor's) and a sharedApp check: VS Code, VS Code Insiders, or the JetBrains plugin is here. agent.SharedRead says so; SharedHere is true with it even before ~/.copilot exists, and targetsAsleep keeps a CLIMissing agent whose folder such an app still reads. The Library's row is named GitHub Copilot; the agent stays Copilot CLI on the Agents page. SharedName also names Copilot CLI's chats in Sessions, which are now "GitHub Copilot" as Cursor CLI's are "Cursor". The user's own text in copilot-instructions.md stays outside magpie's block, and comes back whole when magpie's instructions are emptied. Tests (internal/library/copilot_shared_test.go): row named GitHub Copilot; VS Code alone (no ~/.copilot) gets the row and the file written without making Copilot CLI detected; JetBrains plugin alone; the user's own file kept; CLI uninstalled with VS Code still here keeps the row, with nothing reading it drops it; COPILOT_HOME followed. TestCursorIsCursorCLI and TestCursorFolderFromTheEditorIsNotTheCLI now allow Copilot beside Cursor. Run: - The six new tests on the old code (source files checked out from |
||
|
|
3ffac60480 |
docs: the management API's routing groups and the app's switch for it (#6307)
docs/reference.md's Management API lists the routing-groups routes (list, get, create, update and the Routing page's actions), says they are checked as the app checks them and that found/skip are not served, names the key menu's Advanced switch beside `magpie gateway-key admin`, and drops "this first part leaves out Routing Groups": what is left out on purpose is the export of sign-ins, which would hand out every account's secrets. docs/subsystems/gateway-routing.md says how the routes reach /api/groups (adminGroupActions, adminGroupWrite over provider.SaveGroup) and names the tests. The site's remote page says the same in en, zh and ja, and public/llms-full.txt is built again from it (node llms-full.mjs, on mica). Run: site's worker.test.mjs (llms-full current) in the full run before the push; no code changes here. Run for the three #6307 commits (mica, at 4eafd9963 on 90efddaba's successor, then the touched tests again after rebasing onto |
||
|
|
221c91fae3 |
gui: the gateway card opens the chat page
The gateway card gets a "Chat page" button beside Restart gateway while the gateway runs. It opens <gateway>/deepseek-chat/ in the browser, or, in web mode, the public URL's chat page. Both buttons sit in one .gw-acts group, so a narrow card wraps them together, and Restart keeps its .gw-fix class (the takeover, pause and port-holder tests read the first .gw-fix). The label is translated in zh, zh-TW, ja and de. Run: gateway-chat-page.test.cjs in Chromium and WebKit, every language, at 1100 and 420 wide, on mica: ok. It is red without this change (no button). At |
||
|
|
6bdeedc6fb |
gateway: serve DeepSeek's chat page with magpie's models
@yanghonghang asked on X for DeepSeek's open-source web chat page (deepseek-ai/chat-demo) to run on magpie, with its search and link reading served by magpie's own. magpie now serves it at <gateway>/deepseek-chat/, with no setup: - The page is the v0.1.1 release (MIT, LICENSE kept in the zip), embedded and served from memory. Its API origin is rewritten to location.origin+"/deepseek-chat", and magpie.js adds a model picker: any magpie model answers, sent as the magpie_chat_model cookie. - On this computer the page needs no key of the user's. Another computer types a gateway key, as for every other route. - POST anthropic/v1/messages maps deepseek_web_search to magpie's web_search_20250305 and deepseek_read_url to a read_url tool magpie runs itself with fetchPage between rounds. Each round goes through the gateway's own Messages route, so routing, keys, limits and usage are the same as an agent's. - Files (images, PDFs, text) are kept in memory until a restart; Word, PowerPoint and EPUB are refused with 415. ASR and TTS go to the speech models set in magpie. - Only the page's GET/HEAD static files are keyless (readOnlyRoutes and lanGuard's chatPageOpen), served under a strict CSP. Its models, chat, files and speech routes need a key from another computer, and a read-only key is refused on each (readOnlyRefused). Docs: docs/subsystems/gateway-routing.md, "DeepSeek's chat page". Real use: a sandbox magpie (sandbox HOME, port 3486 on mote) served the page in Chromium; a Claude answer with web search showed citations and source chips, a DeepSeek link read answered from the page, and the picker was checked in light and dark. Run: go test -tags nogui -run 'TestChatPage|TestReadOnlyKeyEveryRoute' ./internal/gateway on mica, ok. Without this change every TestChatPage* is red (the routes 404), and TestReadOnlyKeyEveryRoute is red with the chat routes missing from readOnlyRefused. |
||
|
|
47684ef176 |
usage: a table column is what its windows are of, not their names
normalcoder_ on X: in Usage > Overview's table, Antigravity's
"Gemini · 5 hours / 7 days" landed in the last ("Other") column, since
columns were keyed by window name. That holds for every provider whose
names don't match the column keys.
columnOf keys a pooled window to its pool's column (poolWord, "Claude &
GPT" under Claude) and names the window in the cell; any other window
goes by its span (spanOf: "Weekly", "7 days" and "7d" share a column,
headed by the name most rows use, a number on a tie); a window with no
span goes by its name.
Run (mote, chromium + webkit, en zh zh-TW ja de, 1100 and 420px):
usage-account-subcards.test.cjs 40/40 here, 40/40 red on origin/main
|
||
|
|
2a6ab83d8a |
usage: each account of a provider's card is a card of its own; the ⋯ keeps its room
normalcoder_ on X (v0.1.4079, Usage > Overview): accounts inside a provider
card were told apart by a hairline only, and the card's ⋯ was drawn over
the end of the head ("Show the other accounts in brief" was hidden).
- renderQuotas puts each account of a card with several into a
.subscription-acct box (a provider's keys, a balance a line, stay
lines); quotaCardMenu looks through the box for the account's head.
- The head keeps 18px for the ⋯ whether it shows or not; where nothing
hovers, the ⋯ is always shown.
- Core budgets +57 (app.js) / +81 (core): renderQuotas draws every card,
so there is no page to move it to.
Run (mote, both engines):
- usage-card-menu-room.test.cjs: 20/20 here; red 20/20 on origin/main
|
||
|
|
cfd70c60c2 |
update: the old pill quiet ran through 0.1.4181, not 0.1.4179
Comments and docs only: v0.1.4180 and v0.1.4181 were tagged before
|
||
|
|
3f09b9ffc6 |
update: the header's Update pill shows a waiting update at once; only its x holds it, for 3 days (visamzh, normalcoder_ on X)
visamzh (0.1.4174, 0.1.4176 downloaded, Update button and Automatic updates on) and normalcoder_ (0.1.4079) saw no Update pill for about two days. Cause: |
||
|
|
0b8c4bfc34 |
agent: Claude Code's permission mode is set in magpie and kept (EricChenChannel on X)
The report: "every time I configure settings.json it is overwritten and
reset" for permissions.defaultMode = bypassPermissions.
Cause, reproduced in a sandbox HOME with Claude Code 2.1.316: magpie's
writes to ~/.claude/settings.json are key-level and kept the user's
permissions block. Claude Code itself drops the mode: it ignores
bypassPermissions at launch unless skipDangerousModePermissionPrompt is
true, and its auto-mode nudge and /config write defaultMode over it.
Change:
- agent.Field gets Own: the user's own setting of the agent. Apply does
not record it, Disconnect neither clears nor restores it, Pick never
connects the agent for it, magpieValueIn is false for it, and profiles
(Fields, ApplyFields, InUse) and the WSL copy leave it alone. So the
mode outlives disconnecting magpie and switching profiles.
- Claude Code's permission_mode field (default, acceptEdits, plan, auto,
dontAsk, bypassPermissions; "" removes the key) writes
permissions.defaultMode, and bypassPermissions also writes
skipDangerousModePermissionPrompt: true so Claude Code honours it.
- GUI: own fields go in agentJSON.own, apart from fields, and
agentcompact.js draws them in an Advanced fold (collapsed) under the
agent's settings, with the app menu (no <select>). app.js unchanged.
Labels in en, zh, zh-TW, ja, de (zh: 高级 › 权限模式 › 跳过权限确认).
- docs/subsystems/agent-wiring.md: Fields and options row.
Run at this tree (base
|
||
|
|
90efddabae |
gui: providers can be picked and removed together (eiyuuzaki2333 on X)
Many API providers added meant removing them one at a time. Select, by
the Providers search box (shown with two or more), puts a box on every
row as Routing's groups and Library's lists have it: a click on a row
picks it rather than open its editor, Shift picks the rows shown
between, and the bar's box picks every row shown. Remove asks once, in
the app's own dialog, with the count and every name, then posts
POST /api/providers/delete {ids}. That runs provider.Delete for each
id, as the editor's Remove does, inside one agent.Reseat, so agents
move once, to where they end up. One it can't remove comes back in
`unremoved` with why, stays picked and is named in the status; the call
is refused only when nothing was removed. Done or Escape ends picking.
The rows, bar and removal are in pvpick.js, imported when Select is
first clicked. The core grows 270 bytes (pvSel, the button's click and
two lines in renderProviders), and coreScriptBudget is raised by that
with the reason. "{name} wasn't removed: {error}" moves from Library's
words into core i18n.js, since core code says it now.
Run (rebased on origin/main
|
||
|
|
e6e0585bd3 |
antigravity: reword Hermes', OpenCode's, Codex CLI's and pi's identity lines, which Google refuses since 11-14 evening
Since about 18:43 on 11-14 Antigravity answers 429 "Resource has been exhausted" to a system instruction holding "You are Hermes Agent" (Hermes' current persona), "You are OpenCode", Codex CLI's "You are a coding agent running in the Codex CLI" or pi's "a coding assistant running inside pi", whatever quota is left (@ZhouYimingsjtu, @Lmohn39 on X). Hermes' earlier persona is still refused as "You're … created by", so it keeps its "built by". Tried on a real account (gemini-3-flash), each alone: Codex GPT-6's prompt, Claude Code, Gemini CLI, Qwen Code, Cline, Kilo, goose, Amp, Droid, Kimi, Aider and Cursor pass as written. agTurnedAway gains the four lines; agSaidAs rewords them "You're …" and "running within pi", the smallest change that passed 5/5 on the real account (gemini-3-flash: pi 1.5.0's full default prompt, both Hermes personas, OpenCode's first lines, Codex CLI's prompt; claude-sonnet-4-6: pi 5/5), through the antigravity plugin's cloak, which has the same lines (plugins a617ecfd, antigravity 0.1.16, agy-cli 0.1.48, antigravity-cloak 0.1.9). The refusal's hint names the agent: new OpenCode, Codex CLI and pi hints, Hermes' covers both personas, word for word the plugins' and the Routing page's (client.js HINTS, i18n zh/zh-TW/ja/de). Run (mica; mote was over its 18 cores): - go test ./internal/gateway -run 'Antigravity|Cloak|CodeAssist': ok - go test ./internal/gui: ok - GOOS=linux and GOOS=windows go vet -tags nogui ./internal/gateway ./internal/gui: ok - node --test i18n-keys, i18n-en-no-cjk, routing-ag-turned-away (both engines): 38 pass - gofmt -l: clean Broken by hand: with the pi and OpenCode lines out of agTurnedAway, TestAntigravityCloakRewordsEveryLineItTurnsAway and TestAntigravityHermesHint go red. Not run: the full go test ./... (mica had another session's full suite running, mote over load) and the whole GUI suite; the change is strings in four tables plus the hint switch. |
||
|
|
e0ed2c4d81 |
gateway: model ids without the provider can be listed alone, in place of provider/model
qQianye on X (v0.1.4094 in Docker, several WorkBuddy accounts): the
client on their computer lists every model as provider/model and they
want those hidden. The advice was the Agents page's model list, but
gateway mode (what the Docker image's web page runs as) has no Agents
page. Settings › Network and sharing › Model ids without the provider
was drawn there already, but only added bare ids beside the prefixed
ones, so the list got longer, not shorter.
The row is now Off / On / Only. Only (settings.BareModelIDsOnly,
POST /api/settings/bare-ids {"on":true,"only":true}) lists each bare id
in place of the first row it stands for (provider.OnlyBare) and leaves
the other rows it stands for out: the found group it reaches
(auto/glm-5.3) and every provider's row of that model it reaches. A row
the bare id doesn't reach (b/vendor/m9, whose bare id names provider
vendor), a held key's row whose bare id isn't listed for it, and other
groups keep their ids, so no model leaves the list. Requests by
provider/model are served as before; only /v1/models changes. Another
magpie's list is unchanged. Claude Code's discovery, which drops a bare
row it wouldn't keep because the full row is there, lists it by its
alias with Only (there is no full row). Off clears Only.
Run, at this commit (base
|
||
|
|
bc9ea912a5 |
contributors: 11-14 two of ggbdpq's patches needed the review again (#5452, #5197)
From the review of |
||
|
|
131037e2ba |
gateway: preserve Codex model-list OAuth alongside gateway keys
A managed x-api-key made identifyCaller overwrite Codex's valid ChatGPT bearer with the internal token. /models then forwarded that token and returned 401, losing the configured model metadata (#5197). Keep the bearer privately only for the native model-list GET after key validation. Restore it on a request copy used by both the model-list cache and its upstream ask, removing gateway authentication fields. Key-only requests remain refused; other routes keep normalization. Verification on Go 1.27.3, macOS arm64, based on |
||
|
|
1ab2c39843 |
tray: the menu bar and panel leave out what Usage's Overview hides (onkashiko on X)
onkashiko on X: a quota hidden in the main window still showed from the menu bar. |
||
|
|
61e2035d39 |
gui: a Windows start no one can answer is never asked where to install, so the gateway comes up (v0.1.4160-4166 release check)
Every magpie-releases build from v0.1.4160 to v0.1.4169 failed windows-check (amd64 and arm64) at "Launch magpie": the exe logged "magpie 0.1.4166 started (app, ...)" and the gateway never answered, so none of those versions has assets. Cause: |
||
|
|
ee6352b638 |
gui: black's dark page is #000000, and a dark colour darkens the page in its hue (CHENGJIAHEGOXIS on X)
CHENGJIAHEGOXIS on X (tweet 2121543612278472704), on the dark theme: 「现在的纯黑……感觉色对不上」 beside Chrome's black, and the darkest navy of the system's picker 「感觉是有浅灰存在,所以导致深变浅」. Their screenshots: black's page (2,1,7), Chrome's (0,0,0); navy #191047's page (24,23,29), card (31,30,36), the grey of Graphite's. Why (appearance.go ground()): - the dark grounds went down by the same amount on every channel, so app.css's cool grey cast stayed: black's page was #000003, its card #08080c, a blue-black next to Chrome's #000000; - how dark a pick is was its mean channel against the page's. #191047's mean (37) is above the page's (27), so a deep navy counted as light and only got a breath of hue (0.08): the same grey page as Graphite. What changes: - darkness(): a pick's OKLab lightness under 0.4 (Graphite #52525b is 0.44, every preset 0.51 or more) is how far the dark grounds go toward black; 1 for black. #191047 is 0.23, so 0.43. - as a ground goes down it loses the grey's cool cast by as much, and takes more of the pick's hue (0.08 + 0.25 x darkness). Black's page is #000000 with neutral steps above it (card #090909); navy's page is a near-black navy. - Graphite, the presets, colours lighter than 0.4 and the light theme are unchanged; lifted() (where the ink starts) is unchanged. Measured (Settings > General zh, dark, 1200px; screenshot pixels, the same in Chromium and WebKit), before -> after: - black: page #000003 -> #000000, card #08080c -> #090909 - #191047: page #191821 -> #0c0b17, card #22212a -> #151420 - #130830: page #17161e -> #0b0813, card #201f27 -> #14111c - Default, Graphite (#1a1a1e / #232327), teal, #7f1d1d: unchanged Tests: - TestDarkPickDarkensPage: black's grounds are neutral greys; three dark blues draw a darker, blue page with text >= 7:1 and the accent >= 4.4:1; Graphite and the presets have darkness 0. - TestBlackIsBlack: black's page is #000000 exactly. - appearance-look: black's dark page is rgb(0, 0, 0); #191047 draws a dark navy page with Settings' list on its card (dark), and keeps the light page's lightness (light). Fixture gains #191047. Run on mote (load ~22-35 over its 18 cores; mica's disk is full, 116MB free), at this change on origin/main |
||
|
|
106a24b95e |
library: skills from GitHub and git update by themselves when switched on
0xYaCo on X: "skill 能自动化升级吗?". magpie already checked for skill updates by itself (every 12h, as the Skills tab opens), but each update waited for a click on Update. A new switch, Update by themselves, sits under the Skills list while a skill comes from GitHub or git (POST /api/library/skills/auto-update; `magpie library skill auto-update on|off`; library.json's autoUpdateSkills, this computer's own). It is off by default. When it is on, KeepSkillsCurrent (a gateway.WhileServing loop) runs AutoUpdateTick 2 minutes after start and then hourly. Every 12h that runs CheckSkills, then UpdateSomeSkills on the skills found at "update". So a skill changed here stays in Unupdated with its Update button, one removed upstream is only marked, and a replaced edited version goes to the backups, as with an update by hand. Updated names and a new error are logged. Run (WSL2 magpie-desktop, Go 1.26.8; mote was at load 167, mica's disk full), at ab637d3c4 (this change on |
||
|
|
ed82d8fab1 |
agent: a plugin's connect is given magpie's decision models as decisionModels
An agent plugin's connect() got only chat models in `models`, and
/v1/models leaves decision models out too, so a plugin had no way to
learn magpie's Jev, Clef or plugin `decides` models, though
/v1/systemone and /v1/decisions answer them (baranwang on X,
tweet 2121551068022915149).
connect's input now has `decisionModels`, apart from `models`:
provider.OfferedDeciders (what /v1/models lists under
X-Magpie-Deciders), then the decision routing groups, each
{ id, name, provider | group: true,
endpoints: ["/v1/systemone", "/v1/decisions"] }, [] for none.
`models` and /v1/models are unchanged. Docs: reference.md,
agent-wiring.md, site plugins page (en, zh, ja) and llms-full.txt.
Run at 87f358b70's tree rebased on
|
||
|
|
659ca3f026 |
gateway: through a Remote magpie the log records the tier the other magpie sent (JackyFill on X)
Codex -> magpie1 -> (Remote magpie) -> magpie2 -> a ChatGPT account, with Fast on in magpie2 alone: magpie2 sent service_tier priority and logged the served tier unknown (the ChatGPT backend says "auto"/"default" whether priority ran or not, servedTierAt). magpie1 only saw that "default" in the relayed body, from a host that isn't chatgpt.com, and logged tier_sent "" and tier_served "default". A try asked by another magpie (magpieAsks) now says on its reply's header the tier it sent its vendor (X-Magpie-Tier-Sent, "none" for none) and, when that vendor's "auto"/"default" tell nothing, X-Magpie-Tier-Unsaid: 1 (stampTier, from holdWriter.writeHeader). The asking magpie takes them from a Remote magpie's reply alone (tierThere in heardReply; a vendor's X-Magpie- headers are still never passed) and records them as the try's tier_sent and an unknown tier_served, in the usage log and on the route. A chain passes the farthest magpie's on. docs/subsystems/gateway-routing.md says so. Run (wsl-run, Linux, at this head): new TestRemoteMagpieTierRecorded (one server as both magpies, its key's tier fast then standard, the backend answering auto/default) green; broken by hand: with the four source files at origin/main it fails with exactly the report, "sent '' served 'default', want sent 'priority'"; the whole internal/gateway package ok (932s, -timeout 45m) at 5a28b17c6 (on origin/main |
||
|
|
9f4e1120f3 |
agent: a Codex not connected is never pointed at magpie for account failover
TylerBai_loveai on X (tweet 2121532671180632290): with several ChatGPT accounts added in magpie and Codex not connected, Codex's requests went through magpie anyway; only adding Codex in Agents, then Disconnect, put it back. Cause: Sync's `failover` in codex.go wrote `openai_base_url = "http://127.0.0.1:3425/backend-api/codex"` (stash codex.failover), or pointed a CC Switch OpenAI mirror's base_url at the gateway (codex.mirror_failover), for any Codex signed in to ChatGPT with another of its accounts on (#1385), on every start and Sync, unless the user had disconnected Codex or turned on "Only switch Codex's sign-in". The row said not connected while every request went through magpie. Fix: failover writes nothing any more. A Codex that isn't wired or using magpie as its provider gets what failover wrote before taken out by Sync: the marked base URL, or the mirror's base_url. A base URL the user wrote by hand has no mark and stays (#856). Failover between Codex accounts comes with connecting Codex. modelOptions no longer counts failover as through magpie, so a pick of Codex's own model on the Agents page doesn't go via magpie. codexProxyOK (the proxy probe only failover waited for) is gone. The CLI's and GUI's switch-only lines, reference.md and the subsystem pages say failover is for a connected Codex. Users already affected: the first Sync after updating (magpie's start) removes the marked openai_base_url or mirror base_url, and the route change restarts Codex's app-server; Codex then goes straight to OpenAI on its own sign-in. A thread opened while it was on magpie keeps its provider until reopened, as after Disconnect. Tests: - TestCodexNotConnectedStaysOffMagpie: two spare accounts on, Codex not connected; SyncCatalog, Sync twice and a model pick leave no base URL, no model_provider, not Wired/FailingOver/CodexOwnOnly. - TestCodexFailoverFromBeforeTakenOut: a marked base URL and a marked mirror base_url from before are taken out, bytes restored exactly. - TestCodexSwitchOnlyKeepsCodexOffTheGateway, the CC Switch mirror, disconnect-stays and proxy/EndFailover tests reworked to seed the old state by hand; TestCodexFailoverHeldWhileProxyDoesNotPassOn deleted with codexProxyOK. Red on the old code (old codex.go + codex_proxy.go, new tests, mote): TestCodexNotConnectedStaysOffMagpie, TestCodexFailoverFromBeforeTakenOut and TestCodexSwitchOnlyKeepsCodexOffTheGateway fail with the reporter's line `openai_base_url = "http://127.0.0.1:3425/backend-api/codex"`; TestCodexCCSwitchOfficialOpenAIMirror fails with the mirror pointed at magpie. Run (mote; mica's disk is full, 100% with other sessions' runs, and mote's load was ~17-25 of 18): - At base |
||
|
|
14807bcf20 |
update: a Windows download kept outside Downloads asks to install too
@XBJNTMs2mDbsvPH on X: on Windows magpie ran from wherever the
downloaded exe was and updated itself in place there, so deleting the
download deleted magpie, and opening copies of different versions left
several Magpie entries in the Start menu.
Cause: update.Settle installed the exe into %LOCALAPPDATA%\Programs\magpie
only when it ran from the known Downloads or Desktop folder or a temp
folder. A browser set to save elsewhere (D:\下载), or a download moved
into a folder of the user's own, never counted, so that copy stayed the
app, updated in place, and each copy opened was an app of its own to
Windows (its own path: taskbar, Start's lists, Open at login,
Magpie.lnk repointed at whichever ran last).
Now an exe still named as the site's download
(magpie-windows-amd64.exe, "… (1).exe", arm64; downloadName) counts as a
download wherever it is, but only through the existing install dialog,
never unasked (no dialog, no install). Installed, it opens the installed
copy as a download in Downloads does, and a newer one replaces it.
Cancel on such a copy is kept in HKCU\Software\magpie NotInstalled (the
exe's path): it runs where it is from then on, is not asked again and
never forwards; another copy is still asked. Cancel in Downloads is not
recorded, as before. forwards() (no magpie.com beside a forwarding
copy) follows the same rule. Uninstall's ForgetInstallDir takes the new
value out with InstallLocation. A renamed copy (D:\Tools\magpie.exe)
is left alone as before. No new UI: the dialog is the one from
|
||
|
|
07a62b3739 |
providers: Copy all keys, and magpie provider keys, carry a provider's keys to another magpie
@emilochen on X asked to batch-export one provider's keys, to sync them between a local and a cloud magpie. Each key row could copy only its own key (#1480), and nothing printed them all. - A provider with two or more keys gets a "Copy all N keys" row under Add another key. It asks provider/key with allKeys (provider.AllKeys: the main key and every listed key, deduplicated, turned-off ones too) and copies them one a line, for the other magpie's Paste several (keys/import). The secret goes only to the clipboard on the click, through the page's copy(); nothing logs it, and the route sits behind the GUI API's existing local/origin guards. A signed-in account has no keys and is refused. - The row is drawn by keyrates.js (copyAllKeysRow), already imported when a provider with two or more keys opens; keyRateField now takes which of its parts to draw. It has its own class, keys-copy-all, not .add, since ~21 GUI tests take .acc.add as the one adding row. TestCoreScriptBudget's core budget goes up by the 72 bytes left in app.js (the placing line and the helper's new argument); app.js stays under its own budget. - CLI: `magpie provider keys <id>` prints the keys one a line; `magpie provider keys <id> add [key… | -]` adds them from words or stdin (SplitKeys + AddKeys), so `magpie provider keys relay | ssh cloud magpie provider keys relay add` works. A word starting with "-" is refused, never taken as a key. - Strings in en, zh, zh-TW, ja, de. Related: #5387 (sharing saved providers through magpie:// links), not closed by this. Run on mote (mote-run) at this tree on |
||
|
|
11ddf076b4 |
usage: a Qwen AI platform Token Plan is read through a sign-in to the platform (@imthe99galaxy on X, #5829)
On v0.1.4137 a provider on the Qwen AI platform's Token Plan
(qwen-token-plan, token-plan.maas.qianwenaiapi.com) had no quota card at
all. The plan key (sk-sp-) only authorizes inference; the platform tells
the plan's usage only to a sign-in on the platform, and magpie had none.
Now each such provider can sign in to the platform, as the QianWen CLI
1.10.0 does (qianwen_plan.go, UA qianwen-cli/1.10.0):
- a device sign-in with PKCE S256 at t.qianwenai.com/cli/device/code and
/cli/device/token, approved in the user's browser; the editor's
"Sign in to the Qwen AI platform" opens the page and waits for it;
- the session is the provider's own, kept by provider id in
qianwen-auth.json (0600), moved on Rename and dropped on Delete;
- cli.qianwenai.com/data/v2/api.json (GenerateCLIAccessToken) mints a
console token, kept and minted once more when the gateway answers
NotLogined; ConsoleNeedLogin or a fresh token refused signs it out;
- the usage is the Alibaba Token Plan's BroadScopeAspnGateway call at
cs-data.qianwenai.com with consoleSite QIANWENAI, region cn-beijing,
read by the shared aliAskUsage/aliReadWindows (alibaba_usage.go now
takes the console per call). The sk-sp- key is never sent there.
- Plan windows (planquota.go) and routing's key allowance
(key_allowance.go, keyTag "qianwen") read it; not signed in, the card
says so with Open settings (NeedsAccessKey).
- GUI routes /api/qianwen/{id}/signin (POST start, GET state),
/signin/cancel, /signout; the editor's field lives in qianwenplan.js,
imported when such a provider's editor opens. The core script budget
is raised by 326 for the import and one quotaError line (its reason in
core_budget_test.go). The routes are in the CLI parity's notYet, as
StepFun's are.
Run, on mote at the base
|
||
|
|
01c3efc4f7 |
library: billion-context's compression markers can be switched off (@JamesYu32 on X)
@JamesYu32 asked for a switch that turns off the markers billion-context adds after it folds: compress.visibilityMarkers. In bili 0.1.213 (CONFIGURATION.md, dist/index.js) it is a boolean, true by default; true appends the 📦/❌ line after a compress, decompress, search_context or acp_status call and re-injects it into the rebuilt history, false drops both, and the tool calls still run. Some models imitate the markers. The billion-context tab's Advanced fold gets "Show compression markers", on unless the file says false. Off writes compress.visibilityMarkers: false through edit.PatchJSON (comments and every other key kept); on takes the key out, back to bili's default, rather than leaving a value magpie chose. A provider's or model's own compress.visibilityMarkers is the user's and is left as it is; a non-boolean value (which bili rejects) is not read as off. The running bili is asked to reload, as for the other settings. Under Advanced because it is rarely changed. Run (mote, at this tree on origin/main |
||
|
|
df2b819c67 |
library: Antigravity and Crush get copies of skills on Windows (#6610, #5107)
On Windows without the right to make a symlink, magpie links a skill with a junction. Go 1.23+ lists a junction as ModeIrregular, neither a folder nor a symlink, and Antigravity (the app and agy: customizations' discoverInSubDirsFiltered) and Crush (internal/skills on fastwalk, which follows only a ModeSymlink) keep only folders and symlinks, so a junctioned skill never showed in them. dsh, pi and the other Node, Bun, Rust and Python agents follow a junction. Checked against the real apps on xiaomi-gpu (Windows 11) in a sandbox USERPROFILE: Antigravity 2.30.0's language_server.exe (--standalone) GetAllSkills lists a skill in a folder and one behind a symlink, not one behind a junction. crush v0.101.0's `crush run` request to a local capture server listed the folder and the symlink, not the junction. On macOS agy 1.5.8 (ACP session/new, available_commands_update) takes a symlink that leads out of ~/.gemini/config, so #6610's "confined to the folder" filter doesn't touch magpie's links there. - junctionBlind (agy, antigravity, crush) and skipsJunctions: on Windows these targets have Copy, so they get marked copies, made again when the library's changes, and the Library page shows "Only ever takes copies" for them. A junction an older magpie made becomes a copy. - inShared: a link in ~/.agents/skills is no skill to them, so Crush, which reads that folder too, gets its own copy. - A project's .agents/skills entry that one of them reads is a copy (syncFolder's per-entry flag); one no such agent reads is a link again. - takeEdits takes an edit made in a project's copy into the library, as one in an agent's copy is, so a copy a user edits isn't undone by the next sync (Project.Copy's copies too, which were made again over an edit before). - behind lists these agents' stale copies. Run: - go vet ./internal/library, GOOS=windows and GOOS=linux go vet, gofmt -l: clean (mote). - go test -count=1 ./internal/library: ok on mote (macOS) 107.9s and on xiaomi-gpu (Windows 11) 440.0s, at this change on |
||
|
|
be7d22edda |
gateway: a pi 1.x run of the Claude bridge starts in pi's own folder
fysly on X: a Pi turn on a Claude subscription told the model two working directories, Pi's own and magpie's shared work folder under /private/var/ folders (magpie-claude-work-<uid>), where the bridge's Claude Code ran. Pi 1.x states its folder as a system prompt section with the path on a line of its own, "<cwd>\n/x\n</cwd>" (buildSystemPromptSections, joined by getSystemMessageText). clientSaidWorkDir and clientTurnWorkDir read <cwd> only on one line, as Codex writes it, so clientWorkDir found no folder and the run started in the shared folder: Claude Code's own environment then named that folder beside Pi's <cwd>. The folder rules' reader (workDirIn) already allowed whitespace inside <cwd>; the bridge's now does too. Sibling in the same reader: workDirIn decodes the path's &, < and > as entities (Codex escapes them in <cwd>, Claude Code < and >), the bridge's did not, so such a folder failed os.Stat and its run went to the shared folder too. Now decoded the same way. No text of Claude Code's prompt changes: only the folder it runs in, the existing clientWorkDir path for Claude Code, Codex and OpenCode callers (--setting-sources "", no auto memory, CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS). Run (mote, at |
||
|
|
13cb07fde7 |
codexcat: an OpenAI model is compacted where Codex's own catalog holds it, GPT-6.1 Terra at 500K (@flower__daisy on X)
@flower__daisy: Codex compacts often after connecting to magpie, "don't Codex models have 500k now?". Codex's bundled catalog (rust-v0.165.0 to rust-v0.169.0, models-manager/models.json) gives gpt-6.1-terra a context_window of 500000; every other listed model 272000 (red-latest 372000). Long conversations' default, the working window, told Codex to compact every model with a longer window at 272K, "what OpenAI does with its own models". For GPT-6.1 Terra that is no longer what OpenAI does: - a ChatGPT account's codex/gpt-6.1-terra in magpie, with no entry in Codex's models_cache.json, got context_window 500000 and auto_compact_token_limit 272000; - an OpenAI API key, relay or found auto/ gpt-6.1-terra got models.dev's 922K and 272000. Codex's own entries, passed through beside a ChatGPT sign-in, were already as the backend gave them. codexcat.Working is now Long conversations' threshold, except that at its default an OpenAI model is held to the window official Codex holds it to (OwnWindow: the account's models_cache.json list, else the bundled catalog, matched by longest prefix as Codex does), never above the model's own window. A size the user set (CompactAt, Codex's own Long conversations) and Full window are as they were. Another vendor's model and a routing group keep 272K. A model whose window magpie doesn't know gets the same threshold. The Context tab's advice (tune.go codexWindow) and the Long conversations row (codexWindowUnder) read it too. Tests: - TestBundledWindowsAreCodexOwn: bundledWindows equals the context_window of every model in testdata's rust-v0.166.0 models.json. - TestCodexCatalogHoldsOpenAIModelToCodexWindow: terra on an API key, a dated auto/ id, a 400K relay, codex/ at 500K, a relay with no window; sol, DeepSeek, Claude and a group at 272K; the account's list before the bundled one; CompactAt 300K and Full window as set. Broken by hand: with entriesAt back on work.Working, 6 cases red (codex/gpt-6.1-terra told [500000 272000]). Run (mica, mote over its load): go test ./internal/codexcat; go vet codexcat and gui for darwin, linux (nogui), windows; gofmt -l; go test ./internal/gui -run 'Tune|CodexWindow|Codex.*Window|LongConv|Compact'; then -run 'Codex|Compact|Window|Tune|Catalog|Ultra|Relist' over gateway, provider, agent, gui and codexcat: all ok (gateway 280s). Full suite: queued on mica behind another session's suite.lock, not finished at push (the owner's ship-at-once rule). Not tried: a real Codex 0.169 session running past 272K on GPT-6.1 Terra through magpie. Claude Code and Grok Build keep the 272K working window for every model; no Anthropic or xAI catalog gives an OpenAI model a window of its own. |
||
|
|
73ecef0b36 |
memory: each memory is a Markdown file of its own
memory.json held every memory in one JSON file, which grew without
bound, was hard to read or fix by hand, and was rewritten whole on every
change. Memory is now a folder, `memory/` beside where memory.json was:
- `<id>.md` is the memory: YAML front matter (kind, scope, status,
origin, pinned, tags, why, sources, times) and the text as the body.
The file is the source of truth.
- `meta.json` holds what isn't one memory's: projects, the digest,
dismissed texts, deletions, declined suggestions, when a search last
returned each memory (so a search never rewrites a memory's file), and
the hash of each file as magpie last wrote it.
- `index.json` is a cache of the parsed files by size and mtime only:
deleted or garbled, memory reads the same.
- `journal.json` holds a change to more than one file (a merge, a sync)
before any is written; the next read finishes one cut off halfway.
A file whose hash isn't the one magpie wrote was edited or added by hand:
it is the user's (origin user, Edited), so a tidy leaves it and an
agent's change synced from another computer never writes over it. A file
with no front matter is a global fact named by its file. A write leaves
any file that changed on disk since it was read (a hand edit made
meanwhile), and so does a remove. A file that can't be parsed is left
out and never written over nor removed, sync included; meta.json that
can't be read is unknown (an error), as memory.json was.
memory.json is moved in on the first read, all under one journal, and
kept as memory.json.migrated. One that can't be read is an error and
nothing is written.
The scope of a hand-written file keeps its case (a project's holds a
path); "global" in any case is global.
Ran at this head (rebased on origin/main
|
||
|
|
50d88f17ce |
sessions: the Claude subscription bridge's own runs are not local sessions
iwinux on X: a Pi request through a group a Claude subscription serves was listed twice in the request log, once as "Pi · Claude Code" and once as "Claude Code · Local session", with the same tokens and cost. Cause: a bridge run is the real Claude Code. It saves its session in the account's projects folder, in the caller's folder's project: the user's own ~/.claude or a saved account's claude-accounts folder, both of which appdir.ClaudeHomes lists. listCCFiles read it as a session of the user's, and the ledger's pairing (request id, then session and tokens) didn't match it with the gateway's record, whose session is the caller's. So every call was counted twice: request log, usage ledger, cost totals, the Sessions page. -p runs and interactive (TUI) runs alike, plus a branch's cut copy and a replayed transcript. Fix: every session a bridge run saves is named by the new internal/bridgesid. New is a version 4 UUID whose last six bytes are a keyed SHA-256 of its first ten, the key a random file of this computer's (<config>/claude-bridge-session-key, made once by temp file + link). To Anthropic, which Claude Code sends the session id to, it is as random as any, so it marks nothing upstream. startRun passes --session-id for a new run (-p and interactive; the TUI helper keeps a --session-id it is given and makes a marked one otherwise), replaySession and cutSessionWhere name their files with it. listCCFiles leaves out a .jsonl, and a session's sub-agent folder, whose id bridgesid.Is knows, for agent "claude" only. That one listing feeds calls, the ledger, the request log, Sessions, traces and WSL distros, so all of them drop the double count. Other bridged runs (warm-up, askClaude, /usage, WSL -p) use --no-session-persistence and write no session. Rows already counted twice: a bridge session already removed (a run's session is removed when it ends) is gone from the ledger already, as it is read from the files there are. One still on disk under an old random id (a live or shelved run resumed under it, or a stopped gateway's leftover in a caller's folder) can't be told from the user's and stays counted until it is removed; old ids carry no mark to fix it on read. Tests: TestNewIsKnown, TestKeyKept, TestKeyMadeOnce (bridgesid); TestBridgeSessionsAreNotLocal (sessions: a marked session in the user's folder, its sub-agent file, and one in a saved account's folder give no calls and no rows; the user's session beside them counts); TestClaudeRunSessionsAreTheBridges (-p and interactive, a new run and a replayed transcript) and TestClaudeCutSessionIsTheBridges (gateway). Broken by hand, on mica: bridged() returning false made TestBridgeSessionsAreNotLocal red (calls req_m1..m4, want req_m1 alone); newUUID back in startRun, replaySession and cutSessionWhere made both gateway tests red (print, interactive and the cut copy). Run on mica at this head (rebased on |
||
|
|
7ea1e6a4b3 |
usage: the tray panel and the TUI leave out what the Usage page hides
onkashiko on X: a provider whose allowance card was hidden in the main
window (Usage > Overview, "Hide from Overview") still showed in the menu
bar's panel. The panel's Allowances tab had only its own Arrange list
(panelUsageHidden) and read the full cards.
Now the panel leaves out a card whose cardHideKey is in usageCardsHidden
and the rows in usageWindowsHidden (withoutHiddenRows), as Overview does;
a menu bar cell's card still shows (panelPeek). A subscription whose
every card the page hides counts in the foot's "{n} hidden" and shows as
hidden in Arrange; Show there
also drops its keys from usageCardsHidden, since the panel follows the
page. All of it is panelPageCut in the Usage plugin's page.js, which every
window loads, so the core scripts get no bigger (TestCoreScriptBudget
unchanged). Hiding from the panel alone still leaves the page as it is. The
panel reads settings again each time it is shown (loadBack), so a hide or
unhide in the main window reaches it with no restart.
Siblings: magpie tui's Usage page leaves out the same cards and rows
(usageShown, read at every quota read). The menu bar's cells and tooltip
show only the cards picked in Settings, so they keep a hidden card as
before; routing, caps and counting are unchanged.
Run:
- panel-page-hidden.test.cjs (new): chromium + webkit, en/zh/zh-TW/ja/de,
10/10 green; red on the old app.js/panelarrange.js (cards still drawn).
- TestUsagePageLeavesOutWhatTheAppHides (new): green; red on the old
pages.go (balance, account and row still listed).
- GUI: the 128 files that read the panel, Usage or tray code, chromium +
webkit, every language, on mote: 17 files red, rerun alone at
concurrency 1 here 123/449 red and at origin/main
|
||
|
|
8a59e76165 |
memory: candidates and set-aside memories don't stay forever
memory.json grew from distilled candidates nobody reviewed and from the superseded members of merges, which nothing ever removed. memory.Prune now applies retention on every hourly tick of memdistill.Keep, with distilling and dreaming on or off: - a candidate unchanged for 30 days (memory.Keep) is archived; - an archived or superseded memory unchanged for 30 more is removed, recorded in removed (a sync doesn't bring it back) and, if distilled, dismissed (never proposed again); - what the user wrote or pinned (Fixed) is never archived or removed. Untidy keeps a merged memory when one of its members was removed since: it is all that is left of that member. Run on mote at base |
||
|
|
90ad90646a |
gui: black draws a black dark theme, not Graphite's grey (CHENGJIAHEGOXIS on X)
CHENGJIAHEGOXIS, on v0.1.4124 (tweet 2121468612238266666), with three dark-theme screenshots of Settings > General, one each with Default, Graphite and a custom black picked: 「这三个颜色……都显示是一样的」, 「尤其是黑色始终一直是灰色」. Their screenshots show the same page in all three: ground (25,25,27), card (32,32,34). Why: - v0.1.4124 tints the grounds with the pick's hue only (base + k*(c - mean(c))), lightness kept. Black and Graphite have no hue, so they changed nothing. Default draws no look at all (magpie's own). - accentOn lifts a dark pick toward white only until it reads at 4.5:1, so black's dark ink came out #8a8a8a, next to Graphite's #89898f. What changes (appearance.go): - ground(): on the dark theme, a pick darker than the theme's background darkens every dark ground by as much (depth()). Black draws a black page (#000003), with cards, pills, lines, menus and the tray panel the same steps above it as in app.css (card #08080c, line #18181e). Graphite, and any colour as light as the ground, draw as before. - lifted(): black's ink starts most of the way to white, so it is a light mono ink (#e0e0e0, dark text on its buttons), not Graphite's grey. On the light theme black is #000000, as before. The sibling, white on the light theme, now gets a dark ink instead of a mid grey. - The light theme's grounds keep their lightness: a white pick would melt its white cards into the page. - app.css: a swatch's edge and the chosen ring take a little of the text's ink, so the black swatch stays seen on the black page it draws. - Default stays magpie's own look (grey grounds, indigo accent) for every user. Not changed here. Tests: - TestBlackIsBlack: black's dark page is black and each ground keeps its step; Graphite moves nothing; black's ink is light in dark (>= 1.8:1 from Graphite's) and #000000 in light; white's light ink is dark; text reads >= 7:1 on black's grounds. - appearance-look.test.cjs: "Default, Graphite and black are three looks", light and dark, both engines: three different --accent values; Graphite keeps the grey page; in dark, black's page is black, Settings' list sits on black's card a step above it, its ink is light; in light, black is #000000 ink. - TestLookFixture's fixture gains #000000 and #52525b. Run on mote (mote was unreachable for ~20 minutes; the red check ran on mica), at this commit rebased on origin/main |
||
|
|
fc896a9f6f |
redact: a Bilibili BV id, an av number or a YouTube link's id goes as written, whatever the local model takes it for (jimlee0824v2 on X)
jimlee0824v2 on X: in a script's list of nine Bilibili videos
(bvs = ['BV1f94c6uEr3', …]), five BV ids went to the vendor as
{{SECRET_…}}, and the script the vendor's model wrote back could no
longer fetch them. A BV id (BV1 and nine base58 characters) is a public
video's id, not a secret.
Which finder took them: no rule. With Secrets and Personal on and every
kind on, the rules alone mask none of them (the "by the rules" checks in
TestPublicVideoIDGoesAsWritten). The local model did. Asked for real
(Privacy Filter and AstrLink Guard from mote's ~/evalcache) on the
reporter's script: Privacy Filter took all nine BV ids for secrets,
AstrLink Guard eight, and AstrLink Guard took av170001 for an account
number. That the screenshot shows five of nine is the model's score
around its threshold.
The class: a public video's id that the vendor's model needs as written
to look the video up. Now modelFits takes no span of any kind that is
- a BV id (^BV1[base58]{9}$) or an av number (av and up to 12 digits),
by its own shape;
- a YouTube video's, playlist's or channel's id (10 to 64 of base64url's
characters) only where its link is right before it: watch?v=, list=,
youtu.be/, /shorts/, /embed/, /live/, /channel/ on youtube.com,
youtube-nocookie.com or youtu.be. Eleven base64url characters alone may
be a key's piece, so no shape alone exempts one.
Nothing is keyed on a field's name. The rules are unchanged: a key in a
BV id's shape after its name (api_key=BV1…) is masked still. Numeric
public ids (a Douyin video's, an X status's) were already held back by
the model checks for bare digits (numberNamedSecret, accountCues).
Tests:
- TestPublicVideoIDGoesAsWritten (new): the reporter's nine BV ids in
the tool call's arguments as the screenshot shows them, a bilibili.com
video link, av170001, YouTube watch/youtu.be/shorts/embed/playlist/
channel links; none masked by the rules, nor as secret or
account_number from the model. Still masked: a 12-character secret
(Xq7vR2mK9pLs), BV1 with 0/O/I/l (not base58), a BV id with a 13th
character, a bare 11-character run, the same run after example.com's
watch?v=, a key after a YouTube link's &key=, and api_key=BV1VMnk68E9Q
by the rules.
- TestBVScriptToolCallKeepsIDs (new): the same through MaskJSON as an
OpenAI tool call's arguments.
- TestMaskEval: cases bilibili-bvids (the reporter's script) and
video-links, with both real models' recordings added (only these two
entries; the rest of the recordings were left as committed).
- Broken by hand: the publicID check taken out of modelFits.
TestPublicVideoIDGoesAsWritten FAILs with each of the nine BV ids
masked ('"BV1VMnk68E9Q" as secret: masked in "…'{{SECRET_ekl3f6pv}}'…"'),
av170001 as {{SECRET_…}} and {{ACCOUNT_…}}, the watch?v= id and the
playlist id; TestBVScriptToolCallKeepsIDs FAILs with all nine as
{{SECRET_…}}. Restored: both pass.
Run at 3f862a27c's tree (base
|
||
|
|
1248dc16c7 |
gateway: Gemini's own tools (Google Search, URL context, code execution) reach Gemini (daoche_wuzui on X)
daoche_wuzui (X, v0.1.4095): magpie's Gemini route ignored Gemini's built-in
tools. A generateContent body's googleSearch/urlContext/codeExecution were
dropped in parseGemini, so the model never searched and no
groundingMetadata came back.
- ir.Request carries GoogleTools. parseGemini keeps googleSearch (and
google_search_retrieval), urlContext and codeExecution; chat's tools
read them in both shapes ({"googleSearch":{}} and {"type":"url_context"}).
- buildCodeAssistSent, shared by Code Assist, AI Studio, Vertex and plugins
spoken to on Code Assist, sends them when no function is declared
(Google refuses built-ins beside functionDeclarations), Gemini models only.
- A plugin whose API is googleapis.com (Antigravity) now searches itself
for Anthropic web_search, like the built-in Gemini accounts.
- The Gemini reply carries groundingMetadata (chunks + webSearchQueries),
streamed and not; executableCode/codeExecutionResult parts are read
as text instead of being lost.
Run:
- mote-run at 3dc1f13ed (before rebasing onto 27 newer commits):
go test -tags nogui ./internal/gateway ./internal/provider ok (916s, 139s);
go vet both; GOOS=windows go vet ./... ok; GOOS=linux go vet -tags nogui
./... ok; gofmt -l clean.
- At 80f1e05a3 (the rebase after it only took agent, claude and davsync commits): go vet and GOOS=windows go vet of gateway and provider ok; go test -run "Gemini|CodeAssist|Search|Google|Antigravity|AIStudio|Vertex|Chat|Plugin" ./internal/gateway ok (83s); go test ./internal/provider ok (136s).
- Broken by hand, each red: googleToolsFor, googlePlugin, the reply's
grounding, the ranCode decode, chatGoogleTool.
- Real account, sandbox HOME (Antigravity plugin, gemini-3.8-flash-low),
the plugin patched in the sandbox to log what magpie sent it:
- generateContent with googleSearch+urlContext+codeExecution: the three
tools reached the plugin, the reply had groundingMetadata (3 chunks,
webSearchQueries).
- streamGenerateContent: groundingMetadata in the stream.
- /v1/chat/completions with {"googleSearch":{}},{"type":"url_context"}:
both reached the plugin, a grounded answer came back.
- /v1/messages web_search_20250305: googleSearch sent, the reply had
server_tool_use + web_search_tool_result.
Not tried: an AI Studio key or Vertex account (unit tests only); the
Gemini CLI account (Google refuses individual Code Assist now); real
code-execution parts (Antigravity's model wrote code as text); whether
Antigravity honours urlContext (a fetch gave the same stale page with and
without it). Anthropic web_fetch is not mapped to urlContext. The full
./... suite is queued behind six runs on mote's suite.lock and had not
run when this was pushed.
|
||
|
|
27c998aba0 |
usage: the tray panel's and Requests' costs follow each provider's currency
onkashiko on X: with Currency set to By provider, the menu bar panel still showed every cost in one currency; providers and models were not each in their own. drawLedColumns and drawLedRank (shared by the tray panel and the window's Requests tab) formatted every value with no provider, so fmtCost fell back to the Totals in currency. - usageapi.Ledger echoes the provider a page is filtered to (`provider`, omitempty). - app.js: ledProv(l, split, id) names the provider of a value: the ledger's filter, the row's provider (provider split), the provider part of a modelAt id, or for a model split the provider(s) that served it when they all share a currency. ledFormat/ledFormatLong take it, so the rank's values and sub-lines, the tooltip's rows and the axis (when one provider is picked) are in that provider's currency. Sums (the panel total, the tooltip total, a model served in two currencies) stay in the Totals in currency. - page.js: the Requests head and the cost head use the filter's provider; the heatmap tip too. Other fmtCost calls are sums or sessions with no provider and are unchanged. - core script budget +491 (1,269,040 -> 1,269,531): drawLedColumns and drawLedRank are drawn by the panel, so there is no lazy page to move this to; packed to the shortest form. - docs/subsystems/gui-shell.md says how By provider reaches the panel. Run: - At 065fb6a8b (rebased on |
||
|
|
c51b0ca9fa |
sessions: the Antigravity app connected to WSL has its usage read from the distro (@guyng35955 on X)
@guyng35955 on X: on Windows, with the Antigravity app connected to a
WSL Ubuntu, magpie showed no Antigravity usage.
Why. Antigravity 2.x (dist/wsl.js and languageServer.js in its
app.asar) runs a Linux language server in the distro when it is
connected to WSL ($HOME/.antigravity-server/bin/<version>/
language_server, started through wsl.exe with --app_data_dir
antigravity), so the conversations go to the distro's
~/.gemini/antigravity, not %USERPROFILE%\.gemini\antigravity. magpie
read Antigravity's conversations only from this computer's folder:
- sessions.wslAgents had no antigravity (nor agy, whose
~/.gemini/antigravity-cli in a distro wasn't read either);
- internal/agent kept a distro for the Sessions page only when one of
wslKinds or the Copilot CLI's folder was there, so a distro with only
the app's data never reached sessions.WSLHomes;
- and, found on the Windows box: no SQLite database under
\\wsl.localhost opens in place. Every form (file: URI, plain path,
mode=ro, provider.OpenReadOnly) answers SQLITE_BUSY after its 3s
busy_timeout, since the share doesn't take the locks a WAL database
needs. So listing the files alone would have shown nothing still.
What changed.
- agent: wslKept keeps a distro with ~/.gemini/antigravity(-insiders),
and the probe looks for them (no agent row for them).
- sessions: wslAgents reads the app's conversations (insiders under
their own key) and agy's in a distro; their summary rows name the
distro's folders as Linux does (agyFolder with goos "linux", so
/home/me/site, not a Windows path). The distro's calls count in
Calls (wslFiles("antigravity"), wslCallFiles("agy")). The listing
kept on disk (sessions-wsl.json) carries each file's row, rev and
read-only, so a stopped distro keeps its titles and folders. A
distro's ~/.gemini that is this computer's own (a link) is read once,
as this computer's (sameDir).
- sessions: openAppStore opens agy's and the app's databases read only
in place, or, under \\wsl.localhost or \\wsl$, as OpenUntouched does
(immutable with no -wal, else from a copy of the db and its -wal).
- docs/subsystems/agent-wiring.md says which distros are kept for reads
only.
Not changed: session-read consent ("allow selected" names agents found
on this computer) doesn't look in WSL, as before for every WSL agent.
OpenCode's and ZCode's SQLite readers aren't used for a distro (not in
wslAgents), so they keep provider.OpenReadOnly.
Run (at the tree rebased on dc85a7ca5; then rebased on
|
||
|
|
c8290df259 |
provider: Devin's Adaptive and Fusion picks are no longer served
The live gateway's /v1/models listed devin/Adaptive and devin/adaptive, and Devin answered both with 502 "no API providers are available". They came from magpie, not the plugin: the plugin's list (and its cached copy in plugin-providers.json) has neither, since parseFamilies and parseConfigFamilies skip Adaptive and Fusion. The owner's providers.json keeps "Adaptive" and "adaptive" in the devin entry's picks (models), saved when the built-in still listed Devin's router families, before |
||
|
|
74c94b5db0 |
gui: a picked accent tints the theme's grounds (CHENGJIAHEGOXIS on X)
CHENGJIAHEGOXIS asked, on 0.1.4112 and again on 0.1.4116 ("依然没变,是不是
出bug了"), for the dark theme to follow the colour they picked. v0.1.4114
(
|
||
|
|
b005d1a473 |
update: a fresh install of Stable's version stays on Stable (fishmagic80 on X)
The site now offers Stable's downloads, but the app's Update channel is Every version until changed, so a Stable install was offered the newest at its first check. Before that check, a fresh install (no version run before and magpie's folder new, from whatsNew.start) asks the feed for Stable's version and the newest; when it is Stable's and a newer one is out, settings take "updateChannel": "stable" (settings.TakeStable, under the file lock, keeping a channel already set). A feed that can't be read is unknown and asked again at the next check. A version that is both Stable's and the newest stays on Every version: its download can't be told apart. update.LatestStable never falls back to GitHub. docs/reference.md and the privacy pages (en, zh, ja, llms-full.txt) say a fresh install asks ?channel=stable once. Old installs: nothing changes for them. Until a release with this becomes Stable, a Stable download (0.1.3078 today) is still offered the newest unless Settings → Update channel is set to Stable. Run at 936c70756, on mote: gofmt -l internal/ clean; go vet (darwin), GOOS=linux and GOOS=windows go vet of internal/gui, update, settings ok; go test -count=1 ./internal/update ./internal/settings ./internal/gui ok (gui 99.9s). TestFreshStableInstallStaysOnStable goes red (2 subtests) with the takeStable call removed (broken by hand, on mica). llms-full.txt regenerated and current. Not run: the full go test ./... (mote and mica each had several suites queued on the lock); not tried with a real Stable install. |
||
|
|
7b002b6be8 |
library: an MCP command's %USERPROFILE%, $USERPROFILE and ~\ are the home on every system (0xBCD18E on X)
0xBCD18E's Library server ran
"%USERPROFILE%\AppData\Local\Programs\Pinky\pinky.exe", and the check
said it couldn't find "%USERPROFILE%\A…": magpie read $NAME, ${NAME}
and ~ in a command but not cmd.exe's %NAME%, so the only way to share
one server across computers with different user names was a per-device
command.
Now HOME and USERPROFILE are both the home, on every system, as $NAME,
${NAME} or %NAME% (either case), and a leading ~ or ~\ too:
- library.json (and so sync and backups) keeps them as written;
- an agent that reads references in a command (Claude Code, CodeBuddy,
WorkBuddy, Grok, Gemini, omp/Qoder/AtomCode, OpenCode, Cursor) is
given the home's own variable where it runs: ${USERPROFILE} on
Windows, where an agent seldom has HOME, ${HOME} on a Mac, Linux and
in WSL, where nothing has USERPROFILE. Before this, $HOME went to
Claude Code on Windows as ${HOME}, which it usually hasn't;
- every other agent (Codex, Kiro, Droid, Copilot, Crush, Goose, Pi, ...)
and magpie's own start (the check, the router, Codex through the
gateway) get the home's path;
- any other %NAME% (%APPDATA%) is a variable on Windows only, and is
left as written elsewhere, so 100% or %Y% in an arg stays as it is;
- a command's environment: a leading ~ and %USERPROFILE% / %HOME% in a
value are put in as the home for every agent and for magpie's start
(homeEnv); ${NAME} there stays envref's.
No cwd: a Library server has none.
Tests: TestCmdVarsUserProfile forces cmdOS to windows, darwin and linux
for Codex, Claude, Cursor, OpenCode and Claude in WSL, command, args
and env; TestCmdVarsUserProfileLaunch starts a real server by
%USERPROFILE%<sep>prog, %HOME%/prog and $USERPROFILE/prog.
TestCmdVarsPerAgent pins the Unix variable; TestCmdVarsSync expects
${USERPROFILE} in .claude.json on Windows.
Run: the red was checked on origin/main e0889719c's cmdvars.go,
mcp_check.go and mcp_run.go with these tests: all 8 subtests of
TestCmdVarsUserProfile and TestCmdVarsUserProfileLaunch FAIL; with the
change, ok on mote (darwin), on xiaomi-gpu (Windows 11, win-run: the
real check starts the server by %USERPROFILE%\prog, and Claude Code's
.claude.json gets ${USERPROFILE}/bin/x) and in WSL magpie-desktop
(wsl-run). Full suite at b84b6dc3c (this change on
|
||
|
|
90932ed1fa |
gateway: Claude Code's model discovery is shown every model by an id it keeps
Claude Code's Gateway Model Discovery (CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY)
puts in /model only the ids matching /(claude|anthropic)/i: Tvi in the
2.1.316 bundle, te.data.data.filter((se)=>/(claude|anthropic)/i.test(se.id)),
on GET <ANTHROPIC_BASE_URL>/v1/models?limit=1000 with User-Agent
claude-code/<version> (Xs(), not claude-cli/) and anthropic-version:
2023-06-01. A remote magpie's Kimi, GLM and DeepSeek never showed (zent00
on X, tweet 2121440002244747428).
That request alone (claudeCodeDiscovers: the User-Agent and the header,
never another magpie) is now shown a chat model whose id says neither by
Claude Desktop's alias anthropic/magpie-<n> (aliasFor), which unprefixed
already serves as the model for every client, before any provider's
model of that spelling; no Claude id is spelled so. Its display_name is
the agents' list name, which /model shows. Ids Claude Code keeps, names a
gateway key gives models, and every other client's list are unchanged; a
bare-id row it wouldn't keep is left out (its full id's row is there).
"anthropic/<magpie id>" was not used: a provider named anthropic (the
Anthropic preset's id) serves any model asked by that spelling. Zero
config, so no switch.
Run:
- TestClaudeCodeDiscoveryKeepsEveryModel, on mote: red on the old
gateway.go ("not shown anthropic/magpie-9301644634 for auto/kimi-k3"),
green with the change; with the anthropic-version check broken by hand
it fails on the claude-cli/ client. TestCindyDiscovery and the Desktop
tests green.
- Real Claude Code 2.1.316 binary on mote, sandbox HOME, against the
gateway with a fake Anthropic upstream: its cache gateway-models.json
held {"id":"anthropic/magpie-4484984192","display_name":"DeepSeek V4 ·
DeepSeek"}; `claude -p --model anthropic/magpie-4484984192` answered
PONG and the upstream was asked model deepseek-v4. Claude Code warns it
assumes a 200k window for an id it doesn't know, as for any non-Claude
id.
- gofmt -l: clean. Package vets/builds and go test ./internal/gateway
started on mote; the full suite (go vet, GOOS=linux/windows vet,
builds, go test -tags nogui -timeout 45m ./...) is queued under
mote's suite.lock and runs after the push, per the ship-at-once rule;
its reds get their own commits.
Not tried: interactive /model screen (the rows come from that cache
file), a real remote magpie over LAN with a gateway key.
|
||
|
|
c5b40bf898 |
claude-desktop: after Use Claude Magpie the lit row is Claude Magpie, and its Code tab's row says it is on magpie (xMopf7RF on X)
xMopf7RF on X, 0.1.4111: clicking Use Claude Magpie seemed to connect their own Claude Desktop, and left "Claude Code · Claude Magpie" saying "Not connected · uses its own settings" with its switch off. The wiring was right: with the Separate app on, connecting claude-desktop writes only Claude-Magpie-3p's config (desktopSets), and the user's own Desktop is left alone. The page said otherwise twice: - the row that turned on was still named Claude Desktop. While the Separate app is on, state() now names the claude-desktop row Claude Magpie (desktopiso.Name), since that is the only config it wires. - the claude#magpie-desktop row is not wired itself, and need not be: Desktop's Code tab runs Claude Code with CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST, so its requests go through Claude Magpie whatever that folder's settings.json says. While Claude Magpie is on magpie, the row carries twinCode (agent.DesktopTwinCode) and its line, lit, says "On magpie through Claude Magpie" (en, zh, zh-TW, ja, de). The core script budget goes up 67 for that one connectLine line, cut to the shortest words that say it; the Agents rows draw it, so there is no page to move it to. docs/subsystems/agent-wiring.md says both. Tests: - TestClaudeMagpieCodeTabRowIsOnThroughIt (agent): DesktopTwinCode only for claude#magpie-desktop, only while Claude Magpie is on magpie. - TestClaudeMagpieRowsAfterUseClaudeMagpie (gui): sandbox HOME, POST connect after turning the Separate app on: the wired row is named Claude Magpie, the Code tab row has twinCode, the user's own Desktop config is unchanged and no Claude-3p folder is made. - desktop-twin-code.test.cjs: clicks Use Claude Magpie; no lit row is named Claude Desktop, the Code tab row's line is lit and fits, the click doesn't scroll; en/zh/zh-TW/ja/de, 1100 and 640 wide, Chromium and WebKit. Run (mica; mote's load was over its cores), at |
||
|
|
b325718f0a |
antigravity: turned-away lines go reworded, not broken up; Antigravity min 0.1.12 (#1118)
Since 11-14 Google's check reads past invisible characters. A system prompt with Claude Code's billing line and Agent SDK line, broken up with two U+200B in every word as the cloak sent them, was turned away 5 of 5 with the bare 429 "Resource has been exhausted". Claude Desktop's Code tab through magpie to Antigravity failed every turn (hc295971796 on X, tweet 2121429628019781849), and on v0.1.4110 with the Antigravity Cloak plugin Antigravity hit 429 very often (daoche_wuzui, tweet 2121432333769433178). The built-in cloak (codeassist.go) now rewords each line Google turns away, in plain words: - the x-anthropic-billing-header line is left out to its line's end; a system part or message holding only it is dropped; - "built on Anthropic's Claude Agent SDK" -> "built on the Claude Agent SDK by Anthropic"; - Codex's "based on GPT-5" -> "built on GPT-5"; - Hermes' "created by Nous Research" -> "built by Nous Research"; - omp's RFC "keywords" -> "key words". A copy an older magpie or middleware broke up (U+200B, U+2060, soft hyphen, inside or between words) is matched and reworded as the line. The Code tab's main line passes as written and is kept. The plugins repo's packages carry the same rewording (plugins 5bb41941: opencode-antigravity-auth 0.1.12, opencode-agy-cli-auth 0.1.41, middleware-antigravity-cloak 0.1.7 on the dist branch). The Antigravity mover's min goes to 0.1.12, the version dist has (these packages are not on npm); the cloak middleware is Official and updates itself. Run: - real Antigravity account, sandbox HOME, gemini-3.8-flash, 10 sequential requests each through the new plugin: Code tab main prompt as Claude Desktop sends it 10/10 200, Agent SDK subagent line 10/10, an old two-U+200B copy 10/10, Codex GPT-5 10/10, Hermes' earlier persona 10/10, omp's RFC line 10/10. The zero-width break went 0/5. - mote-run: gofmt -l; go vet, GOOS=linux go vet -tags nogui and GOOS=windows go vet of internal/gateway, provider, cli; go test -count=1 -timeout 45m ./internal/gateway/ ./internal/provider/ ./internal/cli/ ./internal/middleware/: all ok (gateway 926s); vet clean, gofmt clean. Broken by hand: codeassist.go from origin/main with these tests: 6 fail (TestAntigravityCloakClaudeCode2316, ...RewordsEveryLineItTurnsAway, ...AnswersHermesAndCodexByDefault, TestOnlyAntigravityIsSentThePrompt Reworded, ...LineWrappedOrWidened, ...TurnsCodexsGPT5ThreadAwayOnce). Not tried: models other than gemini-3.8-flash; the whole go test ./... (only the four packages this touches); Claude Desktop itself (its Code tab's system prompt was captured and replayed instead). |
||
|
|
71a806749d |
sessions: a paginated Codex rollout moves to a longer provider id by its row (@xMopf7RF on X)
@xMopf7RF on X (tweet 2121441393424113800): the Sessions page's Move refused an old Codex session with "rollout-2026-03-09T09-25-….jsonl.zst keeps its history by byte, and "magpie" is longer than the provider it names: Codex couldn't open it moved", and offered nothing else. Since |
||
|
|
e0889719c8 |
gateway: a Responses WebSocket turn streams without the HTTP stream field (#5291)
OpenAI's WebSocket mode doesn't use the HTTP stream field: a
response.create leaves it out and is streamed all the same. magpie made
each frame into the HTTP body its route would have had and kept the
field as the frame said it, so a client that left it out (M4n5ter on X,
AnacondaKC's Niko in #5291) got the provider's reply unstreamed and
every frame of it at the end. Codex sends stream:true itself, so it
never showed there.
turn now sets stream:true on every generating turn, whatever the frame
says (left out or false). It is the one place the three socket routes
(/v1/responses, /responses and Codex's backend route) make their body,
so all three are covered; a warmup (generate false) still answers
locally before it, and HTTP POSTs are unchanged.
Ported from AnacondaKC's patch in #5291 (62e3fd1ad), with these
differences: the test runs on /v1/responses and /responses, with stream
left out and with stream:false, checks the body sent upstream, and
TestCodexSocketStreamsWithoutStreamField covers Codex's route.
Tests: TestResponsesSocketStreamsWithoutStreamField and
TestCodexSocketStreamsWithoutStreamField, both red with responses_ws.go
at origin/main
|
||
|
|
8ed2ae030c |
claudetui: an image goes into the interactive mode on Windows 10 as a long paste, not -p (ok123now on X, #5061)
ok123now (magpie v0.1.3901, Windows 10 LTSC 21H2, Claude Code 2.1.316,
Claude Desktop): text worked, one 64x64 PNG was a 502 every try, and the
client asked again without end.
Cause: the helper pastes an image as its file's path in bracketed-paste
marks. Windows 10's conhost (10.0.19041) drops the marks on the way in
(the reporter's lead; #5061 and #5205 measured it on 19044 and 19045),
so Claude Code got the path as typed words, the helper waited out
pasteWait and exited 1, and the gateway answered 502.
Fix:
- claudetui: Claude Code reads its console as VT input (mode 0x208, read
from a real claude.exe 2.1.316) and takes one read of over 800
characters as a paste with or without the marks ($X=800 in 2.1.316,
q6=800 in 2.1.281), a path with spaces after it as the image alone. On
Windows the path is sent padded with spaces to 900 characters, no
marks: over 800, and under the 1024-byte blocks the same conhost loses
of a longer write (#5205). Elsewhere it stays bracketed.
- If the interactive mode still doesn't take a message (an image, or a
block it can't paste), the helper ends the turn with an error result
beginning claudetui.Unpastable instead of exiting, the gateway asks it
once as claude -p with the image itself, and remembers that for 12
hours. A redo that can't run is a 400, not a 502, so no client loops.
- The reporter asked to keep images interactive: -p counts at about
twice the plan quota and has none of the interactive run's cache. The
-p reason (Routing chip, all four locales, and the log line) says so.
Run, at this head (rebased on
|
||
|
|
925bc7188b |
usage: the Requests card's up arrow opens what the bytes sent upstream were made of
theforeveriris (X, 2121408745616162998) saw 8169 requests send 8.6 GB up and 1.0 GB down and wanted to know why. About 1 MB a request is normal: every request sends the whole conversation again, with the system prompt and the tools' definitions. This shows it. Gateway: promptOf, which already parses the body off the request path, now also counts the bytes of the system prompt, the tool definitions and images in the body it read. upParts scales those to the wire bytes and puts them on Record.UpParts. Nothing new runs on the request path, and a body that isn't parsed stays "Not measured". Usage: a packed row keeps the mix in 255ths under flag rowUpParts (32768); the row stays 152 bytes. Totals gain up_calls, up_measured, up_system, up_tools and up_images, and Shares carry up_bytes and up_calls by agent and by model. settledCountVersion goes 4 -> 5, so settled days are counted again once on the next start. GUI (Usage -> Requests): the "↑ 8.6 GB" on the Requests card is a button that opens a "Sent upstream" card: the average per request, one sentence on why, a bar and legend for Conversation / Tool definitions / System prompt / Images / Not measured, and the top 8 agents and models with bytes sent and per request. The open state is kept; × closes it. A request's details get a "Made of" line. zh, zh-TW, ja, de strings. Entrance is 200ms ease-out, no movement under reduced motion. Run (mote, at this head on |
||
|
|
ed63a5be5e |
gui: a picked accent colours what is chosen (CHENGJIAHEGOXIS on X)
「选中任意强调色没反应」: picking an accent in Settings › General seemed
to do nothing. The token did apply. With the real server, in Chromium
and WebKit, under light, dark and system, with and without a background
image, --accent was set by lookCSS and kept. Neither the theme nor the
wallpaper overrode it. But nothing on Settings, the sidebar, the header
tabs or the panel's tabs used --accent: every chosen option is graphite,
var(--fg), by design. So the colour only showed in a few buttons
elsewhere.
The fix is a --mark token, the ink of what is chosen.
- It is var(--fg) by default, so magpie's own look is unchanged, like a
Mac's Graphite.
- accentVars sets it once the user picks an accent. It is moved toward
black (light) or white (dark) until it reads at 4.5:1 on the surfaces a
chosen option sits on: --pill-hover #e9e9ee, and the dark switch thumb
#4c4c52.
- It is used by .seg/.opt/.ptabs/.warm-tabs/.am-seg/.klf-tab/.day-chip/
.apptab .on, the header nav's chosen tab, the side-nav's open-page icon
and Settings icon, and Library's switches and radios. Each is the same
"chosen" role, so all of them follow the accent, not just one.
Tests:
- appearance_test.go's TestAccentReadable checks --mark's contrast on
each surface, in both themes.
- appearance-look.test.cjs adds 8 tests, in Chromium and WebKit, light
and dark:
- Settings' theme and bird options and the side-nav icon at 1200 with a
wallpaper set: graphite by default, the mark for #0d9488 and #db2777,
and back to graphite on Default.
- The header tabs at 900 and the panel's tabs at 380.
Run:
- gofmt clean. go vet ok on darwin, GOOS=linux -tags nogui and
GOOS=windows (at 75bdc85fe, the same change on an older main).
- At 6f5549b1f (this change on
|