You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(mcp): surface stored metadata and updated_at in detailed recall format (#111)
The REST /recall API already returns parsed memory.metadata plus
updated_at/last_accessed; the gap was the MCP server's detailed
formatter, which omitted them entirely. The detailed format now
renders:
- an Updated: line when updated_at is present (parallel to the
existing Last accessed handling), and
- a size-capped Metadata: line — single-line JSON truncated to 300
chars with a trailing ellipsis, omitted when metadata is missing
or empty — so provenance fields surface without dumping raw
metadata verbosely.
The json format remains a raw passthrough (already exposed metadata)
and is now locked by a transport-level test. text/items formats are
unchanged.
Adds a REST contract test (test_recall_metadata_roundtrip) locking
the store -> recall metadata/timestamp round-trip, and fixes
docs/METADATA_BEHAVIOR.md, which over-claimed that the detailed
format already exposed metadata.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments