@dollhousemcp/mcp-server 1.9.0 → 1.9.2

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.github.md +68 -33
  3. package/README.md +3 -3
  4. package/README.md.backup +964 -52
  5. package/README.npm.md +3 -3
  6. package/dist/generated/version.d.ts +2 -2
  7. package/dist/generated/version.js +3 -3
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +10 -4
  10. package/dist/security/audit/SecurityAuditor.js +2 -2
  11. package/dist/server/tools/CollectionTools.js +7 -7
  12. package/package.json +1 -1
  13. package/dist/config/ConfigWizardDisplay.d.ts +0 -64
  14. package/dist/config/ConfigWizardDisplay.d.ts.map +0 -1
  15. package/dist/config/ConfigWizardDisplay.js +0 -150
  16. package/dist/config/WizardFirstResponse.d.ts +0 -25
  17. package/dist/config/WizardFirstResponse.d.ts.map +0 -1
  18. package/dist/config/WizardFirstResponse.js +0 -118
  19. package/dist/scripts/scripts/run-config-wizard.js +0 -57
  20. package/dist/scripts/src/config/ConfigManager.js +0 -799
  21. package/dist/scripts/src/config/ConfigWizard.js +0 -368
  22. package/dist/scripts/src/errors/SecurityError.js +0 -47
  23. package/dist/scripts/src/security/constants.js +0 -28
  24. package/dist/scripts/src/security/contentValidator.js +0 -415
  25. package/dist/scripts/src/security/errors.js +0 -32
  26. package/dist/scripts/src/security/regexValidator.js +0 -217
  27. package/dist/scripts/src/security/secureYamlParser.js +0 -272
  28. package/dist/scripts/src/security/securityMonitor.js +0 -111
  29. package/dist/scripts/src/security/validators/unicodeValidator.js +0 -315
  30. package/dist/scripts/src/utils/logger.js +0 -288
  31. package/dist/tools/getWelcomeMessage.d.ts +0 -41
  32. package/dist/tools/getWelcomeMessage.d.ts.map +0 -1
  33. package/dist/tools/getWelcomeMessage.js +0 -109
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.2] - 2025-09-19
4
+
5
+ ### Fixed
6
+ - **Branch Synchronization**: Resolved divergence between main and develop branches
7
+ - Synchronized documentation updates that were only in develop
8
+ - Fixed security audit suppressions path to use proper location
9
+ - Ensured all v1.9.0 and v1.9.1 features are properly documented
10
+
11
+ ### Enhanced
12
+ - **Documentation**: Updated README and CHANGELOG to accurately reflect all implemented features
13
+ - **Security Audit**: Corrected suppressions file path from root to proper config location
14
+
15
+ ### Technical Details
16
+ - Merged 58 commits from develop that were missing from main
17
+ - No actual code changes to Memory element (already fully implemented in main)
18
+ - Primary changes are documentation and configuration fixes
19
+
20
+ ## [1.9.1] - 2025-09-19
21
+
22
+ ### Fixed
23
+ - **Memory Element Support**: Fixed validation and tool descriptions for memory elements
24
+ - Added 'memories' to all validation arrays in index.ts
25
+ - Updated browse_collection, get_collection_content, and install_collection_content tool descriptions
26
+ - Fixed switch statements to handle memory element type properly
27
+ - Resolves Issue #1019 where browse_collection returned "Invalid type 'memories'" error
28
+ - Memory elements can now be browsed, installed, and managed through all MCP tools
29
+
30
+ ### Technical Details
31
+ - Modified validation arrays at lines 2034, 5322, and 5394 in src/index.ts
32
+ - Added memory case to element type switch statements
33
+ - Updated all collection tool descriptions to include memory elements
34
+ - Clean hotfix approach with cherry-picked commit from develop branch
35
+
36
+ ## [1.9.0] - 2025-09-17
37
+
38
+ ### Added
39
+ - **Memory Element Implementation**: Complete memory element support with advanced features
40
+ - Persistent context storage across sessions
41
+ - Date-based folder organization for scalability
42
+ - Search indexing with content-based retrieval
43
+ - Retention policies and privacy levels
44
+ - Performance optimizations for large memory sets
45
+
46
+ ### Enhanced
47
+ - **Collection Support**: Full memory element support in collection browsing and installation
48
+ - **Portfolio System**: Memory elements fully integrated with portfolio management
49
+
3
50
  ## [1.8.1] - 2025-09-15
4
51
 
5
52
  ### Fixed
package/README.github.md CHANGED
@@ -49,7 +49,7 @@
49
49
 
50
50
  ## Elements That Customize Your AI's Capabilities and Actions
51
51
 
52
- **DollhouseMCP** is open source, community-powered AI customization. Create your own customization elements—personas that shape behavior, skills that add capabilities, templates for consistent outputs, and agents for automation—or use and modify an ever-growing number of customization elements from the community. Every element you create can be saved to your portfolio and used again or shared back to the DollhouseMCP Collection to help others.
52
+ **DollhouseMCP** is open source, community-powered AI customization. Create your own customization elements—personas that shape behavior, skills that add capabilities, templates for consistent outputs, agents for automation, and memories for persistent context—or use and modify an ever-growing number of customization elements from the community. Every element you create can be saved to your portfolio and used again or shared back to the DollhouseMCP Collection to help others.
53
53
 
54
54
  ### What Are Customization Elements?
55
55
 
@@ -57,11 +57,12 @@
57
57
  - **Skills** – Add specialized capabilities your AI can use
58
58
  - **Templates** – Ensure consistent, high-quality outputs
59
59
  - **Agents** – Enable autonomous task completion with smart decision-making
60
+ - **Memory** – Persistent context storage across sessions
60
61
 
61
62
  ### Core Capabilities
62
63
 
63
- - **🌍 Community Element Library** – A growing number of tested personas, skills, templates, and agents
64
- - **✨ Create Custom Elements** – Create personas, skills, templates, and agents from scratch using natural language
64
+ - **🌍 Community Element Library** – A growing number of tested personas, skills, templates, agents, and memories
65
+ - **✨ Create Custom Elements** – Create personas, skills, templates, agents, and memories from scratch using natural language
65
66
  - **🤝 Open Source** – AGPL-3.0 licensed, ensuring community contributions stay free
66
67
  - **📚 The DollhouseMCP Collection** – Install any community element with one command
67
68
  - **🛠️ 41 Professional Tools** – Complete toolkit for element creation and management
@@ -97,11 +98,11 @@
97
98
  ```bash
98
99
  npm install @dollhousemcp/mcp-server
99
100
  ```
100
- See [Quick Start](#quick-start) for complete setup instructions.
101
+ See [Quick Start](#-quick-start) for complete setup instructions.
101
102
 
102
103
  ---
103
104
 
104
- ## 🎯 Element Types: Available Now & Coming Soon
105
+ ## 🎯 Element Types
105
106
 
106
107
  ### ✅ Available Now
107
108
 
@@ -121,7 +122,7 @@ Shape how your AI behaves and responds
121
122
  </td>
122
123
  <td width="50%">
123
124
 
124
- #### 💡 Skills
125
+ #### 💡 Skills
125
126
  Add specialized capabilities your AI can use
126
127
  - **Code Review** - Analyze code quality and suggest improvements
127
128
  - **Data Analysis** - Statistical analysis and visualization
@@ -159,18 +160,27 @@ Enable autonomous task completion
159
160
  </td>
160
161
  </tr>
161
162
  <tr>
162
- <td width="50%">
163
+ <td colspan="2">
164
+
165
+ #### 🧠 Memory <span style="background-color: #4CAF50; color: white; padding: 2px 6px; border-radius: 3px; font-size: 0.8em;">NEW in v1.9.0</span>
166
+ Persistent context across sessions with intelligent organization
167
+ - **Text-based storage** - Currently supports text content (PDFs, images, and other media types coming soon)
168
+ - **Date-based folders** - Automatic YYYY-MM-DD organization prevents flat directory issues
169
+ - **YAML format** - Human-readable structured data (vs Markdown for other elements)
170
+ - **Smart deduplication** - SHA-256 hashing prevents duplicate storage
171
+ - **Search indexing** - Fast queries across thousands of entries
172
+ - **Use**: `"Create a memory for this project"` or `"Remember this conversation"`
163
173
 
164
- #### 🧠 Memory (NEW in v1.9.0!)
165
- Persistent context across sessions
166
- - **Project Context** - Remember project details and decisions
167
- - **Learning Progress** - Track skill development over time
168
- - **Personal Preferences** - Store user-specific settings
169
- - **Conversation History** - Maintain dialogue continuity
170
- - **Date-based organization** - Automatic folder structure
171
- - **Use**: `"Create a memory for this project"`
174
+ **Typical file sizes**: Single memories up to ~100KB, folder structure enables unlimited collections
172
175
 
173
176
  </td>
177
+ </tr>
178
+ </table>
179
+
180
+ ### 🚀 Coming Soon
181
+
182
+ <table>
183
+ <tr>
174
184
  <td width="50%">
175
185
 
176
186
  #### 🎯 Ensembles
@@ -179,7 +189,18 @@ Combine multiple elements as one unified entity
179
189
  - **Writing Suite** - Creative + Technical + Editorial capabilities
180
190
  - **Security Team** - Analyst + Auditor + Remediation skills
181
191
  - **Data Science Platform** - Analysis + Visualization + ML skills
182
- - **Status**: Coming Soon
192
+ - **Status**: In development
193
+
194
+ </td>
195
+ <td width="50%">
196
+
197
+ #### 📋 Prompts
198
+ Reusable instruction sets
199
+ - **Code Review Checklist** - Systematic review steps
200
+ - **Security Audit Guide** - Vulnerability assessment process
201
+ - **Writing Guidelines** - Style and tone instructions
202
+ - **Debug Workflow** - Problem-solving methodology
203
+ - **Status**: Planned
183
204
 
184
205
  </td>
185
206
  </tr>
@@ -192,18 +213,18 @@ External function calls and commands
192
213
  - **Database Queries** - Direct database interaction
193
214
  - **API Calls** - External service integration
194
215
  - **File Operations** - Advanced file manipulation
195
- - **Status**: Planned
216
+ - **Status**: Under consideration
196
217
 
197
218
  </td>
198
219
  <td width="50%">
199
220
 
200
- #### 📋 Prompts
201
- Reusable instruction sets
202
- - **Code Review Checklist** - Systematic review steps
203
- - **Security Audit Guide** - Vulnerability assessment process
204
- - **Writing Guidelines** - Style and tone instructions
205
- - **Debug Workflow** - Problem-solving methodology
206
- - **Status**: Planned
221
+ #### 📚 Memory Enhancements
222
+ Expanding memory capabilities
223
+ - **PDF Support** - Text extraction from PDF documents
224
+ - **Image Analysis** - Visual content understanding
225
+ - **Audio Transcription** - Voice and sound processing
226
+ - **Video Understanding** - Motion and scene analysis
227
+ - **Status**: Roadmap planned
207
228
 
208
229
  </td>
209
230
  </tr>
@@ -297,7 +318,7 @@ Assistant: "I've saved 'Hard SciFi Writer' to your portfolio. You can activate i
297
318
  - **Save your favorites**: `"Save this configuration as my default setup"`
298
319
  - **Share with others**: `"Submit my custom persona to the community collection"`
299
320
 
300
- ## 🚀 Quick Start
321
+ ## 📦 Installation
301
322
 
302
323
  ### Choose Your Installation Method
303
324
 
@@ -463,7 +484,7 @@ After configuring and restarting Claude Desktop, test with:
463
484
  list_elements type="personas"
464
485
  ```
465
486
 
466
- You should see your available personas. If not, check the [Troubleshooting](#troubleshooting) section.
487
+ You should see your available personas. If not, check the [Troubleshooting](#-troubleshooting) section.
467
488
 
468
489
  ---
469
490
 
@@ -475,7 +496,7 @@ By default, your elements are stored in:
475
496
 
476
497
  Use the `DOLLHOUSE_PORTFOLIO_DIR` environment variable to customize this location.
477
498
 
478
- ## 🎯 Getting Started
499
+ ## 🚀 Quick Start
479
500
 
480
501
  Once installed, try these commands in Claude:
481
502
 
@@ -521,14 +542,28 @@ Your portfolio is organized by element type:
521
542
 
522
543
  ```
523
544
  ~/.dollhouse/portfolio/
524
- ├── personas/ # Behavioral profiles
525
- ├── skills/ # Discrete capabilities
526
- ├── templates/ # Reusable content structures
527
- ├── agents/ # Goal-oriented actors
528
- ├── memories/ # Persistent context
529
- └── ensembles/ # Element combinations
545
+ ├── personas/ # Behavioral profiles (Markdown files)
546
+ ├── skills/ # Discrete capabilities (Markdown files)
547
+ ├── templates/ # Reusable content structures (Markdown files)
548
+ ├── agents/ # Goal-oriented actors (Markdown files)
549
+ ├── memories/ # Persistent context (YAML files with date folders)
550
+ │ ├── 2025-09-18/
551
+ │ │ └── project-context.yaml
552
+ │ └── 2025-09-19/
553
+ │ ├── meeting-notes.yaml
554
+ │ └── code-review.yaml
555
+ └── ensembles/ # Element combinations (Markdown files)
530
556
  ```
531
557
 
558
+ **Note on File Types:**
559
+ - **Markdown (.md)**: Used for personas, skills, templates, agents, and ensembles - human-readable with YAML frontmatter
560
+ - **YAML (.yaml)**: Used exclusively for memories - structured data optimized for context storage
561
+
562
+ **Memory Organization:**
563
+ - Memories use automatic **YYYY-MM-DD** folder structure to prevent flat directory performance issues
564
+ - Each memory file can grow up to ~100KB before creating a new file
565
+ - Folder structure enables unlimited memory collections without degradation
566
+
532
567
  ### Key Features
533
568
 
534
569
  - **Local-First Architecture**: All elements stored locally with optional cloud sync
package/README.md CHANGED
@@ -12,7 +12,7 @@ A comprehensive Model Context Protocol (MCP) server that enables dynamic AI pers
12
12
  **📦 NPM Package**: https://www.npmjs.com/package/@dollhousemcp/mcp-server
13
13
  **🌍 Website**: https://dollhousemcp.com
14
14
 
15
- ## 🚀 Quick Start
15
+ ## 📦 Installation
16
16
 
17
17
  ### Choose Your Installation Method
18
18
 
@@ -178,7 +178,7 @@ After configuring and restarting Claude Desktop, test with:
178
178
  list_elements type="personas"
179
179
  ```
180
180
 
181
- You should see your available personas. If not, check the [Troubleshooting](#troubleshooting) section.
181
+ You should see your available personas. If not, check the [Troubleshooting](#-troubleshooting) section.
182
182
 
183
183
  ---
184
184
 
@@ -190,7 +190,7 @@ By default, your elements are stored in:
190
190
 
191
191
  Use the `DOLLHOUSE_PORTFOLIO_DIR` environment variable to customize this location.
192
192
 
193
- ## 🎯 Getting Started
193
+ ## 🚀 Quick Start
194
194
 
195
195
  Once installed, try these commands in Claude:
196
196