@livekit/agents-plugin-elevenlabs 0.5.0 → 0.5.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/dist/tts.test.cjs +9 -0
- package/dist/tts.test.cjs.map +1 -0
- package/dist/tts.test.d.ts +2 -0
- package/dist/tts.test.d.ts.map +1 -0
- package/dist/tts.test.js +8 -0
- package/dist/tts.test.js.map +1 -0
- package/package.json +4 -2
- package/src/tts.test.ts +11 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var import_agents_plugin_openai = require("@livekit/agents-plugin-openai");
|
|
3
|
+
var import_agents_plugins_test = require("@livekit/agents-plugins-test");
|
|
4
|
+
var import_vitest = require("vitest");
|
|
5
|
+
var import_tts = require("./tts.cjs");
|
|
6
|
+
(0, import_vitest.describe)("ElevenLabs", async () => {
|
|
7
|
+
await (0, import_agents_plugins_test.tts)(new import_tts.TTS(), new import_agents_plugin_openai.STT(), { nonStreaming: false });
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=tts.test.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tts.test.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\nimport { STT } from '@livekit/agents-plugin-openai';\nimport { tts } from '@livekit/agents-plugins-test';\nimport { describe } from 'vitest';\nimport { TTS } from './tts.js';\n\ndescribe('ElevenLabs', async () => {\n await tts(new TTS(), new STT(), { nonStreaming: false });\n});\n"],"mappings":";AAGA,kCAAoB;AACpB,iCAAoB;AACpB,oBAAyB;AACzB,iBAAoB;AAAA,IAEpB,wBAAS,cAAc,YAAY;AACjC,YAAM,gCAAI,IAAI,eAAI,GAAG,IAAI,gCAAI,GAAG,EAAE,cAAc,MAAM,CAAC;AACzD,CAAC;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tts.test.d.ts","sourceRoot":"","sources":["../src/tts.test.ts"],"names":[],"mappings":""}
|
package/dist/tts.test.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { STT } from "@livekit/agents-plugin-openai";
|
|
2
|
+
import { tts } from "@livekit/agents-plugins-test";
|
|
3
|
+
import { describe } from "vitest";
|
|
4
|
+
import { TTS } from "./tts.js";
|
|
5
|
+
describe("ElevenLabs", async () => {
|
|
6
|
+
await tts(new TTS(), new STT(), { nonStreaming: false });
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=tts.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tts.test.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\nimport { STT } from '@livekit/agents-plugin-openai';\nimport { tts } from '@livekit/agents-plugins-test';\nimport { describe } from 'vitest';\nimport { TTS } from './tts.js';\n\ndescribe('ElevenLabs', async () => {\n await tts(new TTS(), new STT(), { nonStreaming: false });\n});\n"],"mappings":"AAGA,SAAS,WAAW;AACpB,SAAS,WAAW;AACpB,SAAS,gBAAgB;AACzB,SAAS,WAAW;AAEpB,SAAS,cAAc,YAAY;AACjC,QAAM,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,GAAG,EAAE,cAAc,MAAM,CAAC;AACzD,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/agents-plugin-elevenlabs",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "ElevenLabs plugin for LiveKit Node Agents",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"require": "dist/index.cjs",
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
],
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@livekit/agents": "^x",
|
|
26
|
+
"@livekit/agents-plugin-openai": "^x",
|
|
27
|
+
"@livekit/agents-plugins-test": "^x",
|
|
26
28
|
"@livekit/rtc-node": "^0.12.1",
|
|
27
29
|
"@microsoft/api-extractor": "^7.35.0",
|
|
28
30
|
"@types/ws": "^8.5.10",
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
},
|
|
35
37
|
"peerDependencies": {
|
|
36
38
|
"@livekit/rtc-node": "^0.12.1",
|
|
37
|
-
"@livekit/agents": "^0.5.
|
|
39
|
+
"@livekit/agents": "^0.5.1x"
|
|
38
40
|
},
|
|
39
41
|
"scripts": {
|
|
40
42
|
"build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"",
|
package/src/tts.test.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: 2024 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
import { STT } from '@livekit/agents-plugin-openai';
|
|
5
|
+
import { tts } from '@livekit/agents-plugins-test';
|
|
6
|
+
import { describe } from 'vitest';
|
|
7
|
+
import { TTS } from './tts.js';
|
|
8
|
+
|
|
9
|
+
describe('ElevenLabs', async () => {
|
|
10
|
+
await tts(new TTS(), new STT(), { nonStreaming: false });
|
|
11
|
+
});
|