Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
test(hooks): satisfy clippy in request reader
AkitaOnRails89630f49e0d9
diff --git a/crates/ai-memory-cli/src/commands/hook_spool.rs b/crates/ai-memory-cli/src/commands/hook_spool.rsindex 941facc8..e958d079 100644--- a/crates/ai-memory-cli/src/commands/hook_spool.rs+++ b/crates/ai-memory-cli/src/commands/hook_spool.rs@@ -5384,10 +5384,7 @@ mod tests {const MAX_REQUEST_BYTES: usize = 65_536;let mut request = Vec::with_capacity(4096);let mut chunk = [0_u8; 4096];- loop {- let Ok(read) = stream.read(&mut chunk).await else {- break;- };+ while let Ok(read) = stream.read(&mut chunk).await {if read == 0 {break;}