aion-server 0.31.0

Aion workflow server library: HTTP, gRPC, WebSocket, and worker endpoints. Run it with the `aion` binary from the aion-cli crate.
Documentation
//! Server-owned assistant sessions: one live agent-harness process per caller
//! conversation, with a durable transcript and a live socket.
//!
//! - [`error`] — the typed refusals the surface answers with.
//! - [`frames`] — the harness transcript translated into session frames.
//! - [`launch`] — the ACP harness one session runs on, composed from config.
//! - [`lifecycle`] — creating, turning, resuming, cancelling and ending one.
//! - [`live`] — one live harness process, and the commit-before-broadcast
//!   recorder every frame goes through.
//! - [`turn_driver`] — the task that carries one turn from the harness's stream
//!   onto the record.
//! - [`prompt`] — the on-screen context composed into the prompt a turn sends.
//! - [`registry`] — every session this server knows about, live or not.
//! - [`token`] — the session-scoped bearer the harness carries to `/mcp`.

pub(crate) mod document_edits;
pub(crate) mod error;
pub(crate) mod frames;
pub mod launch;
pub(crate) mod lifecycle;
pub(crate) mod live;
pub(crate) mod prompt;
pub mod registry;
pub(crate) mod token;
pub(crate) mod turn_driver;

/// The registry fixtures the session and assistant-MCP pins are built on.
#[cfg(test)]
pub(crate) mod fixture;
#[cfg(test)]
mod lifecycle_tests;

pub use launch::AssistantEndpoints;

pub(crate) use error::AssistantSessionError;
pub use registry::{AssistantSessions, Availability};