pub struct SessionMeta {
pub session_id: String,
pub skill: String,
pub skill_version: Option<u32>,
pub devboy_version: String,
pub started_at: DateTime<Utc>,
pub ended_at: Option<DateTime<Utc>>,
pub outcome: Option<Outcome>,
pub input_summary: Option<String>,
pub tool_calls: u64,
pub errors: u64,
pub summary: Option<String>,
}Expand description
meta.json — written at session end and optionally touched during
long sessions.
Fields§
§session_id: StringSession id matching every record in trace.jsonl.
skill: String§skill_version: Option<u32>Skill version at run time, if the caller provided it.
devboy_version: Stringdevboy-tools version that emitted the session.
started_at: DateTime<Utc>Session start timestamp.
ended_at: Option<DateTime<Utc>>Session end timestamp (missing on in-flight sessions).
outcome: Option<Outcome>Outcome, if the session ended cleanly.
input_summary: Option<String>One-line input summary recorded at start, if available.
tool_calls: u64Number of tool calls observed.
errors: u64Number of tool calls that reported ok: false.
summary: Option<String>Closing summary string (mirrors the end event payload).
Trait Implementations§
Source§impl Clone for SessionMeta
impl Clone for SessionMeta
Source§fn clone(&self) -> SessionMeta
fn clone(&self) -> SessionMeta
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 SessionMeta
impl Debug for SessionMeta
Source§impl<'de> Deserialize<'de> for SessionMeta
impl<'de> Deserialize<'de> for SessionMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionMeta
impl RefUnwindSafe for SessionMeta
impl Send for SessionMeta
impl Sync for SessionMeta
impl Unpin for SessionMeta
impl UnsafeUnpin for SessionMeta
impl UnwindSafe for SessionMeta
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