+ {filtered.map((doc, index) => {
+ const author = agents.find((a) => a.id === doc.authorAgentId);
+ return (
+
setEditingId(doc.id)}
+ onKeyDown={(e) => { if (e.key === "Enter") setEditingId(doc.id); }}
+ style={{ gridTemplateColumns: "minmax(0, 2.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 60px", borderBottom: index === filtered.length - 1 ? "none" : "1px solid var(--border-soft)" }}
+ >
+
+ {author &&
}
+
{doc.title}
+
+
+
+
{formatRelative(doc.updatedAt)}
+
e.stopPropagation()}>
+ remove(doc.id)} />
+
+