/** * log_discovery tool — Capture a discovery, gotcha, or TIL in the vault. * * Discoveries are structured notes in the Discoveries/ folder that persist * knowledge learned during development. They capture: * - What was discovered (the fact) * - How it was discovered (the context) * - Why it matters (the impact) * - What to do about it (the recommendation) * * Future agents can find these via get_context or search_vault to avoid * re-discovering the same things. */ import { z } from "zod"; import { Vault } from "../vault.js"; import { Config } from "../config.js"; export declare const logDiscoverySchema: { title: z.ZodString; discovery: z.ZodString; context: z.ZodOptional; impact: z.ZodDefault>>; recommendation: z.ZodOptional; category: z.ZodDefault>>; tags: z.ZodOptional>; project: z.ZodOptional; task_id: z.ZodOptional; source: z.ZodDefault>; related_files: z.ZodOptional>; }; export declare const logDiscoveryHandler: (vault: Vault, config: Config) => (input: { title: string; discovery: string; context?: string; impact?: string; recommendation?: string; category?: string; tags?: string[]; project?: string; task_id?: string; source?: string; related_files?: string[]; }) => Promise<{ content: { type: "text"; text: string; }[]; isError?: boolean; }>; //# sourceMappingURL=log-discovery.d.ts.map