diff --git a/src/test/claude-code-settings/modern-complete-config.json b/src/test/claude-code-settings/modern-complete-config.json index da57e3e4044..18f2a341304 100644 --- a/src/test/claude-code-settings/modern-complete-config.json +++ b/src/test/claude-code-settings/modern-complete-config.json @@ -1,5 +1,7 @@ { "$schema": "https://json.schemastore.org/claude-code-settings.json", + "allowManagedHooksOnly": false, + "alwaysThinkingEnabled": false, "apiKeyHelper": "/usr/local/bin/claude-auth-helper", "attribution": { "commit": "Generated with AI\n\nCo-Authored-By: AI ", @@ -29,6 +31,27 @@ }, "forceLoginMethod": "claudeai", "hooks": { + "PermissionRequest": [ + { + "hooks": [ + { + "command": "echo 'Permission requested' >> ~/.claude-code/permissions.log", + "type": "command" + } + ], + "matcher": "Bash" + } + ], + "PostToolUseFailure": [ + { + "hooks": [ + { + "command": "echo 'Tool failure' >> ~/.claude-code/errors.log", + "type": "command" + } + ] + } + ], "PreToolUse": [ { "hooks": [ @@ -83,15 +106,23 @@ "plansDirectory": "./plans", "respectGitignore": true, "sandbox": { + "allowUnsandboxedCommands": false, + "autoAllowBashIfSandboxed": true, + "enableWeakerNestedSandbox": false, + "enabled": true, + "excludedCommands": ["docker", "git"], "network": { "allowAllUnixSockets": false, "allowLocalBinding": true, - "allowedDomains": ["api.anthropic.com", "*.example.com"], + "allowUnixSockets": ["/var/run/docker.sock"], + "allowedDomains": ["github.com", "*.npmjs.org", "registry.yarnpkg.com"], "deniedDomains": ["malware.example"], - "socksProxyPort": 11080 + "httpProxyPort": 8080, + "socksProxyPort": 8081 } }, "showTurnDuration": true, + "spinnerTipsEnabled": true, "spinnerVerbs": { "mode": "append", "verbs": ["Analyzing", "Building"]