Skip to main content

agent_engine/session/
mod.rs

1//! Session actor surface (Phase 2 daemon mode).
2//!
3//! One `SessionActor` (A1) owns THE `Runtime` + `ConversationState` for a
4//! conversation and runs its turn machine; clients talk to it through a
5//! `ClientTransport` — `LocalTransport` in-process (same `StreamEvent`
6//! values, never serialised = byte-identical), `SocketTransport` (B2) over
7//! the daemon UDS. `agent-tui` must never be a dependency of anything here.
8
9pub mod actor;
10pub mod actor_cmds;
11pub mod budgets;
12pub mod client_args;
13pub mod display;
14pub mod driver;
15pub mod handle;
16pub mod socket_transport;
17pub mod transport;
18pub mod types;
19pub mod view;
20pub mod wire;
21
22pub use actor::{SessionActor, SessionTask};
23pub use display::{DisplayItem, DisplayTail};
24pub use handle::SessionHandle;
25pub use socket_transport::SocketTransport;
26pub use transport::{ClientTransport, LocalTransport, TransportError};
27pub use types::*;
28pub use view::{RuntimeRead, RuntimeView};