@dollhousemcp/mcp-server 1.9.7 → 1.9.10
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 +123 -0
- package/README.github.md +84 -3
- package/README.md.backup +84 -3
- package/dist/config/ConfigManager.d.ts +24 -0
- package/dist/config/ConfigManager.d.ts.map +1 -1
- package/dist/config/ConfigManager.js +28 -22
- package/dist/config/ConfigWizardCheck.d.ts.map +1 -1
- package/dist/config/ConfigWizardCheck.js +9 -2
- package/dist/elements/BaseElement.d.ts.map +1 -1
- package/dist/elements/BaseElement.js +9 -2
- package/dist/elements/agents/AgentManager.d.ts +5 -0
- package/dist/elements/agents/AgentManager.d.ts.map +1 -1
- package/dist/elements/agents/AgentManager.js +52 -2
- package/dist/elements/agents/types.d.ts +6 -0
- package/dist/elements/agents/types.d.ts.map +1 -1
- package/dist/elements/agents/types.js +1 -1
- package/dist/elements/memories/Memory.d.ts +6 -0
- package/dist/elements/memories/Memory.d.ts.map +1 -1
- package/dist/elements/memories/Memory.js +86 -11
- package/dist/elements/memories/MemoryManager.d.ts +6 -0
- package/dist/elements/memories/MemoryManager.d.ts.map +1 -1
- package/dist/elements/memories/MemoryManager.js +54 -1
- package/dist/elements/skills/Skill.d.ts +1 -0
- package/dist/elements/skills/Skill.d.ts.map +1 -1
- package/dist/elements/skills/Skill.js +1 -1
- package/dist/elements/skills/SkillManager.d.ts +6 -0
- package/dist/elements/skills/SkillManager.d.ts.map +1 -1
- package/dist/elements/skills/SkillManager.js +62 -2
- package/dist/elements/templates/Template.d.ts +6 -0
- package/dist/elements/templates/Template.d.ts.map +1 -1
- package/dist/elements/templates/Template.js +1 -1
- package/dist/elements/templates/TemplateManager.d.ts.map +1 -1
- package/dist/elements/templates/TemplateManager.js +46 -2
- package/dist/generated/version.d.ts +2 -2
- package/dist/generated/version.d.ts.map +1 -1
- package/dist/generated/version.js +3 -3
- package/dist/handlers/EnhancedIndexHandler.d.ts +69 -0
- package/dist/handlers/EnhancedIndexHandler.d.ts.map +1 -0
- package/dist/handlers/EnhancedIndexHandler.js +394 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +230 -3
- package/dist/persona/PersonaLoader.d.ts +6 -0
- package/dist/persona/PersonaLoader.d.ts.map +1 -1
- package/dist/persona/PersonaLoader.js +62 -1
- package/dist/portfolio/EnhancedIndexManager-fixes.d.ts +9 -0
- package/dist/portfolio/EnhancedIndexManager-fixes.d.ts.map +1 -0
- package/dist/portfolio/EnhancedIndexManager-fixes.js +123 -0
- package/dist/portfolio/EnhancedIndexManager.d.ts +429 -0
- package/dist/portfolio/EnhancedIndexManager.d.ts.map +1 -0
- package/dist/portfolio/EnhancedIndexManager.js +1780 -0
- package/dist/portfolio/GitHubPortfolioIndexer.d.ts.map +1 -1
- package/dist/portfolio/GitHubPortfolioIndexer.js +2 -3
- package/dist/portfolio/NLPScoringManager.d.ts +131 -0
- package/dist/portfolio/NLPScoringManager.d.ts.map +1 -0
- package/dist/portfolio/NLPScoringManager.js +351 -0
- package/dist/portfolio/PortfolioIndexManager.d.ts.map +1 -1
- package/dist/portfolio/PortfolioIndexManager.js +13 -3
- package/dist/portfolio/RelationshipManager.d.ts +133 -0
- package/dist/portfolio/RelationshipManager.d.ts.map +1 -0
- package/dist/portfolio/RelationshipManager.js +503 -0
- package/dist/portfolio/UnifiedIndexManager.d.ts +2 -0
- package/dist/portfolio/UnifiedIndexManager.d.ts.map +1 -1
- package/dist/portfolio/UnifiedIndexManager.js +59 -5
- package/dist/portfolio/VerbTriggerManager.d.ts +127 -0
- package/dist/portfolio/VerbTriggerManager.d.ts.map +1 -0
- package/dist/portfolio/VerbTriggerManager.js +490 -0
- package/dist/portfolio/config/IndexConfig.d.ts +110 -0
- package/dist/portfolio/config/IndexConfig.d.ts.map +1 -0
- package/dist/portfolio/config/IndexConfig.js +391 -0
- package/dist/portfolio/types/RelationshipTypes.d.ts +250 -0
- package/dist/portfolio/types/RelationshipTypes.d.ts.map +1 -0
- package/dist/portfolio/types/RelationshipTypes.js +341 -0
- package/dist/security/audit/config/suppressions.d.ts.map +1 -1
- package/dist/security/audit/config/suppressions.js +105 -1
- package/dist/server/ServerSetup.d.ts.map +1 -1
- package/dist/server/ServerSetup.js +4 -1
- package/dist/server/tools/EnhancedIndexTools.d.ts +18 -0
- package/dist/server/tools/EnhancedIndexTools.d.ts.map +1 -0
- package/dist/server/tools/EnhancedIndexTools.js +122 -0
- package/dist/server/tools/index.d.ts +1 -0
- package/dist/server/tools/index.d.ts.map +1 -1
- package/dist/server/tools/index.js +2 -1
- package/dist/server/types.d.ts +16 -0
- package/dist/server/types.d.ts.map +1 -1
- package/dist/server/types.js +1 -1
- package/dist/sync/PortfolioDownloader.js +2 -2
- package/dist/utils/FileLock.d.ts +38 -0
- package/dist/utils/FileLock.d.ts.map +1 -0
- package/dist/utils/FileLock.js +161 -0
- package/dist/utils/PerformanceMonitor.d.ts.map +1 -1
- package/dist/utils/PerformanceMonitor.js +2 -2
- package/dist/utils/elementId.d.ts +76 -0
- package/dist/utils/elementId.d.ts.map +1 -0
- package/dist/utils/elementId.js +144 -0
- package/dist/utils/securityUtils.d.ts +59 -0
- package/dist/utils/securityUtils.d.ts.map +1 -0
- package/dist/utils/securityUtils.js +96 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,128 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.9.10] - 2025-09-27
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **Enhanced Capability Index** - Major new feature for intelligent element discovery
|
|
7
|
+
- **NLP Scoring System** (PR #1091)
|
|
8
|
+
- Jaccard similarity and Shannon entropy scoring
|
|
9
|
+
- Advanced sampling algorithm for performance
|
|
10
|
+
- Extensible Enhanced Index Manager architecture
|
|
11
|
+
- Verb-based action triggers for natural language queries
|
|
12
|
+
|
|
13
|
+
- **Cross-Element Relationships** (PR #1093)
|
|
14
|
+
- GraphRAG-style relationship mapping between elements
|
|
15
|
+
- Automatic discovery of element dependencies and connections
|
|
16
|
+
|
|
17
|
+
- **Comprehensive Trigger Extraction** - Extended to all element types
|
|
18
|
+
- Memory elements trigger extraction (PR #1133, Issue #1124)
|
|
19
|
+
- Skills elements trigger extraction (PR #1136, Issue #1121)
|
|
20
|
+
- Template elements trigger extraction (PR #1137, Issue #1122)
|
|
21
|
+
- Agent elements trigger extraction (PR #1138, Issue #1123)
|
|
22
|
+
- Comprehensive trigger extraction documentation (PR #1135)
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
- **Enhanced Index Stability**
|
|
26
|
+
- Fixed verb extraction with comprehensive configuration support (PR #1125)
|
|
27
|
+
- Fixed undefined metadata handling in EnhancedIndexManager (PR #1110)
|
|
28
|
+
- Fixed loadIndex error and Docker Hub rate limits (PR #1107)
|
|
29
|
+
- Improved type safety in relationship parsing (PR #1106, Issue #1103)
|
|
30
|
+
- Fixed caching issues and added error boundaries (PR #1098)
|
|
31
|
+
- Enhanced trigger validation for Skills and Memories (PR #1140, Issue #1139)
|
|
32
|
+
|
|
33
|
+
- **Test Infrastructure**
|
|
34
|
+
- Fixed Extended Node compatibility test failures (PR #1141, Issue #1142)
|
|
35
|
+
- Fixed CI test failures in IndexConfig and EnhancedIndexManager (PR #1115)
|
|
36
|
+
- Fixed CI environment tests for GitHub Actions (PR #1114)
|
|
37
|
+
- Fixed Extended Node test failures with Node 22+ (PR #1111)
|
|
38
|
+
- Removed dangerous restore-keys from cache configuration (PR #1109)
|
|
39
|
+
- Added test isolation to prevent file system pollution (PR #1094, #1095)
|
|
40
|
+
- Added memory trigger tests to ESM ignore list (PR #1134)
|
|
41
|
+
- Skip ESM-incompatible tests in CI (PR #1130)
|
|
42
|
+
|
|
43
|
+
- **Code Quality**
|
|
44
|
+
- Standardized element ID parsing logic (PR #1104, Issue #1099)
|
|
45
|
+
- Moved magic numbers to configuration (PR #1105, Issue #1100)
|
|
46
|
+
- Fixed broken README badge links (PR #1079)
|
|
47
|
+
|
|
48
|
+
### Improved
|
|
49
|
+
- **Performance**: Enhanced Index now includes batching, caching, and memory cleanup mechanisms
|
|
50
|
+
- **Security**: Added validation for configuration changes with audit logging
|
|
51
|
+
- **Documentation**: Added CHANGELOG_PROCESS.md and restored lost session documentation (PR #1082, #1077)
|
|
52
|
+
|
|
53
|
+
### Technical Details
|
|
54
|
+
- The Enhanced Capability Index provides intelligent element discovery using NLP techniques
|
|
55
|
+
- All element types now support trigger extraction for improved searchability
|
|
56
|
+
- Comprehensive test coverage improvements and CI reliability fixes
|
|
57
|
+
- Node 22+ compatibility fully verified and tested
|
|
58
|
+
|
|
59
|
+
## [1.9.9] - 2025-09-22
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
- **Security Utilities Module** (PR #1072)
|
|
63
|
+
- New `src/utils/securityUtils.ts` with reusable security patterns
|
|
64
|
+
- Prototype pollution protection functions
|
|
65
|
+
- Safe object creation with Object.create(null)
|
|
66
|
+
- Secure property setting with Object.defineProperty()
|
|
67
|
+
|
|
68
|
+
- **Memory Auto-Repair** (PR #1070)
|
|
69
|
+
- Automatic repair of corrupted memory timestamps during read operations
|
|
70
|
+
- No migration needed - repairs happen transparently
|
|
71
|
+
- Enhanced sorting operations with defensive timestamp conversions
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
- **Memory Timestamp Crashes** (PR #1070)
|
|
75
|
+
- Fixed toISOString() errors when memory entries have string timestamps (#1069)
|
|
76
|
+
- Added comprehensive timestamp validation with detailed error reporting
|
|
77
|
+
|
|
78
|
+
- **Security Badge Link** (PR #1071, #1075)
|
|
79
|
+
- Fixed broken security badge link in README pointing to docs/SECURITY.md
|
|
80
|
+
- Badge now correctly points to SECURITY.md at repository root
|
|
81
|
+
|
|
82
|
+
- **Prototype Pollution False Positives** (PR #1072)
|
|
83
|
+
- Added CodeQL suppressions for false positive alerts (#202-#205)
|
|
84
|
+
- Implemented belt-and-suspenders protection to satisfy code scanners
|
|
85
|
+
|
|
86
|
+
### Security
|
|
87
|
+
- Added comprehensive prototype pollution protection across ConfigManager
|
|
88
|
+
- Proper CodeQL suppressions for validated false positives
|
|
89
|
+
- Enhanced input validation and sanitization
|
|
90
|
+
|
|
91
|
+
## [1.9.8] - 2025-09-20
|
|
92
|
+
|
|
93
|
+
### Added
|
|
94
|
+
- **Memory Deletion Support** (PR #1043)
|
|
95
|
+
- Full deletion functionality for memory elements
|
|
96
|
+
- Handles date-based folder structure (YYYY-MM-DD)
|
|
97
|
+
- Cleans up both YAML and optional .storage files
|
|
98
|
+
- Deactivates memories before deletion
|
|
99
|
+
- Fixes issue #1040
|
|
100
|
+
|
|
101
|
+
- **Memory Editing Support** (PR #1044)
|
|
102
|
+
- Complete edit functionality for memory elements
|
|
103
|
+
- Fixed file extension handling (.yaml for memories, .md for others)
|
|
104
|
+
- Supports field updates including nested properties
|
|
105
|
+
- Version auto-increment on edits
|
|
106
|
+
- Fixes issue #1041
|
|
107
|
+
|
|
108
|
+
- **Memory Validation Support** (PR #1046)
|
|
109
|
+
- Full validation functionality for memory elements
|
|
110
|
+
- Validates metadata, retention settings, entry structure
|
|
111
|
+
- Supports strict mode for additional quality checks
|
|
112
|
+
- Returns detailed validation reports with errors/warnings
|
|
113
|
+
- Fixes issue #1042
|
|
114
|
+
|
|
115
|
+
### Improved
|
|
116
|
+
- **Code Organization**: Test files moved from root directory to proper test subdirectories (PR #1047)
|
|
117
|
+
- Manual test files now in `test/manual/`
|
|
118
|
+
- Security audit reports in `.security-audit/`
|
|
119
|
+
- Cleaner root directory structure
|
|
120
|
+
|
|
121
|
+
### Technical Details
|
|
122
|
+
- Memory elements now have complete CRUD + validation operations matching other element types
|
|
123
|
+
- All memory operations properly handle the date-based folder structure
|
|
124
|
+
- Comprehensive test coverage for all new memory operations
|
|
125
|
+
|
|
3
126
|
## [1.9.7] - 2025-09-20
|
|
4
127
|
|
|
5
128
|
### Fixed
|
package/README.github.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
[](https://modelcontextprotocol.io)
|
|
5
5
|
[](https://www.npmjs.com/package/@dollhousemcp/mcp-server)
|
|
6
6
|
[](https://www.gnu.org/licenses/agpl-3.0)
|
|
7
|
-
[](https://github.com/DollhouseMCP/mcp-server)
|
|
7
|
+
[](https://github.com/DollhouseMCP/mcp-server/graphs/traffic)
|
|
8
8
|
|
|
9
9
|
## Build & Quality
|
|
10
10
|
[](https://github.com/DollhouseMCP/mcp-server/actions/workflows/core-build-test.yml)
|
|
11
11
|
[](https://github.com/DollhouseMCP/mcp-server/actions/workflows/build-artifacts.yml)
|
|
12
|
-
[](https://github.com/DollhouseMCP/mcp-server/tree/
|
|
13
|
-
[](
|
|
12
|
+
[](https://github.com/DollhouseMCP/mcp-server/tree/develop/test/__tests__)
|
|
13
|
+
[](https://github.com/DollhouseMCP/mcp-server/blob/develop/SECURITY.md)
|
|
14
14
|
|
|
15
15
|
## Platform Support
|
|
16
16
|
[](https://github.com/DollhouseMCP/mcp-server/actions/workflows/core-build-test.yml?query=branch:main "Windows CI Build Status")
|
|
@@ -873,6 +873,87 @@ For detailed guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
|
873
873
|
|
|
874
874
|
## 🏷️ Version History
|
|
875
875
|
|
|
876
|
+
### v1.9.10 - September 27, 2025
|
|
877
|
+
|
|
878
|
+
**Enhanced Capability Index & Security**: Complete trigger extraction system and SonarCloud integration
|
|
879
|
+
|
|
880
|
+
#### ✨ Major Features
|
|
881
|
+
- **Enhanced Capability Index System** - NLP scoring with Jaccard similarity and Shannon entropy
|
|
882
|
+
- **Cross-Element Relationships** - GraphRAG-style relationship mapping
|
|
883
|
+
- **Complete Trigger Extraction** - All element types now support trigger extraction
|
|
884
|
+
- **SonarCloud Integration** - Quality gate PASSING with 0% duplication
|
|
885
|
+
|
|
886
|
+
#### 🔒 Security Improvements
|
|
887
|
+
- Fixed 16 SonarCloud BLOCKER issues
|
|
888
|
+
- GitHub Actions command injection vulnerabilities resolved
|
|
889
|
+
- Full SHA pinning for all Actions
|
|
890
|
+
- PATH manipulation vulnerability fixed
|
|
891
|
+
|
|
892
|
+
#### 🛠️ Improvements
|
|
893
|
+
- Extended Node compatibility fixes
|
|
894
|
+
- Enhanced Index stability improvements
|
|
895
|
+
- Type-safe relationship parsing
|
|
896
|
+
- Docker Hub rate limit mitigation
|
|
897
|
+
- Test isolation and CI improvements
|
|
898
|
+
|
|
899
|
+
#### 📊 Statistics
|
|
900
|
+
- 34 Pull Requests merged
|
|
901
|
+
- Test Coverage: 98.17%
|
|
902
|
+
- Security Hotspots: 100% reviewed
|
|
903
|
+
- Code Duplication: 0% on new code
|
|
904
|
+
|
|
905
|
+
---
|
|
906
|
+
|
|
907
|
+
### v1.9.9 - September 22, 2025
|
|
908
|
+
|
|
909
|
+
**Security & Stability**: Prototype pollution protection and memory timestamp fixes
|
|
910
|
+
|
|
911
|
+
#### ✨ Features
|
|
912
|
+
- **Security Utilities**: New reusable security module for prototype pollution protection
|
|
913
|
+
- **Memory Auto-Repair**: Corrupted memory timestamps now auto-repair during read operations
|
|
914
|
+
- **Enhanced Validation**: Comprehensive timestamp validation with detailed error reporting
|
|
915
|
+
|
|
916
|
+
#### 🔧 Fixed
|
|
917
|
+
- **Memory Timestamps**: Fixed toISOString errors when memory entries have string timestamps (#1069)
|
|
918
|
+
- **Security Badge**: Fixed broken security badge link in README pointing to wrong location
|
|
919
|
+
- **Prototype Pollution**: Added belt-and-suspenders protection to satisfy code scanners (#202-#205)
|
|
920
|
+
|
|
921
|
+
#### 🔒 Security
|
|
922
|
+
- Added `securityUtils.ts` module with reusable security patterns
|
|
923
|
+
- Implemented Object.create(null) for prototype-less objects
|
|
924
|
+
- Added Object.defineProperty() for secure property setting
|
|
925
|
+
- Proper CodeQL suppressions for validated false positives
|
|
926
|
+
|
|
927
|
+
---
|
|
928
|
+
|
|
929
|
+
### v1.9.8 - September 20, 2025
|
|
930
|
+
|
|
931
|
+
**Memory System Complete**: Full CRUD operations and enhanced memory management
|
|
932
|
+
|
|
933
|
+
#### ✨ Features
|
|
934
|
+
- **Memory CRUD Operations**: Complete create, read, update, delete functionality for memories
|
|
935
|
+
- **Memory Editing**: Full support for editing memory fields including metadata and content
|
|
936
|
+
- **Memory Validation**: Comprehensive validation with detailed error reporting
|
|
937
|
+
- **Enhanced Search**: Improved search across all sources with duplicate detection
|
|
938
|
+
|
|
939
|
+
#### 🔧 Fixed
|
|
940
|
+
- **Memory Display**: Fixed "No content stored" issue when memories have valid content
|
|
941
|
+
- **Test Coverage**: Maintained >96% test coverage with comprehensive memory tests
|
|
942
|
+
- **Documentation**: Updated all documentation to reflect new memory features
|
|
943
|
+
|
|
944
|
+
---
|
|
945
|
+
|
|
946
|
+
### v1.9.7 - September 20, 2025
|
|
947
|
+
|
|
948
|
+
**NPM Package Fix**: Corrected build issue from v1.9.6
|
|
949
|
+
|
|
950
|
+
#### 🔧 Fixed
|
|
951
|
+
- **NPM Package Build**: Republished with correct commit including all memory display fixes
|
|
952
|
+
- **Memory Display**: Memories now correctly show content instead of "No content stored"
|
|
953
|
+
- Note: v1.9.6 NPM package was accidentally built from wrong commit
|
|
954
|
+
|
|
955
|
+
---
|
|
956
|
+
|
|
876
957
|
### v1.9.6 - September 20, 2025
|
|
877
958
|
|
|
878
959
|
**🎉 First External Contribution**: Performance and security improvements from the community!
|
package/README.md.backup
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
[](https://modelcontextprotocol.io)
|
|
5
5
|
[](https://www.npmjs.com/package/@dollhousemcp/mcp-server)
|
|
6
6
|
[](https://www.gnu.org/licenses/agpl-3.0)
|
|
7
|
-
[](https://github.com/DollhouseMCP/mcp-server)
|
|
7
|
+
[](https://github.com/DollhouseMCP/mcp-server/graphs/traffic)
|
|
8
8
|
|
|
9
9
|
## Build & Quality
|
|
10
10
|
[](https://github.com/DollhouseMCP/mcp-server/actions/workflows/core-build-test.yml)
|
|
11
11
|
[](https://github.com/DollhouseMCP/mcp-server/actions/workflows/build-artifacts.yml)
|
|
12
|
-
[](https://github.com/DollhouseMCP/mcp-server/tree/
|
|
13
|
-
[](
|
|
12
|
+
[](https://github.com/DollhouseMCP/mcp-server/tree/develop/test/__tests__)
|
|
13
|
+
[](https://github.com/DollhouseMCP/mcp-server/blob/develop/SECURITY.md)
|
|
14
14
|
|
|
15
15
|
## Platform Support
|
|
16
16
|
[](https://github.com/DollhouseMCP/mcp-server/actions/workflows/core-build-test.yml?query=branch:main "Windows CI Build Status")
|
|
@@ -873,6 +873,87 @@ For detailed guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
|
873
873
|
|
|
874
874
|
## 🏷️ Version History
|
|
875
875
|
|
|
876
|
+
### v1.9.10 - September 27, 2025
|
|
877
|
+
|
|
878
|
+
**Enhanced Capability Index & Security**: Complete trigger extraction system and SonarCloud integration
|
|
879
|
+
|
|
880
|
+
#### ✨ Major Features
|
|
881
|
+
- **Enhanced Capability Index System** - NLP scoring with Jaccard similarity and Shannon entropy
|
|
882
|
+
- **Cross-Element Relationships** - GraphRAG-style relationship mapping
|
|
883
|
+
- **Complete Trigger Extraction** - All element types now support trigger extraction
|
|
884
|
+
- **SonarCloud Integration** - Quality gate PASSING with 0% duplication
|
|
885
|
+
|
|
886
|
+
#### 🔒 Security Improvements
|
|
887
|
+
- Fixed 16 SonarCloud BLOCKER issues
|
|
888
|
+
- GitHub Actions command injection vulnerabilities resolved
|
|
889
|
+
- Full SHA pinning for all Actions
|
|
890
|
+
- PATH manipulation vulnerability fixed
|
|
891
|
+
|
|
892
|
+
#### 🛠️ Improvements
|
|
893
|
+
- Extended Node compatibility fixes
|
|
894
|
+
- Enhanced Index stability improvements
|
|
895
|
+
- Type-safe relationship parsing
|
|
896
|
+
- Docker Hub rate limit mitigation
|
|
897
|
+
- Test isolation and CI improvements
|
|
898
|
+
|
|
899
|
+
#### 📊 Statistics
|
|
900
|
+
- 34 Pull Requests merged
|
|
901
|
+
- Test Coverage: 98.17%
|
|
902
|
+
- Security Hotspots: 100% reviewed
|
|
903
|
+
- Code Duplication: 0% on new code
|
|
904
|
+
|
|
905
|
+
---
|
|
906
|
+
|
|
907
|
+
### v1.9.9 - September 22, 2025
|
|
908
|
+
|
|
909
|
+
**Security & Stability**: Prototype pollution protection and memory timestamp fixes
|
|
910
|
+
|
|
911
|
+
#### ✨ Features
|
|
912
|
+
- **Security Utilities**: New reusable security module for prototype pollution protection
|
|
913
|
+
- **Memory Auto-Repair**: Corrupted memory timestamps now auto-repair during read operations
|
|
914
|
+
- **Enhanced Validation**: Comprehensive timestamp validation with detailed error reporting
|
|
915
|
+
|
|
916
|
+
#### 🔧 Fixed
|
|
917
|
+
- **Memory Timestamps**: Fixed toISOString errors when memory entries have string timestamps (#1069)
|
|
918
|
+
- **Security Badge**: Fixed broken security badge link in README pointing to wrong location
|
|
919
|
+
- **Prototype Pollution**: Added belt-and-suspenders protection to satisfy code scanners (#202-#205)
|
|
920
|
+
|
|
921
|
+
#### 🔒 Security
|
|
922
|
+
- Added `securityUtils.ts` module with reusable security patterns
|
|
923
|
+
- Implemented Object.create(null) for prototype-less objects
|
|
924
|
+
- Added Object.defineProperty() for secure property setting
|
|
925
|
+
- Proper CodeQL suppressions for validated false positives
|
|
926
|
+
|
|
927
|
+
---
|
|
928
|
+
|
|
929
|
+
### v1.9.8 - September 20, 2025
|
|
930
|
+
|
|
931
|
+
**Memory System Complete**: Full CRUD operations and enhanced memory management
|
|
932
|
+
|
|
933
|
+
#### ✨ Features
|
|
934
|
+
- **Memory CRUD Operations**: Complete create, read, update, delete functionality for memories
|
|
935
|
+
- **Memory Editing**: Full support for editing memory fields including metadata and content
|
|
936
|
+
- **Memory Validation**: Comprehensive validation with detailed error reporting
|
|
937
|
+
- **Enhanced Search**: Improved search across all sources with duplicate detection
|
|
938
|
+
|
|
939
|
+
#### 🔧 Fixed
|
|
940
|
+
- **Memory Display**: Fixed "No content stored" issue when memories have valid content
|
|
941
|
+
- **Test Coverage**: Maintained >96% test coverage with comprehensive memory tests
|
|
942
|
+
- **Documentation**: Updated all documentation to reflect new memory features
|
|
943
|
+
|
|
944
|
+
---
|
|
945
|
+
|
|
946
|
+
### v1.9.7 - September 20, 2025
|
|
947
|
+
|
|
948
|
+
**NPM Package Fix**: Corrected build issue from v1.9.6
|
|
949
|
+
|
|
950
|
+
#### 🔧 Fixed
|
|
951
|
+
- **NPM Package Build**: Republished with correct commit including all memory display fixes
|
|
952
|
+
- **Memory Display**: Memories now correctly show content instead of "No content stored"
|
|
953
|
+
- Note: v1.9.6 NPM package was accidentally built from wrong commit
|
|
954
|
+
|
|
955
|
+
---
|
|
956
|
+
|
|
876
957
|
### v1.9.6 - September 20, 2025
|
|
877
958
|
|
|
878
959
|
**🎉 First External Contribution**: Performance and security improvements from the community!
|
|
@@ -59,6 +59,29 @@ export interface CollectionConfig {
|
|
|
59
59
|
require_review: boolean;
|
|
60
60
|
add_attribution: boolean;
|
|
61
61
|
}
|
|
62
|
+
export interface EnhancedIndexConfig {
|
|
63
|
+
enabled: boolean;
|
|
64
|
+
limits: {
|
|
65
|
+
maxTriggersPerElement: number;
|
|
66
|
+
maxTriggerLength: number;
|
|
67
|
+
maxKeywordsToCheck: number;
|
|
68
|
+
};
|
|
69
|
+
telemetry: {
|
|
70
|
+
enabled: boolean;
|
|
71
|
+
sampleRate: number;
|
|
72
|
+
metricsInterval: number;
|
|
73
|
+
};
|
|
74
|
+
verbPatterns?: {
|
|
75
|
+
customPrefixes?: string[];
|
|
76
|
+
customSuffixes?: string[];
|
|
77
|
+
excludedNouns?: string[];
|
|
78
|
+
};
|
|
79
|
+
backgroundAnalysis?: {
|
|
80
|
+
enabled: boolean;
|
|
81
|
+
scanInterval: number;
|
|
82
|
+
maxConcurrentScans: number;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
62
85
|
export interface ElementsConfig {
|
|
63
86
|
auto_activate: {
|
|
64
87
|
personas?: string[];
|
|
@@ -69,6 +92,7 @@ export interface ElementsConfig {
|
|
|
69
92
|
ensembles?: string[];
|
|
70
93
|
};
|
|
71
94
|
default_element_dir: string;
|
|
95
|
+
enhanced_index?: EnhancedIndexConfig;
|
|
72
96
|
}
|
|
73
97
|
export interface DisplayConfig {
|
|
74
98
|
persona_indicators: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigManager.d.ts","sourceRoot":"","sources":["../../src/config/ConfigManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;
|
|
1
|
+
{"version":3,"file":"ConfigManager.d.ts","sourceRoot":"","sources":["../../src/config/ConfigManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAeH,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,aAAa,GAAG,OAAO,GAAG,QAAQ,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,qBAAqB,CAAC;IACjC,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC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