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;
6pub mod exit;
7mod lifecycle;
8mod protocol;
9mod server;
10mod socket;
11pub mod transport;
12
13pub use client::{DaemonClient, DaemonShellRuntime};
14pub use control::ControlServer;
15pub use protocol::{
16    DaemonProcessRole, HelloResult, JournalRead, PruneResult, SessionInfo,
17    BUILD_IDENTITY_CAPABILITY, COMPACT_ACTION_OUTPUT_CAPABILITY,
18    GENERATION_BOUND_ACTIONS_CAPABILITY, MAX_FRAME_BYTES, PROCESS_SHUTDOWN_CAPABILITY,
19    PROTOCOL_MAJOR, PROTOCOL_MINOR, TYPED_ACTION_RESULT_CAPABILITY,
20};
21pub use server::DaemonServer;
22pub use socket::{default_socket_path, socket_candidates, DaemonSocketCandidate};