Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
style(cli): rustfmt Codex memory-agent import wrapping
Vinícius DS Andrade4fe46aa529de
diff --git a/crates/ai-memory-cli/src/commands/transcript_capture.rs b/crates/ai-memory-cli/src/commands/transcript_capture.rsindex acbdc3d9..7ddccd35 100644--- a/crates/ai-memory-cli/src/commands/transcript_capture.rs+++ b/crates/ai-memory-cli/src/commands/transcript_capture.rs@@ -264,9 +264,7 @@ impl TranscriptCapture {record_cwd(event).is_some_and(ai_memory_core::is_codex_memory_agent_cwd)|| (matches!(event.kind, WorkstreamEventKind::Message)&& matches!(event.role.as_deref(), Some("user" | "human"))- && ai_memory_core::looks_like_codex_memory_agent_prompt(- &event.content,- ))+ && ai_memory_core::looks_like_codex_memory_agent_prompt(&event.content))})}@@ -764,10 +762,7 @@ mod tests {),&memories,)),- as_codex(at(- read_call(&memories.join("notes.md"), None),- &memories,- )),+ as_codex(at(read_call(&memories.join("notes.md"), None), &memories)),as_codex(at(result("notes", None), &memories)),];assert_eq!(kinds(&capture.decide(&events)), ["drop", "drop", "drop"]);