Skip to main content

winx_code_agent/daemon/
mod.rs

1//! Long-lived shell daemon and its JSON-RPC client. The transport is a
2//! Unix-domain socket on Unix and a named pipe on Windows.
3
4mod client;
5mod control;
6mod lifecycle;
7mod protocol;
8mod server;
9mod socket;
10pub mod transport;
11
12pub use client::{DaemonClient, DaemonShellRuntime};
13pub use control::ControlServer;
14pub use protocol::{
15    DaemonProcessRole, HelloResult, JournalRead, PruneResult, SessionInfo,
16    BUILD_IDENTITY_CAPABILITY, COMPACT_ACTION_OUTPUT_CAPABILITY,
17    GENERATION_BOUND_ACTIONS_CAPABILITY, MAX_FRAME_BYTES, PROCESS_SHUTDOWN_CAPABILITY,
18    PROTOCOL_MAJOR, PROTOCOL_MINOR, TYPED_ACTION_RESULT_CAPABILITY,
19};
20pub use server::DaemonServer;
21pub use socket::{default_socket_path, socket_candidates, DaemonSocketCandidate};