fix: Add debounced Undo/Redo system to avoid character-by-character history
- Add debounced state updates for title and content (500ms delay) - Immediate UI updates with delayed history saving - Prevent one-letter-per-undo issue - Add cleanup for debounce timers on unmount
This commit is contained in:
21
mcp-server/package.json
Normal file
21
mcp-server/package.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "memento-mcp-server",
|
||||
"version": "1.0.0",
|
||||
"description": "MCP Server for Memento note-taking app integration with N8N",
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"start:sse": "node index-sse.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.0.4",
|
||||
"@prisma/client": "^5.22.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.22.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"prisma": "^5.22.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user