@danielsimonjr/memory-mcp 11.1.0 → 11.1.1
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.
- package/package.json +1 -1
- package/dist/memory.jsonl +0 -161
package/package.json
CHANGED
package/dist/memory.jsonl
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
{"type":"entity","name":"memory-mcp","entityType":"project","observations":["Enhanced MCP memory server with 54 tools (vs 11 in official version)","Version 9.1.0 released on 2026-01-03","Provides knowledge graph storage with hierarchical organization","Supports JSONL and SQLite storage backends","Features: entity CRUD, relations, observations, tags, hierarchy, search (basic/boolean/fuzzy/ranked/semantic), graph algorithms, import/export, archiving, compression","1803 tests passing with 87% coverage","Built with TypeScript, Vitest, Zod, better-sqlite3","Located at C:/mcp-servers/memory-mcp","Version 9.6.1 released on 2026-01-05 - bug fix release","Fixed find_shortest_path and find_all_paths graph traversal bugs","2267 tests passing with 92.78% coverage","Source structure: 53 TypeScript files across core/ (11), features/ (7), search/ (13), server/ (4), types/ (2), utils/ (12), workers/ (3)","Dependencies: @modelcontextprotocol/sdk ^1.21.1, @danielsimonjr/workerpool, better-sqlite3 ^11.7.0, zod ^4.1.13","v9.6.2: Relocated default memory file location from dist/ to project root","v9.6.2: Migration tool now checks legacy dist/ location for source files","v9.6.2: Added timestamp validation to migration tool with warnings for missing values","v9.6.2: Migration tool uses explicit null/undefined checks to preserve original timestamps","v9.6.2: Relocated default memory file path from dist/ to project root","v9.6.2: Migration tool checks legacy dist/ location for source files","v9.6.2: Added timestamp validation with warnings for missing values","v9.6.2: Added memory graph update step to /COMMIT workflow","2026-01-05: Created PHASE_10_IMPROVEMENT_PLAN.md with 14 tasks across 4 sprints covering Transaction Batching API, Graph Change Events, Incremental TF-IDF Index, and Query Cost Estimation","2026-01-05: Created PHASE_9B_IMPROVEMENT_PLAN.md - TaskScheduler integration plan with 10 tasks across 3 sprints for progress tracking and cancellation support","2026-01-05: Built create-dependency-graph.exe tool (38.5MB) and updated dependency graph documentation","Version 9.8.1 released on 2026-01-07 - Architecture documentation overhaul","55 MCP tools (added search_auto in 9.8.0)","58 TypeScript source files, 22,608 lines of code","96.6% test coverage (56/58 source files tested by 74 test files)","Source structure: core/ (12), server/ (4), search/ (15), features/ (7), types/ (2), utils/ (15), workers/ (2)","55 classes, 89 interfaces, 94 functions, 3 enums across codebase","create-dependency-graph tool now supports --include-tests flag for test coverage analysis","2026-01-06: Configured SQLite backend for workerpool project at C:/users/danie/dropbox/github/workerpool/memory.db","2026-01-06: Configured SQLite backend for deepthinking-mcp project at C:/mcp-servers/deepthinking-mcp/memory.db","2026-01-06: Migrated 18 entities and 27 relations from shared memory.jsonl to deepthinking-mcp SQLite","migrate-from-jsonl-to-sqlite tool successfully used for cross-project data migration"],"createdAt":"2026-01-03T04:32:42.776Z","lastModified":"2026-01-07T03:53:18.937Z","tags":["mcp","typescript","knowledge-graph","sqlite","jsonl","vitest"],"importance":10}
|
|
2
|
-
{"type":"entity","name":"memory-mcp-v9.1.0","entityType":"release","observations":["Released 2026-01-03","Major folder restructuring from src/memory/ to src/","Tests moved from src/memory/__tests__/ to tests/","Added custom Vitest per-file reporter with HTML/JSON reports","Three report modes: summary, debug, all (via VITEST_REPORT_MODE)","Fixed file-path.test.ts migration test path resolution","Fixed compression-benchmarks.test.ts timeout (30s to 120s)","Removed npm workspaces pattern - single package at root","Build output now at dist/ instead of src/memory/dist/"],"createdAt":"2026-01-03T04:32:42.776Z","lastModified":"2026-01-05T03:55:08.121Z"}
|
|
3
|
-
{"type":"entity","name":"memory-mcp-v9.0.0","entityType":"release","observations":["Released 2026-01-02","BREAKING: Major folder restructuring","Moved source files from src/memory/ to src/","Moved tests from src/memory/__tests__/ to tests/","Removed npm workspaces pattern","Merged package.json files","Updated tsconfig.json with new paths"],"createdAt":"2026-01-03T04:32:42.776Z","lastModified":"2026-01-03T04:32:42.776Z"}
|
|
4
|
-
{"type":"entity","name":"vitest-reporter","entityType":"component","observations":["Custom Vitest 4.x per-file reporter","Located at tests/test-results/per-file-reporter.js","Generates HTML and JSON reports for each test file","Creates summary reports with coverage data","Three modes: summary, debug, all (default)","Reads coverage from coverage-summary.json","Shows untested files and low coverage files in reports"],"createdAt":"2026-01-03T04:32:42.776Z","lastModified":"2026-01-03T04:32:42.776Z"}
|
|
5
|
-
{"type":"entity","name":"memory-mcp-architecture","entityType":"architecture","observations":["3-layer architecture: MCP Protocol Layer → Managers + Context → Storage Layer","Layer 1: MCPServer.ts (67 lines) + toolDefinitions.ts (920 lines) + toolHandlers.ts (400 lines)","Layer 2: ManagerContext with lazy-init getters for 7 managers (EntityManager, RelationManager, SearchManager, IOManager, TagManager, GraphTraversal, SemanticSearch)","Layer 3: GraphStorage (JSONL + cache) and SQLiteStorage (better-sqlite3)","Key patterns: Context Pattern, Direct Manager Access, Lazy Initialization, Dependency Injection, Handler Registry, Barrel Exports","50 TypeScript source files across 6 modules: core/ (11), features/ (6), search/ (13), server/ (4), types/ (2), utils/ (12)","GraphTraversal methods findShortestPath() and findAllPaths() are async - must await loadGraph() before using storage indexes","getNeighborsWithRelations() filters undefined options to prevent override of defaults","Workers module: levenshteinWorker.ts exports functions for direct testing and workerpool integration","Phase 8 added @danielsimonjr/workerpool for parallel fuzzy search with ESM support","Phase 9 added ObservationIndex for O(1) observation word lookups","58 TypeScript source files across 7 modules","22,608 lines of code total","55 classes, 89 interfaces, 94 functions","96.6% test coverage - 74 test files cover 56 source files","2 untested files are barrel exports (features/index.ts, workers/index.ts)"],"createdAt":"2026-01-03T04:35:22.312Z","lastModified":"2026-01-07T03:04:09.212Z"}
|
|
6
|
-
{"type":"entity","name":"memory-mcp-tools","entityType":"feature-set","observations":["54 MCP tools organized into 13 categories","Entity Operations (4): create_entities, delete_entities, read_graph, open_nodes","Relation Operations (2): create_relations, delete_relations","Observation Management (2): add_observations, delete_observations","Search (6): search_nodes, search_by_date_range, search_nodes_ranked, boolean_search, fuzzy_search, get_search_suggestions","Semantic Search (3): semantic_search, find_similar_entities, index_embeddings","Saved Searches (5): save_search, execute_saved_search, list_saved_searches, delete_saved_search, update_saved_search","Tag Management (6): add_tags, remove_tags, set_importance, add_tags_to_multiple_entities, replace_tag, merge_tags","Tag Aliases (5): add_tag_alias, list_tag_aliases, remove_tag_alias, get_aliases_for_tag, resolve_tag","Hierarchy (9): set_entity_parent, get_children, get_parent, get_ancestors, get_descendants, get_subtree, get_root_entities, get_entity_depth, move_entity","Graph Algorithms (4): find_shortest_path, find_all_paths, get_connected_components, get_centrality","Analytics (2): get_graph_stats, validate_graph","Compression (4): find_duplicates, merge_entities, compress_graph, archive_entities","Import/Export (2): import_graph (3 formats), export_graph (7 formats + compression)","Graph algorithm tools (find_shortest_path, find_all_paths) require async handlers with await","55 MCP tools organized into 14 categories (added search_auto)","Search (7): search_nodes, search_by_date_range, search_nodes_ranked, boolean_search, fuzzy_search, get_search_suggestions, search_auto"],"createdAt":"2026-01-03T04:35:22.312Z","lastModified":"2026-01-07T03:04:09.212Z"}
|
|
7
|
-
{"type":"entity","name":"memory-mcp-performance","entityType":"feature-set","observations":["O(1) read operations via direct cache access","O(1) single-entity writes via append-only file operations","Append-only update pattern with file deduplication on load","In-memory caching with write-through invalidation","50x faster duplicate detection using two-level bucketing","Lazy TF-IDF index loading","Lazy manager initialization (7 managers load on-demand)","Batch operations support via TransactionManager","Handles 2000+ entities efficiently","Phase 4 Search Caching: bidirectional relation cache, RankedSearch token cache, fuzzy search result cache (5min TTL, LRU eviction), boolean search AST cache (50 entries) and result cache (100 entries)","Phase 9 Advanced Optimizations: O(1) observation lookups via ObservationIndex","Pre-computed similarity data for 1.5-2x faster duplicate detection","Reduced graph reloads in compressGraph for 10x I/O improvement","Response compression for large payloads (>256KB) using brotli"],"createdAt":"2026-01-03T04:35:22.312Z","lastModified":"2026-01-05T03:51:33.051Z"}
|
|
8
|
-
{"type":"entity","name":"memory-mcp-standalone-tools","entityType":"component","observations":["Located in tools/ directory","Compiled to Windows executables using pkg","chunking-for-files: Split/merge large files for editing within context limits","compress-for-context: CTON compression for LLM context windows","create-dependency-graph: Generate TypeScript project dependency graphs","migrate-from-jsonl-to-sqlite: Convert between JSONL and SQLite storage formats","migrate-from-jsonl-to-sqlite: Used to migrate shared memory.jsonl data to project-specific SQLite databases","migrate-from-jsonl-to-sqlite: Creates FTS5 full-text search index, WAL mode, and proper schema automatically"],"createdAt":"2026-01-03T04:35:22.312Z","lastModified":"2026-01-07T03:53:18.937Z"}
|
|
9
|
-
{"type":"entity","name":"memory-mcp-v8.57.0","entityType":"release","observations":["Released 2026-01-02","Phase 4 Sprint 10: EmbeddingService interface with OpenAI, Local, and Mock implementations","Phase 4 Sprint 11: VectorStore with InMemoryVectorStore and SQLiteVectorStore","Phase 4 Sprint 12: SemanticSearch class with 3 new MCP tools (semantic_search, find_similar_entities, index_embeddings)","Tool count increased from 51 to 54","Test count increased from 1713 to 1803","Added environment variables: MEMORY_EMBEDDING_PROVIDER, MEMORY_OPENAI_API_KEY, MEMORY_EMBEDDING_MODEL, MEMORY_AUTO_INDEX_EMBEDDINGS"],"createdAt":"2026-01-03T04:35:22.312Z","lastModified":"2026-01-03T04:35:22.312Z"}
|
|
10
|
-
{"type":"entity","name":"memory-mcp-v8.56.0","entityType":"release","observations":["Released 2026-01-02","Phase 4 Sprints 1-5: Search caching (SQLite indexes, bidirectional relation cache, RankedSearch token cache, fuzzy search cache, boolean search AST cache)","Phase 4 Sprints 6-8: GraphTraversal class with BFS, DFS, shortest path, all paths, connected components, centrality algorithms","Phase 4 Sprint 9: 4 new MCP tools for graph algorithms (find_shortest_path, find_all_paths, get_connected_components, get_centrality)","Tool count increased from 47 to 51","Test count: 1713"],"createdAt":"2026-01-03T04:35:22.312Z","lastModified":"2026-01-03T04:35:22.312Z"}
|
|
11
|
-
{"type":"entity","name":"memory-mcp-v9.6.1","entityType":"release","observations":["Released 2026-01-05","Bug fix: findShortestPath() and findAllPaths() now async with proper index loading","Fixed getNeighborsWithRelations() to filter undefined options before merge","Added defensive checks for relationTypes/entityTypes arrays","Updated 9 tests in GraphTraversal.test.ts to use async/await","All 2267 tests passing"],"createdAt":"2026-01-05T03:51:11.160Z","lastModified":"2026-01-05T03:53:32.238Z"}
|
|
12
|
-
{"type":"entity","name":"memory-mcp-v9.5.0","entityType":"release","observations":["Released 2026-01-04","Phase 8: Workerpool Integration - Complete ESM worker support","Replaced custom WorkerPool with @danielsimonjr/workerpool library","Converted levenshteinWorker.ts to use workerpool.worker() format","Updated FuzzySearch.ts to use workerpool.pool() and pool.exec()","30-second timeout per worker task with automatic fallback to single-threaded","Graceful degradation when workers fail"],"createdAt":"2026-01-05T03:53:06.567Z","lastModified":"2026-01-05T03:55:08.121Z"}
|
|
13
|
-
{"type":"entity","name":"memory-mcp-v9.6.0","entityType":"release","observations":["Released 2026-01-04","Phase 9: Advanced Optimizations - CPU-intensive operation improvements","Sprint 1: ObservationIndex - O(1) observation-based searches via inverted index","Sprint 2: Pre-computed similarity data - 1.5-2x faster duplicate detection","Sprint 3: Reduced graph reloads - 10x I/O reduction for compress_graph","Response compression for large payloads (>256KB) using brotli","Removed deprecated WorkerPool.ts","Added levenshteinWorker.test.ts with 37 tests","Consolidated ObservationIndex tests into indexes.test.ts (65 tests total)"],"createdAt":"2026-01-05T03:53:06.567Z","lastModified":"2026-01-05T03:53:06.567Z"}
|
|
14
|
-
{"type":"entity","name":"memory-mcp-v9.2.0","entityType":"release","observations":["Released 2026-01-03","New dedicated test files: HierarchyManager.test.ts (38 tests), ObservationManager.test.ts (28 tests), searchAlgorithms.test.ts (51 tests)","Test file consolidation and reorganization"],"createdAt":"2026-01-05T03:54:51.203Z","lastModified":"2026-01-05T03:54:51.203Z"}
|
|
15
|
-
{"type":"entity","name":"memory-mcp-v9.2.1","entityType":"release","observations":["Released 2026-01-03","Fixed test report cleanup - added cleanupOldReports() to vitest reporter","Prevents accumulation of stale reports from previous runs"],"createdAt":"2026-01-05T03:54:51.203Z","lastModified":"2026-01-05T03:54:51.203Z"}
|
|
16
|
-
{"type":"entity","name":"memory-mcp-v9.2.2","entityType":"release","observations":["Released 2026-01-03","Added /COMMIT slash command for full project commit workflow","Added docs/roadmap/FUTURE_FEATURES.md with performance optimization roadmap","Fixed TypeScript strict mode compliance issues"],"createdAt":"2026-01-05T03:54:51.203Z","lastModified":"2026-01-05T03:54:51.203Z"}
|
|
17
|
-
{"type":"entity","name":"memory-mcp-v9.3.0","entityType":"release","observations":["Released 2026-01-03","Phase 6: Performance Optimization (Quick Wins)","Set-based lookups for deleteEntities - 48% faster bulk deletions","O(1) NameIndex for entity existence checks in addTags/setImportance","Map-based batch updates - 22% improvement on larger batches","Algorithm complexity: deleteEntities O(n×m)→O(n+m), addTags/setImportance O(n)→O(1), batchUpdate O(n×m)→O(n+m)","New tests/performance/optimization-benchmarks.test.ts with 10 benchmark tests"],"createdAt":"2026-01-05T03:54:51.203Z","lastModified":"2026-01-05T03:54:51.203Z"}
|
|
18
|
-
{"type":"entity","name":"memory-mcp-v9.4.0","entityType":"release","observations":["Released 2026-01-04","Phase 7: Scalability & Performance Optimizations","Centrality: Chunked processing, progress callbacks, approximation mode for betweenness","Streaming exports: StreamingExporter for memory-efficient large graph exports (JSONL, CSV)","Auto-streaming for graphs >= 5000 entities","Parallel fuzzy search: Worker pool for 2-4x speedup on large graphs (>= 500 entities)","50-70% memory reduction for large exports"],"createdAt":"2026-01-05T03:54:51.203Z","lastModified":"2026-01-05T03:54:51.203Z"}
|
|
19
|
-
{"type":"entity","name":"memory-mcp-v9.8.1","entityType":"release","observations":["Released 2026-01-07","Architecture documentation overhaul - complete update of all docs with accurate codebase metrics","ARCHITECTURE.md v3.1: 96.6% test coverage, rewrote Testing Strategy section","COMPONENTS.md v3.0: Codebase stats (58 files, 22.6K LOC, 55 classes, 89 interfaces)","OVERVIEW.md v9.8.0: Complete directory structure rewrite with accurate file counts","API.md v3.0: Updated from 47 to 55 tools, added Semantic Search and Graph Algorithms sections","Dependency graph tool: Added --include-tests flag, rebuilt executables","Generated TEST_COVERAGE.md and test-coverage.json"],"createdAt":"2026-01-07T03:04:25.799Z","lastModified":"2026-01-07T03:04:25.799Z"}
|
|
20
|
-
{"type":"entity","name":"memory-mcp-v9.8.0","entityType":"release","observations":["Released 2026-01-06","Phase 10: Search & Storage Optimization","Sprint 1: BatchTransaction class with fluent builder pattern","Sprint 2: GraphEventEmitter for event-driven architecture","Sprint 3: Incremental TF-IDF index updates via TFIDFEventSync","Sprint 4: QueryCostEstimator and search_auto tool","Tool count increased from 54 to 55","All 2493 tests passing"],"createdAt":"2026-01-07T03:04:47.821Z","lastModified":"2026-01-07T03:04:47.821Z"}
|
|
21
|
-
{"type":"entity","name":"memory-mcp-core-layer","entityType":"architecture-layer","observations":["Layer 2 in the 3-layer architecture","Contains 12 TypeScript files in src/core/","ManagerContext holds all managers with lazy initialization using ??= operator","12 lazy-initialized managers: EntityManager, RelationManager, ObservationManager, HierarchyManager, GraphTraversal, SearchManager, SemanticSearch, IOManager, TagManager, AnalyticsManager, CompressionManager, ArchiveManager","GraphStorage provides JSONL file I/O with in-memory caching","SQLiteStorage provides better-sqlite3 backend with FTS5 full-text search","StorageFactory selects backend based on MEMORY_STORAGE_TYPE env var","TransactionManager provides ACID transactions with batch operations","GraphEventEmitter provides event-driven architecture for graph changes"],"createdAt":"2026-01-07T04:00:33.278Z","lastModified":"2026-01-07T04:00:33.278Z","tags":["architecture","core","managers"],"importance":9}
|
|
22
|
-
{"type":"entity","name":"memory-mcp-server-layer","entityType":"architecture-layer","observations":["Layer 1 in the 3-layer architecture - MCP Protocol Layer","Contains 4 TypeScript files in src/server/","MCPServer.ts - Server initialization (67 lines)","toolDefinitions.ts - 55 tool schemas organized by category (920 lines)","toolHandlers.ts - Handler registry and dispatch logic (400+ lines)","responseCompressor.ts - Automatic brotli compression for large responses (>256KB)"],"createdAt":"2026-01-07T04:00:33.278Z","lastModified":"2026-01-07T04:00:33.278Z","tags":["architecture","server","mcp-protocol"],"importance":9}
|
|
23
|
-
{"type":"entity","name":"memory-mcp-storage-layer","entityType":"architecture-layer","observations":["Layer 3 in the 3-layer architecture - Storage Layer","GraphStorage - JSONL format with in-memory caching and write-through invalidation","SQLiteStorage - better-sqlite3 native bindings, 3-10x faster than JSONL","SQLite features: FTS5 full-text search with BM25 ranking, WAL mode, referential integrity","O(1) entity lookups via NameIndex and TypeIndex","Thread-safe with async-mutex concurrency control","ACID transactions with durability guarantees"],"createdAt":"2026-01-07T04:00:33.278Z","lastModified":"2026-01-07T04:00:33.278Z","tags":["architecture","storage","sqlite","jsonl"],"importance":9}
|
|
24
|
-
{"type":"entity","name":"ManagerContext","entityType":"class","observations":["Central context holding all manager instances","Located at src/core/ManagerContext.ts","Uses lazy initialization with ??= operator for on-demand manager creation","Holds 12 manager getters: entityManager, relationManager, observationManager, hierarchyManager, graphTraversal, searchManager, semanticSearch, ioManager, tagManager, analyticsManager, compressionManager, archiveManager","Constructor derives paths for saved searches and tag aliases from memory file path","Aliased as KnowledgeGraphManager in barrel exports for backwards compatibility","Injected with GraphStorage instance"],"createdAt":"2026-01-07T04:00:33.278Z","lastModified":"2026-01-07T04:00:33.278Z","tags":["class","core","context-pattern"],"importance":10}
|
|
25
|
-
{"type":"entity","name":"GraphStorage","entityType":"class","observations":["JSONL storage implementation in src/core/GraphStorage.ts","Provides in-memory caching with write-through invalidation","O(1) read operations via direct cache access","O(1) single-entity writes via append-only file operations","Maintains NameIndex, TypeIndex, RelationIndex, and ObservationIndex","transaction() factory method creates BatchTransaction instances","events getter provides GraphEventEmitter for subscriptions","Supports automatic entity deduplication on load"],"createdAt":"2026-01-07T04:00:33.278Z","lastModified":"2026-01-07T04:00:33.278Z","tags":["class","storage","jsonl","caching"],"importance":9}
|
|
26
|
-
{"type":"entity","name":"SQLiteStorage","entityType":"class","observations":["SQLite storage implementation in src/core/SQLiteStorage.ts","Uses better-sqlite3 native bindings for 3-10x faster performance","FTS5 full-text search with BM25 ranking","WAL mode for better concurrent performance","Foreign key constraints with ON DELETE CASCADE","Automatic FTS sync via triggers (entities_ai, entities_ad, entities_au)","Thread-safe with async-mutex concurrency control","Stores entities, relations, and embeddings in SQLite tables"],"createdAt":"2026-01-07T04:00:33.278Z","lastModified":"2026-01-07T04:00:33.278Z","tags":["class","storage","sqlite","fts5"],"importance":9}
|
|
27
|
-
{"type":"entity","name":"EntityManager","entityType":"class","observations":["Core manager for entity CRUD operations","Located at src/core/EntityManager.ts","createEntities() - Create multiple entities with progress tracking and cancellation support","deleteEntities() - Remove entities with cascade delete of relations (O(n+m) using Set-based lookups)","addTags() - Add tags to entity with O(1) NameIndex lookup","removeTags() - Remove tags from entity","setImportance() - Set entity importance (0-10) with O(1) lookup","batchUpdate() - Map-based batch updates for 22% improvement on larger batches","Supports Phase 9B progress tracking via LongRunningOperationOptions"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","entity-crud"],"importance":9}
|
|
28
|
-
{"type":"entity","name":"RelationManager","entityType":"class","observations":["Core manager for relation CRUD operations","Located at src/core/RelationManager.ts","createRelations() - Create multiple directed relations between entities","deleteRelations() - Remove specific relations from graph","Relations have from, to, relationType, createdAt, lastModified fields","Maintains RelationIndex for O(1) lookups by entity name"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","relation-crud"],"importance":8}
|
|
29
|
-
{"type":"entity","name":"ObservationManager","entityType":"class","observations":["Core manager for observation CRUD operations","Located at src/core/ObservationManager.ts","addObservations() - Add observations to existing entities","deleteObservations() - Remove specific observations from entities","Observations are discrete facts about entities","Maintains ObservationIndex for O(1) word-based lookups","100% test coverage with 28 dedicated tests"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","observation-crud"],"importance":8}
|
|
30
|
-
{"type":"entity","name":"HierarchyManager","entityType":"class","observations":["Core manager for entity hierarchy operations","Located at src/core/HierarchyManager.ts","setEntityParent() - Set or remove parent with automatic cycle detection","getChildren() - Get immediate children of entity","getParent() - Get parent entity or null if root","getAncestors() - Get all ancestors (parent chain to root)","getDescendants() - Get all descendants recursively via BFS","getSubtree() - Get entity + descendants with relations","getRootEntities() - Get all entities with no parent","getEntityDepth() - Get depth in hierarchy (0 = root)","moveEntity() - Move entity to new parent with cycle detection","98.7% test coverage with 38 dedicated tests"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","hierarchy","tree-operations"],"importance":8}
|
|
31
|
-
{"type":"entity","name":"GraphTraversal","entityType":"class","observations":["Core manager for graph traversal algorithms","Located at src/core/GraphTraversal.ts","Added in Phase 4 Sprints 6-8","findShortestPath() - BFS-based shortest path between entities (async)","findAllPaths() - Find all paths with max depth (async, supports AbortSignal)","getConnectedComponents() - Detect isolated subgraphs","getCentrality() - Calculate degree, betweenness, or PageRank centrality","Betweenness centrality supports chunked processing and approximation mode","getNeighborsWithRelations() - Get entity neighbors with optional filters","Uses async methods with await loadGraph() for proper index loading"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","graph-algorithms","bfs","centrality"],"importance":9}
|
|
32
|
-
{"type":"entity","name":"SearchManager","entityType":"class","observations":["Core manager orchestrating all search operations","Located at src/search/SearchManager.ts","Coordinates: BasicSearch, RankedSearch, BooleanSearch, FuzzySearch, SavedSearchManager","searchNodes() - Basic text search with filters","searchNodesByDateRange() - Date range filtering","searchNodesRanked() - TF-IDF relevance ranking","booleanSearch() - AND/OR/NOT logic with field-specific queries","fuzzySearch() - Typo-tolerant Levenshtein matching","autoSearch() - Automatically select optimal search method (Phase 10)","getSearchCostEstimates() - Query cost estimation for all methods","Also provides compression (findDuplicates, mergeEntities, compressGraph) and analytics (getGraphStats, validateGraph)"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","search","orchestrator"],"importance":10}
|
|
33
|
-
{"type":"entity","name":"IOManager","entityType":"class","observations":["Core manager for import, export, and backup operations","Located at src/features/IOManager.ts","Consolidated from ExportManager, ImportManager, BackupManager","exportGraph() - 7 formats: JSON, CSV, GraphML, GEXF, DOT, Markdown, Mermaid","importGraph() - 3 formats: JSON, CSV, GraphML with merge strategies (replace, skip, merge, fail)","createBackup() - Timestamped backups with brotli compression","restoreBackup() - Point-in-time recovery from backup","listBackups() - List available backups with metadata","Supports progress tracking and cancellation via LongRunningOperationOptions","Auto-streaming for graphs >= 5000 entities when outputPath provided"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","import-export","backup"],"importance":8}
|
|
34
|
-
{"type":"entity","name":"TagManager","entityType":"class","observations":["Core manager for tag alias operations","Located at src/features/TagManager.ts","addTagAlias() - Create tag synonym (alias -> canonical)","listTagAliases() - List all tag aliases","removeTagAlias() - Remove a tag alias","getAliasesForTag() - Get all aliases for canonical tag","resolveTag() - Resolve alias to canonical form","Stores aliases in memory-tag-aliases.jsonl","Tags are case-insensitive (normalized to lowercase)"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","tags","aliases"],"importance":7}
|
|
35
|
-
{"type":"entity","name":"AnalyticsManager","entityType":"class","observations":["Core manager for graph analytics","Located at src/features/AnalyticsManager.ts","getGraphStats() - Comprehensive statistics (entity/relation counts, type distributions, date ranges)","validateGraph() - Integrity checks (orphaned relations, duplicates, invalid data)","Validation returns isValid boolean, errors array, and warnings array","Checks: orphaned relations, duplicate entities, invalid data, isolated entities (warning), empty observations (warning)"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","analytics","validation"],"importance":7}
|
|
36
|
-
{"type":"entity","name":"CompressionManager","entityType":"class","observations":["Core manager for duplicate detection and entity merging","Located at src/features/CompressionManager.ts","findDuplicates() - Multi-factor similarity scoring with threshold","Similarity factors: name (40% Levenshtein), type match (30%), observation overlap (20% Jaccard), tag overlap (10%)","mergeEntities() - Merge multiple entities into target, combines observations/tags, keeps highest importance","compressGraph() - Automated detection and merging with dry-run option","Uses pre-computed similarity data for 1.5-2x faster detection (Phase 9)","Optimized with single graph load/save for 10x I/O reduction","Supports progress tracking and cancellation"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","compression","duplicate-detection"],"importance":8}
|
|
37
|
-
{"type":"entity","name":"ArchiveManager","entityType":"class","observations":["Core manager for entity archival","Located at src/features/ArchiveManager.ts","archiveEntities() - Archive based on criteria (OR logic): olderThan, importanceLessThan, tags","Archived entities stored with brotli compression","Supports progress tracking and cancellation via AbortSignal","Returns count of archived entities and their names"],"createdAt":"2026-01-07T04:01:25.395Z","lastModified":"2026-01-07T04:01:25.395Z","tags":["class","manager","archival"],"importance":7}
|
|
38
|
-
{"type":"entity","name":"BasicSearch","entityType":"class","observations":["Text matching search implementation","Located at src/search/BasicSearch.ts","Searches entity names, types, observations, and tags","Case-insensitive matching","Supports filtering by tags, importance range"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search"],"importance":7}
|
|
39
|
-
{"type":"entity","name":"RankedSearch","entityType":"class","observations":["TF-IDF relevance ranking search","Located at src/search/RankedSearch.ts","Uses TFIDFIndexManager for document scoring","Token cache for avoiding repeated tokenization","Returns results with scores and matched fields","Default limit 50, max 200 results"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","tf-idf"],"importance":8}
|
|
40
|
-
{"type":"entity","name":"BooleanSearch","entityType":"class","observations":["Boolean query search with logical operators","Located at src/search/BooleanSearch.ts","Operators: AND, OR, NOT, parentheses for grouping","Field-specific queries: name:, type:, observation:, tag:","Quoted strings for exact phrases","AST cache (50 entries) and result cache (100 entries)","Uses ObservationIndex as fast positive path for simple terms"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","boolean-logic"],"importance":8}
|
|
41
|
-
{"type":"entity","name":"FuzzySearch","entityType":"class","observations":["Typo-tolerant search using Levenshtein distance","Located at src/search/FuzzySearch.ts","Default similarity threshold 0.7 (70% match)","Worker pool for parallel processing (2-4x speedup)","Lazy worker pool initialization to minimize resources","Fallback to single-threaded for small arrays (<200 items) or failures","Result cache with 5-minute TTL and LRU eviction","Uses @danielsimonjr/workerpool for ESM worker support"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","fuzzy","levenshtein"],"importance":8}
|
|
42
|
-
{"type":"entity","name":"SemanticSearch","entityType":"class","observations":["Embedding-based semantic similarity search","Located at src/search/SemanticSearch.ts","Added in Phase 4 Sprints 10-12","semanticSearch() - Find entities by semantic similarity to query","findSimilarEntities() - Find entities similar to reference entity","indexAll() - Build or rebuild embedding index (supports AbortSignal)","Uses EmbeddingService abstraction (OpenAI, Local, or Mock)","Uses VectorStore for vector storage (InMemory or SQLite)","Configurable via MEMORY_EMBEDDING_PROVIDER env var"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","semantic","embeddings"],"importance":9}
|
|
43
|
-
{"type":"entity","name":"TFIDFIndexManager","entityType":"class","observations":["TF-IDF index management for ranked search","Located at src/search/TFIDFIndexManager.ts","Lazy index loading - builds on first search","Phase 10: Incremental updates without full rebuild","addDocument() - Add entity to index","removeDocument() - Remove entity from index","updateDocument() - Update entity in index","Efficient IDF recalculation when document count changes","TFIDFEventSync provides automatic sync via graph events"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","tf-idf","index"],"importance":8}
|
|
44
|
-
{"type":"entity","name":"SavedSearchManager","entityType":"class","observations":["Saved search query persistence","Located at src/search/SavedSearchManager.ts","saveSearch() - Save search with name, query, filters, description","executeSearch() - Execute saved search (updates usage count)","listSearches() - List all saved searches with metadata","deleteSearch() - Delete saved search by name","updateSearch() - Update saved search parameters","Stores in memory-saved-searches.jsonl"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","saved-searches"],"importance":7}
|
|
45
|
-
{"type":"entity","name":"SearchFilterChain","entityType":"class","observations":["Unified filter logic for search operations","Located at src/search/SearchFilterChain.ts","Combines text, tags, importance, and date filters","Used by all search implementations for consistent filtering","48 unit tests for comprehensive coverage"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","filters"],"importance":7}
|
|
46
|
-
{"type":"entity","name":"QueryCostEstimator","entityType":"class","observations":["Query cost estimation for search method selection","Located at src/search/QueryCostEstimator.ts","Added in Phase 10 Sprint 4","Estimates search costs based on query complexity and graph size","Supports 5 search methods: basic, ranked, boolean, fuzzy, semantic","Used by SearchManager.autoSearch() for optimal method selection","31 unit tests for cost estimation logic"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["class","search","optimization","phase-10"],"importance":7}
|
|
47
|
-
{"type":"entity","name":"EmbeddingService","entityType":"interface","observations":["Embedding provider abstraction","Located at src/search/EmbeddingService.ts","Implementations: OpenAIEmbeddingService, LocalEmbeddingService, MockEmbeddingService","createEmbeddingService() factory function","OpenAI: text-embedding-3-small with retry logic","Local: @xenova/transformers with Xenova/all-MiniLM-L6-v2","Mock: Deterministic embeddings for testing","Configured via MEMORY_EMBEDDING_PROVIDER, MEMORY_OPENAI_API_KEY, MEMORY_EMBEDDING_MODEL"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["interface","search","embeddings"],"importance":7}
|
|
48
|
-
{"type":"entity","name":"VectorStore","entityType":"interface","observations":["Vector storage abstraction","Located at src/search/VectorStore.ts","Implementations: InMemoryVectorStore, SQLiteVectorStore","createVectorStore() factory function","cosineSimilarity() utility for vector comparison","InMemoryVectorStore: Fast in-memory storage","SQLiteVectorStore: Persistent storage in SQLite database"],"createdAt":"2026-01-07T04:02:05.232Z","lastModified":"2026-01-07T04:02:05.232Z","tags":["interface","search","vectors"],"importance":7}
|
|
49
|
-
{"type":"entity","name":"memory-mcp-utils","entityType":"module","observations":["Utility module containing 15 TypeScript files","Located at src/utils/","schemas.ts - 26 Zod validation schemas for input validation","constants.ts - Shared constants including SIMILARITY_WEIGHTS","errors.ts - 12 custom error classes","entityUtils.ts - 28 entity helper functions (entity, tag, date, filter, path utilities)","searchAlgorithms.ts - Levenshtein distance and TF-IDF algorithms","formatters.ts - Response formatting and pagination","indexes.ts - 5 index classes (NameIndex, TypeIndex, RelationIndex, ParentIndex, ObservationIndex)","compressionUtil.ts - Brotli compression utilities","compressedCache.ts - LRU cache with compression","operationUtils.ts - Long-running operation utilities (Phase 9B)","taskScheduler.ts - Task queue with priority and rate limiting","searchCache.ts - TTL-based search result caching","logger.ts - Logging utilities"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["module","utilities"],"importance":8}
|
|
50
|
-
{"type":"entity","name":"NameIndex","entityType":"class","observations":["O(1) entity lookup by name","Located at src/utils/indexes.ts","Used for fast entity existence checks","Eliminates unnecessary graph loads in addTags and setImportance"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","index","performance"],"importance":7}
|
|
51
|
-
{"type":"entity","name":"TypeIndex","entityType":"class","observations":["O(1) entity lookup by type","Located at src/utils/indexes.ts","Groups entities by entityType for fast type queries","Used for duplicate detection bucketing (50x faster)"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","index","performance"],"importance":7}
|
|
52
|
-
{"type":"entity","name":"RelationIndex","entityType":"class","observations":["O(1) relation lookup by entity name","Located at src/utils/indexes.ts","Bidirectional relation cache","getRelationsFrom() and getRelationsTo() methods"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","index","performance"],"importance":7}
|
|
53
|
-
{"type":"entity","name":"ObservationIndex","entityType":"class","observations":["O(1) observation word-based lookup","Located at src/utils/indexes.ts","Inverted index mapping words to entity names","Added in Phase 9 Sprint 1","getEntitiesByObservationWord() - Single word lookup","getEntitiesByAnyObservationWord() - OR logic","getEntitiesByAllObservationWords() - AND logic","Used by BooleanSearch as fast positive path","10-50x improvement over linear scan"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","index","performance","phase-9"],"importance":8}
|
|
54
|
-
{"type":"entity","name":"BatchTransaction","entityType":"class","observations":["Fluent builder pattern for batch operations","Located at src/core/TransactionManager.ts","Added in Phase 10 Sprint 1","createEntity() - Queue entity creation","deleteEntity() - Queue entity deletion","createRelation() - Queue relation creation","addObservation() - Queue observation addition","execute() - Atomic execution of all queued operations","Supports validation before execute and stopOnError option","Created via GraphStorage.transaction() factory"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","transactions","phase-10"],"importance":8}
|
|
55
|
-
{"type":"entity","name":"GraphEventEmitter","entityType":"class","observations":["Event-driven architecture for graph changes","Located at src/core/GraphEventEmitter.ts","Added in Phase 10 Sprint 2","Event types: entity:created, entity:updated, entity:deleted, relation:created, relation:deleted, graph:saved, graph:loaded","on() - Subscribe to specific event type","onAny() - Subscribe to all events","once() - One-time subscription","emit() - Emit event with payload","Accessed via GraphStorage.events getter"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","events","phase-10"],"importance":8}
|
|
56
|
-
{"type":"entity","name":"TFIDFEventSync","entityType":"class","observations":["Automatic TF-IDF index sync via graph events","Located at src/search/TFIDFEventSync.ts","Added in Phase 10 Sprint 3","Subscribes to entity:created, entity:updated, entity:deleted events","Triggers incremental TFIDFIndexManager updates","Eliminates need for full index rebuilds"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","search","events","phase-10"],"importance":7}
|
|
57
|
-
{"type":"entity","name":"StreamingExporter","entityType":"class","observations":["Memory-efficient export for large graphs","Located at src/features/StreamingExporter.ts","Added in Phase 7","streamJSONL() - Streaming JSONL export with progress","streamCSV() - Streaming CSV export with progress","Auto-enabled for graphs >= 5000 entities when outputPath provided","50-70% memory reduction for large exports"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["class","export","streaming","phase-7"],"importance":7}
|
|
58
|
-
{"type":"entity","name":"levenshteinWorker","entityType":"worker","observations":["Parallel fuzzy search worker","Located at src/workers/levenshteinWorker.ts","Uses @danielsimonjr/workerpool for ESM support","calculateLevenshteinDistance() - String distance calculation","calculateSimilarity() - Normalized similarity (0-1)","performFuzzyMatch() - Match query against entities","Exports functions for direct testing","30-second timeout per task with fallback"],"createdAt":"2026-01-07T04:02:43.395Z","lastModified":"2026-01-07T04:02:43.395Z","tags":["worker","fuzzy-search","parallel"],"importance":7}
|
|
59
|
-
{"type":"entity","name":"memory-mcp-phase-4","entityType":"development-phase","observations":["Phase 4: Search Caching & Graph Algorithms","Sprints 1-5: Search caching (SQLite indexes, bidirectional relation cache, RankedSearch token cache, fuzzy search cache, boolean search AST cache)","Sprints 6-8: GraphTraversal class with BFS, DFS, shortest path, all paths, connected components, centrality algorithms","Sprint 9: 4 new MCP tools for graph algorithms (find_shortest_path, find_all_paths, get_connected_components, get_centrality)","Sprints 10-12: Semantic search (EmbeddingService, VectorStore, SemanticSearch, 3 new MCP tools)","Increased tool count from 47 to 54"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["development","phase"],"importance":8}
|
|
60
|
-
{"type":"entity","name":"memory-mcp-phase-6","entityType":"development-phase","observations":["Phase 6: Performance Optimization Quick Wins","Set-based lookups for deleteEntities - 48% faster bulk deletions","O(1) NameIndex for entity existence checks in addTags/setImportance","Map-based batch updates - 22% improvement on larger batches","Algorithm complexity improvements: deleteEntities O(n×m)→O(n+m), addTags/setImportance O(n)→O(1), batchUpdate O(n×m)→O(n+m)"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["development","phase","performance"],"importance":7}
|
|
61
|
-
{"type":"entity","name":"memory-mcp-phase-7","entityType":"development-phase","observations":["Phase 7: Scalability & Performance Optimizations","Centrality: Chunked processing, progress callbacks, approximation mode for betweenness","StreamingExporter for memory-efficient large graph exports (JSONL, CSV)","Auto-streaming for graphs >= 5000 entities","Parallel fuzzy search: Worker pool for 2-4x speedup on large graphs (>= 500 entities)","50-70% memory reduction for large exports"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["development","phase","scalability"],"importance":7}
|
|
62
|
-
{"type":"entity","name":"memory-mcp-phase-8","entityType":"development-phase","observations":["Phase 8: Workerpool Integration","Sprint 1: Replaced custom WorkerPool with @danielsimonjr/workerpool library","Sprint 2: Enhanced error handling with 30-second timeout and fallback","Sprint 3: parallelUtils.ts - parallelMap, parallelFilter, getPoolStats","Sprint 4: taskScheduler.ts - TaskQueue with priority, batchProcess, rateLimitedProcess, withRetry","Fixed ESM worker support in Node.js 20+"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["development","phase","workers"],"importance":7}
|
|
63
|
-
{"type":"entity","name":"memory-mcp-phase-9","entityType":"development-phase","observations":["Phase 9: Advanced Optimizations","Sprint 1: ObservationIndex - O(1) observation-based searches via inverted index (10-50x improvement)","Sprint 2: Pre-computed similarity data - 1.5-2x faster duplicate detection","Sprint 3: Reduced graph reloads - 10x I/O reduction for compress_graph","Response compression for large payloads (>256KB) using brotli"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["development","phase","optimization"],"importance":8}
|
|
64
|
-
{"type":"entity","name":"memory-mcp-phase-9b","entityType":"development-phase","observations":["Phase 9B: TaskScheduler Integration","Added progress tracking and cancellation support for long-running operations","LongRunningOperationOptions interface for unified options","OperationCancelledError for cancelled operations","operationUtils.ts: checkCancellation, createProgressReporter, createProgress, executeWithPhases, processBatchesWithProgress","Enhanced operations: EntityManager.createEntities, CompressionManager.findDuplicates/compressGraph, IOManager.importGraph, ArchiveManager.archiveEntities, SemanticSearch.indexAll, TransactionManager.commit, GraphTraversal.findAllPaths, StreamingExporter.stream*","41 new tests, all 2308 tests passing"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["development","phase","progress-tracking"],"importance":8}
|
|
65
|
-
{"type":"entity","name":"memory-mcp-phase-10","entityType":"development-phase","observations":["Phase 10: Search & Storage Optimization","Sprint 1: BatchTransaction class - fluent builder pattern for batch operations","Sprint 2: GraphEventEmitter - event-driven architecture for graph changes","Sprint 3: Incremental TF-IDF index - addDocument, removeDocument, updateDocument without full rebuild","Sprint 4: QueryCostEstimator and search_auto tool for automatic search method selection","Increased tool count from 54 to 55","106 new tests across 4 sprint test files, all 2493 tests passing"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["development","phase","events","transactions"],"importance":9}
|
|
66
|
-
{"type":"entity","name":"memory-mcp-testing","entityType":"feature-set","observations":["Comprehensive test suite with 2493 tests","96.6% source file coverage (56/58 files directly tested by 74 test files)","Test directory structure: unit/, integration/, e2e/, performance/","Most tested files: GraphStorage (45 tests), EntityManager (22 tests)","2 untested files are barrel exports (features/index.ts, workers/index.ts)","Custom Vitest reporter generates HTML and JSON reports","Report modes via VITEST_REPORT_MODE: summary, debug, all","SKIP_BENCHMARKS env var to skip performance tests"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["testing","vitest","coverage"],"importance":8}
|
|
67
|
-
{"type":"entity","name":"memory-mcp-dependencies","entityType":"configuration","observations":["Production dependencies:","@danielsimonjr/workerpool ^10.0.1 - Worker pool for parallel processing","@modelcontextprotocol/sdk ^1.21.1 - MCP protocol implementation","async-mutex ^0.5.0 - Thread-safe concurrency control","better-sqlite3 ^11.7.0 - Native SQLite bindings","zod ^4.1.13 - Schema validation","Development dependencies:","@types/better-sqlite3 ^7.6.12","typescript ^5.6.2","vitest ^4.0.13","@vitest/coverage-v8 ^4.0.13"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["configuration","dependencies"],"importance":7}
|
|
68
|
-
{"type":"entity","name":"memory-mcp-env-vars","entityType":"configuration","observations":["Environment variables:","MEMORY_FILE_PATH - Path to storage file (default: memory.jsonl in cwd)","MEMORY_STORAGE_TYPE - Storage backend: jsonl (default) or sqlite","MEMORY_EMBEDDING_PROVIDER - Embedding provider: openai, local, or none (default)","MEMORY_OPENAI_API_KEY - OpenAI API key (required if provider is openai)","MEMORY_EMBEDDING_MODEL - Model: text-embedding-3-small (OpenAI) or Xenova/all-MiniLM-L6-v2 (local)","MEMORY_AUTO_INDEX_EMBEDDINGS - Auto-index entities: true or false (default)"],"createdAt":"2026-01-07T04:03:35.006Z","lastModified":"2026-01-07T04:03:35.006Z","tags":["configuration","environment"],"importance":7}
|
|
69
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.1.0","relationType":"has_release","createdAt":"2026-01-03T04:32:48.573Z","lastModified":"2026-01-03T04:32:48.573Z"}
|
|
70
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.0.0","relationType":"has_release","createdAt":"2026-01-03T04:32:48.573Z","lastModified":"2026-01-03T04:32:48.573Z"}
|
|
71
|
-
{"type":"relation","from":"memory-mcp","to":"vitest-reporter","relationType":"contains","createdAt":"2026-01-03T04:32:48.573Z","lastModified":"2026-01-03T04:32:48.573Z"}
|
|
72
|
-
{"type":"relation","from":"memory-mcp-v9.1.0","to":"vitest-reporter","relationType":"introduced","createdAt":"2026-01-03T04:32:48.573Z","lastModified":"2026-01-03T04:32:48.573Z"}
|
|
73
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-architecture","relationType":"has_architecture","createdAt":"2026-01-03T04:35:28.958Z","lastModified":"2026-01-03T04:35:28.958Z"}
|
|
74
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-tools","relationType":"provides","createdAt":"2026-01-03T04:35:28.958Z","lastModified":"2026-01-03T04:35:28.958Z"}
|
|
75
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-performance","relationType":"has_feature","createdAt":"2026-01-03T04:35:28.958Z","lastModified":"2026-01-03T04:35:28.958Z"}
|
|
76
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-standalone-tools","relationType":"contains","createdAt":"2026-01-03T04:35:28.958Z","lastModified":"2026-01-03T04:35:28.958Z"}
|
|
77
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v8.57.0","relationType":"has_release","createdAt":"2026-01-03T04:35:28.958Z","lastModified":"2026-01-03T04:35:28.958Z"}
|
|
78
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v8.56.0","relationType":"has_release","createdAt":"2026-01-03T04:35:28.958Z","lastModified":"2026-01-03T04:35:28.958Z"}
|
|
79
|
-
{"type":"relation","from":"memory-mcp-v8.57.0","to":"memory-mcp-v8.56.0","relationType":"succeeds","createdAt":"2026-01-03T04:35:28.958Z","lastModified":"2026-01-03T04:35:28.958Z"}
|
|
80
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.6.1","relationType":"has_release","createdAt":"2026-01-05T03:51:32.536Z","lastModified":"2026-01-05T03:51:32.536Z"}
|
|
81
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.5.0","relationType":"has_release","createdAt":"2026-01-05T03:53:14.256Z","lastModified":"2026-01-05T03:53:14.256Z"}
|
|
82
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.6.0","relationType":"has_release","createdAt":"2026-01-05T03:53:14.256Z","lastModified":"2026-01-05T03:53:14.256Z"}
|
|
83
|
-
{"type":"relation","from":"memory-mcp-v9.6.0","to":"memory-mcp-v9.5.0","relationType":"succeeds","createdAt":"2026-01-05T03:53:14.256Z","lastModified":"2026-01-05T03:53:14.256Z"}
|
|
84
|
-
{"type":"relation","from":"memory-mcp-v9.6.1","to":"memory-mcp-v9.6.0","relationType":"succeeds","createdAt":"2026-01-05T03:53:14.256Z","lastModified":"2026-01-05T03:53:14.256Z"}
|
|
85
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.2.0","relationType":"has_release","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
86
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.2.1","relationType":"has_release","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
87
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.2.2","relationType":"has_release","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
88
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.3.0","relationType":"has_release","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
89
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.4.0","relationType":"has_release","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
90
|
-
{"type":"relation","from":"memory-mcp-v9.2.0","to":"memory-mcp-v9.1.0","relationType":"succeeds","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
91
|
-
{"type":"relation","from":"memory-mcp-v9.2.1","to":"memory-mcp-v9.2.0","relationType":"succeeds","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
92
|
-
{"type":"relation","from":"memory-mcp-v9.2.2","to":"memory-mcp-v9.2.1","relationType":"succeeds","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
93
|
-
{"type":"relation","from":"memory-mcp-v9.3.0","to":"memory-mcp-v9.2.2","relationType":"succeeds","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
94
|
-
{"type":"relation","from":"memory-mcp-v9.4.0","to":"memory-mcp-v9.3.0","relationType":"succeeds","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
95
|
-
{"type":"relation","from":"memory-mcp-v9.5.0","to":"memory-mcp-v9.4.0","relationType":"succeeds","createdAt":"2026-01-05T03:55:01.111Z","lastModified":"2026-01-05T03:55:01.111Z"}
|
|
96
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.8.0","relationType":"has_release","createdAt":"2026-01-07T03:05:03.670Z","lastModified":"2026-01-07T03:05:03.670Z"}
|
|
97
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-v9.8.1","relationType":"has_release","createdAt":"2026-01-07T03:05:03.670Z","lastModified":"2026-01-07T03:05:03.670Z"}
|
|
98
|
-
{"type":"relation","from":"memory-mcp-v9.8.1","to":"memory-mcp-v9.8.0","relationType":"succeeds","createdAt":"2026-01-07T03:05:03.670Z","lastModified":"2026-01-07T03:05:03.670Z"}
|
|
99
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-server-layer","relationType":"has_layer","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
100
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-core-layer","relationType":"has_layer","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
101
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-storage-layer","relationType":"has_layer","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
102
|
-
{"type":"relation","from":"memory-mcp-server-layer","to":"memory-mcp-core-layer","relationType":"calls","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
103
|
-
{"type":"relation","from":"memory-mcp-core-layer","to":"memory-mcp-storage-layer","relationType":"calls","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
104
|
-
{"type":"relation","from":"memory-mcp-core-layer","to":"ManagerContext","relationType":"contains","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
105
|
-
{"type":"relation","from":"ManagerContext","to":"EntityManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
106
|
-
{"type":"relation","from":"ManagerContext","to":"RelationManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
107
|
-
{"type":"relation","from":"ManagerContext","to":"ObservationManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
108
|
-
{"type":"relation","from":"ManagerContext","to":"HierarchyManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
109
|
-
{"type":"relation","from":"ManagerContext","to":"GraphTraversal","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
110
|
-
{"type":"relation","from":"ManagerContext","to":"SearchManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
111
|
-
{"type":"relation","from":"ManagerContext","to":"SemanticSearch","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
112
|
-
{"type":"relation","from":"ManagerContext","to":"IOManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
113
|
-
{"type":"relation","from":"ManagerContext","to":"TagManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
114
|
-
{"type":"relation","from":"ManagerContext","to":"AnalyticsManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
115
|
-
{"type":"relation","from":"ManagerContext","to":"CompressionManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
116
|
-
{"type":"relation","from":"ManagerContext","to":"ArchiveManager","relationType":"manages","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
117
|
-
{"type":"relation","from":"ManagerContext","to":"GraphStorage","relationType":"uses","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
118
|
-
{"type":"relation","from":"memory-mcp-storage-layer","to":"GraphStorage","relationType":"contains","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
119
|
-
{"type":"relation","from":"memory-mcp-storage-layer","to":"SQLiteStorage","relationType":"contains","createdAt":"2026-01-07T04:03:53.813Z","lastModified":"2026-01-07T04:03:53.813Z"}
|
|
120
|
-
{"type":"relation","from":"SearchManager","to":"BasicSearch","relationType":"orchestrates","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
121
|
-
{"type":"relation","from":"SearchManager","to":"RankedSearch","relationType":"orchestrates","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
122
|
-
{"type":"relation","from":"SearchManager","to":"BooleanSearch","relationType":"orchestrates","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
123
|
-
{"type":"relation","from":"SearchManager","to":"FuzzySearch","relationType":"orchestrates","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
124
|
-
{"type":"relation","from":"SearchManager","to":"SavedSearchManager","relationType":"orchestrates","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
125
|
-
{"type":"relation","from":"SearchManager","to":"QueryCostEstimator","relationType":"uses","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
126
|
-
{"type":"relation","from":"RankedSearch","to":"TFIDFIndexManager","relationType":"uses","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
127
|
-
{"type":"relation","from":"SemanticSearch","to":"EmbeddingService","relationType":"uses","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
128
|
-
{"type":"relation","from":"SemanticSearch","to":"VectorStore","relationType":"uses","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
129
|
-
{"type":"relation","from":"FuzzySearch","to":"levenshteinWorker","relationType":"uses","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
130
|
-
{"type":"relation","from":"BooleanSearch","to":"ObservationIndex","relationType":"uses","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
131
|
-
{"type":"relation","from":"TFIDFIndexManager","to":"TFIDFEventSync","relationType":"synced_by","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
132
|
-
{"type":"relation","from":"TFIDFEventSync","to":"GraphEventEmitter","relationType":"subscribes_to","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
133
|
-
{"type":"relation","from":"GraphStorage","to":"GraphEventEmitter","relationType":"emits_events","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
134
|
-
{"type":"relation","from":"GraphStorage","to":"BatchTransaction","relationType":"creates","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
135
|
-
{"type":"relation","from":"GraphStorage","to":"NameIndex","relationType":"maintains","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
136
|
-
{"type":"relation","from":"GraphStorage","to":"TypeIndex","relationType":"maintains","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
137
|
-
{"type":"relation","from":"GraphStorage","to":"RelationIndex","relationType":"maintains","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
138
|
-
{"type":"relation","from":"GraphStorage","to":"ObservationIndex","relationType":"maintains","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
139
|
-
{"type":"relation","from":"IOManager","to":"StreamingExporter","relationType":"uses","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
140
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-utils","relationType":"contains","createdAt":"2026-01-07T04:04:06.988Z","lastModified":"2026-01-07T04:04:06.988Z"}
|
|
141
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-phase-4","relationType":"has_phase","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
142
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-phase-6","relationType":"has_phase","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
143
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-phase-7","relationType":"has_phase","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
144
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-phase-8","relationType":"has_phase","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
145
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-phase-9","relationType":"has_phase","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
146
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-phase-9b","relationType":"has_phase","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
147
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-phase-10","relationType":"has_phase","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
148
|
-
{"type":"relation","from":"memory-mcp-phase-4","to":"GraphTraversal","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
149
|
-
{"type":"relation","from":"memory-mcp-phase-4","to":"SemanticSearch","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
150
|
-
{"type":"relation","from":"memory-mcp-phase-4","to":"EmbeddingService","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
151
|
-
{"type":"relation","from":"memory-mcp-phase-4","to":"VectorStore","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
152
|
-
{"type":"relation","from":"memory-mcp-phase-7","to":"StreamingExporter","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
153
|
-
{"type":"relation","from":"memory-mcp-phase-8","to":"levenshteinWorker","relationType":"enhances","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
154
|
-
{"type":"relation","from":"memory-mcp-phase-9","to":"ObservationIndex","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
155
|
-
{"type":"relation","from":"memory-mcp-phase-10","to":"BatchTransaction","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
156
|
-
{"type":"relation","from":"memory-mcp-phase-10","to":"GraphEventEmitter","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
157
|
-
{"type":"relation","from":"memory-mcp-phase-10","to":"TFIDFEventSync","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
158
|
-
{"type":"relation","from":"memory-mcp-phase-10","to":"QueryCostEstimator","relationType":"introduces","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
159
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-testing","relationType":"has_feature","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
160
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-dependencies","relationType":"has_config","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|
|
161
|
-
{"type":"relation","from":"memory-mcp","to":"memory-mcp-env-vars","relationType":"has_config","createdAt":"2026-01-07T04:04:24.484Z","lastModified":"2026-01-07T04:04:24.484Z"}
|