Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,15 @@ export function TranscriptToolRun(props: {
}

return (
<details className="min-w-0">
<details className="group/tool-run min-w-0">
<summary className="group flex w-full cursor-pointer list-none items-center gap-2 py-1.5 text-left font-mono text-[0.78rem] leading-tight text-white/40 transition-colors hover:text-white/80 focus-visible:outline focus-visible:outline-1 focus-visible:outline-cyan-300/55 [&::-webkit-details-marker]:hidden">
<span className="h-px min-w-4 flex-1 bg-white/10 transition-colors group-hover:bg-white/20" />
<span className="shrink-0">show {props.entries.length} tool calls</span>
<span className="shrink-0 group-open/tool-run:hidden">
show {props.entries.length} tool calls
</span>
<span className="hidden shrink-0 group-open/tool-run:inline">
hide {props.entries.length} tool calls
</span>
<span className="h-px min-w-4 flex-1 bg-white/10 transition-colors group-hover:bg-white/20" />
</summary>
<div className="mt-2 grid min-w-0 grid-cols-[minmax(0,1fr)] gap-2">
Expand Down
Loading