Expand description
Runtime boundary module for prompts.
This module contains imperative code (template parsing, rendering) that cannot be easily converted to functional style. It satisfies the dylint boundary-module check.
Re-exports§
pub use crate::prompts::io::extract_metadata;pub use crate::prompts::io::extract_partials;pub use crate::prompts::io::extract_variables;pub use crate::prompts::io::validate_syntax;pub use crate::prompts::template_registry::TemplateError;
Structs§
- Rendered
Template - Result of template rendering with substitution log.
- Substitution
Entry - Record of a single placeholder substitution.
- Substitution
Log - Record of template substitution - stored in reducer state for validation.
- Template
- Template for rendering prompts with variable substitution.
Enums§
- Substitution
Source - How a placeholder was resolved during template rendering.
Traits§
- Brief
Description - Helper trait for brief outcome descriptions.
Functions§
- generate_
resume_ note - Generate a rich resume note from resume context.