ag_agent/app_server.rs
1//! Shared app-server module router.
2//!
3//! This parent module intentionally exposes child modules and re-exports the
4//! public API for provider-neutral app-server contracts, prompt shaping,
5//! runtime registries, and restart/retry orchestration.
6
7pub mod contract;
8pub mod error;
9pub mod prompt;
10pub mod registry;
11pub mod retry;
12
13#[cfg(any(test, feature = "test-utils"))]
14pub use contract::MockAppServerClient;
15pub use contract::{
16 AppServerClient, AppServerFuture, AppServerStreamEvent, AppServerTurnRequest,
17 AppServerTurnResponse,
18};
19pub use error::AppServerError;
20pub use registry::AppServerSessionRegistry;
21pub use retry::{RuntimeInspector, run_turn_with_restart_retry};