@applica-software-guru/persona-sdk 0.1.108 → 0.1.109

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.d.ts CHANGED
@@ -1284,6 +1284,13 @@ export declare interface SynthesizerConfiguration {
1284
1284
  stability?: number;
1285
1285
  style?: number;
1286
1286
  voiceInstructions?: string;
1287
+ /**
1288
+ * Solo ElevenLabs. `websocket` spinge il testo man mano che arriva dal
1289
+ * modello su una connessione persistente (un socket per sessione, un contesto
1290
+ * per turno) invece di una richiesta HTTP per frase: l'handshake si paga una
1291
+ * volta per chiamata e non per turno. Se il socket cade si degrada sull'HTTP.
1292
+ */
1293
+ transport?: SynthesizerTransport;
1287
1294
  /**
1288
1295
  * Solo ElevenLabs, 0-4. Valori alti riducono la latenza ma dal 4 il
1289
1296
  * normalizzatore del testo viene disattivato e numeri e date vengono
@@ -1294,6 +1301,8 @@ export declare interface SynthesizerConfiguration {
1294
1301
 
1295
1302
  export declare type SynthesizerName = 'gcloud' | 'elevenlabs' | 'gtts' | 'openai';
1296
1303
 
1304
+ export declare type SynthesizerTransport = 'http' | 'websocket';
1305
+
1297
1306
  export declare interface SynthesizerVoice {
1298
1307
  id?: string;
1299
1308
  name?: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@applica-software-guru/persona-sdk",
3
3
  "description": "Official TypeScript SDK for the Persona API — manage agents, sessions, projects, knowledge bases, workflows, triggers and more.",
4
4
  "private": false,
5
- "version": "0.1.108",
5
+ "version": "0.1.109",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "dev": "vite",
@@ -6,6 +6,7 @@ export type LanguageCode = 'en-US' | 'it-IT' | 'es-ES' | 'fr-FR' | 'de-DE' | 'pt
6
6
 
7
7
 
8
8
  export type SynthesizerName = 'gcloud' | 'elevenlabs' | 'gtts' | 'openai';
9
+ export type SynthesizerTransport = 'http' | 'websocket';
9
10
 
10
11
  export type TranscriberName = 'gcloud' | 'deepgram' | 'elevenlabs' | 'vosk';
11
12
 
@@ -93,6 +94,13 @@ export interface SynthesizerConfiguration {
93
94
  stability?: number;
94
95
  style?: number;
95
96
  voiceInstructions?: string;
97
+ /**
98
+ * Solo ElevenLabs. `websocket` spinge il testo man mano che arriva dal
99
+ * modello su una connessione persistente (un socket per sessione, un contesto
100
+ * per turno) invece di una richiesta HTTP per frase: l'handshake si paga una
101
+ * volta per chiamata e non per turno. Se il socket cade si degrada sull'HTTP.
102
+ */
103
+ transport?: SynthesizerTransport;
96
104
  /**
97
105
  * Solo ElevenLabs, 0-4. Valori alti riducono la latenza ma dal 4 il
98
106
  * normalizzatore del testo viene disattivato e numeri e date vengono
package/src/index.ts CHANGED
@@ -31,6 +31,7 @@ export type {
31
31
  OrchestrationAgent,
32
32
  SynthesizerConfiguration,
33
33
  SynthesizerName,
34
+ SynthesizerTransport,
34
35
  SynthesizerVoice,
35
36
  TranscriberConfiguration,
36
37
  TranscriberName,