Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
fix(badges): keep badge data and README hero out of the regenerated docs/
Salman Qureshia115af00183d
diff --git a/docs/badges/downloads-breakdown.json b/.github/badges/downloads-breakdown.jsonsimilarity index 58%rename from docs/badges/downloads-breakdown.jsonrename to .github/badges/downloads-breakdown.jsonindex f725bff2..9d2f604c 100644--- a/docs/badges/downloads-breakdown.json+++ b/.github/badges/downloads-breakdown.json@@ -2,5 +2,5 @@"total": 13512,"npm": 11557,"binaries": 1955,- "updatedAt": "2026-10-13T07:34:40.613Z"+ "updatedAt": "2026-10-13T07:45:43.322Z"}diff --git a/docs/badges/downloads.json b/.github/badges/downloads.jsonsimilarity index 100%rename from docs/badges/downloads.jsonrename to .github/badges/downloads.jsondiff --git a/.github/workflows/downloads-badge.yml b/.github/workflows/downloads-badge.ymlindex 220d0247..78e8659f 100644--- a/.github/workflows/downloads-badge.yml+++ b/.github/workflows/downloads-badge.yml@@ -1,8 +1,7 @@name: Downloads badge-# Refreshes docs/badges/downloads.json (npm + installer binary downloads),-# which GitHub Pages serves at https://mercuryagent.sh/badges/downloads.json-# for the README's shields.io endpoint badge.+# Refreshes .github/badges/downloads.json (npm + installer binary downloads),+# read by the README's shields.io endpoint badge via raw.githubusercontent.com.on:schedule:- cron: '17 */6 * * *'@@ -29,9 +28,9 @@ jobs:run: node scripts/download-stats.mjs- name: Commit if changedrun: |- if git diff --quiet -- docs/badges; then echo "unchanged"; exit 0; fi+ if git diff --quiet -- .github/badges; then echo "unchanged"; exit 0; figit config user.name "Mercury"git config user.email "[email protected]"- git add docs/badges+ git add .github/badgesgit commit -m "chore(badges): refresh download totals [skip ci]"git pushdiff --git a/README.md b/README.mdindex c5ff50e6..0145cc62 100644--- a/README.md+++ b/README.md@@ -10,7 +10,7 @@<p align="center"><a href="https://www.npmjs.com/package/@cosmicstack/mercury-agent"><img src="https://img.shields.io/npm/v/@cosmicstack/mercury-agent?color=0ea5e9&label=npm" alt="npm version"></a>- <a href="https://github.com/cosmicstack-labs/mercury-agent/blob/main/docs/badges/downloads-breakdown.json"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fmercuryagent.sh%2Fbadges%2Fdownloads.json" alt="total npm downloads"></a>+ <a href="https://github.com/cosmicstack-labs/mercury-agent/blob/main/.github/badges/downloads-breakdown.json"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fcosmicstack-labs%2Fmercury-agent%2Fmain%2F.github%2Fbadges%2Fdownloads.json" alt="total npm downloads"></a><a href="https://github.com/cosmicstack-labs/mercury-agent/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/cosmicstack-labs/mercury-agent/ci.yml?branch=main&label=CI" alt="CI"></a><a href="https://github.com/cosmicstack-labs/mercury-agent/stargazers"><img src="https://img.shields.io/github/stars/cosmicstack-labs/mercury-agent?style=flat&color=f59e0b" alt="GitHub stars"></a><a href="https://nodejs.org/"><img src="https://img.shields.io/node/v/@cosmicstack/mercury-agent?color=16a34a" alt="node"></a>diff --git a/README.zh-CN.md b/README.zh-CN.mdindex 354092b9..62954515 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -10,7 +10,7 @@<p align="center"><a href="https://www.npmjs.com/package/@cosmicstack/mercury-agent"><img src="https://img.shields.io/npm/v/@cosmicstack/mercury-agent?color=0ea5e9&label=npm" alt="npm version"></a>- <a href="https://github.com/cosmicstack-labs/mercury-agent/blob/main/docs/badges/downloads-breakdown.json"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fmercuryagent.sh%2Fbadges%2Fdownloads.json" alt="npm 总下载量"></a>+ <a href="https://github.com/cosmicstack-labs/mercury-agent/blob/main/.github/badges/downloads-breakdown.json"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fcosmicstack-labs%2Fmercury-agent%2Fmain%2F.github%2Fbadges%2Fdownloads.json" alt="npm 总下载量"></a><a href="https://github.com/cosmicstack-labs/mercury-agent/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/cosmicstack-labs/mercury-agent/ci.yml?branch=main&label=CI" alt="CI"></a><a href="https://github.com/cosmicstack-labs/mercury-agent/stargazers"><img src="https://img.shields.io/github/stars/cosmicstack-labs/mercury-agent?style=flat&color=f59e0b" alt="GitHub stars"></a><a href="https://nodejs.org/"><img src="https://img.shields.io/node/v/@cosmicstack/mercury-agent?color=16a34a" alt="node"></a>diff --git a/scripts/download-stats.mjs b/scripts/download-stats.mjsindex ccfcd790..f5f81330 100644--- a/scripts/download-stats.mjs+++ b/scripts/download-stats.mjs@@ -7,17 +7,17 @@* counted: every install also fetches checksums.txt and* web.tar.gz, which would triple-count one install.*- * Writes a shields.io endpoint document (docs/badges/downloads.json,- * served by GitHub Pages at mercuryagent.sh/badges/downloads.json) plus a- * breakdown file for humans. Usage: node scripts/download-stats.mjs [--dry-run]+ * Writes a shields.io endpoint document (.github/badges/downloads.json, read+ * by the badge through raw.githubusercontent.com) plus a breakdown file. Usage: node scripts/download-stats.mjs [--dry-run]*/import { writeFileSync, mkdirSync } from 'node:fs';import { dirname } from 'node:path';const PKG = '@cosmicstack/mercury-agent';const REPO = 'cosmicstack-labs/mercury-agent';-const OUT = 'docs/badges/downloads.json';-const BREAKDOWN = 'docs/badges/downloads-breakdown.json';+// .github/badges, not docs/: the website deploy replaces docs/ wholesale.+const OUT = '.github/badges/downloads.json';+const BREAKDOWN = '.github/badges/downloads-breakdown.json';const dryRun = process.argv.includes('--dry-run');const headers = { 'User-Agent': 'mercury-download-stats', Accept: 'application/vnd.github+json' };diff --git a/website/static/img/readme-hero-dark.png b/website/static/img/readme-hero-dark.pngnew file mode 100644index 00000000..215fab1dBinary files /dev/null and b/website/static/img/readme-hero-dark.png differdiff --git a/website/static/img/readme-hero-light.png b/website/static/img/readme-hero-light.pngnew file mode 100644index 00000000..0ed78ec0Binary files /dev/null and b/website/static/img/readme-hero-light.png differ