Problem 1 to Fix 1
Only 44 elements recognized out of 130+ available.
The Breakdance adapter had a hardcoded list of 44 elements with no descriptions, no property information, and no category organization. AI agents had no way to discover the full range of available elements or understand their capabilities. Advanced elements like AdvancedAccordion, ContentToggle, and WooCommerce components were entirely missing.
-
What the user experienced
AI could only work with basic elements. Asking it to create an accordion, slider, or WooCommerce product grid resulted in unknown element types or generic fallbacks.
-
Why it happened
No element registry existed. The adapter returned a flat array of names without types, properties, or categories. No runtime detection of available elements.
-
What shipped
84-element registry with dual detection: runtime API via Breakdance's ElementRegistry when available, hardcoded fallback with full metadata. 7 categories, EssentialElements\\ namespace, per-element properties.
-
Benefit
AI knows every element Breakdance offers, its category, description, and properties. WooCommerce elements are conditionally available. 24-hour transient caching keeps it fast.
Element awareness comparison
AI asks which elements are available for building a page
Returns 44 elements with name only
AdvancedAccordion, ContentToggle, ProductBuilder missing
AI can only use basic elements. No descriptions, no properties, no categories.
Returns 84 elements with full metadata
Every element has type, description, category, properties
AI can discover and use any Breakdance element. Full property schemas available per element type.