routa_core/lib.rs
1//! Routa Core — Transport-agnostic domain logic for the Routa.js platform.
2//!
3//! This crate contains the core business logic, data models, stores, and
4//! protocol integrations. It has **no HTTP framework dependency** by default,
5//! making it suitable for use in:
6//!
7//! - HTTP servers (via `routa-server`)
8//! - Tauri desktop apps (direct IPC)
9//! - CLI tools
10//! - JS bindgen (via napi-rs or wasm-bindgen)
11//!
12//! # Feature Flags
13//!
14//! - `axum` — Enables `IntoResponse` impl on `ServerError` for use in axum handlers.
15
16pub mod acp;
17pub mod codeowners;
18pub mod db;
19pub mod error;
20pub mod events;
21pub mod git;
22pub mod harness;
23pub mod harness_automation;
24pub mod kanban;
25pub mod mcp;
26pub mod models;
27pub mod orchestration;
28pub mod rpc;
29pub mod sandbox;
30pub mod shell_env;
31pub mod skills;
32pub mod spec_detector;
33pub mod state;
34pub mod storage;
35pub mod store;
36pub mod tools;
37pub mod trace;
38pub mod workflow;
39
40// Convenience re-exports
41pub use db::Database;
42pub use error::ServerError;
43pub use state::{AppState, AppStateInner, DockerState};