Interface DesignerAiContext

All Superinterfaces:
AiContext

public interface DesignerAiContext extends AiContext
Designer-scoped facade for AI features. Reached through DesignerContext.getAiContext(), which returns empty when AI is not enabled in the Designer; once a caller holds one of these, every accessor is non-empty and ready to use.

UI hosts mount AI through assistant() — a fluent builder whose terminals hand back an inline AssistSession or a popup-anchored button, each returning empty until isReady(). Hosts that need to wire a session or AssistAction by hand can drop down to embedFactory(), taking on the readiness gate themselves.