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

View file

@ -1,7 +1,7 @@
use color_eyre::eyre::Result;
use omnigraph_server::ReadOutputFormat;
use omnigraph_server::api::ReadOutput;
use omnigraph_server::config::TableCellLayout;
use omnigraph_api_types::ReadOutput;
use omnigraph_config::ReadOutputFormat;
use omnigraph_config::TableCellLayout;
use serde_json::{Map, Value};
pub struct ReadRenderOptions {
@ -275,7 +275,7 @@ fn csv_escape(value: &str) -> String {
#[cfg(test)]
mod tests {
use omnigraph_server::api::{ReadOutput, ReadTargetOutput};
use omnigraph_api_types::{ReadOutput, ReadTargetOutput};
use super::*;