Mercury CLI

Notes

Mercury CLI goes open source

· by @dubsthedev · 1.0.0-beta.44

Mercury CLI is a coding agent that runs in your terminal. From this release it is open source under the Apache License 2.0. Until now you could read the code but not freely use, change or ship it; now you can, at work too. The licence covers the CLI, its release archives, the VS Code extension and the TypeScript and Python SDKs.

Mercury connects 22 model providers. Melious AI and OrcaRouter are new. Moonshot's Kimi K3.1 Pro and K3.1 Pro Highspeed are in, with low, high and max effort. Prices and context windows were refreshed across the board, so /usage shows what providers charge today. With no provider signed in, every screen says "choose a model" and points you to /logins, /llmhost or /localsetup.

Renting a GPU with /llmhost: when the machine is ready the chat switches to it, and terminating the rental switches you back. The machine's screen shows the setup step, elapsed time, hourly rate and spend so far; /usage shows the rental's cost. A warning line in the engine's log is no longer taken for a crash, nothing in Mercury terminates a rental on its own, and a failed placement says no machine was created and nothing bills.

In the terminal: Arabic and other right-to-left text renders properly in macOS Terminal.app. "Continue last session" no longer gets stuck. The daemon's degraded warning clears when the chat that caused it closes. Esc in /config undoes only that dialog's changes. Startup is a little faster: the bundle went from 25.8 MB to 22.0 MB because a compiler was packed twice.

On Windows, stopping a background process reports the right exit code, curly quotes in session titles no longer break PowerShell, .bat and .cmd files resolve, and paths are not mangled.

ChangeSet takes exact-string edits and can delete and move files. A failed Edit says which lines it nearly matched, or that the change is already in place. Read recognises images by their bytes. Bash can run a command in another folder. A run that hits its turn limit still gives a final answer, a reply stuck repeating itself is cut and retried, and broken tool-call JSON is repaired. Browser logins keep secrets in the macOS Keychain and mint one-time codes only for the site they belong to. Hooks can match actions the way permission rules do, and can fail closed.

102 commits since 1.0.0-beta.43, 1,245 files changed. Most of it is hardening: three review passes over the whole tree, four hosted test runs, a Windows laptop test loop.

Next is a release candidate, then the 1.0 call.

You can see the full release notes here: https://github.com/Whq02/MercuryCLI/releases/tag/v1.0.0-beta.44