Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

fix(run): gate unix-only test helpers for the windows build (#1112)

AkitaOnRailsc66d0bb5f4b8
diff --git a/crates/ai-memory-cli/src/commands/run.rs b/crates/ai-memory-cli/src/commands/run.rs
index d1826312..e7ce3f01 100644
--- a/crates/ai-memory-cli/src/commands/run.rs
+++ b/crates/ai-memory-cli/src/commands/run.rs
@@ -3746,6 +3746,7 @@ mod tests {
use super::*;
use crate::cli::{Cli, Command as CliCommand};
+ #[cfg(unix)]
use crate::commands::run_autowire::WireOverrides;
fn plan(warn: bool, mode: JailMode) -> JailPlan {
@@ -6121,6 +6122,7 @@ mod tests {
format!("http://{address}")
}
+ #[cfg(unix)]
fn repo_hooks() -> PathBuf {
PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("../../hooks")
}