mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
The relay server package had 14 top-level files. Group by concern:
- relay/server/ engine + entry points: NostrServer, EventSourceServer,
RelayServerBase, RelaySession, ConnectionRegistry,
RelayServerListener, NegSessionRegistry
- relay/server/backend/ data plane: SessionBackend, EventSource,
EventSourceBackend, LiveEventStore, IngestQueue
- relay/server/policies/ policy model + impls: IRelayPolicy(+PolicyResult) and
RelayLimits move in alongside the existing policies
- relay/server/inprocess/ unchanged
Layering is acyclic: engine -> {backend, policies} -> nip01Core.
This moves three already-published classes (IRelayPolicy, LiveEventStore,
IngestQueue), so external quartz consumers re-import — a source-only change,
no behavior change. In-repo callers (geode) updated. Full quartz + geode
suites green; RELAY.md source map updated.
https://claude.ai/code/session_016YBS2pWCBSDgAMthHzfCTr