From 09656c8a19bffedb73c19aac1673772748f0136a 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. --- hermes/branding/index.html | 22 +++++++++++----------- hermes/branding/mark-stroke.svg | 8 ++++---- hermes/branding/mark.svg | 12 ++++++------ hermes/index.html | 12 ++++++------ 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/hermes/branding/index.html b/hermes/branding/index.html index cb24e53..a1c4702 100644 --- a/hermes/branding/index.html +++ b/hermes/branding/index.html @@ -57,12 +57,12 @@
@@ -97,23 +97,23 @@
-
+
16 px — simplified stroke variant
-
+
32 px — standard
-
+
64 px — on panel
-
+
on acid green
-
+
amber (unread badge)
diff --git a/hermes/branding/mark-stroke.svg b/hermes/branding/mark-stroke.svg index 4a2b9e0..5891687 100644 --- a/hermes/branding/mark-stroke.svg +++ b/hermes/branding/mark-stroke.svg @@ -1,8 +1,8 @@ Hermes - - - - + + + + diff --git a/hermes/branding/mark.svg b/hermes/branding/mark.svg index ee889b1..9ab5c74 100644 --- a/hermes/branding/mark.svg +++ b/hermes/branding/mark.svg @@ -1,10 +1,10 @@ Hermes - - - - - - + + + + + + diff --git a/hermes/index.html b/hermes/index.html index acfb9f8..a1a0837 100644 --- a/hermes/index.html +++ b/hermes/index.html @@ -33,12 +33,12 @@
- - - - - - + + + + + +