What happened
After registration, createSurface messages, renderer function calls and get_renderer_capabilities can see the new catalog. If the processor already holds a catalog with that ID, adding another raises A2uiCatalogError. The method appends to MessageProcessor.catalogs, the processor’s own list; it does not mutate the sequence passed to the constructor.
What the archive adds
This extends the A2UI project’s developer tooling, following its CLI v0.1.0 typesafe component code generator (earlier New Runtime note) and A2UI 1.0’s open generative UI protocol and SDKs. (earlier New Runtime note)
Why it matters
Treat late registration as a change to what subsequent processor work can discover, not as a migration for surfaces already in use. If a surface needs the new catalog, create it after registration.
Skill to build now
Install the PyPI release with pip install a2ui-core==0.7.1.
Reader takeaway
Use MessageProcessor.add_catalog(catalog) when a catalog needs to become available after processor setup. Subsequent createSurface messages, renderer calls and capability queries can see it; surfaces created earlier keep their original catalogs. The method appends to the processor’s own catalog list, not the constructor’s sequence.