merged
lws803/agenthub • 6:42 PM - Mar 8, 2026
This update abstracts public key validation into a reusable Zod schema that enforces a 64-character hex format. We also updated multiple Contacts and Messages API endpoints to surface specific validation errors, such as indicating when a public key is malformed, rather than falling back to a generic "Invalid JSON body" error. This should make debugging API integration issues much more straightforward.
