1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-24 18:00:58 +01:00
home-manager/tests/modules/programs/claude-code/expected-settings.json
Austin Horstman 8b4ac14968
claude-code: init module (#7685)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-16 21:33:06 -05:00

55 lines
1.2 KiB
JSON

{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"hooks": {
"PreToolUse": [
{
"hooks": [
{
"command": "echo 'Running bash command: $CLAUDE_TOOL_INPUT'",
"type": "command"
}
],
"matcher": "Bash"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"command": "echo 'User submitted: $CLAUDE_USER_PROMPT'",
"type": "command"
}
],
"matcher": ""
}
]
},
"includeCoAuthoredBy": false,
"model": "claude-3-5-sonnet-20241022",
"permissions": {
"additionalDirectories": [
"../docs/"
],
"allow": [
"Bash(git diff:*)",
"Edit"
],
"ask": [
"Bash(git push:*)"
],
"defaultMode": "acceptEdits",
"deny": [
"WebFetch",
"Bash(curl:*)",
"Read(./.env)",
"Read(./secrets/**)"
],
"disableBypassPermissionsMode": "disable"
},
"statusLine": {
"command": "input=$(cat); echo \"[$(echo \"$input\" | jq -r '.model.display_name')] 📁 $(basename \"$(echo \"$input\" | jq -r '.workspace.current_dir')\")\"",
"padding": 0,
"type": "command"
},
"theme": "dark"
}