systemprompt-agent 0.15.0

Agent-to-Agent (A2A) protocol for systemprompt.io AI governance: streaming, JSON-RPC models, task lifecycle, .well-known discovery, and governed agent orchestration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Per-event handlers for the A2A streaming pipeline.
//!
//! Routes incoming stream events to their handlers: `completion` for terminal
//! completion and error events, `text` for incremental text accumulation via
//! [`TextStreamState`].

mod completion;
mod text;

pub(super) use completion::{
    HandleCompleteParams, HandleErrorParams, handle_complete, handle_error,
};
pub(super) use text::TextStreamState;