chore(deps): bump @elevenlabs/react from 0.12.3 to 1.6.3 - #152
chore(deps): bump @elevenlabs/react from 0.12.3 to 1.6.3#152dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [@elevenlabs/react](https://github.com/elevenlabs/packages/tree/HEAD/packages/react) from 0.12.3 to 1.6.3. - [Release notes](https://github.com/elevenlabs/packages/releases) - [Changelog](https://github.com/elevenlabs/packages/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/elevenlabs/packages/commits/@elevenlabs/react@1.6.3/packages/react) --- updated-dependencies: - dependency-name: "@elevenlabs/react" dependency-version: 1.6.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughAtualização da dependência ChangesAtualização de Dependência ElevenLabs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutos Suggested reviewers
|
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | O título descreve com precisão a mudança principal: atualização da dependência @elevenlabs/react de 0.12.3 para 1.6.3, seguindo o padrão convencional (chore(deps)). |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
dependabot/npm_and_yarn/elevenlabs/react-1.6.3
Comment @coderabbitai help to get the list of available commands and usage tips.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Line 45: O package.json declara "`@elevenlabs/react`" ^1.6.3 mas o lockfile
ainda fixa 0.12.3, então atualize o lock executando um gerenciador (ex.: bun
install) para que o pacote resolva para a série 1.x; depois rode a checagem de
tipos estrita (bun run typecheck:strict:core) e corrija quaisquer quebras de API
no código que dependem dos contratos novos — ver e ajustar chamadas/uso em
useScribe (incluindo CommitStrategy.VAD, onPartialTranscript,
onCommittedTranscript, onCommittedTranscriptWithTimestamps), scribe.connect({
token, microphone }), scribe.disconnect(), e leituras de scribe.isConnected,
scribe.partialTranscript, scribe.committedTranscripts, bem como os arquivos
src/features/inbox/components/RealtimeTranscription.tsx e
src/hooks/useVoiceAgent.ts para garantir compatibilidade com a v1.x antes de
commitar o lock atualizado.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 2fe49511-860e-4950-ad02-9910d00e899e
📒 Files selected for processing (1)
package.json
| "dependencies": { | ||
| "@axe-core/react": "^4.11.1", | ||
| "@elevenlabs/react": "^0.12.3", | ||
| "@elevenlabs/react": "^1.6.3", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== 1) Localizando lockfiles =="
LOCKFILES="$(fd -HI '^(package-lock\.json|yarn\.lock|pnpm-lock\.yaml|bun\.lockb?|npm-shrinkwrap\.json)$' || true)"
if [ -z "${LOCKFILES}" ]; then
echo "Nenhum lockfile encontrado."
else
echo "${LOCKFILES}"
fi
echo
echo "== 2) Verificando resolução de `@elevenlabs/react` nos lockfiles =="
if [ -n "${LOCKFILES}" ]; then
while IFS= read -r f; do
[ -z "$f" ] && continue
echo "-- ${f}"
rg -n -C2 '`@elevenlabs/react`(@|":|\\s)' "$f" || true
done <<< "${LOCKFILES}"
fi
echo
echo "== 3) Mapeando uso da lib e callbacks potencialmente afetadas =="
rg -n -C2 --iglob '*.{ts,tsx,js,jsx}' '`@elevenlabs/react`|onAgentToolResponse|full_tool_result|truncated' || trueRepository: adm01-debug/zapp-web
Length of output: 5063
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== package.json (linha ~45) =="
nl -ba package.json | sed -n '35,60p'
echo
echo "== Ver usos detalhados de `@elevenlabs/react` =="
rg -n --iglob 'src/**/*.{ts,tsx,js,jsx}' '`@elevenlabs/react`' -S
echo
echo "== Inspecionar RealtimeTranscription.tsx =="
nl -ba src/features/inbox/components/RealtimeTranscription.tsx | sed -n '1,220p'
echo
echo "== Inspecionar useVoiceAgent.ts =="
nl -ba src/hooks/useVoiceAgent.ts | sed -n '1,260p'
echo
echo "== Inspecionar bun.lock: entradas `@elevenlabs/react` =="
rg -n '"`@elevenlabs/react`": \[' bun.lock
# print nearby chunk
python3 - <<'PY'
import re
path='bun.lock'
with open(path,'r',encoding='utf-8') as f:
lines=f.readlines()
for i,l in enumerate(lines):
if '"`@elevenlabs/react`": [' in l:
start=max(0,i-5); end=min(len(lines),i+25)
for j in range(start,end):
print(f"{j+1:5d}:{lines[j].rstrip()}")
break
PYRepository: adm01-debug/zapp-web
Length of output: 156
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== package.json (linha ~45) =="
nl -ba package.json | sed -n '35,60p'
echo
echo "== Ver usos detalhados de `@elevenlabs/react` =="
rg -n --iglob 'src/**/*.{ts,tsx,js,jsx}' '`@elevenlabs/react`' -S
echo
echo "== Inspecionar RealtimeTranscription.tsx =="
nl -ba src/features/inbox/components/RealtimeTranscription.tsx | sed -n '1,260p'
echo
echo "== Inspecionar useVoiceAgent.ts =="
nl -ba src/hooks/useVoiceAgent.ts | sed -n '1,260p'
echo
echo "== Inspecionar bun.lock: entradas `@elevenlabs/react` =="
rg -n '"`@elevenlabs/react`": \[' bun.lock
python3 - <<'PY'
path='bun.lock'
with open(path,'r',encoding='utf-8') as f:
lines=f.readlines()
for i,l in enumerate(lines):
if '"`@elevenlabs/react`": [' in l:
start=max(0,i-5); end=min(len(lines),i+25)
for j in range(start,end):
print(f"{j+1:5d}:{lines[j].rstrip()}")
break
PYRepository: adm01-debug/zapp-web
Length of output: 156
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== package.json (linhas 35-60) =="
sed -n '35,60p' package.json
echo
echo "== usos de `@elevenlabs/react` no src (arquivos e imports) =="
rg -n --iglob 'src/**/*.{ts,tsx,js,jsx}' '`@elevenlabs/react`' -S
echo
echo "== src/features/inbox/components/RealtimeTranscription.tsx (trecho relevante) =="
sed -n '1,220p' src/features/inbox/components/RealtimeTranscription.tsx | cat -n | sed -n '1,220p'
echo
echo "== src/hooks/useVoiceAgent.ts (trecho relevante) =="
sed -n '1,260p' src/hooks/useVoiceAgent.ts | cat -n | sed -n '1,260p'
echo
echo "== bun.lock: bloco de resolução de `@elevenlabs/react` =="
# localizar linha do entry do package e imprimir janela em volta
line=$(rg -n '"`@elevenlabs/react`": \[' bun.lock | head -n 1 | cut -d: -f1 || true)
if [ -z "${line}" ]; then
echo "Não encontrou entry em bun.lock."
else
start=$((line-8)); end=$((line+25))
start=$(( start<1 ? 1 : start ))
sed -n "${start},${end}p" bun.lock
fiRepository: adm01-debug/zapp-web
Length of output: 23262
Validar compatibilidade do salto do @elevenlabs/react e alinhar lockfile (senão o salto nem chega no runtime)
package.jsonestá em@elevenlabs/react^1.6.3(linha 45), mas obun.lockainda fixa@elevenlabs/react@0.12.3; sem atualizar o lock, a app provavelmente continua usando a versão antiga.- Ao atualizar o lock, conferir os contratos que o código usa na prática:
useScribe({ modelId, commitStrategy: CommitStrategy.VAD, onPartialTranscript, onCommittedTranscript, onCommittedTranscriptWithTimestamps })scribe.connect({ token, microphone })/scribe.disconnect()- leitura de
scribe.isConnected,scribe.partialTranscript,scribe.committedTranscripts src/features/inbox/components/RealtimeTranscription.tsxsrc/hooks/useVoiceAgent.ts
- Atualizar
bun.lock(ex.: rodandobun install) e garantir que ele resolva para a linha1.x(não0.12.3). - Rodar
bun run typecheck:strict:coree validar se o runtime não quebra com as callbacks/fields acima.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@package.json` at line 45, O package.json declara "`@elevenlabs/react`" ^1.6.3
mas o lockfile ainda fixa 0.12.3, então atualize o lock executando um
gerenciador (ex.: bun install) para que o pacote resolva para a série 1.x;
depois rode a checagem de tipos estrita (bun run typecheck:strict:core) e
corrija quaisquer quebras de API no código que dependem dos contratos novos —
ver e ajustar chamadas/uso em useScribe (incluindo CommitStrategy.VAD,
onPartialTranscript, onCommittedTranscript,
onCommittedTranscriptWithTimestamps), scribe.connect({ token, microphone }),
scribe.disconnect(), e leituras de scribe.isConnected, scribe.partialTranscript,
scribe.committedTranscripts, bem como os arquivos
src/features/inbox/components/RealtimeTranscription.tsx e
src/hooks/useVoiceAgent.ts para garantir compatibilidade com a v1.x antes de
commitar o lock atualizado.
Bumps @elevenlabs/react from 0.12.3 to 1.6.3.
Release notes
Sourced from @elevenlabs/react's releases.
... (truncated)
Changelog
Sourced from @elevenlabs/react's changelog.
... (truncated)
Commits
cb09938Version Packages (#810)2db3db6Version Packages (#806)3b0c1c3Version Packages (#790)1592f7fchore(deps): bump the react group across 1 directory with 9 updates (#773)48e55a0Version Packages (#763)3d3e0c0Version Packages (#724)84ec003feat(scribe): add native mute/unmute support (#675)b945300chore(deps-dev): bump the eslint group across 1 directory with 2 updates (#718)3b40bdaAdd agent response correction callback (#711)b228d3eVersion Packages (#710)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by cubic
Upgrade
@elevenlabs/reactto 1.6.3 to pick up recent fixes and features. Includes optional full tool result payloads inonAgentToolResponseand updates the underlying@elevenlabs/client.@elevenlabs/react0.12.3 → 1.6.3 (major)@elevenlabs/client→ 1.8.1Written for commit 371fdb1. Summary will update on new commits. Review in cubic
Summary by CodeRabbit
@elevenlabs/reactpara versão mais recente.