Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
release: number it 1.3.1 — Steady Mercury (was 1.4.0)
Salman Qureshibfa6b634f263
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f310c9a3..91002336 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,6 +1,6 @@# Changelog-## 1.4.0 — Steady Mercury+## 1.3.1 — Steady MercuryThe release where Mercury stays out of your way. One process runs the fleet and your channels; the terminal just attaches to it — instantly. Bots do real work, deliver files you can find, stay online without burning tokens, and can be run from a phone. The 1.3.1 "Honest Mercury" line (chat that answers, "done" that means verified, security fixes) was never published on its own and ships here.@@ -87,7 +87,7 @@ Mercury's terminal renderer moves from a heavily patched ink 5.2.1 to ink 8.0.0,- **Smaller patch** — four Mercury hunks remain (Static `itemKey`, freeze gate, live-region guard, cursor anchor); the rest are upstream. See `docs/ink-patch.md` and ADR-019.- React 19.3.-### Honest Mercury — the 1.3.1 line (never published; folded into 1.4.0)+### Honest Mercury — the earlier 1.3.1 work (never published separately)The release where Mercury stops pretending. Chat answers instead of forcing tool rounds, "done" means a check actually passed, every channel shows the same evidence, and the terminal UI takes paste, Esc and IME like a real editor. Built from a full audit (`ROADMAP.md`); every change below is covered by tests, including a replay eval harness that drives the real agent loop.diff --git a/README.md b/README.mdindex 99f65e89..e95db629 100644--- a/README.md+++ b/README.md@@ -21,7 +21,7 @@</p><p align="center">- <strong>🔖 Current Stable: v1.4.0 — Steady Mercury</strong>+ <strong>🔖 Current Stable: v1.3.1 — Steady Mercury</strong></p><p align="center">@@ -44,7 +44,7 @@ curl -fsSL https://mercuryagent.sh/install.sh | shirm https://mercuryagent.sh/install.ps1 | iex```-Or via npm if you already have **Node.js 22+** (required since 1.4.0 — binaries carry their own runtime):+Or via npm if you already have **Node.js 22+** (required since 1.3.1 — binaries carry their own runtime):```bashnpx @cosmicstack/mercury-agent@@ -434,7 +434,7 @@ Output is **versioned** so older builds are never overwritten:```release/├── latest → symlink to most-recent version-├── v1.4.0/+├── v1.3.1/│ ├── mercury-macos-arm64│ ├── mercury-macos-x64│ ├── mercury-linux-x64diff --git a/package-lock.json b/package-lock.jsonindex c8c6f0d2..9a2c2465 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.4.0",+ "version": "1.3.1","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "@cosmicstack/mercury-agent",- "version": "1.4.0",+ "version": "1.3.1","license": "MIT","dependencies": {"@ai-sdk/anthropic": "^3.0.71",diff --git a/package.json b/package.jsonindex e9537718..c133d0f1 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.4.0",+ "version": "1.3.1","description": "Soul-driven AI agent with Second Brain memory, permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI or Telegram.","type": "module","main": "dist/index.js",diff --git a/website/docs/getting-started/platforms/termux.mdx b/website/docs/getting-started/platforms/termux.mdxindex 65d8e1c2..0aa7f90d 100644--- a/website/docs/getting-started/platforms/termux.mdx+++ b/website/docs/getting-started/platforms/termux.mdx@@ -26,7 +26,7 @@ npm i -g @cosmicstack/mercury-agentmercury```-`nodejs-lts` provides Node 22+ (required since 1.4.0) and npm. Python, Make, Clang, and pkg-config are required when npm needs to build native dependencies such as `better-sqlite3` for Android's bionic libc. Do not use Mercury's standalone Linux binary on Termux.+`nodejs-lts` provides Node 22+ (required since 1.3.1) and npm. Python, Make, Clang, and pkg-config are required when npm needs to build native dependencies such as `better-sqlite3` for Android's bionic libc. Do not use Mercury's standalone Linux binary on Termux.### Storage access (optional but recommended)diff --git a/website/docs/getting-started/platforms/windows.mdx b/website/docs/getting-started/platforms/windows.mdxindex dc770bb0..8e725f2d 100644--- a/website/docs/getting-started/platforms/windows.mdx+++ b/website/docs/getting-started/platforms/windows.mdx@@ -40,7 +40,7 @@ npm i -g @cosmicstack/mercury-agentmercury```-Requires **Node.js 22+** (since 1.4.0). Install from [nodejs.org](https://nodejs.org) or via [`winget install OpenJS.NodeJS.LTS`](https://winget.run/pkg/OpenJS/NodeJS.LTS).+Requires **Node.js 22+** (since 1.3.1). Install from [nodejs.org](https://nodejs.org) or via [`winget install OpenJS.NodeJS.LTS`](https://winget.run/pkg/OpenJS/NodeJS.LTS).## Pinning a versiondiff --git a/website/docs/releases/1.4.0.mdx b/website/docs/releases/1.3.1.mdxsimilarity index 91%rename from website/docs/releases/1.4.0.mdxrename to website/docs/releases/1.3.1.mdxindex 2482afd8..cbe4caee 100644--- a/website/docs/releases/1.4.0.mdx+++ b/website/docs/releases/1.3.1.mdx@@ -1,30 +1,30 @@----title: "v1.4.0 — Steady Mercury"-sidebar_label: "v1.4.0"+title: "v1.3.1 — Steady Mercury"+sidebar_label: "v1.3.1"description: "One process runs the fleet and your channels; the terminal attaches to it instantly. Bots do real work, deliver files you can find, stay online without burning tokens, and run from your phone. Node 22, patched Ink 8, and the whole unpublished 1.3.1 line."-keywords: [mercury, mercury-agent, release, 1.4.0, bots, fleet, telegram, node 22, ink, attach, daemon]+keywords: [mercury, mercury-agent, release, 1.3.1, bots, fleet, telegram, node 22, ink, attach, daemon]---import Head from '@docusaurus/Head';<Head>- <meta property="og:title" content="Mercury Agent v1.4.0 — Steady Mercury" />+ <meta property="og:title" content="Mercury Agent v1.3.1 — Steady Mercury" /><meta property="og:description" content="One runtime · Instant attach · Bots that do work and stay online · Fleets with typed tasks · Telegram control · Node 22 + patched Ink 8" /><meta property="og:type" content="article" />- <meta property="og:url" content="https://mercuryagent.sh/docs/releases/1.4.0" />+ <meta property="og:url" content="https://mercuryagent.sh/docs/releases/1.3.1" /><meta property="og:site_name" content="Mercury Agent — Soul-driven" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@mercuryagent" />- <meta name="twitter:title" content="Mercury Agent v1.4.0 — Steady Mercury" />+ <meta name="twitter:title" content="Mercury Agent v1.3.1 — Steady Mercury" /><meta name="twitter:description" content="One runtime · Instant attach · Bots that do work and stay online · Fleets with typed tasks · Telegram control · Node 22 + patched Ink 8" />- <link rel="canonical" href="https://mercuryagent.sh/docs/releases/1.4.0" />+ <link rel="canonical" href="https://mercuryagent.sh/docs/releases/1.3.1" /></Head>-# v1.4.0 — Steady Mercury+# v1.3.1 — Steady Mercury> **The release where Mercury stays out of your way.**-`1.4.0` is about the shape of the thing: **one process** runs your bots and your channels, and the terminal is a window onto it — open in under a second, closed without consequence. Bots now **do work** instead of writing notes about work, **deliver files** where you can find them, **stay online** without burning tokens, and can be run **from your phone**. Underneath, Node 22 and a patched Ink 8 renderer; alongside, everything from the unpublished 1.3.1 "Honest Mercury" line — chat that answers, "done" that means verified, and six security fixes.+`1.3.1` is about the shape of the thing: **one process** runs your bots and your channels, and the terminal is a window onto it — open in under a second, closed without consequence. Bots now **do work** instead of writing notes about work, **deliver files** where you can find them, **stay online** without burning tokens, and can be run **from your phone**. Underneath, Node 22 and a patched Ink 8 renderer; alongside, everything from the earlier, unpublished "Honest Mercury" work — chat that answers, "done" that means verified, and six security fixes.## At a glance@@ -61,7 +61,7 @@ Your **login service follows the install**: after a reinstall (npm → binary, s`/bots cost [days]`, `/bots show <id> [runId]`, `/bots stop all` / `start all`, `/bots dlq clear`, `/bots doctor`, `/bots outputs`, `/bots fetch`. On **Telegram**: `/bots` and `/bot` in the command menu; the roster arrives with **Stop/Start · Run · Runs** per bot and **Cost · Outputs · Doctor · Stop all** — a tap runs the real command. Delivered files come back to the chat as attachments. `/bots create` on Telegram runs the full onboarding — persona, permissions tier, solo/fleet, budget — as native buttons that settle in place.-## Honest Mercury — the 1.3.1 line, folded in+## Honest Mercury — the earlier 1.3.1 work, folded inNever published on its own; everything from it ships here: chat no longer forced through tool rounds, "done" means a check actually passed, one feedback contract on every channel, `/trace`, `/new` everywhere, context window v2, memory bounds, Telegram prompt timeouts that say what they defaulted to, per-agent permission contexts, the replay eval harness, and six published security advisories (GHSA-hj5j-2689-x8r2, -xc4h-859q-mq79, -gc84-h2g2-h54w, -h2c6-h3vx-mqwh, -qjx7-rw28-6hxq, -r27w-9m8h-qwg8).@@ -88,7 +88,7 @@ irm https://mercuryagent.sh/install.ps1 | iex # Windows```bashnode -v # must be 22+nvm install 22 && nvm alias default 22 # if it is not-npm i -g @cosmicstack/[email protected]+npm i -g @cosmicstack/[email protected]mercury # re-points your login service, migrates bot outputs, attaches```diff --git a/website/docs/releases/releases.mdx b/website/docs/releases/releases.mdxindex 8ff24701..6fde8fff 100644--- a/website/docs/releases/releases.mdx+++ b/website/docs/releases/releases.mdx@@ -9,7 +9,7 @@ This section tracks Mercury release notes by version.## Available release notes-- [**v1.4.0 — Steady Mercury**](/docs/releases/1.4.0) — One runtime, instant attach, bots that do work and stay online, fleets with typed tasks and pipelines, Telegram control with buttons and files, Node 22 and a patched Ink 8 — plus the whole unpublished 1.3.1 "Honest Mercury" line.+- [**v1.3.1 — Steady Mercury**](/docs/releases/1.3.1) — One runtime, instant attach, bots that do work and stay online, fleets with typed tasks and pipelines, Telegram control with buttons and files, Node 22 and a patched Ink 8 — plus the whole "Honest Mercury" line.- [**v1.3.0 — Mercury Bots**](/docs/releases/1.3.0) — Mercury becomes a fleet: persistent persona-scoped bots with private sandboxes and durable queues, lead bots that recruit their own crews, portable bundles, a web cockpit, and honest failure observability.- [**v1.2.3 — Unstoppable Mercury**](/docs/releases/1.2.3) — Mercury Code stops dying and starts telling the truth: completion contract, AUTO mode, the mechanical escalation harness, compact-on-pressure, live plan checklist, wheel scrolling, and security hardening.- [**v1.2.0 — Cloudy Mercury**](/docs/releases/1.2.0) — Mercury Cloud: terminal pairing, JWT auth with self-recovery, Cloud WebSocket, shared memory pool search. Cross-platform fixes for Windows and Termux. Patch set 1.2.0 → 1.2.1 → 1.2.2.diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.tsindex ea4008f8..a5da82a0 100644--- a/website/docusaurus.config.ts+++ b/website/docusaurus.config.ts@@ -102,8 +102,8 @@ const config: Config = {},// Bump with every release, together with RELEASE in src/components/Home/data.ts.announcementBar: {- id: 'release-1-4-0',- content: '☿ Mercury 1.4.0, <strong>Steady Mercury</strong>, is out: one runtime, instant attach, bots that stay online and deliver. <a href="/docs/releases/1.4.0">Read the release notes →</a>',+ id: 'release-1-3-1',+ content: '☿ Mercury 1.3.1, <strong>Steady Mercury</strong>, is out: one runtime, instant attach, bots that stay online and deliver. <a href="/docs/releases/1.3.1">Read the release notes →</a>',isCloseable: true,},navbar: {diff --git a/website/sidebars.ts b/website/sidebars.tsindex daa73c79..a19054f9 100644--- a/website/sidebars.ts+++ b/website/sidebars.ts@@ -79,7 +79,7 @@ const sidebars: SidebarsConfig = {collapsed: false,items: ['releases/releases',- 'releases/1.4.0',+ 'releases/1.3.1','releases/1.3.0','releases/1.2.3','releases/1.2.0',diff --git a/website/src/components/Home/data.ts b/website/src/components/Home/data.tsindex 72ffc7ae..c83fd020 100644--- a/website/src/components/Home/data.ts+++ b/website/src/components/Home/data.ts@@ -12,7 +12,7 @@ export const NPM_URL = 'https://www.npmjs.com/package/@cosmicstack/mercury-agentexport const SKILLS_URL = 'https://skills.mercuryagent.sh';/** Bump on release, together with the announcement bar in docusaurus.config.ts. */-export const RELEASE = { version: '1.4.0', name: 'Steady Mercury', notes: '/docs/releases/1.4.0' };+export const RELEASE = { version: '1.3.1', name: 'Steady Mercury', notes: '/docs/releases/1.3.1' };export const SEO = {title: 'Mercury Agent: the soul-driven AI agent, loyal only to you',@@ -32,7 +32,7 @@ export type TermLine = {export const HERO_SCRIPT: TermLine[] = [{ k: 'cmd', t: 'mercury' },- { k: 'dim', t: '☿ Mercury 1.4.0 · deepseek-chat · Ask Me mode' },+ { k: 'dim', t: '☿ Mercury 1.3.1 · deepseek-chat · Ask Me mode' },{ k: 'gap', t: '' },{ k: 'in', t: 'tidy CHANGELOG for 1.3.1, push it, and open a PR' },{ k: 'ok', t: 'git_status', n: 'read · no prompt' },