From 4e478cb740c34fe98b3f147e77e2770ef39e1bf5 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Wed, 23 Apr 2025 00:24:24 -0700 Subject: [PATCH] Bump components to 2.9.3 for avatar support (#136) --- .env.example | 4 +- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- README.md | 2 +- package-lock.json | 121 +++++++++++++------------ package.json | 2 +- 5 files changed, 69 insertions(+), 62 deletions(-) diff --git a/.env.example b/.env.example index 7442a1e..2d5974f 100644 --- a/.env.example +++ b/.env.example @@ -7,8 +7,8 @@ NEXT_PUBLIC_LIVEKIT_URL=wss://YOUR_LIVEKIT_URL # Application Configuration NEXT_PUBLIC_APP_CONFIG=" -title: 'LiveKit Agent Playground' -description: 'LiveKit Agent Playground allows you to test your LiveKit Agent integration by connecting to your LiveKit Cloud or self-hosted instance.' +title: 'LiveKit Agents Playground' +description: 'A virtual workbench for your multimodal AI agents.' github_link: 'https://github.com/livekit/agents-playground' video_fit: 'cover' # 'contain' or 'cover' settings: diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 0e0f4e9..232186e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,5 +1,5 @@ name: "\U0001F41E Bug report" -description: Report an issue with LiveKit Agent Playground +description: Report an issue with LiveKit Agents Playground body: - type: markdown attributes: diff --git a/README.md b/README.md index 695998b..936c0d8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ # LiveKit Agents Playground -The Agent Playground is designed for quickly prototyping with server side agents built with [LiveKit Agents Framework](https://github.com/livekit/agents). Easily tap into LiveKit WebRTC sessions and process or generate audio, video, and data streams. +The Agents Playground is designed for quickly prototyping with server side agents built with [LiveKit Agents Framework](https://github.com/livekit/agents). Easily tap into LiveKit WebRTC sessions and process or generate audio, video, and data streams. The playground includes components to fully interact with any LiveKit agent, through video, audio and chat. diff --git a/package-lock.json b/package-lock.json index f6c25d7..c24e2eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "agents-playground", "version": "0.1.0", "dependencies": { - "@livekit/components-react": "^2.6.0", + "@livekit/components-react": "^2.9.3", "@livekit/components-styles": "^1.1.1", "@radix-ui/react-dropdown-menu": "^2.0.6", "cookies-next": "^4.1.1", @@ -1870,13 +1870,13 @@ } }, "node_modules/@floating-ui/dom": { - "version": "1.6.11", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.11.tgz", - "integrity": "sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==", + "version": "1.6.13", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz", + "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==", "license": "MIT", "dependencies": { "@floating-ui/core": "^1.6.0", - "@floating-ui/utils": "^0.2.8" + "@floating-ui/utils": "^0.2.9" } }, "node_modules/@floating-ui/react-dom": { @@ -1892,9 +1892,9 @@ } }, "node_modules/@floating-ui/utils": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.8.tgz", - "integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==", + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz", + "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==", "license": "MIT" }, "node_modules/@humanwhocodes/config-array": { @@ -2030,39 +2030,39 @@ } }, "node_modules/@livekit/components-core": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@livekit/components-core/-/components-core-0.11.11.tgz", - "integrity": "sha512-r6VgeS7zq9lMKiNJHSKUHMbmuirksEvHXEGsUvecsHTkZD9nhbhCB/01qCVaCVHVnLXvAYycNXVD4qcepPOpFQ==", + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/@livekit/components-core/-/components-core-0.12.4.tgz", + "integrity": "sha512-a/GkK8XFULPhXoSKxuXEU62gwTAYJ83DP5/vlRzwESEY+rsoiw2NvvPZtDCU17yyd/5QBIF9VdDjB9ZZF0dOfQ==", "license": "Apache-2.0", "dependencies": { - "@floating-ui/dom": "1.6.11", + "@floating-ui/dom": "1.6.13", "loglevel": "1.9.1", - "rxjs": "7.8.1" + "rxjs": "7.8.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "livekit-client": "^2.5.7", + "livekit-client": "^2.11.1", "tslib": "^2.6.2" } }, "node_modules/@livekit/components-react": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-2.6.11.tgz", - "integrity": "sha512-33V5D2yyt4p9qqjHSMFeu0mUl0S0Qd3zl+x4in9jNl3ZMZBwds9aFx+BtgAGymlAbjbxWPWmHn/SDI3R5/hJRQ==", + "version": "2.9.3", + "resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-2.9.3.tgz", + "integrity": "sha512-gE1sEE57BkBz3+TQHrOXVDVwVMwV5wtIYokdrfd7vshh22/PtWWj3vON9wzYLFRKx98L6QyAzyh7W9EWu3Lj9Q==", "license": "Apache-2.0", "dependencies": { - "@livekit/components-core": "0.11.11", + "@livekit/components-core": "0.12.4", "clsx": "2.1.1", - "usehooks-ts": "3.1.0" + "usehooks-ts": "3.1.1" }, "engines": { "node": ">=18" }, "peerDependencies": { "@livekit/krisp-noise-filter": "^0.2.12", - "livekit-client": "^2.5.7", + "livekit-client": "^2.11.1", "react": ">=18", "react-dom": ">=18", "tslib": "^2.6.2" @@ -2083,15 +2083,15 @@ } }, "node_modules/@livekit/mutex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@livekit/mutex/-/mutex-1.0.0.tgz", - "integrity": "sha512-aiUhoThBNF9UyGTxEURFzJLhhPLIVTnQiEVMjRhPnfHNKLfo2JY9xovHKIus7B78UD5hsP6DlgpmAsjrz4U0Iw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@livekit/mutex/-/mutex-1.1.1.tgz", + "integrity": "sha512-EsshAucklmpuUAfkABPxJNhzj9v2sG7JuzFDL4ML1oJQSV14sqrpTYnsaOudMAw9yOaW53NU3QQTlUQoRs4czw==", "license": "Apache-2.0" }, "node_modules/@livekit/protocol": { - "version": "1.29.4", - "resolved": "https://registry.npmjs.org/@livekit/protocol/-/protocol-1.29.4.tgz", - "integrity": "sha512-dsqxvABHilrMA0BU5m1w8cMWSVeDjV2ZUIUDClNQZju3c30DLMfEYDHU5nmXDfaaHjNIgoRbYR7upJMozG8JJg==", + "version": "1.36.1", + "resolved": "https://registry.npmjs.org/@livekit/protocol/-/protocol-1.36.1.tgz", + "integrity": "sha512-nN3QnITAQ5yXk7UKfotH7CRWIlEozNWeKVyFJ0/+dtSzvWP/ib+10l1DDnRYi3A1yICJOGAKFgJ5d6kmi1HCUA==", "license": "Apache-2.0", "dependencies": { "@bufbuild/protobuf": "^1.10.0" @@ -5996,20 +5996,33 @@ "dev": true }, "node_modules/livekit-client": { - "version": "2.7.5", - "resolved": "https://registry.npmjs.org/livekit-client/-/livekit-client-2.7.5.tgz", - "integrity": "sha512-sPhHYwXvG75y1LDC50dDC9k6Z49L2vc/HcMRhzhi7yBca6ofPEebpB0bmPOry4ovrnFA+a8TL1pFR2mko1/clw==", + "version": "2.11.3", + "resolved": "https://registry.npmjs.org/livekit-client/-/livekit-client-2.11.3.tgz", + "integrity": "sha512-WEyn3PMi/nBA096VvNN8ZHqfoJ/+s0klCPdQzzYtyBT7A5B0zHfzDy5YgaxXD817LxJEKjpVFwgQ4ddNmTAL4A==", "license": "Apache-2.0", "dependencies": { - "@livekit/mutex": "1.0.0", - "@livekit/protocol": "1.29.4", + "@livekit/mutex": "1.1.1", + "@livekit/protocol": "1.36.1", "events": "^3.3.0", - "loglevel": "^1.8.0", - "sdp-transform": "^2.14.1", + "loglevel": "^1.9.2", + "sdp-transform": "^2.15.0", "ts-debounce": "^4.0.0", - "tslib": "2.7.0", + "tslib": "2.8.1", "typed-emitter": "^2.1.0", - "webrtc-adapter": "^9.0.0" + "webrtc-adapter": "^9.0.1" + } + }, + "node_modules/livekit-client/node_modules/loglevel": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz", + "integrity": "sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg==", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" } }, "node_modules/livekit-server-sdk": { @@ -6026,15 +6039,6 @@ "node": ">=18" } }, - "node_modules/livekit-server-sdk/node_modules/@livekit/protocol": { - "version": "1.30.0", - "resolved": "https://registry.npmjs.org/@livekit/protocol/-/protocol-1.30.0.tgz", - "integrity": "sha512-SDI9ShVKj8N3oOSinr8inaxD3FXgmgoJlqN35uU/Yx1sdoDeQbzAuBFox7bYjM+VhnZ1V22ivIDjAsKr00H+XQ==", - "license": "Apache-2.0", - "dependencies": { - "@bufbuild/protobuf": "^1.10.0" - } - }, "node_modules/loader-runner": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", @@ -6102,6 +6106,7 @@ "version": "1.9.1", "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.1.tgz", "integrity": "sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg==", + "license": "MIT", "engines": { "node": ">= 0.6.0" }, @@ -7395,9 +7400,10 @@ } }, "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } @@ -7485,9 +7491,10 @@ "integrity": "sha512-d7wDPgDV3DDiqulJjKiV2865wKsJ34YI+NDREbm+FySq6WuKOikwyNQcm+doLAZ1O6ltdO0SeKle2xMpN3Brgw==" }, "node_modules/sdp-transform": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/sdp-transform/-/sdp-transform-2.14.2.tgz", - "integrity": "sha512-icY6jVao7MfKCieyo1AyxFYm1baiM+fA00qW/KrNNVlkxHAd34riEKuEkUe4bBb3gJwLJZM+xT60Yj1QL8rHiA==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/sdp-transform/-/sdp-transform-2.15.0.tgz", + "integrity": "sha512-KrOH82c/W+GYQ0LHqtr3caRpM3ITglq3ljGUIb8LTki7ByacJZ9z+piSGiwZDsRyhQbYBOBJgr2k6X4BZXi3Kw==", + "license": "MIT", "bin": { "sdp-verify": "checker.js" } @@ -8117,9 +8124,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "license": "0BSD" }, "node_modules/type-check": { @@ -8370,9 +8377,9 @@ } }, "node_modules/usehooks-ts": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-3.1.0.tgz", - "integrity": "sha512-bBIa7yUyPhE1BCc0GmR96VU/15l/9gP1Ch5mYdLcFBaFGQsdmXkvjV0TtOqW1yUd6VjIwDunm+flSciCQXujiw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-3.1.1.tgz", + "integrity": "sha512-I4diPp9Cq6ieSUH2wu+fDAVQO43xwtulo+fKEidHUwZPnYImbtkTjzIJYcDcJqxgmX31GVqNFURodvcgHcW0pA==", "license": "MIT", "dependencies": { "lodash.debounce": "^4.0.8" @@ -8381,7 +8388,7 @@ "node": ">=16.15.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18" + "react": "^16.8.0 || ^17 || ^18 || ^19 || ^19.0.0-rc" } }, "node_modules/util-deprecate": { diff --git a/package.json b/package.json index 18cec81..312f256 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@livekit/components-react": "^2.6.0", + "@livekit/components-react": "^2.9.3", "@livekit/components-styles": "^1.1.1", "@radix-ui/react-dropdown-menu": "^2.0.6", "cookies-next": "^4.1.1",