@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,9 @@ export * from './lib/models/conversation-state.model';
8
8
  export * from './lib/models/notification.model';
9
9
  export * from './lib/models/lazy-artifact-info';
10
10
  export * from './lib/models/navigation-request.model';
11
+ // Host rules for an agent turn: reply mode, routes, and the host turn handler contract
12
+ export * from './lib/models/agent-turn.model';
13
+ export * from './lib/utils/agent-turn-routing';
11
14
  // Services - State
12
15
  export * from './lib/services/data-cache.service';
13
16
  export * from './lib/services/artifact-state.service';
@@ -29,14 +32,19 @@ export * from './lib/services/artifact-permission.service';
29
32
  export * from './lib/services/artifact-use-tracking.service';
30
33
  export * from './lib/services/collection-state.service';
31
34
  export * from './lib/services/conversation-attachment.service';
35
+ export * from './lib/services/graphql-attachment-blob-store';
32
36
  export * from './lib/services/ui-command-handler.service';
33
37
  export * from './lib/services/conversation-bridge.service';
34
38
  export * from './lib/services/realtime-session.service';
39
+ export * from './lib/services/browser-realtime-media-host';
40
+ // NOTE: the realtime session types (RealtimeCaption, RealtimeConnectionState,
41
+ // RealtimeSessionRunOptions, …), the channel plugin base class, and the delegation-result
42
+ // parser now live in `@memberjunction/realtime-runtime`. Import them from there directly —
43
+ // MJ does not re-export across package boundaries.
35
44
  export * from './lib/services/realtime-pairing';
36
45
  export * from './lib/services/user-authorization';
37
46
  export * from './lib/services/realtime-sessions-adapter';
38
47
  export * from './lib/services/realtime-session-review.service';
39
- export * from './lib/services/delegation-result-parser';
40
48
  // Components
41
49
  export * from './lib/components/workspace/conversation-workspace.component';
42
50
  export * from './lib/components/navigation/conversation-navigation.component';
@@ -136,7 +144,6 @@ export * from './lib/components/realtime/realtime-channel-strip.component';
136
144
  export * from './lib/components/realtime/realtime-session-timeline-card.component';
137
145
  export * from './lib/utils/realtime-session-timeline';
138
146
  // Pluggable interactive-channel contract (registry-resolved client plugins) + pane host
139
- export * from './lib/components/realtime/channels/base-realtime-channel-client';
140
147
  export * from './lib/components/realtime/channels/client-context-channel';
141
148
  export * from './lib/components/realtime/channels/realtime-channel-pane.component';
142
149
  export * from './lib/components/realtime/channels/channel-onboarding-panel.component';
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,4BAA4B,CAAC;AAE3C,SAAS;AACT,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AAEtD,mBAAmB;AACnB,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,gGAAgG;AAChG,4FAA4F;AAC5F,wDAAwD;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AAExD,aAAa;AACb,cAAc,6DAA6D,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DAA2D,CAAC;AAC1E,cAAc,oEAAoE,CAAC;AACnF,cAAc,uEAAuE,CAAC;AACtF,0FAA0F;AAC1F,oFAAoF;AACpF,qFAAqF;AACrF,cAAc,yDAAyD,CAAC;AACxE,cAAc,2EAA2E,CAAC;AAC1F,mGAAmG;AACnG,cAAc,iEAAiE,CAAC;AAChF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,+DAA+D,CAAC;AAC9E,cAAc,sEAAsE,CAAC;AACrF,mGAAmG;AACnG,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kEAAkE,CAAC;AACjF,8FAA8F;AAC9F,cAAc,kFAAkF,CAAC;AACjG,cAAc,qCAAqC,CAAC","sourcesContent":["/*\n * Public API Surface of @memberjunction/ng-conversations\n */\n\n// Module\nexport * from './lib/conversations.module';\n\n// Models\nexport * from './lib/models/conversation-state.model';\nexport * from './lib/models/notification.model';\nexport * from './lib/models/lazy-artifact-info';\nexport * from './lib/models/navigation-request.model';\n\n// Services - State\nexport * from './lib/services/data-cache.service';\nexport * from './lib/services/artifact-state.service';\nexport * from './lib/services/agent-state.service';\nexport * from './lib/services/conversation-agent.service';\nexport * from './lib/services/active-tasks.service';\nexport * from './lib/services/conversation-streaming.service';\nexport * from './lib/services/dialog.service';\nexport * from './lib/services/export.service';\nexport * from './lib/services/notification.service';\nexport * from './lib/services/toast.service';\nexport * from './lib/services/mention-parser.service';\n// AI-aware mention suggestion engine (BaseSingleton — use MentionAutocompleteService.Instance).\n// NOTE: the generic MentionSuggestion TYPE lives in @memberjunction/ng-composer — import it\n// from there directly (no re-exports between packages).\nexport * from './lib/services/mention-autocomplete.service';\nexport * from './lib/services/collection-permission.service';\nexport * from './lib/services/artifact-permission.service';\nexport * from './lib/services/artifact-use-tracking.service';\nexport * from './lib/services/collection-state.service';\nexport * from './lib/services/conversation-attachment.service';\nexport * from './lib/services/ui-command-handler.service';\nexport * from './lib/services/conversation-bridge.service';\nexport * from './lib/services/realtime-session.service';\nexport * from './lib/services/realtime-pairing';\nexport * from './lib/services/user-authorization';\nexport * from './lib/services/realtime-sessions-adapter';\nexport * from './lib/services/realtime-session-review.service';\nexport * from './lib/services/delegation-result-parser';\n\n// Components\nexport * from './lib/components/workspace/conversation-workspace.component';\nexport * from './lib/components/navigation/conversation-navigation.component';\nexport * from './lib/components/sidebar/conversation-sidebar.component';\nexport * from './lib/components/sidebar/routines-section.component';\nexport * from './lib/components/conversation/conversation-list.component';\nexport * from './lib/components/conversation/conversation-chat-area.component';\nexport * from './lib/components/conversation/conversation-empty-state.component';\nexport * from './lib/components/message/message-item.component';\nexport * from './lib/components/message/message-list.component';\nexport * from './lib/components/message/message-input.component';\n// AI-aware composer wrapper (mj-ai-composer): mj-message-input-box + the three AI trigger\n// plugins built in, proxying the input box's full inputs/outputs/methods surface.\nexport * from './lib/components/composer/ai-composer.component';\n// Composer trigger-provider plugins ('@' / '#' / '/') — ClassFactory-registered; also\n// directly instantiable for explicit provider lists.\nexport * from './lib/composer-plugins/base-conversation-mention.provider';\nexport * from './lib/composer-plugins/agent-mention.provider';\nexport * from './lib/composer-plugins/record-mention.provider';\nexport * from './lib/composer-plugins/skill-command.provider';\nexport * from './lib/composer-plugins/load-composer-plugins';\n// NOTE: MessageInputBoxComponent, MentionEditorComponent (+ PendingAttachment), and\n// MentionDropdownComponent live in @memberjunction/ng-composer — import from there directly.\nexport * from './lib/components/message/conversation-message-rating.component';\nexport * from './lib/components/collection/collection-tree.component';\nexport * from './lib/components/collection/collection-view.component';\nexport * from './lib/components/collection/collections-full-view.component';\nexport * from './lib/components/collection/collection-artifact-card.component';\nexport * from './lib/components/collection/artifact-collection-picker-modal.component';\nexport * from './lib/components/collection/collection-share-modal.component';\nexport * from './lib/components/artifact/artifact-share-modal.component';\nexport * from './lib/components/project/project-selector.component';\nexport * from './lib/components/project/project-form-modal.component';\nexport * from './lib/components/task/tasks-full-view.component';\nexport * from './lib/components/tasks/task-widget.component';\nexport * from './lib/components/agent/agent-process-panel.component';\nexport * from './lib/components/agent/active-agent-indicator.component';\nexport * from './lib/components/active-tasks/active-tasks-panel.component';\nexport * from './lib/components/share/share-modal.component';\nexport * from './lib/components/notification/notification-badge.component';\nexport * from './lib/components/notification/activity-indicator.component';\nexport * from './lib/components/toast/toast.component';\nexport * from './lib/components/global-tasks/global-tasks-panel.component';\nexport * from './lib/components/attachment/image-viewer.component';\nexport * from './lib/components/overlay/chat-overlay.component';\n\n// Components declared AND exported by ConversationsModule but previously missing\n// from public-api. They are used in the templates of exported components (e.g.\n// mj-conversation-chat-area), so a consumer app compiling in Angular's\n// local-compilation / HMR mode fails to build (NG3004: \"Unable to import\n// component … not exported from @memberjunction/ng-conversations\") unless every\n// module-exported component is importable from the package entry point.\nexport * from './lib/components/collection/artifact-create-modal.component';\nexport * from './lib/components/collection/collection-form-modal.component';\nexport * from './lib/components/conversation/conversation-agent-picker.component';\nexport * from './lib/components/conversation/conversation-mode-picker.component';\nexport * from './lib/components/conversation/pinned-messages-panel.component';\nexport * from './lib/components/dialogs/input-dialog.component';\nexport * from './lib/components/dialogs/rating-dialog.component';\nexport * from './lib/components/export/export-modal.component';\nexport * from './lib/components/library/library-full-view.component';\nexport * from './lib/components/members/members-modal.component';\nexport * from './lib/components/message/actionable-commands.component';\nexport * from './lib/components/message/workflow-plan-card.component';\nexport * from './lib/components/search/search-panel.component';\nexport * from './lib/components/shared/user-picker.component';\nexport * from './lib/components/tasks/tasks-dropdown.component';\nexport * from './lib/components/thread/thread-panel.component';\nexport * from './lib/directives/search-shortcut.directive';\n\n// PR 2c — Widget extension surface (slots, events, design tokens)\nexport * from './lib/services/conversations-runtime-bootstrap.service';\nexport * from './lib/directives/chat-slot.directive';\nexport * from './lib/components/slots/slot-interfaces';\nexport * from './lib/components/slots/mj-chat-empty-state-default.component';\nexport * from './lib/components/slots/mj-chat-agent-presence-default.component';\nexport * from './lib/components/slots/mj-chat-header-default.component';\nexport * from './lib/components/slots/mj-chat-message-extra-default.component';\nexport * from './lib/components/slots/mj-chat-demonstration-surface-default.component';\nexport * from './lib/components/slots/mj-chat-message-bubble-default.component';\nexport * from './lib/events/chat-events';\n\n// Realtime / voice (PR #2787 — co-agent realtime sessions)\nexport * from './lib/components/realtime/realtime-agent-picker.component';\n// Real-time \"call mode\" overlay + its componentized parts\nexport * from './lib/components/realtime/realtime-session-overlay.component';\nexport * from './lib/components/realtime/realtime-session-state';\nexport * from './lib/components/realtime/realtime-agent-banner.component';\nexport * from './lib/components/realtime/realtime-session-thread.component';\nexport * from './lib/components/realtime/realtime-delegation-card.component';\nexport * from './lib/components/realtime/realtime-activity-rail.component';\nexport * from './lib/components/realtime/realtime-surface-tabs.component';\nexport * from './lib/components/realtime/realtime-surface-tabs.model';\nexport * from './lib/components/realtime/realtime-surface-panel-prefs';\nexport * from './lib/components/realtime/realtime-disclosure';\nexport * from './lib/components/realtime/realtime-audio-visuals';\nexport * from './lib/components/realtime/realtime-composer.component';\nexport * from './lib/components/realtime/realtime-channel-strip.component';\n// Conversation-timeline collapse of past realtime sessions (one card per session) + its pure grouping pass\nexport * from './lib/components/realtime/realtime-session-timeline-card.component';\nexport * from './lib/utils/realtime-session-timeline';\n// Pluggable interactive-channel contract (registry-resolved client plugins) + pane host\nexport * from './lib/components/realtime/channels/base-realtime-channel-client';\nexport * from './lib/components/realtime/channels/client-context-channel';\nexport * from './lib/components/realtime/channels/realtime-channel-pane.component';\nexport * from './lib/components/realtime/channels/channel-onboarding-panel.component';\n// Live whiteboard channel plugin + artifact viewer (thin consumers of the generic board).\n// NOTE: the whiteboard itself (engine, tools, components, export builders) lives in\n// @memberjunction/ng-whiteboard — import board types/components from there directly.\nexport * from './lib/components/realtime/whiteboard/whiteboard-channel';\nexport * from './lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component';\n// Remote Browser channel plugin (client-direct, server-hosted browser) + its live surface + tools.\nexport * from './lib/components/realtime/remote-browser/remote-browser-channel';\nexport * from './lib/components/realtime/remote-browser/remote-browser-surface.component';\nexport * from './lib/components/realtime/remote-browser/remote-browser-tools';\nexport * from './lib/components/realtime/remote-browser/remote-browser-audio-player';\n// Media channel plugin (Tabs-layout media display surface) + its state engine, tools, and surface.\nexport * from './lib/components/realtime/media/media-channel';\nexport * from './lib/components/realtime/media/media-channel-state';\nexport * from './lib/components/realtime/media/media-channel-tools';\nexport * from './lib/components/realtime/media/realtime-media-surface.component';\n// Time-aligned Evidence Playback component (recorded session audio synced to the transcript).\nexport * from './lib/components/realtime/evidence-playback/realtime-evidence-playback.component';\nexport * from './lib/services/composer-draft-store';\n"]}
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,4BAA4B,CAAC;AAE3C,SAAS;AACT,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,uFAAuF;AACvF,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAE/C,mBAAmB;AACnB,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,gGAAgG;AAChG,4FAA4F;AAC5F,wDAAwD;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAA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AAC3E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,kDAAkD,CAAC;AACjE,cAAc,uDAAuD,CAAC;AACtE,cAAc,4DAA4D,CAAC;AAC3E,2GAA2G;AAC3G,cAAc,oEAAoE,CAAC;AACnF,cAAc,uCAAuC,CAAC;AACtD,wFAAwF;AACxF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,oEAAoE,CAAC;AACnF,cAAc,uEAAuE,CAAC;AACtF,0FAA0F;AAC1F,oFAAoF;AACpF,qFAAqF;AACrF,cAAc,yDAAyD,CAAC;AACxE,cAAc,2EAA2E,CAAC;AAC1F,mGAAmG;AACnG,cAAc,iEAAiE,CAAC;AAChF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,+DAA+D,CAAC;AAC9E,cAAc,sEAAsE,CAAC;AACrF,mGAAmG;AACnG,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kEAAkE,CAAC;AACjF,8FAA8F;AAC9F,cAAc,kFAAkF,CAAC;AACjG,cAAc,qCAAqC,CAAC","sourcesContent":["/*\n * Public API Surface of @memberjunction/ng-conversations\n */\n\n// Module\nexport * from './lib/conversations.module';\n\n// Models\nexport * from './lib/models/conversation-state.model';\nexport * from './lib/models/notification.model';\nexport * from './lib/models/lazy-artifact-info';\nexport * from './lib/models/navigation-request.model';\n// Host rules for an agent turn: reply mode, routes, and the host turn handler contract\nexport * from './lib/models/agent-turn.model';\nexport * from './lib/utils/agent-turn-routing';\n\n// Services - State\nexport * from './lib/services/data-cache.service';\nexport * from './lib/services/artifact-state.service';\nexport * from './lib/services/agent-state.service';\nexport * from './lib/services/conversation-agent.service';\nexport * from './lib/services/active-tasks.service';\nexport * from './lib/services/conversation-streaming.service';\nexport * from './lib/services/dialog.service';\nexport * from './lib/services/export.service';\nexport * from './lib/services/notification.service';\nexport * from './lib/services/toast.service';\nexport * from './lib/services/mention-parser.service';\n// AI-aware mention suggestion engine (BaseSingleton — use MentionAutocompleteService.Instance).\n// NOTE: the generic MentionSuggestion TYPE lives in @memberjunction/ng-composer — import it\n// from there directly (no re-exports between packages).\nexport * from './lib/services/mention-autocomplete.service';\nexport * from './lib/services/collection-permission.service';\nexport * from './lib/services/artifact-permission.service';\nexport * from './lib/services/artifact-use-tracking.service';\nexport * from './lib/services/collection-state.service';\nexport * from './lib/services/conversation-attachment.service';\nexport * from './lib/services/graphql-attachment-blob-store';\nexport * from './lib/services/ui-command-handler.service';\nexport * from './lib/services/conversation-bridge.service';\nexport * from './lib/services/realtime-session.service';\nexport * from './lib/services/browser-realtime-media-host';\n// NOTE: the realtime session types (RealtimeCaption, RealtimeConnectionState,\n// RealtimeSessionRunOptions, …), the channel plugin base class, and the delegation-result\n// parser now live in `@memberjunction/realtime-runtime`. Import them from there directly —\n// MJ does not re-export across package boundaries.\nexport * from './lib/services/realtime-pairing';\nexport * from './lib/services/user-authorization';\nexport * from './lib/services/realtime-sessions-adapter';\nexport * from './lib/services/realtime-session-review.service';\n\n// Components\nexport * from './lib/components/workspace/conversation-workspace.component';\nexport * from './lib/components/navigation/conversation-navigation.component';\nexport * from './lib/components/sidebar/conversation-sidebar.component';\nexport * from './lib/components/sidebar/routines-section.component';\nexport * from './lib/components/conversation/conversation-list.component';\nexport * from './lib/components/conversation/conversation-chat-area.component';\nexport * from './lib/components/conversation/conversation-empty-state.component';\nexport * from './lib/components/message/message-item.component';\nexport * from './lib/components/message/message-list.component';\nexport * from './lib/components/message/message-input.component';\n// AI-aware composer wrapper (mj-ai-composer): mj-message-input-box + the three AI trigger\n// plugins built in, proxying the input box's full inputs/outputs/methods surface.\nexport * from './lib/components/composer/ai-composer.component';\n// Composer trigger-provider plugins ('@' / '#' / '/') — ClassFactory-registered; also\n// directly instantiable for explicit provider lists.\nexport * from './lib/composer-plugins/base-conversation-mention.provider';\nexport * from './lib/composer-plugins/agent-mention.provider';\nexport * from './lib/composer-plugins/record-mention.provider';\nexport * from './lib/composer-plugins/skill-command.provider';\nexport * from './lib/composer-plugins/load-composer-plugins';\n// NOTE: MessageInputBoxComponent, MentionEditorComponent (+ PendingAttachment), and\n// MentionDropdownComponent live in @memberjunction/ng-composer — import from there directly.\nexport * from './lib/components/message/conversation-message-rating.component';\nexport * from './lib/components/collection/collection-tree.component';\nexport * from './lib/components/collection/collection-view.component';\nexport * from './lib/components/collection/collections-full-view.component';\nexport * from './lib/components/collection/collection-artifact-card.component';\nexport * from './lib/components/collection/artifact-collection-picker-modal.component';\nexport * from './lib/components/collection/collection-share-modal.component';\nexport * from './lib/components/artifact/artifact-share-modal.component';\nexport * from './lib/components/project/project-selector.component';\nexport * from './lib/components/project/project-form-modal.component';\nexport * from './lib/components/task/tasks-full-view.component';\nexport * from './lib/components/tasks/task-widget.component';\nexport * from './lib/components/agent/agent-process-panel.component';\nexport * from './lib/components/agent/active-agent-indicator.component';\nexport * from './lib/components/active-tasks/active-tasks-panel.component';\nexport * from './lib/components/share/share-modal.component';\nexport * from './lib/components/notification/notification-badge.component';\nexport * from './lib/components/notification/activity-indicator.component';\nexport * from './lib/components/toast/toast.component';\nexport * from './lib/components/global-tasks/global-tasks-panel.component';\nexport * from './lib/components/attachment/image-viewer.component';\nexport * from './lib/components/overlay/chat-overlay.component';\n\n// Components declared AND exported by ConversationsModule but previously missing\n// from public-api. They are used in the templates of exported components (e.g.\n// mj-conversation-chat-area), so a consumer app compiling in Angular's\n// local-compilation / HMR mode fails to build (NG3004: \"Unable to import\n// component … not exported from @memberjunction/ng-conversations\") unless every\n// module-exported component is importable from the package entry point.\nexport * from './lib/components/collection/artifact-create-modal.component';\nexport * from './lib/components/collection/collection-form-modal.component';\nexport * from './lib/components/conversation/conversation-agent-picker.component';\nexport * from './lib/components/conversation/conversation-mode-picker.component';\nexport * from './lib/components/conversation/pinned-messages-panel.component';\nexport * from './lib/components/dialogs/input-dialog.component';\nexport * from './lib/components/dialogs/rating-dialog.component';\nexport * from './lib/components/export/export-modal.component';\nexport * from './lib/components/library/library-full-view.component';\nexport * from './lib/components/members/members-modal.component';\nexport * from './lib/components/message/actionable-commands.component';\nexport * from './lib/components/message/workflow-plan-card.component';\nexport * from './lib/components/search/search-panel.component';\nexport * from './lib/components/shared/user-picker.component';\nexport * from './lib/components/tasks/tasks-dropdown.component';\nexport * from './lib/components/thread/thread-panel.component';\nexport * from './lib/directives/search-shortcut.directive';\n// SearchResult / SearchResultType are the payload of SearchPanelComponent's\n// ResultSelected output, so consumers cannot type a handler without them.\nexport type { SearchResult, SearchResultType } from './lib/services/search.service';\n\n// PR 2c — Widget extension surface (slots, events, design tokens)\nexport * from './lib/services/conversations-runtime-bootstrap.service';\nexport * from './lib/directives/chat-slot.directive';\nexport * from './lib/components/slots/slot-interfaces';\nexport * from './lib/components/slots/mj-chat-empty-state-default.component';\nexport * from './lib/components/slots/mj-chat-agent-presence-default.component';\nexport * from './lib/components/slots/mj-chat-header-default.component';\nexport * from './lib/components/slots/mj-chat-message-extra-default.component';\nexport * from './lib/components/slots/mj-chat-demonstration-surface-default.component';\nexport * from './lib/components/slots/mj-chat-message-bubble-default.component';\nexport * from './lib/events/chat-events';\n\n// Realtime / voice (PR #2787 — co-agent realtime sessions)\nexport * from './lib/components/realtime/realtime-agent-picker.component';\n// Real-time \"call mode\" overlay + its componentized parts\nexport * from './lib/components/realtime/realtime-session-overlay.component';\nexport * from './lib/components/realtime/realtime-session-state';\nexport * from './lib/components/realtime/realtime-agent-banner.component';\nexport * from './lib/components/realtime/realtime-session-thread.component';\nexport * from './lib/components/realtime/realtime-delegation-card.component';\nexport * from './lib/components/realtime/realtime-activity-rail.component';\nexport * from './lib/components/realtime/realtime-surface-tabs.component';\nexport * from './lib/components/realtime/realtime-surface-tabs.model';\nexport * from './lib/components/realtime/realtime-surface-panel-prefs';\nexport * from './lib/components/realtime/realtime-disclosure';\nexport * from './lib/components/realtime/realtime-audio-visuals';\nexport * from './lib/components/realtime/realtime-composer.component';\nexport * from './lib/components/realtime/realtime-channel-strip.component';\n// Conversation-timeline collapse of past realtime sessions (one card per session) + its pure grouping pass\nexport * from './lib/components/realtime/realtime-session-timeline-card.component';\nexport * from './lib/utils/realtime-session-timeline';\n// Pluggable interactive-channel contract (registry-resolved client plugins) + pane host\nexport * from './lib/components/realtime/channels/client-context-channel';\nexport * from './lib/components/realtime/channels/realtime-channel-pane.component';\nexport * from './lib/components/realtime/channels/channel-onboarding-panel.component';\n// Live whiteboard channel plugin + artifact viewer (thin consumers of the generic board).\n// NOTE: the whiteboard itself (engine, tools, components, export builders) lives in\n// @memberjunction/ng-whiteboard — import board types/components from there directly.\nexport * from './lib/components/realtime/whiteboard/whiteboard-channel';\nexport * from './lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component';\n// Remote Browser channel plugin (client-direct, server-hosted browser) + its live surface + tools.\nexport * from './lib/components/realtime/remote-browser/remote-browser-channel';\nexport * from './lib/components/realtime/remote-browser/remote-browser-surface.component';\nexport * from './lib/components/realtime/remote-browser/remote-browser-tools';\nexport * from './lib/components/realtime/remote-browser/remote-browser-audio-player';\n// Media channel plugin (Tabs-layout media display surface) + its state engine, tools, and surface.\nexport * from './lib/components/realtime/media/media-channel';\nexport * from './lib/components/realtime/media/media-channel-state';\nexport * from './lib/components/realtime/media/media-channel-tools';\nexport * from './lib/components/realtime/media/realtime-media-surface.component';\n// Time-aligned Evidence Playback component (recorded session audio synced to the transcript).\nexport * from './lib/components/realtime/evidence-playback/realtime-evidence-playback.component';\nexport * from './lib/services/composer-draft-store';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-conversations",
3
- "version": "6.1.4",
3
+ "version": "6.2.0-edge.1",
4
4
  "description": "MemberJunction: Conversation, Collection, and Artifact management components for any Angular application",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -13,9 +13,9 @@
13
13
  "devDependencies": {
14
14
  "@angular/compiler": "21.2.22",
15
15
  "@angular/compiler-cli": "21.2.22",
16
+ "@memberjunction/ng-test-utils": "6.2.0-edge.1",
16
17
  "sass": "^1.97.3",
17
- "vitest": "^4.0.18",
18
- "@memberjunction/ng-test-utils": "6.1.4"
18
+ "vitest": "^4.0.18"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@angular/animations": "^21.2.22",
@@ -26,35 +26,36 @@
26
26
  "@angular/platform-browser": "^21.2.22"
27
27
  },
28
28
  "dependencies": {
29
- "@memberjunction/ai": "6.1.4",
30
- "@memberjunction/ai-agent-client": "6.1.4",
31
- "@memberjunction/ai-core-plus": "6.1.4",
32
- "@memberjunction/ai-engine-base": "6.1.4",
33
- "@memberjunction/ai-realtime-client": "6.1.4",
34
- "@memberjunction/conversations-runtime": "6.1.4",
35
- "@memberjunction/core": "6.1.4",
36
- "@memberjunction/core-entities": "6.1.4",
37
- "@memberjunction/global": "6.1.4",
38
- "@memberjunction/graphql-dataprovider": "6.1.4",
39
- "@memberjunction/interactive-component-types": "6.1.4",
40
- "@memberjunction/ng-agent-client": "6.1.4",
41
- "@memberjunction/ng-artifacts": "6.1.4",
42
- "@memberjunction/ng-base-types": "6.1.4",
43
- "@memberjunction/ng-code-editor": "6.1.4",
44
- "@memberjunction/ng-composer": "6.1.4",
45
- "@memberjunction/ng-container-directives": "6.1.4",
46
- "@memberjunction/ng-forms": "6.1.4",
47
- "@memberjunction/ng-markdown": "6.1.4",
48
- "@memberjunction/ng-media-player": "6.1.4",
49
- "@memberjunction/ng-notifications": "6.1.4",
50
- "@memberjunction/ng-resource-permissions": "6.1.4",
51
- "@memberjunction/ng-shared-generic": "6.1.4",
52
- "@memberjunction/ng-task-graph-editor": "6.1.4",
53
- "@memberjunction/ng-tasks": "6.1.4",
54
- "@memberjunction/ng-testing": "6.1.4",
55
- "@memberjunction/ng-ui-components": "6.1.4",
56
- "@memberjunction/ng-user-routines": "6.1.4",
57
- "@memberjunction/ng-whiteboard": "6.1.4",
29
+ "@memberjunction/ai": "6.2.0-edge.1",
30
+ "@memberjunction/ai-agent-client": "6.2.0-edge.1",
31
+ "@memberjunction/ai-core-plus": "6.2.0-edge.1",
32
+ "@memberjunction/ai-engine-base": "6.2.0-edge.1",
33
+ "@memberjunction/ai-realtime-client": "6.2.0-edge.1",
34
+ "@memberjunction/conversations-runtime": "6.2.0-edge.1",
35
+ "@memberjunction/core": "6.2.0-edge.1",
36
+ "@memberjunction/core-entities": "6.2.0-edge.1",
37
+ "@memberjunction/global": "6.2.0-edge.1",
38
+ "@memberjunction/graphql-dataprovider": "6.2.0-edge.1",
39
+ "@memberjunction/interactive-component-types": "6.2.0-edge.1",
40
+ "@memberjunction/ng-agent-client": "6.2.0-edge.1",
41
+ "@memberjunction/ng-artifacts": "6.2.0-edge.1",
42
+ "@memberjunction/ng-base-types": "6.2.0-edge.1",
43
+ "@memberjunction/ng-code-editor": "6.2.0-edge.1",
44
+ "@memberjunction/ng-composer": "6.2.0-edge.1",
45
+ "@memberjunction/ng-container-directives": "6.2.0-edge.1",
46
+ "@memberjunction/ng-forms": "6.2.0-edge.1",
47
+ "@memberjunction/ng-markdown": "6.2.0-edge.1",
48
+ "@memberjunction/ng-media-player": "6.2.0-edge.1",
49
+ "@memberjunction/ng-notifications": "6.2.0-edge.1",
50
+ "@memberjunction/ng-resource-permissions": "6.2.0-edge.1",
51
+ "@memberjunction/ng-shared-generic": "6.2.0-edge.1",
52
+ "@memberjunction/ng-task-graph-editor": "6.2.0-edge.1",
53
+ "@memberjunction/ng-tasks": "6.2.0-edge.1",
54
+ "@memberjunction/ng-testing": "6.2.0-edge.1",
55
+ "@memberjunction/ng-ui-components": "6.2.0-edge.1",
56
+ "@memberjunction/ng-user-routines": "6.2.0-edge.1",
57
+ "@memberjunction/ng-whiteboard": "6.2.0-edge.1",
58
+ "@memberjunction/realtime-runtime": "6.2.0-edge.1",
58
59
  "angular-split": "^20.0.0",
59
60
  "rxjs": "^7.8.2",
60
61
  "tslib": "^2.8.1"
@@ -1,384 +0,0 @@
1
- import type { Type } from '@angular/core';
2
- import type { Observable } from 'rxjs';
3
- import { IMetadataProvider } from '@memberjunction/core';
4
- import { JSONValue, RealtimeToolDefinition, RealtimeTrackDescriptor, RealtimeTrackDirection } from '@memberjunction/ai';
5
- import type { BaseRealtimeClient } from '@memberjunction/ai-realtime-client';
6
- import type { AppContextSnapshot } from '@memberjunction/ai-core-plus';
7
- /**
8
- * Host services handed to a {@link BaseRealtimeChannelClient} at {@link BaseRealtimeChannelClient.Initialize}.
9
- *
10
- * The context is the plugin's ONLY line back to the live session — channels never talk to
11
- * `RealtimeSessionService` (or any host component) directly, which is what keeps them drop-in
12
- * plugins. Every member is host-implemented:
13
- *
14
- * - the SESSION SERVICE supplies {@link SendContextNote} (perception feed into the live
15
- * model), {@link RequestSave} (debounced state-of-record persistence onto the session's
16
- * `MJ: AI Agent Session Channels` row) and {@link AgentName};
17
- * - the OVERLAY SHELL wires {@link SetFocusMode} (through the service's focus stream) so a
18
- * channel surface can request the focus layout — main call column collapsed, surface
19
- * panel filling the overlay, floating call pill riding on top.
20
- */
21
- export interface RealtimeChannelContext {
22
- /** Display name of the agent the live session fronts (e.g. `"Sage"`), fixed at session start. */
23
- AgentName: string;
24
- /**
25
- * The MJ metadata provider the live session runs on — the SAME `IMetadataProvider` instance that
26
- * authenticates the session (NOT necessarily the global default). A channel whose surface renders
27
- * MemberJunction-backed data (e.g. the Media channel streaming an `MJ: Files` record through
28
- * `mj-storage-media-player`) threads THIS provider into its surface / GraphQL calls so it stays
29
- * multi-provider safe. `null` only in degenerate/early states; channels fall back to the global
30
- * default when absent.
31
- */
32
- Provider: IMetadataProvider | null;
33
- /**
34
- * Feeds a background context note into the live realtime model (no spoken reply is
35
- * requested) — the PERCEPTION direction of the channel: serialized state deltas flow here
36
- * so the agent stays aware of what's on the surface. No-op when the session isn't live.
37
- */
38
- SendContextNote(text: string): void;
39
- /**
40
- * Asks the host to persist `stateJson` as this channel's state of record. The host
41
- * DEBOUNCES (a change burst becomes one save) and flushes any pending save at session
42
- * teardown — the plugin just calls this on every state mutation and never schedules
43
- * timers itself. Best-effort: persistence failures are logged host-side, never thrown.
44
- */
45
- RequestSave(stateJson: string): void;
46
- /**
47
- * Requests (or releases) the FOCUS layout for this channel's surface: the overlay
48
- * collapses the main call column so the surface owns the screen, with a compact floating
49
- * call pill keeping mute / thread / end reachable. Any channel may request it; the host
50
- * tracks which channel holds focus and routes the pill's "exit" back to it via
51
- * {@link BaseRealtimeChannelClient.RequestFocusExit}.
52
- */
53
- SetFocusMode(on: boolean): void;
54
- /**
55
- * Asks the live model to SPEAK a response to the supplied instructions RIGHT NOW —
56
- * the channel's "react to this" path, e.g. a widget submission the user expects an
57
- * audible reaction to ({@link SendContextNote} deliberately never triggers speech).
58
- * Rides the realtime client's spoken-update channel, so on some providers the spoken
59
- * reply is narration-kind (ephemeral, not persisted as a caption). OPTIONAL member:
60
- * older host contexts may not supply it — plugins must call it null-safely.
61
- */
62
- RequestSpokenResponse?(instructions: string): void;
63
- /**
64
- * Persists a snapshot of the channel's state as a first-class versioned artifact
65
- * (`MJ: Artifacts` + version, linked into conversation history when possible) — e.g. the
66
- * whiteboard's "Save to artifacts". Distinct from {@link RealtimeChannelContext.RequestSave},
67
- * which maintains the session's rolling state of record. Best-effort: resolves to the
68
- * created Artifact ID, or `null` on failure (logged host-side, never thrown). Works during
69
- * the call AND right after it ends (the host retains the session id for late saves).
70
- */
71
- SaveAsArtifact(name: string, contentJson: string): Promise<string | null>;
72
- /**
73
- * The live `MJ: AI Agent Sessions` id this channel belongs to, or `null` before the
74
- * session has minted / after it has torn down. A channel whose tools or surface drive a
75
- * SERVER-SIDE resource (e.g. the Remote Browser channel's server-hosted browser) passes
76
- * this as the `agentSessionID` argument to its own GraphQL resolvers via
77
- * {@link ExecuteServerAction}. Most channels (whiteboard, shared doc) keep all state
78
- * client-side and never read it.
79
- */
80
- AgentSessionID: string | null;
81
- /**
82
- * Executes a CHANNEL-SPECIFIC GraphQL operation against the session's MJ server — the
83
- * escape hatch for channels backed by a SERVER-SIDE resource that the generic
84
- * {@link RequestSave} / {@link SaveAsArtifact} contract doesn't cover (e.g. the Remote
85
- * Browser channel driving a server-hosted browser through its own
86
- * `ExecuteRemoteBrowserAction` mutation + `RemoteBrowserSnapshot` query).
87
- *
88
- * The host runs the operation through the SAME provider the live session uses, so the
89
- * request rides the authenticated session. Best-effort and tolerant: a transport or
90
- * server error resolves to `null` (logged host-side) rather than throwing, so a channel
91
- * can map the failure to a model-readable result string without `try/catch`.
92
- *
93
- * @typeParam TResult The expected shape of the GraphQL operation's data payload.
94
- * @param query The GraphQL query/mutation document.
95
- * @param variables The operation variables (all JSON-serializable).
96
- * @returns The operation's `data` payload, or `null` on any failure / when no session is live.
97
- */
98
- ExecuteServerAction<TResult>(query: string, variables: Record<string, JSONValue>): Promise<TResult | null>;
99
- /**
100
- * OPTIONAL — the live app-context stream (where the user is, what they see, and the available
101
- * client-tool + agent manifest), pushed by the host (Explorer) at session start and on subsequent
102
- * changes. The headless `ClientContextChannel` subscribes to this and streams deltas to the model
103
- * via {@link SendContextNote}. Absent on hosts that don't supply app context (e.g. custom apps);
104
- * channels must read it null-safely.
105
- */
106
- AppContext$?: Observable<AppContextSnapshot | null>;
107
- /**
108
- * OPTIONAL — executes a host-registered surface CLIENT TOOL by name (the handlers the host wired
109
- * from the active surface's `SetAgentClientTools`). The headless `ClientContextChannel`'s
110
- * `ContextTool` proxy routes the model's `{ action, params }` here so a surface tool runs in the
111
- * browser with no server round-trip. Best-effort and tolerant — resolves to a structured result
112
- * (never throws); `Success: false` for an unknown tool or a thrown handler. Absent on hosts that
113
- * register no client tools.
114
- *
115
- * @param name The client-tool name (the model's `action`).
116
- * @param params The tool parameters (the model's `params`).
117
- * @returns A structured result the channel serializes back to the model.
118
- */
119
- ExecuteClientTool?(name: string, params: Record<string, unknown>): Promise<{
120
- Success: boolean;
121
- Result?: unknown;
122
- ErrorMessage?: string;
123
- }>;
124
- /**
125
- * OPTIONAL — sends a visual frame into the live session's inbound video track
126
- * (e.g. from Whiteboard or Remote Browser video bridges). No-op when the session
127
- * has not established an inbound video track or is not live.
128
- *
129
- * @param base64Image The image data (base64-encoded JPEG/PNG).
130
- * @param mimeType The image MIME type (defaults to 'image/jpeg').
131
- */
132
- SendVideoFrame?(base64Image: string, mimeType?: string): void;
133
- /**
134
- * OPTIONAL — checks whether a media track is currently established on the live session.
135
- */
136
- IsTrackEstablished?(modality: string, direction: RealtimeTrackDirection): boolean;
137
- /**
138
- * OPTIONAL — the underlying {@link BaseRealtimeClient} driving the media and transport planes.
139
- */
140
- Client?: BaseRealtimeClient | null;
141
- }
142
- /**
143
- * The first-run INTRO content for an interactive channel — the concise "what is this surface
144
- * and how do I use it" copy the overlay shows the very first time a user opens this channel's
145
- * tab (persisted "seen" per user, so it's shown ONCE per channel per user).
146
- *
147
- * A channel opts in by overriding {@link BaseRealtimeChannelClient.GetOnboardingDetails}; the
148
- * default returns `null`, so the base Voice/text channel (which has no plugin at all) AND any
149
- * plugin that doesn't override it show nothing.
150
- */
151
- export interface ChannelOnboardingDetails {
152
- /** Short title, usually the surface name (e.g. `"Whiteboard"`). */
153
- Heading: string;
154
- /** One or two sentences: what the surface is and what the user can expect to see on it. */
155
- Description: string;
156
- /** Optional quick-tip bullets (kept to 2-3 short, scannable lines). */
157
- Tips?: string[];
158
- /** Optional Font Awesome icon class for the intro panel (e.g. `'fa-solid fa-chalkboard'`). */
159
- IconClass?: string;
160
- }
161
- /**
162
- * Base class for CLIENT-SIDE interactive-channel plugins (per
163
- * `plans/ai-agent-sessions.md` → "Interactive Channels" / "Pluggable Channel Interfaces").
164
- *
165
- * An interactive channel is a bidirectional surface the session's single realtime agent
166
- * both PERCEIVES and ACTS UPON (whiteboard, shared doc, map, …). A concrete plugin
167
- * contributes everything the channel needs, so the session service / call overlay carry
168
- * ZERO channel-specific wiring:
169
- *
170
- * 1. a CLIENT-EXECUTED TOOL SET ({@link GetToolDefinitions}, declared to the realtime
171
- * model at session mint) plus the local executor ({@link ApplyAgentTool}) the host
172
- * routes `{@link ToolNamePrefix}*` calls to — the ACTION direction;
173
- * 2. a STATE→CONTEXT SERIALIZER policy — the plugin owns its state engine and pushes
174
- * coalesced deltas through {@link RealtimeChannelContext.SendContextNote} — the
175
- * PERCEPTION direction;
176
- * 3. an OPTIONAL ANGULAR SURFACE ({@link GetSurfaceComponent}) the overlay creates dynamically
177
- * in a channel tab, handed back through {@link BindSurface} so the plugin wires its own
178
- * inputs/outputs (the host never knows the component's API). A channel may be **server-only**
179
- * (no rendered surface) — e.g. a bridge-contributed meeting-controls or native-whiteboard
180
- * channel whose surface lives on the external platform, not in MJ. Such a channel returns
181
- * `null` from {@link GetSurfaceComponent} ({@link HasSurface} is `false`) and the overlay
182
- * simply skips its tab while still wiring its tools + perception;
183
- * 4. a STATE OF RECORD ({@link SerializeState}, persisted via
184
- * {@link RealtimeChannelContext.RequestSave} under {@link ChannelName}).
185
- *
186
- * ### Registration & resolution (mirrors the realtime model drivers)
187
- * Concrete plugins are `@RegisterClass(BaseRealtimeChannelClient, '<ClientPluginClass>')`
188
- * and are resolved at session start from the `MJ: AI Agent Channels` registry: each ACTIVE
189
- * row's `ClientPluginClass` is the ClassFactory key (exactly how `BaseRealtimeClient`
190
- * drivers resolve by provider key). Ship a `Load<YourChannel>()` no-op alongside the class
191
- * and call it from a static code path to defeat tree-shaking.
192
- *
193
- * ### Lifecycle — ONE INSTANCE PER SESSION (not a singleton)
194
- * `ClassFactory.CreateInstance` → {@link Initialize}(ctx) → zero or more
195
- * {@link BindSurface}/{@link UnbindSurface} cycles (the surface pane is created/destroyed
196
- * with the overlay's tab panel, e.g. collapse/expand) → {@link Dispose} at teardown.
197
- * {@link ApplyAgentTool} MUST work with NO surface bound (apply to the state engine
198
- * directly; skip the UI garnish) — tool calls can arrive while the panel is collapsed.
199
- *
200
- * @typeParam TSurface The plugin's Angular surface component type. The host only ever
201
- * sees the default (`object`) — the typed parameter exists so concrete plugins get a
202
- * fully typed {@link BindSurface} without casts.
203
- */
204
- export declare abstract class BaseRealtimeChannelClient<TSurface extends object = object> {
205
- /**
206
- * The host context, available from {@link Initialize} until {@link Dispose}.
207
- * `null` outside that window — guard with `?.` in any code that can run early/late.
208
- */
209
- protected Context: RealtimeChannelContext | null;
210
- /**
211
- * The channel definition name — MUST match the `MJ: AI Agent Channels` row's `Name`
212
- * (e.g. `'Whiteboard'`). Used as the persistence key for {@link SerializeState} saves
213
- * and as the channel tab's stable key.
214
- */
215
- abstract get ChannelName(): string;
216
- /**
217
- * The shared name prefix of every tool this channel exposes (e.g. `'Whiteboard_'`).
218
- * The host registers ONE local-execution route per plugin: tool calls whose name starts
219
- * with this prefix go to {@link ApplyAgentTool} instead of the server relay.
220
- */
221
- abstract get ToolNamePrefix(): string;
222
- /** Label for the channel's tab on the overlay's surface panel (e.g. `'Whiteboard'`). */
223
- abstract get TabTitle(): string;
224
- /** Font Awesome icon class for the channel's tab (e.g. `'fa-solid fa-chalkboard'`). */
225
- abstract get TabIcon(): string;
226
- /**
227
- * OPTIONAL accent color for the channel's tab (a CSS color string, e.g. an `hsl()` /
228
- * token). When a plugin supplies one, the overlay paints the tab's dot + active underline
229
- * with it; when omitted (the default `null`), the overlay derives a stable, deterministic
230
- * color from the {@link ChannelName} so every channel still reads as a distinct, colored
231
- * surface. A channel only overrides this to enforce a specific brand accent.
232
- */
233
- get TabColor(): string | null;
234
- /**
235
- * The channel's CLIENT-EXECUTED tool declarations, aggregated by the session service
236
- * into the `clientTools` set declared to the realtime model at session mint. The server
237
- * only DECLARES these — execution stays in the browser via {@link ApplyAgentTool}.
238
- */
239
- abstract GetToolDefinitions(): RealtimeToolDefinition[];
240
- /**
241
- * Executes ONE agent tool call locally (the ACTION direction) and returns the result
242
- * JSON string fed back to the model as the `tool_response`. Called for every tool whose
243
- * name starts with {@link ToolNamePrefix}. Must work both WITH a bound surface (apply +
244
- * UI garnish) and WITHOUT one (apply to the state engine directly — the tab pane may not
245
- * exist, e.g. the surface panel is collapsed). Should not throw: return a
246
- * `{ success: false, error }` payload so the model can narrate the failure (the host
247
- * additionally wraps anything thrown).
248
- */
249
- abstract ApplyAgentTool(toolName: string, argsJson: string): string | Promise<string>;
250
- /**
251
- * The Angular component the overlay creates dynamically as this channel's tab pane, or `null`
252
- * for a **server-only** channel that renders no MJ surface (its surface, if any, lives on the
253
- * external platform — e.g. a bridge-contributed native whiteboard or meeting-controls channel).
254
- *
255
- * When this returns `null`, the overlay renders NO tab for the channel and never calls
256
- * {@link BindSurface}/{@link UnbindSurface} — but the channel's tools ({@link GetToolDefinitions} /
257
- * {@link ApplyAgentTool}) and perception ({@link RealtimeChannelContext.SendContextNote}) still run.
258
- * A created surface instance is handed straight back via {@link BindSurface}; the host treats it as
259
- * opaque.
260
- *
261
- * Default: `null` (server-only). A channel with a rendered surface overrides this to return its
262
- * component type.
263
- */
264
- GetSurfaceComponent(): Type<TSurface> | null;
265
- /**
266
- * Whether this channel has a rendered MJ surface ({@link GetSurfaceComponent} returns non-null).
267
- * The overlay uses this to decide whether to register a surface tab; server-only channels are
268
- * `false`. Override only if surface availability must be decided WITHOUT constructing the type
269
- * (the default calls {@link GetSurfaceComponent} once).
270
- */
271
- HasSurface(): boolean;
272
- /**
273
- * The channel's FIRST-RUN INTRO content, or `null` when the channel offers no onboarding.
274
- * The overlay shows this once per channel per user — the first time the user opens this
275
- * channel's surface tab — and remembers "seen" via the user's settings (NOT localStorage),
276
- * so it never re-appears on later sessions or other devices.
277
- *
278
- * Default: `null` (no intro). The base Voice/text channel has no plugin at all, so it never
279
- * shows an intro; an interactive channel with a surface worth explaining (whiteboard, remote
280
- * browser, …) overrides this to return its {@link ChannelOnboardingDetails}. A plugin that
281
- * doesn't override it simply shows nothing — onboarding is strictly opt-in.
282
- */
283
- GetOnboardingDetails(): ChannelOnboardingDetails | null;
284
- /**
285
- * Called by the host right after it created the surface component (and BEFORE the
286
- * component's first change detection, so inputs set here are visible in its `ngOnInit`).
287
- * The plugin — which knows its own component type — sets inputs (state engine, agent
288
- * name, …) and subscribes outputs here, wiring perception/garnish flows back through
289
- * {@link Context}. May be called again with a NEW instance after an
290
- * {@link UnbindSurface} (the pane is destroyed/recreated with the tab panel).
291
- */
292
- abstract BindSurface(instance: TSurface): void;
293
- /**
294
- * Called by the host when the surface component is being destroyed (tab panel
295
- * collapsed / overlay torn down). Drop the instance reference and unsubscribe any
296
- * output subscriptions — after this, {@link ApplyAgentTool} runs in its no-surface
297
- * mode. Default: no-op.
298
- */
299
- UnbindSurface(): void;
300
- /**
301
- * Binds the host context and invokes the {@link OnInitialize} hook. Called exactly once
302
- * per session, right after ClassFactory instantiation and before any tool call or
303
- * surface bind.
304
- */
305
- Initialize(ctx: RealtimeChannelContext): void;
306
- /**
307
- * Subclass hook invoked from {@link Initialize} once {@link Context} is bound — wire
308
- * state-engine subscriptions (e.g. state change → `Context.RequestSave(...)`) here.
309
- * Default: no-op.
310
- */
311
- protected OnInitialize(): void;
312
- /**
313
- * Subclass hook invoked once the realtime session is connected and live (the client driver
314
- * is created, connected, and media tracks negotiated). Channels that establish media bridges
315
- * (e.g. video streaming) can start them here when `Context.Client` is available.
316
- * Default: no-op.
317
- */
318
- OnSessionStarted(): void;
319
- /**
320
- * Max time {@link ResolveAgentSessionId} waits for the session id to bind before giving up, and the
321
- * poll interval it re-checks on. Protected so tests can shrink the wait; production keeps the
322
- * defaults (the real mint race is sub-second, 8s is generous headroom).
323
- */
324
- protected SessionIdWaitTimeoutMs: number;
325
- protected SessionIdWaitIntervalMs: number;
326
- /**
327
- * Resolves the live {@link RealtimeChannelContext.AgentSessionID}, briefly WAITING for it when it
328
- * isn't bound yet rather than giving up instantly. `AgentSessionID` is a live getter over the
329
- * session service's current id: it reads `null` in the window BEFORE the session mints (the
330
- * realtime model can fire a tool call the very first beat it connects, before `mintSession`
331
- * resolves) and again AFTER teardown. Server-backed tool paths (e.g. the Remote Browser channel's
332
- * `browser_*` tools) call this instead of reading `Context?.AgentSessionID` synchronously, so a tool
333
- * invoked a beat early WAITS for the session to come live — defense-in-depth against the
334
- * "session id missing" race — instead of returning a hard failure to the model.
335
- *
336
- * Returns the id as soon as it's non-null (the common path resolves immediately, no delay), or
337
- * `null` if it's still unbound after {@link SessionIdWaitTimeoutMs} — or the channel was
338
- * {@link Dispose}d in the meantime (`Context` goes null, so we stop waiting on a torn-down session).
339
- */
340
- protected ResolveAgentSessionId(): Promise<string | null>;
341
- /**
342
- * Serializes the channel's current state of record (the payload persisted on the
343
- * session's channel row), or `null` when the channel keeps no persistent state.
344
- * Default: `null`.
345
- */
346
- SerializeState(): string | null;
347
- /**
348
- * Restores a PRIOR session's saved channel state (the payload a previous session
349
- * persisted via {@link SerializeState} / {@link RealtimeChannelContext.RequestSave}).
350
- * Invoked by the session host AFTER {@link Initialize} and BEFORE any surface binding,
351
- * when a prior session's saved state exists for this channel.
352
- *
353
- * Returns `true` when the state was applied; `false` when the channel ignored it —
354
- * either because it keeps no persistent state (this default) or because the payload was
355
- * malformed/incompatible. Implementations MUST be tolerant: never throw on bad input,
356
- * just return `false` and start fresh.
357
- */
358
- RestoreState(stateJson: string): boolean;
359
- /**
360
- * The focus pill's "exit" affordance, routed by the overlay to the channel that holds
361
- * focus. Implementations should leave focus mode through their OWN surface (so surface
362
- * toggles stay in sync), ultimately emitting `Context.SetFocusMode(false)`. The overlay
363
- * defensively clears its layout flag as well, so a no-op default is safe.
364
- */
365
- RequestFocusExit(): void;
366
- /**
367
- * Media tracks this client channel can SOURCE — samples flowing into the model.
368
- * Default `[]`.
369
- */
370
- GetSourcedTracks(): readonly RealtimeTrackDescriptor[];
371
- /**
372
- * Media tracks this client channel can SINK — samples flowing from the model OUT.
373
- * Default `[]`.
374
- */
375
- GetSunkTracks(): readonly RealtimeTrackDescriptor[];
376
- /**
377
- * Tears the plugin down at session end: release the surface binding, unsubscribe
378
- * state-engine subscriptions, then drop the context. Subclasses overriding this MUST
379
- * call `super.Dispose()`. Any final state save has already been flushed by the host
380
- * (the debounced {@link RealtimeChannelContext.RequestSave} pipeline) before disposal.
381
- */
382
- Dispose(): void;
383
- }
384
- //# sourceMappingURL=base-realtime-channel-client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-realtime-channel-client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/realtime/channels/base-realtime-channel-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACxH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,sBAAsB;IACrC,iGAAiG;IACjG,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;;OAOG;IACH,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAEnC;;;;OAIG;IACH,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAAC;IAEhC;;;;;;;OAOG;IACH,qBAAqB,CAAC,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnD;;;;;;;OAOG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAE1E;;;;;;;OAOG;I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