UNPKG

cortexweaver

Version:

CortexWeaver is a command-line interface (CLI) tool that orchestrates a swarm of specialized AI agents, powered by Claude Code and Gemini CLI, to assist in software development. It transforms a high-level project plan (plan.md) into a series of coordinate

56 lines 1.66 kB
export interface ProjectConfig { models: { claude: string; gemini: string; }; costs: { claudeTokenCost: number; geminiTokenCost: number; }; budget: { maxTokens: number; maxCost: number; }; } export declare class ConfigService { private projectRoot; private envFilePath; private configFilePath; constructor(projectRoot?: string); loadEnvironmentVariables(): { [key: string]: string; }; loadProjectConfig(): ProjectConfig; getRequiredEnvVar(name: string): string; saveProjectConfig(config: ProjectConfig): void; getProjectRoot(): string; getCortexWeaverDir(): string; /** * Get Claude API key with AuthManager integration * Checks AuthManager first, then falls back to environment variables * @deprecated Use getClaudeCredentials() instead for session token support */ getClaudeApiKey(): Promise<string>; /** * Get Claude credentials (API key or session token) with AuthManager integration * Checks AuthManager first, then falls back to environment variables */ getClaudeCredentials(): Promise<{ apiKey?: string; sessionToken?: string; }>; /** * Get Gemini API key with AuthManager integration * Checks AuthManager first, then falls back to environment variables */ getGeminiApiKey(): Promise<string>; /** * Check if authentication is properly configured */ checkAuthenticationStatus(): Promise<{ claude: boolean; gemini: boolean; recommendations: string[]; }>; } //# sourceMappingURL=config.d.ts.map