feat: migrate to @elevenlabs/react v1.0.0-rc.1 with granular hooks#68
Draft
kraenhansen wants to merge 5 commits intomainfrom
Draft
feat: migrate to @elevenlabs/react v1.0.0-rc.1 with granular hooks#68kraenhansen wants to merge 5 commits intomainfrom
kraenhansen wants to merge 5 commits intomainfrom
Conversation
- Update @elevenlabs/client and @elevenlabs/react to 1.0.0-rc.1 - Wrap useConversation consumers with ConversationProvider (required in v1) - Guard getInputVolume/getOutputVolume with try-catch for pre-session calls - Add NEXT_PUBLIC_ELEVENLABS_AGENT_ID to .env.example Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…r from ConversationBar Replace local connection state (agentState, isMuted) with granular hooks (useConversationStatus, useConversationControls, useConversationInput) across all conversation components. Remove ConversationProvider from ConversationBar so it uses whatever provider exists in the tree. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Conversation components now expect a provider from the caller. The CardsDemo page provides the single shared provider. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
are there plans for a Vue alternative for the react package? It'd be cool to have something to use for Elevenlabs UI Vue |
Author
|
@peoray elevenlabs/packages#434 is the place to subscribe to updates for that and direct your Vue friends to add their "👍" I see you're already active there 😉 which is great! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@elevenlabs/clientand@elevenlabs/reactfrom^0.12.0to1.0.0-rc.1useConversationwith granular hooks (useConversationStatus,useConversationControls,useConversationInput) across all conversation componentsConversationProviderfromConversationBar— callers now provide their own providerConversationProviderinCardsDemofor the homepage demoTest plan
pnpm devand verify homepage renders with all voice chat componentspnpm typecheckpasses (only pre-existing[[...slug]]route error)🤖 Generated with Claude Code