@livekit/agents-plugin-openai 1.5.5 → 1.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/agents-plugin-openai",
3
- "version": "1.5.5",
3
+ "version": "1.6.1",
4
4
  "description": "OpenAI plugin for LiveKit Node Agents",
5
5
  "main": "dist/index.js",
6
6
  "require": "dist/index.cjs",
@@ -17,7 +17,10 @@
17
17
  },
18
18
  "author": "LiveKit",
19
19
  "type": "module",
20
- "repository": "git@github.com:livekit/agents-js.git",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git@github.com:livekit/agents-js.git"
23
+ },
21
24
  "license": "Apache-2.0",
22
25
  "files": [
23
26
  "dist",
@@ -25,24 +28,24 @@
25
28
  "README.md"
26
29
  ],
27
30
  "devDependencies": {
28
- "@livekit/rtc-node": "^0.13.31",
31
+ "@livekit/rtc-node": "^0.13.33",
29
32
  "@microsoft/api-extractor": "^7.35.0",
30
33
  "@types/ws": "^8.5.10",
31
34
  "tsup": "^8.3.5",
32
35
  "typescript": "^5.0.0",
33
- "@livekit/agents": "1.5.5",
34
- "@livekit/agents-plugin-silero": "1.5.5",
35
- "@livekit/agents-plugins-test": "1.5.5"
36
+ "@livekit/agents": "1.6.1",
37
+ "@livekit/agents-plugin-silero": "1.6.1",
38
+ "@livekit/agents-plugins-test": "1.6.1"
36
39
  },
37
40
  "dependencies": {
38
41
  "@livekit/mutex": "^1.1.1",
39
42
  "openai": "^6.8.1",
40
- "ws": "^8.18.0"
43
+ "ws": "^8.21.0"
41
44
  },
42
45
  "peerDependencies": {
43
- "@livekit/rtc-node": "^0.13.31",
46
+ "@livekit/rtc-node": "^0.13.33",
44
47
  "zod": "^3.25.76 || ^4.1.8",
45
- "@livekit/agents": "1.5.5"
48
+ "@livekit/agents": "1.6.1"
46
49
  },
47
50
  "scripts": {
48
51
  "build": "tsup --onSuccess \"pnpm build:types\"",
@@ -662,7 +662,7 @@ export class RealtimeSession extends llm.RealtimeSession {
662
662
  const timeoutController = new AbortController();
663
663
  const timeoutPromise = delay(5000, { signal: timeoutController.signal }).then(() => {
664
664
  cleanupTimedOutFutures();
665
- throw new Error('Chat ctx update events timed out');
665
+ throw new llm.RealtimeError('update_chat_ctx timed out.');
666
666
  });
667
667
 
668
668
  try {