feat: event-driven parity, Windows shell detection, dirty build timestamps, and gatekeeper integration
This commit is contained in:
1 parent
64857f9d5e
commit
f4dcf3acbf
33 files changed
+3501
-143
No files matched your search
@@ -131,6 +131,13 @@ pub async fn start_background_indexer(state: Arc<MemoryState>) {
|
||||
snippets.drain(0..overflow);
|
||||
}
|
||||
});
|
||||
let threshold: usize = std::env::var("MCP_MEMORY_CONDENSE_THRESHOLD")
|
||||
.unwrap_or_else(|_| "100".to_string())
|
||||
.parse()
|
||||
.unwrap_or(100);
|
||||
if state.code.snippets.read_with(|s| s.len()) > threshold {
|
||||
state.condense_notify.notify_one();
|
||||
}
|
||||
|
||||
for snippet in &snippets_to_index {
|
||||
let _ = idx.index_snippet(snippet).await;
|
||||
|
||||
Reference in new issue
Block a user