Skip to main content

clawft_types/
lib.rs

1//! # clawft-types
2//!
3//! Core type definitions for the clawft AI assistant framework.
4//!
5//! This crate is the foundation of the dependency graph -- all other
6//! clawft crates depend on it. It contains:
7//!
8//! - **[`error`]** -- [`ClawftError`] and [`ChannelError`] error types
9//! - **[`config`]** -- Configuration schema (ported from Python `schema.py`)
10//! - **[`event`]** -- Inbound/outbound message events
11//! - **[`provider`]** -- LLM response types and the 15-provider registry
12//! - **[`session`]** -- Conversation session state
13//! - **[`cron`]** -- Scheduled job types
14
15pub mod agent_bus;
16pub mod agent_routing;
17pub mod canvas;
18pub mod config;
19pub mod cron;
20pub mod delegation;
21pub mod error;
22pub mod event;
23pub mod provider;
24pub mod routing;
25pub mod secret;
26pub mod security;
27pub mod session;
28pub mod skill;
29pub mod registry;
30pub mod workspace;
31
32pub use error::{ChannelError, ClawftError, Result};
33pub use registry::Registry;