feat: Implement Claude-mem MCP Search Server with session and observation search capabilities

- Added search functionality for observations and sessions using full-text search.
- Implemented formatting functions for search results with citations.
- Created multiple tools for searching by various criteria including concept, file, type, and advanced search.
- Integrated structured filters and pagination options for search queries.
- Established error handling for search operations and server initialization.
This commit is contained in:
Alex Newman
2025-10-18 20:45:41 -04:00
parent 115270c35e
commit 56167c47a2
15 changed files with 651 additions and 1349 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env bun
#!/usr/bin/env node
/**
* Transcript Replay Tool
*
@@ -197,7 +197,7 @@ async function replayTranscript(transcriptPath: string, projectName: string = 'c
// Spawn worker exactly as production hooks do
const workerPath = join(process.cwd(), 'scripts/hooks/worker.js');
const worker = spawn('bun', [workerPath, String(sessionId)], {
const worker = spawn('node', [workerPath, String(sessionId)], {
detached: false, // Keep attached to see errors
stdio: ['ignore', 'pipe', 'pipe'] // Pipe output to see what's happening
});