v0.2.10

moorcheh-ai/memantov0.2.10Jul 23, 2026by Neelpatel1604

AI Summary

Fixes a crash in `memanto agent list` caused by mixed timezone-naive and timezone-aware timestamps in agent metadata.

Key Highlights

  • Normalization of `created_at` and `last_session` to UTC-aware datetimes
  • Safe coexistence of legacy and new metadata formats

Full Release Notes

# Release Notes for v0.2.10

This release fixes **`memanto agent list` failing** when agent metadata on disk mixes timezone-naive and timezone-aware `created_at` / `last_session` timestamps.

## Bug Fixes

- **Agent list crash on mixed timestamps** (`memanto/app/models/session.py`, `memanto/app/services/agent_service.py`)
  - Older agent JSON files stored timestamps without a timezone (e.g. `"2026-04-29T03:43:11.497100"`), while newer records use UTC-aware values (e.g. `"2026-07-23T12:47:43.431783Z"`). Sorting agents by `created_at` then raised `can't compare offset-naive and offset-aware datetimes`, so `memanto agent list` failed entirely.
  - `AgentInfo` now normalizes `created_at` and `last_session` to UTC-aware via `as_utc_aware` on load, and agent listing sorts using the normalized value so legacy and new metadata coexist safely.

## Full Changelog

Full Changelog: https://github.com/moorcheh-ai/memanto/compare/v0.2.9...v0.2.10