mirror of
https://github.com/thedotmack/claude-mem
synced 2026-04-25 17:15:04 +02:00
- 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.
35 lines
617 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|