@mastra/voice-google 0.10.1-alpha.0 → 0.10.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/_tsup-dts-rollup.d.cts +8 -0
- package/dist/_tsup-dts-rollup.d.ts +8 -0
- package/dist/index.cjs +8 -0
- package/dist/index.js +8 -0
- package/package.json +3 -3
|
@@ -57,6 +57,14 @@ export declare class GoogleVoice extends MastraVoice {
|
|
|
57
57
|
languageCode?: string;
|
|
58
58
|
audioConfig?: google.cloud.texttospeech.v1.ISynthesizeSpeechRequest['audioConfig'];
|
|
59
59
|
}): Promise<NodeJS.ReadableStream>;
|
|
60
|
+
/**
|
|
61
|
+
* Checks if listening capabilities are enabled.
|
|
62
|
+
*
|
|
63
|
+
* @returns {Promise<{ enabled: boolean }>}
|
|
64
|
+
*/
|
|
65
|
+
getListener(): Promise<{
|
|
66
|
+
enabled: boolean;
|
|
67
|
+
}>;
|
|
60
68
|
/**
|
|
61
69
|
* Converts speech to text
|
|
62
70
|
* @param {NodeJS.ReadableStream} audioStream - Audio stream to transcribe. Default encoding is LINEAR16.
|
|
@@ -57,6 +57,14 @@ export declare class GoogleVoice extends MastraVoice {
|
|
|
57
57
|
languageCode?: string;
|
|
58
58
|
audioConfig?: google.cloud.texttospeech.v1.ISynthesizeSpeechRequest['audioConfig'];
|
|
59
59
|
}): Promise<NodeJS.ReadableStream>;
|
|
60
|
+
/**
|
|
61
|
+
* Checks if listening capabilities are enabled.
|
|
62
|
+
*
|
|
63
|
+
* @returns {Promise<{ enabled: boolean }>}
|
|
64
|
+
*/
|
|
65
|
+
getListener(): Promise<{
|
|
66
|
+
enabled: boolean;
|
|
67
|
+
}>;
|
|
60
68
|
/**
|
|
61
69
|
* Converts speech to text
|
|
62
70
|
* @param {NodeJS.ReadableStream} audioStream - Audio stream to transcribe. Default encoding is LINEAR16.
|
package/dist/index.cjs
CHANGED
|
@@ -105,6 +105,14 @@ var GoogleVoice = class extends voice.MastraVoice {
|
|
|
105
105
|
return stream$1;
|
|
106
106
|
}, "voice.google.speak")();
|
|
107
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Checks if listening capabilities are enabled.
|
|
110
|
+
*
|
|
111
|
+
* @returns {Promise<{ enabled: boolean }>}
|
|
112
|
+
*/
|
|
113
|
+
async getListener() {
|
|
114
|
+
return { enabled: true };
|
|
115
|
+
}
|
|
108
116
|
/**
|
|
109
117
|
* Converts speech to text
|
|
110
118
|
* @param {NodeJS.ReadableStream} audioStream - Audio stream to transcribe. Default encoding is LINEAR16.
|
package/dist/index.js
CHANGED
|
@@ -103,6 +103,14 @@ var GoogleVoice = class extends MastraVoice {
|
|
|
103
103
|
return stream;
|
|
104
104
|
}, "voice.google.speak")();
|
|
105
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Checks if listening capabilities are enabled.
|
|
108
|
+
*
|
|
109
|
+
* @returns {Promise<{ enabled: boolean }>}
|
|
110
|
+
*/
|
|
111
|
+
async getListener() {
|
|
112
|
+
return { enabled: true };
|
|
113
|
+
}
|
|
106
114
|
/**
|
|
107
115
|
* Converts speech to text
|
|
108
116
|
* @param {NodeJS.ReadableStream} audioStream - Audio stream to transcribe. Default encoding is LINEAR16.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/voice-google",
|
|
3
|
-
"version": "0.10.1
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Mastra Google voice integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"tsup": "^8.4.0",
|
|
34
34
|
"typescript": "^5.8.3",
|
|
35
35
|
"vitest": "^2.1.9",
|
|
36
|
-
"@internal/lint": "0.0.
|
|
37
|
-
"@mastra/core": "0.10.2
|
|
36
|
+
"@internal/lint": "0.0.8",
|
|
37
|
+
"@mastra/core": "0.10.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@mastra/core": "^0.10.0-alpha.0"
|