superlocalmemory 3.4.24 → 3.4.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superlocalmemory",
3
- "version": "3.4.24",
3
+ "version": "3.4.25",
4
4
  "description": "Information-geometric agent memory with mathematical guarantees. 4-channel retrieval, Fisher-Rao similarity, zero-LLM mode, EU AI Act compliant. Works with Claude, Cursor, Windsurf, and 17+ AI tools.",
5
5
  "keywords": [
6
6
  "ai-memory",
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "superlocalmemory"
3
- version = "3.4.24"
3
+ version = "3.4.25"
4
4
  description = "Information-geometric agent memory with mathematical guarantees"
5
5
  readme = "README.md"
6
6
  license = {text = "AGPL-3.0-or-later"}
@@ -1,3 +1,3 @@
1
1
  """SuperLocalMemory — information-geometric agent memory."""
2
2
 
3
- __version__ = "3.4.24"
3
+ __version__ = "3.4.25"
@@ -12,10 +12,13 @@ Part of Qualixar | Author: Varun Pratap Bhardwaj
12
12
 
13
13
  from __future__ import annotations
14
14
 
15
+ import logging
15
16
  import os
16
17
  import sys
17
18
  from argparse import Namespace
18
19
 
20
+ logger = logging.getLogger(__name__)
21
+
19
22
 
20
23
  def _cmd_db_dispatch(args: Namespace) -> None:
21
24
  """Route ``slm db ...`` subcommands. LLD-06 §7.2."""
@@ -17,6 +17,8 @@ import logging
17
17
  from typing import TYPE_CHECKING, Any
18
18
 
19
19
  if TYPE_CHECKING:
20
+ import os
21
+
20
22
  from superlocalmemory.core.config import SLMConfig
21
23
  from superlocalmemory.core.hooks import HookRegistry
22
24
  from superlocalmemory.storage.database import DatabaseManager
@@ -44,7 +44,7 @@ def _event_to_sse_bridge(event: dict):
44
44
  q.put_nowait(event)
45
45
  except _queue.Full:
46
46
  dead_queues.add(q)
47
- _sse_queues -= dead_queues
47
+ _sse_queues.difference_update(dead_queues)
48
48
 
49
49
 
50
50
  def register_event_listener():
@@ -558,7 +558,6 @@ async def recall_trace(request: Request):
558
558
 
559
559
  def _record_learning_signals(query: str, results: list) -> None:
560
560
  """Record feedback + co-retrieval + confidence boost for any recall."""
561
- from pathlib import Path
562
561
  from superlocalmemory.core.config import SLMConfig
563
562
 
564
563
  slm_dir = Path.home() / ".superlocalmemory"