Code-tree: parse polyglot codebases into kglite knowledge graphs.
Originally extracted from kglite's in-tree code_tree component (which
KGLite removed on 2026-07-16, leaving this crate the sole builder) —
it depends on the [kglite] engine crate for the graph core
([kglite::api::DirGraph]), the columnar data model
([kglite::datatypes]), and .kgl persistence
([kglite::api::io]). Tree-sitter grammars are direct
dependencies of this crate.
Entry points:
- [
builder::run_with_options] — parse a directory or manifest-rooted project, returnsArc<DirGraph> - [
manifest::read_manifest] — extract project metadata - [
repo::clone_and_build] — shallow-clone a GitHub repo and build, returnsArc<DirGraph>