//! Conversation thread and message management.
//!
//! Thread lifecycle (create, list, delete, purge) and per-thread message
//! CRUD. Storage delegates to `memory::conversations` JSONL files; this
//! module owns the RPC surface and controller registry.

pub mod error;
pub mod ops;
pub mod schemas;
pub mod title;
pub mod tools;
pub mod turn_state;
pub mod welcome_migration;

pub use error::{ThreadsError, THREAD_NOT_FOUND_KIND};
pub use schemas::{
    all_controller_schemas as all_threads_controller_schemas,
    all_registered_controllers as all_threads_registered_controllers,
};
pub use welcome_migration::{migrate_welcome_agent_artifacts, WelcomeMigrationResult};
