Initial commit
This commit is contained in:
41
hooks/hooks.json
Normal file
41
hooks/hooks.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"description": "Claude Dev Helper - Auto-open files in VSCode after Write/Edit",
|
||||
"version": "1.4.0",
|
||||
"author": "Dev GOM",
|
||||
"lastUpdated": "2025-10-29",
|
||||
"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",
|
||||
"continueOnError": true,
|
||||
"suppressOutput": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PostToolUse": [
|
||||
{
|
||||
"description": "Auto-open modified files in VSCode without focus",
|
||||
"matcher": "Write|Edit",
|
||||
"priority": 50,
|
||||
"enabled": true,
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/auto-open-file.js",
|
||||
"description": "Opens modified file in VSCode without focusing",
|
||||
"continueOnError": true,
|
||||
"suppressOutput": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user