Refactor worker startup logic to use PM2 with improved error handling
- Updated `new-hook.js` to streamline logging and session management. - Enhanced database schema initialization and migration processes. - Improved error handling for worker startup in `worker-utils.ts`, ensuring PM2 binary and ecosystem config existence before spawning. - Added detailed error messages for missing dependencies and spawn failures.
This commit is contained in:
@@ -67,7 +67,7 @@ Claude-Mem is a **Claude Code plugin** that provides persistent memory across se
|
||||
|
||||
- **Node.js**: 18.0.0 or higher
|
||||
- **Claude Code**: Latest version with plugin support
|
||||
- **PM2**: Process manager (installed as dev dependency)
|
||||
- **PM2**: Process manager (bundled with plugin - no global install required)
|
||||
- **SQLite 3**: For persistent storage (bundled)
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user