@mastra/voice-sarvam 0.10.1-alpha.0 → 0.10.2-alpha.0

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.
@@ -45,6 +45,14 @@ export declare class SarvamVoice extends MastraVoice {
45
45
  getSpeakers(): Promise<{
46
46
  voiceId: "meera" | "pavithra" | "maitreyi" | "arvind" | "amol" | "amartya" | "diya" | "neel" | "misha" | "vian" | "arjun" | "maya";
47
47
  }[]>;
48
+ /**
49
+ * Checks if listening capabilities are enabled.
50
+ *
51
+ * @returns {Promise<{ enabled: boolean }>}
52
+ */
53
+ getListener(): Promise<{
54
+ enabled: boolean;
55
+ }>;
48
56
  listen(input: NodeJS.ReadableStream, options?: SarvamListenOptions): Promise<string>;
49
57
  }
50
58
 
@@ -45,6 +45,14 @@ export declare class SarvamVoice extends MastraVoice {
45
45
  getSpeakers(): Promise<{
46
46
  voiceId: "meera" | "pavithra" | "maitreyi" | "arvind" | "amol" | "amartya" | "diya" | "neel" | "misha" | "vian" | "arjun" | "maya";
47
47
  }[]>;
48
+ /**
49
+ * Checks if listening capabilities are enabled.
50
+ *
51
+ * @returns {Promise<{ enabled: boolean }>}
52
+ */
53
+ getListener(): Promise<{
54
+ enabled: boolean;
55
+ }>;
48
56
  listen(input: NodeJS.ReadableStream, options?: SarvamListenOptions): Promise<string>;
49
57
  }
50
58
 
package/dist/index.cjs CHANGED
@@ -124,6 +124,14 @@ var SarvamVoice = class extends voice.MastraVoice {
124
124
  }));
125
125
  }, "voice.deepgram.getSpeakers")();
126
126
  }
127
+ /**
128
+ * Checks if listening capabilities are enabled.
129
+ *
130
+ * @returns {Promise<{ enabled: boolean }>}
131
+ */
132
+ async getListener() {
133
+ return { enabled: true };
134
+ }
127
135
  async listen(input, options) {
128
136
  return this.traced(async () => {
129
137
  const chunks = [];
package/dist/index.js CHANGED
@@ -122,6 +122,14 @@ var SarvamVoice = class extends MastraVoice {
122
122
  }));
123
123
  }, "voice.deepgram.getSpeakers")();
124
124
  }
125
+ /**
126
+ * Checks if listening capabilities are enabled.
127
+ *
128
+ * @returns {Promise<{ enabled: boolean }>}
129
+ */
130
+ async getListener() {
131
+ return { enabled: true };
132
+ }
125
133
  async listen(input, options) {
126
134
  return this.traced(async () => {
127
135
  const chunks = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-sarvam",
3
- "version": "0.10.1-alpha.0",
3
+ "version": "0.10.2-alpha.0",
4
4
  "description": "Mastra Sarvam AI voice integration",
5
5
  "type": "module",
6
6
  "files": [
@@ -23,17 +23,17 @@
23
23
  },
24
24
  "license": "Elastic-2.0",
25
25
  "dependencies": {
26
- "zod": "^3.24.3"
26
+ "zod": "^3.25.56"
27
27
  },
28
28
  "devDependencies": {
29
- "@microsoft/api-extractor": "^7.52.5",
30
- "@types/node": "^20.17.32",
31
- "eslint": "^9.25.1",
32
- "tsup": "^8.4.0",
29
+ "@microsoft/api-extractor": "^7.52.8",
30
+ "@types/node": "^20.17.57",
31
+ "eslint": "^9.28.0",
32
+ "tsup": "^8.5.0",
33
33
  "typescript": "^5.8.3",
34
34
  "vitest": "^2.1.9",
35
- "@internal/lint": "0.0.7",
36
- "@mastra/core": "0.10.2-alpha.2"
35
+ "@internal/lint": "0.0.10",
36
+ "@mastra/core": "0.10.4-alpha.1"
37
37
  },
38
38
  "keywords": [
39
39
  "mastra",