pub struct StartupContextSnapshot {
pub laputa_state_root: Option<PathBuf>,
pub soul_markdown: Option<String>,
pub wakeup_markdown: Option<String>,
pub wakeup_pack: Option<WakeupPackSummary>,
pub rhythm_triggers: Vec<RhythmTrigger>,
pub memory_markdown: Option<String>,
}Expand description
Structured startup support data that can be rendered into the chosen provider-consumable prompt block shape.
Fields§
§laputa_state_root: Option<PathBuf>Optional .laputa state root associated with the current session.
soul_markdown: Option<String>Optional rendered SOUL projection markdown.
wakeup_markdown: Option<String>Optional rendered WAKEUP projection markdown.
wakeup_pack: Option<WakeupPackSummary>Optional structured wakeup summary when markdown projections are not already available.
rhythm_triggers: Vec<RhythmTrigger>Optional rhythm signals relevant at startup.
memory_markdown: Option<String>Optional fallback block from existing Agent-Diva core outputs.
Implementations§
Source§impl StartupContextSnapshot
impl StartupContextSnapshot
Sourcepub fn into_system_prompt_block(self) -> Option<SystemPromptBlock>
pub fn into_system_prompt_block(self) -> Option<SystemPromptBlock>
Render structured startup data into the explicit prompt seam shape.
Trait Implementations§
Source§impl Clone for StartupContextSnapshot
impl Clone for StartupContextSnapshot
Source§fn clone(&self) -> StartupContextSnapshot
fn clone(&self) -> StartupContextSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StartupContextSnapshot
impl Debug for StartupContextSnapshot
Source§impl Default for StartupContextSnapshot
impl Default for StartupContextSnapshot
Source§fn default() -> StartupContextSnapshot
fn default() -> StartupContextSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for StartupContextSnapshot
impl PartialEq for StartupContextSnapshot
Source§fn eq(&self, other: &StartupContextSnapshot) -> bool
fn eq(&self, other: &StartupContextSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StartupContextSnapshot
impl StructuralPartialEq for StartupContextSnapshot
Auto Trait Implementations§
impl Freeze for StartupContextSnapshot
impl RefUnwindSafe for StartupContextSnapshot
impl Send for StartupContextSnapshot
impl Sync for StartupContextSnapshot
impl Unpin for StartupContextSnapshot
impl UnsafeUnpin for StartupContextSnapshot
impl UnwindSafe for StartupContextSnapshot
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
Converts
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>
Converts
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