mentra 0.6.0

An agent runtime for tool-using LLM applications
Documentation
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>;
}