acosmi-sdk 3.0.0

Acosmi Rust SDK:模型网关、Agent Run Gateway 与 Compliance 统一客户端。双格式(Anthropic + OpenAI)。端口自 acosmi-sdk-ts。
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! 通知 / WebSocket 推送域。
//!
//! 对齐 `notifications/index.ts`。类型在 [`types`];REST 业务方法在 [`notifications`],
//! WebSocket 长连接在 [`ws`](均为 declaration-merging 模式的 `impl Client` 块,无 side-effect import)。

#[allow(clippy::module_inception)]
pub mod notifications;
pub mod types;
pub mod ws;

pub(crate) use ws::WsHandle;

pub use types::{
    parse_notification_event, DeviceRegistration, Notification, NotificationList,
    NotificationPreference, NotificationUnreadCount, WSEvent,
};
pub use ws::WSConfig;