#![forbid(unsafe_code)]
mod agent;
mod cluster;
pub mod dcp;
mod error;
mod job;
mod registry;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub use agent::{Agent, AgentConfig, AgentHandle};
pub use cluster::{
AGENT_ROLE, ClusterAgent, ClusterAgentConfig, ClusterAgentError, ClusterAgentHandle,
ClusterAgentResult, NodeSessionConfig, NodeSessionManagerHandle, NodeSessionTransport,
};
pub use error::{AgentError, AgentResult};
pub use job::{
ClusterJobMetadata, ClusterPlacementHistory, DesiredJobState, JobContext, JobControl,
JobDrainBehavior, JobEvent, JobEventKind, JobExitReason, JobGraphFactory, JobId,
JobInstrumentationSnapshot, JobMat, JobRestartPolicy, JobSpec, JobState, JobStatus,
PlacementSpec, PlacementStrategy,
};
pub use registry::{JobRegistry, JobRegistryHandle};