Adds the Nextcloud server to the network allowlist so curl can reach it for sending chat notifications. https://claude.ai/code/session_01C7jV6wrzJVhHRKWsq87XwB
49 lines
888 B
JSON
49 lines
888 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"WebFetch(domain:nx71726.your-storageshare.de)",
|
|
"Bash(curl * nx71726.your-storageshare.de*)"
|
|
]
|
|
},
|
|
"sandbox": {
|
|
"network": {
|
|
"allowedDomains": ["nx71726.your-storageshare.de"]
|
|
}
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Edit|MultiEdit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "but claude pre-tool"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|MultiEdit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "but claude post-tool"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "but claude stop"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|