@esl-ecosystem/voice-core
v0.1.0
Published
Framework-agnostic browser client surface for the platform.
Readme
@esl-ecosystem/voice-core
Framework-agnostic browser client surface for the platform.
Owns
- browser session lifecycle helpers
- client event subscriptions and stream helpers
- shared client state primitives that can be reused by wrappers
Does Not Own
- React-only semantics
- provider-native public types
- canonical contract definitions that belong in
contracts - umbrella re-exports of the full
@esl-ecosystem/voice-contractssurface
Current State
- This package now owns the canonical client bootstrap call for
POST /v1/voice/sessions. - It also owns guided-turn-oriented client helpers and conversation hydration for persisted session/history reload during the extraction path.
- It now also owns the canonical bootstrap-response parsing helpers for raw live adoption surfaces, so examples and host apps do not need to duplicate session unwrap or managed WebRTC connect validation.
- The stable client surface now includes
VoicePlatformRequestOptionsand optional request cancellation for guided-turn snapshot restore and streamed turn submission calls, so adopters can bound long-running client work without reimplementing the request layer. - Host apps should import canonical request/response types from
@esl-ecosystem/voice-contractsexplicitly rather than expecting@esl-ecosystem/voice-coreto proxy the full contracts package. - New code should move toward platform client semantics rather than deepening app-specific route assumptions.
