Files
memory-server/main.py
Lucy 4a1ab6ae50 Refactor: single collection with shared/private visibility
Breaking change: per-agent collections replaced by a single 'memories'
collection with metadata-based access control.

- All memories live in one collection
- 'agent' metadata tracks the creator
- 'private' (bool, default False) controls visibility
- Query returns: shared (private=False) + own private (agent=asker)
- Save endpoint accepts optional 'private' field
- Version bumped to 0.2.0
2026-06-25 15:04:13 +02:00

3.5 KiB