Releases: runwayml/avatars-sdk-react
Releases · runwayml/avatars-sdk-react
v0.14.0
What's Changed
- docs: add Cursor Cloud specific instructions to AGENTS.md by @robinandeer in #19
- [transcript] label entries with channel and fix flat-delta interim semantics by @robinandeer in #26
- feat(tools): accept Standard Schema v1 for client tool args by @robinandeer in #25
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- feat(examples): add sports RPC example with ESPN API tool calls by @robinandeer in #14
- fix(examples): drop MLS — ESPN uses a non-standard path for soccer by @robinandeer in #16
- chore: pin GitHub Actions to full commit SHAs by @n-petillo in #17
- feat: add useTranscript hook with dedup and buffer by @robinandeer in #18
- feat: add AvatarProvider headless component and subtitles example by @robinandeer in #20
- chore: add Justfile for common dev recipes by @robinandeer in #21
- fix: useTranscription now handles data channel events (#13) by @robinandeer in #22
- chore: release v0.13.0 by @robinandeer in #23
New Contributors
- @n-petillo made their first contribution in #17
Full Changelog: v0.12.0...v0.13.0
v0.12.0
Added
- Page actions — let the avatar click buttons, scroll to sections, and highlight elements on your page
PageActionscomponent — drop-in component that subscribes to page-action client events and executes them against the DOMusePageActionshook — lower-level hook for custom compositionpageActionTools— pre-built tool definitions forclick,scroll_to, andhighlight, ready to spread intorealtimeSessions.create({ tools })PageActionEventtype exported from@runwayml/avatars-react/api- Default highlight animation in
styles.cssvia[data-avatar-highlighted]withprefers-reduced-motionsupport
Changed
- Example dependencies now use the published
@runwayml/avatars-node-rpcnpm package instead of the GitHub source
v0.11.0
Added
- Screen sharing indicator bar in
ControlBar— shows "You're sharing your screen" with a quick Stop action when screen sharing is active - Screen share active button now uses solid white background with dark icon (matching developer portal design)
Fixed
- Production builds now start from a clean
dist/directory, and the dev script seedsdist/styles.cssbefore watch mode starts
v0.10.0-beta.1
Fixed
- Fixed sessions failing to connect when another app (e.g. Zoom) holds the mic/camera — media acquisition is now decoupled from the WebRTC connection
Added
micError/cameraErroronuseLocalMediaandControlBarStateretryMic()/retryCamera()for re-attempting device acquisitionMediaDeviceErrorstype export
v0.10.0-beta.0
Beta release: client events support via LiveKit data channel.
Added
useClientEventhook — subscribe to a single event type, returns latest args as state + optional callbackuseClientEventshook — subscribe to all client events (catch-all)defineClientToolshelper — define tools once, derive types and server config from one sourceonClientEventprop onAvatarCallandAvatarSession- Server-safe exports from
@runwayml/avatars-react/api
Install with:
npm install @runwayml/avatars-react@beta
v0.9.0
v0.8.0
Added
audioandvideoprops onAvatarCallto control whether mic/camera are requested on connect
Fixed
- Denying camera permission no longer surfaces as a session error — the call continues with audio only
v0.7.2
Fixed
- Fixed React Strict Mode breaking credential fetching — credentials are now cached at module level (similar to React Query) so they survive component unmount/remount cycles
Changed
- Refactored
useCredentialsto use a new internaluseQueryhook withuseSyncExternalStorefor proper React 18 concurrent rendering support
v0.7.1
Fixed
- Fixed React Strict Mode breaking credential fetching — the
useCredentialshook now properly resets its deduplication ref on cleanup, allowing the second render to fetch credentials