Repository navigation
Mercury v1.1.2
Provenance: every archive manifest is signed with the Mercury release key (mercury health shows the verdict; docs/TRUST.md says how to check).
Mercury 1.1.2
- Added a model selector for Mercury sessions in editors that speak ACP: session/new and session/load offer the models the session's own runner can run, as /model lists them, and session/set_config_option changes the model from the next request. integrations/acp/README.md also describes running Mercury over ACP with nobody present. The runner's wire and the SDKs' generated types gain three optional members for it: capabilities.models on initialize, and model and models on its answer.
- Changed Computer screenshots of the whole display (full: true) and of the front window to be taken at one pixel per point unless scale says otherwise. On a 1× display the front window is now taken at every pixel, where it was at half scale; on a 2× display the whole display is now taken at half scale, where it was at every pixel. A picture is made smaller only when the model's route requires it.
- Changed Computer references (ref) to outlive later reads of the same window: a reference from an earlier tree or find acts while every title and value of the window reads as it did at that read, and one from the latest read acts while the tree still holds its element at that place, and is refused when both that element's own text and the text around it have changed. A refused reference asks for a fresh read.
- Changed the capture that follows a Computer act, a wait, a focusApp or a sequence to keep the frame and scale of the last screenshot (the whole display, a display by its index, or the front window), so coordinates read from that picture still apply. A plain screenshot returns to the front window, and full: false does so for one capture.
- Changed a Computer region screenshot to be measured in the last screenshot that was not itself a region, so several zooms of one picture need no picture between them; each zoom's line gives the size of the picture it was cut from.
- Changed how the Computer tool asks a browser, or an application built on a web engine, for its page content: at the first read of its tree, and once more when a read six seconds later still finds no page. On macOS, Chrome was asked again at every read and kept its page back while it was being asked; a wait for something on a Chrome page is now met when the page arrives, and the first read says the page is still starting and how to wait for it.
- Changed Computer sequences so the pause that yields to your own typing no longer counts a key that one of the sequence's own key steps sent: the step after a shortcut such as cmd+t follows without that pause.
- Changed the Computer tool to accept the call shapes models send most: find takes text, role and name directly; a read sent on its own that is given a parameter it does not use runs and names it on the last line of its answer; a scroll with no point scrolls at the centre of the last screenshot and says the pixel and the point.
- Changed Computer tree walks, fields, and find (when no depth is given) to read up to depth 128 instead of stopping at depth 32 (and 12 kept levels for find), and raised macOS element lookups to depth 128 and 12,000 rows so deeply nested web apps expose their controls and accept direct acts.
- Changed Computer acts by name (click, fill, and others) on heavy windows whose first 2,000-row read is cut to be read once more, up to 12,000 rows, and acted on when the target is unique; a fill settled by that second read types by keystrokes.
- Changed multi-tool messages containing a Computer call so that when a Computer call fails, later calls in the same message that have not started are skipped and answered with an error pointing at the failed call instead of running on stale screen state.
- Changed ChatGPT-subscription requests to carry a session id, and GPT-6.2 on an API key to send its reusable system text as a developer message, so the later requests of a conversation can read the provider's prompt cache. Requests sent to a base URL that is not OpenAI's own keep their earlier form.
- Changed Gemini turns to batch-retire older desktop screenshots under Gemini's 20 MiB request ceiling instead of trimming one image per turn, keep a stable per-conversation request envelope on Google sign-in, refresh the model roster and retry usage in the background without stalling turns, and judge cache warmth by the conversation's own last reply on non-Anthropic providers so resumed sessions do not unnecessarily rewrite cached prefixes.
- Changed exact-string Edit on an unread local file to land in one call when its old_string occurs exactly once, no other live session of the project is open, and Read on that file would run unasked and unhooked, while preserving full permission, hook, and read-first checks on guarded, remote (ssh://), and Windows network-share files.
- Changed read-only declare, typeset, and alias printing and function-listing forms in the Bash tool to pass the shell safety ask while definitions and attribute mutations still ask.
- Changed the Browser tool's own tabs: a tab that another tab covers keeps painting, so extract and waitFor finish on it where it stands; open waits for a redirect the page makes as it loads, and a text extract with no selector waits for a body that arrives late and names the address it read.
- Changed the Browser tool to shorten the data: address of a download, a pop-up, a navigation note or a request line after its first comma (data:text/markdown;charset=utf-8,… [30000 chars]), so a download made from one no longer fills the answer.
- Changed mercury update, mercury update --check and mercury update --status on a full-release install to read the repository's latest-release page first, a request that does not count against GitHub's anonymous API allowance: a check of an install that is already current spends none of it. The release list is read when a newer release exists, and when that page gives no answer within five seconds. The once-a-day update notice in an open window makes the same request.
- Changed every sentence that called the board "concourse" to "Session Manager": on the home screen, in Boot Menu, /config, /keys, /help and the board's own ? pop-up, and in the README and the docs, apart from earlier releases' pages. Short hints read sessions (⇧→ sessions, o sessions). The /concourse command, the --concourse-on and --concourse-off flags and MERCURY_CONCOURSE keep their spelling.
- Changed the thinking line to draw its verb from about 4,800 lines instead of 700, most of them chosen to fit what the turn is doing when the verb is drawn (thinking; after a read, an edit, a shell command, a web fetch or a crew call; a long turn). The verb changes as often as before, once every fifteen seconds.
- Changed Mercury to find ruff in the project's own Python environment when PATH has none; /lsp names where it was found, and the line that says no ruff was found names both places.
- Changed Read(outline: true) given no offset or limit to reach the outline's own bounds (20,000 lines, 2 MB), where it stopped at line 2,000 and refused a file over 256 KB. An outline longer than the answer's cap comes back in windows that each end on a whole row and name the Read(outline: true, offset, limit) call that continues them.
- Changed AstSearch so the lines it prints whole count as read, as Grep's do: an Edit of those lines needs no Read first. A line it printed in part does not count.
- Changed mercury --resume, mercury run --resume, /sessions and /resume to take the first eight or more characters of a session id when they begin exactly one session's id, and the session chooser's search to list the sessions whose id begins with such a word.
- Changed a crewmate that can write files but has no Bash tool to be told the new diagnostics its edits produce.
- Changed the Bash tool on Windows to carry what ~/.bash_profile, ~/.bash_login or ~/.profile define when there is no ~/.bashrc.
- Changed mercury install --uninstall to remove its own marker file as well, and on Windows, when the versions folder holds files of your own, to say that they are left as found.
- Changed the launcher card Mercury shows when it runs inline (MERCURY_FULLSCREEN=0) to count sessions as the home screen does: Continue Last Session is listed exactly where the home screen lists it.
- Changed the first-run sign-in card's intro to say how many other providers are listed below instead of naming each, so the whole list fits a 120×40 window.
- Changed a new profile to start with the permission mode the first profile has saved: the Boot Menu's Sovereign mode row and the default permission mode of /config. From then on each profile keeps its own.
- Changed the right rail's usage card on a Google sign-in session to show quota meters for the session's Gemini model and any other Gemini model used this session, matching /usage, and to refresh them during active turns up to once a minute without polling at rest.
- Fixed pixel clicks on Claude models landing short of their target after a full-display screenshot: a picture a tool returns is fitted to the size the model's tier reads before it is sent, so the coordinates the model answers with match the picture Mercury measured.
- Fixed the row of a Computer click, doubleClick, rightClick, move, drag or scroll given a reference reading (undefined, undefined): it names the reference (click ref 58).
- Fixed Computer file on macOS typing into in-page menus or Save panels and stopping before Open on real file dialogs: it now waits for a native Open panel before sending any key, refuses a panel focused on a text field, and sends the confirming Enter once the Go-to-Folder sheet has closed.
- Fixed Computer type on macOS with "Add period with double-space" on: in Chrome a typed space could become a period with the words around it joined, and in a native text field two typed spaces became a period. A typed text now arrives as written.
- Fixed a session branched from /rewind writing its new turns into the session it was branched from when it was resumed by its file or opened from Session Manager. A branch now resumes as itself, keeps code rewind working from its own saved files, and starts on its parent's model, mode and title. mercury run -c continues the conversation last used, not a branch made from it and never opened.
- Fixed a crewmate's view showing the lead's status row. It shows that crewmate's own: Working… with its clock and tokens while it works, and Done, Stopped, Failed or Interrupted with the same two numbers once it has ended.
- Fixed the first second of a turn's status row: the thinking verb no longer shows for a moment, disappears and returns as another with its clock restarted. The first verb stays and its clock counts from Enter, and a turn sent after five idle minutes no longer opens with the no stream events … the session may be stuck warning.
- Fixed the kept answer after a compaction standing without the prompt it answered, and a command kept across a compaction being lifted above the summary card: the prompt is shown above its answer, and the command stays where it was typed.
- Fixed a command's answer in a chat dropping text in angle brackets and mangling names such as a Python cache folder's name with doubled underscores or wildcard globs: a plain answer is printed as written, and /update-notes shows every angle-bracketed part of a note. An answer its command writes in Markdown, such as /context's, is painted as Markdown as before. A bare web address in an answer is a link.
- Fixed Browser calls giving no answer on a tab whose page navigates away and never arrives: open, extract, reload, scroll, type and waitFor each answer at their own timeoutMs, and info after about a second. open and reload, and an extract, scroll, type or waitFor that names no element, say where the page was going. A waitFor given neither a selector nor text waits for a navigation still under way and says where it landed.
- Fixed the Browser tool's open answering as succeeded when the browser showed its own error page (a server's error status sent with no page body, or a page that sends the browser on to an address that does not answer): the call fails and names the status or the error.
- Fixed the Browser tool's reload and back saying the server is down or refusing connections for every browser error page, a certificate error included: they say it only where no connection was made.
- Fixed the Browser tool's scroll answering with the page's old position on a page that scrolls smoothly, so the next extract missed what the scroll had revealed: the call answers once the page has come to rest, within three seconds, and says where it stands.
- Fixed the Session Manager's mirror of a chat counting a turn's tools twice when a compaction folded half of that turn.
- Fixed the wordmark dropping a row between the splash and the home screen in an 80-column window.
- Fixed mercury update --status on a current full-release install reporting the channel as rate-limited when only GitHub's anonymous API allowance was used up.
- Fixed a Read of one blank line (offset, limit: 1) in a file that has content answering that the file has empty contents: it answers the line's numbered row.
- Fixed a written file skipping Mercury's own syntax check when its language server was registered but not running.
- Fixed a bold label that holds an italic ending in punctuation, such as an italic note before the label's colon, being drawn with its literal asterisks instead of in bold.
- Fixed the details panel of the compact layout showing a repository as clean while files were changed and uncommitted: the panel reads the repository when it opens and when the session's file counters move.