Skip to main content

act_types/
lib.rs

1pub mod capability;
2pub mod cbor;
3pub mod constants;
4pub mod http;
5#[deprecated(
6    since = "0.14.0",
7    note = "hand-rolled JSON-RPC types existed only to serve `act_types::mcp`; \
8            use `rmcp::model` for MCP wire types. Scheduled for removal in 0.15.0."
9)]
10pub mod jsonrpc;
11#[deprecated(
12    since = "0.14.0",
13    note = "MCP wire types now come from `rmcp::model`, the reference SDK, which \
14            tracks protocol revisions for us — these hand-rolled types are pinned \
15            to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal \
16            in 0.15.0."
17)]
18pub mod mcp;
19pub mod types;
20
21pub use capability::{Capabilities, CapabilityRequest, Constraint};
22pub use types::{
23    ActError, ActResult, ComponentInfo, FilesystemAllow, FilesystemMount, FsMode, HttpAllow,
24    LocalizedString, Metadata, MountType, SocketProtocol, SocketsAllow, StdComponentInfo,
25    validate_mounts,
26};