//! App-server runtime command construction.
//!
//! Places the selected provider model into a long-lived app-server command that
//! runs in the session worktree.
use Path;
use Command;
/// Builds one `codex app-server` process command for one session folder.
///
/// Applies the subagent limit at process startup, including resumed threads.
pub