/** * Fragment Schemas - The structured types that evolve over time * * Each fragment captures a different aspect of the development conversation. * They stay small (injectable into context) and evolve (not restart) as * new messages are processed. */ import { z } from 'zod'; export declare const DecisionSchema: z.ZodObject<{ decisions: z.ZodArray>; confidence: z.ZodEnum<["certain", "tentative", "revisiting"]>; }, "strip", z.ZodTypeAny, { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }, { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }>, "many">; musings: z.ZodOptional; }, "strip", z.ZodTypeAny, { decisions: { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }[]; musings?: string | undefined; }, { decisions: { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }[]; musings?: string | undefined; }>; export type DecisionFragment = z.infer; export declare const InsightSchema: z.ZodObject<{ insights: z.ZodArray>; }, "strip", z.ZodTypeAny, { learning: string; context: string; applies_to?: string[] | undefined; }, { learning: string; context: string; applies_to?: string[] | undefined; }>, "many">; gotchas: z.ZodOptional; }, "strip", z.ZodTypeAny, { issue: string; solution?: string | undefined; }, { issue: string; solution?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { insights: { learning: string; context: string; applies_to?: string[] | undefined; }[]; gotchas?: { issue: string; solution?: string | undefined; }[] | undefined; }, { insights: { learning: string; context: string; applies_to?: string[] | undefined; }[]; gotchas?: { issue: string; solution?: string | undefined; }[] | undefined; }>; export type InsightFragment = z.infer; export declare const FocusSchema: z.ZodObject<{ current_goal: z.ZodString; active_tasks: z.ZodArray; blockers: z.ZodOptional>; next_steps: z.ZodOptional>; }, "strip", z.ZodTypeAny, { current_goal: string; active_tasks: string[]; blockers?: string[] | undefined; next_steps?: string[] | undefined; }, { current_goal: string; active_tasks: string[]; blockers?: string[] | undefined; next_steps?: string[] | undefined; }>; export type FocusFragment = z.infer; export declare const NarrativeSchema: z.ZodObject<{ story_beats: z.ZodArray; summary: z.ZodString; emotional_tone: z.ZodOptional>; }, "strip", z.ZodTypeAny, { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }, { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }>, "many">; memorable_quotes: z.ZodOptional; quote: z.ZodString; context: z.ZodOptional; }, "strip", z.ZodTypeAny, { speaker: "human" | "claude"; quote: string; context?: string | undefined; }, { speaker: "human" | "claude"; quote: string; context?: string | undefined; }>, "many">>; themes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { story_beats: { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }[]; memorable_quotes?: { speaker: "human" | "claude"; quote: string; context?: string | undefined; }[] | undefined; themes?: string[] | undefined; }, { story_beats: { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }[]; memorable_quotes?: { speaker: "human" | "claude"; quote: string; context?: string | undefined; }[] | undefined; themes?: string[] | undefined; }>; export type NarrativeFragment = z.infer; export declare const VocabularySchema: z.ZodObject<{ terms: z.ZodRecord; concepts: z.ZodArray; technologies: z.ZodArray; files: z.ZodArray; }, "strip", z.ZodTypeAny, { terms: Record; concepts: string[]; technologies: string[]; files: string[]; }, { terms: Record; concepts: string[]; technologies: string[]; files: string[]; }>; export type VocabularyFragment = z.infer; export interface AllFragments { decisions: DecisionFragment | null; insights: InsightFragment | null; focus: FocusFragment | null; narrative: NarrativeFragment | null; vocabulary: VocabularyFragment | null; } export declare const FRAGMENT_SCHEMAS: { readonly decisions: z.ZodObject<{ decisions: z.ZodArray>; confidence: z.ZodEnum<["certain", "tentative", "revisiting"]>; }, "strip", z.ZodTypeAny, { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }, { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }>, "many">; musings: z.ZodOptional; }, "strip", z.ZodTypeAny, { decisions: { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }[]; musings?: string | undefined; }, { decisions: { what: string; why: string; when: string; confidence: "certain" | "tentative" | "revisiting"; alternatives?: string[] | undefined; }[]; musings?: string | undefined; }>; readonly insights: z.ZodObject<{ insights: z.ZodArray>; }, "strip", z.ZodTypeAny, { learning: string; context: string; applies_to?: string[] | undefined; }, { learning: string; context: string; applies_to?: string[] | undefined; }>, "many">; gotchas: z.ZodOptional; }, "strip", z.ZodTypeAny, { issue: string; solution?: string | undefined; }, { issue: string; solution?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { insights: { learning: string; context: string; applies_to?: string[] | undefined; }[]; gotchas?: { issue: string; solution?: string | undefined; }[] | undefined; }, { insights: { learning: string; context: string; applies_to?: string[] | undefined; }[]; gotchas?: { issue: string; solution?: string | undefined; }[] | undefined; }>; readonly focus: z.ZodObject<{ current_goal: z.ZodString; active_tasks: z.ZodArray; blockers: z.ZodOptional>; next_steps: z.ZodOptional>; }, "strip", z.ZodTypeAny, { current_goal: string; active_tasks: string[]; blockers?: string[] | undefined; next_steps?: string[] | undefined; }, { current_goal: string; active_tasks: string[]; blockers?: string[] | undefined; next_steps?: string[] | undefined; }>; readonly narrative: z.ZodObject<{ story_beats: z.ZodArray; summary: z.ZodString; emotional_tone: z.ZodOptional>; }, "strip", z.ZodTypeAny, { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }, { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }>, "many">; memorable_quotes: z.ZodOptional; quote: z.ZodString; context: z.ZodOptional; }, "strip", z.ZodTypeAny, { speaker: "human" | "claude"; quote: string; context?: string | undefined; }, { speaker: "human" | "claude"; quote: string; context?: string | undefined; }>, "many">>; themes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { story_beats: { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }[]; memorable_quotes?: { speaker: "human" | "claude"; quote: string; context?: string | undefined; }[] | undefined; themes?: string[] | undefined; }, { story_beats: { beat_type: "setup" | "conflict" | "breakthrough" | "pivot" | "resolution" | "cliffhanger"; summary: string; emotional_tone?: "frustrated" | "curious" | "excited" | "determined" | "satisfied" | undefined; }[]; memorable_quotes?: { speaker: "human" | "claude"; quote: string; context?: string | undefined; }[] | undefined; themes?: string[] | undefined; }>; readonly vocabulary: z.ZodObject<{ terms: z.ZodRecord; concepts: z.ZodArray; technologies: z.ZodArray; files: z.ZodArray; }, "strip", z.ZodTypeAny, { terms: Record; concepts: string[]; technologies: string[]; files: string[]; }, { terms: Record; concepts: string[]; technologies: string[]; files: string[]; }>; }; export type FragmentType = keyof typeof FRAGMENT_SCHEMAS; export declare function emptyFragments(): AllFragments; export declare function emptyDecisions(): DecisionFragment; export declare function emptyInsights(): InsightFragment; export declare function emptyFocus(): FocusFragment; export declare function emptyNarrative(): NarrativeFragment; export declare function emptyVocabulary(): VocabularyFragment; //# sourceMappingURL=schemas.d.ts.map