What useSession returns: the live SessionSnapshot fields
(state, messages, toolCalls, agentState, live transcripts, error,
apiUrl, started/running/recording, …) merged with the session's
control methods (start, toggle, reset, resetState, disconnect,
cancel, end).
Note there is no text-send method — sessions are voice-only; the only
client→server inputs are audio and the control methods above.
Method signatures come from SessionCore — one source of truth.
What useSession returns: the live SessionSnapshot fields (
state,messages,toolCalls,agentState, live transcripts,error,apiUrl,started/running/recording, …) merged with the session's control methods (start,toggle,reset,resetState,disconnect,cancel,end).Note there is no text-send method — sessions are voice-only; the only client→server inputs are audio and the control methods above.
Method signatures come from SessionCore — one source of truth.