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.2
Salman Qureshi92a5ceeb8baa
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3c9dfd55..33416f85 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,6 +1,6 @@# Changelog-## Unreleased+## 1.4.2 — search that finds things, and a research prompt that asks only when you mean it### Web search- **Three web sources, the ones that work.** `web_search` asks [Parallel's public search](https://search.parallel.ai/mcp) first (keyless MCP built for agents, about a second, with excerpts and dates), then DuckDuckGo's html page, then its lite page. Brave, Wikipedia, Hacker News and Bing's web feed are gone from web search: Brave refuses automated requests and the others answered general questions badly. News keeps Parallel (article links only, section fronts dropped), then Bing News, Google News and Hacker News.diff --git a/RELEASE.md b/RELEASE.mdindex 454f32a7..f2b08c82 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -1,43 +1,31 @@-# Release v1.4.1+# Release v1.4.2-## ☿ Mercury Agent v1.4.1+## ☿ Mercury Agent v1.4.2-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`.+Web search finds things again, with no key and with any model, and the research prompt now asks only when you actually want a research article.-### 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.+### Web search+- **Three sources that answer.** `web_search` asks [Parallel's public search](https://search.parallel.ai/mcp) first (keyless, built for agents, about a second, with excerpts and dates), then DuckDuckGo's html page, then its lite page. Bing's web feed, which had started returning unrelated pages, and the engines that refuse automated requests are gone.+- **DuckDuckGo read exactly.** Both pages are parsed from their real markup: the title, the real address behind DuckDuckGo's redirect, and the snippet. Ads are dropped, a bot challenge is retried once, and a page Mercury can't read is reported instead of looking empty.+- **News links open the article.** News comes from Parallel's article links, then Bing News with its redirects unwrapped to the publisher, then Google News and Hacker News.+- **Never the model's own search.** Results come only from Mercury's search tools, so search works the same whichever model you use.+- **You can see what happened.** Every result ends with a `Searched:` trail, such as `Parallel: timed out → DuckDuckGo: 8 results`, so "nothing found" and "every source was blocked" read differently.+- The built-in `web-search` skill (1.3.0) describes the sources. An installed skill that scraped DuckDuckGo directly is replaced, and your copy is kept as `SKILL.md.replaced.bak`.-### 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).--### 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`).--### 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.+### Chat+- **The research prompt asks only when you mean it.** It used to fire on words like "latest" or "explain", so instructions such as "convert the latest epub" got a research question. One short model call now decides; instructions, quick questions and today's news never get the prompt.+- **Quick answer comes first**, so an accidental Enter never starts a long research run.### 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.-No config changes needed. Your memory is backed up before the one-time migration.+No config changes needed.-**Full Changelog**: https://github.com/cosmicstack-labs/mercury-agent/compare/v1.4.0...v1.4.1+**Full Changelog**: https://github.com/cosmicstack-labs/mercury-agent/compare/v1.4.1...v1.4.2diff --git a/package-lock.json b/package-lock.jsonindex d803c901..f62d2c14 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.4.1",+ "version": "1.4.2","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "@cosmicstack/mercury-agent",- "version": "1.4.1",+ "version": "1.4.2","hasInstallScript": true,"license": "MIT","dependencies": {diff --git a/package.json b/package.jsonindex 672f4ae6..4e650d0d 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.4.1",+ "version": "1.4.2","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",