@voicelayer/sdk 0.1.0 → 0.1.2
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 -43
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.2",
|
|
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",
|
|
@@ -70,56 +71,20 @@
|
|
|
70
71
|
"xstate": "^5.31.1",
|
|
71
72
|
"zod": "^3.25.76"
|
|
72
73
|
},
|
|
73
|
-
"peerDependencies": {
|
|
74
|
-
"@voicelayer/agents-plugin-assemblyai": "^1.0.0",
|
|
75
|
-
"@voicelayer/agents-plugin-cartesia": "^1.0.0",
|
|
76
|
-
"@voicelayer/agents-plugin-deepgram": "^1.0.0",
|
|
77
|
-
"@voicelayer/agents-plugin-elevenlabs": "^1.0.0",
|
|
78
|
-
"@voicelayer/agents-plugin-google": "^1.0.0",
|
|
79
|
-
"@voicelayer/agents-plugin-livekit": "^1.0.0",
|
|
80
|
-
"@voicelayer/agents-plugin-openai": "^1.0.0",
|
|
81
|
-
"@voicelayer/agents-plugin-silero": "^1.0.0"
|
|
82
|
-
},
|
|
83
|
-
"peerDependenciesMeta": {
|
|
84
|
-
"@voicelayer/agents-plugin-assemblyai": {
|
|
85
|
-
"optional": true
|
|
86
|
-
},
|
|
87
|
-
"@voicelayer/agents-plugin-cartesia": {
|
|
88
|
-
"optional": true
|
|
89
|
-
},
|
|
90
|
-
"@voicelayer/agents-plugin-deepgram": {
|
|
91
|
-
"optional": true
|
|
92
|
-
},
|
|
93
|
-
"@voicelayer/agents-plugin-elevenlabs": {
|
|
94
|
-
"optional": true
|
|
95
|
-
},
|
|
96
|
-
"@voicelayer/agents-plugin-google": {
|
|
97
|
-
"optional": true
|
|
98
|
-
},
|
|
99
|
-
"@voicelayer/agents-plugin-livekit": {
|
|
100
|
-
"optional": true
|
|
101
|
-
},
|
|
102
|
-
"@voicelayer/agents-plugin-openai": {
|
|
103
|
-
"optional": true
|
|
104
|
-
},
|
|
105
|
-
"@voicelayer/agents-plugin-silero": {
|
|
106
|
-
"optional": true
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
74
|
"devDependencies": {
|
|
110
75
|
"tsup": "^8.5.1",
|
|
111
76
|
"typescript": "^5.6.0",
|
|
112
77
|
"vitest": "^4.1.5",
|
|
113
78
|
"@voicelayer/contracts": "0.1.0",
|
|
114
|
-
"@voicelayer/observability": "0.1.0",
|
|
115
79
|
"@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
80
|
"@voicelayer/primitive-audio-routing": "0.1.0",
|
|
120
|
-
"@voicelayer/
|
|
81
|
+
"@voicelayer/primitive-process-schema": "0.1.0",
|
|
82
|
+
"@voicelayer/agents-plugin-deepgram": "1.0.0",
|
|
121
83
|
"@voicelayer/agents-plugin-livekit": "1.0.0",
|
|
122
|
-
"@voicelayer/agents-plugin-
|
|
84
|
+
"@voicelayer/agents-plugin-openai": "1.0.0",
|
|
85
|
+
"@voicelayer/primitive-security": "0.1.0",
|
|
86
|
+
"@voicelayer/agents-plugin-silero": "1.0.0",
|
|
87
|
+
"@voicelayer/observability": "0.1.0"
|
|
123
88
|
},
|
|
124
89
|
"scripts": {
|
|
125
90
|
"typecheck": "tsc -b --pretty false",
|