Skip to main content

PROJECT_DIR

Constant PROJECT_DIR 

Source
pub const PROJECT_DIR: &str = ".agent-block";
Expand description

The directory a project keeps its own copies of agent-block’s own files in: blocks/ and lib/ under <project>/.agent-block/.

Beside the project’s .gitignore, dotted like the rest of a repository’s tooling, and the first tier of both lookups — which is what makes its lib/ the place crate::embedded’s consumer (agent-block vendor) writes to. A project that has never vendored anything never has the directory, and the tier costs it nothing: only existing directories are searched.