@dollhousemcp/mcp-server 1.4.3 → 1.4.5
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 +22 -0
- package/README.md +15 -5
- package/dist/generated/version.d.ts +2 -2
- package/dist/generated/version.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +124 -16
- package/dist/portfolio/PortfolioManager.d.ts.map +1 -1
- package/dist/portfolio/PortfolioManager.js +15 -2
- package/dist/update/UpdateChecker.d.ts +5 -0
- package/dist/update/UpdateChecker.d.ts.map +1 -1
- package/dist/update/UpdateChecker.js +44 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ All notable changes to DollhouseMCP will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.4.4] - 2025-08-04
|
|
9
|
+
|
|
10
|
+
### 🚨 Emergency Hotfix
|
|
11
|
+
- **v1.4.3 was completely broken** - this release fixes critical initialization failures
|
|
12
|
+
- Users on v1.4.3 must upgrade immediately as the server crashes 100% of the time
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- **Initialization order bug**: Migration now runs before directory access
|
|
16
|
+
- Previously: Portfolio directories were created before migration could fix them
|
|
17
|
+
- Now: Migration completes before any directory operations
|
|
18
|
+
- **jsdom crash on startup**: Heavy dependencies now load lazily
|
|
19
|
+
- Previously: UpdateChecker crashed during MCP initialization
|
|
20
|
+
- Now: jsdom/DOMPurify load only when needed with error handling
|
|
21
|
+
- **Docker compatibility**: Server now handles read-only environments gracefully
|
|
22
|
+
- Added proper error handling for directory creation failures
|
|
23
|
+
- Server continues with limited functionality instead of crashing
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- Made UpdateManager and PersonaImporter optional during initialization
|
|
27
|
+
- Improved error visibility with console.error for critical failures
|
|
28
|
+
- Better fallback HTML sanitization using entity escaping
|
|
29
|
+
|
|
8
30
|
## [1.4.3] - 2025-08-04
|
|
9
31
|
|
|
10
32
|
### 🚨 Critical Fix
|
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ A comprehensive Model Context Protocol (MCP) server that enables dynamic AI pers
|
|
|
23
23
|
**🏪 Collection**: https://github.com/DollhouseMCP/collection
|
|
24
24
|
**📦 NPM Package**: https://www.npmjs.com/package/@dollhousemcp/mcp-server
|
|
25
25
|
**🌍 Website**: https://dollhousemcp.com (planned)
|
|
26
|
-
**📦 Version**: v1.4.
|
|
26
|
+
**📦 Version**: v1.4.4
|
|
27
27
|
|
|
28
28
|
> **⚠️ Breaking Change Notice**: Tool names have changed from "marketplace" to "collection" terminology. Old names still work but are deprecated. See [Migration Guide](docs/MIGRATION_GUIDE_COLLECTION_RENAME.md) for details.
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ A comprehensive Model Context Protocol (MCP) server that enables dynamic AI pers
|
|
|
33
33
|
# Install globally
|
|
34
34
|
npm install -g @dollhousemcp/mcp-server
|
|
35
35
|
|
|
36
|
-
# ⚠️ IMPORTANT: If you have v1.4.2, upgrade immediately:
|
|
36
|
+
# ⚠️ IMPORTANT: If you have v1.4.2 or v1.4.3, upgrade immediately:
|
|
37
37
|
# npm install -g @dollhousemcp/mcp-server@latest
|
|
38
38
|
|
|
39
39
|
# Add to Claude Desktop config (see path below for your OS)
|
|
@@ -908,7 +908,7 @@ If the MCP server crashes on startup after NPM installation:
|
|
|
908
908
|
2. If you have v1.4.2, upgrade immediately: `npm install -g @dollhousemcp/mcp-server@latest`
|
|
909
909
|
3. Clear your portfolio and let it regenerate: `rm -rf ~/.dollhouse/portfolio`
|
|
910
910
|
|
|
911
|
-
**Note**: v1.4.2 had a critical bug that prevented proper initialization.
|
|
911
|
+
**Note**: v1.4.2 had a critical bug that prevented proper initialization. v1.4.3 attempted to fix this but introduced new crashes. Both issues are fixed in v1.4.4.
|
|
912
912
|
|
|
913
913
|
### Directory Structure (v1.4.3+)
|
|
914
914
|
|
|
@@ -926,7 +926,7 @@ If you upgraded from v1.4.2, the server will automatically migrate your director
|
|
|
926
926
|
|
|
927
927
|
| Issue | Solution |
|
|
928
928
|
|-------|----------|
|
|
929
|
-
| **v1.4.2 installation broken** | Upgrade to v1.4.
|
|
929
|
+
| **v1.4.2 or v1.4.3 installation broken** | Upgrade to v1.4.4+ immediately |
|
|
930
930
|
| **Personas not loading** | Check `~/.dollhouse/portfolio/personas/` directory exists |
|
|
931
931
|
| **Server won't start** | Run `npm run rebuild` to clean and rebuild |
|
|
932
932
|
| **Collection not working** | Check internet connection and GitHub API access |
|
|
@@ -1154,7 +1154,17 @@ This project is licensed under the **AGPL-3.0** License with Platform Stability
|
|
|
1154
1154
|
|
|
1155
1155
|
## 🏷️ Version History
|
|
1156
1156
|
|
|
1157
|
-
### v1.4.
|
|
1157
|
+
### v1.4.4 - August 4, 2025 (Current)
|
|
1158
|
+
**Emergency Hotfix**:
|
|
1159
|
+
- 🚨 **Fixed v1.4.3 total failure** - initialization crashes fixed
|
|
1160
|
+
- 🔧 **Fixed jsdom crash** - heavy dependencies now load lazily
|
|
1161
|
+
- 🐳 **Fixed Docker compatibility** - handles read-only environments
|
|
1162
|
+
|
|
1163
|
+
### v1.4.3 - August 4, 2025
|
|
1164
|
+
**Directory Structure Fix**:
|
|
1165
|
+
- 🚨 **Fixed NPM installation failure** but introduced new crashes
|
|
1166
|
+
|
|
1167
|
+
### v1.4.2 - August 4, 2025
|
|
1158
1168
|
**Critical NPM Installation Fix**:
|
|
1159
1169
|
- 🚨 **Fixed NPM installation failure** where empty portfolios caused server crashes
|
|
1160
1170
|
- 📦 **DefaultElementProvider** automatically populates default content on first run
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Auto-generated file - DO NOT EDIT
|
|
3
3
|
* Generated at build time by scripts/generate-version.js
|
|
4
4
|
*/
|
|
5
|
-
export declare const PACKAGE_VERSION = "1.4.
|
|
6
|
-
export declare const BUILD_TIMESTAMP = "2025-08-
|
|
5
|
+
export declare const PACKAGE_VERSION = "1.4.5";
|
|
6
|
+
export declare const BUILD_TIMESTAMP = "2025-08-05T14:13:09.739Z";
|
|
7
7
|
export declare const BUILD_TYPE: 'npm' | 'git';
|
|
8
8
|
export declare const PACKAGE_NAME = "@dollhousemcp/mcp-server";
|
|
9
9
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Auto-generated file - DO NOT EDIT
|
|
3
3
|
* Generated at build time by scripts/generate-version.js
|
|
4
4
|
*/
|
|
5
|
-
export const PACKAGE_VERSION = '1.4.
|
|
6
|
-
export const BUILD_TIMESTAMP = '2025-08-
|
|
5
|
+
export const PACKAGE_VERSION = '1.4.5';
|
|
6
|
+
export const BUILD_TIMESTAMP = '2025-08-05T14:13:09.739Z';
|
|
7
7
|
export const BUILD_TYPE = 'npm';
|
|
8
8
|
export const PACKAGE_NAME = '@dollhousemcp/mcp-server';
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9nZW5lcmF0ZWQvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFFSCxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUcsT0FBTyxDQUFDO0FBQ3ZDLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRywwQkFBMEIsQ0FBQztBQUMxRCxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQWtCLEtBQUssQ0FBQztBQUMvQyxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUcsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEF1dG8tZ2VuZXJhdGVkIGZpbGUgLSBETyBOT1QgRURJVFxuICogR2VuZXJhdGVkIGF0IGJ1aWxkIHRpbWUgYnkgc2NyaXB0cy9nZW5lcmF0ZS12ZXJzaW9uLmpzXG4gKi9cblxuZXhwb3J0IGNvbnN0IFBBQ0tBR0VfVkVSU0lPTiA9ICcxLjQuNSc7XG5leHBvcnQgY29uc3QgQlVJTERfVElNRVNUQU1QID0gJzIwMjUtMDgtMDVUMTQ6MTM6MDkuNzM5Wic7XG5leHBvcnQgY29uc3QgQlVJTERfVFlQRTogJ25wbScgfCAnZ2l0JyA9ICducG0nO1xuZXhwb3J0IGNvbnN0IFBBQ0tBR0VfTkFNRSA9ICdAZG9sbGhvdXNlbWNwL21jcC1zZXJ2ZXInO1xuIl19
|
package/dist/index.d.ts
CHANGED
|
@@ -16,10 +16,10 @@ export declare class DollhouseMCPServer implements IToolHandler {
|
|
|
16
16
|
private personaDetails;
|
|
17
17
|
private elementInstaller;
|
|
18
18
|
private personaSubmitter;
|
|
19
|
-
private updateManager
|
|
19
|
+
private updateManager?;
|
|
20
20
|
private serverSetup;
|
|
21
21
|
private personaExporter;
|
|
22
|
-
private personaImporter
|
|
22
|
+
private personaImporter?;
|
|
23
23
|
private personaSharer;
|
|
24
24
|
private portfolioManager;
|
|
25
25
|
private migrationManager;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAmBA,OAAO,EAA8D,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAgBhI,OAAO,EAAe,YAAY,EAAE,MAAM,mBAAmB,CAAC;AA0B9D,qBAAa,kBAAmB,YAAW,YAAY;IACrD,OAAO,CAAC,MAAM,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