mirror of
https://github.com/obra/episodic-memory.git
synced 2026-09-14 13:43:14 +08:00
c9c4e8ae31
Fix MCP server startup errors by implementing a wrapper script that automatically runs npm install before starting the server. This solves the "Cannot find module" errors that occurred because MCP servers start before SessionStart hooks can run. Changes: - Add cli/mcp-server-wrapper that checks for node_modules and runs npm install - Update plugin.json to use wrapper script instead of direct node execution - Add esbuild bundling to reduce dependency size - Remove cli/ensure-dependencies (no longer needed) - Remove ensure-dependencies from SessionStart hook - Bump version to 1.0.3 in package.json, plugin.json, marketplace.json - Update CHANGELOG.md Fixes: Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@modelcontextprotocol/sdk'