github-mcp-auto-git
Version:
GitHub MCP Auto Git v3.0 - メモリ効率化・統合MCP・モジュール化完了の完全自動Git操作システム
72 lines • 2.24 kB
TypeScript
/**
* Interactive Configuration Manager Module
* Handles interactive setup and configuration following Constitutional AI principles
*/
import { GitConfig } from '../types/index.js';
export interface ConfigurationResult {
success: boolean;
config?: GitConfig;
message?: string;
}
export interface WatchPatternOptions {
current: string[];
projectWide: string[];
custom: string[];
}
export declare class InteractiveConfigManager {
private config;
constructor(config: GitConfig);
/**
* Configure watch patterns interactively
* Fail Fast: Validate user input immediately
* Be Lazy: Reuse common pattern configurations
* TypeScript First: Complete type safety for configuration
*/
configureWatchPatterns(): Promise<ConfigurationResult>;
/**
* Configure subagent settings interactively
* TypeScript First: Strongly typed subagent configuration
*/
configureSubagents(): Promise<ConfigurationResult>;
/**
* Configure notification settings
* Be Lazy: Smart defaults with minimal user interaction
*/
configureNotifications(): Promise<ConfigurationResult>;
/**
* Get the current configuration
* TypeScript First: Type-safe configuration access
*/
getConfiguration(): GitConfig;
/**
* Process watch pattern choice
* Fail Fast: Immediate validation of pattern choices
*/
private processWatchPatternChoice;
/**
* Configure custom watch patterns
* Be Lazy: Smart validation and auto-completion
*/
private configureCustomPatterns;
/**
* Ask a question and wait for user input
* Fail Fast: Robust error handling for user input
*/
private askQuestion;
/**
* Ask a yes/no question
* TypeScript First: Boolean return type with default handling
*/
private askYesNo;
/**
* Ask user to choose from multiple options
* Be Lazy: Simplified choice selection with smart defaults
*/
private askChoice;
/**
* Display subagent configuration summary
* TypeScript First: Type-safe configuration display
*/
private displaySubagentSummary;
}
//# sourceMappingURL=interactive-config-manager.d.ts.map