@dollhousemcp/mcp-server 1.9.12 → 1.9.13
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/CHANGELOG.md +31 -0
- package/README.github.md +68 -0
- package/README.md.backup +49 -1119
- package/dist/elements/memories/MemoryManager.d.ts +31 -0
- package/dist/elements/memories/MemoryManager.d.ts.map +1 -1
- package/dist/elements/memories/MemoryManager.js +98 -15
- package/dist/generated/version.d.ts +2 -2
- package/dist/generated/version.js +3 -3
- package/dist/utils/migrate-legacy-memories.d.ts +35 -0
- package/dist/utils/migrate-legacy-memories.d.ts.map +1 -0
- package/dist/utils/migrate-legacy-memories.js +207 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.9.13] - 2025-09-29
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Memory System Critical Fixes (Issue #1206, PR #1207)**
|
|
7
|
+
- Fixed security scanner false positives preventing legitimate security documentation from loading
|
|
8
|
+
- Memory files with security terms (vulnerability, exploit, attack) now load correctly
|
|
9
|
+
- Local memory files are now pre-trusted (validateContent: false)
|
|
10
|
+
|
|
11
|
+
- Added visible error reporting for failed memory loads
|
|
12
|
+
- Users now see "Failed to load X memories" with detailed error messages
|
|
13
|
+
- New getLoadStatus() diagnostic method for troubleshooting
|
|
14
|
+
|
|
15
|
+
- New legacy memory migration tool (migrate-legacy-memories.ts)
|
|
16
|
+
- Migrates old .md files to .yaml format in date-organized folders
|
|
17
|
+
- Safe archiving of original files, dry-run mode by default
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- **CLI Utility**: migrate-legacy-memories.ts for legacy file migration
|
|
21
|
+
- **Diagnostic Method**: getLoadStatus() for memory loading diagnostics
|
|
22
|
+
- **Error Tracking**: failedLoads tracking in MemoryManager
|
|
23
|
+
|
|
24
|
+
### Code Quality
|
|
25
|
+
- Fixed SonarCloud S3776: Reduced cognitive complexity in getLoadStatus()
|
|
26
|
+
- Fixed SonarCloud S3358: Replaced nested ternary with if-else chain
|
|
27
|
+
- Fixed SonarCloud S7785: Use top-level await instead of promise chain
|
|
28
|
+
- Extracted handleLoadFailure() to eliminate code duplication
|
|
29
|
+
- Use os.homedir() for cross-platform reliability
|
|
30
|
+
|
|
31
|
+
### Security
|
|
32
|
+
- Fixed DMCP-SEC-004: Added Unicode normalization to CLI input validation
|
|
33
|
+
|
|
3
34
|
## [1.9.12] - 2025-09-29
|
|
4
35
|
|
|
5
36
|
### Fixed
|
package/README.github.md
CHANGED
|
@@ -873,6 +873,74 @@ For detailed guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
|
873
873
|
|
|
874
874
|
## 🏷️ Version History
|
|
875
875
|
|
|
876
|
+
### v1.9.13 - September 29, 2025
|
|
877
|
+
|
|
878
|
+
**Memory System Critical Fixes**: Security scanner improvements and enhanced error reporting
|
|
879
|
+
|
|
880
|
+
#### 🔧 Fixed
|
|
881
|
+
- **Security Scanner False Positives** - Fixed memory system rejecting legitimate security documentation (#1206, #1207)
|
|
882
|
+
- Memory files with security terms (vulnerability, exploit, attack) now load correctly
|
|
883
|
+
- Local memory files are now pre-trusted (validateContent: false)
|
|
884
|
+
- **Silent Error Reporting** - Added visible error reporting for failed memory loads
|
|
885
|
+
- Users now see "Failed to load X memories" with detailed error messages
|
|
886
|
+
- New getLoadStatus() diagnostic method for troubleshooting
|
|
887
|
+
- **Legacy Memory Migration** - New migration tool for old .md files
|
|
888
|
+
- Migrates to .yaml format in date-organized folders
|
|
889
|
+
- Safe archiving of original files, dry-run mode by default
|
|
890
|
+
|
|
891
|
+
#### ✨ Added
|
|
892
|
+
- CLI Utility: migrate-legacy-memories.ts for legacy file migration
|
|
893
|
+
- Diagnostic Method: getLoadStatus() for memory loading diagnostics
|
|
894
|
+
- Error Tracking: failedLoads tracking in MemoryManager
|
|
895
|
+
|
|
896
|
+
#### 🛠️ Code Quality
|
|
897
|
+
- Fixed SonarCloud S3776: Reduced cognitive complexity in getLoadStatus()
|
|
898
|
+
- Fixed SonarCloud S3358: Replaced nested ternary with if-else chain
|
|
899
|
+
- Fixed SonarCloud S7785: Use top-level await instead of promise chain
|
|
900
|
+
- Extracted handleLoadFailure() to eliminate code duplication
|
|
901
|
+
- Use os.homedir() for cross-platform reliability
|
|
902
|
+
|
|
903
|
+
#### 🔒 Security
|
|
904
|
+
- Fixed DMCP-SEC-004: Added Unicode normalization to CLI input validation
|
|
905
|
+
|
|
906
|
+
#### 📊 Statistics
|
|
907
|
+
- 3 Critical fixes merged in PR #1207
|
|
908
|
+
- 7 Code quality issues resolved
|
|
909
|
+
- 1 Security issue fixed
|
|
910
|
+
- Quality Gate: PASSING
|
|
911
|
+
- Test Coverage: >96% maintained
|
|
912
|
+
|
|
913
|
+
---
|
|
914
|
+
|
|
915
|
+
### v1.9.12 - September 29, 2025
|
|
916
|
+
|
|
917
|
+
**Memory System Stability**: Portfolio index and test isolation improvements
|
|
918
|
+
|
|
919
|
+
#### 🔧 Fixed
|
|
920
|
+
- **Memory Metadata Preservation** - Fixed PortfolioIndexManager overwriting memory metadata (#1196, #1197)
|
|
921
|
+
- Memory descriptions now properly preserved instead of "Memory element"
|
|
922
|
+
- **Test Isolation** - Fixed memory portfolio index tests contaminating real user portfolio (#1194, #1195)
|
|
923
|
+
- Tests now use temporary directories
|
|
924
|
+
- Added security validation for memory YAML parsing (size limits, type checking)
|
|
925
|
+
- **ElementFormatter Tool** - Added tool for cleaning malformed elements (#1190, #1193)
|
|
926
|
+
|
|
927
|
+
#### 🛠️ Code Quality
|
|
928
|
+
- Fixed SonarCloud S7781: Use String#replaceAll() for modern string replacement
|
|
929
|
+
- Fixed SonarCloud S1135: Removed TODO comments, documented test isolation patterns
|
|
930
|
+
|
|
931
|
+
#### 🔒 Security
|
|
932
|
+
- Added content size validation (1MB limit) for memory YAML parsing
|
|
933
|
+
- Added type safety validation for parsed memory content
|
|
934
|
+
- Documented security trade-offs with audit suppressions
|
|
935
|
+
|
|
936
|
+
#### 📊 Statistics
|
|
937
|
+
- Memory portfolio index tests: 8/8 passing (was 3/8)
|
|
938
|
+
- Closed issues: #1196, #1194, #1190, #659, #404, #919
|
|
939
|
+
- Quality Gate: PASSING
|
|
940
|
+
- Test Coverage: >96% maintained
|
|
941
|
+
|
|
942
|
+
---
|
|
943
|
+
|
|
876
944
|
### v1.9.11 - September 28, 2025
|
|
877
945
|
|
|
878
946
|
**SonarCloud Quality & Security**: Major code quality improvements and security fixes
|