The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(dev): adopt unstable hook and add gallery state
Steven Enamakel6e1fdbdac9c4
diff --git a/app/src/components/assistant-ui/thread.composerTriggers.test.tsx b/app/src/components/assistant-ui/thread.composerTriggers.test.tsxindex 7202eea99d..d427bb8d73 100644--- a/app/src/components/assistant-ui/thread.composerTriggers.test.tsx+++ b/app/src/components/assistant-ui/thread.composerTriggers.test.tsx@@ -2,7 +2,7 @@ import {AssistantRuntimeProvider,type ThreadMessageLike,useExternalStoreRuntime,- useTriggerPopoverRootContextOptional,+ unstable_useTriggerPopoverRootContextOptional,} from '@assistant-ui/react';import { render, screen } from '@testing-library/react';import { describe, expect, it } from 'vitest';@@ -28,7 +28,7 @@ function Harness({ components }: { components?: Parameters<typeof Thread>[0]['co}function HostTriggers() {- const root = useTriggerPopoverRootContextOptional();+ const root = unstable_useTriggerPopoverRootContextOptional();return <div data-testid="host-triggers" data-in-root={root ? 'yes' : 'no'} />;}diff --git a/app/src/pages/dev/ToolCallGallery.tsx b/app/src/pages/dev/ToolCallGallery.tsxindex 440f6310bd..e1cbd8d998 100644--- a/app/src/pages/dev/ToolCallGallery.tsx+++ b/app/src/pages/dev/ToolCallGallery.tsx@@ -175,6 +175,10 @@ function CatalogRow({ name }: { name: string }) {export default function ToolCallGallery() {const { t } = useT();const [streaming, setStreaming] = useState(true);+ const [scheduleEnabled, setScheduleEnabled] = useState(true);+ const [searchQuery, setSearchQuery] = useState('deploy');+ const [searchActive, setSearchActive] = useState(0);+ const [citationOpen, setCitationOpen] = useState<number | null>(null);return (<div className="bg-background text-foreground min-h-screen overflow-auto p-8"><div className="mx-auto flex max-w-3xl flex-col gap-10">