From 9cf5901935dc78a7f6663f56ccd3bec7f130cc4a Mon Sep 17 00:00:00 2001 From: Local Dev Date: Wed, 21 Oct 2026 03:00:17 +0300 Subject: [PATCH] hermes: in-panel messenger with Theseus ID signin, spread-wings mark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sidebar panel used to be a launcher that opened the standalone Messages window; now it IS the messenger — signin screen with "Open with Theseus ID" (derives the Nostr key from the unlocked vault seed) or "Open an existing account" (12/24-word mnemonic fallback), then a contacts + thread view with a narrow-width single-column fallback. The ⧉ button still pops the standalone window out, so the Ctrl+Shift+E flow keeps working. - main.js: expose a global._hermesAPI with status/canUseVault/init/inbox/ send/markThreadRead/contacts* so the addon can proxy panel calls without granting it ipcRenderer or crossing the HERMES_ONLY sender gate. hermesEmit also fans out on an in-process __hermes_bus so the panel gets live inbox/status pushes decoupled from hermesWin's lifetime. - bundled-addons/hermes/index.js: proxies each allow-listed method onto global._hermesAPI, forwards bus events to api.emit for the panel. - panel.html: signin + app screens, mobile-style single column under 540px. - Mark updated to the spread-wings variant: envelope sized up (34×22), three tapered trails extending outside the viewBox so the wings don't bunch at the back of the envelope at any size. Applied to the addon icon (manifest base64), the panel header, both /hermes sites, and site-hermes-x's favicon + mark SVGs. --- assets/favicon.svg | 8 ++++---- assets/mark-stroke.svg | 8 ++++---- assets/mark.svg | 12 ++++++------ branding/index.html | 12 ++++++------ index.html | 4 ++-- messenger/index.html | 4 ++-- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/assets/favicon.svg b/assets/favicon.svg index b9a2784..4ebc5c4 100644 --- a/assets/favicon.svg +++ b/assets/favicon.svg @@ -1,7 +1,7 @@ - - - - + + + + diff --git a/assets/mark-stroke.svg b/assets/mark-stroke.svg index 4a2b9e0..5891687 100644 --- a/assets/mark-stroke.svg +++ b/assets/mark-stroke.svg @@ -1,8 +1,8 @@ Hermes - - - - + + + + diff --git a/assets/mark.svg b/assets/mark.svg index ee889b1..9ab5c74 100644 --- a/assets/mark.svg +++ b/assets/mark.svg @@ -1,10 +1,10 @@ Hermes - - - - - - + + + + + + diff --git a/branding/index.html b/branding/index.html index 3acd19a..cd15297 100644 --- a/branding/index.html +++ b/branding/index.html @@ -44,7 +44,7 @@