/** * ollama_corpus_amend_history — read-only companion to ollama_corpus_amend. * * Lists which paths have been amended on top of the disk snapshot, when the * amendments happened, and the chunk-count deltas. Use this before deciding * whether to re-index (ollama_corpus_index / ollama_corpus_refresh), which * re-establishes the "snapshot of disk" invariant and clears the history. * * No LLM call; pure manifest read. */ import { z } from "zod"; import type { Envelope } from "../envelope.js"; import type { RunContext } from "../runContext.js"; export declare const corpusAmendHistorySchema: z.ZodObject<{ corpus: z.ZodString; }, z.core.$strip>; export type CorpusAmendHistoryInput = z.infer; export interface CorpusAmendHistoryEntry { path: string; amended_at: string; chunks_before: number; chunks_after: number; chunks_delta: number; } export interface CorpusAmendHistoryResult { corpus: string; has_amended_content: boolean; amended_paths: CorpusAmendHistoryEntry[]; total_amends: number; unique_paths_amended: number; last_amend_at: string | null; note: string; } export declare function handleCorpusAmendHistory(input: CorpusAmendHistoryInput, ctx: RunContext): Promise>; //# sourceMappingURL=corpusAmendHistory.d.ts.map