agentic-flow 1.8.15 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/analysis/code-analyzer.md +1 -1
- package/.claude/agents/core/coder.md +57 -2
- package/.claude/agents/core/planner.md +53 -1
- package/.claude/agents/core/researcher.md +60 -6
- package/.claude/agents/core/reviewer.md +55 -1
- package/.claude/agents/core/tester.md +54 -1
- package/.claude/agents/goal/code-goal-planner.md +446 -0
- package/.claude/agents/goal/goal-planner.md +120 -25
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +130 -0
- package/.claude/agents/hive-mind/queen-coordinator.md +203 -0
- package/.claude/agents/hive-mind/scout-explorer.md +242 -0
- package/.claude/agents/hive-mind/swarm-memory-manager.md +193 -0
- package/.claude/agents/hive-mind/worker-specialist.md +217 -0
- package/.claude/agents/neural/safla-neural.md +74 -0
- package/.claude/agents/reasoning/README.md +452 -0
- package/.claude/agents/reasoning/adaptive-learner.md +415 -0
- package/.claude/agents/reasoning/context-synthesizer.md +532 -0
- package/.claude/agents/reasoning/experience-curator.md +562 -0
- package/.claude/agents/reasoning/goal-planner.md +73 -0
- package/.claude/agents/reasoning/memory-optimizer.md +579 -0
- package/.claude/agents/reasoning/pattern-matcher.md +591 -0
- package/.claude/agents/reasoning/reasoning-optimized.md +587 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +75 -4
- package/.claude/agents/templates/coordinator-swarm-init.md +19 -4
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +44 -0
- package/.claude/commands/coordination/orchestrate.md +43 -0
- package/.claude/commands/coordination/spawn.md +45 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/hooks/overview.md +84 -10
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +47 -0
- package/.claude/commands/memory/usage.md +46 -0
- package/.claude/settings.json +21 -20
- package/.claude/settings.local.json +3 -7
- package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
- package/.claude/skills/agentdb-learning/SKILL.md +545 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
- package/.claude/skills/flow-nexus-neural/SKILL.md +738 -0
- package/.claude/skills/flow-nexus-platform/SKILL.md +1157 -0
- package/.claude/skills/flow-nexus-swarm/SKILL.md +610 -0
- package/.claude/skills/github-code-review/SKILL.md +1140 -0
- package/.claude/skills/github-multi-repo/SKILL.md +874 -0
- package/.claude/skills/github-project-management/SKILL.md +1277 -0
- package/.claude/skills/github-release-management/SKILL.md +1081 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1065 -0
- package/.claude/skills/hive-mind-advanced/SKILL.md +712 -0
- package/.claude/skills/hooks-automation/SKILL.md +1201 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/performance-analysis/SKILL.md +563 -0
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/sparc-methodology/SKILL.md +1115 -0
- package/.claude/skills/stream-chain/SKILL.md +563 -0
- package/.claude/skills/swarm-advanced/SKILL.md +973 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/verification-quality/SKILL.md +649 -0
- package/.claude/statusline-command.sh +176 -0
- package/.claude-flow/metrics/performance.json +87 -0
- package/.claude-flow/metrics/system-metrics.json +2138 -0
- package/.claude-flow/metrics/task-metrics.json +10 -0
- package/.hive-mind/README.md +43 -0
- package/.hive-mind/config/queens.json +59 -0
- package/.hive-mind/config/workers.json +72 -0
- package/.hive-mind/config.json +111 -0
- package/.hive-mind/hive.db +0 -0
- package/.mcp.json +39 -0
- package/.swarm/memory.db +0 -0
- package/.swarm/memory.db-shm +0 -0
- package/.swarm/memory.db-wal +0 -0
- package/CHANGELOG.md +83 -976
- package/CLAUDE.md +354 -0
- package/README.md +15 -1
- package/agentdb.db +0 -0
- package/agentic-flow/.agentdb-instructions.md +66 -0
- package/agentic-flow/.claude/agents/analysis/code-analyzer.md +209 -0
- package/agentic-flow/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
- package/agentic-flow/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
- package/agentic-flow/.claude/agents/base-template-generator.md +42 -0
- package/agentic-flow/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/agentic-flow/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/agentic-flow/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/agentic-flow/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/agentic-flow/.claude/agents/consensus/quorum-manager.md +823 -0
- package/agentic-flow/.claude/agents/consensus/raft-manager.md +63 -0
- package/agentic-flow/.claude/agents/consensus/security-manager.md +622 -0
- package/agentic-flow/.claude/agents/core/coder.md +211 -0
- package/agentic-flow/.claude/agents/core/planner.md +116 -0
- package/agentic-flow/.claude/agents/core/researcher.md +136 -0
- package/agentic-flow/.claude/agents/core/reviewer.md +272 -0
- package/agentic-flow/.claude/agents/core/tester.md +266 -0
- package/agentic-flow/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/agentic-flow/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/agentic-flow/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/agentic-flow/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/agentic-flow/.claude/agents/flow-nexus/app-store.md +88 -0
- package/agentic-flow/.claude/agents/flow-nexus/authentication.md +69 -0
- package/agentic-flow/.claude/agents/flow-nexus/challenges.md +81 -0
- package/agentic-flow/.claude/agents/flow-nexus/neural-network.md +88 -0
- package/agentic-flow/.claude/agents/flow-nexus/payments.md +83 -0
- package/agentic-flow/.claude/agents/flow-nexus/sandbox.md +76 -0
- package/agentic-flow/.claude/agents/flow-nexus/swarm.md +76 -0
- package/agentic-flow/.claude/agents/flow-nexus/user-tools.md +96 -0
- package/agentic-flow/.claude/agents/flow-nexus/workflow.md +84 -0
- package/agentic-flow/.claude/agents/github/code-review-swarm.md +538 -0
- package/agentic-flow/.claude/agents/github/github-modes.md +173 -0
- package/agentic-flow/.claude/agents/github/issue-tracker.md +319 -0
- package/agentic-flow/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/agentic-flow/.claude/agents/github/pr-manager.md +191 -0
- package/agentic-flow/.claude/agents/github/project-board-sync.md +509 -0
- package/agentic-flow/.claude/agents/github/release-manager.md +367 -0
- package/agentic-flow/.claude/agents/github/release-swarm.md +583 -0
- package/agentic-flow/.claude/agents/github/repo-architect.md +398 -0
- package/agentic-flow/.claude/agents/github/swarm-issue.md +573 -0
- package/agentic-flow/.claude/agents/github/swarm-pr.md +428 -0
- package/agentic-flow/.claude/agents/github/sync-coordinator.md +452 -0
- package/agentic-flow/.claude/agents/github/workflow-automation.md +635 -0
- package/agentic-flow/.claude/agents/goal/agent.md +816 -0
- package/agentic-flow/.claude/agents/goal/goal-planner.md +73 -0
- package/agentic-flow/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/agentic-flow/.claude/agents/optimization/load-balancer.md +431 -0
- package/agentic-flow/.claude/agents/optimization/performance-monitor.md +672 -0
- package/agentic-flow/.claude/agents/optimization/resource-allocator.md +674 -0
- package/agentic-flow/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/agentic-flow/.claude/agents/sparc/architecture.md +472 -0
- package/agentic-flow/.claude/agents/sparc/pseudocode.md +318 -0
- package/agentic-flow/.claude/agents/sparc/refinement.md +525 -0
- package/agentic-flow/.claude/agents/sparc/specification.md +276 -0
- package/agentic-flow/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
- package/agentic-flow/.claude/agents/swarm/adaptive-coordinator.md +396 -0
- package/agentic-flow/.claude/agents/swarm/hierarchical-coordinator.md +256 -0
- package/agentic-flow/.claude/agents/swarm/mesh-coordinator.md +392 -0
- package/agentic-flow/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/agentic-flow/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/agentic-flow/.claude/agents/templates/github-pr-manager.md +177 -0
- package/agentic-flow/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/agentic-flow/.claude/agents/templates/memory-coordinator.md +187 -0
- package/agentic-flow/.claude/agents/templates/migration-plan.md +746 -0
- package/agentic-flow/.claude/agents/templates/orchestrator-task.md +139 -0
- package/agentic-flow/.claude/agents/templates/performance-analyzer.md +199 -0
- package/agentic-flow/.claude/agents/templates/sparc-coordinator.md +183 -0
- package/agentic-flow/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
- package/agentic-flow/.claude/agents/testing/validation/production-validator.md +395 -0
- package/agentic-flow/.claude/commands/agents/README.md +10 -0
- package/agentic-flow/.claude/commands/agents/agent-capabilities.md +21 -0
- package/agentic-flow/.claude/commands/agents/agent-coordination.md +28 -0
- package/agentic-flow/.claude/commands/agents/agent-spawning.md +28 -0
- package/agentic-flow/.claude/commands/agents/agent-types.md +26 -0
- package/agentic-flow/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/agentic-flow/.claude/commands/analysis/README.md +9 -0
- package/agentic-flow/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/agentic-flow/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/agentic-flow/.claude/commands/analysis/performance-report.md +25 -0
- package/agentic-flow/.claude/commands/analysis/token-efficiency.md +45 -0
- package/agentic-flow/.claude/commands/analysis/token-usage.md +25 -0
- package/agentic-flow/.claude/commands/automation/README.md +9 -0
- package/agentic-flow/.claude/commands/automation/auto-agent.md +122 -0
- package/agentic-flow/.claude/commands/automation/self-healing.md +106 -0
- package/agentic-flow/.claude/commands/automation/session-memory.md +90 -0
- package/agentic-flow/.claude/commands/automation/smart-agents.md +73 -0
- package/agentic-flow/.claude/commands/automation/smart-spawn.md +25 -0
- package/agentic-flow/.claude/commands/automation/workflow-select.md +25 -0
- package/agentic-flow/.claude/commands/flow-nexus/app-store.md +124 -0
- package/agentic-flow/.claude/commands/flow-nexus/challenges.md +120 -0
- package/agentic-flow/.claude/commands/flow-nexus/login-registration.md +65 -0
- package/agentic-flow/.claude/commands/flow-nexus/neural-network.md +134 -0
- package/agentic-flow/.claude/commands/flow-nexus/payments.md +116 -0
- package/agentic-flow/.claude/commands/flow-nexus/sandbox.md +83 -0
- package/agentic-flow/.claude/commands/flow-nexus/swarm.md +87 -0
- package/agentic-flow/.claude/commands/flow-nexus/user-tools.md +152 -0
- package/agentic-flow/.claude/commands/flow-nexus/workflow.md +115 -0
- package/agentic-flow/.claude/commands/github/README.md +11 -0
- package/agentic-flow/.claude/commands/github/code-review-swarm.md +514 -0
- package/agentic-flow/.claude/commands/github/code-review.md +25 -0
- package/agentic-flow/.claude/commands/github/github-modes.md +147 -0
- package/agentic-flow/.claude/commands/github/github-swarm.md +121 -0
- package/agentic-flow/.claude/commands/github/issue-tracker.md +292 -0
- package/agentic-flow/.claude/commands/github/issue-triage.md +25 -0
- package/agentic-flow/.claude/commands/github/multi-repo-swarm.md +519 -0
- package/agentic-flow/.claude/commands/github/pr-enhance.md +26 -0
- package/agentic-flow/.claude/commands/github/pr-manager.md +170 -0
- package/agentic-flow/.claude/commands/github/project-board-sync.md +471 -0
- package/agentic-flow/.claude/commands/github/release-manager.md +338 -0
- package/agentic-flow/.claude/commands/github/release-swarm.md +544 -0
- package/agentic-flow/.claude/commands/github/repo-analyze.md +25 -0
- package/agentic-flow/.claude/commands/github/repo-architect.md +367 -0
- package/agentic-flow/.claude/commands/github/swarm-issue.md +482 -0
- package/agentic-flow/.claude/commands/github/swarm-pr.md +285 -0
- package/agentic-flow/.claude/commands/github/sync-coordinator.md +301 -0
- package/agentic-flow/.claude/commands/github/workflow-automation.md +442 -0
- package/agentic-flow/.claude/commands/hive-mind/README.md +17 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/agentic-flow/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/agentic-flow/.claude/commands/hooks/README.md +11 -0
- package/agentic-flow/.claude/commands/hooks/overview.md +58 -0
- package/agentic-flow/.claude/commands/hooks/post-edit.md +117 -0
- package/agentic-flow/.claude/commands/hooks/post-task.md +112 -0
- package/agentic-flow/.claude/commands/hooks/pre-edit.md +113 -0
- package/agentic-flow/.claude/commands/hooks/pre-task.md +111 -0
- package/agentic-flow/.claude/commands/hooks/session-end.md +118 -0
- package/agentic-flow/.claude/commands/hooks/setup.md +103 -0
- package/agentic-flow/.claude/commands/monitoring/README.md +9 -0
- package/agentic-flow/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/agentic-flow/.claude/commands/monitoring/agents.md +44 -0
- package/agentic-flow/.claude/commands/monitoring/real-time-view.md +25 -0
- package/agentic-flow/.claude/commands/monitoring/status.md +46 -0
- package/agentic-flow/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/agentic-flow/.claude/commands/optimization/README.md +9 -0
- package/agentic-flow/.claude/commands/optimization/auto-topology.md +62 -0
- package/agentic-flow/.claude/commands/optimization/cache-manage.md +25 -0
- package/agentic-flow/.claude/commands/optimization/parallel-execute.md +25 -0
- package/agentic-flow/.claude/commands/optimization/parallel-execution.md +50 -0
- package/agentic-flow/.claude/commands/optimization/topology-optimize.md +25 -0
- package/agentic-flow/.claude/commands/pair/commands.md +546 -0
- package/agentic-flow/.claude/commands/pair/config.md +510 -0
- package/agentic-flow/.claude/commands/pair/examples.md +512 -0
- package/agentic-flow/.claude/commands/pair/modes.md +348 -0
- package/agentic-flow/.claude/commands/pair/session.md +407 -0
- package/agentic-flow/.claude/commands/pair/start.md +209 -0
- package/agentic-flow/.claude/commands/sparc/analyzer.md +52 -0
- package/agentic-flow/.claude/commands/sparc/architect.md +53 -0
- package/agentic-flow/.claude/commands/sparc/batch-executor.md +54 -0
- package/agentic-flow/.claude/commands/sparc/coder.md +54 -0
- package/agentic-flow/.claude/commands/sparc/debugger.md +54 -0
- package/agentic-flow/.claude/commands/sparc/designer.md +53 -0
- package/agentic-flow/.claude/commands/sparc/documenter.md +54 -0
- package/agentic-flow/.claude/commands/sparc/innovator.md +54 -0
- package/agentic-flow/.claude/commands/sparc/memory-manager.md +54 -0
- package/agentic-flow/.claude/commands/sparc/optimizer.md +54 -0
- package/agentic-flow/.claude/commands/sparc/orchestrator.md +132 -0
- package/agentic-flow/.claude/commands/sparc/researcher.md +54 -0
- package/agentic-flow/.claude/commands/sparc/reviewer.md +54 -0
- package/agentic-flow/.claude/commands/sparc/sparc-modes.md +174 -0
- package/agentic-flow/.claude/commands/sparc/swarm-coordinator.md +54 -0
- package/agentic-flow/.claude/commands/sparc/tdd.md +54 -0
- package/agentic-flow/.claude/commands/sparc/tester.md +54 -0
- package/agentic-flow/.claude/commands/sparc/workflow-manager.md +54 -0
- package/agentic-flow/.claude/commands/stream-chain/pipeline.md +121 -0
- package/agentic-flow/.claude/commands/stream-chain/run.md +70 -0
- package/agentic-flow/.claude/commands/swarm/README.md +15 -0
- package/agentic-flow/.claude/commands/swarm/analysis.md +95 -0
- package/agentic-flow/.claude/commands/swarm/development.md +96 -0
- package/agentic-flow/.claude/commands/swarm/examples.md +168 -0
- package/agentic-flow/.claude/commands/swarm/maintenance.md +102 -0
- package/agentic-flow/.claude/commands/swarm/optimization.md +117 -0
- package/agentic-flow/.claude/commands/swarm/research.md +136 -0
- package/agentic-flow/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/agentic-flow/.claude/commands/swarm/swarm-background.md +8 -0
- package/agentic-flow/.claude/commands/swarm/swarm-init.md +19 -0
- package/agentic-flow/.claude/commands/swarm/swarm-modes.md +8 -0
- package/agentic-flow/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/agentic-flow/.claude/commands/swarm/swarm-spawn.md +19 -0
- package/agentic-flow/.claude/commands/swarm/swarm-status.md +8 -0
- package/agentic-flow/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/agentic-flow/.claude/commands/swarm/swarm.md +27 -0
- package/agentic-flow/.claude/commands/swarm/testing.md +131 -0
- package/agentic-flow/.claude/commands/training/README.md +9 -0
- package/agentic-flow/.claude/commands/training/model-update.md +25 -0
- package/agentic-flow/.claude/commands/training/neural-patterns.md +74 -0
- package/agentic-flow/.claude/commands/training/neural-train.md +25 -0
- package/agentic-flow/.claude/commands/training/pattern-learn.md +25 -0
- package/agentic-flow/.claude/commands/training/specialization.md +63 -0
- package/agentic-flow/.claude/commands/truth/start.md +143 -0
- package/agentic-flow/.claude/commands/verify/check.md +50 -0
- package/agentic-flow/.claude/commands/verify/start.md +128 -0
- package/agentic-flow/.claude/commands/workflows/README.md +9 -0
- package/agentic-flow/.claude/commands/workflows/development.md +78 -0
- package/agentic-flow/.claude/commands/workflows/research.md +63 -0
- package/agentic-flow/.claude/commands/workflows/workflow-create.md +25 -0
- package/agentic-flow/.claude/commands/workflows/workflow-execute.md +25 -0
- package/agentic-flow/.claude/commands/workflows/workflow-export.md +25 -0
- package/agentic-flow/.claude/helpers/checkpoint-manager.sh +251 -0
- package/agentic-flow/.claude/helpers/github-safe.js +106 -0
- package/agentic-flow/.claude/helpers/github-setup.sh +28 -0
- package/agentic-flow/.claude/helpers/quick-start.sh +19 -0
- package/agentic-flow/.claude/helpers/setup-mcp.sh +18 -0
- package/agentic-flow/.claude/helpers/standard-checkpoint-hooks.sh +179 -0
- package/agentic-flow/.claude/settings.json +114 -0
- package/agentic-flow/.claude/settings.local.json +14 -0
- package/agentic-flow/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/AGENT-BOOSTER-STATUS.md +292 -0
- package/agentic-flow/CHANGELOG-v1.3.0.md +120 -0
- package/agentic-flow/CHANGELOG.md +1023 -0
- package/agentic-flow/COMPLETION_REPORT_v1.7.1.md +335 -0
- package/agentic-flow/DOCKER-VERIFICATION.md +207 -0
- package/agentic-flow/IMPLEMENTATION_SUMMARY_v1.7.1.md +241 -0
- package/agentic-flow/NPX_AGENTDB_SETUP.md +175 -0
- package/agentic-flow/PUBLISH_GUIDE.md +438 -0
- package/agentic-flow/PUBLISH_SUMMARY_v1.7.1.md +198 -0
- package/agentic-flow/Python/AddTwoNumbers.py +2 -0
- package/agentic-flow/README.md +577 -0
- package/agentic-flow/RELEASE_NOTES_v1.7.0.md +297 -0
- package/agentic-flow/RELEASE_v1.7.1.md +327 -0
- package/agentic-flow/SUPABASE-INTEGRATION-COMPLETE.md +357 -0
- package/agentic-flow/TESTING_QUICK_START.md +223 -0
- package/agentic-flow/TOOL-EMULATION-INTEGRATION-ISSUE.md +669 -0
- package/agentic-flow/VALIDATION_v1.7.1.md +234 -0
- package/agentic-flow/add_two_numbers.py +2 -0
- package/agentic-flow/agentdb.db +0 -0
- package/agentic-flow/agentic-flow/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/agentic-flow/.claude-flow/metrics/performance.json +87 -0
- package/agentic-flow/agentic-flow/.claude-flow/metrics/task-metrics.json +10 -0
- package/agentic-flow/app/app.py +0 -0
- package/agentic-flow/config/.mcp.json +22 -0
- package/agentic-flow/config/router.config.example.json +224 -0
- package/agentic-flow/config/router.config.json +224 -0
- package/agentic-flow/deployment/.claude-settings.json +14 -0
- package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/FASTMCP_SUMMARY.md +369 -0
- package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/ARCHITECTURE.md +385 -0
- package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/fastmcp-implementation.md +351 -0
- package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/fastmcp-quick-start.md +358 -0
- package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/src/mcp/fastmcp/README.md +340 -0
- package/agentic-flow/docker/fastmcp-test.Dockerfile +24 -0
- package/agentic-flow/docker/federation-test/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/docker/federation-test/.claude-flow/metrics/performance.json +87 -0
- package/agentic-flow/docker/federation-test/.claude-flow/metrics/task-metrics.json +10 -0
- package/agentic-flow/docker/federation-test/README.md +314 -0
- package/agentic-flow/docker/federation-test/run-test.sh +65 -0
- package/agentic-flow/docker/federation-test/standalone-agent.js +180 -0
- package/agentic-flow/docker/federation-test/standalone-hub.js +85 -0
- package/agentic-flow/docker/federation-test/test-published-hub.js +66 -0
- package/agentic-flow/docker/test-instance/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/docker/test-instance/.claude-flow/metrics/performance.json +87 -0
- package/agentic-flow/docker/test-instance/.claude-flow/metrics/task-metrics.json +10 -0
- package/agentic-flow/docker/test-instance/.env.example +51 -0
- package/agentic-flow/docker/test-instance/COMPREHENSIVE_TEST_RESULTS.md +766 -0
- package/agentic-flow/docker/test-instance/DOCKER_VALIDATION_SUMMARY.md +417 -0
- package/agentic-flow/docker/test-instance/FIX_VALIDATION_REPORT.md +619 -0
- package/agentic-flow/docker/test-instance/INDEX.md +282 -0
- package/agentic-flow/docker/test-instance/QUICK_START.md +217 -0
- package/agentic-flow/docker/test-instance/README.md +266 -0
- package/agentic-flow/docker/test-instance/VALIDATION_REPORT.md +424 -0
- package/agentic-flow/docker/test-instance/test-model-config.md +69 -0
- package/agentic-flow/docker/test-instance/test-runner.sh +91 -0
- package/agentic-flow/docker/test-v1.1.10.dockerfile +12 -0
- package/agentic-flow/docker/test-validation.sh +37 -0
- package/agentic-flow/docker-test.sh +77 -0
- package/agentic-flow/docs/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/docs/.claude-flow/metrics/performance.json +87 -0
- package/agentic-flow/docs/.claude-flow/metrics/task-metrics.json +10 -0
- package/agentic-flow/docs/CLAUDE.md +352 -0
- package/agentic-flow/docs/INDEX.md +279 -0
- package/agentic-flow/docs/LICENSE +21 -0
- package/agentic-flow/docs/architecture/EXECUTIVE_SUMMARY.md +310 -0
- package/agentic-flow/docs/architecture/IMPROVEMENT_PLAN.md +11 -0
- package/agentic-flow/docs/architecture/INTEGRATION-STATUS.md +290 -0
- package/agentic-flow/docs/architecture/MULTI_MODEL_ROUTER_PLAN.md +620 -0
- package/agentic-flow/docs/architecture/PACKAGE_STRUCTURE.md +199 -0
- package/agentic-flow/docs/architecture/QUIC-IMPLEMENTATION-SUMMARY.md +490 -0
- package/agentic-flow/docs/architecture/QUIC-SWARM-INTEGRATION.md +593 -0
- package/agentic-flow/docs/architecture/QUICK_WINS.md +333 -0
- package/agentic-flow/docs/architecture/README.md +15 -0
- package/agentic-flow/docs/architecture/RESEARCH_SUMMARY.md +652 -0
- package/agentic-flow/docs/guides/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/docs/guides/.claude-flow/metrics/performance.json +9 -0
- package/agentic-flow/docs/guides/.claude-flow/metrics/task-metrics.json +10 -0
- package/agentic-flow/docs/guides/ADDING-MCP-SERVERS-CLI.md +515 -0
- package/agentic-flow/docs/guides/ADDING-MCP-SERVERS.md +642 -0
- package/agentic-flow/docs/guides/AGENT-BOOSTER.md +435 -0
- package/agentic-flow/docs/guides/ALTERNATIVE_LLM_MODELS.md +524 -0
- package/agentic-flow/docs/guides/CLAUDE-CODE-INTEGRATION.md +403 -0
- package/agentic-flow/docs/guides/DEPLOYMENT.md +906 -0
- package/agentic-flow/docs/guides/DOCKER_AGENT_USAGE.md +352 -0
- package/agentic-flow/docs/guides/IMPLEMENTATION_EXAMPLES.md +960 -0
- package/agentic-flow/docs/guides/MCP-TOOLS.md +1166 -0
- package/agentic-flow/docs/guides/MODEL-ID-MAPPING.md +193 -0
- package/agentic-flow/docs/guides/MULTI-MODEL-ROUTER.md +702 -0
- package/agentic-flow/docs/guides/NPM-PUBLISH.md +218 -0
- package/agentic-flow/docs/guides/ONNX-PROXY-IMPLEMENTATION.md +254 -0
- package/agentic-flow/docs/guides/ONNX_CLI_USAGE.md +344 -0
- package/agentic-flow/docs/guides/ONNX_OPTIMIZATION_GUIDE.md +665 -0
- package/agentic-flow/docs/guides/OPENROUTER_DEPLOYMENT.md +495 -0
- package/agentic-flow/docs/guides/PROXY-ARCHITECTURE-AND-EXTENSION.md +708 -0
- package/agentic-flow/docs/guides/QUIC-SWARM-QUICKSTART.md +543 -0
- package/agentic-flow/docs/guides/README.md +17 -0
- package/agentic-flow/docs/guides/REASONINGBANK.md +721 -0
- package/agentic-flow/docs/guides/STANDALONE_PROXY_GUIDE.md +437 -0
- package/agentic-flow/docs/guides/agent-sdk.md +234 -0
- package/agentic-flow/docs/reports/QUIC_PHASE1_COMPLETE.md +409 -0
- package/agentic-flow/docs/reports/QUIC_PHASE1_COMPLETION.md +323 -0
- package/agentic-flow/docs/reviews/quic-implementation-review.md +1076 -0
- package/agentic-flow/docs/router/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/docs/router/.claude-flow/metrics/performance.json +9 -0
- package/agentic-flow/docs/router/.claude-flow/metrics/task-metrics.json +10 -0
- package/agentic-flow/examples/PHASE-2-INTEGRATION-GUIDE.md +380 -0
- package/agentic-flow/examples/PHASE-2-TEST-REPORT.md +325 -0
- package/agentic-flow/examples/REGRESSION-TEST-RESULTS.md +334 -0
- package/agentic-flow/examples/TOOL-EMULATION-ARCHITECTURE.md +473 -0
- package/agentic-flow/examples/VALIDATION-SUMMARY.md +323 -0
- package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/agent-metrics.json +1 -0
- package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/performance.json +87 -0
- package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/task-metrics.json +10 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/.github/workflows/ci.yml +341 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/CONTRIBUTING.md +388 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/Cargo.lock +5323 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/Cargo.toml +105 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/DELIVERABLES.md +140 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/LICENSE +32 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/PROJECT_SUMMARY.md +515 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/PUBLISHING_NOTES.md +171 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/PUBLISH_CHECKLIST.md +216 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/README.md +591 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/TEST_SUITE_SUMMARY.md +318 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/benches/alignment_benchmark.rs +207 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/benches/api_benchmark.rs +346 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/benches/comprehensive_benchmarks.rs +362 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/benches/immune_analysis_benchmark.rs +369 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/benches/offtarget_prediction_benchmark.rs +291 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/Cargo.toml +23 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/bwa.rs +255 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/error.rs +34 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/lib.rs +136 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/quality.rs +287 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/tests/alignment_test.rs +230 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/Cargo.toml +32 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/error.rs +38 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/main.rs +41 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/routes.rs +56 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/tests/api_test.rs +306 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/Cargo.toml +17 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/error.rs +31 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/expression.rs +313 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/lib.rs +27 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/metadata.rs +302 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/sequencing.rs +240 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/targets.rs +281 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/tests/models_test.rs +155 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/Cargo.toml +24 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/deseq.rs +265 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/error.rs +28 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/lib.rs +10 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/normalization.rs +173 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/pathways.rs +195 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/tests/analysis_test.rs +258 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/Cargo.toml +26 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/error.rs +34 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/features.rs +272 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/lib.rs +72 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/ml_model.rs +264 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/scoring.rs +292 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/tests/prediction_test.rs +245 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/Cargo.toml +26 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/jobs.rs +27 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/main.rs +35 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/scheduler.rs +24 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/workers.rs +17 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURAL_DECISIONS.md +429 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURE.md +2964 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURE_SUMMARY.md +286 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/BENCHMARKS.md +380 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/PSEUDOCODE.md +354 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/REVIEW_REPORT.md +543 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/RIGHTS_PRESERVING_PLATFORM.md +342 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/SECURITY_AUDIT.md +756 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/SPECIFICATION.md +719 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/TESTING_GUIDE.md +575 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/README.md +121 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/alignment-module.md +868 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/expression-module.md +928 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/offtarget-module.md +1030 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/reporting-module.md +1135 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/api-spec.openapi.yaml +1258 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-component.md +240 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-container.md +223 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-context.md +86 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/sequence-diagrams.md +499 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/data-layer/schema.sql +363 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/data-models.yaml +1639 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/database-schemas.sql +731 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/alignment-service.yaml +171 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/api-gateway.yaml +253 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/namespace.yaml +26 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/postgresql.yaml +119 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/alignment-service/requirements.txt +18 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/diff-expr-service/requirements.txt +19 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/off-target-service/requirements.txt +27 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/README.md +130 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/alignment-flowchart.md +221 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/expression-flowchart.md +426 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/offtarget-flowchart.md +317 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/reporting-flowchart.md +502 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/mongodb-collections.json +759 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/alerts.yml +291 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/grafana-dashboard-system-overview.json +236 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/prometheus.yml +213 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/docs/security/oauth2-authentication.md +478 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/api/gateway.rs +257 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/api/mod.rs +1 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/audit/logger.rs +345 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/audit/mod.rs +1 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/governance/mod.rs +1 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/governance/policy.rs +339 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/lib.rs +227 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/main.rs +114 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/privacy/differential.rs +303 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/privacy/mod.rs +1 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/services/grpc.rs +358 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/src/services/mod.rs +1 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/README.md +336 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/TESTING_SUMMARY.md +386 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/TEST_COVERAGE_REPORT.md +347 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/fixtures/mod.rs +400 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/integration/enhanced_integration_tests.rs +432 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/integration_test.rs +340 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/load_testing_k6.js +269 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/load_testing_locust.py +290 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/property/enhanced_property_tests.rs +479 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/property_tests.rs +371 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/rights_preserving_test.rs +251 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/alignment_tests.rs +307 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/api_service_tests.rs +376 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/data_models_tests.rs +283 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/immune_analyzer_tests.rs +374 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/offtarget_tests.rs +334 -0
- package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/orchestrator_tests.rs +466 -0
- package/agentic-flow/examples/federated-agentdb/README.md +494 -0
- package/agentic-flow/memory-backup.json +48 -0
- package/agentic-flow/package-lock.json +3974 -0
- package/agentic-flow/package.json +182 -0
- package/agentic-flow/patches/agentdb-fix-imports.patch +13 -0
- package/agentic-flow/path/to/file.py +2 -0
- package/agentic-flow/path/to/your/script.py +2 -0
- package/agentic-flow/python/calculation.py +1 -0
- package/agentic-flow/python/operation.py +1 -0
- package/agentic-flow/run-agentdb.sh +8 -0
- package/agentic-flow/supabase/.temp/cli-latest +1 -0
- package/agentic-flow/supabase/.temp/gotrue-version +1 -0
- package/agentic-flow/supabase/.temp/pooler-url +1 -0
- package/agentic-flow/supabase/.temp/postgres-version +1 -0
- package/agentic-flow/supabase/.temp/project-ref +1 -0
- package/agentic-flow/supabase/.temp/rest-version +1 -0
- package/agentic-flow/supabase/.temp/storage-migration +1 -0
- package/agentic-flow/supabase/.temp/storage-version +1 -0
- package/agentic-flow/test-tool-commands.sh +26 -0
- package/agentic-llm/DEPLOYMENT_STATUS_UPDATE.md +30 -0
- package/agentic-llm/MONITOR_SUMMARY.md +116 -0
- package/agentic-llm/benchmarks/DEPLOYMENT_SUMMARY.md +106 -0
- package/agentic-llm/benchmarks/benchmark.py +419 -0
- package/agentic-llm/benchmarks/comparison/optimization_comparison.json +57 -0
- package/agentic-llm/benchmarks/finetune_comparison.py +252 -0
- package/agentic-llm/benchmarks/results/.gitkeep +2 -0
- package/agentic-llm/benchmarks/results/README.md +59 -0
- package/agentic-llm/benchmarks/results/agent-booster-results.json +116 -0
- package/agentic-llm/benchmarks/results/morph-baseline-results.json +168 -0
- package/agentic-llm/benchmarks/run_comparison.py +246 -0
- package/agentic-llm/check-training.sh +27 -0
- package/agentic-llm/claude_sdk/integration.py +335 -0
- package/agentic-llm/cloudrun/cloud_runner.py +390 -0
- package/agentic-llm/cloudrun/deploy.sh +83 -0
- package/agentic-llm/cloudrun/entrypoint.sh +10 -0
- package/agentic-llm/cloudrun/health_server.py +114 -0
- package/agentic-llm/cloudrun/setup-secrets.sh +26 -0
- package/agentic-llm/cloudrun/upload_to_huggingface.py +277 -0
- package/agentic-llm/configs/training_config.json +71 -0
- package/agentic-llm/deployment/DEPLOYMENT_INSTRUCTIONS.md +93 -0
- package/agentic-llm/deployment/fly.toml +52 -0
- package/agentic-llm/docs/BENCHMARK_OPTIMIZATION_GUIDE.md +435 -0
- package/agentic-llm/docs/CLOUD_RUN_DEPLOYMENT.md +368 -0
- package/agentic-llm/docs/DEPLOYMENT_GUIDE.md +475 -0
- package/agentic-llm/docs/DEPLOYMENT_READY.txt +98 -0
- package/agentic-llm/docs/DEPLOYMENT_STATUS.md +389 -0
- package/agentic-llm/docs/DEPLOYMENT_SUMMARY.md +358 -0
- package/agentic-llm/docs/DEPLOY_STATUS.md +69 -0
- package/agentic-llm/docs/FINETUNING_GUIDE.md +483 -0
- package/agentic-llm/docs/INDEX.md +43 -0
- package/agentic-llm/docs/OPTIMIZATION_RESULTS.md +375 -0
- package/agentic-llm/docs/PHI4_FINETUNING_RESEARCH.md +1352 -0
- package/agentic-llm/docs/QUICKSTART.md +124 -0
- package/agentic-llm/docs/README.md +389 -0
- package/agentic-llm/docs/TRAINING_MONITOR.md +77 -0
- package/agentic-llm/docs/USAGE_GUIDE.md +499 -0
- package/agentic-llm/monitor-loop.sh +52 -0
- package/agentic-llm/monitor-training.sh +56 -0
- package/agentic-llm/quantization/quantize.py +255 -0
- package/agentic-llm/requirements.txt +43 -0
- package/agentic-llm/scripts/deploy.sh +120 -0
- package/agentic-llm/scripts/run_benchmarks.sh +53 -0
- package/agentic-llm/scripts/run_finetuning.sh +90 -0
- package/agentic-llm/scripts/test_local.sh +77 -0
- package/agentic-llm/training/data/mcp_tools_dataset.json +140 -0
- package/agentic-llm/training/finetune_mcp.py +306 -0
- package/agentic-llm/training/mcp_dataset.py +395 -0
- package/agentic-llm/training/train.py +347 -0
- package/agentic-llm/validation/data/mcp_validation_set.json +37 -0
- package/agentic-llm/validation/mcp_validator.py +267 -0
- package/agentic-llm/validation/validator.py +319 -0
- package/bench/.claude-flow/metrics/agent-metrics.json +1 -0
- package/bench/.claude-flow/metrics/performance.json +9 -0
- package/bench/.claude-flow/metrics/task-metrics.json +10 -0
- package/bench/BENCHMARK-GUIDE.md +506 -0
- package/bench/BENCHMARK-RESULTS-TEMPLATE.md +253 -0
- package/bench/COMPLETION-SUMMARY.md +409 -0
- package/bench/README.md +217 -0
- package/bench/agents/baseline-agent.js +69 -0
- package/bench/agents/baseline-agent.ts +78 -0
- package/bench/agents/reasoningbank-agent.js +141 -0
- package/bench/agents/reasoningbank-agent.ts +173 -0
- package/bench/benchmark.js +244 -0
- package/bench/benchmark.ts +309 -0
- package/bench/config.json +79 -0
- package/bench/lib/metrics.js +163 -0
- package/bench/lib/metrics.ts +216 -0
- package/bench/lib/report-generator.js +252 -0
- package/bench/lib/report-generator.ts +266 -0
- package/bench/lib/types.js +4 -0
- package/bench/lib/types.ts +117 -0
- package/bench/package.json +36 -0
- package/bench/run-benchmark.sh +67 -0
- package/bench/scenarios/api-design-tasks.js +175 -0
- package/bench/scenarios/api-design-tasks.ts +199 -0
- package/bench/scenarios/coding-tasks.js +199 -0
- package/bench/scenarios/coding-tasks.ts +223 -0
- package/bench/scenarios/debugging-tasks.js +216 -0
- package/bench/scenarios/debugging-tasks.ts +234 -0
- package/bench/scenarios/problem-solving-tasks.js +172 -0
- package/bench/scenarios/problem-solving-tasks.ts +196 -0
- package/bench/tsconfig.json +26 -0
- package/benchmarks/quic-transport.bench.ts +584 -0
- package/claude-flow +34 -0
- package/crates/agentic-flow-quic/.claude-flow/metrics/agent-metrics.json +1 -0
- package/crates/agentic-flow-quic/.claude-flow/metrics/performance.json +87 -0
- package/crates/agentic-flow-quic/.claude-flow/metrics/task-metrics.json +10 -0
- package/crates/agentic-flow-quic/Cargo.toml +66 -0
- package/crates/agentic-flow-quic/IMPLEMENTATION.md +299 -0
- package/crates/agentic-flow-quic/README.md +75 -0
- package/crates/agentic-flow-quic/benches/quic_bench.rs +229 -0
- package/crates/agentic-flow-quic/build.rs +23 -0
- package/crates/agentic-flow-quic/src/client.rs +242 -0
- package/crates/agentic-flow-quic/src/error.rs +100 -0
- package/crates/agentic-flow-quic/src/lib.rs +76 -0
- package/crates/agentic-flow-quic/src/server.rs +213 -0
- package/crates/agentic-flow-quic/src/types.rs +164 -0
- package/crates/agentic-flow-quic/src/wasm.rs +143 -0
- package/crates/agentic-flow-quic/src/wasm_stub.rs +61 -0
- package/crates/agentic-flow-quic/tests/integration_test.rs +254 -0
- package/crates/agentic-flow-quic/wasm-pack-build.sh +17 -0
- package/crates/sqlite-vector-core/.claude-flow/metrics/agent-metrics.json +1 -0
- package/crates/sqlite-vector-core/.claude-flow/metrics/performance.json +87 -0
- package/crates/sqlite-vector-core/.claude-flow/metrics/task-metrics.json +10 -0
- package/crates/sqlite-vector-core/Cargo.lock +942 -0
- package/crates/sqlite-vector-wasm/.claude-flow/metrics/agent-metrics.json +1 -0
- package/crates/sqlite-vector-wasm/.claude-flow/metrics/performance.json +87 -0
- package/crates/sqlite-vector-wasm/.claude-flow/metrics/task-metrics.json +10 -0
- package/crates/sqlite-vector-wasm/Cargo.lock +499 -0
- package/docs/.claude-flow/metrics/performance.json +3 -3
- package/docs/.claude-flow/metrics/task-metrics.json +3 -3
- package/docs/README.md +85 -0
- package/docs/REORGANIZATION_PLAN.md +102 -0
- package/docs/REORGANIZATION_SUMMARY.md +183 -0
- package/docs/agent-integration-guide.md +483 -0
- package/docs/api/mcp-tools/mcp-documentation-review.md +834 -0
- package/docs/api/mcp-tools/mcp-tools-architecture.md +1082 -0
- package/docs/architecture/FEDERATED-AGENTDB-EPHEMERAL-AGENTS.md +680 -0
- package/docs/architecture/FEDERATION-CLI-VALIDATION-REPORT.md +491 -0
- package/docs/features/README.md +87 -0
- package/docs/features/agent-booster/00-INDEX.md +230 -0
- package/docs/features/agent-booster/00-OVERVIEW.md +454 -0
- package/docs/features/agent-booster/01-ARCHITECTURE.md +699 -0
- package/docs/features/agent-booster/02-INTEGRATION.md +771 -0
- package/docs/features/agent-booster/03-BENCHMARKS.md +616 -0
- package/docs/features/agent-booster/04-NPM-SDK.md +673 -0
- package/docs/features/agent-booster/GITHUB-ISSUE.md +523 -0
- package/docs/features/agent-booster/README.md +44 -0
- package/docs/features/agentdb/AGENTDB-INTEGRATION-COMPLETE.md +590 -0
- package/docs/features/agentdb/AGENTDB-LEARNING-SYSTEMS-REPORT.md +783 -0
- package/docs/features/agentdb/AGENTDB-MCP-SECURITY-AUDIT.md +877 -0
- package/docs/features/agentdb/AGENTDB_INTEGRATION_PLAN.md +776 -0
- package/docs/features/agentdb/CAUSAL_RECALL_SEARCH_IMPLEMENTATION.md +141 -0
- package/docs/features/agentdb/CLI_GUIDE.md +826 -0
- package/docs/features/agentdb/CORE_TOOLS_6-10_IMPLEMENTATION.md +376 -0
- package/docs/features/agentdb/LEARNING_TOOLS_6-10.md +474 -0
- package/docs/features/agentdb/MCP_TOOLS_IMPLEMENTATION.md +373 -0
- package/docs/features/agentdb/README.md +86 -0
- package/docs/features/agentdb/TEST_SUITE_SUMMARY.md +222 -0
- package/docs/features/agentdb/VERSION_1.3.0_RELEASE.md +199 -0
- package/docs/features/agentdb/WASM-VECTOR-IMPLEMENTATION.md +422 -0
- package/docs/features/agentdb/agentdb-code-quality-analysis.md +1050 -0
- package/docs/features/agentdb/agentdb-tools-verification.md +498 -0
- package/docs/features/federation/FEDERATION-CLI-INTEGRATION.md +494 -0
- package/docs/features/federation/FEDERATION-IMPLEMENTATION-SUMMARY.md +546 -0
- package/docs/features/federation/FEDERATION-TEST-REPORT.md +504 -0
- package/docs/features/federation/README.md +35 -0
- package/docs/features/quic/BUILD_INSTRUCTIONS.md +220 -0
- package/docs/features/quic/FINAL-VALIDATION.md +336 -0
- package/docs/features/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +349 -0
- package/docs/features/quic/IMPLEMENTATION_STATUS.md +234 -0
- package/docs/features/quic/PERFORMANCE-VALIDATION.md +282 -0
- package/docs/features/quic/QUIC-INTEGRATION-SUMMARY.md +545 -0
- package/docs/features/quic/QUIC-INTEGRATION.md +502 -0
- package/docs/features/quic/QUIC-README.md +226 -0
- package/docs/features/quic/QUIC-STATUS-OLD.md +513 -0
- package/docs/features/quic/QUIC-STATUS.md +451 -0
- package/docs/features/quic/QUIC-VALIDATION-REPORT.md +370 -0
- package/docs/features/quic/QUIC_FINAL_STATUS.md +399 -0
- package/docs/features/quic/QUIC_IMPLEMENTATION_SUMMARY.md +607 -0
- package/docs/features/quic/README-CONDENSED.md +447 -0
- package/docs/features/quic/README.md +79 -0
- package/docs/features/quic/README_QUIC_PHASE1.md +117 -0
- package/docs/features/quic/WASM-INTEGRATION-COMPLETE.md +382 -0
- package/docs/features/quic/quic-research.md +1415 -0
- package/docs/features/quic/quic-tutorial.md +485 -0
- package/docs/features/reasoningbank/MEMORY_VALIDATION_REPORT.md +417 -0
- package/docs/features/reasoningbank/README.md +64 -0
- package/docs/features/reasoningbank/REASONING-AGENTS.md +482 -0
- package/docs/features/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +166 -0
- package/docs/features/reasoningbank/REASONINGBANK-BENCHMARK.md +396 -0
- package/docs/features/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +455 -0
- package/docs/features/reasoningbank/REASONINGBANK-DEMO.md +419 -0
- package/docs/features/reasoningbank/REASONINGBANK-VALIDATION.md +532 -0
- package/docs/features/reasoningbank/REASONINGBANK_ARCHITECTURE.md +663 -0
- package/docs/features/reasoningbank/REASONINGBANK_BACKENDS.md +375 -0
- package/docs/features/reasoningbank/REASONINGBANK_FIXES.md +455 -0
- package/docs/features/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +478 -0
- package/docs/features/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +1059 -0
- package/docs/features/reasoningbank/REASONINGBANK_INVESTIGATION.md +380 -0
- package/docs/features/router/README.md +38 -0
- package/docs/features/router/ROUTER_CONFIG_REFERENCE.md +577 -0
- package/docs/features/router/ROUTER_USER_GUIDE.md +865 -0
- package/docs/features/router/TOP20_MODELS_MATRIX.md +80 -0
- package/docs/guides/MCP-AUTHENTICATION.md +2017 -0
- package/docs/guides/MCP-QUICKSTART.md +521 -0
- package/docs/guides/MCP-TOOLS.md +1050 -850
- package/docs/guides/MCP-TROUBLESHOOTING.md +1602 -0
- package/docs/guides/NPM_STATS_GUIDE.md +407 -0
- package/docs/parallel-execution-implementation.md +525 -0
- package/docs/plans/.claude-flow/metrics/agent-metrics.json +1 -0
- package/docs/plans/.claude-flow/metrics/performance.json +87 -0
- package/docs/plans/.claude-flow/metrics/task-metrics.json +10 -0
- package/docs/releases/archive/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +1529 -0
- package/docs/releases/archive/GITHUB-ISSUE-BUILD-FIX.md +756 -0
- package/docs/releases/archive/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +643 -0
- package/docs/releases/archive/GITHUB-ISSUE-v1.4.6.md +1453 -0
- package/docs/releases/archive/GITHUB-ISSUE-v1.5.0.md +468 -0
- package/docs/releases/archive/HOTFIX-v1.2.1.md +315 -0
- package/docs/releases/archive/INTEGRATION-COMPLETE.md +291 -0
- package/docs/releases/archive/MIGRATION-STATUS.md +118 -0
- package/docs/releases/archive/MIGRATION_v1.7.0.md +299 -0
- package/docs/releases/archive/NPM-PUBLISH-GUIDE-v1.2.0.md +440 -0
- package/docs/releases/archive/PUBLICATION_REPORT_v1.5.11.md +421 -0
- package/docs/releases/archive/PUBLISH-COMPLETE-v1.2.0.md +308 -0
- package/docs/releases/archive/README.md +82 -0
- package/docs/releases/archive/RELEASE-v1.2.0.md +339 -0
- package/docs/releases/archive/VALIDATION_REPORT_v1.7.0.md +418 -0
- package/docs/releases/archive/ZERO-BUILD-MIGRATION.md +227 -0
- package/docs/releases/archive/github-issue-agentdb-integration.md +379 -0
- package/docs/releases/archive/v1.4.6-reasoningbank-release.md +541 -0
- package/docs/releases/archive/v1.4.7-bugfix.md +212 -0
- package/docs/releases/archive/v1.5.14-QUIC-TRANSPORT.md +201 -0
- package/docs/releases/archive/v1.5.9-DOCKER-VERIFICATION.md +263 -0
- package/docs/releases/archive/v1.5.9-RELEASE-SUMMARY.md +222 -0
- package/docs/swarm-optimization-report.md +626 -0
- package/index.html +15 -0
- package/memory/agents/README.md +31 -0
- package/memory/claude-flow@alpha-data.json +5 -0
- package/memory/memory-store.json +69 -0
- package/memory/sessions/README.md +32 -0
- package/package.json +44 -169
- package/src/App.css +5 -0
- package/src/App.tsx +15 -0
- package/src/components/AgentTypes.tsx +122 -0
- package/src/components/CoreComponents.tsx +131 -0
- package/src/components/Features.tsx +102 -0
- package/src/components/Footer.tsx +159 -0
- package/src/components/Hero.tsx +87 -0
- package/src/components/PerformanceMetrics.tsx +125 -0
- package/src/components/QuickStart.tsx +178 -0
- package/src/index.css +87 -0
- package/src/main.tsx +10 -0
- package/src/pages/LandingPage.tsx +23 -0
- package/src/transport/quic.ts +258 -0
- package/tailwind.config.ts +79 -0
- package/vite.config.ts +20 -0
- package/dist/agentdb/tests/frontier-features.test.js +0 -665
- package/dist/cli/federation-cli.d.ts +0 -53
- package/dist/reasoningbank/config/reasoningbank-types.ts +0 -57
- package/validation/docker/Dockerfile.reasoningbank-local +0 -24
- package/validation/docker/Dockerfile.reasoningbank-test +0 -21
- package/validation/docker/README.md +0 -234
- package/validation/docker/docker-compose.yml +0 -29
- package/validation/docker/test-reasoningbank-npx.mjs +0 -442
- package/validation/docker-e2e-validation.sh +0 -212
- package/validation/docker-quic-test.sh +0 -42
- package/validation/docker-quic-validation.sh +0 -60
- package/validation/quic-deep-validation.ts +0 -304
- package/validation/test-quic-integration.ts +0 -243
- package/validation/test-quic-wasm.ts +0 -94
- package/validation/test-regression.mjs +0 -246
- package/validation/test-wasm-e2e.ts +0 -354
- package/validation/test-wasm-integration.ts +0 -99
- package/wasm/quic/agentic_flow_quic.d.ts +0 -37
- package/wasm/quic/agentic_flow_quic_bg.wasm.d.ts +0 -19
- package/wasm/reasoningbank/reasoningbank_wasm.d.ts +0 -41
- package/wasm/reasoningbank/reasoningbank_wasm_bg.wasm.d.ts +0 -20
- /package/.claude/agents/{goal → reasoning}/agent.md +0 -0
- /package/{.claude/skills/.claude-flow → .claude-flow}/metrics/agent-metrics.json +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/MIGRATION_SUMMARY.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/custom/test-long-runner.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/optimization/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/payments/agentic-payments.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/consensus-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/matrix-optimizer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/pagerank-analyzer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/performance-optimizer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/trading-predictor.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/swarm/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/test-neural.md +0 -0
- /package/{.claude → agentic-flow/.claude}/answer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/claude-flow-help.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/claude-flow-memory.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/claude-flow-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/ask.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/code.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/debug.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/devops.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/docs-writer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/integration.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/mcp.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/post-deployment-monitoring-mode.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/refinement-optimization-mode.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/security-review.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/sparc.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/spec-pseudocode.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/supabase-admin.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/tutorial.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc.md +0 -0
- /package/{.claude → agentic-flow/.claude}/mcp.json +0 -0
- /package/{.claude → agentic-flow/.claude}/openrouter-models-research.md +0 -0
- /package/{.claude → agentic-flow/.claude}/openrouter-quick-reference.md +0 -0
- /package/{.claude → agentic-flow/.claude}/settings-backup.json +0 -0
- /package/{.claude → agentic-flow/.claude}/settings-optimized.json +0 -0
- /package/{.claude → agentic-flow/.claude}/settings-simple.json +0 -0
- /package/{.claude/skills/skill-builder → agentic-flow/.claude/skills}/.claude-flow/metrics/agent-metrics.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/.claude-flow/metrics/performance.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/skill-builder/.claude-flow/metrics/performance.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/skill-builder/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/benchmarks/comprehensive-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/benchmarks/frontier-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/benchmarks/reflexion-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/cli/agentdb-cli.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/CausalMemoryGraph.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/CausalRecall.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/EmbeddingService.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/ExplainableRecall.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/NightlyLearner.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/ReflexionMemory.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/SkillLibrary.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/frontier-index.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/index.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/index.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/optimizations/BatchOperations.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/optimizations/QueryOptimizer.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/optimizations/index.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgentDirect.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeFlowAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/codeReviewAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/dataAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/directApiAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/webResearchAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/agent-manager.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/claude-code-wrapper.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/config-wizard.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/federation-cli.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp-manager.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/skills-manager.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/update-message.js +0 -0
- /package/{dist → agentic-flow/dist}/cli-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/cli-standalone-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/config/claudeFlow.js +0 -0
- /package/{dist → agentic-flow/dist}/config/quic.js +0 -0
- /package/{dist → agentic-flow/dist}/config/tools.js +0 -0
- /package/{dist → agentic-flow/dist}/examples/multi-agent-orchestration.js +0 -0
- /package/{dist → agentic-flow/dist}/examples/use-goal-planner.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/EphemeralAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHub.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubClient.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubServer.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/SecurityManager.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/agent-debug-stream.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/debug-stream.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/index.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/realtime-federation.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter-debug.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter.js +0 -0
- /package/{dist → agentic-flow/dist}/health.js +0 -0
- /package/{dist → agentic-flow/dist}/index.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/claudeFlowSdkServer.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/claude-flow-sdk.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-sse.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-streaming-updated.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/poc-stdio.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/stdio-full.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-agent.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-command.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/execute.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/list.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/parallel.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/init.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/orchestrate.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/spawn.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/types/index.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/standalone-stdio.js +0 -0
- /package/{dist → agentic-flow/dist}/memory/SharedMemoryPool.js +0 -0
- /package/{dist → agentic-flow/dist}/memory/index.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-gemini.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-onnx.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-openrouter.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-requesty.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/provider-instructions.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/quic-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/tool-emulation.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/AdvancedMemory.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/HybridBackend.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/agentdb-adapter.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/backend-selector.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/config/reasoningbank-types.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/config/reasoningbank.yaml +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/consolidate.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/database.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/distill.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/judge.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/matts.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/memory-engine.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/retrieve.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/queries.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/schema.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/demo-comparison.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/post-task.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/pre-task.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index-new.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/distill-failure.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/distill-success.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/judge.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/matts-aggregate.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-integration.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-retrieval.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-validation.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/types/index.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/config.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/embeddings.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/mmr.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/pii-scrubber.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/wasm-adapter.js +0 -0
- /package/{dist → agentic-flow/dist}/router/model-mapping.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/anthropic.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/gemini.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local-optimized.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-phi4.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/openrouter.js +0 -0
- /package/{dist → agentic-flow/dist}/router/router.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-integration.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-integration.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-local.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-openrouter.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-phi4.js +0 -0
- /package/{dist → agentic-flow/dist}/router/types.js +0 -0
- /package/{dist → agentic-flow/dist}/swarm/index.js +0 -0
- /package/{dist → agentic-flow/dist}/swarm/quic-coordinator.js +0 -0
- /package/{dist → agentic-flow/dist}/swarm/transport-router.js +0 -0
- /package/{dist → agentic-flow/dist}/transport/index.js +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic-handshake.js +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentBoosterPreprocessor.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentLoader.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentdb-runtime-patch.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentdbCommands.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/cli.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/logger.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/math.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/mcpCommands.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/model-downloader.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelCapabilities.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelOptimizer.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/reasoningbankCommands.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/retry.js +0 -0
- /package/{docs → agentic-flow/docs}/AGENTDB_TESTING.md +0 -0
- /package/{docs → agentic-flow/docs}/INTEGRATION-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/QUIC_FINAL_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/README_QUIC_PHASE1.md +0 -0
- /package/{docs → agentic-flow/docs}/TEST-V1.7.8.Dockerfile +0 -0
- /package/{docs → agentic-flow/docs}/TEST-V1.7.9-NODE20.Dockerfile +0 -0
- /package/{docs → agentic-flow/docs}/TEST-V1.7.9.Dockerfile +0 -0
- /package/{docs → agentic-flow/docs}/architecture/FEDERATION-DATA-LIFECYCLE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/COMPLETE_VALIDATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/DOCKER_MCP_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/DOCKER_OPENROUTER_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FASTMCP_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FASTMCP_INTEGRATION_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FINAL_SDK_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FINAL_SYSTEM_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FINAL_VALIDATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FIXES-APPLIED-STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FLOW-NEXUS-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/HOTFIX_1.1.7.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/INTEGRATION_CONFIRMED.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MCP_CLI_TOOLS_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MCP_INTEGRATION_SUCCESS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MCP_PROXY_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MODEL_VALIDATION_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_ENV_VARS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_FINAL_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_IMPLEMENTATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_OPTIMIZATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_PHI4_RESEARCH.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_RUNTIME_INTEGRATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_SUCCESS_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_VS_CLAUDE_QUALITY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER-FIX-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER-SUCCESS-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER_ISSUES_AND_FIXES.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER_PROXY_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER_VALIDATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPTIMIZATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PACKAGE-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PHI4_HYPEROPTIMIZATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PROVIDER_INSTRUCTION_OPTIMIZATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PROXY_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/README.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/README_SDK_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/README_V1.1.11.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/RELEASE-NOTES-v1.1.13.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/RELEASE-SUMMARY-v1.1.14-beta.1.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/RESEARCH_COMPLETE.txt +0 -0
- /package/{docs → agentic-flow/docs}/archived/ROUTER_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/SDK-SETUP-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/SDK_INTEGRATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/TOOL_INSTRUCTION_ENHANCEMENT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.10_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.11_COMPLETE_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.11_MCP_PROXY_FIX.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.14-BETA-READY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/VALIDATION-RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/VALIDATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/VALIDATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/claude-flow-integration.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/docker-cli-validation.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/docker-memory-coordination-status.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/mcp-validation-summary.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/quick-wins-validation.md +0 -0
- /package/{docs → agentic-flow/docs}/benchmarks/optimization-guide.md +0 -0
- /package/{docs → agentic-flow/docs}/benchmarks/quic-results.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/AGENT-DEBUG-STREAMING.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DEBUG-STREAMING-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DEBUG-STREAMING.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DEPLOYMENT-VALIDATION-SUCCESS.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DOCKER-FEDERATION-DEEP-REVIEW.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/AGENT-BOOSTER-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/CLAUDE-FLOW-INTEGRATION-ANALYSIS.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/CLI-INTEGRATION-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/INTEGRATION-QUICK-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/INTEGRATION-STATUS-CORRECTED.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/INTEGRATION_COMPLETE_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/QUIC-WASM-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/README.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/WASM_ESM_FIX.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/WASM_INTEGRATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/CLAUDE_AGENTS_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/CLAUDE_FLOW_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/FASTMCP_CLI_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/FLOW-NEXUS-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/README.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/fastmcp-implementation-plan.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/fastmcp-poc-integration.md +0 -0
- /package/{docs → agentic-flow/docs}/issues/ISSUE-SUPABASE-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/MCP-CLI-VALIDATION-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/README.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/strange-loops-test.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/BUILD_INSTRUCTIONS.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/IMPLEMENTATION_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC-INTEGRATION-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC-README.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC_IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/README-CONDENSED.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/quic-research.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/quic-tutorial.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/00-INDEX.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/00-OVERVIEW.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/01-ARCHITECTURE.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/02-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/03-BENCHMARKS.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/04-NPM-SDK.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/GITHUB-ISSUE.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/README.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster-cli-integration.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/00-overview.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/01-api-research.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/02-architecture.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/03-implementation-phases.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/04-testing-strategy.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/05-migration-guide.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/README.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/DEPENDENCY_GRAPH.mermaid +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/EXECUTION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/GOAP_IMPLEMENTATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/QUICK_START.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-research/QUANTUM_RESEARCH_LITERATURE_REVIEW.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-research/README.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/FINAL-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/PERFORMANCE-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/QUIC-STATUS-OLD.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/QUIC-STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/QUIC-VALIDATION-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/WASM-INTEGRATION-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/MEMORY_VALIDATION_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/README.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONING-AGENTS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-BENCHMARK.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-DEMO.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_ARCHITECTURE.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_BACKENDS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_FIXES.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_INVESTIGATION.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-v1.4.6.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-v1.5.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/HOTFIX-v1.2.1.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/NPM-PUBLISH-GUIDE-v1.2.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/PUBLISH-COMPLETE-v1.2.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/README.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/RELEASE-v1.2.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/RELEASE-v1.8.13.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/v1.4.6-reasoningbank-release.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/v1.4.7-bugfix.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/v1.5.14-QUIC-TRANSPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/router/README.md +0 -0
- /package/{docs → agentic-flow/docs}/router/ROUTER_CONFIG_REFERENCE.md +0 -0
- /package/{docs → agentic-flow/docs}/router/ROUTER_USER_GUIDE.md +0 -0
- /package/{docs → agentic-flow/docs}/router/TOP20_MODELS_MATRIX.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/INDEX.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/QUICKSTART.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/README.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/SUPABASE-REALTIME-FEDERATION.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/TEST-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/migrations/001_create_federation_tables.sql +0 -0
- /package/{docs → agentic-flow/docs}/testing/AGENT-SYSTEM-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/FINAL-TESTING-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/README.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/REGRESSION-TEST-RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/STREAMING-AND-MCP-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/v1.7.1-QUICK-START.md +0 -0
- /package/{docs → agentic-flow/docs}/validation/README.md +0 -0
- /package/{docs → agentic-flow/docs}/validation/reports/REGRESSION-TEST-V1.8.11.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/BENCHMARK_AND_OPTIMIZATION_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/DOCKER_VALIDATION_RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/NO_REGRESSIONS_CONFIRMED.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/NPM-PACKAGE-ANALYSIS-FINAL.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/README.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/V2.7.0-ALPHA.10_FINAL_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/V2.7.0-ALPHA.9_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/v1.6.0-QUIC-CLI-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/v1.6.1-NPM-PUBLISH-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/PUBLICATION_REPORT_v1.5.11.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/README.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/v1.5.9-DOCKER-VERIFICATION.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/v1.5.9-RELEASE-SUMMARY.md +0 -0
- /package/{scripts → agentic-flow/scripts}/build.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-code +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-flow +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-flow.bat +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-flow.ps1 +0 -0
- /package/{scripts → agentic-flow/scripts}/postinstall.js +0 -0
- /package/{scripts → agentic-flow/scripts}/run-validation.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-agentdb.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-all-commands.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-claude-flow-sdk.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-fastmcp-docker.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-fastmcp-poc.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-functionality.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-onnx-docker.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-router-docker.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/validate-mcp-cli-tools.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/validate-providers.sh +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/README.md +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/agentic_flow_quic.js +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/agentic_flow_quic_bg.wasm +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/package.json +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/package.json +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/reasoningbank_wasm.js +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/reasoningbank_wasm_bg.js +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/reasoningbank_wasm_bg.wasm +0 -0
|
@@ -0,0 +1,1602 @@
|
|
|
1
|
+
# MCP Tools Troubleshooting Guide
|
|
2
|
+
|
|
3
|
+
**Version:** 1.0.0
|
|
4
|
+
**Last Updated:** 2025-10-22
|
|
5
|
+
**Coverage:** 4 MCP servers, 233+ tools
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Table of Contents
|
|
10
|
+
|
|
11
|
+
1. [Quick Diagnostics](#quick-diagnostics)
|
|
12
|
+
2. [Common Issues Matrix](#common-issues-matrix)
|
|
13
|
+
3. [Per-Server Troubleshooting](#per-server-troubleshooting)
|
|
14
|
+
- [Claude Flow Issues](#claude-flow-issues)
|
|
15
|
+
- [AgentDB Issues](#agentdb-issues)
|
|
16
|
+
- [Flow Nexus Issues](#flow-nexus-issues)
|
|
17
|
+
- [Agentic Payments Issues](#agentic-payments-issues)
|
|
18
|
+
4. [Diagnostic Commands](#diagnostic-commands)
|
|
19
|
+
5. [Debug Mode](#debug-mode)
|
|
20
|
+
6. [Error Code Reference](#error-code-reference)
|
|
21
|
+
7. [Getting Help](#getting-help)
|
|
22
|
+
8. [FAQ](#faq)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Quick Diagnostics
|
|
27
|
+
|
|
28
|
+
**First Steps (run these in order):**
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# 1. Check MCP server installation
|
|
32
|
+
claude mcp list
|
|
33
|
+
|
|
34
|
+
# 2. Verify Claude Code version
|
|
35
|
+
claude --version
|
|
36
|
+
|
|
37
|
+
# 3. Test basic connectivity
|
|
38
|
+
npx claude-flow@alpha --version
|
|
39
|
+
|
|
40
|
+
# 4. Check environment variables
|
|
41
|
+
env | grep -E "(ANTHROPIC|OPENROUTER|GOOGLE)"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**Expected output:**
|
|
45
|
+
```
|
|
46
|
+
claude-flow (running)
|
|
47
|
+
agentic-flow (optional)
|
|
48
|
+
flow-nexus (optional)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
If any server is missing or stopped, see [MCP Server Not Found](#1-mcp-server-not-found).
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Common Issues Matrix
|
|
56
|
+
|
|
57
|
+
| Issue | Symptoms | Cause | Quick Fix | Detailed Section |
|
|
58
|
+
|-------|----------|-------|-----------|------------------|
|
|
59
|
+
| **MCP server not found** | "Server 'X' not available" | Not installed/started | `claude mcp add <server>` | [§3.1](#31-server-not-installed) |
|
|
60
|
+
| **Authentication failed** | "AUTH_REQUIRED" error | No login session | Run login command | [§3.3](#33-flow-nexus-authentication) |
|
|
61
|
+
| **Tool not available** | "Unknown tool" error | Server not started | Restart MCP server | [§3.1](#31-server-not-installed) |
|
|
62
|
+
| **Rate limit exceeded** | "RATE_LIMITED" error | Too many requests | Wait or upgrade tier | [§3.3](#flow-nexus-rate-limits) |
|
|
63
|
+
| **Invalid parameters** | "INVALID_PARAMS" error | Wrong param types | Check tool docs | [§6](#error-code-reference) |
|
|
64
|
+
| **Connection timeout** | No response after 30s | Network/server issue | Check network, restart | [§4.3](#43-network-diagnostics) |
|
|
65
|
+
| **Out of credits** | "INSUFFICIENT_CREDITS" | Low balance | Add credits | [§3.3](#flow-nexus-credit-issues) |
|
|
66
|
+
| **Keypair invalid** | "SIGNATURE_INVALID" error | Wrong private key | Regenerate keypair | [§3.4](#agentic-payments-keypair-issues) |
|
|
67
|
+
| **Database locked** | "SQLITE_BUSY" error | Concurrent access | Wait, retry, or restart | [§3.2](#agentdb-database-issues) |
|
|
68
|
+
| **Sandbox timeout** | Sandbox unresponsive | Long-running code | Increase timeout param | [§3.3](#flow-nexus-sandbox-issues) |
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Per-Server Troubleshooting
|
|
73
|
+
|
|
74
|
+
### 3.1 Claude Flow Issues
|
|
75
|
+
|
|
76
|
+
**Server installation and basic operations.**
|
|
77
|
+
|
|
78
|
+
#### Server Not Installed
|
|
79
|
+
|
|
80
|
+
**Symptoms:**
|
|
81
|
+
```
|
|
82
|
+
Error: MCP server 'claude-flow' not found
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Solutions:**
|
|
86
|
+
|
|
87
|
+
1. **Install Claude Flow:**
|
|
88
|
+
```bash
|
|
89
|
+
# Add MCP server
|
|
90
|
+
claude mcp add claude-flow npx claude-flow@alpha mcp start
|
|
91
|
+
|
|
92
|
+
# Verify installation
|
|
93
|
+
claude mcp list
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
2. **Restart Claude Code:**
|
|
97
|
+
```bash
|
|
98
|
+
# Close and reopen Claude Code
|
|
99
|
+
# Or restart the terminal
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
3. **Check npm installation:**
|
|
103
|
+
```bash
|
|
104
|
+
# Verify claude-flow is installed
|
|
105
|
+
npm list -g | grep claude-flow
|
|
106
|
+
|
|
107
|
+
# If missing, install globally
|
|
108
|
+
npm install -g @ruvnet/claude-flow@alpha
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### Server Not Starting
|
|
112
|
+
|
|
113
|
+
**Symptoms:**
|
|
114
|
+
```
|
|
115
|
+
MCP server 'claude-flow' failed to start
|
|
116
|
+
Timeout waiting for server initialization
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Solutions:**
|
|
120
|
+
|
|
121
|
+
1. **Check Node.js version:**
|
|
122
|
+
```bash
|
|
123
|
+
node --version # Requires v18+ or v20+
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
2. **Clear npm cache:**
|
|
127
|
+
```bash
|
|
128
|
+
npm cache clean --force
|
|
129
|
+
npm install -g @ruvnet/claude-flow@alpha
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
3. **Check for port conflicts:**
|
|
133
|
+
```bash
|
|
134
|
+
# Claude Flow uses ephemeral ports
|
|
135
|
+
# No manual port configuration needed
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
4. **View detailed logs:**
|
|
139
|
+
```bash
|
|
140
|
+
# Enable debug mode (see §5)
|
|
141
|
+
DEBUG=claude-flow:* npx claude-flow@alpha mcp start
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
#### Swarm Initialization Failures
|
|
145
|
+
|
|
146
|
+
**Symptoms:**
|
|
147
|
+
```javascript
|
|
148
|
+
// Returns error
|
|
149
|
+
mcp__claude-flow__swarm_init({ topology: 'mesh' });
|
|
150
|
+
// Error: Failed to initialize swarm
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**Solutions:**
|
|
154
|
+
|
|
155
|
+
1. **Check topology parameter:**
|
|
156
|
+
```javascript
|
|
157
|
+
// ✅ Valid topologies
|
|
158
|
+
mcp__claude-flow__swarm_init({ topology: 'mesh' });
|
|
159
|
+
mcp__claude-flow__swarm_init({ topology: 'hierarchical' });
|
|
160
|
+
mcp__claude-flow__swarm_init({ topology: 'ring' });
|
|
161
|
+
mcp__claude-flow__swarm_init({ topology: 'star' });
|
|
162
|
+
|
|
163
|
+
// ❌ Invalid
|
|
164
|
+
mcp__claude-flow__swarm_init({ topology: 'custom' }); // Not supported
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
2. **Check maxAgents limit:**
|
|
168
|
+
```javascript
|
|
169
|
+
// ✅ Within limits
|
|
170
|
+
mcp__claude-flow__swarm_init({
|
|
171
|
+
topology: 'mesh',
|
|
172
|
+
maxAgents: 8 // Default: 8, Max: 100
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
// ❌ Exceeds limit
|
|
176
|
+
mcp__claude-flow__swarm_init({
|
|
177
|
+
topology: 'mesh',
|
|
178
|
+
maxAgents: 200 // Error: exceeds max
|
|
179
|
+
});
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
3. **Destroy existing swarm:**
|
|
183
|
+
```javascript
|
|
184
|
+
// Get swarm ID
|
|
185
|
+
const status = mcp__claude-flow__swarm_status();
|
|
186
|
+
|
|
187
|
+
// Destroy if exists
|
|
188
|
+
if (status.swarmId) {
|
|
189
|
+
mcp__claude-flow__swarm_destroy({
|
|
190
|
+
swarmId: status.swarmId
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// Retry initialization
|
|
195
|
+
mcp__claude-flow__swarm_init({ topology: 'mesh' });
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
#### Memory Operations Failing
|
|
199
|
+
|
|
200
|
+
**Symptoms:**
|
|
201
|
+
```javascript
|
|
202
|
+
// No error, but memory not persisting
|
|
203
|
+
mcp__claude-flow__memory_usage({
|
|
204
|
+
action: 'store',
|
|
205
|
+
key: 'test',
|
|
206
|
+
value: 'data'
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
// Returns empty
|
|
210
|
+
mcp__claude-flow__memory_usage({
|
|
211
|
+
action: 'retrieve',
|
|
212
|
+
key: 'test'
|
|
213
|
+
});
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**Solutions:**
|
|
217
|
+
|
|
218
|
+
1. **Check action parameter:**
|
|
219
|
+
```javascript
|
|
220
|
+
// ✅ Valid actions
|
|
221
|
+
'store', 'retrieve', 'list', 'delete', 'search'
|
|
222
|
+
|
|
223
|
+
// ❌ Invalid
|
|
224
|
+
'save', 'get', 'find' // Use correct action names
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
2. **Verify namespace:**
|
|
228
|
+
```javascript
|
|
229
|
+
// Namespaces are isolated
|
|
230
|
+
mcp__claude-flow__memory_usage({
|
|
231
|
+
action: 'store',
|
|
232
|
+
key: 'test',
|
|
233
|
+
namespace: 'project-a', // Stored in namespace
|
|
234
|
+
value: 'data'
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
// Won't find it in default namespace
|
|
238
|
+
mcp__claude-flow__memory_usage({
|
|
239
|
+
action: 'retrieve',
|
|
240
|
+
key: 'test' // Uses 'default' namespace
|
|
241
|
+
});
|
|
242
|
+
|
|
243
|
+
// ✅ Correct retrieval
|
|
244
|
+
mcp__claude-flow__memory_usage({
|
|
245
|
+
action: 'retrieve',
|
|
246
|
+
key: 'test',
|
|
247
|
+
namespace: 'project-a' // Match the namespace
|
|
248
|
+
});
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
3. **Check value serialization:**
|
|
252
|
+
```javascript
|
|
253
|
+
// ✅ Store objects as JSON strings
|
|
254
|
+
mcp__claude-flow__memory_usage({
|
|
255
|
+
action: 'store',
|
|
256
|
+
key: 'config',
|
|
257
|
+
value: JSON.stringify({ setting: 'value' })
|
|
258
|
+
});
|
|
259
|
+
|
|
260
|
+
// ✅ Retrieve and parse
|
|
261
|
+
const result = mcp__claude-flow__memory_usage({
|
|
262
|
+
action: 'retrieve',
|
|
263
|
+
key: 'config'
|
|
264
|
+
});
|
|
265
|
+
const config = JSON.parse(result.value);
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
### 3.2 AgentDB Issues
|
|
271
|
+
|
|
272
|
+
**Agent memory, learning, and database operations.**
|
|
273
|
+
|
|
274
|
+
#### Database Initialization
|
|
275
|
+
|
|
276
|
+
**Symptoms:**
|
|
277
|
+
```bash
|
|
278
|
+
Error: AgentDB not initialized
|
|
279
|
+
SQLITE_CANTOPEN: unable to open database file
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
**Solutions:**
|
|
283
|
+
|
|
284
|
+
1. **Initialize database:**
|
|
285
|
+
```bash
|
|
286
|
+
# Create .agentdb directory
|
|
287
|
+
mkdir -p .agentdb
|
|
288
|
+
|
|
289
|
+
# Initialize with CLI
|
|
290
|
+
npx agentdb init
|
|
291
|
+
|
|
292
|
+
# Or set environment variable
|
|
293
|
+
export AGENTDB_PATH="$(pwd)/.agentdb"
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
2. **Check permissions:**
|
|
297
|
+
```bash
|
|
298
|
+
# Verify write permissions
|
|
299
|
+
ls -la .agentdb/
|
|
300
|
+
|
|
301
|
+
# Fix permissions if needed
|
|
302
|
+
chmod 755 .agentdb
|
|
303
|
+
chmod 644 .agentdb/*.db
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
3. **Check disk space:**
|
|
307
|
+
```bash
|
|
308
|
+
df -h .
|
|
309
|
+
# Ensure at least 100MB free
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
#### Database Locked
|
|
313
|
+
|
|
314
|
+
**Symptoms:**
|
|
315
|
+
```
|
|
316
|
+
SQLITE_BUSY: database is locked
|
|
317
|
+
Error: Cannot acquire lock after 5 seconds
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
**Solutions:**
|
|
321
|
+
|
|
322
|
+
1. **Close other connections:**
|
|
323
|
+
```bash
|
|
324
|
+
# Find processes using AgentDB
|
|
325
|
+
lsof .agentdb/*.db
|
|
326
|
+
|
|
327
|
+
# Kill if necessary (use with caution)
|
|
328
|
+
kill <PID>
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
2. **Wait and retry:**
|
|
332
|
+
```javascript
|
|
333
|
+
// Implement retry logic
|
|
334
|
+
async function retryQuery(fn, retries = 3) {
|
|
335
|
+
for (let i = 0; i < retries; i++) {
|
|
336
|
+
try {
|
|
337
|
+
return await fn();
|
|
338
|
+
} catch (error) {
|
|
339
|
+
if (error.code === 'SQLITE_BUSY' && i < retries - 1) {
|
|
340
|
+
await new Promise(resolve => setTimeout(resolve, 1000 * (i + 1)));
|
|
341
|
+
continue;
|
|
342
|
+
}
|
|
343
|
+
throw error;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
// Usage
|
|
349
|
+
await retryQuery(() =>
|
|
350
|
+
mcp__agentdb__causal_query({ limit: 10 })
|
|
351
|
+
);
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
3. **Enable WAL mode (if using CLI):**
|
|
355
|
+
```bash
|
|
356
|
+
# Write-Ahead Logging for better concurrency
|
|
357
|
+
npx agentdb config set wal_mode=ON
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
#### Causal Memory Issues
|
|
361
|
+
|
|
362
|
+
**Symptoms:**
|
|
363
|
+
```javascript
|
|
364
|
+
// Adding edge fails
|
|
365
|
+
mcp__agentdb__causal_add_edge({
|
|
366
|
+
from: 'event1',
|
|
367
|
+
to: 'event2',
|
|
368
|
+
metadata: {}
|
|
369
|
+
});
|
|
370
|
+
// Error: Invalid edge data
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
**Solutions:**
|
|
374
|
+
|
|
375
|
+
1. **Validate edge parameters:**
|
|
376
|
+
```javascript
|
|
377
|
+
// ✅ Valid edge
|
|
378
|
+
mcp__agentdb__causal_add_edge({
|
|
379
|
+
from: 'user_login', // Source event
|
|
380
|
+
to: 'load_dashboard', // Target event
|
|
381
|
+
relation: 'causes', // Relationship type
|
|
382
|
+
confidence: 0.95, // Optional: 0-1
|
|
383
|
+
metadata: { // Optional
|
|
384
|
+
latency_ms: 120,
|
|
385
|
+
user_id: 'abc123'
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
|
|
389
|
+
// ❌ Invalid
|
|
390
|
+
mcp__agentdb__causal_add_edge({
|
|
391
|
+
from: '', // Empty string not allowed
|
|
392
|
+
to: null, // Null not allowed
|
|
393
|
+
confidence: 1.5 // Must be 0-1
|
|
394
|
+
});
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
2. **Check for circular dependencies:**
|
|
398
|
+
```javascript
|
|
399
|
+
// Detect cycles
|
|
400
|
+
const cycles = mcp__agentdb__causal_detect_cycles();
|
|
401
|
+
|
|
402
|
+
if (cycles.length > 0) {
|
|
403
|
+
console.log('Circular dependencies found:', cycles);
|
|
404
|
+
// Remove or restructure edges
|
|
405
|
+
}
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
3. **Query before adding:**
|
|
409
|
+
```javascript
|
|
410
|
+
// Check if edge already exists
|
|
411
|
+
const existing = mcp__agentdb__causal_query({
|
|
412
|
+
from: 'event1',
|
|
413
|
+
to: 'event2',
|
|
414
|
+
limit: 1
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
if (!existing.edges || existing.edges.length === 0) {
|
|
418
|
+
mcp__agentdb__causal_add_edge({ ... });
|
|
419
|
+
}
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
#### Reflexion Memory Issues
|
|
423
|
+
|
|
424
|
+
**Symptoms:**
|
|
425
|
+
```javascript
|
|
426
|
+
// Self-critique not working
|
|
427
|
+
mcp__agentdb__reflexion_add_trajectory({
|
|
428
|
+
task: 'solve_problem',
|
|
429
|
+
actions: [...],
|
|
430
|
+
outcome: 'failed'
|
|
431
|
+
});
|
|
432
|
+
// No error, but no learning improvement
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
**Solutions:**
|
|
436
|
+
|
|
437
|
+
1. **Provide detailed trajectory:**
|
|
438
|
+
```javascript
|
|
439
|
+
// ✅ Complete trajectory with context
|
|
440
|
+
mcp__agentdb__reflexion_add_trajectory({
|
|
441
|
+
task: 'implement_authentication',
|
|
442
|
+
actions: [
|
|
443
|
+
{ step: 1, action: 'research_patterns', duration_ms: 5000 },
|
|
444
|
+
{ step: 2, action: 'write_code', duration_ms: 15000 },
|
|
445
|
+
{ step: 3, action: 'test_implementation', duration_ms: 8000 }
|
|
446
|
+
],
|
|
447
|
+
outcome: 'success', // 'success' | 'failed' | 'partial'
|
|
448
|
+
reflection: 'Should have written tests first',
|
|
449
|
+
learned_patterns: ['tdd', 'auth_best_practices'],
|
|
450
|
+
metadata: {
|
|
451
|
+
complexity: 'medium',
|
|
452
|
+
confidence: 0.8
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
2. **Query learning history:**
|
|
458
|
+
```javascript
|
|
459
|
+
// Check what patterns were learned
|
|
460
|
+
const learnings = mcp__agentdb__reflexion_query({
|
|
461
|
+
task: 'implement_authentication',
|
|
462
|
+
outcome: 'success',
|
|
463
|
+
limit: 10
|
|
464
|
+
});
|
|
465
|
+
|
|
466
|
+
console.log('Learned from past:', learnings);
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
3. **Run nightly learner:**
|
|
470
|
+
```javascript
|
|
471
|
+
// Discover patterns from trajectories
|
|
472
|
+
const patterns = mcp__agentdb__nightly_discover_patterns({
|
|
473
|
+
min_frequency: 3, // Minimum occurrences
|
|
474
|
+
min_confidence: 0.7, // Minimum confidence
|
|
475
|
+
time_window_hours: 24 // Look back period
|
|
476
|
+
});
|
|
477
|
+
|
|
478
|
+
console.log('Discovered patterns:', patterns);
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
#### Skill Library Issues
|
|
482
|
+
|
|
483
|
+
**Symptoms:**
|
|
484
|
+
```javascript
|
|
485
|
+
// Skill not found
|
|
486
|
+
mcp__agentdb__skill_retrieve({ skill_id: 'my-skill' });
|
|
487
|
+
// Error: Skill not found
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
**Solutions:**
|
|
491
|
+
|
|
492
|
+
1. **List available skills:**
|
|
493
|
+
```javascript
|
|
494
|
+
// See all stored skills
|
|
495
|
+
const skills = mcp__agentdb__skill_list({
|
|
496
|
+
category: 'all',
|
|
497
|
+
limit: 100
|
|
498
|
+
});
|
|
499
|
+
|
|
500
|
+
console.log('Available skills:', skills);
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
2. **Store skill with complete metadata:**
|
|
504
|
+
```javascript
|
|
505
|
+
// ✅ Properly formatted skill
|
|
506
|
+
mcp__agentdb__skill_store({
|
|
507
|
+
skill_id: 'authentication_handler',
|
|
508
|
+
name: 'User Authentication Handler',
|
|
509
|
+
description: 'Secure user login with JWT',
|
|
510
|
+
code: `
|
|
511
|
+
async function authenticate(credentials) {
|
|
512
|
+
// Implementation
|
|
513
|
+
}
|
|
514
|
+
`,
|
|
515
|
+
category: 'security',
|
|
516
|
+
tags: ['auth', 'jwt', 'security'],
|
|
517
|
+
usage_count: 0,
|
|
518
|
+
success_rate: 0.0,
|
|
519
|
+
metadata: {
|
|
520
|
+
language: 'javascript',
|
|
521
|
+
dependencies: ['jsonwebtoken', 'bcrypt'],
|
|
522
|
+
author: 'system'
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
3. **Update usage metrics:**
|
|
528
|
+
```javascript
|
|
529
|
+
// Track skill performance
|
|
530
|
+
mcp__agentdb__skill_update_metrics({
|
|
531
|
+
skill_id: 'authentication_handler',
|
|
532
|
+
increment_usage: true,
|
|
533
|
+
success: true, // or false if failed
|
|
534
|
+
execution_time_ms: 150
|
|
535
|
+
});
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
---
|
|
539
|
+
|
|
540
|
+
### 3.3 Flow Nexus Issues
|
|
541
|
+
|
|
542
|
+
**Cloud execution, authentication, and sandbox management.**
|
|
543
|
+
|
|
544
|
+
#### Flow Nexus Authentication
|
|
545
|
+
|
|
546
|
+
**Symptoms:**
|
|
547
|
+
```javascript
|
|
548
|
+
mcp__flow-nexus__sandbox_create({ template: 'node' });
|
|
549
|
+
// Error: AUTH_REQUIRED - Please login first
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
**Solutions:**
|
|
553
|
+
|
|
554
|
+
1. **Register (first-time users):**
|
|
555
|
+
```javascript
|
|
556
|
+
// One-time registration
|
|
557
|
+
mcp__flow-nexus__user_register({
|
|
558
|
+
email: 'user@example.com',
|
|
559
|
+
password: 'secure-password-123',
|
|
560
|
+
full_name: 'John Doe' // Optional
|
|
561
|
+
});
|
|
562
|
+
|
|
563
|
+
// Check email for verification link
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
2. **Verify email:**
|
|
567
|
+
```javascript
|
|
568
|
+
// Click link in email, or use token
|
|
569
|
+
mcp__flow-nexus__user_verify_email({
|
|
570
|
+
token: 'verification-token-from-email'
|
|
571
|
+
});
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
3. **Login (each session):**
|
|
575
|
+
```javascript
|
|
576
|
+
// Login after verification
|
|
577
|
+
mcp__flow-nexus__user_login({
|
|
578
|
+
email: 'user@example.com',
|
|
579
|
+
password: 'secure-password-123'
|
|
580
|
+
});
|
|
581
|
+
|
|
582
|
+
// Session token is stored automatically
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
4. **Check authentication status:**
|
|
586
|
+
```javascript
|
|
587
|
+
const status = mcp__flow-nexus__auth_status({
|
|
588
|
+
detailed: true
|
|
589
|
+
});
|
|
590
|
+
|
|
591
|
+
console.log('Authenticated:', status.authenticated);
|
|
592
|
+
console.log('User ID:', status.user_id);
|
|
593
|
+
console.log('Tier:', status.tier);
|
|
594
|
+
```
|
|
595
|
+
|
|
596
|
+
#### Flow Nexus Rate Limits
|
|
597
|
+
|
|
598
|
+
**Symptoms:**
|
|
599
|
+
```javascript
|
|
600
|
+
// After many requests
|
|
601
|
+
mcp__flow-nexus__sandbox_create({ template: 'node' });
|
|
602
|
+
// Error: RATE_LIMITED - Too many requests
|
|
603
|
+
// { retry_after_ms: 60000 }
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
**Solutions:**
|
|
607
|
+
|
|
608
|
+
1. **Implement retry logic:**
|
|
609
|
+
```javascript
|
|
610
|
+
async function retryWithBackoff(fn, maxRetries = 3) {
|
|
611
|
+
for (let i = 0; i < maxRetries; i++) {
|
|
612
|
+
try {
|
|
613
|
+
return await fn();
|
|
614
|
+
} catch (error) {
|
|
615
|
+
if (error.code === 'RATE_LIMITED') {
|
|
616
|
+
const delay = error.details?.retry_after_ms || 1000 * (i + 1);
|
|
617
|
+
console.log(`Rate limited, waiting ${delay}ms...`);
|
|
618
|
+
await new Promise(resolve => setTimeout(resolve, delay));
|
|
619
|
+
continue;
|
|
620
|
+
}
|
|
621
|
+
throw error;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
// Usage
|
|
627
|
+
await retryWithBackoff(() =>
|
|
628
|
+
mcp__flow-nexus__sandbox_create({ template: 'node' })
|
|
629
|
+
);
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
2. **Check current limits:**
|
|
633
|
+
```javascript
|
|
634
|
+
const stats = mcp__flow-nexus__user_stats({
|
|
635
|
+
user_id: 'your-user-id'
|
|
636
|
+
});
|
|
637
|
+
|
|
638
|
+
console.log('Requests this hour:', stats.requests_this_hour);
|
|
639
|
+
console.log('Limit:', stats.rate_limit);
|
|
640
|
+
console.log('Resets at:', stats.rate_limit_reset);
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
3. **Upgrade tier:**
|
|
644
|
+
```javascript
|
|
645
|
+
// Upgrade to pro tier (higher limits)
|
|
646
|
+
mcp__flow-nexus__user_upgrade({
|
|
647
|
+
user_id: 'your-user-id',
|
|
648
|
+
tier: 'pro' // or 'enterprise'
|
|
649
|
+
});
|
|
650
|
+
```
|
|
651
|
+
|
|
652
|
+
4. **Batch operations:**
|
|
653
|
+
```javascript
|
|
654
|
+
// ❌ INEFFICIENT: Create sandbox per task
|
|
655
|
+
for (const task of tasks) {
|
|
656
|
+
const sandbox = mcp__flow-nexus__sandbox_create({ ... });
|
|
657
|
+
mcp__flow-nexus__sandbox_execute({ ... });
|
|
658
|
+
mcp__flow-nexus__sandbox_delete({ ... });
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
// ✅ EFFICIENT: Reuse sandbox
|
|
662
|
+
const sandbox = mcp__flow-nexus__sandbox_create({ template: 'node' });
|
|
663
|
+
for (const task of tasks) {
|
|
664
|
+
mcp__flow-nexus__sandbox_execute({
|
|
665
|
+
sandbox_id: sandbox.data.sandbox_id,
|
|
666
|
+
code: task.code
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
mcp__flow-nexus__sandbox_delete({ sandbox_id: sandbox.data.sandbox_id });
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
#### Flow Nexus Credit Issues
|
|
673
|
+
|
|
674
|
+
**Symptoms:**
|
|
675
|
+
```javascript
|
|
676
|
+
mcp__flow-nexus__neural_train({ config: {...}, tier: 'large' });
|
|
677
|
+
// Error: INSUFFICIENT_CREDITS - Balance too low
|
|
678
|
+
```
|
|
679
|
+
|
|
680
|
+
**Solutions:**
|
|
681
|
+
|
|
682
|
+
1. **Check balance:**
|
|
683
|
+
```javascript
|
|
684
|
+
const balance = mcp__flow-nexus__check_balance();
|
|
685
|
+
|
|
686
|
+
console.log('Current balance:', balance.credits);
|
|
687
|
+
console.log('Reserved:', balance.reserved_credits);
|
|
688
|
+
console.log('Available:', balance.available_credits);
|
|
689
|
+
```
|
|
690
|
+
|
|
691
|
+
2. **Add credits:**
|
|
692
|
+
```javascript
|
|
693
|
+
// Create payment link
|
|
694
|
+
const payment = mcp__flow-nexus__create_payment_link({
|
|
695
|
+
amount: 50.00 // $50 USD (minimum $10)
|
|
696
|
+
});
|
|
697
|
+
|
|
698
|
+
console.log('Payment URL:', payment.checkout_url);
|
|
699
|
+
// Open URL in browser to complete payment
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
3. **Configure auto-refill:**
|
|
703
|
+
```javascript
|
|
704
|
+
// Auto-add credits when low
|
|
705
|
+
mcp__flow-nexus__configure_auto_refill({
|
|
706
|
+
enabled: true,
|
|
707
|
+
threshold: 10, // Refill when below 10 credits
|
|
708
|
+
amount: 25.00 // Add $25 each time
|
|
709
|
+
});
|
|
710
|
+
```
|
|
711
|
+
|
|
712
|
+
4. **Check transaction history:**
|
|
713
|
+
```javascript
|
|
714
|
+
const history = mcp__flow-nexus__get_payment_history({
|
|
715
|
+
limit: 10
|
|
716
|
+
});
|
|
717
|
+
|
|
718
|
+
console.log('Recent transactions:', history);
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
#### Flow Nexus Sandbox Issues
|
|
722
|
+
|
|
723
|
+
**Symptoms:**
|
|
724
|
+
```javascript
|
|
725
|
+
// Sandbox creation hangs
|
|
726
|
+
mcp__flow-nexus__sandbox_create({ template: 'node' });
|
|
727
|
+
// ... no response after 60 seconds
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
**Solutions:**
|
|
731
|
+
|
|
732
|
+
1. **Increase timeout:**
|
|
733
|
+
```javascript
|
|
734
|
+
// Default timeout is 3600s (1 hour)
|
|
735
|
+
mcp__flow-nexus__sandbox_create({
|
|
736
|
+
template: 'node',
|
|
737
|
+
timeout: 7200 // 2 hours
|
|
738
|
+
});
|
|
739
|
+
```
|
|
740
|
+
|
|
741
|
+
2. **Check sandbox status:**
|
|
742
|
+
```javascript
|
|
743
|
+
// List all sandboxes
|
|
744
|
+
const sandboxes = mcp__flow-nexus__sandbox_list({
|
|
745
|
+
status: 'all' // 'running' | 'stopped' | 'all'
|
|
746
|
+
});
|
|
747
|
+
|
|
748
|
+
console.log('Active sandboxes:', sandboxes);
|
|
749
|
+
|
|
750
|
+
// Get specific sandbox
|
|
751
|
+
const status = mcp__flow-nexus__sandbox_status({
|
|
752
|
+
sandbox_id: 'sandbox-abc123'
|
|
753
|
+
});
|
|
754
|
+
|
|
755
|
+
console.log('Status:', status.state);
|
|
756
|
+
```
|
|
757
|
+
|
|
758
|
+
3. **Delete stuck sandboxes:**
|
|
759
|
+
```javascript
|
|
760
|
+
// Force delete unresponsive sandbox
|
|
761
|
+
mcp__flow-nexus__sandbox_delete({
|
|
762
|
+
sandbox_id: 'sandbox-abc123'
|
|
763
|
+
});
|
|
764
|
+
```
|
|
765
|
+
|
|
766
|
+
4. **Use lighter templates:**
|
|
767
|
+
```javascript
|
|
768
|
+
// ❌ Heavy template (slow start)
|
|
769
|
+
mcp__flow-nexus__sandbox_create({ template: 'nextjs' });
|
|
770
|
+
|
|
771
|
+
// ✅ Light template (fast start)
|
|
772
|
+
mcp__flow-nexus__sandbox_create({ template: 'base' });
|
|
773
|
+
// Then install only what you need
|
|
774
|
+
```
|
|
775
|
+
|
|
776
|
+
5. **Check sandbox logs:**
|
|
777
|
+
```javascript
|
|
778
|
+
const logs = mcp__flow-nexus__sandbox_logs({
|
|
779
|
+
sandbox_id: 'sandbox-abc123',
|
|
780
|
+
lines: 100
|
|
781
|
+
});
|
|
782
|
+
|
|
783
|
+
console.log('Logs:', logs);
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
---
|
|
787
|
+
|
|
788
|
+
### 3.4 Agentic Payments Issues
|
|
789
|
+
|
|
790
|
+
**Payment authorization, mandates, and cryptographic operations.**
|
|
791
|
+
|
|
792
|
+
#### Agentic Payments Keypair Issues
|
|
793
|
+
|
|
794
|
+
**Symptoms:**
|
|
795
|
+
```javascript
|
|
796
|
+
mcp__agentic-payments__sign_mandate({ mandate: {...}, private_key: 'key' });
|
|
797
|
+
// Error: SIGNATURE_INVALID - Invalid private key format
|
|
798
|
+
```
|
|
799
|
+
|
|
800
|
+
**Solutions:**
|
|
801
|
+
|
|
802
|
+
1. **Generate valid keypair:**
|
|
803
|
+
```javascript
|
|
804
|
+
// Generate Ed25519 keypair
|
|
805
|
+
const identity = mcp__agentic-payments__generate_agent_identity({
|
|
806
|
+
include_private_key: true // IMPORTANT: Store securely!
|
|
807
|
+
});
|
|
808
|
+
|
|
809
|
+
console.log('Public Key:', identity.public_key);
|
|
810
|
+
console.log('Private Key:', identity.private_key);
|
|
811
|
+
|
|
812
|
+
// ⚠️ SECURITY: Store private_key in secure vault
|
|
813
|
+
// NEVER commit to version control
|
|
814
|
+
// NEVER log in production
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
2. **Verify key format:**
|
|
818
|
+
```javascript
|
|
819
|
+
// Private keys are 64-byte hex strings (128 chars)
|
|
820
|
+
const privateKey = identity.private_key;
|
|
821
|
+
|
|
822
|
+
if (!/^[0-9a-f]{128}$/i.test(privateKey)) {
|
|
823
|
+
console.error('Invalid private key format');
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
// Public keys are 32-byte hex strings (64 chars)
|
|
827
|
+
const publicKey = identity.public_key;
|
|
828
|
+
|
|
829
|
+
if (!/^[0-9a-f]{64}$/i.test(publicKey)) {
|
|
830
|
+
console.error('Invalid public key format');
|
|
831
|
+
}
|
|
832
|
+
```
|
|
833
|
+
|
|
834
|
+
3. **Store securely:**
|
|
835
|
+
```javascript
|
|
836
|
+
// ✅ SECURE: Use environment variables
|
|
837
|
+
process.env.AGENT_PRIVATE_KEY = identity.private_key;
|
|
838
|
+
|
|
839
|
+
// ✅ SECURE: Use secrets manager
|
|
840
|
+
await secretsManager.store('agent-private-key', identity.private_key);
|
|
841
|
+
|
|
842
|
+
// ❌ INSECURE: Plain file
|
|
843
|
+
fs.writeFileSync('private-key.txt', identity.private_key);
|
|
844
|
+
|
|
845
|
+
// ❌ INSECURE: Version control
|
|
846
|
+
git.add('keys.json'); // NEVER DO THIS
|
|
847
|
+
```
|
|
848
|
+
|
|
849
|
+
#### Mandate Creation Issues
|
|
850
|
+
|
|
851
|
+
**Symptoms:**
|
|
852
|
+
```javascript
|
|
853
|
+
mcp__agentic-payments__create_active_mandate({
|
|
854
|
+
agent: 'bot@example.com',
|
|
855
|
+
holder: 'user-id',
|
|
856
|
+
amount: 100,
|
|
857
|
+
currency: 'USD',
|
|
858
|
+
period: 'daily'
|
|
859
|
+
});
|
|
860
|
+
// Error: INVALID_PARAMS - Missing required field
|
|
861
|
+
```
|
|
862
|
+
|
|
863
|
+
**Solutions:**
|
|
864
|
+
|
|
865
|
+
1. **Include all required fields:**
|
|
866
|
+
```javascript
|
|
867
|
+
// ✅ Complete mandate
|
|
868
|
+
const mandate = mcp__agentic-payments__create_active_mandate({
|
|
869
|
+
agent: 'shopping-bot@agentics', // REQUIRED
|
|
870
|
+
holder: 'user-public-key-abc123', // REQUIRED
|
|
871
|
+
amount: 12000, // REQUIRED (minor units)
|
|
872
|
+
currency: 'USD', // REQUIRED
|
|
873
|
+
period: 'daily', // REQUIRED
|
|
874
|
+
kind: 'intent', // REQUIRED ('intent' | 'cart')
|
|
875
|
+
expires_at: '2025-12-31T23:59:59Z', // Optional (ISO8601)
|
|
876
|
+
merchant_allow: [ // Optional
|
|
877
|
+
'amazon.com',
|
|
878
|
+
'bestbuy.com'
|
|
879
|
+
],
|
|
880
|
+
merchant_block: [] // Optional
|
|
881
|
+
});
|
|
882
|
+
```
|
|
883
|
+
|
|
884
|
+
2. **Use correct amount format:**
|
|
885
|
+
```javascript
|
|
886
|
+
// ✅ CORRECT: Minor units (cents)
|
|
887
|
+
amount: 12000 // $120.00
|
|
888
|
+
|
|
889
|
+
// ❌ WRONG: Major units (dollars)
|
|
890
|
+
amount: 120.00 // Will be interpreted as $1.20
|
|
891
|
+
|
|
892
|
+
// Conversion helper
|
|
893
|
+
const dollarsToMinorUnits = (dollars) => Math.round(dollars * 100);
|
|
894
|
+
amount: dollarsToMinorUnits(120.00) // 12000
|
|
895
|
+
```
|
|
896
|
+
|
|
897
|
+
3. **Validate period:**
|
|
898
|
+
```javascript
|
|
899
|
+
// ✅ Valid periods
|
|
900
|
+
period: 'single' // One-time payment
|
|
901
|
+
period: 'daily' // $X per day
|
|
902
|
+
period: 'weekly' // $X per week
|
|
903
|
+
period: 'monthly' // $X per month
|
|
904
|
+
|
|
905
|
+
// ❌ Invalid
|
|
906
|
+
period: 'yearly' // Not supported
|
|
907
|
+
period: 'hourly' // Not supported
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
4. **Validate kind:**
|
|
911
|
+
```javascript
|
|
912
|
+
// ✅ Intent-based (high-level purchase intent)
|
|
913
|
+
kind: 'intent'
|
|
914
|
+
|
|
915
|
+
// ✅ Cart-based (specific line items)
|
|
916
|
+
kind: 'cart'
|
|
917
|
+
|
|
918
|
+
// ❌ Invalid
|
|
919
|
+
kind: 'subscription' // Not supported
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
#### Signature Verification Issues
|
|
923
|
+
|
|
924
|
+
**Symptoms:**
|
|
925
|
+
```javascript
|
|
926
|
+
mcp__agentic-payments__verify_mandate({ signed_mandate: {...} });
|
|
927
|
+
// Error: SIGNATURE_INVALID - Signature verification failed
|
|
928
|
+
```
|
|
929
|
+
|
|
930
|
+
**Solutions:**
|
|
931
|
+
|
|
932
|
+
1. **Sign mandate correctly:**
|
|
933
|
+
```javascript
|
|
934
|
+
// Step 1: Create mandate
|
|
935
|
+
const mandate = mcp__agentic-payments__create_active_mandate({
|
|
936
|
+
agent: 'bot@example.com',
|
|
937
|
+
holder: identity.public_key, // Use public key
|
|
938
|
+
amount: 10000,
|
|
939
|
+
currency: 'USD',
|
|
940
|
+
period: 'single',
|
|
941
|
+
kind: 'intent'
|
|
942
|
+
});
|
|
943
|
+
|
|
944
|
+
// Step 2: Sign with private key
|
|
945
|
+
const signed = mcp__agentic-payments__sign_mandate({
|
|
946
|
+
mandate: mandate,
|
|
947
|
+
private_key: identity.private_key // Use private key
|
|
948
|
+
});
|
|
949
|
+
|
|
950
|
+
// Step 3: Verify signature
|
|
951
|
+
const verification = mcp__agentic-payments__verify_mandate({
|
|
952
|
+
signed_mandate: signed,
|
|
953
|
+
check_guards: true // Also check expiration
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
console.log('Valid:', verification.valid);
|
|
957
|
+
```
|
|
958
|
+
|
|
959
|
+
2. **Check guard conditions:**
|
|
960
|
+
```javascript
|
|
961
|
+
// Mandate may be valid but expired
|
|
962
|
+
const verification = mcp__agentic-payments__verify_mandate({
|
|
963
|
+
signed_mandate: signed,
|
|
964
|
+
check_guards: true // Checks expiration, revocation
|
|
965
|
+
});
|
|
966
|
+
|
|
967
|
+
if (!verification.valid) {
|
|
968
|
+
console.log('Reason:', verification.reason);
|
|
969
|
+
|
|
970
|
+
if (verification.reason === 'expired') {
|
|
971
|
+
console.log('Mandate expired at:', verification.expired_at);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
if (verification.reason === 'revoked') {
|
|
975
|
+
console.log('Revoked at:', verification.revoked_at);
|
|
976
|
+
console.log('Reason:', verification.revocation_reason);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
```
|
|
980
|
+
|
|
981
|
+
3. **Check revocation status:**
|
|
982
|
+
```javascript
|
|
983
|
+
// List all revoked mandates
|
|
984
|
+
const revocations = mcp__agentic-payments__list_revocations();
|
|
985
|
+
|
|
986
|
+
console.log('Revoked mandates:', revocations);
|
|
987
|
+
|
|
988
|
+
// Check specific mandate
|
|
989
|
+
const isRevoked = revocations.some(r =>
|
|
990
|
+
r.mandate_id === signed.mandate_id
|
|
991
|
+
);
|
|
992
|
+
|
|
993
|
+
if (isRevoked) {
|
|
994
|
+
console.log('Mandate was revoked');
|
|
995
|
+
}
|
|
996
|
+
```
|
|
997
|
+
|
|
998
|
+
---
|
|
999
|
+
|
|
1000
|
+
## 4. Diagnostic Commands
|
|
1001
|
+
|
|
1002
|
+
### 4.1 System Diagnostics
|
|
1003
|
+
|
|
1004
|
+
**Check overall system health:**
|
|
1005
|
+
|
|
1006
|
+
```bash
|
|
1007
|
+
# 1. Claude Code version
|
|
1008
|
+
claude --version
|
|
1009
|
+
# Expected: v1.x.x or higher
|
|
1010
|
+
|
|
1011
|
+
# 2. Node.js version
|
|
1012
|
+
node --version
|
|
1013
|
+
# Expected: v18.x.x or v20.x.x
|
|
1014
|
+
|
|
1015
|
+
# 3. npm version
|
|
1016
|
+
npm --version
|
|
1017
|
+
# Expected: v9.x.x or higher
|
|
1018
|
+
|
|
1019
|
+
# 4. Available disk space
|
|
1020
|
+
df -h .
|
|
1021
|
+
# Expected: At least 1GB free
|
|
1022
|
+
|
|
1023
|
+
# 5. Memory available
|
|
1024
|
+
free -h
|
|
1025
|
+
# Expected: At least 512MB free
|
|
1026
|
+
|
|
1027
|
+
# 6. Network connectivity
|
|
1028
|
+
ping -c 3 api.anthropic.com
|
|
1029
|
+
# Expected: 0% packet loss
|
|
1030
|
+
```
|
|
1031
|
+
|
|
1032
|
+
### 4.2 MCP Server Diagnostics
|
|
1033
|
+
|
|
1034
|
+
**Check MCP server health:**
|
|
1035
|
+
|
|
1036
|
+
```bash
|
|
1037
|
+
# 1. List installed servers
|
|
1038
|
+
claude mcp list
|
|
1039
|
+
|
|
1040
|
+
# 2. Check server status
|
|
1041
|
+
claude mcp status claude-flow
|
|
1042
|
+
claude mcp status flow-nexus
|
|
1043
|
+
claude mcp status agentic-flow
|
|
1044
|
+
|
|
1045
|
+
# 3. Restart specific server
|
|
1046
|
+
claude mcp restart claude-flow
|
|
1047
|
+
|
|
1048
|
+
# 4. Restart all servers
|
|
1049
|
+
claude mcp restart --all
|
|
1050
|
+
|
|
1051
|
+
# 5. View server logs
|
|
1052
|
+
claude mcp logs claude-flow --tail 50
|
|
1053
|
+
|
|
1054
|
+
# 6. Test server connectivity
|
|
1055
|
+
npx claude-flow@alpha --version
|
|
1056
|
+
npx flow-nexus@latest --version
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
### 4.3 Network Diagnostics
|
|
1060
|
+
|
|
1061
|
+
**Check network and API connectivity:**
|
|
1062
|
+
|
|
1063
|
+
```bash
|
|
1064
|
+
# 1. Test API endpoints
|
|
1065
|
+
curl -I https://api.anthropic.com
|
|
1066
|
+
curl -I https://flow-nexus.ruv.io
|
|
1067
|
+
|
|
1068
|
+
# 2. Check DNS resolution
|
|
1069
|
+
nslookup api.anthropic.com
|
|
1070
|
+
nslookup flow-nexus.ruv.io
|
|
1071
|
+
|
|
1072
|
+
# 3. Test with proxy (if using one)
|
|
1073
|
+
export HTTPS_PROXY=http://proxy.example.com:8080
|
|
1074
|
+
curl -I https://api.anthropic.com
|
|
1075
|
+
|
|
1076
|
+
# 4. Check SSL certificates
|
|
1077
|
+
openssl s_client -connect api.anthropic.com:443 -servername api.anthropic.com
|
|
1078
|
+
|
|
1079
|
+
# 5. Test websocket connection (for real-time features)
|
|
1080
|
+
wscat -c wss://flow-nexus.ruv.io/ws
|
|
1081
|
+
```
|
|
1082
|
+
|
|
1083
|
+
### 4.4 Database Diagnostics
|
|
1084
|
+
|
|
1085
|
+
**Check AgentDB health:**
|
|
1086
|
+
|
|
1087
|
+
```bash
|
|
1088
|
+
# 1. Verify database files exist
|
|
1089
|
+
ls -lh .agentdb/*.db
|
|
1090
|
+
|
|
1091
|
+
# 2. Check database integrity
|
|
1092
|
+
sqlite3 .agentdb/agentdb.db "PRAGMA integrity_check;"
|
|
1093
|
+
# Expected: ok
|
|
1094
|
+
|
|
1095
|
+
# 3. Check database size
|
|
1096
|
+
du -sh .agentdb/
|
|
1097
|
+
|
|
1098
|
+
# 4. List tables
|
|
1099
|
+
sqlite3 .agentdb/agentdb.db ".tables"
|
|
1100
|
+
|
|
1101
|
+
# 5. Check table counts
|
|
1102
|
+
sqlite3 .agentdb/agentdb.db "
|
|
1103
|
+
SELECT 'causal_edges' as table_name, COUNT(*) FROM causal_edges
|
|
1104
|
+
UNION ALL
|
|
1105
|
+
SELECT 'reflexion_trajectories', COUNT(*) FROM reflexion_trajectories
|
|
1106
|
+
UNION ALL
|
|
1107
|
+
SELECT 'skill_library', COUNT(*) FROM skill_library;
|
|
1108
|
+
"
|
|
1109
|
+
|
|
1110
|
+
# 6. Vacuum database (optimize)
|
|
1111
|
+
sqlite3 .agentdb/agentdb.db "VACUUM;"
|
|
1112
|
+
```
|
|
1113
|
+
|
|
1114
|
+
---
|
|
1115
|
+
|
|
1116
|
+
## 5. Debug Mode
|
|
1117
|
+
|
|
1118
|
+
### 5.1 Enable Debug Logging
|
|
1119
|
+
|
|
1120
|
+
**Environment variables:**
|
|
1121
|
+
|
|
1122
|
+
```bash
|
|
1123
|
+
# Claude Flow debug mode
|
|
1124
|
+
export DEBUG=claude-flow:*
|
|
1125
|
+
export CLAUDE_FLOW_VERBOSE=true
|
|
1126
|
+
|
|
1127
|
+
# Flow Nexus debug mode
|
|
1128
|
+
export FLOW_NEXUS_DEBUG=true
|
|
1129
|
+
export FLOW_NEXUS_LOG_LEVEL=debug
|
|
1130
|
+
|
|
1131
|
+
# AgentDB debug mode
|
|
1132
|
+
export AGENTDB_DEBUG=true
|
|
1133
|
+
export AGENTDB_LOG_SQL=true
|
|
1134
|
+
|
|
1135
|
+
# Node.js debug mode
|
|
1136
|
+
export NODE_DEBUG=*
|
|
1137
|
+
```
|
|
1138
|
+
|
|
1139
|
+
### 5.2 Debug Tool Calls
|
|
1140
|
+
|
|
1141
|
+
**Test individual tools with verbose output:**
|
|
1142
|
+
|
|
1143
|
+
```javascript
|
|
1144
|
+
// Enable debug before calling tools
|
|
1145
|
+
process.env.MCP_DEBUG = 'true';
|
|
1146
|
+
process.env.MCP_VERBOSE = 'true';
|
|
1147
|
+
|
|
1148
|
+
// Test tool call
|
|
1149
|
+
const result = mcp__claude-flow__swarm_init({
|
|
1150
|
+
topology: 'mesh',
|
|
1151
|
+
maxAgents: 8
|
|
1152
|
+
});
|
|
1153
|
+
|
|
1154
|
+
// Expected debug output:
|
|
1155
|
+
// [MCP] Connecting to server: claude-flow
|
|
1156
|
+
// [MCP] Server connected successfully
|
|
1157
|
+
// [MCP] Calling tool: swarm_init
|
|
1158
|
+
// [MCP] Parameters: {"topology":"mesh","maxAgents":8}
|
|
1159
|
+
// [MCP] Request sent, waiting for response...
|
|
1160
|
+
// [MCP] Response received in 45ms
|
|
1161
|
+
// [MCP] Response: {"success":true,"swarmId":"abc123"}
|
|
1162
|
+
```
|
|
1163
|
+
|
|
1164
|
+
### 5.3 Capture Network Logs
|
|
1165
|
+
|
|
1166
|
+
**Monitor MCP protocol communication:**
|
|
1167
|
+
|
|
1168
|
+
```bash
|
|
1169
|
+
# 1. Install mitmproxy (optional)
|
|
1170
|
+
pip install mitmproxy
|
|
1171
|
+
|
|
1172
|
+
# 2. Start proxy
|
|
1173
|
+
mitmweb -p 8080
|
|
1174
|
+
|
|
1175
|
+
# 3. Configure Claude Code to use proxy
|
|
1176
|
+
export HTTP_PROXY=http://localhost:8080
|
|
1177
|
+
export HTTPS_PROXY=http://localhost:8080
|
|
1178
|
+
|
|
1179
|
+
# 4. Open http://localhost:8081 to view traffic
|
|
1180
|
+
|
|
1181
|
+
# 5. Run MCP commands
|
|
1182
|
+
# All traffic will be visible in mitmweb
|
|
1183
|
+
```
|
|
1184
|
+
|
|
1185
|
+
### 5.4 Debug Sandbox Execution
|
|
1186
|
+
|
|
1187
|
+
**Test sandbox code step-by-step:**
|
|
1188
|
+
|
|
1189
|
+
```javascript
|
|
1190
|
+
// 1. Create sandbox with verbose logging
|
|
1191
|
+
const sandbox = mcp__flow-nexus__sandbox_create({
|
|
1192
|
+
template: 'node',
|
|
1193
|
+
name: 'debug-sandbox',
|
|
1194
|
+
env_vars: {
|
|
1195
|
+
DEBUG: '*',
|
|
1196
|
+
NODE_ENV: 'development'
|
|
1197
|
+
}
|
|
1198
|
+
});
|
|
1199
|
+
|
|
1200
|
+
// 2. Execute with capture_output
|
|
1201
|
+
const result = mcp__flow-nexus__sandbox_execute({
|
|
1202
|
+
sandbox_id: sandbox.data.sandbox_id,
|
|
1203
|
+
code: `
|
|
1204
|
+
console.log('Debug: Starting execution');
|
|
1205
|
+
console.error('Debug: Error stream test');
|
|
1206
|
+
process.stdout.write('Debug: stdout test\\n');
|
|
1207
|
+
process.stderr.write('Debug: stderr test\\n');
|
|
1208
|
+
console.log('Debug: Completed');
|
|
1209
|
+
`,
|
|
1210
|
+
capture_output: true // Capture stdout/stderr
|
|
1211
|
+
});
|
|
1212
|
+
|
|
1213
|
+
console.log('Output:', result.output);
|
|
1214
|
+
console.log('Errors:', result.errors);
|
|
1215
|
+
|
|
1216
|
+
// 3. Check sandbox logs
|
|
1217
|
+
const logs = mcp__flow-nexus__sandbox_logs({
|
|
1218
|
+
sandbox_id: sandbox.data.sandbox_id,
|
|
1219
|
+
lines: 100
|
|
1220
|
+
});
|
|
1221
|
+
|
|
1222
|
+
console.log('Full logs:', logs);
|
|
1223
|
+
|
|
1224
|
+
// 4. Cleanup
|
|
1225
|
+
mcp__flow-nexus__sandbox_delete({
|
|
1226
|
+
sandbox_id: sandbox.data.sandbox_id
|
|
1227
|
+
});
|
|
1228
|
+
```
|
|
1229
|
+
|
|
1230
|
+
---
|
|
1231
|
+
|
|
1232
|
+
## 6. Error Code Reference
|
|
1233
|
+
|
|
1234
|
+
### 6.1 Authentication Errors
|
|
1235
|
+
|
|
1236
|
+
| Code | Description | Solution |
|
|
1237
|
+
|------|-------------|----------|
|
|
1238
|
+
| `AUTH_REQUIRED` | No authentication session | Run login command |
|
|
1239
|
+
| `AUTH_EXPIRED` | Session token expired | Login again |
|
|
1240
|
+
| `AUTH_INVALID` | Invalid credentials | Check email/password |
|
|
1241
|
+
| `EMAIL_NOT_VERIFIED` | Email verification pending | Check email, click verification link |
|
|
1242
|
+
| `INVALID_TOKEN` | Bad verification/reset token | Request new token |
|
|
1243
|
+
|
|
1244
|
+
### 6.2 Parameter Errors
|
|
1245
|
+
|
|
1246
|
+
| Code | Description | Solution |
|
|
1247
|
+
|------|-------------|----------|
|
|
1248
|
+
| `INVALID_PARAMS` | Wrong parameter types/values | Check tool documentation |
|
|
1249
|
+
| `MISSING_PARAM` | Required parameter not provided | Add missing parameter |
|
|
1250
|
+
| `INVALID_TOPOLOGY` | Unsupported swarm topology | Use: mesh, hierarchical, ring, star |
|
|
1251
|
+
| `INVALID_TEMPLATE` | Unknown sandbox template | Use: node, python, react, nextjs, base |
|
|
1252
|
+
| `INVALID_AMOUNT` | Payment amount out of range | Check minimum/maximum limits |
|
|
1253
|
+
|
|
1254
|
+
### 6.3 Resource Errors
|
|
1255
|
+
|
|
1256
|
+
| Code | Description | Solution |
|
|
1257
|
+
|------|-------------|----------|
|
|
1258
|
+
| `RATE_LIMITED` | Too many requests | Wait, then retry |
|
|
1259
|
+
| `INSUFFICIENT_CREDITS` | Low balance | Add credits |
|
|
1260
|
+
| `QUOTA_EXCEEDED` | Exceeded usage quota | Upgrade tier or wait for reset |
|
|
1261
|
+
| `SANDBOX_LIMIT` | Too many active sandboxes | Delete unused sandboxes |
|
|
1262
|
+
| `MEMORY_LIMIT` | Memory usage too high | Reduce data size or upgrade |
|
|
1263
|
+
|
|
1264
|
+
### 6.4 Server Errors
|
|
1265
|
+
|
|
1266
|
+
| Code | Description | Solution |
|
|
1267
|
+
|------|-------------|----------|
|
|
1268
|
+
| `SERVER_ERROR` | Internal server error | Retry later, report if persists |
|
|
1269
|
+
| `SERVICE_UNAVAILABLE` | Server temporarily down | Wait and retry |
|
|
1270
|
+
| `TIMEOUT` | Request took too long | Increase timeout or simplify request |
|
|
1271
|
+
| `CONNECTION_FAILED` | Cannot connect to server | Check network, restart server |
|
|
1272
|
+
| `DATABASE_ERROR` | Database operation failed | Check disk space, restart |
|
|
1273
|
+
|
|
1274
|
+
### 6.5 Database Errors
|
|
1275
|
+
|
|
1276
|
+
| Code | Description | Solution |
|
|
1277
|
+
|------|-------------|----------|
|
|
1278
|
+
| `SQLITE_BUSY` | Database locked | Wait and retry, close other connections |
|
|
1279
|
+
| `SQLITE_CANTOPEN` | Cannot open database | Check permissions and path |
|
|
1280
|
+
| `SQLITE_CORRUPT` | Database corrupted | Restore from backup |
|
|
1281
|
+
| `DISK_FULL` | No disk space | Free up space |
|
|
1282
|
+
| `CONSTRAINT_VIOLATION` | Unique constraint failed | Check for duplicates |
|
|
1283
|
+
|
|
1284
|
+
### 6.6 Cryptographic Errors
|
|
1285
|
+
|
|
1286
|
+
| Code | Description | Solution |
|
|
1287
|
+
|------|-------------|----------|
|
|
1288
|
+
| `SIGNATURE_INVALID` | Signature verification failed | Check private key, regenerate if needed |
|
|
1289
|
+
| `KEYPAIR_MISMATCH` | Public key doesn't match private | Regenerate keypair |
|
|
1290
|
+
| `MANDATE_EXPIRED` | Mandate past expiration | Create new mandate |
|
|
1291
|
+
| `MANDATE_REVOKED` | Mandate was revoked | Create new mandate |
|
|
1292
|
+
| `CONSENSUS_FAILED` | Multi-agent consensus failed | Check agent keys, retry |
|
|
1293
|
+
|
|
1294
|
+
---
|
|
1295
|
+
|
|
1296
|
+
## 7. Getting Help
|
|
1297
|
+
|
|
1298
|
+
### 7.1 GitHub Issues
|
|
1299
|
+
|
|
1300
|
+
**Report bugs or request features:**
|
|
1301
|
+
|
|
1302
|
+
- **Claude Flow:** https://github.com/ruvnet/claude-flow/issues
|
|
1303
|
+
- **Flow Nexus:** https://github.com/ruvnet/flow-nexus/issues
|
|
1304
|
+
- **AgentDB:** https://github.com/ruvnet/agentic-flow/issues
|
|
1305
|
+
|
|
1306
|
+
**When reporting issues, include:**
|
|
1307
|
+
|
|
1308
|
+
1. **Environment:**
|
|
1309
|
+
```
|
|
1310
|
+
OS: [e.g., macOS 14.1, Ubuntu 22.04]
|
|
1311
|
+
Node.js: [e.g., v20.10.0]
|
|
1312
|
+
Claude Code: [e.g., v1.2.0]
|
|
1313
|
+
MCP Server: [e.g., claude-flow@alpha]
|
|
1314
|
+
```
|
|
1315
|
+
|
|
1316
|
+
2. **Steps to reproduce:**
|
|
1317
|
+
```
|
|
1318
|
+
1. Run command: mcp__claude-flow__swarm_init({ topology: 'mesh' })
|
|
1319
|
+
2. Observe error: ...
|
|
1320
|
+
3. Expected: swarm initialized successfully
|
|
1321
|
+
```
|
|
1322
|
+
|
|
1323
|
+
3. **Error output:**
|
|
1324
|
+
```
|
|
1325
|
+
Error: ...
|
|
1326
|
+
Stack trace: ...
|
|
1327
|
+
```
|
|
1328
|
+
|
|
1329
|
+
4. **Debug logs:**
|
|
1330
|
+
```bash
|
|
1331
|
+
DEBUG=* npx claude-flow@alpha mcp start
|
|
1332
|
+
# Include output
|
|
1333
|
+
```
|
|
1334
|
+
|
|
1335
|
+
### 7.2 Documentation
|
|
1336
|
+
|
|
1337
|
+
**Reference documentation:**
|
|
1338
|
+
|
|
1339
|
+
- **Main docs:** `/workspaces/agentic-flow/docs/guides/MCP-TOOLS.md`
|
|
1340
|
+
- **Quick start:** `/workspaces/agentic-flow/docs/guides/MCP-QUICKSTART.md`
|
|
1341
|
+
- **Authentication:** `/workspaces/agentic-flow/docs/guides/MCP-AUTHENTICATION.md`
|
|
1342
|
+
- **Examples:** `/workspaces/agentic-flow/docs/guides/MCP-EXAMPLES.md`
|
|
1343
|
+
- **AgentDB CLI:** `/workspaces/agentic-flow/docs/agentdb/CLI_GUIDE.md`
|
|
1344
|
+
- **Architecture:** `/workspaces/agentic-flow/docs/mcp-tools-architecture.md`
|
|
1345
|
+
|
|
1346
|
+
### 7.3 Community Support
|
|
1347
|
+
|
|
1348
|
+
**Get help from the community:**
|
|
1349
|
+
|
|
1350
|
+
- **Discord:** Join the Claude Flow community (link in GitHub README)
|
|
1351
|
+
- **Stack Overflow:** Tag questions with `claude-flow`, `mcp-tools`, `agentdb`
|
|
1352
|
+
- **GitHub Discussions:** https://github.com/ruvnet/claude-flow/discussions
|
|
1353
|
+
|
|
1354
|
+
### 7.4 Professional Support
|
|
1355
|
+
|
|
1356
|
+
**For enterprise support:**
|
|
1357
|
+
|
|
1358
|
+
- **Email:** support@ruv.io
|
|
1359
|
+
- **Flow Nexus Platform:** https://flow-nexus.ruv.io/support
|
|
1360
|
+
- **Enterprise Plans:** Contact for SLA-backed support
|
|
1361
|
+
|
|
1362
|
+
---
|
|
1363
|
+
|
|
1364
|
+
## 8. FAQ
|
|
1365
|
+
|
|
1366
|
+
### 8.1 Installation & Setup
|
|
1367
|
+
|
|
1368
|
+
**Q: Do I need all 4 MCP servers?**
|
|
1369
|
+
|
|
1370
|
+
A: No. Start with Claude Flow (core orchestration). Add others as needed:
|
|
1371
|
+
- **Flow Nexus:** Cloud execution, sandboxes (requires registration)
|
|
1372
|
+
- **Agentic Payments:** Payment authorization (requires keypair)
|
|
1373
|
+
- **AgentDB:** Advanced memory (included in Claude Flow, but can be standalone)
|
|
1374
|
+
|
|
1375
|
+
**Q: Why is claude-flow@alpha instead of latest?**
|
|
1376
|
+
|
|
1377
|
+
A: The alpha release includes cutting-edge features. Use `@latest` for stable releases.
|
|
1378
|
+
|
|
1379
|
+
**Q: Can I use MCP tools without Claude Code?**
|
|
1380
|
+
|
|
1381
|
+
A: Technically yes (with MCP SDK), but Claude Code provides the best integration.
|
|
1382
|
+
|
|
1383
|
+
---
|
|
1384
|
+
|
|
1385
|
+
**Q: What's the difference between claude-flow and flow-nexus?**
|
|
1386
|
+
|
|
1387
|
+
A:
|
|
1388
|
+
- **Claude Flow:** Local orchestration, no auth, free
|
|
1389
|
+
- **Flow Nexus:** Cloud-based, auth required, free tier + paid
|
|
1390
|
+
|
|
1391
|
+
---
|
|
1392
|
+
|
|
1393
|
+
### 8.2 Authentication & Security
|
|
1394
|
+
|
|
1395
|
+
**Q: Is my Flow Nexus password secure?**
|
|
1396
|
+
|
|
1397
|
+
A: Yes. Passwords are hashed with bcrypt (industry standard). Never stored in plaintext.
|
|
1398
|
+
|
|
1399
|
+
---
|
|
1400
|
+
|
|
1401
|
+
**Q: How do I rotate my agent identity keypair?**
|
|
1402
|
+
|
|
1403
|
+
A:
|
|
1404
|
+
```javascript
|
|
1405
|
+
// 1. Generate new keypair
|
|
1406
|
+
const newIdentity = mcp__agentic-payments__generate_agent_identity({
|
|
1407
|
+
include_private_key: true
|
|
1408
|
+
});
|
|
1409
|
+
|
|
1410
|
+
// 2. Revoke old mandates
|
|
1411
|
+
mcp__agentic-payments__revoke_mandate({
|
|
1412
|
+
mandate_id: 'old-mandate-id',
|
|
1413
|
+
reason: 'Keypair rotation'
|
|
1414
|
+
});
|
|
1415
|
+
|
|
1416
|
+
// 3. Create new mandates with new keypair
|
|
1417
|
+
mcp__agentic-payments__create_active_mandate({
|
|
1418
|
+
holder: newIdentity.public_key,
|
|
1419
|
+
// ... other params
|
|
1420
|
+
});
|
|
1421
|
+
|
|
1422
|
+
// 4. Update stored keypair
|
|
1423
|
+
// Store newIdentity.private_key securely
|
|
1424
|
+
```
|
|
1425
|
+
|
|
1426
|
+
---
|
|
1427
|
+
|
|
1428
|
+
**Q: Can I share my private key between agents?**
|
|
1429
|
+
|
|
1430
|
+
A: **NO.** Each agent should have its own keypair. Sharing compromises security.
|
|
1431
|
+
|
|
1432
|
+
---
|
|
1433
|
+
|
|
1434
|
+
### 8.3 Performance & Optimization
|
|
1435
|
+
|
|
1436
|
+
**Q: Why is sandbox creation slow?**
|
|
1437
|
+
|
|
1438
|
+
A: Sandboxes provision cloud resources. Use lighter templates or reuse sandboxes:
|
|
1439
|
+
```javascript
|
|
1440
|
+
// ❌ SLOW: Heavy template
|
|
1441
|
+
mcp__flow-nexus__sandbox_create({ template: 'nextjs' });
|
|
1442
|
+
|
|
1443
|
+
// ✅ FAST: Light template
|
|
1444
|
+
mcp__flow-nexus__sandbox_create({ template: 'base' });
|
|
1445
|
+
```
|
|
1446
|
+
|
|
1447
|
+
---
|
|
1448
|
+
|
|
1449
|
+
**Q: How can I reduce API costs?**
|
|
1450
|
+
|
|
1451
|
+
A:
|
|
1452
|
+
1. **Reuse sandboxes** instead of creating new ones
|
|
1453
|
+
2. **Batch operations** (store multiple items at once)
|
|
1454
|
+
3. **Use caching** (check memory before API calls)
|
|
1455
|
+
4. **Optimize swarm size** (use minimum agents needed)
|
|
1456
|
+
|
|
1457
|
+
---
|
|
1458
|
+
|
|
1459
|
+
**Q: What's the fastest swarm topology?**
|
|
1460
|
+
|
|
1461
|
+
A: Depends on use case:
|
|
1462
|
+
- **Mesh:** Best for peer-to-peer communication
|
|
1463
|
+
- **Star:** Best for centralized coordination
|
|
1464
|
+
- **Hierarchical:** Best for complex workflows
|
|
1465
|
+
- **Ring:** Best for sequential processing
|
|
1466
|
+
|
|
1467
|
+
---
|
|
1468
|
+
|
|
1469
|
+
### 8.4 Debugging & Troubleshooting
|
|
1470
|
+
|
|
1471
|
+
**Q: How do I know if a tool call succeeded?**
|
|
1472
|
+
|
|
1473
|
+
A: Check the response:
|
|
1474
|
+
```javascript
|
|
1475
|
+
const result = mcp__claude-flow__swarm_init({ topology: 'mesh' });
|
|
1476
|
+
|
|
1477
|
+
if (result.success) {
|
|
1478
|
+
console.log('Success:', result.data);
|
|
1479
|
+
} else {
|
|
1480
|
+
console.error('Error:', result.error);
|
|
1481
|
+
}
|
|
1482
|
+
```
|
|
1483
|
+
|
|
1484
|
+
---
|
|
1485
|
+
|
|
1486
|
+
**Q: Can I see raw MCP protocol messages?**
|
|
1487
|
+
|
|
1488
|
+
A: Yes, enable debug mode:
|
|
1489
|
+
```bash
|
|
1490
|
+
export MCP_DEBUG=true
|
|
1491
|
+
export MCP_VERBOSE=true
|
|
1492
|
+
```
|
|
1493
|
+
|
|
1494
|
+
---
|
|
1495
|
+
|
|
1496
|
+
**Q: What if a sandbox becomes unresponsive?**
|
|
1497
|
+
|
|
1498
|
+
A:
|
|
1499
|
+
```javascript
|
|
1500
|
+
// 1. Check status
|
|
1501
|
+
mcp__flow-nexus__sandbox_status({ sandbox_id: 'abc123' });
|
|
1502
|
+
|
|
1503
|
+
// 2. Check logs
|
|
1504
|
+
mcp__flow-nexus__sandbox_logs({ sandbox_id: 'abc123' });
|
|
1505
|
+
|
|
1506
|
+
// 3. Force delete if needed
|
|
1507
|
+
mcp__flow-nexus__sandbox_delete({ sandbox_id: 'abc123' });
|
|
1508
|
+
```
|
|
1509
|
+
|
|
1510
|
+
---
|
|
1511
|
+
|
|
1512
|
+
### 8.5 Best Practices
|
|
1513
|
+
|
|
1514
|
+
**Q: Should I use swarms for every task?**
|
|
1515
|
+
|
|
1516
|
+
A: No. Use swarms for:
|
|
1517
|
+
- Multi-step workflows
|
|
1518
|
+
- Parallel execution
|
|
1519
|
+
- Dynamic scaling
|
|
1520
|
+
|
|
1521
|
+
Skip for simple single-agent tasks.
|
|
1522
|
+
|
|
1523
|
+
---
|
|
1524
|
+
|
|
1525
|
+
**Q: How do I persist swarm state across sessions?**
|
|
1526
|
+
|
|
1527
|
+
A:
|
|
1528
|
+
```javascript
|
|
1529
|
+
// Save state
|
|
1530
|
+
mcp__claude-flow__memory_usage({
|
|
1531
|
+
action: 'store',
|
|
1532
|
+
key: 'swarm-state-abc',
|
|
1533
|
+
value: JSON.stringify(swarmState),
|
|
1534
|
+
namespace: 'swarms'
|
|
1535
|
+
});
|
|
1536
|
+
|
|
1537
|
+
// Restore state
|
|
1538
|
+
const saved = mcp__claude-flow__memory_usage({
|
|
1539
|
+
action: 'retrieve',
|
|
1540
|
+
key: 'swarm-state-abc',
|
|
1541
|
+
namespace: 'swarms'
|
|
1542
|
+
});
|
|
1543
|
+
const swarmState = JSON.parse(saved.value);
|
|
1544
|
+
```
|
|
1545
|
+
|
|
1546
|
+
---
|
|
1547
|
+
|
|
1548
|
+
**Q: What's the recommended memory namespace strategy?**
|
|
1549
|
+
|
|
1550
|
+
A:
|
|
1551
|
+
- `default`: Temporary data, single session
|
|
1552
|
+
- `global`: Cross-session, application-wide
|
|
1553
|
+
- `user-{id}`: Per-user data
|
|
1554
|
+
- `project-{id}`: Per-project data
|
|
1555
|
+
- `swarm-{id}`: Per-swarm coordination
|
|
1556
|
+
|
|
1557
|
+
---
|
|
1558
|
+
|
|
1559
|
+
## 9. Quick Reference
|
|
1560
|
+
|
|
1561
|
+
### 9.1 Most Common Issues
|
|
1562
|
+
|
|
1563
|
+
1. **"MCP server not found"** → `claude mcp add claude-flow npx claude-flow@alpha mcp start`
|
|
1564
|
+
2. **"AUTH_REQUIRED"** → `mcp__flow-nexus__user_login({ email, password })`
|
|
1565
|
+
3. **"RATE_LIMITED"** → Wait and retry, or upgrade tier
|
|
1566
|
+
4. **"SQLITE_BUSY"** → Close other connections, retry
|
|
1567
|
+
5. **"INVALID_PARAMS"** → Check tool documentation for correct parameters
|
|
1568
|
+
|
|
1569
|
+
### 9.2 Essential Commands
|
|
1570
|
+
|
|
1571
|
+
```bash
|
|
1572
|
+
# Check server status
|
|
1573
|
+
claude mcp list
|
|
1574
|
+
|
|
1575
|
+
# Restart server
|
|
1576
|
+
claude mcp restart claude-flow
|
|
1577
|
+
|
|
1578
|
+
# View logs
|
|
1579
|
+
claude mcp logs claude-flow --tail 50
|
|
1580
|
+
|
|
1581
|
+
# Enable debug mode
|
|
1582
|
+
export DEBUG=claude-flow:*
|
|
1583
|
+
|
|
1584
|
+
# Check database
|
|
1585
|
+
sqlite3 .agentdb/agentdb.db "PRAGMA integrity_check;"
|
|
1586
|
+
```
|
|
1587
|
+
|
|
1588
|
+
### 9.3 Support Contacts
|
|
1589
|
+
|
|
1590
|
+
- **GitHub Issues:** https://github.com/ruvnet/claude-flow/issues
|
|
1591
|
+
- **Documentation:** `/workspaces/agentic-flow/docs/guides/`
|
|
1592
|
+
- **Community:** Discord (link in README)
|
|
1593
|
+
- **Enterprise:** support@ruv.io
|
|
1594
|
+
|
|
1595
|
+
---
|
|
1596
|
+
|
|
1597
|
+
**End of Troubleshooting Guide**
|
|
1598
|
+
|
|
1599
|
+
**Version:** 1.0.0
|
|
1600
|
+
**Last Updated:** 2025-10-22
|
|
1601
|
+
**Next Review:** 2025-11-22
|
|
1602
|
+
**Status:** ✅ Production Ready
|