Skip to content

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

Generated thread titles are always on

milind-sonic18086673394
diff --git a/apps/docs/content/docs/features/voice-and-memory.mdx b/apps/docs/content/docs/features/voice-and-memory.mdx
index c8cae7bb9c..7cb6ab0209 100644
--- a/apps/docs/content/docs/features/voice-and-memory.mdx
+++ b/apps/docs/content/docs/features/voice-and-memory.mdx
@@ -60,7 +60,7 @@ A Live call keeps the chat open: a call bar above the composer shows the call ti
The voice speaks as the bot, in the first person, but the bot does the work: each request goes to it as a normal message, marked "via call", with the bot's own engine, tools, memory and approvals, and the voice reads the answer back. The voice's own words appear only as captions and are not saved. While the bot works, the voice gets a quiet status note every 30 seconds, so it can say the bot is still busy instead of guessing; if a turn ends without an answer, it says the result is in the chat.
-When a call that connected ends, the chat keeps one record of it: a small row with the call's length and what the bot did for the requests you spoke, its steps by name and the permission requests it raised, such as running a command, with how each was decided. The record reads "Call with" and the bot's name. With generated thread titles turned on (`"features": { "llmThreadTitles": true }` in `~/.openmausbot/config.json`), the bot's own engine, which already saw those requests, gives it a short title from what you asked on the call; the call sends nothing more to OpenAI. The requests you spoke and the bot's answers stay in the chat as before. The record holds no speech: the voice's own words are still not saved. A call that never connected leaves no record, and a phone app that does not know the record yet shows it as one short line, such as "Call with Ada · 1:42".
+When a call that connected ends, the chat keeps one record of it: a small row with the call's length and what the bot did for the requests you spoke, its steps by name and the permission requests it raised, such as running a command, with how each was decided. The record reads "Call with" and the bot's name. The bot's own engine, which already saw those requests, gives it a short title from what you asked on the call; the call sends nothing more to OpenAI. The requests you spoke and the bot's answers stay in the chat as before. The record holds no speech: the voice's own words are still not saved. A call that never connected leaves no record, and a phone app that does not know the record yet shows it as one short line, such as "Call with Ada · 1:42".
A permission request, such as running a command, can be answered with a clear spoken yes or no, decided by MausBot, not by the voice model; the card stays on screen too, and a card decided on the call is marked "by voice" there and in the decision log. On a Live call the microphone stays open while the voice speaks, so "okay", "sure" or "fine" on their own do not count as a yes, and words heard while the voice itself was talking are left out; say "yes" or "no". A bot's changes to itself, such as a new skill or a routine, apply without a card and can be undone on screen; proposals that change another bot or the team, such as a team setup, are decided on screen only, and when the bot waits for you to connect an app or enter a credential, the voice tells you to do it in the chat (never to say a credential aloud).
diff --git a/docs/feature-flags.md b/docs/feature-flags.md
index 4c2c1cbd32..ecd326f766 100644
--- a/docs/feature-flags.md
+++ b/docs/feature-flags.md
@@ -50,7 +50,6 @@ text and extra work can increase token usage.
| `sharedComputers` | Single-owner lending only | Controls ordinary server lending; the bots' home has separate rules below. | Ordinary lending asks for consent; making a server home uses the home workflow. |
| `claudeUserMcp` | Off | Claude bots also load this machine's personal Claude Code MCP servers. | Adds tools and may start those servers; their tools can consume tokens or contact services. |
| `claudeUserSkills` | Off | Claude bots also load the personal skills in `~/.claude/skills`. | Adds skill instructions/files to the engine's available context; does not control Codex native skills. |
-| `llmThreadTitles` | Off | Generates new conversation titles with the engine. | Additional one-shot model calls. |
| `smartSetupChoices` | On | Offers model-written setup choices for a new bot when enough information is available. | Background model calls, subject to the bot's engine capabilities and the budget. If that engine has no one-off text call, an eligible configured [helper](memory.md#the-helper-model) may write the choices using its own provider and model. |
| `autoRecall` | On | Recalls matching memory passages into turns. | Recalled text uses context. Disabling this does not disable memory storage or upkeep; see [Memory](memory.md). |
| `skillsLibrary` | Off | Enables the shared skills store and its Skills settings. | Enables the library, not automatic conversation review. Skill use follows assignments and permissions. |
diff --git a/docs/verification/live-calls.md b/docs/verification/live-calls.md
index b5f942249d..a766b2df45 100644
--- a/docs/verification/live-calls.md
+++ b/docs/verification/live-calls.md
@@ -236,8 +236,7 @@ fake engines and the fake GPT-Live, starts calls the way a client does
and hangs up (`POST /api/live/call/end`). It checks the call id on a new turn,
a steered line, a queued line (also one lifted from the queue by Steer) and a
late answer; one row per call that went live, and none for a call that never
-did or whose bot was deleted; the title patch with generated titles on, and
-none while they are off; the row's absence from the next call's startup
+did or whose bot was deleted; the title patch; the row's absence from the next call's startup
history; and that the row and the server log hold none of the spoken words and
neither the log nor the event stream holds the key.
`server/chat-followups-restart.test.ts` kills a fixture server in the middle of
@@ -280,9 +279,7 @@ no `title`, because nothing was asked; and the snapshot's transcript has
- `pnpm control:omb messages` projects a fixed set of fields: it shows the
row's `kind` and its text, but not `via`, `callId` or `call`. Read the last
command above for those.
-- Only generated thread titles name a call (`features.llmThreadTitles`; see
- [Chat UI](chat-ui.md) for `ui flag --set`), and only from what was asked on
- it: a call where nothing was asked is never titled.
+- A call is titled only from what was asked on it: a call where nothing was asked is never titled.
- The fixture's fake engine answers a title one-shot from
`FAKE_CLAUDE_TEXT_ROUTES`, which crosses into the fixture like the other
`FAKE_CLAUDE_*` variables. Without a route it answers "fake generated text".
diff --git a/server/config.ts b/server/config.ts
index b6ab9b6eef..58ee86eddd 100644
--- a/server/config.ts
+++ b/server/config.ts
@@ -230,7 +230,7 @@ const featureConfigSchema = z.object({
sharedComputers: z.boolean().optional(),
claudeUserMcp: z.boolean().optional(), // Claude bots also load this machine's Claude Code MCP servers. Off unless true: tools cost tokens.
claudeUserSkills: z.boolean().optional(), // Claude bots also load the skills in ~/.claude/skills, in place. Off unless true.
- /** LLM-generated titles for new threads. Off unless true. */
+ /** Retired: generated thread titles are always on. Still accepted so older config files load. */
llmThreadTitles: z.boolean().optional(),
/** A new bot's setup card offers answers its engine writes for it, when there is something to go on. On unless false. */
smartSetupChoices: z.boolean().optional(),
diff --git a/server/decider-rooms.e2e.test.ts b/server/decider-rooms.e2e.test.ts
index 5d29e550d9..c30cfd7810 100644
--- a/server/decider-rooms.e2e.test.ts
+++ b/server/decider-rooms.e2e.test.ts
@@ -98,7 +98,6 @@ beforeAll(async () => {
writeFileSync(titleFile, "Safari footer fix");
writeFileSync(join(data, "config.json"), JSON.stringify({
// a room task's first message is titled by the engine of whoever answers it
- features: { llmThreadTitles: true },
instances: {
quick: {
driver: "claudeAgent", displayName: "Quick fixture", config: { cli: FAKE_CLAUDE },
diff --git a/server/index.test.ts b/server/index.test.ts
index 12fafeba0d..3ce3b18b8d 100644
--- a/server/index.test.ts
+++ b/server/index.test.ts
@@ -491,8 +491,8 @@ beforeAll(async () => {
writeFileSync(
join(home, ".openmausbot", "config.json"),
JSON.stringify({
- // generated titles are opt-in; this suite owns the one-shot's reply file (FAKE_CLAUDE_TEXT_FILE below); the setup card's tests turn its answers on
- features: { llmThreadTitles: true, browser: false, smartSetupChoices: false },
+ // this suite owns the one-shot's reply file (FAKE_CLAUDE_TEXT_FILE below); the setup card's tests turn its answers on
+ features: { browser: false, smartSetupChoices: false },
instances: {
ghost: { driver: "not-a-real-driver", displayName: "Ghost" },
claude: { driver: "claudeAgent", displayName: "Fixture Claude", config: { cli: FAKE_CLAUDE_CLI } },
@@ -9962,7 +9962,7 @@ describe("harness HTTP API", () => {
it("keeps skill authoring on by default and persists an explicit opt-out", async () => {
const before = await api("GET", "/api/config");
expect(before.status).toBe(200);
- expect(before.body.features).toEqual({ browser: false, skillAuthoring: true, skillReview: false, skillReviewSteps: 10, skillsLibrary: false, shareLearnedSkills: "off", showToolCalls: false, sharedComputers: false, claudeUserMcp: false, claudeUserSkills: false, autoRecall: true, roomMemoryCapture: false, parallelRoomJobs: false, llmThreadTitles: true, savedSteps: true, savedStepsHere: process.platform === "darwin", usbPhoneTakeover: false });
+ expect(before.body.features).toEqual({ browser: false, skillAuthoring: true, skillReview: false, skillReviewSteps: 10, skillsLibrary: false, shareLearnedSkills: "off", showToolCalls: false, sharedComputers: false, claudeUserMcp: false, claudeUserSkills: false, autoRecall: true, roomMemoryCapture: false, parallelRoomJobs: false, savedSteps: true, savedStepsHere: process.platform === "darwin", usbPhoneTakeover: false });
const untouched = JSON.parse(readFileSync(join(home, ".openmausbot", "config.json"), "utf8"));
expect(untouched.features?.skillAuthoring).toBeUndefined();
expect(untouched.features?.skillReview).toBeUndefined();
@@ -9972,7 +9972,7 @@ describe("harness HTTP API", () => {
features: { skillAuthoring: false },
});
expect(saved.status).toBe(200);
- expect(saved.body.features).toEqual({ browser: false, skillAuthoring: false, skillReview: false, skillReviewSteps: 10, skillsLibrary: false, shareLearnedSkills: "off", showToolCalls: false, sharedComputers: false, claudeUserMcp: false, claudeUserSkills: false, autoRecall: true, roomMemoryCapture: false, parallelRoomJobs: false, llmThreadTitles: true, savedSteps: true, savedStepsHere: process.platform === "darwin", usbPhoneTakeover: false });
+ expect(saved.body.features).toEqual({ browser: false, skillAuthoring: false, skillReview: false, skillReviewSteps: 10, skillsLibrary: false, shareLearnedSkills: "off", showToolCalls: false, sharedComputers: false, claudeUserMcp: false, claudeUserSkills: false, autoRecall: true, roomMemoryCapture: false, parallelRoomJobs: false, savedSteps: true, savedStepsHere: process.platform === "darwin", usbPhoneTakeover: false });
const disk = JSON.parse(readFileSync(join(home, ".openmausbot", "config.json"), "utf8"));
// Earlier browser coverage may have persisted its own toggle: opting out must preserve sibling settings.
@@ -9980,7 +9980,7 @@ describe("harness HTTP API", () => {
const tools = await api("PATCH", "/api/config", { features: { showToolCalls: true } });
expect(tools.status).toBe(200);
- expect(tools.body.features).toEqual({ browser: false, skillAuthoring: false, skillReview: false, skillReviewSteps: 10, skillsLibrary: false, shareLearnedSkills: "off", showToolCalls: true, sharedComputers: false, claudeUserMcp: false, claudeUserSkills: false, autoRecall: true, roomMemoryCapture: false, parallelRoomJobs: false, llmThreadTitles: true, savedSteps: true, savedStepsHere: process.platform === "darwin", usbPhoneTakeover: false });
+ expect(tools.body.features).toEqual({ browser: false, skillAuthoring: false, skillReview: false, skillReviewSteps: 10, skillsLibrary: false, shareLearnedSkills: "off", showToolCalls: true, sharedComputers: false, claudeUserMcp: false, claudeUserSkills: false, autoRecall: true, roomMemoryCapture: false, parallelRoomJobs: false, savedSteps: true, savedStepsHere: process.platform === "darwin", usbPhoneTakeover: false });
const bot = (await api("POST", "/api/bots", {})).body.bot;
try {
diff --git a/server/index.ts b/server/index.ts
index 45130ec9a3..b14083014f 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -333,7 +333,7 @@ import { buildRecoveryText, buildTurnContext, engineIsFresh, replaysNatively } f
import { Handoffs, handedStateUsable, isContextMessage, recordHanded, renderUnseen, sessionStart, unseenMessages, withUnseenMessages, type ContextMessage } from "./delta-context.ts"; import { isFreshStart, sinceFreshStart } from "./fresh-start.ts";
import { extractReplayImages, extractTurnImages, videoFramesWithin } from "./turn-images.ts";
import { callTitleExcerpt } from "./thread-title.ts";
-import { generateThreadTitle, llmThreadTitlesEnabled } from "./thread-title-generate.ts";
+import { generateThreadTitle } from "./thread-title-generate.ts";
import { engineCommandCpuMs, engineProcessExited, engineProcessGone, ENGINE_EXIT_STALL_MS, stallLimitMs, stallNotice, TurnWatchdog } from "./turn-watchdog.ts"; import { createIdleThreads } from "./host/idle-threads.ts";
import { TurnResources, type TurnOwner } from "./turn-resources.ts";
import { createPhoneHold } from "./phone-screen/hold.ts"; import { createPhoneGate } from "./routes/phone-gate.ts";
@@ -7639,7 +7639,7 @@ async function beginTurn(
if (resolvedImages.text.trim() && !opts?.cardContinuation && !opts?.replyTo?.reactedWith) {
const titled = store.titleTaskFromFirstMessage(bot.id, resolvedImages.text, threadId);
const snippet = titled?.title;
- if (titled && snippet && !titled.openedBy?.botId && llmThreadTitlesEnabled(cfg) && instance.generateText) {
+ if (titled && snippet && !titled.openedBy?.botId && instance.generateText) {
void generateThreadTitle(instance, resolvedImages.text)
.then((title) => {
if (title) store.retitleTask(bot.id, threadId, snippet, title);
@@ -10854,7 +10854,7 @@ function startGroupTurn(
const startTitle = (titleBot: (typeof members)[number]) => {
const titleInstance = registry.get(titleBot.modelSelection.instanceId);
// An engine the organisation disallows never receives the text, even for a title.
- if (titled && snippet && titleText.trim() && llmThreadTitlesEnabled(cfg) && titleInstance?.generateText && !policyModelRefusal(titleInstance)) {
+ if (titled && snippet && titleText.trim() && titleInstance?.generateText && !policyModelRefusal(titleInstance)) {
void generateThreadTitle(titleInstance, titleText)
.then((title) => {
if (title) store.retitleGroupTask(group.id, threadId, snippet, title);
@@ -11771,7 +11771,7 @@ function configStatus() {
autoRecall: autoRecallEnabled(cfg),
roomMemoryCapture: roomMemoryCaptureEnabled(cfg),
parallelRoomJobs: parallelRoomJobsEnabled(cfg),
- llmThreadTitles: llmThreadTitlesEnabled(cfg), savedSteps: savedStepsEnabled(cfg), savedStepsHere: savedSteps.here(),
+ savedSteps: savedStepsEnabled(cfg), savedStepsHere: savedSteps.here(),
usbPhoneTakeover: HAS_USB_PORT ? usbPhoneTakeoverEnabled(cfg) : undefined,
},
onboarding: {
@@ -12442,7 +12442,7 @@ function liveSignedIn(auth: RequestAuth): boolean {
/** On the bot's own engine, which already saw the requests, so nothing new reaches OpenAI. */
function liveCallTitle(botId: string, threadId: string, excerpt: string): Promise<string | null> | null {
const bot = store.projectBotForTask(botId, threadId);
- if (!bot || !llmThreadTitlesEnabled(cfg)) return null;
+ if (!bot) return null;
const gate = threadTitleGate(bot);
return gate.ok ? generateThreadTitle(gate.instance, excerpt, "call") : null;
}
diff --git a/server/live-call.e2e.test.ts b/server/live-call.e2e.test.ts
index 84c93f744e..7eee0e40fd 100644
--- a/server/live-call.e2e.test.ts
+++ b/server/live-call.e2e.test.ts
@@ -70,14 +70,6 @@ posixOnly("Live call e2e", () => {
expect(session).toBeDefined();
return { started, call, session };
};
- const setGeneratedTitles = async (on: boolean) => {
- const res = await fetch(`${base}/api/config`, {
- method: "PATCH",
- headers: { "content-type": "application/json" },
- body: JSON.stringify({ features: { llmThreadTitles: on } }),
- });
- expect(res.status).toBe(200);
- };
beforeAll(async () => {
chmodSync(FAKE_CLAUDE, 0o755);
@@ -531,42 +523,29 @@ posixOnly("Live call e2e", () => {
}, 40_000);
// The first call's missing title is checked only after the second's title arrives: an event, not a clock.
- it("names a call from what was asked on it when generated titles are on, and never one that ended while they were off", async () => {
- const quiet = await createBot();
+ it("names a call from what was asked on it", async () => {
const named = await createBot();
const sse = await openSse(`${base}/api/events`);
let callId = "";
- const askAndHangUp = async (bot: { id: string; threadId: string }) => {
- const { call, session } = await startCall(bot.id);
+ try {
+ const { call, session } = await startCall(named.id);
callId = call.callId;
await live.waitForAttach(session.id);
live.emit(session.id, { type: "session.input_transcript.delta", delta: "what is six times seven", start_ms: 100, end_ms: 900 });
- live.emit(session.id, { type: "session.delegation.created", offset_ms: 950, delegation: { id: `del_${bot.id}`, target: "client", type: "delegation" } });
+ live.emit(session.id, { type: "session.delegation.created", offset_ms: 950, delegation: { id: `del_${named.id}`, target: "client", type: "delegation" } });
await live.waitForCommand(session.id, (c) => c.type === "session.commentary.append" && String(c.content).includes("42"), 20_000);
expect(await post("/api/live/call/end", { callId })).toMatchObject({ status: 200 });
- return sse.until((frame) => frame.kind === "message" && frame.threadId === bot.threadId && frame.message?.kind === "call", 10_000);
- };
- try {
- const first = await askAndHangUp(quiet);
- expect(first.message.call.title).toBeUndefined();
-
- await setGeneratedTitles(true);
- const second = await askAndHangUp(named);
- expect(second.message.call.title).toBeUndefined();
+ const ended = await sse.until((frame) => frame.kind === "message" && frame.threadId === named.threadId && frame.message?.kind === "call", 10_000);
+ expect(ended.message.call.title).toBeUndefined();
const titled = await sse.until(
- (frame) => frame.kind === "message.patch" && frame.message?.id === second.message.id && typeof frame.message?.call?.title === "string",
+ (frame) => frame.kind === "message.patch" && frame.message?.id === ended.message.id && typeof frame.message?.call?.title === "string",
15_000,
);
- expect(titled.message.call).toMatchObject({ callId: second.message.call.callId, title: "Times table question" });
- expect(titled.message.text).toBe(second.message.text);
-
- const { messages } = (await (await fetch(`${base}/api/threads/${quiet.threadId}/messages`)).json()) as { messages: Array<{ id: string; call?: { title?: string } }> };
- expect(messages.find((message) => message.id === first.message.id)?.call?.title).toBeUndefined();
- expect(sse.frames.some((frame) => frame.kind === "message.patch" && frame.message?.id === first.message.id)).toBe(false);
+ expect(titled.message.call).toMatchObject({ callId: ended.message.call.callId, title: "Times table question" });
+ expect(titled.message.text).toBe(ended.message.text);
} finally {
- await setGeneratedTitles(false);
if (callId) await post("/api/live/call/end", { callId });
- for (const bot of [quiet, named]) await expect.poll(() => isBusy(bot.id), { timeout: 20_000 }).toBe(false);
+ await expect.poll(() => isBusy(named.id), { timeout: 20_000 }).toBe(false);
sse.close();
}
}, 90_000);
diff --git a/server/thread-title-generate.ts b/server/thread-title-generate.ts
index f7a87b9844..f483523197 100644
--- a/server/thread-title-generate.ts
+++ b/server/thread-title-generate.ts
@@ -1,13 +1,7 @@
-// Generated thread titles: automatic ones only when features.llmThreadTitles is on, "Regenerate title" whenever the person
-// asks. The engine's one-shot text call, given 10 seconds, its reply cleaned to a title or null.
-import type { AppConfig } from "./config.ts";
+// Generated thread titles: automatic for every new thread, and "Regenerate title" whenever the person asks. The engine's one-shot text call, given 10 seconds, its reply cleaned to a title or null.
import { titleFromLlm } from "./store.ts";
import { threadTitlePrompt, type ThreadTitleSource } from "./thread-title.ts";
-export function llmThreadTitlesEnabled(cfg: Pick<AppConfig, "features">): boolean {
- return cfg.features?.llmThreadTitles === true;
-}
-
export async function generateThreadTitle(
provider: { generateText?: (prompt: string, options?: { signal?: AbortSignal }) => Promise<string> },
text: string,
diff --git a/server/thread-title-regenerate.e2e.test.ts b/server/thread-title-regenerate.e2e.test.ts
index b606042780..b8f22a9f13 100644
--- a/server/thread-title-regenerate.e2e.test.ts
+++ b/server/thread-title-regenerate.e2e.test.ts
@@ -48,7 +48,6 @@ beforeAll(async () => {
titleFile = join(home, "title.txt");
titleDump = join(home, "title-dump.json");
writeFileSync(join(data, "config.json"), JSON.stringify({
- features: { llmThreadTitles: true },
instances: {
titled: {
driver: "claudeAgent", displayName: "Titled fixture", config: { cli: FAKE_CLAUDE },
@@ -94,10 +93,6 @@ describe("Regenerate title", { timeout: 60_000 }, () => {
let botId = "";
let threadId = "";
- it("offers itself through the config only while generated titles are on", async () => {
- expect((await api("GET", "/api/config")).body.features.llmThreadTitles).toBe(true);
- });
-
it("names a renamed thread from its recent conversation, without tool output", async () => {
const bot = (await api("POST", "/api/bots", {
modelSelection: { instanceId: "titled", model: "claude-sonnet-5" }, requireAvailableModel: true,
@@ -148,13 +143,4 @@ describe("Regenerate title", { timeout: 60_000 }, () => {
expect(empty.body.error).toMatch(/no messages/);
expect((await api("POST", `/api/bots/${botId}/tasks/no-such-thread/title`)).status).toBe(404);
});
-
- it("still names a thread when asked once automatic titles are switched off", async () => {
- expect((await api("PATCH", "/api/config", { features: { llmThreadTitles: false } })).status).toBe(200);
- expect((await api("GET", "/api/config")).body.features.llmThreadTitles).toBe(false);
- writeFileSync(titleFile, "Anything at all");
- const asked = await api("POST", `/api/bots/${botId}/tasks/${threadId}/title`);
- expect(asked.status).toBe(200);
- expect(await taskTitle(botId, threadId)).toBe("Anything at all");
- });
});
diff --git a/src/lib/feature-flags.test.ts b/src/lib/feature-flags.test.ts
index da2d93d47e..e1b585875d 100644
--- a/src/lib/feature-flags.test.ts
+++ b/src/lib/feature-flags.test.ts
@@ -1,6 +1,6 @@
import { describe, expect, it } from "vitest";
-import { builtInBrowserEnabled, llmThreadTitlesEnabled, parseSkillReviewSteps, roomMemoryCaptureEnabled, savedStepsEnabled, shareLearnedSkillsMode, sharedComputersEnabled, showToolCallsEnabled, skillAuthoringEnabled, skillReviewEnabled, skillReviewSteps, skillReviewUnavailableEngines, usbPhoneTakeoverEnabled } from "./feature-flags";
+import { builtInBrowserEnabled, parseSkillReviewSteps, roomMemoryCaptureEnabled, savedStepsEnabled, shareLearnedSkillsMode, sharedComputersEnabled, showToolCallsEnabled, skillAuthoringEnabled, skillReviewEnabled, skillReviewSteps, skillReviewUnavailableEngines, usbPhoneTakeoverEnabled } from "./feature-flags";
describe("experimental feature flags", () => {
it("keeps skill authoring on by default, before and after the config arrives", () => {
@@ -69,13 +69,6 @@ describe("experimental feature flags", () => {
expect(sharedComputersEnabled({ features: { sharedComputers: true } })).toBe(true);
});
- it("offers Regenerate title only while the server has generated titles on", () => {
- expect(llmThreadTitlesEnabled(null)).toBe(false);
- expect(llmThreadTitlesEnabled({ features: {} })).toBe(false);
- expect(llmThreadTitlesEnabled({ features: { llmThreadTitles: false } })).toBe(false);
- expect(llmThreadTitlesEnabled({ features: { llmThreadTitles: true } })).toBe(true);
- });
-
it("keeps Learn from group chats off until it is switched on", () => {
expect(roomMemoryCaptureEnabled(null)).toBe(false);
expect(roomMemoryCaptureEnabled({ features: {} })).toBe(false);
diff --git a/src/lib/feature-flags.ts b/src/lib/feature-flags.ts
index 1dc1ee5302..8893112860 100644
--- a/src/lib/feature-flags.ts
+++ b/src/lib/feature-flags.ts
@@ -1,7 +1,7 @@
import { t } from "./i18n";
export interface FeatureFlagConfig {
- features?: { skillAuthoring?: boolean; skillReview?: boolean; skillReviewSteps?: number; showToolCalls?: boolean; browser?: boolean; sharedComputers?: boolean; claudeUserMcp?: boolean; claudeUserSkills?: boolean; llmThreadTitles?: boolean; skillsLibrary?: boolean; shareLearnedSkills?: "off" | "ask" | "auto"; roomMemoryCapture?: boolean; savedSteps?: boolean; savedStepsHere?: boolean; usbPhoneTakeover?: boolean };
+ features?: { skillAuthoring?: boolean; skillReview?: boolean; skillReviewSteps?: number; showToolCalls?: boolean; browser?: boolean; sharedComputers?: boolean; claudeUserMcp?: boolean; claudeUserSkills?: boolean; skillsLibrary?: boolean; shareLearnedSkills?: "off" | "ask" | "auto"; roomMemoryCapture?: boolean; savedSteps?: boolean; savedStepsHere?: boolean; usbPhoneTakeover?: boolean };
browserEngine?: { kind: "engine" | "unavailable"; reason?: string; installable?: boolean; installing?: boolean; installError?: string };
}
@@ -72,10 +72,6 @@ export function claudeUserSkillsEnabled(config: FeatureFlagConfig | null | undef
return config?.features?.claudeUserSkills === true;
}
-export function llmThreadTitlesEnabled(config: FeatureFlagConfig | null | undefined): boolean {
- return config?.features?.llmThreadTitles === true;
-}
-
export function skillsLibraryEnabled(config: FeatureFlagConfig | null | undefined): boolean {
return config?.features?.skillsLibrary === true;
}
diff --git a/src/state/config-status.ts b/src/state/config-status.ts
index 0d35d24f46..f03e9d985c 100644
--- a/src/state/config-status.ts
+++ b/src/state/config-status.ts
@@ -163,7 +163,7 @@ export interface ConfigStatus {
/** What a paired phone calls this computer; "" uses the default. */
computerName?: string;
/** Opt-in flags. Absent means off. */
- features?: { skillAuthoring: boolean; skillReview?: boolean; skillReviewSteps?: number; showToolCalls?: boolean; browser?: boolean; sharedComputers?: boolean; claudeUserMcp?: boolean; llmThreadTitles?: boolean; skillsLibrary?: boolean; shareLearnedSkills?: "off" | "ask" | "auto"; roomMemoryCapture?: boolean; savedSteps?: boolean; savedStepsHere?: boolean; usbPhoneTakeover?: boolean };
+ features?: { skillAuthoring: boolean; skillReview?: boolean; skillReviewSteps?: number; showToolCalls?: boolean; browser?: boolean; sharedComputers?: boolean; claudeUserMcp?: boolean; skillsLibrary?: boolean; shareLearnedSkills?: "off" | "ask" | "auto"; roomMemoryCapture?: boolean; savedSteps?: boolean; savedStepsHere?: boolean; usbPhoneTakeover?: boolean };
/** First-run progress: whether the welcome tour was finished and which
* one-time hints were dismissed. Server-owned so it follows the workspace. */
onboarding?: OnboardingStatus;