@dataclouder/ngx-agent-cards 0.2.14 → 0.2.16

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataclouder/ngx-agent-cards",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
@@ -1,14 +1,14 @@
1
- import { ImgStorageData, BasicStorage, AudioStorage, IAssetable, FileStorageData } from '@dataclouder/ngx-cloud-storage';
1
+ import { AudioStorage, ImgStorageData, BasicStorage, IAssetable, FileStorageData } from '@dataclouder/ngx-cloud-storage';
2
2
  import { AudioEffectType, TTSRequest } from '@dataclouder/ngx-ai-services';
3
3
  import * as _dataclouder_ngx_core from '@dataclouder/ngx-core';
4
4
  import { ChatUserSettings, EModelQuality, IAuditable, IAIModel, IManageable, ILearnable, EntityCommunicationService, FiltersConfig, IFilterQueryResponse, HttpCoreService, EntityBaseFormComponent, EntityBaseListV2Component, ICustomFilter, PColumn, OnActionEvent, EntityBaseDetailComponent, formatCamelCaseString } from '@dataclouder/ngx-core';
5
+ import { MicSettings } from '@dataclouder/ngx-mic';
5
6
  import * as _angular_forms from '@angular/forms';
6
7
  import { FormGroup, FormControl, FormArray } from '@angular/forms';
7
8
  import * as _angular_core from '@angular/core';
8
9
  import { InjectionToken, Type, Provider, WritableSignal, Injector, Signal, OnDestroy, ElementRef, OnInit, AfterViewInit, TemplateRef, EventEmitter } from '@angular/core';
9
10
  import { UserService } from '@dataclouder/ngx-users';
10
11
  import * as rxjs from 'rxjs';
11
- import { MicSettings } from '@dataclouder/ngx-mic';
12
12
  import * as _dataclouder_ngx_agent_cards from '@dataclouder/ngx-agent-cards';
13
13
  import { SafeHtml } from '@angular/platform-browser';
14
14
  import * as dist_dataclouder_ngx_knowledge_types_dataclouder_ngx_knowledge from 'dist/dataclouder/ngx-knowledge/types/dataclouder-ngx-knowledge';
@@ -17,6 +17,16 @@ import * as dist_dataclouder_ngx_core_types_dataclouder_ngx_core from 'dist/data
17
17
  import * as _angular_router from '@angular/router';
18
18
  import { MasterStateService } from '@dataclouder/ngx-knowledge';
19
19
 
20
+ /**
21
+ * Traduce la preferencia de alto nivel `micMode` (de ChatUserSettings) a la
22
+ * configuración técnica de `MicSettings` que consume el componente de micrófono.
23
+ *
24
+ * - 'hands-free' → grabación por detección de silencio, infinita (envía y sigue escuchando).
25
+ * - 'push-to-talk' → grabación por detección de silencio, finita (envía y se detiene).
26
+ * - 'manual' → grabación continua: el silencio NO envía; el usuario presiona para enviar
27
+ * (máx. `maxRecordingTime`, con contador y barra). Para usuarios que pausan mucho.
28
+ */
29
+ declare function buildMicSettings(micMode: ChatUserSettings['micMode'] | undefined, lang: string): MicSettings;
20
30
  declare const defaultconvUserSettings: ChatUserSettings;
21
31
  declare class VoiceTTSOption {
22
32
  provider: string;
@@ -167,12 +177,13 @@ type ConversationSettingsFormGroup = FormGroup<{
167
177
  textEngine: FormControl<TextEngines>;
168
178
  conversationType: FormControl<ConversationType$1>;
169
179
  autoStart: FormControl<boolean>;
170
- tts: FormGroup<{
171
- voice: FormControl<string>;
172
- secondaryVoice: FormControl<string>;
173
- speed: FormControl<string>;
174
- speedRate: FormControl<number>;
175
- }>;
180
+ userMustStart: FormControl<boolean>;
181
+ streamResponses: FormControl<boolean>;
182
+ displayMode: FormControl<string>;
183
+ model: ModelFormGroup;
184
+ rules: FormArray<any>;
185
+ chatMode: FormControl<string>;
186
+ avatarDisplayMode: FormControl<string>;
176
187
  }>;
177
188
 
178
189
  interface IConversationRule {
@@ -185,13 +196,6 @@ interface IConversationRule {
185
196
  auditable?: IAuditable;
186
197
  }
187
198
 
188
- interface Appearance {
189
- generalDescription: string;
190
- physicalDescription: string;
191
- outfit: string;
192
- objects: string;
193
- quirks: string;
194
- }
195
199
  interface CardTranslation {
196
200
  greetings: string[];
197
201
  instructions: string;
@@ -241,12 +245,6 @@ interface ICharacterCardDC {
241
245
  spec_version?: '2_v_dc';
242
246
  data: CharacterCardData;
243
247
  }
244
- interface ITTS {
245
- voice: string;
246
- secondaryVoice?: string;
247
- speed?: AudioSpeed;
248
- speedRate?: number;
249
- }
250
248
  interface IAgentMetadata {
251
249
  isPublished: boolean;
252
250
  isPublic: any;
@@ -267,10 +265,6 @@ interface VoiceTTS {
267
265
  options?: Record<string, any>;
268
266
  }
269
267
 
270
- interface IRule {
271
- name: string;
272
- description: string;
273
- }
274
268
  interface IConversationSettings {
275
269
  modelQuality?: EModelQuality;
276
270
  model?: IAIModel;
@@ -288,11 +282,9 @@ interface IConversationSettings {
288
282
  user?: string;
289
283
  assistant?: string;
290
284
  };
291
- tts?: ITTS;
292
- mainVoice?: VoiceTTS;
293
- secondaryVoice?: VoiceTTS;
294
285
  chatMode?: 'regular' | 'immersive';
295
286
  avatarDisplayMode?: 'card' | 'transparent' | 'fullscreen';
287
+ voice?: IAgentVoiceSettings;
296
288
  }
297
289
  type IConversationSettingsDTO = Partial<IConversationSettings> & {
298
290
  returnJson?: boolean;
@@ -428,10 +420,13 @@ declare enum EAgentType {
428
420
  Social = "social",
429
421
  Character = "character"
430
422
  }
431
- interface VoiceCloning {
432
- sample: AudioStorage;
433
- transcription: string;
434
- main: VoiceTTS;
423
+ interface IAgentVoiceSettings {
424
+ main?: VoiceTTS;
425
+ secondary?: VoiceTTS;
426
+ cloning?: {
427
+ sample?: AudioStorage;
428
+ transcription?: string;
429
+ };
435
430
  }
436
431
  declare enum AgenticEngine {
437
432
  SERVER_SDK = "server_sdk",// Loop ReAct local del backend (Vercel AI SDK)
@@ -470,7 +465,7 @@ interface IAgentCard {
470
465
  manageable?: IManageable;
471
466
  learnable?: ILearnable;
472
467
  auditable?: IAuditable;
473
- voiceCloning?: VoiceCloning;
468
+ voice?: IAgentVoiceSettings;
474
469
  agenticConfig?: IAgenticConfig;
475
470
  metaApp?: IAgentMetadata;
476
471
  live2d?: any;
@@ -479,15 +474,6 @@ interface IAgentCard {
479
474
  interface IAgentCardMeta extends IAgentCard {
480
475
  taken: any;
481
476
  }
482
- declare const EvalResultStringDefinition = "\ninterface SimpleEvalResult {\n score: number; // Score of the user's response 0 to 3\n feedback: string; // Feedback of the user's understanding of the conversation\n}";
483
- interface SimpleEvalResult {
484
- score: number;
485
- feedback: string;
486
- }
487
- interface ISimpleAgent {
488
- systemPrompt: string;
489
- model: IAIModel;
490
- }
491
477
  interface SimpleAgentTask {
492
478
  task: string;
493
479
  modelQuality?: EModelQuality;
@@ -538,6 +524,7 @@ declare class MessageContent {
538
524
  text?: string;
539
525
  content?: string;
540
526
  voice?: string;
527
+ provider?: string;
541
528
  messageId?: string;
542
529
  tag?: string;
543
530
  ssml?: string;
@@ -612,7 +599,8 @@ declare enum ConversationEvents {
612
599
  declare enum ChatEventType {
613
600
  WordClicked = "wordClicked",
614
601
  MoodDetected = "moodDetected",
615
- AudioStarted = "audioStarted"
602
+ AudioStarted = "audioStarted",
603
+ AudioStopped = "audioStopped"
616
604
  }
617
605
  interface ChatEvent<T = any> {
618
606
  type: ChatEventType;
@@ -923,17 +911,23 @@ declare class ContextEngineService {
923
911
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ContextEngineService>;
924
912
  }
925
913
 
914
+ interface AudioStatusUpdate {
915
+ message: MessageContent;
916
+ status: AudioStatus;
917
+ }
926
918
  declare class ChatMonitorService {
927
919
  constructor();
928
- private readonly messageAudioWillPlay;
929
- readonly messageAudioWillPlay$: _angular_core.Signal<MessageContent>;
930
- currentMood: _angular_core.WritableSignal<string[]>;
920
+ readonly activeAudioMessage: _angular_core.WritableSignal<MessageContent>;
921
+ currentMood: _angular_core.WritableSignal<string>;
931
922
  isConversationActive: _angular_core.WritableSignal<boolean>;
932
- logMessageAudioWillPlay(message: MessageContent): void;
933
- logCurrentMood(mood: string[]): void;
923
+ logCurrentMood(mood: string | null): void;
934
924
  cleanMonitorVars(): void;
935
925
  readonly backgroundUrl: _angular_core.WritableSignal<string>;
936
926
  setBackground(imageUrl: string | undefined): void;
927
+ readonly messageAudioWillPlay$: _angular_core.WritableSignal<MessageContent>;
928
+ readonly messageAudioStatus$: _angular_core.WritableSignal<AudioStatusUpdate>;
929
+ logMessageAudioWillPlay(message: MessageContent): void;
930
+ logMessageAudioStatus(message: MessageContent, status: AudioStatus): void;
937
931
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatMonitorService, never>;
938
932
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ChatMonitorService>;
939
933
  }
@@ -1002,7 +996,6 @@ declare function provideLive2D(config: Live2DConfig): {
1002
996
  };
1003
997
 
1004
998
  declare class VideoPlayerService implements OnDestroy {
1005
- private conversationFlowStateService;
1006
999
  private player;
1007
1000
  private videoElement;
1008
1001
  private useNativePlayer;
@@ -1011,7 +1004,6 @@ declare class VideoPlayerService implements OnDestroy {
1011
1004
  private videoQueue;
1012
1005
  private defaultVideoUrl;
1013
1006
  private playAndRewindedSubscription;
1014
- private moodSubscription;
1015
1007
  private playAndRewindedSource;
1016
1008
  playAndRewinded$: rxjs.Observable<void>;
1017
1009
  agentCard: _angular_core.WritableSignal<IAgentCard>;
@@ -1036,14 +1028,12 @@ declare class VideoPlayerService implements OnDestroy {
1036
1028
  }
1037
1029
 
1038
1030
  declare class VideoPlayerNativeService implements OnDestroy {
1039
- private conversationFlowStateService;
1040
1031
  private videoA;
1041
1032
  private videoB;
1042
1033
  private activeVideo;
1043
1034
  private inactiveVideo;
1044
1035
  private videoQueue;
1045
1036
  private defaultVideoUrl;
1046
- private moodSubscription;
1047
1037
  private onVideoEndedBound;
1048
1038
  private pendingPlayingHandler;
1049
1039
  private pendingPlayingTarget;
@@ -1080,6 +1070,7 @@ declare class VideoPlayerNativeService implements OnDestroy {
1080
1070
  * `IConversationFlow` configuration that defines the rules of the flow.
1081
1071
  */
1082
1072
  declare class ConversationFlowStateService {
1073
+ private chatMonitorService;
1083
1074
  private readonly initialState;
1084
1075
  /**
1085
1076
  * @description
@@ -1260,7 +1251,6 @@ declare class EvaluationService {
1260
1251
  }
1261
1252
 
1262
1253
  declare class DCChatComponent implements OnInit, OnDestroy {
1263
- private moodSubscription;
1264
1254
  private injector;
1265
1255
  private userService;
1266
1256
  private dialogService;
@@ -1277,14 +1267,16 @@ declare class DCChatComponent implements OnInit, OnDestroy {
1277
1267
  conversationSettings: IConversationSettings;
1278
1268
  conversationFlow: IConversationFlow | null;
1279
1269
  agentCard: IAgentCard;
1270
+ micSettings?: MicSettings;
1280
1271
  observerConfig?: IObserverConfig;
1281
1272
  readonly parseDict: _angular_core.InputSignal<{
1282
1273
  [key: string]: string;
1283
1274
  }>;
1275
+ /** @deprecated Use ChatMonitorService instead — el canal oficial es el servicio compartido. */
1284
1276
  readonly chatEvent: _angular_core.OutputEmitterRef<ChatEvent<any>>;
1277
+ /** @deprecated Use ChatMonitorService instead — el canal oficial es el servicio compartido. */
1285
1278
  readonly goalCompleted: _angular_core.OutputEmitterRef<void>;
1286
1279
  viewMode: _angular_core.WritableSignal<"chat" | "immersive">;
1287
- micSettings: MicSettings;
1288
1280
  isAdmin: boolean;
1289
1281
  constructor();
1290
1282
  ngOnInit(): Promise<void>;
@@ -1304,7 +1296,7 @@ declare class DCChatComponent implements OnInit, OnDestroy {
1304
1296
  restartConversation(conversation?: IAgentCard | null): Promise<void>;
1305
1297
  complete(): void;
1306
1298
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DCChatComponent, never>;
1307
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DCChatComponent, "dc-chat", never, { "chatUserSettings": { "alias": "chatUserSettings"; "required": false; }; "conversationSettings": { "alias": "conversationSettings"; "required": false; }; "conversationFlow": { "alias": "conversationFlow"; "required": false; }; "agentCard": { "alias": "agentCard"; "required": false; }; "observerConfig": { "alias": "observerConfig"; "required": false; }; "parseDict": { "alias": "parseDict"; "required": false; "isSignal": true; }; }, { "chatEvent": "chatEvent"; "goalCompleted": "goalCompleted"; }, never, never, true, never>;
1299
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DCChatComponent, "dc-chat", never, { "chatUserSettings": { "alias": "chatUserSettings"; "required": false; }; "conversationSettings": { "alias": "conversationSettings"; "required": false; }; "conversationFlow": { "alias": "conversationFlow"; "required": false; }; "agentCard": { "alias": "agentCard"; "required": false; }; "micSettings": { "alias": "micSettings"; "required": false; }; "observerConfig": { "alias": "observerConfig"; "required": false; }; "parseDict": { "alias": "parseDict"; "required": false; "isSignal": true; }; }, { "chatEvent": "chatEvent"; "goalCompleted": "goalCompleted"; }, never, never, true, never>;
1308
1300
  }
1309
1301
 
1310
1302
  declare class PolitoNotificationComponent implements OnInit, OnDestroy {
@@ -1400,8 +1392,6 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
1400
1392
  userMustStart: _angular_forms.FormControl<boolean>;
1401
1393
  streamResponses: _angular_forms.FormControl<boolean>;
1402
1394
  displayMode: _angular_forms.FormControl<string>;
1403
- mainVoice: _angular_forms.FormGroup<any>;
1404
- secondaryVoice: _angular_forms.FormGroup<any>;
1405
1395
  model: _angular_forms.FormGroup<{
1406
1396
  quality: _angular_forms.FormControl<_dataclouder_ngx_core.EModelQuality>;
1407
1397
  modelName: _angular_forms.FormControl<string>;
@@ -1434,7 +1424,7 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
1434
1424
  takenCount: _angular_forms.FormControl<number | null>;
1435
1425
  tags: FormArray<_angular_forms.FormControl<string | null>>;
1436
1426
  }>;
1437
- voiceCloning: _angular_forms.FormGroup<any>;
1427
+ voice: _angular_forms.FormGroup<any>;
1438
1428
  agenticConfig: _angular_forms.FormGroup<{
1439
1429
  enabled: _angular_forms.FormControl<boolean>;
1440
1430
  engine: _angular_forms.FormControl<AgenticEngine>;
@@ -1520,7 +1510,7 @@ interface ModelParts {
1520
1510
  parentIndices: number[];
1521
1511
  }
1522
1512
 
1523
- declare class Live2dModelComponent implements AfterViewInit {
1513
+ declare class Live2dModelComponent implements AfterViewInit, OnDestroy {
1524
1514
  canvasRef: ElementRef<HTMLCanvasElement>;
1525
1515
  modelPath: _angular_core.InputSignal<string>;
1526
1516
  scale: _angular_core.InputSignal<number>;
@@ -1540,6 +1530,7 @@ declare class Live2dModelComponent implements AfterViewInit {
1540
1530
  }>;
1541
1531
  app: any;
1542
1532
  model: any;
1533
+ private resizeObserver?;
1543
1534
  private live2dConfig;
1544
1535
  private modelParameters;
1545
1536
  private modelParts;
@@ -1552,6 +1543,7 @@ declare class Live2dModelComponent implements AfterViewInit {
1552
1543
  private dragStartModel;
1553
1544
  constructor();
1554
1545
  ngAfterViewInit(): Promise<void>;
1546
+ ngOnDestroy(): void;
1555
1547
  initializeCanvas(): Promise<void>;
1556
1548
  loadModel(modelPath: string): Promise<void>;
1557
1549
  private updateModelTransform;
@@ -1562,7 +1554,7 @@ declare class Live2dModelComponent implements AfterViewInit {
1562
1554
  volume?: number;
1563
1555
  crossOrigin?: string;
1564
1556
  focus?: boolean;
1565
- }): void;
1557
+ }): Promise<void>;
1566
1558
  stopSpeaking(): void;
1567
1559
  updateModelParameter(event: {
1568
1560
  id: string;
@@ -1583,7 +1575,7 @@ declare class Live2dModelComponent implements AfterViewInit {
1583
1575
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<Live2dModelComponent, "app-live2d-model", never, { "modelPath": { "alias": "modelPath"; "required": true; "isSignal": true; }; "scale": { "alias": "scale"; "required": false; "isSignal": true; }; "zoom": { "alias": "zoom"; "required": false; "isSignal": true; }; "x": { "alias": "x"; "required": false; "isSignal": true; }; "y": { "alias": "y"; "required": false; "isSignal": true; }; }, { "modelLoaded": "modelLoaded"; "viewStateChanged": "viewStateChanged"; }, never, never, true, never>;
1584
1576
  }
1585
1577
 
1586
- declare class DcAgentCardConverseComponent implements OnInit, OnDestroy {
1578
+ declare class DcAgentCardAvatarComponent implements OnInit, OnDestroy {
1587
1579
  private agentCardService;
1588
1580
  private route;
1589
1581
  private toastService;
@@ -1593,10 +1585,10 @@ declare class DcAgentCardConverseComponent implements OnInit, OnDestroy {
1593
1585
  videoPlayerService: VideoPlayerNativeService;
1594
1586
  agentCardId: string;
1595
1587
  useNativePlayer: boolean;
1596
- activeAudioMessage: MessageContent | null;
1597
1588
  private _isConversationActive;
1598
1589
  set isConversationActive(val: boolean);
1599
1590
  get isConversationActive(): boolean;
1591
+ /** @deprecated Use ChatMonitorService instead — el canal oficial es el servicio compartido. */
1600
1592
  readonly onStartConversation: _angular_core.OutputEmitterRef<IAgentCard>;
1601
1593
  videoPlayerA: _angular_core.Signal<ElementRef<HTMLVideoElement>>;
1602
1594
  videoPlayerB: _angular_core.Signal<ElementRef<HTMLVideoElement>>;
@@ -1622,8 +1614,8 @@ declare class DcAgentCardConverseComponent implements OnInit, OnDestroy {
1622
1614
  private _transformVoice;
1623
1615
  startConversation(): void;
1624
1616
  toggleInfoLayer(): void;
1625
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DcAgentCardConverseComponent, never>;
1626
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DcAgentCardConverseComponent, "dc-agent-card-converse", never, { "agentCardId": { "alias": "agentCardId"; "required": false; }; "useNativePlayer": { "alias": "useNativePlayer"; "required": false; }; "activeAudioMessage": { "alias": "activeAudioMessage"; "required": false; }; "isConversationActive": { "alias": "isConversationActive"; "required": false; }; }, { "onStartConversation": "onStartConversation"; }, never, never, true, never>;
1617
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DcAgentCardAvatarComponent, never>;
1618
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DcAgentCardAvatarComponent, "dc-agent-card-avatar", never, { "agentCardId": { "alias": "agentCardId"; "required": false; }; "useNativePlayer": { "alias": "useNativePlayer"; "required": false; }; "isConversationActive": { "alias": "isConversationActive"; "required": false; }; }, { "onStartConversation": "onStartConversation"; }, never, never, true, never>;
1627
1619
  }
1628
1620
 
1629
1621
  declare class DcAgentCardDetailComponent extends EntityBaseDetailComponent<IAgentCard> {
@@ -1799,8 +1791,12 @@ declare function buildObjectTTSRequest(message: MessageContent, settings?: ChatU
1799
1791
  * This component orchestrates the display and audio playback of chat messages.
1800
1792
  * It uses the `MessageOrchestrationService` to manage the message queue and audio playback.
1801
1793
  *
1794
+ * Children (`MessageContentReactive`) inject the same `MessageOrchestrationService`
1795
+ * instance directly and report their state to it, so this component no longer needs
1796
+ * to relay per-segment audio events via `@Output()`.
1797
+ *
1802
1798
  * @see MessageOrchestrationService
1803
- * @see MessageContentDisplayer
1799
+ * @see MessageContentReactive
1804
1800
  */
1805
1801
  declare class ChatMessageOrchestratorComponent {
1806
1802
  private orchestrationService;
@@ -1818,31 +1814,6 @@ declare class ChatMessageOrchestratorComponent {
1818
1814
  audioCompleted: _angular_core.OutputEmitterRef<MessageContent>;
1819
1815
  messagesSignal: _angular_core.Signal<MessageContent[]>;
1820
1816
  constructor();
1821
- /**
1822
- * @description
1823
- * Handles the `audioCompleted` event from the `MessageContentDisplayer`.
1824
- *
1825
- * @param message - The `MessageContent` object whose audio has finished playing.
1826
- */
1827
- onAudioCompleted(message: MessageContent): void;
1828
- /**
1829
- * @description
1830
- * Handles the `audioStatusChanged` event from the `MessageContentDisplayer`.
1831
- *
1832
- * @param event - The event object containing the `MessageContent` and its new `AudioStatus`.
1833
- * @param index - The index of the message in the array.
1834
- */
1835
- onAudioStatusChanged(event: {
1836
- message: MessageContent;
1837
- status: AudioStatus;
1838
- }, index: number): void;
1839
- /**
1840
- * @description
1841
- * Handles the `wordClicked` event from the `MessageContentDisplayer`.
1842
- *
1843
- * @param wordData - The `WordData` object containing information about the clicked word.
1844
- */
1845
- onWordClicked(wordData: WordData): void;
1846
1817
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatMessageOrchestratorComponent, never>;
1847
1818
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatMessageOrchestratorComponent, "dc-message-orchestrator", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "messageRole": { "alias": "messageRole"; "required": true; "isSignal": true; }; }, { "audioCompleted": "audioCompleted"; }, never, never, true, never>;
1848
1819
  }
@@ -1881,6 +1852,7 @@ declare class DCConversationUserChatSettingsComponent implements OnInit {
1881
1852
  assistantMessageTask: _angular_forms.FormControl<boolean>;
1882
1853
  saveConversations: _angular_forms.FormControl<boolean>;
1883
1854
  multilingualHearing: _angular_forms.FormControl<boolean>;
1855
+ micMode: _angular_forms.FormControl<string>;
1884
1856
  voice: _angular_forms.FormControl<string>;
1885
1857
  model: _angular_forms.FormGroup<{
1886
1858
  quality: _angular_forms.FormControl<dist_dataclouder_ngx_core_types_dataclouder_ngx_core.EModelQuality>;
@@ -2007,5 +1979,5 @@ declare class ChatEngineTestComponent {
2007
1979
 
2008
1980
  declare const AGENT_CARDS_STATE_SERVICE: InjectionToken<MasterStateService<IAgentCard>>;
2009
1981
 
2010
- export { ACCDataGenerationComponent, AGENT_CARDS_STATE_SERVICE, AIGenerationService, AgentCardListComponent, AgentCardUI, AgentCardsGenerationService, AgenticEngine, AgenticPattern, AudioService, AudioSpeed, BACKGROUND_SERVICE_TOKEN, CHAT_OBSERVER_CONFIG, CONVERSATION_AI_TOKEN, CardRouteService, CardRoutesComponent, CardsCreatorComponent, ChatEngineTestComponent, ChatEventType, ChatMessage, ChatMessageOrchestratorComponent, ChatMonitorService, ChatRole, ConditionOperator, ConditionType, ContextEngineService, ContextType, ConversationDTO, ConversationEvents, ConversationFlowStateService, ConversationMessagesDTO, ConversationPromptBuilderService, ConversationRuleService, ConversationRulesComponent, ConversationStatus, ConversationType$1 as ConversationType, ConversationTypeOptions, DCAgentCardFormComponent, DCChatComponent, DCConversationUserChatSettingsComponent, DcAgentCardConverseComponent, DcAgentCardDetailComponent, DcObserverInterventionComponent, DefaultAgentCardsService, DoActionTypeOptions, DynamicFlowService, DynamicFlowTaskTypeOptions, EAccountsPlatform, EAgentType, EDoActionType, EDynamicFlowTaskType, EntityThen, EntityWhatOptions, EntityWhenOptions, EvalResultStringDefinition, GlobalToolsService, LIVE2D_CONFIG, Live2dModelComponent, MessageContent, MessageContentDisplayer, MessagesStateService, ModelSelectorComponent, PolitoNotificationComponent, PopupService, PromptPreviewComponent, SectionType, SystemPromptType, TextEngineOptions, TextEngines, VIDEO_PLAYER_SERVICE_TOKEN, VideoPlayerNativeService, VideoPlayerService, VoiceTTSOption, VoiceTTSOptions, WordTimestamps, XKillsAgentCardsService, buildObjectTTSRequest, characterCardStringDataDefinition, convertToHTML, createAIModelFormGroup, defaultconvUserSettings, extractAudioAndTranscription, extractJsonFromResponse, getMoodStateLabelsAsString, getMoodStatePrompt, markdownToHtml, matchTranscription, provideAgentCardService, provideLive2D, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
2011
- export type { Appearance, AudioGenerated, AudioStatus, BackgroundTask, CardTranslation, ChangePromptAction, CharacterCardData, ChatEvent, ConversationFlowFormGroup, ConversationSettingsFormGroup, DCAgentFormSettings, DoAction, DoActionFormGroup, DynamicConditionFormGroup, DynamicCriteriaFormGroup, IAccounts, IAgentAssets, IAgentCard, IAgentCardMeta, IAgentMetadata, IAgentResponseDTO, IAgenticConfig, IBackgroundService, ICardRoute, ICardRouteStep, IChallengeState, ICharacterCardDC, IConversationFlow, IConversationFlowState, IConversationSession, IConversationSettings, IConversationSettingsDTO, IDynamicCondition, IDynamicCriteria, IDynamicFlowTask, IGenerateConversationCardsDto, IGoalState, IInterventionState, IMoodState, IMoodStateRuntime, IObserverConfig, IRule, ISimpleAgent, ITTS, IVideoPlayerService, IWordMetadata, Live2DConfig, ModelFormGroup, ModelName, ModelParameters, ModelParts, MultiLanguage, Persona, SimpleAgentTask, SimpleAgentTaskFormGroup, SimpleEvalResult, TextHTMLTag, TranscriptionsWhisper, TriggerTasksFormGroup, VoiceCloning, VoiceTTS, WordData };
1982
+ export { ACCDataGenerationComponent, AGENT_CARDS_STATE_SERVICE, AIGenerationService, AgentCardListComponent, AgentCardUI, AgentCardsGenerationService, AgenticEngine, AgenticPattern, AudioService, AudioSpeed, BACKGROUND_SERVICE_TOKEN, CHAT_OBSERVER_CONFIG, CONVERSATION_AI_TOKEN, CardRouteService, CardRoutesComponent, CardsCreatorComponent, ChatEngineTestComponent, ChatEventType, ChatMessage, ChatMessageOrchestratorComponent, ChatMonitorService, ChatRole, ConditionOperator, ConditionType, ContextEngineService, ContextType, ConversationDTO, ConversationEvents, ConversationFlowStateService, ConversationMessagesDTO, ConversationPromptBuilderService, ConversationRuleService, ConversationRulesComponent, ConversationStatus, ConversationType$1 as ConversationType, ConversationTypeOptions, DCAgentCardFormComponent, DCChatComponent, DCConversationUserChatSettingsComponent, DcAgentCardAvatarComponent, DcAgentCardDetailComponent, DcObserverInterventionComponent, DefaultAgentCardsService, DoActionTypeOptions, DynamicFlowService, DynamicFlowTaskTypeOptions, EAccountsPlatform, EAgentType, EDoActionType, EDynamicFlowTaskType, EntityThen, EntityWhatOptions, EntityWhenOptions, GlobalToolsService, LIVE2D_CONFIG, Live2dModelComponent, MessageContent, MessageContentDisplayer, MessagesStateService, ModelSelectorComponent, PolitoNotificationComponent, PopupService, PromptPreviewComponent, SectionType, SystemPromptType, TextEngineOptions, TextEngines, VIDEO_PLAYER_SERVICE_TOKEN, VideoPlayerNativeService, VideoPlayerService, VoiceTTSOption, VoiceTTSOptions, WordTimestamps, XKillsAgentCardsService, buildMicSettings, buildObjectTTSRequest, characterCardStringDataDefinition, convertToHTML, createAIModelFormGroup, defaultconvUserSettings, extractAudioAndTranscription, extractJsonFromResponse, getMoodStateLabelsAsString, getMoodStatePrompt, markdownToHtml, matchTranscription, provideAgentCardService, provideLive2D, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
1983
+ export type { AudioGenerated, AudioStatus, AudioStatusUpdate, BackgroundTask, CardTranslation, ChangePromptAction, CharacterCardData, ChatEvent, ConversationFlowFormGroup, ConversationSettingsFormGroup, DCAgentFormSettings, DoAction, DoActionFormGroup, DynamicConditionFormGroup, DynamicCriteriaFormGroup, IAccounts, IAgentAssets, IAgentCard, IAgentCardMeta, IAgentMetadata, IAgentResponseDTO, IAgentVoiceSettings, IAgenticConfig, IBackgroundService, ICardRoute, ICardRouteStep, IChallengeState, ICharacterCardDC, IConversationFlow, IConversationFlowState, IConversationSession, IConversationSettings, IConversationSettingsDTO, IDynamicCondition, IDynamicCriteria, IDynamicFlowTask, IGenerateConversationCardsDto, IGoalState, IInterventionState, IMoodState, IMoodStateRuntime, IObserverConfig, IVideoPlayerService, IWordMetadata, Live2DConfig, ModelFormGroup, ModelName, ModelParameters, ModelParts, MultiLanguage, Persona, SimpleAgentTask, SimpleAgentTaskFormGroup, TextHTMLTag, TranscriptionsWhisper, TriggerTasksFormGroup, VoiceTTS, WordData };