Skip to main content

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