moflo 4.8.12 → 4.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/.claude/settings.json +1 -1
  2. package/.claude/workflow-state.json +3 -3
  3. package/package.json +2 -4
  4. package/src/@claude-flow/cli/dist/src/commands/hooks.js +3 -3
  5. package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +47 -46
  6. package/src/@claude-flow/cli/dist/src/services/workflow-gate.js +96 -68
  7. package/src/@claude-flow/cli/package.json +1 -1
  8. package/.claude/agents/MIGRATION_SUMMARY.md +0 -222
  9. package/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -179
  10. package/.claude/agents/development/backend/dev-backend-api.md +0 -142
  11. package/.claude/agents/flow-nexus/app-store.md +0 -88
  12. package/.claude/agents/flow-nexus/authentication.md +0 -69
  13. package/.claude/agents/flow-nexus/challenges.md +0 -81
  14. package/.claude/agents/flow-nexus/neural-network.md +0 -88
  15. package/.claude/agents/flow-nexus/payments.md +0 -83
  16. package/.claude/agents/flow-nexus/sandbox.md +0 -76
  17. package/.claude/agents/flow-nexus/swarm.md +0 -76
  18. package/.claude/agents/flow-nexus/user-tools.md +0 -96
  19. package/.claude/agents/flow-nexus/workflow.md +0 -84
  20. package/.claude/agents/payments/agentic-payments.md +0 -126
  21. package/.claude/agents/sona/sona-learning-optimizer.md +0 -74
  22. package/.claude/agents/sublinear/consensus-coordinator.md +0 -338
  23. package/.claude/agents/sublinear/matrix-optimizer.md +0 -185
  24. package/.claude/agents/sublinear/pagerank-analyzer.md +0 -299
  25. package/.claude/agents/sublinear/performance-optimizer.md +0 -368
  26. package/.claude/agents/sublinear/trading-predictor.md +0 -246
  27. package/.claude/agents/testing/unit/tdd-london-swarm.md +0 -244
  28. package/.claude/agents/testing/validation/production-validator.md +0 -395
  29. package/.claude/agents/v3/database-specialist.yaml +0 -21
  30. package/.claude/agents/v3/index.yaml +0 -17
  31. package/.claude/agents/v3/project-coordinator.yaml +0 -15
  32. package/.claude/agents/v3/python-specialist.yaml +0 -21
  33. package/.claude/agents/v3/test-architect.yaml +0 -20
  34. package/.claude/agents/v3/typescript-specialist.yaml +0 -21
  35. package/.claude/agents/v3/v3-integration-architect.md +0 -346
  36. package/.claude/agents/v3/v3-memory-specialist.md +0 -318
  37. package/.claude/agents/v3/v3-performance-engineer.md +0 -397
  38. package/.claude/agents/v3/v3-queen-coordinator.md +0 -98
  39. package/.claude/agents/v3/v3-security-architect.md +0 -174
  40. package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  41. package/.claude/commands/analysis/README.md +0 -9
  42. package/.claude/commands/analysis/bottleneck-detect.md +0 -162
  43. package/.claude/commands/analysis/performance-bottlenecks.md +0 -59
  44. package/.claude/commands/analysis/performance-report.md +0 -25
  45. package/.claude/commands/analysis/token-efficiency.md +0 -45
  46. package/.claude/commands/analysis/token-usage.md +0 -25
  47. package/.claude/commands/automation/README.md +0 -9
  48. package/.claude/commands/automation/auto-agent.md +0 -122
  49. package/.claude/commands/automation/self-healing.md +0 -106
  50. package/.claude/commands/automation/session-memory.md +0 -90
  51. package/.claude/commands/automation/smart-agents.md +0 -73
  52. package/.claude/commands/automation/smart-spawn.md +0 -25
  53. package/.claude/commands/automation/workflow-select.md +0 -25
  54. package/.claude/commands/coordination/README.md +0 -9
  55. package/.claude/commands/coordination/agent-spawn.md +0 -25
  56. package/.claude/commands/coordination/init.md +0 -44
  57. package/.claude/commands/coordination/orchestrate.md +0 -43
  58. package/.claude/commands/coordination/spawn.md +0 -45
  59. package/.claude/commands/coordination/swarm-init.md +0 -85
  60. package/.claude/commands/coordination/task-orchestrate.md +0 -25
  61. package/.claude/commands/flow-nexus/app-store.md +0 -124
  62. package/.claude/commands/flow-nexus/challenges.md +0 -120
  63. package/.claude/commands/flow-nexus/login-registration.md +0 -65
  64. package/.claude/commands/flow-nexus/neural-network.md +0 -134
  65. package/.claude/commands/flow-nexus/payments.md +0 -116
  66. package/.claude/commands/flow-nexus/sandbox.md +0 -83
  67. package/.claude/commands/flow-nexus/swarm.md +0 -87
  68. package/.claude/commands/flow-nexus/user-tools.md +0 -152
  69. package/.claude/commands/flow-nexus/workflow.md +0 -115
  70. package/.claude/commands/monitoring/README.md +0 -9
  71. package/.claude/commands/monitoring/agent-metrics.md +0 -25
  72. package/.claude/commands/monitoring/agents.md +0 -44
  73. package/.claude/commands/monitoring/real-time-view.md +0 -25
  74. package/.claude/commands/monitoring/status.md +0 -46
  75. package/.claude/commands/monitoring/swarm-monitor.md +0 -25
  76. package/.claude/commands/optimization/README.md +0 -9
  77. package/.claude/commands/optimization/auto-topology.md +0 -62
  78. package/.claude/commands/optimization/cache-manage.md +0 -25
  79. package/.claude/commands/optimization/parallel-execute.md +0 -25
  80. package/.claude/commands/optimization/parallel-execution.md +0 -50
  81. package/.claude/commands/optimization/topology-optimize.md +0 -25
  82. package/.claude/commands/pair/README.md +0 -261
  83. package/.claude/commands/pair/commands.md +0 -546
  84. package/.claude/commands/pair/config.md +0 -510
  85. package/.claude/commands/pair/examples.md +0 -512
  86. package/.claude/commands/pair/modes.md +0 -348
  87. package/.claude/commands/pair/session.md +0 -407
  88. package/.claude/commands/pair/start.md +0 -209
  89. package/.claude/commands/stream-chain/pipeline.md +0 -121
  90. package/.claude/commands/stream-chain/run.md +0 -70
  91. package/.claude/commands/training/README.md +0 -9
  92. package/.claude/commands/training/model-update.md +0 -25
  93. package/.claude/commands/training/neural-patterns.md +0 -74
  94. package/.claude/commands/training/neural-train.md +0 -25
  95. package/.claude/commands/training/pattern-learn.md +0 -25
  96. package/.claude/commands/training/specialization.md +0 -63
  97. package/.claude/commands/truth/start.md +0 -143
  98. package/.claude/commands/verify/check.md +0 -50
  99. package/.claude/commands/verify/start.md +0 -128
  100. package/.claude/helpers/gate-hook.mjs +0 -50
  101. package/.claude/helpers/gate.cjs +0 -138
  102. package/.claude/helpers/hook-handler.cjs +0 -83
  103. package/.claude/helpers/prompt-hook.mjs +0 -72
  104. package/.claude/scripts/build-embeddings.mjs +0 -549
  105. package/.claude/scripts/generate-code-map.mjs +0 -697
  106. package/.claude/scripts/hooks.mjs +0 -656
  107. package/.claude/scripts/index-guidance.mjs +0 -893
  108. package/.claude/scripts/index-tests.mjs +0 -710
  109. package/.claude/scripts/semantic-search.mjs +0 -473
  110. package/.claude/scripts/session-start-launcher.mjs +0 -226
  111. package/.claude/skills/agentic-jujutsu/SKILL.md +0 -645
  112. package/.claude/skills/dual-mode/README.md +0 -71
  113. package/.claude/skills/dual-mode/dual-collect.md +0 -103
  114. package/.claude/skills/dual-mode/dual-coordinate.md +0 -85
  115. package/.claude/skills/dual-mode/dual-spawn.md +0 -81
  116. package/.claude/skills/flow-nexus-neural/SKILL.md +0 -738
  117. package/.claude/skills/flow-nexus-platform/SKILL.md +0 -1157
  118. package/.claude/skills/flow-nexus-swarm/SKILL.md +0 -610
  119. package/.claude/skills/pair-programming/SKILL.md +0 -1202
  120. package/.claude/skills/stream-chain/SKILL.md +0 -563
  121. package/.claude/skills/v3-cli-modernization/SKILL.md +0 -872
  122. package/.claude/skills/v3-core-implementation/SKILL.md +0 -797
  123. package/.claude/skills/v3-ddd-architecture/SKILL.md +0 -442
  124. package/.claude/skills/v3-integration-deep/SKILL.md +0 -241
  125. package/.claude/skills/v3-mcp-optimization/SKILL.md +0 -777
  126. package/.claude/skills/v3-memory-unification/SKILL.md +0 -174
  127. package/.claude/skills/v3-performance-optimization/SKILL.md +0 -390
  128. package/.claude/skills/v3-security-overhaul/SKILL.md +0 -82
  129. package/.claude/skills/v3-swarm-coordination/SKILL.md +0 -340
  130. package/.claude-plugin/README.md +0 -720
  131. package/.claude-plugin/docs/INSTALLATION.md +0 -261
  132. package/.claude-plugin/docs/PLUGIN_SUMMARY.md +0 -361
  133. package/.claude-plugin/docs/QUICKSTART.md +0 -361
  134. package/.claude-plugin/docs/STRUCTURE.md +0 -128
  135. package/.claude-plugin/hooks/hooks.json +0 -74
  136. package/.claude-plugin/marketplace.json +0 -96
  137. package/.claude-plugin/plugin.json +0 -71
  138. package/.claude-plugin/scripts/install.sh +0 -234
  139. package/.claude-plugin/scripts/uninstall.sh +0 -36
  140. package/.claude-plugin/scripts/verify.sh +0 -108
@@ -1,71 +0,0 @@
1
- {
2
- "name": "claude-flow",
3
- "version": "2.5.0",
4
- "description": "Enterprise AI agent orchestration plugin with 150+ commands, 74+ specialized agents, SPARC methodology, swarm coordination, GitHub integration, and neural training capabilities",
5
- "author": {
6
- "name": "rUv",
7
- "email": "eric@motailz.com"
8
- },
9
- "homepage": "https://github.com/eric-cielo/moflo",
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/eric-cielo/moflo.git"
13
- },
14
- "bugs": {
15
- "url": "https://github.com/eric-cielo/moflo/issues"
16
- },
17
- "license": "MIT",
18
- "keywords": [
19
- "ai-agents",
20
- "swarm-intelligence",
21
- "orchestration",
22
- "sparc-methodology",
23
- "github-automation",
24
- "neural-training",
25
- "mcp-integration",
26
- "enterprise",
27
- "workflow-automation",
28
- "multi-agent",
29
- "coordination",
30
- "tdd",
31
- "code-review",
32
- "performance-optimization"
33
- ],
34
- "category": "development",
35
- "tags": [
36
- "productivity",
37
- "automation",
38
- "ai",
39
- "agents",
40
- "swarm",
41
- "coordination",
42
- "sparc",
43
- "github",
44
- "neural-network",
45
- "enterprise"
46
- ],
47
- "engines": {
48
- "claudeCode": ">=2.0.0",
49
- "node": ">=20.0.0"
50
- },
51
- "mcpServers": {
52
- "moflo": {
53
- "command": "npx",
54
- "args": ["moflo", "mcp", "start"],
55
- "description": "Core MoFlo MCP server for swarm coordination, agent management, and task orchestration (40+ tools)",
56
- "optional": false
57
- },
58
- "ruv-swarm": {
59
- "command": "npx",
60
- "args": ["ruv-swarm", "mcp", "start"],
61
- "description": "Enhanced swarm coordination with WASM acceleration (2.8-4.4x speed improvement)",
62
- "optional": true
63
- },
64
- "flow-nexus": {
65
- "command": "npx",
66
- "args": ["flow-nexus@latest", "mcp", "start"],
67
- "description": "Cloud-based orchestration platform with 70+ tools (requires authentication)",
68
- "optional": true
69
- }
70
- }
71
- }
@@ -1,234 +0,0 @@
1
- #!/bin/bash
2
- # Claude Flow Plugin Installation Script
3
- # Version: 2.5.0
4
-
5
- set -e
6
-
7
- # Colors for output
8
- RED='\033[0;31m'
9
- GREEN='\033[0;32m'
10
- YELLOW='\033[1;33m'
11
- BLUE='\033[0;34m'
12
- NC='\033[0m' # No Color
13
-
14
- # Logging functions
15
- info() {
16
- echo -e "${BLUE}ℹ${NC} $1"
17
- }
18
-
19
- success() {
20
- echo -e "${GREEN}✓${NC} $1"
21
- }
22
-
23
- warning() {
24
- echo -e "${YELLOW}⚠${NC} $1"
25
- }
26
-
27
- error() {
28
- echo -e "${RED}✗${NC} $1"
29
- }
30
-
31
- # Banner
32
- echo -e "${BLUE}"
33
- cat << "EOF"
34
- ╔═══════════════════════════════════════════════════════════╗
35
- ║ ║
36
- ║ Claude Flow Plugin Installer v2.5.0 ║
37
- ║ Enterprise AI Agent Orchestration Plugin ║
38
- ║ ║
39
- ╚═══════════════════════════════════════════════════════════╝
40
- EOF
41
- echo -e "${NC}"
42
-
43
- # Check prerequisites
44
- info "Checking prerequisites..."
45
-
46
- # Check Claude Code
47
- if ! command -v claude &> /dev/null; then
48
- error "Claude Code CLI not found. Please install it first:"
49
- echo " Visit: https://claude.com/code"
50
- exit 1
51
- fi
52
- success "Claude Code CLI detected"
53
-
54
- # Check Node.js version
55
- if command -v node &> /dev/null; then
56
- NODE_VERSION=$(node -v | cut -d'v' -f2 | cut -d'.' -f1)
57
- if [ "$NODE_VERSION" -lt 20 ]; then
58
- error "Node.js version must be >= 20.0.0"
59
- echo " Current version: $(node -v)"
60
- exit 1
61
- fi
62
- success "Node.js $(node -v) detected"
63
- else
64
- warning "Node.js not found (optional for MCP features)"
65
- fi
66
-
67
- # Check Git
68
- if command -v git &> /dev/null; then
69
- success "Git $(git --version | cut -d' ' -f3) detected"
70
- else
71
- warning "Git not found (required for GitHub integration features)"
72
- fi
73
-
74
- echo ""
75
- info "Installation Options:"
76
- echo " 1. Full installation (commands + agents + MCP servers)"
77
- echo " 2. Commands only"
78
- echo " 3. Agents only"
79
- echo " 4. MCP servers only"
80
- echo ""
81
-
82
- read -p "Select installation type (1-4) [1]: " INSTALL_TYPE
83
- INSTALL_TYPE=${INSTALL_TYPE:-1}
84
-
85
- # Determine installation directories
86
- CLAUDE_DIR="${HOME}/.claude"
87
- COMMANDS_DIR="${CLAUDE_DIR}/commands"
88
- AGENTS_DIR="${CLAUDE_DIR}/agents"
89
- SETTINGS_FILE="${CLAUDE_DIR}/settings.json"
90
-
91
- # Create directories
92
- info "Creating directories..."
93
- mkdir -p "$COMMANDS_DIR"
94
- mkdir -p "$AGENTS_DIR"
95
- success "Directories created"
96
-
97
- # Get script directory
98
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
99
- PLUGIN_DIR="$(dirname "$SCRIPT_DIR")"
100
-
101
- # Install commands
102
- if [ "$INSTALL_TYPE" = "1" ] || [ "$INSTALL_TYPE" = "2" ]; then
103
- info "Installing 150+ slash commands..."
104
-
105
- if [ -d "$PLUGIN_DIR/commands" ]; then
106
- cp -r "$PLUGIN_DIR/commands/"* "$COMMANDS_DIR/"
107
- COMMAND_COUNT=$(find "$COMMANDS_DIR" -name "*.md" | wc -l | tr -d ' ')
108
- success "Installed $COMMAND_COUNT commands"
109
- else
110
- error "Commands directory not found"
111
- exit 1
112
- fi
113
- fi
114
-
115
- # Install agents
116
- if [ "$INSTALL_TYPE" = "1" ] || [ "$INSTALL_TYPE" = "3" ]; then
117
- info "Installing 74+ specialized agents..."
118
-
119
- if [ -d "$PLUGIN_DIR/agents" ]; then
120
- cp -r "$PLUGIN_DIR/agents/"* "$AGENTS_DIR/"
121
- AGENT_COUNT=$(find "$AGENTS_DIR" -name "*.md" | wc -l | tr -d ' ')
122
- success "Installed $AGENT_COUNT agents"
123
- else
124
- error "Agents directory not found"
125
- exit 1
126
- fi
127
- fi
128
-
129
- # Setup MCP servers
130
- if [ "$INSTALL_TYPE" = "1" ] || [ "$INSTALL_TYPE" = "4" ]; then
131
- info "Configuring MCP servers..."
132
-
133
- # Create or update settings.json
134
- if [ ! -f "$SETTINGS_FILE" ]; then
135
- cat > "$SETTINGS_FILE" << 'SETTINGS_EOF'
136
- {
137
- "mcpServers": {
138
- "moflo": {
139
- "command": "npx",
140
- "args": ["moflo", "mcp", "start"],
141
- "description": "Core MoFlo MCP server with 40+ orchestration tools"
142
- }
143
- }
144
- }
145
- SETTINGS_EOF
146
- success "Created settings.json with MoFlo MCP server"
147
- else
148
- info "Settings file exists. Please manually add MCP servers:"
149
- echo ""
150
- cat << 'MCP_INSTRUCTIONS'
151
- Add to ~/.claude/settings.json:
152
-
153
- {
154
- "mcpServers": {
155
- "moflo": {
156
- "command": "npx",
157
- "args": ["moflo", "mcp", "start"]
158
- },
159
- "ruv-swarm": {
160
- "command": "npx",
161
- "args": ["ruv-swarm", "mcp", "start"]
162
- },
163
- "flow-nexus": {
164
- "command": "npx",
165
- "args": ["flow-nexus@latest", "mcp", "start"]
166
- }
167
- }
168
- }
169
- MCP_INSTRUCTIONS
170
- echo ""
171
- fi
172
-
173
- # Install MCP packages
174
- read -p "Install MCP packages now? (y/n) [y]: " INSTALL_MCP
175
- INSTALL_MCP=${INSTALL_MCP:-y}
176
-
177
- if [ "$INSTALL_MCP" = "y" ]; then
178
- info "Installing moflo MCP server..."
179
- npx moflo --version 2>/dev/null || npm install -g moflo
180
- success "MoFlo MCP server installed"
181
-
182
- read -p "Install optional ruv-swarm MCP? (y/n) [n]: " INSTALL_RUV
183
- if [ "$INSTALL_RUV" = "y" ]; then
184
- info "Installing ruv-swarm MCP server..."
185
- npx ruv-swarm --version 2>/dev/null || npm install -g ruv-swarm
186
- success "ruv-swarm MCP server installed"
187
- fi
188
-
189
- read -p "Install optional flow-nexus MCP? (y/n) [n]: " INSTALL_NEXUS
190
- if [ "$INSTALL_NEXUS" = "y" ]; then
191
- info "Installing flow-nexus MCP server..."
192
- npx flow-nexus@latest --version 2>/dev/null || npm install -g flow-nexus@latest
193
- success "flow-nexus MCP server installed"
194
- fi
195
- fi
196
- fi
197
-
198
- # Installation complete
199
- echo ""
200
- echo -e "${GREEN}╔═══════════════════════════════════════════════════════════╗${NC}"
201
- echo -e "${GREEN}║ ║${NC}"
202
- echo -e "${GREEN}║ 🎉 Installation Complete! 🎉 ║${NC}"
203
- echo -e "${GREEN}║ ║${NC}"
204
- echo -e "${GREEN}╚═══════════════════════════════════════════════════════════╝${NC}"
205
- echo ""
206
-
207
- info "Next Steps:"
208
- echo ""
209
- echo " 1. Restart Claude Code to load the plugin"
210
- echo " 2. Verify installation:"
211
- echo " $ claude --version"
212
- echo ""
213
- echo " 3. Try a command:"
214
- echo " /coordination-swarm-init"
215
- echo ""
216
- echo " 4. Test MCP integration:"
217
- echo " In Claude Code, check available MCP tools"
218
- echo ""
219
-
220
- info "Available Commands:"
221
- echo " • 150+ slash commands in ~/.claude/commands/"
222
- echo " • 74+ specialized agents in ~/.claude/agents/"
223
- echo " • 3 MCP servers with 110+ tools"
224
- echo ""
225
-
226
- info "Documentation:"
227
- echo " • README: $PLUGIN_DIR/README.md"
228
- echo " • Quickstart: $PLUGIN_DIR/docs/QUICKSTART.md"
229
- echo " • User Guide: $PLUGIN_DIR/docs/USER_GUIDE.md"
230
- echo " • Examples: $PLUGIN_DIR/docs/EXAMPLES.md"
231
- echo ""
232
-
233
- success "Claude Flow plugin is ready to use!"
234
- echo ""
@@ -1,36 +0,0 @@
1
- #!/bin/bash
2
- # Claude Flow Plugin Uninstallation Script
3
-
4
- set -e
5
-
6
- RED='\033[0;31m'
7
- GREEN='\033[0;32m'
8
- YELLOW='\033[1;33m'
9
- NC='\033[0m'
10
-
11
- info() { echo -e "${GREEN}ℹ${NC} $1"; }
12
- warning() { echo -e "${YELLOW}⚠${NC} $1"; }
13
-
14
- echo -e "${RED}═══════════════════════════════════════════════════${NC}"
15
- echo -e "${RED} Claude Flow Plugin Uninstaller${NC}"
16
- echo -e "${RED}═══════════════════════════════════════════════════${NC}"
17
- echo ""
18
-
19
- warning "This will remove Claude Flow commands, agents, and configuration."
20
- read -p "Continue? (y/n): " CONFIRM
21
-
22
- if [ "$CONFIRM" != "y" ]; then
23
- echo "Uninstallation cancelled."
24
- exit 0
25
- fi
26
-
27
- info "Removing commands..."
28
- find ~/.claude/commands -name "*coordination*" -o -name "*sparc*" -o -name "*github*" -o -name "*hive-mind*" 2>/dev/null | xargs rm -f
29
-
30
- info "Removing agents..."
31
- find ~/.claude/agents -name "*coordinator*" -o -name "*swarm*" 2>/dev/null | xargs rm -f
32
-
33
- warning "MCP servers NOT removed from settings.json"
34
- echo "Please manually remove from ~/.claude/settings.json if desired"
35
-
36
- echo -e "${GREEN}✓ Uninstallation complete${NC}"
@@ -1,108 +0,0 @@
1
- #!/bin/bash
2
- # Claude Flow Plugin Verification Script
3
- # Verifies installation and configuration
4
-
5
- set -e
6
-
7
- # Colors
8
- GREEN='\033[0;32m'
9
- RED='\033[0;31m'
10
- YELLOW='\033[1;33m'
11
- BLUE='\033[0;34m'
12
- NC='\033[0m'
13
-
14
- info() { echo -e "${BLUE}ℹ${NC} $1"; }
15
- success() { echo -e "${GREEN}✓${NC} $1"; }
16
- warning() { echo -e "${YELLOW}⚠${NC} $1"; }
17
- error() { echo -e "${RED}✗${NC} $1"; }
18
-
19
- echo -e "${BLUE}═══════════════════════════════════════════════════${NC}"
20
- echo -e "${BLUE} Claude Flow Plugin Verification${NC}"
21
- echo -e "${BLUE}═══════════════════════════════════════════════════${NC}"
22
- echo ""
23
-
24
- ERRORS=0
25
- WARNINGS=0
26
-
27
- # Check Claude Code
28
- info "Checking Claude Code CLI..."
29
- if command -v claude &> /dev/null; then
30
- success "Claude Code CLI installed"
31
- else
32
- error "Claude Code CLI not found"
33
- ((ERRORS++))
34
- fi
35
-
36
- # Check directories
37
- info "Checking installation directories..."
38
- if [ -d "$HOME/.claude/commands" ]; then
39
- CMD_COUNT=$(find "$HOME/.claude/commands" -name "*.md" 2>/dev/null | wc -l | tr -d ' ')
40
- success "Commands directory exists ($CMD_COUNT commands)"
41
- else
42
- error "Commands directory not found"
43
- ((ERRORS++))
44
- fi
45
-
46
- if [ -d "$HOME/.claude/agents" ]; then
47
- AGENT_COUNT=$(find "$HOME/.claude/agents" -name "*.md" 2>/dev/null | wc -l | tr -d ' ')
48
- success "Agents directory exists ($AGENT_COUNT agents)"
49
- else
50
- error "Agents directory not found"
51
- ((ERRORS++))
52
- fi
53
-
54
- # Check settings
55
- info "Checking Claude Code settings..."
56
- if [ -f "$HOME/.claude/settings.json" ]; then
57
- success "Settings file exists"
58
-
59
- if grep -q '"moflo"' "$HOME/.claude/settings.json" || grep -q '"claude-flow"' "$HOME/.claude/settings.json"; then
60
- success "MoFlo MCP server configured"
61
- else
62
- warning "MoFlo MCP server not configured"
63
- ((WARNINGS++))
64
- fi
65
- else
66
- warning "Settings file not found"
67
- ((WARNINGS++))
68
- fi
69
-
70
- # Check MCP packages
71
- info "Checking MCP packages..."
72
- if npx moflo --version &> /dev/null; then
73
- VERSION=$(npx moflo --version 2>/dev/null || echo "unknown")
74
- success "moflo MCP: $VERSION"
75
- else
76
- warning "moflo MCP not installed"
77
- ((WARNINGS++))
78
- fi
79
-
80
- if npx ruv-swarm --version &> /dev/null; then
81
- success "ruv-swarm MCP: installed (optional)"
82
- else
83
- info "ruv-swarm MCP: not installed (optional)"
84
- fi
85
-
86
- if npx flow-nexus@latest --version &> /dev/null; then
87
- success "flow-nexus MCP: installed (optional)"
88
- else
89
- info "flow-nexus MCP: not installed (optional)"
90
- fi
91
-
92
- # Summary
93
- echo ""
94
- echo -e "${BLUE}═══════════════════════════════════════════════════${NC}"
95
- echo -e "${BLUE} Verification Summary${NC}"
96
- echo -e "${BLUE}═══════════════════════════════════════════════════${NC}"
97
- echo ""
98
-
99
- if [ $ERRORS -eq 0 ] && [ $WARNINGS -eq 0 ]; then
100
- success "All checks passed! Plugin is ready to use."
101
- exit 0
102
- elif [ $ERRORS -eq 0 ]; then
103
- warning "$WARNINGS warning(s) found. Plugin should work but some features may be limited."
104
- exit 0
105
- else
106
- error "$ERRORS error(s) and $WARNINGS warning(s) found. Please fix errors before using the plugin."
107
- exit 1
108
- fi