@voicelayer/sdk 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -249,11 +249,16 @@ No LiveKit, no audio, no API keys. Pure unit-test speed.
|
|
|
249
249
|
`await start(import.meta.url)` boots a LiveKit worker in the parent process and exports the resolved LiveKit agent definition for the child job runner that re-imports the same file. The same file. No deploy pipeline differences between local and prod beyond environment variables.
|
|
250
250
|
|
|
251
251
|
```bash
|
|
252
|
-
# Required
|
|
252
|
+
# Required. The worker runs on YOUR infrastructure and connects directly to
|
|
253
|
+
# LiveKit, so it needs your own LiveKit project credentials (LiveKit Cloud or
|
|
254
|
+
# self-hosted) alongside your VoiceLayer project key.
|
|
253
255
|
export VOICELAYER_API_KEY=...
|
|
254
256
|
export LIVEKIT_URL=...
|
|
255
257
|
export LIVEKIT_API_KEY=...
|
|
256
258
|
export LIVEKIT_API_SECRET=...
|
|
259
|
+
|
|
260
|
+
# Provider keys for the models your agent uses (or set them per project in the
|
|
261
|
+
# VoiceLayer dashboard's connections, resolved at call time):
|
|
257
262
|
export OPENAI_API_KEY=...
|
|
258
263
|
export DEEPGRAM_API_KEY=...
|
|
259
264
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voicelayer/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Official SDK for VoiceLayer — define, run, and orchestrate voice AI agents on the VoiceLayer control plane.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "VoiceLayer",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@livekit/agents": "^1.4.0",
|
|
53
|
+
"@livekit/rtc-node": "^0.13.27",
|
|
53
54
|
"@opentelemetry/api": "^1.9.0",
|
|
54
55
|
"@opentelemetry/api-logs": "^0.208.0",
|
|
55
56
|
"@opentelemetry/auto-instrumentations-node": "^0.65.0",
|
|
@@ -110,16 +111,16 @@
|
|
|
110
111
|
"tsup": "^8.5.1",
|
|
111
112
|
"typescript": "^5.6.0",
|
|
112
113
|
"vitest": "^4.1.5",
|
|
113
|
-
"@voicelayer/contracts": "0.1.0",
|
|
114
114
|
"@voicelayer/observability": "0.1.0",
|
|
115
115
|
"@voicelayer/primitive-audio-experience": "0.1.0",
|
|
116
|
-
"@voicelayer/primitive-security": "0.1.0",
|
|
117
|
-
"@voicelayer/primitive-process-schema": "0.1.0",
|
|
118
|
-
"@voicelayer/agents-plugin-silero": "1.0.0",
|
|
119
116
|
"@voicelayer/primitive-audio-routing": "0.1.0",
|
|
120
|
-
"@voicelayer/
|
|
117
|
+
"@voicelayer/contracts": "0.1.0",
|
|
118
|
+
"@voicelayer/primitive-process-schema": "0.1.0",
|
|
119
|
+
"@voicelayer/primitive-security": "0.1.0",
|
|
120
|
+
"@voicelayer/agents-plugin-deepgram": "1.0.0",
|
|
121
121
|
"@voicelayer/agents-plugin-livekit": "1.0.0",
|
|
122
|
-
"@voicelayer/agents-plugin-
|
|
122
|
+
"@voicelayer/agents-plugin-silero": "1.0.0",
|
|
123
|
+
"@voicelayer/agents-plugin-openai": "1.0.0"
|
|
123
124
|
},
|
|
124
125
|
"scripts": {
|
|
125
126
|
"typecheck": "tsc -b --pretty false",
|