mermaid_cli/lib.rs
1pub mod app;
2pub mod cli;
3pub mod clipboard;
4pub mod domain;
5pub mod effect;
6pub mod mcp;
7pub mod ollama;
8pub mod prompts;
9pub mod providers;
10pub mod render;
11pub mod runtime;
12pub mod searxng;
13pub mod session;
14
15// `constants`, `models`, and `utils` live in the `mermaid-model` crate — the
16// dependency-closed bottom of the tree, where the compiler can enforce that
17// nothing in it reaches back up into `app`, `domain`, `providers`, or `effect`.
18// Re-exported under their historical paths so every `crate::models::…` call
19// site still resolves; same shim pattern `crate::runtime` uses for
20// `mermaid-runtime`. See `mermaid_model`'s crate docs for what moved and why.
21pub use mermaid_model::{constants, models, utils};
22
23pub use app::{Config, load_config, persist_last_model};