@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
58 lines • 1.39 kB
TypeScript
/**
* VS Code Container Management
*
* Handles Docker container lifecycle for VS Code Insiders with GitHub Copilot
*/
import type { ContainerStatus, AutomationConfig } from '../types/index.js';
export declare class VSCodeContainer {
private containerId?;
private process?;
private status;
private config;
constructor(config: AutomationConfig);
/**
* Create and start the VS Code container
*/
start(): Promise<ContainerStatus>;
/**
* Stop and remove the container
*/
stop(): Promise<void>;
/**
* Get current container status
*/
getStatus(): ContainerStatus;
/**
* Execute a command inside the running container
*/
executeInContainer(command: string[]): Promise<string>;
/**
* Create necessary Docker configuration files
*/
private createDockerFiles;
/**
* Generate Dockerfile content
*/
private generateDockerfile;
/**
* Generate setup script content
*/
private generateSetupScript;
/**
* Build Docker container
*/
private buildContainer;
/**
* Run Docker container
*/
private runContainer;
/**
* Wait for VS Code to be ready
*/
private waitForReady;
/**
* Execute shell command and return output
*/
private executeCommand;
}
//# sourceMappingURL=vscode-container.d.ts.map