add more cli features and styling

refactoring
This commit is contained in:
milan
2026-04-12 21:51:10 +02:00
parent 01e7da136c
commit 87e1a93a3e
7 changed files with 204 additions and 41 deletions
+3 -3
View File
@@ -12,11 +12,11 @@ pub enum HumanInterfaceError {
}
pub trait HumanInterface {
fn agent_message(&self, message: String);
fn agent_message(&mut self, message: String);
fn expect_user_message(&self) -> impl Future<Output = Result<String, HumanInterfaceError>>;
fn expect_user_message(&mut self) -> impl Future<Output = Result<String, HumanInterfaceError>>;
fn ask_for_permission(&self, mcp_server_name: String, tool_name:String) -> impl Future<Output = Result<PermissionAnswer, HumanInterfaceError>>;
fn run(&self) -> impl Future<Output = Result<(), HumanInterfaceError>>;
fn run(&mut self) -> impl Future<Output = Result<(), HumanInterfaceError>>;
}