Files
2025-11-29 18:19:05 +08:00

60 lines
1.7 KiB
JSON

{
"description": "Automatically updates project documentation based on code changes",
"version": "1.4.1",
"author": "Dev GOM",
"lastUpdated": "2025-10-20",
"hooks": {
"SessionStart": [
{
"description": "Initialize plugin configuration at session start",
"priority": 100,
"enabled": true,
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/init-config.js",
"description": "Creates default configuration file if it doesn't exist",
"timeout": 5000,
"continueOnError": true,
"suppressOutput": true
}
]
}
],
"PostToolUse": [
{
"description": "Track file changes for structure documentation",
"matcher": "Write|Edit",
"priority": 50,
"enabled": true,
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/track-structure-changes.js",
"description": "Records file changes for project structure tracking",
"timeout": 5000,
"continueOnError": true,
"suppressOutput": true
}
]
}
],
"Stop": [
{
"description": "Update project structure documentation",
"priority": 80,
"enabled": true,
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/update-structure-docs.js",
"description": "Generates or updates project structure documentation with directory tree, scripts, and dependencies",
"timeout": 15000,
"continueOnError": true
}
]
}
]
}
}