From bec05b07acf0d93eec6c18cac65d4b2ff8fcfcf3 Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Sat, 20 Dec 2025 20:39:07 -0500 Subject: [PATCH] fix: add missing formatDateTime import in SearchManager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The get_context_timeline mem-search function was broken due to formatDateTime being used but not imported from timeline-formatting.ts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .claude-plugin/marketplace.json | 2 +- package.json | 2 +- plugin/.claude-plugin/plugin.json | 2 +- src/services/worker/SearchManager.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index eee531a8..c710891c 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "claude-mem", - "version": "7.4.4", + "version": "7.4.5", "source": "./plugin", "description": "Persistent memory system for Claude Code - context compression across sessions" } diff --git a/package.json b/package.json index 8c66c929..8a8a5de8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "7.4.4", + "version": "7.4.5", "description": "Memory compression system for Claude Code - persist context across sessions", "keywords": [ "claude", diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 2d28b96d..2bdf1802 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "7.4.4", + "version": "7.4.5", "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", "author": { "name": "Alex Newman" diff --git a/src/services/worker/SearchManager.ts b/src/services/worker/SearchManager.ts index 38e74796..0d43e2dd 100644 --- a/src/services/worker/SearchManager.ts +++ b/src/services/worker/SearchManager.ts @@ -14,7 +14,7 @@ import { FormattingService } from './FormattingService.js'; import { TimelineService, TimelineItem } from './TimelineService.js'; import { ObservationSearchResult, SessionSummarySearchResult, UserPromptSearchResult } from '../sqlite/types.js'; import { logger } from '../../utils/logger.js'; -import { formatDate, formatTime, extractFirstFile, groupByDate, estimateTokens } from '../../shared/timeline-formatting.js'; +import { formatDate, formatTime, formatDateTime, extractFirstFile, groupByDate, estimateTokens } from '../../shared/timeline-formatting.js'; const COLLECTION_NAME = 'cm__claude-mem'; const RECENCY_WINDOW_DAYS = 90;