theseus/bundled-addons
Local Dev b5b3e5c1b2 hermes: Nostr kind:0 profiles — display name, picture, about
Peers' chat-list labels now cascade: contact nickname → kind:0 display name →
BNS handle → pk preview. Avatars render as a URL picture when kind:0 carries
one, with initials as fallback. Profiles are fetched on demand (background,
non-blocking) when a new peer pk shows up in the inbox or contact list, and
cached on disk so a cold start renders instantly.

- lib/hermes.js: buildProfileEvent({sk, displayName, picture, about}) emits
  a signed kind:0 with `name` + `display_name` set together (clients vary
  on which they prefer). parseProfileContent(content) handles both.
- main.js: profile cache at <userData>/hermes/profiles.json; auto-fetch
  from HERMES_DEFAULT_RELAYS with a 4 s per-relay cap. hermesPublishEvent
  centralises relay publish (used by profile save; send() retains its
  inlined copy for the DRY-up later). hermesRecord() kicks off a background
  profile fetch the first time a peer is seen; result fires on the
  hermes-profile bus event.
- main.js: _hermesAPI.updateProfile / getProfile. Addon proxies both.
- panel.html: Settings → Profile editor (display name, picture URL, about);
  publishes on save, pre-fills from the cache. Picture validated as http(s).
  labelFor() + avatarFor() centralise the display cascade. Profile state
  lives in state.profiles.
2026-10-21 17:18:07 +03:00
..
aegis Aegis 0.32.3: WizardConnect waits between relay reconnects 2026-10-07 19:17:25 +02:00
blocker feat(theseus): Settings pages have addresses and sub-pages; Privacy regrouped 2026-09-27 22:01:28 +02:00
consent feat(theseus): Settings pages have addresses and sub-pages; Privacy regrouped 2026-09-27 22:01:28 +02:00
docx-editor Theseus: start extensions on first use, Startup switches in Settings 2026-10-03 16:05:32 +02:00
hermes hermes: Nostr kind:0 profiles — display name, picture, about 2026-10-21 17:18:07 +03:00
notepad Theseus: start extensions on first use, Startup switches in Settings 2026-10-03 16:05:32 +02:00
pdf-editor Theseus: start extensions on first use, Startup switches in Settings 2026-10-03 16:05:32 +02:00
pithos Pithos 0.3.23: rename S3 users 2026-10-07 00:17:32 +02:00
screenshot Theseus: start extensions on first use, Startup switches in Settings 2026-10-03 16:05:32 +02:00
translate Theseus: start extensions on first use, Startup switches in Settings 2026-10-03 16:05:32 +02:00
vpn Theseus: start extensions on first use, Startup switches in Settings 2026-10-03 16:05:32 +02:00