onlyne_client/runtime/runloop.rs
1//! Foreground role runtime: one authenticated server link, four tasks, and the
2//! adapter socket that keeps serving plugins across reconnects.
3//!
4//! The transport handles death and redialing behind one handle, so this loop
5//! follows its readiness. Every pass from `Reconnecting` back to `Ready` runs
6//! the order the plan fixes for a reconnect: welcome, intent flush, event
7//! resume, pull.
8
9mod config;
10mod link;
11mod run;
12mod sessions;
13
14pub use config::{
15 ClientInit, DEFAULT_INTENT_ATTEMPTS, EVENT_CURSOR_KEY, FLUSH_PAUSE_MS, NOT_READY_PAUSE_MS,
16 OUTCOME_POLL_MS, PULL_HOLD_MS, PULL_LIMIT, PULL_PAUSE_MS, READINESS_POLL_MS,
17 RECONNECT_LADDER_SECONDS, RunState, SHUTDOWN_CLOSE_BUDGET, acp_options, default_intent_backoff,
18 reconnect_backoff,
19};
20pub use run::run;
21pub use sessions::accept_path;