toast_api/lib.rs
1//! Toast API Server
2//!
3//! This library provides CLI clients and an OpenAI-compatible API server built on Claude and DeepSeek.
4
5/// Configuration constants and defaults
6pub mod config;
7
8/// API client for interacting with Claude
9pub mod api;
10
11/// API client for interacting with DeepSeek
12pub mod deepseek;
13
14/// Helper utilities for request/response processing and tool commands
15pub mod utils;
16
17/// Shared utilities for CLI implementations
18pub mod shared_utils;
19
20/// Unified CLI implementation for both providers
21pub mod unified_cli;
22
23/// Server implementation for the OpenAI-compatible API
24pub mod server;
25
26/// SHA3-based proof-of-work implementation
27pub mod sha3;
28
29/// DGM-inspired tool system
30pub mod tools;
31
32/// DGM-inspired agent implementation
33pub mod agent;
34
35/// Agent-based CLI using the DGM-inspired tool system
36pub mod agent_cli;
37
38// Re-export common types for easy access
39pub use api::{Claude, Session};
40pub use config::{HAIKU_MODEL, OPUS_MODEL, SONNET_MODEL};
41pub use deepseek::{DeepSeek, Session as DeepSeekSession};