1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// SPDX-License-Identifier: Apache-2.0
//! Portable command invocation intent for Cageforge backends.
//!
//! [`CommandRequest`] describes what a caller wants to execute without
//! selecting an operating-system backend or launching a process. The request
//! is deliberately separate from sandbox policy, configuration parsing, PTY
//! handling, and process lifecycle management.
//!
//! # Reading this crate
//!
//! Start with [`CommandRequest`], which owns the complete execution intent.
//! Its [`CommandSpec`] describes native argv values, [`EnvironmentSpec`]
//! describes the environment transformation, and [`StdioSpec`] plus
//! [`TimeoutPolicy`] describe backend-facing execution options. Construction
//! errors are reported through [`CommandError`]. The implementation keeps
//! these concerns separate so a caller can reuse the command model without
//! adopting Cageforge's policy or TOML layers.
pub use CommandSpec;
pub use ;
pub use CommandError;
pub use CommandRequest;
pub use ;
pub use TimeoutPolicy;