Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
test(run): build the unix-only launch helpers only on unix
Éverton Toffanetto6a036b9e361e
diff --git a/crates/ai-memory-cli/src/commands/run.rs b/crates/ai-memory-cli/src/commands/run.rsindex 95be42d0..eafd7193 100644--- a/crates/ai-memory-cli/src/commands/run.rs+++ b/crates/ai-memory-cli/src/commands/run.rs@@ -3113,6 +3113,7 @@ mod tests {/// A mock workstream server for launches driven through `run_from`: it/// prepares a run, linked to `native_session_id` when one is given, and/// accepts the link and the finish.+ #[cfg(unix)]async fn mock_workstream_server(native_session_id: Option<&'static str>,) -> (std::net::SocketAddr, tokio::task::JoinHandle<()>) {@@ -3170,6 +3171,7 @@ mod tests {(script, captured)}+ #[cfg(unix)]fn launch_config(home: &Path, data: &Path, address: std::net::SocketAddr) -> Config {let mut config = Config::load(None, Some(home.to_path_buf())).unwrap();config.data_dir = data.to_path_buf();@@ -3179,6 +3181,7 @@ mod tests {config}+ #[cfg(unix)]fn run_args(harness: RunHarnessChoice,executable: PathBuf,