agentic-flow 1.9.0 → 1.9.2

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 (1223) hide show
  1. package/.claude/agents/analysis/code-analyzer.md +1 -1
  2. package/.claude/agents/core/coder.md +2 -57
  3. package/.claude/agents/core/planner.md +1 -53
  4. package/.claude/agents/core/researcher.md +6 -60
  5. package/.claude/agents/core/reviewer.md +1 -55
  6. package/.claude/agents/core/tester.md +1 -54
  7. package/.claude/agents/goal/goal-planner.md +25 -120
  8. package/.claude/agents/swarm/hierarchical-coordinator.md +4 -75
  9. package/.claude/agents/templates/coordinator-swarm-init.md +4 -19
  10. package/.claude/commands/hooks/overview.md +10 -84
  11. package/.claude/settings.json +20 -21
  12. package/.claude/settings.local.json +7 -3
  13. package/CHANGELOG.md +976 -83
  14. package/README.md +1 -15
  15. package/dist/agentdb/tests/frontier-features.test.js +665 -0
  16. package/{agentic-flow/dist → dist}/cli/config-wizard.js +13 -4
  17. package/dist/cli/federation-cli.d.ts +53 -0
  18. package/{agentic-flow/dist → dist}/cli-proxy.js +22 -15
  19. package/dist/hooks/parallel-validation.js +166 -0
  20. package/dist/hooks/swarm-learning-optimizer.js +350 -0
  21. package/{agentic-flow/dist → dist}/proxy/provider-instructions.js +98 -0
  22. package/dist/reasoningbank/config/reasoningbank-types.ts +57 -0
  23. package/{agentic-flow/dist → dist}/utils/cli.js +29 -0
  24. package/docs/.claude-flow/metrics/performance.json +3 -3
  25. package/docs/.claude-flow/metrics/task-metrics.json +3 -3
  26. package/docs/guides/MCP-TOOLS.md +850 -1050
  27. package/package.json +169 -44
  28. package/validation/docker/Dockerfile.reasoningbank-local +24 -0
  29. package/validation/docker/Dockerfile.reasoningbank-test +21 -0
  30. package/validation/docker/README.md +234 -0
  31. package/validation/docker/docker-compose.yml +29 -0
  32. package/validation/docker/test-reasoningbank-npx.mjs +442 -0
  33. package/validation/docker-e2e-validation.sh +212 -0
  34. package/validation/docker-quic-test.sh +42 -0
  35. package/validation/docker-quic-validation.sh +60 -0
  36. package/validation/quic-deep-validation.ts +304 -0
  37. package/validation/test-quic-integration.ts +243 -0
  38. package/validation/test-quic-wasm.ts +94 -0
  39. package/validation/test-regression.mjs +246 -0
  40. package/validation/test-wasm-e2e.ts +354 -0
  41. package/validation/test-wasm-integration.ts +99 -0
  42. package/wasm/quic/agentic_flow_quic.d.ts +37 -0
  43. package/wasm/quic/agentic_flow_quic_bg.wasm.d.ts +19 -0
  44. package/wasm/reasoningbank/reasoningbank_wasm.d.ts +41 -0
  45. package/wasm/reasoningbank/reasoningbank_wasm_bg.wasm.d.ts +20 -0
  46. package/.claude/agents/goal/code-goal-planner.md +0 -446
  47. package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +0 -130
  48. package/.claude/agents/hive-mind/queen-coordinator.md +0 -203
  49. package/.claude/agents/hive-mind/scout-explorer.md +0 -242
  50. package/.claude/agents/hive-mind/swarm-memory-manager.md +0 -193
  51. package/.claude/agents/hive-mind/worker-specialist.md +0 -217
  52. package/.claude/agents/neural/safla-neural.md +0 -74
  53. package/.claude/agents/reasoning/README.md +0 -452
  54. package/.claude/agents/reasoning/adaptive-learner.md +0 -415
  55. package/.claude/agents/reasoning/context-synthesizer.md +0 -532
  56. package/.claude/agents/reasoning/experience-curator.md +0 -562
  57. package/.claude/agents/reasoning/goal-planner.md +0 -73
  58. package/.claude/agents/reasoning/memory-optimizer.md +0 -579
  59. package/.claude/agents/reasoning/pattern-matcher.md +0 -591
  60. package/.claude/agents/reasoning/reasoning-optimized.md +0 -587
  61. package/.claude/commands/coordination/README.md +0 -9
  62. package/.claude/commands/coordination/agent-spawn.md +0 -25
  63. package/.claude/commands/coordination/init.md +0 -44
  64. package/.claude/commands/coordination/orchestrate.md +0 -43
  65. package/.claude/commands/coordination/spawn.md +0 -45
  66. package/.claude/commands/coordination/swarm-init.md +0 -85
  67. package/.claude/commands/coordination/task-orchestrate.md +0 -25
  68. package/.claude/commands/memory/README.md +0 -9
  69. package/.claude/commands/memory/memory-persist.md +0 -25
  70. package/.claude/commands/memory/memory-search.md +0 -25
  71. package/.claude/commands/memory/memory-usage.md +0 -25
  72. package/.claude/commands/memory/neural.md +0 -47
  73. package/.claude/commands/memory/usage.md +0 -46
  74. package/.claude/skills/agentdb-advanced/SKILL.md +0 -550
  75. package/.claude/skills/agentdb-learning/SKILL.md +0 -545
  76. package/.claude/skills/agentdb-memory-patterns/SKILL.md +0 -339
  77. package/.claude/skills/agentdb-optimization/SKILL.md +0 -509
  78. package/.claude/skills/agentdb-vector-search/SKILL.md +0 -339
  79. package/.claude/skills/flow-nexus-neural/SKILL.md +0 -738
  80. package/.claude/skills/flow-nexus-platform/SKILL.md +0 -1157
  81. package/.claude/skills/flow-nexus-swarm/SKILL.md +0 -610
  82. package/.claude/skills/github-code-review/SKILL.md +0 -1140
  83. package/.claude/skills/github-multi-repo/SKILL.md +0 -874
  84. package/.claude/skills/github-project-management/SKILL.md +0 -1277
  85. package/.claude/skills/github-release-management/SKILL.md +0 -1081
  86. package/.claude/skills/github-workflow-automation/SKILL.md +0 -1065
  87. package/.claude/skills/hive-mind-advanced/SKILL.md +0 -712
  88. package/.claude/skills/hooks-automation/SKILL.md +0 -1201
  89. package/.claude/skills/pair-programming/SKILL.md +0 -1202
  90. package/.claude/skills/performance-analysis/SKILL.md +0 -563
  91. package/.claude/skills/reasoningbank-agentdb/SKILL.md +0 -446
  92. package/.claude/skills/reasoningbank-intelligence/SKILL.md +0 -201
  93. package/.claude/skills/skill-builder/SKILL.md +0 -910
  94. package/.claude/skills/sparc-methodology/SKILL.md +0 -1115
  95. package/.claude/skills/stream-chain/SKILL.md +0 -563
  96. package/.claude/skills/swarm-advanced/SKILL.md +0 -973
  97. package/.claude/skills/swarm-orchestration/SKILL.md +0 -179
  98. package/.claude/skills/verification-quality/SKILL.md +0 -649
  99. package/.claude/statusline-command.sh +0 -176
  100. package/.claude-flow/metrics/performance.json +0 -87
  101. package/.claude-flow/metrics/system-metrics.json +0 -2138
  102. package/.claude-flow/metrics/task-metrics.json +0 -10
  103. package/.hive-mind/README.md +0 -43
  104. package/.hive-mind/config/queens.json +0 -59
  105. package/.hive-mind/config/workers.json +0 -72
  106. package/.hive-mind/config.json +0 -111
  107. package/.hive-mind/hive.db +0 -0
  108. package/.mcp.json +0 -39
  109. package/.swarm/memory.db +0 -0
  110. package/.swarm/memory.db-shm +0 -0
  111. package/.swarm/memory.db-wal +0 -0
  112. package/CLAUDE.md +0 -354
  113. package/agentdb.db +0 -0
  114. package/agentic-flow/.agentdb-instructions.md +0 -66
  115. package/agentic-flow/.claude/agents/analysis/code-analyzer.md +0 -209
  116. package/agentic-flow/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -180
  117. package/agentic-flow/.claude/agents/architecture/system-design/arch-system-design.md +0 -156
  118. package/agentic-flow/.claude/agents/base-template-generator.md +0 -42
  119. package/agentic-flow/.claude/agents/consensus/byzantine-coordinator.md +0 -63
  120. package/agentic-flow/.claude/agents/consensus/crdt-synchronizer.md +0 -997
  121. package/agentic-flow/.claude/agents/consensus/gossip-coordinator.md +0 -63
  122. package/agentic-flow/.claude/agents/consensus/performance-benchmarker.md +0 -851
  123. package/agentic-flow/.claude/agents/consensus/quorum-manager.md +0 -823
  124. package/agentic-flow/.claude/agents/consensus/raft-manager.md +0 -63
  125. package/agentic-flow/.claude/agents/consensus/security-manager.md +0 -622
  126. package/agentic-flow/.claude/agents/core/coder.md +0 -211
  127. package/agentic-flow/.claude/agents/core/planner.md +0 -116
  128. package/agentic-flow/.claude/agents/core/researcher.md +0 -136
  129. package/agentic-flow/.claude/agents/core/reviewer.md +0 -272
  130. package/agentic-flow/.claude/agents/core/tester.md +0 -266
  131. package/agentic-flow/.claude/agents/data/ml/data-ml-model.md +0 -193
  132. package/agentic-flow/.claude/agents/development/backend/dev-backend-api.md +0 -142
  133. package/agentic-flow/.claude/agents/devops/ci-cd/ops-cicd-github.md +0 -164
  134. package/agentic-flow/.claude/agents/documentation/api-docs/docs-api-openapi.md +0 -174
  135. package/agentic-flow/.claude/agents/flow-nexus/app-store.md +0 -88
  136. package/agentic-flow/.claude/agents/flow-nexus/authentication.md +0 -69
  137. package/agentic-flow/.claude/agents/flow-nexus/challenges.md +0 -81
  138. package/agentic-flow/.claude/agents/flow-nexus/neural-network.md +0 -88
  139. package/agentic-flow/.claude/agents/flow-nexus/payments.md +0 -83
  140. package/agentic-flow/.claude/agents/flow-nexus/sandbox.md +0 -76
  141. package/agentic-flow/.claude/agents/flow-nexus/swarm.md +0 -76
  142. package/agentic-flow/.claude/agents/flow-nexus/user-tools.md +0 -96
  143. package/agentic-flow/.claude/agents/flow-nexus/workflow.md +0 -84
  144. package/agentic-flow/.claude/agents/github/code-review-swarm.md +0 -538
  145. package/agentic-flow/.claude/agents/github/github-modes.md +0 -173
  146. package/agentic-flow/.claude/agents/github/issue-tracker.md +0 -319
  147. package/agentic-flow/.claude/agents/github/multi-repo-swarm.md +0 -553
  148. package/agentic-flow/.claude/agents/github/pr-manager.md +0 -191
  149. package/agentic-flow/.claude/agents/github/project-board-sync.md +0 -509
  150. package/agentic-flow/.claude/agents/github/release-manager.md +0 -367
  151. package/agentic-flow/.claude/agents/github/release-swarm.md +0 -583
  152. package/agentic-flow/.claude/agents/github/repo-architect.md +0 -398
  153. package/agentic-flow/.claude/agents/github/swarm-issue.md +0 -573
  154. package/agentic-flow/.claude/agents/github/swarm-pr.md +0 -428
  155. package/agentic-flow/.claude/agents/github/sync-coordinator.md +0 -452
  156. package/agentic-flow/.claude/agents/github/workflow-automation.md +0 -635
  157. package/agentic-flow/.claude/agents/goal/agent.md +0 -816
  158. package/agentic-flow/.claude/agents/goal/goal-planner.md +0 -73
  159. package/agentic-flow/.claude/agents/optimization/benchmark-suite.md +0 -665
  160. package/agentic-flow/.claude/agents/optimization/load-balancer.md +0 -431
  161. package/agentic-flow/.claude/agents/optimization/performance-monitor.md +0 -672
  162. package/agentic-flow/.claude/agents/optimization/resource-allocator.md +0 -674
  163. package/agentic-flow/.claude/agents/optimization/topology-optimizer.md +0 -808
  164. package/agentic-flow/.claude/agents/sparc/architecture.md +0 -472
  165. package/agentic-flow/.claude/agents/sparc/pseudocode.md +0 -318
  166. package/agentic-flow/.claude/agents/sparc/refinement.md +0 -525
  167. package/agentic-flow/.claude/agents/sparc/specification.md +0 -276
  168. package/agentic-flow/.claude/agents/specialized/mobile/spec-mobile-react-native.md +0 -226
  169. package/agentic-flow/.claude/agents/swarm/adaptive-coordinator.md +0 -396
  170. package/agentic-flow/.claude/agents/swarm/hierarchical-coordinator.md +0 -256
  171. package/agentic-flow/.claude/agents/swarm/mesh-coordinator.md +0 -392
  172. package/agentic-flow/.claude/agents/templates/automation-smart-agent.md +0 -205
  173. package/agentic-flow/.claude/agents/templates/coordinator-swarm-init.md +0 -90
  174. package/agentic-flow/.claude/agents/templates/github-pr-manager.md +0 -177
  175. package/agentic-flow/.claude/agents/templates/implementer-sparc-coder.md +0 -259
  176. package/agentic-flow/.claude/agents/templates/memory-coordinator.md +0 -187
  177. package/agentic-flow/.claude/agents/templates/migration-plan.md +0 -746
  178. package/agentic-flow/.claude/agents/templates/orchestrator-task.md +0 -139
  179. package/agentic-flow/.claude/agents/templates/performance-analyzer.md +0 -199
  180. package/agentic-flow/.claude/agents/templates/sparc-coordinator.md +0 -183
  181. package/agentic-flow/.claude/agents/testing/unit/tdd-london-swarm.md +0 -244
  182. package/agentic-flow/.claude/agents/testing/validation/production-validator.md +0 -395
  183. package/agentic-flow/.claude/commands/agents/README.md +0 -10
  184. package/agentic-flow/.claude/commands/agents/agent-capabilities.md +0 -21
  185. package/agentic-flow/.claude/commands/agents/agent-coordination.md +0 -28
  186. package/agentic-flow/.claude/commands/agents/agent-spawning.md +0 -28
  187. package/agentic-flow/.claude/commands/agents/agent-types.md +0 -26
  188. package/agentic-flow/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  189. package/agentic-flow/.claude/commands/analysis/README.md +0 -9
  190. package/agentic-flow/.claude/commands/analysis/bottleneck-detect.md +0 -162
  191. package/agentic-flow/.claude/commands/analysis/performance-bottlenecks.md +0 -59
  192. package/agentic-flow/.claude/commands/analysis/performance-report.md +0 -25
  193. package/agentic-flow/.claude/commands/analysis/token-efficiency.md +0 -45
  194. package/agentic-flow/.claude/commands/analysis/token-usage.md +0 -25
  195. package/agentic-flow/.claude/commands/automation/README.md +0 -9
  196. package/agentic-flow/.claude/commands/automation/auto-agent.md +0 -122
  197. package/agentic-flow/.claude/commands/automation/self-healing.md +0 -106
  198. package/agentic-flow/.claude/commands/automation/session-memory.md +0 -90
  199. package/agentic-flow/.claude/commands/automation/smart-agents.md +0 -73
  200. package/agentic-flow/.claude/commands/automation/smart-spawn.md +0 -25
  201. package/agentic-flow/.claude/commands/automation/workflow-select.md +0 -25
  202. package/agentic-flow/.claude/commands/flow-nexus/app-store.md +0 -124
  203. package/agentic-flow/.claude/commands/flow-nexus/challenges.md +0 -120
  204. package/agentic-flow/.claude/commands/flow-nexus/login-registration.md +0 -65
  205. package/agentic-flow/.claude/commands/flow-nexus/neural-network.md +0 -134
  206. package/agentic-flow/.claude/commands/flow-nexus/payments.md +0 -116
  207. package/agentic-flow/.claude/commands/flow-nexus/sandbox.md +0 -83
  208. package/agentic-flow/.claude/commands/flow-nexus/swarm.md +0 -87
  209. package/agentic-flow/.claude/commands/flow-nexus/user-tools.md +0 -152
  210. package/agentic-flow/.claude/commands/flow-nexus/workflow.md +0 -115
  211. package/agentic-flow/.claude/commands/github/README.md +0 -11
  212. package/agentic-flow/.claude/commands/github/code-review-swarm.md +0 -514
  213. package/agentic-flow/.claude/commands/github/code-review.md +0 -25
  214. package/agentic-flow/.claude/commands/github/github-modes.md +0 -147
  215. package/agentic-flow/.claude/commands/github/github-swarm.md +0 -121
  216. package/agentic-flow/.claude/commands/github/issue-tracker.md +0 -292
  217. package/agentic-flow/.claude/commands/github/issue-triage.md +0 -25
  218. package/agentic-flow/.claude/commands/github/multi-repo-swarm.md +0 -519
  219. package/agentic-flow/.claude/commands/github/pr-enhance.md +0 -26
  220. package/agentic-flow/.claude/commands/github/pr-manager.md +0 -170
  221. package/agentic-flow/.claude/commands/github/project-board-sync.md +0 -471
  222. package/agentic-flow/.claude/commands/github/release-manager.md +0 -338
  223. package/agentic-flow/.claude/commands/github/release-swarm.md +0 -544
  224. package/agentic-flow/.claude/commands/github/repo-analyze.md +0 -25
  225. package/agentic-flow/.claude/commands/github/repo-architect.md +0 -367
  226. package/agentic-flow/.claude/commands/github/swarm-issue.md +0 -482
  227. package/agentic-flow/.claude/commands/github/swarm-pr.md +0 -285
  228. package/agentic-flow/.claude/commands/github/sync-coordinator.md +0 -301
  229. package/agentic-flow/.claude/commands/github/workflow-automation.md +0 -442
  230. package/agentic-flow/.claude/commands/hive-mind/README.md +0 -17
  231. package/agentic-flow/.claude/commands/hive-mind/hive-mind-consensus.md +0 -8
  232. package/agentic-flow/.claude/commands/hive-mind/hive-mind-init.md +0 -18
  233. package/agentic-flow/.claude/commands/hive-mind/hive-mind-memory.md +0 -8
  234. package/agentic-flow/.claude/commands/hive-mind/hive-mind-metrics.md +0 -8
  235. package/agentic-flow/.claude/commands/hive-mind/hive-mind-resume.md +0 -8
  236. package/agentic-flow/.claude/commands/hive-mind/hive-mind-sessions.md +0 -8
  237. package/agentic-flow/.claude/commands/hive-mind/hive-mind-spawn.md +0 -21
  238. package/agentic-flow/.claude/commands/hive-mind/hive-mind-status.md +0 -8
  239. package/agentic-flow/.claude/commands/hive-mind/hive-mind-stop.md +0 -8
  240. package/agentic-flow/.claude/commands/hive-mind/hive-mind-wizard.md +0 -8
  241. package/agentic-flow/.claude/commands/hive-mind/hive-mind.md +0 -27
  242. package/agentic-flow/.claude/commands/hooks/README.md +0 -11
  243. package/agentic-flow/.claude/commands/hooks/overview.md +0 -58
  244. package/agentic-flow/.claude/commands/hooks/post-edit.md +0 -117
  245. package/agentic-flow/.claude/commands/hooks/post-task.md +0 -112
  246. package/agentic-flow/.claude/commands/hooks/pre-edit.md +0 -113
  247. package/agentic-flow/.claude/commands/hooks/pre-task.md +0 -111
  248. package/agentic-flow/.claude/commands/hooks/session-end.md +0 -118
  249. package/agentic-flow/.claude/commands/hooks/setup.md +0 -103
  250. package/agentic-flow/.claude/commands/monitoring/README.md +0 -9
  251. package/agentic-flow/.claude/commands/monitoring/agent-metrics.md +0 -25
  252. package/agentic-flow/.claude/commands/monitoring/agents.md +0 -44
  253. package/agentic-flow/.claude/commands/monitoring/real-time-view.md +0 -25
  254. package/agentic-flow/.claude/commands/monitoring/status.md +0 -46
  255. package/agentic-flow/.claude/commands/monitoring/swarm-monitor.md +0 -25
  256. package/agentic-flow/.claude/commands/optimization/README.md +0 -9
  257. package/agentic-flow/.claude/commands/optimization/auto-topology.md +0 -62
  258. package/agentic-flow/.claude/commands/optimization/cache-manage.md +0 -25
  259. package/agentic-flow/.claude/commands/optimization/parallel-execute.md +0 -25
  260. package/agentic-flow/.claude/commands/optimization/parallel-execution.md +0 -50
  261. package/agentic-flow/.claude/commands/optimization/topology-optimize.md +0 -25
  262. package/agentic-flow/.claude/commands/pair/commands.md +0 -546
  263. package/agentic-flow/.claude/commands/pair/config.md +0 -510
  264. package/agentic-flow/.claude/commands/pair/examples.md +0 -512
  265. package/agentic-flow/.claude/commands/pair/modes.md +0 -348
  266. package/agentic-flow/.claude/commands/pair/session.md +0 -407
  267. package/agentic-flow/.claude/commands/pair/start.md +0 -209
  268. package/agentic-flow/.claude/commands/sparc/analyzer.md +0 -52
  269. package/agentic-flow/.claude/commands/sparc/architect.md +0 -53
  270. package/agentic-flow/.claude/commands/sparc/batch-executor.md +0 -54
  271. package/agentic-flow/.claude/commands/sparc/coder.md +0 -54
  272. package/agentic-flow/.claude/commands/sparc/debugger.md +0 -54
  273. package/agentic-flow/.claude/commands/sparc/designer.md +0 -53
  274. package/agentic-flow/.claude/commands/sparc/documenter.md +0 -54
  275. package/agentic-flow/.claude/commands/sparc/innovator.md +0 -54
  276. package/agentic-flow/.claude/commands/sparc/memory-manager.md +0 -54
  277. package/agentic-flow/.claude/commands/sparc/optimizer.md +0 -54
  278. package/agentic-flow/.claude/commands/sparc/orchestrator.md +0 -132
  279. package/agentic-flow/.claude/commands/sparc/researcher.md +0 -54
  280. package/agentic-flow/.claude/commands/sparc/reviewer.md +0 -54
  281. package/agentic-flow/.claude/commands/sparc/sparc-modes.md +0 -174
  282. package/agentic-flow/.claude/commands/sparc/swarm-coordinator.md +0 -54
  283. package/agentic-flow/.claude/commands/sparc/tdd.md +0 -54
  284. package/agentic-flow/.claude/commands/sparc/tester.md +0 -54
  285. package/agentic-flow/.claude/commands/sparc/workflow-manager.md +0 -54
  286. package/agentic-flow/.claude/commands/stream-chain/pipeline.md +0 -121
  287. package/agentic-flow/.claude/commands/stream-chain/run.md +0 -70
  288. package/agentic-flow/.claude/commands/swarm/README.md +0 -15
  289. package/agentic-flow/.claude/commands/swarm/analysis.md +0 -95
  290. package/agentic-flow/.claude/commands/swarm/development.md +0 -96
  291. package/agentic-flow/.claude/commands/swarm/examples.md +0 -168
  292. package/agentic-flow/.claude/commands/swarm/maintenance.md +0 -102
  293. package/agentic-flow/.claude/commands/swarm/optimization.md +0 -117
  294. package/agentic-flow/.claude/commands/swarm/research.md +0 -136
  295. package/agentic-flow/.claude/commands/swarm/swarm-analysis.md +0 -8
  296. package/agentic-flow/.claude/commands/swarm/swarm-background.md +0 -8
  297. package/agentic-flow/.claude/commands/swarm/swarm-init.md +0 -19
  298. package/agentic-flow/.claude/commands/swarm/swarm-modes.md +0 -8
  299. package/agentic-flow/.claude/commands/swarm/swarm-monitor.md +0 -8
  300. package/agentic-flow/.claude/commands/swarm/swarm-spawn.md +0 -19
  301. package/agentic-flow/.claude/commands/swarm/swarm-status.md +0 -8
  302. package/agentic-flow/.claude/commands/swarm/swarm-strategies.md +0 -8
  303. package/agentic-flow/.claude/commands/swarm/swarm.md +0 -27
  304. package/agentic-flow/.claude/commands/swarm/testing.md +0 -131
  305. package/agentic-flow/.claude/commands/training/README.md +0 -9
  306. package/agentic-flow/.claude/commands/training/model-update.md +0 -25
  307. package/agentic-flow/.claude/commands/training/neural-patterns.md +0 -74
  308. package/agentic-flow/.claude/commands/training/neural-train.md +0 -25
  309. package/agentic-flow/.claude/commands/training/pattern-learn.md +0 -25
  310. package/agentic-flow/.claude/commands/training/specialization.md +0 -63
  311. package/agentic-flow/.claude/commands/truth/start.md +0 -143
  312. package/agentic-flow/.claude/commands/verify/check.md +0 -50
  313. package/agentic-flow/.claude/commands/verify/start.md +0 -128
  314. package/agentic-flow/.claude/commands/workflows/README.md +0 -9
  315. package/agentic-flow/.claude/commands/workflows/development.md +0 -78
  316. package/agentic-flow/.claude/commands/workflows/research.md +0 -63
  317. package/agentic-flow/.claude/commands/workflows/workflow-create.md +0 -25
  318. package/agentic-flow/.claude/commands/workflows/workflow-execute.md +0 -25
  319. package/agentic-flow/.claude/commands/workflows/workflow-export.md +0 -25
  320. package/agentic-flow/.claude/helpers/checkpoint-manager.sh +0 -251
  321. package/agentic-flow/.claude/helpers/github-safe.js +0 -106
  322. package/agentic-flow/.claude/helpers/github-setup.sh +0 -28
  323. package/agentic-flow/.claude/helpers/quick-start.sh +0 -19
  324. package/agentic-flow/.claude/helpers/setup-mcp.sh +0 -18
  325. package/agentic-flow/.claude/helpers/standard-checkpoint-hooks.sh +0 -179
  326. package/agentic-flow/.claude/settings.json +0 -114
  327. package/agentic-flow/.claude/settings.local.json +0 -14
  328. package/agentic-flow/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +0 -1
  329. package/agentic-flow/AGENT-BOOSTER-STATUS.md +0 -292
  330. package/agentic-flow/CHANGELOG-v1.3.0.md +0 -120
  331. package/agentic-flow/CHANGELOG.md +0 -1023
  332. package/agentic-flow/COMPLETION_REPORT_v1.7.1.md +0 -335
  333. package/agentic-flow/DOCKER-VERIFICATION.md +0 -207
  334. package/agentic-flow/IMPLEMENTATION_SUMMARY_v1.7.1.md +0 -241
  335. package/agentic-flow/NPX_AGENTDB_SETUP.md +0 -175
  336. package/agentic-flow/PUBLISH_GUIDE.md +0 -438
  337. package/agentic-flow/PUBLISH_SUMMARY_v1.7.1.md +0 -198
  338. package/agentic-flow/Python/AddTwoNumbers.py +0 -2
  339. package/agentic-flow/README.md +0 -577
  340. package/agentic-flow/RELEASE_NOTES_v1.7.0.md +0 -297
  341. package/agentic-flow/RELEASE_v1.7.1.md +0 -327
  342. package/agentic-flow/SUPABASE-INTEGRATION-COMPLETE.md +0 -357
  343. package/agentic-flow/TESTING_QUICK_START.md +0 -223
  344. package/agentic-flow/TOOL-EMULATION-INTEGRATION-ISSUE.md +0 -669
  345. package/agentic-flow/VALIDATION_v1.7.1.md +0 -234
  346. package/agentic-flow/add_two_numbers.py +0 -2
  347. package/agentic-flow/agentdb.db +0 -0
  348. package/agentic-flow/agentic-flow/.claude-flow/metrics/agent-metrics.json +0 -1
  349. package/agentic-flow/agentic-flow/.claude-flow/metrics/performance.json +0 -87
  350. package/agentic-flow/agentic-flow/.claude-flow/metrics/task-metrics.json +0 -10
  351. package/agentic-flow/app/app.py +0 -0
  352. package/agentic-flow/config/.mcp.json +0 -22
  353. package/agentic-flow/config/router.config.example.json +0 -224
  354. package/agentic-flow/config/router.config.json +0 -224
  355. package/agentic-flow/deployment/.claude-settings.json +0 -14
  356. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/FASTMCP_SUMMARY.md +0 -369
  357. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/ARCHITECTURE.md +0 -385
  358. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/fastmcp-implementation.md +0 -351
  359. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/fastmcp-quick-start.md +0 -358
  360. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/src/mcp/fastmcp/README.md +0 -340
  361. package/agentic-flow/docker/fastmcp-test.Dockerfile +0 -24
  362. package/agentic-flow/docker/federation-test/.claude-flow/metrics/agent-metrics.json +0 -1
  363. package/agentic-flow/docker/federation-test/.claude-flow/metrics/performance.json +0 -87
  364. package/agentic-flow/docker/federation-test/.claude-flow/metrics/task-metrics.json +0 -10
  365. package/agentic-flow/docker/federation-test/README.md +0 -314
  366. package/agentic-flow/docker/federation-test/run-test.sh +0 -65
  367. package/agentic-flow/docker/federation-test/standalone-agent.js +0 -180
  368. package/agentic-flow/docker/federation-test/standalone-hub.js +0 -85
  369. package/agentic-flow/docker/federation-test/test-published-hub.js +0 -66
  370. package/agentic-flow/docker/test-instance/.claude-flow/metrics/agent-metrics.json +0 -1
  371. package/agentic-flow/docker/test-instance/.claude-flow/metrics/performance.json +0 -87
  372. package/agentic-flow/docker/test-instance/.claude-flow/metrics/task-metrics.json +0 -10
  373. package/agentic-flow/docker/test-instance/.env.example +0 -51
  374. package/agentic-flow/docker/test-instance/COMPREHENSIVE_TEST_RESULTS.md +0 -766
  375. package/agentic-flow/docker/test-instance/DOCKER_VALIDATION_SUMMARY.md +0 -417
  376. package/agentic-flow/docker/test-instance/FIX_VALIDATION_REPORT.md +0 -619
  377. package/agentic-flow/docker/test-instance/INDEX.md +0 -282
  378. package/agentic-flow/docker/test-instance/QUICK_START.md +0 -217
  379. package/agentic-flow/docker/test-instance/README.md +0 -266
  380. package/agentic-flow/docker/test-instance/VALIDATION_REPORT.md +0 -424
  381. package/agentic-flow/docker/test-instance/test-model-config.md +0 -69
  382. package/agentic-flow/docker/test-instance/test-runner.sh +0 -91
  383. package/agentic-flow/docker/test-v1.1.10.dockerfile +0 -12
  384. package/agentic-flow/docker/test-validation.sh +0 -37
  385. package/agentic-flow/docker-test.sh +0 -77
  386. package/agentic-flow/docs/.claude-flow/metrics/agent-metrics.json +0 -1
  387. package/agentic-flow/docs/.claude-flow/metrics/performance.json +0 -87
  388. package/agentic-flow/docs/.claude-flow/metrics/task-metrics.json +0 -10
  389. package/agentic-flow/docs/CLAUDE.md +0 -352
  390. package/agentic-flow/docs/INDEX.md +0 -279
  391. package/agentic-flow/docs/LICENSE +0 -21
  392. package/agentic-flow/docs/architecture/EXECUTIVE_SUMMARY.md +0 -310
  393. package/agentic-flow/docs/architecture/IMPROVEMENT_PLAN.md +0 -11
  394. package/agentic-flow/docs/architecture/INTEGRATION-STATUS.md +0 -290
  395. package/agentic-flow/docs/architecture/MULTI_MODEL_ROUTER_PLAN.md +0 -620
  396. package/agentic-flow/docs/architecture/PACKAGE_STRUCTURE.md +0 -199
  397. package/agentic-flow/docs/architecture/QUIC-IMPLEMENTATION-SUMMARY.md +0 -490
  398. package/agentic-flow/docs/architecture/QUIC-SWARM-INTEGRATION.md +0 -593
  399. package/agentic-flow/docs/architecture/QUICK_WINS.md +0 -333
  400. package/agentic-flow/docs/architecture/README.md +0 -15
  401. package/agentic-flow/docs/architecture/RESEARCH_SUMMARY.md +0 -652
  402. package/agentic-flow/docs/guides/.claude-flow/metrics/agent-metrics.json +0 -1
  403. package/agentic-flow/docs/guides/.claude-flow/metrics/performance.json +0 -9
  404. package/agentic-flow/docs/guides/.claude-flow/metrics/task-metrics.json +0 -10
  405. package/agentic-flow/docs/guides/ADDING-MCP-SERVERS-CLI.md +0 -515
  406. package/agentic-flow/docs/guides/ADDING-MCP-SERVERS.md +0 -642
  407. package/agentic-flow/docs/guides/AGENT-BOOSTER.md +0 -435
  408. package/agentic-flow/docs/guides/ALTERNATIVE_LLM_MODELS.md +0 -524
  409. package/agentic-flow/docs/guides/CLAUDE-CODE-INTEGRATION.md +0 -403
  410. package/agentic-flow/docs/guides/DEPLOYMENT.md +0 -906
  411. package/agentic-flow/docs/guides/DOCKER_AGENT_USAGE.md +0 -352
  412. package/agentic-flow/docs/guides/IMPLEMENTATION_EXAMPLES.md +0 -960
  413. package/agentic-flow/docs/guides/MCP-TOOLS.md +0 -1166
  414. package/agentic-flow/docs/guides/MODEL-ID-MAPPING.md +0 -193
  415. package/agentic-flow/docs/guides/MULTI-MODEL-ROUTER.md +0 -702
  416. package/agentic-flow/docs/guides/NPM-PUBLISH.md +0 -218
  417. package/agentic-flow/docs/guides/ONNX-PROXY-IMPLEMENTATION.md +0 -254
  418. package/agentic-flow/docs/guides/ONNX_CLI_USAGE.md +0 -344
  419. package/agentic-flow/docs/guides/ONNX_OPTIMIZATION_GUIDE.md +0 -665
  420. package/agentic-flow/docs/guides/OPENROUTER_DEPLOYMENT.md +0 -495
  421. package/agentic-flow/docs/guides/PROXY-ARCHITECTURE-AND-EXTENSION.md +0 -708
  422. package/agentic-flow/docs/guides/QUIC-SWARM-QUICKSTART.md +0 -543
  423. package/agentic-flow/docs/guides/README.md +0 -17
  424. package/agentic-flow/docs/guides/REASONINGBANK.md +0 -721
  425. package/agentic-flow/docs/guides/STANDALONE_PROXY_GUIDE.md +0 -437
  426. package/agentic-flow/docs/guides/agent-sdk.md +0 -234
  427. package/agentic-flow/docs/reports/QUIC_PHASE1_COMPLETE.md +0 -409
  428. package/agentic-flow/docs/reports/QUIC_PHASE1_COMPLETION.md +0 -323
  429. package/agentic-flow/docs/reviews/quic-implementation-review.md +0 -1076
  430. package/agentic-flow/docs/router/.claude-flow/metrics/agent-metrics.json +0 -1
  431. package/agentic-flow/docs/router/.claude-flow/metrics/performance.json +0 -9
  432. package/agentic-flow/docs/router/.claude-flow/metrics/task-metrics.json +0 -10
  433. package/agentic-flow/examples/PHASE-2-INTEGRATION-GUIDE.md +0 -380
  434. package/agentic-flow/examples/PHASE-2-TEST-REPORT.md +0 -325
  435. package/agentic-flow/examples/REGRESSION-TEST-RESULTS.md +0 -334
  436. package/agentic-flow/examples/TOOL-EMULATION-ARCHITECTURE.md +0 -473
  437. package/agentic-flow/examples/VALIDATION-SUMMARY.md +0 -323
  438. package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/agent-metrics.json +0 -1
  439. package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/performance.json +0 -87
  440. package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/task-metrics.json +0 -10
  441. package/agentic-flow/examples/crispr-cas13-pipeline/.github/workflows/ci.yml +0 -341
  442. package/agentic-flow/examples/crispr-cas13-pipeline/CONTRIBUTING.md +0 -388
  443. package/agentic-flow/examples/crispr-cas13-pipeline/Cargo.lock +0 -5323
  444. package/agentic-flow/examples/crispr-cas13-pipeline/Cargo.toml +0 -105
  445. package/agentic-flow/examples/crispr-cas13-pipeline/DELIVERABLES.md +0 -140
  446. package/agentic-flow/examples/crispr-cas13-pipeline/LICENSE +0 -32
  447. package/agentic-flow/examples/crispr-cas13-pipeline/PROJECT_SUMMARY.md +0 -515
  448. package/agentic-flow/examples/crispr-cas13-pipeline/PUBLISHING_NOTES.md +0 -171
  449. package/agentic-flow/examples/crispr-cas13-pipeline/PUBLISH_CHECKLIST.md +0 -216
  450. package/agentic-flow/examples/crispr-cas13-pipeline/README.md +0 -591
  451. package/agentic-flow/examples/crispr-cas13-pipeline/TEST_SUITE_SUMMARY.md +0 -318
  452. package/agentic-flow/examples/crispr-cas13-pipeline/benches/alignment_benchmark.rs +0 -207
  453. package/agentic-flow/examples/crispr-cas13-pipeline/benches/api_benchmark.rs +0 -346
  454. package/agentic-flow/examples/crispr-cas13-pipeline/benches/comprehensive_benchmarks.rs +0 -362
  455. package/agentic-flow/examples/crispr-cas13-pipeline/benches/immune_analysis_benchmark.rs +0 -369
  456. package/agentic-flow/examples/crispr-cas13-pipeline/benches/offtarget_prediction_benchmark.rs +0 -291
  457. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/Cargo.toml +0 -23
  458. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/bwa.rs +0 -255
  459. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/error.rs +0 -34
  460. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/lib.rs +0 -136
  461. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/quality.rs +0 -287
  462. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/tests/alignment_test.rs +0 -230
  463. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/Cargo.toml +0 -32
  464. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/error.rs +0 -38
  465. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/main.rs +0 -41
  466. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/routes.rs +0 -56
  467. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/tests/api_test.rs +0 -306
  468. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/Cargo.toml +0 -17
  469. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/error.rs +0 -31
  470. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/expression.rs +0 -313
  471. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/lib.rs +0 -27
  472. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/metadata.rs +0 -302
  473. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/sequencing.rs +0 -240
  474. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/targets.rs +0 -281
  475. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/tests/models_test.rs +0 -155
  476. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/Cargo.toml +0 -24
  477. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/deseq.rs +0 -265
  478. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/error.rs +0 -28
  479. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/lib.rs +0 -10
  480. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/normalization.rs +0 -173
  481. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/pathways.rs +0 -195
  482. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/tests/analysis_test.rs +0 -258
  483. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/Cargo.toml +0 -26
  484. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/error.rs +0 -34
  485. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/features.rs +0 -272
  486. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/lib.rs +0 -72
  487. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/ml_model.rs +0 -264
  488. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/scoring.rs +0 -292
  489. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/tests/prediction_test.rs +0 -245
  490. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/Cargo.toml +0 -26
  491. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/jobs.rs +0 -27
  492. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/main.rs +0 -35
  493. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/scheduler.rs +0 -24
  494. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/workers.rs +0 -17
  495. package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURAL_DECISIONS.md +0 -429
  496. package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURE.md +0 -2964
  497. package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURE_SUMMARY.md +0 -286
  498. package/agentic-flow/examples/crispr-cas13-pipeline/docs/BENCHMARKS.md +0 -380
  499. package/agentic-flow/examples/crispr-cas13-pipeline/docs/PSEUDOCODE.md +0 -354
  500. package/agentic-flow/examples/crispr-cas13-pipeline/docs/REVIEW_REPORT.md +0 -543
  501. package/agentic-flow/examples/crispr-cas13-pipeline/docs/RIGHTS_PRESERVING_PLATFORM.md +0 -342
  502. package/agentic-flow/examples/crispr-cas13-pipeline/docs/SECURITY_AUDIT.md +0 -756
  503. package/agentic-flow/examples/crispr-cas13-pipeline/docs/SPECIFICATION.md +0 -719
  504. package/agentic-flow/examples/crispr-cas13-pipeline/docs/TESTING_GUIDE.md +0 -575
  505. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/README.md +0 -121
  506. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/alignment-module.md +0 -868
  507. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/expression-module.md +0 -928
  508. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/offtarget-module.md +0 -1030
  509. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/reporting-module.md +0 -1135
  510. package/agentic-flow/examples/crispr-cas13-pipeline/docs/api-spec.openapi.yaml +0 -1258
  511. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-component.md +0 -240
  512. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-container.md +0 -223
  513. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-context.md +0 -86
  514. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/sequence-diagrams.md +0 -499
  515. package/agentic-flow/examples/crispr-cas13-pipeline/docs/data-layer/schema.sql +0 -363
  516. package/agentic-flow/examples/crispr-cas13-pipeline/docs/data-models.yaml +0 -1639
  517. package/agentic-flow/examples/crispr-cas13-pipeline/docs/database-schemas.sql +0 -731
  518. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/alignment-service.yaml +0 -171
  519. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/api-gateway.yaml +0 -253
  520. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/namespace.yaml +0 -26
  521. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/postgresql.yaml +0 -119
  522. package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/alignment-service/requirements.txt +0 -18
  523. package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/diff-expr-service/requirements.txt +0 -19
  524. package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/off-target-service/requirements.txt +0 -27
  525. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/README.md +0 -130
  526. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/alignment-flowchart.md +0 -221
  527. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/expression-flowchart.md +0 -426
  528. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/offtarget-flowchart.md +0 -317
  529. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/reporting-flowchart.md +0 -502
  530. package/agentic-flow/examples/crispr-cas13-pipeline/docs/mongodb-collections.json +0 -759
  531. package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/alerts.yml +0 -291
  532. package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/grafana-dashboard-system-overview.json +0 -236
  533. package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/prometheus.yml +0 -213
  534. package/agentic-flow/examples/crispr-cas13-pipeline/docs/security/oauth2-authentication.md +0 -478
  535. package/agentic-flow/examples/crispr-cas13-pipeline/src/api/gateway.rs +0 -257
  536. package/agentic-flow/examples/crispr-cas13-pipeline/src/api/mod.rs +0 -1
  537. package/agentic-flow/examples/crispr-cas13-pipeline/src/audit/logger.rs +0 -345
  538. package/agentic-flow/examples/crispr-cas13-pipeline/src/audit/mod.rs +0 -1
  539. package/agentic-flow/examples/crispr-cas13-pipeline/src/governance/mod.rs +0 -1
  540. package/agentic-flow/examples/crispr-cas13-pipeline/src/governance/policy.rs +0 -339
  541. package/agentic-flow/examples/crispr-cas13-pipeline/src/lib.rs +0 -227
  542. package/agentic-flow/examples/crispr-cas13-pipeline/src/main.rs +0 -114
  543. package/agentic-flow/examples/crispr-cas13-pipeline/src/privacy/differential.rs +0 -303
  544. package/agentic-flow/examples/crispr-cas13-pipeline/src/privacy/mod.rs +0 -1
  545. package/agentic-flow/examples/crispr-cas13-pipeline/src/services/grpc.rs +0 -358
  546. package/agentic-flow/examples/crispr-cas13-pipeline/src/services/mod.rs +0 -1
  547. package/agentic-flow/examples/crispr-cas13-pipeline/tests/README.md +0 -336
  548. package/agentic-flow/examples/crispr-cas13-pipeline/tests/TESTING_SUMMARY.md +0 -386
  549. package/agentic-flow/examples/crispr-cas13-pipeline/tests/TEST_COVERAGE_REPORT.md +0 -347
  550. package/agentic-flow/examples/crispr-cas13-pipeline/tests/fixtures/mod.rs +0 -400
  551. package/agentic-flow/examples/crispr-cas13-pipeline/tests/integration/enhanced_integration_tests.rs +0 -432
  552. package/agentic-flow/examples/crispr-cas13-pipeline/tests/integration_test.rs +0 -340
  553. package/agentic-flow/examples/crispr-cas13-pipeline/tests/load_testing_k6.js +0 -269
  554. package/agentic-flow/examples/crispr-cas13-pipeline/tests/load_testing_locust.py +0 -290
  555. package/agentic-flow/examples/crispr-cas13-pipeline/tests/property/enhanced_property_tests.rs +0 -479
  556. package/agentic-flow/examples/crispr-cas13-pipeline/tests/property_tests.rs +0 -371
  557. package/agentic-flow/examples/crispr-cas13-pipeline/tests/rights_preserving_test.rs +0 -251
  558. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/alignment_tests.rs +0 -307
  559. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/api_service_tests.rs +0 -376
  560. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/data_models_tests.rs +0 -283
  561. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/immune_analyzer_tests.rs +0 -374
  562. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/offtarget_tests.rs +0 -334
  563. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/orchestrator_tests.rs +0 -466
  564. package/agentic-flow/examples/federated-agentdb/README.md +0 -494
  565. package/agentic-flow/memory-backup.json +0 -48
  566. package/agentic-flow/package-lock.json +0 -3974
  567. package/agentic-flow/package.json +0 -182
  568. package/agentic-flow/patches/agentdb-fix-imports.patch +0 -13
  569. package/agentic-flow/path/to/file.py +0 -2
  570. package/agentic-flow/path/to/your/script.py +0 -2
  571. package/agentic-flow/python/calculation.py +0 -1
  572. package/agentic-flow/python/operation.py +0 -1
  573. package/agentic-flow/run-agentdb.sh +0 -8
  574. package/agentic-flow/supabase/.temp/cli-latest +0 -1
  575. package/agentic-flow/supabase/.temp/gotrue-version +0 -1
  576. package/agentic-flow/supabase/.temp/pooler-url +0 -1
  577. package/agentic-flow/supabase/.temp/postgres-version +0 -1
  578. package/agentic-flow/supabase/.temp/project-ref +0 -1
  579. package/agentic-flow/supabase/.temp/rest-version +0 -1
  580. package/agentic-flow/supabase/.temp/storage-migration +0 -1
  581. package/agentic-flow/supabase/.temp/storage-version +0 -1
  582. package/agentic-flow/test-tool-commands.sh +0 -26
  583. package/agentic-llm/DEPLOYMENT_STATUS_UPDATE.md +0 -30
  584. package/agentic-llm/MONITOR_SUMMARY.md +0 -116
  585. package/agentic-llm/benchmarks/DEPLOYMENT_SUMMARY.md +0 -106
  586. package/agentic-llm/benchmarks/benchmark.py +0 -419
  587. package/agentic-llm/benchmarks/comparison/optimization_comparison.json +0 -57
  588. package/agentic-llm/benchmarks/finetune_comparison.py +0 -252
  589. package/agentic-llm/benchmarks/results/.gitkeep +0 -2
  590. package/agentic-llm/benchmarks/results/README.md +0 -59
  591. package/agentic-llm/benchmarks/results/agent-booster-results.json +0 -116
  592. package/agentic-llm/benchmarks/results/morph-baseline-results.json +0 -168
  593. package/agentic-llm/benchmarks/run_comparison.py +0 -246
  594. package/agentic-llm/check-training.sh +0 -27
  595. package/agentic-llm/claude_sdk/integration.py +0 -335
  596. package/agentic-llm/cloudrun/cloud_runner.py +0 -390
  597. package/agentic-llm/cloudrun/deploy.sh +0 -83
  598. package/agentic-llm/cloudrun/entrypoint.sh +0 -10
  599. package/agentic-llm/cloudrun/health_server.py +0 -114
  600. package/agentic-llm/cloudrun/setup-secrets.sh +0 -26
  601. package/agentic-llm/cloudrun/upload_to_huggingface.py +0 -277
  602. package/agentic-llm/configs/training_config.json +0 -71
  603. package/agentic-llm/deployment/DEPLOYMENT_INSTRUCTIONS.md +0 -93
  604. package/agentic-llm/deployment/fly.toml +0 -52
  605. package/agentic-llm/docs/BENCHMARK_OPTIMIZATION_GUIDE.md +0 -435
  606. package/agentic-llm/docs/CLOUD_RUN_DEPLOYMENT.md +0 -368
  607. package/agentic-llm/docs/DEPLOYMENT_GUIDE.md +0 -475
  608. package/agentic-llm/docs/DEPLOYMENT_READY.txt +0 -98
  609. package/agentic-llm/docs/DEPLOYMENT_STATUS.md +0 -389
  610. package/agentic-llm/docs/DEPLOYMENT_SUMMARY.md +0 -358
  611. package/agentic-llm/docs/DEPLOY_STATUS.md +0 -69
  612. package/agentic-llm/docs/FINETUNING_GUIDE.md +0 -483
  613. package/agentic-llm/docs/INDEX.md +0 -43
  614. package/agentic-llm/docs/OPTIMIZATION_RESULTS.md +0 -375
  615. package/agentic-llm/docs/PHI4_FINETUNING_RESEARCH.md +0 -1352
  616. package/agentic-llm/docs/QUICKSTART.md +0 -124
  617. package/agentic-llm/docs/README.md +0 -389
  618. package/agentic-llm/docs/TRAINING_MONITOR.md +0 -77
  619. package/agentic-llm/docs/USAGE_GUIDE.md +0 -499
  620. package/agentic-llm/monitor-loop.sh +0 -52
  621. package/agentic-llm/monitor-training.sh +0 -56
  622. package/agentic-llm/quantization/quantize.py +0 -255
  623. package/agentic-llm/requirements.txt +0 -43
  624. package/agentic-llm/scripts/deploy.sh +0 -120
  625. package/agentic-llm/scripts/run_benchmarks.sh +0 -53
  626. package/agentic-llm/scripts/run_finetuning.sh +0 -90
  627. package/agentic-llm/scripts/test_local.sh +0 -77
  628. package/agentic-llm/training/data/mcp_tools_dataset.json +0 -140
  629. package/agentic-llm/training/finetune_mcp.py +0 -306
  630. package/agentic-llm/training/mcp_dataset.py +0 -395
  631. package/agentic-llm/training/train.py +0 -347
  632. package/agentic-llm/validation/data/mcp_validation_set.json +0 -37
  633. package/agentic-llm/validation/mcp_validator.py +0 -267
  634. package/agentic-llm/validation/validator.py +0 -319
  635. package/bench/.claude-flow/metrics/agent-metrics.json +0 -1
  636. package/bench/.claude-flow/metrics/performance.json +0 -9
  637. package/bench/.claude-flow/metrics/task-metrics.json +0 -10
  638. package/bench/BENCHMARK-GUIDE.md +0 -506
  639. package/bench/BENCHMARK-RESULTS-TEMPLATE.md +0 -253
  640. package/bench/COMPLETION-SUMMARY.md +0 -409
  641. package/bench/README.md +0 -217
  642. package/bench/agents/baseline-agent.js +0 -69
  643. package/bench/agents/baseline-agent.ts +0 -78
  644. package/bench/agents/reasoningbank-agent.js +0 -141
  645. package/bench/agents/reasoningbank-agent.ts +0 -173
  646. package/bench/benchmark.js +0 -244
  647. package/bench/benchmark.ts +0 -309
  648. package/bench/config.json +0 -79
  649. package/bench/lib/metrics.js +0 -163
  650. package/bench/lib/metrics.ts +0 -216
  651. package/bench/lib/report-generator.js +0 -252
  652. package/bench/lib/report-generator.ts +0 -266
  653. package/bench/lib/types.js +0 -4
  654. package/bench/lib/types.ts +0 -117
  655. package/bench/package.json +0 -36
  656. package/bench/run-benchmark.sh +0 -67
  657. package/bench/scenarios/api-design-tasks.js +0 -175
  658. package/bench/scenarios/api-design-tasks.ts +0 -199
  659. package/bench/scenarios/coding-tasks.js +0 -199
  660. package/bench/scenarios/coding-tasks.ts +0 -223
  661. package/bench/scenarios/debugging-tasks.js +0 -216
  662. package/bench/scenarios/debugging-tasks.ts +0 -234
  663. package/bench/scenarios/problem-solving-tasks.js +0 -172
  664. package/bench/scenarios/problem-solving-tasks.ts +0 -196
  665. package/bench/tsconfig.json +0 -26
  666. package/benchmarks/quic-transport.bench.ts +0 -584
  667. package/claude-flow +0 -34
  668. package/crates/agentic-flow-quic/.claude-flow/metrics/agent-metrics.json +0 -1
  669. package/crates/agentic-flow-quic/.claude-flow/metrics/performance.json +0 -87
  670. package/crates/agentic-flow-quic/.claude-flow/metrics/task-metrics.json +0 -10
  671. package/crates/agentic-flow-quic/Cargo.toml +0 -66
  672. package/crates/agentic-flow-quic/IMPLEMENTATION.md +0 -299
  673. package/crates/agentic-flow-quic/README.md +0 -75
  674. package/crates/agentic-flow-quic/benches/quic_bench.rs +0 -229
  675. package/crates/agentic-flow-quic/build.rs +0 -23
  676. package/crates/agentic-flow-quic/src/client.rs +0 -242
  677. package/crates/agentic-flow-quic/src/error.rs +0 -100
  678. package/crates/agentic-flow-quic/src/lib.rs +0 -76
  679. package/crates/agentic-flow-quic/src/server.rs +0 -213
  680. package/crates/agentic-flow-quic/src/types.rs +0 -164
  681. package/crates/agentic-flow-quic/src/wasm.rs +0 -143
  682. package/crates/agentic-flow-quic/src/wasm_stub.rs +0 -61
  683. package/crates/agentic-flow-quic/tests/integration_test.rs +0 -254
  684. package/crates/agentic-flow-quic/wasm-pack-build.sh +0 -17
  685. package/crates/sqlite-vector-core/.claude-flow/metrics/agent-metrics.json +0 -1
  686. package/crates/sqlite-vector-core/.claude-flow/metrics/performance.json +0 -87
  687. package/crates/sqlite-vector-core/.claude-flow/metrics/task-metrics.json +0 -10
  688. package/crates/sqlite-vector-core/Cargo.lock +0 -942
  689. package/crates/sqlite-vector-wasm/.claude-flow/metrics/agent-metrics.json +0 -1
  690. package/crates/sqlite-vector-wasm/.claude-flow/metrics/performance.json +0 -87
  691. package/crates/sqlite-vector-wasm/.claude-flow/metrics/task-metrics.json +0 -10
  692. package/crates/sqlite-vector-wasm/Cargo.lock +0 -499
  693. package/docs/README.md +0 -85
  694. package/docs/REORGANIZATION_PLAN.md +0 -102
  695. package/docs/REORGANIZATION_SUMMARY.md +0 -183
  696. package/docs/agent-integration-guide.md +0 -483
  697. package/docs/api/mcp-tools/mcp-documentation-review.md +0 -834
  698. package/docs/api/mcp-tools/mcp-tools-architecture.md +0 -1082
  699. package/docs/architecture/FEDERATED-AGENTDB-EPHEMERAL-AGENTS.md +0 -680
  700. package/docs/architecture/FEDERATION-CLI-VALIDATION-REPORT.md +0 -491
  701. package/docs/features/README.md +0 -87
  702. package/docs/features/agent-booster/00-INDEX.md +0 -230
  703. package/docs/features/agent-booster/00-OVERVIEW.md +0 -454
  704. package/docs/features/agent-booster/01-ARCHITECTURE.md +0 -699
  705. package/docs/features/agent-booster/02-INTEGRATION.md +0 -771
  706. package/docs/features/agent-booster/03-BENCHMARKS.md +0 -616
  707. package/docs/features/agent-booster/04-NPM-SDK.md +0 -673
  708. package/docs/features/agent-booster/GITHUB-ISSUE.md +0 -523
  709. package/docs/features/agent-booster/README.md +0 -44
  710. package/docs/features/agentdb/AGENTDB-INTEGRATION-COMPLETE.md +0 -590
  711. package/docs/features/agentdb/AGENTDB-LEARNING-SYSTEMS-REPORT.md +0 -783
  712. package/docs/features/agentdb/AGENTDB-MCP-SECURITY-AUDIT.md +0 -877
  713. package/docs/features/agentdb/AGENTDB_INTEGRATION_PLAN.md +0 -776
  714. package/docs/features/agentdb/CAUSAL_RECALL_SEARCH_IMPLEMENTATION.md +0 -141
  715. package/docs/features/agentdb/CLI_GUIDE.md +0 -826
  716. package/docs/features/agentdb/CORE_TOOLS_6-10_IMPLEMENTATION.md +0 -376
  717. package/docs/features/agentdb/LEARNING_TOOLS_6-10.md +0 -474
  718. package/docs/features/agentdb/MCP_TOOLS_IMPLEMENTATION.md +0 -373
  719. package/docs/features/agentdb/README.md +0 -86
  720. package/docs/features/agentdb/TEST_SUITE_SUMMARY.md +0 -222
  721. package/docs/features/agentdb/VERSION_1.3.0_RELEASE.md +0 -199
  722. package/docs/features/agentdb/WASM-VECTOR-IMPLEMENTATION.md +0 -422
  723. package/docs/features/agentdb/agentdb-code-quality-analysis.md +0 -1050
  724. package/docs/features/agentdb/agentdb-tools-verification.md +0 -498
  725. package/docs/features/federation/FEDERATION-CLI-INTEGRATION.md +0 -494
  726. package/docs/features/federation/FEDERATION-IMPLEMENTATION-SUMMARY.md +0 -546
  727. package/docs/features/federation/FEDERATION-TEST-REPORT.md +0 -504
  728. package/docs/features/federation/README.md +0 -35
  729. package/docs/features/quic/BUILD_INSTRUCTIONS.md +0 -220
  730. package/docs/features/quic/FINAL-VALIDATION.md +0 -336
  731. package/docs/features/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +0 -349
  732. package/docs/features/quic/IMPLEMENTATION_STATUS.md +0 -234
  733. package/docs/features/quic/PERFORMANCE-VALIDATION.md +0 -282
  734. package/docs/features/quic/QUIC-INTEGRATION-SUMMARY.md +0 -545
  735. package/docs/features/quic/QUIC-INTEGRATION.md +0 -502
  736. package/docs/features/quic/QUIC-README.md +0 -226
  737. package/docs/features/quic/QUIC-STATUS-OLD.md +0 -513
  738. package/docs/features/quic/QUIC-STATUS.md +0 -451
  739. package/docs/features/quic/QUIC-VALIDATION-REPORT.md +0 -370
  740. package/docs/features/quic/QUIC_FINAL_STATUS.md +0 -399
  741. package/docs/features/quic/QUIC_IMPLEMENTATION_SUMMARY.md +0 -607
  742. package/docs/features/quic/README-CONDENSED.md +0 -447
  743. package/docs/features/quic/README.md +0 -79
  744. package/docs/features/quic/README_QUIC_PHASE1.md +0 -117
  745. package/docs/features/quic/WASM-INTEGRATION-COMPLETE.md +0 -382
  746. package/docs/features/quic/quic-research.md +0 -1415
  747. package/docs/features/quic/quic-tutorial.md +0 -485
  748. package/docs/features/reasoningbank/MEMORY_VALIDATION_REPORT.md +0 -417
  749. package/docs/features/reasoningbank/README.md +0 -64
  750. package/docs/features/reasoningbank/REASONING-AGENTS.md +0 -482
  751. package/docs/features/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +0 -166
  752. package/docs/features/reasoningbank/REASONINGBANK-BENCHMARK.md +0 -396
  753. package/docs/features/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +0 -455
  754. package/docs/features/reasoningbank/REASONINGBANK-DEMO.md +0 -419
  755. package/docs/features/reasoningbank/REASONINGBANK-VALIDATION.md +0 -532
  756. package/docs/features/reasoningbank/REASONINGBANK_ARCHITECTURE.md +0 -663
  757. package/docs/features/reasoningbank/REASONINGBANK_BACKENDS.md +0 -375
  758. package/docs/features/reasoningbank/REASONINGBANK_FIXES.md +0 -455
  759. package/docs/features/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +0 -478
  760. package/docs/features/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +0 -1059
  761. package/docs/features/reasoningbank/REASONINGBANK_INVESTIGATION.md +0 -380
  762. package/docs/features/router/README.md +0 -38
  763. package/docs/features/router/ROUTER_CONFIG_REFERENCE.md +0 -577
  764. package/docs/features/router/ROUTER_USER_GUIDE.md +0 -865
  765. package/docs/features/router/TOP20_MODELS_MATRIX.md +0 -80
  766. package/docs/guides/MCP-AUTHENTICATION.md +0 -2017
  767. package/docs/guides/MCP-QUICKSTART.md +0 -521
  768. package/docs/guides/MCP-TROUBLESHOOTING.md +0 -1602
  769. package/docs/guides/NPM_STATS_GUIDE.md +0 -407
  770. package/docs/parallel-execution-implementation.md +0 -525
  771. package/docs/plans/.claude-flow/metrics/agent-metrics.json +0 -1
  772. package/docs/plans/.claude-flow/metrics/performance.json +0 -87
  773. package/docs/plans/.claude-flow/metrics/task-metrics.json +0 -10
  774. package/docs/releases/archive/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +0 -1529
  775. package/docs/releases/archive/GITHUB-ISSUE-BUILD-FIX.md +0 -756
  776. package/docs/releases/archive/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +0 -643
  777. package/docs/releases/archive/GITHUB-ISSUE-v1.4.6.md +0 -1453
  778. package/docs/releases/archive/GITHUB-ISSUE-v1.5.0.md +0 -468
  779. package/docs/releases/archive/HOTFIX-v1.2.1.md +0 -315
  780. package/docs/releases/archive/INTEGRATION-COMPLETE.md +0 -291
  781. package/docs/releases/archive/MIGRATION-STATUS.md +0 -118
  782. package/docs/releases/archive/MIGRATION_v1.7.0.md +0 -299
  783. package/docs/releases/archive/NPM-PUBLISH-GUIDE-v1.2.0.md +0 -440
  784. package/docs/releases/archive/PUBLICATION_REPORT_v1.5.11.md +0 -421
  785. package/docs/releases/archive/PUBLISH-COMPLETE-v1.2.0.md +0 -308
  786. package/docs/releases/archive/README.md +0 -82
  787. package/docs/releases/archive/RELEASE-v1.2.0.md +0 -339
  788. package/docs/releases/archive/VALIDATION_REPORT_v1.7.0.md +0 -418
  789. package/docs/releases/archive/ZERO-BUILD-MIGRATION.md +0 -227
  790. package/docs/releases/archive/github-issue-agentdb-integration.md +0 -379
  791. package/docs/releases/archive/v1.4.6-reasoningbank-release.md +0 -541
  792. package/docs/releases/archive/v1.4.7-bugfix.md +0 -212
  793. package/docs/releases/archive/v1.5.14-QUIC-TRANSPORT.md +0 -201
  794. package/docs/releases/archive/v1.5.9-DOCKER-VERIFICATION.md +0 -263
  795. package/docs/releases/archive/v1.5.9-RELEASE-SUMMARY.md +0 -222
  796. package/docs/swarm-optimization-report.md +0 -626
  797. package/index.html +0 -15
  798. package/memory/agents/README.md +0 -31
  799. package/memory/claude-flow@alpha-data.json +0 -5
  800. package/memory/memory-store.json +0 -69
  801. package/memory/sessions/README.md +0 -32
  802. package/src/App.css +0 -5
  803. package/src/App.tsx +0 -15
  804. package/src/components/AgentTypes.tsx +0 -122
  805. package/src/components/CoreComponents.tsx +0 -131
  806. package/src/components/Features.tsx +0 -102
  807. package/src/components/Footer.tsx +0 -159
  808. package/src/components/Hero.tsx +0 -87
  809. package/src/components/PerformanceMetrics.tsx +0 -125
  810. package/src/components/QuickStart.tsx +0 -178
  811. package/src/index.css +0 -87
  812. package/src/main.tsx +0 -10
  813. package/src/pages/LandingPage.tsx +0 -23
  814. package/src/transport/quic.ts +0 -258
  815. package/tailwind.config.ts +0 -79
  816. package/vite.config.ts +0 -20
  817. /package/{agentic-flow/.claude → .claude}/agents/MIGRATION_SUMMARY.md +0 -0
  818. /package/{agentic-flow/.claude → .claude}/agents/README.md +0 -0
  819. /package/{agentic-flow/.claude → .claude}/agents/consensus/README.md +0 -0
  820. /package/{agentic-flow/.claude → .claude}/agents/custom/test-long-runner.md +0 -0
  821. /package/.claude/agents/{reasoning → goal}/agent.md +0 -0
  822. /package/{agentic-flow/.claude → .claude}/agents/optimization/README.md +0 -0
  823. /package/{agentic-flow/.claude → .claude}/agents/payments/agentic-payments.md +0 -0
  824. /package/{agentic-flow/.claude → .claude}/agents/sublinear/consensus-coordinator.md +0 -0
  825. /package/{agentic-flow/.claude → .claude}/agents/sublinear/matrix-optimizer.md +0 -0
  826. /package/{agentic-flow/.claude → .claude}/agents/sublinear/pagerank-analyzer.md +0 -0
  827. /package/{agentic-flow/.claude → .claude}/agents/sublinear/performance-optimizer.md +0 -0
  828. /package/{agentic-flow/.claude → .claude}/agents/sublinear/trading-predictor.md +0 -0
  829. /package/{agentic-flow/.claude → .claude}/agents/swarm/README.md +0 -0
  830. /package/{agentic-flow/.claude → .claude}/agents/test-neural.md +0 -0
  831. /package/{agentic-flow/.claude → .claude}/answer.md +0 -0
  832. /package/{agentic-flow/.claude → .claude}/commands/claude-flow-help.md +0 -0
  833. /package/{agentic-flow/.claude → .claude}/commands/claude-flow-memory.md +0 -0
  834. /package/{agentic-flow/.claude → .claude}/commands/claude-flow-swarm.md +0 -0
  835. /package/{agentic-flow/.claude → .claude}/commands/pair/README.md +0 -0
  836. /package/{agentic-flow/.claude → .claude}/commands/sparc/ask.md +0 -0
  837. /package/{agentic-flow/.claude → .claude}/commands/sparc/code.md +0 -0
  838. /package/{agentic-flow/.claude → .claude}/commands/sparc/debug.md +0 -0
  839. /package/{agentic-flow/.claude → .claude}/commands/sparc/devops.md +0 -0
  840. /package/{agentic-flow/.claude → .claude}/commands/sparc/docs-writer.md +0 -0
  841. /package/{agentic-flow/.claude → .claude}/commands/sparc/integration.md +0 -0
  842. /package/{agentic-flow/.claude → .claude}/commands/sparc/mcp.md +0 -0
  843. /package/{agentic-flow/.claude → .claude}/commands/sparc/post-deployment-monitoring-mode.md +0 -0
  844. /package/{agentic-flow/.claude → .claude}/commands/sparc/refinement-optimization-mode.md +0 -0
  845. /package/{agentic-flow/.claude → .claude}/commands/sparc/security-review.md +0 -0
  846. /package/{agentic-flow/.claude → .claude}/commands/sparc/sparc.md +0 -0
  847. /package/{agentic-flow/.claude → .claude}/commands/sparc/spec-pseudocode.md +0 -0
  848. /package/{agentic-flow/.claude → .claude}/commands/sparc/supabase-admin.md +0 -0
  849. /package/{agentic-flow/.claude → .claude}/commands/sparc/tutorial.md +0 -0
  850. /package/{agentic-flow/.claude → .claude}/commands/sparc.md +0 -0
  851. /package/{agentic-flow/.claude → .claude}/mcp.json +0 -0
  852. /package/{agentic-flow/.claude → .claude}/openrouter-models-research.md +0 -0
  853. /package/{agentic-flow/.claude → .claude}/openrouter-quick-reference.md +0 -0
  854. /package/{agentic-flow/.claude → .claude}/settings-backup.json +0 -0
  855. /package/{agentic-flow/.claude → .claude}/settings-optimized.json +0 -0
  856. /package/{agentic-flow/.claude → .claude}/settings-simple.json +0 -0
  857. /package/{.claude-flow → .claude/skills/.claude-flow}/metrics/agent-metrics.json +0 -0
  858. /package/{agentic-flow/.claude → .claude}/skills/.claude-flow/metrics/performance.json +0 -0
  859. /package/{agentic-flow/.claude → .claude}/skills/.claude-flow/metrics/task-metrics.json +0 -0
  860. /package/{agentic-flow/.claude/skills → .claude/skills/skill-builder}/.claude-flow/metrics/agent-metrics.json +0 -0
  861. /package/{agentic-flow/.claude → .claude}/skills/skill-builder/.claude-flow/metrics/performance.json +0 -0
  862. /package/{agentic-flow/.claude → .claude}/skills/skill-builder/.claude-flow/metrics/task-metrics.json +0 -0
  863. /package/{agentic-flow/dist → dist}/agentdb/benchmarks/comprehensive-benchmark.js +0 -0
  864. /package/{agentic-flow/dist → dist}/agentdb/benchmarks/frontier-benchmark.js +0 -0
  865. /package/{agentic-flow/dist → dist}/agentdb/benchmarks/reflexion-benchmark.js +0 -0
  866. /package/{agentic-flow/dist → dist}/agentdb/cli/agentdb-cli.js +0 -0
  867. /package/{agentic-flow/dist → dist}/agentdb/controllers/CausalMemoryGraph.js +0 -0
  868. /package/{agentic-flow/dist → dist}/agentdb/controllers/CausalRecall.js +0 -0
  869. /package/{agentic-flow/dist → dist}/agentdb/controllers/EmbeddingService.js +0 -0
  870. /package/{agentic-flow/dist → dist}/agentdb/controllers/ExplainableRecall.js +0 -0
  871. /package/{agentic-flow/dist → dist}/agentdb/controllers/NightlyLearner.js +0 -0
  872. /package/{agentic-flow/dist → dist}/agentdb/controllers/ReflexionMemory.js +0 -0
  873. /package/{agentic-flow/dist → dist}/agentdb/controllers/SkillLibrary.js +0 -0
  874. /package/{agentic-flow/dist → dist}/agentdb/controllers/frontier-index.js +0 -0
  875. /package/{agentic-flow/dist → dist}/agentdb/controllers/index.js +0 -0
  876. /package/{agentic-flow/dist → dist}/agentdb/index.js +0 -0
  877. /package/{agentic-flow/dist → dist}/agentdb/optimizations/BatchOperations.js +0 -0
  878. /package/{agentic-flow/dist → dist}/agentdb/optimizations/QueryOptimizer.js +0 -0
  879. /package/{agentic-flow/dist → dist}/agentdb/optimizations/index.js +0 -0
  880. /package/{agentic-flow/dist → dist}/agents/claudeAgent.js +0 -0
  881. /package/{agentic-flow/dist → dist}/agents/claudeAgentDirect.js +0 -0
  882. /package/{agentic-flow/dist → dist}/agents/claudeFlowAgent.js +0 -0
  883. /package/{agentic-flow/dist → dist}/agents/codeReviewAgent.js +0 -0
  884. /package/{agentic-flow/dist → dist}/agents/dataAgent.js +0 -0
  885. /package/{agentic-flow/dist → dist}/agents/directApiAgent.js +0 -0
  886. /package/{agentic-flow/dist → dist}/agents/webResearchAgent.js +0 -0
  887. /package/{agentic-flow/dist → dist}/cli/agent-manager.js +0 -0
  888. /package/{agentic-flow/dist → dist}/cli/claude-code-wrapper.js +0 -0
  889. /package/{agentic-flow/dist → dist}/cli/federation-cli.js +0 -0
  890. /package/{agentic-flow/dist → dist}/cli/mcp-manager.js +0 -0
  891. /package/{agentic-flow/dist → dist}/cli/mcp.js +0 -0
  892. /package/{agentic-flow/dist → dist}/cli/skills-manager.js +0 -0
  893. /package/{agentic-flow/dist → dist}/cli/update-message.js +0 -0
  894. /package/{agentic-flow/dist → dist}/cli-standalone-proxy.js +0 -0
  895. /package/{agentic-flow/dist → dist}/config/claudeFlow.js +0 -0
  896. /package/{agentic-flow/dist → dist}/config/quic.js +0 -0
  897. /package/{agentic-flow/dist → dist}/config/tools.js +0 -0
  898. /package/{agentic-flow/dist → dist}/examples/multi-agent-orchestration.js +0 -0
  899. /package/{agentic-flow/dist → dist}/examples/use-goal-planner.js +0 -0
  900. /package/{agentic-flow/dist → dist}/federation/EphemeralAgent.js +0 -0
  901. /package/{agentic-flow/dist → dist}/federation/FederationHub.js +0 -0
  902. /package/{agentic-flow/dist → dist}/federation/FederationHubClient.js +0 -0
  903. /package/{agentic-flow/dist → dist}/federation/FederationHubServer.js +0 -0
  904. /package/{agentic-flow/dist → dist}/federation/SecurityManager.js +0 -0
  905. /package/{agentic-flow/dist → dist}/federation/debug/agent-debug-stream.js +0 -0
  906. /package/{agentic-flow/dist → dist}/federation/debug/debug-stream.js +0 -0
  907. /package/{agentic-flow/dist → dist}/federation/index.js +0 -0
  908. /package/{agentic-flow/dist → dist}/federation/integrations/realtime-federation.js +0 -0
  909. /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter-debug.js +0 -0
  910. /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter.js +0 -0
  911. /package/{agentic-flow/dist → dist}/health.js +0 -0
  912. /package/{agentic-flow/dist → dist}/index.js +0 -0
  913. /package/{agentic-flow/dist → dist}/mcp/claudeFlowSdkServer.js +0 -0
  914. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/claude-flow-sdk.js +0 -0
  915. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-sse.js +0 -0
  916. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-streaming-updated.js +0 -0
  917. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/poc-stdio.js +0 -0
  918. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/stdio-full.js +0 -0
  919. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-agent.js +0 -0
  920. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-command.js +0 -0
  921. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/execute.js +0 -0
  922. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/list.js +0 -0
  923. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/parallel.js +0 -0
  924. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/init.js +0 -0
  925. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/orchestrate.js +0 -0
  926. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/spawn.js +0 -0
  927. /package/{agentic-flow/dist → dist}/mcp/fastmcp/types/index.js +0 -0
  928. /package/{agentic-flow/dist → dist}/mcp/standalone-stdio.js +0 -0
  929. /package/{agentic-flow/dist → dist}/memory/SharedMemoryPool.js +0 -0
  930. /package/{agentic-flow/dist → dist}/memory/index.js +0 -0
  931. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-gemini.js +0 -0
  932. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-onnx.js +0 -0
  933. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-openrouter.js +0 -0
  934. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-requesty.js +0 -0
  935. /package/{agentic-flow/dist → dist}/proxy/quic-proxy.js +0 -0
  936. /package/{agentic-flow/dist → dist}/proxy/tool-emulation.js +0 -0
  937. /package/{agentic-flow/dist → dist}/reasoningbank/AdvancedMemory.js +0 -0
  938. /package/{agentic-flow/dist → dist}/reasoningbank/HybridBackend.js +0 -0
  939. /package/{agentic-flow/dist → dist}/reasoningbank/agentdb-adapter.js +0 -0
  940. /package/{agentic-flow/dist → dist}/reasoningbank/backend-selector.js +0 -0
  941. /package/{agentic-flow/dist → dist}/reasoningbank/benchmark.js +0 -0
  942. /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank-types.js +0 -0
  943. /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank.yaml +0 -0
  944. /package/{agentic-flow/dist → dist}/reasoningbank/core/consolidate.js +0 -0
  945. /package/{agentic-flow/dist → dist}/reasoningbank/core/database.js +0 -0
  946. /package/{agentic-flow/dist → dist}/reasoningbank/core/distill.js +0 -0
  947. /package/{agentic-flow/dist → dist}/reasoningbank/core/judge.js +0 -0
  948. /package/{agentic-flow/dist → dist}/reasoningbank/core/matts.js +0 -0
  949. /package/{agentic-flow/dist → dist}/reasoningbank/core/memory-engine.js +0 -0
  950. /package/{agentic-flow/dist → dist}/reasoningbank/core/retrieve.js +0 -0
  951. /package/{agentic-flow/dist → dist}/reasoningbank/db/queries.js +0 -0
  952. /package/{agentic-flow/dist → dist}/reasoningbank/db/schema.js +0 -0
  953. /package/{agentic-flow/dist → dist}/reasoningbank/demo-comparison.js +0 -0
  954. /package/{agentic-flow/dist → dist}/reasoningbank/hooks/post-task.js +0 -0
  955. /package/{agentic-flow/dist → dist}/reasoningbank/hooks/pre-task.js +0 -0
  956. /package/{agentic-flow/dist → dist}/reasoningbank/index-new.js +0 -0
  957. /package/{agentic-flow/dist → dist}/reasoningbank/index.js +0 -0
  958. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/distill-failure.json +0 -0
  959. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/distill-success.json +0 -0
  960. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/judge.json +0 -0
  961. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/matts-aggregate.json +0 -0
  962. /package/{agentic-flow/dist → dist}/reasoningbank/test-integration.js +0 -0
  963. /package/{agentic-flow/dist → dist}/reasoningbank/test-retrieval.js +0 -0
  964. /package/{agentic-flow/dist → dist}/reasoningbank/test-validation.js +0 -0
  965. /package/{agentic-flow/dist → dist}/reasoningbank/types/index.js +0 -0
  966. /package/{agentic-flow/dist → dist}/reasoningbank/utils/config.js +0 -0
  967. /package/{agentic-flow/dist → dist}/reasoningbank/utils/embeddings.js +0 -0
  968. /package/{agentic-flow/dist → dist}/reasoningbank/utils/mmr.js +0 -0
  969. /package/{agentic-flow/dist → dist}/reasoningbank/utils/pii-scrubber.js +0 -0
  970. /package/{agentic-flow/dist → dist}/reasoningbank/wasm-adapter.js +0 -0
  971. /package/{agentic-flow/dist → dist}/router/model-mapping.js +0 -0
  972. /package/{agentic-flow/dist → dist}/router/providers/anthropic.js +0 -0
  973. /package/{agentic-flow/dist → dist}/router/providers/gemini.js +0 -0
  974. /package/{agentic-flow/dist → dist}/router/providers/onnx-local-optimized.js +0 -0
  975. /package/{agentic-flow/dist → dist}/router/providers/onnx-local.js +0 -0
  976. /package/{agentic-flow/dist → dist}/router/providers/onnx-phi4.js +0 -0
  977. /package/{agentic-flow/dist → dist}/router/providers/onnx.js +0 -0
  978. /package/{agentic-flow/dist → dist}/router/providers/openrouter.js +0 -0
  979. /package/{agentic-flow/dist → dist}/router/router.js +0 -0
  980. /package/{agentic-flow/dist → dist}/router/test-integration.js +0 -0
  981. /package/{agentic-flow/dist → dist}/router/test-onnx-benchmark.js +0 -0
  982. /package/{agentic-flow/dist → dist}/router/test-onnx-integration.js +0 -0
  983. /package/{agentic-flow/dist → dist}/router/test-onnx-local.js +0 -0
  984. /package/{agentic-flow/dist → dist}/router/test-onnx.js +0 -0
  985. /package/{agentic-flow/dist → dist}/router/test-openrouter.js +0 -0
  986. /package/{agentic-flow/dist → dist}/router/test-phi4.js +0 -0
  987. /package/{agentic-flow/dist → dist}/router/types.js +0 -0
  988. /package/{agentic-flow/dist → dist}/swarm/index.js +0 -0
  989. /package/{agentic-flow/dist → dist}/swarm/quic-coordinator.js +0 -0
  990. /package/{agentic-flow/dist → dist}/swarm/transport-router.js +0 -0
  991. /package/{agentic-flow/dist → dist}/transport/index.js +0 -0
  992. /package/{agentic-flow/dist → dist}/transport/quic-handshake.js +0 -0
  993. /package/{agentic-flow/dist → dist}/transport/quic.js +0 -0
  994. /package/{agentic-flow/dist → dist}/utils/agentBoosterPreprocessor.js +0 -0
  995. /package/{agentic-flow/dist → dist}/utils/agentLoader.js +0 -0
  996. /package/{agentic-flow/dist → dist}/utils/agentdb-runtime-patch.js +0 -0
  997. /package/{agentic-flow/dist → dist}/utils/agentdbCommands.js +0 -0
  998. /package/{agentic-flow/dist → dist}/utils/logger.js +0 -0
  999. /package/{agentic-flow/dist → dist}/utils/math.js +0 -0
  1000. /package/{agentic-flow/dist → dist}/utils/mcpCommands.js +0 -0
  1001. /package/{agentic-flow/dist → dist}/utils/model-downloader.js +0 -0
  1002. /package/{agentic-flow/dist → dist}/utils/modelCapabilities.js +0 -0
  1003. /package/{agentic-flow/dist → dist}/utils/modelOptimizer.js +0 -0
  1004. /package/{agentic-flow/dist → dist}/utils/reasoningbankCommands.js +0 -0
  1005. /package/{agentic-flow/dist → dist}/utils/retry.js +0 -0
  1006. /package/{agentic-flow/docs → docs}/AGENTDB_TESTING.md +0 -0
  1007. /package/{agentic-flow/docs → docs}/INTEGRATION-COMPLETE.md +0 -0
  1008. /package/{agentic-flow/docs → docs}/QUIC_FINAL_STATUS.md +0 -0
  1009. /package/{agentic-flow/docs → docs}/README_QUIC_PHASE1.md +0 -0
  1010. /package/{agentic-flow/docs → docs}/TEST-V1.7.8.Dockerfile +0 -0
  1011. /package/{agentic-flow/docs → docs}/TEST-V1.7.9-NODE20.Dockerfile +0 -0
  1012. /package/{agentic-flow/docs → docs}/TEST-V1.7.9.Dockerfile +0 -0
  1013. /package/{agentic-flow/docs → docs}/architecture/FEDERATION-DATA-LIFECYCLE.md +0 -0
  1014. /package/{agentic-flow/docs → docs}/archived/COMPLETE_VALIDATION_SUMMARY.md +0 -0
  1015. /package/{agentic-flow/docs → docs}/archived/DOCKER_MCP_VALIDATION.md +0 -0
  1016. /package/{agentic-flow/docs → docs}/archived/DOCKER_OPENROUTER_VALIDATION.md +0 -0
  1017. /package/{agentic-flow/docs → docs}/archived/FASTMCP_COMPLETE.md +0 -0
  1018. /package/{agentic-flow/docs → docs}/archived/FASTMCP_INTEGRATION_STATUS.md +0 -0
  1019. /package/{agentic-flow/docs → docs}/archived/FINAL_SDK_VALIDATION.md +0 -0
  1020. /package/{agentic-flow/docs → docs}/archived/FINAL_SYSTEM_VALIDATION.md +0 -0
  1021. /package/{agentic-flow/docs → docs}/archived/FINAL_VALIDATION_SUMMARY.md +0 -0
  1022. /package/{agentic-flow/docs → docs}/archived/FIXES-APPLIED-STATUS.md +0 -0
  1023. /package/{agentic-flow/docs → docs}/archived/FLOW-NEXUS-COMPLETE.md +0 -0
  1024. /package/{agentic-flow/docs → docs}/archived/HOTFIX_1.1.7.md +0 -0
  1025. /package/{agentic-flow/docs → docs}/archived/INTEGRATION_CONFIRMED.md +0 -0
  1026. /package/{agentic-flow/docs → docs}/archived/MCP_CLI_TOOLS_VALIDATION.md +0 -0
  1027. /package/{agentic-flow/docs → docs}/archived/MCP_INTEGRATION_SUCCESS.md +0 -0
  1028. /package/{agentic-flow/docs → docs}/archived/MCP_PROXY_VALIDATION.md +0 -0
  1029. /package/{agentic-flow/docs → docs}/archived/MODEL_VALIDATION_REPORT.md +0 -0
  1030. /package/{agentic-flow/docs → docs}/archived/ONNX_ENV_VARS.md +0 -0
  1031. /package/{agentic-flow/docs → docs}/archived/ONNX_FINAL_REPORT.md +0 -0
  1032. /package/{agentic-flow/docs → docs}/archived/ONNX_IMPLEMENTATION_COMPLETE.md +0 -0
  1033. /package/{agentic-flow/docs → docs}/archived/ONNX_IMPLEMENTATION_SUMMARY.md +0 -0
  1034. /package/{agentic-flow/docs → docs}/archived/ONNX_INTEGRATION.md +0 -0
  1035. /package/{agentic-flow/docs → docs}/archived/ONNX_OPTIMIZATION_SUMMARY.md +0 -0
  1036. /package/{agentic-flow/docs → docs}/archived/ONNX_PHI4_RESEARCH.md +0 -0
  1037. /package/{agentic-flow/docs → docs}/archived/ONNX_RUNTIME_INTEGRATION_PLAN.md +0 -0
  1038. /package/{agentic-flow/docs → docs}/archived/ONNX_SUCCESS_REPORT.md +0 -0
  1039. /package/{agentic-flow/docs → docs}/archived/ONNX_VS_CLAUDE_QUALITY.md +0 -0
  1040. /package/{agentic-flow/docs → docs}/archived/OPENROUTER-FIX-VALIDATION.md +0 -0
  1041. /package/{agentic-flow/docs → docs}/archived/OPENROUTER-SUCCESS-REPORT.md +0 -0
  1042. /package/{agentic-flow/docs → docs}/archived/OPENROUTER_ISSUES_AND_FIXES.md +0 -0
  1043. /package/{agentic-flow/docs → docs}/archived/OPENROUTER_PROXY_COMPLETE.md +0 -0
  1044. /package/{agentic-flow/docs → docs}/archived/OPENROUTER_VALIDATION_COMPLETE.md +0 -0
  1045. /package/{agentic-flow/docs → docs}/archived/OPTIMIZATION_SUMMARY.md +0 -0
  1046. /package/{agentic-flow/docs → docs}/archived/PACKAGE-COMPLETE.md +0 -0
  1047. /package/{agentic-flow/docs → docs}/archived/PHI4_HYPEROPTIMIZATION_PLAN.md +0 -0
  1048. /package/{agentic-flow/docs → docs}/archived/PROVIDER_INSTRUCTION_OPTIMIZATION.md +0 -0
  1049. /package/{agentic-flow/docs → docs}/archived/PROXY_VALIDATION.md +0 -0
  1050. /package/{agentic-flow/docs → docs}/archived/README.md +0 -0
  1051. /package/{agentic-flow/docs → docs}/archived/README_SDK_VALIDATION.md +0 -0
  1052. /package/{agentic-flow/docs → docs}/archived/README_V1.1.11.md +0 -0
  1053. /package/{agentic-flow/docs → docs}/archived/RELEASE-NOTES-v1.1.13.md +0 -0
  1054. /package/{agentic-flow/docs → docs}/archived/RELEASE-SUMMARY-v1.1.14-beta.1.md +0 -0
  1055. /package/{agentic-flow/docs → docs}/archived/RESEARCH_COMPLETE.txt +0 -0
  1056. /package/{agentic-flow/docs → docs}/archived/ROUTER_VALIDATION.md +0 -0
  1057. /package/{agentic-flow/docs → docs}/archived/SDK-SETUP-COMPLETE.md +0 -0
  1058. /package/{agentic-flow/docs → docs}/archived/SDK_INTEGRATION_COMPLETE.md +0 -0
  1059. /package/{agentic-flow/docs → docs}/archived/TOOL_INSTRUCTION_ENHANCEMENT.md +0 -0
  1060. /package/{agentic-flow/docs → docs}/archived/V1.1.10_VALIDATION.md +0 -0
  1061. /package/{agentic-flow/docs → docs}/archived/V1.1.11_COMPLETE_VALIDATION.md +0 -0
  1062. /package/{agentic-flow/docs → docs}/archived/V1.1.11_MCP_PROXY_FIX.md +0 -0
  1063. /package/{agentic-flow/docs → docs}/archived/V1.1.14-BETA-READY.md +0 -0
  1064. /package/{agentic-flow/docs → docs}/archived/VALIDATION-RESULTS.md +0 -0
  1065. /package/{agentic-flow/docs → docs}/archived/VALIDATION_COMPLETE.md +0 -0
  1066. /package/{agentic-flow/docs → docs}/archived/VALIDATION_SUMMARY.md +0 -0
  1067. /package/{agentic-flow/docs → docs}/archived/claude-flow-integration.md +0 -0
  1068. /package/{agentic-flow/docs → docs}/archived/docker-cli-validation.md +0 -0
  1069. /package/{agentic-flow/docs → docs}/archived/docker-memory-coordination-status.md +0 -0
  1070. /package/{agentic-flow/docs → docs}/archived/mcp-validation-summary.md +0 -0
  1071. /package/{agentic-flow/docs → docs}/archived/quick-wins-validation.md +0 -0
  1072. /package/{agentic-flow/docs → docs}/benchmarks/optimization-guide.md +0 -0
  1073. /package/{agentic-flow/docs → docs}/benchmarks/quic-results.md +0 -0
  1074. /package/{agentic-flow/docs → docs}/federation/AGENT-DEBUG-STREAMING.md +0 -0
  1075. /package/{agentic-flow/docs → docs}/federation/DEBUG-STREAMING-COMPLETE.md +0 -0
  1076. /package/{agentic-flow/docs → docs}/federation/DEBUG-STREAMING.md +0 -0
  1077. /package/{agentic-flow/docs → docs}/federation/DEPLOYMENT-VALIDATION-SUCCESS.md +0 -0
  1078. /package/{agentic-flow/docs → docs}/federation/DOCKER-FEDERATION-DEEP-REVIEW.md +0 -0
  1079. /package/{agentic-flow/docs → docs}/integration-docs/AGENT-BOOSTER-INTEGRATION.md +0 -0
  1080. /package/{agentic-flow/docs → docs}/integration-docs/CLAUDE-FLOW-INTEGRATION-ANALYSIS.md +0 -0
  1081. /package/{agentic-flow/docs → docs}/integration-docs/CLI-INTEGRATION-COMPLETE.md +0 -0
  1082. /package/{agentic-flow/docs → docs}/integration-docs/IMPLEMENTATION_SUMMARY.md +0 -0
  1083. /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION-QUICK-SUMMARY.md +0 -0
  1084. /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION-STATUS-CORRECTED.md +0 -0
  1085. /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION_COMPLETE_SUMMARY.md +0 -0
  1086. /package/{agentic-flow/docs → docs}/integration-docs/QUIC-WASM-INTEGRATION.md +0 -0
  1087. /package/{agentic-flow/docs → docs}/integration-docs/README.md +0 -0
  1088. /package/{agentic-flow/docs → docs}/integration-docs/WASM_ESM_FIX.md +0 -0
  1089. /package/{agentic-flow/docs → docs}/integration-docs/WASM_INTEGRATION_COMPLETE.md +0 -0
  1090. /package/{agentic-flow/docs → docs}/integrations/CLAUDE_AGENTS_INTEGRATION.md +0 -0
  1091. /package/{agentic-flow/docs → docs}/integrations/CLAUDE_FLOW_INTEGRATION.md +0 -0
  1092. /package/{agentic-flow/docs → docs}/integrations/FASTMCP_CLI_INTEGRATION.md +0 -0
  1093. /package/{agentic-flow/docs → docs}/integrations/FLOW-NEXUS-INTEGRATION.md +0 -0
  1094. /package/{agentic-flow/docs → docs}/integrations/README.md +0 -0
  1095. /package/{agentic-flow/docs → docs}/integrations/fastmcp-implementation-plan.md +0 -0
  1096. /package/{agentic-flow/docs → docs}/integrations/fastmcp-poc-integration.md +0 -0
  1097. /package/{agentic-flow/docs → docs}/issues/ISSUE-SUPABASE-INTEGRATION.md +0 -0
  1098. /package/{agentic-flow/docs → docs}/mcp-validation/IMPLEMENTATION-SUMMARY.md +0 -0
  1099. /package/{agentic-flow/docs → docs}/mcp-validation/MCP-CLI-VALIDATION-REPORT.md +0 -0
  1100. /package/{agentic-flow/docs → docs}/mcp-validation/README.md +0 -0
  1101. /package/{agentic-flow/docs → docs}/mcp-validation/strange-loops-test.md +0 -0
  1102. /package/{agentic-flow/docs → docs}/plans/QUIC/BUILD_INSTRUCTIONS.md +0 -0
  1103. /package/{agentic-flow/docs → docs}/plans/QUIC/IMPLEMENTATION_STATUS.md +0 -0
  1104. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-INTEGRATION-SUMMARY.md +0 -0
  1105. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-INTEGRATION.md +0 -0
  1106. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-README.md +0 -0
  1107. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC_IMPLEMENTATION_SUMMARY.md +0 -0
  1108. /package/{agentic-flow/docs → docs}/plans/QUIC/README-CONDENSED.md +0 -0
  1109. /package/{agentic-flow/docs → docs}/plans/QUIC/quic-research.md +0 -0
  1110. /package/{agentic-flow/docs → docs}/plans/QUIC/quic-tutorial.md +0 -0
  1111. /package/{agentic-flow/docs → docs}/plans/agent-booster/00-INDEX.md +0 -0
  1112. /package/{agentic-flow/docs → docs}/plans/agent-booster/00-OVERVIEW.md +0 -0
  1113. /package/{agentic-flow/docs → docs}/plans/agent-booster/01-ARCHITECTURE.md +0 -0
  1114. /package/{agentic-flow/docs → docs}/plans/agent-booster/02-INTEGRATION.md +0 -0
  1115. /package/{agentic-flow/docs → docs}/plans/agent-booster/03-BENCHMARKS.md +0 -0
  1116. /package/{agentic-flow/docs → docs}/plans/agent-booster/04-NPM-SDK.md +0 -0
  1117. /package/{agentic-flow/docs → docs}/plans/agent-booster/GITHUB-ISSUE.md +0 -0
  1118. /package/{agentic-flow/docs → docs}/plans/agent-booster/README.md +0 -0
  1119. /package/{agentic-flow/docs → docs}/plans/agent-booster-cli-integration.md +0 -0
  1120. /package/{agentic-flow/docs → docs}/plans/requesty/00-overview.md +0 -0
  1121. /package/{agentic-flow/docs → docs}/plans/requesty/01-api-research.md +0 -0
  1122. /package/{agentic-flow/docs → docs}/plans/requesty/02-architecture.md +0 -0
  1123. /package/{agentic-flow/docs → docs}/plans/requesty/03-implementation-phases.md +0 -0
  1124. /package/{agentic-flow/docs → docs}/plans/requesty/04-testing-strategy.md +0 -0
  1125. /package/{agentic-flow/docs → docs}/plans/requesty/05-migration-guide.md +0 -0
  1126. /package/{agentic-flow/docs → docs}/plans/requesty/README.md +0 -0
  1127. /package/{agentic-flow/docs → docs}/quantum-goap/DEPENDENCY_GRAPH.mermaid +0 -0
  1128. /package/{agentic-flow/docs → docs}/quantum-goap/EXECUTION_SUMMARY.md +0 -0
  1129. /package/{agentic-flow/docs → docs}/quantum-goap/GOAP_IMPLEMENTATION_PLAN.md +0 -0
  1130. /package/{agentic-flow/docs → docs}/quantum-goap/QUICK_START.md +0 -0
  1131. /package/{agentic-flow/docs → docs}/quantum-research/QUANTUM_RESEARCH_LITERATURE_REVIEW.md +0 -0
  1132. /package/{agentic-flow/docs → docs}/quantum-research/README.md +0 -0
  1133. /package/{agentic-flow/docs → docs}/quic/FINAL-VALIDATION.md +0 -0
  1134. /package/{agentic-flow/docs → docs}/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +0 -0
  1135. /package/{agentic-flow/docs → docs}/quic/PERFORMANCE-VALIDATION.md +0 -0
  1136. /package/{agentic-flow/docs → docs}/quic/QUIC-STATUS-OLD.md +0 -0
  1137. /package/{agentic-flow/docs → docs}/quic/QUIC-STATUS.md +0 -0
  1138. /package/{agentic-flow/docs → docs}/quic/QUIC-VALIDATION-REPORT.md +0 -0
  1139. /package/{agentic-flow/docs → docs}/quic/WASM-INTEGRATION-COMPLETE.md +0 -0
  1140. /package/{agentic-flow/docs → docs}/reasoningbank/MEMORY_VALIDATION_REPORT.md +0 -0
  1141. /package/{agentic-flow/docs → docs}/reasoningbank/README.md +0 -0
  1142. /package/{agentic-flow/docs → docs}/reasoningbank/REASONING-AGENTS.md +0 -0
  1143. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +0 -0
  1144. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-BENCHMARK.md +0 -0
  1145. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +0 -0
  1146. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-DEMO.md +0 -0
  1147. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-VALIDATION.md +0 -0
  1148. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_ARCHITECTURE.md +0 -0
  1149. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_BACKENDS.md +0 -0
  1150. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_FIXES.md +0 -0
  1151. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +0 -0
  1152. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +0 -0
  1153. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_INVESTIGATION.md +0 -0
  1154. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +0 -0
  1155. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +0 -0
  1156. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-v1.4.6.md +0 -0
  1157. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-v1.5.0.md +0 -0
  1158. /package/{agentic-flow/docs → docs}/releases/HOTFIX-v1.2.1.md +0 -0
  1159. /package/{agentic-flow/docs → docs}/releases/NPM-PUBLISH-GUIDE-v1.2.0.md +0 -0
  1160. /package/{agentic-flow/docs → docs}/releases/PUBLISH-COMPLETE-v1.2.0.md +0 -0
  1161. /package/{agentic-flow/docs → docs}/releases/README.md +0 -0
  1162. /package/{agentic-flow/docs → docs}/releases/RELEASE-v1.2.0.md +0 -0
  1163. /package/{agentic-flow/docs → docs}/releases/RELEASE-v1.8.13.md +0 -0
  1164. /package/{agentic-flow/docs → docs}/releases/v1.4.6-reasoningbank-release.md +0 -0
  1165. /package/{agentic-flow/docs → docs}/releases/v1.4.7-bugfix.md +0 -0
  1166. /package/{agentic-flow/docs → docs}/releases/v1.5.14-QUIC-TRANSPORT.md +0 -0
  1167. /package/{agentic-flow/docs → docs}/router/README.md +0 -0
  1168. /package/{agentic-flow/docs → docs}/router/ROUTER_CONFIG_REFERENCE.md +0 -0
  1169. /package/{agentic-flow/docs → docs}/router/ROUTER_USER_GUIDE.md +0 -0
  1170. /package/{agentic-flow/docs → docs}/router/TOP20_MODELS_MATRIX.md +0 -0
  1171. /package/{agentic-flow/docs → docs}/supabase/IMPLEMENTATION-SUMMARY.md +0 -0
  1172. /package/{agentic-flow/docs → docs}/supabase/INDEX.md +0 -0
  1173. /package/{agentic-flow/docs → docs}/supabase/QUICKSTART.md +0 -0
  1174. /package/{agentic-flow/docs → docs}/supabase/README.md +0 -0
  1175. /package/{agentic-flow/docs → docs}/supabase/SUPABASE-REALTIME-FEDERATION.md +0 -0
  1176. /package/{agentic-flow/docs → docs}/supabase/TEST-REPORT.md +0 -0
  1177. /package/{agentic-flow/docs → docs}/supabase/migrations/001_create_federation_tables.sql +0 -0
  1178. /package/{agentic-flow/docs → docs}/testing/AGENT-SYSTEM-VALIDATION.md +0 -0
  1179. /package/{agentic-flow/docs → docs}/testing/FINAL-TESTING-SUMMARY.md +0 -0
  1180. /package/{agentic-flow/docs → docs}/testing/README.md +0 -0
  1181. /package/{agentic-flow/docs → docs}/testing/REGRESSION-TEST-RESULTS.md +0 -0
  1182. /package/{agentic-flow/docs → docs}/testing/STREAMING-AND-MCP-VALIDATION.md +0 -0
  1183. /package/{agentic-flow/docs → docs}/v1.7.1-QUICK-START.md +0 -0
  1184. /package/{agentic-flow/docs → docs}/validation/README.md +0 -0
  1185. /package/{agentic-flow/docs → docs}/validation/reports/REGRESSION-TEST-V1.8.11.md +0 -0
  1186. /package/{agentic-flow/docs → docs}/validation-reports/BENCHMARK_AND_OPTIMIZATION_REPORT.md +0 -0
  1187. /package/{agentic-flow/docs → docs}/validation-reports/DOCKER_VALIDATION_RESULTS.md +0 -0
  1188. /package/{agentic-flow/docs → docs}/validation-reports/NO_REGRESSIONS_CONFIRMED.md +0 -0
  1189. /package/{agentic-flow/docs → docs}/validation-reports/NPM-PACKAGE-ANALYSIS-FINAL.md +0 -0
  1190. /package/{agentic-flow/docs → docs}/validation-reports/README.md +0 -0
  1191. /package/{agentic-flow/docs → docs}/validation-reports/V2.7.0-ALPHA.10_FINAL_VALIDATION.md +0 -0
  1192. /package/{agentic-flow/docs → docs}/validation-reports/V2.7.0-ALPHA.9_VALIDATION.md +0 -0
  1193. /package/{agentic-flow/docs → docs}/validation-reports/v1.6.0-QUIC-CLI-VALIDATION.md +0 -0
  1194. /package/{agentic-flow/docs → docs}/validation-reports/v1.6.1-NPM-PUBLISH-VALIDATION.md +0 -0
  1195. /package/{agentic-flow/docs → docs}/version-releases/PUBLICATION_REPORT_v1.5.11.md +0 -0
  1196. /package/{agentic-flow/docs → docs}/version-releases/README.md +0 -0
  1197. /package/{agentic-flow/docs → docs}/version-releases/v1.5.9-DOCKER-VERIFICATION.md +0 -0
  1198. /package/{agentic-flow/docs → docs}/version-releases/v1.5.9-RELEASE-SUMMARY.md +0 -0
  1199. /package/{agentic-flow/scripts → scripts}/build.sh +0 -0
  1200. /package/{agentic-flow/scripts → scripts}/claude-code +0 -0
  1201. /package/{agentic-flow/scripts → scripts}/claude-flow +0 -0
  1202. /package/{agentic-flow/scripts → scripts}/claude-flow.bat +0 -0
  1203. /package/{agentic-flow/scripts → scripts}/claude-flow.ps1 +0 -0
  1204. /package/{agentic-flow/scripts → scripts}/postinstall.js +0 -0
  1205. /package/{agentic-flow/scripts → scripts}/run-validation.sh +0 -0
  1206. /package/{agentic-flow/scripts → scripts}/test-agentdb.sh +0 -0
  1207. /package/{agentic-flow/scripts → scripts}/test-all-commands.sh +0 -0
  1208. /package/{agentic-flow/scripts → scripts}/test-claude-flow-sdk.sh +0 -0
  1209. /package/{agentic-flow/scripts → scripts}/test-fastmcp-docker.sh +0 -0
  1210. /package/{agentic-flow/scripts → scripts}/test-fastmcp-poc.sh +0 -0
  1211. /package/{agentic-flow/scripts → scripts}/test-functionality.sh +0 -0
  1212. /package/{agentic-flow/scripts → scripts}/test-onnx-docker.sh +0 -0
  1213. /package/{agentic-flow/scripts → scripts}/test-router-docker.sh +0 -0
  1214. /package/{agentic-flow/scripts → scripts}/validate-mcp-cli-tools.sh +0 -0
  1215. /package/{agentic-flow/scripts → scripts}/validate-providers.sh +0 -0
  1216. /package/{agentic-flow/wasm → wasm}/quic/README.md +0 -0
  1217. /package/{agentic-flow/wasm → wasm}/quic/agentic_flow_quic.js +0 -0
  1218. /package/{agentic-flow/wasm → wasm}/quic/agentic_flow_quic_bg.wasm +0 -0
  1219. /package/{agentic-flow/wasm → wasm}/quic/package.json +0 -0
  1220. /package/{agentic-flow/wasm → wasm}/reasoningbank/package.json +0 -0
  1221. /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm.js +0 -0
  1222. /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm_bg.js +0 -0
  1223. /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm_bg.wasm +0 -0
@@ -1,2017 +0,0 @@
1
- # MCP Authentication & Setup Guide
2
-
3
- **Complete authentication guide for all MCP servers**
4
-
5
- Version: 2.0.0 | Last Updated: 2025-10-22
6
-
7
- ---
8
-
9
- ## Table of Contents
10
-
11
- 1. [Overview](#overview)
12
- 2. [Authentication Matrix](#authentication-matrix)
13
- 3. [AgentDB Setup](#agentdb-setup)
14
- 4. [Claude Flow Setup](#claude-flow-setup)
15
- 5. [Flow Nexus Authentication](#flow-nexus-authentication)
16
- 6. [Agentic Payments Authentication](#agentic-payments-authentication)
17
- 7. [Environment Configuration](#environment-configuration)
18
- 8. [MCP Server Registration](#mcp-server-registration)
19
- 9. [Verification & Testing](#verification--testing)
20
- 10. [Security Best Practices](#security-best-practices)
21
- 11. [Troubleshooting Authentication Errors](#troubleshooting-authentication-errors)
22
-
23
- ---
24
-
25
- ## Overview
26
-
27
- MCP (Model Context Protocol) servers provide 233+ tools for AI agent orchestration. Each server has different authentication requirements:
28
-
29
- | Server | Auth Required | Auth Type | Setup Time |
30
- |--------|---------------|-----------|------------|
31
- | **AgentDB** | ❌ No | Local database | < 1 minute |
32
- | **Claude Flow** | ❌ No | Local orchestration | < 1 minute |
33
- | **Flow Nexus** | ✅ Yes | Email/password registration | 2-3 minutes |
34
- | **Agentic Payments** | ✅ Yes | Ed25519 keypair | < 1 minute |
35
-
36
- **Total Setup Time:** 5-7 minutes for all servers
37
-
38
- ---
39
-
40
- ## Authentication Matrix
41
-
42
- ### Quick Reference
43
-
44
- ```
45
- ┌─────────────────┬─────────────┬──────────────┬─────────────────────┐
46
- │ Server │ Auth Needed │ Storage │ Key Management │
47
- ├─────────────────┼─────────────┼──────────────┼─────────────────────┤
48
- │ AgentDB │ No │ Local SQLite │ None │
49
- │ Claude Flow │ No │ Local │ None │
50
- │ Flow Nexus │ Yes │ Cloud │ Session token │
51
- │ Agentic Payments│ Yes │ None │ Ed25519 private key │
52
- └─────────────────┴─────────────┴──────────────┴─────────────────────┘
53
- ```
54
-
55
- ### Authentication Flow
56
-
57
- ```mermaid
58
- graph TD
59
- A[Start] --> B{Need AgentDB?}
60
- B -->|Yes| C[Install AgentDB - No Auth]
61
- B -->|No| D{Need Claude Flow?}
62
- C --> D
63
- D -->|Yes| E[Install Claude Flow - No Auth]
64
- D -->|No| F{Need Flow Nexus?}
65
- E --> F
66
- F -->|Yes| G[Register & Login Flow Nexus]
67
- F -->|No| H{Need Agentic Payments?}
68
- G --> H
69
- H -->|Yes| I[Generate Ed25519 Keypair]
70
- H -->|No| J[All Set!]
71
- I --> J
72
- ```
73
-
74
- ---
75
-
76
- ## AgentDB Setup
77
-
78
- AgentDB provides state-of-the-art agent memory with no authentication required.
79
-
80
- ### Features
81
- - **20+ memory tools**
82
- - **Causal Memory Graph** - Track cause-effect relationships
83
- - **Explainable Recall** - Certificate-based explanations
84
- - **Reflexion Memory** - Self-critique and improvement
85
- - **Skill Library** - Reusable agent patterns
86
- - **Nightly Learner** - Pattern discovery
87
-
88
- ### Installation
89
-
90
- ```bash
91
- # Install AgentDB MCP server
92
- claude mcp add agentdb npx agentdb mcp
93
-
94
- # Verify installation
95
- claude mcp list
96
- ```
97
-
98
- ### Configuration
99
-
100
- No authentication required. AgentDB stores data locally in SQLite.
101
-
102
- **Default Database Location:**
103
- ```
104
- /workspaces/agentic-flow/.swarm/memory.db
105
- ```
106
-
107
- ### Environment Variables (Optional)
108
-
109
- ```bash
110
- # Custom database path
111
- AGENTDB_PATH=/path/to/custom/memory.db
112
-
113
- # Enable debug logging
114
- AGENTDB_DEBUG=true
115
-
116
- # Set default vector dimensions
117
- AGENTDB_VECTOR_DIM=1536
118
- ```
119
-
120
- ### Example Usage
121
-
122
- ```javascript
123
- // No authentication needed - works immediately
124
- mcp__agentdb__causal_add_edge({
125
- cause: "user_request",
126
- effect: "api_call",
127
- strength: 0.9,
128
- metadata: {
129
- timestamp: new Date().toISOString()
130
- }
131
- });
132
-
133
- // Query causal relationships
134
- const results = mcp__agentdb__causal_query({
135
- node_id: "api_call",
136
- direction: "incoming",
137
- limit: 10
138
- });
139
- ```
140
-
141
- ### Verification
142
-
143
- ```bash
144
- # Test AgentDB connectivity
145
- npx agentdb test
146
-
147
- # Check database status
148
- npx agentdb status
149
-
150
- # View memory statistics
151
- npx agentdb stats
152
- ```
153
-
154
- ---
155
-
156
- ## Claude Flow Setup
157
-
158
- Claude Flow provides local orchestration with 101 tools and no authentication.
159
-
160
- ### Features
161
- - **Swarm orchestration** - Multi-agent coordination
162
- - **Memory management** - Persistent agent memory
163
- - **Neural networks** - WASM-accelerated AI
164
- - **GitHub integration** - Repository automation
165
- - **Performance monitoring** - Real-time metrics
166
-
167
- ### Installation
168
-
169
- ```bash
170
- # Install Claude Flow MCP server
171
- claude mcp add claude-flow npx claude-flow@alpha mcp start
172
-
173
- # Verify installation
174
- claude mcp list
175
- ```
176
-
177
- ### Configuration
178
-
179
- No authentication required. All operations run locally.
180
-
181
- ### Environment Variables (Optional)
182
-
183
- ```bash
184
- # Enable hooks for automation
185
- CLAUDE_FLOW_HOOKS_ENABLED=true
186
-
187
- # Custom memory path
188
- CLAUDE_FLOW_MEMORY_PATH=/path/to/memory
189
-
190
- # Enable neural features
191
- CLAUDE_FLOW_NEURAL_ENABLED=true
192
-
193
- # Set swarm defaults
194
- CLAUDE_FLOW_MAX_AGENTS=10
195
- CLAUDE_FLOW_DEFAULT_TOPOLOGY=mesh
196
- ```
197
-
198
- ### Example Usage
199
-
200
- ```javascript
201
- // No authentication needed
202
- mcp__claude-flow__swarm_init({
203
- topology: 'mesh',
204
- maxAgents: 8,
205
- strategy: 'balanced'
206
- });
207
-
208
- // Spawn agents
209
- mcp__claude-flow__agent_spawn({
210
- type: 'coder',
211
- name: 'backend-agent',
212
- capabilities: ['nodejs', 'express', 'postgres']
213
- });
214
-
215
- // Store memory
216
- mcp__claude-flow__memory_usage({
217
- action: 'store',
218
- key: 'swarm/config',
219
- namespace: 'default',
220
- value: JSON.stringify({ initialized: true })
221
- });
222
- ```
223
-
224
- ### Verification
225
-
226
- ```bash
227
- # Test Claude Flow connectivity
228
- npx claude-flow@alpha test
229
-
230
- # Check swarm status
231
- npx claude-flow@alpha swarm status
232
-
233
- # View hooks configuration
234
- npx claude-flow@alpha hooks list
235
- ```
236
-
237
- ---
238
-
239
- ## Flow Nexus Authentication
240
-
241
- Flow Nexus requires registration for cloud-based features (96 tools).
242
-
243
- ### Features
244
- - **E2B Sandboxes** - Isolated code execution
245
- - **Cloud workflows** - Event-driven automation
246
- - **Template marketplace** - Pre-built solutions
247
- - **Neural training** - Distributed AI
248
- - **Real-time streaming** - Live execution monitoring
249
- - **Storage & databases** - Cloud persistence
250
-
251
- ### Registration Process
252
-
253
- #### Method 1: CLI Registration (Recommended)
254
-
255
- ```bash
256
- # Register new account
257
- npx flow-nexus@latest register
258
-
259
- # Follow prompts:
260
- # Email: your-email@example.com
261
- # Password: [secure-password]
262
- # Full Name: Your Name (optional)
263
- ```
264
-
265
- #### Method 2: MCP Tool Registration
266
-
267
- ```javascript
268
- // Register via MCP tool
269
- mcp__flow-nexus__user_register({
270
- email: 'your-email@example.com',
271
- password: 'YourSecureP@ssw0rd!',
272
- full_name: 'Your Name' // Optional
273
- });
274
-
275
- // Response:
276
- // {
277
- // success: true,
278
- // message: 'Registration successful. Please verify your email.',
279
- // user_id: 'usr_abc123def456'
280
- // }
281
- ```
282
-
283
- #### Email Verification
284
-
285
- ```bash
286
- # Check your email for verification link
287
- # Or use verification token:
288
- npx flow-nexus@latest verify-email --token YOUR_TOKEN
289
- ```
290
-
291
- ```javascript
292
- // Via MCP tool
293
- mcp__flow-nexus__user_verify_email({
294
- token: 'verify_token_from_email'
295
- });
296
- ```
297
-
298
- ### Login Process
299
-
300
- #### Method 1: CLI Login
301
-
302
- ```bash
303
- # Login to existing account
304
- npx flow-nexus@latest login
305
-
306
- # Follow prompts:
307
- # Email: your-email@example.com
308
- # Password: [your-password]
309
- ```
310
-
311
- #### Method 2: MCP Tool Login
312
-
313
- ```javascript
314
- // Login via MCP tool
315
- mcp__flow-nexus__user_login({
316
- email: 'your-email@example.com',
317
- password: 'YourSecureP@ssw0rd!'
318
- });
319
-
320
- // Response:
321
- // {
322
- // success: true,
323
- // session_token: 'sess_abc123def456',
324
- // user_id: 'usr_abc123def456',
325
- // tier: 'free',
326
- // expires_at: '2025-10-23T14:00:00Z'
327
- // }
328
- ```
329
-
330
- ### Session Management
331
-
332
- ```javascript
333
- // Check authentication status
334
- mcp__flow-nexus__auth_status({
335
- detailed: true
336
- });
337
-
338
- // Response:
339
- // {
340
- // authenticated: true,
341
- // user_id: 'usr_abc123def456',
342
- // email: 'your-email@example.com',
343
- // tier: 'free',
344
- // credits_remaining: 100,
345
- // session_expires: '2025-10-23T14:00:00Z'
346
- // }
347
-
348
- // Logout
349
- mcp__flow-nexus__user_logout();
350
- ```
351
-
352
- ### MCP Server Registration with Auth
353
-
354
- ```bash
355
- # Add Flow Nexus MCP server
356
- claude mcp add flow-nexus npx flow-nexus@latest mcp start
357
-
358
- # Server automatically uses cached session token
359
- ```
360
-
361
- ### Password Reset
362
-
363
- ```bash
364
- # Request password reset
365
- npx flow-nexus@latest reset-password --email your-email@example.com
366
- ```
367
-
368
- ```javascript
369
- // Via MCP tool
370
- mcp__flow-nexus__user_reset_password({
371
- email: 'your-email@example.com'
372
- });
373
-
374
- // Check email for reset token, then:
375
- mcp__flow-nexus__user_update_password({
376
- token: 'reset_token_from_email',
377
- new_password: 'NewSecureP@ssw0rd!'
378
- });
379
- ```
380
-
381
- ### Example Usage (After Authentication)
382
-
383
- ```javascript
384
- // Create sandbox (requires authentication)
385
- const sandbox = mcp__flow-nexus__sandbox_create({
386
- template: 'node',
387
- name: 'my-sandbox',
388
- env_vars: {
389
- NODE_ENV: 'development'
390
- }
391
- });
392
-
393
- // Execute code in sandbox
394
- mcp__flow-nexus__sandbox_execute({
395
- sandbox_id: sandbox.data.sandbox_id,
396
- code: 'console.log("Hello from sandbox!");'
397
- });
398
-
399
- // Create workflow
400
- mcp__flow-nexus__workflow_create({
401
- name: 'data-pipeline',
402
- steps: [
403
- { action: 'fetch-data', agent: 'researcher' },
404
- { action: 'process-data', agent: 'analyst' },
405
- { action: 'store-results', agent: 'coordinator' }
406
- ]
407
- });
408
- ```
409
-
410
- ### Tier Upgrades
411
-
412
- ```javascript
413
- // Check current tier
414
- mcp__flow-nexus__user_profile({
415
- user_id: 'usr_abc123def456'
416
- });
417
-
418
- // Upgrade to Pro tier
419
- mcp__flow-nexus__user_upgrade({
420
- user_id: 'usr_abc123def456',
421
- tier: 'pro' // Options: 'pro', 'enterprise'
422
- });
423
- ```
424
-
425
- ### Verification
426
-
427
- ```bash
428
- # Test Flow Nexus authentication
429
- npx flow-nexus@latest test-auth
430
-
431
- # Check balance
432
- npx flow-nexus@latest balance
433
-
434
- # View profile
435
- npx flow-nexus@latest profile
436
- ```
437
-
438
- ---
439
-
440
- ## Agentic Payments Authentication
441
-
442
- Agentic Payments uses Ed25519 cryptographic keypairs for autonomous agent payment authorization.
443
-
444
- ### Features
445
- - **Active Mandates** - Time-limited payment authorization
446
- - **Intent-based payments** - High-level purchase approval
447
- - **Cart-based payments** - Specific item approval
448
- - **Multi-agent consensus** - Byzantine fault-tolerant verification
449
- - **Revocation** - Cancel mandates anytime
450
-
451
- ### Keypair Generation
452
-
453
- #### Method 1: MCP Tool (Recommended for Production)
454
-
455
- ```javascript
456
- // Generate agent identity with Ed25519 keypair
457
- const identity = mcp__agentic-payments__generate_agent_identity({
458
- include_private_key: true // ⚠️ SECURE STORAGE REQUIRED
459
- });
460
-
461
- // Response:
462
- // {
463
- // success: true,
464
- // agent_id: 'agent_abc123def456',
465
- // public_key: 'ed25519_public_key_base64_encoded',
466
- // private_key: 'ed25519_private_key_base64_encoded', // Store securely!
467
- // created_at: '2025-10-22T14:00:00Z'
468
- // }
469
- ```
470
-
471
- #### Method 2: CLI Generation
472
-
473
- ```bash
474
- # Generate keypair via CLI
475
- npx agentic-payments generate-keypair --output ./keypair.json
476
-
477
- # Output file structure:
478
- # {
479
- # "agent_id": "agent_abc123def456",
480
- # "public_key": "ed25519_public_key_base64",
481
- # "private_key": "ed25519_private_key_base64"
482
- # }
483
- ```
484
-
485
- ### Secure Key Storage
486
-
487
- **❌ NEVER DO THIS:**
488
- ```javascript
489
- // NEVER hardcode private keys
490
- const PRIVATE_KEY = 'ed25519_private_key_base64'; // INSECURE!
491
-
492
- // NEVER commit keys to git
493
- // NEVER log private keys
494
- console.log(identity.private_key); // INSECURE!
495
- ```
496
-
497
- **✅ SECURE STORAGE OPTIONS:**
498
-
499
- #### Option 1: Environment Variables (Development)
500
-
501
- ```bash
502
- # Store in .env file (add .env to .gitignore)
503
- AGENTIC_PAYMENTS_AGENT_ID=agent_abc123def456
504
- AGENTIC_PAYMENTS_PUBLIC_KEY=ed25519_public_key_base64
505
- AGENTIC_PAYMENTS_PRIVATE_KEY=ed25519_private_key_base64
506
- ```
507
-
508
- ```javascript
509
- // Load from environment
510
- const AGENT_ID = process.env.AGENTIC_PAYMENTS_AGENT_ID;
511
- const PRIVATE_KEY = process.env.AGENTIC_PAYMENTS_PRIVATE_KEY;
512
- const PUBLIC_KEY = process.env.AGENTIC_PAYMENTS_PUBLIC_KEY;
513
- ```
514
-
515
- #### Option 2: Encrypted Key Store (Production)
516
-
517
- ```javascript
518
- import { encrypt, decrypt } from './encryption';
519
-
520
- // Encrypt private key with user password
521
- const encryptedKey = encrypt(identity.private_key, userPassword);
522
-
523
- // Store encrypted key in database
524
- await db.store('agent_private_keys', {
525
- agent_id: identity.agent_id,
526
- encrypted_private_key: encryptedKey,
527
- public_key: identity.public_key
528
- });
529
-
530
- // Decrypt when needed
531
- const privateKey = decrypt(encryptedKey, userPassword);
532
- ```
533
-
534
- #### Option 3: Hardware Security Module (Enterprise)
535
-
536
- ```javascript
537
- // Use HSM for key storage (recommended for production)
538
- import { HSM } from './hsm-provider';
539
-
540
- const hsm = new HSM({
541
- endpoint: process.env.HSM_ENDPOINT,
542
- credentials: process.env.HSM_CREDENTIALS
543
- });
544
-
545
- // Store key in HSM
546
- await hsm.storeKey(identity.private_key, 'agent_payment_key');
547
-
548
- // Sign mandates using HSM (key never leaves secure hardware)
549
- const signature = await hsm.sign('agent_payment_key', mandateData);
550
- ```
551
-
552
- ### Creating Payment Mandates
553
-
554
- ```javascript
555
- // 1. Create Active Mandate
556
- const mandate = mcp__agentic-payments__create_active_mandate({
557
- agent: 'shopping-bot@agentics',
558
- holder: PUBLIC_KEY, // Your agent's public key
559
- amount: 12000, // $120.00 in cents
560
- currency: 'USD',
561
- period: 'monthly',
562
- kind: 'intent',
563
- expires_at: '2025-11-22T00:00:00Z',
564
- merchant_allow: ['amazon.com', 'ebay.com'],
565
- merchant_block: ['gambling-site.com']
566
- });
567
-
568
- // 2. Sign mandate with private key
569
- const signedMandate = mcp__agentic-payments__sign_mandate({
570
- mandate: mandate.data,
571
- private_key: PRIVATE_KEY // From secure storage
572
- });
573
-
574
- // 3. Verify signature (optional)
575
- const verification = mcp__agentic-payments__verify_mandate({
576
- signed_mandate: signedMandate.data,
577
- check_guards: true // Check expiration, revocation
578
- });
579
- ```
580
-
581
- ### Intent-Based Payments
582
-
583
- ```javascript
584
- // High-level purchase authorization
585
- const intentMandate = mcp__agentic-payments__create_intent_mandate({
586
- merchant_id: 'merchant_abc123',
587
- customer_id: 'customer_def456',
588
- intent: 'Purchase laptop for development work',
589
- max_amount: 2000, // $2000 maximum
590
- currency: 'USD',
591
- expires_at: Math.floor(Date.now() / 1000) + 86400 // 24 hours
592
- });
593
- ```
594
-
595
- ### Cart-Based Payments
596
-
597
- ```javascript
598
- // Specific item approval
599
- const cartMandate = mcp__agentic-payments__create_cart_mandate({
600
- merchant_id: 'merchant_abc123',
601
- customer_id: 'customer_def456',
602
- items: [
603
- { id: 'item_1', name: 'Laptop', quantity: 1, unit_price: 150000 },
604
- { id: 'item_2', name: 'Mouse', quantity: 2, unit_price: 2500 }
605
- ],
606
- currency: 'USD'
607
- });
608
- ```
609
-
610
- ### Mandate Revocation
611
-
612
- ```javascript
613
- // Revoke a mandate
614
- mcp__agentic-payments__revoke_mandate({
615
- mandate_id: 'mandate_abc123def456',
616
- reason: 'User requested cancellation'
617
- });
618
-
619
- // List all revoked mandates
620
- const revocations = mcp__agentic-payments__list_revocations();
621
- ```
622
-
623
- ### Multi-Agent Consensus
624
-
625
- ```javascript
626
- // Verify payment with Byzantine fault-tolerant consensus
627
- const consensus = mcp__agentic-payments__verify_consensus({
628
- message: 'payment_request_data_base64',
629
- signature: 'signature_base64',
630
- public_key: 'agent_public_key_base64',
631
- agent_public_keys: [
632
- 'agent1_public_key',
633
- 'agent2_public_key',
634
- 'agent3_public_key',
635
- 'agent4_public_key'
636
- ],
637
- consensus_threshold: 0.67 // 67% agreement required
638
- });
639
- ```
640
-
641
- ### Example Workflow
642
-
643
- ```javascript
644
- // Complete payment authorization workflow
645
- async function authorizeAgentPayment() {
646
- // 1. Generate agent identity (one-time)
647
- const identity = mcp__agentic-payments__generate_agent_identity({
648
- include_private_key: true
649
- });
650
-
651
- // 2. Store keys securely
652
- await storeKeys(identity);
653
-
654
- // 3. Create mandate
655
- const mandate = mcp__agentic-payments__create_active_mandate({
656
- agent: 'shopping-bot@agentics',
657
- holder: identity.public_key,
658
- amount: 10000, // $100
659
- currency: 'USD',
660
- period: 'single',
661
- kind: 'intent',
662
- expires_at: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000).toISOString()
663
- });
664
-
665
- // 4. Sign mandate
666
- const signed = mcp__agentic-payments__sign_mandate({
667
- mandate: mandate.data,
668
- private_key: identity.private_key
669
- });
670
-
671
- // 5. Verify before use
672
- const verified = mcp__agentic-payments__verify_mandate({
673
- signed_mandate: signed.data,
674
- check_guards: true
675
- });
676
-
677
- if (verified.success && verified.data.valid) {
678
- console.log('Payment authorization ready:', signed.data.mandate_id);
679
- return signed.data;
680
- } else {
681
- throw new Error('Mandate verification failed');
682
- }
683
- }
684
- ```
685
-
686
- ### Verification
687
-
688
- ```bash
689
- # Test keypair generation
690
- npx agentic-payments test-keypair
691
-
692
- # Verify signature
693
- npx agentic-payments verify-signature \
694
- --message "test message" \
695
- --signature "signature_base64" \
696
- --public-key "public_key_base64"
697
- ```
698
-
699
- ---
700
-
701
- ## Environment Configuration
702
-
703
- ### Complete .env File Template
704
-
705
- ```bash
706
- # ============================================
707
- # MCP Authentication Configuration
708
- # ============================================
709
-
710
- # -----------------
711
- # AgentDB (No Auth)
712
- # -----------------
713
- AGENTDB_PATH=/workspaces/agentic-flow/.swarm/memory.db
714
- AGENTDB_DEBUG=false
715
- AGENTDB_VECTOR_DIM=1536
716
-
717
- # ---------------------
718
- # Claude Flow (No Auth)
719
- # ---------------------
720
- CLAUDE_FLOW_HOOKS_ENABLED=true
721
- CLAUDE_FLOW_MEMORY_PATH=/workspaces/agentic-flow/.swarm
722
- CLAUDE_FLOW_NEURAL_ENABLED=true
723
- CLAUDE_FLOW_MAX_AGENTS=10
724
- CLAUDE_FLOW_DEFAULT_TOPOLOGY=mesh
725
-
726
- # --------------------------
727
- # Flow Nexus (Auth Required)
728
- # --------------------------
729
- # Register at: npx flow-nexus@latest register
730
- FLOW_NEXUS_EMAIL=your-email@example.com
731
- FLOW_NEXUS_SESSION_TOKEN=sess_abc123def456 # Auto-populated after login
732
- FLOW_NEXUS_USER_ID=usr_abc123def456 # Auto-populated after login
733
-
734
- # --------------------------------------
735
- # Agentic Payments (Keypair Required)
736
- # --------------------------------------
737
- # Generate with: mcp__agentic-payments__generate_agent_identity()
738
- AGENTIC_PAYMENTS_AGENT_ID=agent_abc123def456
739
- AGENTIC_PAYMENTS_PUBLIC_KEY=ed25519_public_key_base64_encoded
740
- AGENTIC_PAYMENTS_PRIVATE_KEY=ed25519_private_key_base64_encoded # SECURE!
741
-
742
- # -----------------
743
- # Security Settings
744
- # -----------------
745
- # Encryption key for local key storage (generate with: openssl rand -hex 32)
746
- ENCRYPTION_KEY=your_32_byte_hex_encryption_key_here
747
-
748
- # Session timeout (in seconds)
749
- SESSION_TIMEOUT=3600
750
-
751
- # Enable debug logging (NEVER in production)
752
- MCP_DEBUG=false
753
- ```
754
-
755
- ### .env.example Template
756
-
757
- ```bash
758
- # Copy this to .env and fill in your values
759
- # NEVER commit .env to git!
760
-
761
- # AgentDB
762
- AGENTDB_PATH=.swarm/memory.db
763
-
764
- # Claude Flow
765
- CLAUDE_FLOW_HOOKS_ENABLED=true
766
-
767
- # Flow Nexus (register first)
768
- FLOW_NEXUS_EMAIL=your-email@example.com
769
-
770
- # Agentic Payments (generate keypair first)
771
- AGENTIC_PAYMENTS_AGENT_ID=
772
- AGENTIC_PAYMENTS_PUBLIC_KEY=
773
- AGENTIC_PAYMENTS_PRIVATE_KEY= # SECURE STORAGE REQUIRED
774
-
775
- # Security
776
- ENCRYPTION_KEY= # Generate with: openssl rand -hex 32
777
- ```
778
-
779
- ### .gitignore Configuration
780
-
781
- ```bash
782
- # Add to .gitignore to prevent committing secrets
783
- .env
784
- .env.local
785
- .env.*.local
786
- *.key
787
- *.pem
788
- keypair.json
789
- *-private-key.txt
790
- .swarm/*.db
791
- .swarm/*.db-journal
792
- ```
793
-
794
- ### Loading Environment Variables
795
-
796
- ```javascript
797
- // Load environment variables
798
- import dotenv from 'dotenv';
799
- dotenv.config();
800
-
801
- // Validate required variables
802
- function validateEnvironment() {
803
- const required = [
804
- // Flow Nexus (if using)
805
- 'FLOW_NEXUS_EMAIL',
806
-
807
- // Agentic Payments (if using)
808
- 'AGENTIC_PAYMENTS_AGENT_ID',
809
- 'AGENTIC_PAYMENTS_PUBLIC_KEY',
810
- 'AGENTIC_PAYMENTS_PRIVATE_KEY'
811
- ];
812
-
813
- const missing = required.filter(key => !process.env[key]);
814
-
815
- if (missing.length > 0) {
816
- console.error('Missing environment variables:', missing);
817
- process.exit(1);
818
- }
819
- }
820
-
821
- // Call on startup
822
- validateEnvironment();
823
- ```
824
-
825
- ---
826
-
827
- ## MCP Server Registration
828
-
829
- ### Complete Registration Workflow
830
-
831
- #### Step 1: Install MCP Servers
832
-
833
- ```bash
834
- # Install all MCP servers at once
835
- claude mcp add agentdb npx agentdb mcp && \
836
- claude mcp add claude-flow npx claude-flow@alpha mcp start && \
837
- claude mcp add flow-nexus npx flow-nexus@latest mcp start
838
-
839
- # Or install individually as needed
840
- ```
841
-
842
- #### Step 2: Verify Installation
843
-
844
- ```bash
845
- # List all installed MCP servers
846
- claude mcp list
847
-
848
- # Expected output:
849
- # ┌──────────────┬────────────────────────────────────┬────────┐
850
- # │ Name │ Command │ Status │
851
- # ├──────────────┼────────────────────────────────────┼────────┤
852
- # │ agentdb │ npx agentdb mcp │ Active │
853
- # │ claude-flow │ npx claude-flow@alpha mcp start │ Active │
854
- # │ flow-nexus │ npx flow-nexus@latest mcp start │ Active │
855
- # └──────────────┴────────────────────────────────────┴────────┘
856
- ```
857
-
858
- #### Step 3: Test Connectivity
859
-
860
- ```bash
861
- # Test each server
862
- npx agentdb test
863
- npx claude-flow@alpha test
864
- npx flow-nexus@latest test-auth # Requires login
865
- ```
866
-
867
- #### Step 4: Claude Code Configuration
868
-
869
- Claude Code automatically discovers MCP servers. Verify in Claude Code:
870
-
871
- ```javascript
872
- // Test each server with a simple operation
873
- mcp__agentdb__test(); // Should return success
874
- mcp__claude-flow__swarm_status(); // Should return empty swarm list
875
- mcp__flow-nexus__auth_status(); // Should show auth status
876
- ```
877
-
878
- ### Server Management
879
-
880
- ```bash
881
- # View server logs
882
- claude mcp logs agentdb
883
- claude mcp logs claude-flow
884
- claude mcp logs flow-nexus
885
-
886
- # Restart a server
887
- claude mcp restart flow-nexus
888
-
889
- # Remove a server
890
- claude mcp remove flow-nexus
891
-
892
- # Update server version
893
- claude mcp update claude-flow
894
- ```
895
-
896
- ### Custom MCP Configuration
897
-
898
- Create `.claude-mcp.json` in your project root:
899
-
900
- ```json
901
- {
902
- "mcpServers": {
903
- "agentdb": {
904
- "command": "npx",
905
- "args": ["agentdb", "mcp"],
906
- "env": {
907
- "AGENTDB_PATH": ".swarm/memory.db",
908
- "AGENTDB_DEBUG": "false"
909
- }
910
- },
911
- "claude-flow": {
912
- "command": "npx",
913
- "args": ["claude-flow@alpha", "mcp", "start"],
914
- "env": {
915
- "CLAUDE_FLOW_HOOKS_ENABLED": "true",
916
- "CLAUDE_FLOW_MAX_AGENTS": "10"
917
- }
918
- },
919
- "flow-nexus": {
920
- "command": "npx",
921
- "args": ["flow-nexus@latest", "mcp", "start"],
922
- "env": {
923
- "FLOW_NEXUS_EMAIL": "${FLOW_NEXUS_EMAIL}",
924
- "FLOW_NEXUS_SESSION_TOKEN": "${FLOW_NEXUS_SESSION_TOKEN}"
925
- }
926
- }
927
- }
928
- }
929
- ```
930
-
931
- ---
932
-
933
- ## Verification & Testing
934
-
935
- ### Complete Test Suite
936
-
937
- ```bash
938
- # Create test script
939
- cat > test-mcp-auth.sh << 'EOF'
940
- #!/bin/bash
941
-
942
- echo "🔧 Testing MCP Server Authentication"
943
- echo "======================================"
944
- echo ""
945
-
946
- # 1. AgentDB (No Auth)
947
- echo "1️⃣ Testing AgentDB..."
948
- npx agentdb test
949
- if [ $? -eq 0 ]; then
950
- echo "✅ AgentDB: PASSED (no auth required)"
951
- else
952
- echo "❌ AgentDB: FAILED"
953
- fi
954
- echo ""
955
-
956
- # 2. Claude Flow (No Auth)
957
- echo "2️⃣ Testing Claude Flow..."
958
- npx claude-flow@alpha test
959
- if [ $? -eq 0 ]; then
960
- echo "✅ Claude Flow: PASSED (no auth required)"
961
- else
962
- echo "❌ Claude Flow: FAILED"
963
- fi
964
- echo ""
965
-
966
- # 3. Flow Nexus (Auth Required)
967
- echo "3️⃣ Testing Flow Nexus..."
968
- npx flow-nexus@latest test-auth
969
- if [ $? -eq 0 ]; then
970
- echo "✅ Flow Nexus: PASSED (authenticated)"
971
- else
972
- echo "❌ Flow Nexus: FAILED (login required)"
973
- echo " Run: npx flow-nexus@latest login"
974
- fi
975
- echo ""
976
-
977
- # 4. Agentic Payments (Keypair Required)
978
- echo "4️⃣ Testing Agentic Payments..."
979
- if [ -n "$AGENTIC_PAYMENTS_PUBLIC_KEY" ]; then
980
- echo "✅ Agentic Payments: Keypair configured"
981
- else
982
- echo "⚠️ Agentic Payments: Keypair not configured"
983
- echo " Generate with: mcp__agentic-payments__generate_agent_identity()"
984
- fi
985
- echo ""
986
-
987
- echo "======================================"
988
- echo "✅ Test Complete"
989
- EOF
990
-
991
- chmod +x test-mcp-auth.sh
992
- ./test-mcp-auth.sh
993
- ```
994
-
995
- ### Individual Server Tests
996
-
997
- #### AgentDB Test
998
-
999
- ```javascript
1000
- // Test causal memory
1001
- const testAgentDB = async () => {
1002
- try {
1003
- // Add causal edge
1004
- await mcp__agentdb__causal_add_edge({
1005
- cause: 'test_event_1',
1006
- effect: 'test_event_2',
1007
- strength: 0.8
1008
- });
1009
-
1010
- // Query relationships
1011
- const results = await mcp__agentdb__causal_query({
1012
- node_id: 'test_event_2',
1013
- direction: 'incoming'
1014
- });
1015
-
1016
- console.log('✅ AgentDB: Connected and working');
1017
- return true;
1018
- } catch (error) {
1019
- console.error('❌ AgentDB: Failed', error);
1020
- return false;
1021
- }
1022
- };
1023
- ```
1024
-
1025
- #### Claude Flow Test
1026
-
1027
- ```javascript
1028
- // Test swarm orchestration
1029
- const testClaudeFlow = async () => {
1030
- try {
1031
- // Initialize swarm
1032
- const swarm = await mcp__claude-flow__swarm_init({
1033
- topology: 'mesh',
1034
- maxAgents: 5
1035
- });
1036
-
1037
- // Check status
1038
- const status = await mcp__claude-flow__swarm_status();
1039
-
1040
- console.log('✅ Claude Flow: Connected and working');
1041
- return true;
1042
- } catch (error) {
1043
- console.error('❌ Claude Flow: Failed', error);
1044
- return false;
1045
- }
1046
- };
1047
- ```
1048
-
1049
- #### Flow Nexus Test
1050
-
1051
- ```javascript
1052
- // Test cloud services
1053
- const testFlowNexus = async () => {
1054
- try {
1055
- // Check auth status
1056
- const auth = await mcp__flow-nexus__auth_status({
1057
- detailed: true
1058
- });
1059
-
1060
- if (!auth.authenticated) {
1061
- console.error('❌ Flow Nexus: Not authenticated');
1062
- console.log(' Run: npx flow-nexus@latest login');
1063
- return false;
1064
- }
1065
-
1066
- // Test sandbox creation
1067
- const sandbox = await mcp__flow-nexus__sandbox_create({
1068
- template: 'node',
1069
- name: 'test-sandbox'
1070
- });
1071
-
1072
- // Clean up
1073
- await mcp__flow-nexus__sandbox_delete({
1074
- sandbox_id: sandbox.data.sandbox_id
1075
- });
1076
-
1077
- console.log('✅ Flow Nexus: Connected and authenticated');
1078
- return true;
1079
- } catch (error) {
1080
- console.error('❌ Flow Nexus: Failed', error);
1081
- return false;
1082
- }
1083
- };
1084
- ```
1085
-
1086
- #### Agentic Payments Test
1087
-
1088
- ```javascript
1089
- // Test payment authorization
1090
- const testAgenticPayments = async () => {
1091
- try {
1092
- // Generate test keypair
1093
- const identity = await mcp__agentic-payments__generate_agent_identity({
1094
- include_private_key: true
1095
- });
1096
-
1097
- // Create test mandate
1098
- const mandate = await mcp__agentic-payments__create_active_mandate({
1099
- agent: 'test-agent@test',
1100
- holder: identity.public_key,
1101
- amount: 1000,
1102
- currency: 'USD',
1103
- period: 'single',
1104
- kind: 'intent',
1105
- expires_at: new Date(Date.now() + 86400000).toISOString()
1106
- });
1107
-
1108
- // Sign mandate
1109
- const signed = await mcp__agentic-payments__sign_mandate({
1110
- mandate: mandate.data,
1111
- private_key: identity.private_key
1112
- });
1113
-
1114
- // Verify signature
1115
- const verified = await mcp__agentic-payments__verify_mandate({
1116
- signed_mandate: signed.data
1117
- });
1118
-
1119
- if (verified.data.valid) {
1120
- console.log('✅ Agentic Payments: Connected and working');
1121
- return true;
1122
- } else {
1123
- console.error('❌ Agentic Payments: Signature verification failed');
1124
- return false;
1125
- }
1126
- } catch (error) {
1127
- console.error('❌ Agentic Payments: Failed', error);
1128
- return false;
1129
- }
1130
- };
1131
- ```
1132
-
1133
- ### Comprehensive Test
1134
-
1135
- ```javascript
1136
- // Run all tests
1137
- async function runAllTests() {
1138
- console.log('🔧 Testing MCP Server Authentication');
1139
- console.log('======================================\n');
1140
-
1141
- const results = {
1142
- agentdb: await testAgentDB(),
1143
- claudeFlow: await testClaudeFlow(),
1144
- flowNexus: await testFlowNexus(),
1145
- agenticPayments: await testAgenticPayments()
1146
- };
1147
-
1148
- console.log('\n======================================');
1149
- console.log('📊 Test Results:');
1150
- console.log(` AgentDB: ${results.agentdb ? '✅' : '❌'}`);
1151
- console.log(` Claude Flow: ${results.claudeFlow ? '✅' : '❌'}`);
1152
- console.log(` Flow Nexus: ${results.flowNexus ? '✅' : '❌'}`);
1153
- console.log(` Agentic Payments: ${results.agenticPayments ? '✅' : '❌'}`);
1154
-
1155
- const allPassed = Object.values(results).every(r => r);
1156
- console.log(`\n${allPassed ? '✅ All tests passed!' : '⚠️ Some tests failed'}`);
1157
-
1158
- return allPassed;
1159
- }
1160
-
1161
- // Execute tests
1162
- runAllTests();
1163
- ```
1164
-
1165
- ---
1166
-
1167
- ## Security Best Practices
1168
-
1169
- ### General Security Principles
1170
-
1171
- #### 1. Never Hardcode Secrets
1172
-
1173
- ```javascript
1174
- // ❌ WRONG: Hardcoded credentials
1175
- const PASSWORD = 'mypassword123';
1176
- const PRIVATE_KEY = 'ed25519_key_here';
1177
-
1178
- // ✅ CORRECT: Use environment variables
1179
- const PASSWORD = process.env.FLOW_NEXUS_PASSWORD;
1180
- const PRIVATE_KEY = process.env.AGENTIC_PAYMENTS_PRIVATE_KEY;
1181
- ```
1182
-
1183
- #### 2. Use .gitignore
1184
-
1185
- ```bash
1186
- # Always add to .gitignore
1187
- .env
1188
- .env.*
1189
- *.key
1190
- *.pem
1191
- keypair.json
1192
- *-private-key*
1193
- .swarm/*.db
1194
- ```
1195
-
1196
- #### 3. Rotate Credentials Regularly
1197
-
1198
- ```javascript
1199
- // Set expiration for credentials
1200
- const CREDENTIAL_EXPIRY_DAYS = 90;
1201
-
1202
- async function checkCredentialAge() {
1203
- const lastRotation = await getLastRotationDate();
1204
- const daysSince = Math.floor((Date.now() - lastRotation) / 86400000);
1205
-
1206
- if (daysSince > CREDENTIAL_EXPIRY_DAYS) {
1207
- console.warn('⚠️ Credentials are old. Consider rotating.');
1208
- // Notify admin or auto-rotate
1209
- }
1210
- }
1211
- ```
1212
-
1213
- #### 4. Use Strong Passwords
1214
-
1215
- ```javascript
1216
- // Password requirements
1217
- const PASSWORD_REQUIREMENTS = {
1218
- minLength: 12,
1219
- requireUppercase: true,
1220
- requireLowercase: true,
1221
- requireNumbers: true,
1222
- requireSpecialChars: true
1223
- };
1224
-
1225
- function validatePassword(password) {
1226
- if (password.length < PASSWORD_REQUIREMENTS.minLength) {
1227
- return { valid: false, error: 'Password too short' };
1228
- }
1229
- if (!/[A-Z]/.test(password)) {
1230
- return { valid: false, error: 'Missing uppercase letter' };
1231
- }
1232
- if (!/[a-z]/.test(password)) {
1233
- return { valid: false, error: 'Missing lowercase letter' };
1234
- }
1235
- if (!/[0-9]/.test(password)) {
1236
- return { valid: false, error: 'Missing number' };
1237
- }
1238
- if (!/[^A-Za-z0-9]/.test(password)) {
1239
- return { valid: false, error: 'Missing special character' };
1240
- }
1241
- return { valid: true };
1242
- }
1243
- ```
1244
-
1245
- ### Flow Nexus Security
1246
-
1247
- #### Secure Session Management
1248
-
1249
- ```javascript
1250
- // Store session token securely
1251
- import { SecureStore } from './secure-store';
1252
-
1253
- async function storeFlowNexusSession(sessionToken) {
1254
- await SecureStore.set('flow_nexus_session', sessionToken, {
1255
- encrypt: true,
1256
- ttl: 3600 // 1 hour
1257
- });
1258
- }
1259
-
1260
- async function getFlowNexusSession() {
1261
- return await SecureStore.get('flow_nexus_session');
1262
- }
1263
-
1264
- // Clear session on logout
1265
- async function logout() {
1266
- await mcp__flow-nexus__user_logout();
1267
- await SecureStore.delete('flow_nexus_session');
1268
- }
1269
- ```
1270
-
1271
- #### Rate Limiting
1272
-
1273
- ```javascript
1274
- // Implement client-side rate limiting
1275
- class RateLimiter {
1276
- constructor(maxRequests, windowMs) {
1277
- this.maxRequests = maxRequests;
1278
- this.windowMs = windowMs;
1279
- this.requests = [];
1280
- }
1281
-
1282
- async checkLimit() {
1283
- const now = Date.now();
1284
- this.requests = this.requests.filter(t => now - t < this.windowMs);
1285
-
1286
- if (this.requests.length >= this.maxRequests) {
1287
- const oldestRequest = this.requests[0];
1288
- const waitTime = this.windowMs - (now - oldestRequest);
1289
- throw new Error(`Rate limited. Wait ${waitTime}ms`);
1290
- }
1291
-
1292
- this.requests.push(now);
1293
- }
1294
- }
1295
-
1296
- const flowNexusLimiter = new RateLimiter(100, 3600000); // 100/hour
1297
-
1298
- async function callFlowNexusTool(tool, params) {
1299
- await flowNexusLimiter.checkLimit();
1300
- return await tool(params);
1301
- }
1302
- ```
1303
-
1304
- ### Agentic Payments Security
1305
-
1306
- #### Private Key Protection
1307
-
1308
- ```javascript
1309
- // Encrypt private keys at rest
1310
- import crypto from 'crypto';
1311
-
1312
- class KeyManager {
1313
- constructor(masterPassword) {
1314
- this.masterPassword = masterPassword;
1315
- }
1316
-
1317
- encrypt(privateKey) {
1318
- const algorithm = 'aes-256-gcm';
1319
- const key = crypto.scryptSync(this.masterPassword, 'salt', 32);
1320
- const iv = crypto.randomBytes(16);
1321
- const cipher = crypto.createCipheriv(algorithm, key, iv);
1322
-
1323
- let encrypted = cipher.update(privateKey, 'utf8', 'hex');
1324
- encrypted += cipher.final('hex');
1325
-
1326
- const authTag = cipher.getAuthTag();
1327
-
1328
- return {
1329
- encrypted,
1330
- iv: iv.toString('hex'),
1331
- authTag: authTag.toString('hex')
1332
- };
1333
- }
1334
-
1335
- decrypt(encryptedData) {
1336
- const algorithm = 'aes-256-gcm';
1337
- const key = crypto.scryptSync(this.masterPassword, 'salt', 32);
1338
- const decipher = crypto.createDecipheriv(
1339
- algorithm,
1340
- key,
1341
- Buffer.from(encryptedData.iv, 'hex')
1342
- );
1343
-
1344
- decipher.setAuthTag(Buffer.from(encryptedData.authTag, 'hex'));
1345
-
1346
- let decrypted = decipher.update(encryptedData.encrypted, 'hex', 'utf8');
1347
- decrypted += decipher.final('utf8');
1348
-
1349
- return decrypted;
1350
- }
1351
- }
1352
-
1353
- // Usage
1354
- const keyManager = new KeyManager(process.env.MASTER_PASSWORD);
1355
- const encryptedKey = keyManager.encrypt(privateKey);
1356
- // Store encryptedKey in database
1357
- ```
1358
-
1359
- #### Mandate Validation
1360
-
1361
- ```javascript
1362
- // Always validate mandates before signing
1363
- function validateMandate(mandate) {
1364
- const now = Date.now();
1365
- const expiresAt = new Date(mandate.expires_at).getTime();
1366
-
1367
- // Check expiration
1368
- if (expiresAt < now) {
1369
- throw new Error('Mandate already expired');
1370
- }
1371
-
1372
- // Check amount
1373
- if (mandate.amount <= 0 || mandate.amount > 1000000) { // $10k max
1374
- throw new Error('Invalid mandate amount');
1375
- }
1376
-
1377
- // Check merchant restrictions
1378
- if (mandate.merchant_allow && mandate.merchant_allow.length === 0) {
1379
- throw new Error('Must specify allowed merchants');
1380
- }
1381
-
1382
- // Warn if no time limit
1383
- const daysUntilExpiry = (expiresAt - now) / 86400000;
1384
- if (daysUntilExpiry > 90) {
1385
- console.warn('⚠️ Mandate expires in >90 days. Consider shorter period.');
1386
- }
1387
-
1388
- return true;
1389
- }
1390
-
1391
- // Use before signing
1392
- const mandate = await mcp__agentic-payments__create_active_mandate({...});
1393
- validateMandate(mandate.data);
1394
- const signed = await mcp__agentic-payments__sign_mandate({
1395
- mandate: mandate.data,
1396
- private_key: privateKey
1397
- });
1398
- ```
1399
-
1400
- #### Audit Logging
1401
-
1402
- ```javascript
1403
- // Log all payment operations
1404
- class PaymentAuditLogger {
1405
- async log(action, data) {
1406
- const logEntry = {
1407
- timestamp: new Date().toISOString(),
1408
- action,
1409
- data: this.sanitize(data),
1410
- user_id: getCurrentUserId(),
1411
- ip_address: getClientIP()
1412
- };
1413
-
1414
- await mcp__claude-flow__memory_usage({
1415
- action: 'store',
1416
- key: `audit/payment/${Date.now()}`,
1417
- namespace: 'security',
1418
- value: JSON.stringify(logEntry)
1419
- });
1420
- }
1421
-
1422
- sanitize(data) {
1423
- // Remove sensitive fields
1424
- const sanitized = { ...data };
1425
- delete sanitized.private_key;
1426
- delete sanitized.password;
1427
- return sanitized;
1428
- }
1429
- }
1430
-
1431
- const auditLogger = new PaymentAuditLogger();
1432
-
1433
- // Log all mandate operations
1434
- await auditLogger.log('mandate_created', { mandate_id, amount, merchant });
1435
- await auditLogger.log('mandate_signed', { mandate_id });
1436
- await auditLogger.log('mandate_verified', { mandate_id, valid });
1437
- ```
1438
-
1439
- ### Network Security
1440
-
1441
- #### HTTPS Only
1442
-
1443
- ```javascript
1444
- // Enforce HTTPS for all API calls
1445
- function validateEndpoint(url) {
1446
- if (!url.startsWith('https://')) {
1447
- throw new Error('Only HTTPS endpoints allowed');
1448
- }
1449
- }
1450
-
1451
- // Custom fetch wrapper
1452
- async function secureFetch(url, options) {
1453
- validateEndpoint(url);
1454
-
1455
- // Add security headers
1456
- const secureOptions = {
1457
- ...options,
1458
- headers: {
1459
- ...options.headers,
1460
- 'X-Content-Type-Options': 'nosniff',
1461
- 'X-Frame-Options': 'DENY',
1462
- 'X-XSS-Protection': '1; mode=block'
1463
- }
1464
- };
1465
-
1466
- return fetch(url, secureOptions);
1467
- }
1468
- ```
1469
-
1470
- #### Certificate Pinning (Advanced)
1471
-
1472
- ```javascript
1473
- // Pin Flow Nexus TLS certificate
1474
- import tls from 'tls';
1475
-
1476
- const PINNED_CERTIFICATES = {
1477
- 'flow-nexus.ruv.io': [
1478
- 'sha256/abc123...', // Expected certificate hash
1479
- 'sha256/def456...' // Backup certificate hash
1480
- ]
1481
- };
1482
-
1483
- function validateCertificate(hostname, cert) {
1484
- const hash = crypto.createHash('sha256')
1485
- .update(cert.raw)
1486
- .digest('base64');
1487
-
1488
- const pinnedHashes = PINNED_CERTIFICATES[hostname];
1489
- if (!pinnedHashes || !pinnedHashes.includes(`sha256/${hash}`)) {
1490
- throw new Error('Certificate pinning validation failed');
1491
- }
1492
- }
1493
- ```
1494
-
1495
- ---
1496
-
1497
- ## Troubleshooting Authentication Errors
1498
-
1499
- ### Common Issues & Solutions
1500
-
1501
- #### 1. "AUTH_REQUIRED" Error (Flow Nexus)
1502
-
1503
- **Symptoms:**
1504
- ```
1505
- Error: AUTH_REQUIRED
1506
- Message: Authentication required for this operation
1507
- ```
1508
-
1509
- **Diagnosis:**
1510
- ```bash
1511
- # Check authentication status
1512
- npx flow-nexus@latest test-auth
1513
-
1514
- # Or via MCP tool
1515
- mcp__flow-nexus__auth_status({ detailed: true })
1516
- ```
1517
-
1518
- **Solutions:**
1519
-
1520
- **Solution A: Login Required**
1521
- ```bash
1522
- # Login via CLI
1523
- npx flow-nexus@latest login
1524
-
1525
- # Or via MCP tool
1526
- mcp__flow-nexus__user_login({
1527
- email: 'your-email@example.com',
1528
- password: 'your-password'
1529
- });
1530
- ```
1531
-
1532
- **Solution B: Session Expired**
1533
- ```bash
1534
- # Re-login to get new session token
1535
- npx flow-nexus@latest login
1536
-
1537
- # Verify session
1538
- npx flow-nexus@latest profile
1539
- ```
1540
-
1541
- **Solution C: Invalid Credentials**
1542
- ```bash
1543
- # Reset password
1544
- npx flow-nexus@latest reset-password --email your-email@example.com
1545
-
1546
- # Check email for reset link
1547
- # Set new password
1548
- npx flow-nexus@latest update-password --token YOUR_TOKEN --password NEW_PASSWORD
1549
- ```
1550
-
1551
- ---
1552
-
1553
- #### 2. "INVALID_SIGNATURE" Error (Agentic Payments)
1554
-
1555
- **Symptoms:**
1556
- ```
1557
- Error: INVALID_SIGNATURE
1558
- Message: Ed25519 signature verification failed
1559
- ```
1560
-
1561
- **Diagnosis:**
1562
- ```javascript
1563
- // Check keypair integrity
1564
- const identity = mcp__agentic-payments__generate_agent_identity({
1565
- include_private_key: false // Get public key only
1566
- });
1567
-
1568
- console.log('Expected public key:', identity.public_key);
1569
- console.log('Your public key:', process.env.AGENTIC_PAYMENTS_PUBLIC_KEY);
1570
-
1571
- // Test signing
1572
- const testMandate = { test: 'data' };
1573
- const signed = mcp__agentic-payments__sign_mandate({
1574
- mandate: testMandate,
1575
- private_key: process.env.AGENTIC_PAYMENTS_PRIVATE_KEY
1576
- });
1577
-
1578
- const verified = mcp__agentic-payments__verify_mandate({
1579
- signed_mandate: signed.data
1580
- });
1581
-
1582
- console.log('Signature valid:', verified.data.valid);
1583
- ```
1584
-
1585
- **Solutions:**
1586
-
1587
- **Solution A: Regenerate Keypair**
1588
- ```javascript
1589
- // Generate new keypair
1590
- const newIdentity = mcp__agentic-payments__generate_agent_identity({
1591
- include_private_key: true
1592
- });
1593
-
1594
- // Update environment variables
1595
- console.log('Update .env with:');
1596
- console.log(`AGENTIC_PAYMENTS_AGENT_ID=${newIdentity.agent_id}`);
1597
- console.log(`AGENTIC_PAYMENTS_PUBLIC_KEY=${newIdentity.public_key}`);
1598
- console.log(`AGENTIC_PAYMENTS_PRIVATE_KEY=${newIdentity.private_key}`);
1599
- ```
1600
-
1601
- **Solution B: Check Key Encoding**
1602
- ```javascript
1603
- // Verify base64 encoding
1604
- function validateBase64(str) {
1605
- try {
1606
- return btoa(atob(str)) === str;
1607
- } catch (err) {
1608
- return false;
1609
- }
1610
- }
1611
-
1612
- const publicKeyValid = validateBase64(process.env.AGENTIC_PAYMENTS_PUBLIC_KEY);
1613
- const privateKeyValid = validateBase64(process.env.AGENTIC_PAYMENTS_PRIVATE_KEY);
1614
-
1615
- console.log('Public key valid:', publicKeyValid);
1616
- console.log('Private key valid:', privateKeyValid);
1617
- ```
1618
-
1619
- **Solution C: Mandate Expired**
1620
- ```javascript
1621
- // Check mandate expiration
1622
- const mandate = { /* your mandate */ };
1623
- const now = Date.now();
1624
- const expiresAt = new Date(mandate.expires_at).getTime();
1625
-
1626
- if (expiresAt < now) {
1627
- console.error('Mandate expired. Create new mandate.');
1628
- // Create new mandate with future expiration
1629
- }
1630
- ```
1631
-
1632
- ---
1633
-
1634
- #### 3. "MCP_SERVER_NOT_FOUND" Error
1635
-
1636
- **Symptoms:**
1637
- ```
1638
- Error: MCP_SERVER_NOT_FOUND
1639
- Message: MCP server 'flow-nexus' not found or not running
1640
- ```
1641
-
1642
- **Diagnosis:**
1643
- ```bash
1644
- # List all MCP servers
1645
- claude mcp list
1646
-
1647
- # Check if server is installed
1648
- claude mcp status flow-nexus
1649
- ```
1650
-
1651
- **Solutions:**
1652
-
1653
- **Solution A: Install Server**
1654
- ```bash
1655
- # Install missing server
1656
- claude mcp add flow-nexus npx flow-nexus@latest mcp start
1657
-
1658
- # Verify installation
1659
- claude mcp list
1660
- ```
1661
-
1662
- **Solution B: Restart Server**
1663
- ```bash
1664
- # Restart server
1665
- claude mcp restart flow-nexus
1666
-
1667
- # Check logs
1668
- claude mcp logs flow-nexus
1669
- ```
1670
-
1671
- **Solution C: Fix Server Configuration**
1672
- ```bash
1673
- # Remove and re-add server
1674
- claude mcp remove flow-nexus
1675
- claude mcp add flow-nexus npx flow-nexus@latest mcp start
1676
-
1677
- # Test connectivity
1678
- npx flow-nexus@latest test
1679
- ```
1680
-
1681
- ---
1682
-
1683
- #### 4. "INSUFFICIENT_CREDITS" Error (Flow Nexus)
1684
-
1685
- **Symptoms:**
1686
- ```
1687
- Error: INSUFFICIENT_CREDITS
1688
- Message: Not enough credits to perform this operation
1689
- ```
1690
-
1691
- **Diagnosis:**
1692
- ```javascript
1693
- // Check credit balance
1694
- const balance = mcp__flow-nexus__check_balance();
1695
- console.log('Current balance:', balance.data.credits);
1696
- console.log('Current tier:', balance.data.tier);
1697
- ```
1698
-
1699
- **Solutions:**
1700
-
1701
- **Solution A: Add Credits**
1702
- ```javascript
1703
- // Create payment link
1704
- const payment = mcp__flow-nexus__create_payment_link({
1705
- amount: 50 // $50 USD
1706
- });
1707
-
1708
- console.log('Payment URL:', payment.data.payment_url);
1709
- // Visit URL to add credits
1710
- ```
1711
-
1712
- **Solution B: Upgrade Tier**
1713
- ```javascript
1714
- // Upgrade to Pro tier (higher rate limits)
1715
- mcp__flow-nexus__user_upgrade({
1716
- user_id: 'your_user_id',
1717
- tier: 'pro'
1718
- });
1719
- ```
1720
-
1721
- **Solution C: Configure Auto-Refill**
1722
- ```javascript
1723
- // Auto-refill when balance < $10
1724
- mcp__flow-nexus__configure_auto_refill({
1725
- enabled: true,
1726
- threshold: 1000, // 1000 credits = $10
1727
- amount: 2000 // Refill 2000 credits = $20
1728
- });
1729
- ```
1730
-
1731
- ---
1732
-
1733
- #### 5. "RATE_LIMITED" Error
1734
-
1735
- **Symptoms:**
1736
- ```
1737
- Error: RATE_LIMITED
1738
- Message: Too many requests. Retry after 3600 seconds.
1739
- ```
1740
-
1741
- **Diagnosis:**
1742
- ```javascript
1743
- // Check rate limits
1744
- const stats = mcp__flow-nexus__usage_stats({
1745
- component: 'api'
1746
- });
1747
-
1748
- console.log('Requests today:', stats.data.requests_today);
1749
- console.log('Limit:', stats.data.rate_limit);
1750
- console.log('Resets at:', stats.data.reset_at);
1751
- ```
1752
-
1753
- **Solutions:**
1754
-
1755
- **Solution A: Wait for Reset**
1756
- ```javascript
1757
- // Calculate wait time
1758
- const resetTime = new Date(stats.data.reset_at);
1759
- const waitMs = resetTime - Date.now();
1760
- const waitMinutes = Math.ceil(waitMs / 60000);
1761
-
1762
- console.log(`Wait ${waitMinutes} minutes for rate limit reset`);
1763
-
1764
- // Auto-retry after wait
1765
- setTimeout(() => {
1766
- // Retry operation
1767
- }, waitMs);
1768
- ```
1769
-
1770
- **Solution B: Upgrade Tier**
1771
- ```javascript
1772
- // Pro tier has higher rate limits
1773
- mcp__flow-nexus__user_upgrade({
1774
- user_id: 'your_user_id',
1775
- tier: 'pro' // 10x higher rate limits
1776
- });
1777
- ```
1778
-
1779
- **Solution C: Implement Backoff**
1780
- ```javascript
1781
- // Exponential backoff retry
1782
- async function retryWithBackoff(fn, maxRetries = 3) {
1783
- for (let i = 0; i < maxRetries; i++) {
1784
- try {
1785
- return await fn();
1786
- } catch (error) {
1787
- if (error.code === 'RATE_LIMITED' && i < maxRetries - 1) {
1788
- const waitMs = Math.pow(2, i) * 1000; // 1s, 2s, 4s
1789
- console.log(`Rate limited. Waiting ${waitMs}ms...`);
1790
- await new Promise(resolve => setTimeout(resolve, waitMs));
1791
- } else {
1792
- throw error;
1793
- }
1794
- }
1795
- }
1796
- }
1797
-
1798
- // Usage
1799
- await retryWithBackoff(() => mcp__flow-nexus__sandbox_create({...}));
1800
- ```
1801
-
1802
- ---
1803
-
1804
- #### 6. "EMAIL_NOT_VERIFIED" Error (Flow Nexus)
1805
-
1806
- **Symptoms:**
1807
- ```
1808
- Error: EMAIL_NOT_VERIFIED
1809
- Message: Please verify your email address before using this service
1810
- ```
1811
-
1812
- **Diagnosis:**
1813
- ```javascript
1814
- // Check verification status
1815
- const profile = mcp__flow-nexus__user_profile({
1816
- user_id: 'your_user_id'
1817
- });
1818
-
1819
- console.log('Email verified:', profile.data.email_verified);
1820
- ```
1821
-
1822
- **Solutions:**
1823
-
1824
- **Solution A: Check Email**
1825
- ```
1826
- 1. Check inbox for verification email from Flow Nexus
1827
- 2. Check spam/junk folder
1828
- 3. Click verification link in email
1829
- ```
1830
-
1831
- **Solution B: Resend Verification**
1832
- ```bash
1833
- # Request new verification email
1834
- npx flow-nexus@latest resend-verification --email your-email@example.com
1835
- ```
1836
-
1837
- **Solution C: Manual Verification**
1838
- ```javascript
1839
- // Use verification token from email
1840
- mcp__flow-nexus__user_verify_email({
1841
- token: 'verification_token_from_email'
1842
- });
1843
- ```
1844
-
1845
- ---
1846
-
1847
- #### 7. Database Connection Errors (AgentDB)
1848
-
1849
- **Symptoms:**
1850
- ```
1851
- Error: SQLITE_ERROR
1852
- Message: unable to open database file
1853
- ```
1854
-
1855
- **Diagnosis:**
1856
- ```bash
1857
- # Check database file
1858
- ls -la .swarm/memory.db
1859
-
1860
- # Check permissions
1861
- stat .swarm/memory.db
1862
-
1863
- # Test database
1864
- npx agentdb status
1865
- ```
1866
-
1867
- **Solutions:**
1868
-
1869
- **Solution A: Create Database Directory**
1870
- ```bash
1871
- # Create .swarm directory
1872
- mkdir -p .swarm
1873
-
1874
- # Set permissions
1875
- chmod 755 .swarm
1876
-
1877
- # Restart AgentDB
1878
- claude mcp restart agentdb
1879
- ```
1880
-
1881
- **Solution B: Fix Permissions**
1882
- ```bash
1883
- # Fix database permissions
1884
- chmod 644 .swarm/memory.db
1885
-
1886
- # Fix directory permissions
1887
- chmod 755 .swarm
1888
-
1889
- # Verify
1890
- ls -la .swarm/
1891
- ```
1892
-
1893
- **Solution C: Reset Database**
1894
- ```bash
1895
- # Backup existing database
1896
- cp .swarm/memory.db .swarm/memory.db.backup
1897
-
1898
- # Remove corrupted database
1899
- rm .swarm/memory.db
1900
-
1901
- # Restart AgentDB (will create new database)
1902
- claude mcp restart agentdb
1903
-
1904
- # Test
1905
- npx agentdb test
1906
- ```
1907
-
1908
- ---
1909
-
1910
- ### Debug Mode
1911
-
1912
- Enable debug logging for detailed troubleshooting:
1913
-
1914
- ```bash
1915
- # Enable debug for all MCP servers
1916
- export MCP_DEBUG=true
1917
-
1918
- # Or per-server
1919
- export AGENTDB_DEBUG=true
1920
- export CLAUDE_FLOW_DEBUG=true
1921
- export FLOW_NEXUS_DEBUG=true
1922
-
1923
- # Run operation with logging
1924
- mcp__flow-nexus__sandbox_create({...})
1925
-
1926
- # Logs will show:
1927
- # [2025-10-22T14:00:00.000Z] MCP: Connecting to flow-nexus
1928
- # [2025-10-22T14:00:00.100Z] MCP: Sending request: sandbox_create
1929
- # [2025-10-22T14:00:00.200Z] MCP: Parameters: {"template":"node"}
1930
- # [2025-10-22T14:00:02.000Z] MCP: Response received: {"success":true}
1931
- ```
1932
-
1933
- ### Contact Support
1934
-
1935
- If issues persist:
1936
-
1937
- 1. **Flow Nexus Support:** support@flow-nexus.ruv.io
1938
- 2. **GitHub Issues:** https://github.com/ruvnet/claude-flow/issues
1939
- 3. **Documentation:** https://github.com/ruvnet/claude-flow/docs
1940
-
1941
- Include in support request:
1942
- - Error message and stack trace
1943
- - MCP server versions (`claude mcp list`)
1944
- - Debug logs (with secrets redacted)
1945
- - Steps to reproduce
1946
-
1947
- ---
1948
-
1949
- ## Quick Reference Card
1950
-
1951
- ### Command Cheat Sheet
1952
-
1953
- ```bash
1954
- # ===== AgentDB =====
1955
- claude mcp add agentdb npx agentdb mcp
1956
- npx agentdb test
1957
- npx agentdb status
1958
-
1959
- # ===== Claude Flow =====
1960
- claude mcp add claude-flow npx claude-flow@alpha mcp start
1961
- npx claude-flow@alpha test
1962
- npx claude-flow@alpha swarm status
1963
-
1964
- # ===== Flow Nexus =====
1965
- # Installation
1966
- claude mcp add flow-nexus npx flow-nexus@latest mcp start
1967
-
1968
- # Registration
1969
- npx flow-nexus@latest register
1970
- npx flow-nexus@latest verify-email --token TOKEN
1971
-
1972
- # Login
1973
- npx flow-nexus@latest login
1974
- npx flow-nexus@latest profile
1975
-
1976
- # Management
1977
- npx flow-nexus@latest balance
1978
- npx flow-nexus@latest upgrade --tier pro
1979
-
1980
- # ===== Agentic Payments =====
1981
- # Generate keypair
1982
- mcp__agentic-payments__generate_agent_identity({ include_private_key: true })
1983
-
1984
- # Test signature
1985
- npx agentic-payments test-keypair
1986
- npx agentic-payments verify-signature
1987
-
1988
- # ===== General =====
1989
- # List all servers
1990
- claude mcp list
1991
-
1992
- # Test all servers
1993
- ./test-mcp-auth.sh
1994
-
1995
- # Check environment
1996
- env | grep -E '(AGENTDB|CLAUDE_FLOW|FLOW_NEXUS|AGENTIC_PAYMENTS)'
1997
- ```
1998
-
1999
- ### Authentication Summary
2000
-
2001
- | Server | Command | Result |
2002
- |--------|---------|--------|
2003
- | AgentDB | `claude mcp add agentdb npx agentdb mcp` | Ready to use |
2004
- | Claude Flow | `claude mcp add claude-flow npx claude-flow@alpha mcp start` | Ready to use |
2005
- | Flow Nexus | `npx flow-nexus@latest register && login` | Session token |
2006
- | Agentic Payments | `mcp__agentic-payments__generate_agent_identity()` | Ed25519 keypair |
2007
-
2008
- ---
2009
-
2010
- **Document Complete** | Version 2.0.0 | Last Updated: 2025-10-22
2011
-
2012
- For complete MCP Tools documentation, see:
2013
- - [MCP Tools Complete Reference](/workspaces/agentic-flow/docs/guides/MCP-TOOLS.md)
2014
- - [MCP Tools Architecture](/workspaces/agentic-flow/docs/mcp-tools-architecture.md)
2015
- - [AgentDB CLI Guide](/workspaces/agentic-flow/docs/agentdb/CLI_GUIDE.md)
2016
-
2017
- **Support:** https://github.com/ruvnet/claude-flow/issues