Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Docs: correct stale and wrong statements in the self-hosting pages (#6798)
Milind Sonib13b13a923c3
diff --git a/apps/docs/content/docs/getting-started/configuration.mdx b/apps/docs/content/docs/getting-started/configuration.mdxindex 4c68a2c75a..81c634503b 100644--- a/apps/docs/content/docs/getting-started/configuration.mdx+++ b/apps/docs/content/docs/getting-started/configuration.mdx@@ -16,7 +16,7 @@ This is workspace-wide context, not a private note for a single bot. It is store## Engine discovery-MausBot checks the inherited process path, common install locations, and the login shell. If an engine is installed somewhere unusual, open **Settings → Engines** and choose its executable explicitly.+MausBot checks the inherited process path, common install locations, and the login shell. If an engine is installed somewhere unusual, open **Settings → AI → Providers** and choose its executable explicitly.Explicit paths are useful when you:diff --git a/apps/docs/content/docs/getting-started/installation.mdx b/apps/docs/content/docs/getting-started/installation.mdxindex 5118499969..9ec1633b78 100644--- a/apps/docs/content/docs/getting-started/installation.mdx+++ b/apps/docs/content/docs/getting-started/installation.mdx@@ -60,4 +60,4 @@ pnpm dev:desktop## Where data lives-MausBot stores its application data under `~/.openmausbot`. Electron window and browser data use the normal per-platform application data directory.+MausBot stores its application data under `~/.openmausbot`. Workspaces you add are in `~/.openmausbot-profiles/`; once this computer's bots have moved to My Cloud, This Mac's (or This PC's) is there too, as `default`, and `~/.openmausbot` keeps the copy from before the move. On a server, see [Data and backups](/docs/self-hosting/data-and-backups) for the Docker and installer folders. Electron window and browser data use the normal per-platform application data directory.diff --git a/apps/docs/content/docs/mobile/ios-companion.mdx b/apps/docs/content/docs/mobile/ios-companion.mdxindex 89aed4c437..428a6ac51c 100644--- a/apps/docs/content/docs/mobile/ios-companion.mdx+++ b/apps/docs/content/docs/mobile/ios-companion.mdx@@ -40,5 +40,5 @@ Your computer must remain on, awake, and running MausBot. In desktop Companion SThe companion sidecar uses a default-deny route allowlist. Provider keys, pairing administration, Local VM lifecycle, webhook secrets, team import/export, and internal peer-agent routes remain unreachable from the phone.<Callout type="warn" title="Foreground-oriented connection">- Live and replayed events can produce alerts while the companion is connected, but a terminated iOS app cannot be awakened without a future APNs relay.+ Live and replayed events can produce alerts while the companion is connected. A closed app is not woken yet: closed-app push is not available in the phone app.</Callout>diff --git a/apps/docs/content/docs/providers/custom-acp.mdx b/apps/docs/content/docs/providers/custom-acp.mdxindex b37885fed0..10a27f6031 100644--- a/apps/docs/content/docs/providers/custom-acp.mdx+++ b/apps/docs/content/docs/providers/custom-acp.mdx@@ -28,7 +28,7 @@ Add an entry under `"instances"` in `~/.openmausbot/config.json`, then restart tEvery instance needs its own `driver`, `displayName` and `config.cli`. Give `displayName` the name you want to see in the model picker; the per-bot picker lists the instance, not a generic driver name.-You can also set the command without editing the file: **Settings → Engines**, then **Set CLI…** on the instance's row. An instance that has no command yet stays visible with that hint instead of failing on its first message.+You can also set the command without editing the file: **Settings → AI → Providers**, then **Set CLI…** on the instance's row. An instance that has no command yet stays visible with that hint instead of failing on its first message.## Sign in once from a terminaldiff --git a/apps/docs/content/docs/providers/index.mdx b/apps/docs/content/docs/providers/index.mdxindex 016c6c6d53..fe2508ecce 100644--- a/apps/docs/content/docs/providers/index.mdx+++ b/apps/docs/content/docs/providers/index.mdx@@ -60,7 +60,7 @@ For a server deployment, set `MISTRAL_API_KEY` or save `mistral.key` in the servMausBot checks common installation directories and the login shell in the background. Restart the app after installing or authenticating a CLI.-If detection fails, use **Settings → Engines** to set an explicit executable path. This is supported for every engine and is the most reliable solution for version managers, wrappers, custom builds, and Windows installations outside the normal path.+If detection fails, use **Settings → AI → Providers** to set an explicit executable path. This is supported for every engine and is the most reliable solution for version managers, wrappers, custom builds, and Windows installations outside the normal path.## Model selectiondiff --git a/apps/docs/content/docs/providers/model-providers.mdx b/apps/docs/content/docs/providers/model-providers.mdxindex fe6533ba75..625a56f0f2 100644--- a/apps/docs/content/docs/providers/model-providers.mdx+++ b/apps/docs/content/docs/providers/model-providers.mdx@@ -182,7 +182,7 @@ broker, including Full Access. Native Cline tool selection is not supported.The **Anthropic API key** in Connections is for Anthropic only.To run Claude bots on DeepSeek, GLM or another host that speaks Claude-Code's API, add a **custom endpoint** in Settings → Engines, in the Claude+Code's API, add a **custom endpoint** in Settings → AI → Providers, in the Claudecard:- **Add endpoint** takes a name, the host's base URL, its API key and,@@ -226,7 +226,7 @@ DeepSeek, and your Claude bots follow it:Codex bots can also run on an API key instead of a ChatGPT sign-in:-1. Open **Settings → Engines** and expand the Codex/ChatGPT card.+1. Open **Settings → AI → Providers** and expand the Codex/ChatGPT card.2. Under **Codex direct API**, choose **Add endpoint**.3. Leave the base URL empty for OpenAI, or enter another gateway's URL, suchas `https://gateway.example.com/v1`.diff --git a/apps/docs/content/docs/providers/troubleshooting.mdx b/apps/docs/content/docs/providers/troubleshooting.mdxindex 7279f3e840..925861a4fa 100644--- a/apps/docs/content/docs/providers/troubleshooting.mdx+++ b/apps/docs/content/docs/providers/troubleshooting.mdx@@ -9,7 +9,7 @@ icon: Wrench1. Open a terminal and run the CLI directly.2. Confirm the command is an executable, not only a shell alias or function.3. Restart MausBot after installation.-4. Set the exact executable in **Settings → Engines** if automatic detection still fails.+4. Set the exact executable in **Settings → AI → Providers** if automatic detection still fails.Desktop applications often inherit a different environment than a terminal. This is common on Windows shortcuts, macOS Finder launches, and Linux application menus.diff --git a/apps/docs/content/docs/self-hosting/connected-servers.mdx b/apps/docs/content/docs/self-hosting/connected-servers.mdxindex b9ed5ad854..8c60cb4b22 100644--- a/apps/docs/content/docs/self-hosting/connected-servers.mdx+++ b/apps/docs/content/docs/self-hosting/connected-servers.mdx@@ -44,7 +44,7 @@ Three things to know:- **Not on the list, so refused:** `export-disk` (uploads an archive of the data to MausBot) and `import-disk` (replaces the data with an archive from elsewhere). They exist in the connector for servers MausBot operates itself.- **`update` only moves forward.** An image whose version is older than the one your server runs, or that names no version, is refused: once by the connector, and again by the updater's runner on your server, outside any container. MausBot cannot roll your server back to an earlier release. A second floor, the first release with the hardened profile, is **planned**: no release has that profile yet.-- **`update` needs your updater.** It works only when `update.sh` is in `/opt/openmausbot` and the connector's installer has set up the small systemd unit that runs it. Without either, the job is refused and nothing changes. A server installer that puts `update.sh` there is not released yet: **planned**.+- **`update` needs your updater.** It works only when `update.sh` is in `/opt/openmausbot` and the connector's installer has set up the small systemd unit that runs it. Without either, the job is refused and nothing changes. The [server installer](/docs/self-hosting/deploy-vps) puts `update.sh` there.## What only you can do: two more jobsdiff --git a/apps/docs/content/docs/self-hosting/data-and-backups.mdx b/apps/docs/content/docs/self-hosting/data-and-backups.mdxindex c67ac3197d..bccb2c0f9c 100644--- a/apps/docs/content/docs/self-hosting/data-and-backups.mdx+++ b/apps/docs/content/docs/self-hosting/data-and-backups.mdx@@ -4,29 +4,30 @@ description: Know what MausBot stores locally and what to preserve.icon: DatabaseBackup----MausBot keeps its application state under `~/.openmausbot`, including configuration, transcripts, message attachments, device pairing state, and the SQLite message store.+MausBot keeps its application state in its data folder, including configuration, transcripts, message attachments, device pairing state, and the SQLite message store. Where that folder is:-## Copy from the desktop app+- The desktop app and an npm install: `~/.openmausbot` (`OMB_DATA_DIR` names another). In the desktop app, workspaces you add are in `~/.openmausbot-profiles/` (`<that folder>-profiles` with `OMB_DATA_DIR`); once this computer's bots have moved to My Cloud, This Mac's (or This PC's) is there too, as `default`, and `~/.openmausbot` keeps the copy from before the move.+- The Docker image: `/data/.openmausbot` inside the container, on its `data` volume (named `deploy_data` with path B's `deploy/docker-compose.yml`, `openmausbot_data` with the repository's root `compose.yaml`).+- A server set up with the installer: `/opt/openmausbot/data/.openmausbot` on the server, a folder rather than a volume.++## Move from the desktop appTo bring your computer's bots and chats to a server you run, use the desktop-app: connect the server with **+ → Connect to a server**, then choose **Copy this-computer here** on its row (an empty server also offers it on its own page, and-its **Settings → Import & export** has **Import from this computer**; both bring you to-that button). There is no file-and no password to handle: the app uploads the encrypted workspace backup-directly, continues where a dropped connection left it, backs up what the-server had (so **Swap back** can put it back), and the server restarts itself-to install it. API keys and sign-ins stay where they are; routines arrive-paused. It needs the desktop app paired with an owner code, and a server whose-email sign-in lets someone besides you in never receives one. Copying again-replaces the backup **Swap back** would put back; the app says so first.--`openmausbot serve`, `openmausbot service install` and the Docker and Podman-images start the server again on their own after the copy; a server you-started some other way finishes installing it at its next start.--Export and import below stay for recovery, and for servers with no desktop app-nearby.+app: connect the server with **+ → Connect to a server**, then choose+**Make … my home** (with the server's name) in that server's menu on the rail,+or under **Settings → Phone & devices → Always-on home → Add a Mac mini or other+always-on computer** (on this computer's own page). It moves this computer's+bots, chats, memory and routines to the server, and this computer then works+for it. Bots' Data tables do not move.++The move is one-way: this computer's own server stops for good, there is no+button to move back, and the copy here is kept, frozen. It is offered only for+a server where nobody but you signs in, where this app is signed in as its+owner, and that runs a version new enough to take the move; and not while, or+after, this computer's bots move to My Cloud.++To copy instead of moving, or for a server with no desktop app nearby, use+export and import below.## Export and import in Settings@@ -99,6 +100,8 @@ copies. Shareable team templates remain separate from full backups.reconnect on the new machine; destination credentials remain untouched.- VM/container disk layers and remote Boat/VPS files. Durable mounted filesinside the workspace data directory are included, but the VM itself is not.+- Bots' Data tables (`bots/<id>/data.duckdb` and its working files in the data+ folder). A filesystem-level backup taken with the server stopped includes them.- Other fleet workspaces, downloaded tools, caches, running processes, andactive device sessions. Existing destination pairing and server identity stayin place; moving to a new server requires pairing with that server.diff --git a/apps/docs/content/docs/self-hosting/deploy-vps.mdx b/apps/docs/content/docs/self-hosting/deploy-vps.mdxindex 3028b7e42b..c9d48fc6ae 100644--- a/apps/docs/content/docs/self-hosting/deploy-vps.mdx+++ b/apps/docs/content/docs/self-hosting/deploy-vps.mdx@@ -52,10 +52,10 @@ If Docker is missing, the installer asks before installing it with Docker's offi| Path | What ||---|---|| `compose.yaml`, `Caddyfile` | the same server-plus-Caddy setup as path B, Caddy in its own container reaching the server over a socket; written again on every run |-| `.env` | your settings: `DOMAIN`, the pinned version (`OMB_IMAGE`) and anything you add, such as [who may sign in with an email](/docs/self-hosting). The installer keeps your lines |+| `.env` | your settings: `DOMAIN`, the pinned version (`OMB_IMAGE`) and anything you add, such as who may sign in with an emailed code (`OMB_SIGNIN_EMAILS`, `OMB_SIGNIN_MEMBER_EMAILS`; see [Sign in with your email](https://github.com/milind-soni/OpenMausBot/blob/main/docs/self-hosting.md#sign-in-with-your-email)). The installer keeps your lines || `data/` | everything MausBot stores: chats, bots, engine sign-ins, paired devices. Never touched once it exists || `caddy/` | the HTTPS certificates |-| `update.sh` | the update command, once this repository has it (see below) |+| `update.sh` | the update command (see below) || `compose.box.yaml`, `box/` | the sandbox's settings and the files that prepare the server for it |`update.sh` and the sandbox's files are this repository's own, taken from the tag of the version being installed so they match it, and from `main` only when that tag does not have them. The installer says which it used.@@ -72,7 +72,7 @@ cd /opt/openmausbot && sudo docker compose exec omb openmausbot pair --label "FiOpen the link it prints, or paste it into the desktop app under **+ → Connect to a server**. To sign in with an emailed code instead, run the installer with `--email [email protected]`.-- **Update:** `sudo /opt/openmausbot/update.sh`, which backs the data up, checks the new version's health and puts the old one back if it fails. The installer places it once this repository has it and prints the command when it finishes; until then, running the install command again moves to the newest release. `update.sh` pins the version by digest in `.env`, and a later run of the installer keeps that pin.+- **Update:** `sudo /opt/openmausbot/update.sh`, which backs the data up, checks the new version's health and puts the old one back if it fails. The installer places it and prints the command when it finishes. `update.sh` pins the version by digest in `.env`, and a later run of the installer keeps that pin.- **Repair:** run the install command again. It checks the server, rewrites its own files and leaves `.env` and `data/` alone. That also moves an install made before Caddy got its own container: Caddy then shared the server's network, and HTTPS went down whenever the server restarted without it.- **Stop:** `--uninstall` stops the server and removes its containers. It deletes nothing: your data stays in `/opt/openmausbot/data`.- **Every other command in this guide** that starts `docker compose` for path B works from `/opt/openmausbot`.@@ -95,27 +95,9 @@ Three ways to make the server reachable are covered. Pick one; the rest of the gWhichever you pick, the login is the same: you **pair** each device once with a short code and it stays signed in. A session lasts 30 days; using it with half that or less left renews it to a full 30, up to 180 days from pairing (`OMB_SESSION_TTL_DAYS` and `OMB_SESSION_MAX_DAYS` change both numbers). There is no password.-## Hetzner launch check (2026-09-07)--Path A was exercised on a blank Hetzner CX43 (x86-64, Ubuntu 24.04), using-Node 24.20.0 and Codex 0.153.4. The published 0.1.60 baseline was followed by-local candidate fixes from this change; these results do not certify the-unmodified published 0.1.60 package.--The paired web UI completed a real GPT-6-Astra chat, two automatically-scheduled routine runs, and a browser title/screenshot test. The browser-needed the Ubuntu sandbox setup below. A full reboot restored the service-and managed tunnel automatically; the existing paired device, bots, chats,-and paused schedule remained available. A new real chat turn also succeeded.--A stopped application-data backup restored with matching file hashes and-SQLite integrity. The restored copy was not started; provider reauthentication-and browser-login migration were not tested. Docker, Tailscale, ARM64, other-providers, and capacity limits were outside this run.-## What runs on a server, and what does not-Runs fully on the server: every engine CLI (Claude Code, Codex, Grok, custom ACP engines), chats, rooms, bot-to-bot coordination, routines, connected apps and custom MCP servers, webhooks, Company Brain, computer use on cloud or container computers, text-to-speech, and the web UI (the server serves it itself).+Runs fully on the server: every engine CLI (Claude Code, Codex and others), chats, rooms, bot-to-bot coordination, routines, connected apps and custom MCP servers, webhooks, Company Brain, computer use on cloud computers (container computers only where the server itself can reach Docker or Podman, which the published Docker image cannot; see [Local VM](/docs/computers/local-vm)), text-to-speech, and the web UI (the server serves it itself).Needs the desktop app instead: dictation and controlling the server's own desktop. Bots browse on a server too, once the browser engine is installed (below).@@ -185,19 +167,25 @@ The [installer](#quick-start-one-command-on-your-own-domain) does these steps fo```shgit clone https://github.com/milind-soni/OpenMausBot && cd OpenMausBot/deploycp .env.example .env- nano .env # DOMAIN=maus.example.com ; ENGINES=@anthropic-ai/claude-code @openai/codex+ nano .env # DOMAIN=maus.example.com```- `ENGINES` lists the engine CLIs baked into your image, separated by spaces. Change it later and rebuild if you add one.+ `ENGINES` in `.env` is read only when you build the image yourself (`docker compose up -d --build`): it lists the engine CLIs baked into that image, separated by spaces. The published image that `docker compose pull` fetches has none of them; install and sign in your engines from **Settings → AI → Providers** once you have paired.4. **Start it:**+ Pin a released version before the first start, so a build of `main` (the+ `latest` image) never writes your data. Replace `vX.Y.Z` with the newest+ version on [the releases page](https://github.com/milind-soni/OpenMausBot/releases/latest):+```sh+ echo "OMB_IMAGE=ghcr.io/milind-soni/openmausbot:vX.Y.Z" >> .envdocker compose pull omb && docker compose up -d- ./update.sh # move to the stable version (see "Update")docker compose ps # omb "healthy", caddy "running"```+ `./update.sh` later moves it forward and pins it by digest (see "Update").+Caddy requests the certificate on its own; give it a minute. Then `https://maus.example.com` shows a page asking for a pairing code. That is correct: nothing works until you pair.In this path, every `npx openmausbot …` command below is run inside the container instead:@@ -272,8 +260,9 @@ claudeFor Codex, use `@openai/codex` as the npm package and run `codex login --device-auth`to sign in from a headless server. Complete the CLI's account flow in your browser. Repeat only for the-engines you use. For path B, run the installed CLI inside the container, for-example `docker compose exec omb claude`.+engines you use. For path B, install and sign in each engine from **Settings →+AI → Providers** (**Install … here**), which puts it on the data volume; the+published image has no engine CLI of its own to run with `docker compose exec`.Engine logins belong to the service user's home (for example `~/.codex` and`~/.claude`), separately from MausBot's `~/.openmausbot`. Keep that home when@@ -356,14 +345,21 @@ same release without an npm install prompt or an implicit upgrade.## Update-A self-hosted server follows the **stable** channel: a released version that-MausBot's own Clouds have run for 48 hours first. The image tag `stable` and-[`stable.json`](https://raw.githubusercontent.com/milind-soni/OpenMausBot/channels/stable.json)-name it. The tag `latest` follows every change on `main`; it is for trying-things out, not for a server you rely on. **Check for updates** in the app-compares your server with the stable version. To hear of every release as soon-as it is published instead, set `OMB_UPDATE_CHANNEL=newest` in the server's-environment.+A self-hosted server is set to follow the **stable** channel: a released+version that MausBot's own Clouds have run for 48 hours first, named by the+image tag `stable` and+[`stable.json`](https://raw.githubusercontent.com/milind-soni/OpenMausBot/channels/stable.json).+Until a first version is made stable, that tag and that file do not exist,+and **Check for updates**, `update.sh` and the installer all take the newest+release instead. The tag `latest` follows every change on `main`; it+is for trying things out, not for a server you rely on. **Check for updates**+in the app compares your server with the stable version, or with the newest+release until there is one. To hear of every release as soon as it is+published instead, set `OMB_UPDATE_CHANNEL=newest` in the server's+environment: an `Environment=` line in the systemd unit for paths A and C.+Neither Compose file passes it from `.env`: for path B, add it under the `omb`+service's `environment:` in `docker-compose.yml`; the installer's+`compose.yaml` is written again on every run.### From the app: Update server@@ -593,7 +589,7 @@ If you built the image yourself (`docker compose up -d --build`, withkeep updating with `git pull && docker compose up -d --build`, or move to thepublished image with `./update.sh --replace-local-build`. Building needs about 6 GB of memory:on a smaller server, add swap first or use the published image. Engines you install-from **Settings → Engines** live on the data volume and survive either way.+from **Settings → AI → Providers** live on the data volume and survive either way.### Paths A and C (npm with the service above): the same steps by hand@@ -601,7 +597,10 @@ There is no one-command updater for an npm install yet. Do what the scriptdoes: copy the data first, install one named version, check it, and keep theway back. Take the stable version number from[`stable.json`](https://raw.githubusercontent.com/milind-soni/OpenMausBot/channels/stable.json)-(`"version"`), and note the one you run now (`openmausbot --version`). From+(`"version"`); until a first version is made stable that file does not exist,+so take the newest one on+[the releases page](https://github.com/milind-soni/OpenMausBot/releases/latest)+instead. Note the one you run now (`openmausbot --version`). Fromthe administrator shell, replacing `X.Y.Z`:```sh@@ -717,9 +716,9 @@ its own.Read this before putting anything else in front of the server.-- The server only ever listens on loopback (`127.0.0.1:8799`). Never publish that port yourself. The tunnel, Caddy and Tailscale each reach it from the same machine; path B's Caddy, in its own container, reaches it over a Unix socket (`OMB_TUNNEL_SOCKET`), and a request on that socket always counts as a remote one.+- The server listens only on loopback (`127.0.0.1:8799`), with two exceptions. Started with `--lan` (or `OMB_LAN=1`), it also listens on this machine's network addresses over plain http and drops every connection from a public address; none of the paths here uses it. With `--tailscale`, when `tailscale serve` cannot front it (HTTPS certificates off for the tailnet, no operator permission, or that name already fronting another server), it listens on its own tailnet addresses over plain http instead, which only your tailnet reaches and WireGuard encrypts. Never publish that port yourself. The tunnel, Caddy and Tailscale each reach it from the same machine; path B's Caddy, in its own container, reaches it over a Unix socket (`OMB_TUNNEL_SOCKET`), and a request on that socket always counts as a remote one.- A request that arrives through a proxy or the tunnel is treated as remote and needs a session, whatever headers it carries. A proxy of your own (nginx, Traefik, Cloudflare Tunnel) must forward the real `Host` and add `X-Forwarded-For` and `X-Forwarded-Proto`, must not buffer the event stream, and must **not** rewrite `Host` to `127.0.0.1`.-- Pairing is the login. Want a second wall in front of it? Path B's `Caddyfile` has a commented `basic_auth` block for a shared password.+- Pairing is the login. Caddy adds no password: a `basic_auth` block would need variables neither Compose file passes to Caddy, the installer rewrites its `Caddyfile` on every run, and a password at Caddy would also refuse clients that send their own `Authorization` header. For a second wall, use path C or a firewall.- The session cookie is marked `Secure`; do not serve this over plain HTTP on the public internet.- The one thing a stranger can read is `/.well-known/openmausbot/environment` (the server's id, label, version, capabilities) and `/api/health` (only the app name). Everything else answers "pair this device".diff --git a/apps/docs/content/docs/self-hosting/index.mdx b/apps/docs/content/docs/self-hosting/index.mdxindex 3c12db04a7..9b8f605887 100644--- a/apps/docs/content/docs/self-hosting/index.mdx+++ b/apps/docs/content/docs/self-hosting/index.mdx@@ -42,14 +42,20 @@ Stop the server before a filesystem backup. Application state under `.openmausbo## What is still third party-Self-hosting MausBot does not self-host every optional provider:+Self-hosting MausBot does not self-host every service it talks to. A standalone server, or its web UI, contacts these:- Agent providers authenticate and bill through their own CLI or API.-- Composio owns connected-app OAuth grants unless you replace that integration.+- Composio owns connected-app OAuth grants. MausBot's connected-apps service serves only the desktop app and MausBot's Clouds; a server you run yourself needs your own Composio project key, in **Settings → AI → Other services**.+- The MausBot account service (`accounts.openmausbot.com`) sends emailed sign-in codes unless you set your own mail server (`OMB_SIGNIN_SMTP_URL`), reserves the `serve --tunnel` address, and signs a server in to MausBot Relay for phones (`OMB_PHONE_RELAY`).+- Cloudflare carries path A's traffic: `serve --tunnel` is a Cloudflare tunnel.+- GitHub answers update checks (the release list and the stable channel's file), and by default serves the model list, refreshed about hourly (`OMB_DISABLE_MODEL_MANIFEST_FETCH=1` turns it off), and the announcements feed (`OMB_DISABLE_ANNOUNCEMENTS=1`).+- PostHog receives usage analytics from the web UI, on unless each person turns it off under **Settings → General → Privacy** (shown in Advanced mode). [Analytics](/docs/security/analytics) lists what is sent.+- The npm registry serves engine installs and a Codex version check; on an npm install, Google's `storage.googleapis.com` serves the bots' Chrome for Testing.+- MausBot's own page publishing and sharing to the community go through MausBot from a Cloud or the desktop app only; a standalone server does not offer them.- Boat owns managed cloud computers.- ElevenLabs or Fish Audio synthesizes speech when its hosted voice engine is enabled. On Windows and Linux, Fish Audio also turns what you say into text for Take turns calls and dictation.-These services are optional. Local chat through a locally installed agent CLI does not require them.+Local chat through a locally installed agent CLI needs none of the optional ones, but the model list, announcements and analytics are contacted by default until switched off as above.## Run headless during developmentdiff --git a/apps/docs/content/docs/troubleshooting/logs.mdx b/apps/docs/content/docs/troubleshooting/logs.mdxindex 5bf59c0046..381fc21be5 100644--- a/apps/docs/content/docs/troubleshooting/logs.mdx+++ b/apps/docs/content/docs/troubleshooting/logs.mdx@@ -13,6 +13,8 @@ the folder in Explorer or Finder and shows its path.| **App logs** | `%APPDATA%\OpenMausBot\logs` (that is `C:\Users\<you>\AppData\Roaming\OpenMausBot\logs`) | `~/Library/Logs/OpenMausBot` | `~/.config/OpenMausBot/logs` || **Bots, chats and their history** | `%USERPROFILE%\.openmausbot` (`C:\Users\<you>\.openmausbot`) | `~/.openmausbot` | `~/.openmausbot` |+Workspaces you add are in `.openmausbot-profiles`, next to `.openmausbot`; once this computer's bots have moved to My Cloud, This Mac's (or This PC's) is there too, as `default`, and `.openmausbot` keeps the copy from before the move.+In the app logs folder:- **`server.log`**: the app's own messages and everything MausBot's local serverdiff --git a/deploy/.env.example b/deploy/.env.exampleindex 5ea06092de..f781ee98df 100644--- a/deploy/.env.example+++ b/deploy/.env.example@@ -2,9 +2,10 @@# Pairing links (`docker compose exec omb node dist-server/pair-cli.js`) point here.DOMAIN=maus.example.com-# Engine CLIs baked into the image at build time (space-separated npm packages).-# Sign in afterwards with: docker compose exec omb claude (etc.)-ENGINES=@anthropic-ai/claude-code+# Read only when you build the image yourself (docker compose up -d --build):+# engine CLIs baked into it (space-separated npm packages). The published image+# has none; install and sign in engines from Settings → AI → Providers instead.+ENGINES=# Optional: let people sign in with an emailed code instead of a pairing# code. Addresses or @domain entries, comma-separated. Admins get full@@ -19,8 +20,11 @@ OMB_SIGNIN_MEMBER_EMAILS=OMB_SIGNIN_SMTP_URL=OMB_SIGNIN_SMTP_FROM=-# The server image this install runs. `./update.sh` writes this line: the stable-# version, pinned by digest. Leave it out to follow `latest` (every main push).+# The server image this install runs. Before the first start, name a release+# (the newest on the releases page), so a build of main never writes your data:+# OMB_IMAGE=ghcr.io/milind-soni/openmausbot:vX.Y.Z+# `./update.sh` later rewrites this line, pinned by digest. Leave it out to+# follow `latest` (every main push).# OMB_IMAGE=# Optional: "1" lets the MausBot phone app pair by QR through MausBot Relay,diff --git a/deploy/Caddyfile b/deploy/Caddyfileindex c20bcbff92..a4db54afd0 100644--- a/deploy/Caddyfile+++ b/deploy/Caddyfile@@ -18,12 +18,10 @@}handle {- # Optional second wall in front of pairing (a shared password):- # basic_auth {- # {$BASIC_AUTH_USER} {$BASIC_AUTH_HASH}- # }- # and set both variables in .env (hash with `caddy hash-password`,- # every `$` doubled for Compose).+ # No password here: pairing is the login. A basic_auth block would need+ # variables neither Compose file passes to Caddy, the installer rewrites+ # this file on every run, and it would refuse clients that send their own+ # Authorization header. For a second wall, use a tailnet or a firewall.reverse_proxy unix//run/openmausbot/http.sock {# SSE: stream events as they arriveflush_interval -1diff --git a/deploy/install.sh b/deploy/install.shindex a4e21d1cf2..65202d567b 100755--- a/deploy/install.sh+++ b/deploy/install.sh@@ -715,12 +715,10 @@ write_caddyfile() {}handle {- # Optional second wall in front of pairing (a shared password):- # basic_auth {- # {$BASIC_AUTH_USER} {$BASIC_AUTH_HASH}- # }- # and set both variables in .env (hash with `caddy hash-password`,- # every `$` doubled for Compose).+ # No password here: pairing is the login. A basic_auth block would need+ # variables neither Compose file passes to Caddy, the installer rewrites+ # this file on every run, and it would refuse clients that send their own+ # Authorization header. For a second wall, use a tailnet or a firewall.reverse_proxy unix//run/openmausbot/http.sock {# SSE: stream events as they arriveflush_interval -1diff --git a/deploy/update.sh b/deploy/update.shindex e25541be16..1c53c0e17f 100755--- a/deploy/update.sh+++ b/deploy/update.sh@@ -497,12 +497,10 @@ installer_caddyfile() {}handle {- # Optional second wall in front of pairing (a shared password):- # basic_auth {- # {$BASIC_AUTH_USER} {$BASIC_AUTH_HASH}- # }- # and set both variables in .env (hash with `caddy hash-password`,- # every `$` doubled for Compose).+ # No password here: pairing is the login. A basic_auth block would need+ # variables neither Compose file passes to Caddy, the installer rewrites+ # this file on every run, and it would refuse clients that send their own+ # Authorization header. For a second wall, use a tailnet or a firewall.reverse_proxy unix//run/openmausbot/http.sock {# SSE: stream events as they arriveflush_interval -1diff --git a/docs/deploy-vps.md b/docs/deploy-vps.mdindex bfc6696525..c46d5a77d6 100644--- a/docs/deploy-vps.md+++ b/docs/deploy-vps.md@@ -708,7 +708,7 @@ Read this before putting anything else in front of the server.- The server only ever listens on loopback (`127.0.0.1:8799`). Never publish that port yourself. The tunnel, Caddy and Tailscale each reach it from the same machine; path B's Caddy, in its own container, reaches it over a Unix socket (`OMB_TUNNEL_SOCKET`), and a request on that socket always counts as a remote one.- A request that arrives through a proxy or the tunnel is treated as remote and needs a session, whatever headers it carries. A proxy of your own (nginx, Traefik, Cloudflare Tunnel) must forward the real `Host` and add `X-Forwarded-For` and `X-Forwarded-Proto`, must not buffer the event stream, and must **not** rewrite `Host` to `127.0.0.1`.-- Pairing is the login. Want a second wall in front of it? Path B's `Caddyfile` has a commented `basic_auth` block for a shared password.+- Pairing is the login. Caddy adds no password: a `basic_auth` block would need variables neither Compose file passes to Caddy, the installer rewrites its `Caddyfile` on every run, and a password at Caddy would also refuse clients that send their own `Authorization` header. For a second wall, use path C or a firewall.- The session cookie is marked `Secure`; do not serve this over plain HTTP on the public internet.- The one thing a stranger can read is `/.well-known/openmausbot/environment` (the server's id, label, version, capabilities) and `/api/health` (only the app name). Everything else answers "pair this device".diff --git a/docs/self-hosting.md b/docs/self-hosting.mdindex 7ccfe8ec86..561ba05b28 100644--- a/docs/self-hosting.md+++ b/docs/self-hosting.md@@ -521,8 +521,9 @@ What the stack does, so you can adapt it:left Caddy refusing HTTPS in the old one while both showed healthy.- [`deploy/Caddyfile`](../deploy/Caddyfile) terminates TLS and forwardsthe real `Host` plus `X-Forwarded-For`/`X-Forwarded-Proto`; the server's- own pairing is the login. A shared-password `basic_auth` block is there,- commented out, if you want a second wall in front of pairing.+ own pairing is the login. It adds no password: a Caddy password would+ refuse clients that send their own `Authorization` header. For a second+ wall, use a tailnet or a firewall.Update with `git pull && ./update.sh`: it copies the data aside, starts thestable version, and puts the old version and the data back if the new onediff --git a/server/model-providers-docs.test.ts b/server/model-providers-docs.test.tsindex 79355361a1..9bc3428910 100644--- a/server/model-providers-docs.test.ts+++ b/server/model-providers-docs.test.ts@@ -116,7 +116,7 @@ describe("Claude Code section", () => {expect(entry.config.endpointModels).toEqual(["deepseek-chat"]);const text = section("### Claude Code");- expect(text).toContain("add a **custom endpoint** in Settings → Engines, in the Claude card");+ expect(text).toContain("add a **custom endpoint** in Settings → AI → Providers, in the Claude card");expect(text).toContain("It never reads or writes this computer's `~/.claude`, and the Claude Code on this computer keeps its own sign-in.");expect(text).toContain("Each bot can choose a different model from the endpoint's catalog.");expect(text).toContain("The token is saved in MausBot's own `config.json` and sent only to the base URL you enter. Removing an endpoint removes only that entry.");