api.ai
Interface: IAiApi
Implementation tier: T1 stub (full surface T3)
Reserved namespace for AI integration. In v1, only exposes an availability check (always returns false). Extensions needing AI should use the network namespace to call their own backend.
RESERVED in v1. The permission slot, manifest field, and provider role
(aiAssistant) exist so extensions and the host can plan around AI
integration without breaking the API contract later. The host UI for
"Ask AI about this verse" lives in a follow-up spec.
Extensions that want to ship AI features in v1 should use INetworkApi to
call their own AI backend; the only thing missing is the host's built-in
panel for displaying AI responses.
Methods
isAvailable
isAvailable(): Promise<boolean>
True if the host has any active AI provider. Always false in v1.
Returns: Promise<boolean>