🔧 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:
@@ -1,23 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"disabledMcpjsonServers": [
|
||||||
|
"claude-flow@alpha",
|
||||||
|
"ruv-swarm",
|
||||||
|
"flow-nexus"
|
||||||
|
],
|
||||||
"hooks": {
|
"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": [
|
"Stop": [
|
||||||
{
|
{
|
||||||
"hooks": [
|
"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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user