@mastra/voice-google-gemini-live 0.0.0-add-libsql-changeset-20250910154739 → 0.0.0-agent-error-handling-20251023180025
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/CHANGELOG.md +134 -3
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/managers/AudioStreamManager.d.ts +1 -1
- package/dist/managers/index.d.ts +11 -11
- package/dist/utils/errors.d.ts +1 -1
- package/package.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ToolsInput } from '@mastra/core/agent';
|
|
2
2
|
import { MastraVoice } from '@mastra/core/voice';
|
|
3
3
|
import type { VoiceEventType, VoiceConfig } from '@mastra/core/voice';
|
|
4
|
-
import type { GeminiLiveVoiceConfig, GeminiLiveVoiceOptions, GeminiLiveEventMap, GeminiSessionConfig } from './types';
|
|
4
|
+
import type { GeminiLiveVoiceConfig, GeminiLiveVoiceOptions, GeminiLiveEventMap, GeminiSessionConfig } from './types.js';
|
|
5
5
|
/**
|
|
6
6
|
* Helper class for consistent error handling
|
|
7
7
|
*/
|
package/dist/index.js
CHANGED
|
@@ -562,7 +562,7 @@ var AudioStreamManager = class {
|
|
|
562
562
|
*/
|
|
563
563
|
log(message, ...args) {
|
|
564
564
|
if (this.debug) {
|
|
565
|
-
console.
|
|
565
|
+
console.info(`[AudioStreamManager] ${message}`, ...args);
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
/**
|
|
@@ -841,7 +841,7 @@ var ConnectionManager = class {
|
|
|
841
841
|
*/
|
|
842
842
|
log(message, ...args) {
|
|
843
843
|
if (this.debug) {
|
|
844
|
-
console.
|
|
844
|
+
console.info(`[ConnectionManager] ${message}`, ...args);
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
847
|
};
|
|
@@ -1115,7 +1115,7 @@ var AuthManager = class {
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
log(message, ...args) {
|
|
1117
1117
|
if (this.config.debug) {
|
|
1118
|
-
console.
|
|
1118
|
+
console.info(`[AuthManager] ${message}`, ...args);
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
};
|
|
@@ -1231,7 +1231,7 @@ var EventManager = class {
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
log(message, ...args) {
|
|
1233
1233
|
if (this.debug) {
|
|
1234
|
-
console.
|
|
1234
|
+
console.info(`[EventManager] ${message}`, ...args);
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
1237
|
};
|
|
@@ -2666,7 +2666,7 @@ var GeminiLiveVoice = class _GeminiLiveVoice extends MastraVoice {
|
|
|
2666
2666
|
}
|
|
2667
2667
|
log(message, ...args) {
|
|
2668
2668
|
if (this.debug) {
|
|
2669
|
-
console.
|
|
2669
|
+
console.info(`[GeminiLiveVoice] ${message}`, ...args);
|
|
2670
2670
|
}
|
|
2671
2671
|
}
|
|
2672
2672
|
/**
|