route-claudecode
Version:
Advanced routing and transformation system for Claude Code outputs to multiple AI providers
30 lines • 847 B
TypeScript
/**
* Configuration Path Management
* Handles priority-based configuration path resolution
* Project owner: Jason Zhang
*/
export interface ConfigPaths {
configDir: string;
configFile: string;
logsDir: string;
releaseConfigFile: string;
}
/**
* Get configuration paths with priority order:
* 1. ~/.route-claude-code/ (new preferred path)
* 2. ~/.claude-code-router/ (legacy path)
*/
export declare function getConfigPaths(): ConfigPaths;
/**
* Check if migration is needed from legacy to new path
*/
export declare function needsMigration(): boolean;
/**
* Get legacy configuration paths for migration
*/
export declare function getLegacyConfigPaths(): ConfigPaths;
/**
* Get new configuration paths for migration
*/
export declare function getNewConfigPaths(): ConfigPaths;
//# sourceMappingURL=config-paths.d.ts.map