{
+ if (e.target === containerRef.current && !isSpeaking) {
+ close();
+ }
+ }}
+ className={clsx(
+ "m-0 p-0 w-full h-full overflow-hidden",
+ "text-[13px] select-none",
+ "bg-white dark:bg-[#1E293B]",
+ "text-[#111] dark:text-[#ddd]",
+ "rounded-xl",
+ "transition-all duration-150",
+ {
+ "translate-y-0": visible && !animatingOut,
+ "translate-y-1": !visible || animatingOut,
+ }
+ )}
+ >
+
+
+
+
+
+
+
+
+
+ {visibleButtons.map((btn: any) => {
+ const { type, assistantId } = btn?.action;
+ return (
+
+ );
+ })}
+
+ {isSpeaking && }
+
+
+ );
+}
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index adb3196a..7479f07f 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -7,6 +7,7 @@ import SettingsPage from "@/pages/settings/index";
import StandaloneChat from "@/pages/chat/index";
import WebPage from "@/pages/web/index";
import CheckPage from "@/pages/check/index";
+import SelectionWindow from "@/pages/selection/index";
const routerOptions = {
basename: "/",
@@ -27,6 +28,7 @@ export const router = createBrowserRouter(
{ path: "/ui/settings", element: