56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Read",
|
|
"Edit",
|
|
"Write",
|
|
"Glob",
|
|
"Grep",
|
|
"Bash(git status*)",
|
|
"Bash(git diff*)",
|
|
"Bash(git log*)",
|
|
"Bash(git add*)",
|
|
"Bash(git commit*)",
|
|
"Bash(git push*)",
|
|
"Bash(git pull*)",
|
|
"Bash(git fetch*)",
|
|
"Bash(git rebase*)",
|
|
"Bash(git remote*)",
|
|
"Bash(git branch*)",
|
|
"Bash(mkdir*)",
|
|
"Bash(ls*)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "git -C /home/artanis/.cog pull --rebase --autostash 2>/dev/null || true",
|
|
"statusMessage": "Syncing Cog memory...",
|
|
"async": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [],
|
|
"SessionEnd": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "cd /home/artanis/.cog && git diff --quiet && git diff --staged --quiet || (git add -A && git commit -m \"chore: sync memory $(date +%Y-%m-%d)\" && git push origin main) 2>/dev/null || true",
|
|
"statusMessage": "Saving Cog memory...",
|
|
"async": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"enabledPlugins": {
|
|
"frontend-design@claude-plugins-official": true,
|
|
"superpowers@claude-plugins-official": true
|
|
}
|
|
}
|