@pcircle/claude-code-buddy-mcp 2.3.1
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/LICENSE +661 -0
- package/README.md +599 -0
- package/README.zh-TW.md +577 -0
- package/dist/__benchmarks__/performance-fixes.bench.d.ts +8 -0
- package/dist/__benchmarks__/performance-fixes.bench.d.ts.map +1 -0
- package/dist/__benchmarks__/performance-fixes.bench.js +213 -0
- package/dist/__benchmarks__/performance-fixes.bench.js.map +1 -0
- package/dist/agents/DevelopmentButler.d.ts +80 -0
- package/dist/agents/DevelopmentButler.d.ts.map +1 -0
- package/dist/agents/DevelopmentButler.js +328 -0
- package/dist/agents/DevelopmentButler.js.map +1 -0
- package/dist/agents/E2EHealingAgent.d.ts +30 -0
- package/dist/agents/E2EHealingAgent.d.ts.map +1 -0
- package/dist/agents/E2EHealingAgent.js +162 -0
- package/dist/agents/E2EHealingAgent.js.map +1 -0
- package/dist/agents/TestWriterAgent.d.ts +26 -0
- package/dist/agents/TestWriterAgent.d.ts.map +1 -0
- package/dist/agents/TestWriterAgent.js +139 -0
- package/dist/agents/TestWriterAgent.js.map +1 -0
- package/dist/agents/base/AgentExecutor.d.ts +7 -0
- package/dist/agents/base/AgentExecutor.d.ts.map +1 -0
- package/dist/agents/base/AgentExecutor.js +13 -0
- package/dist/agents/base/AgentExecutor.js.map +1 -0
- package/dist/agents/base/index.d.ts +2 -0
- package/dist/agents/base/index.d.ts.map +1 -0
- package/dist/agents/base/index.js +2 -0
- package/dist/agents/base/index.js.map +1 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.d.ts +24 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.d.ts.map +1 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.js +55 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.js.map +1 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.d.ts +22 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.d.ts.map +1 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.js +36 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.js.map +1 -0
- package/dist/agents/e2e-healing/config.d.ts +4 -0
- package/dist/agents/e2e-healing/config.d.ts.map +1 -0
- package/dist/agents/e2e-healing/config.js +28 -0
- package/dist/agents/e2e-healing/config.js.map +1 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.d.ts +21 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.d.ts.map +1 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.js +33 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.js.map +1 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.d.ts +29 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.d.ts.map +1 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.js +70 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.js.map +1 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.d.ts +30 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.d.ts.map +1 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.js +115 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.js.map +1 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.d.ts +19 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.d.ts.map +1 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.js +79 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.js.map +1 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.d.ts +26 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.js +75 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.js.map +1 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.d.ts +31 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.js +130 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.js.map +1 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.d.ts +21 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.js +62 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.js.map +1 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.d.ts +14 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.js +36 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.js.map +1 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.d.ts +29 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.d.ts.map +1 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.js +86 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.js.map +1 -0
- package/dist/agents/e2e-healing/types.d.ts +46 -0
- package/dist/agents/e2e-healing/types.d.ts.map +1 -0
- package/dist/agents/e2e-healing/types.js +2 -0
- package/dist/agents/e2e-healing/types.js.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraph.d.ts +26 -0
- package/dist/agents/knowledge/KnowledgeGraph.d.ts.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraph.js +106 -0
- package/dist/agents/knowledge/KnowledgeGraph.js.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.d.ts +42 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.d.ts.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.js +349 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.js.map +1 -0
- package/dist/agents/knowledge/index.d.ts +94 -0
- package/dist/agents/knowledge/index.d.ts.map +1 -0
- package/dist/agents/knowledge/index.js +296 -0
- package/dist/agents/knowledge/index.js.map +1 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.d.ts +25 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.d.ts.map +1 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.js +342 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.js.map +1 -0
- package/dist/agents/knowledge/types.d.ts +21 -0
- package/dist/agents/knowledge/types.d.ts.map +1 -0
- package/dist/agents/knowledge/types.js +2 -0
- package/dist/agents/knowledge/types.js.map +1 -0
- package/dist/agents/templates/ci-templates.d.ts +8 -0
- package/dist/agents/templates/ci-templates.d.ts.map +1 -0
- package/dist/agents/templates/ci-templates.js +119 -0
- package/dist/agents/templates/ci-templates.js.map +1 -0
- package/dist/agents/templates/test-templates.d.ts +18 -0
- package/dist/agents/templates/test-templates.d.ts.map +1 -0
- package/dist/agents/templates/test-templates.js +22 -0
- package/dist/agents/templates/test-templates.js.map +1 -0
- package/dist/config/index.d.ts +51 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +96 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/models.d.ts +47 -0
- package/dist/config/models.d.ts.map +1 -0
- package/dist/config/models.js +57 -0
- package/dist/config/models.js.map +1 -0
- package/dist/config/simple-config.d.ts +32 -0
- package/dist/config/simple-config.d.ts.map +1 -0
- package/dist/config/simple-config.js +225 -0
- package/dist/config/simple-config.js.map +1 -0
- package/dist/core/AgentRegistry.d.ts +32 -0
- package/dist/core/AgentRegistry.d.ts.map +1 -0
- package/dist/core/AgentRegistry.js +281 -0
- package/dist/core/AgentRegistry.js.map +1 -0
- package/dist/core/BackgroundExecutor.d.ts +56 -0
- package/dist/core/BackgroundExecutor.d.ts.map +1 -0
- package/dist/core/BackgroundExecutor.js +492 -0
- package/dist/core/BackgroundExecutor.js.map +1 -0
- package/dist/core/BackgroundExecutorConstants.d.ts +8 -0
- package/dist/core/BackgroundExecutorConstants.d.ts.map +1 -0
- package/dist/core/BackgroundExecutorConstants.js +8 -0
- package/dist/core/BackgroundExecutorConstants.js.map +1 -0
- package/dist/core/CheckpointDetector.d.ts +25 -0
- package/dist/core/CheckpointDetector.d.ts.map +1 -0
- package/dist/core/CheckpointDetector.js +67 -0
- package/dist/core/CheckpointDetector.js.map +1 -0
- package/dist/core/ExecutionMonitor.d.ts +29 -0
- package/dist/core/ExecutionMonitor.d.ts.map +1 -0
- package/dist/core/ExecutionMonitor.js +124 -0
- package/dist/core/ExecutionMonitor.js.map +1 -0
- package/dist/core/ExecutionQueue.d.ts +21 -0
- package/dist/core/ExecutionQueue.d.ts.map +1 -0
- package/dist/core/ExecutionQueue.js +104 -0
- package/dist/core/ExecutionQueue.js.map +1 -0
- package/dist/core/HealthCheck.d.ts +39 -0
- package/dist/core/HealthCheck.d.ts.map +1 -0
- package/dist/core/HealthCheck.js +219 -0
- package/dist/core/HealthCheck.js.map +1 -0
- package/dist/core/HookIntegration.d.ts +45 -0
- package/dist/core/HookIntegration.d.ts.map +1 -0
- package/dist/core/HookIntegration.js +241 -0
- package/dist/core/HookIntegration.js.map +1 -0
- package/dist/core/MCPToolInterface.d.ts +120 -0
- package/dist/core/MCPToolInterface.d.ts.map +1 -0
- package/dist/core/MCPToolInterface.js +376 -0
- package/dist/core/MCPToolInterface.js.map +1 -0
- package/dist/core/PromptEnhancer.d.ts +13 -0
- package/dist/core/PromptEnhancer.d.ts.map +1 -0
- package/dist/core/PromptEnhancer.js +112 -0
- package/dist/core/PromptEnhancer.js.map +1 -0
- package/dist/core/ResourceMonitor.d.ts +32 -0
- package/dist/core/ResourceMonitor.d.ts.map +1 -0
- package/dist/core/ResourceMonitor.js +181 -0
- package/dist/core/ResourceMonitor.js.map +1 -0
- package/dist/core/ResultHandler.d.ts +9 -0
- package/dist/core/ResultHandler.d.ts.map +1 -0
- package/dist/core/ResultHandler.js +60 -0
- package/dist/core/ResultHandler.js.map +1 -0
- package/dist/core/ServiceLocator.d.ts +10 -0
- package/dist/core/ServiceLocator.d.ts.map +1 -0
- package/dist/core/ServiceLocator.js +29 -0
- package/dist/core/ServiceLocator.js.map +1 -0
- package/dist/core/SessionContextMonitor.d.ts +41 -0
- package/dist/core/SessionContextMonitor.d.ts.map +1 -0
- package/dist/core/SessionContextMonitor.js +156 -0
- package/dist/core/SessionContextMonitor.js.map +1 -0
- package/dist/core/SessionTokenTracker.d.ts +43 -0
- package/dist/core/SessionTokenTracker.d.ts.map +1 -0
- package/dist/core/SessionTokenTracker.js +76 -0
- package/dist/core/SessionTokenTracker.js.map +1 -0
- package/dist/core/TaskScheduler.d.ts +19 -0
- package/dist/core/TaskScheduler.d.ts.map +1 -0
- package/dist/core/TaskScheduler.js +59 -0
- package/dist/core/TaskScheduler.js.map +1 -0
- package/dist/core/WorkflowGuidanceEngine.d.ts +35 -0
- package/dist/core/WorkflowGuidanceEngine.d.ts.map +1 -0
- package/dist/core/WorkflowGuidanceEngine.js +104 -0
- package/dist/core/WorkflowGuidanceEngine.js.map +1 -0
- package/dist/core/types.d.ts +66 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +11 -0
- package/dist/core/types.js.map +1 -0
- package/dist/db/ConnectionPool.d.ts +47 -0
- package/dist/db/ConnectionPool.d.ts.map +1 -0
- package/dist/db/ConnectionPool.js +432 -0
- package/dist/db/ConnectionPool.js.map +1 -0
- package/dist/db/QueryCache.d.ts +46 -0
- package/dist/db/QueryCache.d.ts.map +1 -0
- package/dist/db/QueryCache.js +229 -0
- package/dist/db/QueryCache.js.map +1 -0
- package/dist/errors/index.d.ts +62 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +124 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/evolution/ABTestManager.d.ts +21 -0
- package/dist/evolution/ABTestManager.d.ts.map +1 -0
- package/dist/evolution/ABTestManager.js +183 -0
- package/dist/evolution/ABTestManager.js.map +1 -0
- package/dist/evolution/AdaptationEngine.d.ts +60 -0
- package/dist/evolution/AdaptationEngine.d.ts.map +1 -0
- package/dist/evolution/AdaptationEngine.js +313 -0
- package/dist/evolution/AdaptationEngine.js.map +1 -0
- package/dist/evolution/AgentEvolutionConfig.d.ts +32 -0
- package/dist/evolution/AgentEvolutionConfig.d.ts.map +1 -0
- package/dist/evolution/AgentEvolutionConfig.js +329 -0
- package/dist/evolution/AgentEvolutionConfig.js.map +1 -0
- package/dist/evolution/ContextMatcher.d.ts +24 -0
- package/dist/evolution/ContextMatcher.d.ts.map +1 -0
- package/dist/evolution/ContextMatcher.js +85 -0
- package/dist/evolution/ContextMatcher.js.map +1 -0
- package/dist/evolution/EvolutionBootstrap.d.ts +69 -0
- package/dist/evolution/EvolutionBootstrap.d.ts.map +1 -0
- package/dist/evolution/EvolutionBootstrap.js +332 -0
- package/dist/evolution/EvolutionBootstrap.js.map +1 -0
- package/dist/evolution/EvolutionMonitor.d.ts +111 -0
- package/dist/evolution/EvolutionMonitor.d.ts.map +1 -0
- package/dist/evolution/EvolutionMonitor.js +540 -0
- package/dist/evolution/EvolutionMonitor.js.map +1 -0
- package/dist/evolution/FeedbackCollector.d.ts +26 -0
- package/dist/evolution/FeedbackCollector.d.ts.map +1 -0
- package/dist/evolution/FeedbackCollector.js +93 -0
- package/dist/evolution/FeedbackCollector.js.map +1 -0
- package/dist/evolution/KnowledgeTransferManager.d.ts +16 -0
- package/dist/evolution/KnowledgeTransferManager.d.ts.map +1 -0
- package/dist/evolution/KnowledgeTransferManager.js +34 -0
- package/dist/evolution/KnowledgeTransferManager.js.map +1 -0
- package/dist/evolution/LearningManager.d.ts +79 -0
- package/dist/evolution/LearningManager.d.ts.map +1 -0
- package/dist/evolution/LearningManager.js +582 -0
- package/dist/evolution/LearningManager.js.map +1 -0
- package/dist/evolution/LearningManagerConstants.d.ts +55 -0
- package/dist/evolution/LearningManagerConstants.d.ts.map +1 -0
- package/dist/evolution/LearningManagerConstants.js +55 -0
- package/dist/evolution/LearningManagerConstants.js.map +1 -0
- package/dist/evolution/MultiObjectiveOptimizer.d.ts +9 -0
- package/dist/evolution/MultiObjectiveOptimizer.d.ts.map +1 -0
- package/dist/evolution/MultiObjectiveOptimizer.js +92 -0
- package/dist/evolution/MultiObjectiveOptimizer.js.map +1 -0
- package/dist/evolution/PatternExplainer.d.ts +14 -0
- package/dist/evolution/PatternExplainer.d.ts.map +1 -0
- package/dist/evolution/PatternExplainer.js +113 -0
- package/dist/evolution/PatternExplainer.js.map +1 -0
- package/dist/evolution/PerformanceTracker.d.ts +43 -0
- package/dist/evolution/PerformanceTracker.d.ts.map +1 -0
- package/dist/evolution/PerformanceTracker.js +453 -0
- package/dist/evolution/PerformanceTracker.js.map +1 -0
- package/dist/evolution/PerformanceTrackerConstants.d.ts +5 -0
- package/dist/evolution/PerformanceTrackerConstants.d.ts.map +1 -0
- package/dist/evolution/PerformanceTrackerConstants.js +5 -0
- package/dist/evolution/PerformanceTrackerConstants.js.map +1 -0
- package/dist/evolution/StatisticalAnalyzer.d.ts +20 -0
- package/dist/evolution/StatisticalAnalyzer.d.ts.map +1 -0
- package/dist/evolution/StatisticalAnalyzer.js +154 -0
- package/dist/evolution/StatisticalAnalyzer.js.map +1 -0
- package/dist/evolution/TransferabilityChecker.d.ts +11 -0
- package/dist/evolution/TransferabilityChecker.d.ts.map +1 -0
- package/dist/evolution/TransferabilityChecker.js +78 -0
- package/dist/evolution/TransferabilityChecker.js.map +1 -0
- package/dist/evolution/index.d.ts +11 -0
- package/dist/evolution/index.d.ts.map +1 -0
- package/dist/evolution/index.js +9 -0
- package/dist/evolution/index.js.map +1 -0
- package/dist/evolution/instrumentation/SpanTracker.d.ts +64 -0
- package/dist/evolution/instrumentation/SpanTracker.d.ts.map +1 -0
- package/dist/evolution/instrumentation/SpanTracker.js +229 -0
- package/dist/evolution/instrumentation/SpanTracker.js.map +1 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.d.ts +19 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.d.ts.map +1 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.js +256 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.js.map +1 -0
- package/dist/evolution/integration-test-scenarios.d.ts +56 -0
- package/dist/evolution/integration-test-scenarios.d.ts.map +1 -0
- package/dist/evolution/integration-test-scenarios.js +131 -0
- package/dist/evolution/integration-test-scenarios.js.map +1 -0
- package/dist/evolution/links/LinkManager.d.ts +17 -0
- package/dist/evolution/links/LinkManager.d.ts.map +1 -0
- package/dist/evolution/links/LinkManager.js +41 -0
- package/dist/evolution/links/LinkManager.js.map +1 -0
- package/dist/evolution/storage/EvolutionStore.d.ts +87 -0
- package/dist/evolution/storage/EvolutionStore.d.ts.map +1 -0
- package/dist/evolution/storage/EvolutionStore.js +2 -0
- package/dist/evolution/storage/EvolutionStore.js.map +1 -0
- package/dist/evolution/storage/IEvolutionStore.d.ts +87 -0
- package/dist/evolution/storage/IEvolutionStore.d.ts.map +1 -0
- package/dist/evolution/storage/IEvolutionStore.js +2 -0
- package/dist/evolution/storage/IEvolutionStore.js.map +1 -0
- package/dist/evolution/storage/SQLiteStore.d.ts +115 -0
- package/dist/evolution/storage/SQLiteStore.d.ts.map +1 -0
- package/dist/evolution/storage/SQLiteStore.enhanced.d.ts +35 -0
- package/dist/evolution/storage/SQLiteStore.enhanced.d.ts.map +1 -0
- package/dist/evolution/storage/SQLiteStore.enhanced.js +514 -0
- package/dist/evolution/storage/SQLiteStore.enhanced.js.map +1 -0
- package/dist/evolution/storage/SQLiteStore.js +915 -0
- package/dist/evolution/storage/SQLiteStore.js.map +1 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.d.ts +109 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.d.ts.map +1 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.js +1033 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.js.map +1 -0
- package/dist/evolution/storage/index.d.ts +6 -0
- package/dist/evolution/storage/index.d.ts.map +1 -0
- package/dist/evolution/storage/index.js +3 -0
- package/dist/evolution/storage/index.js.map +1 -0
- package/dist/evolution/storage/migrations/MigrationManager.d.ts +17 -0
- package/dist/evolution/storage/migrations/MigrationManager.d.ts.map +1 -0
- package/dist/evolution/storage/migrations/MigrationManager.js +242 -0
- package/dist/evolution/storage/migrations/MigrationManager.js.map +1 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.d.ts +17 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.js +82 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.d.ts +43 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.js +157 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.d.ts +12 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.js +87 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/PatternRepository.d.ts +12 -0
- package/dist/evolution/storage/repositories/PatternRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/PatternRepository.js +150 -0
- package/dist/evolution/storage/repositories/PatternRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.d.ts +39 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.js +130 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/RewardRepository.d.ts +17 -0
- package/dist/evolution/storage/repositories/RewardRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/RewardRepository.js +82 -0
- package/dist/evolution/storage/repositories/RewardRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/SpanRepository.d.ts +14 -0
- package/dist/evolution/storage/repositories/SpanRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/SpanRepository.js +191 -0
- package/dist/evolution/storage/repositories/SpanRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/StatsRepository.d.ts +16 -0
- package/dist/evolution/storage/repositories/StatsRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/StatsRepository.js +271 -0
- package/dist/evolution/storage/repositories/StatsRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/TaskRepository.d.ts +16 -0
- package/dist/evolution/storage/repositories/TaskRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/TaskRepository.js +93 -0
- package/dist/evolution/storage/repositories/TaskRepository.js.map +1 -0
- package/dist/evolution/storage/schema.d.ts +81 -0
- package/dist/evolution/storage/schema.d.ts.map +1 -0
- package/dist/evolution/storage/schema.js +241 -0
- package/dist/evolution/storage/schema.js.map +1 -0
- package/dist/evolution/storage/types.d.ts +402 -0
- package/dist/evolution/storage/types.d.ts.map +1 -0
- package/dist/evolution/storage/types.js +2 -0
- package/dist/evolution/storage/types.js.map +1 -0
- package/dist/evolution/storage/validation.d.ts +12 -0
- package/dist/evolution/storage/validation.d.ts.map +1 -0
- package/dist/evolution/storage/validation.js +88 -0
- package/dist/evolution/storage/validation.js.map +1 -0
- package/dist/evolution/types.d.ts +214 -0
- package/dist/evolution/types.d.ts.map +1 -0
- package/dist/evolution/types.js +2 -0
- package/dist/evolution/types.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/knowledge-graph/index.d.ts +27 -0
- package/dist/knowledge-graph/index.d.ts.map +1 -0
- package/dist/knowledge-graph/index.js +353 -0
- package/dist/knowledge-graph/index.js.map +1 -0
- package/dist/knowledge-graph/types.d.ts +37 -0
- package/dist/knowledge-graph/types.d.ts.map +1 -0
- package/dist/knowledge-graph/types.js +2 -0
- package/dist/knowledge-graph/types.js.map +1 -0
- package/dist/management/UninstallManager.d.ts +23 -0
- package/dist/management/UninstallManager.d.ts.map +1 -0
- package/dist/management/UninstallManager.js +186 -0
- package/dist/management/UninstallManager.js.map +1 -0
- package/dist/management/index.d.ts +3 -0
- package/dist/management/index.d.ts.map +1 -0
- package/dist/management/index.js +2 -0
- package/dist/management/index.js.map +1 -0
- package/dist/mcp/BuddyCommands.d.ts +13 -0
- package/dist/mcp/BuddyCommands.d.ts.map +1 -0
- package/dist/mcp/BuddyCommands.js +110 -0
- package/dist/mcp/BuddyCommands.js.map +1 -0
- package/dist/mcp/ClaudeMdReloader.d.ts +37 -0
- package/dist/mcp/ClaudeMdReloader.d.ts.map +1 -0
- package/dist/mcp/ClaudeMdReloader.js +92 -0
- package/dist/mcp/ClaudeMdReloader.js.map +1 -0
- package/dist/mcp/HumanInLoopUI.d.ts +23 -0
- package/dist/mcp/HumanInLoopUI.d.ts.map +1 -0
- package/dist/mcp/HumanInLoopUI.js +92 -0
- package/dist/mcp/HumanInLoopUI.js.map +1 -0
- package/dist/mcp/ServerInitializer.d.ts +47 -0
- package/dist/mcp/ServerInitializer.d.ts.map +1 -0
- package/dist/mcp/ServerInitializer.js +89 -0
- package/dist/mcp/ServerInitializer.js.map +1 -0
- package/dist/mcp/SessionBootstrapper.d.ts +11 -0
- package/dist/mcp/SessionBootstrapper.d.ts.map +1 -0
- package/dist/mcp/SessionBootstrapper.js +67 -0
- package/dist/mcp/SessionBootstrapper.js.map +1 -0
- package/dist/mcp/ToolDefinitions.d.ts +42 -0
- package/dist/mcp/ToolDefinitions.d.ts.map +1 -0
- package/dist/mcp/ToolDefinitions.js +234 -0
- package/dist/mcp/ToolDefinitions.js.map +1 -0
- package/dist/mcp/ToolRouter.d.ts +22 -0
- package/dist/mcp/ToolRouter.d.ts.map +1 -0
- package/dist/mcp/ToolRouter.js +102 -0
- package/dist/mcp/ToolRouter.js.map +1 -0
- package/dist/mcp/handlers/BuddyHandlers.d.ts +14 -0
- package/dist/mcp/handlers/BuddyHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/BuddyHandlers.js +152 -0
- package/dist/mcp/handlers/BuddyHandlers.js.map +1 -0
- package/dist/mcp/handlers/ResourceHandlers.d.ts +3 -0
- package/dist/mcp/handlers/ResourceHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/ResourceHandlers.js +86 -0
- package/dist/mcp/handlers/ResourceHandlers.js.map +1 -0
- package/dist/mcp/handlers/ToolHandlers.d.ts +52 -0
- package/dist/mcp/handlers/ToolHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/ToolHandlers.js +914 -0
- package/dist/mcp/handlers/ToolHandlers.js.map +1 -0
- package/dist/mcp/handlers/index.d.ts +4 -0
- package/dist/mcp/handlers/index.d.ts.map +1 -0
- package/dist/mcp/handlers/index.js +4 -0
- package/dist/mcp/handlers/index.js.map +1 -0
- package/dist/mcp/index.d.ts +5 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +3 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/schemas/OutputSchemas.d.ts +368 -0
- package/dist/mcp/schemas/OutputSchemas.d.ts.map +1 -0
- package/dist/mcp/schemas/OutputSchemas.js +191 -0
- package/dist/mcp/schemas/OutputSchemas.js.map +1 -0
- package/dist/mcp/server.d.ts +17 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +184 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools/add-observations.d.ts +48 -0
- package/dist/mcp/tools/add-observations.d.ts.map +1 -0
- package/dist/mcp/tools/add-observations.js +64 -0
- package/dist/mcp/tools/add-observations.js.map +1 -0
- package/dist/mcp/tools/buddy-do.d.ts +14 -0
- package/dist/mcp/tools/buddy-do.d.ts.map +1 -0
- package/dist/mcp/tools/buddy-do.js +77 -0
- package/dist/mcp/tools/buddy-do.js.map +1 -0
- package/dist/mcp/tools/buddy-help.d.ts +13 -0
- package/dist/mcp/tools/buddy-help.d.ts.map +1 -0
- package/dist/mcp/tools/buddy-help.js +52 -0
- package/dist/mcp/tools/buddy-help.js.map +1 -0
- package/dist/mcp/tools/buddy-remember.d.ts +15 -0
- package/dist/mcp/tools/buddy-remember.d.ts.map +1 -0
- package/dist/mcp/tools/buddy-remember.js +77 -0
- package/dist/mcp/tools/buddy-remember.js.map +1 -0
- package/dist/mcp/tools/create-entities.d.ts +57 -0
- package/dist/mcp/tools/create-entities.d.ts.map +1 -0
- package/dist/mcp/tools/create-entities.js +64 -0
- package/dist/mcp/tools/create-entities.js.map +1 -0
- package/dist/mcp/tools/create-relations.d.ts +60 -0
- package/dist/mcp/tools/create-relations.d.ts.map +1 -0
- package/dist/mcp/tools/create-relations.js +84 -0
- package/dist/mcp/tools/create-relations.js.map +1 -0
- package/dist/mcp/tools/health-check.d.ts +10 -0
- package/dist/mcp/tools/health-check.d.ts.map +1 -0
- package/dist/mcp/tools/health-check.js +37 -0
- package/dist/mcp/tools/health-check.js.map +1 -0
- package/dist/mcp/tools/recall-memory.d.ts +31 -0
- package/dist/mcp/tools/recall-memory.d.ts.map +1 -0
- package/dist/mcp/tools/recall-memory.js +31 -0
- package/dist/mcp/tools/recall-memory.js.map +1 -0
- package/dist/mcp/validation.d.ts +88 -0
- package/dist/mcp/validation.d.ts.map +1 -0
- package/dist/mcp/validation.js +119 -0
- package/dist/mcp/validation.js.map +1 -0
- package/dist/memory/ProjectAutoTracker.d.ts +36 -0
- package/dist/memory/ProjectAutoTracker.d.ts.map +1 -0
- package/dist/memory/ProjectAutoTracker.js +200 -0
- package/dist/memory/ProjectAutoTracker.js.map +1 -0
- package/dist/memory/ProjectMemoryCleanup.d.ts +17 -0
- package/dist/memory/ProjectMemoryCleanup.d.ts.map +1 -0
- package/dist/memory/ProjectMemoryCleanup.js +57 -0
- package/dist/memory/ProjectMemoryCleanup.js.map +1 -0
- package/dist/memory/ProjectMemoryManager.d.ts +15 -0
- package/dist/memory/ProjectMemoryManager.d.ts.map +1 -0
- package/dist/memory/ProjectMemoryManager.js +36 -0
- package/dist/memory/ProjectMemoryManager.js.map +1 -0
- package/dist/orchestrator/AgentRouter.d.ts +20 -0
- package/dist/orchestrator/AgentRouter.d.ts.map +1 -0
- package/dist/orchestrator/AgentRouter.js +274 -0
- package/dist/orchestrator/AgentRouter.js.map +1 -0
- package/dist/orchestrator/CostTracker.d.ts +25 -0
- package/dist/orchestrator/CostTracker.d.ts.map +1 -0
- package/dist/orchestrator/CostTracker.js +199 -0
- package/dist/orchestrator/CostTracker.js.map +1 -0
- package/dist/orchestrator/GlobalResourcePool.d.ts +59 -0
- package/dist/orchestrator/GlobalResourcePool.d.ts.map +1 -0
- package/dist/orchestrator/GlobalResourcePool.js +224 -0
- package/dist/orchestrator/GlobalResourcePool.js.map +1 -0
- package/dist/orchestrator/GlobalResourcePoolConstants.d.ts +22 -0
- package/dist/orchestrator/GlobalResourcePoolConstants.d.ts.map +1 -0
- package/dist/orchestrator/GlobalResourcePoolConstants.js +22 -0
- package/dist/orchestrator/GlobalResourcePoolConstants.js.map +1 -0
- package/dist/orchestrator/TaskAnalyzer.d.ts +15 -0
- package/dist/orchestrator/TaskAnalyzer.d.ts.map +1 -0
- package/dist/orchestrator/TaskAnalyzer.js +234 -0
- package/dist/orchestrator/TaskAnalyzer.js.map +1 -0
- package/dist/orchestrator/TaskAnalyzerConstants.d.ts +16 -0
- package/dist/orchestrator/TaskAnalyzerConstants.d.ts.map +1 -0
- package/dist/orchestrator/TaskAnalyzerConstants.js +16 -0
- package/dist/orchestrator/TaskAnalyzerConstants.js.map +1 -0
- package/dist/orchestrator/example.d.ts +2 -0
- package/dist/orchestrator/example.d.ts.map +1 -0
- package/dist/orchestrator/example.js +118 -0
- package/dist/orchestrator/example.js.map +1 -0
- package/dist/orchestrator/index.d.ts +82 -0
- package/dist/orchestrator/index.d.ts.map +1 -0
- package/dist/orchestrator/index.js +364 -0
- package/dist/orchestrator/index.js.map +1 -0
- package/dist/orchestrator/router.d.ts +48 -0
- package/dist/orchestrator/router.d.ts.map +1 -0
- package/dist/orchestrator/router.js +126 -0
- package/dist/orchestrator/router.js.map +1 -0
- package/dist/orchestrator/types.d.ts +60 -0
- package/dist/orchestrator/types.d.ts.map +1 -0
- package/dist/orchestrator/types.js +2 -0
- package/dist/orchestrator/types.js.map +1 -0
- package/dist/planning/PlanningEngine.d.ts +52 -0
- package/dist/planning/PlanningEngine.d.ts.map +1 -0
- package/dist/planning/PlanningEngine.js +271 -0
- package/dist/planning/PlanningEngine.js.map +1 -0
- package/dist/planning/TaskDecomposer.d.ts +32 -0
- package/dist/planning/TaskDecomposer.d.ts.map +1 -0
- package/dist/planning/TaskDecomposer.js +152 -0
- package/dist/planning/TaskDecomposer.js.map +1 -0
- package/dist/prompts/templates/PromptTemplates.d.ts +11 -0
- package/dist/prompts/templates/PromptTemplates.d.ts.map +1 -0
- package/dist/prompts/templates/PromptTemplates.js +942 -0
- package/dist/prompts/templates/PromptTemplates.js.map +1 -0
- package/dist/prompts/templates/index.d.ts +2 -0
- package/dist/prompts/templates/index.d.ts.map +1 -0
- package/dist/prompts/templates/index.js +2 -0
- package/dist/prompts/templates/index.js.map +1 -0
- package/dist/skills/SkillManager.d.ts +33 -0
- package/dist/skills/SkillManager.d.ts.map +1 -0
- package/dist/skills/SkillManager.js +153 -0
- package/dist/skills/SkillManager.js.map +1 -0
- package/dist/skills/index.d.ts +3 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +2 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/telemetry/TelemetryCollector.d.ts +19 -0
- package/dist/telemetry/TelemetryCollector.d.ts.map +1 -0
- package/dist/telemetry/TelemetryCollector.js +62 -0
- package/dist/telemetry/TelemetryCollector.js.map +1 -0
- package/dist/telemetry/TelemetryStore.d.ts +20 -0
- package/dist/telemetry/TelemetryStore.d.ts.map +1 -0
- package/dist/telemetry/TelemetryStore.js +126 -0
- package/dist/telemetry/TelemetryStore.js.map +1 -0
- package/dist/telemetry/index.d.ts +8 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +33 -0
- package/dist/telemetry/index.js.map +1 -0
- package/dist/telemetry/sanitization.d.ts +6 -0
- package/dist/telemetry/sanitization.d.ts.map +1 -0
- package/dist/telemetry/sanitization.js +180 -0
- package/dist/telemetry/sanitization.js.map +1 -0
- package/dist/telemetry/types.d.ts +73 -0
- package/dist/telemetry/types.d.ts.map +1 -0
- package/dist/telemetry/types.js +16 -0
- package/dist/telemetry/types.js.map +1 -0
- package/dist/templates/git-education-templates.d.ts +26 -0
- package/dist/templates/git-education-templates.d.ts.map +1 -0
- package/dist/templates/git-education-templates.js +455 -0
- package/dist/templates/git-education-templates.js.map +1 -0
- package/dist/types/AgentClassification.d.ts +6 -0
- package/dist/types/AgentClassification.d.ts.map +1 -0
- package/dist/types/AgentClassification.js +7 -0
- package/dist/types/AgentClassification.js.map +1 -0
- package/dist/types/Checkpoint.d.ts +12 -0
- package/dist/types/Checkpoint.d.ts.map +1 -0
- package/dist/types/Checkpoint.js +13 -0
- package/dist/types/Checkpoint.js.map +1 -0
- package/dist/types/toonify.d.ts +91 -0
- package/dist/types/toonify.d.ts.map +1 -0
- package/dist/types/toonify.js +18 -0
- package/dist/types/toonify.js.map +1 -0
- package/dist/ui/AsciiProgressBar.d.ts +29 -0
- package/dist/ui/AsciiProgressBar.d.ts.map +1 -0
- package/dist/ui/AsciiProgressBar.js +131 -0
- package/dist/ui/AsciiProgressBar.js.map +1 -0
- package/dist/ui/AttributionManager.d.ts +19 -0
- package/dist/ui/AttributionManager.d.ts.map +1 -0
- package/dist/ui/AttributionManager.js +107 -0
- package/dist/ui/AttributionManager.js.map +1 -0
- package/dist/ui/Dashboard.d.ts +24 -0
- package/dist/ui/Dashboard.d.ts.map +1 -0
- package/dist/ui/Dashboard.js +135 -0
- package/dist/ui/Dashboard.js.map +1 -0
- package/dist/ui/LoadingIndicator.d.ts +53 -0
- package/dist/ui/LoadingIndicator.d.ts.map +1 -0
- package/dist/ui/LoadingIndicator.js +174 -0
- package/dist/ui/LoadingIndicator.js.map +1 -0
- package/dist/ui/MetricsStore.d.ts +15 -0
- package/dist/ui/MetricsStore.d.ts.map +1 -0
- package/dist/ui/MetricsStore.js +111 -0
- package/dist/ui/MetricsStore.js.map +1 -0
- package/dist/ui/ProgressRenderer.d.ts +24 -0
- package/dist/ui/ProgressRenderer.d.ts.map +1 -0
- package/dist/ui/ProgressRenderer.js +121 -0
- package/dist/ui/ProgressRenderer.js.map +1 -0
- package/dist/ui/ResponseFormatter.d.ts +42 -0
- package/dist/ui/ResponseFormatter.d.ts.map +1 -0
- package/dist/ui/ResponseFormatter.js +243 -0
- package/dist/ui/ResponseFormatter.js.map +1 -0
- package/dist/ui/UIEventBus.d.ts +38 -0
- package/dist/ui/UIEventBus.d.ts.map +1 -0
- package/dist/ui/UIEventBus.js +173 -0
- package/dist/ui/UIEventBus.js.map +1 -0
- package/dist/ui/index.d.ts +8 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +6 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/theme.d.ts +292 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +153 -0
- package/dist/ui/theme.js.map +1 -0
- package/dist/ui/types.d.ts +146 -0
- package/dist/ui/types.d.ts.map +1 -0
- package/dist/ui/types.js +16 -0
- package/dist/ui/types.js.map +1 -0
- package/dist/utils/ILogger.d.ts +7 -0
- package/dist/utils/ILogger.d.ts.map +1 -0
- package/dist/utils/ILogger.js +2 -0
- package/dist/utils/ILogger.js.map +1 -0
- package/dist/utils/MinHeap.d.ts +15 -0
- package/dist/utils/MinHeap.d.ts.map +1 -0
- package/dist/utils/MinHeap.js +69 -0
- package/dist/utils/MinHeap.js.map +1 -0
- package/dist/utils/RateLimiter.d.ts +28 -0
- package/dist/utils/RateLimiter.d.ts.map +1 -0
- package/dist/utils/RateLimiter.js +115 -0
- package/dist/utils/RateLimiter.js.map +1 -0
- package/dist/utils/SecureKeyStore.d.ts +10 -0
- package/dist/utils/SecureKeyStore.d.ts.map +1 -0
- package/dist/utils/SecureKeyStore.js +32 -0
- package/dist/utils/SecureKeyStore.js.map +1 -0
- package/dist/utils/SystemResources.d.ts +40 -0
- package/dist/utils/SystemResources.d.ts.map +1 -0
- package/dist/utils/SystemResources.js +221 -0
- package/dist/utils/SystemResources.js.map +1 -0
- package/dist/utils/cost-tracker.d.ts +34 -0
- package/dist/utils/cost-tracker.d.ts.map +1 -0
- package/dist/utils/cost-tracker.js +92 -0
- package/dist/utils/cost-tracker.js.map +1 -0
- package/dist/utils/errorHandler.d.ts +28 -0
- package/dist/utils/errorHandler.d.ts.map +1 -0
- package/dist/utils/errorHandler.js +206 -0
- package/dist/utils/errorHandler.js.map +1 -0
- package/dist/utils/json.d.ts +13 -0
- package/dist/utils/json.d.ts.map +1 -0
- package/dist/utils/json.js +85 -0
- package/dist/utils/json.js.map +1 -0
- package/dist/utils/logger.d.ts +16 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +57 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/lru-cache.d.ts +40 -0
- package/dist/utils/lru-cache.d.ts.map +1 -0
- package/dist/utils/lru-cache.js +209 -0
- package/dist/utils/lru-cache.js.map +1 -0
- package/dist/utils/memory.d.ts +20 -0
- package/dist/utils/memory.d.ts.map +1 -0
- package/dist/utils/memory.js +53 -0
- package/dist/utils/memory.js.map +1 -0
- package/dist/utils/money.d.ts +10 -0
- package/dist/utils/money.d.ts.map +1 -0
- package/dist/utils/money.js +25 -0
- package/dist/utils/money.js.map +1 -0
- package/dist/utils/pathValidation.d.ts +2 -0
- package/dist/utils/pathValidation.d.ts.map +1 -0
- package/dist/utils/pathValidation.js +62 -0
- package/dist/utils/pathValidation.js.map +1 -0
- package/dist/utils/paths.d.ts +4 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +28 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/requestId.d.ts +4 -0
- package/dist/utils/requestId.d.ts.map +1 -0
- package/dist/utils/requestId.js +17 -0
- package/dist/utils/requestId.js.map +1 -0
- package/dist/utils/retry.d.ts +20 -0
- package/dist/utils/retry.d.ts.map +1 -0
- package/dist/utils/retry.js +226 -0
- package/dist/utils/retry.js.map +1 -0
- package/dist/utils/toonify-adapter.d.ts +77 -0
- package/dist/utils/toonify-adapter.d.ts.map +1 -0
- package/dist/utils/toonify-adapter.js +283 -0
- package/dist/utils/toonify-adapter.js.map +1 -0
- package/dist/utils/validation.d.ts +7 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +62 -0
- package/dist/utils/validation.js.map +1 -0
- package/package.json +116 -0
- package/plugin.json +21 -0
package/README.md
ADDED
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
# Claude Code Buddy (CCB)
|
|
2
|
+
|
|
3
|
+
🌐 **Website:** [ccb.pcircle.ai](https://ccb.pcircle.ai) | **Languages:** English | [繁體中文](README.zh-TW.md)
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
> **Make Claude Code remember your project, learn from your feedback, and give you expert-level responses without expert-level prompts.**
|
|
8
|
+
|
|
9
|
+
Claude Code Buddy is a Claude Code Plugin that adds intelligence, memory, and task routing to Claude Code - turning it from a powerful assistant into a project-aware AI teammate.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## The Problem
|
|
14
|
+
|
|
15
|
+
You're using Claude Code to build your project, but you keep hitting the same frustrations:
|
|
16
|
+
|
|
17
|
+
- **"Didn't we already discuss this?"** - Claude forgets context between sessions
|
|
18
|
+
- **"Why am I explaining this again?"** - Every conversation starts from zero
|
|
19
|
+
- **"This answer is too generic"** - Same response whether you're debugging, reviewing code, or designing UI
|
|
20
|
+
- **"Let me write this 50-line prompt... again"** - Repetitive instructions for common tasks
|
|
21
|
+
|
|
22
|
+
**You end up being Claude's memory and project manager instead of focusing on building.**
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## The Solution
|
|
27
|
+
|
|
28
|
+
Claude Code Buddy sits between you and Claude Code, adding three superpowers:
|
|
29
|
+
|
|
30
|
+
### 1. 🧠 **Project Memory**
|
|
31
|
+
|
|
32
|
+
CCB remembers your architecture decisions, coding patterns, and past solutions. Ask "Why did we choose PostgreSQL?" and get the actual decision rationale - not a generic comparison.
|
|
33
|
+
|
|
34
|
+
### 2. 🎯 **Smart Task Routing**
|
|
35
|
+
|
|
36
|
+
Your request gets analyzed and routed to the right "expert mode" - code review tasks get code review expertise, debugging gets systematic debugging methodology, frontend gets UI/UX best practices.
|
|
37
|
+
|
|
38
|
+
### 3. 🎯 **Capability Guidance**
|
|
39
|
+
|
|
40
|
+
CCB tailors prompts to the task type and your project context, so reviews, debugging, and design work all get the right structure and guardrails.
|
|
41
|
+
|
|
42
|
+
**Result:** Expert responses without expert prompts. Context that persists. Guidance that stays focused and actionable.
|
|
43
|
+
|
|
44
|
+
### What does "evolves with your project" actually mean?
|
|
45
|
+
|
|
46
|
+
CCB does not retrain models or modify Claude itself.
|
|
47
|
+
|
|
48
|
+
Instead, evolution comes from a **persistent system layer** inside the Claude Code plugin:
|
|
49
|
+
|
|
50
|
+
• **Project memory accumulation**
|
|
51
|
+
Architectural decisions, conventions, and resolved discussions are stored as structured context.
|
|
52
|
+
|
|
53
|
+
• **Pattern reinforcement**
|
|
54
|
+
Repeated approvals, refactors, and preferred solutions gradually shape how future prompts are constructed.
|
|
55
|
+
|
|
56
|
+
• **Task-type differentiation**
|
|
57
|
+
Review, debugging, refactoring, and design tasks are handled with different internal prompting strategies.
|
|
58
|
+
|
|
59
|
+
• **Context reuse, not repetition**
|
|
60
|
+
Relevant memory is selectively injected, avoiding prompt bloat while preserving continuity.
|
|
61
|
+
|
|
62
|
+
Over time, Claude Code responses become:
|
|
63
|
+
• more aligned with your conventions
|
|
64
|
+
• more consistent across sessions
|
|
65
|
+
• less dependent on verbose prompts
|
|
66
|
+
|
|
67
|
+
This is *behavioral evolution through system memory and routing*, not model fine-tuning.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## See It In Action
|
|
72
|
+
|
|
73
|
+
**Without CCB:**
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
You: "Optimize this database query"
|
|
77
|
+
Claude: [Generic advice about indexes and query structure]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**With CCB:**
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
You: "Optimize this database query"
|
|
84
|
+
|
|
85
|
+
CCB analyzes: Database optimization task
|
|
86
|
+
CCB routes to: database optimization capability
|
|
87
|
+
CCB enhances prompt with: DB best practices, indexing strategies, profiling techniques
|
|
88
|
+
|
|
89
|
+
Claude: [Specific optimization for YOUR database setup, with actual query examples
|
|
90
|
+
and performance benchmarks based on your schema]
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**The difference:** CCB knows your stack, remembers your schema, and delivers targeted expertise.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## How to Use CCB
|
|
98
|
+
|
|
99
|
+
After installation, CCB works **two ways**:
|
|
100
|
+
|
|
101
|
+
### 🔄 Automatic Mode (Just Talk Normally)
|
|
102
|
+
|
|
103
|
+
CCB enhances your requests automatically in the background. No special commands needed:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
You: "Review this code for security issues"
|
|
107
|
+
↓
|
|
108
|
+
CCB automatically:
|
|
109
|
+
• Detects task type → code review
|
|
110
|
+
• Routes to → security review capability
|
|
111
|
+
• Enhances prompt with → security checklist, best practices
|
|
112
|
+
↓
|
|
113
|
+
Claude responds with specialized security expertise
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
**Just use Claude Code as usual** - CCB works invisibly to improve responses.
|
|
117
|
+
|
|
118
|
+
### 🎮 Buddy Commands (Explicit Control)
|
|
119
|
+
|
|
120
|
+
Use these commands when you want specific CCB features:
|
|
121
|
+
|
|
122
|
+
| Command | What It Does | Example |
|
|
123
|
+
|---------|--------------|---------|
|
|
124
|
+
| `buddy-do` | Execute task with smart routing | `buddy-do "setup user authentication"` |
|
|
125
|
+
| `buddy-remember` | Search project memory | `buddy-remember "why did we choose PostgreSQL"` |
|
|
126
|
+
| `buddy-help` | Get help on any command | `buddy-help remember` |
|
|
127
|
+
|
|
128
|
+
### 💾 Project Memory
|
|
129
|
+
|
|
130
|
+
Project memory is captured automatically as you work. Use `buddy-remember` to recall key decisions and recent progress.
|
|
131
|
+
|
|
132
|
+
Project memory is automatic. Use `buddy-remember` to recall decisions, patterns, and recent work.
|
|
133
|
+
|
|
134
|
+
### 📋 Quick Reference Card
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
138
|
+
│ CCB QUICK REFERENCE │
|
|
139
|
+
├─────────────────────────────────────────────────────────────┤
|
|
140
|
+
│ 🔄 AUTOMATIC (just talk normally) │
|
|
141
|
+
│ • "Review this code" → routes to code review │
|
|
142
|
+
│ • "Debug this error" → routes to debugging │
|
|
143
|
+
│ • "Design a component" → routes to UI design │
|
|
144
|
+
├─────────────────────────────────────────────────────────────┤
|
|
145
|
+
│ 🎮 BUDDY COMMANDS │
|
|
146
|
+
│ buddy-do "task" Execute with smart routing │
|
|
147
|
+
│ buddy-remember "query" Search project memory │
|
|
148
|
+
│ buddy-help [command] Get help │
|
|
149
|
+
├─────────────────────────────────────────────────────────────┤
|
|
150
|
+
│ 🧭 WORKFLOW │
|
|
151
|
+
│ get-session-health Check context health │
|
|
152
|
+
│ get-workflow-guidance Get next-step recommendations │
|
|
153
|
+
│ generate-smart-plan Create implementation plans │
|
|
154
|
+
└─────────────────────────────────────────────────────────────┘
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Key Features
|
|
160
|
+
|
|
161
|
+
### ✨ Automatic Expertise Routing
|
|
162
|
+
|
|
163
|
+
CCB routes requests to internal specialists based on capability signals. You describe intent, CCB handles routing.
|
|
164
|
+
|
|
165
|
+
**Capabilities include:**
|
|
166
|
+
- Code review, security audits, and best-practice validation
|
|
167
|
+
- Debugging and root-cause analysis
|
|
168
|
+
- Refactoring and technical debt reduction
|
|
169
|
+
- API design, backend architecture, and database optimization
|
|
170
|
+
- Testing strategy and generation
|
|
171
|
+
- Performance profiling and optimization
|
|
172
|
+
- UI/UX design and technical writing
|
|
173
|
+
- Research, product, and planning support
|
|
174
|
+
|
|
175
|
+
### 💾 Memory Systems
|
|
176
|
+
|
|
177
|
+
**Knowledge Graph**
|
|
178
|
+
|
|
179
|
+
```
|
|
180
|
+
You: "Why did we choose this architecture?"
|
|
181
|
+
CCB: [Recalls the decision, the alternatives considered, and the tradeoffs]
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**Project Context**
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
CCB remembers:
|
|
188
|
+
- Your coding standards
|
|
189
|
+
- Naming conventions
|
|
190
|
+
- Project-specific patterns
|
|
191
|
+
- What you've already built
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### 🎯 Capability Guidance & Prompt Focus
|
|
195
|
+
|
|
196
|
+
CCB analyzes task complexity and routes to the right internal capability, shaping prompts for reviews, debugging, planning, or UI/UX work.
|
|
197
|
+
|
|
198
|
+
**How it works**: TaskAnalyzer examines your request → Estimates complexity (1-10) → Routes to the best capability profile → You get focused guidance without over-tuning prompts.
|
|
199
|
+
|
|
200
|
+
**Real example**: "Fix this typo" gets a fast, minimal path, while "Design authentication system" gets a structured architecture workflow and risk checklist.
|
|
201
|
+
|
|
202
|
+
### 🤝 User-Friendly Commands
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
# Simple commands that just work
|
|
206
|
+
buddy-do "setup authentication"
|
|
207
|
+
buddy-do "optimize this database query"
|
|
208
|
+
buddy-remember "how we implemented login"
|
|
209
|
+
buddy-help
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### 🔄 Intelligent Workflow Guidance
|
|
213
|
+
|
|
214
|
+
**CCB knows what's next.** After you write code, it suggests running tests. After tests pass, it suggests code review. No manual thinking required.
|
|
215
|
+
|
|
216
|
+
```
|
|
217
|
+
You write code → CCB: "Code looks good! Run tests next?"
|
|
218
|
+
Tests pass → CCB: "Tests green! Ready for code review?"
|
|
219
|
+
Review done → CCB: "Review complete! Commit and push?"
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
**Workflow tools:**
|
|
223
|
+
|
|
224
|
+
- `get-workflow-guidance` - Get next-step recommendations
|
|
225
|
+
- `get-session-health` - Check session health status
|
|
226
|
+
|
|
227
|
+
**Benefits:** Never wonder "what should I do next?" - CCB guides you through the complete development flow.
|
|
228
|
+
|
|
229
|
+
### 📋 Smart Implementation Planning
|
|
230
|
+
|
|
231
|
+
**Break down complex features into bite-sized tasks.** CCB generates TDD-structured plans with capability-aware task breakdown.
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
You: "Plan implementation for user authentication"
|
|
235
|
+
CCB: [Generates step-by-step plan with:
|
|
236
|
+
- Test-first approach
|
|
237
|
+
- 2-5 minute tasks
|
|
238
|
+
- Right capability for each task
|
|
239
|
+
- Clear success criteria]
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
**Planning tool:**
|
|
243
|
+
|
|
244
|
+
- `generate-smart-plan` - Create intelligent implementation plans
|
|
245
|
+
|
|
246
|
+
### 🔒 Security & Reliability
|
|
247
|
+
|
|
248
|
+
**Built with security and stability as core principles.**
|
|
249
|
+
|
|
250
|
+
**Security Hardening:**
|
|
251
|
+
- ✅ **API Key Validation**: Comprehensive format validation prevents runtime failures
|
|
252
|
+
- ✅ **Input Sanitization**: Blocks NaN, Infinity, and malicious input values (DoS prevention)
|
|
253
|
+
- ✅ **SQL Injection Protection**: Pure parameterization with JSON functions (no string concatenation)
|
|
254
|
+
- ✅ **Logging Sanitization**: 50+ patterns to redact API keys, tokens, credentials, PII from logs
|
|
255
|
+
- ✅ **Path Traversal Prevention**: Validates database paths, resolves symlinks, enforces directory boundaries
|
|
256
|
+
- ✅ **Zero Vulnerabilities**: Regular `npm audit` with immediate dependency updates
|
|
257
|
+
|
|
258
|
+
**Reliability:**
|
|
259
|
+
- ✅ **1226 Tests Passing**: Comprehensive test coverage across all components
|
|
260
|
+
- ✅ **Timer Leak Prevention**: Proper cleanup in all async operations
|
|
261
|
+
- ✅ **Race Condition Protection**: Systematic concurrency testing and prevention
|
|
262
|
+
- ✅ **Graceful Error Handling**: Detailed error messages with recovery suggestions
|
|
263
|
+
|
|
264
|
+
**Latest Security Audit (v2.3.1):**
|
|
265
|
+
```bash
|
|
266
|
+
npm audit
|
|
267
|
+
# Result: 0 vulnerabilities found ✅
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## Quick Start (2 Minutes)
|
|
273
|
+
|
|
274
|
+
### 🚀 One-Click Installation
|
|
275
|
+
|
|
276
|
+
#### For Cursor Users
|
|
277
|
+
|
|
278
|
+
[](cursor://anysphere.cursor-deeplink/mcp/install?name=claude-code-buddy&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNsYXVkZS1jb2RlLWJ1ZGR5Il19)
|
|
279
|
+
|
|
280
|
+
**Click the button above or paste this link in your browser:**
|
|
281
|
+
```
|
|
282
|
+
cursor://anysphere.cursor-deeplink/mcp/install?name=claude-code-buddy&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNsYXVkZS1jb2RlLWJ1ZGR5Il19
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
#### For VS Code / Claude Code Users
|
|
286
|
+
|
|
287
|
+
**Quick MCP Configuration** (add to `~/.claude/mcp_settings.json`):
|
|
288
|
+
```json
|
|
289
|
+
{
|
|
290
|
+
"mcpServers": {
|
|
291
|
+
"claude-code-buddy": {
|
|
292
|
+
"command": "npx",
|
|
293
|
+
"args": ["-y", "claude-code-buddy"]
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Then restart Claude Code and start using CCB!
|
|
300
|
+
|
|
301
|
+
**📖 Detailed installation guide**: See [QUICK_INSTALL.md](docs/QUICK_INSTALL.md)
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
### Prerequisites
|
|
306
|
+
|
|
307
|
+
- Node.js 20+ ([download](https://nodejs.org/))
|
|
308
|
+
- Claude Code installed ([get it here](https://claude.com/claude-code)) or Cursor IDE
|
|
309
|
+
|
|
310
|
+
### Manual Installation (Alternative)
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
# 1. Clone the repository
|
|
314
|
+
git clone https://github.com/PCIRCLE-AI/claude-code-buddy.git
|
|
315
|
+
cd claude-code-buddy
|
|
316
|
+
|
|
317
|
+
# 2. Run the interactive installer (it handles everything)
|
|
318
|
+
./scripts/install.sh
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
The installer guides you through **9 interactive steps**:
|
|
322
|
+
|
|
323
|
+
**Core Setup (Steps 1-7)**:
|
|
324
|
+
|
|
325
|
+
- ✓ Check prerequisites (Node.js 20+, npm; git optional)
|
|
326
|
+
- ✓ Install dependencies
|
|
327
|
+
- ✓ Build the project
|
|
328
|
+
- ✓ Check system resources
|
|
329
|
+
- ✓ Configure environment
|
|
330
|
+
- ✓ Configure Claude Code MCP integration
|
|
331
|
+
- ✓ Test installation
|
|
332
|
+
|
|
333
|
+
**Interactive Demos (Steps 8-9)**:
|
|
334
|
+
|
|
335
|
+
- 📚 **Step 8: Basic Usage Demo** - Learn about CCB's smart routing, example prompts, and memory features
|
|
336
|
+
- ✅ **Step 9: MCP Verification** - Confirm the MCP server is reachable
|
|
337
|
+
|
|
338
|
+
**No API keys needed in MCP server mode** - uses your existing Claude Code subscription.
|
|
339
|
+
|
|
340
|
+
**Optional configuration** (only if you want to change defaults):
|
|
341
|
+
```bash
|
|
342
|
+
cp .env.example .env
|
|
343
|
+
# For standalone orchestrator usage:
|
|
344
|
+
# MCP_SERVER_MODE=false
|
|
345
|
+
# ANTHROPIC_API_KEY=your_key_here
|
|
346
|
+
# Optional guidance modes:
|
|
347
|
+
# BEGINNER_MODE=true
|
|
348
|
+
# EVIDENCE_MODE=true
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
### Start Using It
|
|
352
|
+
|
|
353
|
+
Restart Claude Code, then try:
|
|
354
|
+
|
|
355
|
+
```
|
|
356
|
+
"Analyze my codebase architecture"
|
|
357
|
+
"Generate tests for auth.ts"
|
|
358
|
+
"Review this code for security issues"
|
|
359
|
+
"Optimize this database query"
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
CCB automatically routes tasks to the right capability and enhances prompts with relevant context.
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## How It Works
|
|
367
|
+
|
|
368
|
+
```
|
|
369
|
+
Your Request
|
|
370
|
+
↓
|
|
371
|
+
CCB analyzes the task
|
|
372
|
+
↓
|
|
373
|
+
Routes to best capability type (e.g., code review, debugging)
|
|
374
|
+
↓
|
|
375
|
+
Enhances prompt with specialized context
|
|
376
|
+
↓
|
|
377
|
+
Claude Code executes with your subscription
|
|
378
|
+
↓
|
|
379
|
+
System learns from your choices (when you override recommendations)
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
**Under the hood:**
|
|
383
|
+
|
|
384
|
+
- **Curated internal specialists** handle routing and prompt construction
|
|
385
|
+
- **Smart routing** analyzes task complexity and automatically selects the right Claude model
|
|
386
|
+
- **Evolution system** learns from your choices and continuously improves recommendations
|
|
387
|
+
|
|
388
|
+
**Technical deep dive:** See [docs/README.md](docs/README.md)
|
|
389
|
+
|
|
390
|
+
---
|
|
391
|
+
|
|
392
|
+
## What CCB Does Well ✅
|
|
393
|
+
|
|
394
|
+
- **Makes Claude Code context-aware** for your specific project
|
|
395
|
+
- **Reduces repetitive prompting** through intelligent task routing
|
|
396
|
+
- **Remembers between sessions** with persistent memory systems (Knowledge Graph + Project Context)
|
|
397
|
+
- **Provides specialized expertise** without you writing expert prompts
|
|
398
|
+
- **Keeps responses focused** by routing to the right capability for each task
|
|
399
|
+
- **Learns from your choices** when you override recommendations
|
|
400
|
+
- **Guides your workflow** with intelligent next-step recommendations
|
|
401
|
+
- **Reduces hallucinations** with evidence-first prompting and explicit assumptions
|
|
402
|
+
- **Coordinates complex workflows** across multiple steps
|
|
403
|
+
- **Cross-platform support** works seamlessly on Windows, macOS, and Linux
|
|
404
|
+
- **Production-ready** with comprehensive testing, security hardening, and resource protection
|
|
405
|
+
|
|
406
|
+
## Honest Limitations ⚠️
|
|
407
|
+
|
|
408
|
+
- **Not magic** - Still needs clear requirements from you
|
|
409
|
+
- **Not a replacement for learning** - You should understand what you're building
|
|
410
|
+
- **Enhances Claude Code, doesn't replace it** - Works alongside your existing setup
|
|
411
|
+
- **Requires setup** - 2-minute install, not one-click (yet)
|
|
412
|
+
- **Early stage (v2.2)** - Expect rough edges, but actively improving
|
|
413
|
+
- **Limited by Claude's capabilities** - Can't make Claude do impossible things
|
|
414
|
+
|
|
415
|
+
**Philosophy:** We're honest about what works and what doesn't. If something doesn't work for you, let us know - that feedback makes it better for everyone.
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
## Use Cases
|
|
420
|
+
|
|
421
|
+
### Code Review
|
|
422
|
+
|
|
423
|
+
```
|
|
424
|
+
"Review this PR for security vulnerabilities and code quality"
|
|
425
|
+
→ Routes to code review capability
|
|
426
|
+
→ Gets security checklist + quality standards
|
|
427
|
+
→ Returns detailed review with specific recommendations
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
### Debugging
|
|
431
|
+
|
|
432
|
+
```
|
|
433
|
+
"This function crashes with undefined, help debug"
|
|
434
|
+
→ Routes to debugging capability
|
|
435
|
+
→ Gets systematic debugging methodology
|
|
436
|
+
→ Walks through root cause analysis step-by-step
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
### Frontend Design
|
|
440
|
+
|
|
441
|
+
```
|
|
442
|
+
"Design a responsive dashboard with dark mode"
|
|
443
|
+
→ Routes to UI design capability
|
|
444
|
+
→ Gets UI/UX patterns + accessibility guidelines
|
|
445
|
+
→ Returns complete design with responsive breakpoints
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
### Database Optimization
|
|
449
|
+
|
|
450
|
+
```
|
|
451
|
+
"This Prisma query takes 2 seconds, optimize it"
|
|
452
|
+
→ Routes to database optimization capability
|
|
453
|
+
→ Gets query optimization patterns + indexing strategies
|
|
454
|
+
→ Returns optimized query with performance benchmarks
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
---
|
|
458
|
+
|
|
459
|
+
## Advanced Features
|
|
460
|
+
|
|
461
|
+
- **Custom Skills** - Write your own routing behaviors in TypeScript
|
|
462
|
+
- **Multi-step Planning** - Break down complex tasks into executable plans
|
|
463
|
+
- **Workflow Coordination** - Automatic checkpoint detection and next-step suggestions
|
|
464
|
+
- **Dashboard** - Real-time metrics, session health monitoring, performance tracking
|
|
465
|
+
|
|
466
|
+
**Explore:** See [docs/](docs/) for detailed guides on each feature.
|
|
467
|
+
|
|
468
|
+
---
|
|
469
|
+
|
|
470
|
+
## Technical Specifications
|
|
471
|
+
|
|
472
|
+
### Claude 4.5 Model Support
|
|
473
|
+
|
|
474
|
+
CCB fully supports the latest Claude 4.5 model family:
|
|
475
|
+
|
|
476
|
+
- **Claude Haiku 4.5** (claude-haiku-4-5-20251015) - Fast responses for simple tasks
|
|
477
|
+
- Pricing: $1.00 input / $5.00 output per MTok
|
|
478
|
+
- Use case: Quick queries, simple refactors, code formatting
|
|
479
|
+
|
|
480
|
+
- **Claude Sonnet 4.5** (claude-sonnet-4-5-20250929) - Balanced performance for daily development
|
|
481
|
+
- Use case: Code generation, testing, moderate complexity tasks
|
|
482
|
+
|
|
483
|
+
- **Claude Opus 4.5** (claude-opus-4-5-20251101) - Deep reasoning for complex challenges
|
|
484
|
+
- Use case: Architecture design, complex debugging, creative problem-solving
|
|
485
|
+
|
|
486
|
+
**Smart Model Selection:** CCB automatically selects the appropriate model based on task complexity, optimizing for both quality and cost.
|
|
487
|
+
|
|
488
|
+
### MCP Specification Compliance
|
|
489
|
+
|
|
490
|
+
✅ **Full compliance with MCP Specification 2025-11-25**
|
|
491
|
+
|
|
492
|
+
All MCP tools include:
|
|
493
|
+
- **Tool Annotations**: `readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`
|
|
494
|
+
- **Output Schemas**: Structured JSON schemas for type-safe responses
|
|
495
|
+
- **Runtime Validation**: Automatic validation of tool inputs and outputs
|
|
496
|
+
|
|
497
|
+
**7 MCP Tools Available:**
|
|
498
|
+
1. `buddy-do` - Smart task execution with capability routing
|
|
499
|
+
2. `buddy-remember` - Project memory recall
|
|
500
|
+
3. `buddy-help` - Command documentation
|
|
501
|
+
4. `get-session-health` - Session monitoring and diagnostics
|
|
502
|
+
5. `get-workflow-guidance` - Intelligent workflow recommendations
|
|
503
|
+
6. `generate-smart-plan` - Implementation plan generation
|
|
504
|
+
7. `hook-tool-use` - Tool usage event tracking
|
|
505
|
+
|
|
506
|
+
See [src/mcp/ToolDefinitions.ts](src/mcp/ToolDefinitions.ts) for complete tool specifications.
|
|
507
|
+
|
|
508
|
+
---
|
|
509
|
+
|
|
510
|
+
## Community & Support
|
|
511
|
+
|
|
512
|
+
- **Documentation**: [docs/](docs/) folder + this README
|
|
513
|
+
- **Issues**: [GitHub Issues](https://github.com/PCIRCLE-AI/claude-code-buddy/issues)
|
|
514
|
+
- **Discussions**: [GitHub Discussions](https://github.com/PCIRCLE-AI/claude-code-buddy/discussions)
|
|
515
|
+
- **Contributing**: [CONTRIBUTING.md](docs/CONTRIBUTING.md)
|
|
516
|
+
|
|
517
|
+
**Questions?** Open an issue or start a discussion - we're here to help.
|
|
518
|
+
|
|
519
|
+
---
|
|
520
|
+
|
|
521
|
+
## Development
|
|
522
|
+
|
|
523
|
+
```bash
|
|
524
|
+
# Run tests (292 test files covering core functionality)
|
|
525
|
+
npm test
|
|
526
|
+
|
|
527
|
+
# Development mode with auto-reload
|
|
528
|
+
npm run dev
|
|
529
|
+
|
|
530
|
+
# Build for production
|
|
531
|
+
npm run build
|
|
532
|
+
|
|
533
|
+
# View performance dashboard
|
|
534
|
+
npm run dashboard
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
**Contributing:** We welcome contributions! See [CONTRIBUTING.md](docs/CONTRIBUTING.md) for guidelines.
|
|
538
|
+
|
|
539
|
+
**Project Structure:** See [docs/README.md](docs/README.md) for a documentation map.
|
|
540
|
+
|
|
541
|
+
---
|
|
542
|
+
|
|
543
|
+
## FAQ
|
|
544
|
+
|
|
545
|
+
**Q: Do I need to be a developer to use this?**
|
|
546
|
+
A: If you can use Claude Code, you can use CCB. It's designed to make Claude easier, not harder.
|
|
547
|
+
|
|
548
|
+
**Q: Does this cost extra on top of Claude Code?**
|
|
549
|
+
A: No - CCB uses your existing Claude Code subscription. It helps optimize token usage within your session limits, not API costs.
|
|
550
|
+
|
|
551
|
+
**Q: How is this different from just using Claude Code?**
|
|
552
|
+
A: Claude Code treats every task the same. CCB adds task-specific expertise, memory, and learning.
|
|
553
|
+
|
|
554
|
+
**Q: Is my code private?**
|
|
555
|
+
A: Yes. Everything runs locally through your Claude Code subscription. CCB does not require external AI services.
|
|
556
|
+
|
|
557
|
+
**Q: What if I don't like it?**
|
|
558
|
+
A: Remove it from your MCP config. No lock-in, no vendor dependency.
|
|
559
|
+
|
|
560
|
+
**Q: How much does it cost?**
|
|
561
|
+
A: CCB is free and open-source (AGPL-3.0). It works with your existing Claude Code subscription.
|
|
562
|
+
|
|
563
|
+
**Q: Can I customize routing behavior?**
|
|
564
|
+
A: Absolutely! Prompt templates are in `src/core/PromptEnhancer.ts`. Evolution config in `src/evolution/AgentEvolutionConfig.ts`.
|
|
565
|
+
|
|
566
|
+
---
|
|
567
|
+
|
|
568
|
+
## License
|
|
569
|
+
|
|
570
|
+
**AGPL-3.0 License** - see [LICENSE](LICENSE) file for details.
|
|
571
|
+
|
|
572
|
+
This is free and open-source software. If you modify and deploy this as a network service, you must make the source code available to users.
|
|
573
|
+
|
|
574
|
+
---
|
|
575
|
+
|
|
576
|
+
## Acknowledgments
|
|
577
|
+
|
|
578
|
+
- Built with [Model Context Protocol (MCP)](https://github.com/anthropics/mcp)
|
|
579
|
+
- Works with [Claude Code](https://claude.com/claude-code)
|
|
580
|
+
- Inspired by the Claude Code community
|
|
581
|
+
- Thanks to all contributors and early testers
|
|
582
|
+
|
|
583
|
+
**Disclaimer:** This is an independent open-source project and is not affiliated with, endorsed by, or officially connected to Anthropic PBC or its products (including Claude and Claude Code). Claude Code Buddy is a third-party tool designed to integrate with Claude Code.
|
|
584
|
+
|
|
585
|
+
---
|
|
586
|
+
|
|
587
|
+
<div align="center">
|
|
588
|
+
|
|
589
|
+
**Built with ❤️ by developers, for developers.**
|
|
590
|
+
|
|
591
|
+
**Make Claude Code smarter, not louder.**
|
|
592
|
+
|
|
593
|
+
[Get Started](#quick-start-2-minutes) • [Documentation](docs/) • [Report Issue](https://github.com/PCIRCLE-AI/claude-code-buddy/issues) • [Join Discussion](https://github.com/PCIRCLE-AI/claude-code-buddy/discussions)
|
|
594
|
+
|
|
595
|
+
---
|
|
596
|
+
|
|
597
|
+
⭐ **Star this repo if CCB makes your development life easier!**
|
|
598
|
+
|
|
599
|
+
</div>
|