Index
code_context_agent.models ¶
Data models for code-context-agent.
FrozenModel ¶
Bases: BaseModel
Immutable model (like frozen dataclass).
This model: - Prevents mutation (frozen=True) - Validates assignments - Forbids extra fields
Use for result objects and immutable data structures.
StrictModel ¶
Bases: BaseModel
Base model with strict validation.
This model: - Allows mutation (frozen=False) - Validates assignments - Forbids extra fields - Strips whitespace from strings
AnalysisResult ¶
Bases: FrozenModel
Structured output for the complete analysis.
This model captures the analysis summary returned by the agent. The actual files (CONTEXT.md, bundles, etc.) are created by tools.