@happyvertical/browser-ai

Browser-based AI capabilities including STT, TTS, and LLM -- consolidated into smrt-svelte as of v0.20.

v0.20.44ConsolidatedSee smrt-svelte

Consolidated into smrt-svelte

As of v0.20, the browser-ai package has been consolidated into @happyvertical/smrt-svelte. All browser AI functionality -- speech-to-text (STT), text-to-speech (TTS), LLM inference, capability detection, and model management -- is now available via the @happyvertical/smrt-svelte/browser-ai subpath export.

Migration

Update your imports to use @happyvertical/smrt-svelte:

typescript
// Before (v0.19)
import { BrowserAI } from '@happyvertical/browser-ai';

// After (v0.20+)
import { useSTT, useTTS, useLLM } from '@happyvertical/smrt-svelte';
import { getCachedSTT, getCachedTTS, getCachedLLM } from '@happyvertical/smrt-svelte/browser-ai';
import { VoiceInput, CapabilityGate, DownloadProgress } from '@happyvertical/smrt-svelte/browser-ai/svelte';