feat(cursor): Add Claude-Mem Cursor hooks installation and management

- Introduced functionality for installing, uninstalling, and checking the status of Cursor hooks.
- Added a new command structure for managing hooks with detailed usage instructions.
- Implemented a method to locate the cursor-hooks directory across different environments.
- Updated build-hooks script to inform users about the location of Cursor hooks.

This enhancement streamlines the integration of Claude-Mem with Cursor, improving user experience and accessibility of hooks.
This commit is contained in:
Alex Newman
2025-12-29 20:14:23 -05:00
parent 6c25bbcbf4
commit 8d485890b9
22 changed files with 3188 additions and 72 deletions
+1
View File
@@ -197,6 +197,7 @@ async function buildHooks() {
console.log(` - Worker: worker-service.cjs`);
console.log(` - MCP Server: mcp-server.cjs`);
console.log('\n💡 Note: Dependencies will be auto-installed on first hook execution');
console.log('📝 Cursor hooks are in cursor-hooks/ (no build needed - plain shell scripts)');
} catch (error) {
console.error('\n❌ Build failed:', error.message);