mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Transport-agnostic relay server class in quartz that: - Handles EVENT, REQ, CLOSE (NIP-01) and COUNT (NIP-45) commands - Manages subscriptions as coroutines with immediate cancel on CLOSE - Replays stored events then streams live events via SharedFlow - Includes EventStore interface and InMemoryEventStore with support for regular, replaceable, addressable, and ephemeral event semantics - Comprehensive test coverage for all protocol commands and store logic https://claude.ai/code/session_013A1bn4DZUKYtEzZ5BWUXVh