@mem0/cli Changelog
0.1.2
New Features
- Event commands —
mem0 event listandmem0 event status <id>to track background processing events (#4649) --json/--agentglobal flag — switches all command output to a structured JSON envelope for programmatic and agent consumption (#4649)- Email verification login —
mem0 initnow supports email-based verification code login in addition to API key (#4623) - Brand refresh — updated color palette from purple to golden (#4664)
Bug Fixes
- Fix critical crash on startup in certain environments (#4636)
- Fix
statuscommand — now uses lightweight/v1/ping/endpoint instead of heavyweight entity/memory checks (#4649) - Fix double error printing —
cmd_addwas printing errors twice (once explicitly, once viatimed_status) (#4636) - Fix entity delete — switched from v1 to v2 API (
DELETE /v2/entities/{type}/{id}/), all entity types now work (#4649) - Fix
mem0 initin non-TTY —--api-keyalone now defaultsuser_idto$USER; warns before overwriting existing config with--forceflag (#4649) - Fix stdin hang —
add,search,updateno longer hang waiting for stdin when called with no input (#4649) - Deduplicate PENDING results — shows "1 event pending" instead of misleading "2 memories extracted" in
mem0 add(#4649) - Auth error UX — all commands show a helpful
mem0 inithint when unauthenticated (#4649)
Improvements
- Agent output sanitization — raw API responses are projected to only relevant fields per command, removing noise like
graph_statusand duplicate scope fields (#4649) - Full UUIDs in tables — no longer truncated, so
mem0 get <id>works directly from table output (#4636) - Score column in search — search results now show relevance scores (#4636)
- Short config aliases —
config get api_key,user_id, etc. now work (#4636) - Client-side validation — validates
--expires,--page-size,--page,--top-k,--threshold, and empty content before hitting the API (#4636) - Better API error messages — shows full response detail instead of bare "Bad Request" (#4636)
mem0 versionregistered as a proper subcommand (#4636)list -o jsonreturns a pagination envelope instead of a bare array (#4636)