qualia_core_db/mcp/mod.rs
1//! Model-Context-Protocol server surface (moved from the crate root per
2//! MODULE_REORG_PLAN.md; `crate::mcp_server` / `crate::mcp_cooperation` paths are
3//! preserved by re-exports in lib.rs). mcp_server owns the *_impls submodules.
4#[cfg(not(target_arch = "wasm32"))]
5pub mod mcp_server;
6#[cfg(not(target_arch = "wasm32"))]
7pub mod inference_session;
8#[cfg(not(target_arch = "wasm32"))]
9pub use mcp_server::{mcp_format_impls, mcp_stub_impls, mcp_tool_impls};
10// Cooperation gate composes modalities::interaction_governance, so it compiles
11// only where modalities does (native or the logic-enabled wasm profiles).
12#[cfg(any(
13 not(target_arch = "wasm32"),
14 feature = "wasm-webcivics",
15 feature = "wasm-logic",
16 feature = "wasm-scientific",
17 feature = "wasm-full"
18))]
19pub mod mcp_cooperation;