botserver/src/lib.rs

95 lines
1.8 KiB
Rust
Raw Normal View History

2025-11-22 22:54:45 -03:00
// Core modules (always included)
pub mod basic;
2025-11-22 22:54:45 -03:00
pub mod core;
pub mod multimodal;
2025-11-29 16:29:28 -03:00
pub mod security;
2025-12-02 21:09:43 -03:00
// Suite application modules (gap analysis implementations)
pub mod analytics;
pub mod designer;
pub mod paper;
pub mod research;
pub mod sources;
2025-11-22 22:54:45 -03:00
// Re-export shared from core
pub use core::shared;
// Bootstrap progress tracking
#[derive(Debug, Clone)]
pub enum BootstrapProgress {
StartingBootstrap,
InstallingComponent(String),
StartingComponent(String),
UploadingTemplates,
ConnectingDatabase,
StartingLLM,
BootstrapComplete,
BootstrapError(String),
}
2025-11-22 22:54:45 -03:00
// Re-exports from core (always included)
pub use core::automation;
pub use core::bootstrap;
pub use core::bot;
pub use core::config;
pub use core::package_manager;
pub use core::session;
2025-11-29 16:29:28 -03:00
// Re-exports from security
pub use security::{get_secure_port, SecurityConfig, SecurityManager};
2025-11-22 22:54:45 -03:00
// Feature-gated modules
#[cfg(feature = "attendance")]
pub mod attendance;
#[cfg(feature = "calendar")]
pub mod calendar;
#[cfg(feature = "compliance")]
pub mod compliance;
#[cfg(feature = "console")]
pub mod console;
#[cfg(feature = "directory")]
pub mod directory;
#[cfg(feature = "drive")]
2025-11-22 12:26:16 -03:00
pub mod drive;
#[cfg(feature = "drive")]
pub use drive::drive_monitor::DriveMonitor;
2025-11-22 22:54:45 -03:00
#[cfg(feature = "email")]
pub mod email;
2025-11-22 22:54:45 -03:00
#[cfg(feature = "instagram")]
pub mod instagram;
#[cfg(feature = "llm")]
pub mod llm;
#[cfg(feature = "llm")]
pub use llm::cache::{CacheConfig, CachedLLMProvider, CachedResponse, LocalEmbeddingService};
2025-11-22 22:54:45 -03:00
#[cfg(feature = "meet")]
pub mod meet;
2025-11-22 22:54:45 -03:00
#[cfg(feature = "msteams")]
pub mod msteams;
#[cfg(feature = "nvidia")]
2025-11-22 12:26:16 -03:00
pub mod nvidia;
2025-11-22 22:54:45 -03:00
#[cfg(feature = "tasks")]
pub mod tasks;
pub use tasks::TaskEngine;
2025-11-22 22:54:45 -03:00
#[cfg(feature = "vectordb")]
#[path = "vector-db/mod.rs"]
2025-11-22 22:54:45 -03:00
pub mod vector_db;
#[cfg(feature = "weba")]
pub mod weba;
#[cfg(feature = "whatsapp")]
pub mod whatsapp;