@monoes/monomindcli 1.6.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/academic/academic-anthropologist.md +126 -0
- package/.claude/agents/academic/academic-geographer.md +128 -0
- package/.claude/agents/academic/academic-historian.md +124 -0
- package/.claude/agents/academic/academic-narratologist.md +119 -0
- package/.claude/agents/academic/academic-psychologist.md +119 -0
- package/.claude/agents/analysis/analyze-code-quality.md +58 -0
- package/.claude/agents/analysis/code-analyzer.md +189 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +58 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +54 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +977 -0
- package/.claude/agents/consensus/performance-benchmarker.md +831 -0
- package/.claude/agents/consensus/quorum-manager.md +803 -0
- package/.claude/agents/consensus/security-manager.md +602 -0
- package/.claude/agents/core/coder.md +262 -0
- package/.claude/agents/core/planner.md +170 -0
- package/.claude/agents/core/researcher.md +192 -0
- package/.claude/agents/core/reviewer.md +327 -0
- package/.claude/agents/core/tester.md +318 -0
- package/.claude/agents/data/ml/data-ml-model.md +76 -0
- package/.claude/agents/design/design-brand-guardian.md +323 -0
- package/.claude/agents/design/design-image-prompt-engineer.md +237 -0
- package/.claude/agents/design/design-inclusive-visuals-specialist.md +72 -0
- package/.claude/agents/design/design-ui-designer.md +384 -0
- package/.claude/agents/design/design-ux-architect.md +470 -0
- package/.claude/agents/design/design-ux-researcher.md +330 -0
- package/.claude/agents/design/design-visual-storyteller.md +150 -0
- package/.claude/agents/design/design-whimsy-injector.md +439 -0
- package/.claude/agents/development/dev-backend-api.md +178 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +52 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +63 -0
- package/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +212 -0
- package/.claude/agents/engineering/engineering-ai-engineer.md +165 -0
- package/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +108 -0
- package/.claude/agents/engineering/engineering-backend-architect.md +254 -0
- package/.claude/agents/engineering/engineering-code-reviewer.md +95 -0
- package/.claude/agents/engineering/engineering-data-engineer.md +307 -0
- package/.claude/agents/engineering/engineering-database-optimizer.md +200 -0
- package/.claude/agents/engineering/engineering-devops-automator.md +430 -0
- package/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +174 -0
- package/.claude/agents/engineering/engineering-feishu-integration-developer.md +607 -0
- package/.claude/agents/engineering/engineering-frontend-developer.md +249 -0
- package/.claude/agents/engineering/engineering-git-workflow-master.md +108 -0
- package/.claude/agents/engineering/engineering-incident-response-commander.md +482 -0
- package/.claude/agents/engineering/engineering-mobile-app-builder.md +499 -0
- package/.claude/agents/engineering/engineering-rapid-prototyper.md +463 -0
- package/.claude/agents/engineering/engineering-security-engineer.md +303 -0
- package/.claude/agents/engineering/engineering-senior-developer.md +195 -0
- package/.claude/agents/engineering/engineering-software-architect.md +100 -0
- package/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +528 -0
- package/.claude/agents/engineering/engineering-sre.md +114 -0
- package/.claude/agents/engineering/engineering-technical-writer.md +412 -0
- package/.claude/agents/engineering/engineering-threat-detection-engineer.md +540 -0
- package/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +351 -0
- package/.claude/agents/game-development/blender/blender-addon-engineer.md +235 -0
- package/.claude/agents/game-development/game-audio-engineer.md +265 -0
- package/.claude/agents/game-development/game-designer.md +168 -0
- package/.claude/agents/game-development/godot/godot-gameplay-scripter.md +335 -0
- package/.claude/agents/game-development/godot/godot-multiplayer-engineer.md +298 -0
- package/.claude/agents/game-development/godot/godot-shader-developer.md +267 -0
- package/.claude/agents/game-development/level-designer.md +209 -0
- package/.claude/agents/game-development/narrative-designer.md +244 -0
- package/.claude/agents/game-development/roblox-studio/roblox-avatar-creator.md +298 -0
- package/.claude/agents/game-development/roblox-studio/roblox-experience-designer.md +306 -0
- package/.claude/agents/game-development/roblox-studio/roblox-systems-scripter.md +326 -0
- package/.claude/agents/game-development/technical-artist.md +230 -0
- package/.claude/agents/game-development/unity/unity-architect.md +272 -0
- package/.claude/agents/game-development/unity/unity-editor-tool-developer.md +311 -0
- package/.claude/agents/game-development/unity/unity-multiplayer-engineer.md +322 -0
- package/.claude/agents/game-development/unity/unity-shader-graph-artist.md +270 -0
- package/.claude/agents/game-development/unreal-engine/unreal-multiplayer-architect.md +314 -0
- package/.claude/agents/game-development/unreal-engine/unreal-systems-engineer.md +311 -0
- package/.claude/agents/game-development/unreal-engine/unreal-technical-artist.md +257 -0
- package/.claude/agents/game-development/unreal-engine/unreal-world-builder.md +274 -0
- package/.claude/agents/github/code-review-swarm.md +557 -0
- package/.claude/agents/github/github-modes.md +154 -0
- package/.claude/agents/github/issue-tracker.md +299 -0
- package/.claude/agents/github/multi-repo-swarm.md +525 -0
- package/.claude/agents/github/pr-manager.md +163 -0
- package/.claude/agents/github/project-board-sync.md +478 -0
- package/.claude/agents/github/release-manager.md +352 -0
- package/.claude/agents/github/release-swarm.md +597 -0
- package/.claude/agents/github/repo-architect.md +378 -0
- package/.claude/agents/github/swarm-issue.md +548 -0
- package/.claude/agents/github/swarm-pr.md +427 -0
- package/.claude/agents/github/sync-coordinator.md +423 -0
- package/.claude/agents/github/workflow-automation.md +640 -0
- package/.claude/agents/goal/agent.md +804 -0
- package/.claude/agents/goal/code-goal-planner.md +445 -0
- package/.claude/agents/goal/goal-planner.md +168 -0
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +129 -0
- package/.claude/agents/hive-mind/queen-coordinator.md +202 -0
- package/.claude/agents/hive-mind/scout-explorer.md +241 -0
- package/.claude/agents/hive-mind/swarm-memory-manager.md +192 -0
- package/.claude/agents/hive-mind/worker-specialist.md +216 -0
- package/.claude/agents/marketing/marketing-ai-citation-strategist.md +171 -0
- package/.claude/agents/marketing/marketing-app-store-optimizer.md +322 -0
- package/.claude/agents/marketing/marketing-baidu-seo-specialist.md +227 -0
- package/.claude/agents/marketing/marketing-bilibili-content-strategist.md +200 -0
- package/.claude/agents/marketing/marketing-book-co-author.md +111 -0
- package/.claude/agents/marketing/marketing-carousel-growth-engine.md +200 -0
- package/.claude/agents/marketing/marketing-china-ecommerce-operator.md +284 -0
- package/.claude/agents/marketing/marketing-content-creator.md +54 -0
- package/.claude/agents/marketing/marketing-cross-border-ecommerce.md +260 -0
- package/.claude/agents/marketing/marketing-douyin-strategist.md +150 -0
- package/.claude/agents/marketing/marketing-growth-hacker.md +54 -0
- package/.claude/agents/marketing/marketing-instagram-curator.md +114 -0
- package/.claude/agents/marketing/marketing-kuaishou-strategist.md +224 -0
- package/.claude/agents/marketing/marketing-linkedin-content-creator.md +215 -0
- package/.claude/agents/marketing/marketing-livestream-commerce-coach.md +306 -0
- package/.claude/agents/marketing/marketing-podcast-strategist.md +278 -0
- package/.claude/agents/marketing/marketing-private-domain-operator.md +309 -0
- package/.claude/agents/marketing/marketing-reddit-community-builder.md +124 -0
- package/.claude/agents/marketing/marketing-seo-specialist.md +279 -0
- package/.claude/agents/marketing/marketing-short-video-editing-coach.md +413 -0
- package/.claude/agents/marketing/marketing-social-media-strategist.md +125 -0
- package/.claude/agents/marketing/marketing-tiktok-strategist.md +126 -0
- package/.claude/agents/marketing/marketing-twitter-engager.md +127 -0
- package/.claude/agents/marketing/marketing-wechat-official-account.md +146 -0
- package/.claude/agents/marketing/marketing-weibo-strategist.md +241 -0
- package/.claude/agents/marketing/marketing-xiaohongshu-specialist.md +139 -0
- package/.claude/agents/marketing/marketing-zhihu-strategist.md +163 -0
- package/.claude/agents/neural/safla-neural.md +74 -0
- package/.claude/agents/optimization/benchmark-suite.md +663 -0
- package/.claude/agents/optimization/load-balancer.md +429 -0
- package/.claude/agents/optimization/performance-monitor.md +670 -0
- package/.claude/agents/optimization/resource-allocator.md +672 -0
- package/.claude/agents/optimization/topology-optimizer.md +806 -0
- package/.claude/agents/paid-media/paid-media-auditor.md +71 -0
- package/.claude/agents/paid-media/paid-media-creative-strategist.md +71 -0
- package/.claude/agents/paid-media/paid-media-paid-social-strategist.md +71 -0
- package/.claude/agents/paid-media/paid-media-ppc-strategist.md +71 -0
- package/.claude/agents/paid-media/paid-media-programmatic-buyer.md +71 -0
- package/.claude/agents/paid-media/paid-media-search-query-analyst.md +71 -0
- package/.claude/agents/paid-media/paid-media-tracking-specialist.md +71 -0
- package/.claude/agents/payments/agentic-payments.md +126 -0
- package/.claude/agents/product/product-behavioral-nudge-engine.md +81 -0
- package/.claude/agents/product/product-feedback-synthesizer.md +119 -0
- package/.claude/agents/product/product-manager.md +469 -0
- package/.claude/agents/product/product-sprint-prioritizer.md +154 -0
- package/.claude/agents/product/product-trend-researcher.md +159 -0
- package/.claude/agents/project-management/project-management-experiment-tracker.md +199 -0
- package/.claude/agents/project-management/project-management-jira-workflow-steward.md +231 -0
- package/.claude/agents/project-management/project-management-project-shepherd.md +195 -0
- package/.claude/agents/project-management/project-management-studio-operations.md +201 -0
- package/.claude/agents/project-management/project-management-studio-producer.md +204 -0
- package/.claude/agents/project-management/project-manager-senior.md +136 -0
- package/.claude/agents/reasoning/agent.md +804 -0
- package/.claude/agents/reasoning/goal-planner.md +73 -0
- package/.claude/agents/sales/sales-account-strategist.md +228 -0
- package/.claude/agents/sales/sales-coach.md +272 -0
- package/.claude/agents/sales/sales-deal-strategist.md +181 -0
- package/.claude/agents/sales/sales-discovery-coach.md +226 -0
- package/.claude/agents/sales/sales-engineer.md +183 -0
- package/.claude/agents/sales/sales-outbound-strategist.md +202 -0
- package/.claude/agents/sales/sales-pipeline-analyst.md +268 -0
- package/.claude/agents/sales/sales-proposal-strategist.md +218 -0
- package/.claude/agents/schemas/architecture-output.json +43 -0
- package/.claude/agents/schemas/code-review-output.json +28 -0
- package/.claude/agents/schemas/generic-task-input.json +12 -0
- package/.claude/agents/schemas/implementation-output.json +18 -0
- package/.claude/agents/schemas/research-output.json +31 -0
- package/.claude/agents/schemas/security-audit-output.json +29 -0
- package/.claude/agents/schemas/test-report-output.json +29 -0
- package/.claude/agents/sona/sona-learning-optimizer.md +65 -0
- package/.claude/agents/sparc/architecture.md +453 -0
- package/.claude/agents/sparc/pseudocode.md +299 -0
- package/.claude/agents/sparc/refinement.md +504 -0
- package/.claude/agents/sparc/specification.md +258 -0
- package/.claude/agents/spatial-computing/macos-spatial-metal-engineer.md +338 -0
- package/.claude/agents/spatial-computing/terminal-integration-specialist.md +71 -0
- package/.claude/agents/spatial-computing/visionos-spatial-engineer.md +55 -0
- package/.claude/agents/specialized/accounts-payable-agent.md +186 -0
- package/.claude/agents/specialized/agentic-identity-trust.md +388 -0
- package/.claude/agents/specialized/agents-orchestrator.md +368 -0
- package/.claude/agents/specialized/automation-governance-architect.md +217 -0
- package/.claude/agents/specialized/blockchain-security-auditor.md +497 -0
- package/.claude/agents/specialized/compliance-auditor.md +159 -0
- package/.claude/agents/specialized/corporate-training-designer.md +193 -0
- package/.claude/agents/specialized/data-consolidation-agent.md +61 -0
- package/.claude/agents/specialized/government-digital-presales-consultant.md +364 -0
- package/.claude/agents/specialized/healthcare-marketing-compliance.md +396 -0
- package/.claude/agents/specialized/identity-graph-operator.md +261 -0
- package/.claude/agents/specialized/lsp-index-engineer.md +315 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +89 -0
- package/.claude/agents/specialized/recruitment-specialist.md +510 -0
- package/.claude/agents/specialized/report-distribution-agent.md +66 -0
- package/.claude/agents/specialized/sales-data-extraction-agent.md +68 -0
- package/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +89 -0
- package/.claude/agents/specialized/specialized-developer-advocate.md +318 -0
- package/.claude/agents/specialized/specialized-document-generator.md +56 -0
- package/.claude/agents/specialized/specialized-french-consulting-market.md +193 -0
- package/.claude/agents/specialized/specialized-korean-business-navigator.md +217 -0
- package/.claude/agents/specialized/specialized-mcp-builder.md +64 -0
- package/.claude/agents/specialized/specialized-model-qa.md +489 -0
- package/.claude/agents/specialized/specialized-salesforce-architect.md +181 -0
- package/.claude/agents/specialized/specialized-workflow-architect.md +598 -0
- package/.claude/agents/specialized/study-abroad-advisor.md +283 -0
- package/.claude/agents/specialized/supply-chain-strategist.md +583 -0
- package/.claude/agents/specialized/zk-steward.md +212 -0
- package/.claude/agents/sublinear/consensus-coordinator.md +333 -0
- package/.claude/agents/sublinear/matrix-optimizer.md +180 -0
- package/.claude/agents/sublinear/pagerank-analyzer.md +295 -0
- package/.claude/agents/sublinear/performance-optimizer.md +363 -0
- package/.claude/agents/sublinear/trading-predictor.md +242 -0
- package/.claude/agents/support/support-analytics-reporter.md +366 -0
- package/.claude/agents/support/support-executive-summary-generator.md +213 -0
- package/.claude/agents/support/support-finance-tracker.md +443 -0
- package/.claude/agents/support/support-infrastructure-maintainer.md +619 -0
- package/.claude/agents/support/support-legal-compliance-checker.md +589 -0
- package/.claude/agents/support/support-support-responder.md +586 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +364 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +318 -0
- package/.claude/agents/swarm/mesh-coordinator.md +363 -0
- package/.claude/agents/templates/automation-smart-agent.md +185 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +83 -0
- package/.claude/agents/templates/github-pr-manager.md +155 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +231 -0
- package/.claude/agents/templates/memory-coordinator.md +163 -0
- package/.claude/agents/templates/migration-plan.md +724 -0
- package/.claude/agents/templates/orchestrator-task.md +120 -0
- package/.claude/agents/templates/performance-analyzer.md +179 -0
- package/.claude/agents/templates/sparc-coordinator.md +163 -0
- package/.claude/agents/testing/production-validator.md +374 -0
- package/.claude/agents/testing/tdd-london-swarm.md +241 -0
- package/.claude/agents/testing/testing-accessibility-auditor.md +322 -0
- package/.claude/agents/testing/testing-api-tester.md +307 -0
- package/.claude/agents/testing/testing-evidence-collector.md +211 -0
- package/.claude/agents/testing/testing-performance-benchmarker.md +269 -0
- package/.claude/agents/testing/testing-reality-checker.md +237 -0
- package/.claude/agents/testing/testing-test-results-analyzer.md +306 -0
- package/.claude/agents/testing/testing-tool-evaluator.md +395 -0
- package/.claude/agents/testing/testing-workflow-optimizer.md +451 -0
- package/.claude/agents/v3/integration-architect.md +338 -0
- package/.claude/agents/v3/memory-specialist.md +298 -0
- package/.claude/agents/v3/performance-engineer.md +387 -0
- package/.claude/agents/v3/queen-coordinator.md +67 -0
- package/.claude/agents/v3/security-architect.md +154 -0
- package/.claude/commands/agents/README.md +10 -0
- package/.claude/commands/agents/agent-capabilities.md +21 -0
- package/.claude/commands/agents/agent-coordination.md +28 -0
- package/.claude/commands/agents/agent-spawning.md +28 -0
- package/.claude/commands/agents/agent-types.md +26 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +45 -0
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +106 -0
- package/.claude/commands/automation/session-memory.md +90 -0
- package/.claude/commands/automation/smart-agents.md +73 -0
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/browse.md +27 -0
- 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/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +550 -0
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +147 -0
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +292 -0
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +519 -0
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +170 -0
- package/.claude/commands/github/project-board-sync.md +471 -0
- package/.claude/commands/github/release-manager.md +355 -0
- package/.claude/commands/github/release-swarm.md +590 -0
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +381 -0
- package/.claude/commands/github/swarm-issue.md +482 -0
- package/.claude/commands/github/swarm-pr.md +310 -0
- package/.claude/commands/github/sync-coordinator.md +301 -0
- package/.claude/commands/github/workflow-automation.md +468 -0
- package/.claude/commands/hive-mind/README.md +17 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +58 -0
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +103 -0
- package/.claude/commands/list-agents.md +17 -0
- package/.claude/commands/mastermind.md +121 -0
- 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/metrics.md +11 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +44 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +46 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/monobrain-help.md +103 -0
- package/.claude/commands/monobrain-memory.md +107 -0
- package/.claude/commands/monobrain-swarm.md +205 -0
- package/.claude/commands/monomind-do.md +276 -0
- package/.claude/commands/monomind-idea.md +269 -0
- package/.claude/commands/monomind-repeat.md +95 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +62 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +50 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/pair/README.md +261 -0
- package/.claude/commands/pair/commands.md +546 -0
- package/.claude/commands/pair/config.md +510 -0
- package/.claude/commands/pair/examples.md +512 -0
- package/.claude/commands/pair/modes.md +348 -0
- package/.claude/commands/pair/session.md +407 -0
- package/.claude/commands/pair/start.md +209 -0
- package/.claude/commands/sparc/analyzer.md +52 -0
- package/.claude/commands/sparc/architect.md +53 -0
- package/.claude/commands/sparc/ask.md +97 -0
- package/.claude/commands/sparc/batch-executor.md +54 -0
- package/.claude/commands/sparc/code.md +89 -0
- package/.claude/commands/sparc/coder.md +54 -0
- package/.claude/commands/sparc/debug.md +83 -0
- package/.claude/commands/sparc/debugger.md +54 -0
- package/.claude/commands/sparc/designer.md +53 -0
- package/.claude/commands/sparc/devops.md +109 -0
- package/.claude/commands/sparc/docs-writer.md +80 -0
- package/.claude/commands/sparc/documenter.md +54 -0
- package/.claude/commands/sparc/innovator.md +54 -0
- package/.claude/commands/sparc/integration.md +83 -0
- package/.claude/commands/sparc/mcp.md +117 -0
- package/.claude/commands/sparc/memory-manager.md +54 -0
- package/.claude/commands/sparc/optimizer.md +54 -0
- package/.claude/commands/sparc/orchestrator.md +132 -0
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
- package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
- package/.claude/commands/sparc/researcher.md +54 -0
- package/.claude/commands/sparc/reviewer.md +54 -0
- package/.claude/commands/sparc/security-review.md +80 -0
- package/.claude/commands/sparc/sparc-modes.md +174 -0
- package/.claude/commands/sparc/sparc.md +111 -0
- package/.claude/commands/sparc/spec-pseudocode.md +80 -0
- package/.claude/commands/sparc/supabase-admin.md +348 -0
- package/.claude/commands/sparc/swarm-coordinator.md +54 -0
- package/.claude/commands/sparc/tdd.md +54 -0
- package/.claude/commands/sparc/tester.md +54 -0
- package/.claude/commands/sparc/tutorial.md +79 -0
- package/.claude/commands/sparc/workflow-manager.md +54 -0
- package/.claude/commands/sparc.md +166 -0
- package/.claude/commands/stream-chain/pipeline.md +121 -0
- package/.claude/commands/stream-chain/run.md +70 -0
- package/.claude/commands/swarm/README.md +15 -0
- package/.claude/commands/swarm/analysis.md +95 -0
- package/.claude/commands/swarm/development.md +96 -0
- package/.claude/commands/swarm/examples.md +168 -0
- package/.claude/commands/swarm/maintenance.md +102 -0
- package/.claude/commands/swarm/optimization.md +117 -0
- package/.claude/commands/swarm/research.md +136 -0
- package/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/.claude/commands/swarm/swarm-background.md +8 -0
- package/.claude/commands/swarm/swarm-modes.md +8 -0
- package/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/.claude/commands/swarm/swarm-status.md +8 -0
- package/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/.claude/commands/swarm/swarm.md +27 -0
- package/.claude/commands/swarm/testing.md +131 -0
- package/.claude/commands/tokens.md +13 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +74 -0
- package/.claude/commands/training/neural-train.md +25 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +63 -0
- package/.claude/commands/truth/start.md +143 -0
- package/.claude/commands/ts.md +9 -0
- package/.claude/commands/use-agent.md +67 -0
- package/.claude/commands/verify/check.md +50 -0
- package/.claude/commands/verify/start.md +128 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +78 -0
- package/.claude/commands/workflows/research.md +63 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/README.md +105 -0
- package/.claude/helpers/auto-memory-hook.mjs +369 -0
- package/.claude/helpers/context-persistence-hook.mjs +1988 -0
- package/.claude/helpers/extras-registry.json +3028 -0
- package/.claude/helpers/graphify-freshen.cjs +109 -0
- package/.claude/helpers/hook-handler.cjs +1446 -0
- package/.claude/helpers/intelligence.cjs +227 -0
- package/.claude/helpers/learning-service.mjs +1144 -0
- package/.claude/helpers/memory-palace.cjs +401 -0
- package/.claude/helpers/memory.cjs +84 -0
- package/.claude/helpers/metrics-db.mjs +488 -0
- package/.claude/helpers/router.cjs +306 -0
- package/.claude/helpers/session.cjs +125 -0
- package/.claude/helpers/skill-registry.json +961 -0
- package/.claude/helpers/statusline.cjs +1276 -0
- package/.claude/helpers/swarm-hooks.sh +761 -0
- package/.claude/helpers/toggle-statusline.cjs +58 -0
- package/.claude/helpers/token-tracker.cjs +934 -0
- package/.claude/skills/agent-browser-testing/SKILL.md +312 -0
- 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/agentic-jujutsu/SKILL.md +645 -0
- package/.claude/skills/github-code-review/SKILL.md +1148 -0
- package/.claude/skills/github-multi-repo/SKILL.md +916 -0
- package/.claude/skills/github-project-management/SKILL.md +1250 -0
- package/.claude/skills/github-release-management/SKILL.md +1124 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1111 -0
- package/.claude/skills/hive-mind-advanced/SKILL.md +709 -0
- package/.claude/skills/hooks-automation/SKILL.md +1200 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/performance-analysis/SKILL.md +560 -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 +1106 -0
- package/.claude/skills/specialagent/SKILL.md +208 -0
- package/.claude/skills/stream-chain/SKILL.md +560 -0
- package/.claude/skills/swarm-advanced/SKILL.md +970 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/v3-cli-modernization/SKILL.md +941 -0
- package/.claude/skills/v3-core-implementation/SKILL.md +867 -0
- package/.claude/skills/v3-ddd-architecture/SKILL.md +451 -0
- package/.claude/skills/v3-integration-deep/SKILL.md +258 -0
- package/.claude/skills/v3-mcp-optimization/SKILL.md +816 -0
- package/.claude/skills/v3-memory-unification/SKILL.md +180 -0
- package/.claude/skills/v3-performance-optimization/SKILL.md +408 -0
- package/.claude/skills/v3-security-overhaul/SKILL.md +91 -0
- package/.claude/skills/v3-swarm-coordination/SKILL.md +433 -0
- package/.claude/skills/verification-quality/SKILL.md +674 -0
- package/README.md +687 -0
- package/bin/cli.js +156 -0
- package/bin/mcp-server.js +189 -0
- package/bin/preinstall.cjs +2 -0
- package/dist/src/agents/halt-signal.d.ts +25 -0
- package/dist/src/agents/halt-signal.d.ts.map +1 -0
- package/dist/src/agents/halt-signal.js +50 -0
- package/dist/src/agents/halt-signal.js.map +1 -0
- package/dist/src/agents/index.d.ts +18 -0
- package/dist/src/agents/index.d.ts.map +1 -0
- package/dist/src/agents/index.js +13 -0
- package/dist/src/agents/index.js.map +1 -0
- package/dist/src/agents/managed-agent.d.ts +41 -0
- package/dist/src/agents/managed-agent.d.ts.map +1 -0
- package/dist/src/agents/managed-agent.js +66 -0
- package/dist/src/agents/managed-agent.js.map +1 -0
- package/dist/src/agents/prompt-experiment.d.ts +22 -0
- package/dist/src/agents/prompt-experiment.d.ts.map +1 -0
- package/dist/src/agents/prompt-experiment.js +49 -0
- package/dist/src/agents/prompt-experiment.js.map +1 -0
- package/dist/src/agents/prompt-version-manager.d.ts +19 -0
- package/dist/src/agents/prompt-version-manager.d.ts.map +1 -0
- package/dist/src/agents/prompt-version-manager.js +58 -0
- package/dist/src/agents/prompt-version-manager.js.map +1 -0
- package/dist/src/agents/registry-builder.d.ts +36 -0
- package/dist/src/agents/registry-builder.d.ts.map +1 -0
- package/dist/src/agents/registry-builder.js +200 -0
- package/dist/src/agents/registry-builder.js.map +1 -0
- package/dist/src/agents/registry-query.d.ts +71 -0
- package/dist/src/agents/registry-query.d.ts.map +1 -0
- package/dist/src/agents/registry-query.js +125 -0
- package/dist/src/agents/registry-query.js.map +1 -0
- package/dist/src/agents/score-decay.d.ts +19 -0
- package/dist/src/agents/score-decay.d.ts.map +1 -0
- package/dist/src/agents/score-decay.js +22 -0
- package/dist/src/agents/score-decay.js.map +1 -0
- package/dist/src/agents/shared-instructions-loader.d.ts +13 -0
- package/dist/src/agents/shared-instructions-loader.d.ts.map +1 -0
- package/dist/src/agents/shared-instructions-loader.js +40 -0
- package/dist/src/agents/shared-instructions-loader.js.map +1 -0
- package/dist/src/agents/specialization-scorer.d.ts +54 -0
- package/dist/src/agents/specialization-scorer.d.ts.map +1 -0
- package/dist/src/agents/specialization-scorer.js +204 -0
- package/dist/src/agents/specialization-scorer.js.map +1 -0
- package/dist/src/agents/termination-watcher.d.ts +30 -0
- package/dist/src/agents/termination-watcher.d.ts.map +1 -0
- package/dist/src/agents/termination-watcher.js +84 -0
- package/dist/src/agents/termination-watcher.js.map +1 -0
- package/dist/src/agents/trigger-index.d.ts +20 -0
- package/dist/src/agents/trigger-index.d.ts.map +1 -0
- package/dist/src/agents/trigger-index.js +38 -0
- package/dist/src/agents/trigger-index.js.map +1 -0
- package/dist/src/agents/trigger-scanner.d.ts +62 -0
- package/dist/src/agents/trigger-scanner.d.ts.map +1 -0
- package/dist/src/agents/trigger-scanner.js +260 -0
- package/dist/src/agents/trigger-scanner.js.map +1 -0
- package/dist/src/agents/version-diff.d.ts +18 -0
- package/dist/src/agents/version-diff.d.ts.map +1 -0
- package/dist/src/agents/version-diff.js +64 -0
- package/dist/src/agents/version-diff.js.map +1 -0
- package/dist/src/agents/version-store.d.ts +61 -0
- package/dist/src/agents/version-store.d.ts.map +1 -0
- package/dist/src/agents/version-store.js +212 -0
- package/dist/src/agents/version-store.js.map +1 -0
- package/dist/src/autopilot-state.d.ts +77 -0
- package/dist/src/autopilot-state.d.ts.map +1 -0
- package/dist/src/autopilot-state.js +279 -0
- package/dist/src/autopilot-state.js.map +1 -0
- package/dist/src/benchmarks/benchmark-runner.d.ts +82 -0
- package/dist/src/benchmarks/benchmark-runner.d.ts.map +1 -0
- package/dist/src/benchmarks/benchmark-runner.js +261 -0
- package/dist/src/benchmarks/benchmark-runner.js.map +1 -0
- package/dist/src/benchmarks/metric-evaluators.d.ts +35 -0
- package/dist/src/benchmarks/metric-evaluators.d.ts.map +1 -0
- package/dist/src/benchmarks/metric-evaluators.js +91 -0
- package/dist/src/benchmarks/metric-evaluators.js.map +1 -0
- package/dist/src/benchmarks/pretrain/index.d.ts +58 -0
- package/dist/src/benchmarks/pretrain/index.d.ts.map +1 -0
- package/dist/src/benchmarks/pretrain/index.js +404 -0
- package/dist/src/benchmarks/pretrain/index.js.map +1 -0
- package/dist/src/commands/agent-wasm.d.ts +14 -0
- package/dist/src/commands/agent-wasm.d.ts.map +1 -0
- package/dist/src/commands/agent-wasm.js +333 -0
- package/dist/src/commands/agent-wasm.js.map +1 -0
- package/dist/src/commands/agent.d.ts +8 -0
- package/dist/src/commands/agent.d.ts.map +1 -0
- package/dist/src/commands/agent.js +941 -0
- package/dist/src/commands/agent.js.map +1 -0
- package/dist/src/commands/analyze.d.ts +19 -0
- package/dist/src/commands/analyze.d.ts.map +1 -0
- package/dist/src/commands/analyze.js +2048 -0
- package/dist/src/commands/analyze.js.map +1 -0
- package/dist/src/commands/appliance-advanced.d.ts +9 -0
- package/dist/src/commands/appliance-advanced.d.ts.map +1 -0
- package/dist/src/commands/appliance-advanced.js +215 -0
- package/dist/src/commands/appliance-advanced.js.map +1 -0
- package/dist/src/commands/appliance.d.ts +8 -0
- package/dist/src/commands/appliance.d.ts.map +1 -0
- package/dist/src/commands/appliance.js +406 -0
- package/dist/src/commands/appliance.js.map +1 -0
- package/dist/src/commands/autopilot.d.ts +15 -0
- package/dist/src/commands/autopilot.d.ts.map +1 -0
- package/dist/src/commands/autopilot.js +362 -0
- package/dist/src/commands/autopilot.js.map +1 -0
- package/dist/src/commands/benchmark.d.ts +10 -0
- package/dist/src/commands/benchmark.d.ts.map +1 -0
- package/dist/src/commands/benchmark.js +460 -0
- package/dist/src/commands/benchmark.js.map +1 -0
- package/dist/src/commands/claims.d.ts +10 -0
- package/dist/src/commands/claims.d.ts.map +1 -0
- package/dist/src/commands/claims.js +624 -0
- package/dist/src/commands/claims.js.map +1 -0
- package/dist/src/commands/cleanup.d.ts +13 -0
- package/dist/src/commands/cleanup.d.ts.map +1 -0
- package/dist/src/commands/cleanup.js +218 -0
- package/dist/src/commands/cleanup.js.map +1 -0
- package/dist/src/commands/completions.d.ts +10 -0
- package/dist/src/commands/completions.d.ts.map +1 -0
- package/dist/src/commands/completions.js +539 -0
- package/dist/src/commands/completions.js.map +1 -0
- package/dist/src/commands/config.d.ts +8 -0
- package/dist/src/commands/config.d.ts.map +1 -0
- package/dist/src/commands/config.js +428 -0
- package/dist/src/commands/config.js.map +1 -0
- package/dist/src/commands/daemon.d.ts +8 -0
- package/dist/src/commands/daemon.d.ts.map +1 -0
- package/dist/src/commands/daemon.js +669 -0
- package/dist/src/commands/daemon.js.map +1 -0
- package/dist/src/commands/deployment.d.ts +10 -0
- package/dist/src/commands/deployment.d.ts.map +1 -0
- package/dist/src/commands/deployment.js +672 -0
- package/dist/src/commands/deployment.js.map +1 -0
- package/dist/src/commands/doctor.d.ts +10 -0
- package/dist/src/commands/doctor.d.ts.map +1 -0
- package/dist/src/commands/doctor.js +619 -0
- package/dist/src/commands/doctor.js.map +1 -0
- package/dist/src/commands/embeddings.d.ts +18 -0
- package/dist/src/commands/embeddings.d.ts.map +1 -0
- package/dist/src/commands/embeddings.js +1576 -0
- package/dist/src/commands/embeddings.js.map +1 -0
- package/dist/src/commands/guidance.d.ts +8 -0
- package/dist/src/commands/guidance.d.ts.map +1 -0
- package/dist/src/commands/guidance.js +560 -0
- package/dist/src/commands/guidance.js.map +1 -0
- package/dist/src/commands/hive-mind.d.ts +11 -0
- package/dist/src/commands/hive-mind.d.ts.map +1 -0
- package/dist/src/commands/hive-mind.js +1237 -0
- package/dist/src/commands/hive-mind.js.map +1 -0
- package/dist/src/commands/hooks.d.ts +8 -0
- package/dist/src/commands/hooks.d.ts.map +1 -0
- package/dist/src/commands/hooks.js +4442 -0
- package/dist/src/commands/hooks.js.map +1 -0
- package/dist/src/commands/index.d.ts +117 -0
- package/dist/src/commands/index.d.ts.map +1 -0
- package/dist/src/commands/index.js +391 -0
- package/dist/src/commands/index.js.map +1 -0
- package/dist/src/commands/init.d.ts +8 -0
- package/dist/src/commands/init.d.ts.map +1 -0
- package/dist/src/commands/init.js +817 -0
- package/dist/src/commands/init.js.map +1 -0
- package/dist/src/commands/issues.d.ts +21 -0
- package/dist/src/commands/issues.d.ts.map +1 -0
- package/dist/src/commands/issues.js +567 -0
- package/dist/src/commands/issues.js.map +1 -0
- package/dist/src/commands/mcp.d.ts +11 -0
- package/dist/src/commands/mcp.d.ts.map +1 -0
- package/dist/src/commands/mcp.js +718 -0
- package/dist/src/commands/mcp.js.map +1 -0
- package/dist/src/commands/memory.d.ts +8 -0
- package/dist/src/commands/memory.d.ts.map +1 -0
- package/dist/src/commands/memory.js +1565 -0
- package/dist/src/commands/memory.js.map +1 -0
- package/dist/src/commands/migrate.d.ts +8 -0
- package/dist/src/commands/migrate.d.ts.map +1 -0
- package/dist/src/commands/migrate.js +742 -0
- package/dist/src/commands/migrate.js.map +1 -0
- package/dist/src/commands/neural.d.ts +10 -0
- package/dist/src/commands/neural.d.ts.map +1 -0
- package/dist/src/commands/neural.js +1454 -0
- package/dist/src/commands/neural.js.map +1 -0
- package/dist/src/commands/performance.d.ts +10 -0
- package/dist/src/commands/performance.d.ts.map +1 -0
- package/dist/src/commands/performance.js +579 -0
- package/dist/src/commands/performance.js.map +1 -0
- package/dist/src/commands/plugins.d.ts +11 -0
- package/dist/src/commands/plugins.d.ts.map +1 -0
- package/dist/src/commands/plugins.js +820 -0
- package/dist/src/commands/plugins.js.map +1 -0
- package/dist/src/commands/process.d.ts +10 -0
- package/dist/src/commands/process.d.ts.map +1 -0
- package/dist/src/commands/process.js +695 -0
- package/dist/src/commands/process.js.map +1 -0
- package/dist/src/commands/progress.d.ts +11 -0
- package/dist/src/commands/progress.d.ts.map +1 -0
- package/dist/src/commands/progress.js +259 -0
- package/dist/src/commands/progress.js.map +1 -0
- package/dist/src/commands/providers.d.ts +10 -0
- package/dist/src/commands/providers.d.ts.map +1 -0
- package/dist/src/commands/providers.js +359 -0
- package/dist/src/commands/providers.js.map +1 -0
- package/dist/src/commands/replay.d.ts +8 -0
- package/dist/src/commands/replay.d.ts.map +1 -0
- package/dist/src/commands/replay.js +60 -0
- package/dist/src/commands/replay.js.map +1 -0
- package/dist/src/commands/route.d.ts +16 -0
- package/dist/src/commands/route.d.ts.map +1 -0
- package/dist/src/commands/route.js +907 -0
- package/dist/src/commands/route.js.map +1 -0
- package/dist/src/commands/ruvector/backup.d.ts +11 -0
- package/dist/src/commands/ruvector/backup.d.ts.map +1 -0
- package/dist/src/commands/ruvector/backup.js +746 -0
- package/dist/src/commands/ruvector/backup.js.map +1 -0
- package/dist/src/commands/ruvector/benchmark.d.ts +11 -0
- package/dist/src/commands/ruvector/benchmark.d.ts.map +1 -0
- package/dist/src/commands/ruvector/benchmark.js +489 -0
- package/dist/src/commands/ruvector/benchmark.js.map +1 -0
- package/dist/src/commands/ruvector/import.d.ts +18 -0
- package/dist/src/commands/ruvector/import.d.ts.map +1 -0
- package/dist/src/commands/ruvector/import.js +349 -0
- package/dist/src/commands/ruvector/import.js.map +1 -0
- package/dist/src/commands/ruvector/index.d.ts +29 -0
- package/dist/src/commands/ruvector/index.d.ts.map +1 -0
- package/dist/src/commands/ruvector/index.js +129 -0
- package/dist/src/commands/ruvector/index.js.map +1 -0
- package/dist/src/commands/ruvector/init.d.ts +11 -0
- package/dist/src/commands/ruvector/init.d.ts.map +1 -0
- package/dist/src/commands/ruvector/init.js +466 -0
- package/dist/src/commands/ruvector/init.js.map +1 -0
- package/dist/src/commands/ruvector/migrate.d.ts +11 -0
- package/dist/src/commands/ruvector/migrate.d.ts.map +1 -0
- package/dist/src/commands/ruvector/migrate.js +497 -0
- package/dist/src/commands/ruvector/migrate.js.map +1 -0
- package/dist/src/commands/ruvector/optimize.d.ts +11 -0
- package/dist/src/commands/ruvector/optimize.d.ts.map +1 -0
- package/dist/src/commands/ruvector/optimize.js +504 -0
- package/dist/src/commands/ruvector/optimize.js.map +1 -0
- package/dist/src/commands/ruvector/setup.d.ts +18 -0
- package/dist/src/commands/ruvector/setup.d.ts.map +1 -0
- package/dist/src/commands/ruvector/setup.js +765 -0
- package/dist/src/commands/ruvector/setup.js.map +1 -0
- package/dist/src/commands/ruvector/status.d.ts +11 -0
- package/dist/src/commands/ruvector/status.d.ts.map +1 -0
- package/dist/src/commands/ruvector/status.js +478 -0
- package/dist/src/commands/ruvector/status.js.map +1 -0
- package/dist/src/commands/security.d.ts +10 -0
- package/dist/src/commands/security.d.ts.map +1 -0
- package/dist/src/commands/security.js +794 -0
- package/dist/src/commands/security.js.map +1 -0
- package/dist/src/commands/session.d.ts +8 -0
- package/dist/src/commands/session.d.ts.map +1 -0
- package/dist/src/commands/session.js +750 -0
- package/dist/src/commands/session.js.map +1 -0
- package/dist/src/commands/start.d.ts +8 -0
- package/dist/src/commands/start.d.ts.map +1 -0
- package/dist/src/commands/start.js +418 -0
- package/dist/src/commands/start.js.map +1 -0
- package/dist/src/commands/status.d.ts +8 -0
- package/dist/src/commands/status.d.ts.map +1 -0
- package/dist/src/commands/status.js +591 -0
- package/dist/src/commands/status.js.map +1 -0
- package/dist/src/commands/swarm.d.ts +8 -0
- package/dist/src/commands/swarm.d.ts.map +1 -0
- package/dist/src/commands/swarm.js +801 -0
- package/dist/src/commands/swarm.js.map +1 -0
- package/dist/src/commands/task.d.ts +8 -0
- package/dist/src/commands/task.d.ts.map +1 -0
- package/dist/src/commands/task.js +671 -0
- package/dist/src/commands/task.js.map +1 -0
- package/dist/src/commands/tokens.d.ts +8 -0
- package/dist/src/commands/tokens.d.ts.map +1 -0
- package/dist/src/commands/tokens.js +107 -0
- package/dist/src/commands/tokens.js.map +1 -0
- package/dist/src/commands/transfer-store.d.ts +13 -0
- package/dist/src/commands/transfer-store.d.ts.map +1 -0
- package/dist/src/commands/transfer-store.js +428 -0
- package/dist/src/commands/transfer-store.js.map +1 -0
- package/dist/src/commands/ui.js +68 -0
- package/dist/src/commands/update.d.ts +8 -0
- package/dist/src/commands/update.d.ts.map +1 -0
- package/dist/src/commands/update.js +276 -0
- package/dist/src/commands/update.js.map +1 -0
- package/dist/src/commands/workflow.d.ts +8 -0
- package/dist/src/commands/workflow.d.ts.map +1 -0
- package/dist/src/commands/workflow.js +617 -0
- package/dist/src/commands/workflow.js.map +1 -0
- package/dist/src/config-adapter.d.ts +15 -0
- package/dist/src/config-adapter.d.ts.map +1 -0
- package/dist/src/config-adapter.js +186 -0
- package/dist/src/config-adapter.js.map +1 -0
- package/dist/src/consensus/audit-writer.d.ts +50 -0
- package/dist/src/consensus/audit-writer.d.ts.map +1 -0
- package/dist/src/consensus/audit-writer.js +109 -0
- package/dist/src/consensus/audit-writer.js.map +1 -0
- package/dist/src/consensus/index.d.ts +7 -0
- package/dist/src/consensus/index.d.ts.map +1 -0
- package/dist/src/consensus/index.js +6 -0
- package/dist/src/consensus/index.js.map +1 -0
- package/dist/src/consensus/vote-signer.d.ts +39 -0
- package/dist/src/consensus/vote-signer.d.ts.map +1 -0
- package/dist/src/consensus/vote-signer.js +63 -0
- package/dist/src/consensus/vote-signer.js.map +1 -0
- package/dist/src/context/context-provider.d.ts +44 -0
- package/dist/src/context/context-provider.d.ts.map +1 -0
- package/dist/src/context/context-provider.js +25 -0
- package/dist/src/context/context-provider.js.map +1 -0
- package/dist/src/context/git-state-provider.d.ts +12 -0
- package/dist/src/context/git-state-provider.d.ts.map +1 -0
- package/dist/src/context/git-state-provider.js +34 -0
- package/dist/src/context/git-state-provider.js.map +1 -0
- package/dist/src/context/index.d.ts +12 -0
- package/dist/src/context/index.d.ts.map +1 -0
- package/dist/src/context/index.js +12 -0
- package/dist/src/context/index.js.map +1 -0
- package/dist/src/context/project-conventions-provider.d.ts +15 -0
- package/dist/src/context/project-conventions-provider.d.ts.map +1 -0
- package/dist/src/context/project-conventions-provider.js +19 -0
- package/dist/src/context/project-conventions-provider.js.map +1 -0
- package/dist/src/context/prompt-assembler.d.ts +26 -0
- package/dist/src/context/prompt-assembler.d.ts.map +1 -0
- package/dist/src/context/prompt-assembler.js +93 -0
- package/dist/src/context/prompt-assembler.js.map +1 -0
- package/dist/src/context/task-history-provider.d.ts +24 -0
- package/dist/src/context/task-history-provider.d.ts.map +1 -0
- package/dist/src/context/task-history-provider.js +32 -0
- package/dist/src/context/task-history-provider.js.map +1 -0
- package/dist/src/context/user-preferences-provider.d.ts +14 -0
- package/dist/src/context/user-preferences-provider.d.ts.map +1 -0
- package/dist/src/context/user-preferences-provider.js +27 -0
- package/dist/src/context/user-preferences-provider.js.map +1 -0
- package/dist/src/dlq/dlq-reader.d.ts +29 -0
- package/dist/src/dlq/dlq-reader.d.ts.map +1 -0
- package/dist/src/dlq/dlq-reader.js +64 -0
- package/dist/src/dlq/dlq-reader.js.map +1 -0
- package/dist/src/dlq/dlq-replayer.d.ts +20 -0
- package/dist/src/dlq/dlq-replayer.d.ts.map +1 -0
- package/dist/src/dlq/dlq-replayer.js +56 -0
- package/dist/src/dlq/dlq-replayer.js.map +1 -0
- package/dist/src/dlq/dlq-writer.d.ts +24 -0
- package/dist/src/dlq/dlq-writer.d.ts.map +1 -0
- package/dist/src/dlq/dlq-writer.js +43 -0
- package/dist/src/dlq/dlq-writer.js.map +1 -0
- package/dist/src/dlq/index.d.ts +10 -0
- package/dist/src/dlq/index.d.ts.map +1 -0
- package/dist/src/dlq/index.js +7 -0
- package/dist/src/dlq/index.js.map +1 -0
- package/dist/src/eval/dataset-manager.d.ts +33 -0
- package/dist/src/eval/dataset-manager.d.ts.map +1 -0
- package/dist/src/eval/dataset-manager.js +97 -0
- package/dist/src/eval/dataset-manager.js.map +1 -0
- package/dist/src/eval/dataset-runner.d.ts +23 -0
- package/dist/src/eval/dataset-runner.d.ts.map +1 -0
- package/dist/src/eval/dataset-runner.js +59 -0
- package/dist/src/eval/dataset-runner.js.map +1 -0
- package/dist/src/eval/index.d.ts +10 -0
- package/dist/src/eval/index.d.ts.map +1 -0
- package/dist/src/eval/index.js +7 -0
- package/dist/src/eval/index.js.map +1 -0
- package/dist/src/eval/trace-collector.d.ts +40 -0
- package/dist/src/eval/trace-collector.d.ts.map +1 -0
- package/dist/src/eval/trace-collector.js +82 -0
- package/dist/src/eval/trace-collector.js.map +1 -0
- package/dist/src/graph/enrich.mjs +362 -0
- package/dist/src/index.d.ts +82 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +578 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/infrastructure/in-memory-repositories.d.ts +68 -0
- package/dist/src/infrastructure/in-memory-repositories.d.ts.map +1 -0
- package/dist/src/infrastructure/in-memory-repositories.js +264 -0
- package/dist/src/infrastructure/in-memory-repositories.js.map +1 -0
- package/dist/src/init/claudemd-generator.d.ts +25 -0
- package/dist/src/init/claudemd-generator.d.ts.map +1 -0
- package/dist/src/init/claudemd-generator.js +522 -0
- package/dist/src/init/claudemd-generator.js.map +1 -0
- package/dist/src/init/executor.d.ts +38 -0
- package/dist/src/init/executor.d.ts.map +1 -0
- package/dist/src/init/executor.js +1919 -0
- package/dist/src/init/executor.js.map +1 -0
- package/dist/src/init/helpers-generator.d.ts +60 -0
- package/dist/src/init/helpers-generator.d.ts.map +1 -0
- package/dist/src/init/helpers-generator.js +1222 -0
- package/dist/src/init/helpers-generator.js.map +1 -0
- package/dist/src/init/index.d.ts +13 -0
- package/dist/src/init/index.d.ts.map +1 -0
- package/dist/src/init/index.js +15 -0
- package/dist/src/init/index.js.map +1 -0
- package/dist/src/init/mcp-generator.d.ts +26 -0
- package/dist/src/init/mcp-generator.d.ts.map +1 -0
- package/dist/src/init/mcp-generator.js +99 -0
- package/dist/src/init/mcp-generator.js.map +1 -0
- package/dist/src/init/settings-generator.d.ts +14 -0
- package/dist/src/init/settings-generator.d.ts.map +1 -0
- package/dist/src/init/settings-generator.js +392 -0
- package/dist/src/init/settings-generator.js.map +1 -0
- package/dist/src/init/statusline-generator.d.ts +25 -0
- package/dist/src/init/statusline-generator.d.ts.map +1 -0
- package/dist/src/init/statusline-generator.js +1157 -0
- package/dist/src/init/statusline-generator.js.map +1 -0
- package/dist/src/init/types.d.ts +291 -0
- package/dist/src/init/types.d.ts.map +1 -0
- package/dist/src/init/types.js +258 -0
- package/dist/src/init/types.js.map +1 -0
- package/dist/src/interactive/interrupt.d.ts +22 -0
- package/dist/src/interactive/interrupt.d.ts.map +1 -0
- package/dist/src/interactive/interrupt.js +66 -0
- package/dist/src/interactive/interrupt.js.map +1 -0
- package/dist/src/mcp/deprecation-injector.d.ts +25 -0
- package/dist/src/mcp/deprecation-injector.d.ts.map +1 -0
- package/dist/src/mcp/deprecation-injector.js +48 -0
- package/dist/src/mcp/deprecation-injector.js.map +1 -0
- package/dist/src/mcp/tool-registry.d.ts +61 -0
- package/dist/src/mcp/tool-registry.d.ts.map +1 -0
- package/dist/src/mcp/tool-registry.js +212 -0
- package/dist/src/mcp/tool-registry.js.map +1 -0
- package/dist/src/mcp-client.d.ts +92 -0
- package/dist/src/mcp-client.d.ts.map +1 -0
- package/dist/src/mcp-client.js +261 -0
- package/dist/src/mcp-client.js.map +1 -0
- package/dist/src/mcp-server.d.ts +163 -0
- package/dist/src/mcp-server.d.ts.map +1 -0
- package/dist/src/mcp-server.js +682 -0
- package/dist/src/mcp-server.js.map +1 -0
- package/dist/src/mcp-tools/a2a-tools.d.ts +14 -0
- package/dist/src/mcp-tools/a2a-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/a2a-tools.js +244 -0
- package/dist/src/mcp-tools/a2a-tools.js.map +1 -0
- package/dist/src/mcp-tools/agent-tools.d.ts +9 -0
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/agent-tools.js +564 -0
- package/dist/src/mcp-tools/agent-tools.js.map +1 -0
- package/dist/src/mcp-tools/agentdb-tools.d.ts +30 -0
- package/dist/src/mcp-tools/agentdb-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/agentdb-tools.js +569 -0
- package/dist/src/mcp-tools/agentdb-tools.js.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.d.ts +38 -0
- package/dist/src/mcp-tools/analyze-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.js +317 -0
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -0
- package/dist/src/mcp-tools/auto-install.d.ts +83 -0
- package/dist/src/mcp-tools/auto-install.d.ts.map +1 -0
- package/dist/src/mcp-tools/auto-install.js +131 -0
- package/dist/src/mcp-tools/auto-install.js.map +1 -0
- package/dist/src/mcp-tools/autopilot-tools.d.ts +12 -0
- package/dist/src/mcp-tools/autopilot-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/autopilot-tools.js +227 -0
- package/dist/src/mcp-tools/autopilot-tools.js.map +1 -0
- package/dist/src/mcp-tools/browser-tools.d.ts +13 -0
- package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/browser-tools.js +550 -0
- package/dist/src/mcp-tools/browser-tools.js.map +1 -0
- package/dist/src/mcp-tools/claims-tools.d.ts +12 -0
- package/dist/src/mcp-tools/claims-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/claims-tools.js +747 -0
- package/dist/src/mcp-tools/claims-tools.js.map +1 -0
- package/dist/src/mcp-tools/config-tools.d.ts +8 -0
- package/dist/src/mcp-tools/config-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/config-tools.js +353 -0
- package/dist/src/mcp-tools/config-tools.js.map +1 -0
- package/dist/src/mcp-tools/coordination-tools.d.ts +13 -0
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/coordination-tools.js +673 -0
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -0
- package/dist/src/mcp-tools/daa-tools.d.ts +13 -0
- package/dist/src/mcp-tools/daa-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/daa-tools.js +473 -0
- package/dist/src/mcp-tools/daa-tools.js.map +1 -0
- package/dist/src/mcp-tools/embeddings-tools.d.ts +9 -0
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/embeddings-tools.js +782 -0
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -0
- package/dist/src/mcp-tools/github-tools.d.ts +9 -0
- package/dist/src/mcp-tools/github-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/github-tools.js +472 -0
- package/dist/src/mcp-tools/github-tools.js.map +1 -0
- package/dist/src/mcp-tools/graphify-tools.d.ts +73 -0
- package/dist/src/mcp-tools/graphify-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/graphify-tools.js +1235 -0
- package/dist/src/mcp-tools/graphify-tools.js.map +1 -0
- package/dist/src/mcp-tools/guidance-tools.d.ts +15 -0
- package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/guidance-tools.js +618 -0
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -0
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +8 -0
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/hive-mind-tools.js +877 -0
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts +44 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.js +3397 -0
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -0
- package/dist/src/mcp-tools/index.d.ts +38 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -0
- package/dist/src/mcp-tools/index.js +40 -0
- package/dist/src/mcp-tools/index.js.map +1 -0
- package/dist/src/mcp-tools/memory-tools.d.ts +14 -0
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/memory-tools.js +514 -0
- package/dist/src/mcp-tools/memory-tools.js.map +1 -0
- package/dist/src/mcp-tools/neural-tools.d.ts +16 -0
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/neural-tools.js +634 -0
- package/dist/src/mcp-tools/neural-tools.js.map +1 -0
- package/dist/src/mcp-tools/performance-tools.d.ts +16 -0
- package/dist/src/mcp-tools/performance-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/performance-tools.js +643 -0
- package/dist/src/mcp-tools/performance-tools.js.map +1 -0
- package/dist/src/mcp-tools/progress-tools.d.ts +14 -0
- package/dist/src/mcp-tools/progress-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/progress-tools.js +348 -0
- package/dist/src/mcp-tools/progress-tools.js.map +1 -0
- package/dist/src/mcp-tools/request-tracker.d.ts +17 -0
- package/dist/src/mcp-tools/request-tracker.d.ts.map +1 -0
- package/dist/src/mcp-tools/request-tracker.js +27 -0
- package/dist/src/mcp-tools/request-tracker.js.map +1 -0
- package/dist/src/mcp-tools/ruvllm-tools.d.ts +9 -0
- package/dist/src/mcp-tools/ruvllm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/ruvllm-tools.js +284 -0
- package/dist/src/mcp-tools/ruvllm-tools.js.map +1 -0
- package/dist/src/mcp-tools/security-tools.d.ts +18 -0
- package/dist/src/mcp-tools/security-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/security-tools.js +434 -0
- package/dist/src/mcp-tools/security-tools.js.map +1 -0
- package/dist/src/mcp-tools/session-tools.d.ts +8 -0
- package/dist/src/mcp-tools/session-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/session-tools.js +338 -0
- package/dist/src/mcp-tools/session-tools.js.map +1 -0
- package/dist/src/mcp-tools/swarm-tools.d.ts +9 -0
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/swarm-tools.js +289 -0
- package/dist/src/mcp-tools/swarm-tools.js.map +1 -0
- package/dist/src/mcp-tools/system-tools.d.ts +13 -0
- package/dist/src/mcp-tools/system-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/system-tools.js +551 -0
- package/dist/src/mcp-tools/system-tools.js.map +1 -0
- package/dist/src/mcp-tools/task-tools.d.ts +8 -0
- package/dist/src/mcp-tools/task-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/task-tools.js +406 -0
- package/dist/src/mcp-tools/task-tools.js.map +1 -0
- package/dist/src/mcp-tools/terminal-tools.d.ts +8 -0
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/terminal-tools.js +260 -0
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -0
- package/dist/src/mcp-tools/transfer-tools.d.ts +14 -0
- package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/transfer-tools.js +396 -0
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -0
- package/dist/src/mcp-tools/types.d.ts +37 -0
- package/dist/src/mcp-tools/types.d.ts.map +1 -0
- package/dist/src/mcp-tools/types.js +14 -0
- package/dist/src/mcp-tools/types.js.map +1 -0
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts +9 -0
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js +230 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts +8 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.js +562 -0
- package/dist/src/mcp-tools/workflow-tools.js.map +1 -0
- package/dist/src/memory/ewc-consolidation.d.ts +295 -0
- package/dist/src/memory/ewc-consolidation.d.ts.map +1 -0
- package/dist/src/memory/ewc-consolidation.js +601 -0
- package/dist/src/memory/ewc-consolidation.js.map +1 -0
- package/dist/src/memory/intelligence.d.ts +338 -0
- package/dist/src/memory/intelligence.d.ts.map +1 -0
- package/dist/src/memory/intelligence.js +1023 -0
- package/dist/src/memory/intelligence.js.map +1 -0
- package/dist/src/memory/memory-bridge.d.ts +409 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge.js +1561 -0
- package/dist/src/memory/memory-bridge.js.map +1 -0
- package/dist/src/memory/memory-initializer.d.ts +414 -0
- package/dist/src/memory/memory-initializer.d.ts.map +1 -0
- package/dist/src/memory/memory-initializer.js +2222 -0
- package/dist/src/memory/memory-initializer.js.map +1 -0
- package/dist/src/memory/sona-optimizer.d.ts +227 -0
- package/dist/src/memory/sona-optimizer.d.ts.map +1 -0
- package/dist/src/memory/sona-optimizer.js +633 -0
- package/dist/src/memory/sona-optimizer.js.map +1 -0
- package/dist/src/model/complexity-scorer.d.ts +21 -0
- package/dist/src/model/complexity-scorer.d.ts.map +1 -0
- package/dist/src/model/complexity-scorer.js +106 -0
- package/dist/src/model/complexity-scorer.js.map +1 -0
- package/dist/src/model/index.d.ts +4 -0
- package/dist/src/model/index.d.ts.map +1 -0
- package/dist/src/model/index.js +4 -0
- package/dist/src/model/index.js.map +1 -0
- package/dist/src/model/model-settings.d.ts +22 -0
- package/dist/src/model/model-settings.d.ts.map +1 -0
- package/dist/src/model/model-settings.js +33 -0
- package/dist/src/model/model-settings.js.map +1 -0
- package/dist/src/model/model-tier-resolver.d.ts +24 -0
- package/dist/src/model/model-tier-resolver.d.ts.map +1 -0
- package/dist/src/model/model-tier-resolver.js +65 -0
- package/dist/src/model/model-tier-resolver.js.map +1 -0
- package/dist/src/orchestration/index.d.ts +7 -0
- package/dist/src/orchestration/index.d.ts.map +1 -0
- package/dist/src/orchestration/index.js +6 -0
- package/dist/src/orchestration/index.js.map +1 -0
- package/dist/src/orchestration/mode-dispatcher.d.ts +11 -0
- package/dist/src/orchestration/mode-dispatcher.d.ts.map +1 -0
- package/dist/src/orchestration/mode-dispatcher.js +31 -0
- package/dist/src/orchestration/mode-dispatcher.js.map +1 -0
- package/dist/src/orchestration/routing-modes.d.ts +68 -0
- package/dist/src/orchestration/routing-modes.d.ts.map +1 -0
- package/dist/src/orchestration/routing-modes.js +150 -0
- package/dist/src/orchestration/routing-modes.js.map +1 -0
- package/dist/src/output.d.ts +133 -0
- package/dist/src/output.d.ts.map +1 -0
- package/dist/src/output.js +514 -0
- package/dist/src/output.js.map +1 -0
- package/dist/src/parser.d.ts +51 -0
- package/dist/src/parser.d.ts.map +1 -0
- package/dist/src/parser.js +425 -0
- package/dist/src/parser.js.map +1 -0
- package/dist/src/plugins/manager.d.ts +133 -0
- package/dist/src/plugins/manager.d.ts.map +1 -0
- package/dist/src/plugins/manager.js +400 -0
- package/dist/src/plugins/manager.js.map +1 -0
- package/dist/src/plugins/store/discovery.d.ts +88 -0
- package/dist/src/plugins/store/discovery.d.ts.map +1 -0
- package/dist/src/plugins/store/discovery.js +841 -0
- package/dist/src/plugins/store/discovery.js.map +1 -0
- package/dist/src/plugins/store/index.d.ts +76 -0
- package/dist/src/plugins/store/index.d.ts.map +1 -0
- package/dist/src/plugins/store/index.js +141 -0
- package/dist/src/plugins/store/index.js.map +1 -0
- package/dist/src/plugins/store/search.d.ts +46 -0
- package/dist/src/plugins/store/search.d.ts.map +1 -0
- package/dist/src/plugins/store/search.js +230 -0
- package/dist/src/plugins/store/search.js.map +1 -0
- package/dist/src/plugins/store/types.d.ts +274 -0
- package/dist/src/plugins/store/types.d.ts.map +1 -0
- package/dist/src/plugins/store/types.js +7 -0
- package/dist/src/plugins/store/types.js.map +1 -0
- package/dist/src/plugins/tests/demo-plugin-store.d.ts +7 -0
- package/dist/src/plugins/tests/demo-plugin-store.d.ts.map +1 -0
- package/dist/src/plugins/tests/demo-plugin-store.js +126 -0
- package/dist/src/plugins/tests/demo-plugin-store.js.map +1 -0
- package/dist/src/plugins/tests/standalone-test.d.ts +12 -0
- package/dist/src/plugins/tests/standalone-test.d.ts.map +1 -0
- package/dist/src/plugins/tests/standalone-test.js +188 -0
- package/dist/src/plugins/tests/standalone-test.js.map +1 -0
- package/dist/src/plugins/tests/test-plugin-store.d.ts +7 -0
- package/dist/src/plugins/tests/test-plugin-store.d.ts.map +1 -0
- package/dist/src/plugins/tests/test-plugin-store.js +206 -0
- package/dist/src/plugins/tests/test-plugin-store.js.map +1 -0
- package/dist/src/production/circuit-breaker.d.ts +101 -0
- package/dist/src/production/circuit-breaker.d.ts.map +1 -0
- package/dist/src/production/circuit-breaker.js +241 -0
- package/dist/src/production/circuit-breaker.js.map +1 -0
- package/dist/src/production/error-handler.d.ts +92 -0
- package/dist/src/production/error-handler.d.ts.map +1 -0
- package/dist/src/production/error-handler.js +299 -0
- package/dist/src/production/error-handler.js.map +1 -0
- package/dist/src/production/index.d.ts +23 -0
- package/dist/src/production/index.d.ts.map +1 -0
- package/dist/src/production/index.js +18 -0
- package/dist/src/production/index.js.map +1 -0
- package/dist/src/production/monitoring.d.ts +161 -0
- package/dist/src/production/monitoring.d.ts.map +1 -0
- package/dist/src/production/monitoring.js +356 -0
- package/dist/src/production/monitoring.js.map +1 -0
- package/dist/src/production/rate-limiter.d.ts +80 -0
- package/dist/src/production/rate-limiter.d.ts.map +1 -0
- package/dist/src/production/rate-limiter.js +201 -0
- package/dist/src/production/rate-limiter.js.map +1 -0
- package/dist/src/production/retry.d.ts +48 -0
- package/dist/src/production/retry.d.ts.map +1 -0
- package/dist/src/production/retry.js +179 -0
- package/dist/src/production/retry.js.map +1 -0
- package/dist/src/prompt.d.ts +44 -0
- package/dist/src/prompt.d.ts.map +1 -0
- package/dist/src/prompt.js +501 -0
- package/dist/src/prompt.js.map +1 -0
- package/dist/src/runtime/headless.d.ts +60 -0
- package/dist/src/runtime/headless.d.ts.map +1 -0
- package/dist/src/runtime/headless.js +284 -0
- package/dist/src/runtime/headless.js.map +1 -0
- package/dist/src/ruvector/agent-wasm.d.ts +182 -0
- package/dist/src/ruvector/agent-wasm.d.ts.map +1 -0
- package/dist/src/ruvector/agent-wasm.js +316 -0
- package/dist/src/ruvector/agent-wasm.js.map +1 -0
- package/dist/src/ruvector/ast-analyzer.d.ts +67 -0
- package/dist/src/ruvector/ast-analyzer.d.ts.map +1 -0
- package/dist/src/ruvector/ast-analyzer.js +277 -0
- package/dist/src/ruvector/ast-analyzer.js.map +1 -0
- package/dist/src/ruvector/coverage-router.d.ts +160 -0
- package/dist/src/ruvector/coverage-router.d.ts.map +1 -0
- package/dist/src/ruvector/coverage-router.js +529 -0
- package/dist/src/ruvector/coverage-router.js.map +1 -0
- package/dist/src/ruvector/coverage-tools.d.ts +33 -0
- package/dist/src/ruvector/coverage-tools.d.ts.map +1 -0
- package/dist/src/ruvector/coverage-tools.js +157 -0
- package/dist/src/ruvector/coverage-tools.js.map +1 -0
- package/dist/src/ruvector/diff-classifier.d.ts +175 -0
- package/dist/src/ruvector/diff-classifier.d.ts.map +1 -0
- package/dist/src/ruvector/diff-classifier.js +698 -0
- package/dist/src/ruvector/diff-classifier.js.map +1 -0
- package/dist/src/ruvector/enhanced-model-router.d.ts +146 -0
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +1 -0
- package/dist/src/ruvector/enhanced-model-router.js +529 -0
- package/dist/src/ruvector/enhanced-model-router.js.map +1 -0
- package/dist/src/ruvector/flash-attention.d.ts +195 -0
- package/dist/src/ruvector/flash-attention.d.ts.map +1 -0
- package/dist/src/ruvector/flash-attention.js +643 -0
- package/dist/src/ruvector/flash-attention.js.map +1 -0
- package/dist/src/ruvector/graph-analyzer.d.ts +187 -0
- package/dist/src/ruvector/graph-analyzer.d.ts.map +1 -0
- package/dist/src/ruvector/graph-analyzer.js +929 -0
- package/dist/src/ruvector/graph-analyzer.js.map +1 -0
- package/dist/src/ruvector/index.d.ts +40 -0
- package/dist/src/ruvector/index.d.ts.map +1 -0
- package/dist/src/ruvector/index.js +76 -0
- package/dist/src/ruvector/index.js.map +1 -0
- package/dist/src/ruvector/lora-adapter.d.ts +218 -0
- package/dist/src/ruvector/lora-adapter.d.ts.map +1 -0
- package/dist/src/ruvector/lora-adapter.js +455 -0
- package/dist/src/ruvector/lora-adapter.js.map +1 -0
- package/dist/src/ruvector/model-router.d.ts +220 -0
- package/dist/src/ruvector/model-router.d.ts.map +1 -0
- package/dist/src/ruvector/model-router.js +488 -0
- package/dist/src/ruvector/model-router.js.map +1 -0
- package/dist/src/ruvector/moe-router.d.ts +206 -0
- package/dist/src/ruvector/moe-router.d.ts.map +1 -0
- package/dist/src/ruvector/moe-router.js +626 -0
- package/dist/src/ruvector/moe-router.js.map +1 -0
- package/dist/src/ruvector/q-learning-router.d.ts +211 -0
- package/dist/src/ruvector/q-learning-router.d.ts.map +1 -0
- package/dist/src/ruvector/q-learning-router.js +681 -0
- package/dist/src/ruvector/q-learning-router.js.map +1 -0
- package/dist/src/ruvector/ruvllm-wasm.d.ts +179 -0
- package/dist/src/ruvector/ruvllm-wasm.d.ts.map +1 -0
- package/dist/src/ruvector/ruvllm-wasm.js +363 -0
- package/dist/src/ruvector/ruvllm-wasm.js.map +1 -0
- package/dist/src/ruvector/semantic-router.d.ts +77 -0
- package/dist/src/ruvector/semantic-router.d.ts.map +1 -0
- package/dist/src/ruvector/semantic-router.js +178 -0
- package/dist/src/ruvector/semantic-router.js.map +1 -0
- package/dist/src/ruvector/vector-db.d.ts +69 -0
- package/dist/src/ruvector/vector-db.d.ts.map +1 -0
- package/dist/src/ruvector/vector-db.js +243 -0
- package/dist/src/ruvector/vector-db.js.map +1 -0
- package/dist/src/services/agentic-flow-bridge.d.ts +50 -0
- package/dist/src/services/agentic-flow-bridge.d.ts.map +1 -0
- package/dist/src/services/agentic-flow-bridge.js +95 -0
- package/dist/src/services/agentic-flow-bridge.js.map +1 -0
- package/dist/src/services/claim-service.d.ts +204 -0
- package/dist/src/services/claim-service.d.ts.map +1 -0
- package/dist/src/services/claim-service.js +818 -0
- package/dist/src/services/claim-service.js.map +1 -0
- package/dist/src/services/config-file-manager.d.ts +37 -0
- package/dist/src/services/config-file-manager.d.ts.map +1 -0
- package/dist/src/services/config-file-manager.js +224 -0
- package/dist/src/services/config-file-manager.js.map +1 -0
- package/dist/src/services/container-worker-pool.d.ts +197 -0
- package/dist/src/services/container-worker-pool.d.ts.map +1 -0
- package/dist/src/services/container-worker-pool.js +583 -0
- package/dist/src/services/container-worker-pool.js.map +1 -0
- package/dist/src/services/headless-worker-executor.d.ts +304 -0
- package/dist/src/services/headless-worker-executor.d.ts.map +1 -0
- package/dist/src/services/headless-worker-executor.js +1024 -0
- package/dist/src/services/headless-worker-executor.js.map +1 -0
- package/dist/src/services/index.d.ts +13 -0
- package/dist/src/services/index.d.ts.map +1 -0
- package/dist/src/services/index.js +11 -0
- package/dist/src/services/index.js.map +1 -0
- package/dist/src/services/registry-api.d.ts +58 -0
- package/dist/src/services/registry-api.d.ts.map +1 -0
- package/dist/src/services/registry-api.js +146 -0
- package/dist/src/services/registry-api.js.map +1 -0
- package/dist/src/services/ruvector-training.d.ts +222 -0
- package/dist/src/services/ruvector-training.d.ts.map +1 -0
- package/dist/src/services/ruvector-training.js +688 -0
- package/dist/src/services/ruvector-training.js.map +1 -0
- package/dist/src/services/worker-daemon.d.ts +245 -0
- package/dist/src/services/worker-daemon.d.ts.map +1 -0
- package/dist/src/services/worker-daemon.js +999 -0
- package/dist/src/services/worker-daemon.js.map +1 -0
- package/dist/src/services/worker-queue.d.ts +194 -0
- package/dist/src/services/worker-queue.d.ts.map +1 -0
- package/dist/src/services/worker-queue.js +513 -0
- package/dist/src/services/worker-queue.js.map +1 -0
- package/dist/src/suggest.d.ts +53 -0
- package/dist/src/suggest.d.ts.map +1 -0
- package/dist/src/suggest.js +200 -0
- package/dist/src/suggest.js.map +1 -0
- package/dist/src/swarm/communication-graph.d.ts +25 -0
- package/dist/src/swarm/communication-graph.d.ts.map +1 -0
- package/dist/src/swarm/communication-graph.js +77 -0
- package/dist/src/swarm/communication-graph.js.map +1 -0
- package/dist/src/swarm/flow-enforcer.d.ts +29 -0
- package/dist/src/swarm/flow-enforcer.d.ts.map +1 -0
- package/dist/src/swarm/flow-enforcer.js +49 -0
- package/dist/src/swarm/flow-enforcer.js.map +1 -0
- package/dist/src/swarm/flow-visualizer.d.ts +16 -0
- package/dist/src/swarm/flow-visualizer.d.ts.map +1 -0
- package/dist/src/swarm/flow-visualizer.js +44 -0
- package/dist/src/swarm/flow-visualizer.js.map +1 -0
- package/dist/src/transfer/anonymization/index.d.ts +25 -0
- package/dist/src/transfer/anonymization/index.d.ts.map +1 -0
- package/dist/src/transfer/anonymization/index.js +175 -0
- package/dist/src/transfer/anonymization/index.js.map +1 -0
- package/dist/src/transfer/deploy-seraphine.d.ts +13 -0
- package/dist/src/transfer/deploy-seraphine.d.ts.map +1 -0
- package/dist/src/transfer/deploy-seraphine.js +205 -0
- package/dist/src/transfer/deploy-seraphine.js.map +1 -0
- package/dist/src/transfer/export.d.ts +25 -0
- package/dist/src/transfer/export.d.ts.map +1 -0
- package/dist/src/transfer/export.js +113 -0
- package/dist/src/transfer/export.js.map +1 -0
- package/dist/src/transfer/index.d.ts +12 -0
- package/dist/src/transfer/index.d.ts.map +1 -0
- package/dist/src/transfer/index.js +31 -0
- package/dist/src/transfer/index.js.map +1 -0
- package/dist/src/transfer/ipfs/client.d.ts +109 -0
- package/dist/src/transfer/ipfs/client.d.ts.map +1 -0
- package/dist/src/transfer/ipfs/client.js +307 -0
- package/dist/src/transfer/ipfs/client.js.map +1 -0
- package/dist/src/transfer/ipfs/upload.d.ts +95 -0
- package/dist/src/transfer/ipfs/upload.d.ts.map +1 -0
- package/dist/src/transfer/ipfs/upload.js +411 -0
- package/dist/src/transfer/ipfs/upload.js.map +1 -0
- package/dist/src/transfer/models/seraphine.d.ts +72 -0
- package/dist/src/transfer/models/seraphine.d.ts.map +1 -0
- package/dist/src/transfer/models/seraphine.js +373 -0
- package/dist/src/transfer/models/seraphine.js.map +1 -0
- package/dist/src/transfer/serialization/cfp.d.ts +49 -0
- package/dist/src/transfer/serialization/cfp.d.ts.map +1 -0
- package/dist/src/transfer/serialization/cfp.js +183 -0
- package/dist/src/transfer/serialization/cfp.js.map +1 -0
- package/dist/src/transfer/storage/gcs.d.ts +82 -0
- package/dist/src/transfer/storage/gcs.d.ts.map +1 -0
- package/dist/src/transfer/storage/gcs.js +272 -0
- package/dist/src/transfer/storage/gcs.js.map +1 -0
- package/dist/src/transfer/storage/index.d.ts +6 -0
- package/dist/src/transfer/storage/index.d.ts.map +1 -0
- package/dist/src/transfer/storage/index.js +6 -0
- package/dist/src/transfer/storage/index.js.map +1 -0
- package/dist/src/transfer/store/discovery.d.ts +84 -0
- package/dist/src/transfer/store/discovery.d.ts.map +1 -0
- package/dist/src/transfer/store/discovery.js +382 -0
- package/dist/src/transfer/store/discovery.js.map +1 -0
- package/dist/src/transfer/store/download.d.ts +70 -0
- package/dist/src/transfer/store/download.d.ts.map +1 -0
- package/dist/src/transfer/store/download.js +334 -0
- package/dist/src/transfer/store/download.js.map +1 -0
- package/dist/src/transfer/store/index.d.ts +84 -0
- package/dist/src/transfer/store/index.d.ts.map +1 -0
- package/dist/src/transfer/store/index.js +153 -0
- package/dist/src/transfer/store/index.js.map +1 -0
- package/dist/src/transfer/store/publish.d.ts +76 -0
- package/dist/src/transfer/store/publish.d.ts.map +1 -0
- package/dist/src/transfer/store/publish.js +294 -0
- package/dist/src/transfer/store/publish.js.map +1 -0
- package/dist/src/transfer/store/registry.d.ts +58 -0
- package/dist/src/transfer/store/registry.d.ts.map +1 -0
- package/dist/src/transfer/store/registry.js +285 -0
- package/dist/src/transfer/store/registry.js.map +1 -0
- package/dist/src/transfer/store/search.d.ts +54 -0
- package/dist/src/transfer/store/search.d.ts.map +1 -0
- package/dist/src/transfer/store/search.js +232 -0
- package/dist/src/transfer/store/search.js.map +1 -0
- package/dist/src/transfer/store/tests/standalone-test.d.ts +12 -0
- package/dist/src/transfer/store/tests/standalone-test.d.ts.map +1 -0
- package/dist/src/transfer/store/tests/standalone-test.js +190 -0
- package/dist/src/transfer/store/tests/standalone-test.js.map +1 -0
- package/dist/src/transfer/store/types.d.ts +193 -0
- package/dist/src/transfer/store/types.d.ts.map +1 -0
- package/dist/src/transfer/store/types.js +6 -0
- package/dist/src/transfer/store/types.js.map +1 -0
- package/dist/src/transfer/test-seraphine.d.ts +6 -0
- package/dist/src/transfer/test-seraphine.d.ts.map +1 -0
- package/dist/src/transfer/test-seraphine.js +105 -0
- package/dist/src/transfer/test-seraphine.js.map +1 -0
- package/dist/src/transfer/tests/test-store.d.ts +7 -0
- package/dist/src/transfer/tests/test-store.d.ts.map +1 -0
- package/dist/src/transfer/tests/test-store.js +214 -0
- package/dist/src/transfer/tests/test-store.js.map +1 -0
- package/dist/src/transfer/types.d.ts +245 -0
- package/dist/src/transfer/types.d.ts.map +1 -0
- package/dist/src/transfer/types.js +6 -0
- package/dist/src/transfer/types.js.map +1 -0
- package/dist/src/types.d.ts +198 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +38 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/ui/.monomind/data/pending-insights.jsonl +0 -0
- package/dist/src/ui/.monomind/data/ranked-context.json +5 -0
- package/dist/src/ui/.monomind/sessions/current.json +13 -0
- package/dist/src/ui/collector.mjs +517 -0
- package/dist/src/ui/dashboard.html +4409 -0
- package/dist/src/ui/server.mjs +909 -0
- package/dist/src/update/checker.d.ts +34 -0
- package/dist/src/update/checker.d.ts.map +1 -0
- package/dist/src/update/checker.js +185 -0
- package/dist/src/update/checker.js.map +1 -0
- package/dist/src/update/executor.d.ts +32 -0
- package/dist/src/update/executor.d.ts.map +1 -0
- package/dist/src/update/executor.js +181 -0
- package/dist/src/update/executor.js.map +1 -0
- package/dist/src/update/index.d.ts +33 -0
- package/dist/src/update/index.d.ts.map +1 -0
- package/dist/src/update/index.js +64 -0
- package/dist/src/update/index.js.map +1 -0
- package/dist/src/update/rate-limiter.d.ts +20 -0
- package/dist/src/update/rate-limiter.d.ts.map +1 -0
- package/dist/src/update/rate-limiter.js +96 -0
- package/dist/src/update/rate-limiter.js.map +1 -0
- package/dist/src/update/validator.d.ts +17 -0
- package/dist/src/update/validator.d.ts.map +1 -0
- package/dist/src/update/validator.js +118 -0
- package/dist/src/update/validator.js.map +1 -0
- package/dist/src/workflow/condition-evaluator.d.ts +10 -0
- package/dist/src/workflow/condition-evaluator.d.ts.map +1 -0
- package/dist/src/workflow/condition-evaluator.js +48 -0
- package/dist/src/workflow/condition-evaluator.js.map +1 -0
- package/dist/src/workflow/context-resolver.d.ts +12 -0
- package/dist/src/workflow/context-resolver.d.ts.map +1 -0
- package/dist/src/workflow/context-resolver.js +23 -0
- package/dist/src/workflow/context-resolver.js.map +1 -0
- package/dist/src/workflow/dag-builder.d.ts +17 -0
- package/dist/src/workflow/dag-builder.d.ts.map +1 -0
- package/dist/src/workflow/dag-builder.js +113 -0
- package/dist/src/workflow/dag-builder.js.map +1 -0
- package/dist/src/workflow/dag-executor.d.ts +9 -0
- package/dist/src/workflow/dag-executor.d.ts.map +1 -0
- package/dist/src/workflow/dag-executor.js +78 -0
- package/dist/src/workflow/dag-executor.js.map +1 -0
- package/dist/src/workflow/dag-types.d.ts +41 -0
- package/dist/src/workflow/dag-types.d.ts.map +1 -0
- package/dist/src/workflow/dag-types.js +8 -0
- package/dist/src/workflow/dag-types.js.map +1 -0
- package/dist/src/workflow/dsl-parser.d.ts +12 -0
- package/dist/src/workflow/dsl-parser.d.ts.map +1 -0
- package/dist/src/workflow/dsl-parser.js +20 -0
- package/dist/src/workflow/dsl-parser.js.map +1 -0
- package/dist/src/workflow/dsl-schema.d.ts +162 -0
- package/dist/src/workflow/dsl-schema.d.ts.map +1 -0
- package/dist/src/workflow/dsl-schema.js +78 -0
- package/dist/src/workflow/dsl-schema.js.map +1 -0
- package/dist/src/workflow/index.d.ts +13 -0
- package/dist/src/workflow/index.d.ts.map +1 -0
- package/dist/src/workflow/index.js +11 -0
- package/dist/src/workflow/index.js.map +1 -0
- package/dist/src/workflow/template-engine.d.ts +11 -0
- package/dist/src/workflow/template-engine.d.ts.map +1 -0
- package/dist/src/workflow/template-engine.js +33 -0
- package/dist/src/workflow/template-engine.js.map +1 -0
- package/dist/src/workflow/workflow-executor.d.ts +29 -0
- package/dist/src/workflow/workflow-executor.d.ts.map +1 -0
- package/dist/src/workflow/workflow-executor.js +146 -0
- package/dist/src/workflow/workflow-executor.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +105 -0
|
@@ -0,0 +1,1200 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Hooks Automation
|
|
3
|
+
description: Automated coordination, formatting, and learning from Claude Code operations using intelligent hooks with MCP integration. Includes pre/post task hooks, session management, Git integration, memory coordination, and neural pattern training for enhanced development workflows.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Hooks Automation
|
|
7
|
+
|
|
8
|
+
Intelligent automation system that coordinates, validates, and learns from Claude Code operations through hooks integrated with MCP tools and neural pattern training.
|
|
9
|
+
|
|
10
|
+
## What This Skill Does
|
|
11
|
+
|
|
12
|
+
This skill provides a comprehensive hook system that automatically manages development operations, coordinates swarm agents, maintains session state, and continuously learns from coding patterns. It enables automated agent assignment, code formatting, performance tracking, and cross-session memory persistence.
|
|
13
|
+
|
|
14
|
+
**Key Capabilities:**
|
|
15
|
+
- **Pre-Operation Hooks**: Validate, prepare, and auto-assign agents before operations
|
|
16
|
+
- **Post-Operation Hooks**: Format, analyze, and train patterns after operations
|
|
17
|
+
- **Session Management**: Persist state, restore context, generate summaries
|
|
18
|
+
- **Memory Coordination**: Synchronize knowledge across swarm agents
|
|
19
|
+
- **Git Integration**: Automated commit hooks with quality verification
|
|
20
|
+
- **Neural Training**: Continuous learning from successful patterns
|
|
21
|
+
- **MCP Integration**: Seamless coordination with swarm tools
|
|
22
|
+
|
|
23
|
+
## Prerequisites
|
|
24
|
+
|
|
25
|
+
**Required:**
|
|
26
|
+
- Monomind CLI installed (`npm install -g monomind@alpha`)
|
|
27
|
+
- Claude Code with hooks enabled
|
|
28
|
+
- `.claude/settings.json` with hook configurations
|
|
29
|
+
|
|
30
|
+
**Optional:**
|
|
31
|
+
- Git repository for version control
|
|
32
|
+
- Testing framework for quality verification
|
|
33
|
+
|
|
34
|
+
## Quick Start
|
|
35
|
+
|
|
36
|
+
### Initialize Hooks System
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Initialize with default hooks configuration
|
|
40
|
+
npx monomind init --hooks
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
This creates:
|
|
44
|
+
- `.claude/settings.json` with pre-configured hooks
|
|
45
|
+
- Hook command documentation in `.claude/commands/hooks/`
|
|
46
|
+
- Default hook handlers for common operations
|
|
47
|
+
|
|
48
|
+
### Basic Hook Usage
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Pre-task hook (auto-spawns agents)
|
|
52
|
+
npx monomind hook pre-task --description "Implement authentication"
|
|
53
|
+
|
|
54
|
+
# Post-edit hook (auto-formats and stores in memory)
|
|
55
|
+
npx monomind hook post-edit --file "src/auth.js" --memory-key "auth/login"
|
|
56
|
+
|
|
57
|
+
# Session end hook (saves state and metrics)
|
|
58
|
+
npx monomind hook session-end --session-id "dev-session" --export-metrics
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Complete Guide
|
|
64
|
+
|
|
65
|
+
### Available Hooks
|
|
66
|
+
|
|
67
|
+
#### Pre-Operation Hooks
|
|
68
|
+
|
|
69
|
+
Hooks that execute BEFORE operations to prepare and validate:
|
|
70
|
+
|
|
71
|
+
**pre-edit** - Validate and assign agents before file modifications
|
|
72
|
+
```bash
|
|
73
|
+
npx monomind hook pre-edit [options]
|
|
74
|
+
|
|
75
|
+
Options:
|
|
76
|
+
--file, -f <path> File path to be edited
|
|
77
|
+
--auto-assign-agent Automatically assign best agent (default: true)
|
|
78
|
+
--validate-syntax Pre-validate syntax before edit
|
|
79
|
+
--check-conflicts Check for merge conflicts
|
|
80
|
+
--backup-file Create backup before editing
|
|
81
|
+
|
|
82
|
+
Examples:
|
|
83
|
+
npx monomind hook pre-edit --file "src/auth/login.js"
|
|
84
|
+
npx monomind hook pre-edit -f "config/db.js" --validate-syntax
|
|
85
|
+
npx monomind hook pre-edit -f "production.env" --backup-file --check-conflicts
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Features:**
|
|
89
|
+
- Auto agent assignment based on file type
|
|
90
|
+
- Syntax validation to prevent broken code
|
|
91
|
+
- Conflict detection for concurrent edits
|
|
92
|
+
- Automatic file backups for safety
|
|
93
|
+
|
|
94
|
+
**pre-bash** - Check command safety and resource requirements
|
|
95
|
+
```bash
|
|
96
|
+
npx monomind hook pre-bash --command <cmd>
|
|
97
|
+
|
|
98
|
+
Options:
|
|
99
|
+
--command, -c <cmd> Command to validate
|
|
100
|
+
--check-safety Verify command safety (default: true)
|
|
101
|
+
--estimate-resources Estimate resource usage
|
|
102
|
+
--require-confirmation Request user confirmation for risky commands
|
|
103
|
+
|
|
104
|
+
Examples:
|
|
105
|
+
npx monomind hook pre-bash -c "rm -rf /tmp/cache"
|
|
106
|
+
npx monomind hook pre-bash --command "docker build ." --estimate-resources
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Features:**
|
|
110
|
+
- Command safety validation
|
|
111
|
+
- Resource requirement estimation
|
|
112
|
+
- Destructive command confirmation
|
|
113
|
+
- Permission checks
|
|
114
|
+
|
|
115
|
+
**pre-task** - Auto-spawn agents and prepare for complex tasks
|
|
116
|
+
```bash
|
|
117
|
+
npx monomind hook pre-task [options]
|
|
118
|
+
|
|
119
|
+
Options:
|
|
120
|
+
--description, -d <text> Task description for context
|
|
121
|
+
--auto-spawn-agents Automatically spawn required agents (default: true)
|
|
122
|
+
--load-memory Load relevant memory from previous sessions
|
|
123
|
+
--optimize-topology Select optimal swarm topology
|
|
124
|
+
--estimate-complexity Analyze task complexity
|
|
125
|
+
|
|
126
|
+
Examples:
|
|
127
|
+
npx monomind hook pre-task --description "Implement user authentication"
|
|
128
|
+
npx monomind hook pre-task -d "Continue API dev" --load-memory
|
|
129
|
+
npx monomind hook pre-task -d "Refactor codebase" --optimize-topology
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**Features:**
|
|
133
|
+
- Automatic agent spawning based on task analysis
|
|
134
|
+
- Memory loading for context continuity
|
|
135
|
+
- Topology optimization for task structure
|
|
136
|
+
- Complexity estimation and time prediction
|
|
137
|
+
|
|
138
|
+
**pre-search** - Prepare and optimize search operations
|
|
139
|
+
```bash
|
|
140
|
+
npx monomind hook pre-search --query <query>
|
|
141
|
+
|
|
142
|
+
Options:
|
|
143
|
+
--query, -q <text> Search query
|
|
144
|
+
--check-cache Check cache first (default: true)
|
|
145
|
+
--optimize-query Optimize search pattern
|
|
146
|
+
|
|
147
|
+
Examples:
|
|
148
|
+
npx monomind hook pre-search -q "authentication middleware"
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Features:**
|
|
152
|
+
- Cache checking for faster results
|
|
153
|
+
- Query optimization
|
|
154
|
+
- Search pattern improvement
|
|
155
|
+
|
|
156
|
+
#### Post-Operation Hooks
|
|
157
|
+
|
|
158
|
+
Hooks that execute AFTER operations to process and learn:
|
|
159
|
+
|
|
160
|
+
**post-edit** - Auto-format, validate, and update memory
|
|
161
|
+
```bash
|
|
162
|
+
npx monomind hook post-edit [options]
|
|
163
|
+
|
|
164
|
+
Options:
|
|
165
|
+
--file, -f <path> File path that was edited
|
|
166
|
+
--auto-format Automatically format code (default: true)
|
|
167
|
+
--memory-key, -m <key> Store edit context in memory
|
|
168
|
+
--train-patterns Train neural patterns from edit
|
|
169
|
+
--validate-output Validate edited file
|
|
170
|
+
|
|
171
|
+
Examples:
|
|
172
|
+
npx monomind hook post-edit --file "src/components/Button.jsx"
|
|
173
|
+
npx monomind hook post-edit -f "api/auth.js" --memory-key "auth/login"
|
|
174
|
+
npx monomind hook post-edit -f "utils/helpers.ts" --train-patterns
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**Features:**
|
|
178
|
+
- Language-specific auto-formatting (Prettier, Black, gofmt)
|
|
179
|
+
- Memory storage for edit context and decisions
|
|
180
|
+
- Neural pattern training for continuous improvement
|
|
181
|
+
- Output validation with linting
|
|
182
|
+
|
|
183
|
+
**post-bash** - Log execution and update metrics
|
|
184
|
+
```bash
|
|
185
|
+
npx monomind hook post-bash --command <cmd>
|
|
186
|
+
|
|
187
|
+
Options:
|
|
188
|
+
--command, -c <cmd> Command that was executed
|
|
189
|
+
--log-output Log command output (default: true)
|
|
190
|
+
--update-metrics Update performance metrics
|
|
191
|
+
--store-result Store result in memory
|
|
192
|
+
|
|
193
|
+
Examples:
|
|
194
|
+
npx monomind hook post-bash -c "npm test" --update-metrics
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
**Features:**
|
|
198
|
+
- Command execution logging
|
|
199
|
+
- Performance metric tracking
|
|
200
|
+
- Result storage for analysis
|
|
201
|
+
- Error pattern detection
|
|
202
|
+
|
|
203
|
+
**post-task** - Performance analysis and decision storage
|
|
204
|
+
```bash
|
|
205
|
+
npx monomind hook post-task [options]
|
|
206
|
+
|
|
207
|
+
Options:
|
|
208
|
+
--task-id, -t <id> Task identifier for tracking
|
|
209
|
+
--analyze-performance Generate performance metrics (default: true)
|
|
210
|
+
--store-decisions Save task decisions to memory
|
|
211
|
+
--export-learnings Export neural pattern learnings
|
|
212
|
+
--generate-report Create task completion report
|
|
213
|
+
|
|
214
|
+
Examples:
|
|
215
|
+
npx monomind hook post-task --task-id "auth-implementation"
|
|
216
|
+
npx monomind hook post-task -t "api-refactor" --analyze-performance
|
|
217
|
+
npx monomind hook post-task -t "bug-fix-123" --store-decisions
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Features:**
|
|
221
|
+
- Execution time and token usage measurement
|
|
222
|
+
- Decision and implementation choice recording
|
|
223
|
+
- Neural learning pattern export
|
|
224
|
+
- Completion report generation
|
|
225
|
+
|
|
226
|
+
**post-search** - Cache results and improve patterns
|
|
227
|
+
```bash
|
|
228
|
+
npx monomind hook post-search --query <query> --results <path>
|
|
229
|
+
|
|
230
|
+
Options:
|
|
231
|
+
--query, -q <text> Original search query
|
|
232
|
+
--results, -r <path> Results file path
|
|
233
|
+
--cache-results Cache for future use (default: true)
|
|
234
|
+
--train-patterns Improve search patterns
|
|
235
|
+
|
|
236
|
+
Examples:
|
|
237
|
+
npx monomind hook post-search -q "auth" -r "results.json" --train-patterns
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
**Features:**
|
|
241
|
+
- Result caching for faster subsequent searches
|
|
242
|
+
- Search pattern improvement
|
|
243
|
+
- Relevance scoring
|
|
244
|
+
|
|
245
|
+
#### MCP Integration Hooks
|
|
246
|
+
|
|
247
|
+
Hooks that coordinate with MCP swarm tools:
|
|
248
|
+
|
|
249
|
+
**mcp-initialized** - Persist swarm configuration
|
|
250
|
+
```bash
|
|
251
|
+
npx monomind hook mcp-initialized --swarm-id <id>
|
|
252
|
+
|
|
253
|
+
Features:
|
|
254
|
+
- Save swarm topology and configuration
|
|
255
|
+
- Store agent roster in memory
|
|
256
|
+
- Initialize coordination namespace
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
**agent-spawned** - Update agent roster and memory
|
|
260
|
+
```bash
|
|
261
|
+
npx monomind hook agent-spawned --agent-id <id> --type <type>
|
|
262
|
+
|
|
263
|
+
Features:
|
|
264
|
+
- Register agent in coordination memory
|
|
265
|
+
- Update agent roster
|
|
266
|
+
- Initialize agent-specific memory namespace
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
**task-orchestrated** - Monitor task progress
|
|
270
|
+
```bash
|
|
271
|
+
npx monomind hook task-orchestrated --task-id <id>
|
|
272
|
+
|
|
273
|
+
Features:
|
|
274
|
+
- Track task progress through memory
|
|
275
|
+
- Monitor agent assignments
|
|
276
|
+
- Update coordination state
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
**neural-trained** - Save pattern improvements
|
|
280
|
+
```bash
|
|
281
|
+
npx monomind hook neural-trained --pattern <name>
|
|
282
|
+
|
|
283
|
+
Features:
|
|
284
|
+
- Export trained neural patterns
|
|
285
|
+
- Update coordination models
|
|
286
|
+
- Share learning across agents
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
#### Memory Coordination Hooks
|
|
290
|
+
|
|
291
|
+
**memory-write** - Triggered when agents write to coordination memory
|
|
292
|
+
```bash
|
|
293
|
+
Features:
|
|
294
|
+
- Validate memory key format
|
|
295
|
+
- Update cross-agent indexes
|
|
296
|
+
- Trigger dependent hooks
|
|
297
|
+
- Notify subscribed agents
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
**memory-read** - Triggered when agents read from coordination memory
|
|
301
|
+
```bash
|
|
302
|
+
Features:
|
|
303
|
+
- Log access patterns
|
|
304
|
+
- Update popularity metrics
|
|
305
|
+
- Preload related data
|
|
306
|
+
- Track usage statistics
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
**memory-sync** - Synchronize memory across swarm agents
|
|
310
|
+
```bash
|
|
311
|
+
npx monomind hook memory-sync --namespace <ns>
|
|
312
|
+
|
|
313
|
+
Features:
|
|
314
|
+
- Sync memory state across agents
|
|
315
|
+
- Resolve conflicts
|
|
316
|
+
- Propagate updates
|
|
317
|
+
- Maintain consistency
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
#### Session Hooks
|
|
321
|
+
|
|
322
|
+
**session-start** - Initialize new session
|
|
323
|
+
```bash
|
|
324
|
+
npx monomind hook session-start --session-id <id>
|
|
325
|
+
|
|
326
|
+
Options:
|
|
327
|
+
--session-id, -s <id> Session identifier
|
|
328
|
+
--load-context Load context from previous session
|
|
329
|
+
--init-agents Initialize required agents
|
|
330
|
+
|
|
331
|
+
Features:
|
|
332
|
+
- Create session directory
|
|
333
|
+
- Initialize metrics tracking
|
|
334
|
+
- Load previous context
|
|
335
|
+
- Set up coordination namespace
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
**session-restore** - Load previous session state
|
|
339
|
+
```bash
|
|
340
|
+
npx monomind hook session-restore --session-id <id>
|
|
341
|
+
|
|
342
|
+
Options:
|
|
343
|
+
--session-id, -s <id> Session to restore
|
|
344
|
+
--restore-memory Restore memory state (default: true)
|
|
345
|
+
--restore-agents Restore agent configurations
|
|
346
|
+
|
|
347
|
+
Examples:
|
|
348
|
+
npx monomind hook session-restore --session-id "swarm-20241019"
|
|
349
|
+
npx monomind hook session-restore -s "feature-auth" --restore-memory
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
**Features:**
|
|
353
|
+
- Load previous session context
|
|
354
|
+
- Restore memory state and decisions
|
|
355
|
+
- Reconfigure agents to previous state
|
|
356
|
+
- Resume in-progress tasks
|
|
357
|
+
|
|
358
|
+
**session-end** - Cleanup and persist session state
|
|
359
|
+
```bash
|
|
360
|
+
npx monomind hook session-end [options]
|
|
361
|
+
|
|
362
|
+
Options:
|
|
363
|
+
--session-id, -s <id> Session identifier to end
|
|
364
|
+
--save-state Save current session state (default: true)
|
|
365
|
+
--export-metrics Export session metrics
|
|
366
|
+
--generate-summary Create session summary
|
|
367
|
+
--cleanup-temp Remove temporary files
|
|
368
|
+
|
|
369
|
+
Examples:
|
|
370
|
+
npx monomind hook session-end --session-id "dev-session-2024"
|
|
371
|
+
npx monomind hook session-end -s "feature-auth" --export-metrics --generate-summary
|
|
372
|
+
npx monomind hook session-end -s "quick-fix" --cleanup-temp
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
**Features:**
|
|
376
|
+
- Save current context and progress
|
|
377
|
+
- Export session metrics (duration, commands, tokens, files)
|
|
378
|
+
- Generate work summary with decisions and next steps
|
|
379
|
+
- Cleanup temporary files and optimize storage
|
|
380
|
+
|
|
381
|
+
**notify** - Custom notifications with swarm status
|
|
382
|
+
```bash
|
|
383
|
+
npx monomind hook notify --message <msg>
|
|
384
|
+
|
|
385
|
+
Options:
|
|
386
|
+
--message, -m <text> Notification message
|
|
387
|
+
--level <level> Notification level (info|warning|error)
|
|
388
|
+
--swarm-status Include swarm status (default: true)
|
|
389
|
+
--broadcast Send to all agents
|
|
390
|
+
|
|
391
|
+
Examples:
|
|
392
|
+
npx monomind hook notify -m "Task completed" --level info
|
|
393
|
+
npx monomind hook notify -m "Critical error" --level error --broadcast
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
**Features:**
|
|
397
|
+
- Send notifications to coordination system
|
|
398
|
+
- Include swarm status and metrics
|
|
399
|
+
- Broadcast to all agents
|
|
400
|
+
- Log important events
|
|
401
|
+
|
|
402
|
+
### Configuration
|
|
403
|
+
|
|
404
|
+
#### Basic Configuration
|
|
405
|
+
|
|
406
|
+
Edit `.claude/settings.json` to configure hooks:
|
|
407
|
+
|
|
408
|
+
```json
|
|
409
|
+
{
|
|
410
|
+
"hooks": {
|
|
411
|
+
"PreToolUse": [
|
|
412
|
+
{
|
|
413
|
+
"matcher": "^(Write|Edit|MultiEdit)$",
|
|
414
|
+
"hooks": [{
|
|
415
|
+
"type": "command",
|
|
416
|
+
"command": "npx monomind hook pre-edit --file '${tool.params.file_path}' --memory-key 'swarm/editor/current'"
|
|
417
|
+
}]
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"matcher": "^Bash$",
|
|
421
|
+
"hooks": [{
|
|
422
|
+
"type": "command",
|
|
423
|
+
"command": "npx monomind hook pre-bash --command '${tool.params.command}'"
|
|
424
|
+
}]
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"PostToolUse": [
|
|
428
|
+
{
|
|
429
|
+
"matcher": "^(Write|Edit|MultiEdit)$",
|
|
430
|
+
"hooks": [{
|
|
431
|
+
"type": "command",
|
|
432
|
+
"command": "npx monomind hook post-edit --file '${tool.params.file_path}' --memory-key 'swarm/editor/complete' --auto-format --train-patterns"
|
|
433
|
+
}]
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"matcher": "^Bash$",
|
|
437
|
+
"hooks": [{
|
|
438
|
+
"type": "command",
|
|
439
|
+
"command": "npx monomind hook post-bash --command '${tool.params.command}' --update-metrics"
|
|
440
|
+
}]
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
#### Advanced Configuration
|
|
448
|
+
|
|
449
|
+
Complete hook configuration with all features:
|
|
450
|
+
|
|
451
|
+
```json
|
|
452
|
+
{
|
|
453
|
+
"hooks": {
|
|
454
|
+
"enabled": true,
|
|
455
|
+
"debug": false,
|
|
456
|
+
"timeout": 5000,
|
|
457
|
+
|
|
458
|
+
"PreToolUse": [
|
|
459
|
+
{
|
|
460
|
+
"matcher": "^(Write|Edit|MultiEdit)$",
|
|
461
|
+
"hooks": [
|
|
462
|
+
{
|
|
463
|
+
"type": "command",
|
|
464
|
+
"command": "npx monomind hook pre-edit --file '${tool.params.file_path}' --auto-assign-agent --validate-syntax",
|
|
465
|
+
"timeout": 3000,
|
|
466
|
+
"continueOnError": true
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"matcher": "^Task$",
|
|
472
|
+
"hooks": [
|
|
473
|
+
{
|
|
474
|
+
"type": "command",
|
|
475
|
+
"command": "npx monomind hook pre-task --description '${tool.params.task}' --auto-spawn-agents --load-memory",
|
|
476
|
+
"async": true
|
|
477
|
+
}
|
|
478
|
+
]
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"matcher": "^Grep$",
|
|
482
|
+
"hooks": [
|
|
483
|
+
{
|
|
484
|
+
"type": "command",
|
|
485
|
+
"command": "npx monomind hook pre-search --query '${tool.params.pattern}' --check-cache"
|
|
486
|
+
}
|
|
487
|
+
]
|
|
488
|
+
}
|
|
489
|
+
],
|
|
490
|
+
|
|
491
|
+
"PostToolUse": [
|
|
492
|
+
{
|
|
493
|
+
"matcher": "^(Write|Edit|MultiEdit)$",
|
|
494
|
+
"hooks": [
|
|
495
|
+
{
|
|
496
|
+
"type": "command",
|
|
497
|
+
"command": "npx monomind hook post-edit --file '${tool.params.file_path}' --memory-key 'edits/${tool.params.file_path}' --auto-format --train-patterns",
|
|
498
|
+
"async": true
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"matcher": "^Task$",
|
|
504
|
+
"hooks": [
|
|
505
|
+
{
|
|
506
|
+
"type": "command",
|
|
507
|
+
"command": "npx monomind hook post-task --task-id '${result.task_id}' --analyze-performance --store-decisions --export-learnings",
|
|
508
|
+
"async": true
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"matcher": "^Grep$",
|
|
514
|
+
"hooks": [
|
|
515
|
+
{
|
|
516
|
+
"type": "command",
|
|
517
|
+
"command": "npx monomind hook post-search --query '${tool.params.pattern}' --cache-results --train-patterns"
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
|
|
523
|
+
"SessionStart": [
|
|
524
|
+
{
|
|
525
|
+
"hooks": [
|
|
526
|
+
{
|
|
527
|
+
"type": "command",
|
|
528
|
+
"command": "npx monomind hook session-start --session-id '${session.id}' --load-context"
|
|
529
|
+
}
|
|
530
|
+
]
|
|
531
|
+
}
|
|
532
|
+
],
|
|
533
|
+
|
|
534
|
+
"SessionEnd": [
|
|
535
|
+
{
|
|
536
|
+
"hooks": [
|
|
537
|
+
{
|
|
538
|
+
"type": "command",
|
|
539
|
+
"command": "npx monomind hook session-end --session-id '${session.id}' --export-metrics --generate-summary --cleanup-temp"
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
}
|
|
543
|
+
]
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
#### Protected File Patterns
|
|
549
|
+
|
|
550
|
+
Add protection for sensitive files:
|
|
551
|
+
|
|
552
|
+
```json
|
|
553
|
+
{
|
|
554
|
+
"hooks": {
|
|
555
|
+
"PreToolUse": [
|
|
556
|
+
{
|
|
557
|
+
"matcher": "^(Write|Edit|MultiEdit)$",
|
|
558
|
+
"hooks": [
|
|
559
|
+
{
|
|
560
|
+
"type": "command",
|
|
561
|
+
"command": "npx monomind hook check-protected --file '${tool.params.file_path}'"
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
#### Automatic Testing
|
|
571
|
+
|
|
572
|
+
Run tests after file modifications:
|
|
573
|
+
|
|
574
|
+
```json
|
|
575
|
+
{
|
|
576
|
+
"hooks": {
|
|
577
|
+
"PostToolUse": [
|
|
578
|
+
{
|
|
579
|
+
"matcher": "^Write$",
|
|
580
|
+
"hooks": [
|
|
581
|
+
{
|
|
582
|
+
"type": "command",
|
|
583
|
+
"command": "test -f '${tool.params.file_path%.js}.test.js' && npm test '${tool.params.file_path%.js}.test.js'",
|
|
584
|
+
"continueOnError": true
|
|
585
|
+
}
|
|
586
|
+
]
|
|
587
|
+
}
|
|
588
|
+
]
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
### MCP Tool Integration
|
|
594
|
+
|
|
595
|
+
Hooks automatically integrate with MCP tools for coordination:
|
|
596
|
+
|
|
597
|
+
#### Pre-Task Hook with Agent Spawning
|
|
598
|
+
|
|
599
|
+
```javascript
|
|
600
|
+
// Hook command
|
|
601
|
+
npx monomind hook pre-task --description "Build REST API"
|
|
602
|
+
|
|
603
|
+
// Internally calls MCP tools:
|
|
604
|
+
mcp__monomind__agent_spawn {
|
|
605
|
+
type: "backend-dev",
|
|
606
|
+
capabilities: ["api", "database", "testing"]
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
mcp__monomind__memory_usage {
|
|
610
|
+
action: "store",
|
|
611
|
+
key: "swarm/task/api-build/context",
|
|
612
|
+
namespace: "coordination",
|
|
613
|
+
value: JSON.stringify({
|
|
614
|
+
description: "Build REST API",
|
|
615
|
+
agents: ["backend-dev"],
|
|
616
|
+
started: Date.now()
|
|
617
|
+
})
|
|
618
|
+
}
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
#### Post-Edit Hook with Memory Storage
|
|
622
|
+
|
|
623
|
+
```javascript
|
|
624
|
+
// Hook command
|
|
625
|
+
npx monomind hook post-edit --file "api/auth.js"
|
|
626
|
+
|
|
627
|
+
// Internally calls MCP tools:
|
|
628
|
+
mcp__monomind__memory_usage {
|
|
629
|
+
action: "store",
|
|
630
|
+
key: "swarm/edits/api/auth.js",
|
|
631
|
+
namespace: "coordination",
|
|
632
|
+
value: JSON.stringify({
|
|
633
|
+
file: "api/auth.js",
|
|
634
|
+
timestamp: Date.now(),
|
|
635
|
+
changes: { added: 45, removed: 12 },
|
|
636
|
+
formatted: true,
|
|
637
|
+
linted: true
|
|
638
|
+
})
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
mcp__monomind__neural_train {
|
|
642
|
+
pattern_type: "coordination",
|
|
643
|
+
training_data: { /* edit patterns */ }
|
|
644
|
+
}
|
|
645
|
+
```
|
|
646
|
+
|
|
647
|
+
#### Session End Hook with State Persistence
|
|
648
|
+
|
|
649
|
+
```javascript
|
|
650
|
+
// Hook command
|
|
651
|
+
npx monomind hook session-end --session-id "dev-2024"
|
|
652
|
+
|
|
653
|
+
// Internally calls MCP tools:
|
|
654
|
+
mcp__monomind__memory_persist {
|
|
655
|
+
sessionId: "dev-2024"
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
mcp__monomind__swarm_status {
|
|
659
|
+
swarmId: "current"
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
// Generates metrics and summary
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
### Memory Coordination Protocol
|
|
666
|
+
|
|
667
|
+
All hooks follow a standardized memory coordination pattern:
|
|
668
|
+
|
|
669
|
+
#### Three-Phase Memory Protocol
|
|
670
|
+
|
|
671
|
+
**Phase 1: STATUS** - Hook starts
|
|
672
|
+
```javascript
|
|
673
|
+
mcp__monomind__memory_usage {
|
|
674
|
+
action: "store",
|
|
675
|
+
key: "swarm/hooks/pre-edit/status",
|
|
676
|
+
namespace: "coordination",
|
|
677
|
+
value: JSON.stringify({
|
|
678
|
+
status: "running",
|
|
679
|
+
hook: "pre-edit",
|
|
680
|
+
file: "src/auth.js",
|
|
681
|
+
timestamp: Date.now()
|
|
682
|
+
})
|
|
683
|
+
}
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
**Phase 2: PROGRESS** - Hook processes
|
|
687
|
+
```javascript
|
|
688
|
+
mcp__monomind__memory_usage {
|
|
689
|
+
action: "store",
|
|
690
|
+
key: "swarm/hooks/pre-edit/progress",
|
|
691
|
+
namespace: "coordination",
|
|
692
|
+
value: JSON.stringify({
|
|
693
|
+
progress: 50,
|
|
694
|
+
action: "validating syntax",
|
|
695
|
+
file: "src/auth.js"
|
|
696
|
+
})
|
|
697
|
+
}
|
|
698
|
+
```
|
|
699
|
+
|
|
700
|
+
**Phase 3: COMPLETE** - Hook finishes
|
|
701
|
+
```javascript
|
|
702
|
+
mcp__monomind__memory_usage {
|
|
703
|
+
action: "store",
|
|
704
|
+
key: "swarm/hooks/pre-edit/complete",
|
|
705
|
+
namespace: "coordination",
|
|
706
|
+
value: JSON.stringify({
|
|
707
|
+
status: "complete",
|
|
708
|
+
result: "success",
|
|
709
|
+
agent_assigned: "backend-dev",
|
|
710
|
+
syntax_valid: true,
|
|
711
|
+
backup_created: true
|
|
712
|
+
})
|
|
713
|
+
}
|
|
714
|
+
```
|
|
715
|
+
|
|
716
|
+
### Hook Response Format
|
|
717
|
+
|
|
718
|
+
Hooks return JSON responses to control operation flow:
|
|
719
|
+
|
|
720
|
+
#### Continue Response
|
|
721
|
+
```json
|
|
722
|
+
{
|
|
723
|
+
"continue": true,
|
|
724
|
+
"reason": "All validations passed",
|
|
725
|
+
"metadata": {
|
|
726
|
+
"agent_assigned": "backend-dev",
|
|
727
|
+
"syntax_valid": true,
|
|
728
|
+
"file": "src/auth.js"
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
```
|
|
732
|
+
|
|
733
|
+
#### Block Response
|
|
734
|
+
```json
|
|
735
|
+
{
|
|
736
|
+
"continue": false,
|
|
737
|
+
"reason": "Protected file - manual review required",
|
|
738
|
+
"metadata": {
|
|
739
|
+
"file": ".env.production",
|
|
740
|
+
"protection_level": "high",
|
|
741
|
+
"requires": "manual_approval"
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
```
|
|
745
|
+
|
|
746
|
+
#### Warning Response
|
|
747
|
+
```json
|
|
748
|
+
{
|
|
749
|
+
"continue": true,
|
|
750
|
+
"reason": "Syntax valid but complexity high",
|
|
751
|
+
"warnings": [
|
|
752
|
+
"Cyclomatic complexity: 15 (threshold: 10)",
|
|
753
|
+
"Consider refactoring for better maintainability"
|
|
754
|
+
],
|
|
755
|
+
"metadata": {
|
|
756
|
+
"complexity": 15,
|
|
757
|
+
"threshold": 10
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
### Git Integration
|
|
763
|
+
|
|
764
|
+
Hooks can integrate with Git operations for quality control:
|
|
765
|
+
|
|
766
|
+
#### Pre-Commit Hook
|
|
767
|
+
```bash
|
|
768
|
+
# Add to .git/hooks/pre-commit or use husky
|
|
769
|
+
|
|
770
|
+
#!/bin/bash
|
|
771
|
+
# Run quality checks before commit
|
|
772
|
+
|
|
773
|
+
# Get staged files
|
|
774
|
+
FILES=$(git diff --cached --name-only --diff-filter=ACM)
|
|
775
|
+
|
|
776
|
+
for FILE in $FILES; do
|
|
777
|
+
# Run pre-edit hook for validation
|
|
778
|
+
npx monomind hook pre-edit --file "$FILE" --validate-syntax
|
|
779
|
+
|
|
780
|
+
if [ $? -ne 0 ]; then
|
|
781
|
+
echo "Validation failed for $FILE"
|
|
782
|
+
exit 1
|
|
783
|
+
fi
|
|
784
|
+
|
|
785
|
+
# Run post-edit hook for formatting
|
|
786
|
+
npx monomind hook post-edit --file "$FILE" --auto-format
|
|
787
|
+
done
|
|
788
|
+
|
|
789
|
+
# Run tests
|
|
790
|
+
npm test
|
|
791
|
+
|
|
792
|
+
exit $?
|
|
793
|
+
```
|
|
794
|
+
|
|
795
|
+
#### Post-Commit Hook
|
|
796
|
+
```bash
|
|
797
|
+
# Add to .git/hooks/post-commit
|
|
798
|
+
|
|
799
|
+
#!/bin/bash
|
|
800
|
+
# Track commit metrics
|
|
801
|
+
|
|
802
|
+
COMMIT_HASH=$(git rev-parse HEAD)
|
|
803
|
+
COMMIT_MSG=$(git log -1 --pretty=%B)
|
|
804
|
+
|
|
805
|
+
npx monomind hook notify \
|
|
806
|
+
--message "Commit completed: $COMMIT_MSG" \
|
|
807
|
+
--level info \
|
|
808
|
+
--swarm-status
|
|
809
|
+
```
|
|
810
|
+
|
|
811
|
+
#### Pre-Push Hook
|
|
812
|
+
```bash
|
|
813
|
+
# Add to .git/hooks/pre-push
|
|
814
|
+
|
|
815
|
+
#!/bin/bash
|
|
816
|
+
# Quality gate before push
|
|
817
|
+
|
|
818
|
+
# Run full test suite
|
|
819
|
+
npm run test:all
|
|
820
|
+
|
|
821
|
+
# Run quality checks
|
|
822
|
+
npx monomind hook session-end \
|
|
823
|
+
--generate-report \
|
|
824
|
+
--export-metrics
|
|
825
|
+
|
|
826
|
+
# Verify quality thresholds
|
|
827
|
+
TRUTH_SCORE=$(npx monomind metrics score --format json | jq -r '.truth_score')
|
|
828
|
+
|
|
829
|
+
if (( $(echo "$TRUTH_SCORE < 0.95" | bc -l) )); then
|
|
830
|
+
echo "Truth score below threshold: $TRUTH_SCORE < 0.95"
|
|
831
|
+
exit 1
|
|
832
|
+
fi
|
|
833
|
+
|
|
834
|
+
exit 0
|
|
835
|
+
```
|
|
836
|
+
|
|
837
|
+
### Agent Coordination Workflow
|
|
838
|
+
|
|
839
|
+
How agents use hooks for coordination:
|
|
840
|
+
|
|
841
|
+
#### Agent Workflow Example
|
|
842
|
+
|
|
843
|
+
```bash
|
|
844
|
+
# Agent 1: Backend Developer
|
|
845
|
+
# STEP 1: Pre-task preparation
|
|
846
|
+
npx monomind hook pre-task \
|
|
847
|
+
--description "Implement user authentication API" \
|
|
848
|
+
--auto-spawn-agents \
|
|
849
|
+
--load-memory
|
|
850
|
+
|
|
851
|
+
# STEP 2: Work begins - pre-edit validation
|
|
852
|
+
npx monomind hook pre-edit \
|
|
853
|
+
--file "api/auth.js" \
|
|
854
|
+
--auto-assign-agent \
|
|
855
|
+
--validate-syntax
|
|
856
|
+
|
|
857
|
+
# STEP 3: Edit file (via Claude Code Edit tool)
|
|
858
|
+
# ... code changes ...
|
|
859
|
+
|
|
860
|
+
# STEP 4: Post-edit processing
|
|
861
|
+
npx monomind hook post-edit \
|
|
862
|
+
--file "api/auth.js" \
|
|
863
|
+
--memory-key "swarm/backend/auth-api" \
|
|
864
|
+
--auto-format \
|
|
865
|
+
--train-patterns
|
|
866
|
+
|
|
867
|
+
# STEP 5: Notify coordination system
|
|
868
|
+
npx monomind hook notify \
|
|
869
|
+
--message "Auth API implementation complete" \
|
|
870
|
+
--swarm-status \
|
|
871
|
+
--broadcast
|
|
872
|
+
|
|
873
|
+
# STEP 6: Task completion
|
|
874
|
+
npx monomind hook post-task \
|
|
875
|
+
--task-id "auth-api" \
|
|
876
|
+
--analyze-performance \
|
|
877
|
+
--store-decisions \
|
|
878
|
+
--export-learnings
|
|
879
|
+
```
|
|
880
|
+
|
|
881
|
+
```bash
|
|
882
|
+
# Agent 2: Test Engineer (receives notification)
|
|
883
|
+
# STEP 1: Check memory for API details
|
|
884
|
+
npx monomind hook session-restore \
|
|
885
|
+
--session-id "swarm-current" \
|
|
886
|
+
--restore-memory
|
|
887
|
+
|
|
888
|
+
# Memory contains: swarm/backend/auth-api with implementation details
|
|
889
|
+
|
|
890
|
+
# STEP 2: Generate tests
|
|
891
|
+
npx monomind hook pre-task \
|
|
892
|
+
--description "Write tests for auth API" \
|
|
893
|
+
--load-memory
|
|
894
|
+
|
|
895
|
+
# STEP 3: Create test file
|
|
896
|
+
npx monomind hook post-edit \
|
|
897
|
+
--file "api/auth.test.js" \
|
|
898
|
+
--memory-key "swarm/testing/auth-api-tests" \
|
|
899
|
+
--train-patterns
|
|
900
|
+
|
|
901
|
+
# STEP 4: Share test results
|
|
902
|
+
npx monomind hook notify \
|
|
903
|
+
--message "Auth API tests complete - 100% coverage" \
|
|
904
|
+
--broadcast
|
|
905
|
+
```
|
|
906
|
+
|
|
907
|
+
### Custom Hook Creation
|
|
908
|
+
|
|
909
|
+
Create custom hooks for specific workflows:
|
|
910
|
+
|
|
911
|
+
#### Custom Hook Template
|
|
912
|
+
|
|
913
|
+
```javascript
|
|
914
|
+
// .claude/hooks/custom-quality-check.js
|
|
915
|
+
|
|
916
|
+
module.exports = {
|
|
917
|
+
name: 'custom-quality-check',
|
|
918
|
+
type: 'pre',
|
|
919
|
+
matcher: /\.(ts|js)$/,
|
|
920
|
+
|
|
921
|
+
async execute(context) {
|
|
922
|
+
const { file, content } = context;
|
|
923
|
+
|
|
924
|
+
// Custom validation logic
|
|
925
|
+
const complexity = await analyzeComplexity(content);
|
|
926
|
+
const securityIssues = await scanSecurity(content);
|
|
927
|
+
|
|
928
|
+
// Store in memory
|
|
929
|
+
await storeInMemory({
|
|
930
|
+
key: `quality/${file}`,
|
|
931
|
+
value: { complexity, securityIssues }
|
|
932
|
+
});
|
|
933
|
+
|
|
934
|
+
// Return decision
|
|
935
|
+
if (complexity > 15 || securityIssues.length > 0) {
|
|
936
|
+
return {
|
|
937
|
+
continue: false,
|
|
938
|
+
reason: 'Quality checks failed',
|
|
939
|
+
warnings: [
|
|
940
|
+
`Complexity: ${complexity} (max: 15)`,
|
|
941
|
+
`Security issues: ${securityIssues.length}`
|
|
942
|
+
]
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
return {
|
|
947
|
+
continue: true,
|
|
948
|
+
reason: 'Quality checks passed',
|
|
949
|
+
metadata: { complexity, securityIssues: 0 }
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
};
|
|
953
|
+
```
|
|
954
|
+
|
|
955
|
+
#### Register Custom Hook
|
|
956
|
+
|
|
957
|
+
```json
|
|
958
|
+
{
|
|
959
|
+
"hooks": {
|
|
960
|
+
"PreToolUse": [
|
|
961
|
+
{
|
|
962
|
+
"matcher": "^(Write|Edit)$",
|
|
963
|
+
"hooks": [
|
|
964
|
+
{
|
|
965
|
+
"type": "script",
|
|
966
|
+
"script": ".claude/hooks/custom-quality-check.js"
|
|
967
|
+
}
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
]
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
```
|
|
974
|
+
|
|
975
|
+
### Real-World Examples
|
|
976
|
+
|
|
977
|
+
#### Example 1: Full-Stack Development Workflow
|
|
978
|
+
|
|
979
|
+
```bash
|
|
980
|
+
# Session start - initialize coordination
|
|
981
|
+
npx monomind hook session-start --session-id "fullstack-feature"
|
|
982
|
+
|
|
983
|
+
# Pre-task planning
|
|
984
|
+
npx monomind hook pre-task \
|
|
985
|
+
--description "Build user profile feature - frontend + backend + tests" \
|
|
986
|
+
--auto-spawn-agents \
|
|
987
|
+
--optimize-topology
|
|
988
|
+
|
|
989
|
+
# Backend work
|
|
990
|
+
npx monomind hook pre-edit --file "api/profile.js"
|
|
991
|
+
# ... implement backend ...
|
|
992
|
+
npx monomind hook post-edit \
|
|
993
|
+
--file "api/profile.js" \
|
|
994
|
+
--memory-key "profile/backend" \
|
|
995
|
+
--train-patterns
|
|
996
|
+
|
|
997
|
+
# Frontend work (reads backend details from memory)
|
|
998
|
+
npx monomind hook pre-edit --file "components/Profile.jsx"
|
|
999
|
+
# ... implement frontend ...
|
|
1000
|
+
npx monomind hook post-edit \
|
|
1001
|
+
--file "components/Profile.jsx" \
|
|
1002
|
+
--memory-key "profile/frontend" \
|
|
1003
|
+
--train-patterns
|
|
1004
|
+
|
|
1005
|
+
# Testing (reads both backend and frontend from memory)
|
|
1006
|
+
npx monomind hook pre-task \
|
|
1007
|
+
--description "Test profile feature" \
|
|
1008
|
+
--load-memory
|
|
1009
|
+
|
|
1010
|
+
# Session end - export everything
|
|
1011
|
+
npx monomind hook session-end \
|
|
1012
|
+
--session-id "fullstack-feature" \
|
|
1013
|
+
--export-metrics \
|
|
1014
|
+
--generate-summary
|
|
1015
|
+
```
|
|
1016
|
+
|
|
1017
|
+
#### Example 2: Debugging with Hooks
|
|
1018
|
+
|
|
1019
|
+
```bash
|
|
1020
|
+
# Start debugging session
|
|
1021
|
+
npx monomind hook session-start --session-id "debug-memory-leak"
|
|
1022
|
+
|
|
1023
|
+
# Pre-task: analyze issue
|
|
1024
|
+
npx monomind hook pre-task \
|
|
1025
|
+
--description "Debug memory leak in event handlers" \
|
|
1026
|
+
--load-memory \
|
|
1027
|
+
--estimate-complexity
|
|
1028
|
+
|
|
1029
|
+
# Search for event emitters
|
|
1030
|
+
npx monomind hook pre-search --query "EventEmitter"
|
|
1031
|
+
# ... search executes ...
|
|
1032
|
+
npx monomind hook post-search \
|
|
1033
|
+
--query "EventEmitter" \
|
|
1034
|
+
--cache-results
|
|
1035
|
+
|
|
1036
|
+
# Fix the issue
|
|
1037
|
+
npx monomind hook pre-edit \
|
|
1038
|
+
--file "services/events.js" \
|
|
1039
|
+
--backup-file
|
|
1040
|
+
# ... fix code ...
|
|
1041
|
+
npx monomind hook post-edit \
|
|
1042
|
+
--file "services/events.js" \
|
|
1043
|
+
--memory-key "debug/memory-leak-fix" \
|
|
1044
|
+
--validate-output
|
|
1045
|
+
|
|
1046
|
+
# Verify fix
|
|
1047
|
+
npx monomind hook post-task \
|
|
1048
|
+
--task-id "memory-leak-fix" \
|
|
1049
|
+
--analyze-performance \
|
|
1050
|
+
--generate-report
|
|
1051
|
+
|
|
1052
|
+
# End session
|
|
1053
|
+
npx monomind hook session-end \
|
|
1054
|
+
--session-id "debug-memory-leak" \
|
|
1055
|
+
--export-metrics
|
|
1056
|
+
```
|
|
1057
|
+
|
|
1058
|
+
#### Example 3: Multi-Agent Refactoring
|
|
1059
|
+
|
|
1060
|
+
```bash
|
|
1061
|
+
# Initialize swarm for refactoring
|
|
1062
|
+
npx monomind hook pre-task \
|
|
1063
|
+
--description "Refactor legacy codebase to modern patterns" \
|
|
1064
|
+
--auto-spawn-agents \
|
|
1065
|
+
--optimize-topology
|
|
1066
|
+
|
|
1067
|
+
# Agent 1: Code Analyzer
|
|
1068
|
+
npx monomind hook pre-task --description "Analyze code complexity"
|
|
1069
|
+
# ... analysis ...
|
|
1070
|
+
npx monomind hook post-task \
|
|
1071
|
+
--task-id "analysis" \
|
|
1072
|
+
--store-decisions
|
|
1073
|
+
|
|
1074
|
+
# Agent 2: Refactoring (reads analysis from memory)
|
|
1075
|
+
npx monomind hook session-restore \
|
|
1076
|
+
--session-id "swarm-refactor" \
|
|
1077
|
+
--restore-memory
|
|
1078
|
+
|
|
1079
|
+
for file in src/**/*.js; do
|
|
1080
|
+
npx monomind hook pre-edit --file "$file" --backup-file
|
|
1081
|
+
# ... refactor ...
|
|
1082
|
+
npx monomind hook post-edit \
|
|
1083
|
+
--file "$file" \
|
|
1084
|
+
--memory-key "refactor/$file" \
|
|
1085
|
+
--auto-format \
|
|
1086
|
+
--train-patterns
|
|
1087
|
+
done
|
|
1088
|
+
|
|
1089
|
+
# Agent 3: Testing (reads refactored code from memory)
|
|
1090
|
+
npx monomind hook pre-task \
|
|
1091
|
+
--description "Generate tests for refactored code" \
|
|
1092
|
+
--load-memory
|
|
1093
|
+
|
|
1094
|
+
# Broadcast completion
|
|
1095
|
+
npx monomind hook notify \
|
|
1096
|
+
--message "Refactoring complete - all tests passing" \
|
|
1097
|
+
--broadcast
|
|
1098
|
+
```
|
|
1099
|
+
|
|
1100
|
+
### Performance Tips
|
|
1101
|
+
|
|
1102
|
+
1. **Keep Hooks Lightweight** - Target < 100ms execution time
|
|
1103
|
+
2. **Use Async for Heavy Operations** - Don't block the main flow
|
|
1104
|
+
3. **Cache Aggressively** - Store frequently accessed data
|
|
1105
|
+
4. **Batch Related Operations** - Combine multiple actions
|
|
1106
|
+
5. **Use Memory Wisely** - Set appropriate TTLs
|
|
1107
|
+
6. **Monitor Hook Performance** - Track execution times
|
|
1108
|
+
7. **Parallelize When Possible** - Run independent hooks concurrently
|
|
1109
|
+
|
|
1110
|
+
### Debugging Hooks
|
|
1111
|
+
|
|
1112
|
+
Enable debug mode for troubleshooting:
|
|
1113
|
+
|
|
1114
|
+
```bash
|
|
1115
|
+
# Enable debug output
|
|
1116
|
+
export MONOMIND_DEBUG=true
|
|
1117
|
+
|
|
1118
|
+
# Test specific hook with verbose output
|
|
1119
|
+
npx monomind hook pre-edit --file "test.js" --debug
|
|
1120
|
+
|
|
1121
|
+
# Check hook execution logs
|
|
1122
|
+
cat .monomind/logs/hooks-$(date +%Y-%m-%d).log
|
|
1123
|
+
|
|
1124
|
+
# Validate configuration
|
|
1125
|
+
npx monomind hook validate-config
|
|
1126
|
+
```
|
|
1127
|
+
|
|
1128
|
+
### Benefits
|
|
1129
|
+
|
|
1130
|
+
- **Automatic Agent Assignment**: Right agent for every file type
|
|
1131
|
+
- **Consistent Code Formatting**: Language-specific formatters
|
|
1132
|
+
- **Continuous Learning**: Neural patterns improve over time
|
|
1133
|
+
- **Cross-Session Memory**: Context persists between sessions
|
|
1134
|
+
- **Performance Tracking**: Comprehensive metrics and analytics
|
|
1135
|
+
- **Automatic Coordination**: Agents sync via memory
|
|
1136
|
+
- **Smart Agent Spawning**: Task-based agent selection
|
|
1137
|
+
- **Quality Gates**: Pre-commit validation and verification
|
|
1138
|
+
- **Error Prevention**: Syntax validation before edits
|
|
1139
|
+
- **Knowledge Sharing**: Decisions stored and shared
|
|
1140
|
+
- **Reduced Manual Work**: Automation of repetitive tasks
|
|
1141
|
+
- **Better Collaboration**: Seamless multi-agent coordination
|
|
1142
|
+
|
|
1143
|
+
### Best Practices
|
|
1144
|
+
|
|
1145
|
+
1. **Configure Hooks Early** - Set up during project initialization
|
|
1146
|
+
2. **Use Memory Keys Strategically** - Organize with clear namespaces
|
|
1147
|
+
3. **Enable Auto-Formatting** - Maintain code consistency
|
|
1148
|
+
4. **Train Patterns Continuously** - Learn from successful operations
|
|
1149
|
+
5. **Monitor Performance** - Track hook execution times
|
|
1150
|
+
6. **Validate Configuration** - Test hooks before production use
|
|
1151
|
+
7. **Document Custom Hooks** - Maintain hook documentation
|
|
1152
|
+
8. **Set Appropriate Timeouts** - Prevent hanging operations
|
|
1153
|
+
9. **Handle Errors Gracefully** - Use continueOnError when appropriate
|
|
1154
|
+
10. **Review Metrics Regularly** - Optimize based on usage patterns
|
|
1155
|
+
|
|
1156
|
+
### Troubleshooting
|
|
1157
|
+
|
|
1158
|
+
#### Hooks Not Executing
|
|
1159
|
+
- Verify `.claude/settings.json` syntax
|
|
1160
|
+
- Check hook matcher patterns
|
|
1161
|
+
- Enable debug mode
|
|
1162
|
+
- Review permission settings
|
|
1163
|
+
- Ensure monomind CLI is in PATH
|
|
1164
|
+
|
|
1165
|
+
#### Hook Timeouts
|
|
1166
|
+
- Increase timeout values in configuration
|
|
1167
|
+
- Make hooks asynchronous for heavy operations
|
|
1168
|
+
- Optimize hook logic
|
|
1169
|
+
- Check network connectivity for MCP tools
|
|
1170
|
+
|
|
1171
|
+
#### Memory Issues
|
|
1172
|
+
- Set appropriate TTLs for memory keys
|
|
1173
|
+
- Clean up old memory entries
|
|
1174
|
+
- Use memory namespaces effectively
|
|
1175
|
+
- Monitor memory usage
|
|
1176
|
+
|
|
1177
|
+
#### Performance Problems
|
|
1178
|
+
- Profile hook execution times
|
|
1179
|
+
- Use caching for repeated operations
|
|
1180
|
+
- Batch operations when possible
|
|
1181
|
+
- Reduce hook complexity
|
|
1182
|
+
|
|
1183
|
+
### Related Commands
|
|
1184
|
+
|
|
1185
|
+
- `npx monomind init --hooks` - Initialize hooks system
|
|
1186
|
+
- `npx monomind hook --list` - List available hooks
|
|
1187
|
+
- `npx monomind hook --test <hook>` - Test specific hook
|
|
1188
|
+
- `npx monomind memory usage` - Manage memory
|
|
1189
|
+
- `npx monomind agent spawn` - Spawn agents
|
|
1190
|
+
- `npx monomind swarm init` - Initialize swarm
|
|
1191
|
+
|
|
1192
|
+
### Integration with Other Skills
|
|
1193
|
+
|
|
1194
|
+
This skill works seamlessly with:
|
|
1195
|
+
- **SPARC Methodology** - Hooks enhance SPARC workflows
|
|
1196
|
+
- **Pair Programming** - Automated quality in pairing sessions
|
|
1197
|
+
- **Verification Quality** - Truth-score validation in hooks
|
|
1198
|
+
- **GitHub Workflows** - Git integration for commits/PRs
|
|
1199
|
+
- **Performance Analysis** - Metrics collection in hooks
|
|
1200
|
+
- **Swarm Advanced** - Multi-agent coordination via hooks
|