Function: serializeCatalog()
serializeCatalog(
catalog:Catalog):SerializedCatalog
Produce the JSON manifest the client should announce to the agent during
channel handshake. Component entries without an attached schema serialize
to { name } only — useful for letting the agent at least know what's
renderable. Function entries serialize with their parameter schema when
available.