etchmem 0.1.1__tar.gz → 0.1.2__tar.gz

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.
Files changed (32) hide show
  1. {etchmem-0.1.1 → etchmem-0.1.2}/PKG-INFO +1 -1
  2. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/models.py +1 -0
  3. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/stores/chroma_store.py +3 -1
  4. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem.egg-info/PKG-INFO +1 -1
  5. {etchmem-0.1.1 → etchmem-0.1.2}/pyproject.toml +1 -1
  6. {etchmem-0.1.1 → etchmem-0.1.2}/LICENSE +0 -0
  7. {etchmem-0.1.1 → etchmem-0.1.2}/README.md +0 -0
  8. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/__init__.py +0 -0
  9. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/config.py +0 -0
  10. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/connector/__init__.py +0 -0
  11. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/connector/base.py +0 -0
  12. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/connector/remote.py +0 -0
  13. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/consolidate/__init__.py +0 -0
  14. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/consolidate/worker.py +0 -0
  15. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/engine.py +0 -0
  16. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/recall/__init__.py +0 -0
  17. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/recall/recaller.py +0 -0
  18. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/stores/__init__.py +0 -0
  19. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/stores/base.py +0 -0
  20. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/util/__init__.py +0 -0
  21. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/util/affectability.py +0 -0
  22. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem/util/hashing.py +0 -0
  23. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem.egg-info/SOURCES.txt +0 -0
  24. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem.egg-info/dependency_links.txt +0 -0
  25. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem.egg-info/requires.txt +0 -0
  26. {etchmem-0.1.1 → etchmem-0.1.2}/etchmem.egg-info/top_level.txt +0 -0
  27. {etchmem-0.1.1 → etchmem-0.1.2}/setup.cfg +0 -0
  28. {etchmem-0.1.1 → etchmem-0.1.2}/tests/test_consolidate_idempotent.py +0 -0
  29. {etchmem-0.1.1 → etchmem-0.1.2}/tests/test_formation_buckets.py +0 -0
  30. {etchmem-0.1.1 → etchmem-0.1.2}/tests/test_recall.py +0 -0
  31. {etchmem-0.1.1 → etchmem-0.1.2}/tests/test_reconsolidation.py +0 -0
  32. {etchmem-0.1.1 → etchmem-0.1.2}/tests/test_remember_recall.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: etchmem
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A pluggable, embeddable reconsolidating skill memory engine for AI agents
5
5
  Author: Andrey Olishchuk
6
6
  License: MIT
@@ -112,6 +112,7 @@ class SearchResult:
112
112
  score: float # asymmetric blended score
113
113
  source: str # "injected" | "relational" | "blended"
114
114
  skill: str | None = None
115
+ created_at: float = 0.0 # unix timestamp of the original deposit
115
116
  metadata: dict[str, Any] = field(default_factory=dict)
116
117
 
117
118
 
@@ -108,13 +108,15 @@ def _result_to_search_result(
108
108
  source: str = "unknown",
109
109
  ) -> SearchResult:
110
110
  skill = metadata.get("skill") or None
111
+ created_at = float(metadata.get("created_at", 0.0))
111
112
  return SearchResult(
112
113
  id=doc_id,
113
114
  content=document,
114
115
  score=weight * (1.0 - distance), # convert distance → similarity score
115
116
  source=source,
116
117
  skill=skill,
117
- metadata={k: v for k, v in metadata.items() if k != "skill"},
118
+ created_at=created_at,
119
+ metadata={k: v for k, v in metadata.items() if k not in ("skill", "created_at")},
118
120
  )
119
121
 
120
122
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: etchmem
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A pluggable, embeddable reconsolidating skill memory engine for AI agents
5
5
  Author: Andrey Olishchuk
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "etchmem"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "A pluggable, embeddable reconsolidating skill memory engine for AI agents"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes