import { useCollection } from '@feltdb/core/react'; import { auditEvents } from '../feltdb'; export function Activity() { const state = useCollection(auditEvents); return
Durable history

Activity

Workflow and agent actions land in the same application state.

{state.data.length}
{state.data.length ? state.data.slice().reverse().map(event =>
{event.action}{event.details} · {new Date(event.created_at).toLocaleString()}
) :
No activity yetCreate a project or run an assistant.
}
; }