Expand description
robit-chatbot: Multi-session Bot infrastructure for the Robit framework.
Provides the platform-agnostic PlatformAdapter trait, ChatbotManager
(multi-session orchestration), ChatbotFrontend (per-session Frontend
implementation with streaming), Confirmer (inline tool confirmation),
and a Markdown sanitizer. Platform crates (e.g. robit-qq) implement
PlatformAdapter and reuse everything else.
Re-exports§
pub use adapter::ChatMessage;pub use adapter::ChatType;pub use adapter::MarkdownFeatures;pub use adapter::MediaAttachment;pub use adapter::PlatformAdapter;pub use adapter::PlatformCaps;pub use adapter::PlatformEvent;pub use adapter::SendResult;pub use adapter::SenderInfo;pub use adapter::UploadResult;pub use confirmer::ConfirmKeywords;pub use confirmer::Confirmer;pub use extensions::PlatformExtWrapper;pub use frontend::ChatbotFrontend;pub use frontend::PlatformExt;pub use frontend::PlatformSender;pub use manager::AgentHandle;pub use manager::ChatbotManager;pub use manager::ManagerError;
Modules§
- adapter
- Platform adapter trait and supporting types.
- confirmer
- Tool confirmation coordinator for Bot platforms.
- extensions
- Extension keys for ToolContext.extensions map.
- frontend
- Per-session Frontend implementation for Bot platforms.
- manager
- Multi-session Bot orchestrator.
- markdown
- Markdown sanitizer for platform-specific rendering.
- tool
- Chatbot-specific tools shared across bot platforms (QQ, Feishu, etc.).