Kanshō/Audit log

Audit log row

One event per row. Reads dense at scale; expands to reveal payload when needed. Used in the resource access ledger and the run inspector.

Included in the single kansho full pack. Components are not offered as separate installs.

Mixed timeline

Click any row with payload to expand
Runrun_8f3a2c1d startedby Avery · research-writer
Read/projects/agent-platform/build.mdby agent · research-writer
Approvalfilesystem:write granted to workflow-agentby Avery

Filtered view

A single agent's recent writes only
Write/repo/components/agent/audit-log-row.tsxby agent · workflow-agent
Write/repo/components/agent/progress-meter.tsxby agent · workflow-agent
Write/repo/components/agent/streaming-indicator.tsxby agent · workflow-agent

Included components

This page is the canonical destination for these components. All ship in the single Kansho pack.

Audit log row

components/agent/audit-log-row.tsx

Component documentation

Audit log row

components/agent/audit-log-row.tsx

Purpose

Displays one audit event with actor, target, outcome, time, and optional expandable details.

Appropriate use

Use in an audit timeline where operators need a compact event summary and selectively reveal evidence.

Example

components/agent/audit-log-row.tsx has a representative live example in the "Mixed timeline" section on /components/audit-log.

States

Event types are tool, read, write, delete, network, approval, auth, or run; outcomes are ok, blocked, or error; details can be closed or open.

API and props

AuditLogRow accepts timestamp, event, actor, target, optional agent, outcome, details, and className.

Dependencies

Direct imports are React, Lucide icons, Tag, Time, and cn.

Accessibility

The details trigger is a native button with aria-expanded and aria-controls; Time supplies machine-readable time for parseable values.

Limitations

It does not provide table semantics, filtering, persistence, or audit integrity; freeform timestamp strings are displayed as supplied.

Source

Source: components/agent/audit-log-row.tsx.

Full pack

components/agent/audit-log-row.tsx is documented at /components/audit-log and installs only through the single Kansho full pack; no individual component install is offered.