refactor: drop omnigraph-cli dependency on omnigraph-server

Repoint CLI imports to the extracted crates: api DTOs -> omnigraph-api-types, QueryRegistry/check -> omnigraph-queries, config types -> omnigraph-config, and Policy* -> omnigraph-policy directly (no longer via the server re-export shim). Remove omnigraph-server from the CLI manifest. The CLI no longer pulls Axum/tower/utoipa-axum: 'cargo tree -p omnigraph-cli -i omnigraph-server' and '-i axum' both report not-in-graph. No behavior change (CLI compiles; no test churn — CLI tests import none of the moved symbols).
This commit is contained in:
Ragnor Comerford 2026-06-03 11:34:21 +02:00
parent c51b9e1e20
commit 5ef9427c18
No known key found for this signature in database
4 changed files with 21 additions and 15 deletions

4
Cargo.lock generated
View file

@ -4562,10 +4562,12 @@ dependencies = [
"color-eyre",
"lance",
"lance-index",
"omnigraph-api-types",
"omnigraph-compiler",
"omnigraph-config",
"omnigraph-engine",
"omnigraph-policy",
"omnigraph-server",
"omnigraph-queries",
"predicates",
"reqwest",
"serde",