@livekit/agents-plugin-rime 1.0.50 → 1.0.51
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/tts.test.cjs +11 -3
- package/dist/tts.test.cjs.map +1 -1
- package/dist/tts.test.js +12 -4
- package/dist/tts.test.js.map +1 -1
- package/package.json +6 -6
- package/src/tts.test.ts +12 -4
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/dist/tts.test.cjs
CHANGED
|
@@ -3,7 +3,15 @@ var import_agents_plugin_openai = require("@livekit/agents-plugin-openai");
|
|
|
3
3
|
var import_agents_plugins_test = require("@livekit/agents-plugins-test");
|
|
4
4
|
var import_vitest = require("vitest");
|
|
5
5
|
var import_tts = require("./tts.cjs");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const hasRimeConfig = Boolean(process.env.RIME_API_KEY && process.env.OPENAI_API_KEY);
|
|
7
|
+
if (hasRimeConfig) {
|
|
8
|
+
(0, import_vitest.describe)("Rime TTS", async () => {
|
|
9
|
+
await (0, import_agents_plugins_test.tts)(new import_tts.TTS(), new import_agents_plugin_openai.STT(), { streaming: false });
|
|
10
|
+
});
|
|
11
|
+
} else {
|
|
12
|
+
(0, import_vitest.describe)("Rime TTS", () => {
|
|
13
|
+
import_vitest.it.skip("requires RIME_API_KEY and OPENAI_API_KEY", () => {
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
}
|
|
9
17
|
//# sourceMappingURL=tts.test.cjs.map
|
package/dist/tts.test.cjs.map
CHANGED
|
@@ -1 +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\
|
|
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, it } from 'vitest';\nimport { TTS } from './tts.js';\n\nconst hasRimeConfig = Boolean(process.env.RIME_API_KEY && process.env.OPENAI_API_KEY);\n\nif (hasRimeConfig) {\n describe('Rime TTS', async () => {\n await tts(new TTS(), new STT(), { streaming: false });\n });\n} else {\n describe('Rime TTS', () => {\n it.skip('requires RIME_API_KEY and OPENAI_API_KEY', () => {});\n });\n}\n"],"mappings":";AAGA,kCAAoB;AACpB,iCAAoB;AACpB,oBAA6B;AAC7B,iBAAoB;AAEpB,MAAM,gBAAgB,QAAQ,QAAQ,IAAI,gBAAgB,QAAQ,IAAI,cAAc;AAEpF,IAAI,eAAe;AACjB,8BAAS,YAAY,YAAY;AAC/B,cAAM,gCAAI,IAAI,eAAI,GAAG,IAAI,gCAAI,GAAG,EAAE,WAAW,MAAM,CAAC;AAAA,EACtD,CAAC;AACH,OAAO;AACL,8BAAS,YAAY,MAAM;AACzB,qBAAG,KAAK,4CAA4C,MAAM;AAAA,IAAC,CAAC;AAAA,EAC9D,CAAC;AACH;","names":[]}
|
package/dist/tts.test.js
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { STT } from "@livekit/agents-plugin-openai";
|
|
2
2
|
import { tts } from "@livekit/agents-plugins-test";
|
|
3
|
-
import { describe } from "vitest";
|
|
3
|
+
import { describe, it } from "vitest";
|
|
4
4
|
import { TTS } from "./tts.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const hasRimeConfig = Boolean(process.env.RIME_API_KEY && process.env.OPENAI_API_KEY);
|
|
6
|
+
if (hasRimeConfig) {
|
|
7
|
+
describe("Rime TTS", async () => {
|
|
8
|
+
await tts(new TTS(), new STT(), { streaming: false });
|
|
9
|
+
});
|
|
10
|
+
} else {
|
|
11
|
+
describe("Rime TTS", () => {
|
|
12
|
+
it.skip("requires RIME_API_KEY and OPENAI_API_KEY", () => {
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
}
|
|
8
16
|
//# sourceMappingURL=tts.test.js.map
|
package/dist/tts.test.js.map
CHANGED
|
@@ -1 +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\
|
|
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, it } from 'vitest';\nimport { TTS } from './tts.js';\n\nconst hasRimeConfig = Boolean(process.env.RIME_API_KEY && process.env.OPENAI_API_KEY);\n\nif (hasRimeConfig) {\n describe('Rime TTS', async () => {\n await tts(new TTS(), new STT(), { streaming: false });\n });\n} else {\n describe('Rime TTS', () => {\n it.skip('requires RIME_API_KEY and OPENAI_API_KEY', () => {});\n });\n}\n"],"mappings":"AAGA,SAAS,WAAW;AACpB,SAAS,WAAW;AACpB,SAAS,UAAU,UAAU;AAC7B,SAAS,WAAW;AAEpB,MAAM,gBAAgB,QAAQ,QAAQ,IAAI,gBAAgB,QAAQ,IAAI,cAAc;AAEpF,IAAI,eAAe;AACjB,WAAS,YAAY,YAAY;AAC/B,UAAM,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,GAAG,EAAE,WAAW,MAAM,CAAC;AAAA,EACtD,CAAC;AACH,OAAO;AACL,WAAS,YAAY,MAAM;AACzB,OAAG,KAAK,4CAA4C,MAAM;AAAA,IAAC,CAAC;AAAA,EAC9D,CAAC;AACH;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/agents-plugin-rime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.51",
|
|
4
4
|
"description": "Rime plugin for LiveKit Node Agents",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"require": "dist/index.cjs",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"@types/ws": "^8.5.10",
|
|
31
31
|
"tsup": "^8.3.5",
|
|
32
32
|
"typescript": "^5.0.0",
|
|
33
|
-
"@livekit/agents": "1.0.
|
|
34
|
-
"@livekit/agents-plugin-openai": "1.0.
|
|
35
|
-
"@livekit/agents-plugin-silero": "1.0.
|
|
36
|
-
"@livekit/agents-plugins-test": "1.0.
|
|
33
|
+
"@livekit/agents": "1.0.51",
|
|
34
|
+
"@livekit/agents-plugin-openai": "1.0.51",
|
|
35
|
+
"@livekit/agents-plugin-silero": "1.0.51",
|
|
36
|
+
"@livekit/agents-plugins-test": "1.0.51"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"ws": "^8.16.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@livekit/rtc-node": "^0.13.24",
|
|
43
|
-
"@livekit/agents": "1.0.
|
|
43
|
+
"@livekit/agents": "1.0.51"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsup --onSuccess \"pnpm build:types\"",
|
package/src/tts.test.ts
CHANGED
|
@@ -3,9 +3,17 @@
|
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
import { STT } from '@livekit/agents-plugin-openai';
|
|
5
5
|
import { tts } from '@livekit/agents-plugins-test';
|
|
6
|
-
import { describe } from 'vitest';
|
|
6
|
+
import { describe, it } from 'vitest';
|
|
7
7
|
import { TTS } from './tts.js';
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
const hasRimeConfig = Boolean(process.env.RIME_API_KEY && process.env.OPENAI_API_KEY);
|
|
10
|
+
|
|
11
|
+
if (hasRimeConfig) {
|
|
12
|
+
describe('Rime TTS', async () => {
|
|
13
|
+
await tts(new TTS(), new STT(), { streaming: false });
|
|
14
|
+
});
|
|
15
|
+
} else {
|
|
16
|
+
describe('Rime TTS', () => {
|
|
17
|
+
it.skip('requires RIME_API_KEY and OPENAI_API_KEY', () => {});
|
|
18
|
+
});
|
|
19
|
+
}
|