@mgamadeus/ddd-agents 0.1.2 → 0.1.4
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/README.md +33 -2
- package/dist/chat.js +289 -168
- package/dist/chat.js.map +1 -1
- package/dist/chunks/{ConversationMessageInputComposerWidgets-r_RwCqr7.js → ConversationMessageInputComposerWidgets-BbpB0fZl.js} +2 -2
- package/dist/chunks/{ConversationMessageInputComposerWidgets-r_RwCqr7.js.map → ConversationMessageInputComposerWidgets-BbpB0fZl.js.map} +1 -1
- package/dist/chunks/WebSearchResultsConversationWidget-BXt98hGu.js.map +1 -1
- package/dist/chunks/{canvasBodies-Ds-cTn47.js → canvasBodies-C_pdv17v.js} +2 -2
- package/dist/chunks/{canvasBodies-Ds-cTn47.js.map → canvasBodies-C_pdv17v.js.map} +1 -1
- package/dist/chunks/{contract-Z08LBOqt.js → contract-kmmw_19Y.js} +2 -2
- package/dist/chunks/{contract-Z08LBOqt.js.map → contract-kmmw_19Y.js.map} +1 -1
- package/dist/chunks/{conversation-BEF0aesf.js → conversation-CbWEHPbL.js} +12 -3
- package/dist/chunks/{conversation-BEF0aesf.js.map → conversation-CbWEHPbL.js.map} +1 -1
- package/dist/chunks/link-navigation-DyTApNeA.js.map +1 -1
- package/dist/chunks/{widget-click-signal-sources-Ch-y8gxw.js → widget-click-signal-sources-cjIjjftL.js} +2 -2
- package/dist/chunks/{widget-click-signal-sources-Ch-y8gxw.js.map → widget-click-signal-sources-cjIjjftL.js.map} +1 -1
- package/dist/chunks/{widget-name-resolver-DboFMAq2.js → widget-name-resolver-7WnzCpdG.js} +54 -17
- package/dist/chunks/widget-name-resolver-7WnzCpdG.js.map +1 -0
- package/dist/chunks/{withPollingChangeSubscription-CNXgt3Ri.js → withPollingChangeSubscription-CWavoKjJ.js} +2 -2
- package/dist/chunks/{withPollingChangeSubscription-CNXgt3Ri.js.map → withPollingChangeSubscription-CWavoKjJ.js.map} +1 -1
- package/dist/client-testing.js +3 -3
- package/dist/client.js +45 -6
- package/dist/client.js.map +1 -1
- package/dist/contract.js +6 -5
- package/dist/files/i18n-keys.json +19 -0
- package/dist/image-render.js +2 -2
- package/dist/index.js +2 -2
- package/dist/kit.js +1 -1
- package/dist/preview.js +3 -3
- package/dist/renderer.js +4 -4
- package/dist/styles.css +157 -17
- package/dist/types/chat/AgentChatActivityDots/AgentChatActivityDots.d.ts +11 -0
- package/dist/types/chat/AgentChatActivityIndicator/AgentChatActivityIndicator.d.ts +7 -2
- package/dist/types/chat/AgentChatActivityStack/AgentChatActivityStack.d.ts +15 -0
- package/dist/types/chat/controller/AgentChatController.d.ts +10 -0
- package/dist/types/chat/controller/activity-ticker.d.ts +5 -2
- package/dist/types/chat/controller/chat-activity-timing.d.ts +30 -0
- package/dist/types/chat/controller/use-activity-ticker.d.ts +6 -0
- package/dist/types/chat/controller/use-conversation-activity.d.ts +6 -2
- package/dist/types/client/http/agents-http-mappers.d.ts +9 -2
- package/dist/types/client/http/agents-http-wire.d.ts +13 -0
- package/dist/types/client/http/createAgentsHttpConversationClient.d.ts +9 -0
- package/dist/types/contract/conversation.d.ts +27 -0
- package/dist/types/entries/chat.d.ts +4 -1
- package/dist/types/provider/environment.d.ts +7 -0
- package/dist/types/renderer/ConversationWidgetCallbacksContext.d.ts +5 -1
- package/package.json +1 -1
- package/public-api.json +16 -0
- package/dist/chunks/widget-name-resolver-DboFMAq2.js.map +0 -1
package/public-api.json
CHANGED
|
@@ -422,6 +422,7 @@
|
|
|
422
422
|
},
|
|
423
423
|
"./contract": {
|
|
424
424
|
"values": [
|
|
425
|
+
"AGENTS_CLIENT_CONTEXT_LIMITS",
|
|
425
426
|
"AGENTS_CLIENT_ERROR_CODE_REQUEST_ABORTED",
|
|
426
427
|
"AgentsClientError",
|
|
427
428
|
"CONVERSATION_RUN_STATES_THAT_END_THE_CONVERSATION",
|
|
@@ -430,6 +431,7 @@
|
|
|
430
431
|
"readConversationRunStatusOfRunState"
|
|
431
432
|
],
|
|
432
433
|
"types": [
|
|
434
|
+
"AgentsClientContext",
|
|
433
435
|
"AgentsClientErrorKind",
|
|
434
436
|
"AgentsConversation",
|
|
435
437
|
"AgentsConversationMessage",
|
|
@@ -476,6 +478,7 @@
|
|
|
476
478
|
"composeAttachmentMessageText",
|
|
477
479
|
"createAgentsHttpConversationClient",
|
|
478
480
|
"createPollingConversationChangeSubscription",
|
|
481
|
+
"mapClientContextToWire",
|
|
479
482
|
"mapHttpFailureToAgentsClientError",
|
|
480
483
|
"mapWireConversation",
|
|
481
484
|
"mapWireConversationActivity",
|
|
@@ -491,6 +494,7 @@
|
|
|
491
494
|
"withPollingChangeSubscription"
|
|
492
495
|
],
|
|
493
496
|
"types": [
|
|
497
|
+
"AgentsClientContextOperation",
|
|
494
498
|
"AgentsConversationClient",
|
|
495
499
|
"AgentsConversationClientBindingOptions",
|
|
496
500
|
"AgentsConversationClientProviderProps",
|
|
@@ -506,6 +510,8 @@
|
|
|
506
510
|
"PollingTimers",
|
|
507
511
|
"WireActivityLine",
|
|
508
512
|
"WireChangeHistory",
|
|
513
|
+
"WireClientContext",
|
|
514
|
+
"WireClientContextRouteParameter",
|
|
509
515
|
"WireConversation",
|
|
510
516
|
"WireConversationActivityResponse",
|
|
511
517
|
"WireConversationMessage",
|
|
@@ -553,9 +559,12 @@
|
|
|
553
559
|
},
|
|
554
560
|
"./chat": {
|
|
555
561
|
"values": [
|
|
562
|
+
"ACTIVITY_STACK_VISIBLE_LINES",
|
|
556
563
|
"AgentChat",
|
|
564
|
+
"AgentChatActivityDots",
|
|
557
565
|
"AgentChatActivityHistory",
|
|
558
566
|
"AgentChatActivityIndicator",
|
|
567
|
+
"AgentChatActivityStack",
|
|
559
568
|
"AgentChatController",
|
|
560
569
|
"AgentsChatStateContainer",
|
|
561
570
|
"AgentsChatStoreProvider",
|
|
@@ -575,6 +584,7 @@
|
|
|
575
584
|
"ConversationMessageWidgets",
|
|
576
585
|
"ConversationView",
|
|
577
586
|
"ConversationWidgetProvider",
|
|
587
|
+
"DEFAULT_AGENT_CHAT_ACTIVITY_TIMING",
|
|
578
588
|
"EMPTY_AGENTS_CHAT_OPENING_REQUEST",
|
|
579
589
|
"INITIAL_AGENTS_CHAT_STATE",
|
|
580
590
|
"MAX_MESSAGE_LENGTH",
|
|
@@ -588,6 +598,7 @@
|
|
|
588
598
|
"normalizeServerMessageToMarkdown",
|
|
589
599
|
"readConversationErrorTypeOfRefusedSend",
|
|
590
600
|
"reduceAgentsChatState",
|
|
601
|
+
"resolveAgentChatActivityTiming",
|
|
591
602
|
"useActivityTicker",
|
|
592
603
|
"useAgentsChatSelector",
|
|
593
604
|
"useAgentsChatState",
|
|
@@ -604,8 +615,12 @@
|
|
|
604
615
|
"ActivityTickerLine",
|
|
605
616
|
"ActivityTickerTurn",
|
|
606
617
|
"AgentActivity",
|
|
618
|
+
"AgentChatActivityDotsProps",
|
|
619
|
+
"AgentChatActivityDotsVariant",
|
|
607
620
|
"AgentChatActivityHistoryProps",
|
|
621
|
+
"AgentChatActivityIndicatorProps",
|
|
608
622
|
"AgentChatActivityProps",
|
|
623
|
+
"AgentChatActivityTiming",
|
|
609
624
|
"AgentChatComposerHandle",
|
|
610
625
|
"AgentChatControllerProps",
|
|
611
626
|
"AgentChatProps",
|
|
@@ -637,6 +652,7 @@
|
|
|
637
652
|
"ConversationViewProps",
|
|
638
653
|
"ConversationWidgetProviderProps",
|
|
639
654
|
"ConversationsSearchState",
|
|
655
|
+
"ResolvedAgentChatActivityTiming",
|
|
640
656
|
"SendMessageHandler",
|
|
641
657
|
"SendMessageOptions"
|
|
642
658
|
]
|