UNPKG

hikma-engine

Version:

Code Knowledge Graph Indexer - A sophisticated TypeScript-based indexer that transforms Git repositories into multi-dimensional knowledge stores for AI agents

25 lines 962 B
import { Command } from 'commander'; import { ConfigManager } from '../../config'; export type ProviderChoice = 'python' | 'server' | 'local' | 'transformers'; export interface GlobalCLIOptions { dir?: string; provider: ProviderChoice; serverUrl?: string; model?: string; embeddingModel?: string; llmModel?: string; installPythonDeps?: boolean; } export declare abstract class BaseCommand { protected readonly program: Command; constructor(program: Command); protected resolveProjectRoot(projectPath?: string, dirFlag?: string): string; protected initConfigAndLogger(projectRoot: string): ConfigManager; protected buildExplicitConfig(opts: GlobalCLIOptions): any; private getDefaultEmbeddingModel; private getDefaultLLMModel; private getDefaultServerUrl; protected handleError(error: unknown, context: string): never; protected exitSuccess(): Promise<void>; } //# sourceMappingURL=base.d.ts.map