Skip to content

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

Features: only Skill Burger and thread tabs; thread notes and mascot motion stay as they are

milind-soni1eae8ec15161
diff --git a/DESIGN.md b/DESIGN.md
index d57290fb72..db72f00ca5 100644
--- a/DESIGN.md
+++ b/DESIGN.md
@@ -55,7 +55,7 @@ where they belong instead of adding new places.
the behaviour automatic with a good default. An optional field on something
the person sets up is fine. One exception: **Settings → Features**, a short
list of plain on/off switches for whole features some people don't want
- (Skill Burger, thread tabs, thread notes, mascot animations). It's there so
+ (Skill Burger, thread tabs). It's there so
Simple mode can turn off one feature at a time without switching to
Advanced. A switch goes there only when its off state is clean: the feature
is hidden whole, and nothing the person made is lost.
diff --git a/shared/settings-places.ts b/shared/settings-places.ts
index cd79d72077..38dd44d28b 100644
--- a/shared/settings-places.ts
+++ b/shared/settings-places.ts
@@ -27,7 +27,7 @@ export const SETTINGS_PLACES = [
{"id":"page:data","path":"Settings → Data","words":["data","storage","attachments","activity","audit"],"advanced":true},
{"id":"page:people","path":"Settings → People","words":["people","members","invite","roles","bot access","sharing","team"],"only":"a team's or a self-hosted server's Settings, for admins"},
{"id":"page:installations","path":"Settings → Installations","words":["installations","fleet","clients","tenants"],"only":"a server that manages installations"},
- {"id":"page:features","path":"Settings → Features","words":["features","turn off","turn on","hide","skill burger","skill burgers","mascot","animations","thread notes","tabs","thread tabs"]},
+ {"id":"page:features","path":"Settings → Features","words":["features","turn off","turn on","hide","skill burger","skill burgers","tabs","thread tabs"]},
{"id":"page:account","path":"Settings → Your account","words":["account","sign in","log in","log out","sign out","email","organization","mausbot cloud"]},
{"id":"page:plan","path":"Settings → Plan & billing","words":["plan","billing","subscription","invoice","receipt","payment","card","upgrade","trial","cancel","refund","usage & billing","mausbot cloud","weekly","limits"]},
{"id":"page:app","path":"Settings → This app","words":["this app","updates","update","version","help","about","servers","your computers","environments","diagnostics","logs","tour"]},
@@ -102,8 +102,6 @@ export const SETTINGS_PLACES = [
{"id":"layout","path":"Settings → Appearance → Layout","words":["show your computers","rail","window frame","title bar","threads","tools layout","pinned","circles","universal pins","pinned panels"],"advanced":true},
{"id":"skill-burger-switch","path":"Settings → Features → Skill Burger","words":["skill burger","skill burgers","burger","saved runs","workflows"]},
{"id":"thread-tabs","path":"Settings → Features → Thread tabs","words":["tabs","threads"]},
- {"id":"thread-notes","path":"Settings → Features → Thread notes","words":["saved to this thread","notes","memory line"]},
- {"id":"mascot-motion","path":"Settings → Features → Mascot animations","words":["mascot","animations","motion","still","moving"]},
{"id":"apps","path":"the Apps panel (Connect apps, at the bottom of the sidebar)","words":["apps","gmail","slack","calendar","notion","connect app","integrations"]},
{"id":"bot-settings","path":"a bot's own Settings (click the bot's name at the top of its chat)","words":["a bot's own settings","approvals","safety","routines","memory","bot's notifications"]},
{"id":"shortcuts","path":"the keyboard shortcut list (the menu under the person's name → Keyboard shortcuts)","words":["keyboard shortcuts","hotkeys","cheat sheet"]},
diff --git a/src/components/CarvedAvatar.tsx b/src/components/CarvedAvatar.tsx
index 7c0d3ca20b..4513a614fc 100644
--- a/src/components/CarvedAvatar.tsx
+++ b/src/components/CarvedAvatar.tsx
@@ -12,7 +12,7 @@ import { MAUS_COLORS, type MausColor, type MausMotion, type MausState } from "@/
import { avatarMarks, type AvatarKind } from "@/lib/avatar-marks";
import { CARVED_BODIES, type CarvedBody, type CarvedBodyId } from "../../shared/carved-bodies";
import type { CursorAvatarHandle } from "./CursorAvatar";
-import { mascotClock, put, useMascotStill, type MascotTicket } from "./mascot-clock";
+import { mascotClock, put, usePrefersReducedMotion, type MascotTicket } from "./mascot-clock";
import { ACTIVE_STATES, HOVER_BLINK_MS, blinkOpenness, frameFloorMs, nextFrameAt } from "./mascot-motion";
import { mascotFaceInk, type MascotFaceColor } from "../../shared/bot-avatar";
@@ -165,7 +165,7 @@ function CarvedAvatarComponent(
const body = CARVED_BODIES[bodyId];
const faceInk = mascotFaceInk(faceColor);
const uid = useId().replace(/:/g, "");
- const reduced = useMascotStill();
+ const reduced = usePrefersReducedMotion();
const live = !reduced && (animated ?? ACTIVE_STATES.has(state));
const group = useRef<SVGGElement>(null);
const eyes = [useRef<SVGRectElement>(null), useRef<SVGRectElement>(null)] as const;
diff --git a/src/components/CursorAvatar.tsx b/src/components/CursorAvatar.tsx
index caa4d49772..df4a138c3e 100644
--- a/src/components/CursorAvatar.tsx
+++ b/src/components/CursorAvatar.tsx
@@ -19,7 +19,7 @@ import {
BLEND_OMEGA, COMPACT_MASCOT_PX, FRAME_SLACK_MS, GLYPH_EASE_MS, HOVER_BLINK_MS, MOTION, PoseBlend, REST_POSE, VIEW_SPAN, blinkOpenness, bodyPose,
bodyTransform, faceTravelUnits, frameFloorMs, loopSeed, morphUnitsPerMs, nextFrameAt, nextMascotFrame, poseTransform, restPose, type BodyMotion,
} from "./mascot-motion"
-import { mascotClock, put, useMascotStill, type MascotTicket } from "./mascot-clock"
+import { mascotClock, put, usePrefersReducedMotion, type MascotTicket } from "./mascot-clock"
export { MOTION, bodyTransform, type BodyMotion }
export {
@@ -594,7 +594,7 @@ export const CursorAvatar = React.forwardRef<CursorAvatarHandle, CursorAvatarPro
const ticket = useRef<MascotTicket | null>(null)
const wake = () => ticket.current?.wake(nextFrameAt(performance.now(), frameFloorMs(engine.current.props.sizePx, engine.current.hovered)))
- const reduced = useMascotStill()
+ const reduced = usePrefersReducedMotion()
const motionStrength = motion ?? (reduced ? 0 : 1)
const paint = `url(#${uid}-grad)`
const sizePx = typeof size === 'number' ? size : 160
diff --git a/src/components/ObjectAvatar.tsx b/src/components/ObjectAvatar.tsx
index 5c043dcc69..238e3d2b9d 100644
--- a/src/components/ObjectAvatar.tsx
+++ b/src/components/ObjectAvatar.tsx
@@ -5,7 +5,7 @@ import { mascotFaceInk, type MascotFaceColor } from "../../shared/bot-avatar";
import { mountAvatar, type AvatarOptions, type MountedAvatar } from "../../packages/phone-protocol/src/open-bot-avatar/dom/index.ts";
import type { AvatarDefinition, AvatarMood, AvatarState } from "../../packages/phone-protocol/src/open-bot-avatar/types.ts";
import { DONE_TURN_S } from "../../packages/phone-protocol/src/open-bot-avatar/motion.ts";
-import { useMascotStill } from "./mascot-clock";
+import { usePrefersReducedMotion } from "./mascot-clock";
import { ACTIVE_STATES } from "./mascot-motion";
export type ObjectLook = { state: AvatarState; mood: AvatarMood };
@@ -65,7 +65,7 @@ export type ObjectAvatarProps = {
};
function ObjectAvatarComponent({ definition, fill, faceColor, size = 44, state = "idle", trackPointer = true, animated, label, kind }: ObjectAvatarProps) {
- const reduced = useMascotStill();
+ const reduced = usePrefersReducedMotion();
const cheering = useFinishCheer(state);
const live = !reduced && (animated ?? (ACTIVE_STATES.has(state) || cheering));
const shown = cheering && live ? DONE : objectLook(state);
diff --git a/src/components/StatusActivityRow.tsx b/src/components/StatusActivityRow.tsx
index b20d740390..ca6cac00a3 100644
--- a/src/components/StatusActivityRow.tsx
+++ b/src/components/StatusActivityRow.tsx
@@ -2,7 +2,6 @@ import { Brain, Info, RefreshCw } from "lucide-react";
import { statusActivity } from "@/lib/activity-runs";
import { isSavedToThreadLine } from "@/lib/activity-text";
import { t } from "@/lib/i18n";
-import { useFeature } from "@/lib/use-feature";
import { useStore, type Message } from "@/state/store";
import { bugReportFixedText } from "./BugReportNote";
import { CancelledTurnRow } from "./CancelledTurnRow";
@@ -12,11 +11,10 @@ const pill = "rounded-full border border-hairline/40 px-2.5 py-1 text-[13px] tex
export function StatusActivityRow({ message }: { message: Message }) {
const { dispatch } = useStore();
- const status = statusActivity(message), threadNotes = useFeature("threadNotes");
+ const status = statusActivity(message);
if (!status) return null;
if (status.kind === "stopped") return <CancelledTurnRow name={message.tool?.name} stoppedBy={message.stoppedBy} />;
if (isSavedToThreadLine(message)) {
- if (!threadNotes) return null;
return <div role="status" data-saved-to-thread="" className="flex w-fit items-center gap-1.5 px-1 text-[12px] leading-4 text-ink-tertiary"><Brain size={14} aria-hidden="true" />{status.text}</div>;
}
if (message.tool?.rescue) return <FirstReplyRescueRow rescue={message.tool.rescue} text={status.text} at={message.at} />;
diff --git a/src/components/bot-panel/pages.tsx b/src/components/bot-panel/pages.tsx
index 2675e18d48..ee86a9675f 100644
--- a/src/components/bot-panel/pages.tsx
+++ b/src/components/bot-panel/pages.tsx
@@ -173,7 +173,7 @@ export function RoutinesPage({ bot, derived }: PageContext) {
* memory, its topic files included, with the lines they saved to the team's memory. */
export function MemoryPage({ bot }: PageContext) {
const memory = useMemoryDoc(bot);
- const memoryOn = bot.memoryEnabled !== false, threadNotes = useFeature("threadNotes");
+ const memoryOn = bot.memoryEnabled !== false;
const teamSaved = useTeamMemoryEntries(bot.id, memory.mine && memoryOn && !bot.defaultBot?.person, memory.docs);
if (!memoryOn) return <Card><NoteRow>{t("botPanel.library.memoryOff", { name: bot.name })}</NoteRow></Card>;
if (memory.error) return <Card><NoteRow tone="warn">{t("botPanel.library.memoryError")}</NoteRow></Card>;
@@ -184,7 +184,7 @@ export function MemoryPage({ bot }: PageContext) {
return (
<div key={`${bot.id}:${bot.threadId}`} data-panel-memory="" className="flex flex-col gap-4 px-1 pt-2">
{!memory.mine && <MemoryReviewNotice bot={bot} />}
- {threadNotes && thread && (thread.scoped || thread.text.trim()) && (
+ {thread && (thread.scoped || thread.text.trim()) && (
<MemoryText attr="thread" label={t("memoryPage.thisThread")} doc={thread} placeholder={t("memoryPage.empty")}
save={(text, hash) => saveThreadNotes(bot.id, bot.threadId, text, hash)} />
)}
diff --git a/src/components/bot-settings/MemorySection.tsx b/src/components/bot-settings/MemorySection.tsx
index f51686cede..1bdaadab92 100644
--- a/src/components/bot-settings/MemorySection.tsx
+++ b/src/components/bot-settings/MemorySection.tsx
@@ -40,7 +40,6 @@ import { inputCls } from "./field";
import { sameFields, useStoreDispatch, useStoreSelector } from "@/state/store-select";
import { useMinuteTick } from "@/lib/minute-tick";
import { ThreadMemoryCard } from "../bot-panel/MemoryText";
-import { useFeature } from "@/lib/use-feature";
import { MemoryModelSetting } from "./MemoryModelSetting";
import { useMemoryUpkeepStatus } from "./use-memory-upkeep-status";
@@ -113,7 +112,6 @@ export function LendingReviewNotice({ changed, stale, busy, onReviewed }: { chan
export function MemorySection({ bot, active = true, onToggle }: { bot: Bot; active?: boolean; onToggle: (enabled: boolean) => void }) {
const { capabilities } = useDesktopCapabilities();
- const threadNotes = useFeature("threadNotes");
const [overview, setOverview] = useState<MemoryOverview | null>(null);
const [journal, setJournal] = useState<MemoryJournalRow[] | null>(null);
const [editing, setEditing] = useState<Editing | null>(null);
@@ -326,7 +324,7 @@ export function MemorySection({ bot, active = true, onToggle }: { bot: Bot; acti
)}
</div>
- {threadNotes && <ThreadMemoryCard bot={bot} />}
+ <ThreadMemoryCard bot={bot} />
{lendingReview && (
<LendingReviewNotice
diff --git a/src/components/mascot-clock.ts b/src/components/mascot-clock.ts
index d7b0bb7cd3..8f1d125649 100644
--- a/src/components/mascot-clock.ts
+++ b/src/components/mascot-clock.ts
@@ -1,6 +1,5 @@
import { useSyncExternalStore } from "react";
-import { useDeviceFeature } from "@/lib/feature-switches";
import { FRAME_SLACK_MS, FULL_FRAME_MS } from "./mascot-motion";
export type MascotFrame = (now: number) => number;
@@ -173,12 +172,6 @@ export function usePrefersReducedMotion(): boolean {
return useSyncExternalStore(subscribeReducedMotion, readReducedMotion, () => false);
}
-/** Mascots hold still when the system asks for less motion or the person turned Mascot animations off. */
-export function useMascotStill(): boolean {
- const reduced = usePrefersReducedMotion();
- return !useDeviceFeature("mascotMotion") || reduced;
-}
-
const written = new WeakMap<Element, Map<string, string>>();
/** Sets an attribute, or `opacity` as a style, only when it changes. */
diff --git a/src/components/settings/SettingsWindow.test.ts b/src/components/settings/SettingsWindow.test.ts
index 2ec3465b01..e4e09a88dd 100644
--- a/src/components/settings/SettingsWindow.test.ts
+++ b/src/components/settings/SettingsWindow.test.ts
@@ -274,7 +274,6 @@ describe("the outer menu", () => {
describe("Settings → Features", () => {
const featureSwitches = () => Object.fromEntries(fixture.switches.map((props) => [(props as { "data-feature-switch"?: string })["data-feature-switch"], props.checked]).filter(([name]) => name));
- beforeEach(() => { vi.stubGlobal("localStorage", { getItem: () => null, setItem: () => {} }); });
it("is in Simple mode's list, with Skill Burger on and thread tabs off by default", () => {
fixture.config = { features: { skillBurger: true, threadTabs: false } };
@@ -282,7 +281,8 @@ describe("Settings → Features", () => {
expect(navPages(html)).toContain("features");
expect(html).toContain("Skill Burger");
expect(html).toContain("Save a bot&#x27;s run as steps you can run again");
- expect(featureSwitches()).toEqual({ skillBurger: true, threadTabs: false, threadNotes: true, mascotMotion: true });
+ expect(html).not.toContain("Saved in");
+ expect(featureSwitches()).toEqual({ skillBurger: true, threadTabs: false });
});
it("saves Skill Burger off in the place's config.json", async () => {
@@ -293,14 +293,12 @@ describe("Settings → Features", () => {
expect(api).toHaveBeenCalledWith("/api/config", { method: "PATCH", body: JSON.stringify({ features: { skillBurger: false } }) });
});
- it("leaves out the place's switches when its server doesn't know them, and for a team's member", () => {
+ it("shows no switch its server doesn't know, and isn't offered to a team's member", () => {
fixture.config = {};
render("features");
- expect(featureSwitches()).toEqual({ threadNotes: true, mascotMotion: true });
- fixture.switches = [];
+ expect(featureSwitches()).toEqual({});
fixture.config = { cloudHome: true, team: { name: "Acme" }, features: { skillBurger: true, threadTabs: false } };
fixture.admin = false;
- render("features");
- expect(featureSwitches()).toEqual({ threadNotes: true, mascotMotion: true });
+ expect(navPages(render("overview"))).not.toContain("features");
});
});
diff --git a/src/components/settings/pages/FeaturesPage.tsx b/src/components/settings/pages/FeaturesPage.tsx
index d6d64813e9..c63f597ab2 100644
--- a/src/components/settings/pages/FeaturesPage.tsx
+++ b/src/components/settings/pages/FeaturesPage.tsx
@@ -1,44 +1,30 @@
import { useState } from "react";
import type { LocaleKey } from "@/locales";
import { t } from "@/lib/i18n";
-import { setDeviceFeature, type DeviceFeature } from "@/lib/feature-switches";
-import { useFeature, type Feature, type PlaceFeature } from "@/lib/use-feature";
+import { useFeature, type Feature } from "@/lib/use-feature";
import { api, type ConfigStatus } from "@/state/store";
import { useStoreDispatch, useStoreSelector } from "@/state/store-select";
import { SettingRow, SettingsGroup, SettingsRows, Switch } from "../../SettingsPrimitives";
-import { useSettingsShell } from "../settings-shell";
const COPY: Record<Feature, { title: LocaleKey; line: LocaleKey }> = {
skillBurger: { title: "settings.features.skillBurger", line: "settings.features.skillBurgerLine" },
threadTabs: { title: "settings.features.threadTabs", line: "settings.features.threadTabsLine" },
- threadNotes: { title: "settings.features.threadNotes", line: "settings.features.threadNotesLine" },
- mascotMotion: { title: "settings.features.mascotMotion", line: "settings.features.mascotMotionLine" },
};
-function FeatureRow({ name, saving = false, error, onChange }: { name: Feature; saving?: boolean; error?: string; onChange: (on: boolean) => void }) {
+/** One switch kept in this place's config.json; shown once its server says it knows the switch. */
+function FeatureRow({ name }: { name: Feature }) {
const on = useFeature(name);
- const copy = COPY[name];
- return (
- <SettingRow title={t(copy.title)} subtitle={t(copy.line)} message={error ? <p role="alert" className="text-danger">{error}</p> : null}>
- <Switch data-feature-switch={name} checked={on} aria-label={t(copy.title)} disabled={saving} onClick={() => onChange(!on)}
- className="disabled:cursor-wait disabled:opacity-50" />
- </SettingRow>
- );
-}
-
-/** A switch kept in this place's config.json; shown once its server says it knows the switch. */
-function PlaceFeatureRow({ name }: { name: PlaceFeature }) {
const known = useStoreSelector((state) => typeof state.config?.features?.[name] === "boolean");
const dispatch = useStoreDispatch();
const [saving, setSaving] = useState(false);
const [error, setError] = useState("");
if (!known) return null;
- const save = async (on: boolean) => {
+ const save = async (next: boolean) => {
if (saving) return;
setSaving(true);
setError("");
try {
- const config: ConfigStatus = await api("/api/config", { method: "PATCH", body: JSON.stringify({ features: { [name]: on } }) });
+ const config: ConfigStatus = await api("/api/config", { method: "PATCH", body: JSON.stringify({ features: { [name]: next } }) });
dispatch({ type: "configStatus", config });
} catch {
setError(t("settings.features.error"));
@@ -46,28 +32,22 @@ function PlaceFeatureRow({ name }: { name: PlaceFeature }) {
setSaving(false);
}
};
- return <FeatureRow name={name} saving={saving} error={error} onChange={(on) => void save(on)} />;
+ const copy = COPY[name];
+ return (
+ <SettingRow title={t(copy.title)} subtitle={t(copy.line)} message={error ? <p role="alert" className="text-danger">{error}</p> : null}>
+ <Switch data-feature-switch={name} checked={on} aria-label={t(copy.title)} disabled={saving} onClick={() => void save(!on)}
+ className="disabled:cursor-wait disabled:opacity-50" />
+ </SettingRow>
+ );
}
-const DeviceFeatureRow = ({ name }: { name: DeviceFeature }) => <FeatureRow name={name} onChange={(on) => setDeviceFeature(name, on)} />;
-
export function FeaturesPage() {
- const { ctx } = useSettingsShell();
- const placeSwitches = !ctx.client && !(ctx.team && !ctx.admin);
- return <>
- {placeSwitches && (
- <SettingsGroup block="features">
- <SettingsRows>
- <PlaceFeatureRow name="skillBurger" />
- <PlaceFeatureRow name="threadTabs" />
- </SettingsRows>
- </SettingsGroup>
- )}
- <SettingsGroup label={t("settings.account.onThisDevice")} block="this-device">
+ return (
+ <SettingsGroup block="features">
<SettingsRows>
- <DeviceFeatureRow name="threadNotes" />
- <DeviceFeatureRow name="mascotMotion" />
+ <FeatureRow name="skillBurger" />
+ <FeatureRow name="threadTabs" />
</SettingsRows>
</SettingsGroup>
- </>;
+ );
}
diff --git a/src/components/settings/settings-index.test.ts b/src/components/settings/settings-index.test.ts
index f3c7836413..4226dfaa78 100644
--- a/src/components/settings/settings-index.test.ts
+++ b/src/components/settings/settings-index.test.ts
@@ -112,7 +112,7 @@ describe("the pages", () => {
});
it("drops the place's pages and Plan & billing for a paired client, which keeps This app", () => {
- expect(ids(fullContext({ client: true }))).toEqual(["overview", "features", "account", "app", "general", "appearance"]);
+ expect(ids(fullContext({ client: true }))).toEqual(["overview", "account", "app", "general", "appearance"]);
});
});
diff --git a/src/components/settings/settings-index.ts b/src/components/settings/settings-index.ts
index 13ac5af9bd..a71c202441 100644
--- a/src/components/settings/settings-index.ts
+++ b/src/components/settings/settings-index.ts
@@ -83,8 +83,8 @@ export const SETTINGS_PAGES: readonly SettingsPage[] = [
synonyms: ["people", "members", "invite", "roles", "bot access", "sharing", "team"] },
{ id: "installations", owner: "place", labelKey: "settings.section.workspaces", icon: Server, when: (ctx) => !ctx.client && ctx.installations,
synonyms: ["installations", "fleet", "clients", "tenants"] },
- { id: "features", owner: "place", labelKey: "settings.page.features", icon: ToggleRight, when: () => true,
- synonyms: ["features", "turn off", "turn on", "hide", "skill burger", "skill burgers", "mascot", "animations", "thread notes", "tabs", "thread tabs"] },
+ { id: "features", owner: "place", labelKey: "settings.page.features", icon: ToggleRight, when: adminPage,
+ synonyms: ["features", "turn off", "turn on", "hide", "skill burger", "skill burgers", "tabs", "thread tabs"] },
{ id: "account", owner: "account", labelKey: "settings.page.account", when: () => true,
synonyms: ["account", "sign in", "log in", "log out", "sign out", "email", "organization", "mausbot cloud"] },
{ id: "plan", owner: "account", labelKey: "settings.page.plan", icon: CreditCard, when: (ctx) => !ctx.client && ctx.plan,
@@ -254,10 +254,8 @@ export const SETTINGS_INDEX: readonly SettingsIndexEntry[] = [
{ id: "bubbles", page: "appearance", anchor: "look", labelKey: "settings.userBubbles.simpleTitle", synonyms: ["message color", "my messages", "bubbles"] },
{ id: "tool-calls", page: "appearance", anchor: "chat", labelKey: "settings.appearance.chat", synonyms: ["tool calls", "this run", "chat width", "font", "typeface"] },
{ id: "layout", page: "appearance", anchor: "appearance", labelKey: "settings.appearance.layout", advanced: true, synonyms: ["show your computers", "rail", "window frame", "title bar", "threads", "tools layout", "pinned", "circles", "universal pins", "pinned panels"] },
- { id: "skill-burger-switch", page: "features", anchor: "features", labelKey: "settings.features.skillBurger", when: (ctx) => !ctx.client && !(ctx.team && !ctx.admin), topFor: ["skill burger", "skill burgers"], synonyms: ["burger", "saved runs", "workflows"] },
- { id: "thread-tabs", page: "features", anchor: "features", labelKey: "settings.features.threadTabs", when: (ctx) => !ctx.client && !(ctx.team && !ctx.admin), synonyms: ["tabs", "threads"] },
- { id: "thread-notes", page: "features", anchor: "this-device", labelKey: "settings.features.threadNotes", synonyms: ["saved to this thread", "notes", "memory line"] },
- { id: "mascot-motion", page: "features", anchor: "this-device", labelKey: "settings.features.mascotMotion", topFor: ["mascot", "animations"], synonyms: ["motion", "still", "moving"] },
+ { id: "skill-burger-switch", page: "features", anchor: "features", labelKey: "settings.features.skillBurger", topFor: ["skill burger", "skill burgers"], synonyms: ["burger", "saved runs", "workflows"] },
+ { id: "thread-tabs", page: "features", anchor: "features", labelKey: "settings.features.threadTabs", synonyms: ["tabs", "threads"] },
{ id: "apps", page: "overview", labelKey: "settings.search.apps", jump: "apps", synonyms: ["apps", "gmail", "slack", "calendar", "notion", "connect app", "integrations"] },
{ id: "bot-settings", page: "overview", labelKey: "settings.search.bot", jump: "bot", synonyms: ["approvals", "safety", "routines", "memory", "bot's notifications"] },
{ id: "shortcuts", page: "app", labelKey: "sidebar.menu.shortcuts", jump: "shortcuts", synonyms: ["keyboard shortcuts", "hotkeys", "cheat sheet"] },
diff --git a/src/components/skill-burger/feature-gate.test.ts b/src/components/skill-burger/feature-gate.test.ts
index fa44d59198..f057f88bca 100644
--- a/src/components/skill-burger/feature-gate.test.ts
+++ b/src/components/skill-burger/feature-gate.test.ts
@@ -1,12 +1,11 @@
// Settings → Features: Skill Burger off takes its chat card, its menu entries, its page and the bot panel's saved list
-// away; thread notes off takes the "Saved to this thread" line away; mascot animations off holds mascots still. Nothing
-// saved is touched, so on brings it all back.
+// away. Nothing saved is touched, so on brings it all back.
import { readFileSync } from "node:fs";
import { createElement } from "react";
import { renderToStaticMarkup } from "react-dom/server";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { setLocale } from "@/lib/i18n";
-import type { Message } from "@/state/store";
+import { skillBurgerEnabled, threadTabsEnabled } from "@/lib/feature-flags";
const fixture = vi.hoisted(() => ({ config: {} as Record<string, unknown>, items: [] as Array<{ key: string }> }));
vi.mock("@/state/store", async (importOriginal) => ({
@@ -21,13 +20,8 @@ vi.mock("../UpdateIndicator", () => ({ UpdateIndicator: () => null }));
vi.mock("../SidebarPopoverMenu", () => ({ SidebarPopoverMenu: ({ items }: { items: Array<{ key: string }> }) => { fixture.items = items; return null; } }));
const { SidebarPhoneBar } = await import("../SidebarPhoneBar");
-const { StatusActivityRow } = await import("../StatusActivityRow");
-const { setDeviceFeature } = await import("@/lib/feature-switches");
-const storage = new Map<string, string>();
beforeEach(() => {
- storage.clear();
- vi.stubGlobal("localStorage", { getItem: (key: string) => storage.get(key) ?? null, setItem: (key: string, value: string) => storage.set(key, value) });
fixture.config = {};
fixture.items = [];
setLocale("en");
@@ -40,6 +34,13 @@ const phoneTools = () => {
};
describe("the Skill Burger switch", () => {
+ it("is on, and thread tabs off, until the place's config.json says otherwise", () => {
+ expect(skillBurgerEnabled(null)).toBe(true);
+ expect(skillBurgerEnabled({ features: { skillBurger: false } })).toBe(false);
+ expect(threadTabsEnabled(null)).toBe(false);
+ expect(threadTabsEnabled({ features: { threadTabs: true } })).toBe(true);
+ });
+
it("shows Skill Burgers in the tools menu by default, hides it while off, and brings it back on", () => {
expect(phoneTools()).toContain("skill-burgers");
fixture.config = { features: { skillBurger: false } };
@@ -59,29 +60,3 @@ describe("the Skill Burger switch", () => {
}
});
});
-
-describe("the thread notes switch", () => {
- const saved = { id: "m1", role: "bot", kind: "activity", at: "2026-11-24T10:00:00.000Z", text: "", tool: { name: "notice: Saved to this thread", nameCode: "chat.notice.savedToThread", ok: true } } as unknown as Message;
- const line = () => renderToStaticMarkup(createElement(StatusActivityRow, { message: saved }));
-
- it("shows the Saved to this thread line by default, hides it while off, and brings it back on", () => {
- expect(line()).toContain("data-saved-to-thread");
- setDeviceFeature("threadNotes", false);
- expect(line()).toBe("");
- setDeviceFeature("threadNotes", true);
- expect(line()).toContain("Saved to this thread");
- });
-});
-
-describe("the mascot animations switch", () => {
- it("holds mascots still while off, as reduced motion does, and lets them move again once on", async () => {
- const { useMascotStill } = await import("../mascot-clock");
- const Probe = () => createElement("i", null, String(useMascotStill()));
- const still = () => renderToStaticMarkup(createElement(Probe));
- expect(still()).toBe("<i>false</i>");
- setDeviceFeature("mascotMotion", false);
- expect(still()).toBe("<i>true</i>");
- setDeviceFeature("mascotMotion", true);
- expect(still()).toBe("<i>false</i>");
- });
-});
diff --git a/src/lib/feature-switches.test.ts b/src/lib/feature-switches.test.ts
deleted file mode 100644
index 771da7f741..0000000000
--- a/src/lib/feature-switches.test.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
-import { skillBurgerEnabled, threadTabsEnabled } from "./feature-flags";
-
-function memoryStorage() {
- const values = new Map<string, string>();
- return {
- getItem: (key: string) => values.get(key) ?? null,
- setItem: (key: string, value: string) => values.set(key, value),
- };
-}
-
-let local: ReturnType<typeof memoryStorage>;
-
-beforeEach(() => {
- vi.resetModules();
- local = memoryStorage();
- vi.stubGlobal("localStorage", local);
- vi.stubGlobal("window", new EventTarget());
-});
-
-afterEach(() => {
- vi.unstubAllGlobals();
-});
-
-describe("Settings → Features on this device", () => {
- it("starts with thread notes and mascot animations on", async () => {
- const switches = await import("./feature-switches");
- expect(switches.readDeviceFeature("threadNotes")).toBe(true);
- expect(switches.readDeviceFeature("mascotMotion")).toBe(true);
- });
-
- it("keeps a switch off across a restart, and on again once turned back on", async () => {
- let switches = await import("./feature-switches");
- switches.setDeviceFeature("mascotMotion", false);
- vi.resetModules();
- switches = await import("./feature-switches");
- expect(switches.readDeviceFeature("mascotMotion")).toBe(false);
- expect(switches.readDeviceFeature("threadNotes")).toBe(true);
- switches.setDeviceFeature("mascotMotion", true);
- vi.resetModules();
- switches = await import("./feature-switches");
- expect(switches.readDeviceFeature("mascotMotion")).toBe(true);
- });
-
- it("stays on when this device's storage cannot be read", async () => {
- vi.stubGlobal("localStorage", { getItem: () => { throw new Error("blocked"); }, setItem: () => {} });
- const switches = await import("./feature-switches");
- expect(switches.readDeviceFeature("threadNotes")).toBe(true);
- });
-});
-
-describe("Settings → Features in the place's config.json", () => {
- it("has Skill Burger on and thread tabs off until config.json says otherwise", () => {
- expect(skillBurgerEnabled(null)).toBe(true);
- expect(skillBurgerEnabled({ features: {} })).toBe(true);
- expect(skillBurgerEnabled({ features: { skillBurger: false } })).toBe(false);
- expect(threadTabsEnabled(null)).toBe(false);
- expect(threadTabsEnabled({ features: { threadTabs: true } })).toBe(true);
- });
-});
diff --git a/src/lib/feature-switches.ts b/src/lib/feature-switches.ts
deleted file mode 100644
index d0623a5b14..0000000000
--- a/src/lib/feature-switches.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-import { useSyncExternalStore } from "react";
-
-/** Switches on Settings → Features that only change how this device shows things, kept in this device's storage. */
-export type DeviceFeature = "mascotMotion" | "threadNotes";
-
-const KEYS: Record<DeviceFeature, string> = {
- mascotMotion: "omb-feature-mascot-motion",
- threadNotes: "omb-feature-thread-notes",
-};
-
-const sessionChoice = new Map<DeviceFeature, boolean>();
-const listeners = new Set<() => void>();
-
-function storage(): Storage | undefined {
- try {
- return globalThis.localStorage;
- } catch {
- return undefined;
- }
-}
-
-export function readDeviceFeature(name: DeviceFeature): boolean {
- const chosen = sessionChoice.get(name);
- if (chosen !== undefined) return chosen;
- try {
- return storage()?.getItem(KEYS[name]) !== "0";
- } catch {
- return true;
- }
-}
-
-function notify() {
- for (const listener of listeners) listener();
-}
-
-function onStorage(event: StorageEvent) {
- if (event.key !== null && !Object.values(KEYS).includes(event.key)) return;
- if (event.storageArea && event.storageArea !== storage()) return;
- sessionChoice.clear();
- notify();
-}
-
-function subscribe(listener: () => void): () => void {
- listeners.add(listener);
- if (listeners.size === 1 && typeof window !== "undefined") window.addEventListener("storage", onStorage);
- return () => {
- listeners.delete(listener);
- if (listeners.size === 0 && typeof window !== "undefined") window.removeEventListener("storage", onStorage);
- };
-}
-
-export function setDeviceFeature(name: DeviceFeature, enabled: boolean): void {
- sessionChoice.set(name, enabled);
- try {
- storage()?.setItem(KEYS[name], enabled ? "1" : "0");
- } catch {
- }
- notify();
-}
-
-export function useDeviceFeature(name: DeviceFeature): boolean {
- const read = () => readDeviceFeature(name);
- return useSyncExternalStore(subscribe, read, read);
-}
diff --git a/src/lib/use-feature.ts b/src/lib/use-feature.ts
index 4c3a911209..2f1bc38a17 100644
--- a/src/lib/use-feature.ts
+++ b/src/lib/use-feature.ts
@@ -1,22 +1,16 @@
import { skillBurgerEnabled, threadTabsEnabled } from "@/lib/feature-flags";
-import { useDeviceFeature, type DeviceFeature } from "@/lib/feature-switches";
import type { ConfigStatus } from "@/state/store";
import { useStoreSelector } from "@/state/store-select";
-/** Switches on Settings → Features kept in the place's config.json (`features.<name>`), so its server reads them too. */
-export type PlaceFeature = "skillBurger" | "threadTabs";
-export type Feature = PlaceFeature | DeviceFeature;
+/** Switches on Settings → Features, kept in the place's config.json (`features.<name>`), so its server reads them too. */
+export type Feature = "skillBurger" | "threadTabs";
-const PLACE_FEATURES: Record<PlaceFeature, (config: ConfigStatus | null | undefined) => boolean> = {
+const FEATURES: Record<Feature, (config: ConfigStatus | null | undefined) => boolean> = {
skillBurger: skillBurgerEnabled,
threadTabs: threadTabsEnabled,
};
-export const isPlaceFeature = (name: Feature): name is PlaceFeature => Object.hasOwn(PLACE_FEATURES, name);
-
/** Whether a switch on Settings → Features is on. */
export function useFeature(name: Feature): boolean {
- const place = useStoreSelector((state) => (isPlaceFeature(name) ? PLACE_FEATURES[name](state.config) : false));
- const device = useDeviceFeature(isPlaceFeature(name) ? "mascotMotion" : name);
- return isPlaceFeature(name) ? place : device;
+ return useStoreSelector((state) => FEATURES[name](state.config));
}
diff --git a/src/locales/de.json b/src/locales/de.json
index c49938ac00..0662b48818 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -4338,9 +4338,5 @@
"settings.features.skillBurgerLine": "Speichert den Lauf eines Bots als Schritte, die du erneut ausführen kannst",
"settings.features.threadTabs": "Thread-Tabs",
"settings.features.threadTabsLine": "Zeigt die Threads eines Bots als Tabs über dem Chat",
- "settings.features.threadNotes": "Thread-Notizen",
- "settings.features.threadNotesLine": "Zeigt, was ein Bot sich zu jedem Thread notiert",
- "settings.features.mascotMotion": "Maskottchen-Animationen",
- "settings.features.mascotMotionLine": "Lässt die Maskottchen der Bots sich bewegen, während sie arbeiten",
"settings.features.error": "Das konnte nicht gespeichert werden. Prüfe deine Verbindung und versuche es erneut."
}
diff --git a/src/locales/en.json b/src/locales/en.json
index faea38da43..9e7a9f4265 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -11815,9 +11815,5 @@
"settings.features.skillBurgerLine": "Save a bot's run as steps you can run again",
"settings.features.threadTabs": "Thread tabs",
"settings.features.threadTabsLine": "Show a bot's threads as tabs above the chat",
- "settings.features.threadNotes": "Thread notes",
- "settings.features.threadNotesLine": "Show what a bot notes down for each thread",
- "settings.features.mascotMotion": "Mascot animations",
- "settings.features.mascotMotionLine": "Let bots' mascots move while they work",
"settings.features.error": "Couldn't save that. Check your connection and try again."
}
diff --git a/src/locales/es.json b/src/locales/es.json
index 3ba572fbd6..230645553e 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -6610,9 +6610,5 @@
"settings.features.skillBurgerLine": "Guarda la ejecución de un bot como pasos que puedes volver a ejecutar",
"settings.features.threadTabs": "Pestañas de hilos",
"settings.features.threadTabsLine": "Muestra los hilos de un bot como pestañas sobre el chat",
- "settings.features.threadNotes": "Notas del hilo",
- "settings.features.threadNotesLine": "Muestra lo que un bot anota para cada hilo",
- "settings.features.mascotMotion": "Animaciones de la mascota",
- "settings.features.mascotMotionLine": "Deja que las mascotas de los bots se muevan mientras trabajan",
"settings.features.error": "No se pudo guardar. Revisa tu conexión e inténtalo de nuevo."
}
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 584f6c4d99..820bfcae10 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -4015,9 +4015,5 @@
"settings.features.skillBurgerLine": "Enregistre l'exécution d'un bot en étapes que tu peux relancer",
"settings.features.threadTabs": "Onglets de fils",
"settings.features.threadTabsLine": "Affiche les fils d'un bot en onglets au-dessus du chat",
- "settings.features.threadNotes": "Notes du fil",
- "settings.features.threadNotesLine": "Affiche ce qu'un bot note pour chaque fil",
- "settings.features.mascotMotion": "Animations de la mascotte",
- "settings.features.mascotMotionLine": "Laisse les mascottes des bots bouger pendant qu'ils travaillent",
"settings.features.error": "Impossible d'enregistrer. Vérifie ta connexion et réessaie."
}
diff --git a/src/locales/hi.json b/src/locales/hi.json
index 0853ec7e30..1217fd2212 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -3867,9 +3867,5 @@
"settings.features.skillBurgerLine": "किसी बॉट के रन को ऐसे चरणों के रूप में सहेजें जिन्हें आप फिर से चला सकें",
"settings.features.threadTabs": "थ्रेड टैब",
"settings.features.threadTabsLine": "चैट के ऊपर बॉट के थ्रेड टैब के रूप में दिखाएँ",
- "settings.features.threadNotes": "थ्रेड नोट्स",
- "settings.features.threadNotesLine": "दिखाएँ कि बॉट हर थ्रेड के लिए क्या नोट करता है",
- "settings.features.mascotMotion": "मैस्कॉट एनिमेशन",
- "settings.features.mascotMotionLine": "काम करते समय बॉट के मैस्कॉट को हिलने दें",
"settings.features.error": "इसे सहेजा नहीं जा सका। अपना कनेक्शन जाँचें और फिर से कोशिश करें।"
}
diff --git a/src/locales/it.json b/src/locales/it.json
index d28cc264ad..cf35f73353 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -11500,9 +11500,5 @@
"settings.features.skillBurgerLine": "Salva l'esecuzione di un bot come passaggi da rieseguire",
"settings.features.threadTabs": "Schede dei thread",
"settings.features.threadTabsLine": "Mostra i thread di un bot come schede sopra la chat",
- "settings.features.threadNotes": "Note del thread",
- "settings.features.threadNotesLine": "Mostra cosa annota un bot per ogni thread",
- "settings.features.mascotMotion": "Animazioni della mascotte",
- "settings.features.mascotMotionLine": "Lascia che le mascotte dei bot si muovano mentre lavorano",
"settings.features.error": "Impossibile salvare. Controlla la connessione e riprova."
}
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 911487369e..8eb544d140 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -8144,9 +8144,5 @@
"settings.features.skillBurgerLine": "ボットの実行を、もう一度実行できる手順として保存します",
"settings.features.threadTabs": "スレッドのタブ",
"settings.features.threadTabsLine": "ボットのスレッドをチャットの上にタブで表示します",
- "settings.features.threadNotes": "スレッドのメモ",
- "settings.features.threadNotesLine": "ボットが各スレッドについて書き留めた内容を表示します",
- "settings.features.mascotMotion": "マスコットのアニメーション",
- "settings.features.mascotMotionLine": "作業中にボットのマスコットを動かします",
"settings.features.error": "保存できませんでした。接続を確認して、もう一度お試しください。"
}
diff --git a/src/locales/ko.json b/src/locales/ko.json
index 9eeb34d5ae..4814fe2eb8 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -7834,9 +7834,5 @@
"settings.features.skillBurgerLine": "봇의 실행을 다시 실행할 수 있는 단계로 저장해요",
"settings.features.threadTabs": "스레드 탭",
"settings.features.threadTabsLine": "봇의 스레드를 채팅 위에 탭으로 보여줘요",
- "settings.features.threadNotes": "스레드 메모",
- "settings.features.threadNotesLine": "봇이 스레드마다 적어 둔 내용을 보여줘요",
- "settings.features.mascotMotion": "마스코트 애니메이션",
- "settings.features.mascotMotionLine": "봇이 일하는 동안 마스코트가 움직이게 해요",
"settings.features.error": "저장하지 못했어요. 연결을 확인하고 다시 시도해 주세요."
}
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 4c30d85eea..e53c16ee7c 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -7306,9 +7306,5 @@
"settings.features.skillBurgerLine": "Zapisuje przebieg pracy bota jako kroki, które można uruchomić ponownie",
"settings.features.threadTabs": "Karty wątków",
"settings.features.threadTabsLine": "Pokazuje wątki bota jako karty nad czatem",
- "settings.features.threadNotes": "Notatki wątku",
- "settings.features.threadNotesLine": "Pokazuje, co bot notuje w każdym wątku",
- "settings.features.mascotMotion": "Animacje maskotki",
- "settings.features.mascotMotionLine": "Pozwala maskotkom botów poruszać się podczas pracy",
"settings.features.error": "Nie udało się zapisać. Sprawdź połączenie i spróbuj ponownie."
}
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index 8b19b263eb..8de72a0074 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -11815,9 +11815,5 @@
"settings.features.skillBurgerLine": "Salva a execução de um bot como etapas que você pode executar de novo",
"settings.features.threadTabs": "Abas de conversas",
"settings.features.threadTabsLine": "Mostra as conversas de um bot como abas acima do chat",
- "settings.features.threadNotes": "Notas da conversa",
- "settings.features.threadNotesLine": "Mostra o que um bot anota em cada conversa",
- "settings.features.mascotMotion": "Animações do mascote",
- "settings.features.mascotMotionLine": "Deixa os mascotes dos bots se moverem enquanto trabalham",
"settings.features.error": "Não foi possível salvar. Verifique sua conexão e tente de novo."
}
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 66c4d27eff..344f3c283a 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -7360,9 +7360,5 @@
"settings.features.skillBurgerLine": "Сохраняет работу бота как шаги, которые можно запустить снова",
"settings.features.threadTabs": "Вкладки веток",
"settings.features.threadTabsLine": "Показывает ветки бота вкладками над чатом",
- "settings.features.threadNotes": "Заметки ветки",
- "settings.features.threadNotesLine": "Показывает, что бот записывает для каждой ветки",
- "settings.features.mascotMotion": "Анимации маскота",
- "settings.features.mascotMotionLine": "Маскоты ботов двигаются, пока боты работают",
"settings.features.error": "Не удалось сохранить. Проверьте подключение и попробуйте ещё раз."
}
diff --git a/src/locales/tr.json b/src/locales/tr.json
index dac962935f..e70084b5cc 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -6105,9 +6105,5 @@
"settings.features.skillBurgerLine": "Bir botun çalışmasını yeniden çalıştırabileceğin adımlar olarak kaydeder",
"settings.features.threadTabs": "Konuşma sekmeleri",
"settings.features.threadTabsLine": "Bir botun konuşmalarını sohbetin üstünde sekmeler olarak gösterir",
- "settings.features.threadNotes": "Konuşma notları",
- "settings.features.threadNotesLine": "Bir botun her konuşma için not aldıklarını gösterir",
- "settings.features.mascotMotion": "Maskot animasyonları",
- "settings.features.mascotMotionLine": "Botların maskotları çalışırken hareket eder",
"settings.features.error": "Kaydedilemedi. Bağlantını kontrol edip tekrar dene."
}
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 35dad790b3..ca0423782b 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -4287,9 +4287,5 @@
"settings.features.skillBurgerLine": "Зберігає роботу бота як кроки, які можна запустити знову",
"settings.features.threadTabs": "Вкладки гілок",
"settings.features.threadTabsLine": "Показує гілки бота вкладками над чатом",
- "settings.features.threadNotes": "Нотатки гілки",
- "settings.features.threadNotesLine": "Показує, що бот записує для кожної гілки",
- "settings.features.mascotMotion": "Анімації маскота",
- "settings.features.mascotMotionLine": "Маскоти ботів рухаються, поки боти працюють",
"settings.features.error": "Не вдалося зберегти. Перевірте з'єднання і спробуйте ще раз."
}
diff --git a/src/locales/vi.json b/src/locales/vi.json
index 5b61832696..577b42d850 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -6105,9 +6105,5 @@
"settings.features.skillBurgerLine": "Lưu một lần chạy của bot thành các bước bạn có thể chạy lại",
"settings.features.threadTabs": "Thẻ luồng",
"settings.features.threadTabsLine": "Hiển thị các luồng của bot thành thẻ phía trên khung chat",
- "settings.features.threadNotes": "Ghi chú của luồng",
- "settings.features.threadNotesLine": "Hiển thị những gì bot ghi lại cho từng luồng",
- "settings.features.mascotMotion": "Hoạt ảnh linh vật",
- "settings.features.mascotMotionLine": "Cho linh vật của bot chuyển động khi bot làm việc",
"settings.features.error": "Không thể lưu. Hãy kiểm tra kết nối rồi thử lại."
}
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index 26569bdc66..841e3ffb50 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -10422,9 +10422,5 @@
"settings.features.skillBurgerLine": "把機器人的一次執行儲存為可再次執行的步驟",
"settings.features.threadTabs": "對話分頁",
"settings.features.threadTabsLine": "在聊天上方以分頁顯示機器人的對話",
- "settings.features.threadNotes": "對話筆記",
- "settings.features.threadNotesLine": "顯示機器人為每個對話記下的內容",
- "settings.features.mascotMotion": "吉祥物動畫",
- "settings.features.mascotMotionLine": "機器人工作時讓它們的吉祥物動起來",
"settings.features.error": "無法儲存。請檢查連線後再試一次。"
}
diff --git a/src/locales/zh.json b/src/locales/zh.json
index d6223da9e0..e650ae2ae9 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -10335,9 +10335,5 @@
"settings.features.skillBurgerLine": "把机器人的一次运行保存为可再次运行的步骤",
"settings.features.threadTabs": "对话标签页",
"settings.features.threadTabsLine": "在聊天上方以标签页显示机器人的对话",
- "settings.features.threadNotes": "对话笔记",
- "settings.features.threadNotesLine": "显示机器人为每个对话记下的内容",
- "settings.features.mascotMotion": "吉祥物动画",
- "settings.features.mascotMotionLine": "机器人工作时让它们的吉祥物动起来",
"settings.features.error": "无法保存。请检查网络连接后重试。"
}