@pcircle/claude-code-buddy-mcp 2.5.2 → 2.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/README.md +297 -432
- package/README.zh-TW.md +229 -407
- package/dist/a2a/client/A2AClient.d.ts +17 -0
- package/dist/a2a/client/A2AClient.d.ts.map +1 -0
- package/dist/a2a/client/A2AClient.js +124 -0
- package/dist/a2a/client/A2AClient.js.map +1 -0
- package/dist/a2a/client/index.d.ts +2 -0
- package/dist/a2a/client/index.d.ts.map +1 -0
- package/dist/a2a/client/index.js +2 -0
- package/dist/a2a/client/index.js.map +1 -0
- package/dist/a2a/executor/TaskExecutor.d.ts +9 -0
- package/dist/a2a/executor/TaskExecutor.d.ts.map +1 -0
- package/dist/a2a/executor/TaskExecutor.js +54 -0
- package/dist/a2a/executor/TaskExecutor.js.map +1 -0
- package/dist/a2a/executor/index.d.ts +2 -0
- package/dist/a2a/executor/index.d.ts.map +1 -0
- package/dist/a2a/executor/index.js +2 -0
- package/dist/a2a/executor/index.js.map +1 -0
- package/dist/a2a/server/A2AServer.d.ts +32 -0
- package/dist/a2a/server/A2AServer.d.ts.map +1 -0
- package/dist/a2a/server/A2AServer.js +120 -0
- package/dist/a2a/server/A2AServer.js.map +1 -0
- package/dist/a2a/server/index.d.ts +4 -0
- package/dist/a2a/server/index.d.ts.map +1 -0
- package/dist/a2a/server/index.js +4 -0
- package/dist/a2a/server/index.js.map +1 -0
- package/dist/a2a/server/middleware.d.ts +6 -0
- package/dist/a2a/server/middleware.d.ts.map +1 -0
- package/dist/a2a/server/middleware.js +69 -0
- package/dist/a2a/server/middleware.js.map +1 -0
- package/dist/a2a/server/routes.d.ts +15 -0
- package/dist/a2a/server/routes.d.ts.map +1 -0
- package/dist/a2a/server/routes.js +159 -0
- package/dist/a2a/server/routes.js.map +1 -0
- package/dist/a2a/storage/AgentRegistry.d.ts +19 -0
- package/dist/a2a/storage/AgentRegistry.d.ts.map +1 -0
- package/dist/a2a/storage/AgentRegistry.js +140 -0
- package/dist/a2a/storage/AgentRegistry.js.map +1 -0
- package/dist/a2a/storage/TaskQueue.d.ts +24 -0
- package/dist/a2a/storage/TaskQueue.d.ts.map +1 -0
- package/dist/a2a/storage/TaskQueue.js +277 -0
- package/dist/a2a/storage/TaskQueue.js.map +1 -0
- package/dist/a2a/storage/index.d.ts +3 -0
- package/dist/a2a/storage/index.d.ts.map +1 -0
- package/dist/a2a/storage/index.js +3 -0
- package/dist/a2a/storage/index.js.map +1 -0
- package/dist/a2a/storage/registry-schemas.sql +20 -0
- package/dist/a2a/storage/schemas.sql +54 -0
- package/dist/a2a/types/agent-card.d.ts +59 -0
- package/dist/a2a/types/agent-card.d.ts.map +1 -0
- package/dist/a2a/types/agent-card.js +2 -0
- package/dist/a2a/types/agent-card.js.map +1 -0
- package/dist/a2a/types/index.d.ts +5 -0
- package/dist/a2a/types/index.d.ts.map +1 -0
- package/dist/a2a/types/index.js +2 -0
- package/dist/a2a/types/index.js.map +1 -0
- package/dist/a2a/types/message.d.ts +16 -0
- package/dist/a2a/types/message.d.ts.map +1 -0
- package/dist/a2a/types/message.js +2 -0
- package/dist/a2a/types/message.js.map +1 -0
- package/dist/a2a/types/protocol.d.ts +60 -0
- package/dist/a2a/types/protocol.d.ts.map +1 -0
- package/dist/a2a/types/protocol.js +2 -0
- package/dist/a2a/types/protocol.js.map +1 -0
- package/dist/a2a/types/task.d.ts +73 -0
- package/dist/a2a/types/task.d.ts.map +1 -0
- package/dist/a2a/types/task.js +2 -0
- package/dist/a2a/types/task.js.map +1 -0
- package/dist/agents/DevelopmentButler.d.ts +11 -2
- package/dist/agents/DevelopmentButler.d.ts.map +1 -1
- package/dist/agents/DevelopmentButler.js +264 -143
- package/dist/agents/DevelopmentButler.js.map +1 -1
- package/dist/agents/E2EHealingAgent.d.ts +0 -1
- package/dist/agents/E2EHealingAgent.d.ts.map +1 -1
- package/dist/agents/E2EHealingAgent.js +0 -14
- package/dist/agents/E2EHealingAgent.js.map +1 -1
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.d.ts +1 -1
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.d.ts.map +1 -1
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.js +1 -1
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.js.map +1 -1
- package/dist/agents/e2e-healing/safety/RollbackManager.d.ts.map +1 -1
- package/dist/agents/e2e-healing/safety/RollbackManager.js.map +1 -1
- package/dist/agents/e2e-healing/safety/ScopeLimiter.d.ts +1 -1
- package/dist/agents/e2e-healing/safety/ScopeLimiter.d.ts.map +1 -1
- package/dist/agents/e2e-healing/safety/ScopeLimiter.js +1 -1
- package/dist/agents/e2e-healing/safety/ScopeLimiter.js.map +1 -1
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.d.ts.map +1 -1
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.js.map +1 -1
- package/dist/core/BackgroundExecutor.js +1 -1
- package/dist/core/BackgroundExecutor.js.map +1 -1
- package/dist/core/ClaudeMdRuleExtractor.d.ts +16 -0
- package/dist/core/ClaudeMdRuleExtractor.d.ts.map +1 -0
- package/dist/core/ClaudeMdRuleExtractor.js +236 -0
- package/dist/core/ClaudeMdRuleExtractor.js.map +1 -0
- package/dist/core/HealthCheck.d.ts +1 -1
- package/dist/core/HealthCheck.d.ts.map +1 -1
- package/dist/core/HealthCheck.js +1 -1
- package/dist/core/HealthCheck.js.map +1 -1
- package/dist/core/HookIntegration.d.ts +5 -1
- package/dist/core/HookIntegration.d.ts.map +1 -1
- package/dist/core/HookIntegration.js +35 -2
- package/dist/core/HookIntegration.js.map +1 -1
- package/dist/core/MistakePatternManager.d.ts +31 -0
- package/dist/core/MistakePatternManager.d.ts.map +1 -0
- package/dist/core/MistakePatternManager.js +111 -0
- package/dist/core/MistakePatternManager.js.map +1 -0
- package/dist/core/PromptEnhancer.d.ts.map +1 -1
- package/dist/core/PromptEnhancer.js.map +1 -1
- package/dist/core/SessionContextMonitor.d.ts.map +1 -1
- package/dist/core/SessionContextMonitor.js.map +1 -1
- package/dist/core/SkillsKnowledgeIntegrator.d.ts +28 -0
- package/dist/core/SkillsKnowledgeIntegrator.d.ts.map +1 -0
- package/dist/core/SkillsKnowledgeIntegrator.js +149 -0
- package/dist/core/SkillsKnowledgeIntegrator.js.map +1 -0
- package/dist/core/WorkflowEnforcementEngine.d.ts +46 -0
- package/dist/core/WorkflowEnforcementEngine.d.ts.map +1 -0
- package/dist/core/WorkflowEnforcementEngine.js +277 -0
- package/dist/core/WorkflowEnforcementEngine.js.map +1 -0
- package/dist/core/WorkflowGuidanceEngine.d.ts +9 -2
- package/dist/core/WorkflowGuidanceEngine.d.ts.map +1 -1
- package/dist/core/WorkflowGuidanceEngine.js +39 -2
- package/dist/core/WorkflowGuidanceEngine.js.map +1 -1
- package/dist/evolution/ABTestManager.js +1 -1
- package/dist/evolution/ABTestManager.js.map +1 -1
- package/dist/evolution/AgentEvolutionConfig.d.ts.map +1 -1
- package/dist/evolution/AgentEvolutionConfig.js +0 -18
- package/dist/evolution/AgentEvolutionConfig.js.map +1 -1
- package/dist/evolution/CloudEvolutionClient.d.ts +5 -5
- package/dist/evolution/CloudEvolutionClient.d.ts.map +1 -1
- package/dist/evolution/CloudEvolutionClient.js +6 -6
- package/dist/evolution/CloudEvolutionClient.js.map +1 -1
- package/dist/evolution/EvolutionBootstrap.js +1 -1
- package/dist/evolution/EvolutionBootstrap.js.map +1 -1
- package/dist/evolution/EvolutionMonitor.d.ts +3 -104
- package/dist/evolution/EvolutionMonitor.d.ts.map +1 -1
- package/dist/evolution/EvolutionMonitor.js +6 -529
- package/dist/evolution/EvolutionMonitor.js.map +1 -1
- package/dist/evolution/FeedbackCollector.d.ts +2 -39
- package/dist/evolution/FeedbackCollector.d.ts.map +1 -1
- package/dist/evolution/FeedbackCollector.js +1 -205
- package/dist/evolution/FeedbackCollector.js.map +1 -1
- package/dist/evolution/KnowledgeTransferManager.d.ts.map +1 -1
- package/dist/evolution/KnowledgeTransferManager.js +21 -5
- package/dist/evolution/KnowledgeTransferManager.js.map +1 -1
- package/dist/evolution/LearningManager.d.ts +3 -64
- package/dist/evolution/LearningManager.d.ts.map +1 -1
- package/dist/evolution/LearningManager.js +36 -547
- package/dist/evolution/LearningManager.js.map +1 -1
- package/dist/evolution/PerformanceTracker.d.ts +1 -15
- package/dist/evolution/PerformanceTracker.d.ts.map +1 -1
- package/dist/evolution/PerformanceTracker.js +1 -173
- package/dist/evolution/PerformanceTracker.js.map +1 -1
- package/dist/evolution/index.d.ts +4 -12
- package/dist/evolution/index.d.ts.map +1 -1
- package/dist/evolution/index.js +2 -9
- package/dist/evolution/index.js.map +1 -1
- package/dist/evolution/instrumentation/withEvolutionTracking.d.ts.map +1 -1
- package/dist/evolution/instrumentation/withEvolutionTracking.js +1 -2
- package/dist/evolution/instrumentation/withEvolutionTracking.js.map +1 -1
- package/dist/evolution/links/LinkManager.d.ts.map +1 -1
- package/dist/evolution/links/LinkManager.js.map +1 -1
- package/dist/evolution/storage/SQLiteStore.d.ts +1 -1
- package/dist/evolution/storage/SQLiteStore.d.ts.map +1 -1
- package/dist/evolution/storage/SQLiteStore.js +5 -2
- package/dist/evolution/storage/SQLiteStore.js.map +1 -1
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.d.ts +3 -3
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.d.ts.map +1 -1
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.js +3 -3
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.js.map +1 -1
- package/dist/evolution/storage/migrations/MigrationManager.js +1 -1
- package/dist/evolution/storage/migrations/MigrationManager.js.map +1 -1
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.d.ts.map +1 -1
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.js.map +1 -1
- package/dist/evolution/storage/repositories/SpanRepository.d.ts.map +1 -1
- package/dist/i18n/index.d.ts +9 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +78 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.d.ts.map +1 -0
- package/dist/i18n/locales/en.js +39 -0
- package/dist/i18n/locales/en.js.map +1 -0
- package/dist/i18n/locales/index.d.ts +5 -0
- package/dist/i18n/locales/index.d.ts.map +1 -0
- package/dist/i18n/locales/index.js +5 -0
- package/dist/i18n/locales/index.js.map +1 -0
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -0
- package/dist/i18n/locales/ja.js +37 -0
- package/dist/i18n/locales/ja.js.map +1 -0
- package/dist/i18n/locales/zh-CN.d.ts +3 -0
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -0
- package/dist/i18n/locales/zh-CN.js +37 -0
- package/dist/i18n/locales/zh-CN.js.map +1 -0
- package/dist/i18n/locales/zh-TW.d.ts +3 -0
- package/dist/i18n/locales/zh-TW.d.ts.map +1 -0
- package/dist/i18n/locales/zh-TW.js +37 -0
- package/dist/i18n/locales/zh-TW.js.map +1 -0
- package/dist/i18n/types.d.ts +11 -0
- package/dist/i18n/types.d.ts.map +1 -0
- package/dist/i18n/types.js +3 -0
- package/dist/i18n/types.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +77 -1
- package/dist/index.js.map +1 -1
- package/dist/knowledge-graph/index.d.ts +0 -1
- package/dist/knowledge-graph/index.d.ts.map +1 -1
- package/dist/knowledge-graph/index.js +2 -5
- package/dist/knowledge-graph/index.js.map +1 -1
- package/dist/knowledge-graph/types.d.ts +1 -1
- package/dist/knowledge-graph/types.d.ts.map +1 -1
- package/dist/mcp/ProgressReporter.d.ts +14 -0
- package/dist/mcp/ProgressReporter.d.ts.map +1 -0
- package/dist/mcp/ProgressReporter.js +22 -0
- package/dist/mcp/ProgressReporter.js.map +1 -0
- package/dist/mcp/SamplingClient.d.ts +32 -0
- package/dist/mcp/SamplingClient.d.ts.map +1 -0
- package/dist/mcp/SamplingClient.js +63 -0
- package/dist/mcp/SamplingClient.js.map +1 -0
- package/dist/mcp/ServerInitializer.d.ts +6 -3
- package/dist/mcp/ServerInitializer.d.ts.map +1 -1
- package/dist/mcp/ServerInitializer.js +18 -11
- package/dist/mcp/ServerInitializer.js.map +1 -1
- package/dist/mcp/ToolDefinitions.d.ts +1 -0
- package/dist/mcp/ToolDefinitions.d.ts.map +1 -1
- package/dist/mcp/ToolDefinitions.js +355 -47
- package/dist/mcp/ToolDefinitions.js.map +1 -1
- package/dist/mcp/ToolRouter.d.ts +6 -1
- package/dist/mcp/ToolRouter.d.ts.map +1 -1
- package/dist/mcp/ToolRouter.js +60 -3
- package/dist/mcp/ToolRouter.js.map +1 -1
- package/dist/mcp/handlers/A2AToolHandlers.d.ts +17 -0
- package/dist/mcp/handlers/A2AToolHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/A2AToolHandlers.js +201 -0
- package/dist/mcp/handlers/A2AToolHandlers.js.map +1 -0
- package/dist/mcp/handlers/BuddyHandlers.d.ts +3 -1
- package/dist/mcp/handlers/BuddyHandlers.d.ts.map +1 -1
- package/dist/mcp/handlers/BuddyHandlers.js +4 -2
- package/dist/mcp/handlers/BuddyHandlers.js.map +1 -1
- package/dist/mcp/handlers/BuddyRecordMistake.d.ts +4 -2
- package/dist/mcp/handlers/BuddyRecordMistake.d.ts.map +1 -1
- package/dist/mcp/handlers/BuddyRecordMistake.js +111 -29
- package/dist/mcp/handlers/BuddyRecordMistake.js.map +1 -1
- package/dist/mcp/handlers/ResourceHandlers.d.ts.map +1 -1
- package/dist/mcp/handlers/ResourceHandlers.js +51 -4
- package/dist/mcp/handlers/ResourceHandlers.js.map +1 -1
- package/dist/mcp/handlers/SecretHandlers.d.ts +23 -0
- package/dist/mcp/handlers/SecretHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/SecretHandlers.js +277 -0
- package/dist/mcp/handlers/SecretHandlers.js.map +1 -0
- package/dist/mcp/handlers/ToolHandlers.d.ts +8 -4
- package/dist/mcp/handlers/ToolHandlers.d.ts.map +1 -1
- package/dist/mcp/handlers/ToolHandlers.js +68 -101
- package/dist/mcp/handlers/ToolHandlers.js.map +1 -1
- package/dist/mcp/handlers/index.d.ts +2 -0
- package/dist/mcp/handlers/index.d.ts.map +1 -1
- package/dist/mcp/handlers/index.js +2 -0
- package/dist/mcp/handlers/index.js.map +1 -1
- package/dist/mcp/resources/ResourceRegistry.d.ts +23 -0
- package/dist/mcp/resources/ResourceRegistry.d.ts.map +1 -0
- package/dist/mcp/resources/ResourceRegistry.js +26 -0
- package/dist/mcp/resources/ResourceRegistry.js.map +1 -0
- package/dist/mcp/resources/URITemplateHandler.d.ts +8 -0
- package/dist/mcp/resources/URITemplateHandler.d.ts.map +1 -0
- package/dist/mcp/resources/URITemplateHandler.js +29 -0
- package/dist/mcp/resources/URITemplateHandler.js.map +1 -0
- package/dist/mcp/resources/buddy-do-skill.md +85 -0
- package/dist/mcp/resources/ccb-complete-guide.md +382 -0
- package/dist/mcp/resources/handlers/AgentStatusHandler.d.ts +7 -0
- package/dist/mcp/resources/handlers/AgentStatusHandler.d.ts.map +1 -0
- package/dist/mcp/resources/handlers/AgentStatusHandler.js +41 -0
- package/dist/mcp/resources/handlers/AgentStatusHandler.js.map +1 -0
- package/dist/mcp/resources/handlers/TaskLogsHandler.d.ts +7 -0
- package/dist/mcp/resources/handlers/TaskLogsHandler.d.ts.map +1 -0
- package/dist/mcp/resources/handlers/TaskLogsHandler.js +36 -0
- package/dist/mcp/resources/handlers/TaskLogsHandler.js.map +1 -0
- package/dist/mcp/schemas/OutputSchemas.d.ts +331 -3
- package/dist/mcp/schemas/OutputSchemas.d.ts.map +1 -1
- package/dist/mcp/schemas/OutputSchemas.js +166 -3
- package/dist/mcp/schemas/OutputSchemas.js.map +1 -1
- package/dist/mcp/server-bootstrap.d.ts +3 -0
- package/dist/mcp/server-bootstrap.d.ts.map +1 -1
- package/dist/mcp/server-bootstrap.js +65 -2
- package/dist/mcp/server-bootstrap.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +6 -5
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools/buddy-do.d.ts +2 -1
- package/dist/mcp/tools/buddy-do.d.ts.map +1 -1
- package/dist/mcp/tools/buddy-do.js +26 -1
- package/dist/mcp/tools/buddy-do.js.map +1 -1
- package/dist/mcp/tools/create-entities.d.ts +8 -0
- package/dist/mcp/tools/create-entities.d.ts.map +1 -1
- package/dist/mcp/tools/create-entities.js +11 -0
- package/dist/mcp/tools/create-entities.js.map +1 -1
- package/dist/mcp/tools/generate-tests.d.ts +11 -0
- package/dist/mcp/tools/generate-tests.d.ts.map +1 -0
- package/dist/mcp/tools/generate-tests.js +19 -0
- package/dist/mcp/tools/generate-tests.js.map +1 -0
- package/dist/mcp/validation.d.ts +45 -0
- package/dist/mcp/validation.d.ts.map +1 -1
- package/dist/mcp/validation.js +34 -0
- package/dist/mcp/validation.js.map +1 -1
- package/dist/memory/BuiltInRules.d.ts +54 -0
- package/dist/memory/BuiltInRules.d.ts.map +1 -0
- package/dist/memory/BuiltInRules.js +161 -0
- package/dist/memory/BuiltInRules.js.map +1 -0
- package/dist/memory/EnhancedRetrieval.d.ts +22 -0
- package/dist/memory/EnhancedRetrieval.d.ts.map +1 -0
- package/dist/memory/EnhancedRetrieval.js +63 -0
- package/dist/memory/EnhancedRetrieval.js.map +1 -0
- package/dist/memory/EntityTypes.d.ts +14 -0
- package/dist/memory/EntityTypes.d.ts.map +1 -0
- package/dist/memory/EntityTypes.js +19 -0
- package/dist/memory/EntityTypes.js.map +1 -0
- package/dist/memory/MistakePatternEngine.d.ts +15 -0
- package/dist/memory/MistakePatternEngine.d.ts.map +1 -0
- package/dist/memory/MistakePatternEngine.js +99 -0
- package/dist/memory/MistakePatternEngine.js.map +1 -0
- package/dist/memory/PreventionHook.d.ts +28 -0
- package/dist/memory/PreventionHook.d.ts.map +1 -0
- package/dist/memory/PreventionHook.js +21 -0
- package/dist/memory/PreventionHook.js.map +1 -0
- package/dist/memory/ProjectAutoTracker.d.ts +31 -0
- package/dist/memory/ProjectAutoTracker.d.ts.map +1 -1
- package/dist/memory/ProjectAutoTracker.js +107 -5
- package/dist/memory/ProjectAutoTracker.js.map +1 -1
- package/dist/memory/ProjectMemoryManager.d.ts.map +1 -1
- package/dist/memory/ProjectMemoryManager.js.map +1 -1
- package/dist/memory/SecretManager.d.ts +41 -0
- package/dist/memory/SecretManager.d.ts.map +1 -0
- package/dist/memory/SecretManager.js +313 -0
- package/dist/memory/SecretManager.js.map +1 -0
- package/dist/memory/UnifiedMemoryStore.d.ts +25 -0
- package/dist/memory/UnifiedMemoryStore.d.ts.map +1 -0
- package/dist/memory/UnifiedMemoryStore.js +414 -0
- package/dist/memory/UnifiedMemoryStore.js.map +1 -0
- package/dist/memory/UserPreferenceEngine.d.ts +18 -0
- package/dist/memory/UserPreferenceEngine.d.ts.map +1 -0
- package/dist/memory/UserPreferenceEngine.js +116 -0
- package/dist/memory/UserPreferenceEngine.js.map +1 -0
- package/dist/memory/config/semantic-groups.d.ts +9 -0
- package/dist/memory/config/semantic-groups.d.ts.map +1 -0
- package/dist/memory/config/semantic-groups.js +22 -0
- package/dist/memory/config/semantic-groups.js.map +1 -0
- package/dist/memory/index.d.ts +16 -0
- package/dist/memory/index.d.ts.map +1 -0
- package/dist/memory/index.js +12 -0
- package/dist/memory/index.js.map +1 -0
- package/dist/memory/types/index.d.ts +9 -0
- package/dist/memory/types/index.d.ts.map +1 -0
- package/dist/memory/types/index.js +5 -0
- package/dist/memory/types/index.js.map +1 -0
- package/dist/memory/types/memory-scope.d.ts +27 -0
- package/dist/memory/types/memory-scope.d.ts.map +1 -0
- package/dist/memory/types/memory-scope.js +67 -0
- package/dist/memory/types/memory-scope.js.map +1 -0
- package/dist/memory/types/pattern-types.d.ts +66 -0
- package/dist/memory/types/pattern-types.d.ts.map +1 -0
- package/dist/memory/types/pattern-types.js +2 -0
- package/dist/memory/types/pattern-types.js.map +1 -0
- package/dist/memory/types/preference-types.d.ts +28 -0
- package/dist/memory/types/preference-types.d.ts.map +1 -0
- package/dist/memory/types/preference-types.js +2 -0
- package/dist/memory/types/preference-types.js.map +1 -0
- package/dist/memory/types/secret-types.d.ts +43 -0
- package/dist/memory/types/secret-types.d.ts.map +1 -0
- package/dist/memory/types/secret-types.js +51 -0
- package/dist/memory/types/secret-types.js.map +1 -0
- package/dist/memory/types/unified-memory.d.ts +27 -0
- package/dist/memory/types/unified-memory.d.ts.map +1 -0
- package/dist/memory/types/unified-memory.js +19 -0
- package/dist/memory/types/unified-memory.js.map +1 -0
- package/dist/orchestrator/index.d.ts.map +1 -1
- package/dist/orchestrator/index.js +7 -1
- package/dist/orchestrator/index.js.map +1 -1
- package/dist/orchestrator/router.d.ts +0 -5
- package/dist/orchestrator/router.d.ts.map +1 -1
- package/dist/orchestrator/router.js +1 -32
- package/dist/orchestrator/router.js.map +1 -1
- package/dist/telemetry/index.d.ts +5 -5
- package/dist/telemetry/index.d.ts.map +1 -1
- package/dist/telemetry/index.js +5 -5
- package/dist/telemetry/index.js.map +1 -1
- package/dist/tools/TestGenerator.d.ts +8 -0
- package/dist/tools/TestGenerator.d.ts.map +1 -0
- package/dist/tools/TestGenerator.js +54 -0
- package/dist/tools/TestGenerator.js.map +1 -0
- package/dist/ui/MetricsStore.js +1 -1
- package/dist/ui/MetricsStore.js.map +1 -1
- package/package.json +8 -6
- package/dist/evolution/AdaptationEngine.d.ts +0 -60
- package/dist/evolution/AdaptationEngine.d.ts.map +0 -1
- package/dist/evolution/AdaptationEngine.js +0 -313
- package/dist/evolution/AdaptationEngine.js.map +0 -1
- package/dist/evolution/storage/SQLiteStore.enhanced.d.ts +0 -35
- package/dist/evolution/storage/SQLiteStore.enhanced.d.ts.map +0 -1
- package/dist/evolution/storage/SQLiteStore.enhanced.js +0 -514
- package/dist/evolution/storage/SQLiteStore.enhanced.js.map +0 -1
- package/dist/planning/PlanningEngine.d.ts +0 -52
- package/dist/planning/PlanningEngine.d.ts.map +0 -1
- package/dist/planning/PlanningEngine.js +0 -271
- package/dist/planning/PlanningEngine.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,292 +1,197 @@
|
|
|
1
|
-
|
|
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.
|
|
1
|
+
<div align="center">
|
|
10
2
|
|
|
11
|
-
|
|
3
|
+
# 🧠 Claude Code Buddy (CCB)
|
|
12
4
|
|
|
13
|
-
|
|
5
|
+
### **The Only MCP Server That Remembers**
|
|
14
6
|
|
|
15
|
-
|
|
7
|
+
**Make Claude Code remember everything. Build faster. Vibe harder.**
|
|
16
8
|
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
9
|
+
[](https://github.com/PCIRCLE-AI/claude-code-buddy)
|
|
10
|
+
[](https://www.npmjs.com/package/@pcircle/claude-code-buddy-mcp)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
[](https://modelcontextprotocol.io)
|
|
21
13
|
|
|
22
|
-
|
|
14
|
+
[🚀 Quick Start](#-2-minute-quick-start) • [📖 Docs](docs/) • [🌐 Website](https://ccb.pcircle.ai) • [💬 Discussions](https://github.com/PCIRCLE-AI/claude-code-buddy/discussions)
|
|
23
15
|
|
|
24
16
|
---
|
|
25
17
|
|
|
26
|
-
|
|
18
|
+
### 🎥 **See It In Action** (Interactive Demo)
|
|
27
19
|
|
|
28
|
-
|
|
20
|
+
<table>
|
|
21
|
+
<tr>
|
|
22
|
+
<td width="50%" valign="top">
|
|
29
23
|
|
|
30
|
-
|
|
24
|
+
#### 🔴 **Without CCB**
|
|
31
25
|
|
|
32
|
-
|
|
26
|
+
```bash
|
|
27
|
+
# Session 1 (Monday)
|
|
28
|
+
You: "We use JWT for auth because..."
|
|
29
|
+
Claude: "Got it! ✅"
|
|
33
30
|
|
|
34
|
-
|
|
31
|
+
# Session 2 (Tuesday)
|
|
32
|
+
You: "Remember our auth approach?"
|
|
33
|
+
Claude: "Sorry, I don't have context..."
|
|
34
|
+
You: *explains everything again* 😤
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
# Session 3 (Wednesday)
|
|
37
|
+
You: "Our JWT implementation..."
|
|
38
|
+
Claude: "What JWT implementation?"
|
|
39
|
+
You: *RAGE QUITS* 💢
|
|
40
|
+
```
|
|
37
41
|
|
|
38
|
-
|
|
42
|
+
</td>
|
|
43
|
+
<td width="50%" valign="top">
|
|
39
44
|
|
|
40
|
-
|
|
45
|
+
#### ✅ **With CCB**
|
|
41
46
|
|
|
42
|
-
|
|
47
|
+
```bash
|
|
48
|
+
# Session 1 (Monday)
|
|
49
|
+
You: buddy-do "setup JWT auth"
|
|
50
|
+
CCB: ✅ Implemented + Saved to memory
|
|
43
51
|
|
|
44
|
-
|
|
52
|
+
# Session 2 (Tuesday)
|
|
53
|
+
You: buddy-remember "auth"
|
|
54
|
+
CCB: 📚 "JWT auth implemented on 2024-01-15
|
|
55
|
+
↳ Access tokens: 15min
|
|
56
|
+
↳ Refresh tokens: 7 days
|
|
57
|
+
↳ Secret rotation: monthly"
|
|
45
58
|
|
|
46
|
-
|
|
59
|
+
# Session 3 (Any day, forever)
|
|
60
|
+
You: buddy-do "add OAuth"
|
|
61
|
+
CCB: 🧠 "I see you have JWT. Let's
|
|
62
|
+
integrate OAuth alongside it..."
|
|
63
|
+
```
|
|
47
64
|
|
|
48
|
-
|
|
65
|
+
</td>
|
|
66
|
+
</tr>
|
|
67
|
+
</table>
|
|
49
68
|
|
|
50
|
-
|
|
51
|
-
Architectural decisions, conventions, and resolved discussions are stored as structured context.
|
|
69
|
+
<div align="center">
|
|
52
70
|
|
|
53
|
-
|
|
54
|
-
Repeated approvals, refactors, and preferred solutions gradually shape how future prompts are constructed.
|
|
71
|
+
**💡 Try it yourself:**
|
|
55
72
|
|
|
56
|
-
|
|
57
|
-
|
|
73
|
+
```bash
|
|
74
|
+
# In Claude Code/Cursor
|
|
75
|
+
buddy-help # See all commands
|
|
76
|
+
buddy-do "explain how CCB works" # Watch it intelligently respond
|
|
77
|
+
buddy-remember "project decisions" # Query your project memory
|
|
78
|
+
```
|
|
58
79
|
|
|
59
|
-
|
|
60
|
-
Relevant memory is selectively injected, avoiding prompt bloat while preserving continuity.
|
|
80
|
+
**📖 [Read User Guide](docs/USER_GUIDE.md)** • **🔧 [API Reference](docs/api/API_REFERENCE.md)**
|
|
61
81
|
|
|
62
|
-
|
|
63
|
-
• more aligned with your conventions
|
|
64
|
-
• more consistent across sessions
|
|
65
|
-
• less dependent on verbose prompts
|
|
82
|
+
</div>
|
|
66
83
|
|
|
67
|
-
|
|
84
|
+
</div>
|
|
68
85
|
|
|
69
86
|
---
|
|
70
87
|
|
|
71
|
-
##
|
|
88
|
+
## 🤔 The Problem
|
|
72
89
|
|
|
73
|
-
|
|
90
|
+
You know this pain:
|
|
74
91
|
|
|
75
92
|
```
|
|
76
|
-
|
|
77
|
-
|
|
93
|
+
Session 1: "Let me explain our architecture..."
|
|
94
|
+
Session 2: "As I mentioned before, our architecture..."
|
|
95
|
+
Session 3: "Like I said earlier, our architecture..."
|
|
96
|
+
Session 4: 😤
|
|
78
97
|
```
|
|
79
98
|
|
|
80
|
-
**
|
|
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.
|
|
99
|
+
**Every. Single. Session.**
|
|
94
100
|
|
|
95
101
|
---
|
|
96
102
|
|
|
97
|
-
##
|
|
98
|
-
|
|
99
|
-
After installation, CCB works **two ways**:
|
|
100
|
-
|
|
101
|
-
### 🔄 Automatic Mode (Just Talk Normally)
|
|
103
|
+
## ✨ The Solution
|
|
102
104
|
|
|
103
|
-
|
|
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
|
-
```
|
|
105
|
+
<table>
|
|
106
|
+
<tr>
|
|
107
|
+
<td width="50%" valign="top">
|
|
115
108
|
|
|
116
|
-
|
|
109
|
+
### ❌ **Before CCB**
|
|
117
110
|
|
|
118
|
-
|
|
111
|
+
- Re-explain architecture every session
|
|
112
|
+
- Answer same questions repeatedly
|
|
113
|
+
- Forget design decisions overnight
|
|
114
|
+
- Write similar prompts over and over
|
|
115
|
+
- Claude has amnesia 🤕
|
|
119
116
|
|
|
120
|
-
|
|
117
|
+
</td>
|
|
118
|
+
<td width="50%" valign="top">
|
|
121
119
|
|
|
122
|
-
|
|
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` |
|
|
120
|
+
### ✅ **After CCB**
|
|
127
121
|
|
|
128
|
-
|
|
122
|
+
- **Remembers** project architecture
|
|
123
|
+
- **Recalls** past decisions instantly
|
|
124
|
+
- **Organizes** knowledge automatically
|
|
125
|
+
- **Routes** tasks intelligently
|
|
126
|
+
- Claude becomes your AI teammate 🤝
|
|
129
127
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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
|
-
```
|
|
128
|
+
</td>
|
|
129
|
+
</tr>
|
|
130
|
+
</table>
|
|
156
131
|
|
|
157
132
|
---
|
|
158
133
|
|
|
159
|
-
##
|
|
160
|
-
|
|
161
|
-
### ✨ Automatic Expertise Routing
|
|
162
|
-
|
|
163
|
-
CCB routes requests to internal specialists based on capability signals. You describe intent, CCB handles routing.
|
|
134
|
+
## 🎯 Core Features
|
|
164
135
|
|
|
165
|
-
**
|
|
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
|
|
136
|
+
### 1. 🧠 **Project Memory That Actually Works**
|
|
174
137
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
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**
|
|
138
|
+
```bash
|
|
139
|
+
# Session 1 (Last week)
|
|
140
|
+
You: "We chose PostgreSQL for JSONB support"
|
|
185
141
|
|
|
142
|
+
# Session 42 (Today)
|
|
143
|
+
You: buddy-remember "why PostgreSQL?"
|
|
144
|
+
CCB: "Based on your decision from 2024-01-15: PostgreSQL was
|
|
145
|
+
chosen for JSONB support and advanced query capabilities..."
|
|
186
146
|
```
|
|
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
147
|
|
|
200
|
-
**
|
|
148
|
+
**Claude remembers. Forever.**
|
|
201
149
|
|
|
202
|
-
###
|
|
150
|
+
### 2. 🎯 **Smart Task Routing (Autopilot Mode)**
|
|
203
151
|
|
|
204
152
|
```bash
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
153
|
+
You: "Review this code"
|
|
154
|
+
CCB: *Detects task type*
|
|
155
|
+
*Activates code review mode*
|
|
156
|
+
*Applies best practices*
|
|
157
|
+
*Delivers structured review*
|
|
210
158
|
```
|
|
211
159
|
|
|
212
|
-
|
|
160
|
+
**No more "how should I do this?" Just do it.**
|
|
213
161
|
|
|
214
|
-
|
|
162
|
+
### 3. 💬 **Dead Simple Commands**
|
|
215
163
|
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
164
|
+
```bash
|
|
165
|
+
buddy-do "setup authentication" # Execute any dev task
|
|
166
|
+
buddy-remember "API design" # Query project memory
|
|
167
|
+
buddy-help # When stuck
|
|
220
168
|
```
|
|
221
169
|
|
|
222
|
-
**
|
|
170
|
+
**Three commands. Infinite possibilities.**
|
|
223
171
|
|
|
224
|
-
|
|
225
|
-
- `get-session-health` - Check session health status
|
|
172
|
+
---
|
|
226
173
|
|
|
227
|
-
|
|
174
|
+
## 🚀 2-Minute Quick Start
|
|
228
175
|
|
|
229
|
-
###
|
|
176
|
+
### Step 1: Install (Choose Your IDE)
|
|
230
177
|
|
|
231
|
-
|
|
178
|
+
<details>
|
|
179
|
+
<summary><strong>🎯 Cursor Users</strong> (Click to expand)</summary>
|
|
232
180
|
|
|
181
|
+
Just click this magic link:
|
|
233
182
|
```
|
|
234
|
-
|
|
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.5):**
|
|
265
|
-
```bash
|
|
266
|
-
npm audit
|
|
267
|
-
# Result: 0 vulnerabilities found ✅
|
|
183
|
+
cursor://anysphere.cursor-deeplink/mcp/install?name=@pcircle/claude-code-buddy-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBwY2lyY2xlL2NsYXVkZS1jb2RlLWJ1ZGR5LW1jcCJdfQ==
|
|
268
184
|
```
|
|
269
185
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
## Quick Start (2 Minutes)
|
|
186
|
+
**Done.** Restart Cursor and you're ready.
|
|
273
187
|
|
|
274
|
-
|
|
188
|
+
</details>
|
|
275
189
|
|
|
276
|
-
|
|
190
|
+
<details>
|
|
191
|
+
<summary><strong>⚡ Claude Code Users</strong> (Click to expand)</summary>
|
|
277
192
|
|
|
278
|
-
|
|
279
|
-
<img src="https://cursor.com/deeplink/mcp-install-dark.png" alt="Add to Cursor" />
|
|
280
|
-
</a>
|
|
193
|
+
Add this to `~/.claude/mcp_settings.json`:
|
|
281
194
|
|
|
282
|
-
**Click the button above or paste this link in your browser:**
|
|
283
|
-
```
|
|
284
|
-
cursor://anysphere.cursor-deeplink/mcp/install?name=@pcircle/claude-code-buddy-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBwY2lyY2xlL2NsYXVkZS1jb2RlLWJ1ZGR5LW1jcCJdfQ==
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
#### For VS Code / Claude Code Users
|
|
288
|
-
|
|
289
|
-
**Quick MCP Configuration** (add to `~/.claude/mcp_settings.json`):
|
|
290
195
|
```json
|
|
291
196
|
{
|
|
292
197
|
"mcpServers": {
|
|
@@ -298,329 +203,289 @@ cursor://anysphere.cursor-deeplink/mcp/install?name=@pcircle/claude-code-buddy-m
|
|
|
298
203
|
}
|
|
299
204
|
```
|
|
300
205
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
**📖 Detailed installation guide**: See [QUICK_INSTALL.md](docs/QUICK_INSTALL.md)
|
|
304
|
-
|
|
305
|
-
### 🔧 Process Management (Optional)
|
|
206
|
+
**Restart Claude Code** and you're golden.
|
|
306
207
|
|
|
307
|
-
|
|
208
|
+
</details>
|
|
308
209
|
|
|
309
|
-
|
|
310
|
-
- Debugging connection issues
|
|
311
|
-
- Cleaning up orphaned processes
|
|
210
|
+
### Step 2: Test It
|
|
312
211
|
|
|
313
|
-
**Quick Commands:**
|
|
314
212
|
```bash
|
|
315
|
-
#
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
# Check for orphaned processes
|
|
319
|
-
npm run processes:orphaned
|
|
213
|
+
# In Claude Code/Cursor, type:
|
|
214
|
+
buddy-help
|
|
320
215
|
|
|
321
|
-
#
|
|
322
|
-
|
|
216
|
+
# You should see CCB's command list
|
|
217
|
+
# Now try:
|
|
218
|
+
buddy-do "explain CCB features"
|
|
323
219
|
|
|
324
|
-
#
|
|
325
|
-
npm run processes:config
|
|
220
|
+
# Watch the magic happen ✨
|
|
326
221
|
```
|
|
327
222
|
|
|
328
|
-
|
|
223
|
+
**🎉 That's it! You're vibing now.**
|
|
329
224
|
|
|
330
|
-
|
|
225
|
+
📖 **Need help?** [Detailed installation guide](docs/QUICK_INSTALL.md) | [Troubleshooting](docs/TROUBLESHOOTING.md)
|
|
331
226
|
|
|
332
|
-
|
|
227
|
+
---
|
|
333
228
|
|
|
334
|
-
|
|
335
|
-
- Claude Code installed ([get it here](https://claude.com/claude-code)) or Cursor IDE
|
|
229
|
+
## 💡 Real-World Usage
|
|
336
230
|
|
|
337
|
-
###
|
|
231
|
+
### Scenario 1: **Building a New Feature**
|
|
338
232
|
|
|
339
233
|
```bash
|
|
340
|
-
|
|
341
|
-
git clone https://github.com/PCIRCLE-AI/claude-code-buddy.git
|
|
342
|
-
cd claude-code-buddy
|
|
234
|
+
You: buddy-do "create a real-time chat with WebSocket"
|
|
343
235
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
236
|
+
CCB analyzes your project...
|
|
237
|
+
🔍 Detected: React + Node.js + Express
|
|
238
|
+
🧠 Recalled: Your preference for TypeScript strict mode
|
|
239
|
+
📝 Applying: Error boundaries pattern from LoginPage.tsx
|
|
347
240
|
|
|
348
|
-
|
|
241
|
+
✅ Generated:
|
|
242
|
+
├─ server/chat.ts (WebSocket server)
|
|
243
|
+
├─ components/ChatWindow.tsx (React component)
|
|
244
|
+
└─ hooks/useWebSocket.ts (Custom hook)
|
|
349
245
|
|
|
350
|
-
|
|
246
|
+
💾 Saved to memory: "WebSocket chat architecture - 2024-01-20"
|
|
247
|
+
```
|
|
351
248
|
|
|
352
|
-
|
|
353
|
-
- ✓ Install dependencies
|
|
354
|
-
- ✓ Build the project
|
|
355
|
-
- ✓ Check system resources
|
|
356
|
-
- ✓ Configure environment
|
|
357
|
-
- ✓ Configure Claude Code MCP integration
|
|
358
|
-
- ✓ Test installation
|
|
249
|
+
### Scenario 2: **"Wait, Why Did We Do That?"**
|
|
359
250
|
|
|
360
|
-
|
|
251
|
+
```bash
|
|
252
|
+
You: buddy-remember "authentication approach"
|
|
361
253
|
|
|
362
|
-
|
|
363
|
-
- ✅ **Step 9: MCP Verification** - Confirm the MCP server is reachable
|
|
254
|
+
CCB searches knowledge graph...
|
|
364
255
|
|
|
365
|
-
|
|
256
|
+
📚 Found 3 related memories:
|
|
366
257
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
258
|
+
┌─ 2024-01-15: Initial Auth Decision
|
|
259
|
+
│ 💬 "JWT chosen over sessions for stateless API"
|
|
260
|
+
│ ⚡ Reasoning: Mobile app compatibility
|
|
261
|
+
│
|
|
262
|
+
├─ 2024-01-18: Token Expiry Implementation
|
|
263
|
+
│ 💻 Code: auth/middleware.ts:42-67
|
|
264
|
+
│ 🔧 Access: 15min | Refresh: 7 days
|
|
265
|
+
│
|
|
266
|
+
└─ 2024-01-22: Security Enhancement
|
|
267
|
+
🛡️ Added: Rate limiting + Token rotation
|
|
268
|
+
📝 Prevented: Token reuse vulnerability
|
|
376
269
|
```
|
|
377
270
|
|
|
378
|
-
###
|
|
379
|
-
|
|
380
|
-
Restart Claude Code, then try:
|
|
271
|
+
### Scenario 3: **Continuous Development Flow**
|
|
381
272
|
|
|
382
273
|
```
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
274
|
+
Day 1 │ You: "Implement user login"
|
|
275
|
+
│ CCB: ✅ Created + 💾 Remembered
|
|
276
|
+
│
|
|
277
|
+
Day 5 │ You: "Add password reset"
|
|
278
|
+
│ CCB: 🧠 "I see you use JWT tokens..."
|
|
279
|
+
│ ✅ Integrated seamlessly
|
|
280
|
+
│
|
|
281
|
+
Day 10│ You: "Add OAuth support"
|
|
282
|
+
│ CCB: 🧠 "Based on your JWT + password reset..."
|
|
283
|
+
│ ✅ Consistent with existing auth
|
|
284
|
+
│
|
|
285
|
+
Week 8│ You: "Why did we choose JWT again?"
|
|
286
|
+
│ CCB: 📚 *Instant recall from Day 1*
|
|
387
287
|
```
|
|
388
288
|
|
|
389
|
-
|
|
289
|
+
**No context re-explanation. Ever again.**
|
|
390
290
|
|
|
391
291
|
---
|
|
392
292
|
|
|
393
|
-
##
|
|
394
|
-
|
|
395
|
-
```
|
|
396
|
-
Your Request
|
|
397
|
-
↓
|
|
398
|
-
CCB analyzes the task
|
|
399
|
-
↓
|
|
400
|
-
Routes to best capability type (e.g., code review, debugging)
|
|
401
|
-
↓
|
|
402
|
-
Enhances prompt with specialized context
|
|
403
|
-
↓
|
|
404
|
-
Claude Code executes with your subscription
|
|
405
|
-
↓
|
|
406
|
-
System learns from your choices (when you override recommendations)
|
|
407
|
-
```
|
|
408
|
-
|
|
409
|
-
**Under the hood:**
|
|
293
|
+
## 📊 Why CCB vs. Others?
|
|
410
294
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
**
|
|
295
|
+
| Feature | Plain Claude Code | Other MCP Tools | CCB |
|
|
296
|
+
|---------|-------------------|-----------------|-----|
|
|
297
|
+
| **Persistent Memory** | ❌ | ⚠️ Basic | ✅ **Full Knowledge Graph** |
|
|
298
|
+
| **Smart Routing** | ❌ | ❌ | ✅ **Auto-detects task type** |
|
|
299
|
+
| **Vibe Coding Optimized** | ⚠️ | ❌ | ✅ **Built for it** |
|
|
300
|
+
| **Zero Setup** | ✅ | ⚠️ Complex | ✅ **2 minutes** |
|
|
301
|
+
| **Free & Open Source** | ✅ | ⚠️ Varies | ✅ **AGPL-3.0** |
|
|
416
302
|
|
|
417
303
|
---
|
|
418
304
|
|
|
419
|
-
##
|
|
305
|
+
## 🛠️ Advanced Features
|
|
420
306
|
|
|
421
|
-
|
|
422
|
-
-
|
|
423
|
-
- **Remembers between sessions** with persistent memory systems (Knowledge Graph + Project Context)
|
|
424
|
-
- **Provides specialized expertise** without you writing expert prompts
|
|
425
|
-
- **Keeps responses focused** by routing to the right capability for each task
|
|
426
|
-
- **Learns from your choices** when you override recommendations
|
|
427
|
-
- **Guides your workflow** with intelligent next-step recommendations
|
|
428
|
-
- **Reduces hallucinations** with evidence-first prompting and explicit assumptions
|
|
429
|
-
- **Coordinates complex workflows** across multiple steps
|
|
430
|
-
- **Cross-platform support** works seamlessly on Windows, macOS, and Linux
|
|
431
|
-
- **Production-ready** with comprehensive testing, security hardening, and resource protection
|
|
307
|
+
<details>
|
|
308
|
+
<summary><strong>Auto-Memory System</strong></summary>
|
|
432
309
|
|
|
433
|
-
|
|
310
|
+
When you use `buddy-do`, CCB automatically records:
|
|
311
|
+
- ✅ Task goals and outcomes
|
|
312
|
+
- ✅ Technical decisions and reasoning
|
|
313
|
+
- ✅ Errors encountered and solutions
|
|
314
|
+
- ✅ Development milestones
|
|
434
315
|
|
|
435
|
-
|
|
436
|
-
- **Not a replacement for learning** - You should understand what you're building
|
|
437
|
-
- **Enhances Claude Code, doesn't replace it** - Works alongside your existing setup
|
|
438
|
-
- **Requires setup** - 2-minute install, not one-click (yet)
|
|
439
|
-
- **Early stage (v2.2)** - Expect rough edges, but actively improving
|
|
440
|
-
- **Limited by Claude's capabilities** - Can't make Claude do impossible things
|
|
316
|
+
**You don't think about memory. CCB does.**
|
|
441
317
|
|
|
442
|
-
|
|
318
|
+
</details>
|
|
443
319
|
|
|
444
|
-
|
|
320
|
+
<details>
|
|
321
|
+
<summary><strong>Multi-Project Support</strong></summary>
|
|
445
322
|
|
|
446
|
-
|
|
323
|
+
Each project gets its own isolated memory space.
|
|
447
324
|
|
|
448
|
-
|
|
325
|
+
```bash
|
|
326
|
+
cd ~/project-A
|
|
327
|
+
buddy-remember "auth" # Returns project-A's auth decisions
|
|
449
328
|
|
|
450
|
-
|
|
451
|
-
"
|
|
452
|
-
→ Routes to code review capability
|
|
453
|
-
→ Gets security checklist + quality standards
|
|
454
|
-
→ Returns detailed review with specific recommendations
|
|
329
|
+
cd ~/project-B
|
|
330
|
+
buddy-remember "auth" # Returns project-B's auth decisions
|
|
455
331
|
```
|
|
456
332
|
|
|
457
|
-
|
|
333
|
+
**No cross-contamination. Ever.**
|
|
458
334
|
|
|
459
|
-
|
|
460
|
-
"This function crashes with undefined, help debug"
|
|
461
|
-
→ Routes to debugging capability
|
|
462
|
-
→ Gets systematic debugging methodology
|
|
463
|
-
→ Walks through root cause analysis step-by-step
|
|
464
|
-
```
|
|
335
|
+
</details>
|
|
465
336
|
|
|
466
|
-
|
|
337
|
+
<details>
|
|
338
|
+
<summary><strong>17 MCP Standard Tools</strong></summary>
|
|
467
339
|
|
|
468
|
-
|
|
469
|
-
"Design a responsive dashboard with dark mode"
|
|
470
|
-
→ Routes to UI design capability
|
|
471
|
-
→ Gets UI/UX patterns + accessibility guidelines
|
|
472
|
-
→ Returns complete design with responsive breakpoints
|
|
473
|
-
```
|
|
340
|
+
Full integration with Model Context Protocol.
|
|
474
341
|
|
|
475
|
-
|
|
342
|
+
See complete list: [ToolDefinitions.ts](src/mcp/ToolDefinitions.ts)
|
|
476
343
|
|
|
477
|
-
|
|
478
|
-
"This Prisma query takes 2 seconds, optimize it"
|
|
479
|
-
→ Routes to database optimization capability
|
|
480
|
-
→ Gets query optimization patterns + indexing strategies
|
|
481
|
-
→ Returns optimized query with performance benchmarks
|
|
482
|
-
```
|
|
344
|
+
</details>
|
|
483
345
|
|
|
484
346
|
---
|
|
485
347
|
|
|
486
|
-
##
|
|
348
|
+
## 🧪 Technical Details
|
|
487
349
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
- **Dashboard** - Real-time metrics, session health monitoring, performance tracking
|
|
350
|
+
<table>
|
|
351
|
+
<tr>
|
|
352
|
+
<td width="50%">
|
|
492
353
|
|
|
493
|
-
|
|
354
|
+
### Requirements
|
|
355
|
+
- Node.js 20+
|
|
356
|
+
- Claude Code or Cursor IDE
|
|
357
|
+
- 5 minutes of your time
|
|
494
358
|
|
|
495
|
-
|
|
359
|
+
</td>
|
|
360
|
+
<td width="50%">
|
|
496
361
|
|
|
497
|
-
|
|
362
|
+
### Platform Support
|
|
363
|
+
- ✅ **Claude 4.5** (Haiku/Sonnet/Opus)
|
|
364
|
+
- ✅ **MCP SDK 1.25.3**
|
|
365
|
+
- ✅ Windows, macOS, Linux
|
|
498
366
|
|
|
499
|
-
|
|
367
|
+
</td>
|
|
368
|
+
</tr>
|
|
369
|
+
</table>
|
|
500
370
|
|
|
501
|
-
|
|
371
|
+
### 🔒 Security First
|
|
502
372
|
|
|
503
|
-
- **
|
|
504
|
-
|
|
505
|
-
|
|
373
|
+
- ✅ **100% Local Processing** - Your data never leaves your machine
|
|
374
|
+
- ✅ **No External API Calls** - Uses your Claude Code subscription
|
|
375
|
+
- ✅ **npm audit: 0 vulnerabilities**
|
|
376
|
+
- ✅ **Open Source** - Audit the code yourself
|
|
506
377
|
|
|
507
|
-
|
|
508
|
-
- Use case: Code generation, testing, moderate complexity tasks
|
|
378
|
+
---
|
|
509
379
|
|
|
510
|
-
|
|
511
|
-
- Use case: Architecture design, complex debugging, creative problem-solving
|
|
380
|
+
## 🤝 Contributing
|
|
512
381
|
|
|
513
|
-
|
|
382
|
+
We'd love your help making CCB better!
|
|
514
383
|
|
|
515
|
-
|
|
384
|
+
- 🐛 **Found a bug?** [Open an issue](https://github.com/PCIRCLE-AI/claude-code-buddy/issues/new)
|
|
385
|
+
- 💡 **Have an idea?** [Start a discussion](https://github.com/PCIRCLE-AI/claude-code-buddy/discussions)
|
|
386
|
+
- 🛠️ **Want to code?** Check [Good First Issues](https://github.com/PCIRCLE-AI/claude-code-buddy/labels/good%20first%20issue)
|
|
516
387
|
|
|
517
|
-
|
|
388
|
+
**Contributing Guide**: [CONTRIBUTING.md](docs/CONTRIBUTING.md)
|
|
518
389
|
|
|
519
|
-
|
|
520
|
-
- **Tool Annotations**: `readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`
|
|
521
|
-
- **Output Schemas**: Structured JSON schemas for type-safe responses
|
|
522
|
-
- **Runtime Validation**: Automatic validation of tool inputs and outputs
|
|
390
|
+
---
|
|
523
391
|
|
|
524
|
-
|
|
525
|
-
1. `buddy-do` - Smart task execution with capability routing
|
|
526
|
-
2. `buddy-remember` - Project memory recall
|
|
527
|
-
3. `buddy-help` - Command documentation
|
|
528
|
-
4. `get-session-health` - Session monitoring and diagnostics
|
|
529
|
-
5. `get-workflow-guidance` - Intelligent workflow recommendations
|
|
530
|
-
6. `generate-smart-plan` - Implementation plan generation
|
|
531
|
-
7. `hook-tool-use` - Tool usage event tracking
|
|
392
|
+
## 📚 Documentation
|
|
532
393
|
|
|
533
|
-
|
|
394
|
+
- 📖 [Full Documentation](docs/)
|
|
395
|
+
- 🚀 [Quick Install Guide](docs/QUICK_INSTALL.md)
|
|
396
|
+
- 📘 [User Guide](docs/USER_GUIDE.md)
|
|
397
|
+
- 🛠️ [API Reference](docs/api/API_REFERENCE.md)
|
|
398
|
+
- ❓ [Troubleshooting](docs/TROUBLESHOOTING.md)
|
|
534
399
|
|
|
535
400
|
---
|
|
536
401
|
|
|
537
|
-
##
|
|
402
|
+
## ❓ FAQ
|
|
538
403
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
- **Discussions**: [GitHub Discussions](https://github.com/PCIRCLE-AI/claude-code-buddy/discussions)
|
|
542
|
-
- **Contributing**: [CONTRIBUTING.md](docs/CONTRIBUTING.md)
|
|
404
|
+
<details>
|
|
405
|
+
<summary><strong>Q: Does it cost money?</strong></summary>
|
|
543
406
|
|
|
544
|
-
**
|
|
407
|
+
**A:** Nope. 100% free and open source (AGPL-3.0). Uses your existing Claude Code subscription.
|
|
545
408
|
|
|
546
|
-
|
|
409
|
+
</details>
|
|
547
410
|
|
|
548
|
-
|
|
411
|
+
<details>
|
|
412
|
+
<summary><strong>Q: Is my data safe?</strong></summary>
|
|
549
413
|
|
|
550
|
-
|
|
551
|
-
# Run tests (292 test files covering core functionality)
|
|
552
|
-
npm test
|
|
414
|
+
**A:** Yes. Everything processed locally. Zero external API calls. Zero data upload.
|
|
553
415
|
|
|
554
|
-
|
|
555
|
-
npm run dev
|
|
416
|
+
</details>
|
|
556
417
|
|
|
557
|
-
|
|
558
|
-
|
|
418
|
+
<details>
|
|
419
|
+
<summary><strong>Q: How is this different from plain Claude Code?</strong></summary>
|
|
559
420
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
421
|
+
**A:** CCB adds two superpowers:
|
|
422
|
+
1. **Persistent Memory** - Claude remembers your project across sessions
|
|
423
|
+
2. **Smart Routing** - Automatically detects and handles different task types
|
|
563
424
|
|
|
564
|
-
|
|
425
|
+
Think of it as Claude Code + a really good memory + autopilot mode.
|
|
565
426
|
|
|
566
|
-
|
|
427
|
+
</details>
|
|
567
428
|
|
|
568
|
-
|
|
429
|
+
<details>
|
|
430
|
+
<summary><strong>Q: Can I customize it?</strong></summary>
|
|
569
431
|
|
|
570
|
-
|
|
432
|
+
**A:** Absolutely. Prompt templates in `src/core/PromptEnhancer.ts`.
|
|
571
433
|
|
|
572
|
-
|
|
573
|
-
A: If you can use Claude Code, you can use CCB. It's designed to make Claude easier, not harder.
|
|
434
|
+
Want deeper customization? Fork it, hack it, make it yours. That's the open source way.
|
|
574
435
|
|
|
575
|
-
|
|
576
|
-
A: No - CCB uses your existing Claude Code subscription. It helps optimize token usage within your session limits, not API costs.
|
|
436
|
+
</details>
|
|
577
437
|
|
|
578
|
-
|
|
579
|
-
|
|
438
|
+
<details>
|
|
439
|
+
<summary><strong>Q: Does it work with Cursor?</strong></summary>
|
|
580
440
|
|
|
581
|
-
**
|
|
582
|
-
|
|
441
|
+
**A:** Yes! Cursor has native MCP support. One-click install.
|
|
442
|
+
|
|
443
|
+
</details>
|
|
444
|
+
|
|
445
|
+
---
|
|
583
446
|
|
|
584
|
-
|
|
585
|
-
A: Remove it from your MCP config. No lock-in, no vendor dependency.
|
|
447
|
+
## 🙏 Acknowledgments
|
|
586
448
|
|
|
587
|
-
|
|
588
|
-
A: CCB is free and open-source (AGPL-3.0). It works with your existing Claude Code subscription.
|
|
449
|
+
Built on the shoulders of giants:
|
|
589
450
|
|
|
590
|
-
|
|
591
|
-
|
|
451
|
+
- [Model Context Protocol (MCP)](https://github.com/anthropics/mcp) - The foundation
|
|
452
|
+
- [Claude Code](https://claude.com/claude-code) - The platform
|
|
453
|
+
- All our amazing [contributors](https://github.com/PCIRCLE-AI/claude-code-buddy/graphs/contributors) and early testers
|
|
592
454
|
|
|
593
455
|
---
|
|
594
456
|
|
|
595
|
-
## License
|
|
457
|
+
## 📄 License
|
|
596
458
|
|
|
597
|
-
**AGPL-3.0
|
|
459
|
+
**AGPL-3.0** - See [LICENSE](LICENSE)
|
|
598
460
|
|
|
599
|
-
This
|
|
461
|
+
*This means: Use it, modify it, share it. But keep it open source.*
|
|
600
462
|
|
|
601
463
|
---
|
|
602
464
|
|
|
603
|
-
##
|
|
465
|
+
## 🌟 Star History
|
|
604
466
|
|
|
605
|
-
|
|
606
|
-
- Works with [Claude Code](https://claude.com/claude-code)
|
|
607
|
-
- Inspired by the Claude Code community
|
|
608
|
-
- Thanks to all contributors and early testers
|
|
609
|
-
|
|
610
|
-
**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.
|
|
467
|
+
[](https://star-history.com/#PCIRCLE-AI/claude-code-buddy&Date)
|
|
611
468
|
|
|
612
469
|
---
|
|
613
470
|
|
|
614
471
|
<div align="center">
|
|
615
472
|
|
|
616
|
-
**Built
|
|
473
|
+
### **Built by developers, for developers**
|
|
474
|
+
|
|
475
|
+
**Stop repeating yourself. Start vibing.**
|
|
476
|
+
|
|
477
|
+
[🚀 Get Started](#-2-minute-quick-start) • [📖 Read the Docs](docs/) • [💬 Join the Discussion](https://github.com/PCIRCLE-AI/claude-code-buddy/discussions)
|
|
617
478
|
|
|
618
|
-
|
|
479
|
+
---
|
|
480
|
+
|
|
481
|
+
### ⭐ **If CCB saved you time today, give it a star!**
|
|
619
482
|
|
|
620
|
-
|
|
483
|
+
It helps others discover this tool.
|
|
621
484
|
|
|
622
485
|
---
|
|
623
486
|
|
|
624
|
-
|
|
487
|
+
**Not affiliated with Anthropic PBC** • Independent open-source project
|
|
488
|
+
|
|
489
|
+
**Languages:** [English](README.md) • [繁體中文](README.zh-TW.md)
|
|
625
490
|
|
|
626
491
|
</div>
|