ai-sprint
Version:
AI-powered sprint management and SDLC tracking with automatic IDE integration
65 lines • 1.75 kB
TypeScript
import { IDEInfo } from './ide-detector.js';
export interface SetupOptions {
projectId?: string;
projectPath?: string;
apiEndpoint?: string;
apiKey?: string;
watchPatterns?: string[];
interactive?: boolean;
}
export interface MCPConfig {
mcpServers?: Record<string, MCPServerConfig>;
servers?: Record<string, MCPServerConfig>;
}
export interface MCPServerConfig {
command: string;
args: string[];
env?: Record<string, string>;
}
export declare class Configurator {
private detector;
private git;
constructor(projectPath?: string);
/**
* Auto-configure AI Sprint for the current environment
*/
setup(options?: SetupOptions): Promise<void>;
/**
* Generate MCP configuration for a specific IDE
*/
generateMCPConfig(ide: IDEInfo, projectInfo: any): Promise<MCPConfig>;
/**
* Save MCP configuration to the appropriate location
*/
private saveMCPConfig;
/**
* Generate command files for Claude Code
*/
private generateCommandFiles;
private generateSessionStartCommand;
private generateSessionUpdateCommand;
private generateSessionEndCommand;
private generateSprintCreateCommand;
private generateTestReportCommand;
/**
* Get project information from options or git
*/
private getProjectInfo;
/**
* Generate a UUID for the project
*/
private generateProjectId;
/**
* Merge two configuration objects
*/
private mergeConfigs;
/**
* Update .gitignore to exclude local configuration
*/
private updateGitIgnore;
/**
* Save project configuration locally
*/
private saveProjectConfig;
}
//# sourceMappingURL=configurator.d.ts.map