Commit Graph

1 Commits

Author SHA1 Message Date
claude[bot] 8d954870a5 fix: Ensure datetime serialization includes timezone info for RFC 3339 compliance
Add field_serializer methods to all datetime fields in memory schemas to ensure
proper timezone-aware datetime serialization. This fixes validation errors in
MCP tools like build_context where datetime strings were missing timezone
information.

- Added ensure_timezone_aware utility function
- Updated EntitySummary, RelationSummary, ObservationSummary, MemoryMetadata
- All datetime fields now serialize with timezone suffix (Z or +00:00)
- Handles both timezone-aware and naive datetimes by converting to UTC

Fixes #253

Co-authored-by: jope-bm <jope-bm@users.noreply.github.com>
2025-08-22 15:41:10 +00:00