LearnNewsExamplesServices
Frontmatter
id7544
titleConvert sessionService to SessionService Neo.mjs Class
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 18, 2025, 3:23 PM
updatedAtOct 18, 2025, 3:35 PM
githubUrlhttps://github.com/neomjs/neo/issues/7544
authortobiu
commentsCount0
parentIssue7536
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 18, 2025, 3:35 PM

Convert sessionService to SessionService Neo.mjs Class

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

This ticket covers refactoring ai/mcp/server/memory-core/services/sessionService.mjs into a singleton class that extends Neo.core.Base. The file will also be renamed to SessionService.mjs to follow a more consistent naming convention. This service handles summarizing agent sessions.

Acceptance Criteria

  1. The file ai/mcp/server/memory-core/services/sessionService.mjs is renamed to ai/mcp/server/memory-core/services/SessionService.mjs.
  2. The sessionService.mjs module is refactored into a SessionService class.
  3. The SessionService class extends Neo.core.Base and is configured as a singleton.
  4. Existing functions (summarizeSessions, SessionSummarizer's methods) are converted into class methods or integrated into the SessionService class.
  5. The ai/mcp/server/memory-core/services/toolService.mjs is updated to import the SessionService singleton and map its methods.
  6. Any other services that depend on sessionService are updated to use the new SessionService singleton instance.
  7. All related tools (e.g., summarize_sessions) continue to function correctly after the refactoring.
tobiu assigned to @tobiu on Oct 18, 2025, 3:23 PM
tobiu added the enhancement label on Oct 18, 2025, 3:23 PM
tobiu added parent issue #7536 on Oct 18, 2025, 3:23 PM
tobiu added the ai label on Oct 18, 2025, 3:23 PM
tobiu referenced in commit 254c611 - "Convert sessionService to SessionService Neo.mjs Class #7544" on Oct 18, 2025, 3:35 PM
tobiu closed this issue on Oct 18, 2025, 3:35 PM