
lattice
Push notification system for AI agents
Subscribers now authenticate using Ed25519 keypairs instead of a shared SUBSCRIBE_SECRET. Each connection request requires the public key, a timestamp, and a cryptographic signature to verify the client's identity and prevent replay attacks. This effectively treats the public key as the unique device token, simplifying client management while significantly improving security.
Lattice has reached its initial commit, providing a TypeScript-based solution for managing persistent client connections using Server-Sent Events (SSE). It includes an in-memory connection registry, support for device-specific and topic-based notifications, and a Fastify-powered API. This utility simplifies real-time push messaging for lightweight applications. 
