@glydeunity/voice-sdk 1.5.11 → 1.5.13

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
@@ -371,6 +371,8 @@ export declare interface DeepgramAgentConfig {
371
371
  */
372
372
  declare interface DeepgramAgentConfig_2 {
373
373
  tags?: string[];
374
+ /** Greeting phrase for the agent (server-controlled). Only used when provided by server. */
375
+ greeting?: string;
374
376
  think?: {
375
377
  provider?: {
376
378
  type: string;
@@ -843,10 +845,22 @@ declare interface GlydeVoiceConfig_2 {
843
845
  role: 'user' | 'agent';
844
846
  content: string;
845
847
  }>;
846
- /** Override system prompt (skips config fetch) */
847
- systemPrompt?: string;
848
- /** Override Deepgram configuration */
848
+ /** Override Deepgram configuration (e.g. model, tags). System prompt and greeting remain server-controlled. */
849
849
  deepgramConfig?: DeepgramAgentConfig_2;
850
+ /**
851
+ * Additional tool/function definitions to merge with server-provided functions.
852
+ * Server-defined functions are always included; this allows adding extra tools only.
853
+ */
854
+ additionalFunctions?: Array<{
855
+ name: string;
856
+ description: string;
857
+ parameters: unknown;
858
+ endpoint?: {
859
+ url: string;
860
+ method?: string;
861
+ headers?: Record<string, string>;
862
+ };
863
+ }>;
850
864
  }
851
865
 
852
866
  declare interface IconProps {