UNPKG

remcode

Version:

Turn your AI assistant into a codebase expert. Intelligent code analysis, semantic search, and software engineering guidance through MCP integration.

42 lines (41 loc) 1.25 kB
import { Request, Response } from 'express'; export interface SetupOptions { owner: string; repo: string; token?: string; branch?: string; configOverrides?: Record<string, any>; workflowType?: string; skipWorkflows?: boolean; skipSecrets?: boolean; confirm?: boolean; } export declare class SetupMCPHandler { private setupDetector; private setupInitializer; private prerequisites; private configManager; private secretsManager; private workflowGenerator; constructor(githubToken?: string); /** * Handle repository setup request */ handleSetupRepository(req: Request, res: Response, params?: any): Promise<void>; /** * Check repository prerequisites */ handleCheckPrerequisites(req: Request, res: Response, params?: any): Promise<void>; /** * Configure repository settings */ handleConfigureRepository(req: Request, res: Response, params?: any): Promise<void>; /** * Set up repository secrets */ handleSetupSecrets(req: Request, res: Response, params?: any): Promise<void>; /** * Generate repository workflows */ handleGenerateWorkflows(req: Request, res: Response, params?: any): Promise<void>; }