pub struct CliAgentSessionQuery { /* private fields */ }Expand description
Read-only CLI adapter over the selected local shared store.
Implementations§
Source§impl CliAgentSessionQuery
impl CliAgentSessionQuery
Sourcepub const fn new(storage: SqliteStorage) -> Self
pub const fn new(storage: SqliteStorage) -> Self
Open the adapter over the selected CLI database.
Trait Implementations§
Source§impl AgentSessionQuery for CliAgentSessionQuery
impl AgentSessionQuery for CliAgentSessionQuery
Source§fn list_sessions<'life0, 'life1, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
query: AgentSessionListQuery,
) -> Pin<Box<dyn Future<Output = Result<AgentSessionPage, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_sessions<'life0, 'life1, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
query: AgentSessionListQuery,
) -> Pin<Box<dyn Future<Output = Result<AgentSessionPage, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
List compact canonical sessions.
Source§fn get_session<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
session_id: &'life2 SessionId,
include: AgentSessionInclude,
) -> Pin<Box<dyn Future<Output = Result<AgentSessionView, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_session<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
session_id: &'life2 SessionId,
include: AgentSessionInclude,
) -> Pin<Box<dyn Future<Output = Result<AgentSessionView, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Load one compact session projection.
Source§fn list_runs<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
session_id: &'life2 SessionId,
query: AgentRunListQuery,
) -> Pin<Box<dyn Future<Output = Result<AgentRunPage, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_runs<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
session_id: &'life2 SessionId,
query: AgentRunListQuery,
) -> Pin<Box<dyn Future<Output = Result<AgentRunPage, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
List compact runs under one session.
Source§fn get_run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
session_id: &'life2 SessionId,
run_id: &'life3 RunId,
) -> Pin<Box<dyn Future<Output = Result<AgentRunView, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get_run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
session_id: &'life2 SessionId,
run_id: &'life3 RunId,
) -> Pin<Box<dyn Future<Output = Result<AgentRunView, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Load one run by its composite session/run identity.
Source§fn replay_run<'life0, 'life1, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
target: ManagedRunTarget,
query: AgentReplayQuery,
) -> Pin<Box<dyn Future<Output = Result<AgentDisplayPage, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn replay_run<'life0, 'life1, 'async_trait>(
&'life0 self,
scope: &'life1 AgentSessionScope,
target: ManagedRunTarget,
query: AgentReplayQuery,
) -> Pin<Box<dyn Future<Output = Result<AgentDisplayPage, AgentSessionQueryError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Replay only bounded user-visible display evidence.
Source§impl Clone for CliAgentSessionQuery
impl Clone for CliAgentSessionQuery
Source§fn clone(&self) -> CliAgentSessionQuery
fn clone(&self) -> CliAgentSessionQuery
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 moreAuto Trait Implementations§
impl Freeze for CliAgentSessionQuery
impl RefUnwindSafe for CliAgentSessionQuery
impl Send for CliAgentSessionQuery
impl Sync for CliAgentSessionQuery
impl Unpin for CliAgentSessionQuery
impl UnsafeUnpin for CliAgentSessionQuery
impl UnwindSafe for CliAgentSessionQuery
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