/** Metadata stored per-commit in ChromaDB. Matches Python version field-for-field. */ export interface CommitMetadata { short_hash: string; author_name: string; author_email: string; committed_date: string; category: CommitCategory; repo: string; files_str: string; date_str: string; } /** Metadata used during indexing (superset of CommitMetadata). Matches Python build_metadata(). */ export interface IndexMetadata extends CommitMetadata { type: 'git_commit'; commit_hash: string; files_changed: string[]; } export type CommitCategory = 'fix' | 'feat' | 'refactor' | 'arch' | 'perf' | 'security' | 'migration' | 'general'; /** * A commit record returned by all 5 MCP tools. * Field names match Python MCP response shape exactly: * - "author" (not "author_name") * - "date" (not "committed_date") */ export interface CommitRecord { commit_hash: string; short_hash: string; author: string; date: string; category: CommitCategory | string; files_changed: string[]; summary: string; relevance_score: number; source?: string; learned_context?: string[]; in_chroma_index?: boolean; } export interface IndexStats { total_evaluated: number; stored: number; skipped_irrelevant: number; skipped_duplicate: number; errors: number; } export type EmbedProvider = 'ollama' | 'openai' | 'fastembed'; export interface GitMemoryConfig { repoPath: string; userId: string; chromaDir: string; contextDir: string; embedProvider: EmbedProvider; embedModel: string; ollamaUrl: string; llmModel: string; openaiApiKey?: string; } /** Build config from environment variables with sensible defaults. */ export declare function configFromEnv(): GitMemoryConfig; //# sourceMappingURL=types.d.ts.map