LearnNewsExamplesServices
Frontmatter
id7545
titleConvert summaryService to SummaryService Neo.mjs Class
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 18, 2025, 3:44 PM
updatedAtOct 18, 2025, 3:50 PM
githubUrlhttps://github.com/neomjs/neo/issues/7545
authortobiu
commentsCount0
parentIssue7536
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 18, 2025, 3:50 PM

Convert summaryService to SummaryService Neo.mjs Class

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 18, 2025, 3:44 PM

This ticket covers refactoring ai/mcp/server/memory-core/services/summaryService.mjs into a singleton class that extends Neo.core.Base. The file will also be renamed to SummaryService.mjs to follow a more consistent naming convention. This service handles deleting, listing, and querying session summaries.

Acceptance Criteria

  1. A new file ai/mcp/server/memory-core/services/SummaryService.mjs is created with the refactored SummaryService class content.
  2. The SummaryService class extends Neo.core.Base and is configured as a singleton.
  3. Existing functions (deleteAllSummaries, listSummaries, querySummaries) are converted into class methods.
  4. The old file ai/mcp/server/memory-core/services/summaryService.mjs is deleted.
  5. The ai/mcp/server/memory-core/services/toolService.mjs is updated to import the SummaryService singleton and map its methods.
  6. Any other services that depend on summaryService are updated to use the new SummaryService singleton instance.
  7. All related tools (e.g., delete_all_summaries, get_all_summaries, query_summaries) continue to function correctly after the refactoring.
tobiu assigned to @tobiu on Oct 18, 2025, 3:44 PM
tobiu added parent issue #7536 on Oct 18, 2025, 3:44 PM
tobiu added the enhancement label on Oct 18, 2025, 3:44 PM
tobiu added the ai label on Oct 18, 2025, 3:44 PM
tobiu referenced in commit 92e7e94 - "#7545 renamed the service first" on Oct 18, 2025, 3:45 PM
tobiu referenced in commit 1ac045c - "Convert summaryService to SummaryService Neo.mjs Class #7545" on Oct 18, 2025, 3:50 PM
tobiu closed this issue on Oct 18, 2025, 3:50 PM