aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
54 lines • 1.68 kB
TypeScript
/**
* FrameworkConfigLoader - Load and merge framework configurations
*
* Handles loading framework-specific configs, merging with shared configs,
* and managing configuration precedence. Supports JSON and YAML formats.
*
* FID-007 Framework-Scoped Workspaces configuration management.
*
* @module src/plugin/framework-config-loader
* @version 1.0.0
* @since 2025-10-23
*/
export interface LoadOptions {
environment?: string;
respectMergeStrategy?: boolean;
includeLocal?: boolean;
}
export declare class FrameworkConfigLoader {
private projectRoot;
private configCache;
constructor(projectRoot: string);
/**
* Load framework configuration
*
* @param framework - Framework name
* @param options - Load options
* @returns Merged configuration
*/
loadConfig(framework: string, options?: LoadOptions): Promise<any>;
/**
* Get specific config value
*
* @param framework - Framework name
* @param key - Config key (supports dot notation)
* @param defaultValue - Default value if key not found
* @returns Config value
*/
getConfigValue(framework: string, key: string, defaultValue?: any): any;
/**
* Save framework configuration
*
* @param framework - Framework name
* @param config - Configuration to save
*/
saveConfig(framework: string, config: any): Promise<void>;
private loadSharedConfig;
private loadFrameworkConfig;
private loadEnvironmentConfig;
private loadLocalConfig;
private deepMerge;
private applyMergeStrategy;
private parseSimpleYaml;
}
//# sourceMappingURL=framework-config-loader.d.ts.map