pub mod agent;
pub mod client;
pub mod credentials;
pub mod error;
pub mod registration;
pub mod relay;
pub mod types;
pub mod ws;
pub use agent::AgentClient;
pub use client::{ClientOptions, HttpClient, RequestOptions};
pub use error::{RelayError, Result};
pub use registration::{
format_registration_error, registration_is_retryable, registration_retry_after_secs,
retry_agent_registration, AgentRegistrationClient, AgentRegistrationError,
AgentRegistrationRetryOutcome,
};
pub use relay::{RelayCast, RelayCastOptions};
pub use ws::{EventReceiver, LifecycleReceiver, WsClient, WsClientOptions, WsLifecycleEvent};
pub use types::{
Agent,
AgentCommand,
AgentListQuery,
AgentOfflineEvent,
AgentOnlineEvent,
AgentPresenceInfo,
Channel,
ChannelArchivedEvent,
ChannelCreatedEvent,
ChannelMemberInfo,
ChannelReadStatus,
ChannelUpdatedEvent,
ChannelWithMembers,
CommandInvocation,
CommandInvokedEvent,
CreateAgentRequest,
CreateAgentResponse,
CreateChannelRequest,
CreateCommandRequest,
CreateCommandResponse,
CreateGroupDmRequest,
CreateSubscriptionRequest,
CreateSubscriptionResponse,
CreateWebhookRequest,
CreateWebhookResponse,
CreateWorkspaceResponse,
DmConversationSummary,
DmReceivedEvent,
DmSendResponse,
EventSubscription,
FileInfo,
FileListOptions,
FileUploadedEvent,
GroupDmConversationResponse,
GroupDmMessageResponse,
GroupDmParticipantRef,
GroupDmParticipantResponse,
GroupDmReceivedEvent,
InboxResponse,
InvokeCommandRequest,
MemberJoinedEvent,
MemberLeftEvent,
MessageBlock,
MessageCreatedEvent,
MessageInjectionMode,
MessageListQuery,
MessageReadEvent,
MessageUpdatedEvent,
MessageWithMeta,
PostMessageRequest,
ReactionAddedEvent,
ReactionGroup,
ReactionRemovedEvent,
ReaderInfo,
ReleaseAgentRequest,
ReleaseAgentResponse,
SearchOptions,
SendDmRequest,
SetSystemPromptRequest,
SpawnAgentRequest,
SpawnAgentResponse,
SystemPrompt,
ThreadReplyEvent,
ThreadReplyRequest,
ThreadResponse,
TokenRotateResponse,
UpdateAgentRequest,
UpdateChannelRequest,
UpdateWorkspaceRequest,
UploadRequest,
UploadResponse,
Webhook,
WebhookReceivedEvent,
WebhookTriggerRequest,
WebhookTriggerResponse,
Workspace,
WorkspaceDmConversation,
WorkspaceDmMessage,
WorkspaceStats,
WorkspaceStreamConfig,
WsEvent,
};
pub const SDK_VERSION: &str = env!("CARGO_PKG_VERSION");