Skip to main content

Crate act_sdk

Crate act_sdk 

Source

Re-exports§

pub use bytes::Bytes;
pub use context::ActContext;
pub use response::Content;
pub use response::IntoToolResponse;
pub use response::Json;
pub use sessions::SessionRegistry;

Modules§

bytes
Bytes — a binary field that travels as a CBOR byte string (major type 2), projected to/from the canonical {"$bytes":"<base64>"} envelope on JSON transports. See the native binary encoding design (§3, §5.1).
cbor
constants
Well-known constants used across the ACT protocol.
context
prelude
response
sessions
Session lifecycle helpers for components that export act:sessions/session-provider.
types

Structs§

ActError
Error type mapping to ACT tool-error.

Type Aliases§

ActResult
Result type for ACT operations.

Attribute Macros§

act_component
Attribute macro for ACT component modules. Takes no arguments.
act_tool
Attribute macro for ACT tool functions.
session_close
Mark a function as act:sessions/session-provider.close-session.
session_open
Mark a function as act:sessions/session-provider.open-session.