@livekit/agents-plugin-rime 1.0.49 → 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 CHANGED
@@ -22,7 +22,7 @@ class RimePlugin extends import_agents.Plugin {
22
22
  constructor() {
23
23
  super({
24
24
  title: "rime",
25
- version: "1.0.49",
25
+ version: "1.0.51",
26
26
  package: "@livekit/agents-plugin-rime"
27
27
  });
28
28
  }
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ class RimePlugin extends Plugin {
5
5
  constructor() {
6
6
  super({
7
7
  title: "rime",
8
- version: "1.0.49",
8
+ version: "1.0.51",
9
9
  package: "@livekit/agents-plugin-rime"
10
10
  });
11
11
  }
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
- (0, import_vitest.describe)("Rime TTS", async () => {
7
- await (0, import_agents_plugins_test.tts)(new import_tts.TTS(), new import_agents_plugin_openai.STT(), { streaming: false });
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
@@ -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\ndescribe('Rime TTS', async () => {\n await tts(new TTS(), new STT(), { streaming: false });\n});\n"],"mappings":";AAGA,kCAAoB;AACpB,iCAAoB;AACpB,oBAAyB;AACzB,iBAAoB;AAAA,IAEpB,wBAAS,YAAY,YAAY;AAC/B,YAAM,gCAAI,IAAI,eAAI,GAAG,IAAI,gCAAI,GAAG,EAAE,WAAW,MAAM,CAAC;AACtD,CAAC;","names":[]}
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
- describe("Rime TTS", async () => {
6
- await tts(new TTS(), new STT(), { streaming: false });
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
@@ -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\ndescribe('Rime TTS', async () => {\n await tts(new TTS(), new STT(), { streaming: false });\n});\n"],"mappings":"AAGA,SAAS,WAAW;AACpB,SAAS,WAAW;AACpB,SAAS,gBAAgB;AACzB,SAAS,WAAW;AAEpB,SAAS,YAAY,YAAY;AAC/B,QAAM,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,GAAG,EAAE,WAAW,MAAM,CAAC;AACtD,CAAC;","names":[]}
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.49",
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.49",
34
- "@livekit/agents-plugin-openai": "1.0.49",
35
- "@livekit/agents-plugin-silero": "1.0.49",
36
- "@livekit/agents-plugins-test": "1.0.49"
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.49"
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
- describe('Rime TTS', async () => {
10
- await tts(new TTS(), new STT(), { streaming: false });
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
+ }