Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
feat: Cloudy Mercury v1.2.0 — Mercury Cloud launch + landing page revamp (#112)
Salman Qureshia9ec7107eca0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex e9a47d75..e891ebb5 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -99,13 +99,18 @@ jobs:export HOME=/home/builderexport npm_config_cache=/home/builder/project/.npm-cacheexport TERMUX_VERSION=u0- # pkg update can hit bad mirrors; retry with a known-good mirror if needed+ # Pin a known-reliable mirror to avoid transient 520s on community mirrors+ sed -i 's|^\(deb .*\)|deb https://packages-cf.termux.dev/apt/termux-main stable main|' /data/data/com.termux/files/usr/etc/apt/sources.list 2>/dev/null || truepkg update -y || {- echo 'pkg update failed, trying specific mirror...'- termux-change-repo || true+ echo 'pkg update failed, retrying...'pkg update -y}- pkg install -y git nodejs-lts python build-essential+ # Retry package install up to 3 times — Termux mirrors are flaky+ for attempt in 1 2 3; do+ pkg install -y git nodejs-lts python build-essential && break+ echo "pkg install attempt $attempt failed, retrying..."+ pkg update -y || true+ donecd /home/builder/projectnpm install --no-audit --no-fundnpm install --no-save --no-audit --no-fund @rollup/wasm-node@4diff --git a/package.json b/package.jsonindex cf687065..303636d6 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@cosmicstack/mercury-agent",- "version": "1.2.1",+ "version": "1.2.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",diff --git a/website/docs/cloud/mercury-cloud.mdx b/website/docs/cloud/mercury-cloud.mdxnew file mode 100644index 00000000..90262f52--- /dev/null+++ b/website/docs/cloud/mercury-cloud.mdx@@ -0,0 +1,90 @@+---+title: "Mercury Cloud"+sidebar_label: "Mercury Cloud"+description: "Hosted backend for Mercury Agent — terminal pairing, auto-rotating JWTs, Cloud WebSocket, shared memory pool, and remote dashboard. Plug-and-play setup with no port forwarding."+---++# Mercury Cloud++Mercury Cloud is a hosted backend that turns a local Mercury install into a remotely managed, always-on agent. Pair once from the terminal, and Mercury maintains a persistent WebSocket to the cloud — no port forwarding, no reverse proxy, no certificate management.++## Quick start++```sh+mercury cloud connect+```++This opens a browser-based pairing URL. Once paired, Mercury saves your credentials and starts a background daemon that keeps the Cloud WebSocket alive even after you exit the terminal.++## How it works++1. **Pair** — `mercury cloud connect` opens a browser URL. Poll-based completion with structured failure codes (e.g. agent capacity reached).+2. **Authenticate** — Mercury receives a JWT (short-lived), a refresh token (single-use), and an agent API key (long-lived).+3. **Connect** — A background daemon maintains a persistent WSS connection to `wss://backend.mercuryagent.sh/ws` with 30-second heartbeats and automatic reconnect.+4. **Stay online** — The daemon keeps the WebSocket alive even after you close the terminal. The agent API key enables headless self-recovery without browser re-pairing.++## Authentication & self-recovery++Mercury Cloud uses a three-tier token strategy:++| Token | Lifetime | Purpose |+|---|---|---|+| **JWT** | Short-lived | API and WebSocket auth. Auto-refreshed before expiry. |+| **Refresh token** | Single-use | Rotated on every refresh. Used to get a new JWT. |+| **Agent API key** | Long-lived | Headless self-recovery. Never expires. |++If the JWT expires, Mercury tries the refresh token. If the refresh token is also dead, Mercury redeems the agent API key to get fresh tokens — no browser re-pairing needed. This means a server or Termux deployment stays online indefinitely.++## Shared memory pool++Mercury Cloud agents can search a **shared memory pool** — cross-agent context that lives in the cloud. After local Second Brain retrieval, the agent calls `searchPool()` to fetch additional context from other agents in your fleet. Results are cached locally for 5 minutes per query.++## Remote dashboard++Manage your agent from [cloud.mercuryagent.sh](https://cloud.mercuryagent.sh) — send messages, install skills, view memory, and monitor status. The dashboard communicates with your local agent over the Cloud WebSocket.++## Models++Mercury Cloud offers multiple models. At pairing time, Mercury fetches the available models and prompts you to choose:++```+Available models:+ 1. Mercury Flash (mercury-flash)+ 2. Mercury Pro (mercury-pro)+ ...+Choose a model [1-N, Enter for 1]:+```++Switch models later with `/cloud use <model-id>` or `mercury doctor`.++## CLI commands++| Command | Description |+|---|---|+| `mercury cloud connect` | Pair with Mercury Cloud via browser |+| `mercury cloud disconnect` | Clear Cloud credentials and stop the agent |+| `mercury cloud status` | Show Cloud connection status and usage |+| `mercury cloud login` | Refresh the JWT using the stored refresh token |++## Configuration++Mercury Cloud config is stored in `mercury.yaml` under the `cloud` section:++```yaml+cloud:+ enabled: true+ apiUrl: https://backend.mercuryagent.sh+ wsUrl: wss://backend.mercuryagent.sh/ws+ agentId: your-agent-id+ tier: free+```++The JWT, refresh token, and agent API key are also stored here (they auto-rotate). You don't need to manage them manually.++## Disconnect++```sh+mercury cloud disconnect+```++This stops the running agent, clears all Cloud credentials, switches the default provider back to your offline provider, and restarts Mercury in offline mode. The agent remains registered on the cloud dashboard — delete it there to revoke server-side credentials.\ No newline at end of filediff --git a/website/docs/releases/1.2.0.mdx b/website/docs/releases/1.2.0.mdxnew file mode 100644index 00000000..9e0475c7--- /dev/null+++ b/website/docs/releases/1.2.0.mdx@@ -0,0 +1,218 @@+---+title: "v1.2.0 — Cloudy Mercury"+sidebar_label: "v1.2.0"+description: "Mercury meets the cloud. Terminal pairing, JWT auth with self-recovery, Cloud WebSocket for real-time remote control, shared memory pool search, and cross-platform fixes for Windows and Termux. Patch set 1.2.0 → 1.2.1 → 1.2.2."+image: /img/og/1.1.11.png+keywords: [mercury, mercury-agent, cloudy-mercury, mercury-cloud, pairing, websocket, shared-memory, release, 1.2.0, 1.2.1, 1.2.2]+---++import Head from '@docusaurus/Head';++<Head>+ <meta property="og:title" content="Mercury Agent v1.2.0 — Cloudy Mercury" />+ <meta property="og:description" content="Mercury meets the cloud. Terminal pairing, JWT auth with self-recovery, Cloud WebSocket, shared memory pool search, and cross-platform fixes for Windows and Termux." />+ <meta property="og:type" content="article" />+ <meta property="og:url" content="https://mercuryagent.sh/docs/releases/1.2.0" />+ <meta property="og:image" content="https://mercuryagent.sh/img/og/1.1.11.png" />+ <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.2.0 — Cloudy Mercury" />+ <meta name="twitter:description" content="Mercury Cloud — terminal pairing, JWT auth, Cloud WebSocket, shared memory pool, and cross-platform fixes." />+ <meta name="twitter:image" content="https://mercuryagent.sh/img/og/1.1.11.png" />+ <link rel="canonical" href="https://mercuryagent.sh/docs/releases/1.2.0" />+</Head>++# v1.2.0 — Cloudy Mercury++> **Mercury meets the cloud.** Pair from the terminal, authenticate with auto-rotating JWTs, stay online over a Cloud WebSocket, and search a shared memory pool across all your agents.++`1.2.0` is the cloud release. **Mercury Cloud** is a hosted backend that turns a local Mercury install into a remotely managed, always-on agent — no port forwarding, no reverse proxy, no manual certificate management. Pair once from the terminal, and Mercury maintains a persistent WebSocket to the cloud, relaying commands, streaming responses, and syncing memory in real time.++This release ships as a **patch set**: `1.2.0` (the launch), `1.2.1` (runtime activation hardening), and `1.2.2` (cross-platform CI and packaging fixes). All three are covered on this page.++> **Why "Cloudy Mercury"?** The Mercury planet (☿) has always been the messenger. Cloudy Mercury gives that messenger a cloud — a persistent connection that keeps it reachable, synced, and self-healing even when your terminal is closed.++## At a glance++| Area | What changed |+|---|---|+| **Mercury Cloud** | Hosted backend with terminal pairing, JWT + refresh token auth, long-lived agent API key, Cloud WebSocket, and remote dashboard |+| **Pairing flow** | `mercury cloud connect` opens a browser-based pairing URL; poll-based completion with structured failure codes |+| **Auth & recovery** | Auto-rotating JWTs via single-use refresh tokens; long-lived agent API key for headless self-recovery without re-pairing |+| **Cloud WebSocket** | Persistent WSS connection with 30s heartbeat, exponential reconnect, and real-time message relay |+| **Runtime activation** | `activateCloudRuntime` guards foreground/daemon state, waits for WebSocket online, and propagates failures |+| **Shared memory pool** | `searchPool()` fetches cross-agent context from the cloud, cached in SQLite for 5 minutes per query |+| **Token store** | Shared in-memory token store keeps the WS client and provider in sync during rotation |+| **Termux (Android)** | `better-sqlite3` is now optional — `--help` and `--version` work without the native addon |+| **Windows** | File-mode and posix-path fixes for `work-ledger` and `platform.ts` |+| **Provider** | Mercury Cloud is a first-class provider with model selection at pairing time |++## Mercury Cloud++### Terminal pairing++Run `mercury cloud connect` and Mercury opens a browser-based pairing URL. The flow is poll-based with a 5-minute timeout and structured failure codes (e.g. `AGENT_LIMIT_REACHED` with upgrade guidance):++```sh+mercury cloud connect+```++Once paired, Mercury saves:++- A **JWT** (short-lived, auto-rotated)+- A **refresh token** (single-use, rotated on every refresh)+- An **agent API key** (long-lived, for headless self-recovery)+- The **agent ID** and **tier**++### Authentication & self-recovery++Mercury Cloud uses a three-tier token strategy:++1. **JWT** — used for API and WebSocket auth. Auto-refreshed before expiry.+2. **Refresh token** — single-use, rotated on every refresh. If the JWT expires, Mercury tries the refresh token first.+3. **Agent API key** — long-lived, never expires. If both JWT and refresh token are dead, Mercury redeems the agent API key to get fresh tokens without a browser re-pair.++This means a remotely-deployed agent on a server or Termux can stay online indefinitely without manual intervention — the agent API key is the self-healing path.++### Cloud WebSocket++After pairing, Mercury maintains a persistent WSS connection to `wss://backend.mercuryagent.sh/ws` with:++- **30-second heartbeat** to detect dead connections+- **Exponential backoff reconnect** (up to 50 attempts)+- **Pre-connect token rotation** — never handshakes with an expired JWT+- **Message relay** — remote commands, streaming responses, skill installs, memory operations, and conversation sync++The WebSocket stays alive even after you exit the foreground TUI — the background daemon keeps it open.++### Shared memory pool++Mercury Cloud agents can search a **shared memory pool** — cross-agent context that lives in the cloud. After local Second Brain retrieval, the agent calls `searchPool()` to fetch additional context from other agents in your fleet. Results are cached in a local SQLite DB for 5 minutes per query to kill per-turn network cost.++### Remote dashboard++Manage your agent from the cloud dashboard at [cloud.mercuryagent.sh](https://cloud.mercuryagent.sh) — send messages, install skills, view memory, and monitor status. The dashboard talks to your local agent over the Cloud WebSocket.++## Runtime activation++The `activateCloudRuntime` function is the single entry point for starting or restarting a managed runtime after Cloud credentials land. It:++- **Checks foreground state** — rejects if Mercury is running only in the foreground (can't activate Cloud without a managed runtime)+- **Accepts already-online foreground** — if credentials didn't change and the foreground WebSocket is already online, returns without restarting+- **Stops a running daemon** — graceful SIGTERM before starting a fresh one+- **Starts a managed runtime** — `restartService()` if a system service is installed, otherwise `startBackground()`+- **Waits for WebSocket online** — up to 20 seconds; throws if the Cloud WebSocket doesn't come up+- **Propagates failures** — throws if `stopDaemon` fails, so the caller knows credentials were saved but the runtime is stale++## Provider integration++Mercury Cloud is a first-class provider (`mercuryCloud`) backed by an OpenAI-compatible API at `https://backend.mercuryagent.sh/v1`. At pairing time, Mercury fetches the available models and prompts you to choose:++```+Available models:+ 1. Mercury Flash (mercury-flash)+ 2. Mercury Pro (mercury-pro)+ 3. ...+Choose a model [1-N, Enter for 1]:+```++The provider's JWT is automatically swapped when the shared token store rotates — no race conditions, no burned refresh tokens.++## Cross-platform fixes++### v1.2.1 — Runtime activation hardening++Restored `activateCloudRuntime` as the single activation path for `cloud connect` and `cloud login`, replacing a simpler `ensureDaemonRunning` that had dropped foreground checks, WebSocket verification, and failure propagation. This fixed 8 failing pairing-flow tests.++### v1.2.2 — Windows, Termux, and packaging++- **Windows**: `resolveShell` now uses `posix.join` for the Termux shell path (was backslash-joined on Windows). `work-ledger.test.ts` skips the `0o600` mode assertion on Windows (chmod is a no-op for owner bits).+- **Termux**: `better-sqlite3` is now lazy-loaded via `createRequire` in `pool-search.ts`, so `--help` and `--version` work without the native addon (it doesn't compile on Android).+- **CI**: The Termux CI job treats `better-sqlite3` as optional (the runtime already falls back gracefully).++## CLI commands++| Command | Description |+|---|---|+| `mercury cloud connect` | Pair with Mercury Cloud via browser |+| `mercury cloud disconnect` | Clear Cloud credentials and stop the agent |+| `mercury cloud status` | Show Cloud connection status and usage |+| `mercury cloud login` | Refresh the JWT using the stored refresh token |++## Files changed++### New files+- `src/cloud/pairing.ts` — Pairing flow (start, poll, structured failures), token refresh, agent API key redemption+- `src/cloud/pairing-flow.ts` — High-level `runCloudConnect`, `runCloudDisconnect`, `runCloudLogin`, `runCloudStatus`, `activateCloudRuntime`+- `src/cloud/pairing-flow.test.ts` — 12 tests covering all activation paths+- `src/cloud/client.ts` — `MercuryCloudClient` WebSocket client with heartbeat, reconnect, and token rotation+- `src/cloud/token-store.ts` — Shared in-memory token store with listener-based rotation+- `src/cloud/runtime-status.ts` — Cloud WebSocket online tracking and `waitForCloudRuntimeOnline`+- `src/cloud/pool-search.ts` — Shared memory pool search with SQLite cache+- `src/cloud/types.ts` — Cloud config, pairing result, and WS message types+- `src/cloud/endpoints.ts` — Mercury Cloud API, WS, and dashboard URLs+- `src/providers/mercury-cloud.ts` — Mercury Cloud as a first-class provider++### Modified files+- `src/index.ts` — `cloud` CLI subcommands (connect, disconnect, status, login)+- `src/utils/config.ts` — Cloud config section, `mercuryCloud` provider, migrations+- `src/core/agent.ts` — Cloud client integration, `searchPool()` call after local retrieval+- `src/utils/platform.ts` — `posix.join` for Termux shell path (Windows fix)+- `src/core/work-ledger.test.ts` — Skip `0o600` mode assertion on Windows++## Patch history++| Version | Focus |+|---|---|+| **1.2.0** | Mercury Cloud launch — pairing, auth, WebSocket, shared memory pool, provider integration |+| **1.2.1** | Runtime activation hardening — restored `activateCloudRuntime` checks, fixed 8 pairing-flow tests |+| **1.2.2** | Cross-platform fixes — Windows path/mode, Termux optional `better-sqlite3`, CI stabilization |++## Upgrade++**npm:**++```bash+npm install -g @cosmicstack/[email protected]+mercury restart+```++**Standalone (macOS / Linux):**++```bash+curl -fsSL https://mercuryagent.sh/install.sh | sh+mercury restart+```++**Standalone (Windows):**++```powershell+irm https://mercuryagent.sh/install.ps1 | iex+mercury restart+```++No config migrations needed. Mercury Cloud is **opt-in** — run `mercury cloud connect` to pair. Existing configs, providers, threads, kanban boards, and Second Brain data carry over unchanged.++## Standalone binaries++Same five targets as v1.1.13:++| OS | Architecture | Binary |+|---|---|---|+| macOS | Apple Silicon | `mercury-macos-arm64` |+| macOS | Intel | `mercury-macos-x64` |+| Linux | x86-64 | `mercury-linux-x64` |+| Linux | ARM64 | `mercury-linux-arm64` |+| Windows | x86-64 | `mercury-win-x64.exe` |++Direct downloads:++- [mercury-macos-arm64](https://github.com/cosmicstack-labs/mercury-agent/releases/download/v1.2.2/mercury-macos-arm64)+- [mercury-macos-x64](https://github.com/cosmicstack-labs/mercury-agent/releases/download/v1.2.2/mercury-macos-x64)+- [mercury-linux-x64](https://github.com/cosmicstack-labs/mercury-agent/releases/download/v1.2.2/mercury-linux-x64)+- [mercury-linux-arm64](https://github.com/cosmicstack-labs/mercury-agent/releases/download/v1.2.2/mercury-linux-arm64)+- [mercury-win-x64.exe](https://github.com/cosmicstack-labs/mercury-agent/releases/download/v1.2.2/mercury-win-x64.exe)+- [checksums.txt](https://github.com/cosmicstack-labs/mercury-agent/releases/download/v1.2.2/checksums.txt)++**Full changelog:** [v1.1.13 → v1.2.2](https://github.com/cosmicstack-labs/mercury-agent/compare/v1.1.13...v1.2.2)\ No newline at end of filediff --git a/website/docs/releases/releases.mdx b/website/docs/releases/releases.mdxindex 5d2078d9..f463bfa3 100644--- a/website/docs/releases/releases.mdx+++ b/website/docs/releases/releases.mdx@@ -9,7 +9,8 @@ This section tracks Mercury release notes by version.## Available release notes-- [**v1.1.13 — Chatty Mercury**](/docs/releases/1.1.13) — Discord, Slack, and Signal channels. Long-running loop fixes. CLI heartbeat in-place. Crash recovery.+- [**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.+- [v1.1.13 — Chatty Mercury](/docs/releases/1.1.13) — Discord, Slack, and Signal channels. Long-running loop fixes. CLI heartbeat in-place. Crash recovery.- [v1.1.12 — Daemon Hotfix](/docs/releases/1.1.12) — Critical fix: standalone binaries can now start in the background, restoring Telegram in daemon mode.- [v1.1.11 — Skilly Mercury](/docs/releases/1.1.11) — Skill System, Token Saver Mode, standalone binaries on five OS targets, per-step spinners, screenshot skill.- [v1.1.9 — Mercury Web, Kanban & Subconscious Memory](/docs/releases/1.1.9)diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.tsindex 01820626..5c6ddc16 100644--- a/website/docusaurus.config.ts+++ b/website/docusaurus.config.ts@@ -86,12 +86,13 @@ const config: Config = {title: '☿ Mercury Agent',logo: {alt: 'Mercury Agent — Soul-driven',- src: 'img/favicon.svg',- srcDark: 'img/favicon.svg',+ src: 'img/logo-light.png',+ srcDark: 'img/logo-dark.png',},items: [{to: '/docs', label: 'Docs', position: 'left'},- {to: '/docs/releases/1.1.13', label: 'Releases', position: 'left'},+ {to: '/cloud', label: 'Mercury Cloud', position: 'left'},+ {to: '/docs/releases/1.2.0', label: 'Releases', position: 'left'},{href: 'https://github.com/cosmicstack-labs/mercury-agent',label: 'GitHub',@@ -106,6 +107,7 @@ const config: Config = {title: 'Docs',items: [{label: 'Getting Started', to: '/docs'},+ {label: 'Mercury Cloud', to: '/cloud'},],},{diff --git a/website/sidebars.ts b/website/sidebars.tsindex 97366811..1cd49022 100644--- a/website/sidebars.ts+++ b/website/sidebars.ts@@ -76,6 +76,7 @@ const sidebars: SidebarsConfig = {collapsed: false,items: ['releases/releases',+ 'releases/1.2.0','releases/1.1.13','releases/1.1.12','releases/1.1.11',@@ -84,6 +85,14 @@ const sidebars: SidebarsConfig = {'releases/1.1.6',],},+ {+ type: 'category',+ label: 'Mercury Cloud',+ collapsed: false,+ items: [+ 'cloud/mercury-cloud',+ ],+ },],};diff --git a/website/src/css/landing.css b/website/src/css/landing.cssindex a773f8cd..51982ccd 100644--- a/website/src/css/landing.css+++ b/website/src/css/landing.css@@ -44,9 +44,13 @@/* ---- Navigation ---- */.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(6, 6, 10, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }.lp-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 60px; }-.lp-nav-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); font-size: 1.15em; text-decoration: none !important; display: flex; align-items: center; gap: 4px; }+.lp-nav-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); font-size: 1.15em; text-decoration: none !important; display: flex; align-items: center; gap: 8px; }.lp-nav-logo:hover { text-decoration: none !important; }.lp-nav-logo-icon { font-size: 1.2em; }+.lp-nav-logo-img { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }+@media (prefers-color-scheme: dark) {+ .lp-nav-logo-img { content: url('/img/logo-dark.png'); }+}.lp-nav-links { display: flex; gap: 28px; align-items: center; }.lp-nav-links a { color: var(--gray); font-size: 0.88em; font-weight: 500; transition: color 0.2s; text-decoration: none !important; letter-spacing: 0.01em; }.lp-nav-links a:hover { color: var(--white); text-decoration: none !important; }@@ -513,6 +517,10 @@.lp-footer { border-top: 1px solid var(--border); padding: 36px 0; }.lp-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }.lp-footer-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); }+.lp-footer-logo-img { height: 28px; width: auto; vertical-align: middle; }+@media (prefers-color-scheme: dark) {+ .lp-footer-logo-img { content: url('/img/logo-full-dark.png'); }+}.lp-footer-tagline { color: var(--gray-dim); font-size: 0.88em; margin-left: 12px; }.lp-footer-links { display: flex; gap: 24px; }.lp-footer-links a { color: var(--gray-dim); font-size: 0.88em; }@@ -555,3 +563,79 @@.lp-footer-inner { flex-direction: column; text-align: center; }.lp-section { padding: 72px 0; }}++/* ---- Mercury Cloud Banner ---- */+.lp-section-cloud { padding: 60px 0 20px; }+.lp-cloud-banner {+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: 48px;+ align-items: center;+ background: linear-gradient(135deg, rgba(0,212,255,0.04) 0%, rgba(167,139,250,0.04) 100%);+ border: 1px solid var(--border-hover);+ border-radius: var(--radius);+ padding: 48px 40px;+ position: relative;+ overflow: hidden;+}+.lp-cloud-banner::before {+ content: '';+ position: absolute;+ top: -100px; right: -100px;+ width: 400px; height: 400px;+ background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);+ pointer-events: none;+}+.lp-cloud-badge {+ display: inline-block;+ padding: 5px 14px;+ border-radius: 20px;+ background: rgba(0,212,255,0.12);+ color: var(--cyan);+ font-size: 0.78em;+ font-weight: 700;+ letter-spacing: 0.04em;+ margin-bottom: 16px;+}+.lp-cloud-title {+ font-size: clamp(1.8em, 3.5vw, 2.6em);+ font-weight: 800;+ color: var(--white-bright);+ margin-bottom: 16px;+ letter-spacing: -0.01em;+ background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);+ -webkit-background-clip: text;+ background-clip: text;+ -webkit-text-fill-color: transparent;+}+.lp-cloud-lead {+ color: var(--gray);+ font-size: 1em;+ line-height: 1.7;+ margin-bottom: 28px;+ max-width: 480px;+}+.lp-cloud-actions { display: flex; gap: 14px; flex-wrap: wrap; }+.lp-cloud-features { display: flex; flex-direction: column; gap: 20px; }+.lp-cloud-feature {+ display: flex;+ gap: 14px;+ align-items: flex-start;+}+.lp-cloud-feature-icon {+ font-size: 1.5em;+ flex-shrink: 0;+ width: 40px; height: 40px;+ display: flex;+ align-items: center;+ justify-content: center;+ border-radius: 10px;+ background: rgba(0,212,255,0.08);+ border: 1px solid rgba(0,212,255,0.15);+}+.lp-cloud-feature h4 { color: var(--white-bright); font-size: 0.95em; margin-bottom: 4px; font-weight: 600; }+.lp-cloud-feature p { color: var(--gray); font-size: 0.85em; margin: 0; line-height: 1.5; }++@media (max-width: 900px) {+ .lp-cloud-banner { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }+}diff --git a/website/src/pages/cloud.tsx b/website/src/pages/cloud.tsxnew file mode 100644index 00000000..3fe16838--- /dev/null+++ b/website/src/pages/cloud.tsx@@ -0,0 +1,365 @@+import React, { useEffect, useRef, useState } from 'react';+import Link from '@docusaurus/Link';+import Head from '@docusaurus/Head';+import '@site/src/css/landing.css';++type CloudTerminalLine = {+ type: 'prompt' | 'input' | 'tool' | 'output' | 'status' | 'agent' | 'stream' | 'completion';+ text: string;+};++const pairingLines: CloudTerminalLine[] = [+ { type: 'prompt', text: '$ ' },+ { type: 'input', text: 'mercury cloud connect' },+ { type: 'status', text: ' Starting terminal pairing flow...' },+ { type: 'output', text: ' Open this URL in your browser to register and connect:' },+ { type: 'output', text: ' https://cloud.mercuryagent.sh/pair?code=MC-X4F2' },+ { type: 'status', text: ' Waiting for approval (timeout in 5 minutes)...' },+ { type: 'tool', text: ' ✓ Pairing approved' },+ { type: 'tool', text: ' Available models:' },+ { type: 'output', text: ' 1. Mercury Flash (mercury-flash)' },+ { type: 'output', text: ' 2. Mercury Pro (mercury-pro)' },+ { type: 'tool', text: ' Choose a model [1-2, Enter for 1]: 1' },+ { type: 'completion', text: ' ✓ Mercury Cloud connected!' },+ { type: 'output', text: ' Agent ID: ag_8f3a2c' },+ { type: 'output', text: ' Tier: free' },+ { type: 'output', text: ' Model: mercury-flash' },+ { type: 'completion', text: ' ✓ Mercury daemon started in the background.' },+];++function typeTerminal(container: HTMLDivElement, lines: CloudTerminalLine[], speed: number) {+ let idx = 0;+ let charIdx = 0;+ let currentSpan: HTMLSpanElement | null = null;++ function nextLine() {+ if (idx >= lines.length) return;+ const line = lines[idx];++ if (line.type === 'prompt') {+ const span = document.createElement('span');+ span.className = 'lp-prompt';+ span.textContent = line.text;+ container.appendChild(span);+ idx++;+ nextLine();+ return;+ }++ if (line.type === 'input') {+ currentSpan = document.createElement('span');+ currentSpan.className = 'lp-input-text';+ container.appendChild(currentSpan);+ charIdx = 0;+ typeChars(line.text, () => {+ container.appendChild(document.createElement('br'));+ idx++;+ nextLine();+ });+ return;+ }++ if (line.type === 'tool' || line.type === 'status' || line.type === 'output' || line.type === 'completion') {+ const span = document.createElement('span');+ span.className = line.type === 'tool' ? 'lp-tool' : line.type === 'status' ? 'lp-status' : line.type === 'completion' ? 'lp-completion' : 'lp-output';+ span.textContent = line.text;+ container.appendChild(span);+ container.appendChild(document.createElement('br'));+ idx++;+ setTimeout(nextLine, speed * 2);+ return;+ }++ idx++;+ nextLine();+ }++ function typeChars(text: string, done: () => void, customSpeed?: number) {+ const s = customSpeed || speed;+ if (charIdx >= text.length) {+ done();+ return;+ }+ if (currentSpan) currentSpan.textContent += text[charIdx];+ charIdx++;+ container.scrollTop = container.scrollHeight;+ setTimeout(() => typeChars(text, done, customSpeed), s);+ }++ nextLine();+}++export default function CloudPage(): React.ReactElement {+ const termRef = useRef<HTMLDivElement>(null);+ const [mobileMenuOpen, setMobileMenuOpen] = useState(false);++ useEffect(() => {+ const el = termRef.current;+ if (!el) return;+ const obs = new IntersectionObserver(+ entries => {+ entries.forEach(entry => {+ if (entry.isIntersecting) {+ obs.unobserve(entry.target);+ typeTerminal(el, pairingLines, 22);+ }+ });+ },+ { threshold: 0.3 },+ );+ obs.observe(el);+ return () => obs.disconnect();+ }, []);++ useEffect(() => {+ const reveals = document.querySelectorAll('.lp-reveal');+ const observer = new IntersectionObserver(+ entries => {+ entries.forEach(entry => {+ if (entry.isIntersecting) {+ entry.target.classList.add('lp-revealed');+ observer.unobserve(entry.target);+ }+ });+ },+ { threshold: 0.15 },+ );+ reveals.forEach(el => observer.observe(el));+ return () => observer.disconnect();+ }, []);++ return (+ <>+ <Head>+ <title>Mercury Cloud — Plug-and-play cloud backend for Mercury Agent</title>+ <meta name="description" content="Mercury Cloud is a hosted backend that turns a local Mercury install into a remotely managed, always-on agent. Terminal pairing, auto-rotating JWTs, Cloud WebSocket, shared memory pool, and remote dashboard." />+ <meta property="og:title" content="Mercury Cloud — Plug-and-play cloud backend" />+ <meta property="og:description" content="Pair from the terminal. Stay online forever. No port forwarding, no reverse proxy, no certificates." />+ <meta property="og:type" content="website" />+ <meta property="og:site_name" content="Mercury Agent — Soul-driven" />+ <meta property="og:url" content="https://mercuryagent.sh/cloud" />+ <meta property="og:image" content="https://mercuryagent.sh/img/og/home.png" />+ <meta name="twitter:card" content="summary_large_image" />+ <meta name="twitter:site" content="@mercuryagent" />+ <meta name="twitter:title" content="Mercury Cloud — Plug-and-play cloud backend" />+ <meta name="twitter:description" content="Terminal pairing, auto-rotating JWTs, Cloud WebSocket, shared memory pool, and remote dashboard." />+ <meta name="twitter:image" content="https://mercuryagent.sh/img/og/home.png" />+ <link rel="canonical" href="https://mercuryagent.sh/cloud" />+ </Head>++ <div className="lp-page">+ {/* Navigation */}+ <nav className="lp-nav">+ <div className="lp-nav-inner">+ <Link to="/" className="lp-nav-logo">+ <img src="/img/logo-light.png" alt="Mercury Agent" className="lp-nav-logo-img" />+ Mercury Agent+ </Link>+ <div className={`lp-nav-links ${mobileMenuOpen ? 'lp-nav-links-open' : ''}`}>+ <Link to="/cloud">Mercury Cloud</Link>+ <Link to="/#pillars" onClick={() => setMobileMenuOpen(false)}>Features</Link>+ <Link to="/#live-demo" onClick={() => setMobileMenuOpen(false)}>Demo</Link>+ <Link to="/#channels" onClick={() => setMobileMenuOpen(false)}>Channels</Link>+ <Link to="/#compare" onClick={() => setMobileMenuOpen(false)}>Compare</Link>+ <Link to="/docs" onClick={() => setMobileMenuOpen(false)}>Docs</Link>+ </div>+ <div className="lp-nav-right">+ <a href="https://github.com/cosmicstack-labs/mercury-agent" className="lp-github-btn" target="_blank" rel="noopener">+ <svg viewBox="0 0 16 16" width="16" height="16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" /></svg>+ </a>+ <button className="lp-nav-toggle" onClick={() => setMobileMenuOpen(!mobileMenuOpen)} aria-label="Menu">☰</button>+ </div>+ </div>+ </nav>++ {/* Hero */}+ <section className="lp-hero" style={{ paddingTop: 140, paddingBottom: 60 }}>+ <div className="lp-hero-mesh" />+ <div className="lp-hero-glow" />+ <div className="lp-container lp-hero-content">+ <div className="lp-hero-eyebrow">+ <span className="lp-hero-eyebrow-mark"><img src="/img/logo-light.png" alt="" style={{ width: '100%', height: '100%', objectFit: 'contain', borderRadius: '50%' }} /></span>+ <span className="lp-hero-eyebrow-text">Mercury Cloud · v1.2.0</span>+ <span className="lp-hero-eyebrow-badge">Cloudy Mercury</span>+ </div>+ <h1 className="lp-hero-title">+ Pair from the terminal.<br />+ <span className="lp-hero-highlight">Stay online forever.</span>+ </h1>+ <p className="lp-hero-sub">+ Mercury Cloud is a hosted backend that turns your local agent into a remotely managed,+ always-on assistant. No port forwarding. No reverse proxy. No certificates. Just one command.+ </p>+ <div className="lp-hero-actions">+ <Link to="/docs/cloud/mercury-cloud" className="lp-btn lp-btn-primary">Get Started →</Link>+ <Link to="/docs/releases/1.2.0" className="lp-btn lp-btn-secondary">Release notes</Link>+ </div>+ </div>+ </section>++ {/* Pairing Demo */}+ <section className="lp-section lp-section-dark">+ <div className="lp-container">+ <h2 className="lp-section-title">One Command to Pair</h2>+ <p className="lp-section-sub">No API keys to manage. No firewalls to configure. Just run one command.</p>+ <div className="lp-terminal-window lp-terminal-hero" style={{ maxWidth: 680, margin: '0 auto' }}>+ <div className="lp-terminal-bar">+ <span className="lp-terminal-dot lp-dot-red" />+ <span className="lp-terminal-dot lp-dot-yellow" />+ <span className="lp-terminal-dot lp-dot-green" />+ <span className="lp-terminal-title">mercury cloud connect</span>+ </div>+ <div className="lp-terminal-body" ref={termRef} />+ </div>+ </div>+ </section>++ {/* Features Grid */}+ <section className="lp-section">+ <div className="lp-container">+ <h2 className="lp-section-title">Everything Cloud</h2>+ <p className="lp-section-sub">What you get when you connect.</p>+ <div className="lp-channels-grid lp-reveal">+ <div className="lp-channel-card">+ <div className="lp-channel-header">+ <span className="lp-channel-icon">⚡</span>+ <h3>Plug-and-play setup</h3>+ </div>+ <ul>+ <li>One command pairs your agent: <code>mercury cloud connect</code></li>+ <li>Browser-based pairing URL — no API keys to copy</li>+ <li>No port forwarding, reverse proxy, or DNS needed</li>+ <li>Works behind NAT and firewalls out of the box</li>+ </ul>+ </div>+ <div className="lp-channel-card">+ <div className="lp-channel-header">+ <span className="lp-channel-icon">🔒</span>+ <h3>Self-healing auth</h3>+ </div>+ <ul>+ <li>JWT auto-rotated before expiry via single-use refresh token</li>+ <li>Long-lived agent API key for headless self-recovery</li>+ <li>Never needs browser re-pairing — stays online indefinitely</li>+ <li>Shared token store keeps WS client and provider in sync</li>+ </ul>+ </div>+ <div className="lp-channel-card">+ <div className="lp-channel-header">+ <span className="lp-channel-icon">🧠</span>+ <h3>Collaborative knowledge</h3>+ </div>+ <ul>+ <li>Shared memory pool across all your agents</li>+ <li>Search cross-agent context after local Second Brain retrieval</li>+ <li>5-minute SQLite cache per query to cut network cost</li>+ <li>Fall-open design — cloud misses never block the chat turn</li>+ </ul>+ </div>+ <div className="lp-channel-card">+ <div className="lp-channel-header">+ <span className="lp-channel-icon">🎛️</span>+ <h3>Remote dashboard</h3>+ </div>+ <ul>+ <li>Manage agents from <a href="https://cloud.mercuryagent.sh" target="_blank" rel="noopener">cloud.mercuryagent.sh</a></li>+ <li>Send messages, install skills, view memory remotely</li>+ <li>Monitor agent status and WebSocket health</li>+ <li>Conversation sync across devices</li>+ </ul>+ </div>+ <div className="lp-channel-card">+ <div className="lp-channel-header">+ <span className="lp-channel-icon">📡</span>+ <h3>Cloud WebSocket</h3>+ </div>+ <ul>+ <li>Persistent WSS connection with 30-second heartbeats</li>+ <li>Exponential backoff reconnect (up to 50 attempts)</li>+ <li>Pre-connect token rotation — never handshakes with expired JWT</li>+ <li>Stays alive in background daemon after you exit the terminal</li>+ </ul>+ </div>+ <div className="lp-channel-card">+ <div className="lp-channel-header">+ <span className="lp-channel-icon">🚀</span>+ <h3>Fast & accurate</h3>+ </div>+ <ul>+ <li>Mercury Flash for instant responses</li>+ <li>Mercury Pro for complex reasoning tasks</li>+ <li>Model selection at pairing time — switch later anytime</li>+ <li>OpenAI-compatible API — proven and reliable</li>+ </ul>+ </div>+ </div>+ </div>+ </section>++ {/* Agent Controls */}+ <section className="lp-section lp-section-alt">+ <div className="lp-container">+ <h2 className="lp-section-title">Agent Controls</h2>+ <p className="lp-section-sub">Full control from the CLI and the cloud dashboard.</p>+ <div className="lp-install-steps" style={{ maxWidth: 640 }}>+ <div className="lp-install-step lp-reveal">+ <div className="lp-install-num">1</div>+ <div>+ <h4>Connect</h4>+ <div className="lp-terminal-inline"><code>mercury cloud connect</code></div>+ <p>Pair with Mercury Cloud via browser. Choose your model.</p>+ </div>+ </div>+ <div className="lp-install-step lp-reveal">+ <div className="lp-install-num">2</div>+ <div>+ <h4>Manage remotely</h4>+ <p>Open <a href="https://cloud.mercuryagent.sh" target="_blank" rel="noopener">cloud.mercuryagent.sh</a> to send messages, install skills, view memory, and monitor status.</p>+ </div>+ </div>+ <div className="lp-install-step lp-reveal">+ <div className="lp-install-num">3</div>+ <div>+ <h4>Disconnect anytime</h4>+ <div className="lp-terminal-inline"><code>mercury cloud disconnect</code></div>+ <p>Clears all Cloud credentials and switches back to your offline provider.</p>+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* CTA */}+ <section id="cta" className="lp-section lp-section-dark lp-cta-section">+ <div className="lp-container">+ <h2 className="lp-section-title">Connect Your Agent</h2>+ <div className="lp-cta-terminal">+ <code>mercury cloud connect</code>+ </div>+ <p className="lp-cta-sub">One command. No servers. No ports.</p>+ <div className="lp-cta-links">+ <Link to="/docs/cloud/mercury-cloud">Documentation</Link>+ <Link to="/docs/releases/1.2.0">Release notes</Link>+ <a href="https://github.com/cosmicstack-labs/mercury-agent" target="_blank" rel="noopener">GitHub</a>+ </div>+ </div>+ </section>++ {/* Footer */}+ <footer className="lp-footer">+ <div className="lp-container lp-footer-inner">+ <div>+ <img src="/img/logo-full-light.png" alt="Mercury" className="lp-footer-logo-img" />+ <span className="lp-footer-tagline">by Cosmic Stack</span>+ </div>+ <div className="lp-footer-links">+ <Link to="/cloud">Mercury Cloud</Link>+ <Link to="/docs">Docs</Link>+ <a href="https://github.com/cosmicstack-labs/mercury-agent">GitHub</a>+ </div>+ </div>+ </footer>+ </div>+ </>+ );+}\ No newline at end of filediff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsxindex 2c36c380..598d1347 100644--- a/website/src/pages/index.tsx+++ b/website/src/pages/index.tsx@@ -436,9 +436,11 @@ export default function LandingPage(): React.ReactElement {<nav className="lp-nav"><div className="lp-nav-inner"><Link to="/" className="lp-nav-logo">- <span className="lp-nav-logo-icon">☿</span> Mercury Agent+ <img src="/img/logo-light.png" alt="Mercury Agent" className="lp-nav-logo-img" />+ Mercury Agent</Link><div className={`lp-nav-links ${mobileMenuOpen ? 'lp-nav-links-open' : ''}`}>+ <Link to="/cloud" onClick={() => setMobileMenuOpen(false)}>Mercury Cloud</Link><Link to="/#pillars" onClick={() => setMobileMenuOpen(false)}>Features</Link><Link to="/#live-demo" onClick={() => setMobileMenuOpen(false)}>Demo</Link><Link to="/#channels" onClick={() => setMobileMenuOpen(false)}>Channels</Link>@@ -466,7 +468,7 @@ export default function LandingPage(): React.ReactElement {<div className="lp-hero-eyebrow" aria-label="Mercury Agent — Soul-driven"><span className="lp-hero-eyebrow-mark">☿</span><span className="lp-hero-eyebrow-text">Mercury Agent · Soul-driven</span>- <span className="lp-hero-eyebrow-badge">v1.1.13 · Chatty Mercury</span>+ <span className="lp-hero-eyebrow-badge">v1.2.0 · Cloudy Mercury</span></div><h1 className="lp-hero-title">The AI agent that<br />@@ -478,14 +480,68 @@ export default function LandingPage(): React.ReactElement {Runs 24/7 from your terminal, browser, Telegram, Discord, Slack, or Signal.</p><div className="lp-hero-actions">- <Link href="#live-demo" className="lp-btn lp-btn-primary">See It Work</Link>- <Link to="/docs" className="lp-btn lp-btn-secondary">Get Started</Link>- <Link to="/docs/releases/1.1.13" className="lp-btn lp-btn-ghost">What's new in 1.1.13 →</Link>+ <Link to="/cloud" className="lp-btn lp-btn-primary">Try Mercury Cloud</Link>+ <Link href="#live-demo" className="lp-btn lp-btn-secondary">See It Work</Link>+ <Link to="/docs/releases/1.2.0" className="lp-btn lp-btn-ghost">What's new in 1.2.0 →</Link></div><HeroInstall /></div></section>+ {/* Mercury Cloud Hero Banner */}+ <section id="cloud" className="lp-section lp-section-cloud">+ <div className="lp-container">+ <div className="lp-cloud-banner lp-reveal">+ <div className="lp-cloud-banner-left">+ <div className="lp-cloud-badge">☁ New in 1.2.0</div>+ <h2 className="lp-cloud-title">Mercury Cloud</h2>+ <p className="lp-cloud-lead">+ Pair from the terminal. Stay online forever. Mercury Cloud is a hosted backend that+ keeps your agent reachable over a persistent WebSocket — no port forwarding, no+ reverse proxy, no certificates. Auto-rotating JWTs, long-lived agent API keys for+ headless self-recovery, and a shared memory pool across all your agents.+ </p>+ <div className="lp-cloud-actions">+ <Link to="/cloud" className="lp-btn lp-btn-primary">Explore Mercury Cloud →</Link>+ <Link to="/docs/releases/1.2.0" className="lp-btn lp-btn-ghost">Release notes</Link>+ </div>+ </div>+ <div className="lp-cloud-banner-right">+ <div className="lp-cloud-features">+ <div className="lp-cloud-feature">+ <span className="lp-cloud-feature-icon">⚡</span>+ <div>+ <h4>Plug-and-play setup</h4>+ <p>One command pairs your agent. No servers, no ports, no DNS.</p>+ </div>+ </div>+ <div className="lp-cloud-feature">+ <span className="lp-cloud-feature-icon">🔒</span>+ <div>+ <h4>Self-healing auth</h4>+ <p>JWT + refresh + agent API key. Stays online even after token death.</p>+ </div>+ </div>+ <div className="lp-cloud-feature">+ <span className="lp-cloud-feature-icon">🧠</span>+ <div>+ <h4>Shared memory pool</h4>+ <p>Search across all your agents' memories from the cloud.</p>+ </div>+ </div>+ <div className="lp-cloud-feature">+ <span className="lp-cloud-feature-icon">🎛️</span>+ <div>+ <h4>Remote dashboard</h4>+ <p>Manage agents, install skills, and monitor from the browser.</p>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </section>+{/* Three Pillars */}<section id="pillars" className="lp-section"><div className="lp-container">@@ -869,6 +925,7 @@ export default function LandingPage(): React.ReactElement {<p className="lp-section-sub">Configure one or stack them all. Mercury falls back automatically and tracks which provider last succeeded.</p><div className="lp-provider-grid lp-reveal">{[+ { name: 'Mercury Cloud', desc: 'Hosted backend with plug-and-play pairing. Auto-rotating JWTs, shared memory pool, remote dashboard.', badge: 'NEW' },{ name: 'ChatGPT Web', desc: 'Use your ChatGPT Plus/Pro subscription. OAuth login, no API key.', badge: 'NEW' },{ name: 'GitHub Copilot', desc: 'Your Copilot subscription — access OpenAI, Anthropic, and Google models.', badge: 'NEW' },{ name: 'DeepSeek', desc: 'Cost-effective with strong reasoning. Default provider.' },@@ -902,6 +959,7 @@ export default function LandingPage(): React.ReactElement {</thead><tbody>{[+ ['Mercury Cloud', 'Terminal pairing + WebSocket + shared memory', '—', '—'],['Multi-Agent Orchestration', 'Parallel workers + file locks', '—', '—'],['Loop Detection (Autopilot)', 'Diversity + success analysis', '—', '—'],['Real-Time Progress', 'Single edited status card + pin', '—', '—'],@@ -972,6 +1030,7 @@ export default function LandingPage(): React.ReactElement {</div><p className="lp-cta-sub">60 seconds to your own AI agent.</p><div className="lp-cta-links">+ <Link to="/cloud">Mercury Cloud</Link><Link to="/docs">Documentation</Link><a href="https://github.com/cosmicstack-labs/mercury-agent" target="_blank" rel="noopener">GitHub</a><a href="https://github.com/cosmicstack-labs/mercury-agent/issues" target="_blank" rel="noopener">Report an Issue</a>@@ -983,10 +1042,11 @@ export default function LandingPage(): React.ReactElement {<footer className="lp-footer"><div className="lp-container lp-footer-inner"><div>- <span className="lp-footer-logo">☿ Mercury</span>+ <img src="/img/logo-full-light.png" alt="Mercury" className="lp-footer-logo-img" /><span className="lp-footer-tagline">by Cosmic Stack</span></div><div className="lp-footer-links">+ <Link to="/cloud">Mercury Cloud</Link><Link to="/docs">Docs</Link><a href="https://github.com/cosmicstack-labs/mercury-agent">GitHub</a><a href="https://github.com/cosmicstack-labs/mercury-agent/issues">Issues</a>diff --git a/website/static/img/favicon.svg b/website/static/img/favicon.svgindex 6e099201..62f3e086 100644--- a/website/static/img/favicon.svg+++ b/website/static/img/favicon.svg@@ -1 +1,10 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">☿</text></svg>\ No newline at end of file+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">+ <defs>+ <linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" stop-color="#00d4ff"/>+ <stop offset="100%" stop-color="#a78bfa"/>+ </linearGradient>+ </defs>+ <rect width="32" height="32" rx="8" fill="url(#g)"/>+ <text x="16" y="23" text-anchor="middle" font-size="20" fill="white" font-family="serif">☿</text>+</svg>diff --git a/website/static/img/icon-192.svg b/website/static/img/icon-192.svgnew file mode 100644index 00000000..ceb3b986--- /dev/null+++ b/website/static/img/icon-192.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">+ <defs>+ <linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" stop-color="#00d4ff"/>+ <stop offset="100%" stop-color="#a78bfa"/>+ </linearGradient>+ </defs>+ <rect width="512" height="512" rx="96" fill="url(#g)"/>+ <text x="256" y="360" text-anchor="middle" font-size="320" fill="white" font-family="serif">☿</text>+</svg>diff --git a/website/static/img/icon-512.svg b/website/static/img/icon-512.svgnew file mode 100644index 00000000..ceb3b986--- /dev/null+++ b/website/static/img/icon-512.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">+ <defs>+ <linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" stop-color="#00d4ff"/>+ <stop offset="100%" stop-color="#a78bfa"/>+ </linearGradient>+ </defs>+ <rect width="512" height="512" rx="96" fill="url(#g)"/>+ <text x="256" y="360" text-anchor="middle" font-size="320" fill="white" font-family="serif">☿</text>+</svg>diff --git a/website/static/img/logo-dark.png b/website/static/img/logo-dark.pngnew file mode 100644index 00000000..d115713eBinary files /dev/null and b/website/static/img/logo-dark.png differdiff --git a/website/static/img/logo-full-dark.png b/website/static/img/logo-full-dark.pngnew file mode 100644index 00000000..fb48131aBinary files /dev/null and b/website/static/img/logo-full-dark.png differdiff --git a/website/static/img/logo-full-light.png b/website/static/img/logo-full-light.pngnew file mode 100644index 00000000..4a768f28Binary files /dev/null and b/website/static/img/logo-full-light.png differdiff --git a/website/static/img/logo-light.png b/website/static/img/logo-light.pngnew file mode 100644index 00000000..3cb6ba05Binary files /dev/null and b/website/static/img/logo-light.png differ