@sudocode-ai/types 0.1.18-dev.0 → 0.1.18
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/package.json +1 -1
- package/src/voice.d.ts +5 -1
package/package.json
CHANGED
package/src/voice.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export type TTSProvider = "browser" | "kokoro" | "openai";
|
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
export interface VoiceSettingsConfig {
|
|
47
|
-
/** Whether voice features are enabled (default:
|
|
47
|
+
/** Whether voice features are enabled (default: false) */
|
|
48
48
|
enabled?: boolean;
|
|
49
49
|
/** Speech-to-text settings */
|
|
50
50
|
stt?: {
|
|
@@ -82,6 +82,10 @@ export interface VoiceSettingsConfig {
|
|
|
82
82
|
narrateToolResults?: boolean;
|
|
83
83
|
/** Whether to narrate assistant messages (default: true) */
|
|
84
84
|
narrateAssistantMessages?: boolean;
|
|
85
|
+
/** Whether to only narrate explicit speak tool calls (default: false)
|
|
86
|
+
* When true, ignores narrateToolUse, narrateToolResults, and narrateAssistantMessages
|
|
87
|
+
* and only narrates when the agent explicitly calls the speak tool */
|
|
88
|
+
narrateSpeakOnly?: boolean;
|
|
85
89
|
};
|
|
86
90
|
}
|
|
87
91
|
|