The documentation for Realtime Voice Chat (as seen in internal docs/previews) specifies the use of useRealtimeChat from @tanstack/ai-react and realtimeToken from @tanstack/ai. However, these are not exported or present in the latest published versions on npm.
Current Versions Checked:
@tanstack/ai: 0.6.3 (Latest)
@tanstack/ai-react: 0.6.4 (Latest)
@tanstack/ai-openai: 0.6.0 (Latest)
Observed Behavior:
import { realtimeToken } from '@tanstack/ai' fails: Module '"@tanstack/ai"' has no exported member 'realtimeToken'.
import { useRealtimeChat } from '@tanstack/ai-react' fails: Module '"@tanstack/ai-react"' has no exported member 'useRealtimeChat'.
import { openaiRealtimeToken } from '@tanstack/ai-openai' fails: Module '"@tanstack/ai-openai"' has no exported member 'openaiRealtimeToken'.
Documentation Reference:
The documentation refers to a "Realtime/Live API" architecture with vadMode, RealtimeClient, and provider-specific connection adapters which seem to be missing from the current dist files.
Request:
Could you clarify if these features are part of a future release or if they are currently under a different dist-tag (like alpha or beta)? They are essential for building low-latency voice-to-voice interactions.