feat: add synchronized authoring chat dock

This commit is contained in:
lda
2026-07-11 06:44:21 +07:00 Verified
parent 01c52ea9bc
commit 2353ab114e
6 changed files with 228 additions and 45 deletions
@@ -94,14 +94,16 @@ function ToolGroupRoot({
function ToolGroupTrigger({
count,
label: providedLabel,
active = false,
className,
...props
}: React.ComponentProps<typeof CollapsibleTrigger> & {
count: number;
label?: string;
active?: boolean;
}) {
const label = `${count} tool ${count === 1 ? "call" : "calls"}`;
const label = providedLabel ?? `${count} tool ${count === 1 ? "call" : "calls"}`;
return (
<CollapsibleTrigger