agent-air-runtime 0.7.0

Core runtime for agent-air - LLM orchestration, tools, and permissions (no TUI dependencies)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Core types for controller communication and message handling.

mod content;
mod enums;
mod message;
mod payload;
mod turnid;

pub use content::{ContentBlock, TextBlock, ToolResultBlock, ToolUseBlock};
pub use enums::{
    ContentBlockType, ControlCmd, InputType, LLMRequestType, LLMResponseType, MessageRole,
};
pub use message::{AssistantMessage, ErrorInfo, Message, UserMessage};
pub use payload::{
    ControllerEvent, ControllerInputPayload, FromLLMPayload, LLMRequestOptions, ToLLMPayload,
    ToolResultInfo, ToolUseInfo,
};
pub use turnid::{OWNER_ASSISTANT, OWNER_USER, TurnCounter, TurnId};