bbb6cc7e99
Dedupe key now includes tool_call_id/tool_calls/tool_name: compaction copies carry those fields verbatim, so identical tool messages across generations still collapse, while distinct tool calls sharing role/content/timestamp are never merged. Add endpoint-level coverage for the desktop's real read path (limit + order=latest + include_compacted=true).