Skip to content

SessionApprovalsPanel

Renders every pending tool approval directly from session.requests[] (never from transcript parts — an approval brokered outside this session’s own chat has no transcript part) plus the resolved approve/deny/denial summary the panel previously showed alone.

Source

import { SessionApprovalsPanel } from "@flanksource/clicky-ui/ai";

No dedicated Storybook demo is available for this component yet.

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
approvals* SessionApprovalStats | undefined — —
onResolve ApprovalResolveHandler — —
requests SessionApprovalRequest[] — —