chore: allow Write and Edit tools in settings

This commit is contained in:
posimai 2026-03-19 10:02:47 +09:00
parent b8b26373dd
commit 4c3308ccdd
1 changed files with 24 additions and 14 deletions

View File

@ -1,22 +1,10 @@
{ {
"hooks": {
"PostToolUse": [
{
"matcher": "Write",
"hooks": [
{
"type": "command",
"command": "bash C:/Users/maita/posimai-project/scripts/memory-push.sh"
}
]
}
]
},
"permissions": { "permissions": {
"defaultMode": "acceptEdits",
"allow": [ "allow": [
"Bash(*)", "Bash(*)",
"Read", "Read",
"Write",
"Edit",
"Glob", "Glob",
"Grep", "Grep",
"WebSearch", "WebSearch",
@ -65,6 +53,7 @@
"Bash(git clean *)", "Bash(git clean *)",
"Bash(sudo *)" "Bash(sudo *)"
], ],
"defaultMode": "acceptEdits",
"additionalDirectories": [ "additionalDirectories": [
"c:\\Users\\maita\\posimai-project\\_template", "c:\\Users\\maita\\posimai-project\\_template",
"c:\\Users\\maita\\posimai-project\\posimai-analytics\\src\\app\\(galaxy)", "c:\\Users\\maita\\posimai-project\\posimai-analytics\\src\\app\\(galaxy)",
@ -72,5 +61,26 @@
"c:\\Users\\maita\\posimai-project", "c:\\Users\\maita\\posimai-project",
"/tmp" "/tmp"
] ]
},
"hooks": {
"PostToolUse": [
{
"matcher": "Write",
"hooks": [
{
"type": "command",
"command": "bash C:/Users/maita/posimai-project/scripts/memory-push.sh"
}
]
}
]
},
"extraKnownMarketplaces": {
"claude-plugins-official": {
"source": {
"source": "github",
"repo": "anthropics/claude-plugins-official"
}
}
} }
} }