Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(assistant-ui): add JSDoc block to composer-trigger-popover

Steven Enamakel5915e912e1e3
diff --git a/app/src/components/assistant-ui/composer-trigger-popover.tsx b/app/src/components/assistant-ui/composer-trigger-popover.tsx
index 882678a912..af1bf3c416 100644
--- a/app/src/components/assistant-ui/composer-trigger-popover.tsx
+++ b/app/src/components/assistant-ui/composer-trigger-popover.tsx
@@ -1,5 +1,18 @@
'use client';
+/**
+ * Popover UI for a trigger-driven composer picker (`/` commands, `@` mentions).
+ *
+ * Vendored from the assistant-ui `composer-trigger-popover` registry item
+ * (https://r.assistant-ui.com/styles/base-nova/composer-trigger-popover.json),
+ * re-synced against the registry's `elements/composer-trigger-popover.aui.tsx`.
+ * Changes from upstream:
+ * - `cn` import path (`@/components/assistant-ui/lib/utils`); import order as
+ * the repo's lint sorts it.
+ * - None to the body. The back / empty / loading captions are already props
+ * with English defaults upstream; OpenHuman callers pass `useT()` strings
+ * (see `features/conversations/aui/ComposerTriggers.tsx`).
+ */
import { cn } from '@/components/assistant-ui/lib/utils';
import {
ComposerPrimitive,