agentforge-memory-sqlite 0.2.4__py3-none-any.whl → 0.3.0__py3-none-any.whl

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.
@@ -56,6 +56,18 @@ class SqliteMemoryStore(MemoryStore):
56
56
  await SqliteMigrator(connection).apply_pending()
57
57
  return cls(connection=connection)
58
58
 
59
+ @classmethod
60
+ async def from_config(cls, *, path: str | Path) -> SqliteMemoryStore:
61
+ """Build from a `modules.memory.config` block (bug-022).
62
+
63
+ The framework's config-driven module convention: every module
64
+ type exposes a `from_config` factory so `build_*_from_config`
65
+ can instantiate it from YAML. Memory construction is async
66
+ (it opens a connection), so unlike the sync `from_config` on
67
+ stateless modules this one is a coroutine.
68
+ """
69
+ return await cls.from_path(path)
70
+
59
71
  def migrator(self) -> SqliteMigrator:
60
72
  """Return a `SqliteMigrator` configured against the
61
73
  package's bundled migrations directory (feat-024)."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentforge-memory-sqlite
3
- Version: 0.2.4
3
+ Version: 0.3.0
4
4
  Summary: SQLite-backed MemoryStore and VectorStore for AgentForge
5
5
  Project-URL: Homepage, https://github.com/Scaffoldic/agentforge-py
6
6
  Project-URL: Repository, https://github.com/Scaffoldic/agentforge-py
@@ -20,7 +20,7 @@ Classifier: Topic :: Database
20
20
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
21
  Classifier: Typing :: Typed
22
22
  Requires-Python: >=3.13
23
- Requires-Dist: agentforge-core~=0.2.4
23
+ Requires-Dist: agentforge-core~=0.3.0
24
24
  Requires-Dist: aiosqlite>=0.20
25
25
  Description-Content-Type: text/markdown
26
26
 
@@ -1,13 +1,13 @@
1
1
  agentforge_memory_sqlite/__init__.py,sha256=Y2Pml6AOumvNInCvNbACXgPMhvyXzN4JwGcudkb4YzI,568
2
2
  agentforge_memory_sqlite/_migrator.py,sha256=rRPCPnFFmzVRJfthq3glh3x6kWAD4wk5R96Q2PqF5Us,5076
3
- agentforge_memory_sqlite/memory.py,sha256=30d_Q2PU4tM2NVjAlD9-BVWbWdu5P6-oAzGA_khcfh0,8262
3
+ agentforge_memory_sqlite/memory.py,sha256=kdC4GP_eNRtrGxmSYfBkX1LgStmLk0DiniHbC31Hv2o,8800
4
4
  agentforge_memory_sqlite/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  agentforge_memory_sqlite/vector.py,sha256=v0GZmIBYgKMobizausF91TieoLJ60ohA3CM2l6ei6AE,9532
6
6
  agentforge_memory_sqlite/migrations/0000_migrations_table.sql,sha256=Hj8lxWPizGOTsAQloRrmKoDHyCkechdHfOcU3FZlDS0,206
7
7
  agentforge_memory_sqlite/migrations/0001_initial.sql,sha256=0GRCe90lRCkgomALxUpqbUsckpAPJU8vGacknMgvhQI,778
8
8
  agentforge_memory_sqlite/migrations/0002_fts5.sql,sha256=b27HLnhAoDfdQvxVOoc-fvroqAdGbx-RoavaVK0nJTM,718
9
- agentforge_memory_sqlite-0.2.4.dist-info/METADATA,sha256=PwqMAr1KcfhKF_llOIzvUR53IEwQGA8u5vaBoIj5-Ns,2330
10
- agentforge_memory_sqlite-0.2.4.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
11
- agentforge_memory_sqlite-0.2.4.dist-info/entry_points.txt,sha256=_KNwjwkvm11_3J9_W0X2_d-VTnz17LEMBVR8rKds9JM,166
12
- agentforge_memory_sqlite-0.2.4.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
13
- agentforge_memory_sqlite-0.2.4.dist-info/RECORD,,
9
+ agentforge_memory_sqlite-0.3.0.dist-info/METADATA,sha256=MB9lEIJjHj0veB8c5oloi057ACQZqikRk-Ss8ijmLsw,2330
10
+ agentforge_memory_sqlite-0.3.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
11
+ agentforge_memory_sqlite-0.3.0.dist-info/entry_points.txt,sha256=_KNwjwkvm11_3J9_W0X2_d-VTnz17LEMBVR8rKds9JM,166
12
+ agentforge_memory_sqlite-0.3.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
13
+ agentforge_memory_sqlite-0.3.0.dist-info/RECORD,,