Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
release: 1.4.1
Salman Qureshicc36f9da6e92
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c36fe5a0..f77394a9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,6 +1,6 @@# Changelog-## Unreleased+## 1.4.1 — Mercury learns how you work, saves its own skills, and searches again### Owner Model: Mercury learns how to work with you (ADR-026)- **Memory became beliefs with evidence.** Every claim about you now carries support and counter-evidence, a confidence that fades unless it is seen again, the context it applies in, and a status: candidate → held → confirmed by you; contested; retired; forgotten. What you say outright beats what Mercury inferred and never fades. Nothing is deleted behind your back.diff --git a/RELEASE.md b/RELEASE.mdindex 3ccf0a34..454f32a7 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -1,65 +1,43 @@-# Release v1.4.0+# Release v1.4.1-## ☿ Mercury Agent v1.4.0 — Pluggy Mercury+## ☿ Mercury Agent v1.4.1-Mercury gets plugins. Install what you need with `/plugins install <id>`: each plugin runs in its own process, comes from a checksum-verified catalog, and asks for exactly the access it needs. Two official plugins ship today on macOS, Windows and Linux:+Mercury now learns how you like to work, saves the procedures it repeats as its own skills, and its free web search returns real results again. The terminal got a round of fixes too: pickers that work in the attached terminal, a status row that stays useful, and no more "Thinking" forever after `/new`.-- **WhatsApp**: chat with Mercury, and talk to it on voice calls. It can call you, or listen to you on the go.-- **Optimus**: Mercury uses your computer. It sees the screen, moves, scrolls and types like a person, talks back, and stops the moment you say "stop".+### Mercury learns how to work with you (ADR-026)+- **Memory became beliefs with evidence.** Each thing Mercury believes about you has support, a confidence that fades unless it is seen again, and a status: candidate, held, confirmed by you, contested, retired or forgotten.+- **It learns working traits**: reply length, when to ask before acting, options or a recommendation, tone, your expertise per domain. Never health, religion, politics or credentials.+- **You hear about it.** Behaviour-changing learning ends a reply with one line, `☿ Noted: …`, and "forget that" undoes it. `/memory learned`, `/memory beliefs`, `/forget <text>` and the dashboard show and edit what it holds.+- **One source.** Every surface reads and writes the same belief store. Your name and handles stay in `identity.owner` in `mercury.yaml`.+- **Pick the model that learns** with `memory.learning.provider`, so extraction runs on a capable model while chat keeps its own.+- **Safe upgrade.** The first start backs up `second-brain.db` to `second-brain.pre-owner-model.db`, migrates once, and quarantines (never deletes) junk rows the old extractor saved.-The first stable release since 1.3.8. It also carries the 1.3.9 hotfix below, which only shipped on the dev channel.+### Self-made skills (ADR-027)+- After a multi-step task it would do again has worked end to end, Mercury can save the procedure as a skill and reuse it next time.+- Self-made skills live in `~/.mercury/skills/self-made/`, are listed apart from yours, go dormant after 30 days unused, and the shelf is capped at 40. Review them with `/skills self-made`.+- Skill categories and intent routing work again (discovery was wiping them).-### Plugins (#203)-- **Optional plugins.** `/plugins install|enable|disable|update|rollback|uninstall`, from a checksum-verified catalog at mercuryagent.sh. Plugins run out of process, so a crashing plugin can't take Mercury down, and they declare their network hosts, secrets and permissions up front.-- **Plugin API 1.2.** Plugins can return images to the model (kept out of chat history), request desktop access (`permissions.desktop`), and add `whatsapp` or `desktop` channels.-- **Plugins use Mercury's own providers.** You set a key once; plugins borrow it. A missing optional key is explained once, with what it turns off.-- **Guided setup and a flatter `/plugins <id>` menu.** Settings are listed on the menu itself, yes/no options say what each answer does, and the follow-up settings appear right after you save. No dead ends.-- Installing a plugin into a running Mercury now starts it immediately (it used to wait for a restart).+### Web search that works, still keyless+- Bing's web RSS feed now answers automated requests with unrelated pages, and DuckDuckGo blocks them. `web_search` now asks Brave Search first, then Wikipedia, Hacker News, Bing News and Google News, and keeps only results that mention your query.+- `fetch_url` on a search results page runs a real search instead of returning a block page, and an installed web-search skill that scrapes DuckDuckGo is replaced by the built-in one (your copy is kept as `SKILL.md.replaced.bak`).-### WhatsApp plugin 0.1.1 (#202)-- Chat with Mercury on WhatsApp from a spare number, as a linked device.-- **Voice calls in both directions.** Mercury can call you ("call me at 9pm", "call me when it's done"), keeps you posted while it works, takes approvals by voice or in the chat, and sends links, photos and documents mid-call.-- Choose the voice engine (OpenAI by default, Gemini, Grok, ElevenLabs, Azure, Qwen, or your own Mercury model), access levels (General / Extended), and link or unlink from the dashboard.--### Optimus plugin 0.4.7 (new)-- **Mercury uses your computer.** It looks at the screen, then moves the pointer, scrolls and types the way a person does, with a "Mercury is driving" overlay while it has control. macOS, Windows and Linux; no developer certificates needed.-- **Talk to it.** A talk key starts listening mode with spoken replies, a mute key stops listening without stopping the work, and saying "stop" halts every action at once. Silence ends a session, so nothing is captured or spent while you're away.-- **Honest about results.** Optimus checks the screen before it reports something as done, and failed actions are reported as failed.-- Consequential actions ask first; Mercury declines to play or automate games that use anti-cheat (Vanguard, Easy Anti-Cheat, BattlEye), since automated input there can get your account banned. The TUI status bar shows when Optimus is listening or working, and a soft tick-tock plays while it works.-- Voice settings are shared with WhatsApp.--### Also new-- **Built-in `web_search`.**-- **Mercury reads photos and PDFs, and listens to voice notes, from chat.**-- Mercury always knows it comes from Cosmic Stack.-- Web dashboard: plain-language model names, renaming, a reasoning picker, every local Ollama model, ChatGPT Plus/Pro plan models.--### Fixed-- **The desktop channel no longer loops broadcasts.** One failing alert used to fan out into hundreds of WhatsApp messages; repeated alerts are now sent once.-- ChatGPT OAuth turns no longer fail after a tool call.-- Long messages no longer fail memory search ("Expression tree is too large").-- New dashboard chats no longer land in the previous conversation; dashboard permission prompts render and resolve.-- Plugin tar calls work with GNU tar on Windows.-- **The web dashboard works on the Windows standalone binary.** Mercury looked for its `web/` folder inside the binary's virtual filesystem, because it only recognised Bun's macOS/Linux marker (`$bunfs`) and not Windows' (`~BUN`), so the dashboard reported "web UI not found". Found and fixed by @farena-ai in #189; the same check is now shared by the login page and the memory-graph fallback.+### Terminal+- **Every new session asks Ask Me or Allow All**, with your current mode first so Enter keeps it.+- **Pickers work in the attached terminal**: `/model`, `/cloud`, `/permissions` and questions from Mercury. Answers used to be dropped, leaving the command waiting two minutes behind a spinner.+- **`/new` no longer leaves the screen "Thinking" forever**: the terminal now follows the new session.+- **One status row**: session, mode, today's budget meter (green, yellow, red), model. Optimus activity always stays visible. The live spinner sits above the input. Mercury Code uses the same row.+- Chat works like an agent again: real tools (pandoc, ffmpeg, a script) for bulk work instead of file-by-file edits.### Upgrade**npm:**```-npm install -g @cosmicstack/[email protected]+npm install -g @cosmicstack/[email protected]mercury restart```**Standalone binary:** `mercury upgrade`, or re-run the one-line installer from mercuryagent.sh.-Then try a plugin:-```-/plugins install optimus-/plugins install whatsapp-```--No config migrations. Plugins are opt-in.--Docs: https://mercuryagent.sh/docs/integrations/optimus · https://mercuryagent.sh/docs/integrations/whatsapp · https://mercuryagent.sh/docs/releases/1.4.0+No config changes needed. Your memory is backed up before the one-time migration.-**Full Changelog**: https://github.com/cosmicstack-labs/mercury-agent/compare/v1.3.8...v1.4.0+**Full Changelog**: https://github.com/cosmicstack-labs/mercury-agent/compare/v1.4.0...v1.4.1diff --git a/package-lock.json b/package-lock.jsonindex 908f5fc0..d803c901 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.4.0",+ "version": "1.4.1","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "@cosmicstack/mercury-agent",- "version": "1.4.0",+ "version": "1.4.1","hasInstallScript": true,"license": "MIT","dependencies": {diff --git a/package.json b/package.jsonindex cd3dc163..672f4ae6 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.4.0",+ "version": "1.4.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",