Skip to content

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

Rust

fix(cli): scope the OpenCode test import to unix (#1097)

AkitaOnRailsc66446e3ed89
diff --git a/crates/ai-memory-cli/src/commands/opencode_dialect.rs b/crates/ai-memory-cli/src/commands/opencode_dialect.rs
index eb7af36b..14ca248b 100644
--- a/crates/ai-memory-cli/src/commands/opencode_dialect.rs
+++ b/crates/ai-memory-cli/src/commands/opencode_dialect.rs
@@ -147,6 +147,7 @@ fn read_bounded(
#[cfg(test)]
mod tests {
+ #[cfg(unix)]
use ai_memory_workstream::ManagedHarness;
use super::*;