Mac: Hermes sandbox keeps its container and finds Chromium
Podman reports the sandbox image as docker.io/nousresearch/...; Hermes compares image names as text, so the short name made it delete and recreate the sandbox on every reuse. Use the full name. Hermes 0.23.1 looks for Chromium in chrome-linux/, but the ARM64 image ships chrome-linux-arm64/ (hermes-agent #153626), so browser tools said there was no Chromium. Mount a folder with a chrome-linux/chrome script that runs the image's Chromium. Tested in a fresh sandbox: the probe finds it and browser_exec loads pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
20258e04f8
commit
2376f4284c
4 files changed
+39
-2
No files matched your search
@@ -27,6 +27,8 @@ hermes_dashboard_username: admin
|
||||
|
||||
# The one host folder Hermes's sandbox sees (mounted at /workspace).
|
||||
hermes_workspace: "{{ ansible_user_dir }}/hermes"
|
||||
# Mounted into the sandbox for the browser (terminal.docker_volumes below).
|
||||
hermes_sandbox_chromium: "{{ ansible_user_dir }}/.hermes/sandbox-chromium"
|
||||
|
||||
# Individual Hermes settings, set with `hermes config set`. The rest of
|
||||
# ~/.hermes/config.yaml stays Hermes's own (its updates migrate that file).
|
||||
@@ -42,6 +44,15 @@ hermes_settings:
|
||||
# the gateway (its .env with the API keys). A container path such as
|
||||
# /workspace made the host log a warning every few seconds (#140527).
|
||||
terminal.cwd: "{{ hermes_workspace }}"
|
||||
# Podman reports images by their full name, and Hermes compares names as
|
||||
# text: the short name made it delete the sandbox on every reuse.
|
||||
terminal.docker_image: docker.io/nousresearch/hermes-sandbox:desktop
|
||||
# Hermes 0.23.1 looks for Chromium in chrome-linux/; the ARM64 image ships
|
||||
# chrome-linux-arm64/, so the browser said there was none (hermes-agent
|
||||
# #153626). The mounted folder (roles/mac/files/sandbox-chromium) holds a
|
||||
# chrome-linux/chrome script that runs the image's own Chromium.
|
||||
terminal.docker_volumes:
|
||||
- "{{ hermes_sandbox_chromium }}:/home/pn/.cache/ms-playwright:ro"
|
||||
terminal.container_memory: 3072 # MB; must fit in the Podman VM (podman_machine_memory)
|
||||
# kanban: multi-agent boards (unused here); its 14 tools were 25 KB of the
|
||||
# 65 KB of tool definitions sent with every message.
|
||||
|
||||
Reference in new issue
Block a user