trustee_core/lib.rs
1//! Trustee Core — shared types, session state, and workflow logic.
2//!
3//! This crate is the shared foundation used by both `trustee-tui` (terminal UI)
4//! and the upcoming `trustee-api` (HTTP/WebSocket server). It contains:
5//!
6//! - **Types**: enums and structs that model the agent's state machine
7//! - **Session**: the core `Session` struct (agent state without UI concerns)
8//! - **Workflow**: command execution, handoff, and message handling
9//! - **Config**: auto-handoff and color parsing from TOML
10
11pub mod config;
12pub mod session;
13pub mod sessions;
14pub mod types;