mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 08:27:04 +00:00
First feature-layer slice for NIP-29 relay groups, cloning the ephemeral-chat (NIP-C7) pattern and reusing the existing relay-pinned send/subscribe primitives (RelayBasedFilter + signAndSendPrivatelyOrBroadcast) — no new transport. - quartz: GroupId(id, relayUrl) identifier for a relay group (host relay + group id), mirroring ephemChat's RoomId. - commons: RelayGroupChannel — a metadata-backed Channel (like NIP-28's PublicChatChannel) keyed by GroupId, deriving name/picture/about/flags from the relay-signed kind 39000 event and pinning relays() to the single host. - amethyst: filterMessagesToRelayGroup / filterMyMessagesToRelayGroup datasource sub-assemblers — kind 9 + poll timeline scoped by the `h` tag and pinned to the host relay via RelayBasedFilter, mirroring the ephemeral-chat sub-assemblers. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B5MLY4hq5LXJ2D5WeLRyXj