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 harness_template;
25pub mod kanban;
26pub mod mcp;
27pub mod models;
28pub mod orchestration;
29pub mod rpc;
30pub mod sandbox;
31pub mod shell_env;
32pub mod skills;
33pub mod spec_detector;
34pub mod state;
35pub mod storage;
36pub mod store;
37pub mod tools;
38pub mod trace;
39pub mod workflow;
40
41// Convenience re-exports
42pub use db::Database;
43pub use error::ServerError;
44pub use state::{AppState, AppStateInner, DockerState};