UNPKG

agentic-qe

Version:

Agentic Quality Engineering Fleet System - AI-driven quality management platform

124 lines 6 kB
/** * MCP Tools for Agentic QE Fleet System * * This module defines the Model Context Protocol (MCP) tools for the Agentic Quality Engineering * Fleet system. These tools enable Claude Flow coordination and orchestration of QE agents. * * @version 1.0.0 * @author Agentic QE Team */ import { Tool } from '@modelcontextprotocol/sdk/types.js'; export interface FleetConfig { topology: 'hierarchical' | 'mesh' | 'ring' | 'adaptive'; maxAgents: number; testingFocus: string[]; environments: string[]; frameworks: string[]; } export interface AgentSpec { type: 'test-generator' | 'coverage-analyzer' | 'quality-gate' | 'performance-tester' | 'security-scanner' | 'chaos-engineer' | 'visual-tester'; name?: string; capabilities: string[]; resources?: { memory: number; cpu: number; storage: number; }; } export interface TestGenerationSpec { type: 'unit' | 'integration' | 'e2e' | 'property-based' | 'mutation'; sourceCode: { repositoryUrl: string; branch: string; language: string; testPatterns: string[]; }; coverageTarget: number; frameworks: string[]; synthesizeData: boolean; } export interface TestExecutionSpec { testSuites: string[]; environments: string[]; parallelExecution: boolean; retryCount: number; timeoutSeconds: number; reportFormat: 'junit' | 'tap' | 'json' | 'html'; } export interface QualityAnalysisParams { scope: 'code' | 'tests' | 'performance' | 'security' | 'all'; metrics: string[]; thresholds: Record<string, number>; generateRecommendations: boolean; } export interface DefectPredictionScope { analysisType: 'file' | 'function' | 'line' | 'module'; modelType: 'neural' | 'statistical' | 'hybrid'; confidenceThreshold: number; historicalDataDays: number; features: string[]; } /** * Core MCP Tools for Agentic QE Fleet * These tools enable Claude Flow to coordinate and manage QE agent fleets */ export declare const agenticQETools: Tool[]; /** * Export tool names for easy reference */ export declare const TOOL_NAMES: { readonly FLEET_INIT: "mcp__agentic_qe__fleet_init"; readonly AGENT_SPAWN: "mcp__agentic_qe__agent_spawn"; readonly TEST_GENERATE: "mcp__agentic_qe__test_generate"; readonly TEST_EXECUTE: "mcp__agentic_qe__test_execute"; readonly QUALITY_ANALYZE: "mcp__agentic_qe__quality_analyze"; readonly PREDICT_DEFECTS: "mcp__agentic_qe__predict_defects"; readonly FLEET_STATUS: "mcp__agentic_qe__fleet_status"; readonly TASK_ORCHESTRATE: "mcp__agentic_qe__task_orchestrate"; readonly OPTIMIZE_TESTS: "mcp__agentic_qe__optimize_tests"; readonly TEST_GENERATE_ENHANCED: "mcp__agentic_qe__test_generate_enhanced"; readonly TEST_EXECUTE_PARALLEL: "mcp__agentic_qe__test_execute_parallel"; readonly TEST_OPTIMIZE_SUBLINEAR: "mcp__agentic_qe__test_optimize_sublinear"; readonly TEST_REPORT_COMPREHENSIVE: "mcp__agentic_qe__test_report_comprehensive"; readonly TEST_COVERAGE_DETAILED: "mcp__agentic_qe__test_coverage_detailed"; readonly MEMORY_STORE: "mcp__agentic_qe__memory_store"; readonly MEMORY_RETRIEVE: "mcp__agentic_qe__memory_retrieve"; readonly MEMORY_QUERY: "mcp__agentic_qe__memory_query"; readonly MEMORY_SHARE: "mcp__agentic_qe__memory_share"; readonly MEMORY_BACKUP: "mcp__agentic_qe__memory_backup"; readonly BLACKBOARD_POST: "mcp__agentic_qe__blackboard_post"; readonly BLACKBOARD_READ: "mcp__agentic_qe__blackboard_read"; readonly CONSENSUS_PROPOSE: "mcp__agentic_qe__consensus_propose"; readonly CONSENSUS_VOTE: "mcp__agentic_qe__consensus_vote"; readonly ARTIFACT_MANIFEST: "mcp__agentic_qe__artifact_manifest"; readonly WORKFLOW_CREATE: "mcp__agentic_qe__workflow_create"; readonly WORKFLOW_EXECUTE: "mcp__agentic_qe__workflow_execute"; readonly WORKFLOW_CHECKPOINT: "mcp__agentic_qe__workflow_checkpoint"; readonly WORKFLOW_RESUME: "mcp__agentic_qe__workflow_resume"; readonly TASK_STATUS: "mcp__agentic_qe__task_status"; readonly EVENT_EMIT: "mcp__agentic_qe__event_emit"; readonly EVENT_SUBSCRIBE: "mcp__agentic_qe__event_subscribe"; readonly QUALITY_GATE_EXECUTE: "mcp__agentic_qe__quality_gate_execute"; readonly QUALITY_VALIDATE_METRICS: "mcp__agentic_qe__quality_validate_metrics"; readonly QUALITY_RISK_ASSESS: "mcp__agentic_qe__quality_risk_assess"; readonly QUALITY_DECISION_MAKE: "mcp__agentic_qe__quality_decision_make"; readonly QUALITY_POLICY_CHECK: "mcp__agentic_qe__quality_policy_check"; readonly FLAKY_TEST_DETECT: "mcp__agentic_qe__flaky_test_detect"; readonly PREDICT_DEFECTS_AI: "mcp__agentic_qe__predict_defects_ai"; readonly REGRESSION_RISK_ANALYZE: "mcp__agentic_qe__regression_risk_analyze"; readonly VISUAL_TEST_REGRESSION: "mcp__agentic_qe__visual_test_regression"; readonly DEPLOYMENT_READINESS_CHECK: "mcp__agentic_qe__deployment_readiness_check"; readonly COVERAGE_ANALYZE_SUBLINEAR: "mcp__agentic_qe__coverage_analyze_sublinear"; readonly COVERAGE_GAPS_DETECT: "mcp__agentic_qe__coverage_gaps_detect"; readonly PERFORMANCE_BENCHMARK_RUN: "mcp__agentic_qe__performance_benchmark_run"; readonly PERFORMANCE_MONITOR_REALTIME: "mcp__agentic_qe__performance_monitor_realtime"; readonly SECURITY_SCAN_COMPREHENSIVE: "mcp__agentic_qe__security_scan_comprehensive"; readonly REQUIREMENTS_VALIDATE: "mcp__agentic_qe__requirements_validate"; readonly REQUIREMENTS_GENERATE_BDD: "mcp__agentic_qe__requirements_generate_bdd"; readonly PRODUCTION_INCIDENT_REPLAY: "mcp__agentic_qe__production_incident_replay"; readonly PRODUCTION_RUM_ANALYZE: "mcp__agentic_qe__production_rum_analyze"; readonly API_BREAKING_CHANGES: "mcp__agentic_qe__api_breaking_changes"; readonly MUTATION_TEST_EXECUTE: "mcp__agentic_qe__mutation_test_execute"; }; export type ToolName = typeof TOOL_NAMES[keyof typeof TOOL_NAMES]; //# sourceMappingURL=tools.d.ts.map