AITMONDO

a2ui-core 0.7.1 adds catalog registration after initialization

Two displays stand on a platform. The left shows teal components. The right also shows the yellow and orange component from the tray in front.
Conceptual illustration of how a new surface can use an added catalog while an existing surface keeps its original catalog. Illustration by AITMONDO (AI-generated).

The a2ui-project released version 0.7.1 of the Python package a2ui-core on November 23. A component catalog can be added after the object that processes messages has been created.

In a2ui-core 0.7.1, a catalog can be added after the processor is created. Existing surfaces keep their original catalogs, and adding one with an already registered ID raises an error.
AITMONDO graphic based on primary sources.

New surfaces can use the added catalog

The release adds the MessageProcessor.add_catalog method. After a catalog is added, messages that create surfaces, renderer function calls and queries about renderer capabilities can use it. Surfaces created before the addition keep the catalogs they were created with.

Duplicate IDs raise an error, and the package is on PyPI

Adding a catalog with an ID already registered raises A2uiCatalogError. The method adds the catalog to the processor’s own list, leaving the original sequence passed during initialization unchanged. Version 0.7.1 was also published to PyPI, the Python package index.

Primary sources