/** * Agentic QE v3 - Code Intelligence Domain Plugin * Integrates the code intelligence domain into the kernel */ import { DomainName, DomainEvent } from '../../shared/types'; import { EventBus, MemoryBackend, AgentCoordinator } from '../../kernel/interfaces'; import { BaseDomainPlugin } from '../domain-interface'; import { CodeIntelligenceAPI } from './interfaces'; import { ICodeIntelligenceCoordinator, CoordinatorConfig } from './coordinator'; import { IKnowledgeGraphService, KnowledgeGraphConfig } from './services/knowledge-graph'; import { ISemanticAnalyzerService, SemanticAnalyzerConfig } from './services/semantic-analyzer'; import { IImpactAnalyzerService, ImpactAnalyzerConfig } from './services/impact-analyzer'; /** * Plugin configuration options */ export interface CodeIntelligencePluginConfig { coordinator?: Partial; knowledgeGraph?: Partial; semanticAnalyzer?: Partial; impactAnalyzer?: Partial; } /** * Extended API with internal access */ export interface CodeIntelligenceExtendedAPI extends CodeIntelligenceAPI { /** Get the internal coordinator */ getCoordinator(): ICodeIntelligenceCoordinator; /** Get the knowledge graph service */ getKnowledgeGraph(): IKnowledgeGraphService; /** Get the semantic analyzer service */ getSemanticAnalyzer(): ISemanticAnalyzerService; /** Get the impact analyzer service */ getImpactAnalyzer(): IImpactAnalyzerService; } /** * Code Intelligence Domain Plugin * Provides knowledge graph, semantic search, and impact analysis capabilities */ export declare class CodeIntelligencePlugin extends BaseDomainPlugin { private readonly agentCoordinator; private coordinator; private knowledgeGraph; private semanticAnalyzer; private impactAnalyzer; private readonly pluginConfig; constructor(eventBus: EventBus, memory: MemoryBackend, agentCoordinator: AgentCoordinator, config?: CodeIntelligencePluginConfig); get name(): DomainName; get version(): string; get dependencies(): DomainName[]; /** * Get the domain's public API */ getAPI(): T; protected onInitialize(): Promise; protected onDispose(): Promise; protected subscribeToEvents(): void; protected onEvent(event: DomainEvent): Promise; private index; private search; private analyzeImpact; private mapDependencies; private queryKG; private handleTestGenerated; private handleCoverageGap; private handleDefectPredicted; private ensureInitialized; private handleError; private trackSuccessfulOperation; private trackFailedOperation; } /** * Factory function to create a CodeIntelligencePlugin */ export declare function createCodeIntelligencePlugin(eventBus: EventBus, memory: MemoryBackend, agentCoordinator: AgentCoordinator, config?: CodeIntelligencePluginConfig): CodeIntelligencePlugin; //# sourceMappingURL=plugin.d.ts.map