mod claude;
mod cursor;
pub use claude::{generate_claude_md_template, CLAUDE_MD_TEMPLATE};
pub use cursor::{generate_cursorrules_template, CURSORRULES_TEMPLATE};
pub const AGIT_VERSION: &str = env!("CARGO_PKG_VERSION");
pub const SYSTEM_PROTOCOL_CONTENT: &str = include_str!("protocol_content.txt");
pub const TEMPLATE_FILES: &[(&str, &str)] = &[
("CLAUDE.md", CLAUDE_MD_TEMPLATE),
(".cursorrules", CURSORRULES_TEMPLATE),
];
pub fn generate_versioned_protocol() -> String {
format!(
r#"<system_protocol version="{}">
{}
</system_protocol>"#,
AGIT_VERSION, SYSTEM_PROTOCOL_CONTENT
)
}