mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
cdc28eeefa
- Fix mutable default args in search_notes() MCP tool Changed types and entity_types from List[str] = [] to Optional[List[str]] = None to prevent shared state across calls - Fix Pydantic defaults in WatchServiceState Moved datetime.now() and os.getpid() from field defaults to model_post_init() to prevent evaluation at import time vs instance creation time - Fix list mutation during iteration in WatchService Changed 'for added_path in adds' to 'for added_path in list(adds)' to avoid skipping items when removing from list during iteration Fixes #487 Co-authored-by: Paul Hernandez <phernandez@users.noreply.github.com> Signed-off-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>