Kill socket, read/write subcommands

Redundant with channels

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2026-04-05 05:34:59 -04:00
parent 3b15c690ec
commit 120ffabfaa
3 changed files with 0 additions and 335 deletions

View file

@ -244,14 +244,6 @@ impl Mind {
let mut ag = self.agent.lock().await;
ag.restore_from_log();
drop(ag);
// Start observation socket
if !self.config.no_agents {
let socket_path = self.config.session_dir.join("agent.sock");
let (observe_input_tx, _observe_input_rx) = log::input_channel();
log::start(socket_path, self.ui_tx.subscribe(), observe_input_tx);
self.start_memory_scoring();
}
}
pub fn turn_watch(&self) -> tokio::sync::watch::Receiver<bool> {