refactor(mcp): strip sse fallback architecture in favor of pure websockets and fix nvim NDJSON bug

This commit is contained in:
Riz Ashraf committed 2026-09-17 15:26:22 +01:00
1 parent 0e29b12ac8
commit 3716c3e698
33 files changed
+2082 -1756

No files matched your search

+4 -8
View File
@@ -1,13 +1,9 @@
#[cfg(unix)]
mod unix_app;
#[cfg(unix)]
fn main() {
if std::env::args().any(|a| a == "--version" || a == "-V") {
println!("mcp-memory-linux-nvim {}", env!("APP_VERSION"));
return;
}
unix_app::main();
let rt = tokio::runtime::Runtime::new().unwrap();
rt.block_on(async {
nvim_core::run_mcp_loop("mcp-memory-linux-nvim", env!("APP_VERSION")).await;
});
}
#[cfg(not(unix))]