pub use wabot_core::{
audit, config, description, entity, idempotency, injection, log_context, mapper, rate_limit,
register_singletons, repository, storable, validation,
};
pub use wabot_macros::{
action, chat_controller, cmd, command, command_handler, cron_command, cron_handler, delete,
description, get, head, injectable, max_body, middleware, mindset_lang, mindset_module,
mindset_tool, on_socket_event, patch, post, put, raw, rest_controller, singleton, socket,
socket_controller, telegram, tool, tool_lang, tools, ui_controller, view, Validate,
};
#[doc(hidden)]
pub use wabot_core as __wabot_core;
pub mod lifecycle {
pub use wabot_core::lifecycle::*;
}
#[cfg(feature = "rest")]
pub mod rest {
pub use wabot_feature_rest_controller::*;
}
#[cfg(feature = "chat")]
pub mod chat {
pub use wabot_feature_chat_controller::*;
}
#[cfg(feature = "chatbot")]
pub mod chatbot {
pub use wabot_feature_chat_bot::*;
}
#[cfg(feature = "chatbot")]
pub mod tool {
pub use wabot_feature_tool::*;
}
#[cfg(feature = "chatbot")]
pub mod mindset {
pub use wabot_feature_mindset::*;
}
#[cfg(feature = "testing")]
pub mod testing {
pub use wabot_testing::*;
}
#[cfg(feature = "chatbot")]
pub mod agent {
pub use wabot_feature_agent::*;
}
#[cfg(feature = "socket-controller")]
pub mod sockets {
pub use wabot_feature_socket_controller::*;
}
#[cfg(feature = "async-jobs")]
pub mod async_jobs {
pub use wabot_feature_async::*;
}
#[cfg(feature = "pg")]
pub mod pg {
pub use wabot_feature_pg::*;
}
#[cfg(feature = "sqlite")]
pub mod sqlite {
pub use wabot_feature_sqlite::*;
}
#[cfg(any(feature = "ui", feature = "ui-hypertext", feature = "ui-tsx"))]
pub mod ui {
pub use wabot_feature_ui_controller::*;
#[cfg(feature = "ui")]
pub use wabot_addon_ui_maud as maud;
#[cfg(feature = "ui-hypertext")]
pub use wabot_addon_ui_hypertext as hypertext;
}
#[cfg(any(
feature = "addon-cmd",
feature = "addon-telegram",
feature = "addon-socket",
feature = "addon-anthropic",
feature = "addon-openai",
feature = "addon-deepseek",
feature = "addon-google",
feature = "addon-openrouter",
feature = "addon-wabot",
feature = "addon-mindset-html",
feature = "addon-async-memory",
feature = "addon-async-pg",
feature = "addon-chat-bot-pg",
feature = "addon-auth-jwt",
feature = "addon-auth-api-key",
))]
pub mod addons {
#[cfg(feature = "addon-cmd")]
pub use wabot_addon_chat_controller_cmd as cmd;
#[cfg(feature = "addon-telegram")]
pub use wabot_addon_chat_controller_telegram as telegram;
#[cfg(feature = "addon-socket")]
pub use wabot_addon_chat_controller_socket as socket;
#[cfg(feature = "addon-anthropic")]
pub use wabot_addon_chat_bot_anthropic as anthropic;
#[cfg(feature = "addon-openai")]
pub use wabot_addon_chat_bot_openai as openai;
#[cfg(feature = "addon-deepseek")]
pub use wabot_addon_chat_bot_deepseek as deepseek;
#[cfg(feature = "addon-google")]
pub use wabot_addon_chat_bot_google as google;
#[cfg(feature = "addon-openrouter")]
pub use wabot_addon_chat_bot_openrouter as openrouter;
#[cfg(feature = "addon-wabot")]
pub use wabot_addon_chat_bot_wabot as wabot_llm;
#[cfg(feature = "addon-mindset-html")]
pub use wabot_addon_mindset_html as mindset_html;
#[cfg(feature = "addon-async-memory")]
pub use wabot_addon_async_in_memory as async_memory;
#[cfg(feature = "addon-async-pg")]
pub use wabot_addon_async_pg as async_pg;
#[cfg(feature = "addon-chat-bot-pg")]
pub use wabot_addon_chat_bot_pg as chat_bot_pg;
#[cfg(feature = "addon-auth-jwt")]
pub use wabot_addon_auth_jwt as auth_jwt;
#[cfg(feature = "addon-auth-api-key")]
pub use wabot_addon_auth_api_key as auth_api_key;
}
pub mod prelude {
pub use wabot_core::audit::{audit_actor, set_audit_actor, set_audit_source, AuditActor};
pub use wabot_core::auth::{Auth, AuthError};
pub use wabot_core::log_context::{
add_log_field, log_context, request_id, run_with_log_context, LogContext,
};
pub use wabot_core::prelude::*;
pub use wabot_core::{register_singletons, register_transients};
#[cfg(feature = "chatbot")]
pub use wabot_feature_agent::{
agent_binding, register_agents, Agent, AgentBudget, AgentError, AgentFactory, AgentReply,
AgentSession,
};
#[cfg(feature = "async-jobs")]
pub use wabot_feature_async::{
register_async_runtime, run_async_workers, schedule_job, AsyncError, AsyncRuntimeConfig,
CommandHandlerEntry, CommandRegistry, CronHandlerEntry, CronRegistry, JobOptions,
};
#[cfg(feature = "chatbot")]
pub use wabot_feature_chat_bot::{
Chat, ChatAdapter, ChatBot, ChatConnection, ChatMessage, ChatRepository, ChatType,
InMemoryChatMemory, InMemoryChatRepository,
};
#[cfg(feature = "chat")]
pub use wabot_feature_chat_controller::{
run_chat_controllers, ChannelError, ChatChannel, ReceivedMessage, ReplyHandle,
};
#[cfg(feature = "chatbot")]
pub use wabot_feature_mindset::{
Mindset, MindsetCache, MindsetCacheConfig, MindsetDescription, MindsetIdentity,
MindsetModelRef, MindsetModels, MindsetOperator, ModelKind, ToolDefinition, ToolGate,
ToolSchema,
};
#[cfg(feature = "pg")]
pub use wabot_feature_pg::{PgConfig, PgDatabase, PgError, PgLocker, PgResult};
#[cfg(feature = "rest-tls")]
pub use wabot_feature_rest_controller::TlsMode;
#[cfg(feature = "rest")]
pub use wabot_feature_rest_controller::{
Middleware, RequestContextLayer, RestError, RestResult, RestServerConfig,
};
#[cfg(feature = "sqlite")]
pub use wabot_feature_sqlite::{
SqliteConfig, SqliteDatabase, SqliteError, SqliteJsonbStore, SqliteResult,
};
#[cfg(any(feature = "ui", feature = "ui-hypertext", feature = "ui-tsx"))]
pub use wabot_feature_ui_controller::{
embedded_assets,
run_ui_controllers,
ui_router,
EmbeddedAsset,
Redirect,
UiError,
UiResult,
ViewBody,
ViewOutcome,
};
pub use wabot_macros::{
action, chat_controller, cmd, command, command_handler, cron_command, cron_handler, delete,
description, get, head, injectable, max_body, middleware, mindset_lang, mindset_module,
mindset_tool, on_socket_event, patch, post, put, raw, rest_controller, singleton, socket,
socket_controller, telegram, tool, tool_lang, tools, ui_controller, view, Validate,
};
}
pub mod runner;
pub use runner::ProjectRunner;