Skip to content

The agent that grows with you

docs(docker): document the full Chromium in every image

ethernet25a22628eaf8
diff --git a/website/docs/user-guide/docker.md b/website/docs/user-guide/docker.md
index 9e0a18564f2..525d3028a3d 100644
--- a/website/docs/user-guide/docker.md
+++ b/website/docs/user-guide/docker.md
@@ -525,7 +525,7 @@ The image uses Debian 13.4 and includes:
- The curated extras `all`, `messaging`, `otlp`, `anthropic`, `bedrock`,
`azure-identity`, and `matrix`. This is not `--all-extras`.
- Node.js 26 and npm from the digest-pinned Node source image.
-- PM-pinned uv, Chromium, Chromium headless shell, FFmpeg, and ripgrep in `/opt/hermes/tools`.
+- PM-pinned uv, full Chromium, FFmpeg, and ripgrep in `/opt/hermes/tools`.
- System Git, OpenSSH, Docker CLI, and Chromium shared libraries.
- Prebuilt TUI/dashboard assets and baked Photon sidecar dependencies.
- s6-overlay for supervision and zombie-process cleanup.
@@ -534,6 +534,12 @@ Chromium is staged through PM, not `npx playwright install`. The build records
its resolved executable in `/etc/hermes/agent-browser-executable-path`.
`PLAYWRIGHT_BROWSERS_PATH` names `/opt/hermes/tools`, outside the data mount.
+Every image, including the unsuffixed (non-`-desktop`) tags, carries the full
+Chromium build rather than Playwright's lighter headless shell: one pinned,
+checksummed browser serves both headless browsing and headed Bot Screen
+sessions. The cost is image size — the full build is larger than the headless
+shell earlier images shipped.
+
Opt-in backend SDKs (Edge TTS, Firecrawl, Exa, platform adapters, plugin
dependencies) install on first use into PM dependency generations under
`/opt/data/installs`, so they survive container recreation and image updates.
diff --git a/website/docs/user-guide/features/bot-screen.md b/website/docs/user-guide/features/bot-screen.md
index 67a0d8f39e3..141c6d2e050 100644
--- a/website/docs/user-guide/features/bot-screen.md
+++ b/website/docs/user-guide/features/bot-screen.md
@@ -108,11 +108,13 @@ Build your own only if you want the packages in a custom image. The official
docker build --build-arg HERMES_BOT_DESKTOP=1 -t hermes-agent:screen .
```
-It adds TigerVNC, the Xfce components and a headed `chromium` (for the dock's
-Browser icon), plus Playwright's headed Chromium build — about **1.4 GB** of
-image (measured: 4.1 GB without the argument, 5.5 GB with it on arm64), of which
-~930 MB is the apt layer. Nothing starts at boot; an image built this way costs
-no memory until a screen is started.
+It adds TigerVNC, the Xfce components and the distro `chromium` (the sandbox
+fallback described under [Browser
+sessions](#browser-sessions-that-survive-the-handoff)) — the apt layer measured
+~930 MB on Debian 13. It adds no second Playwright browser: every image, slim
+or `-desktop`, already carries PM's pinned full Chromium, which can open a
+window. Nothing starts at boot; an image built this way costs no memory until a
+screen is started.
## Using it
@@ -190,20 +192,24 @@ screen does not re-pin the Browser icon. Delete that file and the dock is
rebuilt on the next `screen start` from whatever is installed then.
Which Chromium the dock and the bot use: an explicit
-`AGENT_BROWSER_EXECUTABLE_PATH` wins; otherwise Hermes prefers a system
-`chromium` / `google-chrome` when one is installed, and falls back to the
-Chromium Playwright bundled. The reason for that order is the sandbox: on
-Ubuntu 23.10 and later, `kernel.apparmor_restrict_unprivileged_userns=1` stops
-Playwright's bundled Chromium from setting up its sandbox for a non-root user
-and it exits with `FATAL: No usable sandbox!`, while the distro's Chromium ships
-with an AppArmor profile that allows it. If the pick is wrong for your host, set
-`AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/chromium` (or your Chrome path) in the
-gateway's environment. The official Docker image ships only Playwright's
-*headless shell*, which cannot draw a window, so inside it the dock has no
-Browser icon and the pane / `screen status` report **no headed browser** until
-you install a headed one (`apt-get install chromium`); once one is present the
-dock icon starts it with the same sandbox settings agent-browser uses in that
-container, so the human's Browser and the bot's browser are one and the same.
+`AGENT_BROWSER_EXECUTABLE_PATH` wins; otherwise Hermes uses the PM-managed
+Chromium and falls back to a system `chromium` / `google-chrome`. A non-root
+user on a host with `kernel.apparmor_restrict_unprivileged_userns=1` (Ubuntu
+23.10 and later) gets the reverse order, because there the managed build cannot
+set up its sandbox and exits with `FATAL: No usable sandbox!`, while the
+distro's Chromium ships with an AppArmor profile that allows it. If the pick is
+wrong for your host, set `AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/chromium` (or
+your Chrome path) in the gateway's environment. The official Docker image
+points `AGENT_BROWSER_EXECUTABLE_PATH` at PM's pinned full Chromium, which can
+draw a window, so the dock's Browser icon uses it; the `-desktop` tags also
+carry the distro `chromium` — set
+`AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/chromium` on hosts that refuse the
+pinned build's sandbox. A Playwright *headless shell* is never used for the
+icon: when it is the only browser, the pane / `screen status` report **no
+headed browser** until you install a headed one (`apt-get install chromium`).
+The dock icon starts the browser with the same sandbox settings agent-browser
+uses in that container, so the human's Browser and the bot's browser are one
+and the same.
## CLI
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/docker.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/docker.md
index e75a0f44c16..9905961bdc5 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/docker.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/docker.md
@@ -278,7 +278,7 @@ docker run -d \
- 按提交的 `uv.lock` 同步的 Python 3.14 环境,然后无依赖地安装 Hermes 源码。
- 选定的 extras:`all`、`messaging`、`otlp`、`anthropic`、`bedrock`、`azure-identity` 和 `matrix`,不是 `--all-extras`。
- 从摘要固定的 Node 镜像提供的 Node.js 26 和 npm。
-- PM 固定版本的 uv、Chromium、headless shell、FFmpeg 和 ripgrep,位于 `/opt/hermes/tools`。
+- PM 固定版本的 uv、完整 Chromium、FFmpeg 和 ripgrep,位于 `/opt/hermes/tools`。
- 系统 Git、OpenSSH、Docker CLI 和 Chromium 所需共享库。
- 预构建的 TUI/dashboard 和 Photon sidecar 依赖,以及 s6-overlay。
@@ -286,6 +286,10 @@ Chromium 由 PM 准备,不使用 `npx playwright install`。
实际可执行路径记录在 `/etc/hermes/agent-browser-executable-path`。
`PLAYWRIGHT_BROWSERS_PATH` 指向 `/opt/hermes/tools`,不在数据卷内。
+所有镜像(包括不带 `-desktop` 后缀的标签)都携带完整 Chromium,而不是 Playwright
+更轻量的 headless shell:同一个固定且校验过的浏览器同时服务无头浏览和有界面的
+Bot Screen 会话。代价是镜像体积:完整版比早期镜像附带的 headless shell 更大。
+
可选后端 SDK(Edge TTS、Firecrawl、Exa、平台适配器、插件依赖)在首次使用时安装到
`/opt/data/installs` 下的 PM 依赖代,容器重建和镜像更新后仍然保留;镜像自带的
`/opt/hermes/.venv` 永不修改。每次启动时,容器在服务启动前按新镜像的锁文件重新解析