🔧 chore: clean up claude-flow configuration

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 <noreply@anthropic.com>
This commit is contained in:
Zijie Tian
2026-01-20 00:58:52 +08:00
parent baa4be7e2e
commit d3b41b2f64

View File

@@ -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
}
}
}