carryctx 0.2.0

Persistent project context for coding agents
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fn main() {
    // Embed migration SQL files into the binary at compile time.
    // Migration files are referenced via include_str! in src/adapter/sqlite.rs.
    //
    // Trigger rebuilds when migration files change.
    println!("cargo::rerun-if-changed=migrations/");

    // Verify that migrations directory has the expected structure.
    let project_dir = std::path::Path::new("migrations/project");
    let registry_dir = std::path::Path::new("migrations/registry");

    if !project_dir.exists() {
        println!("cargo::warning=migrations/project/ directory not found");
    }
    if !registry_dir.exists() {
        println!("cargo::warning=migrations/registry/ directory not found");
    }
}