Releases: JochenYang/Devmind-MCP
Releases · JochenYang/Devmind-MCP
v1.18.6 add intelligent recording guidance to record_context tool
Enhanced
- Intelligent Recording Guidance: Enhanced
record_contexttool with smart usage guidelines- Added "When to Record" section: record after user confirmation, successful solutions, completed features
- Added "When NOT to Record" section: avoid recording during exploration, failed attempts, temporary states
- Emphasized automatic quality filtering (quality_score < 0.6)
- Helps AI make better decisions about when to record context
- Reduces noise and improves memory quality
Changed
- MCP Config Example: Updated autoApprove list to include
record_context- Enables automatic memory recording for MCP client users (who don't have daemon)
- Balances convenience with quality through prompt-based guidance
- Users can manually remove from autoApprove if they prefer manual approval
Technical Details
- Implemented combination approach: Prompt guidance + Quality filtering
- No code logic changes, only tool description enhancement
- Maintains backward compatibility
v1.18.5 clarify project_analysis_engineer prompt file naming instructions
Fixed
- project_analysis_engineer Prompt Clarity: Fixed ambiguous file naming instructions
- Changed from "generate DEVMIND.md style document" to "generate or update DEVMIND.md file"
- Added explicit instructions: file name MUST be
DEVMIND.md(no version suffixes) - Specified incremental update behavior: update existing file instead of creating new ones
- Added instruction to preserve valuable existing content
- Applied same fixes to both DEVMIND.md and CLAUDE.md generation
- Prevents AI from creating duplicate files like
DEVMIND-v2.md
Technical Details
- Enhanced prompt instructions with clear file naming rules
- Added bilingual support (Chinese/English) for all instructions
- Improved documentation generation consistency
v1.18.4 Enhanced memory graph tooltip interaction and layout optimization
Enhanced
- Memory Graph Tooltip Interaction: Significantly improved tooltip usability
- Added hover state tracking to prevent accidental tooltip triggers
- Tooltip only appears when mouse is truly over a node
- Mouse can smoothly move from node to tooltip for scrolling long content
- Intelligent positioning to prevent tooltip from going off-screen
- Added custom scrollbar styling for better visual experience
- Fixed tooltip disappearing immediately when trying to scroll
Improved
- Memory Graph Layout Optimization: Better handling of large node counts
- Dynamic link distance based on node importance (80-180px range)
- Stronger repulsion force for important nodes (-300 to -500)
- Adaptive label spacing based on node importance
- Zone attraction strength decreases as node count increases
- Larger radial distance for zones with many nodes
- Significantly reduced node overlap in dense graphs
Fixed
- Critical: Fixed JavaScript syntax error in generated HTML
- Removed duplicate
}, 500);in setTimeout closure - HTML files now load correctly in all browsers
- Removed duplicate
- Tooltip Interaction: Fixed tooltip disappearing when mouse moves to it
- Added
isMouseOverTooltipflag to track tooltip hover state - Tooltip stays visible when mouse transitions from node to tooltip
- Only hides after mouse leaves both node and tooltip areas
- Added
Technical Details
- Added
currentHoverNodevariable to track active node hover - Added
isMouseOverTooltipflag for tooltip interaction state - Enhanced collision detection with importance-based spacing
- Dynamic force parameters based on zone node density
- Improved tooltip positioning algorithm with boundary detection
Version Skip Declaration
- Due to a push error in 1.18.3, the version number was pushed to 1.18.4
v1.18.2 prevent destructuring errors when arguments are undefined
Fixed
- Fixed critical bug where undefined arguments caused "Cannot destructure property" errors
- Added safe argument handling for all Tool and Prompt calls
- Improved error messages when required parameters are missing
v1.18.1 enhanced tool descriptions and documentation
Improved
- Enhanced tool descriptions for better AI model understanding
- Added comprehensive multi-file context usage examples
- Improved documentation with v1.18.0 feature guidelines
- Optimized tool parameter descriptions for clarity
v1.18.0 Multi-file context support, enhanced search, and intelligent language detection
Added
- Multi-file Context Support: Record and track contexts spanning multiple files
- New
context_filestable for storing file associations - Support for tracking change types, line ranges, and diff statistics per file
- Automatic migration of existing single-file contexts to new system
- Backward compatible with single
file_pathparameter
- New
- Enhanced Search Performance: Multi-dimensional scoring and intelligent caching
- Hybrid scoring combining semantic similarity (40%), keyword matching (30%), quality (20%), and freshness (10%)
- LRU cache with 5-minute TTL for repeated searches
- File-based filtering with new
file_pathparameter insemantic_search - Search result caching with
use_cacheparameter (default: true)
- Parallel Embedding Generation: Significantly faster vector embedding processing
- Configurable concurrency with
concurrencyparameter (default: 5) - Batch processing with automatic error handling
- Performance statistics including processing speed (embeddings/sec)
- Up to 5x speed improvement for large context sets
- Configurable concurrency with
- Intelligent Language Detection: Automatic project language detection for localized auto-recording
- Analyzes code comments to determine project language (Chinese/English)
- Falls back to README detection if comments are insufficient
- Daemon auto-recording messages now use detected language
- Supports bilingual projects with smart detection
Changed
record_contexttool now supportsfiles_changedarray parameter for multi-file recordingsemantic_searchtool enhanced withfile_pathanduse_cacheparametersgenerate_embeddingstool now supports parallel processing withconcurrencyparameter- Database schema extended with
context_filestable and indexes DatabaseManager.createContext()now automatically creates file associations whenfile_pathis provided
Fixed
- Data migration now handles contexts with NULL
file_pathcorrectly - File watcher initialization fixed for ES modules (replaced
requirewith dynamicimport) - CLI and daemon now properly record file associations in
context_filestable - CLI
extractcommand now correctly records line number information for documentation files
Technical
- Added
SearchCacheclass with LRU eviction and TTL support - Added
ContextFileManagerfor managing file-context relationships - Added
LanguageDetectorutility for intelligent project language detection - Implemented multi-dimensional scoring algorithm in
VectorSearchEngine - Added parallel embedding generation methods:
batchGenerateEmbeddingsParallel()andbatchUpdateEmbeddings() - Database migration system for seamless upgrade from v1.17.0
- Lazy initialization pattern for
ContextFileManagerto avoid circular dependencies
v1.17.0 add CLI optimize, backup/restore commands and enhanced monitoring
Added
- CLI Optimize Command: Implemented memory optimization to clean up duplicate and low-quality contexts
devmind optimize <project-id>- Remove duplicates and low-quality contexts--dry-runflag to preview changes without applying- Automatic detection of duplicate contexts (95%+ similarity)
- Removal of low-quality contexts (score < 0.3, older than 60 days)
- CLI Backup/Restore Commands: Full database backup and restore functionality
devmind maintenance backup- Export database to JSONdevmind maintenance restore <file>- Import database from JSON backup--outputflag to specify custom backup location--forceflag to skip confirmation prompts- Automatic user confirmation before overwriting data
- Enhanced Git Monitoring: Improved daemon Git operation tracking
- Real-time monitoring of
.git/refs/headsdirectory - Automatic recording of commit messages, hashes, and changed files
- Records author information and commit metadata
- Real-time monitoring of
- Terminal Command Monitoring: Basic shell history tracking
- Monitors
.bash_historyand.zsh_historyfiles - Whitelist filtering (npm, git, node, python, docker, etc.)
- Automatic sensitive information filtering (passwords, tokens, API keys)
--no-terminalflag to disable terminal monitoring- 5-second polling interval for new commands
- Monitors
Changed
- Database methods extended with optimization and export capabilities
- Daemon monitoring now includes both Git and terminal activity
- CLI commands now provide more detailed output and statistics
Technical
- Added
findDuplicateContexts()method to DatabaseManager - Added
getLowQualityContexts()method to DatabaseManager - Added
deleteContextsBatch()method for efficient bulk deletion - Added
getAllProjects/Sessions/Contexts/Relationships()export methods - Added
clearAllData()method for database reset - Enhanced daemon with configurable monitoring options
v1.16.2 Add type-to-zone mapping for memory graph visualization
Enhanced
- Memory Graph Type-to-Zone Mapping: New context types now automatically map to appropriate visualization zones
- Added
typeToZonemapping system to categorize 22+ context types into 6 visual regions - Code types (
code_create,code_modify,code_refactor, etc.) → Blue Code/Test zone - Bug types (
bug_fix,bug_report,bug_analysis) → Red Error zone - Feature types (
feature_add,feature_update,feature_improvement) → Green Solution zone - Documentation types (
docs_update) → Purple Documentation zone - Configuration types (
dependency_update) → Pink Configuration zone - All 14 new fine-grained types properly cluster in their semantic zones
- Added
v1.16.1 Fix export_memory_graph schema and remove emoji decorators
Fixed
- Critical: Fixed
export_memory_graphtool schema error that caused tool registration failure- Removed incorrect
required: truefromproject_idproperty definition - Tool now correctly registers and can be called by AI assistants
- Removed incorrect
- UI Cleanup: Removed emoji decorators from tool descriptions
update_quality_scores: Removed 🚀 [NEW] prefixexport_memory_graph: Removed 📊 [NEW] prefix- Improves consistency and reduces visual clutter in tool listings
Technical
- JSON Schema compliance:
requiredfield now only atinputSchemalevel - Tool descriptions now follow consistent plain-text format
v1.16.0 Extended context types, enhanced metadata, and multi-file storage fix
Added
-
14 New Context Types:
- Code:
code_create,code_modify,code_delete,code_refactor,code_optimize - Bug:
bug_fix,bug_report - Feature:
feature_add,feature_update,feature_remove - Debug:
debug_session,test_add,test_fix - Docs:
docs_update
- Code:
-
Enhanced Metadata Fields:
- Change tracking:
change_type,change_reason,impact_level - Code analysis:
affected_functions,affected_classes(auto-extracted) - Relations:
related_files,related_issues,related_prs - Business:
business_domain,priority - Stats:
diff_stats,files_changedarray
- Change tracking:
-
Auto-Extraction:
- Detects change types from code comments
- Extracts function/class names (8 languages supported)
- Assesses impact levels automatically
- Parses issue/PR numbers from comments
Changed
- Memory graph now includes all 22 context types in filter dropdown
- Type filter organized into 6 groups: Core Types, Code Changes, Bug Related, Features, Debug & Test, Documentation
- Added Chinese translations for all new types
- Color mapping: new types inherit base type colors (blue/red/green/purple)
Fixed
- Multi-file Context Storage: Fixed
file_pathfield incorrectly storing single file path for multi-file changes- When using
files_changedarray,file_path,line_start, andline_endare now correctly set tonull - Actual file information properly stored in
metadata.files_changed - Enhanced response message now shows all files in multi-file changes with individual diff stats
- Fixes issue where multi-file commits appeared to only touch one file
- When using
Technical
- New
EnhancedContextMetadatainterface - Enhanced
ContentExtractormodule with 7 analysis methods - Zero schema changes (backward compatible)
- Multi-file tracking via
files_changedarray - Auto-aggregation of diff stats across all files
- Auto-population of
related_filesfromfiles_changed