@memberjunction/ng-conversations 6.2.0-edge.0 → 6.2.0-edge.2
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 +43 -2
- package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts +19 -3
- package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts.map +1 -1
- package/dist/lib/components/active-tasks/active-tasks-panel.component.js +39 -7
- package/dist/lib/components/active-tasks/active-tasks-panel.component.js.map +1 -1
- package/dist/lib/components/agent/active-agent-indicator.component.d.ts +74 -6
- package/dist/lib/components/agent/active-agent-indicator.component.d.ts.map +1 -1
- package/dist/lib/components/agent/active-agent-indicator.component.js +111 -21
- package/dist/lib/components/agent/active-agent-indicator.component.js.map +1 -1
- package/dist/lib/components/agent/agent-process-panel.component.d.ts +31 -5
- package/dist/lib/components/agent/agent-process-panel.component.d.ts.map +1 -1
- package/dist/lib/components/agent/agent-process-panel.component.js +71 -15
- package/dist/lib/components/agent/agent-process-panel.component.js.map +1 -1
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts +65 -9
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/artifact/artifact-share-modal.component.js +169 -57
- package/dist/lib/components/artifact/artifact-share-modal.component.js.map +1 -1
- package/dist/lib/components/attachment/image-viewer.component.d.ts +77 -11
- package/dist/lib/components/attachment/image-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/attachment/image-viewer.component.js +181 -47
- package/dist/lib/components/attachment/image-viewer.component.js.map +1 -1
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts +129 -19
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.js +350 -116
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.js.map +1 -1
- package/dist/lib/components/collection/artifact-create-modal.component.d.ts +60 -8
- package/dist/lib/components/collection/artifact-create-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/artifact-create-modal.component.js +130 -46
- package/dist/lib/components/collection/artifact-create-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.d.ts +63 -3
- package/dist/lib/components/collection/collection-artifact-card.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.js +113 -19
- package/dist/lib/components/collection/collection-artifact-card.component.js.map +1 -1
- package/dist/lib/components/collection/collection-form-modal.component.d.ts +54 -8
- package/dist/lib/components/collection/collection-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-form-modal.component.js +130 -46
- package/dist/lib/components/collection/collection-form-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-share-modal.component.d.ts +70 -10
- package/dist/lib/components/collection/collection-share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-share-modal.component.js +175 -53
- package/dist/lib/components/collection/collection-share-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.d.ts +89 -9
- package/dist/lib/components/collection/collection-tree.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.js +220 -70
- package/dist/lib/components/collection/collection-tree.component.js.map +1 -1
- package/dist/lib/components/collection/collection-view.component.d.ts +89 -11
- package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-view.component.js +154 -40
- package/dist/lib/components/collection/collection-view.component.js.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.d.ts +390 -38
- package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.js +951 -367
- package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
- package/dist/lib/components/composer/ai-composer.component.d.ts +213 -18
- package/dist/lib/components/composer/ai-composer.component.d.ts.map +1 -1
- package/dist/lib/components/composer/ai-composer.component.js +388 -44
- package/dist/lib/components/composer/ai-composer.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts +12 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.js +26 -4
- package/dist/lib/components/conversation/conversation-agent-picker.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +1191 -124
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.js +2816 -785
- package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-empty-state.component.d.ts +139 -19
- package/dist/lib/components/conversation/conversation-empty-state.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-empty-state.component.js +296 -59
- package/dist/lib/components/conversation/conversation-empty-state.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts +579 -78
- package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.js +2322 -823
- package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
- package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts +42 -4
- package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/pinned-messages-panel.component.js +93 -21
- package/dist/lib/components/conversation/pinned-messages-panel.component.js.map +1 -1
- package/dist/lib/components/dialogs/input-dialog.component.d.ts +57 -11
- package/dist/lib/components/dialogs/input-dialog.component.d.ts.map +1 -1
- package/dist/lib/components/dialogs/input-dialog.component.js +128 -16
- package/dist/lib/components/dialogs/input-dialog.component.js.map +1 -1
- package/dist/lib/components/dialogs/rating-dialog.component.d.ts +68 -10
- package/dist/lib/components/dialogs/rating-dialog.component.d.ts.map +1 -1
- package/dist/lib/components/dialogs/rating-dialog.component.js +151 -27
- package/dist/lib/components/dialogs/rating-dialog.component.js.map +1 -1
- package/dist/lib/components/export/export-modal.component.d.ts +84 -10
- package/dist/lib/components/export/export-modal.component.d.ts.map +1 -1
- package/dist/lib/components/export/export-modal.component.js +173 -49
- package/dist/lib/components/export/export-modal.component.js.map +1 -1
- package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts +29 -3
- package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts.map +1 -1
- package/dist/lib/components/global-tasks/global-tasks-panel.component.js +58 -12
- package/dist/lib/components/global-tasks/global-tasks-panel.component.js.map +1 -1
- package/dist/lib/components/library/library-full-view.component.d.ts +57 -8
- package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/library/library-full-view.component.js +119 -35
- package/dist/lib/components/library/library-full-view.component.js.map +1 -1
- package/dist/lib/components/members/members-modal.component.d.ts +76 -10
- package/dist/lib/components/members/members-modal.component.d.ts.map +1 -1
- package/dist/lib/components/members/members-modal.component.js +164 -50
- package/dist/lib/components/members/members-modal.component.js.map +1 -1
- package/dist/lib/components/message/actionable-commands.component.d.ts +49 -5
- package/dist/lib/components/message/actionable-commands.component.d.ts.map +1 -1
- package/dist/lib/components/message/actionable-commands.component.js +140 -26
- package/dist/lib/components/message/actionable-commands.component.js.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.d.ts +46 -10
- package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.js +120 -36
- package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -1
- package/dist/lib/components/message/message-input.component.d.ts +613 -74
- package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input.component.js +1390 -422
- package/dist/lib/components/message/message-input.component.js.map +1 -1
- package/dist/lib/components/message/message-item.component.d.ts +490 -29
- package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-item.component.js +1088 -244
- package/dist/lib/components/message/message-item.component.js.map +1 -1
- package/dist/lib/components/message/message-list.component.d.ts +297 -29
- package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-list.component.js +598 -123
- package/dist/lib/components/message/message-list.component.js.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts +64 -5
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.js +101 -11
- package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
- package/dist/lib/components/notification/activity-indicator.component.d.ts +6 -2
- package/dist/lib/components/notification/activity-indicator.component.d.ts.map +1 -1
- package/dist/lib/components/notification/activity-indicator.component.js +13 -3
- package/dist/lib/components/notification/activity-indicator.component.js.map +1 -1
- package/dist/lib/components/notification/notification-badge.component.d.ts +15 -3
- package/dist/lib/components/notification/notification-badge.component.d.ts.map +1 -1
- package/dist/lib/components/notification/notification-badge.component.js +36 -8
- package/dist/lib/components/notification/notification-badge.component.js.map +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.d.ts +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.js +4 -4
- package/dist/lib/components/overlay/chat-overlay.component.js.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.d.ts +93 -11
- package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.js +348 -87
- package/dist/lib/components/project/project-form-modal.component.js.map +1 -1
- package/dist/lib/components/project/project-selector.component.d.ts +78 -8
- package/dist/lib/components/project/project-selector.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-selector.component.js +177 -46
- package/dist/lib/components/project/project-selector.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-activity-rail.component.d.ts +1 -1
- package/dist/lib/components/realtime/realtime-activity-rail.component.js +2 -2
- package/dist/lib/components/realtime/realtime-activity-rail.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-delegation-card.component.d.ts +1 -1
- package/dist/lib/components/realtime/realtime-delegation-card.component.js +2 -2
- package/dist/lib/components/realtime/realtime-delegation-card.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts +2 -2
- package/dist/lib/components/realtime/realtime-session-overlay.component.js +18 -18
- package/dist/lib/components/realtime/realtime-session-overlay.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts +47 -23
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.js +136 -92
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.component.d.ts +2 -2
- package/dist/lib/components/realtime/realtime-surface-tabs.component.js +4 -4
- package/dist/lib/components/realtime/realtime-surface-tabs.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js +3 -3
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js.map +1 -1
- package/dist/lib/components/realtime/realtime-ui-config.d.ts +13 -11
- package/dist/lib/components/realtime/realtime-ui-config.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-ui-config.js +29 -25
- package/dist/lib/components/realtime/realtime-ui-config.js.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts +3 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js +6 -2
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js.map +1 -1
- package/dist/lib/components/search/search-panel.component.d.ts +133 -22
- package/dist/lib/components/search/search-panel.component.d.ts.map +1 -1
- package/dist/lib/components/search/search-panel.component.js +312 -83
- package/dist/lib/components/search/search-panel.component.js.map +1 -1
- package/dist/lib/components/share/share-modal.component.d.ts +69 -9
- package/dist/lib/components/share/share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/share/share-modal.component.js +139 -31
- package/dist/lib/components/share/share-modal.component.js.map +1 -1
- package/dist/lib/components/shared/user-picker.component.d.ts +48 -8
- package/dist/lib/components/shared/user-picker.component.d.ts.map +1 -1
- package/dist/lib/components/shared/user-picker.component.js +110 -30
- package/dist/lib/components/shared/user-picker.component.js.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts +114 -11
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.js +199 -21
- package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -1
- package/dist/lib/components/sidebar/routines-section.component.d.ts +20 -1
- package/dist/lib/components/sidebar/routines-section.component.d.ts.map +1 -1
- package/dist/lib/components/sidebar/routines-section.component.js +25 -5
- package/dist/lib/components/sidebar/routines-section.component.js.map +1 -1
- package/dist/lib/components/slots/slot-interfaces.d.ts +19 -0
- package/dist/lib/components/slots/slot-interfaces.d.ts.map +1 -1
- package/dist/lib/components/slots/slot-interfaces.js.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.d.ts +95 -13
- package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.js +223 -75
- package/dist/lib/components/task/tasks-full-view.component.js.map +1 -1
- package/dist/lib/components/tasks/task-widget.component.d.ts +46 -6
- package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/task-widget.component.js +100 -16
- package/dist/lib/components/tasks/task-widget.component.js.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +64 -7
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.js +127 -27
- package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.d.ts +66 -8
- package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.js +146 -36
- package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
- package/dist/lib/components/toast/toast.component.d.ts +11 -1
- package/dist/lib/components/toast/toast.component.d.ts.map +1 -1
- package/dist/lib/components/toast/toast.component.js +25 -5
- package/dist/lib/components/toast/toast.component.js.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts +385 -42
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.js +891 -292
- package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts +8 -0
- package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts.map +1 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.js +8 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.js.map +1 -1
- package/dist/lib/directives/chat-slot.directive.d.ts +5 -1
- package/dist/lib/directives/chat-slot.directive.d.ts.map +1 -1
- package/dist/lib/directives/chat-slot.directive.js.map +1 -1
- package/dist/lib/directives/search-shortcut.directive.d.ts +9 -1
- package/dist/lib/directives/search-shortcut.directive.d.ts.map +1 -1
- package/dist/lib/directives/search-shortcut.directive.js +14 -4
- package/dist/lib/directives/search-shortcut.directive.js.map +1 -1
- package/dist/lib/events/chat-events.d.ts +34 -7
- package/dist/lib/events/chat-events.d.ts.map +1 -1
- package/dist/lib/events/chat-events.js +37 -7
- package/dist/lib/events/chat-events.js.map +1 -1
- package/dist/lib/models/agent-turn.model.d.ts +113 -0
- package/dist/lib/models/agent-turn.model.d.ts.map +1 -0
- package/dist/lib/models/agent-turn.model.js +12 -0
- package/dist/lib/models/agent-turn.model.js.map +1 -0
- package/dist/lib/models/collection-view.model.js.map +1 -1
- package/dist/lib/models/conversation-state.model.d.ts +8 -0
- package/dist/lib/models/conversation-state.model.d.ts.map +1 -1
- package/dist/lib/models/conversation-state.model.js.map +1 -1
- package/dist/lib/models/lazy-artifact-info.d.ts +44 -12
- package/dist/lib/models/lazy-artifact-info.d.ts.map +1 -1
- package/dist/lib/models/lazy-artifact-info.js +98 -34
- package/dist/lib/models/lazy-artifact-info.js.map +1 -1
- package/dist/lib/services/active-tasks.service.d.ts +30 -4
- package/dist/lib/services/active-tasks.service.d.ts.map +1 -1
- package/dist/lib/services/active-tasks.service.js +71 -19
- package/dist/lib/services/active-tasks.service.js.map +1 -1
- package/dist/lib/services/agent-state.service.d.ts +17 -1
- package/dist/lib/services/agent-state.service.d.ts.map +1 -1
- package/dist/lib/services/agent-state.service.js +48 -16
- package/dist/lib/services/agent-state.service.js.map +1 -1
- package/dist/lib/services/artifact-permission.service.d.ts +39 -0
- package/dist/lib/services/artifact-permission.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-permission.service.js +152 -17
- package/dist/lib/services/artifact-permission.service.js.map +1 -1
- package/dist/lib/services/artifact-state.service.d.ts +58 -5
- package/dist/lib/services/artifact-state.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-state.service.js +135 -35
- package/dist/lib/services/artifact-state.service.js.map +1 -1
- package/dist/lib/services/collection-permission.service.d.ts +28 -0
- package/dist/lib/services/collection-permission.service.d.ts.map +1 -1
- package/dist/lib/services/collection-permission.service.js +88 -32
- package/dist/lib/services/collection-permission.service.js.map +1 -1
- package/dist/lib/services/collection-state.service.d.ts +11 -1
- package/dist/lib/services/collection-state.service.d.ts.map +1 -1
- package/dist/lib/services/collection-state.service.js +25 -5
- package/dist/lib/services/collection-state.service.js.map +1 -1
- package/dist/lib/services/conversation-agent.service.d.ts +47 -4
- package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-agent.service.js +85 -20
- package/dist/lib/services/conversation-agent.service.js.map +1 -1
- package/dist/lib/services/conversation-attachment.service.d.ts +17 -0
- package/dist/lib/services/conversation-attachment.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-attachment.service.js +38 -10
- package/dist/lib/services/conversation-attachment.service.js.map +1 -1
- package/dist/lib/services/conversation-liveness-dom.service.d.ts +42 -0
- package/dist/lib/services/conversation-liveness-dom.service.d.ts.map +1 -0
- package/dist/lib/services/conversation-liveness-dom.service.js +74 -0
- package/dist/lib/services/conversation-liveness-dom.service.js.map +1 -0
- package/dist/lib/services/conversation-streaming.service.d.ts +22 -0
- package/dist/lib/services/conversation-streaming.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-streaming.service.js +50 -10
- package/dist/lib/services/conversation-streaming.service.js.map +1 -1
- package/dist/lib/services/data-cache.service.d.ts +31 -0
- package/dist/lib/services/data-cache.service.d.ts.map +1 -1
- package/dist/lib/services/data-cache.service.js +71 -15
- package/dist/lib/services/data-cache.service.js.map +1 -1
- package/dist/lib/services/dialog.service.d.ts +13 -0
- package/dist/lib/services/dialog.service.d.ts.map +1 -1
- package/dist/lib/services/dialog.service.js +25 -5
- package/dist/lib/services/dialog.service.js.map +1 -1
- package/dist/lib/services/export.service.d.ts +2 -0
- package/dist/lib/services/export.service.d.ts.map +1 -1
- package/dist/lib/services/export.service.js +5 -1
- package/dist/lib/services/export.service.js.map +1 -1
- package/dist/lib/services/mention-parser.service.d.ts +10 -0
- package/dist/lib/services/mention-parser.service.d.ts.map +1 -1
- package/dist/lib/services/mention-parser.service.js +25 -5
- package/dist/lib/services/mention-parser.service.js.map +1 -1
- package/dist/lib/services/notification.service.d.ts +54 -6
- package/dist/lib/services/notification.service.d.ts.map +1 -1
- package/dist/lib/services/notification.service.js +123 -27
- package/dist/lib/services/notification.service.js.map +1 -1
- package/dist/lib/services/realtime-audio-recorder.d.ts +4 -4
- package/dist/lib/services/realtime-audio-recorder.js +12 -12
- package/dist/lib/services/realtime-audio-recorder.js.map +1 -1
- package/dist/lib/services/realtime-pcm-wav.d.ts +4 -0
- package/dist/lib/services/realtime-pcm-wav.d.ts.map +1 -1
- package/dist/lib/services/realtime-pcm-wav.js +10 -2
- package/dist/lib/services/realtime-pcm-wav.js.map +1 -1
- package/dist/lib/services/search.service.d.ts +42 -9
- package/dist/lib/services/search.service.d.ts.map +1 -1
- package/dist/lib/services/search.service.js +103 -23
- package/dist/lib/services/search.service.js.map +1 -1
- package/dist/lib/services/toast.service.d.ts +19 -1
- package/dist/lib/services/toast.service.d.ts.map +1 -1
- package/dist/lib/services/toast.service.js +45 -9
- package/dist/lib/services/toast.service.js.map +1 -1
- package/dist/lib/services/ui-command-handler.service.d.ts +56 -5
- package/dist/lib/services/ui-command-handler.service.d.ts.map +1 -1
- package/dist/lib/services/ui-command-handler.service.js +113 -16
- package/dist/lib/services/ui-command-handler.service.js.map +1 -1
- package/dist/lib/utils/agent-artifact-summary.d.ts +2 -2
- package/dist/lib/utils/agent-artifact-summary.js +3 -3
- package/dist/lib/utils/agent-artifact-summary.js.map +1 -1
- package/dist/lib/utils/agent-turn-routing.d.ts +70 -0
- package/dist/lib/utils/agent-turn-routing.d.ts.map +1 -0
- package/dist/lib/utils/agent-turn-routing.js +84 -0
- package/dist/lib/utils/agent-turn-routing.js.map +1 -0
- package/dist/lib/utils/artifact-panel-action.d.ts +15 -4
- package/dist/lib/utils/artifact-panel-action.d.ts.map +1 -1
- package/dist/lib/utils/artifact-panel-action.js +10 -2
- package/dist/lib/utils/artifact-panel-action.js.map +1 -1
- package/dist/lib/utils/decision-routing.d.ts +68 -0
- package/dist/lib/utils/decision-routing.d.ts.map +1 -0
- package/dist/lib/utils/decision-routing.js +101 -0
- package/dist/lib/utils/decision-routing.js.map +1 -0
- package/dist/lib/utils/distinct-artifacts.d.ts +2 -0
- package/dist/lib/utils/distinct-artifacts.d.ts.map +1 -1
- package/dist/lib/utils/distinct-artifacts.js +5 -1
- package/dist/lib/utils/distinct-artifacts.js.map +1 -1
- package/dist/lib/utils/plan-mode-preference.d.ts +2 -2
- package/dist/lib/utils/plan-mode-preference.js +6 -6
- package/dist/lib/utils/plan-mode-preference.js.map +1 -1
- package/dist/public-api.d.ts +5 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +8 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +32 -32
|
@@ -12,6 +12,27 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents an attachment on a message for display
|
|
14
14
|
*/
|
|
15
|
+
/**
|
|
16
|
+
* How much the displayed progress can still be trusted for an in-flight run.
|
|
17
|
+
*
|
|
18
|
+
* - `live` — the server is heart-beating; the timer means what it says.
|
|
19
|
+
* - `checking` — nothing has been heard for a while and the client is re-reading durable state.
|
|
20
|
+
* - `stalled` — silent long enough that the server's own watchdog will force-fail the run.
|
|
21
|
+
*/
|
|
22
|
+
export type MessageLivenessState = 'live' | 'checking' | 'stalled';
|
|
23
|
+
/**
|
|
24
|
+
* Silence after which an in-flight run is no longer presented as healthy. Three missed heartbeats
|
|
25
|
+
* (`AgentRunWatchdogConfig.heartbeatIntervalMs` is 30s), so ordinary jitter never trips it.
|
|
26
|
+
*/
|
|
27
|
+
export declare const LIVENESS_CHECKING_MS = 90000;
|
|
28
|
+
/**
|
|
29
|
+
* Silence after which the run is presented as stalled. Matches the watchdog's
|
|
30
|
+
* `staleThresholdMinutes`, which is the point the server force-fails the run — so the UI stops
|
|
31
|
+
* claiming progress exactly when the server stops believing in it.
|
|
32
|
+
*/
|
|
33
|
+
export declare const LIVENESS_STALLED_MS: number;
|
|
34
|
+
/** Minimum gap between re-check requests from one message. The pill re-evaluates every second. */
|
|
35
|
+
export declare const LIVENESS_RECHECK_THROTTLE_MS = 30000;
|
|
15
36
|
export interface MessageAttachment {
|
|
16
37
|
id: string;
|
|
17
38
|
type: 'Image' | 'Video' | 'Audio' | 'Document';
|
|
@@ -66,26 +87,76 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
66
87
|
private agentService;
|
|
67
88
|
private markdownService;
|
|
68
89
|
message: MJConversationDetailEntity;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
90
|
+
Conversation: MJConversationEntity | null;
|
|
91
|
+
/** @deprecated Use {@link Conversation}. */
|
|
92
|
+
set conversation(value: MJConversationEntity | null);
|
|
93
|
+
/** @deprecated Use {@link Conversation}. */
|
|
94
|
+
get conversation(): MJConversationEntity | null;
|
|
95
|
+
CurrentUser: UserInfo;
|
|
96
|
+
/** @deprecated Use {@link CurrentUser}. */
|
|
97
|
+
set currentUser(value: UserInfo);
|
|
98
|
+
/** @deprecated Use {@link CurrentUser}. */
|
|
99
|
+
get currentUser(): UserInfo;
|
|
100
|
+
AllMessages: MJConversationDetailEntity[];
|
|
101
|
+
/** @deprecated Use {@link AllMessages}. */
|
|
102
|
+
set allMessages(value: MJConversationDetailEntity[]);
|
|
103
|
+
/** @deprecated Use {@link AllMessages}. */
|
|
104
|
+
get allMessages(): MJConversationDetailEntity[];
|
|
105
|
+
IsProcessing: boolean;
|
|
106
|
+
/** @deprecated Use {@link IsProcessing}. */
|
|
107
|
+
set isProcessing(value: boolean);
|
|
108
|
+
/** @deprecated Use {@link IsProcessing}. */
|
|
109
|
+
get isProcessing(): boolean;
|
|
110
|
+
Artifact?: MJArtifactEntity;
|
|
111
|
+
/** @deprecated Use {@link Artifact}. */
|
|
112
|
+
set artifact(value: MJArtifactEntity | undefined);
|
|
113
|
+
/** @deprecated Use {@link Artifact}. */
|
|
114
|
+
get artifact(): MJArtifactEntity | undefined;
|
|
74
115
|
artifactVersion?: MJArtifactVersionEntity;
|
|
75
116
|
/**
|
|
76
117
|
* All distinct artifacts attached to this message, each at its latest version.
|
|
77
118
|
* Preferred over the single `artifact`/`artifactVersion` inputs above (which are
|
|
78
119
|
* retained for backward compatibility and kept pointed at the first entry).
|
|
79
120
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
121
|
+
Artifacts: MessageArtifactRef[];
|
|
122
|
+
/** @deprecated Use {@link Artifacts}. */
|
|
123
|
+
set artifacts(value: MessageArtifactRef[]);
|
|
124
|
+
/** @deprecated Use {@link Artifacts}. */
|
|
125
|
+
get artifacts(): MessageArtifactRef[];
|
|
126
|
+
AgentRun: MJAIAgentRunEntityExtended | null;
|
|
127
|
+
/** @deprecated Use {@link AgentRun}. */
|
|
128
|
+
set agentRun(value: MJAIAgentRunEntityExtended | null);
|
|
129
|
+
/** @deprecated Use {@link AgentRun}. */
|
|
130
|
+
get agentRun(): MJAIAgentRunEntityExtended | null;
|
|
131
|
+
UserAvatarMap: Map<string, {
|
|
132
|
+
imageUrl: string | null;
|
|
133
|
+
iconClass: string | null;
|
|
134
|
+
}>;
|
|
135
|
+
/** @deprecated Use {@link UserAvatarMap}. */
|
|
136
|
+
set userAvatarMap(value: Map<string, {
|
|
137
|
+
imageUrl: string | null;
|
|
138
|
+
iconClass: string | null;
|
|
139
|
+
}>);
|
|
140
|
+
/** @deprecated Use {@link UserAvatarMap}. */
|
|
141
|
+
get userAvatarMap(): Map<string, {
|
|
83
142
|
imageUrl: string | null;
|
|
84
143
|
iconClass: string | null;
|
|
85
144
|
}>;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
145
|
+
Ratings?: RatingJSON[];
|
|
146
|
+
/** @deprecated Use {@link Ratings}. */
|
|
147
|
+
set ratings(value: RatingJSON[] | undefined);
|
|
148
|
+
/** @deprecated Use {@link Ratings}. */
|
|
149
|
+
get ratings(): RatingJSON[] | undefined;
|
|
150
|
+
IsLastMessage: boolean;
|
|
151
|
+
/** @deprecated Use {@link IsLastMessage}. */
|
|
152
|
+
set isLastMessage(value: boolean);
|
|
153
|
+
/** @deprecated Use {@link IsLastMessage}. */
|
|
154
|
+
get isLastMessage(): boolean;
|
|
155
|
+
Attachments: MessageAttachment[];
|
|
156
|
+
/** @deprecated Use {@link Attachments}. */
|
|
157
|
+
set attachments(value: MessageAttachment[]);
|
|
158
|
+
/** @deprecated Use {@link Attachments}. */
|
|
159
|
+
get attachments(): MessageAttachment[];
|
|
89
160
|
/**
|
|
90
161
|
* Artifacts attached to this message whose entity rows have not arrived yet.
|
|
91
162
|
*
|
|
@@ -98,61 +169,223 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
98
169
|
* is still loading an image, both render at once. Entries whose artifact has since loaded are
|
|
99
170
|
* filtered out by {@link pendingArtifactPlaceholders}.
|
|
100
171
|
*/
|
|
101
|
-
|
|
172
|
+
PendingArtifacts: readonly MessagePendingArtifactRef[];
|
|
173
|
+
/** @deprecated Use {@link PendingArtifacts}. */
|
|
174
|
+
set pendingArtifacts(value: readonly MessagePendingArtifactRef[]);
|
|
175
|
+
/** @deprecated Use {@link PendingArtifacts}. */
|
|
176
|
+
get pendingArtifacts(): readonly MessagePendingArtifactRef[];
|
|
102
177
|
/**
|
|
103
178
|
* Optional additive per-message slot template (forwarded from chat-area's
|
|
104
179
|
* `mjChatSlot="messageExtra"`). Rendered inside the bubble after the message
|
|
105
180
|
* content, before attachments. Receives the message as `$implicit` + a named
|
|
106
181
|
* `message` context binding. Null when no consumer template is projected.
|
|
107
182
|
*/
|
|
108
|
-
|
|
183
|
+
MessageExtraTemplate: TemplateRef<unknown> | null;
|
|
184
|
+
/** @deprecated Use {@link MessageExtraTemplate}. */
|
|
185
|
+
set messageExtraTemplate(value: TemplateRef<unknown> | null);
|
|
186
|
+
/** @deprecated Use {@link MessageExtraTemplate}. */
|
|
187
|
+
get messageExtraTemplate(): TemplateRef<unknown> | null;
|
|
109
188
|
/** Show the per-message agent run-detail grid (run ID, step/token counts, $ cost). */
|
|
110
|
-
|
|
189
|
+
ShowAgentRunDetails: boolean;
|
|
190
|
+
/** @deprecated Use {@link ShowAgentRunDetails}. */
|
|
191
|
+
set showAgentRunDetails(value: boolean);
|
|
192
|
+
/** @deprecated Use {@link ShowAgentRunDetails}. */
|
|
193
|
+
get showAgentRunDetails(): boolean;
|
|
111
194
|
/** Show the per-message reaction buttons (like / comment). */
|
|
112
|
-
|
|
195
|
+
ShowReactions: boolean;
|
|
196
|
+
/** @deprecated Use {@link ShowReactions}. */
|
|
197
|
+
set showReactions(value: boolean);
|
|
198
|
+
/** @deprecated Use {@link ShowReactions}. */
|
|
199
|
+
get showReactions(): boolean;
|
|
113
200
|
/** Show the per-message thumbs rating control on completed AI messages. */
|
|
114
|
-
|
|
201
|
+
ShowMessageRating: boolean;
|
|
202
|
+
/** @deprecated Use {@link ShowMessageRating}. */
|
|
203
|
+
set showMessageRating(value: boolean);
|
|
204
|
+
/** @deprecated Use {@link ShowMessageRating}. */
|
|
205
|
+
get showMessageRating(): boolean;
|
|
115
206
|
/** Allow pinning messages (the per-message pin button). */
|
|
116
|
-
|
|
207
|
+
AllowPinning: boolean;
|
|
208
|
+
/** @deprecated Use {@link AllowPinning}. */
|
|
209
|
+
set allowPinning(value: boolean);
|
|
210
|
+
/** @deprecated Use {@link AllowPinning}. */
|
|
211
|
+
get allowPinning(): boolean;
|
|
117
212
|
/** Allow editing the user's own messages (the per-message edit button). */
|
|
118
|
-
|
|
213
|
+
AllowMessageEdit: boolean;
|
|
214
|
+
/** @deprecated Use {@link AllowMessageEdit}. */
|
|
215
|
+
set allowMessageEdit(value: boolean);
|
|
216
|
+
/** @deprecated Use {@link AllowMessageEdit}. */
|
|
217
|
+
get allowMessageEdit(): boolean;
|
|
119
218
|
/** Allow deleting the user's own messages (the per-message delete button). */
|
|
120
|
-
|
|
219
|
+
AllowMessageDelete: boolean;
|
|
220
|
+
/** @deprecated Use {@link AllowMessageDelete}. */
|
|
221
|
+
set allowMessageDelete(value: boolean);
|
|
222
|
+
/** @deprecated Use {@link AllowMessageDelete}. */
|
|
223
|
+
get allowMessageDelete(): boolean;
|
|
224
|
+
/** Hides the response form and actionable commands on this message. */
|
|
225
|
+
ReadOnly: boolean;
|
|
121
226
|
/** Host override for the AI message display name (white-label persona). Null = the agent record's name. */
|
|
122
|
-
|
|
227
|
+
AssistantDisplayName: string | null;
|
|
228
|
+
/** @deprecated Use {@link AssistantDisplayName}. */
|
|
229
|
+
set assistantDisplayName(value: string | null);
|
|
230
|
+
/** @deprecated Use {@link AssistantDisplayName}. */
|
|
231
|
+
get assistantDisplayName(): string | null;
|
|
123
232
|
/** Host image URL for the AI message avatar. Null = the agent's Font Awesome icon. */
|
|
124
|
-
set
|
|
233
|
+
set AssistantAvatarUrl(value: string | null);
|
|
234
|
+
get AssistantAvatarUrl(): string | null;
|
|
235
|
+
/** @deprecated Use {@link AssistantAvatarUrl}. */
|
|
125
236
|
get assistantAvatarUrl(): string | null;
|
|
237
|
+
/** @deprecated Use {@link AssistantAvatarUrl}. */
|
|
238
|
+
set assistantAvatarUrl(value: string | null);
|
|
126
239
|
private _assistantAvatarUrl;
|
|
127
240
|
/** The last assistantAvatarUrl failed to load — fall back to the icon branch. */
|
|
128
|
-
|
|
241
|
+
AssistantAvatarFailed: boolean;
|
|
242
|
+
/** @deprecated Use {@link AssistantAvatarFailed}. */
|
|
243
|
+
get assistantAvatarFailed(): boolean;
|
|
244
|
+
/** @deprecated Use {@link AssistantAvatarFailed}. */
|
|
245
|
+
set assistantAvatarFailed(value: boolean);
|
|
129
246
|
/** The avatar image URL actually rendered: trimmed, and null after a load error
|
|
130
247
|
* so a broken/whitespace URL degrades to the agent icon instead of a broken-image glyph. */
|
|
248
|
+
get EffectiveAssistantAvatarUrl(): string | null;
|
|
249
|
+
/** @deprecated Use {@link EffectiveAssistantAvatarUrl}. */
|
|
131
250
|
get effectiveAssistantAvatarUrl(): string | null;
|
|
251
|
+
EditClicked: EventEmitter<MJConversationDetailEntity>;
|
|
252
|
+
/**
|
|
253
|
+
* @deprecated Use {@link EditClicked}.
|
|
254
|
+
*
|
|
255
|
+
* The same emitter under the old binding name, so a template still binding
|
|
256
|
+
* (editClicked) keeps working. Must stay AFTER EditClicked: class fields
|
|
257
|
+
* initialise in order, and the other way round this captures undefined.
|
|
258
|
+
*/
|
|
132
259
|
editClicked: EventEmitter<MJConversationDetailEntity>;
|
|
260
|
+
DeleteClicked: EventEmitter<MJConversationDetailEntity>;
|
|
261
|
+
/**
|
|
262
|
+
* @deprecated Use {@link DeleteClicked}.
|
|
263
|
+
*
|
|
264
|
+
* The same emitter under the old binding name, so a template still binding
|
|
265
|
+
* (deleteClicked) keeps working. Must stay AFTER DeleteClicked: class fields
|
|
266
|
+
* initialise in order, and the other way round this captures undefined.
|
|
267
|
+
*/
|
|
133
268
|
deleteClicked: EventEmitter<MJConversationDetailEntity>;
|
|
269
|
+
RetryClicked: EventEmitter<MJConversationDetailEntity>;
|
|
270
|
+
/**
|
|
271
|
+
* @deprecated Use {@link RetryClicked}.
|
|
272
|
+
*
|
|
273
|
+
* The same emitter under the old binding name, so a template still binding
|
|
274
|
+
* (retryClicked) keeps working. Must stay AFTER RetryClicked: class fields
|
|
275
|
+
* initialise in order, and the other way round this captures undefined.
|
|
276
|
+
*/
|
|
134
277
|
retryClicked: EventEmitter<MJConversationDetailEntity>;
|
|
278
|
+
TestFeedbackClicked: EventEmitter<MJConversationDetailEntity>;
|
|
279
|
+
/**
|
|
280
|
+
* @deprecated Use {@link TestFeedbackClicked}.
|
|
281
|
+
*
|
|
282
|
+
* The same emitter under the old binding name, so a template still binding
|
|
283
|
+
* (testFeedbackClicked) keeps working. Must stay AFTER TestFeedbackClicked: class fields
|
|
284
|
+
* initialise in order, and the other way round this captures undefined.
|
|
285
|
+
*/
|
|
135
286
|
testFeedbackClicked: EventEmitter<MJConversationDetailEntity>;
|
|
287
|
+
ArtifactClicked: EventEmitter<{
|
|
288
|
+
artifactId: string;
|
|
289
|
+
versionId?: string;
|
|
290
|
+
}>;
|
|
291
|
+
/**
|
|
292
|
+
* @deprecated Use {@link ArtifactClicked}.
|
|
293
|
+
*
|
|
294
|
+
* The same emitter under the old binding name, so a template still binding
|
|
295
|
+
* (artifactClicked) keeps working. Must stay AFTER ArtifactClicked: class fields
|
|
296
|
+
* initialise in order, and the other way round this captures undefined.
|
|
297
|
+
*/
|
|
136
298
|
artifactClicked: EventEmitter<{
|
|
137
299
|
artifactId: string;
|
|
138
300
|
versionId?: string;
|
|
139
301
|
}>;
|
|
302
|
+
ArtifactActionPerformed: EventEmitter<{
|
|
303
|
+
action: string;
|
|
304
|
+
artifactId: string;
|
|
305
|
+
}>;
|
|
306
|
+
/**
|
|
307
|
+
* @deprecated Use {@link ArtifactActionPerformed}.
|
|
308
|
+
*
|
|
309
|
+
* The same emitter under the old binding name, so a template still binding
|
|
310
|
+
* (artifactActionPerformed) keeps working. Must stay AFTER ArtifactActionPerformed: class fields
|
|
311
|
+
* initialise in order, and the other way round this captures undefined.
|
|
312
|
+
*/
|
|
140
313
|
artifactActionPerformed: EventEmitter<{
|
|
141
314
|
action: string;
|
|
142
315
|
artifactId: string;
|
|
143
316
|
}>;
|
|
317
|
+
MessageEdited: EventEmitter<MJConversationDetailEntity>;
|
|
318
|
+
/**
|
|
319
|
+
* @deprecated Use {@link MessageEdited}.
|
|
320
|
+
*
|
|
321
|
+
* The same emitter under the old binding name, so a template still binding
|
|
322
|
+
* (messageEdited) keeps working. Must stay AFTER MessageEdited: class fields
|
|
323
|
+
* initialise in order, and the other way round this captures undefined.
|
|
324
|
+
*/
|
|
144
325
|
messageEdited: EventEmitter<MJConversationDetailEntity>;
|
|
326
|
+
OpenEntityRecord: EventEmitter<{
|
|
327
|
+
entityName: string;
|
|
328
|
+
compositeKey: CompositeKey;
|
|
329
|
+
}>;
|
|
330
|
+
/**
|
|
331
|
+
* @deprecated Use {@link OpenEntityRecord}.
|
|
332
|
+
*
|
|
333
|
+
* The same emitter under the old binding name, so a template still binding
|
|
334
|
+
* (openEntityRecord) keeps working. Must stay AFTER OpenEntityRecord: class fields
|
|
335
|
+
* initialise in order, and the other way round this captures undefined.
|
|
336
|
+
*/
|
|
145
337
|
openEntityRecord: EventEmitter<{
|
|
146
338
|
entityName: string;
|
|
147
339
|
compositeKey: CompositeKey;
|
|
148
340
|
}>;
|
|
341
|
+
SuggestedResponseSelected: EventEmitter<{
|
|
342
|
+
text: string;
|
|
343
|
+
customInput?: string;
|
|
344
|
+
}>;
|
|
345
|
+
/**
|
|
346
|
+
* @deprecated Use {@link SuggestedResponseSelected}.
|
|
347
|
+
*
|
|
348
|
+
* The same emitter under the old binding name, so a template still binding
|
|
349
|
+
* (suggestedResponseSelected) keeps working. Must stay AFTER SuggestedResponseSelected: class fields
|
|
350
|
+
* initialise in order, and the other way round this captures undefined.
|
|
351
|
+
*/
|
|
149
352
|
suggestedResponseSelected: EventEmitter<{
|
|
150
353
|
text: string;
|
|
151
354
|
customInput?: string;
|
|
152
355
|
}>;
|
|
356
|
+
AttachmentClicked: EventEmitter<MessageAttachment>;
|
|
357
|
+
/**
|
|
358
|
+
* @deprecated Use {@link AttachmentClicked}.
|
|
359
|
+
*
|
|
360
|
+
* The same emitter under the old binding name, so a template still binding
|
|
361
|
+
* (attachmentClicked) keeps working. Must stay AFTER AttachmentClicked: class fields
|
|
362
|
+
* initialise in order, and the other way round this captures undefined.
|
|
363
|
+
*/
|
|
153
364
|
attachmentClicked: EventEmitter<MessageAttachment>;
|
|
365
|
+
DiagnosticRequested: EventEmitter<string>;
|
|
366
|
+
/**
|
|
367
|
+
* @deprecated Use {@link DiagnosticRequested}.
|
|
368
|
+
*
|
|
369
|
+
* The same emitter under the old binding name, so a template still binding
|
|
370
|
+
* (diagnosticRequested) keeps working. Must stay AFTER DiagnosticRequested: class fields
|
|
371
|
+
* initialise in order, and the other way round this captures undefined.
|
|
372
|
+
*/
|
|
154
373
|
diagnosticRequested: EventEmitter<string>;
|
|
374
|
+
MessagePinToggled: EventEmitter<MJConversationDetailEntity>;
|
|
375
|
+
/**
|
|
376
|
+
* @deprecated Use {@link MessagePinToggled}.
|
|
377
|
+
*
|
|
378
|
+
* The same emitter under the old binding name, so a template still binding
|
|
379
|
+
* (messagePinToggled) keeps working. Must stay AFTER MessagePinToggled: class fields
|
|
380
|
+
* initialise in order, and the other way round this captures undefined.
|
|
381
|
+
*/
|
|
155
382
|
messagePinToggled: EventEmitter<MJConversationDetailEntity>;
|
|
383
|
+
/**
|
|
384
|
+
* Raised when this message's run has gone quiet long enough that the displayed state may be
|
|
385
|
+
* fiction (MJ #4222). The parent answers by re-reading durable state; if the run really is alive
|
|
386
|
+
* its heartbeat advances and the pill returns to 'live' on the next tick.
|
|
387
|
+
*/
|
|
388
|
+
LivenessCheckRequested: EventEmitter<string>;
|
|
156
389
|
/**
|
|
157
390
|
* Cancelable — fired BEFORE the response form's values are sent back as a new
|
|
158
391
|
* conversation message. Listeners may set `event.Cancel = true` to halt the
|
|
@@ -161,19 +394,51 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
161
394
|
* NOT fired and `suggestedResponseSelected` is NOT emitted.
|
|
162
395
|
* Follows MJ's established Before/After cancelable event pattern.
|
|
163
396
|
*/
|
|
397
|
+
BeforeResponseFormSubmitted: EventEmitter<BeforeResponseFormSubmittedEventArgs>;
|
|
398
|
+
/**
|
|
399
|
+
* @deprecated Use {@link BeforeResponseFormSubmitted}.
|
|
400
|
+
*
|
|
401
|
+
* The same emitter under the old binding name, so a template still binding
|
|
402
|
+
* (beforeResponseFormSubmitted) keeps working. Must stay AFTER BeforeResponseFormSubmitted: class fields
|
|
403
|
+
* initialise in order, and the other way round this captures undefined.
|
|
404
|
+
*/
|
|
164
405
|
beforeResponseFormSubmitted: EventEmitter<BeforeResponseFormSubmittedEventArgs>;
|
|
165
406
|
/**
|
|
166
407
|
* Fired AFTER the response form's values have been submitted. Carries the form id
|
|
167
408
|
* (using the message ID as a stable per-message identifier) and the submitted
|
|
168
409
|
* values map. Not fired when {@link beforeResponseFormSubmitted} was canceled.
|
|
169
410
|
*/
|
|
411
|
+
AfterResponseFormSubmitted: EventEmitter<AfterResponseFormSubmittedEventArgs>;
|
|
412
|
+
/**
|
|
413
|
+
* @deprecated Use {@link AfterResponseFormSubmitted}.
|
|
414
|
+
*
|
|
415
|
+
* The same emitter under the old binding name, so a template still binding
|
|
416
|
+
* (afterResponseFormSubmitted) keeps working. Must stay AFTER AfterResponseFormSubmitted: class fields
|
|
417
|
+
* initialise in order, and the other way round this captures undefined.
|
|
418
|
+
*/
|
|
170
419
|
afterResponseFormSubmitted: EventEmitter<AfterResponseFormSubmittedEventArgs>;
|
|
171
420
|
private _loadTime;
|
|
172
421
|
private _elapsedTimeInterval;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
422
|
+
ElapsedTimeFormatted: string;
|
|
423
|
+
/** @deprecated Use {@link ElapsedTimeFormatted}. */
|
|
424
|
+
get _elapsedTimeFormatted(): string;
|
|
425
|
+
/** @deprecated Use {@link ElapsedTimeFormatted}. */
|
|
426
|
+
set _elapsedTimeFormatted(value: string);
|
|
427
|
+
AgentRunDurationFormatted: string;
|
|
428
|
+
/** @deprecated Use {@link AgentRunDurationFormatted}. */
|
|
429
|
+
get _agentRunDurationFormatted(): string;
|
|
430
|
+
/** @deprecated Use {@link AgentRunDurationFormatted}. */
|
|
431
|
+
set _agentRunDurationFormatted(value: string);
|
|
432
|
+
IsEditing: boolean;
|
|
433
|
+
/** @deprecated Use {@link IsEditing}. */
|
|
434
|
+
get isEditing(): boolean;
|
|
435
|
+
/** @deprecated Use {@link IsEditing}. */
|
|
436
|
+
set isEditing(value: boolean);
|
|
437
|
+
EditedText: string;
|
|
438
|
+
/** @deprecated Use {@link EditedText}. */
|
|
439
|
+
get editedText(): string;
|
|
440
|
+
/** @deprecated Use {@link EditedText}. */
|
|
441
|
+
set editedText(value: string);
|
|
177
442
|
private originalText;
|
|
178
443
|
private _previousMessageStatus;
|
|
179
444
|
/**
|
|
@@ -186,8 +451,21 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
186
451
|
private _messageClasses;
|
|
187
452
|
private _stableDisplayMessage;
|
|
188
453
|
private _stableIsInProgressAIMessage;
|
|
189
|
-
|
|
190
|
-
|
|
454
|
+
private _stableLivenessState;
|
|
455
|
+
/** When this component started watching the current run. Bounds the server-clock comparison. */
|
|
456
|
+
private _livenessWatchStart;
|
|
457
|
+
/** Last time a re-check was requested, so a quiet run asks once per window, not once per second. */
|
|
458
|
+
private _lastLivenessRequestAt;
|
|
459
|
+
IsAgentDetailsExpanded: boolean;
|
|
460
|
+
/** @deprecated Use {@link IsAgentDetailsExpanded}. */
|
|
461
|
+
get isAgentDetailsExpanded(): boolean;
|
|
462
|
+
/** @deprecated Use {@link IsAgentDetailsExpanded}. */
|
|
463
|
+
set isAgentDetailsExpanded(value: boolean);
|
|
464
|
+
DetailTasks: MJTaskEntity[];
|
|
465
|
+
/** @deprecated Use {@link DetailTasks}. */
|
|
466
|
+
get detailTasks(): MJTaskEntity[];
|
|
467
|
+
/** @deprecated Use {@link DetailTasks}. */
|
|
468
|
+
set detailTasks(value: MJTaskEntity[]);
|
|
191
469
|
private tasksLoaded;
|
|
192
470
|
private _cachedDisplayMessage;
|
|
193
471
|
private _cachedMessageText;
|
|
@@ -201,6 +479,49 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
201
479
|
* This is more reliable than ngOnChanges when the message object reference doesn't change
|
|
202
480
|
*/
|
|
203
481
|
ngDoCheck(): void;
|
|
482
|
+
/** Whether something is still running for this message, read live rather than from a cache. */
|
|
483
|
+
private isLivenessInFlight;
|
|
484
|
+
/**
|
|
485
|
+
* Recompute the liveness state, and ask the host to re-read durable state when it has degraded.
|
|
486
|
+
*
|
|
487
|
+
* Called from ngDoCheck AND from the one-second timer, and the timer path is the load-bearing
|
|
488
|
+
* one. `ChangeDetectorRef.detectChanges()` re-renders this view but does NOT re-invoke this
|
|
489
|
+
* component's own `ngDoCheck` — that runs only when an ancestor's change detection reaches this
|
|
490
|
+
* node. During the outage this exists to report, nothing triggers an ancestor pass, so a state
|
|
491
|
+
* computed only in `ngDoCheck` freezes at 'live' and the pill keeps counting as though healthy.
|
|
492
|
+
*/
|
|
493
|
+
private refreshLivenessState;
|
|
494
|
+
/**
|
|
495
|
+
* Classify how much the displayed progress can still be trusted.
|
|
496
|
+
*
|
|
497
|
+
* Only meaningful while something is in flight; a finished message is always reported `live`.
|
|
498
|
+
*/
|
|
499
|
+
private computeLivenessState;
|
|
500
|
+
/**
|
|
501
|
+
* How long the server has been silent about this run, in milliseconds.
|
|
502
|
+
*
|
|
503
|
+
* The primary signal is the browser time at which the last push frame for the run, or for this
|
|
504
|
+
* message, arrived (progress, streamed content, or the server's 60s liveness pulse). Frames that
|
|
505
|
+
* name the message cover a row with no MJ agent run, such as one written by a host's own turn
|
|
506
|
+
* handler. The run's own
|
|
507
|
+
* `LastHeartbeatAt` / `__mj_UpdatedAt` count too, but on the healthy path they are frozen at the
|
|
508
|
+
* start time: progress frames carry the server's in-memory entity, which is not saved mid-run.
|
|
509
|
+
* They matter when the run was re-read from the database.
|
|
510
|
+
*
|
|
511
|
+
* Server stamps are on the DATABASE clock and compared against the browser's, so the result is
|
|
512
|
+
* bounded by how long this component has actually been watching: we can never claim more silence
|
|
513
|
+
* than we have observed. A browser clock running fast cannot invent a stall.
|
|
514
|
+
*/
|
|
515
|
+
private runSilenceMs;
|
|
516
|
+
/**
|
|
517
|
+
* Ask the parent to re-read durable state for this message, at most once per window.
|
|
518
|
+
*
|
|
519
|
+
* This closes the loop with the reconciliation triggers: those fire on transport events, and this
|
|
520
|
+
* one fires on the symptom itself — a run that has simply gone quiet, with no event to notice.
|
|
521
|
+
*/
|
|
522
|
+
private requestLivenessCheck;
|
|
523
|
+
/** How much the displayed progress can still be trusted. See {@link MessageLivenessState}. */
|
|
524
|
+
get LivenessState(): MessageLivenessState;
|
|
204
525
|
ngAfterViewInit(): void;
|
|
205
526
|
ngOnDestroy(): void;
|
|
206
527
|
/**
|
|
@@ -209,6 +530,8 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
209
530
|
* can dump live streaming state to the browser console — useful for debugging
|
|
210
531
|
* stuck or forever-spinning conversations without any code changes.
|
|
211
532
|
*/
|
|
533
|
+
OnMessageBubbleClick(event: MouseEvent): void;
|
|
534
|
+
/** @deprecated Use {@link OnMessageBubbleClick}. */
|
|
212
535
|
onMessageBubbleClick(event: MouseEvent): void;
|
|
213
536
|
private openRecordLinkBadge;
|
|
214
537
|
/**
|
|
@@ -217,6 +540,8 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
217
540
|
* Updates every second for temporary messages that use _elapsedTimeFormatted
|
|
218
541
|
*/
|
|
219
542
|
private startElapsedTimeUpdater;
|
|
543
|
+
/** Clears the elapsed time interval, if one is running. */
|
|
544
|
+
private stopElapsedTimeUpdater;
|
|
220
545
|
/**
|
|
221
546
|
* Update all timer displays
|
|
222
547
|
* Called every second by the interval timer
|
|
@@ -224,7 +549,11 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
224
549
|
private updateTimers;
|
|
225
550
|
private formatElapsedTime;
|
|
226
551
|
private formatDurationFromMs;
|
|
552
|
+
get ElapsedTimeSinceLoad(): number;
|
|
553
|
+
/** @deprecated Use {@link ElapsedTimeSinceLoad}. */
|
|
227
554
|
get elapsedTimeSinceLoad(): number;
|
|
555
|
+
get IsAIMessage(): boolean;
|
|
556
|
+
/** @deprecated Use {@link IsAIMessage}. */
|
|
228
557
|
get isAIMessage(): boolean;
|
|
229
558
|
/**
|
|
230
559
|
* The agent identity as shown in the UI: the ENGINE-resolved identity (see
|
|
@@ -233,6 +562,12 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
233
562
|
* real agent name (e.g. {@link isConversationManager}) uses `engineAgentInfo`
|
|
234
563
|
* directly, so a display override can never change routing/behavior decisions.
|
|
235
564
|
*/
|
|
565
|
+
get AiAgentInfo(): {
|
|
566
|
+
name: string;
|
|
567
|
+
iconClass: string;
|
|
568
|
+
role: string;
|
|
569
|
+
} | null;
|
|
570
|
+
/** @deprecated Use {@link AiAgentInfo}. */
|
|
236
571
|
get aiAgentInfo(): {
|
|
237
572
|
name: string;
|
|
238
573
|
iconClass: string;
|
|
@@ -246,24 +581,36 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
246
581
|
iconClass: string;
|
|
247
582
|
role: string;
|
|
248
583
|
} | null;
|
|
584
|
+
get IsUserMessage(): boolean;
|
|
585
|
+
/** @deprecated Use {@link IsUserMessage}. */
|
|
249
586
|
get isUserMessage(): boolean;
|
|
250
587
|
/**
|
|
251
588
|
* Get the actual sender name for user messages
|
|
252
589
|
* Uses the denormalized User field from the view if available,
|
|
253
590
|
* otherwise falls back to current user name
|
|
254
591
|
*/
|
|
592
|
+
get MessageSenderName(): string;
|
|
593
|
+
/** @deprecated Use {@link MessageSenderName}. */
|
|
255
594
|
get messageSenderName(): string;
|
|
256
595
|
/**
|
|
257
596
|
* Get the user's avatar image URL from the userAvatarMap
|
|
258
597
|
* Uses fast O(1) lookup by UserID
|
|
259
598
|
*/
|
|
599
|
+
get UserAvatarUrl(): string | null;
|
|
600
|
+
/** @deprecated Use {@link UserAvatarUrl}. */
|
|
260
601
|
get userAvatarUrl(): string | null;
|
|
261
602
|
/**
|
|
262
603
|
* Get the user's avatar icon class from the userAvatarMap
|
|
263
604
|
* Uses fast O(1) lookup by UserID
|
|
264
605
|
*/
|
|
606
|
+
get UserAvatarIconClass(): string | null;
|
|
607
|
+
/** @deprecated Use {@link UserAvatarIconClass}. */
|
|
265
608
|
get userAvatarIconClass(): string | null;
|
|
609
|
+
get IsConversationManager(): boolean;
|
|
610
|
+
/** @deprecated Use {@link IsConversationManager}. */
|
|
266
611
|
get isConversationManager(): boolean;
|
|
612
|
+
get DisplayMessage(): string;
|
|
613
|
+
/** @deprecated Use {@link DisplayMessage}. */
|
|
267
614
|
get displayMessage(): string;
|
|
268
615
|
/**
|
|
269
616
|
* Computes the display message from the current message text. Called from
|
|
@@ -289,61 +636,95 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
289
636
|
*/
|
|
290
637
|
private formatFieldValueHtml;
|
|
291
638
|
private escapeHtml;
|
|
639
|
+
get IsInProgressAIMessage(): boolean;
|
|
640
|
+
/** @deprecated Use {@link IsInProgressAIMessage}. */
|
|
292
641
|
get isInProgressAIMessage(): boolean;
|
|
642
|
+
get IsAgentRunActive(): boolean;
|
|
643
|
+
/** @deprecated Use {@link IsAgentRunActive}. */
|
|
293
644
|
get isAgentRunActive(): boolean;
|
|
645
|
+
get MessageStatus(): 'Complete' | 'In-Progress' | 'Error';
|
|
646
|
+
/** @deprecated Use {@link MessageStatus}. */
|
|
294
647
|
get messageStatus(): 'Complete' | 'In-Progress' | 'Error';
|
|
648
|
+
GetStatusText(): string;
|
|
649
|
+
/** @deprecated Use {@link GetStatusText}. */
|
|
295
650
|
getStatusText(): string;
|
|
651
|
+
get IsFirstMessageInConversation(): boolean;
|
|
652
|
+
/** @deprecated Use {@link IsFirstMessageInConversation}. */
|
|
296
653
|
get isFirstMessageInConversation(): boolean;
|
|
654
|
+
get IsLastMessageInConversation(): boolean;
|
|
655
|
+
/** @deprecated Use {@link IsLastMessageInConversation}. */
|
|
297
656
|
get isLastMessageInConversation(): boolean;
|
|
298
657
|
/**
|
|
299
658
|
* Determine if rating component should be shown inline (Option C - Hybrid).
|
|
300
659
|
* Show for latest completed AI message that user hasn't rated yet.
|
|
301
660
|
* For older/already-rated messages, ratings accessible via gear menu.
|
|
302
661
|
*/
|
|
662
|
+
ShouldShowRating(): boolean;
|
|
663
|
+
/** @deprecated Use {@link ShouldShowRating}. */
|
|
303
664
|
shouldShowRating(): boolean;
|
|
304
665
|
/**
|
|
305
666
|
* Check if message has any ratings (for gear icon badge)
|
|
306
667
|
*/
|
|
668
|
+
HasRatings(): boolean;
|
|
669
|
+
/** @deprecated Use {@link HasRatings}. */
|
|
307
670
|
hasRatings(): boolean;
|
|
308
671
|
/**
|
|
309
672
|
* Get rating count for badge display on gear icon
|
|
310
673
|
*/
|
|
674
|
+
GetRatingCount(): number;
|
|
675
|
+
/** @deprecated Use {@link GetRatingCount}. */
|
|
311
676
|
getRatingCount(): number;
|
|
312
677
|
/**
|
|
313
678
|
* Get thumbs up count (ratings >= 8)
|
|
314
679
|
*/
|
|
680
|
+
GetThumbsUpCount(): number;
|
|
681
|
+
/** @deprecated Use {@link GetThumbsUpCount}. */
|
|
315
682
|
getThumbsUpCount(): number;
|
|
316
683
|
/**
|
|
317
684
|
* Get thumbs down count (ratings <= 3)
|
|
318
685
|
*/
|
|
686
|
+
GetThumbsDownCount(): number;
|
|
687
|
+
/** @deprecated Use {@link GetThumbsDownCount}. */
|
|
319
688
|
getThumbsDownCount(): number;
|
|
320
689
|
/**
|
|
321
690
|
* Determine if pin/delete actions should show inline (with rating buttons).
|
|
322
691
|
* Show for latest completed AI message that user hasn't rated yet.
|
|
323
692
|
*/
|
|
693
|
+
ShouldShowInlineActions(): boolean;
|
|
694
|
+
/** @deprecated Use {@link ShouldShowInlineActions}. */
|
|
324
695
|
shouldShowInlineActions(): boolean;
|
|
325
696
|
/**
|
|
326
697
|
* The artifacts to render under this message, one card each. Prefers the
|
|
327
698
|
* `artifacts` array; falls back to the legacy single `artifact`/`artifactVersion`
|
|
328
699
|
* inputs so older callers that set only those keep working.
|
|
329
700
|
*/
|
|
701
|
+
get DisplayArtifacts(): MessageArtifactRef[];
|
|
702
|
+
/** @deprecated Use {@link DisplayArtifacts}. */
|
|
330
703
|
get displayArtifacts(): MessageArtifactRef[];
|
|
704
|
+
get HasArtifact(): boolean;
|
|
705
|
+
/** @deprecated Use {@link HasArtifact}. */
|
|
331
706
|
get hasArtifact(): boolean;
|
|
332
707
|
/**
|
|
333
708
|
* Label for a pending artifact. Says what is happening as well as to what — a bare artifact name
|
|
334
709
|
* beside a spinner reads as a title, not as progress, which is the confusion this whole change
|
|
335
710
|
* exists to remove. Matches the media previews' "Loading image..." phrasing.
|
|
336
711
|
*/
|
|
712
|
+
PendingLabel(pending: MessagePendingArtifactRef): string;
|
|
713
|
+
/** @deprecated Use {@link PendingLabel}. */
|
|
337
714
|
pendingLabel(pending: MessagePendingArtifactRef): string;
|
|
338
715
|
/**
|
|
339
716
|
* The pending artifacts that still have no card of their own, filtered per artifact rather than
|
|
340
717
|
* suppressed wholesale: a message can hold a loaded report and an in-flight image at once, and
|
|
341
718
|
* gating on `displayArtifacts.length` would leave that image's window silent.
|
|
342
719
|
*/
|
|
720
|
+
get PendingArtifactPlaceholders(): readonly MessagePendingArtifactRef[];
|
|
721
|
+
/** @deprecated Use {@link PendingArtifactPlaceholders}. */
|
|
343
722
|
get pendingArtifactPlaceholders(): readonly MessagePendingArtifactRef[];
|
|
344
723
|
/**
|
|
345
724
|
* Check if the artifact is a system-only artifact
|
|
346
725
|
*/
|
|
726
|
+
get IsSystemArtifact(): boolean;
|
|
727
|
+
/** @deprecated Use {@link IsSystemArtifact}. */
|
|
347
728
|
get isSystemArtifact(): boolean;
|
|
348
729
|
/**
|
|
349
730
|
* Unified time pill text for all AI message states
|
|
@@ -353,59 +734,111 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
353
734
|
* - Completed messages: Final generation time
|
|
354
735
|
* - Failed messages: Time before failure
|
|
355
736
|
*/
|
|
737
|
+
get TimePillText(): string | null;
|
|
738
|
+
/** @deprecated Use {@link TimePillText}. */
|
|
356
739
|
get timePillText(): string | null;
|
|
357
740
|
private calculateTimePillText;
|
|
741
|
+
get FormattedGenerationTime(): string | null;
|
|
742
|
+
/** @deprecated Use {@link FormattedGenerationTime}. */
|
|
358
743
|
get formattedGenerationTime(): string | null;
|
|
359
744
|
/**
|
|
360
745
|
* Returns the cached CSS class string. Updated in ngDoCheck so the value
|
|
361
746
|
* is stable within a single change detection cycle, preventing
|
|
362
747
|
* ExpressionChangedAfterItHasBeenCheckedError.
|
|
363
748
|
*/
|
|
749
|
+
get MessageClasses(): string;
|
|
750
|
+
/** @deprecated Use {@link MessageClasses}. */
|
|
364
751
|
get messageClasses(): string;
|
|
365
752
|
private buildMessageClasses;
|
|
753
|
+
get IsMessageEdited(): boolean;
|
|
754
|
+
/** @deprecated Use {@link IsMessageEdited}. */
|
|
366
755
|
get isMessageEdited(): boolean;
|
|
756
|
+
OnEditClick(): void;
|
|
757
|
+
/** @deprecated Use {@link OnEditClick}. */
|
|
367
758
|
onEditClick(): void;
|
|
759
|
+
StartEditing(): void;
|
|
760
|
+
/** @deprecated Use {@link StartEditing}. */
|
|
368
761
|
startEditing(): void;
|
|
762
|
+
CancelEditing(): void;
|
|
763
|
+
/** @deprecated Use {@link CancelEditing}. */
|
|
369
764
|
cancelEditing(): void;
|
|
765
|
+
SaveEdit(): Promise<void>;
|
|
766
|
+
/** @deprecated Use {@link SaveEdit}. */
|
|
370
767
|
saveEdit(): Promise<void>;
|
|
768
|
+
OnEditKeydown(event: KeyboardEvent): void;
|
|
769
|
+
/** @deprecated Use {@link OnEditKeydown}. */
|
|
371
770
|
onEditKeydown(event: KeyboardEvent): void;
|
|
771
|
+
OnDeleteClick(): void;
|
|
772
|
+
/** @deprecated Use {@link OnDeleteClick}. */
|
|
372
773
|
onDeleteClick(): void;
|
|
373
774
|
PinMessage(): Promise<void>;
|
|
775
|
+
OnTestFeedbackClick(): void;
|
|
776
|
+
/** @deprecated Use {@link OnTestFeedbackClick}. */
|
|
374
777
|
onTestFeedbackClick(): void;
|
|
778
|
+
OnRetryClick(): void;
|
|
779
|
+
/** @deprecated Use {@link OnRetryClick}. */
|
|
375
780
|
onRetryClick(): void;
|
|
781
|
+
OnArtifactClick(): void;
|
|
782
|
+
/** @deprecated Use {@link OnArtifactClick}. */
|
|
376
783
|
onArtifactClick(): void;
|
|
784
|
+
OnArtifactActionPerformed(event: {
|
|
785
|
+
action: string;
|
|
786
|
+
artifact: MJArtifactEntity;
|
|
787
|
+
version?: MJArtifactVersionEntity;
|
|
788
|
+
}): void;
|
|
789
|
+
/** @deprecated Use {@link OnArtifactActionPerformed}. */
|
|
377
790
|
onArtifactActionPerformed(event: {
|
|
378
791
|
action: string;
|
|
379
792
|
artifact: MJArtifactEntity;
|
|
380
793
|
version?: MJArtifactVersionEntity;
|
|
381
794
|
}): void;
|
|
795
|
+
ToggleReaction(type: 'like' | 'comment'): void;
|
|
796
|
+
/** @deprecated Use {@link ToggleReaction}. */
|
|
382
797
|
toggleReaction(type: 'like' | 'comment'): void;
|
|
798
|
+
OnSaveArtifact(event: Event): void;
|
|
799
|
+
/** @deprecated Use {@link OnSaveArtifact}. */
|
|
383
800
|
onSaveArtifact(event: Event): void;
|
|
801
|
+
OnShareArtifact(event: Event): void;
|
|
802
|
+
/** @deprecated Use {@link OnShareArtifact}. */
|
|
384
803
|
onShareArtifact(event: Event): void;
|
|
804
|
+
OnExportArtifact(event: Event): void;
|
|
805
|
+
/** @deprecated Use {@link OnExportArtifact}. */
|
|
385
806
|
onExportArtifact(event: Event): void;
|
|
386
807
|
/**
|
|
387
808
|
* Handle attachment thumbnail click
|
|
388
809
|
* Emits the attachment for the parent to display in the image viewer
|
|
389
810
|
*/
|
|
811
|
+
OnAttachmentClick(attachment: MessageAttachment): void;
|
|
812
|
+
/** @deprecated Use {@link OnAttachmentClick}. */
|
|
390
813
|
onAttachmentClick(attachment: MessageAttachment): void;
|
|
391
814
|
/**
|
|
392
815
|
* Check if message has any attachments
|
|
393
816
|
*/
|
|
817
|
+
get HasAttachments(): boolean;
|
|
818
|
+
/** @deprecated Use {@link HasAttachments}. */
|
|
394
819
|
get hasAttachments(): boolean;
|
|
395
820
|
/**
|
|
396
821
|
* Get only image attachments
|
|
397
822
|
*/
|
|
823
|
+
get ImageAttachments(): MessageAttachment[];
|
|
824
|
+
/** @deprecated Use {@link ImageAttachments}. */
|
|
398
825
|
get imageAttachments(): MessageAttachment[];
|
|
399
826
|
/**
|
|
400
827
|
* Format file size for display
|
|
401
828
|
*/
|
|
829
|
+
FormatFileSize(bytes: number): string;
|
|
830
|
+
/** @deprecated Use {@link FormatFileSize}. */
|
|
402
831
|
formatFileSize(bytes: number): string;
|
|
403
832
|
/** Compact UPPERCASE badge label (artifact-type name wins over file extension). */
|
|
833
|
+
BadgeTextFor(attachment: MessageAttachment): string;
|
|
834
|
+
/** @deprecated Use {@link BadgeTextFor}. */
|
|
404
835
|
badgeTextFor(attachment: MessageAttachment): string;
|
|
405
836
|
/**
|
|
406
837
|
* Whether this message has an associated agent run
|
|
407
838
|
* Based on whether the message has an AgentID (not whether agentRun object is loaded)
|
|
408
839
|
*/
|
|
840
|
+
get HasAgentRun(): boolean;
|
|
841
|
+
/** @deprecated Use {@link HasAgentRun}. */
|
|
409
842
|
get hasAgentRun(): boolean;
|
|
410
843
|
/**
|
|
411
844
|
* Whether the agent-run gear's expanded panel would actually render anything —
|
|
@@ -425,10 +858,14 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
425
858
|
* empty. That window is deliberately preserved (byte-identical defaults) rather
|
|
426
859
|
* than fixed here.
|
|
427
860
|
*/
|
|
861
|
+
get HasAgentDetailsPanelContent(): boolean;
|
|
862
|
+
/** @deprecated Use {@link HasAgentDetailsPanelContent}. */
|
|
428
863
|
get hasAgentDetailsPanelContent(): boolean;
|
|
429
864
|
/**
|
|
430
865
|
* Toggle the agent details panel expansion
|
|
431
866
|
*/
|
|
867
|
+
ToggleAgentDetails(): Promise<void>;
|
|
868
|
+
/** @deprecated Use {@link ToggleAgentDetails}. */
|
|
432
869
|
toggleAgentDetails(): Promise<void>;
|
|
433
870
|
/**
|
|
434
871
|
* Load tasks associated with this conversation detail
|
|
@@ -439,34 +876,50 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
439
876
|
* For active runs: Calculate from created to NOW (live updates)
|
|
440
877
|
* For completed runs: Calculate from created to updated timestamp (static)
|
|
441
878
|
*/
|
|
879
|
+
get AgentRunDuration(): string | null;
|
|
880
|
+
/** @deprecated Use {@link AgentRunDuration}. */
|
|
442
881
|
get agentRunDuration(): string | null;
|
|
443
882
|
/**
|
|
444
883
|
* Get total tokens used in the agent run
|
|
445
884
|
*/
|
|
885
|
+
get AgentRunTotalTokens(): number;
|
|
886
|
+
/** @deprecated Use {@link AgentRunTotalTokens}. */
|
|
446
887
|
get agentRunTotalTokens(): number;
|
|
447
888
|
/**
|
|
448
889
|
* Get total cost of the agent run
|
|
449
890
|
*/
|
|
891
|
+
get AgentRunTotalCost(): number;
|
|
892
|
+
/** @deprecated Use {@link AgentRunTotalCost}. */
|
|
450
893
|
get agentRunTotalCost(): number;
|
|
451
894
|
/**
|
|
452
895
|
* Get number of steps in the agent run
|
|
453
896
|
*/
|
|
897
|
+
get AgentRunStepCount(): number;
|
|
898
|
+
/** @deprecated Use {@link AgentRunStepCount}. */
|
|
454
899
|
get agentRunStepCount(): number;
|
|
455
900
|
/**
|
|
456
901
|
* Format number with commas
|
|
457
902
|
*/
|
|
903
|
+
FormatNumber(num: number): string;
|
|
904
|
+
/** @deprecated Use {@link FormatNumber}. */
|
|
458
905
|
formatNumber(num: number): string;
|
|
459
906
|
/**
|
|
460
907
|
* Open the agent run entity record in a new tab
|
|
461
908
|
*/
|
|
909
|
+
OpenAgentRunRecord(): void;
|
|
910
|
+
/** @deprecated Use {@link OpenAgentRunRecord}. */
|
|
462
911
|
openAgentRunRecord(): void;
|
|
463
912
|
/**
|
|
464
913
|
* Open the agent entity record in a new tab
|
|
465
914
|
*/
|
|
915
|
+
OpenAgentRecord(): void;
|
|
916
|
+
/** @deprecated Use {@link OpenAgentRecord}. */
|
|
466
917
|
openAgentRecord(): void;
|
|
467
918
|
/**
|
|
468
919
|
* Check if current user is the conversation owner
|
|
469
920
|
*/
|
|
921
|
+
get IsConversationOwner(): boolean;
|
|
922
|
+
/** @deprecated Use {@link IsConversationOwner}. */
|
|
470
923
|
get isConversationOwner(): boolean;
|
|
471
924
|
/**
|
|
472
925
|
* Get agent response form from message
|
|
@@ -479,6 +932,8 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
479
932
|
*/
|
|
480
933
|
private _responseFormRaw;
|
|
481
934
|
private _responseFormCache;
|
|
935
|
+
get ResponseForm(): AgentResponseForm | null;
|
|
936
|
+
/** @deprecated Use {@link ResponseForm}. */
|
|
482
937
|
get responseForm(): AgentResponseForm | null;
|
|
483
938
|
/**
|
|
484
939
|
* Get actionable commands from message
|
|
@@ -488,11 +943,15 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
488
943
|
*/
|
|
489
944
|
private _actionableCommandsRaw;
|
|
490
945
|
private _actionableCommandsCache;
|
|
946
|
+
get ActionableCommands(): ActionableCommand[];
|
|
947
|
+
/** @deprecated Use {@link ActionableCommands}. */
|
|
491
948
|
get actionableCommands(): ActionableCommand[];
|
|
492
949
|
/**
|
|
493
950
|
* Handle agent response form submission
|
|
494
951
|
* Converts form data to the new @{_mode:"form",...} format
|
|
495
952
|
*/
|
|
953
|
+
OnFormSubmitted(formData: Record<string, any>): void;
|
|
954
|
+
/** @deprecated Use {@link OnFormSubmitted}. */
|
|
496
955
|
onFormSubmitted(formData: Record<string, any>): void;
|
|
497
956
|
/**
|
|
498
957
|
* Detects a plan-approval form submission (the Plan Mode HITL card — identified by its
|
|
@@ -504,6 +963,8 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
504
963
|
/**
|
|
505
964
|
* Handle actionable command execution
|
|
506
965
|
*/
|
|
966
|
+
OnCommandExecuted(command: ActionableCommand): Promise<void>;
|
|
967
|
+
/** @deprecated Use {@link OnCommandExecuted}. */
|
|
507
968
|
onCommandExecuted(command: ActionableCommand): Promise<void>;
|
|
508
969
|
/**
|
|
509
970
|
* Execute automatic commands when message loads
|
|
@@ -516,6 +977,6 @@ export declare class MessageItemComponent extends BaseAngularComponent implement
|
|
|
516
977
|
*/
|
|
517
978
|
private getChoiceDisplayValue;
|
|
518
979
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageItemComponent, never>;
|
|
519
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageItemComponent, "mj-conversation-message-item", never, { "message": { "alias": "message"; "required": false; }; "conversation": { "alias": "conversation"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "allMessages": { "alias": "allMessages"; "required": false; }; "isProcessing": { "alias": "isProcessing"; "required": false; }; "artifact": { "alias": "artifact"; "required": false; }; "artifactVersion": { "alias": "artifactVersion"; "required": false; }; "artifacts": { "alias": "artifacts"; "required": false; }; "agentRun": { "alias": "agentRun"; "required": false; }; "userAvatarMap": { "alias": "userAvatarMap"; "required": false; }; "ratings": { "alias": "ratings"; "required": false; }; "isLastMessage": { "alias": "isLastMessage"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "pendingArtifacts": { "alias": "pendingArtifacts"; "required": false; }; "messageExtraTemplate": { "alias": "messageExtraTemplate"; "required": false; }; "showAgentRunDetails": { "alias": "showAgentRunDetails"; "required": false; }; "showReactions": { "alias": "showReactions"; "required": false; }; "showMessageRating": { "alias": "showMessageRating"; "required": false; }; "allowPinning": { "alias": "allowPinning"; "required": false; }; "allowMessageEdit": { "alias": "allowMessageEdit"; "required": false; }; "allowMessageDelete": { "alias": "allowMessageDelete"; "required": false; }; "assistantDisplayName": { "alias": "assistantDisplayName"; "required": false; }; "assistantAvatarUrl": { "alias": "assistantAvatarUrl"; "required": false; }; }, { "editClicked": "editClicked"; "deleteClicked": "deleteClicked"; "retryClicked": "retryClicked"; "testFeedbackClicked": "testFeedbackClicked"; "artifactClicked": "artifactClicked"; "artifactActionPerformed": "artifactActionPerformed"; "messageEdited": "messageEdited"; "openEntityRecord": "openEntityRecord"; "suggestedResponseSelected": "suggestedResponseSelected"; "attachmentClicked": "attachmentClicked"; "diagnosticRequested": "diagnosticRequested"; "messagePinToggled": "messagePinToggled"; "beforeResponseFormSubmitted": "beforeResponseFormSubmitted"; "afterResponseFormSubmitted": "afterResponseFormSubmitted"; }, never, never, false, never>;
|
|
980
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageItemComponent, "mj-conversation-message-item", never, { "message": { "alias": "message"; "required": false; }; "Conversation": { "alias": "Conversation"; "required": false; }; "conversation": { "alias": "conversation"; "required": false; }; "CurrentUser": { "alias": "CurrentUser"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "AllMessages": { "alias": "AllMessages"; "required": false; }; "allMessages": { "alias": "allMessages"; "required": false; }; "IsProcessing": { "alias": "IsProcessing"; "required": false; }; "isProcessing": { "alias": "isProcessing"; "required": false; }; "Artifact": { "alias": "Artifact"; "required": false; }; "artifact": { "alias": "artifact"; "required": false; }; "artifactVersion": { "alias": "artifactVersion"; "required": false; }; "Artifacts": { "alias": "Artifacts"; "required": false; }; "artifacts": { "alias": "artifacts"; "required": false; }; "AgentRun": { "alias": "AgentRun"; "required": false; }; "agentRun": { "alias": "agentRun"; "required": false; }; "UserAvatarMap": { "alias": "UserAvatarMap"; "required": false; }; "userAvatarMap": { "alias": "userAvatarMap"; "required": false; }; "Ratings": { "alias": "Ratings"; "required": false; }; "ratings": { "alias": "ratings"; "required": false; }; "IsLastMessage": { "alias": "IsLastMessage"; "required": false; }; "isLastMessage": { "alias": "isLastMessage"; "required": false; }; "Attachments": { "alias": "Attachments"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "PendingArtifacts": { "alias": "PendingArtifacts"; "required": false; }; "pendingArtifacts": { "alias": "pendingArtifacts"; "required": false; }; "MessageExtraTemplate": { "alias": "MessageExtraTemplate"; "required": false; }; "messageExtraTemplate": { "alias": "messageExtraTemplate"; "required": false; }; "ShowAgentRunDetails": { "alias": "ShowAgentRunDetails"; "required": false; }; "showAgentRunDetails": { "alias": "showAgentRunDetails"; "required": false; }; "ShowReactions": { "alias": "ShowReactions"; "required": false; }; "showReactions": { "alias": "showReactions"; "required": false; }; "ShowMessageRating": { "alias": "ShowMessageRating"; "required": false; }; "showMessageRating": { "alias": "showMessageRating"; "required": false; }; "AllowPinning": { "alias": "AllowPinning"; "required": false; }; "allowPinning": { "alias": "allowPinning"; "required": false; }; "AllowMessageEdit": { "alias": "AllowMessageEdit"; "required": false; }; "allowMessageEdit": { "alias": "allowMessageEdit"; "required": false; }; "AllowMessageDelete": { "alias": "AllowMessageDelete"; "required": false; }; "allowMessageDelete": { "alias": "allowMessageDelete"; "required": false; }; "ReadOnly": { "alias": "ReadOnly"; "required": false; }; "AssistantDisplayName": { "alias": "AssistantDisplayName"; "required": false; }; "assistantDisplayName": { "alias": "assistantDisplayName"; "required": false; }; "AssistantAvatarUrl": { "alias": "AssistantAvatarUrl"; "required": false; }; "assistantAvatarUrl": { "alias": "assistantAvatarUrl"; "required": false; }; }, { "EditClicked": "EditClicked"; "editClicked": "editClicked"; "DeleteClicked": "DeleteClicked"; "deleteClicked": "deleteClicked"; "RetryClicked": "RetryClicked"; "retryClicked": "retryClicked"; "TestFeedbackClicked": "TestFeedbackClicked"; "testFeedbackClicked": "testFeedbackClicked"; "ArtifactClicked": "ArtifactClicked"; "artifactClicked": "artifactClicked"; "ArtifactActionPerformed": "ArtifactActionPerformed"; "artifactActionPerformed": "artifactActionPerformed"; "MessageEdited": "MessageEdited"; "messageEdited": "messageEdited"; "OpenEntityRecord": "OpenEntityRecord"; "openEntityRecord": "openEntityRecord"; "SuggestedResponseSelected": "SuggestedResponseSelected"; "suggestedResponseSelected": "suggestedResponseSelected"; "AttachmentClicked": "AttachmentClicked"; "attachmentClicked": "attachmentClicked"; "DiagnosticRequested": "DiagnosticRequested"; "diagnosticRequested": "diagnosticRequested"; "MessagePinToggled": "MessagePinToggled"; "messagePinToggled": "messagePinToggled"; "LivenessCheckRequested": "LivenessCheckRequested"; "BeforeResponseFormSubmitted": "BeforeResponseFormSubmitted"; "beforeResponseFormSubmitted": "beforeResponseFormSubmitted"; "AfterResponseFormSubmitted": "AfterResponseFormSubmitted"; "afterResponseFormSubmitted": "afterResponseFormSubmitted"; }, never, never, false, never>;
|
|
520
981
|
}
|
|
521
982
|
//# sourceMappingURL=message-item.component.d.ts.map
|