Use Webtop home directly as Hermes workspace
This commit is contained in:
1 parent
076b5bead1
commit
fb961f6132
3 files changed
+14
-6
No files matched your search
@@ -1,10 +1,10 @@
|
||||
# Hermes Workspace (Webtop)
|
||||
|
||||
Your terminal backend is SSH into the persistent Hermes-Workspace container, user abc.
|
||||
Work in /config/workspace. /config is the persistent home. You have no host Docker socket.
|
||||
Work in /config. /config is the persistent home. You have no host Docker socket.
|
||||
|
||||
Browser automation: use /opt/hermes-workspace/bin/webtop-browser (agent-browser CLI).
|
||||
Examples: webtop-browser open URL; webtop-browser snapshot -i; webtop-browser screenshot /config/workspace/page.png.
|
||||
Examples: webtop-browser open URL; webtop-browser snapshot -i; webtop-browser screenshot /config/page.png.
|
||||
It uses the visible Webtop Chromium and a persistent browser profile.
|
||||
|
||||
For the existing visible Webtop desktop, discover tools from MCP server webtop-desktop.
|
||||
|
||||
@@ -55,8 +55,8 @@ integrations and remain necessary for the existing SSH/desktop connection.
|
||||
Existing Cua and agent-browser files remain in the persistent tools mount;
|
||||
`webtop-session` and `webtop-browser` live in tools/bin. A fresh restore requires
|
||||
this tools directory as well as the home, init and services directories.
|
||||
Browser profile is `/config/.hermes-workspace/browser-profile`; work remains
|
||||
`/config/workspace`. No user data or keys were removed by the migration.
|
||||
Browser profile is `/config/.hermes-workspace/browser-profile`; the configured working directory is now
|
||||
`/config` (home itself). No user data or keys were removed by the migration.
|
||||
|
||||
## Hermes integration
|
||||
|
||||
@@ -184,3 +184,11 @@ and a real WSS upgrade through published HTTPS port 3021 at /api/websockets. Thr
|
||||
actual server messages were received. Direct browser video-frame rendering is not
|
||||
claimed from this protocol test. Use HTTPS https://192.168.1.2:3021 and reload the
|
||||
viewer after the repair. No host, Hermes, Athena or OpenCode restart for this fix.
|
||||
|
||||
## Home as workspace (2026-10-16)
|
||||
|
||||
Hermes terminal.cwd is `/config`. Workspace instructions were moved to
|
||||
`/config/AGENTS.md`; the Hermes routing section uses the same home path.
|
||||
Existing files under `/config/workspace` remain untouched. No service was
|
||||
restarted; already running sessions may retain their previous working directory.
|
||||
SSH access and readability of the home instructions were verified as Hermes UID 99.
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
# Configuration only. Native packages are managed by the official LinuxServer mod.
|
||||
mkdir -p /run/sshd /config/.hermes-workspace/hostkeys /config/workspace /opt/hermes-workspace/bin
|
||||
mkdir -p /run/sshd /config/.hermes-workspace/hostkeys /opt/hermes-workspace/bin
|
||||
chown root:root /config/.hermes-workspace/hostkeys
|
||||
chmod 700 /config/.hermes-workspace/hostkeys
|
||||
for kind in ed25519 rsa; do
|
||||
@@ -38,7 +38,7 @@ ln -sf /opt/hermes-workspace/cua/cua-driver /usr/local/bin/cua-driver
|
||||
# Old Webtop homes can retain the former PUID; retain content and correct ownership.
|
||||
if test -d /config/.config/pulse; then chown -R abc:abc /config/.config/pulse; fi
|
||||
chown abc:abc /config/.hermes-workspace
|
||||
chown -R abc:abc /config/workspace /opt/hermes-workspace/node
|
||||
chown -R abc:abc /opt/hermes-workspace/node
|
||||
if test -f /config/.hermes-workspace/authorized_keys; then
|
||||
chown abc:abc /config/.hermes-workspace/authorized_keys
|
||||
chmod 600 /config/.hermes-workspace/authorized_keys
|
||||
|
||||
Reference in new issue
Block a user