From d3b41b2f64c94b31d542a883f608c8bbd5e06759 Mon Sep 17 00:00:00 2001 From: Zijie Tian Date: Tue, 20 Jan 2026 00:58:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20clean=20up=20claude-flo?= =?UTF-8?q?w=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unused claude-flow hooks, permissions, and daemon settings. Add disabled MCP servers list for claude-flow related servers. Co-Authored-By: Claude Opus 4.5 --- .claude/settings.json | 60 ++++--------------------------------------- 1 file changed, 5 insertions(+), 55 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index 4c07a7c..e21deb0 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,23 +1,10 @@ { + "disabledMcpjsonServers": [ + "claude-flow@alpha", + "ruv-swarm", + "flow-nexus" + ], "hooks": { - "SessionStart": [ - { - "hooks": [ - { - "type": "command", - "command": "npx @claude-flow/cli@latest daemon start --quiet 2>/dev/null || true", - "timeout": 5000, - "continueOnError": true - }, - { - "type": "command", - "command": "[ -n \"$SESSION_ID\" ] && npx @claude-flow/cli@latest hooks session-restore --session-id \"$SESSION_ID\" 2>/dev/null || true", - "timeout": 10000, - "continueOnError": true - } - ] - } - ], "Stop": [ { "hooks": [ @@ -28,43 +15,6 @@ } ] } - ], - "PermissionRequest": [ - { - "matcher": "^mcp__claude-flow__.*$", - "hooks": [ - { - "type": "command", - "command": "echo '{\"decision\": \"allow\", \"reason\": \"claude-flow MCP tool auto-approved\"}'", - "timeout": 1000 - } - ] - }, - { - "matcher": "^Bash\\(npx @?claude-flow.*\\)$", - "hooks": [ - { - "type": "command", - "command": "echo '{\"decision\": \"allow\", \"reason\": \"claude-flow CLI auto-approved\"}'", - "timeout": 1000 - } - ] - } ] - }, - "permissions": { - "allow": [ - "Bash(npx claude-flow*)", - "Bash(npx @claude-flow/*)", - "mcp__claude-flow__*" - ], - "deny": [] - }, - "claudeFlow": { - "version": "3.0.0", - "enabled": true, - "daemon": { - "autoStart": true - } } }