vtcode_core/prompts/
mod.rs1pub mod cache_aware;
7pub mod context;
8pub mod few_shot;
9pub mod guidelines;
10pub mod harness_limits;
11pub mod output_styles;
12pub mod render;
13pub(crate) mod resource_cache;
14pub mod resources;
15pub mod runtime_contract;
16pub(crate) mod runtime_guidance;
17pub mod sections;
18pub mod static_prompts;
19pub mod system;
20pub mod system_prompt_cache;
21pub mod temporal;
22
23pub use cache_aware::sort_tool_definitions;
25pub use context::PromptContext;
26pub use few_shot::{
27 DEFAULT_FEW_SHOT_BUDGET_TOKENS, FEW_SHOT_SECTION_HEADER, FewShotExample, FewShotStore, render_few_shot_section,
28};
29pub use guidelines::{
30 append_deferred_tools_prompt_section, append_runtime_tool_prompt_sections_for_model,
31 append_runtime_tool_prompt_sections_for_profile,
32};
33pub use harness_limits::upsert_harness_limits_section;
34pub use resources::{
35 PromptTemplate, apply_system_prompt_layers, discover_prompt_templates, expand_prompt_template,
36 find_prompt_template, resolve_system_prompt_layers,
37};
38pub use runtime_contract::{RuntimePromptContract, append_runtime_mode_sections};
39pub use static_prompts::{
40 agent_identity_label, default_lightweight_prompt, default_system_prompt, minimal_instruction_text,
41 specialized_instruction_text, specialized_system_prompt,
42};
43pub use system::SystemPromptReport;
44pub use system::{
45 apply_coordinator_role_guidance, apply_output_style, generate_lightweight_instruction,
46 generate_specialized_instruction, generate_system_instruction_with_context_and_report, measure_system_prompt_size,
47};
48pub use system_prompt_cache::{PROMPT_CACHE, SystemPromptCache};
49pub use temporal::generate_temporal_date_context;