@memberjunction/ng-conversations 6.1.4 → 6.2.0-edge.1

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.
Files changed (424) hide show
  1. package/README.md +36 -3
  2. package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts +19 -3
  3. package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts.map +1 -1
  4. package/dist/lib/components/active-tasks/active-tasks-panel.component.js +39 -7
  5. package/dist/lib/components/active-tasks/active-tasks-panel.component.js.map +1 -1
  6. package/dist/lib/components/agent/active-agent-indicator.component.d.ts +74 -6
  7. package/dist/lib/components/agent/active-agent-indicator.component.d.ts.map +1 -1
  8. package/dist/lib/components/agent/active-agent-indicator.component.js +111 -21
  9. package/dist/lib/components/agent/active-agent-indicator.component.js.map +1 -1
  10. package/dist/lib/components/agent/agent-process-panel.component.d.ts +31 -5
  11. package/dist/lib/components/agent/agent-process-panel.component.d.ts.map +1 -1
  12. package/dist/lib/components/agent/agent-process-panel.component.js +71 -15
  13. package/dist/lib/components/agent/agent-process-panel.component.js.map +1 -1
  14. package/dist/lib/components/artifact/artifact-share-modal.component.d.ts +65 -9
  15. package/dist/lib/components/artifact/artifact-share-modal.component.d.ts.map +1 -1
  16. package/dist/lib/components/artifact/artifact-share-modal.component.js +169 -57
  17. package/dist/lib/components/artifact/artifact-share-modal.component.js.map +1 -1
  18. package/dist/lib/components/attachment/image-viewer.component.d.ts +77 -11
  19. package/dist/lib/components/attachment/image-viewer.component.d.ts.map +1 -1
  20. package/dist/lib/components/attachment/image-viewer.component.js +181 -47
  21. package/dist/lib/components/attachment/image-viewer.component.js.map +1 -1
  22. package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts +129 -19
  23. package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts.map +1 -1
  24. package/dist/lib/components/collection/artifact-collection-picker-modal.component.js +350 -116
  25. package/dist/lib/components/collection/artifact-collection-picker-modal.component.js.map +1 -1
  26. package/dist/lib/components/collection/artifact-create-modal.component.d.ts +60 -8
  27. package/dist/lib/components/collection/artifact-create-modal.component.d.ts.map +1 -1
  28. package/dist/lib/components/collection/artifact-create-modal.component.js +130 -46
  29. package/dist/lib/components/collection/artifact-create-modal.component.js.map +1 -1
  30. package/dist/lib/components/collection/collection-artifact-card.component.d.ts +63 -3
  31. package/dist/lib/components/collection/collection-artifact-card.component.d.ts.map +1 -1
  32. package/dist/lib/components/collection/collection-artifact-card.component.js +113 -19
  33. package/dist/lib/components/collection/collection-artifact-card.component.js.map +1 -1
  34. package/dist/lib/components/collection/collection-form-modal.component.d.ts +54 -8
  35. package/dist/lib/components/collection/collection-form-modal.component.d.ts.map +1 -1
  36. package/dist/lib/components/collection/collection-form-modal.component.js +130 -46
  37. package/dist/lib/components/collection/collection-form-modal.component.js.map +1 -1
  38. package/dist/lib/components/collection/collection-share-modal.component.d.ts +70 -10
  39. package/dist/lib/components/collection/collection-share-modal.component.d.ts.map +1 -1
  40. package/dist/lib/components/collection/collection-share-modal.component.js +175 -53
  41. package/dist/lib/components/collection/collection-share-modal.component.js.map +1 -1
  42. package/dist/lib/components/collection/collection-tree.component.d.ts +89 -9
  43. package/dist/lib/components/collection/collection-tree.component.d.ts.map +1 -1
  44. package/dist/lib/components/collection/collection-tree.component.js +220 -70
  45. package/dist/lib/components/collection/collection-tree.component.js.map +1 -1
  46. package/dist/lib/components/collection/collection-view.component.d.ts +89 -11
  47. package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
  48. package/dist/lib/components/collection/collection-view.component.js +154 -40
  49. package/dist/lib/components/collection/collection-view.component.js.map +1 -1
  50. package/dist/lib/components/collection/collections-full-view.component.d.ts +390 -38
  51. package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
  52. package/dist/lib/components/collection/collections-full-view.component.js +951 -367
  53. package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
  54. package/dist/lib/components/composer/ai-composer.component.d.ts +213 -18
  55. package/dist/lib/components/composer/ai-composer.component.d.ts.map +1 -1
  56. package/dist/lib/components/composer/ai-composer.component.js +388 -44
  57. package/dist/lib/components/composer/ai-composer.component.js.map +1 -1
  58. package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts +12 -1
  59. package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts.map +1 -1
  60. package/dist/lib/components/conversation/conversation-agent-picker.component.js +26 -4
  61. package/dist/lib/components/conversation/conversation-agent-picker.component.js.map +1 -1
  62. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +1090 -123
  63. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
  64. package/dist/lib/components/conversation/conversation-chat-area.component.js +2407 -731
  65. package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
  66. package/dist/lib/components/conversation/conversation-empty-state.component.d.ts +139 -19
  67. package/dist/lib/components/conversation/conversation-empty-state.component.d.ts.map +1 -1
  68. package/dist/lib/components/conversation/conversation-empty-state.component.js +296 -59
  69. package/dist/lib/components/conversation/conversation-empty-state.component.js.map +1 -1
  70. package/dist/lib/components/conversation/conversation-list.component.d.ts +579 -78
  71. package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
  72. package/dist/lib/components/conversation/conversation-list.component.js +2322 -823
  73. package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
  74. package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts +40 -4
  75. package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts.map +1 -1
  76. package/dist/lib/components/conversation/pinned-messages-panel.component.js +72 -14
  77. package/dist/lib/components/conversation/pinned-messages-panel.component.js.map +1 -1
  78. package/dist/lib/components/dialogs/input-dialog.component.d.ts +57 -11
  79. package/dist/lib/components/dialogs/input-dialog.component.d.ts.map +1 -1
  80. package/dist/lib/components/dialogs/input-dialog.component.js +128 -16
  81. package/dist/lib/components/dialogs/input-dialog.component.js.map +1 -1
  82. package/dist/lib/components/dialogs/rating-dialog.component.d.ts +68 -10
  83. package/dist/lib/components/dialogs/rating-dialog.component.d.ts.map +1 -1
  84. package/dist/lib/components/dialogs/rating-dialog.component.js +151 -27
  85. package/dist/lib/components/dialogs/rating-dialog.component.js.map +1 -1
  86. package/dist/lib/components/export/export-modal.component.d.ts +84 -10
  87. package/dist/lib/components/export/export-modal.component.d.ts.map +1 -1
  88. package/dist/lib/components/export/export-modal.component.js +173 -49
  89. package/dist/lib/components/export/export-modal.component.js.map +1 -1
  90. package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts +29 -3
  91. package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts.map +1 -1
  92. package/dist/lib/components/global-tasks/global-tasks-panel.component.js +58 -12
  93. package/dist/lib/components/global-tasks/global-tasks-panel.component.js.map +1 -1
  94. package/dist/lib/components/library/library-full-view.component.d.ts +57 -8
  95. package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -1
  96. package/dist/lib/components/library/library-full-view.component.js +119 -35
  97. package/dist/lib/components/library/library-full-view.component.js.map +1 -1
  98. package/dist/lib/components/members/members-modal.component.d.ts +76 -10
  99. package/dist/lib/components/members/members-modal.component.d.ts.map +1 -1
  100. package/dist/lib/components/members/members-modal.component.js +164 -50
  101. package/dist/lib/components/members/members-modal.component.js.map +1 -1
  102. package/dist/lib/components/message/actionable-commands.component.d.ts +37 -5
  103. package/dist/lib/components/message/actionable-commands.component.d.ts.map +1 -1
  104. package/dist/lib/components/message/actionable-commands.component.js +82 -16
  105. package/dist/lib/components/message/actionable-commands.component.js.map +1 -1
  106. package/dist/lib/components/message/conversation-message-rating.component.d.ts +46 -10
  107. package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -1
  108. package/dist/lib/components/message/conversation-message-rating.component.js +120 -36
  109. package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -1
  110. package/dist/lib/components/message/message-input.component.d.ts +549 -74
  111. package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
  112. package/dist/lib/components/message/message-input.component.js +1250 -421
  113. package/dist/lib/components/message/message-input.component.js.map +1 -1
  114. package/dist/lib/components/message/message-item.component.d.ts +411 -29
  115. package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
  116. package/dist/lib/components/message/message-item.component.js +896 -222
  117. package/dist/lib/components/message/message-item.component.js.map +1 -1
  118. package/dist/lib/components/message/message-list.component.d.ts +288 -29
  119. package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
  120. package/dist/lib/components/message/message-list.component.js +561 -123
  121. package/dist/lib/components/message/message-list.component.js.map +1 -1
  122. package/dist/lib/components/navigation/conversation-navigation.component.d.ts +64 -5
  123. package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
  124. package/dist/lib/components/navigation/conversation-navigation.component.js +101 -11
  125. package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
  126. package/dist/lib/components/notification/activity-indicator.component.d.ts +6 -2
  127. package/dist/lib/components/notification/activity-indicator.component.d.ts.map +1 -1
  128. package/dist/lib/components/notification/activity-indicator.component.js +13 -3
  129. package/dist/lib/components/notification/activity-indicator.component.js.map +1 -1
  130. package/dist/lib/components/notification/notification-badge.component.d.ts +15 -3
  131. package/dist/lib/components/notification/notification-badge.component.d.ts.map +1 -1
  132. package/dist/lib/components/notification/notification-badge.component.js +36 -8
  133. package/dist/lib/components/notification/notification-badge.component.js.map +1 -1
  134. package/dist/lib/components/overlay/chat-overlay.component.d.ts +1 -1
  135. package/dist/lib/components/overlay/chat-overlay.component.js +4 -4
  136. package/dist/lib/components/overlay/chat-overlay.component.js.map +1 -1
  137. package/dist/lib/components/project/project-form-modal.component.d.ts +93 -11
  138. package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -1
  139. package/dist/lib/components/project/project-form-modal.component.js +348 -87
  140. package/dist/lib/components/project/project-form-modal.component.js.map +1 -1
  141. package/dist/lib/components/project/project-selector.component.d.ts +78 -8
  142. package/dist/lib/components/project/project-selector.component.d.ts.map +1 -1
  143. package/dist/lib/components/project/project-selector.component.js +177 -46
  144. package/dist/lib/components/project/project-selector.component.js.map +1 -1
  145. package/dist/lib/components/realtime/channels/channel-onboarding-panel.component.d.ts +1 -1
  146. package/dist/lib/components/realtime/channels/channel-onboarding-panel.component.d.ts.map +1 -1
  147. package/dist/lib/components/realtime/channels/channel-onboarding-panel.component.js.map +1 -1
  148. package/dist/lib/components/realtime/channels/client-context-channel.d.ts +1 -1
  149. package/dist/lib/components/realtime/channels/client-context-channel.d.ts.map +1 -1
  150. package/dist/lib/components/realtime/channels/client-context-channel.js +1 -1
  151. package/dist/lib/components/realtime/channels/client-context-channel.js.map +1 -1
  152. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.d.ts +1 -1
  153. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.d.ts.map +1 -1
  154. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.js +3 -0
  155. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.js.map +1 -1
  156. package/dist/lib/components/realtime/media/media-channel.d.ts +2 -1
  157. package/dist/lib/components/realtime/media/media-channel.d.ts.map +1 -1
  158. package/dist/lib/components/realtime/media/media-channel.js +1 -1
  159. package/dist/lib/components/realtime/media/media-channel.js.map +1 -1
  160. package/dist/lib/components/realtime/realtime-activity-rail.component.d.ts +2 -2
  161. package/dist/lib/components/realtime/realtime-activity-rail.component.d.ts.map +1 -1
  162. package/dist/lib/components/realtime/realtime-activity-rail.component.js +2 -2
  163. package/dist/lib/components/realtime/realtime-activity-rail.component.js.map +1 -1
  164. package/dist/lib/components/realtime/realtime-agent-banner.component.d.ts +1 -1
  165. package/dist/lib/components/realtime/realtime-agent-banner.component.d.ts.map +1 -1
  166. package/dist/lib/components/realtime/realtime-agent-banner.component.js.map +1 -1
  167. package/dist/lib/components/realtime/realtime-composer.component.d.ts +3 -1
  168. package/dist/lib/components/realtime/realtime-composer.component.d.ts.map +1 -1
  169. package/dist/lib/components/realtime/realtime-composer.component.js +26 -8
  170. package/dist/lib/components/realtime/realtime-composer.component.js.map +1 -1
  171. package/dist/lib/components/realtime/realtime-delegation-card.component.d.ts +2 -2
  172. package/dist/lib/components/realtime/realtime-delegation-card.component.d.ts.map +1 -1
  173. package/dist/lib/components/realtime/realtime-delegation-card.component.js +2 -2
  174. package/dist/lib/components/realtime/realtime-delegation-card.component.js.map +1 -1
  175. package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts +4 -4
  176. package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts.map +1 -1
  177. package/dist/lib/components/realtime/realtime-session-overlay.component.js +19 -19
  178. package/dist/lib/components/realtime/realtime-session-overlay.component.js.map +1 -1
  179. package/dist/lib/components/realtime/realtime-session-state.d.ts +2 -3
  180. package/dist/lib/components/realtime/realtime-session-state.d.ts.map +1 -1
  181. package/dist/lib/components/realtime/realtime-session-state.js +3 -2
  182. package/dist/lib/components/realtime/realtime-session-state.js.map +1 -1
  183. package/dist/lib/components/realtime/realtime-session-thread.component.d.ts +17 -1
  184. package/dist/lib/components/realtime/realtime-session-thread.component.d.ts.map +1 -1
  185. package/dist/lib/components/realtime/realtime-session-thread.component.js +122 -45
  186. package/dist/lib/components/realtime/realtime-session-thread.component.js.map +1 -1
  187. package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts +47 -31
  188. package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts.map +1 -1
  189. package/dist/lib/components/realtime/realtime-session-timeline-card.component.js +138 -124
  190. package/dist/lib/components/realtime/realtime-session-timeline-card.component.js.map +1 -1
  191. package/dist/lib/components/realtime/realtime-surface-tabs.component.d.ts +4 -4
  192. package/dist/lib/components/realtime/realtime-surface-tabs.component.d.ts.map +1 -1
  193. package/dist/lib/components/realtime/realtime-surface-tabs.component.js +4 -4
  194. package/dist/lib/components/realtime/realtime-surface-tabs.component.js.map +1 -1
  195. package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts +2 -2
  196. package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts.map +1 -1
  197. package/dist/lib/components/realtime/realtime-surface-tabs.model.js +3 -3
  198. package/dist/lib/components/realtime/realtime-surface-tabs.model.js.map +1 -1
  199. package/dist/lib/components/realtime/realtime-ui-config.d.ts +13 -11
  200. package/dist/lib/components/realtime/realtime-ui-config.d.ts.map +1 -1
  201. package/dist/lib/components/realtime/realtime-ui-config.js +29 -25
  202. package/dist/lib/components/realtime/realtime-ui-config.js.map +1 -1
  203. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts +1 -1
  204. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts.map +1 -1
  205. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js +1 -1
  206. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js.map +1 -1
  207. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts +4 -2
  208. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts.map +1 -1
  209. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js +7 -3
  210. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js.map +1 -1
  211. package/dist/lib/components/search/search-panel.component.d.ts +133 -22
  212. package/dist/lib/components/search/search-panel.component.d.ts.map +1 -1
  213. package/dist/lib/components/search/search-panel.component.js +312 -83
  214. package/dist/lib/components/search/search-panel.component.js.map +1 -1
  215. package/dist/lib/components/share/share-modal.component.d.ts +69 -9
  216. package/dist/lib/components/share/share-modal.component.d.ts.map +1 -1
  217. package/dist/lib/components/share/share-modal.component.js +139 -31
  218. package/dist/lib/components/share/share-modal.component.js.map +1 -1
  219. package/dist/lib/components/shared/user-picker.component.d.ts +48 -8
  220. package/dist/lib/components/shared/user-picker.component.d.ts.map +1 -1
  221. package/dist/lib/components/shared/user-picker.component.js +110 -30
  222. package/dist/lib/components/shared/user-picker.component.js.map +1 -1
  223. package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts +114 -11
  224. package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -1
  225. package/dist/lib/components/sidebar/conversation-sidebar.component.js +199 -21
  226. package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -1
  227. package/dist/lib/components/sidebar/routines-section.component.d.ts +20 -1
  228. package/dist/lib/components/sidebar/routines-section.component.d.ts.map +1 -1
  229. package/dist/lib/components/sidebar/routines-section.component.js +25 -5
  230. package/dist/lib/components/sidebar/routines-section.component.js.map +1 -1
  231. package/dist/lib/components/slots/slot-interfaces.d.ts +19 -0
  232. package/dist/lib/components/slots/slot-interfaces.d.ts.map +1 -1
  233. package/dist/lib/components/slots/slot-interfaces.js.map +1 -1
  234. package/dist/lib/components/task/tasks-full-view.component.d.ts +95 -13
  235. package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -1
  236. package/dist/lib/components/task/tasks-full-view.component.js +223 -75
  237. package/dist/lib/components/task/tasks-full-view.component.js.map +1 -1
  238. package/dist/lib/components/tasks/task-widget.component.d.ts +46 -6
  239. package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -1
  240. package/dist/lib/components/tasks/task-widget.component.js +100 -16
  241. package/dist/lib/components/tasks/task-widget.component.js.map +1 -1
  242. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +64 -7
  243. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
  244. package/dist/lib/components/tasks/tasks-dropdown.component.js +127 -27
  245. package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
  246. package/dist/lib/components/thread/thread-panel.component.d.ts +66 -8
  247. package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
  248. package/dist/lib/components/thread/thread-panel.component.js +146 -36
  249. package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
  250. package/dist/lib/components/toast/toast.component.d.ts +11 -1
  251. package/dist/lib/components/toast/toast.component.d.ts.map +1 -1
  252. package/dist/lib/components/toast/toast.component.js +25 -5
  253. package/dist/lib/components/toast/toast.component.js.map +1 -1
  254. package/dist/lib/components/workspace/conversation-workspace.component.d.ts +385 -42
  255. package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
  256. package/dist/lib/components/workspace/conversation-workspace.component.js +887 -291
  257. package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
  258. package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts +8 -0
  259. package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts.map +1 -1
  260. package/dist/lib/composer-plugins/base-conversation-mention.provider.js +8 -1
  261. package/dist/lib/composer-plugins/base-conversation-mention.provider.js.map +1 -1
  262. package/dist/lib/conversations.module.d.ts.map +1 -1
  263. package/dist/lib/conversations.module.js.map +1 -1
  264. package/dist/lib/directives/chat-slot.directive.d.ts +5 -1
  265. package/dist/lib/directives/chat-slot.directive.d.ts.map +1 -1
  266. package/dist/lib/directives/chat-slot.directive.js.map +1 -1
  267. package/dist/lib/directives/search-shortcut.directive.d.ts +9 -1
  268. package/dist/lib/directives/search-shortcut.directive.d.ts.map +1 -1
  269. package/dist/lib/directives/search-shortcut.directive.js +14 -4
  270. package/dist/lib/directives/search-shortcut.directive.js.map +1 -1
  271. package/dist/lib/events/chat-events.d.ts +34 -7
  272. package/dist/lib/events/chat-events.d.ts.map +1 -1
  273. package/dist/lib/events/chat-events.js +37 -7
  274. package/dist/lib/events/chat-events.js.map +1 -1
  275. package/dist/lib/models/agent-turn.model.d.ts +103 -0
  276. package/dist/lib/models/agent-turn.model.d.ts.map +1 -0
  277. package/dist/lib/models/agent-turn.model.js +12 -0
  278. package/dist/lib/models/agent-turn.model.js.map +1 -0
  279. package/dist/lib/models/collection-view.model.js.map +1 -1
  280. package/dist/lib/models/conversation-state.model.d.ts +8 -0
  281. package/dist/lib/models/conversation-state.model.d.ts.map +1 -1
  282. package/dist/lib/models/conversation-state.model.js.map +1 -1
  283. package/dist/lib/models/lazy-artifact-info.d.ts +44 -12
  284. package/dist/lib/models/lazy-artifact-info.d.ts.map +1 -1
  285. package/dist/lib/models/lazy-artifact-info.js +98 -34
  286. package/dist/lib/models/lazy-artifact-info.js.map +1 -1
  287. package/dist/lib/services/active-tasks.service.d.ts +30 -4
  288. package/dist/lib/services/active-tasks.service.d.ts.map +1 -1
  289. package/dist/lib/services/active-tasks.service.js +71 -19
  290. package/dist/lib/services/active-tasks.service.js.map +1 -1
  291. package/dist/lib/services/agent-state.service.d.ts +17 -1
  292. package/dist/lib/services/agent-state.service.d.ts.map +1 -1
  293. package/dist/lib/services/agent-state.service.js +48 -16
  294. package/dist/lib/services/agent-state.service.js.map +1 -1
  295. package/dist/lib/services/artifact-permission.service.d.ts +39 -0
  296. package/dist/lib/services/artifact-permission.service.d.ts.map +1 -1
  297. package/dist/lib/services/artifact-permission.service.js +152 -17
  298. package/dist/lib/services/artifact-permission.service.js.map +1 -1
  299. package/dist/lib/services/artifact-state.service.d.ts +58 -5
  300. package/dist/lib/services/artifact-state.service.d.ts.map +1 -1
  301. package/dist/lib/services/artifact-state.service.js +135 -35
  302. package/dist/lib/services/artifact-state.service.js.map +1 -1
  303. package/dist/lib/services/browser-realtime-media-host.d.ts +24 -0
  304. package/dist/lib/services/browser-realtime-media-host.d.ts.map +1 -0
  305. package/dist/lib/services/browser-realtime-media-host.js +95 -0
  306. package/dist/lib/services/browser-realtime-media-host.js.map +1 -0
  307. package/dist/lib/services/collection-permission.service.d.ts +28 -0
  308. package/dist/lib/services/collection-permission.service.d.ts.map +1 -1
  309. package/dist/lib/services/collection-permission.service.js +88 -32
  310. package/dist/lib/services/collection-permission.service.js.map +1 -1
  311. package/dist/lib/services/collection-state.service.d.ts +11 -1
  312. package/dist/lib/services/collection-state.service.d.ts.map +1 -1
  313. package/dist/lib/services/collection-state.service.js +25 -5
  314. package/dist/lib/services/collection-state.service.js.map +1 -1
  315. package/dist/lib/services/conversation-agent.service.d.ts +26 -4
  316. package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
  317. package/dist/lib/services/conversation-agent.service.js +57 -18
  318. package/dist/lib/services/conversation-agent.service.js.map +1 -1
  319. package/dist/lib/services/conversation-attachment.service.d.ts +41 -2
  320. package/dist/lib/services/conversation-attachment.service.d.ts.map +1 -1
  321. package/dist/lib/services/conversation-attachment.service.js +80 -13
  322. package/dist/lib/services/conversation-attachment.service.js.map +1 -1
  323. package/dist/lib/services/conversation-streaming.service.d.ts +22 -0
  324. package/dist/lib/services/conversation-streaming.service.d.ts.map +1 -1
  325. package/dist/lib/services/conversation-streaming.service.js +50 -10
  326. package/dist/lib/services/conversation-streaming.service.js.map +1 -1
  327. package/dist/lib/services/data-cache.service.d.ts +31 -0
  328. package/dist/lib/services/data-cache.service.d.ts.map +1 -1
  329. package/dist/lib/services/data-cache.service.js +71 -15
  330. package/dist/lib/services/data-cache.service.js.map +1 -1
  331. package/dist/lib/services/dialog.service.d.ts +13 -0
  332. package/dist/lib/services/dialog.service.d.ts.map +1 -1
  333. package/dist/lib/services/dialog.service.js +25 -5
  334. package/dist/lib/services/dialog.service.js.map +1 -1
  335. package/dist/lib/services/export.service.d.ts +2 -0
  336. package/dist/lib/services/export.service.d.ts.map +1 -1
  337. package/dist/lib/services/export.service.js +5 -1
  338. package/dist/lib/services/export.service.js.map +1 -1
  339. package/dist/lib/services/graphql-attachment-blob-store.d.ts +44 -0
  340. package/dist/lib/services/graphql-attachment-blob-store.d.ts.map +1 -0
  341. package/dist/lib/services/graphql-attachment-blob-store.js +113 -0
  342. package/dist/lib/services/graphql-attachment-blob-store.js.map +1 -0
  343. package/dist/lib/services/mention-autocomplete.service.d.ts +17 -141
  344. package/dist/lib/services/mention-autocomplete.service.d.ts.map +1 -1
  345. package/dist/lib/services/mention-autocomplete.service.js +15 -460
  346. package/dist/lib/services/mention-autocomplete.service.js.map +1 -1
  347. package/dist/lib/services/mention-parser.service.d.ts +10 -0
  348. package/dist/lib/services/mention-parser.service.d.ts.map +1 -1
  349. package/dist/lib/services/mention-parser.service.js +25 -5
  350. package/dist/lib/services/mention-parser.service.js.map +1 -1
  351. package/dist/lib/services/notification.service.d.ts +54 -6
  352. package/dist/lib/services/notification.service.d.ts.map +1 -1
  353. package/dist/lib/services/notification.service.js +123 -27
  354. package/dist/lib/services/notification.service.js.map +1 -1
  355. package/dist/lib/services/realtime-audio-recorder.d.ts +4 -4
  356. package/dist/lib/services/realtime-audio-recorder.js +12 -12
  357. package/dist/lib/services/realtime-audio-recorder.js.map +1 -1
  358. package/dist/lib/services/realtime-pcm-wav.d.ts +4 -0
  359. package/dist/lib/services/realtime-pcm-wav.d.ts.map +1 -1
  360. package/dist/lib/services/realtime-pcm-wav.js +10 -2
  361. package/dist/lib/services/realtime-pcm-wav.js.map +1 -1
  362. package/dist/lib/services/realtime-session-review.service.d.ts +1 -1
  363. package/dist/lib/services/realtime-session-review.service.d.ts.map +1 -1
  364. package/dist/lib/services/realtime-session-review.service.js +1 -1
  365. package/dist/lib/services/realtime-session-review.service.js.map +1 -1
  366. package/dist/lib/services/realtime-session.service.d.ts +16 -1150
  367. package/dist/lib/services/realtime-session.service.d.ts.map +1 -1
  368. package/dist/lib/services/realtime-session.service.js +28 -2430
  369. package/dist/lib/services/realtime-session.service.js.map +1 -1
  370. package/dist/lib/services/search.service.d.ts +42 -9
  371. package/dist/lib/services/search.service.d.ts.map +1 -1
  372. package/dist/lib/services/search.service.js +103 -23
  373. package/dist/lib/services/search.service.js.map +1 -1
  374. package/dist/lib/services/toast.service.d.ts +19 -1
  375. package/dist/lib/services/toast.service.d.ts.map +1 -1
  376. package/dist/lib/services/toast.service.js +45 -9
  377. package/dist/lib/services/toast.service.js.map +1 -1
  378. package/dist/lib/services/ui-command-handler.service.d.ts +16 -2
  379. package/dist/lib/services/ui-command-handler.service.d.ts.map +1 -1
  380. package/dist/lib/services/ui-command-handler.service.js +36 -8
  381. package/dist/lib/services/ui-command-handler.service.js.map +1 -1
  382. package/dist/lib/utils/agent-artifact-summary.d.ts +2 -2
  383. package/dist/lib/utils/agent-artifact-summary.js +3 -3
  384. package/dist/lib/utils/agent-artifact-summary.js.map +1 -1
  385. package/dist/lib/utils/agent-turn-routing.d.ts +69 -0
  386. package/dist/lib/utils/agent-turn-routing.d.ts.map +1 -0
  387. package/dist/lib/utils/agent-turn-routing.js +96 -0
  388. package/dist/lib/utils/agent-turn-routing.js.map +1 -0
  389. package/dist/lib/utils/artifact-panel-action.d.ts +15 -4
  390. package/dist/lib/utils/artifact-panel-action.d.ts.map +1 -1
  391. package/dist/lib/utils/artifact-panel-action.js +10 -2
  392. package/dist/lib/utils/artifact-panel-action.js.map +1 -1
  393. package/dist/lib/utils/distinct-artifacts.d.ts +2 -0
  394. package/dist/lib/utils/distinct-artifacts.d.ts.map +1 -1
  395. package/dist/lib/utils/distinct-artifacts.js +5 -1
  396. package/dist/lib/utils/distinct-artifacts.js.map +1 -1
  397. package/dist/lib/utils/plan-mode-preference.d.ts +2 -2
  398. package/dist/lib/utils/plan-mode-preference.js +6 -6
  399. package/dist/lib/utils/plan-mode-preference.js.map +1 -1
  400. package/dist/lib/utils/realtime-session-timeline.d.ts +8 -79
  401. package/dist/lib/utils/realtime-session-timeline.d.ts.map +1 -1
  402. package/dist/lib/utils/realtime-session-timeline.js +8 -89
  403. package/dist/lib/utils/realtime-session-timeline.js.map +1 -1
  404. package/dist/public-api.d.ts +5 -2
  405. package/dist/public-api.d.ts.map +1 -1
  406. package/dist/public-api.js +9 -2
  407. package/dist/public-api.js.map +1 -1
  408. package/package.json +33 -32
  409. package/dist/lib/components/realtime/channels/base-realtime-channel-client.d.ts +0 -384
  410. package/dist/lib/components/realtime/channels/base-realtime-channel-client.d.ts.map +0 -1
  411. package/dist/lib/components/realtime/channels/base-realtime-channel-client.js +0 -231
  412. package/dist/lib/components/realtime/channels/base-realtime-channel-client.js.map +0 -1
  413. package/dist/lib/services/delegation-result-parser.d.ts +0 -50
  414. package/dist/lib/services/delegation-result-parser.d.ts.map +0 -1
  415. package/dist/lib/services/delegation-result-parser.js +0 -60
  416. package/dist/lib/services/delegation-result-parser.js.map +0 -1
  417. package/dist/lib/services/narration-template.d.ts +0 -42
  418. package/dist/lib/services/narration-template.d.ts.map +0 -1
  419. package/dist/lib/services/narration-template.js +0 -73
  420. package/dist/lib/services/narration-template.js.map +0 -1
  421. package/dist/lib/services/skill-picker-narrowing.d.ts +0 -13
  422. package/dist/lib/services/skill-picker-narrowing.d.ts.map +0 -1
  423. package/dist/lib/services/skill-picker-narrowing.js +0 -13
  424. package/dist/lib/services/skill-picker-narrowing.js.map +0 -1
@@ -8,6 +8,8 @@ import { DialogService } from '../../services/dialog.service';
8
8
  import { ToastService } from '../../services/toast.service';
9
9
  import { ConversationAgentService } from '../../services/conversation-agent.service';
10
10
  import { BeforeAgentTurnEventArgs, AfterAgentTurnEventArgs } from '../../events/chat-events';
11
+ import type { AgentReplyMode, AgentTurnHandler } from '../../models/agent-turn.model';
12
+ import type { MentionPerson } from '@memberjunction/conversations-runtime';
11
13
  import { DataCacheService } from '../../services/data-cache.service';
12
14
  import { ActiveTasksService } from '../../services/active-tasks.service';
13
15
  import { ConversationStreamingService } from '../../services/conversation-streaming.service';
@@ -33,27 +35,111 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
33
35
  private bridge;
34
36
  private realtimeSession;
35
37
  private readonly JSON_ARTIFACT_TYPE_ID;
36
- conversationId: string;
37
- conversationName?: string | null;
38
- currentUser: UserInfo;
39
- disabled: boolean;
40
- placeholder: string;
41
- parentMessageId?: string;
42
- enableAttachments: boolean;
43
- enableMentions: boolean;
44
- enableAgentMentions: boolean;
45
- enableEntityMentions: boolean;
46
- enableSkillCommands: boolean;
47
- enablePlanMode: boolean;
48
- enableRealtime: boolean;
49
- maxAttachments: number;
50
- maxAttachmentSizeBytes: number;
51
- acceptedFileTypes: string;
52
- artifactsByDetailId?: Map<string, LazyArtifactInfo[]>;
53
- systemArtifactsByDetailId?: Map<string, LazyArtifactInfo[]>;
54
- agentRunsByDetailId?: Map<string, MJAIAgentRunEntityExtended>;
55
- emptyStateMode: boolean;
56
- appContext: Record<string, unknown> | null;
38
+ ConversationId: string;
39
+ /** @deprecated Use {@link ConversationId}. */
40
+ set conversationId(value: string);
41
+ /** @deprecated Use {@link ConversationId}. */
42
+ get conversationId(): string;
43
+ ConversationName?: string | null;
44
+ /** @deprecated Use {@link ConversationName}. */
45
+ set conversationName(value: string | null | undefined);
46
+ /** @deprecated Use {@link ConversationName}. */
47
+ get conversationName(): string | null | undefined;
48
+ CurrentUser: UserInfo;
49
+ /** @deprecated Use {@link CurrentUser}. */
50
+ set currentUser(value: UserInfo);
51
+ /** @deprecated Use {@link CurrentUser}. */
52
+ get currentUser(): UserInfo;
53
+ Disabled: boolean;
54
+ /** @deprecated Use {@link Disabled}. */
55
+ set disabled(value: boolean);
56
+ /** @deprecated Use {@link Disabled}. */
57
+ get disabled(): boolean;
58
+ Placeholder: string;
59
+ /** @deprecated Use {@link Placeholder}. */
60
+ set placeholder(value: string);
61
+ /** @deprecated Use {@link Placeholder}. */
62
+ get placeholder(): string;
63
+ ParentMessageId?: string;
64
+ /** @deprecated Use {@link ParentMessageId}. */
65
+ set parentMessageId(value: string | undefined);
66
+ /** @deprecated Use {@link ParentMessageId}. */
67
+ get parentMessageId(): string | undefined;
68
+ EnableAttachments: boolean;
69
+ /** @deprecated Use {@link EnableAttachments}. */
70
+ set enableAttachments(value: boolean);
71
+ /** @deprecated Use {@link EnableAttachments}. */
72
+ get enableAttachments(): boolean;
73
+ EnableMentions: boolean;
74
+ /** @deprecated Use {@link EnableMentions}. */
75
+ set enableMentions(value: boolean);
76
+ /** @deprecated Use {@link EnableMentions}. */
77
+ get enableMentions(): boolean;
78
+ EnableAgentMentions: boolean;
79
+ /** @deprecated Use {@link EnableAgentMentions}. */
80
+ set enableAgentMentions(value: boolean);
81
+ /** @deprecated Use {@link EnableAgentMentions}. */
82
+ get enableAgentMentions(): boolean;
83
+ EnableEntityMentions: boolean;
84
+ /** @deprecated Use {@link EnableEntityMentions}. */
85
+ set enableEntityMentions(value: boolean);
86
+ /** @deprecated Use {@link EnableEntityMentions}. */
87
+ get enableEntityMentions(): boolean;
88
+ EnableSkillCommands: boolean;
89
+ /** @deprecated Use {@link EnableSkillCommands}. */
90
+ set enableSkillCommands(value: boolean);
91
+ /** @deprecated Use {@link EnableSkillCommands}. */
92
+ get enableSkillCommands(): boolean;
93
+ EnablePlanMode: boolean;
94
+ /** @deprecated Use {@link EnablePlanMode}. */
95
+ set enablePlanMode(value: boolean);
96
+ /** @deprecated Use {@link EnablePlanMode}. */
97
+ get enablePlanMode(): boolean;
98
+ EnableRealtime: boolean;
99
+ /** @deprecated Use {@link EnableRealtime}. */
100
+ set enableRealtime(value: boolean);
101
+ /** @deprecated Use {@link EnableRealtime}. */
102
+ get enableRealtime(): boolean;
103
+ MaxAttachments: number;
104
+ /** @deprecated Use {@link MaxAttachments}. */
105
+ set maxAttachments(value: number);
106
+ /** @deprecated Use {@link MaxAttachments}. */
107
+ get maxAttachments(): number;
108
+ MaxAttachmentSizeBytes: number;
109
+ /** @deprecated Use {@link MaxAttachmentSizeBytes}. */
110
+ set maxAttachmentSizeBytes(value: number);
111
+ /** @deprecated Use {@link MaxAttachmentSizeBytes}. */
112
+ get maxAttachmentSizeBytes(): number;
113
+ AcceptedFileTypes: string;
114
+ /** @deprecated Use {@link AcceptedFileTypes}. */
115
+ set acceptedFileTypes(value: string);
116
+ /** @deprecated Use {@link AcceptedFileTypes}. */
117
+ get acceptedFileTypes(): string;
118
+ ArtifactsByDetailId?: Map<string, LazyArtifactInfo[]>;
119
+ /** @deprecated Use {@link ArtifactsByDetailId}. */
120
+ set artifactsByDetailId(value: Map<string, LazyArtifactInfo[]> | undefined);
121
+ /** @deprecated Use {@link ArtifactsByDetailId}. */
122
+ get artifactsByDetailId(): Map<string, LazyArtifactInfo[]> | undefined;
123
+ SystemArtifactsByDetailId?: Map<string, LazyArtifactInfo[]>;
124
+ /** @deprecated Use {@link SystemArtifactsByDetailId}. */
125
+ set systemArtifactsByDetailId(value: Map<string, LazyArtifactInfo[]> | undefined);
126
+ /** @deprecated Use {@link SystemArtifactsByDetailId}. */
127
+ get systemArtifactsByDetailId(): Map<string, LazyArtifactInfo[]> | undefined;
128
+ AgentRunsByDetailId?: Map<string, MJAIAgentRunEntityExtended>;
129
+ /** @deprecated Use {@link AgentRunsByDetailId}. */
130
+ set agentRunsByDetailId(value: Map<string, MJAIAgentRunEntityExtended> | undefined);
131
+ /** @deprecated Use {@link AgentRunsByDetailId}. */
132
+ get agentRunsByDetailId(): Map<string, MJAIAgentRunEntityExtended> | undefined;
133
+ EmptyStateMode: boolean;
134
+ /** @deprecated Use {@link EmptyStateMode}. */
135
+ set emptyStateMode(value: boolean);
136
+ /** @deprecated Use {@link EmptyStateMode}. */
137
+ get emptyStateMode(): boolean;
138
+ AppContext: Record<string, unknown> | null;
139
+ /** @deprecated Use {@link AppContext}. */
140
+ set appContext(value: Record<string, unknown> | null);
141
+ /** @deprecated Use {@link AppContext}. */
142
+ get appContext(): Record<string, unknown> | null;
57
143
  /**
58
144
  * Plan Mode toggle state — sticky PER CONVERSATION, OFF by default (no behavior change unless
59
145
  * the user turns it on). When on, the user's next message(s) in THIS conversation request Plan
@@ -96,7 +182,11 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
96
182
  * context and don't need Sage to route. Leave unset to preserve the
97
183
  * standard Sage-fronted UX of the main Chat app.
98
184
  */
99
- defaultAgentId: string | null;
185
+ DefaultAgentId: string | null;
186
+ /** @deprecated Use {@link DefaultAgentId}. */
187
+ set defaultAgentId(value: string | null);
188
+ /** @deprecated Use {@link DefaultAgentId}. */
189
+ get defaultAgentId(): string | null;
100
190
  /**
101
191
  * Per-conversation pinned default agent — sourced from the loaded
102
192
  * `MJConversationEntity.DefaultAgentID`. When set, this agent is used in
@@ -110,7 +200,11 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
110
200
  * 4. defaultAgentId (embedder-supplied)
111
201
  * 5. Sage fallback
112
202
  */
113
- conversationDefaultAgentId: string | null;
203
+ ConversationDefaultAgentId: string | null;
204
+ /** @deprecated Use {@link ConversationDefaultAgentId}. */
205
+ set conversationDefaultAgentId(value: string | null);
206
+ /** @deprecated Use {@link ConversationDefaultAgentId}. */
207
+ get conversationDefaultAgentId(): string | null;
114
208
  /**
115
209
  * The `MJ: AI Agent Configurations.ID` selected via the chat header's
116
210
  * mode picker (Draft / Standard / High). Applied to **non-mention**
@@ -128,64 +222,217 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
128
222
  * messages already in flight or already in history. Affects "what
129
223
  * happens next."
130
224
  */
131
- agentConfigurationPresetId: string | null;
225
+ AgentConfigurationPresetId: string | null;
226
+ /** @deprecated Use {@link AgentConfigurationPresetId}. */
227
+ set agentConfigurationPresetId(value: string | null);
228
+ /** @deprecated Use {@link AgentConfigurationPresetId}. */
229
+ get agentConfigurationPresetId(): string | null;
132
230
  private _initialMessage;
133
231
  private _initialAttachments;
134
232
  private _isComponentReady;
135
233
  /** Conversation this input has already auto-sent its pending first message for. */
136
234
  private _autoSentForConversationId;
137
- set initialMessage(value: string | null);
235
+ set InitialMessage(value: string | null);
236
+ get InitialMessage(): string | null;
237
+ /** @deprecated Use {@link InitialMessage}. */
138
238
  get initialMessage(): string | null;
139
- set initialAttachments(value: PendingAttachment[] | null);
239
+ /** @deprecated Use {@link InitialMessage}. */
240
+ set initialMessage(value: string | null);
241
+ set InitialAttachments(value: PendingAttachment[] | null);
242
+ get InitialAttachments(): PendingAttachment[] | null;
243
+ /** @deprecated Use {@link InitialAttachments}. */
140
244
  get initialAttachments(): PendingAttachment[] | null;
245
+ /** @deprecated Use {@link InitialAttachments}. */
246
+ set initialAttachments(value: PendingAttachment[] | null);
141
247
  private _conversationHistory;
248
+ get ConversationHistory(): MJConversationDetailEntity[];
249
+ set ConversationHistory(value: MJConversationDetailEntity[]);
250
+ /** @deprecated Use {@link ConversationHistory}. */
142
251
  get conversationHistory(): MJConversationDetailEntity[];
252
+ /** @deprecated Use {@link ConversationHistory}. */
143
253
  set conversationHistory(value: MJConversationDetailEntity[]);
144
254
  private _inProgressMessageIds?;
145
- set inProgressMessageIds(value: string[] | undefined);
255
+ set InProgressMessageIds(value: string[] | undefined);
256
+ get InProgressMessageIds(): string[] | undefined;
257
+ /** @deprecated Use {@link InProgressMessageIds}. */
146
258
  get inProgressMessageIds(): string[] | undefined;
259
+ /** @deprecated Use {@link InProgressMessageIds}. */
260
+ set inProgressMessageIds(value: string[] | undefined);
147
261
  /**
148
262
  * Application context for the current conversation. Threaded through from the
149
263
  * chat-area component for inclusion in the {@link beforeAgentTurn} event payload —
150
264
  * lets listeners reason about which app's chat surface is invoking the agent.
151
265
  * Optional; defaults to null for surfaces with no app context.
152
266
  */
153
- applicationId: string | null;
267
+ ApplicationId: string | null;
268
+ /** @deprecated Use {@link ApplicationId}. */
269
+ set applicationId(value: string | null);
270
+ /** @deprecated Use {@link ApplicationId}. */
271
+ get applicationId(): string | null;
272
+ /**
273
+ * When a message starts an agent turn. `'Always'` (the default) answers every message, as
274
+ * before. `'MentionOnly'` answers only a message that tags an agent; any other message is
275
+ * posted with no turn at all — no reply row, no placeholder, no turn events — which is what a
276
+ * chat between several people needs.
277
+ */
278
+ AgentReplyMode: AgentReplyMode;
279
+ /**
280
+ * The agents that may answer here. Narrows the composer's '@' list, every route (a tagged
281
+ * agent, continuity, the pinned and host default agents, the conversation manager) and the
282
+ * conversation manager's delegation, including each agent step of a workflow it plans. A tagged
283
+ * agent outside the list is ignored. Null (the default) allows every agent the user can run;
284
+ * an empty list allows none.
285
+ */
286
+ AllowedAgentIDs: readonly string[] | null;
287
+ /**
288
+ * The people the composer's '@' list offers, such as the chat's members. Null (the default)
289
+ * offers only the current user, as before.
290
+ */
291
+ MentionPeople: readonly MentionPerson[] | null;
292
+ /**
293
+ * The first moment of the conversation an agent turn may read. The server loads the agent's
294
+ * history from there and uses no summary of earlier messages; the run's own reads of the
295
+ * conversation (history tools, attached artifacts, the previous output it continues from)
296
+ * start there too, and so does the continuity route, which considers only replies written at
297
+ * or after it. Sent to the server only when set, so leaving it null keeps working against an
298
+ * MJAPI that predates it (one that predates it rejects a turn that sets it, rather than
299
+ * reading past the floor). Null (the default) reads the whole conversation.
300
+ */
301
+ AgentHistoryFrom: Date | null;
302
+ /**
303
+ * Runs agent turns on the host's server instead of MJ's own path. The chat area still picks
304
+ * the agent and fires {@link BeforeAgentTurn}; it then calls the handler once per turn, before
305
+ * any reply row exists, and shows the rows the handler reports. Null (the default) runs turns
306
+ * on MJ's path.
307
+ */
308
+ AgentTurnHandler: AgentTurnHandler | null;
309
+ /**
310
+ * Whether MJ names a new conversation from its first message. True (the default) keeps
311
+ * today's behavior; a host that names its own chats turns it off.
312
+ */
313
+ AutoNameConversation: boolean;
314
+ MessageSent: EventEmitter<MJConversationDetailEntity>;
315
+ /**
316
+ * @deprecated Use {@link MessageSent}.
317
+ *
318
+ * The same emitter under the old binding name, so a template still binding
319
+ * (messageSent) keeps working. Must stay AFTER MessageSent: class fields
320
+ * initialise in order, and the other way round this captures undefined.
321
+ */
154
322
  messageSent: EventEmitter<MJConversationDetailEntity>;
323
+ AgentResponse: EventEmitter<{
324
+ message: MJConversationDetailEntity;
325
+ agentResult: any;
326
+ }>;
327
+ /**
328
+ * @deprecated Use {@link AgentResponse}.
329
+ *
330
+ * The same emitter under the old binding name, so a template still binding
331
+ * (agentResponse) keeps working. Must stay AFTER AgentResponse: class fields
332
+ * initialise in order, and the other way round this captures undefined.
333
+ */
155
334
  agentResponse: EventEmitter<{
156
335
  message: MJConversationDetailEntity;
157
336
  agentResult: any;
158
337
  }>;
159
338
  /**
160
- * Cancelable — fired BEFORE `agentService.processMessage()` is called for a user turn.
161
- * Listeners may set `event.Cancel = true` to halt the agent invocation (e.g., a
162
- * client-side guardrail blocking the turn). When canceled, the corresponding
163
- * {@link afterAgentTurn} event is NOT fired and the running task is cleared.
164
- * Follows MJ's established Before/After cancelable event pattern.
339
+ * Cancelable — fired once per agent turn, on every route, after routing has picked the agent
340
+ * and BEFORE any reply row exists. Listeners may set `event.Cancel = true` to stop the turn
341
+ * (nothing more is written, and {@link AfterAgentTurn} does not fire) or set
342
+ * `event.RedirectAgentId` to send it to another allowed agent. A message that starts no turn
343
+ * fires nothing. Follows MJ's established Before/After cancelable event pattern.
344
+ */
345
+ BeforeAgentTurn: EventEmitter<BeforeAgentTurnEventArgs>;
346
+ /**
347
+ * @deprecated Use {@link BeforeAgentTurn}.
348
+ *
349
+ * The same emitter under the old binding name, so a template still binding
350
+ * (beforeAgentTurn) keeps working. Must stay AFTER BeforeAgentTurn: class fields
351
+ * initialise in order, and the other way round this captures undefined.
165
352
  */
166
353
  beforeAgentTurn: EventEmitter<BeforeAgentTurnEventArgs>;
167
354
  /**
168
- * Fired AFTER a successful agent turn completes. Carries the agent run id and the
169
- * full agent result. Not fired when {@link beforeAgentTurn} was canceled or when
170
- * the underlying `processMessage` errored.
355
+ * Fired AFTER a successful agent turn, on every route. Carries the agent run id and the
356
+ * full agent result. Not fired when {@link BeforeAgentTurn} was canceled, when the turn
357
+ * failed, or when a host {@link AgentTurnHandler} reported no result.
358
+ */
359
+ AfterAgentTurn: EventEmitter<AfterAgentTurnEventArgs>;
360
+ /**
361
+ * @deprecated Use {@link AfterAgentTurn}.
362
+ *
363
+ * The same emitter under the old binding name, so a template still binding
364
+ * (afterAgentTurn) keeps working. Must stay AFTER AfterAgentTurn: class fields
365
+ * initialise in order, and the other way round this captures undefined.
171
366
  */
172
367
  afterAgentTurn: EventEmitter<AfterAgentTurnEventArgs>;
368
+ AgentRunDetected: EventEmitter<{
369
+ conversationId: string;
370
+ conversationDetailId: string;
371
+ agentRunId: string;
372
+ }>;
373
+ /**
374
+ * @deprecated Use {@link AgentRunDetected}.
375
+ *
376
+ * The same emitter under the old binding name, so a template still binding
377
+ * (agentRunDetected) keeps working. Must stay AFTER AgentRunDetected: class fields
378
+ * initialise in order, and the other way round this captures undefined.
379
+ */
173
380
  agentRunDetected: EventEmitter<{
174
381
  conversationId: string;
175
382
  conversationDetailId: string;
176
383
  agentRunId: string;
177
384
  }>;
385
+ AgentRunUpdate: EventEmitter<{
386
+ conversationId: string;
387
+ conversationDetailId: string;
388
+ agentRun?: any;
389
+ agentRunId?: string;
390
+ }>;
391
+ /**
392
+ * @deprecated Use {@link AgentRunUpdate}.
393
+ *
394
+ * The same emitter under the old binding name, so a template still binding
395
+ * (agentRunUpdate) keeps working. Must stay AFTER AgentRunUpdate: class fields
396
+ * initialise in order, and the other way round this captures undefined.
397
+ */
178
398
  agentRunUpdate: EventEmitter<{
179
399
  conversationId: string;
180
400
  conversationDetailId: string;
181
401
  agentRun?: any;
182
402
  agentRunId?: string;
183
403
  }>;
404
+ MessageComplete: EventEmitter<{
405
+ conversationId: string;
406
+ conversationDetailId: string;
407
+ agentId?: string;
408
+ }>;
409
+ /**
410
+ * @deprecated Use {@link MessageComplete}.
411
+ *
412
+ * The same emitter under the old binding name, so a template still binding
413
+ * (messageComplete) keeps working. Must stay AFTER MessageComplete: class fields
414
+ * initialise in order, and the other way round this captures undefined.
415
+ */
184
416
  messageComplete: EventEmitter<{
185
417
  conversationId: string;
186
418
  conversationDetailId: string;
187
419
  agentId?: string;
188
420
  }>;
421
+ ArtifactCreated: EventEmitter<{
422
+ conversationId: string;
423
+ artifactId: string;
424
+ versionId: string;
425
+ versionNumber: number;
426
+ conversationDetailId: string;
427
+ name: string;
428
+ }>;
429
+ /**
430
+ * @deprecated Use {@link ArtifactCreated}.
431
+ *
432
+ * The same emitter under the old binding name, so a template still binding
433
+ * (artifactCreated) keeps working. Must stay AFTER ArtifactCreated: class fields
434
+ * initialise in order, and the other way round this captures undefined.
435
+ */
189
436
  artifactCreated: EventEmitter<{
190
437
  conversationId: string;
191
438
  artifactId: string;
@@ -194,32 +441,110 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
194
441
  conversationDetailId: string;
195
442
  name: string;
196
443
  }>;
444
+ ConversationRenamed: EventEmitter<{
445
+ conversationId: string;
446
+ name: string;
447
+ description: string;
448
+ }>;
449
+ /**
450
+ * @deprecated Use {@link ConversationRenamed}.
451
+ *
452
+ * The same emitter under the old binding name, so a template still binding
453
+ * (conversationRenamed) keeps working. Must stay AFTER ConversationRenamed: class fields
454
+ * initialise in order, and the other way round this captures undefined.
455
+ */
197
456
  conversationRenamed: EventEmitter<{
198
457
  conversationId: string;
199
458
  name: string;
200
459
  description: string;
201
460
  }>;
461
+ IntentCheckStarted: EventEmitter<{
462
+ conversationId: string;
463
+ }>;
464
+ /**
465
+ * @deprecated Use {@link IntentCheckStarted}.
466
+ *
467
+ * The same emitter under the old binding name, so a template still binding
468
+ * (intentCheckStarted) keeps working. Must stay AFTER IntentCheckStarted: class fields
469
+ * initialise in order, and the other way round this captures undefined.
470
+ */
202
471
  intentCheckStarted: EventEmitter<{
203
472
  conversationId: string;
204
473
  }>;
474
+ IntentCheckCompleted: EventEmitter<{
475
+ conversationId: string;
476
+ }>;
477
+ /**
478
+ * @deprecated Use {@link IntentCheckCompleted}.
479
+ *
480
+ * The same emitter under the old binding name, so a template still binding
481
+ * (intentCheckCompleted) keeps working. Must stay AFTER IntentCheckCompleted: class fields
482
+ * initialise in order, and the other way round this captures undefined.
483
+ */
205
484
  intentCheckCompleted: EventEmitter<{
206
485
  conversationId: string;
207
486
  }>;
487
+ InitialMessageAutoSendStarted: EventEmitter<{
488
+ conversationId: string;
489
+ }>;
490
+ /**
491
+ * @deprecated Use {@link InitialMessageAutoSendStarted}.
492
+ *
493
+ * The same emitter under the old binding name, so a template still binding
494
+ * (initialMessageAutoSendStarted) keeps working. Must stay AFTER InitialMessageAutoSendStarted: class fields
495
+ * initialise in order, and the other way round this captures undefined.
496
+ */
208
497
  initialMessageAutoSendStarted: EventEmitter<{
209
498
  conversationId: string;
210
499
  }>;
500
+ InitialMessageAutoSendFailed: EventEmitter<{
501
+ conversationId: string;
502
+ }>;
503
+ /**
504
+ * @deprecated Use {@link InitialMessageAutoSendFailed}.
505
+ *
506
+ * The same emitter under the old binding name, so a template still binding
507
+ * (initialMessageAutoSendFailed) keeps working. Must stay AFTER InitialMessageAutoSendFailed: class fields
508
+ * initialise in order, and the other way round this captures undefined.
509
+ */
211
510
  initialMessageAutoSendFailed: EventEmitter<{
212
511
  conversationId: string;
213
512
  }>;
513
+ EmptyStateSubmit: EventEmitter<{
514
+ text: string;
515
+ attachments: PendingAttachment[];
516
+ }>;
517
+ /**
518
+ * @deprecated Use {@link EmptyStateSubmit}.
519
+ *
520
+ * The same emitter under the old binding name, so a template still binding
521
+ * (emptyStateSubmit) keeps working. Must stay AFTER EmptyStateSubmit: class fields
522
+ * initialise in order, and the other way round this captures undefined.
523
+ */
214
524
  emptyStateSubmit: EventEmitter<{
215
525
  text: string;
216
526
  attachments: PendingAttachment[];
217
527
  }>;
528
+ UploadStateChanged: EventEmitter<{
529
+ isUploading: boolean;
530
+ message: string;
531
+ }>;
532
+ /**
533
+ * @deprecated Use {@link UploadStateChanged}.
534
+ *
535
+ * The same emitter under the old binding name, so a template still binding
536
+ * (uploadStateChanged) keeps working. Must stay AFTER UploadStateChanged: class fields
537
+ * initialise in order, and the other way round this captures undefined.
538
+ */
218
539
  uploadStateChanged: EventEmitter<{
219
540
  isUploading: boolean;
220
541
  message: string;
221
542
  }>;
222
- inputBox: AiComposerComponent;
543
+ InputBox: AiComposerComponent;
544
+ /** @deprecated Use {@link InputBox}. */
545
+ get inputBox(): AiComposerComponent;
546
+ /** @deprecated Use {@link InputBox}. */
547
+ set inputBox(value: AiComposerComponent);
223
548
  private _messageText;
224
549
  /**
225
550
  * The composer's text. An accessor pair rather than a plain field because every write reaches the
@@ -235,7 +560,11 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
235
560
  * Read is a plain field read; there is no two-way `ngModel` on this property (the template binds
236
561
  * `[value]="messageText"` one-way), so the pair is transparent to callers.
237
562
  */
563
+ get MessageText(): string;
564
+ set MessageText(value: string);
565
+ /** @deprecated Use {@link MessageText}. */
238
566
  get messageText(): string;
567
+ /** @deprecated Use {@link MessageText}. */
239
568
  set messageText(value: string);
240
569
  /**
241
570
  * Prefills the composer with draft text WITHOUT sending (unlike pendingMessage,
@@ -248,10 +577,22 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
248
577
  * view isn't up yet, ngAfterViewInit applies it. Emits initialDraftApplied so the
249
578
  * host can clear its pending state.
250
579
  */
251
- set initialDraft(value: string | null);
580
+ set InitialDraft(value: string | null);
581
+ get InitialDraft(): string | null;
582
+ /** @deprecated Use {@link InitialDraft}. */
252
583
  get initialDraft(): string | null;
584
+ /** @deprecated Use {@link InitialDraft}. */
585
+ set initialDraft(value: string | null);
253
586
  private appliedInitialDraft;
254
587
  private pendingInitialDraft;
588
+ InitialDraftApplied: EventEmitter<void>;
589
+ /**
590
+ * @deprecated Use {@link InitialDraftApplied}.
591
+ *
592
+ * The same emitter under the old binding name, so a template still binding
593
+ * (initialDraftApplied) keeps working. Must stay AFTER InitialDraftApplied: class fields
594
+ * initialise in order, and the other way round this captures undefined.
595
+ */
255
596
  initialDraftApplied: EventEmitter<void>;
256
597
  /**
257
598
  * Live draft-state signal: fires on every composer value change with the
@@ -282,12 +623,36 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
282
623
  */
283
624
  private scheduleFocusReassert;
284
625
  SetDraft(text: string, focus?: boolean): void;
285
- isSending: boolean;
286
- isProcessing: boolean;
287
- processingMessage: string;
288
- isUploadingAttachments: boolean;
289
- uploadingMessage: string;
290
- converationManagerAgent: MJAIAgentEntityExtended | null;
626
+ IsSending: boolean;
627
+ /** @deprecated Use {@link IsSending}. */
628
+ get isSending(): boolean;
629
+ /** @deprecated Use {@link IsSending}. */
630
+ set isSending(value: boolean);
631
+ IsProcessing: boolean;
632
+ /** @deprecated Use {@link IsProcessing}. */
633
+ get isProcessing(): boolean;
634
+ /** @deprecated Use {@link IsProcessing}. */
635
+ set isProcessing(value: boolean);
636
+ ProcessingMessage: string;
637
+ /** @deprecated Use {@link ProcessingMessage}. */
638
+ get processingMessage(): string;
639
+ /** @deprecated Use {@link ProcessingMessage}. */
640
+ set processingMessage(value: string);
641
+ IsUploadingAttachments: boolean;
642
+ /** @deprecated Use {@link IsUploadingAttachments}. */
643
+ get isUploadingAttachments(): boolean;
644
+ /** @deprecated Use {@link IsUploadingAttachments}. */
645
+ set isUploadingAttachments(value: boolean);
646
+ UploadingMessage: string;
647
+ /** @deprecated Use {@link UploadingMessage}. */
648
+ get uploadingMessage(): string;
649
+ /** @deprecated Use {@link UploadingMessage}. */
650
+ set uploadingMessage(value: string);
651
+ ConverationManagerAgent: MJAIAgentEntityExtended | null;
652
+ /** @deprecated Use {@link ConverationManagerAgent}. */
653
+ get converationManagerAgent(): MJAIAgentEntityExtended | null;
654
+ /** @deprecated Use {@link ConverationManagerAgent}. */
655
+ set converationManagerAgent(value: MJAIAgentEntityExtended | null);
291
656
  private completionTimestamps;
292
657
  private registeredCallbacks;
293
658
  private static readonly IN_FLIGHT_WATCH_BACKOFF_MS;
@@ -297,7 +662,11 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
297
662
  private mentionAutocomplete;
298
663
  constructor(dialogService: DialogService, toastService: ToastService, agentService: ConversationAgentService, dataCache: DataCacheService, activeTasks: ActiveTasksService, streamingService: ConversationStreamingService, mentionParser: MentionParserService, attachmentService: ConversationAttachmentService, bridge: ConversationBridgeService, realtimeSession: RealtimeSessionService);
299
664
  /** True while a live voice session is active — drives the overlay + mic state. */
300
- voiceActive: boolean;
665
+ VoiceActive: boolean;
666
+ /** @deprecated Use {@link VoiceActive}. */
667
+ get voiceActive(): boolean;
668
+ /** @deprecated Use {@link VoiceActive}. */
669
+ set voiceActive(value: boolean);
301
670
  private realtimeActiveSub?;
302
671
  ngOnInit(): Promise<void>;
303
672
  ngOnChanges(changes: SimpleChanges): void;
@@ -315,8 +684,12 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
315
684
  * 2. per-conversation pinned default
316
685
  * 3. embedder-supplied default
317
686
  * 4. Sage fallback
318
- * Returns null only if Sage itself failed to load.
687
+ * skipping any agent outside {@link AllowedAgentIDs}. {@link AgentReplyMode} does not apply:
688
+ * starting a call is itself a choice to talk to an agent. Returns null when Sage failed to
689
+ * load, or when the host allows none of these agents.
319
690
  */
691
+ ResolveCurrentAgentId(): string | null;
692
+ /** @deprecated Use {@link ResolveCurrentAgentId}. */
320
693
  resolveCurrentAgentId(): string | null;
321
694
  /**
322
695
  * The agent the '/' skill picker should narrow to. Mirrors routing's priority: an explicit
@@ -324,6 +697,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
324
697
  * would otherwise go to ({@link resolveCurrentAgentId}). Bound to `mj-ai-composer`'s
325
698
  * `TargetAgentId`; null = unknown, no narrowing.
326
699
  */
700
+ get PickerTargetAgentId(): string | null;
701
+ /** @deprecated Use {@link PickerTargetAgentId}. */
327
702
  get pickerTargetAgentId(): string | null;
328
703
  /**
329
704
  * Memo for the first `@agent` chip in the draft, so the template-bound
@@ -354,6 +729,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
354
729
  */
355
730
  private mentionedAgentId;
356
731
  /** True when the mic button should be enabled (have an agent + not disabled). */
732
+ get CanStartRealtime(): boolean;
733
+ /** @deprecated Use {@link CanStartRealtime}. */
357
734
  get canStartRealtime(): boolean;
358
735
  /**
359
736
  * Display name of the agent the voice session fronts. Resolved here (this component
@@ -362,7 +739,11 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
362
739
  */
363
740
  private resolveRealtimeAgentName;
364
741
  /** True while the "Start a voice call with…" agent picker popover is open. */
365
- showRealtimeAgentPicker: boolean;
742
+ ShowRealtimeAgentPicker: boolean;
743
+ /** @deprecated Use {@link ShowRealtimeAgentPicker}. */
744
+ get showRealtimeAgentPicker(): boolean;
745
+ /** @deprecated Use {@link ShowRealtimeAgentPicker}. */
746
+ set showRealtimeAgentPicker(value: boolean);
366
747
  /**
367
748
  * CDK connected-overlay positions for the voice agent picker. Preferred: open UPWARD,
368
749
  * right edge aligned to the composer's right edge (matching the old absolute placement).
@@ -370,31 +751,45 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
370
751
  * body-level CDK overlay container (with `cdkConnectedOverlayPush`), it escapes the chat
371
752
  * overlay's `overflow: hidden` border and can never clip at the top of a narrow overlay.
372
753
  */
373
- readonly pickerOverlayPositions: ConnectedPosition[];
754
+ readonly PickerOverlayPositions: ConnectedPosition[];
755
+ /** @deprecated Use {@link PickerOverlayPositions}. */
756
+ get pickerOverlayPositions(): ConnectedPosition[];
374
757
  /**
375
758
  * `MJ: User Settings` key persisting the user's co-agent choice for realtime calls
376
759
  * (server-side, cross-device — never localStorage). Stored shape: `{"coAgentId":
377
760
  * string | null}` — `null` is an explicit "Auto" choice that overwrites an older pick.
378
761
  */
379
- private static readonly CoAgentPrefKey;
762
+ private static readonly coAgentPrefKey;
380
763
  /**
381
764
  * The persisted co-agent preference, loaded just before the picker opens (and read by
382
765
  * the instant-start path). `null` = no preference / explicit "Auto".
383
766
  */
384
- voicePickerDefaultCoAgentId: string | null;
767
+ VoicePickerDefaultCoAgentId: string | null;
768
+ /** @deprecated Use {@link VoicePickerDefaultCoAgentId}. */
769
+ get voicePickerDefaultCoAgentId(): string | null;
770
+ /** @deprecated Use {@link VoicePickerDefaultCoAgentId}. */
771
+ set voicePickerDefaultCoAgentId(value: string | null);
385
772
  /**
386
773
  * Agents the voice picker offers — the same cached set the @mention
387
- * autocomplete and {@link resolveRealtimeAgentName} use, so the picker can
388
- * never offer an agent the conversation couldn't otherwise route to.
774
+ * autocomplete and {@link resolveRealtimeAgentName} use, narrowed to
775
+ * {@link AllowedAgentIDs}, so the picker can never offer an agent the
776
+ * conversation couldn't otherwise route to.
389
777
  */
778
+ get VoicePickerAgents(): MJAIAgentEntityExtended[];
779
+ private voicePickerAgentsMemo;
780
+ /** @deprecated Use {@link VoicePickerAgents}. */
390
781
  get voicePickerAgents(): MJAIAgentEntityExtended[];
391
782
  /**
392
783
  * The ACTIVE Realtime-type co-agent candidates — the same run-permission-filtered
393
784
  * cached set as {@link voicePickerAgents}, narrowed to the Realtime agent type. The
394
785
  * picker shows its co-agent selector only when more than one exists.
395
786
  */
787
+ get VoicePickerCoAgents(): MJAIAgentEntityExtended[];
788
+ /** @deprecated Use {@link VoicePickerCoAgents}. */
396
789
  get voicePickerCoAgents(): MJAIAgentEntityExtended[];
397
790
  /** The agent the default resolution would call — preselected in the picker. */
791
+ get VoicePickerDefaultAgentId(): string | null;
792
+ /** @deprecated Use {@link VoicePickerDefaultAgentId}. */
398
793
  get voicePickerDefaultAgentId(): string | null;
399
794
  /**
400
795
  * Start a real-time voice session fronting the conversation's current agent.
@@ -410,6 +805,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
410
805
  * the user never chose — so show a compact agent picker instead and start
411
806
  * with whichever agent they pick.
412
807
  */
808
+ OnStartRealtime(): Promise<void>;
809
+ /** @deprecated Use {@link OnStartRealtime}. */
413
810
  onStartRealtime(): Promise<void>;
414
811
  /**
415
812
  * Caret-next-to-the-phone click: open the agent/co-agent/model picker ON DEMAND, even
@@ -419,10 +816,14 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
419
816
  * choice one click away. Falls through to the instant path when there is nothing to
420
817
  * pick from.
421
818
  */
819
+ OnRealtimeOptions(): Promise<void>;
820
+ /** @deprecated Use {@link OnRealtimeOptions}. */
422
821
  onRealtimeOptions(): Promise<void>;
423
822
  /** Loads the persisted co-agent preference, then shows the picker (pref preselected). */
424
823
  private openRealtimeAgentPicker;
425
824
  /** User confirmed an agent (+ optional co-agent / voice model) in the voice picker — start the call. */
825
+ OnRealtimeAgentPicked(pick: RealtimeAgentPick): Promise<void>;
826
+ /** @deprecated Use {@link OnRealtimeAgentPicked}. */
426
827
  onRealtimeAgentPicked(pick: RealtimeAgentPick): Promise<void>;
427
828
  /**
428
829
  * Reads the persisted co-agent preference from `MJ: User Settings` (via
@@ -442,6 +843,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
442
843
  */
443
844
  private resolveInstantCoAgentId;
444
845
  /** User dismissed the voice picker without starting a call. */
846
+ OnRealtimeAgentPickerCancelled(): void;
847
+ /** @deprecated Use {@link OnRealtimeAgentPickerCancelled}. */
445
848
  onRealtimeAgentPickerCancelled(): void;
446
849
  /**
447
850
  * Shared session-start path for both the immediate (existing conversation)
@@ -471,6 +874,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
471
874
  * 3. User returns to a conversation with in-progress messages
472
875
  * 4. Parent component explicitly triggers reconnection
473
876
  */
877
+ ReconnectInProgressMessages(): void;
878
+ /** @deprecated Use {@link ReconnectInProgressMessages}. */
474
879
  reconnectInProgressMessages(): void;
475
880
  /**
476
881
  * Create a progress callback for a specific message ID.
@@ -482,18 +887,26 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
482
887
  * Called during cleanup and when switching conversations.
483
888
  */
484
889
  private unregisterAllCallbacks;
890
+ get CanSend(): boolean;
891
+ /** @deprecated Use {@link CanSend}. */
485
892
  get canSend(): boolean;
486
893
  /**
487
894
  * Handle attachments changed from the input box
488
895
  */
896
+ OnAttachmentsChanged(attachments: PendingAttachment[]): void;
897
+ /** @deprecated Use {@link OnAttachmentsChanged}. */
489
898
  onAttachmentsChanged(attachments: PendingAttachment[]): void;
490
899
  /**
491
900
  * Handle attachment errors from the input box
492
901
  */
902
+ OnAttachmentError(error: string): void;
903
+ /** @deprecated Use {@link OnAttachmentError}. */
493
904
  onAttachmentError(error: string): void;
494
905
  /**
495
906
  * Handle text submitted from the input box
496
907
  */
908
+ OnTextSubmitted(text: string): Promise<void>;
909
+ /** @deprecated Use {@link OnTextSubmitted}. */
497
910
  onTextSubmitted(text: string): Promise<void>;
498
911
  /**
499
912
  * Toggle sticky Plan Mode for THIS conversation (or the pending-new bucket on the
@@ -503,6 +916,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
503
916
  * until the user turns it off or approves a plan.
504
917
  */
505
918
  TogglePlanMode(): void;
919
+ OnSend(): Promise<void>;
920
+ /** @deprecated Use {@link OnSend}. */
506
921
  onSend(): Promise<void>;
507
922
  /**
508
923
  * Send a message with custom text WITHOUT modifying the visible messageText input
@@ -515,6 +930,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
515
930
  * `this.pendingAttachments` may not contain the attachment. Pass it in
516
931
  * explicitly and we merge + dedupe (by `id`) before saving.
517
932
  */
933
+ SendMessageWithText(text: string, extraAttachments?: PendingAttachment[]): Promise<boolean>;
934
+ /** @deprecated Use {@link SendMessageWithText}. */
518
935
  sendMessageWithText(text: string, extraAttachments?: PendingAttachment[]): Promise<boolean>;
519
936
  /**
520
937
  * Creates and configures a new conversation detail message
@@ -533,23 +950,49 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
533
950
  */
534
951
  private parseMentionsFromMessage;
535
952
  /**
536
- * Routes the message to the appropriate agent or Sage based on context.
537
- * Priority: explicit @mention > prior-agent continuity > embedder-supplied
538
- * default agent > Sage fallback.
953
+ * Routes a saved message to the agent that answers it — or to none.
954
+ *
955
+ * Routing picks the agent ({@link resolveAgentTurnTarget}): a tagged agent, then (under
956
+ * `AgentReplyMode` `'Always'`) the last agent that answered, the conversation's pinned agent,
957
+ * the host's default agent, and the conversation manager, each only if the host allows it.
958
+ * {@link BeforeAgentTurn} is then fired once, before any reply row exists, and the turn runs on
959
+ * MJ's path or through the host's {@link AgentTurnHandler}.
539
960
  */
540
961
  private routeMessage;
962
+ /** The host's rules, as the routing functions take them. */
963
+ private get agentTurnRules();
964
+ /** The agent each route would use for this conversation, before the host's rules apply. */
965
+ private agentTurnCandidates;
966
+ /** Picks the agent that answers this message and the route that chose it, or null for no turn. */
967
+ private resolveAgentTurnTarget;
968
+ /**
969
+ * Fires {@link BeforeAgentTurn} for the turn routing picked — before any reply row exists —
970
+ * and applies what its listeners decided. Returns the turn to run, or null when a listener
971
+ * canceled it or redirected it to an agent this chat can't use.
972
+ */
973
+ private announceAgentTurn;
541
974
  /**
542
- * Handles routing when user directly mentions an agent with @
975
+ * Settles a message that starts no agent turn — `MentionOnly` with no tagged agent, no allowed
976
+ * agent left, or a turn declined in {@link BeforeAgentTurn}. Nothing new is written; the
977
+ * person's own row is only confirmed Complete.
543
978
  */
544
- private handleDirectMention;
979
+ private finishWithoutAgentTurn;
980
+ /** Runs a turn that {@link BeforeAgentTurn} let through, on the host's handler or MJ's path. */
981
+ private runAgentTurn;
545
982
  /**
546
- * Handles routing when there's a previous non-Sage agent in the conversation.
983
+ * The tagged agent's mention, with its configuration preset. A mention saved without one
984
+ * (legacy text format) takes the preset from its chip in the composer, when there is one.
985
+ */
986
+ private findAgentMention;
987
+ /**
988
+ * Continues with an agent chosen without a mention: the last agent that answered, the pinned
989
+ * or host default agent, or a redirect.
547
990
  *
548
991
  * LATENCY OPTIMIZATION (PR #2309 / plans/agent-latency-optimization.md — Opt #1):
549
- * Previously, this method made a separate LLM call via checkContinuityIntent() to decide
550
- * whether the user's new message was still directed at the previous agent or should be
551
- * routed to Sage. That call added ~300ms of latency on every message in a conversation
552
- * with an active agent — the single largest source of non-inference overhead on the client.
992
+ * This used to make a separate LLM call via checkContinuityIntent() to decide whether the
993
+ * user's new message was still directed at the previous agent or should be routed to Sage.
994
+ * That call added ~300ms of latency on every message in a conversation with an active agent —
995
+ * the single largest source of non-inference overhead on the client.
553
996
  *
554
997
  * The heuristic replacement is simple: if a previous non-Sage agent exists, always continue
555
998
  * with it. The user can @mention a different agent (or Sage) to explicitly switch. This is
@@ -563,25 +1006,56 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
563
1006
  */
564
1007
  private handleAgentContinuity;
565
1008
  /**
566
- * Handles routing when there's no previous agent context
1009
+ * The conversation manager's turn. When an earlier message @mentioned the manager with a
1010
+ * configuration preset, the preset keeps applying and the manager answers directly;
1011
+ * otherwise it evaluates the message and may delegate.
1012
+ */
1013
+ private runConversationManagerTurn;
1014
+ /**
1015
+ * The newest reply from an agent other than the conversation manager — among the replies a
1016
+ * turn may read, so from {@link AgentHistoryFrom} onward when it's set.
567
1017
  */
568
- private handleNoAgentContext;
1018
+ private findLastNonSageReply;
569
1019
  /**
570
- * Finds the last agent ID that isn't Sage
1020
+ * Finds the last agent ID that isn't Sage (see {@link findLastNonSageReply}).
571
1021
  */
572
1022
  private findLastNonSageAgentId;
1023
+ /** True when a row was written at or after {@link AgentHistoryFrom}; always true without one. */
1024
+ private isWithinHistoryFloor;
1025
+ /** True when the agent is in the client's agent catalog. */
1026
+ private isKnownAgent;
1027
+ /** The agent's name, when the client's agent catalog has it. */
1028
+ private agentNameFor;
1029
+ /** The ID of the agent with this name, or null when there is none. */
1030
+ private agentIdByName;
1031
+ /** True when the agent is MJ's conversation manager. */
1032
+ private isConversationManager;
1033
+ /** Shows the person why an agent turn didn't happen, or didn't finish. */
1034
+ private notifyAgentTurnProblem;
1035
+ /**
1036
+ * Refuses agents the host doesn't allow — named by the conversation manager's delegation or
1037
+ * by a workflow it planned — and settles the person's message.
1038
+ */
1039
+ private refuseDisallowedAgents;
1040
+ /**
1041
+ * Runs the turn through the host's {@link AgentTurnHandler} instead of MJ's path. Nothing is
1042
+ * written here: the host writes the reply rows and reports them, and each is shown like a row
1043
+ * MJ wrote — one still In-Progress is followed like any other in-progress reply.
1044
+ */
1045
+ private runHostAgentTurn;
1046
+ /** Calls the host's handler; a throw is reported as a failed turn, never swallowed. */
1047
+ private callAgentTurnHandler;
1048
+ /** What the host's handler is told about the turn. */
1049
+ private buildAgentTurnRequest;
1050
+ /** Shows the rows a host's handler reported for its turn, oldest first. */
1051
+ private showHostTurnRows;
1052
+ /** Fires {@link AfterAgentTurn} for a turn that succeeded. */
1053
+ private emitAfterAgentTurn;
573
1054
  /**
574
1055
  * Checks if message should continue with the previous agent
575
1056
  * Emits events to show temporary intent checking message in conversation
576
1057
  */
577
1058
  private checkContinuityIntent;
578
- /**
579
- * Executes a routing function, optionally with conversation naming for first message
580
- *
581
- * IMPORTANT: Conversation naming runs asynchronously in the background and does NOT
582
- * block the agent invocation. This prevents UI blocking if naming times out.
583
- */
584
- private executeRouteWithNaming;
585
1059
  /**
586
1060
  * Returns focus to the message textarea
587
1061
  */
@@ -602,7 +1076,8 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
602
1076
  private createProgressCallback;
603
1077
  /**
604
1078
  * Process the message through agents (multi-stage: Sage -> possible sub-agent)
605
- * Only called when there's no @mention and no implicit agent context
1079
+ * Only called when there's no @mention and no implicit agent context.
1080
+ * {@link BeforeAgentTurn} has already fired — routing announces the turn before any row exists.
606
1081
  */
607
1082
  private processMessageThroughAgent;
608
1083
  /** Detaches the progress callback for one message — used when submission never starts. */
@@ -718,6 +1193,6 @@ export declare class MessageInputComponent extends BaseAngularComponent implemen
718
1193
  */
719
1194
  private cleanupCompletionTimestamp;
720
1195
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageInputComponent, never>;
721
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageInputComponent, "mj-message-input", never, { "conversationId": { "alias": "conversationId"; "required": false; }; "conversationName": { "alias": "conversationName"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "parentMessageId": { "alias": "parentMessageId"; "required": false; }; "enableAttachments": { "alias": "enableAttachments"; "required": false; }; "enableMentions": { "alias": "enableMentions"; "required": false; }; "enableAgentMentions": { "alias": "enableAgentMentions"; "required": false; }; "enableEntityMentions": { "alias": "enableEntityMentions"; "required": false; }; "enableSkillCommands": { "alias": "enableSkillCommands"; "required": false; }; "enablePlanMode": { "alias": "enablePlanMode"; "required": false; }; "enableRealtime": { "alias": "enableRealtime"; "required": false; }; "maxAttachments": { "alias": "maxAttachments"; "required": false; }; "maxAttachmentSizeBytes": { "alias": "maxAttachmentSizeBytes"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "artifactsByDetailId": { "alias": "artifactsByDetailId"; "required": false; }; "systemArtifactsByDetailId": { "alias": "systemArtifactsByDetailId"; "required": false; }; "agentRunsByDetailId": { "alias": "agentRunsByDetailId"; "required": false; }; "emptyStateMode": { "alias": "emptyStateMode"; "required": false; }; "appContext": { "alias": "appContext"; "required": false; }; "defaultAgentId": { "alias": "defaultAgentId"; "required": false; }; "conversationDefaultAgentId": { "alias": "conversationDefaultAgentId"; "required": false; }; "agentConfigurationPresetId": { "alias": "agentConfigurationPresetId"; "required": false; }; "initialMessage": { "alias": "initialMessage"; "required": false; }; "initialAttachments": { "alias": "initialAttachments"; "required": false; }; "conversationHistory": { "alias": "conversationHistory"; "required": false; }; "inProgressMessageIds": { "alias": "inProgressMessageIds"; "required": false; }; "applicationId": { "alias": "applicationId"; "required": false; }; "initialDraft": { "alias": "initialDraft"; "required": false; }; }, { "messageSent": "messageSent"; "agentResponse": "agentResponse"; "beforeAgentTurn": "beforeAgentTurn"; "afterAgentTurn": "afterAgentTurn"; "agentRunDetected": "agentRunDetected"; "agentRunUpdate": "agentRunUpdate"; "messageComplete": "messageComplete"; "artifactCreated": "artifactCreated"; "conversationRenamed": "conversationRenamed"; "intentCheckStarted": "intentCheckStarted"; "intentCheckCompleted": "intentCheckCompleted"; "initialMessageAutoSendStarted": "initialMessageAutoSendStarted"; "initialMessageAutoSendFailed": "initialMessageAutoSendFailed"; "emptyStateSubmit": "emptyStateSubmit"; "uploadStateChanged": "uploadStateChanged"; "initialDraftApplied": "initialDraftApplied"; "DraftStateChanged": "DraftStateChanged"; "ComposerBlurred": "ComposerBlurred"; }, never, never, false, never>;
1196
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageInputComponent, "mj-message-input", never, { "ConversationId": { "alias": "ConversationId"; "required": false; }; "conversationId": { "alias": "conversationId"; "required": false; }; "ConversationName": { "alias": "ConversationName"; "required": false; }; "conversationName": { "alias": "conversationName"; "required": false; }; "CurrentUser": { "alias": "CurrentUser"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "Placeholder": { "alias": "Placeholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ParentMessageId": { "alias": "ParentMessageId"; "required": false; }; "parentMessageId": { "alias": "parentMessageId"; "required": false; }; "EnableAttachments": { "alias": "EnableAttachments"; "required": false; }; "enableAttachments": { "alias": "enableAttachments"; "required": false; }; "EnableMentions": { "alias": "EnableMentions"; "required": false; }; "enableMentions": { "alias": "enableMentions"; "required": false; }; "EnableAgentMentions": { "alias": "EnableAgentMentions"; "required": false; }; "enableAgentMentions": { "alias": "enableAgentMentions"; "required": false; }; "EnableEntityMentions": { "alias": "EnableEntityMentions"; "required": false; }; "enableEntityMentions": { "alias": "enableEntityMentions"; "required": false; }; "EnableSkillCommands": { "alias": "EnableSkillCommands"; "required": false; }; "enableSkillCommands": { "alias": "enableSkillCommands"; "required": false; }; "EnablePlanMode": { "alias": "EnablePlanMode"; "required": false; }; "enablePlanMode": { "alias": "enablePlanMode"; "required": false; }; "EnableRealtime": { "alias": "EnableRealtime"; "required": false; }; "enableRealtime": { "alias": "enableRealtime"; "required": false; }; "MaxAttachments": { "alias": "MaxAttachments"; "required": false; }; "maxAttachments": { "alias": "maxAttachments"; "required": false; }; "MaxAttachmentSizeBytes": { "alias": "MaxAttachmentSizeBytes"; "required": false; }; "maxAttachmentSizeBytes": { "alias": "maxAttachmentSizeBytes"; "required": false; }; "AcceptedFileTypes": { "alias": "AcceptedFileTypes"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "ArtifactsByDetailId": { "alias": "ArtifactsByDetailId"; "required": false; }; "artifactsByDetailId": { "alias": "artifactsByDetailId"; "required": false; }; "SystemArtifactsByDetailId": { "alias": "SystemArtifactsByDetailId"; "required": false; }; "systemArtifactsByDetailId": { "alias": "systemArtifactsByDetailId"; "required": false; }; "AgentRunsByDetailId": { "alias": "AgentRunsByDetailId"; "required": false; }; "agentRunsByDetailId": { "alias": "agentRunsByDetailId"; "required": false; }; "EmptyStateMode": { "alias": "EmptyStateMode"; "required": false; }; "emptyStateMode": { "alias": "emptyStateMode"; "required": false; }; "AppContext": { "alias": "AppContext"; "required": false; }; "appContext": { "alias": "appContext"; "required": false; }; "DefaultAgentId": { "alias": "DefaultAgentId"; "required": false; }; "defaultAgentId": { "alias": "defaultAgentId"; "required": false; }; "ConversationDefaultAgentId": { "alias": "ConversationDefaultAgentId"; "required": false; }; "conversationDefaultAgentId": { "alias": "conversationDefaultAgentId"; "required": false; }; "AgentConfigurationPresetId": { "alias": "AgentConfigurationPresetId"; "required": false; }; "agentConfigurationPresetId": { "alias": "agentConfigurationPresetId"; "required": false; }; "InitialMessage": { "alias": "InitialMessage"; "required": false; }; "initialMessage": { "alias": "initialMessage"; "required": false; }; "InitialAttachments": { "alias": "InitialAttachments"; "required": false; }; "initialAttachments": { "alias": "initialAttachments"; "required": false; }; "ConversationHistory": { "alias": "ConversationHistory"; "required": false; }; "conversationHistory": { "alias": "conversationHistory"; "required": false; }; "InProgressMessageIds": { "alias": "InProgressMessageIds"; "required": false; }; "inProgressMessageIds": { "alias": "inProgressMessageIds"; "required": false; }; "ApplicationId": { "alias": "ApplicationId"; "required": false; }; "applicationId": { "alias": "applicationId"; "required": false; }; "AgentReplyMode": { "alias": "AgentReplyMode"; "required": false; }; "AllowedAgentIDs": { "alias": "AllowedAgentIDs"; "required": false; }; "MentionPeople": { "alias": "MentionPeople"; "required": false; }; "AgentHistoryFrom": { "alias": "AgentHistoryFrom"; "required": false; }; "AgentTurnHandler": { "alias": "AgentTurnHandler"; "required": false; }; "AutoNameConversation": { "alias": "AutoNameConversation"; "required": false; }; "InitialDraft": { "alias": "InitialDraft"; "required": false; }; "initialDraft": { "alias": "initialDraft"; "required": false; }; }, { "MessageSent": "MessageSent"; "messageSent": "messageSent"; "AgentResponse": "AgentResponse"; "agentResponse": "agentResponse"; "BeforeAgentTurn": "BeforeAgentTurn"; "beforeAgentTurn": "beforeAgentTurn"; "AfterAgentTurn": "AfterAgentTurn"; "afterAgentTurn": "afterAgentTurn"; "AgentRunDetected": "AgentRunDetected"; "agentRunDetected": "agentRunDetected"; "AgentRunUpdate": "AgentRunUpdate"; "agentRunUpdate": "agentRunUpdate"; "MessageComplete": "MessageComplete"; "messageComplete": "messageComplete"; "ArtifactCreated": "ArtifactCreated"; "artifactCreated": "artifactCreated"; "ConversationRenamed": "ConversationRenamed"; "conversationRenamed": "conversationRenamed"; "IntentCheckStarted": "IntentCheckStarted"; "intentCheckStarted": "intentCheckStarted"; "IntentCheckCompleted": "IntentCheckCompleted"; "intentCheckCompleted": "intentCheckCompleted"; "InitialMessageAutoSendStarted": "InitialMessageAutoSendStarted"; "initialMessageAutoSendStarted": "initialMessageAutoSendStarted"; "InitialMessageAutoSendFailed": "InitialMessageAutoSendFailed"; "initialMessageAutoSendFailed": "initialMessageAutoSendFailed"; "EmptyStateSubmit": "EmptyStateSubmit"; "emptyStateSubmit": "emptyStateSubmit"; "UploadStateChanged": "UploadStateChanged"; "uploadStateChanged": "uploadStateChanged"; "InitialDraftApplied": "InitialDraftApplied"; "initialDraftApplied": "initialDraftApplied"; "DraftStateChanged": "DraftStateChanged"; "ComposerBlurred": "ComposerBlurred"; }, never, never, false, never>;
722
1197
  }
723
1198
  //# sourceMappingURL=message-input.component.d.ts.map