pub struct ThreadItem {Show 18 fields
pub path: PathBuf,
pub thread_id: Option<ThreadId>,
pub first_user_message: Option<String>,
pub preview: Option<String>,
pub cwd: Option<PathBuf>,
pub git_branch: Option<String>,
pub git_sha: Option<String>,
pub git_origin_url: Option<String>,
pub source: Option<SessionSource>,
pub history_mode: ThreadHistoryMode,
pub parent_thread_id: Option<ThreadId>,
pub agent_nickname: Option<String>,
pub agent_role: Option<String>,
pub model_provider: Option<String>,
pub cli_version: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub recency_at: Option<String>,
}Expand description
Summary information for a thread rollout file.
Fields§
§path: PathBufAbsolute path to the rollout file.
thread_id: Option<ThreadId>Thread ID from session metadata.
first_user_message: Option<String>First user message captured for this thread, if any.
preview: Option<String>Best available user-facing preview for discovery and list display.
cwd: Option<PathBuf>Working directory from session metadata.
git_branch: Option<String>Git branch from session metadata.
git_sha: Option<String>Git commit SHA from session metadata.
git_origin_url: Option<String>Git origin URL from session metadata.
source: Option<SessionSource>Session source from session metadata.
history_mode: ThreadHistoryModePersisted thread history contract selected when this thread was created.
parent_thread_id: Option<ThreadId>Immediate control/spawn parent thread id from session metadata.
agent_nickname: Option<String>Random unique nickname from session metadata for AgentControl-spawned sub-agents.
agent_role: Option<String>Role (agent_role) from session metadata for AgentControl-spawned sub-agents.
model_provider: Option<String>Model provider from session metadata.
cli_version: Option<String>CLI version from session metadata.
created_at: Option<String>RFC3339 timestamp string for when the session was created, if available. created_at comes from the filename timestamp with second precision.
updated_at: Option<String>RFC3339 timestamp string for the most recent update (from file mtime).
recency_at: Option<String>RFC3339 timestamp string used for product recency ordering.
Trait Implementations§
Source§impl Debug for ThreadItem
impl Debug for ThreadItem
Source§impl Default for ThreadItem
impl Default for ThreadItem
Source§fn default() -> ThreadItem
fn default() -> ThreadItem
Source§impl PartialEq for ThreadItem
impl PartialEq for ThreadItem
impl StructuralPartialEq for ThreadItem
Auto Trait Implementations§
impl Freeze for ThreadItem
impl RefUnwindSafe for ThreadItem
impl Send for ThreadItem
impl Sync for ThreadItem
impl Unpin for ThreadItem
impl UnsafeUnpin for ThreadItem
impl UnwindSafe for ThreadItem
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request