[bot] Instrument ElevenLabs (959,036 weekly downloads)

已關閉
#2,293 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
55/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
node.js, typescript

研究方向

先檢視 js/src/wrappers/ 中現有的 wrapper、js/src/instrumentation/plugins/ 中的 plugin、js/src/auto-instrumentations/configs/ 中的 auto-instrumentation 項目,以及 e2e 情境。將這些模式與列出的 @elevenlabs/elevenlabs-js 方法進行比較,並判定所需的 instrumentation 覆蓋範圍。當 ElevenLabs 的各個 surface 都具備 instrumentation 和設定,且有一個涵蓋受支援執行路徑的 e2e 情境時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

<!-- library-gap-audit: elevenlabs-node-sdk -->

Summary

ElevenLabs publishes an official Node/TypeScript SDK, @elevenlabs/elevenlabs-js on npm, providing execution APIs for text-to-speech generation, speech-to-text transcription, and real-time conversational voice agent execution. This repository has zero instrumentation for any ElevenLabs SDK surface — no wrapper, no diagnostics channel, no plugin, no auto-instrumentation config, no e2e scenario.

What's missing

Execution surfaces exposed by @elevenlabs/elevenlabs-js that are not instrumented:

SDK Method Description
client.textToSpeech.convert({ text, modelId, voiceId }) Text-to-speech generation, returns synthesized audio
client.textToSpeech.stream(...) Streaming text-to-speech generation
client.speechToText.convert(...) Speech-to-text transcription
client.speechEngine.attach(...) / SpeechEngine.Server (onTranscript, session.sendResponse(...)) Real-time conversational voice agent execution loop
client.conversationalAi agent connection APIs Agent-run execution for voice agents

The SDK ships its own HTTP client (defaults to node-fetch, falls back to global fetch) — it does not depend on the openai package, so none of it is picked up by existing OpenAI/AI-SDK auto-instrumentation.

No coverage in any instrumentation layer:

  • No wrapper function (e.g. wrapElevenLabs()) in js/src/wrappers/
  • No channel definitions or plugin in js/src/instrumentation/plugins/
  • No auto-instrumentation config in js/src/auto-instrumentations/configs/
  • No e2e test scenario under e2e/scenarios/
  • Repo-wide grep for elevenlabs/11labs (case-insensitive) returns zero matches anywhere in the repo

Weekly downloads

Weekly downloads: 744,985 (as of 2026-07-24; https://api.npmjs.org/downloads/point/last-week/@elevenlabs/elevenlabs-js)

Braintrust docs status

not_found. ElevenLabs does not appear anywhere on the Braintrust integrations index page — https://www.braintrust.dev/docs/integrations — which lists AI-provider and framework integrations (Anthropic, OpenAI, Gemini, Cohere, Groq, xAI, etc.) but has no entry for ElevenLabs, voice, or TTS/STT providers. The page's only guidance for unlisted providers is the generic AI Proxy gateway (/docs/deploy/ai-proxy) or contacting Braintrust to request an integration — there is no ElevenLabs-specific documentation of any kind.

Upstream references

Braintrust docs sources checked

Local files inspected

  • Repo-wide grep for deepgram|assemblyai|elevenlabs|11labs (case-insensitive) — zero matches
  • js/src/wrappers/ — full directory listing (37 files) — no elevenlabs.ts/elevenLabs.ts wrapper
  • js/src/instrumentation/plugins/ — no ElevenLabs channels or plugin file
  • js/src/auto-instrumentations/configs/ — full directory listing (28 files) — no ElevenLabs config entry
  • e2e/scenarios/ — no ElevenLabs test scenario
主要語言
TypeScript
星號
29
分支
22
平均合併
1 天 15 小時
30 天內合併 PR
76

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

braintrustdata/braintrust-sdk-javascript 的其他 Issue

查看 braintrustdata/braintrust-sdk-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。