Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | /** * Configuration Management Module * * Main entry point for agent configuration management * Requirements: 1.1, 1.2 */ export * from './types.js'; export * from './validation.js'; export * from './loader.js'; import { ConfigLoader } from './loader.js'; import { AgentConfig } from './types.js'; /** * Convenience function to load configuration */ export async function loadConfig(): Promise<AgentConfig> { return ConfigLoader.load(); } /** * Convenience function to save configuration */ export async function saveConfig(config: AgentConfig, filePath?: string): Promise<void> { return ConfigLoader.save(config, filePath); } /** * Convenience function to validate a configuration file */ export function validateConfigFile(filePath: string): { isValid: boolean; errors: string[] } { return ConfigLoader.validateFile(filePath); } /** * Convenience function to find the current configuration file */ export function findConfigFile(): string | null { return ConfigLoader.findConfigFile(); } |