pub struct PreflightInput {
pub resume_flag: String,
pub session_id: String,
pub working_dir: String,
pub config_dir: String,
pub history_session_id: String,
pub chain_head: Option<Head>,
pub identity_key: Option<String>,
pub fork_source: Option<Head>,
}Expand description
Everything preflight needs, lifted out of block meta by the caller so
this stays a pure-ish function over plain values (one is_file and at most
one read_dir of a single directory — no store, no block, no RPC types).
Fields§
§resume_flag: Stringagent:resume_flag — empty means this provider has no --resume.
session_id: Stringagent:sessionid — the id the next spawn would attempt, if any.
working_dir: Stringcmd:cwd — unexpanded is fine; expansion matches the spawn path.
config_dir: StringCLAUDE_CONFIG_DIR out of cmd:env.
history_session_id: StringThe session of the history this pane renders
(persistent::pane_history_session_id). A first spawn with no
session_id continues it when reachable. Empty when there is none.
chain_head: Option<Head>The head of the agent’s segment chain
(continuity_segments::chain_head), for the spawn’s resume gate
(SPEC_RESUME_GATE_AND_SAME_IDENTITY_CONTINUATION_2026_09_25.md §4.2).
None when the pane has no agent UID or the agent no chain.
identity_key: Option<String>The identity config_dir is signed in as
(account_email::identity_key_from_oauth_dir), for the gate’s
identity check. None when unknown.
fork_source: Option<Head>The chain head of the agent this one was forked from, when it has no
chain of its own (continuity_segments::fork_source_head).
Trait Implementations§
Source§impl Clone for PreflightInput
impl Clone for PreflightInput
Source§fn clone(&self) -> PreflightInput
fn clone(&self) -> PreflightInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PreflightInput
impl Debug for PreflightInput
Source§impl Default for PreflightInput
impl Default for PreflightInput
Source§fn default() -> PreflightInput
fn default() -> PreflightInput
Auto Trait Implementations§
impl Freeze for PreflightInput
impl RefUnwindSafe for PreflightInput
impl Send for PreflightInput
impl Sync for PreflightInput
impl Unpin for PreflightInput
impl UnsafeUnpin for PreflightInput
impl UnwindSafe for PreflightInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more