1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Ergonomic Rust types for the A2A Protocol v1.0.
//!
//! This crate wraps the prost-generated proto types from [`turul_a2a_proto`]
//! with idiomatic Rust APIs, state machine enforcement on [`TaskState`], and
//! builder helpers on [`Task`], [`Message`], and [`Artifact`].
//!
//! All public types are `#[non_exhaustive]` — additive changes will not break
//! downstream code.
//!
//! # Primary entry points
//!
//! - [`Task`], [`TaskStatus`], [`TaskState`] — the core task object and its lifecycle
//! - [`Message`], [`Part`], [`Role`] — conversational payloads
//! - [`Artifact`] — outputs produced during task execution
//! - [`wire`] — JSON-RPC method constants and SSE event shapes
//!
//! Raw proto access is available via [`proto`] for advanced use.
/// Re-export proto types for advanced users.
pub use Artifact;
pub use A2aTypeError;
pub use ;
pub use ;
pub use ;