@codervisor/devlog-ai
Version:
AI Chat History Extractor & Docker-based Automation - TypeScript implementation for GitHub Copilot and other AI coding assistants with automated testing capabilities
54 lines • 1.52 kB
TypeScript
/**
* Docker-based GitHub Copilot Automation
*
* Main orchestrator for automated Copilot testing using containerized VS Code
*/
import type { AutomationConfig, TestScenario, TestScenarioResult, AutomationSessionResult } from '../types/index.js';
export declare class DockerCopilotAutomation {
private container;
private captureParser;
private config;
private sessionId;
constructor(config: AutomationConfig);
/**
* Run a complete automation session with multiple test scenarios
*/
runSession(scenarios: TestScenario[]): Promise<AutomationSessionResult>;
/**
* Run a single test scenario
*/
runScenario(scenario: TestScenario): Promise<TestScenarioResult>;
/**
* Wait for the container to be fully ready for automation
*/
private waitForContainerReady;
/**
* Create test file for scenario in container
*/
private createTestFile;
/**
* Execute the steps for a test scenario
*/
private executeScenarioSteps;
/**
* Simulate typing in VS Code (placeholder implementation)
*/
private simulateTyping;
/**
* Get the final generated code from the test file
*/
private getGeneratedCode;
/**
* Calculate metrics from interactions
*/
private calculateMetrics;
/**
* Get file extension for language
*/
private getFileExtension;
/**
* Clean up resources
*/
cleanup(): Promise<void>;
}
//# sourceMappingURL=copilot-automation.d.ts.map