superlocalmemory 3.0.15 → 3.0.16
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.0.
|
|
3
|
+
"version": "3.0.16",
|
|
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.0.
|
|
3
|
+
version = "3.0.16"
|
|
4
4
|
description = "Information-geometric agent memory with mathematical guarantees"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = {text = "MIT"}
|
|
@@ -83,5 +83,7 @@ select = ["E", "F", "I", "W"]
|
|
|
83
83
|
|
|
84
84
|
[dependency-groups]
|
|
85
85
|
dev = [
|
|
86
|
+
"build>=1.4.0",
|
|
86
87
|
"pytest>=9.0.2",
|
|
88
|
+
"twine>=6.2.0",
|
|
87
89
|
]
|
|
@@ -104,7 +104,7 @@ def _fetch_edges_v3(cursor, profile: str, fact_ids: list) -> list:
|
|
|
104
104
|
cursor.execute(f"""
|
|
105
105
|
SELECT source_id as source, target_id as target,
|
|
106
106
|
weight, edge_type as relationship_type
|
|
107
|
-
FROM
|
|
107
|
+
FROM graph_edges WHERE profile_id = ?
|
|
108
108
|
AND source_id IN ({ph}) AND target_id IN ({ph})
|
|
109
109
|
ORDER BY weight DESC
|
|
110
110
|
""", [profile] + fact_ids + fact_ids)
|
|
@@ -248,7 +248,7 @@ async def get_graph(
|
|
|
248
248
|
cursor = conn.cursor()
|
|
249
249
|
active_profile = get_active_profile()
|
|
250
250
|
|
|
251
|
-
use_v3 = _has_table(cursor, '
|
|
251
|
+
use_v3 = _has_table(cursor, 'atomic_facts')
|
|
252
252
|
|
|
253
253
|
nodes, links, clusters = _fetch_graph_data(
|
|
254
254
|
cursor, active_profile, use_v3, min_importance, max_nodes,
|
|
@@ -56,7 +56,7 @@ async def get_stats():
|
|
|
56
56
|
total_graph_edges = 0
|
|
57
57
|
try:
|
|
58
58
|
cursor.execute(
|
|
59
|
-
"SELECT COUNT(*) as total FROM
|
|
59
|
+
"SELECT COUNT(*) as total FROM graph_edges WHERE profile_id = ?",
|
|
60
60
|
(active_profile,),
|
|
61
61
|
)
|
|
62
62
|
total_graph_edges = cursor.fetchone()['total']
|