vtcode_core/instructions/
mod.rs1mod discovery;
2mod expansion;
3mod labels;
4mod matching;
5mod render;
6mod types;
7
8pub use discovery::discover_instruction_sources;
9pub use expansion::read_instruction_bundle;
10pub use labels::{format_instruction_path, instruction_scope_label, instruction_source_label};
11pub use render::{extract_instruction_highlights, render_instruction_markdown};
12pub use types::{
13 InstructionBundle, InstructionDiscoveryOptions, InstructionScope, InstructionSegment, InstructionSource,
14 InstructionSourceKind,
15};
16
17const AGENTS_FILENAME: &str = "AGENTS.md";
18const AGENTS_OVERRIDE_FILENAME: &str = "AGENTS.override.md";
19const CLAUDE_FILENAME: &str = "CLAUDE.md";
20const GLOBAL_CONFIG_DIRECTORY: &str = ".config/vtcode";
21const RULES_DIRECTORY: &str = ".vtcode/rules";
22const IMPORT_PROBE_NAME: &str = "__vtcode_instruction_probe__";
23
24#[cfg(test)]
25mod tests;