pub struct CreateContext {
pub name: String,
pub message: String,
pub cwd: PathBuf,
pub from_name: Option<String>,
pub session_id: Option<String>,
pub yolo: bool,
pub reasoning_effort: Option<String>,
pub append_system_prompt: Option<String>,
}Expand description
Inputs for a fresh spawn (fno agents spawn).
Fields§
§name: String§message: String§cwd: PathBuf§from_name: Option<String>Operator/peer attribution, threaded into the envelope on PTY paths.
session_id: Option<String>Caller-assigned session id. codex/gemini accept a pre-assigned UUID;
claude assigns its own short-id (so this is None for claude create).
yolo: boolYolo / sandbox-bypass opt-in (codex/gemini); maps to provider-specific flags. Claude ignores it.
reasoning_effort: Option<String>Pre-validated provider-native reasoning effort; None preserves argv.
append_system_prompt: Option<String>Optional system prompt appended at spawn (interactive claude only, the
“sentinel-prompt seam”, inside-out-multiplexer E4.1): a relay-targeted
spawn passes the relay sentinel prompt (RELAY_SYSTEM_PROMPT, the
bracket-free RELAY9BEGIN/RELAY9END markers) so its replies are
parseable; a grid-spawned claude passes None and runs unsteered. One
PTY, two consumers with different prompts (the seam the design flags).
Trait Implementations§
Source§impl Clone for CreateContext
impl Clone for CreateContext
Source§fn clone(&self) -> CreateContext
fn clone(&self) -> CreateContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more