Skip to main content

Crate anyclaw_sdk_types

Crate anyclaw_sdk_types 

Source
Expand description

Shared types for the anyclaw agent-channel-tool SDK.

This crate provides the wire types used by all three SDK implementation crates (anyclaw-sdk-agent, anyclaw-sdk-channel, anyclaw-sdk-tool) and the internal anyclaw supervisor.

All serializable types use camelCase JSON field names.

§Stability

This crate is unstable — types, enums, and wire formats may change between releases. Enums marked #[non_exhaustive] will have new variants added; match arms must include _.

Re-exports§

pub use acp::*;
pub use channel::*;
pub use channel_event::*;
pub use media::*;
pub use permission::*;
pub use session_key::*;
pub use workspace_scope::*;

Modules§

acp
ACP (Agent Client Protocol) wire types for supervisor↔agent communication. ACP (Agent Client Protocol) wire types.
channel
Channel protocol wire types (capabilities, initialize, deliver, send, ack, content).
channel_event
Agent→channel bridge events routed through the supervisor.
media
Media utilities: URI parsing, MIME detection, data URI construction. Media utilities shared across SDK crates.
permission
Permission prompt types (request, response, options).
session_key
Session routing key encoding channel + conversation identity. Includes SessionKeyError for validation failures.
workspace_scope
Workspace access scope types for MCP tool capability enforcement.