claude-flow-novice 1.3.5 → 1.5.0

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 (356) hide show
  1. package/.claude/agents/analysis/code-analyzer.md +3 -20
  2. package/.claude/agents/analysis/code-review/analyze-code-quality.md +1 -1
  3. package/.claude/agents/analyst.md +300 -0
  4. package/.claude/agents/architect.md +557 -0
  5. package/.claude/agents/architecture/system-architect.md +630 -0
  6. package/.claude/agents/architecture/system-design/arch-system-design.md +1 -1
  7. package/.claude/agents/base-template-generator.md +24 -1
  8. package/.claude/agents/coder.md +180 -0
  9. package/.claude/agents/consensus/byzantine-coordinator.md +4 -21
  10. package/.claude/agents/consensus/consensus-builder.md +3 -20
  11. package/.claude/agents/consensus/crdt-synchronizer.md +4 -21
  12. package/.claude/agents/consensus/gossip-coordinator.md +4 -21
  13. package/.claude/agents/consensus/performance-benchmarker.md +4 -21
  14. package/.claude/agents/consensus/quorum-manager.md +4 -21
  15. package/.claude/agents/consensus/raft-manager.md +4 -21
  16. package/.claude/agents/consensus/security-manager.md +4 -21
  17. package/.claude/agents/coordinator.md +842 -0
  18. package/.claude/agents/data/ml/data-ml-model.md +2 -2
  19. package/.claude/agents/development/backend/dev-backend-api.md +2 -2
  20. package/.claude/agents/devops/ci-cd/ops-cicd-github.md +2 -2
  21. package/.claude/agents/devops/devops-engineer.md +638 -0
  22. package/.claude/agents/documentation/api-docs/docs-api-openapi.md +2 -2
  23. package/.claude/agents/github/code-review-swarm.md +1 -1
  24. package/.claude/agents/github/github-specialist.md +856 -0
  25. package/.claude/agents/github/pr-manager.md +1 -1
  26. package/.claude/agents/github/release-manager.md +1 -1
  27. package/.claude/agents/neural/neural-pattern-agent.md +762 -0
  28. package/.claude/agents/optimization/benchmark-suite.md +1 -1
  29. package/.claude/agents/optimization/perf-analyzer.md +725 -0
  30. package/.claude/agents/optimization/performance-monitor.md +1 -1
  31. package/.claude/agents/planner.md +135 -0
  32. package/.claude/agents/researcher.md +185 -0
  33. package/.claude/agents/reviewer.md +291 -0
  34. package/.claude/agents/security/security-specialist.md +978 -0
  35. package/.claude/agents/sparc/architecture.md +1 -1
  36. package/.claude/agents/sparc/pseudocode.md +1 -1
  37. package/.claude/agents/sparc/refinement.md +1 -1
  38. package/.claude/agents/sparc/specification.md +1 -1
  39. package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +2 -2
  40. package/.claude/agents/swarm/adaptive-coordinator-enhanced.md +746 -0
  41. package/.claude/agents/tester.md +663 -0
  42. package/.claude/agents/testing/unit/tdd-london-swarm.md +1 -1
  43. package/.claude/agents/testing/validation/production-validator.md +1 -1
  44. package/.claude/commands/claude-soul.js +1 -1
  45. package/.claude/hooks.json +12 -15
  46. package/{.claude → .claude-flow-novice/.claude}/agents/MIGRATION_SUMMARY.md +1 -1
  47. package/.claude-flow-novice/.claude/agents/analysis/code-analyzer.md +192 -0
  48. package/.claude-flow-novice/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
  49. package/.claude-flow-novice/.claude/agents/analyst.md +300 -0
  50. package/.claude-flow-novice/.claude/agents/architect.md +557 -0
  51. package/.claude-flow-novice/.claude/agents/architecture/system-architect.md +630 -0
  52. package/.claude-flow-novice/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
  53. package/.claude-flow-novice/.claude/agents/backend-dev.json +42 -0
  54. package/.claude-flow-novice/.claude/agents/base-template-generator.md +65 -0
  55. package/.claude-flow-novice/.claude/agents/code-analyzer.json +39 -0
  56. package/.claude-flow-novice/.claude/agents/coder.json +42 -0
  57. package/.claude-flow-novice/.claude/agents/coder.md +180 -0
  58. package/.claude-flow-novice/.claude/agents/consensus/byzantine-coordinator.md +46 -0
  59. package/.claude-flow-novice/.claude/agents/consensus/consensus-builder.md +225 -0
  60. package/.claude-flow-novice/.claude/agents/consensus/crdt-synchronizer.md +980 -0
  61. package/.claude-flow-novice/.claude/agents/consensus/gossip-coordinator.md +46 -0
  62. package/.claude-flow-novice/.claude/agents/consensus/performance-benchmarker.md +834 -0
  63. package/.claude-flow-novice/.claude/agents/consensus/quorum-manager.md +806 -0
  64. package/.claude-flow-novice/.claude/agents/consensus/raft-manager.md +46 -0
  65. package/.claude-flow-novice/.claude/agents/consensus/security-manager.md +605 -0
  66. package/.claude-flow-novice/.claude/agents/coordinator.md +842 -0
  67. package/.claude-flow-novice/.claude/agents/data/ml/data-ml-model.md +193 -0
  68. package/.claude-flow-novice/.claude/agents/development/backend/dev-backend-api.md +142 -0
  69. package/.claude-flow-novice/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
  70. package/.claude-flow-novice/.claude/agents/devops/devops-engineer.md +638 -0
  71. package/.claude-flow-novice/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
  72. package/.claude-flow-novice/.claude/agents/github/code-review-swarm.md +538 -0
  73. package/.claude-flow-novice/.claude/agents/github/github-modes.md +173 -0
  74. package/.claude-flow-novice/.claude/agents/github/github-specialist.md +856 -0
  75. package/.claude-flow-novice/.claude/agents/github/issue-tracker.md +319 -0
  76. package/.claude-flow-novice/.claude/agents/github/multi-repo-swarm.md +553 -0
  77. package/.claude-flow-novice/.claude/agents/github/pr-manager.md +191 -0
  78. package/.claude-flow-novice/.claude/agents/github/project-board-sync.md +509 -0
  79. package/.claude-flow-novice/.claude/agents/github/release-manager.md +367 -0
  80. package/.claude-flow-novice/.claude/agents/github/release-swarm.md +583 -0
  81. package/.claude-flow-novice/.claude/agents/github/repo-architect.md +398 -0
  82. package/.claude-flow-novice/.claude/agents/github/swarm-issue.md +573 -0
  83. package/.claude-flow-novice/.claude/agents/github/swarm-pr.md +428 -0
  84. package/.claude-flow-novice/.claude/agents/github/sync-coordinator.md +452 -0
  85. package/.claude-flow-novice/.claude/agents/github/workflow-automation.md +635 -0
  86. package/.claude-flow-novice/.claude/agents/goal/goal-planner.md +73 -0
  87. package/.claude-flow-novice/.claude/agents/neural/neural-pattern-agent.md +762 -0
  88. package/.claude-flow-novice/.claude/agents/neural/safla-neural.md +74 -0
  89. package/.claude-flow-novice/.claude/agents/optimization/benchmark-suite.md +665 -0
  90. package/.claude-flow-novice/.claude/agents/optimization/load-balancer.md +431 -0
  91. package/.claude-flow-novice/.claude/agents/optimization/perf-analyzer.md +725 -0
  92. package/.claude-flow-novice/.claude/agents/optimization/performance-monitor.md +672 -0
  93. package/.claude-flow-novice/.claude/agents/optimization/resource-allocator.md +674 -0
  94. package/.claude-flow-novice/.claude/agents/optimization/topology-optimizer.md +808 -0
  95. package/.claude-flow-novice/.claude/agents/planner.json +41 -0
  96. package/.claude-flow-novice/.claude/agents/planner.md +135 -0
  97. package/.claude-flow-novice/.claude/agents/researcher.json +41 -0
  98. package/.claude-flow-novice/.claude/agents/researcher.md +185 -0
  99. package/.claude-flow-novice/.claude/agents/reviewer.json +39 -0
  100. package/.claude-flow-novice/.claude/agents/reviewer.md +291 -0
  101. package/.claude-flow-novice/.claude/agents/security/security-specialist.md +978 -0
  102. package/.claude-flow-novice/.claude/agents/sparc/architecture.md +472 -0
  103. package/.claude-flow-novice/.claude/agents/sparc/pseudocode.md +318 -0
  104. package/.claude-flow-novice/.claude/agents/sparc/refinement.md +525 -0
  105. package/.claude-flow-novice/.claude/agents/sparc/specification.md +276 -0
  106. package/.claude-flow-novice/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
  107. package/.claude-flow-novice/.claude/agents/sublinear/consciousness-evolution-agent.md +499 -0
  108. package/.claude-flow-novice/.claude/agents/sublinear/matrix-solver-agent.md +113 -0
  109. package/.claude-flow-novice/.claude/agents/sublinear/nanosecond-scheduler-agent.md +644 -0
  110. package/.claude-flow-novice/.claude/agents/sublinear/pagerank-agent.md +699 -0
  111. package/.claude-flow-novice/.claude/agents/sublinear/phi-calculator-agent.md +749 -0
  112. package/.claude-flow-novice/.claude/agents/sublinear/psycho-symbolic-agent.md +543 -0
  113. package/.claude-flow-novice/.claude/agents/sublinear/sublinear.md +816 -0
  114. package/.claude-flow-novice/.claude/agents/sublinear/temporal-advantage-agent.md +360 -0
  115. package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator-enhanced.md +746 -0
  116. package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator.md +396 -0
  117. package/.claude-flow-novice/.claude/agents/swarm/hierarchical-coordinator.md +300 -0
  118. package/.claude-flow-novice/.claude/agents/swarm/mesh-coordinator.md +435 -0
  119. package/.claude-flow-novice/.claude/agents/system-architect.json +40 -0
  120. package/.claude-flow-novice/.claude/agents/templates/automation-smart-agent.md +205 -0
  121. package/.claude-flow-novice/.claude/agents/templates/coordinator-swarm-init.md +90 -0
  122. package/.claude-flow-novice/.claude/agents/templates/github-pr-manager.md +177 -0
  123. package/.claude-flow-novice/.claude/agents/templates/implementer-sparc-coder.md +259 -0
  124. package/.claude-flow-novice/.claude/agents/templates/memory-coordinator.md +187 -0
  125. package/.claude-flow-novice/.claude/agents/templates/migration-plan.md +746 -0
  126. package/.claude-flow-novice/.claude/agents/templates/orchestrator-task.md +139 -0
  127. package/.claude-flow-novice/.claude/agents/templates/performance-analyzer.md +199 -0
  128. package/.claude-flow-novice/.claude/agents/templates/sparc-coordinator.md +183 -0
  129. package/.claude-flow-novice/.claude/agents/tester.json +40 -0
  130. package/.claude-flow-novice/.claude/agents/tester.md +663 -0
  131. package/.claude-flow-novice/.claude/agents/testing/e2e/playwright-agent.md +249 -0
  132. package/.claude-flow-novice/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
  133. package/.claude-flow-novice/.claude/agents/testing/validation/production-validator.md +395 -0
  134. package/.claude-flow-novice/dist/index.js +12 -24
  135. package/.claude-flow-novice/dist/index.js.map +1 -0
  136. package/.claude-flow-novice/dist/src/agents/agent-manager.js +123 -69
  137. package/.claude-flow-novice/dist/src/agents/agent-manager.js.map +1 -1
  138. package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js +7 -7
  139. package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js.map +1 -1
  140. package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js +485 -0
  141. package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js.map +1 -0
  142. package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js +630 -0
  143. package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js.map +1 -0
  144. package/.claude-flow-novice/dist/src/cli/commands/agent.js +1 -1
  145. package/.claude-flow-novice/dist/src/cli/commands/agent.js.map +1 -1
  146. package/.claude-flow-novice/dist/src/cli/commands/config-integration.js +6 -6
  147. package/.claude-flow-novice/dist/src/cli/commands/enterprise.js +18 -18
  148. package/.claude-flow-novice/dist/src/cli/commands/enterprise.js.map +1 -1
  149. package/.claude-flow-novice/dist/src/cli/commands/goal-init.js +4 -4
  150. package/.claude-flow-novice/dist/src/cli/commands/help-new.js +23 -23
  151. package/.claude-flow-novice/dist/src/cli/commands/help-new.js.map +1 -1
  152. package/.claude-flow-novice/dist/src/cli/commands/help.js +74 -74
  153. package/.claude-flow-novice/dist/src/cli/commands/help.js.map +1 -1
  154. package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js +2 -2
  155. package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js.map +1 -1
  156. package/.claude-flow-novice/dist/src/cli/commands/hive.js +4 -4
  157. package/.claude-flow-novice/dist/src/cli/commands/index.js +103 -132
  158. package/.claude-flow-novice/dist/src/cli/commands/index.js.map +1 -1
  159. package/.claude-flow-novice/dist/src/cli/commands/mcp.js +1 -1
  160. package/.claude-flow-novice/dist/src/cli/commands/migrate.js +4 -4
  161. package/.claude-flow-novice/dist/src/cli/commands/migrate.js.map +1 -1
  162. package/.claude-flow-novice/dist/src/cli/commands/monitor.js +1 -1
  163. package/.claude-flow-novice/dist/src/cli/commands/neural-init.js +4 -4
  164. package/.claude-flow-novice/dist/src/cli/commands/ruv-swarm.js +8 -8
  165. package/.claude-flow-novice/dist/src/cli/commands/sparc.js +12 -12
  166. package/.claude-flow-novice/dist/src/cli/commands/sparc.js.map +1 -1
  167. package/.claude-flow-novice/dist/src/cli/commands/start/start-command.js +3 -3
  168. package/.claude-flow-novice/dist/src/cli/commands/status.js +1 -1
  169. package/.claude-flow-novice/dist/src/cli/commands/swarm.js +7 -7
  170. package/.claude-flow-novice/dist/src/cli/commands/swarm.js.map +1 -1
  171. package/.claude-flow-novice/dist/src/cli/commands/verification.js +18 -18
  172. package/.claude-flow-novice/dist/src/cli/completion.js +54 -54
  173. package/.claude-flow-novice/dist/src/cli/completion.js.map +1 -1
  174. package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js +11 -11
  175. package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js.map +1 -1
  176. package/.claude-flow-novice/dist/src/cli/consolidated/core/CommandHandlers.js +31 -31
  177. package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js +39 -39
  178. package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js.map +1 -1
  179. package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js +25 -25
  180. package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js.map +1 -1
  181. package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js +8 -8
  182. package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js.map +1 -1
  183. package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js +6 -6
  184. package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js.map +1 -1
  185. package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js +7 -7
  186. package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js.map +1 -1
  187. package/.claude-flow-novice/dist/src/cli/index-remote.js +10 -10
  188. package/.claude-flow-novice/dist/src/cli/index.js +1 -1
  189. package/.claude-flow-novice/dist/src/cli/init/directory-structure.js +8 -8
  190. package/.claude-flow-novice/dist/src/cli/init/index.js +3 -3
  191. package/.claude-flow-novice/dist/src/cli/init/sparc-environment.js +67 -67
  192. package/.claude-flow-novice/dist/src/cli/init/swarm-commands.js +18 -18
  193. package/.claude-flow-novice/dist/src/cli/node-repl.js +2 -2
  194. package/.claude-flow-novice/dist/src/cli/repl.js +1 -1
  195. package/.claude-flow-novice/dist/src/cli/simple-cli.js +68 -68
  196. package/.claude-flow-novice/dist/src/cli/simple-cli.js.map +1 -1
  197. package/.claude-flow-novice/dist/src/cli/simple-commands/session-start-soul.js +271 -0
  198. package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js +7 -7
  199. package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js.map +1 -1
  200. package/.claude-flow-novice/dist/src/cli/ui/fallback-handler.js +7 -7
  201. package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js +816 -0
  202. package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js.map +1 -0
  203. package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js +812 -0
  204. package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js.map +1 -0
  205. package/.claude-flow-novice/dist/src/communication/optimized-serialization.js +369 -0
  206. package/.claude-flow-novice/dist/src/communication/optimized-serialization.js.map +1 -0
  207. package/.claude-flow-novice/dist/src/communication/performance-optimizations.js +526 -0
  208. package/.claude-flow-novice/dist/src/communication/performance-optimizations.js.map +1 -0
  209. package/.claude-flow-novice/dist/src/communication/performance-validator.js +532 -0
  210. package/.claude-flow-novice/dist/src/communication/performance-validator.js.map +1 -0
  211. package/.claude-flow-novice/dist/src/communication/priority-message-queue.js +525 -0
  212. package/.claude-flow-novice/dist/src/communication/priority-message-queue.js.map +1 -0
  213. package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js +218 -0
  214. package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js.map +1 -0
  215. package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js +521 -0
  216. package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js.map +1 -0
  217. package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js +563 -0
  218. package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js.map +1 -0
  219. package/.claude-flow-novice/dist/src/communication/websocket-cluster.js +344 -0
  220. package/.claude-flow-novice/dist/src/communication/websocket-cluster.js.map +1 -0
  221. package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js +369 -0
  222. package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js.map +1 -0
  223. package/.claude-flow-novice/dist/src/config/config-manager.js +1 -1
  224. package/.claude-flow-novice/dist/src/config/config-manager.js.map +1 -1
  225. package/.claude-flow-novice/dist/src/config/core/intelligent-configuration-manager.js +1 -1
  226. package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js +6 -6
  227. package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js.map +1 -1
  228. package/.claude-flow-novice/dist/src/config/migration/config-migration.js +1 -1
  229. package/.claude-flow-novice/dist/src/config/ruv-swarm-integration.js +1 -1
  230. package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js +1 -1
  231. package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js.map +1 -1
  232. package/.claude-flow-novice/dist/src/config/web-portal-config.js +0 -9
  233. package/.claude-flow-novice/dist/src/config/web-portal-config.js.map +1 -1
  234. package/.claude-flow-novice/dist/src/config/zero-config-setup.js +18 -18
  235. package/.claude-flow-novice/dist/src/config/zero-config-setup.js.map +1 -1
  236. package/.claude-flow-novice/dist/src/core/logger.js +33 -10
  237. package/.claude-flow-novice/dist/src/core/logger.js.map +1 -1
  238. package/.claude-flow-novice/dist/src/migration/index.js +1 -1
  239. package/.claude-flow-novice/dist/src/migration/index.js.map +1 -1
  240. package/.claude-flow-novice/dist/src/migration/migration-runner.js +4 -4
  241. package/.claude-flow-novice/dist/src/migration/migration-runner.js.map +1 -1
  242. package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js +430 -0
  243. package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js.map +1 -0
  244. package/.claude-flow-novice/dist/src/slash-commands/claude-soul.js +248 -365
  245. package/.claude-flow-novice/dist/src/slash-commands/register-all-commands.js +1 -1
  246. package/.claude-flow-novice/dist/src/swarm/claude-code-interface.js +1 -1
  247. package/.claude-flow-novice/dist/src/swarm/claude-flow-executor.js +1 -1
  248. package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js +471 -0
  249. package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js.map +1 -0
  250. package/.claude-flow-novice/dist/src/swarm/hive-mind-integration.js +1 -1
  251. package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js +543 -0
  252. package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js.map +1 -0
  253. package/.claude-flow-novice/dist/src/swarm/optimizations/connection-pool.js +1 -1
  254. package/.claude-flow-novice/dist/src/swarm/optimizations/optimized-executor.js +1 -1
  255. package/.claude-flow-novice/dist/src/swarm/types.js.map +1 -1
  256. package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js +709 -0
  257. package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js.map +1 -0
  258. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js +612 -0
  259. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js.map +1 -0
  260. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js +679 -0
  261. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js.map +1 -0
  262. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js +654 -0
  263. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js.map +1 -0
  264. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js +402 -0
  265. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js.map +1 -0
  266. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js +459 -0
  267. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js.map +1 -0
  268. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js +513 -0
  269. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js.map +1 -0
  270. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js +19 -0
  271. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js.map +1 -0
  272. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js +568 -0
  273. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js.map +1 -0
  274. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js +418 -0
  275. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js.map +1 -0
  276. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js +530 -0
  277. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js.map +1 -0
  278. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js +250 -0
  279. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js.map +1 -0
  280. package/.claude-flow-novice/dist/src/task/index.js +7 -7
  281. package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js +420 -0
  282. package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js.map +1 -0
  283. package/.claude-flow-novice/dist/src/validation/production-validator.js +1435 -0
  284. package/.claude-flow-novice/dist/src/validation/production-validator.js.map +1 -0
  285. package/.claude-flow-novice/dist/src/verification/cli-integration.js +3 -3
  286. package/.claude-flow-novice/dist/src/verification/hooks.js +1 -1
  287. package/CHANGELOG.md +13 -0
  288. package/CLAUDE.md +1032 -61
  289. package/README.md +0 -1
  290. package/config/build/babel.config.cjs +19 -11
  291. package/config/typescript/tsconfig.json +1 -1
  292. package/examples/02-workflows/claude-workflow.json +5 -5
  293. package/examples/claude-api-error-handling.ts +2 -2
  294. package/examples/frontend-testing-demo.ts +470 -0
  295. package/examples/litellm/config/config.yaml +1 -1
  296. package/package.json +13 -7
  297. package/scripts/build/unified-builder.sh +6 -6
  298. package/scripts/build/validate-agents.js +238 -0
  299. package/scripts/post-install-claude-md.js +28 -0
  300. package/scripts/run-production-validation.ts +590 -0
  301. package/scripts/test/test-coordination-features.ts +2 -2
  302. package/scripts/validate-stage3-performance.ts +377 -0
  303. package/src/cli/simple-commands/hooks.js +1 -0
  304. package/src/cli/simple-commands/init/agent-copier.js +0 -2
  305. package/src/cli/simple-commands/init/index.js +18 -110
  306. package/src/cli/simple-commands/init/templates/CLAUDE.md +162 -1158
  307. package/src/cli/simple-commands/init/templates/claude-md.js +38 -157
  308. package/src/swarm-fullstack/integrations/communication-bridge.ts +931 -0
  309. package/src/swarm-fullstack/testing/api-contract-validator.ts +909 -0
  310. package/src/swarm-fullstack/testing/backend-test-orchestrator.ts +791 -0
  311. package/src/swarm-fullstack/testing/frontend-test-orchestrator.ts +853 -0
  312. package/src/swarm-fullstack/testing/visual-regression.ts +507 -0
  313. package/src/swarm-fullstack/workflows/convergence-detector.ts +736 -0
  314. package/src/swarm-fullstack/workflows/fix-coordinator.ts +677 -0
  315. package/src/swarm-fullstack/workflows/index.ts +75 -0
  316. package/src/swarm-fullstack/workflows/iterative-build-test.ts +829 -0
  317. package/src/swarm-fullstack/workflows/regression-test-manager.ts +590 -0
  318. package/src/swarm-fullstack/workflows/test-result-analyzer.ts +739 -0
  319. package/src/swarm-fullstack/workflows/workflow-metrics.ts +399 -0
  320. package/wiki/command-reference/README.md +1 -2
  321. package/wiki/command-reference/mcp-tools/README.md +1 -1
  322. package/wiki/getting-started/claude-code-mcp/README.md +1 -2
  323. package/wiki/getting-started/installation/README.md +2 -10
  324. package/.claude/agents/backend-dev.json +0 -9
  325. package/.claude/agents/code-analyzer.json +0 -9
  326. package/.claude/agents/coder.json +0 -9
  327. package/.claude/agents/planner.json +0 -9
  328. package/.claude/agents/researcher.json +0 -9
  329. package/.claude/agents/reviewer.json +0 -9
  330. package/.claude/agents/system-architect.json +0 -9
  331. package/.claude/agents/tester.json +0 -9
  332. package/.claude/commands/flow-nexus/app-store.md +0 -124
  333. package/.claude/commands/flow-nexus/challenges.md +0 -120
  334. package/.claude/commands/flow-nexus/login-registration.md +0 -65
  335. package/.claude/commands/flow-nexus/neural-network.md +0 -134
  336. package/.claude/commands/flow-nexus/payments.md +0 -116
  337. package/.claude/commands/flow-nexus/sandbox.md +0 -83
  338. package/.claude/commands/flow-nexus/swarm.md +0 -87
  339. package/.claude/commands/flow-nexus/user-tools.md +0 -152
  340. package/.claude/commands/flow-nexus/workflow.md +0 -115
  341. package/.claude-flow-novice/dist/cli/index.js +0 -45
  342. package/.claude-flow-novice/dist/core/index.js +0 -22
  343. package/.claude-flow-novice/dist/mcp/mcp-server-novice.js +0 -595
  344. package/.claude-flow-novice/dist/mcp/mcp-server-sdk.js +0 -649
  345. package/.claude-flow-novice/dist/mcp/mcp-server-with-slash-commands.js +0 -776
  346. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-md.js +0 -1101
  347. package/src/cli/simple-commands/init/templates/CLAUDE.md.optimized +0 -265
  348. /package/{.claude → .claude-flow-novice/.claude}/agents/README.md +0 -0
  349. /package/{.claude → .claude-flow-novice/.claude}/agents/consensus/README.md +0 -0
  350. /package/{.claude → .claude-flow-novice/.claude}/agents/core/coder.md +0 -0
  351. /package/{.claude → .claude-flow-novice/.claude}/agents/core/planner.md +0 -0
  352. /package/{.claude → .claude-flow-novice/.claude}/agents/core/researcher.md +0 -0
  353. /package/{.claude → .claude-flow-novice/.claude}/agents/core/reviewer.md +0 -0
  354. /package/{.claude → .claude-flow-novice/.claude}/agents/core/tester.md +0 -0
  355. /package/{.claude → .claude-flow-novice/.claude}/agents/optimization/README.md +0 -0
  356. /package/{.claude → .claude-flow-novice/.claude}/agents/swarm/README.md +0 -0
package/README.md CHANGED
@@ -319,7 +319,6 @@ Automated validation of agent-human communication portal available at [`playwrig
319
319
 
320
320
  ### 🌐 **External Resources**
321
321
  - **[GitHub Repository](https://github.com/ruvnet/claude-flow)** - Source code and issues
322
- - **[Flow-Nexus Platform](https://flow-nexus.ruv.io)** - Cloud features and advanced orchestration
323
322
  - **[Community Discord](https://discord.gg/claude-flow)** - Real-time support and discussions
324
323
  - **[Stack Overflow](https://stackoverflow.com/questions/tagged/claude-flow)** - Technical Q&A
325
324
 
@@ -1,23 +1,31 @@
1
1
  module.exports = {
2
2
  presets: [
3
- ['@babel/preset-env', {
4
- targets: {
5
- node: '20'
6
- },
7
- modules: false
8
- }]
3
+ [
4
+ '@babel/preset-env',
5
+ {
6
+ targets: {
7
+ node: '20'
8
+ },
9
+ modules: 'auto'
10
+ }
11
+ ]
9
12
  ],
10
13
  plugins: [
11
- '@babel/plugin-syntax-import-attributes'
14
+ '@babel/plugin-transform-modules-commonjs',
15
+ '@babel/plugin-proposal-dynamic-import',
16
+ '@babel/plugin-transform-runtime'
12
17
  ],
13
18
  env: {
14
19
  test: {
15
20
  presets: [
16
- ['@babel/preset-env', {
17
- targets: {
18
- node: '20'
21
+ [
22
+ '@babel/preset-env',
23
+ {
24
+ targets: {
25
+ node: 'current'
26
+ }
19
27
  }
20
- }]
28
+ ]
21
29
  ]
22
30
  }
23
31
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2022",
3
+ "target": "ES2020",
4
4
  "module": "NodeNext",
5
5
  "moduleResolution": "NodeNext",
6
6
  "allowSyntheticDefaultImports": true,
@@ -8,7 +8,7 @@
8
8
  "name": "Research Best Practices",
9
9
  "type": "research",
10
10
  "description": "Research current best practices for authentication systems and security patterns",
11
- "tools": ["WebFetchTool", "View", "Edit", "GrepTool"],
11
+ "tools": ["WebFetch", "Read", "Edit", "Grep"],
12
12
  "skipPermissions": true,
13
13
  "config": ".roo/mcp.json"
14
14
  },
@@ -17,7 +17,7 @@
17
17
  "name": "Implement Backend API",
18
18
  "type": "implementation",
19
19
  "description": "Implement user authentication backend with JWT tokens and secure password hashing",
20
- "tools": ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
20
+ "tools": ["Read", "Write", "Edit", "MultiEdit", "Glob", "Grep", "Bash"],
21
21
  "skipPermissions": true,
22
22
  "mode": "backend-only",
23
23
  "coverage": 90
@@ -27,7 +27,7 @@
27
27
  "name": "Build Frontend Components",
28
28
  "type": "implementation",
29
29
  "description": "Create React components for login, registration, and password reset flows",
30
- "tools": ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
30
+ "tools": ["Read", "Write", "Edit", "MultiEdit", "Glob", "Grep", "Bash"],
31
31
  "skipPermissions": true,
32
32
  "mode": "frontend-only"
33
33
  },
@@ -36,7 +36,7 @@
36
36
  "name": "Write Comprehensive Tests",
37
37
  "type": "testing",
38
38
  "description": "Write unit and integration tests for authentication system with 95% coverage",
39
- "tools": ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash", "BatchTool"],
39
+ "tools": ["Read", "Write", "Edit", "MultiEdit", "Glob", "Grep", "Bash"],
40
40
  "skipPermissions": true,
41
41
  "coverage": 95
42
42
  }
@@ -45,7 +45,7 @@
45
45
  {
46
46
  "id": "research-agent",
47
47
  "type": "researcher",
48
- "capabilities": ["web-search", "information-gathering", "analysis"],
48
+ "capabilities": ["WebSearch", "WebFetch", "information-gathering", "analysis"],
49
49
  "assignedTasks": ["research-task"]
50
50
  },
51
51
  {
@@ -12,11 +12,11 @@ import {
12
12
  ClaudeNetworkError,
13
13
  getUserFriendlyError,
14
14
  } from '../src/api/claude-api-errors.js';
15
- import { ConsoleLogger } from '../src/core/logger.js';
15
+ import { Logger } from '../src/core/logger.js';
16
16
  import { ConfigManager } from '../src/config/config-manager.js';
17
17
 
18
18
  async function main() {
19
- const logger = new ConsoleLogger();
19
+ const logger = new Logger();
20
20
  const configManager = ConfigManager.getInstance();
21
21
 
22
22
  // Initialize the Claude client with enhanced error handling
@@ -0,0 +1,470 @@
1
+ /**
2
+ * Frontend Testing System Demo
3
+ * Demonstrates comprehensive testing workflow for fullstack swarm
4
+ */
5
+
6
+ import { FrontendTestOrchestrator, TestExecutionPlan, TestSuite } from '../src/swarm-fullstack/testing/frontend-test-orchestrator.js';
7
+ import { VisualRegressionSystem } from '../src/swarm-fullstack/testing/visual-regression.js';
8
+ import { ILogger } from '../src/core/logger.js';
9
+
10
+ // Mock logger for demo
11
+ const createDemoLogger = (): ILogger => ({
12
+ info: (message: string, data?: any) => console.log(`[INFO] ${message}`, data || ''),
13
+ warn: (message: string, data?: any) => console.warn(`[WARN] ${message}`, data || ''),
14
+ error: (message: string, data?: any) => console.error(`[ERROR] ${message}`, data || ''),
15
+ debug: (message: string, data?: any) => console.debug(`[DEBUG] ${message}`, data || ''),
16
+ configure: async () => {},
17
+ });
18
+
19
+ async function demonstrateFrontendTesting() {
20
+ console.log('🚀 Frontend Testing System Demo\n');
21
+ console.log('='.repeat(60));
22
+
23
+ const logger = createDemoLogger();
24
+
25
+ // ===================================================================
26
+ // 1. Initialize Frontend Test Orchestrator
27
+ // ===================================================================
28
+ console.log('\n📋 Step 1: Initializing Frontend Test Orchestrator');
29
+ console.log('-'.repeat(60));
30
+
31
+ const orchestrator = new FrontendTestOrchestrator(
32
+ {
33
+ unit: {
34
+ enabled: true,
35
+ framework: 'jest',
36
+ timeout: 30000,
37
+ coverage: {
38
+ enabled: true,
39
+ threshold: {
40
+ statements: 80,
41
+ branches: 75,
42
+ functions: 80,
43
+ lines: 80,
44
+ },
45
+ },
46
+ },
47
+ integration: {
48
+ enabled: true,
49
+ timeout: 60000,
50
+ mockStrategy: 'partial',
51
+ },
52
+ e2e: {
53
+ enabled: true,
54
+ framework: 'playwright',
55
+ browsers: ['chromium', 'firefox'],
56
+ headless: true,
57
+ timeout: 120000,
58
+ retries: 2,
59
+ },
60
+ visualRegression: {
61
+ enabled: true,
62
+ threshold: 0.99,
63
+ updateBaselines: false,
64
+ },
65
+ accessibility: {
66
+ enabled: true,
67
+ standards: ['wcag2aa'],
68
+ autoFix: false,
69
+ },
70
+ performance: {
71
+ enabled: true,
72
+ metrics: ['lcp', 'fid', 'cls', 'ttfb', 'fcp'],
73
+ thresholds: {
74
+ lcp: 2500,
75
+ fid: 100,
76
+ cls: 0.1,
77
+ ttfb: 600,
78
+ fcp: 1800,
79
+ },
80
+ },
81
+ },
82
+ logger
83
+ );
84
+
85
+ console.log('✅ Orchestrator initialized successfully');
86
+
87
+ // ===================================================================
88
+ // 2. Define Test Suites
89
+ // ===================================================================
90
+ console.log('\n📝 Step 2: Defining Test Suites');
91
+ console.log('-'.repeat(60));
92
+
93
+ const testSuites: TestSuite[] = [
94
+ // Unit Tests
95
+ {
96
+ id: 'unit-components',
97
+ name: 'Component Unit Tests',
98
+ type: 'unit',
99
+ files: [
100
+ 'src/components/Button.test.tsx',
101
+ 'src/components/Input.test.tsx',
102
+ 'src/components/Card.test.tsx',
103
+ ],
104
+ dependencies: [],
105
+ priority: 1,
106
+ estimatedDuration: 30000,
107
+ tags: ['unit', 'components', 'fast'],
108
+ },
109
+ {
110
+ id: 'unit-hooks',
111
+ name: 'Custom Hooks Unit Tests',
112
+ type: 'unit',
113
+ files: ['src/hooks/useAuth.test.ts', 'src/hooks/useApi.test.ts'],
114
+ dependencies: [],
115
+ priority: 1,
116
+ estimatedDuration: 20000,
117
+ tags: ['unit', 'hooks', 'fast'],
118
+ },
119
+
120
+ // Integration Tests
121
+ {
122
+ id: 'integration-auth',
123
+ name: 'Authentication Integration Tests',
124
+ type: 'integration',
125
+ files: ['src/features/auth/*.integration.test.tsx'],
126
+ dependencies: ['unit-hooks'],
127
+ priority: 2,
128
+ estimatedDuration: 60000,
129
+ tags: ['integration', 'auth', 'medium'],
130
+ },
131
+ {
132
+ id: 'integration-api',
133
+ name: 'API Integration Tests',
134
+ type: 'integration',
135
+ files: ['src/api/*.integration.test.ts'],
136
+ dependencies: ['unit-hooks'],
137
+ priority: 2,
138
+ estimatedDuration: 60000,
139
+ tags: ['integration', 'api', 'medium'],
140
+ },
141
+
142
+ // E2E Tests
143
+ {
144
+ id: 'e2e-user-journey',
145
+ name: 'Complete User Journey E2E',
146
+ type: 'e2e',
147
+ files: ['tests/e2e/user-journey.spec.ts'],
148
+ dependencies: ['integration-auth', 'integration-api'],
149
+ priority: 3,
150
+ estimatedDuration: 180000,
151
+ tags: ['e2e', 'critical', 'slow'],
152
+ },
153
+ {
154
+ id: 'e2e-checkout',
155
+ name: 'Checkout Flow E2E',
156
+ type: 'e2e',
157
+ files: ['tests/e2e/checkout.spec.ts'],
158
+ dependencies: ['integration-auth'],
159
+ priority: 3,
160
+ estimatedDuration: 120000,
161
+ tags: ['e2e', 'checkout', 'slow'],
162
+ },
163
+
164
+ // Visual Regression Tests
165
+ {
166
+ id: 'visual-components',
167
+ name: 'Component Visual Tests',
168
+ type: 'visual',
169
+ files: ['Button', 'Card', 'Modal', 'Navigation'],
170
+ dependencies: ['unit-components'],
171
+ priority: 4,
172
+ estimatedDuration: 90000,
173
+ tags: ['visual', 'ui', 'medium'],
174
+ },
175
+
176
+ // Accessibility Tests
177
+ {
178
+ id: 'a11y-pages',
179
+ name: 'Page Accessibility Tests',
180
+ type: 'accessibility',
181
+ files: ['/home', '/about', '/contact', '/dashboard'],
182
+ dependencies: ['e2e-user-journey'],
183
+ priority: 4,
184
+ estimatedDuration: 90000,
185
+ tags: ['accessibility', 'wcag', 'medium'],
186
+ },
187
+ ];
188
+
189
+ console.log(`✅ Defined ${testSuites.length} test suites`);
190
+ testSuites.forEach((suite) => {
191
+ console.log(` - ${suite.name} (${suite.type})`);
192
+ });
193
+
194
+ // ===================================================================
195
+ // 3. Create Test Execution Plan
196
+ // ===================================================================
197
+ console.log('\n🎯 Step 3: Creating Test Execution Plan');
198
+ console.log('-'.repeat(60));
199
+
200
+ const testPlan: TestExecutionPlan = {
201
+ swarmId: 'demo-swarm-123',
202
+ feature: 'E-Commerce Platform',
203
+ suites: testSuites,
204
+ parallelization: {
205
+ enabled: true,
206
+ maxConcurrent: 4, // Run 4 test suites in parallel
207
+ },
208
+ retryPolicy: {
209
+ enabled: true,
210
+ maxRetries: 2,
211
+ retryDelay: 1000,
212
+ },
213
+ reportingChannels: ['console', 'swarm-bus', 'ci-dashboard'],
214
+ };
215
+
216
+ console.log('✅ Test plan created');
217
+ console.log(` - Feature: ${testPlan.feature}`);
218
+ console.log(` - Swarm ID: ${testPlan.swarmId}`);
219
+ console.log(` - Suites: ${testPlan.suites.length}`);
220
+ console.log(` - Parallelization: ${testPlan.parallelization.enabled ? 'Enabled' : 'Disabled'}`);
221
+ console.log(` - Max Concurrent: ${testPlan.parallelization.maxConcurrent}`);
222
+
223
+ // ===================================================================
224
+ // 4. Set Up Event Listeners
225
+ // ===================================================================
226
+ console.log('\n📡 Step 4: Setting Up Event Listeners');
227
+ console.log('-'.repeat(60));
228
+
229
+ orchestrator.on('test-plan-started', (event) => {
230
+ console.log('\n🎬 Test Plan Started');
231
+ console.log(` Feature: ${event.plan.feature}`);
232
+ console.log(` Total Suites: ${event.plan.suites.length}`);
233
+ });
234
+
235
+ orchestrator.on('unit-tests-completed', (event) => {
236
+ console.log(`\n✅ Unit Tests Completed: ${event.suite.name}`);
237
+ console.log(` Status: ${event.result.status}`);
238
+ console.log(` Duration: ${event.result.duration}ms`);
239
+ console.log(` Tests: ${event.result.tests.passed}/${event.result.tests.total} passed`);
240
+ if (event.result.coverage) {
241
+ console.log(` Coverage: ${event.result.coverage.lines}% lines`);
242
+ }
243
+ });
244
+
245
+ orchestrator.on('integration-tests-completed', (event) => {
246
+ console.log(`\n✅ Integration Tests Completed: ${event.suite.name}`);
247
+ console.log(` Status: ${event.result.status}`);
248
+ console.log(` Duration: ${event.result.duration}ms`);
249
+ console.log(` Tests: ${event.result.tests.passed}/${event.result.tests.total} passed`);
250
+ });
251
+
252
+ orchestrator.on('e2e-tests-completed', (event) => {
253
+ console.log(`\n✅ E2E Tests Completed: ${event.suite.name}`);
254
+ console.log(` Status: ${event.result.status}`);
255
+ console.log(` Duration: ${event.result.duration}ms`);
256
+ console.log(` Tests: ${event.result.tests.passed}/${event.result.tests.total} passed`);
257
+ });
258
+
259
+ orchestrator.on('visual-regression-tests-completed', (event) => {
260
+ console.log(`\n✅ Visual Tests Completed: ${event.suite.name}`);
261
+ console.log(` Status: ${event.result.status}`);
262
+ console.log(` Tests: ${event.result.tests.passed}/${event.result.tests.total} passed`);
263
+ });
264
+
265
+ orchestrator.on('accessibility-tests-completed', (event) => {
266
+ console.log(`\n✅ Accessibility Tests Completed: ${event.suite.name}`);
267
+ console.log(` Status: ${event.result.status}`);
268
+ if (event.result.accessibility) {
269
+ console.log(` Score: ${event.result.accessibility.score}/100`);
270
+ console.log(` Violations: ${event.result.accessibility.violations.length}`);
271
+ }
272
+ });
273
+
274
+ orchestrator.on('test-plan-completed', (event) => {
275
+ console.log('\n🎉 Test Plan Completed!');
276
+ console.log(` Swarm ID: ${event.swarmId}`);
277
+ console.log(' Summary:', event.summary);
278
+ });
279
+
280
+ orchestrator.on('test-results-ready', (message) => {
281
+ console.log('\n📨 Test Results Ready for Broadcast');
282
+ console.log(` Message Type: ${message.messageType}`);
283
+ console.log(` Priority: ${message.priority}`);
284
+ });
285
+
286
+ console.log('✅ Event listeners configured');
287
+
288
+ // ===================================================================
289
+ // 5. Execute Test Plan
290
+ // ===================================================================
291
+ console.log('\n🚀 Step 5: Executing Test Plan');
292
+ console.log('-'.repeat(60));
293
+
294
+ try {
295
+ const startTime = Date.now();
296
+ const results = await orchestrator.executeTestPlan(testPlan);
297
+ const duration = Date.now() - startTime;
298
+
299
+ console.log('\n' + '='.repeat(60));
300
+ console.log('📊 FINAL TEST RESULTS');
301
+ console.log('='.repeat(60));
302
+
303
+ // Display individual results
304
+ console.log('\n📋 Individual Test Suite Results:');
305
+ results.forEach((result, suiteId) => {
306
+ const statusIcon = result.status === 'passed' ? '✅' : result.status === 'failed' ? '❌' : '⏭️';
307
+ console.log(`\n${statusIcon} ${result.suiteName}`);
308
+ console.log(` Status: ${result.status}`);
309
+ console.log(` Type: ${result.type}`);
310
+ console.log(` Duration: ${result.duration}ms`);
311
+ console.log(` Tests: ${result.tests.passed}/${result.tests.total} passed`);
312
+
313
+ if (result.coverage) {
314
+ console.log(` Coverage:`);
315
+ console.log(` - Statements: ${result.coverage.statements}%`);
316
+ console.log(` - Branches: ${result.coverage.branches}%`);
317
+ console.log(` - Functions: ${result.coverage.functions}%`);
318
+ console.log(` - Lines: ${result.coverage.lines}%`);
319
+ }
320
+
321
+ if (result.failures && result.failures.length > 0) {
322
+ console.log(` Failures: ${result.failures.length}`);
323
+ result.failures.slice(0, 3).forEach((failure) => {
324
+ console.log(` - ${failure.testName}: ${failure.error}`);
325
+ });
326
+ }
327
+ });
328
+
329
+ // Display summary
330
+ const summary = orchestrator.getTestSummary();
331
+ console.log('\n📈 Overall Summary:');
332
+ console.log('='.repeat(60));
333
+ console.log(`Total Suites: ${summary.totalSuites}`);
334
+ console.log(`Passed: ${summary.passed} (${((summary.passed / summary.totalSuites) * 100).toFixed(2)}%)`);
335
+ console.log(`Failed: ${summary.failed}`);
336
+ console.log(`Skipped: ${summary.skipped}`);
337
+ console.log(`Total Duration: ${duration}ms (${(duration / 1000).toFixed(2)}s)`);
338
+
339
+ if (summary.coverage) {
340
+ console.log(`\nOverall Coverage:`);
341
+ console.log(` Statements: ${summary.coverage.statements.toFixed(2)}%`);
342
+ console.log(` Branches: ${summary.coverage.branches.toFixed(2)}%`);
343
+ console.log(` Functions: ${summary.coverage.functions.toFixed(2)}%`);
344
+ console.log(` Lines: ${summary.coverage.lines.toFixed(2)}%`);
345
+ }
346
+
347
+ // ===================================================================
348
+ // 6. Visual Regression Testing Demo
349
+ // ===================================================================
350
+ console.log('\n' + '='.repeat(60));
351
+ console.log('🎨 VISUAL REGRESSION TESTING DEMO');
352
+ console.log('='.repeat(60));
353
+
354
+ const visualSystem = new VisualRegressionSystem(
355
+ {
356
+ threshold: 0.99,
357
+ browsers: ['chromium'],
358
+ viewports: [
359
+ { width: 1920, height: 1080, name: 'desktop' },
360
+ { width: 768, height: 1024, name: 'tablet' },
361
+ { width: 375, height: 667, name: 'mobile' },
362
+ ],
363
+ },
364
+ logger
365
+ );
366
+
367
+ console.log('\n📸 Testing components across viewports...');
368
+
369
+ const components = [
370
+ { name: 'Button', url: '/components/button' },
371
+ { name: 'Card', url: '/components/card' },
372
+ { name: 'Modal', url: '/components/modal' },
373
+ ];
374
+
375
+ const visualResults = await visualSystem.testComponents(components);
376
+
377
+ console.log('\n📊 Visual Test Results:');
378
+ visualResults.forEach((results, componentName) => {
379
+ console.log(`\n ${componentName}:`);
380
+ results.forEach((result) => {
381
+ const icon = result.passed ? '✅' : '❌';
382
+ console.log(` ${icon} ${result.browser} - ${result.viewport}`);
383
+ console.log(` Similarity: ${(result.similarity * 100).toFixed(2)}%`);
384
+ if (!result.passed) {
385
+ console.log(` Diff pixels: ${result.diffPixels}`);
386
+ }
387
+ });
388
+ });
389
+
390
+ const visualSummary = visualSystem.getSummary();
391
+ console.log('\n Summary:');
392
+ console.log(` Total: ${visualSummary.total}`);
393
+ console.log(` Passed: ${visualSummary.passed}`);
394
+ console.log(` Failed: ${visualSummary.failed}`);
395
+ console.log(` Avg Similarity: ${(visualSummary.averageSimilarity * 100).toFixed(2)}%`);
396
+
397
+ // ===================================================================
398
+ // 7. Generate Final Report
399
+ // ===================================================================
400
+ console.log('\n' + '='.repeat(60));
401
+ console.log('📄 FINAL TEST REPORT');
402
+ console.log('='.repeat(60));
403
+
404
+ const report = {
405
+ testPlan: {
406
+ swarmId: testPlan.swarmId,
407
+ feature: testPlan.feature,
408
+ executionTime: duration,
409
+ },
410
+ summary: {
411
+ totalSuites: summary.totalSuites,
412
+ passed: summary.passed,
413
+ failed: summary.failed,
414
+ skipped: summary.skipped,
415
+ passRate: ((summary.passed / summary.totalSuites) * 100).toFixed(2) + '%',
416
+ },
417
+ coverage: summary.coverage,
418
+ visualTesting: {
419
+ total: visualSummary.total,
420
+ passed: visualSummary.passed,
421
+ failed: visualSummary.failed,
422
+ averageSimilarity: (visualSummary.averageSimilarity * 100).toFixed(2) + '%',
423
+ },
424
+ recommendations: [
425
+ summary.failed > 0 ? '⚠️ Review failed tests and fix issues' : '✅ All tests passed',
426
+ summary.coverage && summary.coverage.lines < 80 ? '⚠️ Increase test coverage' : '✅ Coverage meets threshold',
427
+ visualSummary.failed > 0 ? '⚠️ Review visual differences' : '✅ No visual regressions detected',
428
+ ],
429
+ };
430
+
431
+ console.log(JSON.stringify(report, null, 2));
432
+
433
+ // ===================================================================
434
+ // 8. Determine Overall Status
435
+ // ===================================================================
436
+ console.log('\n' + '='.repeat(60));
437
+ const allPassed = summary.failed === 0 && visualSummary.failed === 0;
438
+ if (allPassed) {
439
+ console.log('✅ ALL TESTS PASSED - READY FOR DEPLOYMENT');
440
+ } else {
441
+ console.log('❌ TESTS FAILED - FIX ISSUES BEFORE DEPLOYMENT');
442
+ }
443
+ console.log('='.repeat(60) + '\n');
444
+
445
+ return {
446
+ success: allPassed,
447
+ summary,
448
+ visualSummary,
449
+ results,
450
+ };
451
+ } catch (error) {
452
+ console.error('\n❌ Test execution failed:', error);
453
+ throw error;
454
+ }
455
+ }
456
+
457
+ // Run the demo
458
+ if (import.meta.url === `file://${process.argv[1]}`) {
459
+ demonstrateFrontendTesting()
460
+ .then((result) => {
461
+ console.log('\n✅ Demo completed successfully');
462
+ process.exit(result.success ? 0 : 1);
463
+ })
464
+ .catch((error) => {
465
+ console.error('\n❌ Demo failed:', error);
466
+ process.exit(1);
467
+ });
468
+ }
469
+
470
+ export { demonstrateFrontendTesting };
@@ -105,7 +105,7 @@ model_list:
105
105
  # Amazon Bedrock Claude
106
106
  - model_name: "bedrock-claude"
107
107
  litellm_params:
108
- model: "bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0"
108
+ model: "bedrock/anthropic.sonnet-v2:0"
109
109
  aws_access_key_id: ${AWS_ACCESS_KEY_ID}
110
110
  aws_secret_access_key: ${AWS_SECRET_ACCESS_KEY}
111
111
  aws_region_name: ${AWS_REGION}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claude-flow-novice",
3
- "version": "1.3.5",
4
- "description": "Standalone Claude Flow for beginners - AI agent orchestration made easy. Enhanced init command creates complete agent system, MCP configuration with 30 essential tools, and automated hooks. Fully standalone with zero external dependencies, all memory leaks eliminated, complete project setup in one command.",
3
+ "version": "1.5.0",
4
+ "description": "Standalone Claude Flow for beginners - AI agent orchestration made easy with enhanced TDD testing pipeline. Enhanced init command creates complete agent system, MCP configuration with 30 essential tools, and automated hooks with single-file testing, real-time coverage analysis, and advanced validation. Fully standalone with zero external dependencies, complete project setup in one command.",
5
5
  "mcpName": "io.github.ruvnet/claude-flow",
6
6
  "main": ".claude-flow-novice/dist/index.js",
7
7
  "bin": {
@@ -9,13 +9,15 @@
9
9
  "claude-soul": ".claude/commands/claude-soul.js",
10
10
  "swarm": ".claude/commands/swarm.js",
11
11
  "sparc": ".claude/commands/sparc.js",
12
- "hooks": ".claude/commands/hooks.js"
12
+ "hooks": ".claude/commands/hooks.js",
13
+ "enhanced-hooks": ".claude-flow-novice/dist/src/hooks/enhanced-hooks-cli.js"
13
14
  },
14
15
  "scripts": {
15
16
  "claude-soul": "node src/slash-commands/claude-soul.js",
16
17
  "swarm": "node .claude/commands/swarm.js",
17
18
  "sparc": "node .claude/commands/sparc.js",
18
19
  "hooks": "node .claude/commands/hooks.js",
20
+ "enhanced-hooks": "node .claude-flow-novice/dist/src/hooks/enhanced-hooks-cli.js",
19
21
  "neural": "node .claude/commands/neural.js",
20
22
  "performance": "node .claude/commands/performance.js",
21
23
  "github": "node .claude/commands/github.js",
@@ -37,9 +39,9 @@
37
39
  "optimize:validate:hardware": "node scripts/optimization/config-validator.js validate hardware",
38
40
  "optimize:validate:monitoring": "node scripts/optimization/config-validator.js validate monitoring",
39
41
  "build": "scripts/build/unified-builder.sh safe",
40
- "build:swc": "swc src -d .claude-flow-novice/dist --only='**/*.ts' --config-file .swcrc && cp -r src/slash-commands .claude-flow-novice/dist/src/ && cp -r src/cli/simple-commands/hooks .claude-flow-novice/dist/src/cli/simple-commands/",
42
+ "build:swc": "swc src -d .claude-flow-novice/dist --only='**/*.ts' --config-file .swcrc && cp -r src/slash-commands .claude-flow-novice/dist/src/ && cp -r src/cli/simple-commands/hooks .claude-flow-novice/dist/src/cli/simple-commands/ && cp -r .claude/agents .claude-flow-novice/.claude/",
41
43
  "build:types": "tsc --project config/typescript/tsconfig.json --emitDeclarationOnly --outDir .claude-flow-novice/dist --skipLibCheck",
42
- "build:watch": "swc src -d .claude-flow-novice/dist --watch --config-file .swcrc && cp -r src/slash-commands .claude-flow-novice/dist/src/ && cp -r src/cli/simple-commands/hooks .claude-flow-novice/dist/src/cli/simple-commands/",
44
+ "build:watch": "swc src -d .claude-flow-novice/dist --watch --config-file .swcrc && cp -r src/slash-commands .claude-flow-novice/dist/src/ && cp -r src/cli/simple-commands/hooks .claude-flow-novice/dist/src/cli/simple-commands/ && npm run copy:agents",
43
45
  "build:legacy": "scripts/build/unified-builder.sh migration",
44
46
  "build:workaround": "scripts/build/unified-builder.sh workaround",
45
47
  "build:force": "scripts/build/unified-builder.sh force",
@@ -146,7 +148,9 @@
146
148
  "utils:fix-imports": "node scripts/utils/fix-import-paths.js",
147
149
  "utils:cleanup": "bash scripts/utils/clean-build-artifacts.sh",
148
150
  "hooks:session-start": "node src/cli/simple-commands/hooks.js session-start",
149
- "postinstall": "node scripts/post-install-claude-md.js"
151
+ "postinstall": "node scripts/post-install-claude-md.js",
152
+ "validate:agents": "node scripts/build/validate-agents.js",
153
+ "copy:agents": "mkdir -p .claude-flow-novice/.claude && cp -r .claude/agents .claude-flow-novice/.claude/"
150
154
  },
151
155
  "keywords": [
152
156
  "ai",
@@ -217,7 +221,9 @@
217
221
  "./core": "./.claude-flow-novice/dist/core/index.js",
218
222
  "./slash-commands/claude-soul": "./.claude-flow-novice/dist/src/slash-commands/claude-soul.js",
219
223
  "./slash-commands/register-claude-soul": "./.claude-flow-novice/dist/src/slash-commands/register-claude-soul.js",
220
- "./hooks/session-start-soul": "./.claude-flow-novice/dist/src/cli/simple-commands/hooks/session-start-soul.js"
224
+ "./hooks/session-start-soul": "./.claude-flow-novice/dist/src/cli/simple-commands/hooks/session-start-soul.js",
225
+ "./hooks/enhanced-post-edit": "./.claude-flow-novice/dist/src/hooks/enhanced-post-edit-pipeline.js",
226
+ "./hooks/enhanced-hooks-cli": "./.claude-flow-novice/dist/src/hooks/enhanced-hooks-cli.js"
221
227
  },
222
228
  "dependencies": {
223
229
  "@modelcontextprotocol/sdk": "^1.18.2",