@dollhousemcp/mcp-server 1.9.25 → 1.9.26

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 CHANGED
@@ -2,6 +2,112 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [1.9.26] - 2025-11-07
6
+
7
+ **Major Feature Release**: Element Source Priority System & Critical Bug Fixes
8
+
9
+ ### ✨ Features
10
+
11
+ - **Element Source Priority System** (#1451, #1452, #1453, #1454, #1455, #1456) 🌟
12
+ - **Intelligent element selection** based on configurable source priority
13
+ - Replaces simple source filtering with advanced priority-based ranking
14
+ - **Priority levels** (configurable per element type):
15
+ - `local` - User's portfolio (highest priority by default)
16
+ - `github` - Personal GitHub portfolio
17
+ - `collection` - Community collection (lowest priority by default)
18
+ - **User-facing API** for source priority configuration via `dollhouse_config` tool
19
+ - **Automatic conflict resolution** when same element exists in multiple sources
20
+ - **Search integration** - UnifiedIndexManager respects source priority in all searches
21
+ - **Installation integration** - ElementInstaller follows priority when installing elements
22
+ - **Comprehensive documentation** - User guides and technical references
23
+ - **Full test coverage** - 3000+ lines of tests including integration tests
24
+ - **Non-breaking** - Falls back to local-first behavior if priority not configured
25
+ - **Configuration persistence** - Saves to `~/.dollhouse/config.yaml`
26
+
27
+ ### 🐛 Bug Fixes
28
+
29
+ - **Memory Content Preservation** (#1442)
30
+ - Fixed bug where memory content was lost during YAML import/parsing
31
+ - Ensures all memory data persists correctly through serialization
32
+ - Improved error handling for YAML parsing edge cases
33
+
34
+ - **VerbTriggerManager Critical Bugs** (#1443)
35
+ - Fixed three critical bugs in verb trigger extraction and management
36
+ - Improved reliability of verb-based element search
37
+ - Enhanced error handling and validation
38
+
39
+ - **OAuth Terminal Error Propagation** (#1444)
40
+ - Implements RFC 6749/8628 compliance for OAuth device flow
41
+ - Errors now propagate immediately to terminal instead of hanging
42
+ - Better user experience during authentication failures
43
+
44
+ - **GitHubAuthManager Test Mocks** (#1459)
45
+ - Fixed incomplete Response mock objects causing 8 test failures
46
+ - Added missing `status`, `statusText`, and `headers` properties
47
+ - Ensures proper Fetch API compatibility in tests
48
+
49
+ ### 🔧 Technical Improvements
50
+
51
+ - **jsdom Stability** (#1458)
52
+ - Rolled back jsdom from 27.1.0 to 27.0.0 to maintain test stability
53
+ - Avoids ESM/CommonJS incompatibility with parse5 v8
54
+ - Maintains stable test environment across all platforms
55
+
56
+ - **SonarCloud Badges** (docs commit 0f30386b)
57
+ - Restored SonarCloud quality badges to README chunk file
58
+ - Prevents auto-sync workflow from removing badges
59
+ - Ensures badges persist across README regeneration
60
+
61
+ ### 📦 Dependency Updates
62
+
63
+ - **@modelcontextprotocol/sdk** 1.20.2 → 1.21.0 (#1439)
64
+ - **posthog-node** 5.10.3 → 5.11.0 (#1441)
65
+ - **@types/archiver** 6.0.4 → 7.0.0 (#1440)
66
+ - **@types/node** 24.9.1 → 24.10.0 (#1438)
67
+
68
+ ### 📖 Documentation
69
+
70
+ - **Element Source Priority Documentation** (#1456)
71
+ - Complete user guide for source priority configuration
72
+ - Technical implementation details
73
+ - Best practices and usage examples
74
+
75
+ - **Session Notes**: Comprehensive documentation of:
76
+ - Element Source Priority implementation (6 phases)
77
+ - Bug fixes and investigations
78
+ - Release preparation process
79
+
80
+ ### 🎯 Impact
81
+
82
+ **Element Source Priority System**:
83
+ - Advanced element selection replacing simple filtering
84
+ - User control over which sources take precedence
85
+ - Automatic conflict resolution for duplicate elements
86
+ - Foundation for future multi-source element management
87
+ - Seamless integration with existing search and installation flows
88
+
89
+ **Bug Fixes**:
90
+ - Memory data integrity guaranteed
91
+ - Verb-based search reliability improved
92
+ - OAuth authentication experience enhanced
93
+ - Test suite fully passing across all platforms
94
+
95
+ ### 🔗 Related Issues & PRs
96
+
97
+ - PR #1451: Source priority configuration system
98
+ - PR #1452: UnifiedIndexManager source priority integration
99
+ - PR #1453: ElementInstaller source priority support
100
+ - PR #1454: User-facing configuration API
101
+ - PR #1455: Integration tests for source priority
102
+ - PR #1456: Comprehensive documentation
103
+ - PR #1442: Memory content preservation fix
104
+ - PR #1443: VerbTriggerManager bug fixes
105
+ - PR #1444: OAuth error propagation
106
+ - PR #1458: jsdom rollback for stability
107
+ - PR #1459: GitHubAuthManager test fixes
108
+
109
+ ---
110
+
5
111
  ## [1.9.25] - 2025-10-30
6
112
 
7
113
  **Major Feature Release**: Auto-Load Baseline Memories & Production Stability
package/README.github.md CHANGED
@@ -12,6 +12,13 @@
12
12
  [![Test Coverage](https://img.shields.io/badge/Coverage-1858%2B%20Tests-green)](https://github.com/DollhouseMCP/mcp-server/tree/develop/test/__tests__)
13
13
  [![Enterprise-Grade Security](https://img.shields.io/badge/Security-Enterprise%20Grade-purple)](https://github.com/DollhouseMCP/mcp-server/blob/develop/SECURITY.md)
14
14
 
15
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=DollhouseMCP_mcp-server&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=DollhouseMCP_mcp-server)
16
+ [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=DollhouseMCP_mcp-server&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=DollhouseMCP_mcp-server)
17
+ [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=DollhouseMCP_mcp-server&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=DollhouseMCP_mcp-server)
18
+ [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=DollhouseMCP_mcp-server&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=DollhouseMCP_mcp-server)
19
+ [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=DollhouseMCP_mcp-server&metric=bugs)](https://sonarcloud.io/summary/new_code?id=DollhouseMCP_mcp-server)
20
+ [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=DollhouseMCP_mcp-server&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=DollhouseMCP_mcp-server)
21
+
15
22
  ## Platform Support
16
23
  [![Windows Build Status](https://img.shields.io/badge/Windows-✓_Tested-0078D4?logo=windows&logoColor=white)](https://github.com/DollhouseMCP/mcp-server/actions/workflows/core-build-test.yml?query=branch:main "Windows CI Build Status")
17
24
  [![macOS Build Status](https://img.shields.io/badge/macOS-✓_Tested-000000?logo=apple&logoColor=white)](https://github.com/DollhouseMCP/mcp-server/actions/workflows/core-build-test.yml?query=branch:main "macOS CI Build Status")
@@ -883,6 +890,71 @@ For detailed guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).
883
890
 
884
891
  ## 🏷️ Version History
885
892
 
893
+ ### v1.9.26 - 2025-11-07
894
+
895
+ **Major Feature Release**: Element Source Priority System & Critical Bug Fixes
896
+
897
+ #### ✨ Features
898
+ - **Element Source Priority System** (#1451-#1456) 🌟
899
+ - Intelligent element selection based on configurable source priority
900
+ - Priority levels: `local` (highest) → `github` → `collection` (lowest)
901
+ - User-facing API for configuration via `dollhouse_config` tool
902
+ - Automatic conflict resolution for duplicate elements
903
+ - Search and installation integration
904
+ - Configuration persistence to `~/.dollhouse/config.yaml`
905
+
906
+ #### 🐛 Bug Fixes
907
+ - **Memory Content Preservation** (#1442) - Fixed data loss during YAML parsing
908
+ - **VerbTriggerManager Critical Bugs** (#1443) - Fixed verb trigger extraction reliability
909
+ - **OAuth Terminal Error Propagation** (#1444) - RFC 6749/8628 compliance for device flow
910
+ - **GitHubAuthManager Test Mocks** (#1459) - Fixed 8 test failures from incomplete mocks
911
+
912
+ #### 🔧 Technical
913
+ - jsdom rollback to 27.0.0 for stability (#1458)
914
+ - SonarCloud badges restored to README chunk file
915
+
916
+ #### 📦 Dependencies
917
+ - @modelcontextprotocol/sdk 1.20.2 → 1.21.0
918
+ - posthog-node 5.10.3 → 5.11.0
919
+ - @types/archiver 6.0.4 → 7.0.0
920
+ - @types/node 24.9.1 → 24.10.0
921
+
922
+ ---
923
+
924
+ ### v1.9.25 - 2025-10-30
925
+
926
+ **Major Feature Release**: Auto-Load Baseline Memories & Production Stability
927
+
928
+ #### ✨ Features
929
+ - **Auto-Load Baseline Memories** (#1430, #1431) 🌟
930
+ - Self-aware DollhouseMCP: Server loads baseline knowledge automatically on startup
931
+ - Eliminates 20-40k token searches - now instant with zero search
932
+ - Users can mark ANY memory for auto-load via `autoLoad: true` metadata flag
933
+ - Priority-based loading system with configurable token budget
934
+ - Includes seed memory: `dollhousemcp-baseline-knowledge.yaml` (~2500 tokens)
935
+ - Configuration via `~/.dollhouse/config.yaml`
936
+ - Token estimate caching (~50% performance improvement)
937
+ - 3 new seed memory guides for custom auto-load memories
938
+
939
+ #### 🐛 Bug Fixes (CRITICAL)
940
+ - **Extended Node Compatibility CI Failures** (#1432-#1434)
941
+ - Fixed ALL 6 platforms (Ubuntu/macOS/Windows × Node 20.x/22.x)
942
+ - Root cause: JSDOM/parse5 ESM race condition during Jest teardown
943
+ - 19 test files broken - now ALL passing ✅
944
+ - Platform-specific memory thresholds for Windows Node 22.x
945
+
946
+ - **README Badge Issues** (#1432, #1435)
947
+ - Restored 6 SonarCloud quality metrics badges
948
+ - Fixed Extended Node Compatibility and Docker Testing badge URLs
949
+ - All badges now point to develop branch
950
+
951
+ #### 🔧 Technical
952
+ - LICENSE synchronization with main (763-line monolithic structure)
953
+ - Jest configuration optimization with maxConcurrency: 1
954
+ - Comprehensive documentation updates
955
+
956
+ ---
957
+
886
958
  ### v1.9.24 - 2025-10-27
887
959
 
888
960
  **Documentation Release**: Claude Skills Compatibility & Dependency Updates