@memberjunction/ng-conversations 2.104.0 → 2.105.0

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 (106) hide show
  1. package/dist/lib/components/collection/collection-view.component.d.ts +5 -1
  2. package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
  3. package/dist/lib/components/collection/collection-view.component.js +53 -11
  4. package/dist/lib/components/collection/collection-view.component.js.map +1 -1
  5. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +53 -13
  6. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
  7. package/dist/lib/components/conversation/conversation-chat-area.component.js +455 -289
  8. package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
  9. package/dist/lib/components/conversation/conversation-list.component.d.ts +9 -1
  10. package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
  11. package/dist/lib/components/conversation/conversation-list.component.js +258 -71
  12. package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
  13. package/dist/lib/components/mention/mention-dropdown.component.d.ts +6 -0
  14. package/dist/lib/components/mention/mention-dropdown.component.d.ts.map +1 -1
  15. package/dist/lib/components/mention/mention-dropdown.component.js +35 -13
  16. package/dist/lib/components/mention/mention-dropdown.component.js.map +1 -1
  17. package/dist/lib/components/message/message-input.component.d.ts +49 -12
  18. package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
  19. package/dist/lib/components/message/message-input.component.js +579 -221
  20. package/dist/lib/components/message/message-input.component.js.map +1 -1
  21. package/dist/lib/components/message/message-item.component.d.ts +16 -5
  22. package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
  23. package/dist/lib/components/message/message-item.component.js +136 -64
  24. package/dist/lib/components/message/message-item.component.js.map +1 -1
  25. package/dist/lib/components/message/message-list.component.d.ts +11 -5
  26. package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
  27. package/dist/lib/components/message/message-list.component.js +48 -9
  28. package/dist/lib/components/message/message-list.component.js.map +1 -1
  29. package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
  30. package/dist/lib/components/navigation/conversation-navigation.component.js +24 -9
  31. package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
  32. package/dist/lib/components/task/tasks-full-view.component.d.ts +47 -0
  33. package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -0
  34. package/dist/lib/components/task/tasks-full-view.component.js +368 -0
  35. package/dist/lib/components/task/tasks-full-view.component.js.map +1 -0
  36. package/dist/lib/components/tasks/task-widget.component.d.ts +29 -0
  37. package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -0
  38. package/dist/lib/components/tasks/task-widget.component.js +385 -0
  39. package/dist/lib/components/tasks/task-widget.component.js.map +1 -0
  40. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +22 -8
  41. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
  42. package/dist/lib/components/tasks/tasks-dropdown.component.js +195 -99
  43. package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
  44. package/dist/lib/components/thread/thread-panel.component.d.ts +3 -1
  45. package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
  46. package/dist/lib/components/thread/thread-panel.component.js +14 -14
  47. package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
  48. package/dist/lib/components/workspace/conversation-workspace.component.d.ts +43 -4
  49. package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
  50. package/dist/lib/components/workspace/conversation-workspace.component.js +288 -46
  51. package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
  52. package/dist/lib/conversations.module.d.ts +40 -46
  53. package/dist/lib/conversations.module.d.ts.map +1 -1
  54. package/dist/lib/conversations.module.js +28 -42
  55. package/dist/lib/conversations.module.js.map +1 -1
  56. package/dist/lib/models/conversation-state.model.d.ts +29 -1
  57. package/dist/lib/models/conversation-state.model.d.ts.map +1 -1
  58. package/dist/lib/services/conversation-agent.service.d.ts +6 -5
  59. package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
  60. package/dist/lib/services/conversation-agent.service.js +18 -19
  61. package/dist/lib/services/conversation-agent.service.js.map +1 -1
  62. package/dist/lib/services/data-cache.service.d.ts +96 -0
  63. package/dist/lib/services/data-cache.service.d.ts.map +1 -0
  64. package/dist/lib/services/data-cache.service.js +203 -0
  65. package/dist/lib/services/data-cache.service.js.map +1 -0
  66. package/dist/public-api.d.ts +3 -6
  67. package/dist/public-api.d.ts.map +1 -1
  68. package/dist/public-api.js +3 -6
  69. package/dist/public-api.js.map +1 -1
  70. package/package.json +12 -10
  71. package/dist/lib/components/artifact/artifact-panel.component.d.ts +0 -22
  72. package/dist/lib/components/artifact/artifact-panel.component.d.ts.map +0 -1
  73. package/dist/lib/components/artifact/artifact-panel.component.js +0 -237
  74. package/dist/lib/components/artifact/artifact-panel.component.js.map +0 -1
  75. package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts +0 -39
  76. package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts.map +0 -1
  77. package/dist/lib/components/artifact/artifact-upload-modal.component.js +0 -384
  78. package/dist/lib/components/artifact/artifact-upload-modal.component.js.map +0 -1
  79. package/dist/lib/components/artifact/artifact-version-history.component.d.ts +0 -28
  80. package/dist/lib/components/artifact/artifact-version-history.component.d.ts.map +0 -1
  81. package/dist/lib/components/artifact/artifact-version-history.component.js +0 -280
  82. package/dist/lib/components/artifact/artifact-version-history.component.js.map +0 -1
  83. package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts +0 -22
  84. package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts.map +0 -1
  85. package/dist/lib/components/artifact/artifact-viewer-panel.component.js +0 -182
  86. package/dist/lib/components/artifact/artifact-viewer-panel.component.js.map +0 -1
  87. package/dist/lib/components/artifact/artifact-viewer.component.d.ts +0 -27
  88. package/dist/lib/components/artifact/artifact-viewer.component.d.ts.map +0 -1
  89. package/dist/lib/components/artifact/artifact-viewer.component.js +0 -266
  90. package/dist/lib/components/artifact/artifact-viewer.component.js.map +0 -1
  91. package/dist/lib/components/artifact/inline-artifact.component.d.ts +0 -46
  92. package/dist/lib/components/artifact/inline-artifact.component.d.ts.map +0 -1
  93. package/dist/lib/components/artifact/inline-artifact.component.js +0 -447
  94. package/dist/lib/components/artifact/inline-artifact.component.js.map +0 -1
  95. package/dist/lib/components/task/task-form-modal.component.d.ts +0 -42
  96. package/dist/lib/components/task/task-form-modal.component.d.ts.map +0 -1
  97. package/dist/lib/components/task/task-form-modal.component.js +0 -329
  98. package/dist/lib/components/task/task-form-modal.component.js.map +0 -1
  99. package/dist/lib/components/task/task-item.component.d.ts +0 -22
  100. package/dist/lib/components/task/task-item.component.d.ts.map +0 -1
  101. package/dist/lib/components/task/task-item.component.js +0 -234
  102. package/dist/lib/components/task/task-item.component.js.map +0 -1
  103. package/dist/lib/components/task/task-list.component.d.ts +0 -32
  104. package/dist/lib/components/task/task-list.component.d.ts.map +0 -1
  105. package/dist/lib/components/task/task-list.component.js +0 -290
  106. package/dist/lib/components/task/task-list.component.js.map +0 -1
@@ -9,54 +9,48 @@ import * as i7 from "./components/sidebar/conversation-sidebar.component";
9
9
  import * as i8 from "./components/conversation/conversation-list.component";
10
10
  import * as i9 from "./components/conversation/conversation-chat-area.component";
11
11
  import * as i10 from "./components/thread/thread-panel.component";
12
- import * as i11 from "./components/artifact/artifact-panel.component";
13
- import * as i12 from "./components/artifact/artifact-viewer.component";
14
- import * as i13 from "./components/artifact/artifact-version-history.component";
15
- import * as i14 from "./components/artifact/artifact-upload-modal.component";
16
- import * as i15 from "./components/artifact/inline-artifact.component";
17
- import * as i16 from "./components/artifact/artifact-viewer-panel.component";
18
- import * as i17 from "./components/collection/collection-tree.component";
19
- import * as i18 from "./components/collection/collection-view.component";
20
- import * as i19 from "./components/collection/collection-artifact-card.component";
21
- import * as i20 from "./components/library/library-full-view.component";
22
- import * as i21 from "./components/collection/collection-form-modal.component";
23
- import * as i22 from "./components/collection/collections-full-view.component";
24
- import * as i23 from "./components/project/project-selector.component";
25
- import * as i24 from "./components/project/project-form-modal.component";
26
- import * as i25 from "./components/task/task-list.component";
27
- import * as i26 from "./components/task/task-item.component";
28
- import * as i27 from "./components/task/task-form-modal.component";
29
- import * as i28 from "./components/tasks/tasks-dropdown.component";
30
- import * as i29 from "./components/agent/agent-process-panel.component";
31
- import * as i30 from "./components/agent/active-agent-indicator.component";
32
- import * as i31 from "./components/active-tasks/active-tasks-panel.component";
33
- import * as i32 from "./components/share/share-modal.component";
34
- import * as i33 from "./components/members/members-modal.component";
35
- import * as i34 from "./components/export/export-modal.component";
36
- import * as i35 from "./components/search/search-panel.component";
37
- import * as i36 from "./components/notification/notification-badge.component";
38
- import * as i37 from "./components/notification/activity-indicator.component";
39
- import * as i38 from "./components/toast/toast.component";
40
- import * as i39 from "./components/dialogs/input-dialog.component";
41
- import * as i40 from "./directives/search-shortcut.directive";
42
- import * as i41 from "@angular/common";
43
- import * as i42 from "@angular/forms";
44
- import * as i43 from "@angular/router";
45
- import * as i44 from "@progress/kendo-angular-dialog";
46
- import * as i45 from "@progress/kendo-angular-buttons";
47
- import * as i46 from "@progress/kendo-angular-inputs";
48
- import * as i47 from "@progress/kendo-angular-layout";
49
- import * as i48 from "@progress/kendo-angular-indicators";
50
- import * as i49 from "@progress/kendo-angular-dropdowns";
51
- import * as i50 from "@progress/kendo-angular-notification";
52
- import * as i51 from "@progress/kendo-angular-upload";
53
- import * as i52 from "@progress/kendo-angular-dateinputs";
54
- import * as i53 from "@memberjunction/ng-container-directives";
55
- import * as i54 from "@memberjunction/ng-code-editor";
56
- import * as i55 from "ngx-markdown";
12
+ import * as i11 from "./components/collection/collection-tree.component";
13
+ import * as i12 from "./components/collection/collection-view.component";
14
+ import * as i13 from "./components/collection/collection-artifact-card.component";
15
+ import * as i14 from "./components/library/library-full-view.component";
16
+ import * as i15 from "./components/collection/collection-form-modal.component";
17
+ import * as i16 from "./components/collection/collections-full-view.component";
18
+ import * as i17 from "./components/project/project-selector.component";
19
+ import * as i18 from "./components/project/project-form-modal.component";
20
+ import * as i19 from "./components/tasks/tasks-dropdown.component";
21
+ import * as i20 from "./components/tasks/task-widget.component";
22
+ import * as i21 from "./components/agent/agent-process-panel.component";
23
+ import * as i22 from "./components/agent/active-agent-indicator.component";
24
+ import * as i23 from "./components/active-tasks/active-tasks-panel.component";
25
+ import * as i24 from "./components/share/share-modal.component";
26
+ import * as i25 from "./components/members/members-modal.component";
27
+ import * as i26 from "./components/export/export-modal.component";
28
+ import * as i27 from "./components/search/search-panel.component";
29
+ import * as i28 from "./components/notification/notification-badge.component";
30
+ import * as i29 from "./components/notification/activity-indicator.component";
31
+ import * as i30 from "./components/toast/toast.component";
32
+ import * as i31 from "./components/dialogs/input-dialog.component";
33
+ import * as i32 from "./directives/search-shortcut.directive";
34
+ import * as i33 from "@angular/common";
35
+ import * as i34 from "@angular/forms";
36
+ import * as i35 from "@angular/router";
37
+ import * as i36 from "@progress/kendo-angular-dialog";
38
+ import * as i37 from "@progress/kendo-angular-buttons";
39
+ import * as i38 from "@progress/kendo-angular-inputs";
40
+ import * as i39 from "@progress/kendo-angular-layout";
41
+ import * as i40 from "@progress/kendo-angular-indicators";
42
+ import * as i41 from "@progress/kendo-angular-dropdowns";
43
+ import * as i42 from "@progress/kendo-angular-notification";
44
+ import * as i43 from "@progress/kendo-angular-upload";
45
+ import * as i44 from "@progress/kendo-angular-dateinputs";
46
+ import * as i45 from "@memberjunction/ng-container-directives";
47
+ import * as i46 from "@memberjunction/ng-code-editor";
48
+ import * as i47 from "@memberjunction/ng-artifacts";
49
+ import * as i48 from "ngx-markdown";
50
+ import * as i49 from "./components/task/tasks-full-view.component";
57
51
  export declare class ConversationsModule {
58
52
  static ɵfac: i0.ɵɵFactoryDeclaration<ConversationsModule, never>;
59
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConversationsModule, [typeof i1.MessageItemComponent, typeof i2.MessageListComponent, typeof i3.MessageInputComponent, typeof i4.MentionDropdownComponent, typeof i5.ConversationWorkspaceComponent, typeof i6.ConversationNavigationComponent, typeof i7.ConversationSidebarComponent, typeof i8.ConversationListComponent, typeof i9.ConversationChatAreaComponent, typeof i10.ThreadPanelComponent, typeof i11.ArtifactPanelComponent, typeof i12.ArtifactViewerComponent, typeof i13.ArtifactVersionHistoryComponent, typeof i14.ArtifactUploadModalComponent, typeof i15.InlineArtifactComponent, typeof i16.ArtifactViewerPanelComponent, typeof i17.CollectionTreeComponent, typeof i18.CollectionViewComponent, typeof i19.CollectionArtifactCardComponent, typeof i20.LibraryFullViewComponent, typeof i21.CollectionFormModalComponent, typeof i22.CollectionsFullViewComponent, typeof i23.ProjectSelectorComponent, typeof i24.ProjectFormModalComponent, typeof i25.TaskListComponent, typeof i26.TaskItemComponent, typeof i27.TaskFormModalComponent, typeof i28.TasksDropdownComponent, typeof i29.AgentProcessPanelComponent, typeof i30.ActiveAgentIndicatorComponent, typeof i31.ActiveTasksPanelComponent, typeof i32.ShareModalComponent, typeof i33.MembersModalComponent, typeof i34.ExportModalComponent, typeof i35.SearchPanelComponent, typeof i36.NotificationBadgeComponent, typeof i37.ActivityIndicatorComponent, typeof i38.ToastComponent, typeof i39.InputDialogComponent, typeof i40.SearchShortcutDirective], [typeof i41.CommonModule, typeof i42.FormsModule, typeof i42.ReactiveFormsModule, typeof i43.RouterModule, typeof i44.DialogModule, typeof i45.ButtonsModule, typeof i46.InputsModule, typeof i47.LayoutModule, typeof i48.IndicatorsModule, typeof i49.DropDownsModule, typeof i50.NotificationModule, typeof i51.UploadsModule, typeof i52.DateInputsModule, typeof i53.ContainerDirectivesModule, typeof i54.CodeEditorModule, typeof i55.MarkdownModule], [typeof i1.MessageItemComponent, typeof i2.MessageListComponent, typeof i3.MessageInputComponent, typeof i4.MentionDropdownComponent, typeof i5.ConversationWorkspaceComponent, typeof i6.ConversationNavigationComponent, typeof i7.ConversationSidebarComponent, typeof i8.ConversationListComponent, typeof i9.ConversationChatAreaComponent, typeof i10.ThreadPanelComponent, typeof i11.ArtifactPanelComponent, typeof i12.ArtifactViewerComponent, typeof i13.ArtifactVersionHistoryComponent, typeof i14.ArtifactUploadModalComponent, typeof i15.InlineArtifactComponent, typeof i16.ArtifactViewerPanelComponent, typeof i17.CollectionTreeComponent, typeof i18.CollectionViewComponent, typeof i19.CollectionArtifactCardComponent, typeof i20.LibraryFullViewComponent, typeof i21.CollectionFormModalComponent, typeof i22.CollectionsFullViewComponent, typeof i23.ProjectSelectorComponent, typeof i24.ProjectFormModalComponent, typeof i25.TaskListComponent, typeof i26.TaskItemComponent, typeof i27.TaskFormModalComponent, typeof i28.TasksDropdownComponent, typeof i29.AgentProcessPanelComponent, typeof i30.ActiveAgentIndicatorComponent, typeof i31.ActiveTasksPanelComponent, typeof i32.ShareModalComponent, typeof i33.MembersModalComponent, typeof i34.ExportModalComponent, typeof i35.SearchPanelComponent, typeof i36.NotificationBadgeComponent, typeof i37.ActivityIndicatorComponent, typeof i38.ToastComponent, typeof i39.InputDialogComponent, typeof i40.SearchShortcutDirective]>;
53
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConversationsModule, [typeof i1.MessageItemComponent, typeof i2.MessageListComponent, typeof i3.MessageInputComponent, typeof i4.MentionDropdownComponent, typeof i5.ConversationWorkspaceComponent, typeof i6.ConversationNavigationComponent, typeof i7.ConversationSidebarComponent, typeof i8.ConversationListComponent, typeof i9.ConversationChatAreaComponent, typeof i10.ThreadPanelComponent, typeof i11.CollectionTreeComponent, typeof i12.CollectionViewComponent, typeof i13.CollectionArtifactCardComponent, typeof i14.LibraryFullViewComponent, typeof i15.CollectionFormModalComponent, typeof i16.CollectionsFullViewComponent, typeof i17.ProjectSelectorComponent, typeof i18.ProjectFormModalComponent, typeof i19.TasksDropdownComponent, typeof i20.TaskWidgetComponent, typeof i21.AgentProcessPanelComponent, typeof i22.ActiveAgentIndicatorComponent, typeof i23.ActiveTasksPanelComponent, typeof i24.ShareModalComponent, typeof i25.MembersModalComponent, typeof i26.ExportModalComponent, typeof i27.SearchPanelComponent, typeof i28.NotificationBadgeComponent, typeof i29.ActivityIndicatorComponent, typeof i30.ToastComponent, typeof i31.InputDialogComponent, typeof i32.SearchShortcutDirective], [typeof i33.CommonModule, typeof i34.FormsModule, typeof i34.ReactiveFormsModule, typeof i35.RouterModule, typeof i36.DialogModule, typeof i37.ButtonsModule, typeof i38.InputsModule, typeof i39.LayoutModule, typeof i40.IndicatorsModule, typeof i41.DropDownsModule, typeof i42.NotificationModule, typeof i43.UploadsModule, typeof i44.DateInputsModule, typeof i45.ContainerDirectivesModule, typeof i46.CodeEditorModule, typeof i47.ArtifactsModule, typeof i48.MarkdownModule, typeof i49.TasksFullViewComponent], [typeof i1.MessageItemComponent, typeof i2.MessageListComponent, typeof i3.MessageInputComponent, typeof i4.MentionDropdownComponent, typeof i5.ConversationWorkspaceComponent, typeof i6.ConversationNavigationComponent, typeof i7.ConversationSidebarComponent, typeof i8.ConversationListComponent, typeof i9.ConversationChatAreaComponent, typeof i10.ThreadPanelComponent, typeof i11.CollectionTreeComponent, typeof i12.CollectionViewComponent, typeof i13.CollectionArtifactCardComponent, typeof i14.LibraryFullViewComponent, typeof i15.CollectionFormModalComponent, typeof i16.CollectionsFullViewComponent, typeof i17.ProjectSelectorComponent, typeof i18.ProjectFormModalComponent, typeof i19.TasksDropdownComponent, typeof i20.TaskWidgetComponent, typeof i21.AgentProcessPanelComponent, typeof i22.ActiveAgentIndicatorComponent, typeof i23.ActiveTasksPanelComponent, typeof i24.ShareModalComponent, typeof i25.MembersModalComponent, typeof i26.ExportModalComponent, typeof i27.SearchPanelComponent, typeof i28.NotificationBadgeComponent, typeof i29.ActivityIndicatorComponent, typeof i30.ToastComponent, typeof i31.InputDialogComponent, typeof i32.SearchShortcutDirective, typeof i49.TasksFullViewComponent]>;
60
54
  static ɵinj: i0.ɵɵInjectorDeclaration<ConversationsModule>;
61
55
  }
62
56
  //# sourceMappingURL=conversations.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversations.module.d.ts","sourceRoot":"","sources":["../../src/lib/conversations.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GA,qBA4Ba,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAI"}
1
+ {"version":3,"file":"conversations.module.d.ts","sourceRoot":"","sources":["../../src/lib/conversations.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiGA,qBAiCa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAI"}
@@ -15,6 +15,7 @@ import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
15
15
  // MemberJunction modules
16
16
  import { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';
17
17
  import { CodeEditorModule } from '@memberjunction/ng-code-editor';
18
+ import { ArtifactsModule } from '@memberjunction/ng-artifacts';
18
19
  // Markdown module
19
20
  import { MarkdownModule } from 'ngx-markdown';
20
21
  // Components
@@ -28,12 +29,6 @@ import { ConversationSidebarComponent } from './components/sidebar/conversation-
28
29
  import { ConversationListComponent } from './components/conversation/conversation-list.component';
29
30
  import { ConversationChatAreaComponent } from './components/conversation/conversation-chat-area.component';
30
31
  import { ThreadPanelComponent } from './components/thread/thread-panel.component';
31
- import { ArtifactPanelComponent } from './components/artifact/artifact-panel.component';
32
- import { ArtifactViewerComponent } from './components/artifact/artifact-viewer.component';
33
- import { ArtifactVersionHistoryComponent } from './components/artifact/artifact-version-history.component';
34
- import { ArtifactUploadModalComponent } from './components/artifact/artifact-upload-modal.component';
35
- import { InlineArtifactComponent } from './components/artifact/inline-artifact.component';
36
- import { ArtifactViewerPanelComponent } from './components/artifact/artifact-viewer-panel.component';
37
32
  import { CollectionTreeComponent } from './components/collection/collection-tree.component';
38
33
  import { CollectionViewComponent } from './components/collection/collection-view.component';
39
34
  import { CollectionArtifactCardComponent } from './components/collection/collection-artifact-card.component';
@@ -42,10 +37,9 @@ import { CollectionFormModalComponent } from './components/collection/collection
42
37
  import { CollectionsFullViewComponent } from './components/collection/collections-full-view.component';
43
38
  import { ProjectSelectorComponent } from './components/project/project-selector.component';
44
39
  import { ProjectFormModalComponent } from './components/project/project-form-modal.component';
45
- import { TaskListComponent } from './components/task/task-list.component';
46
- import { TaskItemComponent } from './components/task/task-item.component';
47
- import { TaskFormModalComponent } from './components/task/task-form-modal.component';
40
+ import { TasksFullViewComponent } from './components/task/tasks-full-view.component';
48
41
  import { TasksDropdownComponent } from './components/tasks/tasks-dropdown.component';
42
+ import { TaskWidgetComponent } from './components/tasks/task-widget.component';
49
43
  import { AgentProcessPanelComponent } from './components/agent/agent-process-panel.component';
50
44
  import { ActiveAgentIndicatorComponent } from './components/agent/active-agent-indicator.component';
51
45
  import { ActiveTasksPanelComponent } from './components/active-tasks/active-tasks-panel.component';
@@ -61,7 +55,7 @@ import { InputDialogComponent } from './components/dialogs/input-dialog.componen
61
55
  import { SearchShortcutDirective } from './directives/search-shortcut.directive';
62
56
  import * as i0 from "@angular/core";
63
57
  import * as i1 from "ngx-markdown";
64
- // Export all components
58
+ // Export all components (excluding standalone components)
65
59
  const COMPONENTS = [
66
60
  MessageItemComponent,
67
61
  MessageListComponent,
@@ -73,12 +67,6 @@ const COMPONENTS = [
73
67
  ConversationListComponent,
74
68
  ConversationChatAreaComponent,
75
69
  ThreadPanelComponent,
76
- ArtifactPanelComponent,
77
- ArtifactViewerComponent,
78
- ArtifactVersionHistoryComponent,
79
- ArtifactUploadModalComponent,
80
- InlineArtifactComponent,
81
- ArtifactViewerPanelComponent,
82
70
  CollectionTreeComponent,
83
71
  CollectionViewComponent,
84
72
  CollectionArtifactCardComponent,
@@ -87,10 +75,9 @@ const COMPONENTS = [
87
75
  CollectionsFullViewComponent,
88
76
  ProjectSelectorComponent,
89
77
  ProjectFormModalComponent,
90
- TaskListComponent,
91
- TaskItemComponent,
92
- TaskFormModalComponent,
78
+ // TasksFullViewComponent - now standalone, imported below
93
79
  TasksDropdownComponent,
80
+ TaskWidgetComponent,
94
81
  AgentProcessPanelComponent,
95
82
  ActiveAgentIndicatorComponent,
96
83
  ActiveTasksPanelComponent,
@@ -121,7 +108,10 @@ export class ConversationsModule {
121
108
  DateInputsModule,
122
109
  ContainerDirectivesModule,
123
110
  CodeEditorModule,
124
- MarkdownModule.forRoot()] });
111
+ ArtifactsModule,
112
+ MarkdownModule.forRoot(),
113
+ // Standalone components
114
+ TasksFullViewComponent] });
125
115
  }
126
116
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationsModule, [{
127
117
  type: NgModule,
@@ -146,11 +136,16 @@ export class ConversationsModule {
146
136
  DateInputsModule,
147
137
  ContainerDirectivesModule,
148
138
  CodeEditorModule,
149
- MarkdownModule.forRoot()
139
+ ArtifactsModule,
140
+ MarkdownModule.forRoot(),
141
+ // Standalone components
142
+ TasksFullViewComponent
150
143
  ],
151
144
  exports: [
152
145
  ...COMPONENTS,
153
- SearchShortcutDirective
146
+ SearchShortcutDirective,
147
+ // Standalone components
148
+ TasksFullViewComponent
154
149
  ]
155
150
  }]
156
151
  }], null, null); })();
@@ -164,12 +159,6 @@ export class ConversationsModule {
164
159
  ConversationListComponent,
165
160
  ConversationChatAreaComponent,
166
161
  ThreadPanelComponent,
167
- ArtifactPanelComponent,
168
- ArtifactViewerComponent,
169
- ArtifactVersionHistoryComponent,
170
- ArtifactUploadModalComponent,
171
- InlineArtifactComponent,
172
- ArtifactViewerPanelComponent,
173
162
  CollectionTreeComponent,
174
163
  CollectionViewComponent,
175
164
  CollectionArtifactCardComponent,
@@ -178,10 +167,9 @@ export class ConversationsModule {
178
167
  CollectionsFullViewComponent,
179
168
  ProjectSelectorComponent,
180
169
  ProjectFormModalComponent,
181
- TaskListComponent,
182
- TaskItemComponent,
183
- TaskFormModalComponent,
170
+ // TasksFullViewComponent - now standalone, imported below
184
171
  TasksDropdownComponent,
172
+ TaskWidgetComponent,
185
173
  AgentProcessPanelComponent,
186
174
  ActiveAgentIndicatorComponent,
187
175
  ActiveTasksPanelComponent,
@@ -206,7 +194,10 @@ export class ConversationsModule {
206
194
  UploadsModule,
207
195
  DateInputsModule,
208
196
  ContainerDirectivesModule,
209
- CodeEditorModule, i1.MarkdownModule], exports: [MessageItemComponent,
197
+ CodeEditorModule,
198
+ ArtifactsModule, i1.MarkdownModule,
199
+ // Standalone components
200
+ TasksFullViewComponent], exports: [MessageItemComponent,
210
201
  MessageListComponent,
211
202
  MessageInputComponent,
212
203
  MentionDropdownComponent,
@@ -216,12 +207,6 @@ export class ConversationsModule {
216
207
  ConversationListComponent,
217
208
  ConversationChatAreaComponent,
218
209
  ThreadPanelComponent,
219
- ArtifactPanelComponent,
220
- ArtifactViewerComponent,
221
- ArtifactVersionHistoryComponent,
222
- ArtifactUploadModalComponent,
223
- InlineArtifactComponent,
224
- ArtifactViewerPanelComponent,
225
210
  CollectionTreeComponent,
226
211
  CollectionViewComponent,
227
212
  CollectionArtifactCardComponent,
@@ -230,10 +215,9 @@ export class ConversationsModule {
230
215
  CollectionsFullViewComponent,
231
216
  ProjectSelectorComponent,
232
217
  ProjectFormModalComponent,
233
- TaskListComponent,
234
- TaskItemComponent,
235
- TaskFormModalComponent,
218
+ // TasksFullViewComponent - now standalone, imported below
236
219
  TasksDropdownComponent,
220
+ TaskWidgetComponent,
237
221
  AgentProcessPanelComponent,
238
222
  ActiveAgentIndicatorComponent,
239
223
  ActiveTasksPanelComponent,
@@ -244,5 +228,7 @@ export class ConversationsModule {
244
228
  NotificationBadgeComponent,
245
229
  ActivityIndicatorComponent,
246
230
  ToastComponent,
247
- InputDialogComponent, SearchShortcutDirective] }); })();
231
+ InputDialogComponent, SearchShortcutDirective,
232
+ // Standalone components
233
+ TasksFullViewComponent] }); })();
248
234
  //# sourceMappingURL=conversations.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversations.module.js","sourceRoot":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qB;QACrB,oBAAoB;QACpB,oBAAoB;QACpB,0BAA0B;QAC1B,0BAA0B;QAC1B,cAAc;QACd,oBAAoB,EAMlB,uBAAuB,aAGvB,YAAY;QACZ,WAAW;QACX,mBAAmB;QACnB,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,YAAY;QACZ,YAAY;QACZ,gBAAgB;QAChB,eAAe;QACf,kBAAkB;QAClB,aAAa;QACb,gBAAgB;QAChB,yBAAyB;QACzB,gBAAgB,gCA7DlB,oBAAoB;QACpB,oBAAoB;QACpB,qBAAqB;QACrB,wBAAwB;QACxB,8BAA8B;QAC9B,+BAA+B;QAC/B,4BAA4B;QAC5B,yBAAyB;QACzB,6BAA6B;QAC7B,oBAAoB;QACpB,sBAAsB;QACtB,uBAAuB;QACvB,+BAA+B;QAC/B,4BAA4B;QAC5B,uBAAuB;QACvB,4BAA4B;QAC5B,uBAAuB;QACvB,uBAAuB;QACvB,+BAA+B;QAC/B,wBAAwB;QACxB,4BAA4B;QAC5B,4BAA4B;QAC5B,wBAAwB;QACxB,yBAAyB;QACzB,iBAAiB;QACjB,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,0BAA0B;QAC1B,6BAA6B;QAC7B,yBAAyB;QACzB,mBAAmB;QACnB,qBAAqB;QACrB,oBAAoB;QACpB,oBAAoB;QACpB,0BAA0B;QAC1B,0BAA0B;QAC1B,cAAc;QACd,oBAAoB,EA4BlB,uBAAuB"}
1
+ {"version":3,"file":"conversations.module.js","sourceRoot":"","sources":["../../src/lib/conversations.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,mBAAmB;AACnB,OAAO,EAAE,YAAY,EAAE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,qBAAqB;QACrB,oBAAoB;QACpB,oBAAoB;QACpB,0BAA0B;QAC1B,0BAA0B;QAC1B,cAAc;QACd,oBAAoB,EA+BlB,uBAAuB;QACvB,wBAAwB;QACxB,sBAAsB"}
@@ -1,3 +1,31 @@
1
+ import { ArtifactEntity, ArtifactVersionEntity, AIAgentRunEntityExtended } from '@memberjunction/core-entities';
2
+ /**
3
+ * Peripheral data loaded for a conversation detail message
4
+ * Contains related entities like agent runs and artifacts
5
+ */
6
+ export interface ConversationDetailPeripheralData {
7
+ /** Agent run information if this message was generated by an agent */
8
+ agentRun?: AIAgentRunEntityExtended;
9
+ /** Artifact information if this message has an output artifact */
10
+ artifact?: {
11
+ /** The artifact entity */
12
+ artifact: ArtifactEntity;
13
+ /** The specific version of the artifact */
14
+ version: ArtifactVersionEntity;
15
+ };
16
+ }
17
+ /**
18
+ * Type-safe maps for peripheral data indexed by ConversationDetailID
19
+ */
20
+ export interface PeripheralDataMaps {
21
+ /** Map of ConversationDetailID -> AIAgentRun */
22
+ agentRunsByDetailId: Map<string, AIAgentRunEntityExtended>;
23
+ /** Map of ConversationDetailID -> {artifact, version} */
24
+ artifactsByDetailId: Map<string, {
25
+ artifact: ArtifactEntity;
26
+ version: ArtifactVersionEntity;
27
+ }>;
28
+ }
1
29
  /**
2
30
  * Represents an active agent process
3
31
  */
@@ -32,7 +60,7 @@ export interface PublicLinkOptions {
32
60
  /**
33
61
  * Tab types for the main navigation
34
62
  */
35
- export type NavigationTab = 'conversations' | 'collections';
63
+ export type NavigationTab = 'conversations' | 'collections' | 'tasks';
36
64
  /**
37
65
  * Layout modes for the workspace
38
66
  */
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-state.model.d.ts","sourceRoot":"","sources":["../../../src/lib/models/conversation-state.model.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM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Q,EAAE,OAAO,EAAE,CAAC;IACpB,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,OAAO,EAAE,CAAC;CACzB"}
1
+ {"version":3,"file":"conversation-state.model.d.ts","sourceRoot":"","sources":["../../../src/lib/models/conversation-state.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EAIzB,MAAM,+BAA+B,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C,sEAAsE;IACtE,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,kEAAkE;IAClE,QAAQ,CAAC,EAAE;QACT,0BAA0B;QAC1B,QAAQ,EAAE,cAAc,CAAC;QACzB,2CAA2C;QAC3C,OAAO,EAAE,qBAAqB,CAAC;KAChC,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,gDAAgD;IAChD,mBAAmB,EAAE,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;IAC3D,yDAAyD;IACzD,mBAAmB,EAAE,GAAG,CAAC,MAAM,EAAE;QAC/B,QAAQ,EAAE,cAAc,CAAC;QACzB,OAAO,EAAE,qBAAqB,CAAC;KAChC,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,aAAa,GAAG,OAAO,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,WAAW,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,OAAO,EAAE,CAAC;CACzB"}
@@ -4,7 +4,7 @@ import { AIAgentEntityExtended, ConversationDetailEntity } from '@memberjunction
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Service for managing agent interactions within conversations.
7
- * Handles communication with the ambient Conversation Manager Agent and other agents.
7
+ * Handles communication with the ambient Sage Agent and other agents.
8
8
  */
9
9
  export declare class ConversationAgentService {
10
10
  private _aiClient;
@@ -21,7 +21,7 @@ export declare class ConversationAgentService {
21
21
  */
22
22
  private initializeAIClient;
23
23
  /**
24
- * Get or load the Conversation Manager Agent
24
+ * Get or load the Sage Agent (formerly Conversation Manager Agent)
25
25
  */
26
26
  getConversationManagerAgent(): Promise<AIAgentEntityExtended | null>;
27
27
  /**
@@ -29,7 +29,7 @@ export declare class ConversationAgentService {
29
29
  */
30
30
  private getSessionId;
31
31
  /**
32
- * Process a message through the ambient Conversation Manager Agent.
32
+ * Process a message through the ambient Sage Agent.
33
33
  * This should be called for every message sent in a conversation.
34
34
  *
35
35
  * @param conversationId The conversation ID
@@ -42,6 +42,7 @@ export declare class ConversationAgentService {
42
42
  processMessage(conversationId: string, message: ConversationDetailEntity, conversationHistory: ConversationDetailEntity[], conversationDetailId: string, onProgress?: AgentExecutionProgressCallback): Promise<ExecuteAgentResult | null>;
43
43
  /**
44
44
  * Build the message array for the agent from conversation history
45
+ * Note: conversationHistory already includes the current message, so we don't add it separately
45
46
  */
46
47
  private buildAgentMessages;
47
48
  /**
@@ -55,8 +56,8 @@ export declare class ConversationAgentService {
55
56
  */
56
57
  private isTaggingOthers;
57
58
  /**
58
- * Invoke a sub-agent based on Conversation Manager Agent's payload.
59
- * This is called when the Conversation Manager decides to delegate to a specialist agent.
59
+ * Invoke a sub-agent based on Sage Agent's payload.
60
+ * This is called when Sage decides to delegate to a specialist agent.
60
61
  *
61
62
  * @param agentName Name of the agent to invoke
62
63
  * @param conversationId The conversation ID
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-agent.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/conversation-agent.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AAInD,OAAO,EAAsB,kBAAkB,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAGtH,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAA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AAkB,GAAG,IAAI,CAAC;IAsDrC;;OAEG;IACH,YAAY,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI;yCArR/B,wBAAwB;6CAAxB,wBAAwB;CAwRpC"}
@@ -7,7 +7,7 @@ import { MJNotificationService } from '@memberjunction/ng-notifications';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Service for managing agent interactions within conversations.
10
- * Handles communication with the ambient Conversation Manager Agent and other agents.
10
+ * Handles communication with the ambient Sage Agent and other agents.
11
11
  */
12
12
  export class ConversationAgentService {
13
13
  _aiClient = null;
@@ -39,7 +39,7 @@ export class ConversationAgentService {
39
39
  }
40
40
  }
41
41
  /**
42
- * Get or load the Conversation Manager Agent
42
+ * Get or load the Sage Agent (formerly Conversation Manager Agent)
43
43
  */
44
44
  async getConversationManagerAgent() {
45
45
  if (this._conversationManagerAgent) {
@@ -48,19 +48,19 @@ export class ConversationAgentService {
48
48
  try {
49
49
  // Ensure AIEngineBase is configured
50
50
  await AIEngineBase.Instance.Config(false);
51
- // Find the Conversation Manager Agent
51
+ // Find the Sage Agent
52
52
  const agents = AIEngineBase.Instance.Agents;
53
- this._conversationManagerAgent = agents.find((agent) => agent.Name === 'Conversation Manager Agent') || null;
53
+ this._conversationManagerAgent = agents.find((agent) => agent.Name === 'Sage') || null;
54
54
  if (!this._conversationManagerAgent) {
55
- const errorMsg = 'Conversation Manager Agent not found in AIEngineBase.Agents';
55
+ const errorMsg = 'Sage Agent not found in AIEngineBase.Agents';
56
56
  console.warn(errorMsg);
57
57
  MJNotificationService.Instance?.CreateSimpleNotification(errorMsg, 'error', 5000);
58
58
  }
59
59
  return this._conversationManagerAgent;
60
60
  }
61
61
  catch (error) {
62
- const errorMsg = 'Error loading Conversation Manager Agent: ' + (error instanceof Error ? error.message : String(error));
63
- console.error('Error loading Conversation Manager Agent:', error);
62
+ const errorMsg = 'Error loading Sage Agent: ' + (error instanceof Error ? error.message : String(error));
63
+ console.error('Error loading Sage Agent:', error);
64
64
  MJNotificationService.Instance?.CreateSimpleNotification(errorMsg, 'error', 5000);
65
65
  return null;
66
66
  }
@@ -76,7 +76,7 @@ export class ConversationAgentService {
76
76
  return this._sessionIds.get(conversationId);
77
77
  }
78
78
  /**
79
- * Process a message through the ambient Conversation Manager Agent.
79
+ * Process a message through the ambient Sage Agent.
80
80
  * This should be called for every message sent in a conversation.
81
81
  *
82
82
  * @param conversationId The conversation ID
@@ -97,7 +97,7 @@ export class ConversationAgentService {
97
97
  }
98
98
  const agent = await this.getConversationManagerAgent();
99
99
  if (!agent || !agent.ID) {
100
- const errorMsg = 'Conversation Manager Agent not available';
100
+ const errorMsg = 'Sage Agent not available';
101
101
  console.warn(errorMsg);
102
102
  MJNotificationService.Instance?.CreateSimpleNotification(errorMsg, 'warning', 5000);
103
103
  return null;
@@ -106,7 +106,8 @@ export class ConversationAgentService {
106
106
  // Indicate agent is processing
107
107
  this._isProcessing$.next(true);
108
108
  // Build conversation messages for the agent
109
- const conversationMessages = this.buildAgentMessages(conversationHistory, message);
109
+ // Note: conversationHistory already includes the current message
110
+ const conversationMessages = this.buildAgentMessages(conversationHistory);
110
111
  // Prepare parameters using the correct ExecuteAgentParams type
111
112
  const availAgents = AIEngineBase.Instance.Agents.filter(a => a.ID !== agent.ID && !a.ParentID && a.Status === 'Active');
112
113
  const params = {
@@ -143,10 +144,12 @@ export class ConversationAgentService {
143
144
  }
144
145
  /**
145
146
  * Build the message array for the agent from conversation history
147
+ * Note: conversationHistory already includes the current message, so we don't add it separately
146
148
  */
147
- buildAgentMessages(history, currentMessage) {
149
+ buildAgentMessages(history) {
148
150
  const messages = [];
149
151
  // Add historical messages (limit to recent context, e.g., last 20 messages)
152
+ // History already includes the current message from the caller
150
153
  const recentHistory = history.slice(-20);
151
154
  for (const msg of recentHistory) {
152
155
  messages.push({
@@ -154,11 +157,6 @@ export class ConversationAgentService {
154
157
  content: msg.Message || ''
155
158
  });
156
159
  }
157
- // Add the current message
158
- messages.push({
159
- role: this.mapRoleToAgentRole(currentMessage.Role),
160
- content: currentMessage.Message || ''
161
- });
162
160
  return messages;
163
161
  }
164
162
  /**
@@ -183,8 +181,8 @@ export class ConversationAgentService {
183
181
  return false;
184
182
  }
185
183
  /**
186
- * Invoke a sub-agent based on Conversation Manager Agent's payload.
187
- * This is called when the Conversation Manager decides to delegate to a specialist agent.
184
+ * Invoke a sub-agent based on Sage Agent's payload.
185
+ * This is called when Sage decides to delegate to a specialist agent.
188
186
  *
189
187
  * @param agentName Name of the agent to invoke
190
188
  * @param conversationId The conversation ID
@@ -216,7 +214,8 @@ export class ConversationAgentService {
216
214
  }
217
215
  console.log(`🎯 Invoking sub-agent: ${agentName}`, { reasoning, hasPayload: !!payload });
218
216
  // Build conversation messages for the sub-agent
219
- const conversationMessages = this.buildAgentMessages(conversationHistory, message);
217
+ // Note: conversationHistory already includes the current message
218
+ const conversationMessages = this.buildAgentMessages(conversationHistory);
220
219
  // Prepare parameters with optional payload and progress callback
221
220
  const params = {
222
221
  agent: agent,
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-agent.service.js","sourceRoot":"","sources":["../../../src/lib/services/conversation-agent.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,eAAe,EAAc,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;AAEzE;;;GAGG;AAIH,MAAM,OAAO,wBAAwB;IAC3B,SAAS,GAA2B,IAAI,CAAC;IACzC,yBAAyB,GAAiC,IAAI,CAAC;IAC/D,WAAW,GAAwB,IAAI,GAAG,EAAE,CAAC,CAAC,8BAA8B;IAC5E,cAAc,GAAG,IAAI,eAAe,CAAU,K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,CAAC;YAClF,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,cAAsB;QACjC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IAC1C,CAAC;kFA1RU,wBAAwB;gEAAxB,wBAAwB,WAAxB,wBAAwB,mBAFvB,MAAM;;iFAEP,wBAAwB;cAHpC,UAAU;eAAC;gBACV,UAAU,EAAE,MAAM;aACnB"}
1
+ {"version":3,"file":"conversation-agent.service.js","sourceRoot":"","sources":["../../../src/lib/services/conversation-agent.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,eAAe,EAAc,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;AAEzE;;;GAGG;AAIH,MAAM,OAAO,wBAAwB;IAC3B,SAAS,GAA2B,IAAI,CAAC;IACzC,yBAAyB,GAAiC,IAAI,CAAC;IAC/D,WAAW,GAAwB,IAAI,GAAG,EAAE,CAAC,CAAC,8BAA8B;IAC5E,cAAc,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC,CAAC;IAE7D;;OAEG;IACa,aAAa,GAAwB,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC;IAExF;QACE,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAED;;OAEG;IACK,kBAAkB;QACxB,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,QAAQ,CAAC,QAA+B,CAAC;YAC1D,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,CAAC,SAAS,GAAG,IAAI,eAAe,CAAC,QAAQ,CAAC,CA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