Files
claude-mem/cursor-hooks/hooks.json
Alex Newman 8d485890b9 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.
2025-12-29 20:14:23 -05:00

35 lines
617 B
JSON

{
"version": 1,
"hooks": {
"beforeSubmitPrompt": [
{
"command": "./cursor-hooks/session-init.sh"
},
{
"command": "./cursor-hooks/context-inject.sh"
}
],
"afterMCPExecution": [
{
"command": "./cursor-hooks/save-observation.sh"
}
],
"afterShellExecution": [
{
"command": "./cursor-hooks/save-observation.sh"
}
],
"afterFileEdit": [
{
"command": "./cursor-hooks/save-file-edit.sh"
}
],
"stop": [
{
"command": "./cursor-hooks/session-summary.sh"
}
]
}
}