pub struct CaptureSection {
pub enabled: bool,
pub sources: Option<Vec<Source>>,
pub settle_secs: u64,
}Expand description
Capturing sessions from the agent CLIs on this machine ([capture]).
Claude Code archives itself through a SessionEnd hook. Every other agent
CLI records its sessions to disk and tells nobody, so recall-echo reads them
instead: recall-echo ingest on demand, and the graph daemon on its own
once the machine has been quiet.
[capture]
enabled = true
sources = ["claude-code", "codex", "grok"] # default: whatever is installed
settle_secs = 300Defaults are on and auto-detecting, for the same reason background
extraction is: memory that only fills up for people who read the docs is
memory on the honor system. Set enabled = false to import nothing in the
background — recall-echo ingest still works, because that one was asked
for.
Fields§
§enabled: boolSweep for new transcripts in the daemon. Default true.
sources: Option<Vec<Source>>Which CLIs to capture. None — the default — means every CLI that has
recorded sessions on this machine.
settle_secs: u64Seconds a transcript must go untouched before it counts as finished.
Importing a live session would archive half a conversation and then mark
it captured for good. Default 300.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureSection
impl Clone for CaptureSection
Source§fn clone(&self) -> CaptureSection
fn clone(&self) -> CaptureSection
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 CaptureSection
impl Debug for CaptureSection
Source§impl Default for CaptureSection
impl Default for CaptureSection
Source§impl<'de> Deserialize<'de> for CaptureSectionwhere
CaptureSection: Default,
impl<'de> Deserialize<'de> for CaptureSectionwhere
CaptureSection: Default,
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>,
impl Eq for CaptureSection
Source§impl PartialEq for CaptureSection
impl PartialEq for CaptureSection
Source§impl Serialize for CaptureSection
impl Serialize for CaptureSection
impl StructuralPartialEq for CaptureSection
Auto Trait Implementations§
impl Freeze for CaptureSection
impl RefUnwindSafe for CaptureSection
impl Send for CaptureSection
impl Sync for CaptureSection
impl Unpin for CaptureSection
impl UnsafeUnpin for CaptureSection
impl UnwindSafe for CaptureSection
Blanket Implementations§
impl<T> AsyncFriendly for T
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
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>
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::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().