Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
release: v1.1.11 — Skilly Mercury (skill system, token saver, standalone binaries)
Salman Qureshi9cad24a6ccf7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6dbbce03..51462da7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,37 @@# Changelog+## 1.1.11 — Token Saver Mode, Skills System & Standalone Binaries++The biggest release since the 1.1.x line started. Adds a full **Skill System**, a **Token Saver Mode** for cheaper sessions, **standalone binaries** for users who don't want npm, and a redesigned bottom status bar with per-step spinners.++### New++- **Token Saver Mode + bottom status bar overhaul + per-step spinners** (#69) — opt-in mode that aggressively trims context, plus a new persistent status bar at the bottom of the TUI showing provider/model/token usage live, with per-step spinners replacing the single global one.+- **Skill System** (#67) — Mercury can now load and route to user-defined skills. Skills are markdown-defined behaviors that get injected on demand based on keyword/semantic match.+- **Screenshot skill** — full website capture with viewport sizing and dark/light mode toggle.+- **Standalone binaries + one-line installers** (#61) — `mercury` now ships as a single executable for macOS (arm64/x64), Linux (x64/arm64), and Windows (x64). No Node install required. Per-OS docs and a hero install widget on the website.+- **Domain migration** — `mercury.cosmicstack.org` → `mercuryagent.sh`.+- **Chinese translations** for README, ARCHITECTURE, and CHANGELOG (#53).++### Fixed++- **Skill ambiguity prompt** (#68) — no more 10-skill fan-out on weak matches; users get a numbered picker when the router is uncertain.+- **Spurious ambiguity prompts on weak keyword overlap** — the matcher used to trigger the picker on incidental word overlap; now requires real signal.+- **Release asset names aligned with published binaries** (#63) — fixes installer scripts that were pointing at the wrong filenames.+- **Per-segment shell pattern checks** (#48) — the shell permission guard now validates each shell segment independently instead of trusting a single combined check.++### Maintenance++- **Removed `anonymous-file-uploader` skill** — no longer needed.+- **`pino` upgraded** 9.14.0 → ^10.3.1 (#51).+- Spinner polish and docs updates throughout.++### Migration from 1.1.9++No breaking changes. Skill system is opt-in (drop markdown files in `~/.mercury/skills/`). Token Saver Mode is off by default — enable it from the session menu or via config. Standalone binaries are an alternative install path; `npm i -g @cosmicstack/mercury-agent` keeps working exactly as before.++> Note: `1.1.10` was skipped to keep numbering aligned across publish channels.+## 1.1.5 — Smoother Onboarding### Fixed: Onboarding no longer blocks users without Ollamadiff --git a/RELEASE.md b/RELEASE.mdindex eaf6e4f5..4d08f64e 100644--- a/RELEASE.md+++ b/RELEASE.md@@ -1,27 +1,53 @@-# Release v0.4.1+# Release v1.1.11-## ☿ Mercury Agent v0.4.1+## ☿ Mercury Agent v1.1.11-**Smarter agent context, co-author fix, and loop detection.**+**Token Saver Mode, full Skill System, and standalone binaries.**-### What's Changed+The biggest release since the 1.1.x line began — Mercury now ships as a single executable on every major OS, learns new tricks via user-defined skills, and gives you a live status bar with token usage at the bottom of every session.-- **Agent context enrichment** — Every request now includes `Platform` and `Working directory` in the system prompt, so the LLM knows what OS it's on and where it's working. Prevents the "trying `/home/zayd` on Windows" confusion.-- **GitHub companion awareness** — When GitHub tools are active, the system prompt now explains when to use `git_commit` + `git_push` vs. `github_api` Contents API, so the agent doesn't fumble between approaches.-- **Co-author injection for GitHub API** — `github_api` now automatically injects `Co-authored-by: Mercury <[email protected]>` into all content creation/update operations (`PUT /repos/:owner/:repo/contents/:path`). Previously, only `git_commit` had the co-author trailer — API-created files were missing it.-- **Loop detection circuit breaker** — New `ToolCallLoopDetector` tracks consecutive tool calls. If the same tool+params is called 3+ times in a row, a system warning is injected telling the LLM to try a different approach. Prevents the infinite `approve_scope` / `list_dir` death spirals that burned through token budgets.-- **`github_api` description overhaul** — The tool description now explicitly documents Contents API operations (push files, delete files) and when to use the API vs. git CLI, so the LLM makes smarter choices from the start.+### What's New++- **Token Saver Mode** (#69) — opt-in mode that aggressively trims session context so long-running agents don't bleed tokens. Pairs with a redesigned bottom status bar showing provider, model, and live token usage, plus per-step spinners (one per tool call) instead of a single global one.+- **Skill System** (#67) — Mercury can now load user-defined behaviors as markdown files in `~/.mercury/skills/`. Skills get routed to on demand based on keyword/semantic match and inject their instructions only when relevant.+- **Screenshot skill** — built-in skill for capturing website screenshots with configurable viewport and dark/light mode support.+- **Standalone binaries** (#61) — `mercury` now ships as a single executable for:+ - macOS arm64 / x64+ - Linux x64 / arm64+ - Windows x64++ One-line installers are available per OS; no Node runtime required. The install widget on [mercuryagent.sh](https://mercuryagent.sh) detects your platform automatically.+- **Domain migration** — Mercury's home is now [mercuryagent.sh](https://mercuryagent.sh) (was `mercury.cosmicstack.org`).+- **Chinese translations** for README, ARCHITECTURE, and CHANGELOG (#53).### Bug Fixes-- LLM no longer blind to the current working directory or platform when making tool calls-- GitHub API file pushes now correctly show Mercury as co-author in GitHub's commit history-- Agent no longer loops on failing permission/approval calls until token budget exhaustion+- **Skill routing no longer fans out to 10 skills** (#68) — when the router is genuinely uncertain, you now get a clean numbered picker (`#1`, `#2`, …) instead of every weakly-matching skill firing at once.+- **No more spurious ambiguity prompts** from incidental keyword overlap. The matcher now requires real signal before asking you to disambiguate.+- **Release asset names aligned with published binaries** (#63) — fixes one-line installer scripts that were pointing at the wrong filenames in earlier GitHub releases.+- **Shell permission guard now checks each segment independently** (#48) — addresses a reported advisory where a combined shell pattern could slip a disallowed command past the permission check when chained with `;`, `&&`, or `|`.++### Maintenance++- Removed the `anonymous-file-uploader` skill — no longer needed.+- `pino` upgraded 9.14.0 → ^10.3.1 (#51).+- Spinner polish, docs refreshes, and a cleaner status line throughout the TUI.++### Install / Upgrade++**npm:**+```+npm install -g @cosmicstack/[email protected]+```++**Standalone binary:** download from the release assets below (checksums in `checksums.txt`), or use the one-line installer from [mercuryagent.sh](https://mercuryagent.sh).++### Migration from v1.1.9-### Migration from v0.4.0+No breaking changes. Skill System and Token Saver Mode are both opt-in. Existing configs, providers, and `~/.mercury/` data carry over unchanged.-No configuration changes required. All improvements are in agent behavior and tool descriptions.+> `1.1.10` was skipped to keep numbering aligned across publish channels.----**Full Changelog**: https://github.com/cosmicstack-labs/mercury-agent/compare/v0.4.0...v0.4.1\ No newline at end of file+**Full Changelog**: https://github.com/cosmicstack-labs/mercury-agent/compare/v1.1.9...v1.1.11diff --git a/package.json b/package.jsonindex f46f3b28..59288b45 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.1.9",+ "version": "1.1.11","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",