@pcircle/claude-code-buddy-mcp 2.5.3 → 2.6.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/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/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 +351 -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/best-practices.md +3 -3
- package/dist/mcp/resources/buddy-do-skill.md +85 -0
- package/dist/mcp/resources/ccb-complete-guide.md +382 -0
- package/dist/mcp/resources/examples.md +2 -2
- 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/resources/quick-reference.md +3 -3
- package/dist/mcp/resources/usage-guide.md +3 -3
- 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
|
@@ -12,12 +12,13 @@ import { DevelopmentButler } from '../agents/DevelopmentButler.js';
|
|
|
12
12
|
import { CheckpointDetector } from '../core/CheckpointDetector.js';
|
|
13
13
|
import { HookIntegration } from '../core/HookIntegration.js';
|
|
14
14
|
import { MCPToolInterface } from '../core/MCPToolInterface.js';
|
|
15
|
-
import { PlanningEngine } from '../planning/PlanningEngine.js';
|
|
16
15
|
import { KnowledgeGraph } from '../knowledge-graph/index.js';
|
|
17
16
|
import { ProjectMemoryManager } from '../memory/ProjectMemoryManager.js';
|
|
18
17
|
import { ProjectAutoTracker } from '../memory/ProjectAutoTracker.js';
|
|
18
|
+
import { UnifiedMemoryStore } from '../memory/UnifiedMemoryStore.js';
|
|
19
19
|
import { RateLimiter } from '../utils/RateLimiter.js';
|
|
20
|
-
import { ToolHandlers, BuddyHandlers } from './handlers/index.js';
|
|
20
|
+
import { ToolHandlers, BuddyHandlers, A2AToolHandlers } from './handlers/index.js';
|
|
21
|
+
import { SamplingClient } from './SamplingClient.js';
|
|
21
22
|
export interface ServerComponents {
|
|
22
23
|
router: Router;
|
|
23
24
|
formatter: ResponseFormatter;
|
|
@@ -33,13 +34,15 @@ export interface ServerComponents {
|
|
|
33
34
|
checkpointDetector: CheckpointDetector;
|
|
34
35
|
hookIntegration: HookIntegration;
|
|
35
36
|
toolInterface: MCPToolInterface;
|
|
36
|
-
planningEngine: PlanningEngine;
|
|
37
37
|
knowledgeGraph: KnowledgeGraph;
|
|
38
38
|
projectMemoryManager: ProjectMemoryManager;
|
|
39
39
|
projectAutoTracker: ProjectAutoTracker;
|
|
40
|
+
unifiedMemoryStore: UnifiedMemoryStore;
|
|
40
41
|
rateLimiter: RateLimiter;
|
|
42
|
+
samplingClient: SamplingClient;
|
|
41
43
|
toolHandlers: ToolHandlers;
|
|
42
44
|
buddyHandlers: BuddyHandlers;
|
|
45
|
+
a2aHandlers: A2AToolHandlers;
|
|
43
46
|
}
|
|
44
47
|
export declare class ServerInitializer {
|
|
45
48
|
static initialize(): ServerComponents;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerInitializer.d.ts","sourceRoot":"","sources":["../../src/mcp/ServerInitializer.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"ServerInitializer.d.ts","sourceRoot":"","sources":["../../src/mcp/ServerInitializer.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAA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AAC;IAGlB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,EAAE,eAAe,CAAC;IACjC,gBAAgB,EAAE,gBAAgB,CAAC;IAGnC,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,EAAE,gBAAgB,CAAC;IAGnC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,gBAAgB,CAAC;IAGhC,cAAc,EAAE,cAAc,CAAC;IAC/B,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,kBAAkB,EAAE,kBAAkB,CAAC;IAGvC,WAAW,EAAE,WAAW,CAAC;IAGzB,cAAc,EAAE,cAAc,CAAC;IAG/B,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,eAAe,CAAC;CAC9B;AAqBD,qBAAa,iBAAiB;IA2B5B,MAAM,CAAC,UAAU,IAAI,gBAAgB;CAuItC"}
|
|
@@ -12,12 +12,13 @@ import { DevelopmentButler } from '../agents/DevelopmentButler.js';
|
|
|
12
12
|
import { CheckpointDetector } from '../core/CheckpointDetector.js';
|
|
13
13
|
import { HookIntegration } from '../core/HookIntegration.js';
|
|
14
14
|
import { MCPToolInterface } from '../core/MCPToolInterface.js';
|
|
15
|
-
import { PlanningEngine } from '../planning/PlanningEngine.js';
|
|
16
15
|
import { KnowledgeGraph } from '../knowledge-graph/index.js';
|
|
17
16
|
import { ProjectMemoryManager } from '../memory/ProjectMemoryManager.js';
|
|
18
17
|
import { ProjectAutoTracker } from '../memory/ProjectAutoTracker.js';
|
|
18
|
+
import { UnifiedMemoryStore } from '../memory/UnifiedMemoryStore.js';
|
|
19
19
|
import { RateLimiter } from '../utils/RateLimiter.js';
|
|
20
|
-
import { ToolHandlers, BuddyHandlers } from './handlers/index.js';
|
|
20
|
+
import { ToolHandlers, BuddyHandlers, A2AToolHandlers } from './handlers/index.js';
|
|
21
|
+
import { SamplingClient } from './SamplingClient.js';
|
|
21
22
|
export class ServerInitializer {
|
|
22
23
|
static initialize() {
|
|
23
24
|
const router = new Router();
|
|
@@ -27,15 +28,15 @@ export class ServerInitializer {
|
|
|
27
28
|
const skillManager = new SkillManager();
|
|
28
29
|
const uninstallManager = new UninstallManager(skillManager);
|
|
29
30
|
const performanceTracker = new PerformanceTracker();
|
|
30
|
-
const learningManager = new LearningManager(
|
|
31
|
-
const feedbackCollector = new FeedbackCollector(
|
|
32
|
-
const evolutionMonitor = new EvolutionMonitor(router.getPerformanceTracker(), router.getLearningManager()
|
|
31
|
+
const learningManager = new LearningManager();
|
|
32
|
+
const feedbackCollector = new FeedbackCollector();
|
|
33
|
+
const evolutionMonitor = new EvolutionMonitor(router.getPerformanceTracker(), router.getLearningManager());
|
|
33
34
|
const checkpointDetector = new CheckpointDetector();
|
|
34
35
|
const toolInterface = new MCPToolInterface();
|
|
35
|
-
const developmentButler = new DevelopmentButler(checkpointDetector, toolInterface, router.getLearningManager());
|
|
36
|
-
const planningEngine = new PlanningEngine(agentRegistry, router.getLearningManager());
|
|
37
36
|
const knowledgeGraph = KnowledgeGraph.createSync();
|
|
38
37
|
const projectMemoryManager = new ProjectMemoryManager(knowledgeGraph);
|
|
38
|
+
const unifiedMemoryStore = new UnifiedMemoryStore(knowledgeGraph);
|
|
39
|
+
const developmentButler = new DevelopmentButler(checkpointDetector, toolInterface, router.getLearningManager(), unifiedMemoryStore);
|
|
39
40
|
toolInterface.attachMemoryProvider({
|
|
40
41
|
createEntities: async ({ entities }) => {
|
|
41
42
|
for (const entity of entities) {
|
|
@@ -55,12 +56,16 @@ export class ServerInitializer {
|
|
|
55
56
|
},
|
|
56
57
|
});
|
|
57
58
|
const projectAutoTracker = new ProjectAutoTracker(toolInterface);
|
|
58
|
-
const hookIntegration = new HookIntegration(checkpointDetector, developmentButler);
|
|
59
|
+
const hookIntegration = new HookIntegration(checkpointDetector, developmentButler, projectAutoTracker);
|
|
59
60
|
const rateLimiter = new RateLimiter({
|
|
60
61
|
requestsPerMinute: 30,
|
|
61
62
|
});
|
|
62
|
-
const
|
|
63
|
-
|
|
63
|
+
const samplingClient = new SamplingClient(async (request) => {
|
|
64
|
+
throw new Error('Sampling not yet connected. This will be wired when MCP SDK sampling is available.');
|
|
65
|
+
});
|
|
66
|
+
const toolHandlers = new ToolHandlers(router, agentRegistry, feedbackCollector, performanceTracker, learningManager, evolutionMonitor, skillManager, uninstallManager, developmentButler, checkpointDetector, hookIntegration, projectMemoryManager, knowledgeGraph, ui, samplingClient, unifiedMemoryStore);
|
|
67
|
+
const buddyHandlers = new BuddyHandlers(router, formatter, projectMemoryManager, projectAutoTracker);
|
|
68
|
+
const a2aHandlers = new A2AToolHandlers();
|
|
64
69
|
return {
|
|
65
70
|
router,
|
|
66
71
|
formatter,
|
|
@@ -76,13 +81,15 @@ export class ServerInitializer {
|
|
|
76
81
|
checkpointDetector,
|
|
77
82
|
hookIntegration,
|
|
78
83
|
toolInterface,
|
|
79
|
-
planningEngine,
|
|
80
84
|
knowledgeGraph,
|
|
81
85
|
projectMemoryManager,
|
|
82
86
|
projectAutoTracker,
|
|
87
|
+
unifiedMemoryStore,
|
|
83
88
|
rateLimiter,
|
|
89
|
+
samplingClient,
|
|
84
90
|
toolHandlers,
|
|
85
91
|
buddyHandlers,
|
|
92
|
+
a2aHandlers,
|
|
86
93
|
};
|
|
87
94
|
}
|
|
88
95
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerInitializer.js","sourceRoot":"","sources":["../../src/mcp/ServerInitializer.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,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AM,cAAc,GAAG,IAAI,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;YAC1D,MAAM,IAAI,KAAK,CAAC,oFAAoF,CAAC,CAAC;QACxG,CAAC,CAAC,CAAC;QAGH,MAAM,YAAY,GAAG,IAAI,YAAY,CACnC,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,EAAE,EACF,cAAc,EACd,kBAAkB,CACnB,CAAC;QAEF,MAAM,aAAa,GAAG,IAAI,aAAa,CACrC,MAAM,EACN,SAAS,EACT,oBAAoB,EACpB,kBAAkB,CACnB,CAAC;QAGF,MAAM,WAAW,GAAG,IAAI,eAAe,EAAE,CAAC;QAG1C,OAAO;YACL,MAAM;YACN,SAAS;YACT,aAAa;YACb,EAAE;YACF,iBAAiB;YACjB,kBAAkB;YAClB,eAAe;YACf,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,iBAAiB;YACjB,kBAAkB;YAClB,eAAe;YACf,aAAa;YACb,cAAc;YACd,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,WAAW;YACX,cAAc;YACd,YAAY;YACZ,aAAa;YACb,WAAW;SACZ,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolDefinitions.d.ts","sourceRoot":"","sources":["../../src/mcp/ToolDefinitions.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzB,CAAC;AAKF,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE;QACZ,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAKD,wBAAgB,qBAAqB,IAAI,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolDefinitions.d.ts","sourceRoot":"","sources":["../../src/mcp/ToolDefinitions.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzB,CAAC;AAKF,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAKD,wBAAgB,qBAAqB,IAAI,iBAAiB,EAAE,CAwqB3D"}
|
|
@@ -30,7 +30,7 @@ export const CommonSchemas = {
|
|
|
30
30
|
export function getAllToolDefinitions() {
|
|
31
31
|
const buddyDoTool = {
|
|
32
32
|
name: 'buddy-do',
|
|
33
|
-
description: '
|
|
33
|
+
description: 'Execute development tasks with smart routing and complexity analysis',
|
|
34
34
|
inputSchema: {
|
|
35
35
|
type: 'object',
|
|
36
36
|
properties: {
|
|
@@ -43,6 +43,7 @@ export function getAllToolDefinitions() {
|
|
|
43
43
|
},
|
|
44
44
|
outputSchema: OutputSchemas.buddyDo,
|
|
45
45
|
annotations: {
|
|
46
|
+
title: 'Smart Task Router',
|
|
46
47
|
readOnlyHint: false,
|
|
47
48
|
destructiveHint: false,
|
|
48
49
|
idempotentHint: false,
|
|
@@ -51,7 +52,7 @@ export function getAllToolDefinitions() {
|
|
|
51
52
|
};
|
|
52
53
|
const buddyRememberTool = {
|
|
53
54
|
name: 'buddy-remember',
|
|
54
|
-
description: '
|
|
55
|
+
description: 'Search project memory for past decisions, bugs, patterns, and architecture choices',
|
|
55
56
|
inputSchema: {
|
|
56
57
|
type: 'object',
|
|
57
58
|
properties: {
|
|
@@ -70,6 +71,7 @@ export function getAllToolDefinitions() {
|
|
|
70
71
|
},
|
|
71
72
|
outputSchema: OutputSchemas.buddyRemember,
|
|
72
73
|
annotations: {
|
|
74
|
+
title: 'Project Memory Recall',
|
|
73
75
|
readOnlyHint: true,
|
|
74
76
|
destructiveHint: false,
|
|
75
77
|
idempotentHint: true,
|
|
@@ -90,6 +92,7 @@ export function getAllToolDefinitions() {
|
|
|
90
92
|
},
|
|
91
93
|
outputSchema: OutputSchemas.buddyHelp,
|
|
92
94
|
annotations: {
|
|
95
|
+
title: 'Help & Documentation',
|
|
93
96
|
readOnlyHint: true,
|
|
94
97
|
destructiveHint: false,
|
|
95
98
|
idempotentHint: true,
|
|
@@ -98,7 +101,7 @@ export function getAllToolDefinitions() {
|
|
|
98
101
|
};
|
|
99
102
|
const getWorkflowGuidanceTool = {
|
|
100
103
|
name: 'get-workflow-guidance',
|
|
101
|
-
description: '
|
|
104
|
+
description: 'Get next steps and recommendations for current development phase (code-written, test-complete, commit-ready)',
|
|
102
105
|
inputSchema: {
|
|
103
106
|
type: 'object',
|
|
104
107
|
properties: {
|
|
@@ -119,8 +122,9 @@ export function getAllToolDefinitions() {
|
|
|
119
122
|
},
|
|
120
123
|
required: ['phase'],
|
|
121
124
|
},
|
|
122
|
-
outputSchema: OutputSchemas.
|
|
125
|
+
outputSchema: OutputSchemas.getWorkflowGuidance,
|
|
123
126
|
annotations: {
|
|
127
|
+
title: 'Workflow Recommendations',
|
|
124
128
|
readOnlyHint: true,
|
|
125
129
|
destructiveHint: false,
|
|
126
130
|
idempotentHint: false,
|
|
@@ -133,56 +137,63 @@ export function getAllToolDefinitions() {
|
|
|
133
137
|
inputSchema: {
|
|
134
138
|
type: 'object',
|
|
135
139
|
properties: {},
|
|
140
|
+
additionalProperties: false,
|
|
136
141
|
},
|
|
137
|
-
outputSchema: OutputSchemas.
|
|
142
|
+
outputSchema: OutputSchemas.getSessionHealth,
|
|
138
143
|
annotations: {
|
|
144
|
+
title: 'Session Health Check',
|
|
139
145
|
readOnlyHint: true,
|
|
140
146
|
destructiveHint: false,
|
|
141
147
|
idempotentHint: false,
|
|
142
148
|
openWorldHint: false,
|
|
143
149
|
},
|
|
144
150
|
};
|
|
145
|
-
const generateSmartPlanTool = {
|
|
146
|
-
name: 'generate-smart-plan',
|
|
147
|
-
description: '📋 Claude Code Buddy: Generate an implementation plan with capability-aware task breakdown and TDD structure. Creates bite-sized tasks (2-5 min each) with learning-enhanced recommendations.',
|
|
148
|
-
inputSchema: {
|
|
149
|
-
type: 'object',
|
|
150
|
-
properties: {
|
|
151
|
-
featureDescription: {
|
|
152
|
-
type: 'string',
|
|
153
|
-
description: 'Description of the feature to plan',
|
|
154
|
-
},
|
|
155
|
-
requirements: {
|
|
156
|
-
type: 'array',
|
|
157
|
-
items: { type: 'string' },
|
|
158
|
-
description: 'List of specific requirements',
|
|
159
|
-
},
|
|
160
|
-
constraints: {
|
|
161
|
-
type: 'object',
|
|
162
|
-
properties: {
|
|
163
|
-
projectType: { type: 'string' },
|
|
164
|
-
techStack: {
|
|
165
|
-
type: 'array',
|
|
166
|
-
items: { type: 'string' },
|
|
167
|
-
},
|
|
168
|
-
complexity: { type: 'string', enum: ['low', 'medium', 'high'] },
|
|
169
|
-
},
|
|
170
|
-
description: 'Project constraints and context',
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
required: ['featureDescription'],
|
|
174
|
-
},
|
|
175
|
-
outputSchema: OutputSchemas.smartPlan,
|
|
176
|
-
annotations: {
|
|
177
|
-
readOnlyHint: true,
|
|
178
|
-
destructiveHint: false,
|
|
179
|
-
idempotentHint: false,
|
|
180
|
-
openWorldHint: true,
|
|
181
|
-
},
|
|
182
|
-
};
|
|
183
151
|
const buddyRecordMistakeTool = {
|
|
184
152
|
name: 'buddy-record-mistake',
|
|
185
|
-
description:
|
|
153
|
+
description: `📝 CCB: Record AI mistakes for learning and prevention - enable systematic improvement from user feedback.
|
|
154
|
+
|
|
155
|
+
**When to Record:**
|
|
156
|
+
• User explicitly corrects behavior or approach
|
|
157
|
+
• Violated a documented procedure or guideline
|
|
158
|
+
• Made incorrect assumptions instead of asking
|
|
159
|
+
• Skipped validation step and caused problems
|
|
160
|
+
• User says "you should have..." or "why didn't you..."
|
|
161
|
+
|
|
162
|
+
**Mistake Record Structure:**
|
|
163
|
+
• **Action**: What was actually done (specific, concrete)
|
|
164
|
+
• **Error Type**: Category that best fits (see errorType enum)
|
|
165
|
+
• **User Correction**: What the user said was wrong (exact feedback)
|
|
166
|
+
• **Correct Method**: What should have been done instead (actionable, specific)
|
|
167
|
+
• **Impact**: How this affected the user (time wasted, bugs introduced, confusion)
|
|
168
|
+
• **Prevention Method**: Concrete steps to prevent this in future (not vague promises)
|
|
169
|
+
|
|
170
|
+
**Pattern Recognition:**
|
|
171
|
+
• Identify the underlying pattern of the mistake (not just the specific instance)
|
|
172
|
+
• Categorize the error type accurately (procedure-violation, assumption-error, etc.)
|
|
173
|
+
• Recognize if this mistake has happened before (check patterns)
|
|
174
|
+
• Extract the root cause, not just the symptom
|
|
175
|
+
|
|
176
|
+
**Error Type Classification:**
|
|
177
|
+
• **procedure-violation**: Skipped a documented workflow step
|
|
178
|
+
• **workflow-skip**: Didn't follow the correct sequence (e.g., tested before implementing)
|
|
179
|
+
• **assumption-error**: Made incorrect assumptions instead of asking
|
|
180
|
+
• **validation-skip**: Didn't verify something that should have been checked
|
|
181
|
+
• **responsibility-lack**: Failed to take ownership or be proactive
|
|
182
|
+
• **firefighting**: Rushed to fix without understanding root cause
|
|
183
|
+
• **dependency-miss**: Missed a dependency or integration point
|
|
184
|
+
• **integration-error**: Failed to integrate components correctly
|
|
185
|
+
• **deployment-error**: Deployment or configuration mistake
|
|
186
|
+
|
|
187
|
+
**Example:**
|
|
188
|
+
User: "Why did you edit the file without reading it first? Now the indentation is broken!"
|
|
189
|
+
Record:
|
|
190
|
+
action: "Edited ServerInitializer.ts without reading file first"
|
|
191
|
+
errorType: "procedure-violation"
|
|
192
|
+
userCorrection: "Must read file before editing - broke indentation"
|
|
193
|
+
correctMethod: "Use Read tool first to see exact content and formatting, then Edit"
|
|
194
|
+
impact: "Broke file indentation, required re-edit, wasted user time"
|
|
195
|
+
preventionMethod: "ALWAYS invoke Read tool before Edit tool - no exceptions"
|
|
196
|
+
relatedRule: "READ_BEFORE_EDIT (Anti-Hallucination Protocol)"`,
|
|
186
197
|
inputSchema: {
|
|
187
198
|
type: 'object',
|
|
188
199
|
properties: {
|
|
@@ -232,7 +243,9 @@ export function getAllToolDefinitions() {
|
|
|
232
243
|
},
|
|
233
244
|
required: ['action', 'errorType', 'userCorrection', 'correctMethod', 'impact', 'preventionMethod'],
|
|
234
245
|
},
|
|
246
|
+
outputSchema: OutputSchemas.buddyRecordMistake,
|
|
235
247
|
annotations: {
|
|
248
|
+
title: 'Mistake Recorder',
|
|
236
249
|
readOnlyHint: false,
|
|
237
250
|
destructiveHint: false,
|
|
238
251
|
idempotentHint: true,
|
|
@@ -241,7 +254,7 @@ export function getAllToolDefinitions() {
|
|
|
241
254
|
};
|
|
242
255
|
const hookToolUseTool = {
|
|
243
256
|
name: 'hook-tool-use',
|
|
244
|
-
description: '
|
|
257
|
+
description: 'Process tool execution events from Claude Code CLI for workflow automation (auto-triggered, do not call manually)',
|
|
245
258
|
inputSchema: {
|
|
246
259
|
type: 'object',
|
|
247
260
|
properties: {
|
|
@@ -274,6 +287,7 @@ export function getAllToolDefinitions() {
|
|
|
274
287
|
},
|
|
275
288
|
outputSchema: OutputSchemas.hookToolUse,
|
|
276
289
|
annotations: {
|
|
290
|
+
title: 'Hook Event Processor',
|
|
277
291
|
readOnlyHint: false,
|
|
278
292
|
destructiveHint: false,
|
|
279
293
|
idempotentHint: true,
|
|
@@ -282,7 +296,42 @@ export function getAllToolDefinitions() {
|
|
|
282
296
|
};
|
|
283
297
|
const createEntitiesTool = {
|
|
284
298
|
name: 'create-entities',
|
|
285
|
-
description:
|
|
299
|
+
description: `✨ CCB: Create entities in Knowledge Graph - record decisions, features, bug fixes, and lessons learned.
|
|
300
|
+
|
|
301
|
+
**What to Record:**
|
|
302
|
+
• Technical decisions (e.g., "chose JWT over sessions for auth")
|
|
303
|
+
• Architectural patterns (e.g., "use repository pattern for data access")
|
|
304
|
+
• Bug fixes and root causes (e.g., "fixed race condition in login flow")
|
|
305
|
+
• Lessons learned (e.g., "always validate user input before DB queries")
|
|
306
|
+
• Code changes and rationale (e.g., "refactored UserService to improve testability")
|
|
307
|
+
|
|
308
|
+
**Entity Naming Guidelines:**
|
|
309
|
+
• Use imperative or declarative form (e.g., "Use Redis for session storage")
|
|
310
|
+
• Make names searchable and meaningful (avoid generic names like "Decision 1")
|
|
311
|
+
• Include key context (e.g., "API rate limiting implementation - Express middleware")
|
|
312
|
+
|
|
313
|
+
**Observation Structure:**
|
|
314
|
+
• Break down into atomic observations (one fact per observation)
|
|
315
|
+
• Include WHY (rationale), WHAT (implementation), and HOW (approach)
|
|
316
|
+
• Add context for future recall (date, related files, dependencies)
|
|
317
|
+
|
|
318
|
+
**Tag Guidelines (3-7 tags):**
|
|
319
|
+
• Technology: "tech:postgresql", "tech:nodejs", "tech:react"
|
|
320
|
+
• Domain: "domain:authentication", "domain:api", "domain:frontend"
|
|
321
|
+
• Pattern: "pattern:repository", "pattern:singleton", "pattern:observer"
|
|
322
|
+
• Use lowercase, hyphens for multi-word (e.g., "error-handling")
|
|
323
|
+
• CCB automatically adds scope tags (scope:project:xxx)
|
|
324
|
+
|
|
325
|
+
**Example:**
|
|
326
|
+
name: "JWT authentication implementation for API"
|
|
327
|
+
entityType: "feature"
|
|
328
|
+
observations: [
|
|
329
|
+
"Implementation: Used jsonwebtoken library with RS256 algorithm",
|
|
330
|
+
"Rationale: Stateless auth enables horizontal scaling",
|
|
331
|
+
"Security: Tokens expire after 1 hour, refresh tokens after 7 days",
|
|
332
|
+
"Files: src/auth/jwt.ts, src/middleware/authenticate.ts"
|
|
333
|
+
]
|
|
334
|
+
tags: ["tech:jwt", "tech:nodejs", "domain:authentication", "security"]`,
|
|
286
335
|
inputSchema: {
|
|
287
336
|
type: 'object',
|
|
288
337
|
properties: {
|
|
@@ -305,6 +354,11 @@ export function getAllToolDefinitions() {
|
|
|
305
354
|
items: { type: 'string' },
|
|
306
355
|
description: 'Array of observations (facts, notes, details)',
|
|
307
356
|
},
|
|
357
|
+
tags: {
|
|
358
|
+
type: 'array',
|
|
359
|
+
items: { type: 'string' },
|
|
360
|
+
description: 'Optional tags. Scope tags (scope:project:xxx) and tech tags (tech:xxx) will be automatically added.',
|
|
361
|
+
},
|
|
308
362
|
metadata: {
|
|
309
363
|
type: 'object',
|
|
310
364
|
description: 'Optional metadata',
|
|
@@ -316,23 +370,273 @@ export function getAllToolDefinitions() {
|
|
|
316
370
|
},
|
|
317
371
|
required: ['entities'],
|
|
318
372
|
},
|
|
373
|
+
outputSchema: OutputSchemas.createEntities,
|
|
374
|
+
annotations: {
|
|
375
|
+
title: 'Knowledge Graph Creator',
|
|
376
|
+
readOnlyHint: false,
|
|
377
|
+
destructiveHint: false,
|
|
378
|
+
idempotentHint: false,
|
|
379
|
+
openWorldHint: false,
|
|
380
|
+
},
|
|
381
|
+
};
|
|
382
|
+
const a2aSendTaskTool = {
|
|
383
|
+
name: 'a2a-send-task',
|
|
384
|
+
description: '🤝 CCB A2A: Send a task to another A2A agent for execution.',
|
|
385
|
+
inputSchema: {
|
|
386
|
+
type: 'object',
|
|
387
|
+
properties: {
|
|
388
|
+
targetAgentId: {
|
|
389
|
+
type: 'string',
|
|
390
|
+
description: 'ID of the target agent to send the task to',
|
|
391
|
+
},
|
|
392
|
+
taskDescription: {
|
|
393
|
+
type: 'string',
|
|
394
|
+
description: 'Description of the task to execute',
|
|
395
|
+
},
|
|
396
|
+
priority: {
|
|
397
|
+
type: 'string',
|
|
398
|
+
enum: ['low', 'normal', 'high', 'urgent'],
|
|
399
|
+
description: 'Task priority (optional, default: normal)',
|
|
400
|
+
},
|
|
401
|
+
sessionId: {
|
|
402
|
+
type: 'string',
|
|
403
|
+
description: 'Session ID for task tracking (optional)',
|
|
404
|
+
},
|
|
405
|
+
metadata: {
|
|
406
|
+
type: 'object',
|
|
407
|
+
description: 'Additional task metadata (optional)',
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
required: ['targetAgentId', 'taskDescription'],
|
|
411
|
+
},
|
|
412
|
+
outputSchema: OutputSchemas.a2aSendTask,
|
|
413
|
+
annotations: {
|
|
414
|
+
title: 'A2A Task Sender',
|
|
415
|
+
readOnlyHint: false,
|
|
416
|
+
destructiveHint: false,
|
|
417
|
+
idempotentHint: false,
|
|
418
|
+
openWorldHint: true,
|
|
419
|
+
},
|
|
420
|
+
};
|
|
421
|
+
const a2aGetTaskTool = {
|
|
422
|
+
name: 'a2a-get-task',
|
|
423
|
+
description: '🔍 CCB A2A: Get task status and details from another A2A agent.',
|
|
424
|
+
inputSchema: {
|
|
425
|
+
type: 'object',
|
|
426
|
+
properties: {
|
|
427
|
+
targetAgentId: {
|
|
428
|
+
type: 'string',
|
|
429
|
+
description: 'ID of the agent that owns the task',
|
|
430
|
+
},
|
|
431
|
+
taskId: {
|
|
432
|
+
type: 'string',
|
|
433
|
+
description: 'ID of the task to retrieve',
|
|
434
|
+
},
|
|
435
|
+
},
|
|
436
|
+
required: ['targetAgentId', 'taskId'],
|
|
437
|
+
},
|
|
438
|
+
outputSchema: OutputSchemas.a2aGetTask,
|
|
439
|
+
annotations: {
|
|
440
|
+
title: 'A2A Task Retriever',
|
|
441
|
+
readOnlyHint: true,
|
|
442
|
+
destructiveHint: false,
|
|
443
|
+
idempotentHint: true,
|
|
444
|
+
openWorldHint: false,
|
|
445
|
+
},
|
|
446
|
+
};
|
|
447
|
+
const a2aListTasksTool = {
|
|
448
|
+
name: 'a2a-list-tasks',
|
|
449
|
+
description: '📋 CCB A2A: List own tasks (tasks assigned to this agent).',
|
|
450
|
+
inputSchema: {
|
|
451
|
+
type: 'object',
|
|
452
|
+
properties: {
|
|
453
|
+
state: {
|
|
454
|
+
type: 'string',
|
|
455
|
+
enum: ['SUBMITTED', 'WORKING', 'INPUT_REQUIRED', 'COMPLETED', 'FAILED', 'CANCELED', 'REJECTED'],
|
|
456
|
+
description: 'Filter by task state (optional)',
|
|
457
|
+
},
|
|
458
|
+
limit: {
|
|
459
|
+
type: 'number',
|
|
460
|
+
description: 'Maximum number of tasks to return (1-100, optional)',
|
|
461
|
+
minimum: 1,
|
|
462
|
+
maximum: 100,
|
|
463
|
+
},
|
|
464
|
+
offset: {
|
|
465
|
+
type: 'number',
|
|
466
|
+
description: 'Number of tasks to skip (optional)',
|
|
467
|
+
minimum: 0,
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
},
|
|
471
|
+
outputSchema: OutputSchemas.a2aListTasks,
|
|
472
|
+
annotations: {
|
|
473
|
+
title: 'A2A Task Lister',
|
|
474
|
+
readOnlyHint: true,
|
|
475
|
+
destructiveHint: false,
|
|
476
|
+
idempotentHint: true,
|
|
477
|
+
openWorldHint: false,
|
|
478
|
+
},
|
|
479
|
+
};
|
|
480
|
+
const a2aListAgentsTool = {
|
|
481
|
+
name: 'a2a-list-agents',
|
|
482
|
+
description: '🤖 CCB A2A: List available A2A agents in the registry.',
|
|
483
|
+
inputSchema: {
|
|
484
|
+
type: 'object',
|
|
485
|
+
properties: {
|
|
486
|
+
status: {
|
|
487
|
+
type: 'string',
|
|
488
|
+
enum: ['active', 'inactive', 'all'],
|
|
489
|
+
description: 'Filter by agent status (optional, default: active)',
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
outputSchema: OutputSchemas.a2aListAgents,
|
|
494
|
+
annotations: {
|
|
495
|
+
title: 'A2A Agent Registry',
|
|
496
|
+
readOnlyHint: true,
|
|
497
|
+
destructiveHint: false,
|
|
498
|
+
idempotentHint: true,
|
|
499
|
+
openWorldHint: false,
|
|
500
|
+
},
|
|
501
|
+
};
|
|
502
|
+
const generateTestsTool = {
|
|
503
|
+
name: 'generate-tests',
|
|
504
|
+
description: 'Automatically generate test cases from specifications or code using AI. Provide either specification or code (at least one required).',
|
|
505
|
+
inputSchema: {
|
|
506
|
+
type: 'object',
|
|
507
|
+
properties: {
|
|
508
|
+
specification: {
|
|
509
|
+
type: 'string',
|
|
510
|
+
description: 'Feature or function specification to generate tests for',
|
|
511
|
+
},
|
|
512
|
+
code: {
|
|
513
|
+
type: 'string',
|
|
514
|
+
description: 'Source code to generate tests for',
|
|
515
|
+
},
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
outputSchema: OutputSchemas.generateTests,
|
|
519
|
+
annotations: {
|
|
520
|
+
title: 'Test Generator',
|
|
521
|
+
readOnlyHint: true,
|
|
522
|
+
destructiveHint: false,
|
|
523
|
+
idempotentHint: false,
|
|
524
|
+
openWorldHint: true,
|
|
525
|
+
},
|
|
526
|
+
};
|
|
527
|
+
const buddySecretStoreTool = {
|
|
528
|
+
name: 'buddy-secret-store',
|
|
529
|
+
description: '🔐 CCB: Store a secret (API key, token, password) securely with AES-256-GCM encryption. Never transmitted over network.',
|
|
530
|
+
inputSchema: {
|
|
531
|
+
type: 'object',
|
|
532
|
+
properties: {
|
|
533
|
+
name: {
|
|
534
|
+
type: 'string',
|
|
535
|
+
description: 'Name/identifier for the secret (e.g., "openai-api-key")',
|
|
536
|
+
},
|
|
537
|
+
value: {
|
|
538
|
+
type: 'string',
|
|
539
|
+
description: 'The secret value to store',
|
|
540
|
+
},
|
|
541
|
+
type: {
|
|
542
|
+
type: 'string',
|
|
543
|
+
enum: ['api_key', 'token', 'password', 'other'],
|
|
544
|
+
description: 'Type of secret for categorization',
|
|
545
|
+
},
|
|
546
|
+
description: {
|
|
547
|
+
type: 'string',
|
|
548
|
+
description: 'Optional description of what this secret is for',
|
|
549
|
+
},
|
|
550
|
+
expiresIn: {
|
|
551
|
+
type: 'string',
|
|
552
|
+
description: 'Optional expiry duration (e.g., "30d", "24h", "60m"). Default: 30 days',
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
required: ['name', 'value', 'type'],
|
|
556
|
+
},
|
|
319
557
|
annotations: {
|
|
558
|
+
title: 'Secret Storage',
|
|
320
559
|
readOnlyHint: false,
|
|
321
560
|
destructiveHint: false,
|
|
322
561
|
idempotentHint: false,
|
|
323
562
|
openWorldHint: false,
|
|
324
563
|
},
|
|
325
564
|
};
|
|
565
|
+
const buddySecretGetTool = {
|
|
566
|
+
name: 'buddy-secret-get',
|
|
567
|
+
description: '🔓 CCB: Retrieve a stored secret by name from CCB secure storage.',
|
|
568
|
+
inputSchema: {
|
|
569
|
+
type: 'object',
|
|
570
|
+
properties: {
|
|
571
|
+
name: {
|
|
572
|
+
type: 'string',
|
|
573
|
+
description: 'Name of the secret to retrieve',
|
|
574
|
+
},
|
|
575
|
+
},
|
|
576
|
+
required: ['name'],
|
|
577
|
+
},
|
|
578
|
+
annotations: {
|
|
579
|
+
title: 'Secret Retrieval',
|
|
580
|
+
readOnlyHint: true,
|
|
581
|
+
destructiveHint: false,
|
|
582
|
+
idempotentHint: true,
|
|
583
|
+
openWorldHint: false,
|
|
584
|
+
},
|
|
585
|
+
};
|
|
586
|
+
const buddySecretListTool = {
|
|
587
|
+
name: 'buddy-secret-list',
|
|
588
|
+
description: '📋 CCB: List all secrets stored in CCB (names and metadata only, NOT values).',
|
|
589
|
+
inputSchema: {
|
|
590
|
+
type: 'object',
|
|
591
|
+
properties: {},
|
|
592
|
+
},
|
|
593
|
+
annotations: {
|
|
594
|
+
title: 'Secret List',
|
|
595
|
+
readOnlyHint: true,
|
|
596
|
+
destructiveHint: false,
|
|
597
|
+
idempotentHint: true,
|
|
598
|
+
openWorldHint: false,
|
|
599
|
+
},
|
|
600
|
+
};
|
|
601
|
+
const buddySecretDeleteTool = {
|
|
602
|
+
name: 'buddy-secret-delete',
|
|
603
|
+
description: '🗑️ CCB: Delete a stored secret from CCB secure storage.',
|
|
604
|
+
inputSchema: {
|
|
605
|
+
type: 'object',
|
|
606
|
+
properties: {
|
|
607
|
+
name: {
|
|
608
|
+
type: 'string',
|
|
609
|
+
description: 'Name of the secret to delete',
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
required: ['name'],
|
|
613
|
+
},
|
|
614
|
+
annotations: {
|
|
615
|
+
title: 'Secret Deletion',
|
|
616
|
+
readOnlyHint: false,
|
|
617
|
+
destructiveHint: true,
|
|
618
|
+
idempotentHint: true,
|
|
619
|
+
openWorldHint: false,
|
|
620
|
+
},
|
|
621
|
+
};
|
|
326
622
|
return [
|
|
327
623
|
buddyDoTool,
|
|
328
624
|
buddyRememberTool,
|
|
329
625
|
buddyHelpTool,
|
|
330
626
|
getSessionHealthTool,
|
|
331
627
|
getWorkflowGuidanceTool,
|
|
332
|
-
generateSmartPlanTool,
|
|
333
628
|
buddyRecordMistakeTool,
|
|
334
629
|
createEntitiesTool,
|
|
630
|
+
buddySecretStoreTool,
|
|
631
|
+
buddySecretGetTool,
|
|
632
|
+
buddySecretListTool,
|
|
633
|
+
buddySecretDeleteTool,
|
|
634
|
+
a2aSendTaskTool,
|
|
635
|
+
a2aGetTaskTool,
|
|
636
|
+
a2aListTasksTool,
|
|
637
|
+
a2aListAgentsTool,
|
|
335
638
|
hookToolUseTool,
|
|
639
|
+
generateTestsTool,
|
|
336
640
|
];
|
|
337
641
|
}
|
|
338
642
|
//# sourceMappingURL=ToolDefinitions.js.map
|