Permission history row
A row in the trust ledger. Every approve/deny/revoke decision is a single line — searchable, time-stamped, and revocable later.
Included in the single kansho full pack. Components are not offered as separate installs.
Recent decisions
Revoke and Undo are live; View is a static-preview callbackImplementing the run details panel.
Draft was unfinished; will resend after review.
Needed for every deploy preview.
Inactive for 30 days — auto-revoked by policy.
Error & recovery
Static preview: View and Re-request show host action placement without changing demo stateWith onReRequest — the denied row offers a way back.
Without onReRequest — only View is offered, no recovery.
Empty case
Newly initialised agentIncluded components
This page is the canonical destination for these components. All ship in the single Kansho pack.
Permission history row
components/agent/permission-history-row.tsxComponent documentation
Inline confirm button
components/ui/inline-confirm-button.tsxPermission history row
components/agent/permission-history-row.tsxPurpose
Records a permission decision with scope, actor, agent, time, rationale, and available follow-up actions.
Appropriate use
Use in a permissions audit list where granted access may be revoked or denied access requested again.
Example
components/agent/permission-history-row.tsx has a representative live example in the "Recent decisions" section on /components/permission-history.
States
Decisions are granted, denied, always, or revoked; revoke, view, and re-request actions render only when supplied and applicable.
API and props
PermissionHistoryRow accepts title, scope, decision, actor, agent, timestamp, rationale, action callbacks, and className.
Dependencies
Direct imports are React, Lucide icons, Tag, InlineConfirmButton, and cn.
Accessibility
Actions are native labelled buttons; revoke requires a second activation and supports Escape cancellation.
Limitations
Timestamp is a display string, and the component does not persist decisions, revoke access, or announce mutation results.
Source
Source: components/agent/permission-history-row.tsx.
Full pack
components/agent/permission-history-row.tsx is documented at /components/permission-history and installs only through the single Kansho full pack; no individual component install is offered.