Add operator Mentra memory browser
This commit is contained in:
20
vendor/mentra/src/background/hook.rs
vendored
Normal file
20
vendor/mentra/src/background/hook.rs
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
use std::path::Path;
|
||||
|
||||
use crate::error::RuntimeError;
|
||||
|
||||
pub(crate) trait BackgroundHookSink: Send + Sync {
|
||||
fn task_started(
|
||||
&self,
|
||||
agent_id: &str,
|
||||
task_id: &str,
|
||||
command: &str,
|
||||
cwd: &Path,
|
||||
) -> Result<(), RuntimeError>;
|
||||
|
||||
fn task_finished(
|
||||
&self,
|
||||
agent_id: &str,
|
||||
task_id: &str,
|
||||
status: &str,
|
||||
) -> Result<(), RuntimeError>;
|
||||
}
|
||||
Reference in New Issue
Block a user