pub enum ObsKind {
Read {
path: String,
},
Write {
path: String,
},
Shell {
program: String,
digest: String,
},
Fetch {
host: String,
},
Mcp {
tool: String,
},
Other {
tool: String,
},
Heartbeat,
Unproposed {
paths: Vec<String>,
total: u64,
},
Unhooked {
tool: String,
},
}Variants§
Read
Write
Shell
The program name and a digest of the full command; the command text itself is not logged because it may contain secrets.
Fetch
Mcp
Other
Heartbeat
Unproposed
What the workspace held that no standing proposal of the session
carries, when the agent stopped or ended its session. paths lists
at most MAX_UNPROPOSED_PATHS of total; a total of 0 says the
work is gone or delivered.
Unhooked
lonca mcp ran tool and the harness’s before-tool event for that
call never reached the daemon: the session’s hooks are not running.
tool is the MCP tool’s name, without the harness’s prefix.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ObsKind
impl<'de> Deserialize<'de> for ObsKind
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
impl Eq for ObsKind
impl StructuralPartialEq for ObsKind
Auto Trait Implementations§
impl Forget for ObsKind
impl Freeze for ObsKind
impl RefUnwindSafe for ObsKind
impl Send for ObsKind
impl Sync for ObsKind
impl Unpin for ObsKind
impl UnsafeUnpin for ObsKind
impl UnwindSafe for ObsKind
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.