@dataclouder/ngx-agent-cards 0.2.4 → 0.2.5
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
|
@@ -413,6 +413,27 @@ interface VoiceCloning {
|
|
|
413
413
|
transcription: string;
|
|
414
414
|
main: VoiceTTS;
|
|
415
415
|
}
|
|
416
|
+
declare enum AgenticEngine {
|
|
417
|
+
SERVER_SDK = "server_sdk",// Loop ReAct local del backend (Vercel AI SDK)
|
|
418
|
+
OS_HERMES = "os_hermes"
|
|
419
|
+
}
|
|
420
|
+
declare enum AgenticPattern {
|
|
421
|
+
DIRECT = "direct",// Roleplay clásico sin bucles
|
|
422
|
+
REACT = "react",// Pensamiento -> Acción (Tools) -> Observación
|
|
423
|
+
REFLECTION = "reflection",// Borrador -> Crítica interna -> Refinación
|
|
424
|
+
PLAN_AND_EXECUTE = "plan_execute"
|
|
425
|
+
}
|
|
426
|
+
interface IAgenticConfig {
|
|
427
|
+
enabled: boolean;
|
|
428
|
+
engine: AgenticEngine;
|
|
429
|
+
pattern: AgenticPattern;
|
|
430
|
+
maxIterations: number;
|
|
431
|
+
allowedTools: string[];
|
|
432
|
+
reflectionPrompt?: string;
|
|
433
|
+
connectionUrl?: string;
|
|
434
|
+
reasoningModel?: IAIModel;
|
|
435
|
+
executionModel?: IAIModel;
|
|
436
|
+
}
|
|
416
437
|
interface IAgentCard {
|
|
417
438
|
version?: string;
|
|
418
439
|
_id?: string;
|
|
@@ -430,6 +451,7 @@ interface IAgentCard {
|
|
|
430
451
|
learnable?: ILearnable;
|
|
431
452
|
auditable?: IAuditable;
|
|
432
453
|
voiceCloning?: VoiceCloning;
|
|
454
|
+
agenticConfig?: IAgenticConfig;
|
|
433
455
|
metaApp?: IAgentMetadata;
|
|
434
456
|
}
|
|
435
457
|
interface IAgentCardMeta extends IAgentCard {
|
|
@@ -1260,7 +1282,15 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
|
|
|
1260
1282
|
label: string;
|
|
1261
1283
|
}[];
|
|
1262
1284
|
agentTypeOptions: (string | EAgentType.None)[];
|
|
1285
|
+
agenticEngineOptions: AgenticEngine[];
|
|
1286
|
+
agenticPatternOptions: AgenticPattern[];
|
|
1287
|
+
allowedToolsOptions: {
|
|
1288
|
+
label: string;
|
|
1289
|
+
value: string;
|
|
1290
|
+
}[];
|
|
1263
1291
|
readonly onSave: _angular_core.OutputEmitterRef<any>;
|
|
1292
|
+
isToolAllowed(toolValue: string): boolean;
|
|
1293
|
+
toggleTool(toolValue: string, checked: boolean): void;
|
|
1264
1294
|
form: _angular_forms.FormGroup<{
|
|
1265
1295
|
version: _angular_forms.FormControl<string>;
|
|
1266
1296
|
id: _angular_forms.FormControl<string>;
|
|
@@ -1309,6 +1339,27 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
|
|
|
1309
1339
|
tags: FormArray<_angular_forms.FormControl<string | null>>;
|
|
1310
1340
|
}>;
|
|
1311
1341
|
voiceCloning: _angular_forms.FormGroup<any>;
|
|
1342
|
+
agenticConfig: _angular_forms.FormGroup<{
|
|
1343
|
+
enabled: _angular_forms.FormControl<boolean>;
|
|
1344
|
+
engine: _angular_forms.FormControl<AgenticEngine>;
|
|
1345
|
+
pattern: _angular_forms.FormControl<AgenticPattern>;
|
|
1346
|
+
maxIterations: _angular_forms.FormControl<number>;
|
|
1347
|
+
allowedTools: FormArray<_angular_forms.FormControl<unknown>>;
|
|
1348
|
+
reflectionPrompt: _angular_forms.FormControl<string>;
|
|
1349
|
+
connectionUrl: _angular_forms.FormControl<string>;
|
|
1350
|
+
reasoningModel: _angular_forms.FormGroup<{
|
|
1351
|
+
quality: _angular_forms.FormControl<_dataclouder_ngx_core.EModelQuality>;
|
|
1352
|
+
modelName: _angular_forms.FormControl<string>;
|
|
1353
|
+
provider: _angular_forms.FormControl<string>;
|
|
1354
|
+
id: _angular_forms.FormControl<string>;
|
|
1355
|
+
}>;
|
|
1356
|
+
executionModel: _angular_forms.FormGroup<{
|
|
1357
|
+
quality: _angular_forms.FormControl<_dataclouder_ngx_core.EModelQuality>;
|
|
1358
|
+
modelName: _angular_forms.FormControl<string>;
|
|
1359
|
+
provider: _angular_forms.FormControl<string>;
|
|
1360
|
+
id: _angular_forms.FormControl<string>;
|
|
1361
|
+
}>;
|
|
1362
|
+
}>;
|
|
1312
1363
|
}>;
|
|
1313
1364
|
protected patchForm(agentCard: IAgentCard): void;
|
|
1314
1365
|
save(): Promise<IAgentCard | undefined>;
|
|
@@ -1764,5 +1815,5 @@ declare class ChatEngineTestComponent {
|
|
|
1764
1815
|
|
|
1765
1816
|
declare const AGENT_CARDS_STATE_SERVICE: InjectionToken<MasterStateService<IAgentCard>>;
|
|
1766
1817
|
|
|
1767
|
-
export { ACCDataGenerationComponent, AGENT_CARDS_STATE_SERVICE, AIGenerationService, AgentCardListComponent, AgentCardUI, AgentCardsGenerationService, AudioService, AudioSpeed, BACKGROUND_SERVICE_TOKEN, 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, DefaultAgentCardsService, DoActionTypeOptions, DynamicFlowService, DynamicFlowTaskTypeOptions, EAccountsPlatform, EAgentType, EDoActionType, EDynamicFlowTaskType, EntityThen, EntityWhatOptions, EntityWhenOptions, EvalResultStringDefinition, GlobalToolsService, 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, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
|
|
1768
|
-
export type { Appearance, AudioGenerated, AudioStatus, BackgroundTask, CardTranslation, ChangePromptAction, CharacterCardData, ChatEvent, ConversationFlowFormGroup, ConversationSettingsFormGroup, DoAction, DoActionFormGroup, DynamicConditionFormGroup, DynamicCriteriaFormGroup, IAccounts, IAgentAssets, IAgentCard, IAgentCardMeta, IAgentMetadata, IAgentResponseDTO, IBackgroundService, ICardRoute, ICardRouteStep, IChallengeState, ICharacterCardDC, IConversationFlow, IConversationFlowState, IConversationSession, IConversationSettings, IConversationSettingsDTO, IDynamicCondition, IDynamicCriteria, IDynamicFlowTask, IGenerateConversationCardsDto, IGoalState, IMoodState, IMoodStateRuntime, IRule, ISimpleAgent, ITTS, IVideoPlayerService, IWordMetadata, ModelFormGroup, ModelName, MultiLanguage, Persona, SimpleAgentTask, SimpleAgentTaskFormGroup, SimpleEvalResult, TextHTMLTag, TranscriptionsWhisper, TriggerTasksFormGroup, VoiceCloning, VoiceTTS, WordData };
|
|
1818
|
+
export { ACCDataGenerationComponent, AGENT_CARDS_STATE_SERVICE, AIGenerationService, AgentCardListComponent, AgentCardUI, AgentCardsGenerationService, AgenticEngine, AgenticPattern, AudioService, AudioSpeed, BACKGROUND_SERVICE_TOKEN, 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, DefaultAgentCardsService, DoActionTypeOptions, DynamicFlowService, DynamicFlowTaskTypeOptions, EAccountsPlatform, EAgentType, EDoActionType, EDynamicFlowTaskType, EntityThen, EntityWhatOptions, EntityWhenOptions, EvalResultStringDefinition, GlobalToolsService, 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, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
|
|
1819
|
+
export type { Appearance, AudioGenerated, AudioStatus, BackgroundTask, CardTranslation, ChangePromptAction, CharacterCardData, ChatEvent, ConversationFlowFormGroup, ConversationSettingsFormGroup, 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, IMoodState, IMoodStateRuntime, IRule, ISimpleAgent, ITTS, IVideoPlayerService, IWordMetadata, ModelFormGroup, ModelName, MultiLanguage, Persona, SimpleAgentTask, SimpleAgentTaskFormGroup, SimpleEvalResult, TextHTMLTag, TranscriptionsWhisper, TriggerTasksFormGroup, VoiceCloning, VoiceTTS, WordData };
|