Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Merge #4388 at 0e22de931

milind-soni90e2a206dd76
diff --cc shared/notification.ts
index fe52d6b596,3b0f2ff83a..026701fb51
--- a/shared/notification.ts
+++ b/shared/notification.ts
@@@ -13,12 -13,10 +13,13 @@@ export type NotifyKind
/** A bot asked the person to sign in to a website themselves
* (request_sign_in): it waits on their hands, at the place it works. */
| "sign-in"
+ /** A bot asked the person for a password or key on a secure card (request_credential): its work rests on them until
+ * they save it or say no. */
+ | "secret"
- /** A delegated room request settled and the coordinator auto-resumed with
- * the results; both are internal, so without this the parent conversation
- * sits silent until the resume's first token. */
+ /** A delegated request settled and the coordinator auto-resumed the person's
+ * own conversation with the results; both are internal, so without this it
+ * sits silent until the resume's first token. A teammate's own step in a
+ * longer chain sends none: nothing there waits on the person. */
| "delegation-settled"
/** A bot's settled room reply tagged the person (`@you` or their profile name). Rooms only. On a Team Cloud also
* a teammate tagged by name, or a message a bot passed on to them, with `forPerson`. */
diff --cc src/components/NotificationsPanel.tsx
index 1e7d35940c,cd6acf1ff6..dfa9af6b97
--- a/src/components/NotificationsPanel.tsx
+++ b/src/components/NotificationsPanel.tsx
@@@ -1,6 -1,6 +1,6 @@@
import { useEffect, useState } from "react";
-import { AlertTriangle, AtSign, Bell, CheckCircle2, CircleHelp, HandHelping, Info, LogIn, Newspaper, Pin, RotateCcw, Wallet, X, type LucideIcon } from "lucide-react";
+import { AlertTriangle, AtSign, Bell, CheckCircle2, CircleHelp, HandHelping, Info, KeyRound, LogIn, Newspaper, Pin, RotateCcw, Wallet, X, type LucideIcon } from "lucide-react";
- import { api, useStore, openNotificationTarget, type Action } from "@/state/store";
+ import { api, useStore, openThread, type Action } from "@/state/store";
import { cn } from "@/lib/cn";
import { t } from "@/lib/i18n";
import { useShowThreads } from "@/lib/thread-preferences";