Skip to content

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

Rust

style(cli): format bootstrap notification assertion for rustfmt

Vinícius DS Andradefd44811eb7e6
diff --git a/crates/ai-memory-cli/src/commands/install_hooks.rs b/crates/ai-memory-cli/src/commands/install_hooks.rs
index 434a6502..240280cc 100644
--- a/crates/ai-memory-cli/src/commands/install_hooks.rs
+++ b/crates/ai-memory-cli/src/commands/install_hooks.rs
@@ -11467,9 +11467,8 @@ model = "gpt-5"
"non-2xx still fails the notification: {notify}"
);
assert!(
- extension.contains(
- "try { await mcpNotify(\"notifications/initialized\"); } catch (_e) {}"
- ),
+ extension
+ .contains("try { await mcpNotify(\"notifications/initialized\"); } catch (_e) {}"),
"bootstrap must call mcpNotify: {extension}"
);
assert!(