@pcircle/memesh 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +536 -0
- package/README.md.backup +536 -0
- package/README.zh-TW.md +446 -0
- package/README.zh-TW.md.backup +446 -0
- 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 +89 -0
- package/dist/agents/DevelopmentButler.d.ts.map +1 -0
- package/dist/agents/DevelopmentButler.js +449 -0
- package/dist/agents/DevelopmentButler.js.map +1 -0
- package/dist/agents/E2EHealingAgent.d.ts +29 -0
- package/dist/agents/E2EHealingAgent.d.ts.map +1 -0
- package/dist/agents/E2EHealingAgent.js +148 -0
- package/dist/agents/E2EHealingAgent.js.map +1 -0
- package/dist/agents/TestWriterAgent.d.ts +26 -0
- package/dist/agents/TestWriterAgent.d.ts.map +1 -0
- package/dist/agents/TestWriterAgent.js +139 -0
- package/dist/agents/TestWriterAgent.js.map +1 -0
- package/dist/agents/base/AgentExecutor.d.ts +7 -0
- package/dist/agents/base/AgentExecutor.d.ts.map +1 -0
- package/dist/agents/base/AgentExecutor.js +13 -0
- package/dist/agents/base/AgentExecutor.js.map +1 -0
- package/dist/agents/base/index.d.ts +2 -0
- package/dist/agents/base/index.d.ts.map +1 -0
- package/dist/agents/base/index.js +2 -0
- package/dist/agents/base/index.js.map +1 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.d.ts +24 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.d.ts.map +1 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.js +55 -0
- package/dist/agents/e2e-healing/analyzers/EvidenceCollector.js.map +1 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.d.ts +22 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.d.ts.map +1 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.js +36 -0
- package/dist/agents/e2e-healing/analyzers/FailureAnalyzer.js.map +1 -0
- package/dist/agents/e2e-healing/config.d.ts +4 -0
- package/dist/agents/e2e-healing/config.d.ts.map +1 -0
- package/dist/agents/e2e-healing/config.js +28 -0
- package/dist/agents/e2e-healing/config.js.map +1 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.d.ts +21 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.d.ts.map +1 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.js +33 -0
- package/dist/agents/e2e-healing/generators/FixGenerator.js.map +1 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.d.ts +29 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.d.ts.map +1 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.js +70 -0
- package/dist/agents/e2e-healing/orchestrator/TestOrchestrator.js.map +1 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.d.ts +30 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.d.ts.map +1 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.js +115 -0
- package/dist/agents/e2e-healing/policy/GraduatedAutonomyPolicy.js.map +1 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.d.ts +19 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.d.ts.map +1 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.js +79 -0
- package/dist/agents/e2e-healing/runners/PlaywrightRunner.js.map +1 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.d.ts +26 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.js +75 -0
- package/dist/agents/e2e-healing/safety/CircuitBreaker.js.map +1 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.d.ts +31 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.js +130 -0
- package/dist/agents/e2e-healing/safety/RollbackManager.js.map +1 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.d.ts +21 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.js +62 -0
- package/dist/agents/e2e-healing/safety/SafetyGate.js.map +1 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.d.ts +14 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.d.ts.map +1 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.js +36 -0
- package/dist/agents/e2e-healing/safety/ScopeLimiter.js.map +1 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.d.ts +29 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.d.ts.map +1 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.js +86 -0
- package/dist/agents/e2e-healing/sdk/AgentSDKAdapter.js.map +1 -0
- package/dist/agents/e2e-healing/types.d.ts +46 -0
- package/dist/agents/e2e-healing/types.d.ts.map +1 -0
- package/dist/agents/e2e-healing/types.js +2 -0
- package/dist/agents/e2e-healing/types.js.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraph.d.ts +26 -0
- package/dist/agents/knowledge/KnowledgeGraph.d.ts.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraph.js +106 -0
- package/dist/agents/knowledge/KnowledgeGraph.js.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.d.ts +42 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.d.ts.map +1 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.js +349 -0
- package/dist/agents/knowledge/KnowledgeGraphSQLite.js.map +1 -0
- package/dist/agents/knowledge/index.d.ts +94 -0
- package/dist/agents/knowledge/index.d.ts.map +1 -0
- package/dist/agents/knowledge/index.js +296 -0
- package/dist/agents/knowledge/index.js.map +1 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.d.ts +25 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.d.ts.map +1 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.js +342 -0
- package/dist/agents/knowledge/storage/KnowledgeGraphStore.js.map +1 -0
- package/dist/agents/knowledge/types.d.ts +21 -0
- package/dist/agents/knowledge/types.d.ts.map +1 -0
- package/dist/agents/knowledge/types.js +2 -0
- package/dist/agents/knowledge/types.js.map +1 -0
- package/dist/agents/templates/ci-templates.d.ts +8 -0
- package/dist/agents/templates/ci-templates.d.ts.map +1 -0
- package/dist/agents/templates/ci-templates.js +119 -0
- package/dist/agents/templates/ci-templates.js.map +1 -0
- package/dist/agents/templates/test-templates.d.ts +18 -0
- package/dist/agents/templates/test-templates.d.ts.map +1 -0
- package/dist/agents/templates/test-templates.js +22 -0
- package/dist/agents/templates/test-templates.js.map +1 -0
- package/dist/config/index.d.ts +51 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +94 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/models.d.ts +47 -0
- package/dist/config/models.d.ts.map +1 -0
- package/dist/config/models.js +57 -0
- package/dist/config/models.js.map +1 -0
- package/dist/config/simple-config.d.ts +32 -0
- package/dist/config/simple-config.d.ts.map +1 -0
- package/dist/config/simple-config.js +225 -0
- package/dist/config/simple-config.js.map +1 -0
- package/dist/core/AgentRegistry.d.ts +32 -0
- package/dist/core/AgentRegistry.d.ts.map +1 -0
- package/dist/core/AgentRegistry.js +281 -0
- package/dist/core/AgentRegistry.js.map +1 -0
- package/dist/core/BackgroundExecutor.d.ts +56 -0
- package/dist/core/BackgroundExecutor.d.ts.map +1 -0
- package/dist/core/BackgroundExecutor.js +492 -0
- package/dist/core/BackgroundExecutor.js.map +1 -0
- package/dist/core/CheckpointDetector.d.ts +25 -0
- package/dist/core/CheckpointDetector.d.ts.map +1 -0
- package/dist/core/CheckpointDetector.js +67 -0
- package/dist/core/CheckpointDetector.js.map +1 -0
- package/dist/core/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/ExecutionMonitor.d.ts +29 -0
- package/dist/core/ExecutionMonitor.d.ts.map +1 -0
- package/dist/core/ExecutionMonitor.js +124 -0
- package/dist/core/ExecutionMonitor.js.map +1 -0
- package/dist/core/ExecutionQueue.d.ts +21 -0
- package/dist/core/ExecutionQueue.d.ts.map +1 -0
- package/dist/core/ExecutionQueue.js +104 -0
- package/dist/core/ExecutionQueue.js.map +1 -0
- package/dist/core/HealthCheck.d.ts +39 -0
- package/dist/core/HealthCheck.d.ts.map +1 -0
- package/dist/core/HealthCheck.js +219 -0
- package/dist/core/HealthCheck.js.map +1 -0
- package/dist/core/HookIntegration.d.ts +53 -0
- package/dist/core/HookIntegration.d.ts.map +1 -0
- package/dist/core/HookIntegration.js +301 -0
- package/dist/core/HookIntegration.js.map +1 -0
- package/dist/core/MCPToolInterface.d.ts +120 -0
- package/dist/core/MCPToolInterface.d.ts.map +1 -0
- package/dist/core/MCPToolInterface.js +376 -0
- package/dist/core/MCPToolInterface.js.map +1 -0
- package/dist/core/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 +13 -0
- package/dist/core/PromptEnhancer.d.ts.map +1 -0
- package/dist/core/PromptEnhancer.js +112 -0
- package/dist/core/PromptEnhancer.js.map +1 -0
- package/dist/core/ResourceMonitor.d.ts +32 -0
- package/dist/core/ResourceMonitor.d.ts.map +1 -0
- package/dist/core/ResourceMonitor.js +181 -0
- package/dist/core/ResourceMonitor.js.map +1 -0
- package/dist/core/ResultHandler.d.ts +9 -0
- package/dist/core/ResultHandler.d.ts.map +1 -0
- package/dist/core/ResultHandler.js +60 -0
- package/dist/core/ResultHandler.js.map +1 -0
- package/dist/core/ServiceLocator.d.ts +10 -0
- package/dist/core/ServiceLocator.d.ts.map +1 -0
- package/dist/core/ServiceLocator.js +29 -0
- package/dist/core/ServiceLocator.js.map +1 -0
- package/dist/core/SessionContextMonitor.d.ts +41 -0
- package/dist/core/SessionContextMonitor.d.ts.map +1 -0
- package/dist/core/SessionContextMonitor.js +156 -0
- package/dist/core/SessionContextMonitor.js.map +1 -0
- package/dist/core/SessionTokenTracker.d.ts +43 -0
- package/dist/core/SessionTokenTracker.d.ts.map +1 -0
- package/dist/core/SessionTokenTracker.js +76 -0
- package/dist/core/SessionTokenTracker.js.map +1 -0
- package/dist/core/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/TaskScheduler.d.ts +19 -0
- package/dist/core/TaskScheduler.d.ts.map +1 -0
- package/dist/core/TaskScheduler.js +59 -0
- package/dist/core/TaskScheduler.js.map +1 -0
- package/dist/core/TestOutputParser.d.ts +20 -0
- package/dist/core/TestOutputParser.d.ts.map +1 -0
- package/dist/core/TestOutputParser.js +144 -0
- package/dist/core/TestOutputParser.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 +42 -0
- package/dist/core/WorkflowGuidanceEngine.d.ts.map +1 -0
- package/dist/core/WorkflowGuidanceEngine.js +141 -0
- package/dist/core/WorkflowGuidanceEngine.js.map +1 -0
- package/dist/core/types.d.ts +66 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +11 -0
- package/dist/core/types.js.map +1 -0
- package/dist/db/ConnectionPool.d.ts +47 -0
- package/dist/db/ConnectionPool.d.ts.map +1 -0
- package/dist/db/ConnectionPool.js +432 -0
- package/dist/db/ConnectionPool.js.map +1 -0
- package/dist/db/QueryCache.d.ts +46 -0
- package/dist/db/QueryCache.d.ts.map +1 -0
- package/dist/db/QueryCache.js +229 -0
- package/dist/db/QueryCache.js.map +1 -0
- package/dist/errors/index.d.ts +62 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +124 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/evolution/ABTestManager.d.ts +21 -0
- package/dist/evolution/ABTestManager.d.ts.map +1 -0
- package/dist/evolution/ABTestManager.js +183 -0
- package/dist/evolution/ABTestManager.js.map +1 -0
- package/dist/evolution/AgentEvolutionConfig.d.ts +32 -0
- package/dist/evolution/AgentEvolutionConfig.d.ts.map +1 -0
- package/dist/evolution/AgentEvolutionConfig.js +311 -0
- package/dist/evolution/AgentEvolutionConfig.js.map +1 -0
- package/dist/evolution/CloudEvolutionClient.d.ts +39 -0
- package/dist/evolution/CloudEvolutionClient.d.ts.map +1 -0
- package/dist/evolution/CloudEvolutionClient.js +35 -0
- package/dist/evolution/CloudEvolutionClient.js.map +1 -0
- package/dist/evolution/ContextMatcher.d.ts +24 -0
- package/dist/evolution/ContextMatcher.d.ts.map +1 -0
- package/dist/evolution/ContextMatcher.js +85 -0
- package/dist/evolution/ContextMatcher.js.map +1 -0
- package/dist/evolution/EvolutionBootstrap.d.ts +69 -0
- package/dist/evolution/EvolutionBootstrap.d.ts.map +1 -0
- package/dist/evolution/EvolutionBootstrap.js +332 -0
- package/dist/evolution/EvolutionBootstrap.js.map +1 -0
- package/dist/evolution/EvolutionMonitor.d.ts +10 -0
- package/dist/evolution/EvolutionMonitor.d.ts.map +1 -0
- package/dist/evolution/EvolutionMonitor.js +17 -0
- package/dist/evolution/EvolutionMonitor.js.map +1 -0
- package/dist/evolution/FeedbackCollector.d.ts +19 -0
- package/dist/evolution/FeedbackCollector.d.ts.map +1 -0
- package/dist/evolution/FeedbackCollector.js +34 -0
- package/dist/evolution/FeedbackCollector.js.map +1 -0
- package/dist/evolution/KnowledgeTransferManager.d.ts +16 -0
- package/dist/evolution/KnowledgeTransferManager.d.ts.map +1 -0
- package/dist/evolution/KnowledgeTransferManager.js +50 -0
- package/dist/evolution/KnowledgeTransferManager.js.map +1 -0
- package/dist/evolution/LearningManager.d.ts +18 -0
- package/dist/evolution/LearningManager.d.ts.map +1 -0
- package/dist/evolution/LearningManager.js +71 -0
- package/dist/evolution/LearningManager.js.map +1 -0
- package/dist/evolution/LocalMistakeDetector.d.ts +20 -0
- package/dist/evolution/LocalMistakeDetector.d.ts.map +1 -0
- package/dist/evolution/LocalMistakeDetector.js +233 -0
- package/dist/evolution/LocalMistakeDetector.js.map +1 -0
- package/dist/evolution/MultiObjectiveOptimizer.d.ts +9 -0
- package/dist/evolution/MultiObjectiveOptimizer.d.ts.map +1 -0
- package/dist/evolution/MultiObjectiveOptimizer.js +92 -0
- package/dist/evolution/MultiObjectiveOptimizer.js.map +1 -0
- package/dist/evolution/PatternExplainer.d.ts +14 -0
- package/dist/evolution/PatternExplainer.d.ts.map +1 -0
- package/dist/evolution/PatternExplainer.js +113 -0
- package/dist/evolution/PatternExplainer.js.map +1 -0
- package/dist/evolution/PerformanceTracker.d.ts +29 -0
- package/dist/evolution/PerformanceTracker.d.ts.map +1 -0
- package/dist/evolution/PerformanceTracker.js +281 -0
- package/dist/evolution/PerformanceTracker.js.map +1 -0
- package/dist/evolution/StatisticalAnalyzer.d.ts +20 -0
- package/dist/evolution/StatisticalAnalyzer.d.ts.map +1 -0
- package/dist/evolution/StatisticalAnalyzer.js +154 -0
- package/dist/evolution/StatisticalAnalyzer.js.map +1 -0
- package/dist/evolution/TransferabilityChecker.d.ts +11 -0
- package/dist/evolution/TransferabilityChecker.d.ts.map +1 -0
- package/dist/evolution/TransferabilityChecker.js +78 -0
- package/dist/evolution/TransferabilityChecker.js.map +1 -0
- package/dist/evolution/index.d.ts +8 -0
- package/dist/evolution/index.d.ts.map +1 -0
- package/dist/evolution/index.js +6 -0
- package/dist/evolution/index.js.map +1 -0
- package/dist/evolution/instrumentation/SpanTracker.d.ts +64 -0
- package/dist/evolution/instrumentation/SpanTracker.d.ts.map +1 -0
- package/dist/evolution/instrumentation/SpanTracker.js +229 -0
- package/dist/evolution/instrumentation/SpanTracker.js.map +1 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.d.ts +19 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.d.ts.map +1 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.js +255 -0
- package/dist/evolution/instrumentation/withEvolutionTracking.js.map +1 -0
- package/dist/evolution/integration-test-scenarios.d.ts +56 -0
- package/dist/evolution/integration-test-scenarios.d.ts.map +1 -0
- package/dist/evolution/integration-test-scenarios.js +131 -0
- package/dist/evolution/integration-test-scenarios.js.map +1 -0
- package/dist/evolution/links/LinkManager.d.ts +17 -0
- package/dist/evolution/links/LinkManager.d.ts.map +1 -0
- package/dist/evolution/links/LinkManager.js +41 -0
- package/dist/evolution/links/LinkManager.js.map +1 -0
- package/dist/evolution/storage/EvolutionStore.d.ts +87 -0
- package/dist/evolution/storage/EvolutionStore.d.ts.map +1 -0
- package/dist/evolution/storage/EvolutionStore.js +2 -0
- package/dist/evolution/storage/EvolutionStore.js.map +1 -0
- package/dist/evolution/storage/IEvolutionStore.d.ts +87 -0
- package/dist/evolution/storage/IEvolutionStore.d.ts.map +1 -0
- package/dist/evolution/storage/IEvolutionStore.js +2 -0
- package/dist/evolution/storage/IEvolutionStore.js.map +1 -0
- package/dist/evolution/storage/SQLiteStore.d.ts +115 -0
- package/dist/evolution/storage/SQLiteStore.d.ts.map +1 -0
- package/dist/evolution/storage/SQLiteStore.js +918 -0
- package/dist/evolution/storage/SQLiteStore.js.map +1 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.d.ts +109 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.d.ts.map +1 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.js +1033 -0
- package/dist/evolution/storage/deprecated/SQLiteStore.basic.js.map +1 -0
- package/dist/evolution/storage/index.d.ts +6 -0
- package/dist/evolution/storage/index.d.ts.map +1 -0
- package/dist/evolution/storage/index.js +3 -0
- package/dist/evolution/storage/index.js.map +1 -0
- package/dist/evolution/storage/migrations/MigrationManager.d.ts +17 -0
- package/dist/evolution/storage/migrations/MigrationManager.d.ts.map +1 -0
- package/dist/evolution/storage/migrations/MigrationManager.js +242 -0
- package/dist/evolution/storage/migrations/MigrationManager.js.map +1 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.d.ts +17 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.js +82 -0
- package/dist/evolution/storage/repositories/AdaptationRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.d.ts +43 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.js +157 -0
- package/dist/evolution/storage/repositories/CostRecordsRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.d.ts +12 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.js +87 -0
- package/dist/evolution/storage/repositories/ExecutionRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/PatternRepository.d.ts +12 -0
- package/dist/evolution/storage/repositories/PatternRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/PatternRepository.js +150 -0
- package/dist/evolution/storage/repositories/PatternRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.d.ts +39 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.js +130 -0
- package/dist/evolution/storage/repositories/PerformanceMetricsRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/RewardRepository.d.ts +17 -0
- package/dist/evolution/storage/repositories/RewardRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/RewardRepository.js +82 -0
- package/dist/evolution/storage/repositories/RewardRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/SpanRepository.d.ts +14 -0
- package/dist/evolution/storage/repositories/SpanRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/SpanRepository.js +191 -0
- package/dist/evolution/storage/repositories/SpanRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/StatsRepository.d.ts +16 -0
- package/dist/evolution/storage/repositories/StatsRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/StatsRepository.js +271 -0
- package/dist/evolution/storage/repositories/StatsRepository.js.map +1 -0
- package/dist/evolution/storage/repositories/TaskRepository.d.ts +16 -0
- package/dist/evolution/storage/repositories/TaskRepository.d.ts.map +1 -0
- package/dist/evolution/storage/repositories/TaskRepository.js +93 -0
- package/dist/evolution/storage/repositories/TaskRepository.js.map +1 -0
- package/dist/evolution/storage/schema.d.ts +81 -0
- package/dist/evolution/storage/schema.d.ts.map +1 -0
- package/dist/evolution/storage/schema.js +241 -0
- package/dist/evolution/storage/schema.js.map +1 -0
- package/dist/evolution/storage/types.d.ts +402 -0
- package/dist/evolution/storage/types.d.ts.map +1 -0
- package/dist/evolution/storage/types.js +2 -0
- package/dist/evolution/storage/types.js.map +1 -0
- package/dist/evolution/storage/validation.d.ts +12 -0
- package/dist/evolution/storage/validation.d.ts.map +1 -0
- package/dist/evolution/storage/validation.js +88 -0
- package/dist/evolution/storage/validation.js.map +1 -0
- package/dist/evolution/types.d.ts +248 -0
- package/dist/evolution/types.d.ts.map +1 -0
- package/dist/evolution/types.js +13 -0
- package/dist/evolution/types.js.map +1 -0
- 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 +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +108 -0
- package/dist/index.js.map +1 -0
- package/dist/knowledge-graph/index.d.ts +26 -0
- package/dist/knowledge-graph/index.d.ts.map +1 -0
- package/dist/knowledge-graph/index.js +353 -0
- package/dist/knowledge-graph/index.js.map +1 -0
- package/dist/knowledge-graph/types.d.ts +37 -0
- package/dist/knowledge-graph/types.d.ts.map +1 -0
- package/dist/knowledge-graph/types.js +2 -0
- package/dist/knowledge-graph/types.js.map +1 -0
- package/dist/management/UninstallManager.d.ts +23 -0
- package/dist/management/UninstallManager.d.ts.map +1 -0
- package/dist/management/UninstallManager.js +186 -0
- package/dist/management/UninstallManager.js.map +1 -0
- package/dist/management/index.d.ts +3 -0
- package/dist/management/index.d.ts.map +1 -0
- package/dist/management/index.js +2 -0
- package/dist/management/index.js.map +1 -0
- package/dist/mcp/BuddyCommands.d.ts +13 -0
- package/dist/mcp/BuddyCommands.d.ts.map +1 -0
- package/dist/mcp/BuddyCommands.js +110 -0
- package/dist/mcp/BuddyCommands.js.map +1 -0
- package/dist/mcp/ClaudeMdReloader.d.ts +37 -0
- package/dist/mcp/ClaudeMdReloader.d.ts.map +1 -0
- package/dist/mcp/ClaudeMdReloader.js +92 -0
- package/dist/mcp/ClaudeMdReloader.js.map +1 -0
- package/dist/mcp/HumanInLoopUI.d.ts +23 -0
- package/dist/mcp/HumanInLoopUI.d.ts.map +1 -0
- package/dist/mcp/HumanInLoopUI.js +92 -0
- package/dist/mcp/HumanInLoopUI.js.map +1 -0
- package/dist/mcp/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 +50 -0
- package/dist/mcp/ServerInitializer.d.ts.map +1 -0
- package/dist/mcp/ServerInitializer.js +96 -0
- package/dist/mcp/ServerInitializer.js.map +1 -0
- package/dist/mcp/SessionBootstrapper.d.ts +11 -0
- package/dist/mcp/SessionBootstrapper.d.ts.map +1 -0
- package/dist/mcp/SessionBootstrapper.js +67 -0
- package/dist/mcp/SessionBootstrapper.js.map +1 -0
- package/dist/mcp/ToolDefinitions.d.ts +43 -0
- package/dist/mcp/ToolDefinitions.d.ts.map +1 -0
- package/dist/mcp/ToolDefinitions.js +642 -0
- package/dist/mcp/ToolDefinitions.js.map +1 -0
- package/dist/mcp/ToolRouter.d.ts +27 -0
- package/dist/mcp/ToolRouter.d.ts.map +1 -0
- package/dist/mcp/ToolRouter.js +165 -0
- package/dist/mcp/ToolRouter.js.map +1 -0
- 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 +16 -0
- package/dist/mcp/handlers/BuddyHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/BuddyHandlers.js +154 -0
- package/dist/mcp/handlers/BuddyHandlers.js.map +1 -0
- package/dist/mcp/handlers/BuddyRecordMistake.d.ts +17 -0
- package/dist/mcp/handlers/BuddyRecordMistake.d.ts.map +1 -0
- package/dist/mcp/handlers/BuddyRecordMistake.js +147 -0
- package/dist/mcp/handlers/BuddyRecordMistake.js.map +1 -0
- package/dist/mcp/handlers/ResourceHandlers.d.ts +3 -0
- package/dist/mcp/handlers/ResourceHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/ResourceHandlers.js +133 -0
- package/dist/mcp/handlers/ResourceHandlers.js.map +1 -0
- 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 +57 -0
- package/dist/mcp/handlers/ToolHandlers.d.ts.map +1 -0
- package/dist/mcp/handlers/ToolHandlers.js +903 -0
- package/dist/mcp/handlers/ToolHandlers.js.map +1 -0
- package/dist/mcp/handlers/index.d.ts +6 -0
- package/dist/mcp/handlers/index.d.ts.map +1 -0
- package/dist/mcp/handlers/index.js +6 -0
- package/dist/mcp/handlers/index.js.map +1 -0
- package/dist/mcp/index.d.ts +5 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +3 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/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 +67 -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/examples.md +56 -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/resources/quick-reference.md +73 -0
- package/dist/mcp/resources/usage-guide.md +92 -0
- package/dist/mcp/schemas/OutputSchemas.d.ts +696 -0
- package/dist/mcp/schemas/OutputSchemas.d.ts.map +1 -0
- package/dist/mcp/schemas/OutputSchemas.js +354 -0
- package/dist/mcp/schemas/OutputSchemas.js.map +1 -0
- package/dist/mcp/server-bootstrap.d.ts +8 -0
- package/dist/mcp/server-bootstrap.d.ts.map +1 -0
- package/dist/mcp/server-bootstrap.js +100 -0
- package/dist/mcp/server-bootstrap.js.map +1 -0
- package/dist/mcp/server.d.ts +18 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +161 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools/add-observations.d.ts +48 -0
- package/dist/mcp/tools/add-observations.d.ts.map +1 -0
- package/dist/mcp/tools/add-observations.js +64 -0
- package/dist/mcp/tools/add-observations.js.map +1 -0
- package/dist/mcp/tools/buddy-do.d.ts +15 -0
- package/dist/mcp/tools/buddy-do.d.ts.map +1 -0
- package/dist/mcp/tools/buddy-do.js +102 -0
- package/dist/mcp/tools/buddy-do.js.map +1 -0
- package/dist/mcp/tools/buddy-help.d.ts +13 -0
- package/dist/mcp/tools/buddy-help.d.ts.map +1 -0
- package/dist/mcp/tools/buddy-help.js +52 -0
- package/dist/mcp/tools/buddy-help.js.map +1 -0
- package/dist/mcp/tools/buddy-remember.d.ts +15 -0
- package/dist/mcp/tools/buddy-remember.d.ts.map +1 -0
- package/dist/mcp/tools/buddy-remember.js +77 -0
- package/dist/mcp/tools/buddy-remember.js.map +1 -0
- package/dist/mcp/tools/create-entities.d.ts +65 -0
- package/dist/mcp/tools/create-entities.d.ts.map +1 -0
- package/dist/mcp/tools/create-entities.js +75 -0
- package/dist/mcp/tools/create-entities.js.map +1 -0
- package/dist/mcp/tools/create-relations.d.ts +60 -0
- package/dist/mcp/tools/create-relations.d.ts.map +1 -0
- package/dist/mcp/tools/create-relations.js +84 -0
- package/dist/mcp/tools/create-relations.js.map +1 -0
- package/dist/mcp/tools/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/tools/health-check.d.ts +10 -0
- package/dist/mcp/tools/health-check.d.ts.map +1 -0
- package/dist/mcp/tools/health-check.js +37 -0
- package/dist/mcp/tools/health-check.js.map +1 -0
- package/dist/mcp/tools/recall-memory.d.ts +31 -0
- package/dist/mcp/tools/recall-memory.d.ts.map +1 -0
- package/dist/mcp/tools/recall-memory.js +31 -0
- package/dist/mcp/tools/recall-memory.js.map +1 -0
- package/dist/mcp/validation.d.ts +133 -0
- package/dist/mcp/validation.d.ts.map +1 -0
- package/dist/mcp/validation.js +153 -0
- package/dist/mcp/validation.js.map +1 -0
- 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 +80 -0
- package/dist/memory/ProjectAutoTracker.d.ts.map +1 -0
- package/dist/memory/ProjectAutoTracker.js +386 -0
- package/dist/memory/ProjectAutoTracker.js.map +1 -0
- package/dist/memory/ProjectMemoryCleanup.d.ts +17 -0
- package/dist/memory/ProjectMemoryCleanup.d.ts.map +1 -0
- package/dist/memory/ProjectMemoryCleanup.js +57 -0
- package/dist/memory/ProjectMemoryCleanup.js.map +1 -0
- package/dist/memory/ProjectMemoryManager.d.ts +15 -0
- package/dist/memory/ProjectMemoryManager.d.ts.map +1 -0
- package/dist/memory/ProjectMemoryManager.js +36 -0
- package/dist/memory/ProjectMemoryManager.js.map +1 -0
- package/dist/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/AgentRouter.d.ts +20 -0
- package/dist/orchestrator/AgentRouter.d.ts.map +1 -0
- package/dist/orchestrator/AgentRouter.js +274 -0
- package/dist/orchestrator/AgentRouter.js.map +1 -0
- package/dist/orchestrator/CostTracker.d.ts +25 -0
- package/dist/orchestrator/CostTracker.d.ts.map +1 -0
- package/dist/orchestrator/CostTracker.js +199 -0
- package/dist/orchestrator/CostTracker.js.map +1 -0
- package/dist/orchestrator/GlobalResourcePool.d.ts +59 -0
- package/dist/orchestrator/GlobalResourcePool.d.ts.map +1 -0
- package/dist/orchestrator/GlobalResourcePool.js +224 -0
- package/dist/orchestrator/GlobalResourcePool.js.map +1 -0
- package/dist/orchestrator/TaskAnalyzer.d.ts +15 -0
- package/dist/orchestrator/TaskAnalyzer.d.ts.map +1 -0
- package/dist/orchestrator/TaskAnalyzer.js +234 -0
- package/dist/orchestrator/TaskAnalyzer.js.map +1 -0
- package/dist/orchestrator/example.d.ts +2 -0
- package/dist/orchestrator/example.d.ts.map +1 -0
- package/dist/orchestrator/example.js +118 -0
- package/dist/orchestrator/example.js.map +1 -0
- package/dist/orchestrator/index.d.ts +82 -0
- package/dist/orchestrator/index.d.ts.map +1 -0
- package/dist/orchestrator/index.js +370 -0
- package/dist/orchestrator/index.js.map +1 -0
- package/dist/orchestrator/router.d.ts +43 -0
- package/dist/orchestrator/router.d.ts.map +1 -0
- package/dist/orchestrator/router.js +95 -0
- package/dist/orchestrator/router.js.map +1 -0
- package/dist/orchestrator/types.d.ts +60 -0
- package/dist/orchestrator/types.d.ts.map +1 -0
- package/dist/orchestrator/types.js +2 -0
- package/dist/orchestrator/types.js.map +1 -0
- package/dist/planning/TaskDecomposer.d.ts +32 -0
- package/dist/planning/TaskDecomposer.d.ts.map +1 -0
- package/dist/planning/TaskDecomposer.js +152 -0
- package/dist/planning/TaskDecomposer.js.map +1 -0
- package/dist/prompts/templates/PromptTemplates.d.ts +11 -0
- package/dist/prompts/templates/PromptTemplates.d.ts.map +1 -0
- package/dist/prompts/templates/PromptTemplates.js +942 -0
- package/dist/prompts/templates/PromptTemplates.js.map +1 -0
- package/dist/prompts/templates/index.d.ts +2 -0
- package/dist/prompts/templates/index.d.ts.map +1 -0
- package/dist/prompts/templates/index.js +2 -0
- package/dist/prompts/templates/index.js.map +1 -0
- package/dist/skills/SkillManager.d.ts +33 -0
- package/dist/skills/SkillManager.d.ts.map +1 -0
- package/dist/skills/SkillManager.js +153 -0
- package/dist/skills/SkillManager.js.map +1 -0
- package/dist/skills/index.d.ts +3 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +2 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/telemetry/TelemetryCollector.d.ts +19 -0
- package/dist/telemetry/TelemetryCollector.d.ts.map +1 -0
- package/dist/telemetry/TelemetryCollector.js +62 -0
- package/dist/telemetry/TelemetryCollector.js.map +1 -0
- package/dist/telemetry/TelemetryStore.d.ts +20 -0
- package/dist/telemetry/TelemetryStore.d.ts.map +1 -0
- package/dist/telemetry/TelemetryStore.js +126 -0
- package/dist/telemetry/TelemetryStore.js.map +1 -0
- package/dist/telemetry/index.d.ts +8 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +33 -0
- package/dist/telemetry/index.js.map +1 -0
- package/dist/telemetry/sanitization.d.ts +6 -0
- package/dist/telemetry/sanitization.d.ts.map +1 -0
- package/dist/telemetry/sanitization.js +180 -0
- package/dist/telemetry/sanitization.js.map +1 -0
- package/dist/telemetry/types.d.ts +73 -0
- package/dist/telemetry/types.d.ts.map +1 -0
- package/dist/telemetry/types.js +16 -0
- package/dist/telemetry/types.js.map +1 -0
- package/dist/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/types/AgentClassification.d.ts +6 -0
- package/dist/types/AgentClassification.d.ts.map +1 -0
- package/dist/types/AgentClassification.js +7 -0
- package/dist/types/AgentClassification.js.map +1 -0
- package/dist/types/Checkpoint.d.ts +12 -0
- package/dist/types/Checkpoint.d.ts.map +1 -0
- package/dist/types/Checkpoint.js +13 -0
- package/dist/types/Checkpoint.js.map +1 -0
- package/dist/types/toonify.d.ts +91 -0
- package/dist/types/toonify.d.ts.map +1 -0
- package/dist/types/toonify.js +18 -0
- package/dist/types/toonify.js.map +1 -0
- package/dist/ui/AsciiProgressBar.d.ts +29 -0
- package/dist/ui/AsciiProgressBar.d.ts.map +1 -0
- package/dist/ui/AsciiProgressBar.js +131 -0
- package/dist/ui/AsciiProgressBar.js.map +1 -0
- package/dist/ui/AttributionManager.d.ts +19 -0
- package/dist/ui/AttributionManager.d.ts.map +1 -0
- package/dist/ui/AttributionManager.js +107 -0
- package/dist/ui/AttributionManager.js.map +1 -0
- package/dist/ui/Dashboard.d.ts +24 -0
- package/dist/ui/Dashboard.d.ts.map +1 -0
- package/dist/ui/Dashboard.js +135 -0
- package/dist/ui/Dashboard.js.map +1 -0
- package/dist/ui/LoadingIndicator.d.ts +53 -0
- package/dist/ui/LoadingIndicator.d.ts.map +1 -0
- package/dist/ui/LoadingIndicator.js +174 -0
- package/dist/ui/LoadingIndicator.js.map +1 -0
- package/dist/ui/MetricsStore.d.ts +15 -0
- package/dist/ui/MetricsStore.d.ts.map +1 -0
- package/dist/ui/MetricsStore.js +111 -0
- package/dist/ui/MetricsStore.js.map +1 -0
- package/dist/ui/ProgressRenderer.d.ts +24 -0
- package/dist/ui/ProgressRenderer.d.ts.map +1 -0
- package/dist/ui/ProgressRenderer.js +121 -0
- package/dist/ui/ProgressRenderer.js.map +1 -0
- package/dist/ui/ResponseFormatter.d.ts +42 -0
- package/dist/ui/ResponseFormatter.d.ts.map +1 -0
- package/dist/ui/ResponseFormatter.js +243 -0
- package/dist/ui/ResponseFormatter.js.map +1 -0
- package/dist/ui/UIEventBus.d.ts +38 -0
- package/dist/ui/UIEventBus.d.ts.map +1 -0
- package/dist/ui/UIEventBus.js +173 -0
- package/dist/ui/UIEventBus.js.map +1 -0
- package/dist/ui/index.d.ts +8 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +6 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/theme.d.ts +292 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +153 -0
- package/dist/ui/theme.js.map +1 -0
- package/dist/ui/types.d.ts +146 -0
- package/dist/ui/types.d.ts.map +1 -0
- package/dist/ui/types.js +16 -0
- package/dist/ui/types.js.map +1 -0
- package/dist/utils/ILogger.d.ts +7 -0
- package/dist/utils/ILogger.d.ts.map +1 -0
- package/dist/utils/ILogger.js +2 -0
- package/dist/utils/ILogger.js.map +1 -0
- package/dist/utils/MinHeap.d.ts +15 -0
- package/dist/utils/MinHeap.d.ts.map +1 -0
- package/dist/utils/MinHeap.js +69 -0
- package/dist/utils/MinHeap.js.map +1 -0
- package/dist/utils/RateLimiter.d.ts +28 -0
- package/dist/utils/RateLimiter.d.ts.map +1 -0
- package/dist/utils/RateLimiter.js +115 -0
- package/dist/utils/RateLimiter.js.map +1 -0
- package/dist/utils/SystemResources.d.ts +40 -0
- package/dist/utils/SystemResources.d.ts.map +1 -0
- package/dist/utils/SystemResources.js +221 -0
- package/dist/utils/SystemResources.js.map +1 -0
- package/dist/utils/errorHandler.d.ts +28 -0
- package/dist/utils/errorHandler.d.ts.map +1 -0
- package/dist/utils/errorHandler.js +206 -0
- package/dist/utils/errorHandler.js.map +1 -0
- package/dist/utils/json.d.ts +13 -0
- package/dist/utils/json.d.ts.map +1 -0
- package/dist/utils/json.js +85 -0
- package/dist/utils/json.js.map +1 -0
- package/dist/utils/logger.d.ts +16 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +63 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/lru-cache.d.ts +40 -0
- package/dist/utils/lru-cache.d.ts.map +1 -0
- package/dist/utils/lru-cache.js +209 -0
- package/dist/utils/lru-cache.js.map +1 -0
- package/dist/utils/memory.d.ts +20 -0
- package/dist/utils/memory.d.ts.map +1 -0
- package/dist/utils/memory.js +53 -0
- package/dist/utils/memory.js.map +1 -0
- package/dist/utils/money.d.ts +10 -0
- package/dist/utils/money.d.ts.map +1 -0
- package/dist/utils/money.js +25 -0
- package/dist/utils/money.js.map +1 -0
- package/dist/utils/pathValidation.d.ts +2 -0
- package/dist/utils/pathValidation.d.ts.map +1 -0
- package/dist/utils/pathValidation.js +62 -0
- package/dist/utils/pathValidation.js.map +1 -0
- package/dist/utils/paths.d.ts +4 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +28 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/requestId.d.ts +4 -0
- package/dist/utils/requestId.d.ts.map +1 -0
- package/dist/utils/requestId.js +17 -0
- package/dist/utils/requestId.js.map +1 -0
- package/dist/utils/retry.d.ts +20 -0
- package/dist/utils/retry.d.ts.map +1 -0
- package/dist/utils/retry.js +226 -0
- package/dist/utils/retry.js.map +1 -0
- package/dist/utils/toonify-adapter.d.ts +77 -0
- package/dist/utils/toonify-adapter.d.ts.map +1 -0
- package/dist/utils/toonify-adapter.js +283 -0
- package/dist/utils/toonify-adapter.js.map +1 -0
- package/package.json +129 -0
- package/plugin.json +21 -0
- package/scripts/postinstall.js +13 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
# Claude Code Buddy (CCB) - Complete Tool Guide
|
|
2
|
+
|
|
3
|
+
**For LLMs**: This guide helps you actively use CCB's 17 tools. Use tools proactively based on triggers, not just when explicitly requested.
|
|
4
|
+
|
|
5
|
+
## Quick Reference: When to Use Each Tool
|
|
6
|
+
|
|
7
|
+
| User Says | Use Tool | Why |
|
|
8
|
+
|-----------|----------|-----|
|
|
9
|
+
| "remember when we..." | `buddy-remember` | Search project memory |
|
|
10
|
+
| "what did we decide..." | `buddy-remember` | Recall past decisions |
|
|
11
|
+
| "why did we choose..." | `buddy-remember` | Find architecture choices |
|
|
12
|
+
| "do this task..." | `buddy-do` | Execute with smart routing |
|
|
13
|
+
| "implement X..." | `buddy-do` | Task execution |
|
|
14
|
+
| "generate tests..." | `generate-tests` | Create test cases |
|
|
15
|
+
| "save this API key..." | `buddy-secret-store` | Store secrets securely |
|
|
16
|
+
| "get my token..." | `buddy-secret-get` | Retrieve secrets |
|
|
17
|
+
| "another session should..." | `a2a-send-task` | Multi-session collaboration |
|
|
18
|
+
| "what's my progress..." | `get-session-health` | Check token usage |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Core Tools (Daily Use)
|
|
23
|
+
|
|
24
|
+
### buddy-remember: Project Memory Search
|
|
25
|
+
**Triggers**: remember, recall, past, decision, why, when, bug, pattern, architecture
|
|
26
|
+
|
|
27
|
+
**When to use**:
|
|
28
|
+
- User asks "why did we..."
|
|
29
|
+
- User asks "remember when..."
|
|
30
|
+
- Starting work on existing feature (check past decisions)
|
|
31
|
+
- Before making architectural changes (review previous choices)
|
|
32
|
+
- Debugging (check if similar bug was fixed before)
|
|
33
|
+
|
|
34
|
+
**Examples**:
|
|
35
|
+
```typescript
|
|
36
|
+
// User: "Why did we use JWT instead of sessions?"
|
|
37
|
+
buddy-remember({ query: "JWT authentication decision" })
|
|
38
|
+
|
|
39
|
+
// User: "Has this bug happened before?"
|
|
40
|
+
buddy-remember({ query: "login timeout bug" })
|
|
41
|
+
|
|
42
|
+
// Proactive: Starting auth work
|
|
43
|
+
buddy-remember({ query: "authentication patterns" })
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Best practices**:
|
|
47
|
+
- Search BEFORE implementing (check existing patterns)
|
|
48
|
+
- Use specific keywords from domain (not generic terms)
|
|
49
|
+
- Query when user mentions "we did this before"
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
### buddy-do: Smart Task Execution
|
|
54
|
+
**Triggers**: implement, create, build, fix, refactor, add, update
|
|
55
|
+
|
|
56
|
+
**When to use**:
|
|
57
|
+
- User requests implementation work
|
|
58
|
+
- Task requires routing to appropriate capability
|
|
59
|
+
- Want automatic task metadata capture
|
|
60
|
+
|
|
61
|
+
**Examples**:
|
|
62
|
+
```typescript
|
|
63
|
+
// User: "Add rate limiting to the API"
|
|
64
|
+
buddy-do({
|
|
65
|
+
task: "Add rate limiting to API endpoints because we're getting too many requests so that server stays responsive under load"
|
|
66
|
+
})
|
|
67
|
+
|
|
68
|
+
// Include: what (rate limiting) + why (too many requests) + outcome (stay responsive)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Best practices**:
|
|
72
|
+
- Include goal + reason + expected outcome
|
|
73
|
+
- Let buddy-do handle routing (don't manually route)
|
|
74
|
+
- Task metadata auto-saved to knowledge graph
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### create-entities: Store Knowledge
|
|
79
|
+
**Triggers**: Completed major work, made important decision, learned lesson, fixed bug
|
|
80
|
+
|
|
81
|
+
**When to use** (PROACTIVE):
|
|
82
|
+
- After implementing new feature (store decision rationale)
|
|
83
|
+
- After fixing bug (record root cause)
|
|
84
|
+
- After making architectural choice (document why)
|
|
85
|
+
- User explicitly corrects you (record mistake pattern)
|
|
86
|
+
|
|
87
|
+
**Examples**:
|
|
88
|
+
```typescript
|
|
89
|
+
// After implementing OAuth
|
|
90
|
+
create-entities({
|
|
91
|
+
entities: [{
|
|
92
|
+
name: "OAuth2 Implementation Decision",
|
|
93
|
+
entityType: "decision",
|
|
94
|
+
observations: [
|
|
95
|
+
"Chose OAuth2 over JWT for better revocation control",
|
|
96
|
+
"Used authorization code flow for web clients",
|
|
97
|
+
"Implemented PKCE for mobile apps"
|
|
98
|
+
],
|
|
99
|
+
tags: ["authentication", "oauth", "security"]
|
|
100
|
+
}]
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
// After fixing bug
|
|
104
|
+
create-entities({
|
|
105
|
+
entities: [{
|
|
106
|
+
name: "Login Timeout Bug Fix",
|
|
107
|
+
entityType: "bug_fix",
|
|
108
|
+
observations: [
|
|
109
|
+
"Root cause: Redis connection pooling exhaustion",
|
|
110
|
+
"Solution: Increased pool size to 20 connections",
|
|
111
|
+
"Prevention: Added connection pool monitoring"
|
|
112
|
+
],
|
|
113
|
+
tags: ["bug", "redis", "timeout"]
|
|
114
|
+
}]
|
|
115
|
+
})
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**Best practices**:
|
|
119
|
+
- Store AFTER completing significant work (not during)
|
|
120
|
+
- Include specific details (not vague summaries)
|
|
121
|
+
- Add relevant tags for future searchability
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Workflow Tools (Automatic Guidance)
|
|
126
|
+
|
|
127
|
+
### get-workflow-guidance: Next Steps
|
|
128
|
+
**Triggers**: Automatically triggered after Write/Edit/Bash (via hooks)
|
|
129
|
+
|
|
130
|
+
**Manual use cases**:
|
|
131
|
+
- User asks "what should I do next?"
|
|
132
|
+
- Starting new phase (idle → code-written → test → commit)
|
|
133
|
+
- Unsure about workflow rules
|
|
134
|
+
|
|
135
|
+
**Phases**:
|
|
136
|
+
- `idle`: Starting fresh work
|
|
137
|
+
- `code-written`: Just finished coding
|
|
138
|
+
- `test-complete`: Tests just ran
|
|
139
|
+
- `commit-ready`: About to commit
|
|
140
|
+
- `committed`: Just committed
|
|
141
|
+
|
|
142
|
+
**Note**: Usually auto-triggered by `hook-tool-use`, rarely called manually.
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
### get-session-health: Token Monitoring
|
|
147
|
+
**Triggers**: Long session, complex task, user asks about progress
|
|
148
|
+
|
|
149
|
+
**When to use**:
|
|
150
|
+
- Session feels slow or degraded
|
|
151
|
+
- User asks "how much context left?"
|
|
152
|
+
- Before starting memory-intensive work
|
|
153
|
+
- When considering session cleanup
|
|
154
|
+
|
|
155
|
+
**Example**:
|
|
156
|
+
```typescript
|
|
157
|
+
get-session-health()
|
|
158
|
+
// Returns: { tokenUsage, contextQuality, recommendations }
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## Learning Tools (Improvement)
|
|
164
|
+
|
|
165
|
+
### buddy-record-mistake: Error Learning
|
|
166
|
+
**Triggers**: User corrects you, says "you should have...", "why didn't you..."
|
|
167
|
+
|
|
168
|
+
**When to use** (IMMEDIATE):
|
|
169
|
+
- User explicitly corrects your behavior
|
|
170
|
+
- You violated documented procedure
|
|
171
|
+
- You made assumption instead of asking
|
|
172
|
+
- You skipped validation step
|
|
173
|
+
- User frustrated with repeated mistake
|
|
174
|
+
|
|
175
|
+
**Examples**:
|
|
176
|
+
```typescript
|
|
177
|
+
// User: "Why did you edit the file without reading it first?"
|
|
178
|
+
buddy-record-mistake({
|
|
179
|
+
action: "Edited config.ts without reading first",
|
|
180
|
+
errorType: "procedure-violation",
|
|
181
|
+
userCorrection: "Must read file before editing",
|
|
182
|
+
correctMethod: "Use Read tool first, then Edit with exact content",
|
|
183
|
+
impact: "Broke file formatting, wasted time",
|
|
184
|
+
preventionMethod: "ALWAYS Read before Edit - no exceptions"
|
|
185
|
+
})
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**Best practices**:
|
|
189
|
+
- Record IMMEDIATELY when corrected (don't wait)
|
|
190
|
+
- Be specific about what you did wrong
|
|
191
|
+
- Include concrete prevention method
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## Secret Management (Security)
|
|
196
|
+
|
|
197
|
+
### buddy-secret-store/get/list/delete
|
|
198
|
+
**Triggers**: API key, token, password, credential, secret
|
|
199
|
+
|
|
200
|
+
**When to use**:
|
|
201
|
+
- User provides API key/token (offer to store securely)
|
|
202
|
+
- Need API key for integration (retrieve from storage)
|
|
203
|
+
- User asks "what secrets do I have?" (list)
|
|
204
|
+
- Rotating credentials (delete old, store new)
|
|
205
|
+
|
|
206
|
+
**Examples**:
|
|
207
|
+
```typescript
|
|
208
|
+
// User shares: "Here's the OpenAI API key: sk-..."
|
|
209
|
+
buddy-secret-store({
|
|
210
|
+
name: "openai-api-key",
|
|
211
|
+
value: "sk-...",
|
|
212
|
+
type: "api_key",
|
|
213
|
+
description: "OpenAI API key for GPT-4 integration"
|
|
214
|
+
})
|
|
215
|
+
|
|
216
|
+
// Later, when needed:
|
|
217
|
+
const key = buddy-secret-get({ name: "openai-api-key" })
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Best practices**:
|
|
221
|
+
- ALWAYS offer to store when user shares secret
|
|
222
|
+
- Use descriptive names (not "key1", "key2")
|
|
223
|
+
- Never log secret values (use masked output)
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Test Generation
|
|
228
|
+
|
|
229
|
+
### generate-tests: AI Test Creation
|
|
230
|
+
**Triggers**: "write tests", "need tests", "generate tests", finished feature without tests
|
|
231
|
+
|
|
232
|
+
**When to use**:
|
|
233
|
+
- Completed feature implementation (no tests yet)
|
|
234
|
+
- User explicitly requests test generation
|
|
235
|
+
- Following TDD (specification → tests → implementation)
|
|
236
|
+
|
|
237
|
+
**Examples**:
|
|
238
|
+
```typescript
|
|
239
|
+
// After implementing function
|
|
240
|
+
generate-tests({
|
|
241
|
+
code: `
|
|
242
|
+
function validateEmail(email: string): boolean {
|
|
243
|
+
const regex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;
|
|
244
|
+
return regex.test(email);
|
|
245
|
+
}
|
|
246
|
+
`
|
|
247
|
+
})
|
|
248
|
+
|
|
249
|
+
// From specification
|
|
250
|
+
generate-tests({
|
|
251
|
+
specification: "Email validator should: accept valid emails, reject invalid formats, handle edge cases (empty, null, special chars)"
|
|
252
|
+
})
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
## Multi-Session Collaboration (A2A Protocol)
|
|
258
|
+
|
|
259
|
+
### a2a-send-task: Delegate to Other Session
|
|
260
|
+
**Triggers**: "another session", "parallel", "split work", "specialized session"
|
|
261
|
+
|
|
262
|
+
**When to use**:
|
|
263
|
+
- User mentions working with multiple sessions
|
|
264
|
+
- Task can be parallelized across sessions
|
|
265
|
+
- Need specialized session (frontend/backend/testing)
|
|
266
|
+
|
|
267
|
+
**Example**:
|
|
268
|
+
```typescript
|
|
269
|
+
// User: "Have another session work on the frontend while I do backend"
|
|
270
|
+
a2a-send-task({
|
|
271
|
+
targetAgentId: "frontend-session-123",
|
|
272
|
+
taskDescription: "Implement React components for user dashboard with charts and tables",
|
|
273
|
+
priority: "normal"
|
|
274
|
+
})
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
### a2a-get-task / list-tasks / list-agents
|
|
280
|
+
**Use together**:
|
|
281
|
+
1. `a2a-list-agents()` - Find available sessions
|
|
282
|
+
2. `a2a-send-task()` - Send work to session
|
|
283
|
+
3. `a2a-get-task()` - Check progress
|
|
284
|
+
4. `a2a-list-tasks()` - See incoming work
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
## Common Workflows
|
|
289
|
+
|
|
290
|
+
### Workflow 1: Starting New Feature
|
|
291
|
+
```
|
|
292
|
+
1. buddy-remember({ query: "similar features patterns" })
|
|
293
|
+
→ Check if similar work exists
|
|
294
|
+
2. buddy-do({ task: "Implement X because Y so that Z" })
|
|
295
|
+
→ Execute with metadata capture
|
|
296
|
+
3. generate-tests({ code: "..." })
|
|
297
|
+
→ Create tests
|
|
298
|
+
4. create-entities({ ... })
|
|
299
|
+
→ Store implementation decisions
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
### Workflow 2: Bug Investigation
|
|
303
|
+
```
|
|
304
|
+
1. buddy-remember({ query: "bug error message" })
|
|
305
|
+
→ Check if bug seen before
|
|
306
|
+
2. buddy-do({ task: "Debug X" })
|
|
307
|
+
→ Investigate and fix
|
|
308
|
+
3. create-entities({ entityType: "bug_fix", ... })
|
|
309
|
+
→ Record root cause and solution
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
### Workflow 3: Multi-Session Collaboration
|
|
313
|
+
```
|
|
314
|
+
1. a2a-list-agents()
|
|
315
|
+
→ Find available sessions
|
|
316
|
+
2. a2a-send-task({ targetAgentId: "...", ... })
|
|
317
|
+
→ Delegate work
|
|
318
|
+
3. Continue with your work
|
|
319
|
+
4. a2a-get-task({ taskId: "..." })
|
|
320
|
+
→ Check progress later
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
### Workflow 4: Secret Management
|
|
324
|
+
```
|
|
325
|
+
1. User shares API key
|
|
326
|
+
2. buddy-secret-store({ name: "...", value: "...", ... })
|
|
327
|
+
→ Store securely
|
|
328
|
+
3. Later: buddy-secret-get({ name: "..." })
|
|
329
|
+
→ Retrieve when needed
|
|
330
|
+
4. Eventually: buddy-secret-delete({ name: "..." })
|
|
331
|
+
→ Remove when rotating
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## Proactive Tool Usage Rules
|
|
337
|
+
|
|
338
|
+
**ALWAYS use without asking**:
|
|
339
|
+
- `buddy-remember` - Before implementing similar features
|
|
340
|
+
- `create-entities` - After completing significant work
|
|
341
|
+
- `buddy-record-mistake` - When user corrects you
|
|
342
|
+
- `buddy-secret-store` - When user shares credentials (ask first)
|
|
343
|
+
|
|
344
|
+
**SOMETIMES use proactively**:
|
|
345
|
+
- `generate-tests` - After implementing untested code (offer)
|
|
346
|
+
- `get-session-health` - Long sessions or complex work
|
|
347
|
+
- `a2a-send-task` - When user mentions parallelization
|
|
348
|
+
|
|
349
|
+
**NEVER use without explicit request**:
|
|
350
|
+
- `buddy-secret-get` - Only when actually needed
|
|
351
|
+
- `buddy-secret-list/delete` - Only when user asks
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
## Anti-Patterns (What NOT to Do)
|
|
356
|
+
|
|
357
|
+
❌ **Don't**:
|
|
358
|
+
- Use `buddy-remember` with generic queries ("authentication")
|
|
359
|
+
- Call `buddy-do` for trivial tasks (use direct tools)
|
|
360
|
+
- Skip `create-entities` after major work
|
|
361
|
+
- Ignore `buddy-record-mistake` when corrected
|
|
362
|
+
- Store secrets without user consent
|
|
363
|
+
|
|
364
|
+
✅ **Do**:
|
|
365
|
+
- Use specific queries ("OAuth2 scope design decision")
|
|
366
|
+
- Let `buddy-do` handle complex multi-step tasks
|
|
367
|
+
- Proactively store knowledge after completion
|
|
368
|
+
- Immediately record mistakes for learning
|
|
369
|
+
- Offer to store secrets securely
|
|
370
|
+
|
|
371
|
+
---
|
|
372
|
+
|
|
373
|
+
## Tool Discovery Tips
|
|
374
|
+
|
|
375
|
+
**For LLMs reading this guide**:
|
|
376
|
+
1. Match user keywords to tool triggers (see Quick Reference)
|
|
377
|
+
2. Use tools proactively (don't wait for explicit requests)
|
|
378
|
+
3. Combine tools in workflows (see Common Workflows)
|
|
379
|
+
4. Store knowledge after work (future you will thank you)
|
|
380
|
+
5. Learn from mistakes (use buddy-record-mistake)
|
|
381
|
+
|
|
382
|
+
**Remember**: CCB tools are meant to be ACTIVELY used, not passively available. When you see trigger keywords or situations, use the appropriate tool to provide better service to users.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Claude Code Buddy Examples
|
|
2
|
+
|
|
3
|
+
**Version: 2.6.0
|
|
4
|
+
|
|
5
|
+
## Example 1: Code Review
|
|
6
|
+
|
|
7
|
+
**Request**:
|
|
8
|
+
```
|
|
9
|
+
buddy-do "review src/auth/login.ts for security issues and edge cases"
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
**Result**: A focused review with security checks, edge cases, and actionable fixes.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Example 2: Feature Planning
|
|
17
|
+
|
|
18
|
+
**Request**:
|
|
19
|
+
```
|
|
20
|
+
generate-tests "add email-based login with rate limiting"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Result**: A structured plan with TDD-friendly steps and estimated durations.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Example 3: Debugging a Failure
|
|
28
|
+
|
|
29
|
+
**Request**:
|
|
30
|
+
```
|
|
31
|
+
buddy-do "debug why login requests return 500s in production"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
**Result**: Root-cause analysis with likely failure paths and verification steps.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Example 4: Memory Recall
|
|
39
|
+
|
|
40
|
+
**Request**:
|
|
41
|
+
```
|
|
42
|
+
buddy-remember "why we chose SQLite for local storage"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Result**: A concise summary of the decision and its tradeoffs.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Example 5: Workflow Guidance
|
|
50
|
+
|
|
51
|
+
**Request**:
|
|
52
|
+
```
|
|
53
|
+
get-workflow-guidance {"phase":"test-complete"}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Result**: Next-step recommendations for code review and commit readiness.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResourceContent } from '../ResourceRegistry.js';
|
|
2
|
+
import { URITemplateParams } from '../URITemplateHandler.js';
|
|
3
|
+
export declare class AgentStatusHandler {
|
|
4
|
+
handle(params: URITemplateParams): Promise<ResourceContent>;
|
|
5
|
+
private getAgentCapabilities;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=AgentStatusHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentStatusHandler.d.ts","sourceRoot":"","sources":["../../../../src/mcp/resources/handlers/AgentStatusHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAyB7D,qBAAa,kBAAkB;IAOvB,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,eAAe,CAAC;IAqCjE,OAAO,CAAC,oBAAoB;CAW7B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { NotFoundError } from '../../../errors/index.js';
|
|
2
|
+
const VALID_AGENT_TYPES = [
|
|
3
|
+
'code-reviewer',
|
|
4
|
+
'test-writer',
|
|
5
|
+
'development-butler',
|
|
6
|
+
'e2e-healing',
|
|
7
|
+
'knowledge-graph',
|
|
8
|
+
];
|
|
9
|
+
export class AgentStatusHandler {
|
|
10
|
+
async handle(params) {
|
|
11
|
+
const agentType = params.agentType;
|
|
12
|
+
if (!agentType) {
|
|
13
|
+
throw new Error('Missing required parameter: agentType');
|
|
14
|
+
}
|
|
15
|
+
if (!VALID_AGENT_TYPES.includes(agentType)) {
|
|
16
|
+
throw new NotFoundError(`Unknown agent type: ${agentType}`, 'agent', agentType, { validTypes: VALID_AGENT_TYPES });
|
|
17
|
+
}
|
|
18
|
+
const status = {
|
|
19
|
+
agentType,
|
|
20
|
+
status: 'active',
|
|
21
|
+
capabilities: this.getAgentCapabilities(agentType),
|
|
22
|
+
lastActive: new Date().toISOString(),
|
|
23
|
+
};
|
|
24
|
+
return {
|
|
25
|
+
uri: `ccb://agent/${agentType}/status`,
|
|
26
|
+
mimeType: 'application/json',
|
|
27
|
+
text: JSON.stringify(status, null, 2),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
getAgentCapabilities(agentType) {
|
|
31
|
+
const capabilities = {
|
|
32
|
+
'code-reviewer': ['review', 'analyze', 'suggest'],
|
|
33
|
+
'test-writer': ['generate-tests', 'test-analysis'],
|
|
34
|
+
'development-butler': ['project-setup', 'dependency-management'],
|
|
35
|
+
'e2e-healing': ['test-healing', 'failure-analysis'],
|
|
36
|
+
'knowledge-graph': ['memory', 'learning', 'recall'],
|
|
37
|
+
};
|
|
38
|
+
return capabilities[agentType] || [];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=AgentStatusHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentStatusHandler.js","sourceRoot":"","sources":["../../../../src/mcp/resources/handlers/AgentStatusHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AASzD,MAAM,iBAAiB,GAAG;IACxB,eAAe;IACf,aAAa;IACb,oBAAoB;IACpB,aAAa;IACb,iBAAiB;CACT,CAAC;AASX,MAAM,OAAO,kBAAkB;IAO7B,KAAK,CAAC,MAAM,CAAC,MAAyB;QACpC,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAEnC,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;QAC3D,CAAC;QAED,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,SAAgB,CAAC,EAAE,CAAC;YAClD,MAAM,IAAI,aAAa,CACrB,uBAAuB,SAAS,EAAE,EAClC,OAAO,EACP,SAAS,EACT,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAClC,CAAC;QACJ,CAAC;QAGD,MAAM,MAAM,GAAgB;YAC1B,SAAS;YACT,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC;YAClD,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACrC,CAAC;QAEF,OAAO;YACL,GAAG,EAAE,eAAe,SAAS,SAAS;YACtC,QAAQ,EAAE,kBAAkB;YAC5B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;SACtC,CAAC;IACJ,CAAC;IAQO,oBAAoB,CAAC,SAAiB;QAC5C,MAAM,YAAY,GAA6B;YAC7C,eAAe,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC;YACjD,aAAa,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;YAClD,oBAAoB,EAAE,CAAC,eAAe,EAAE,uBAAuB,CAAC;YAChE,aAAa,EAAE,CAAC,cAAc,EAAE,kBAAkB,CAAC;YACnD,iBAAiB,EAAE,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC;SACpD,CAAC;QAEF,OAAO,YAAY,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IACvC,CAAC;CACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResourceContent } from '../ResourceRegistry.js';
|
|
2
|
+
import { URITemplateParams } from '../URITemplateHandler.js';
|
|
3
|
+
export declare class TaskLogsHandler {
|
|
4
|
+
handle(params: URITemplateParams): Promise<ResourceContent>;
|
|
5
|
+
private fetchTaskLogs;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=TaskLogsHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskLogsHandler.d.ts","sourceRoot":"","sources":["../../../../src/mcp/resources/handlers/TaskLogsHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAS7D,qBAAa,eAAe;IAOpB,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,eAAe,CAAC;YA+BnD,aAAa;CAqB5B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export class TaskLogsHandler {
|
|
2
|
+
async handle(params) {
|
|
3
|
+
const taskId = params.taskId;
|
|
4
|
+
if (!taskId) {
|
|
5
|
+
throw new Error('Missing required parameter: taskId');
|
|
6
|
+
}
|
|
7
|
+
const logs = await this.fetchTaskLogs(taskId);
|
|
8
|
+
return {
|
|
9
|
+
uri: `ccb://task/${taskId}/logs`,
|
|
10
|
+
mimeType: 'text/plain',
|
|
11
|
+
text: logs,
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
async fetchTaskLogs(taskId) {
|
|
15
|
+
return `Task Logs - Feature Not Yet Available
|
|
16
|
+
=====================================
|
|
17
|
+
|
|
18
|
+
Task ID: ${taskId}
|
|
19
|
+
|
|
20
|
+
Detailed task execution logs are not yet available in this version.
|
|
21
|
+
|
|
22
|
+
This feature requires:
|
|
23
|
+
- Log capture in BackgroundExecutor
|
|
24
|
+
- Log storage in EvolutionStore
|
|
25
|
+
- Integration with task lifecycle tracking
|
|
26
|
+
|
|
27
|
+
Current workaround:
|
|
28
|
+
- Check task status via BackgroundExecutor.getProgress()
|
|
29
|
+
- Monitor console logs during task execution
|
|
30
|
+
- Use UIEventBus for progress events
|
|
31
|
+
|
|
32
|
+
Status: Planned for future release
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=TaskLogsHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskLogsHandler.js","sourceRoot":"","sources":["../../../../src/mcp/resources/handlers/TaskLogsHandler.ts"],"names":[],"mappings":"AAWA,MAAM,OAAO,eAAe;IAO1B,KAAK,CAAC,MAAM,CAAC,MAAyB;QACpC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAE7B,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;QACxD,CAAC;QAGD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAE9C,OAAO;YACL,GAAG,EAAE,cAAc,MAAM,OAAO;YAChC,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE,IAAI;SACX,CAAC;IACJ,CAAC;IAgBO,KAAK,CAAC,aAAa,CAAC,MAAc;QACxC,OAAO;;;WAGA,MAAM;;;;;;;;;;;;;;;CAehB,CAAC;IACA,CAAC;CACF"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Claude Code Buddy Quick Reference
|
|
2
|
+
|
|
3
|
+
**Version: 2.6.0
|
|
4
|
+
|
|
5
|
+
## 🚀 Quick Commands
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
buddy-do "<task description>" # Smart routing (recommended)
|
|
9
|
+
buddy-remember "<query>" # Recall project memory
|
|
10
|
+
buddy-help # Command help
|
|
11
|
+
get-session-health # Session health snapshot
|
|
12
|
+
get-workflow-guidance '{"phase":"code-written"}'
|
|
13
|
+
generate-tests '{"featureDescription":"..."}'
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Note: `hook-tool-use` is internal and used by Claude Code hooks.
|
|
17
|
+
|
|
18
|
+
## 🧭 Capability Keywords
|
|
19
|
+
|
|
20
|
+
| Capability | Keywords | Use For |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| Code Review | review, audit, quality | Security checks, best practices |
|
|
23
|
+
| Testing | test, coverage, TDD | Unit, integration, E2E testing |
|
|
24
|
+
| Debugging | debug, bug, error | Root-cause analysis |
|
|
25
|
+
| Refactoring | refactor, cleanup | Structural improvements |
|
|
26
|
+
| API/Backend | api, endpoint, backend | API design and backend logic |
|
|
27
|
+
| Frontend/UI | ui, component, frontend | UI, accessibility, UX |
|
|
28
|
+
| Architecture | architecture, design, scalability | System design, tradeoffs |
|
|
29
|
+
| Data/Database | database, query, schema | Query tuning, schema design |
|
|
30
|
+
| Documentation | docs, guide, readme | Technical writing |
|
|
31
|
+
|
|
32
|
+
## 🎯 Common Workflows
|
|
33
|
+
|
|
34
|
+
### Feature Development
|
|
35
|
+
```
|
|
36
|
+
1. generate-tests "<feature>"
|
|
37
|
+
2. buddy-do "implement <feature>"
|
|
38
|
+
3. buddy-do "write tests for <feature>"
|
|
39
|
+
4. buddy-do "review <feature> for quality"
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Bug Fixing
|
|
43
|
+
```
|
|
44
|
+
1. buddy-do "debug <issue> and find root cause"
|
|
45
|
+
2. buddy-do "fix <issue> and add regression test"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Performance Review
|
|
49
|
+
```
|
|
50
|
+
1. buddy-do "profile performance for <area>"
|
|
51
|
+
2. buddy-do "optimize slow path in <area>"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 💡 Quick Tips
|
|
55
|
+
|
|
56
|
+
✅ **DO**:
|
|
57
|
+
- Use clear, specific task descriptions
|
|
58
|
+
- Mention files, constraints, or target behaviors
|
|
59
|
+
- Use `buddy-remember` before large changes
|
|
60
|
+
|
|
61
|
+
❌ **DON'T**:
|
|
62
|
+
- Use vague descriptions ("fix bug")
|
|
63
|
+
- Skip context when it matters
|
|
64
|
+
|
|
65
|
+
## 📚 Full Documentation
|
|
66
|
+
|
|
67
|
+
- **Complete Guide**: `@claude-code-buddy://usage-guide`
|
|
68
|
+
- **Examples**: `@claude-code-buddy://examples`
|
|
69
|
+
- **Best Practices**: `@claude-code-buddy://best-practices`
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
**Remember**: The smart router learns from your patterns - the more you use it, the better it gets!
|