Skip to content

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

Thread titles: Regenerate title without the setting, and name selected threads by content

AdityaUmale7e013a8424d9
diff --git a/server/index.ts b/server/index.ts
index 10d9906098..9bc574d214 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -7502,7 +7502,6 @@ async function finalScreenFrame(_botId: string, threadId: string): Promise<Frame
}
function threadTitleGate(bot: Pick<BotRecord, "modelSelection">): { ok: true; instance: ProviderInstance } | { ok: false; refusal: string } {
- if (!llmThreadTitlesEnabled(cfg)) return { ok: false, refusal: "generated thread titles are turned off on this server" };
if (hostedModels && !hostedModels.allows(bot.modelSelection)) return { ok: false, refusal: hostedModels.error() };
const instance = registry.get(bot.modelSelection.instanceId);
if (!instance?.generateText) return { ok: false, refusal: "this bot's model can't generate a title — rename the thread instead" };
@@ -12435,7 +12434,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) return null;
+ if (!bot || !llmThreadTitlesEnabled(cfg)) return null;
const gate = threadTitleGate(bot);
return gate.ok ? generateThreadTitle(gate.instance, excerpt, "call") : null;
}
diff --git a/server/thread-title-generate.ts b/server/thread-title-generate.ts
index 2f372b4751..f7a87b9844 100644
--- a/server/thread-title-generate.ts
+++ b/server/thread-title-generate.ts
@@ -1,5 +1,5 @@
-// Generated thread titles, on when features.llmThreadTitles is: the engine's one-shot text call, given 10 seconds, its
-// reply cleaned to a title or null.
+// 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";
import { titleFromLlm } from "./store.ts";
import { threadTitlePrompt, type ThreadTitleSource } from "./thread-title.ts";
diff --git a/server/thread-title-regenerate.e2e.test.ts b/server/thread-title-regenerate.e2e.test.ts
index 41d347173b..b606042780 100644
--- a/server/thread-title-regenerate.e2e.test.ts
+++ b/server/thread-title-regenerate.e2e.test.ts
@@ -149,12 +149,12 @@ describe("Regenerate title", { timeout: 60_000 }, () => {
expect((await api("POST", `/api/bots/${botId}/tasks/no-such-thread/title`)).status).toBe(404);
});
- it("is refused once generated titles are switched off", async () => {
+ 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 off = await api("POST", `/api/bots/${botId}/tasks/${threadId}/title`);
- expect(off.status).toBe(409);
- expect(await taskTitle(botId, threadId)).toBe("Session expiry login hang");
+ 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/components/BulkSelectBar.test.ts b/src/components/BulkSelectBar.test.ts
index d936d676ae..34957baa1c 100644
--- a/src/components/BulkSelectBar.test.ts
+++ b/src/components/BulkSelectBar.test.ts
@@ -2,7 +2,7 @@ import { createElement } from "react";
import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, it, vi } from "vitest";
import { api } from "@/state/store";
-import { BulkSelectBar, BulkSelectFilters, ThreadListFooter, deleteThreadsInBulk, useBulkSelect } from "./BulkSelectBar";
+import { BulkSelectBar, BulkSelectFilters, ThreadListFooter, bulkRetitleOutcome, deleteThreadsInBulk, retitleThreadsInBulk, useBulkSelect } from "./BulkSelectBar";
import { SidebarThreadRow } from "./SidebarThreadRow";
vi.mock("./DesktopCapabilities", () => ({ useDesktopCapabilities: () => ({}) }));
@@ -105,3 +105,24 @@ describe("deleting in chunks", () => {
expect(dispatch).toHaveBeenCalledWith({ type: "error", message: "offline" });
});
});
+
+describe("naming threads by content", () => {
+ it("offers the button only where the list can name threads", () => {
+ const bar = (onRetitle?: () => Promise<never>) => renderToStaticMarkup(createElement(BulkSelectBar, { rows, selected: new Set(["b"]), freshConversation: false, onChange: noop, onDelete: noop, onRetitle }));
+ expect(bar(vi.fn())).toContain("Name by content");
+ expect(bar()).not.toContain("Name by content");
+ });
+ it("asks for each selected thread in turn and keeps going past one that fails", async () => {
+ const post = vi.mocked(api);
+ post.mockReset();
+ post.mockResolvedValueOnce({ title: "One" });
+ post.mockRejectedValueOnce(new Error("no model"));
+ post.mockResolvedValueOnce({ title: "Three" });
+ const outcome = await retitleThreadsInBulk("bot", ["a", "b", "c"]);
+ expect(post.mock.calls.map(([path]) => path)).toEqual(["/api/bots/bot/tasks/a/title", "/api/bots/bot/tasks/b/title", "/api/bots/bot/tasks/c/title"]);
+ expect(post.mock.calls.every(([, init]) => init?.method === "POST")).toBe(true);
+ expect(outcome).toEqual({ named: 2, failed: 1, error: "no model" });
+ expect(bulkRetitleOutcome(outcome)).toBe("Named by content: 2. Couldn't name 1: no model");
+ expect(bulkRetitleOutcome({ named: 3, failed: 0 })).toBe("Named by content: 3.");
+ });
+});
diff --git a/src/components/BulkSelectBar.tsx b/src/components/BulkSelectBar.tsx
index 8a794b8023..9ef9a12b13 100644
--- a/src/components/BulkSelectBar.tsx
+++ b/src/components/BulkSelectBar.tsx
@@ -26,6 +26,30 @@ export async function deleteThreadsInBulk(owner: { botId: string } | { groupId:
}
}
+export type BulkRetitleResult = { named: number; failed: number; error?: string };
+
+/** One thread at a time, like the menu's Regenerate title; a thread that fails keeps its title and the rest still go. */
+export async function retitleThreadsInBulk(botId: string, threadIds: string[]): Promise<BulkRetitleResult> {
+ const outcome: BulkRetitleResult = { named: 0, failed: 0 };
+ for (const threadId of threadIds) {
+ try {
+ await api(`/api/bots/${botId}/tasks/${threadId}/title`, { method: "POST" });
+ outcome.named++;
+ } catch (error) {
+ outcome.failed++;
+ outcome.error ??= error instanceof Error ? error.message : String(error);
+ }
+ }
+ return outcome;
+}
+
+export function bulkRetitleOutcome(outcome: BulkRetitleResult): string {
+ return [
+ t("task.bulk.retitleResult", { count: outcome.named }),
+ outcome.failed > 0 ? t("task.bulk.retitleFailed", { count: outcome.failed, message: outcome.error ?? "" }) : null,
+ ].filter(Boolean).join(" ");
+}
+
export function bulkDeleteBody(rows: readonly SelectableRow[], selected: Selection, freshConversation: boolean): string {
const pinned = rows.filter((row) => selected.has(row.threadId) && row.pinned === true).length;
const everything = rows.length > 0 && rows.every((row) => selected.has(row.threadId));
@@ -87,7 +111,7 @@ export function BulkSelectFilters({ rows, selected, now, onChange, onDone }: {
</div>;
}
-export function BulkSelectBar({ rows, selected, maxDeletable, freshConversation, onChange, onDelete }: {
+export function BulkSelectBar({ rows, selected, maxDeletable, freshConversation, onChange, onDelete, onRetitle }: {
rows: readonly SelectableRow[];
selected: Selection;
/** A channel must keep one thread; omit for no limit. */
@@ -96,13 +120,25 @@ export function BulkSelectBar({ rows, selected, maxDeletable, freshConversation,
freshConversation: boolean;
onChange: Dispatch<SetStateAction<Selection>>;
onDelete: (threadIds: string[]) => Promise<BulkDeleteResult>;
+ /** Names each selected thread from its conversation; omit where threads can't be renamed that way. */
+ onRetitle?: (threadIds: string[]) => Promise<BulkRetitleResult>;
}) {
const [confirming, setConfirming] = useState(false);
+ const [retitling, setRetitling] = useState(false);
const [pending, setPending] = useState(false);
const [result, setResult] = useState<string | null>(null);
const count = selected.size;
const overLimit = maxDeletable !== undefined && count > maxDeletable;
const body = bulkDeleteBody(rows, selected, freshConversation);
+ const retitle = () => {
+ if (!onRetitle) return;
+ setRetitling(true);
+ setResult(null);
+ void onRetitle([...selected]).then((outcome) => {
+ setResult(bulkRetitleOutcome(outcome));
+ setRetitling(false);
+ });
+ };
const run = () => {
const ids = [...selected];
setPending(true);
@@ -121,9 +157,13 @@ export function BulkSelectBar({ rows, selected, maxDeletable, freshConversation,
</span>
<div className="flex items-center gap-2">
<span className="min-w-0 flex-1 truncate text-[12px] font-medium text-ink">{t("task.bulk.selected", { count })}</span>
- <button type="button" disabled={count === 0 || pending} onClick={() => onChange(clearSelection())}
+ <button type="button" disabled={count === 0 || pending || retitling} onClick={() => onChange(clearSelection())}
className="rounded-md px-2.5 py-1 text-[12px] text-ink-secondary hover:bg-raised hover:text-ink disabled:opacity-40">{t("task.bulk.cancel")}</button>
- <button type="button" disabled={count === 0 || overLimit || pending} aria-busy={pending || undefined} onClick={() => setConfirming(true)}
+ {onRetitle && <button type="button" disabled={count === 0 || pending || retitling} aria-busy={retitling || undefined} onClick={retitle}
+ className="rounded-md px-2.5 py-1 text-[12px] font-medium text-ink hover:bg-raised disabled:opacity-40">
+ {retitling ? t("task.bulk.retitling") : t("task.bulk.retitle")}
+ </button>}
+ <button type="button" disabled={count === 0 || overLimit || pending || retitling} aria-busy={pending || undefined} onClick={() => setConfirming(true)}
className="rounded-md bg-danger px-2.5 py-1 text-[12px] font-medium text-white hover:brightness-110 disabled:opacity-40">
{pending ? t("task.bulk.deleting") : t("task.bulk.delete", { count })}
</button>
@@ -133,7 +173,7 @@ export function BulkSelectBar({ rows, selected, maxDeletable, freshConversation,
</div>;
}
-export function ThreadListFooter({ bulk, rows, selected, total, canShowAll, canSelect, onShowAll, onShowFewer, maxDeletable, freshConversation, onDelete }: {
+export function ThreadListFooter({ bulk, rows, selected, total, canShowAll, canSelect, onShowAll, onShowFewer, maxDeletable, freshConversation, onDelete, onRetitle }: {
bulk: ReturnType<typeof useBulkSelect>;
rows: readonly SelectableRow[];
selected: Selection;
@@ -146,9 +186,10 @@ export function ThreadListFooter({ bulk, rows, selected, total, canShowAll, canS
maxDeletable?: number;
freshConversation: boolean;
onDelete: (threadIds: string[]) => Promise<BulkDeleteResult>;
+ onRetitle?: (threadIds: string[]) => Promise<BulkRetitleResult>;
}) {
if (bulk.active) {
- return <BulkSelectBar rows={rows} selected={selected} maxDeletable={maxDeletable} freshConversation={freshConversation} onChange={bulk.setSelected} onDelete={onDelete} />;
+ return <BulkSelectBar rows={rows} selected={selected} maxDeletable={maxDeletable} freshConversation={freshConversation} onChange={bulk.setSelected} onDelete={onDelete} onRetitle={onRetitle} />;
}
if (!canShowAll && !onShowFewer && !canSelect) return null;
const link = "inline-flex h-7 items-center text-[13px] font-medium leading-4 text-ink-secondary hover:text-ink";
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index 0136d8d057..85e8e025af 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -8,7 +8,6 @@ import { approvalModeFor } from "../../shared/approval-mode";
import { liveActivityLabel, sidebarMessage } from "@/lib/live-activity";
import { SidebarWorkingStep } from "./SidebarWorkingStep"; import { FadeLine } from "./FadeLine";
import { openBotRow } from "@/state/thread-navigation";
-import { llmThreadTitlesEnabled } from "@/lib/feature-flags";
import { BotAvatar } from "./Avatar";
import { BotEngineMark, BotModelBadge, botTooltip } from "./BotModelBadge"; import { SidebarBotRole } from "./BotRole";
@@ -22,7 +21,7 @@ import { activeLocale, t } from "@/lib/i18n"; import { isBotHeld } from "@/lib/b
import { copyText } from "@/lib/copy-text";
import type { LocaleKey } from "@/locales";
import { ConfirmDialog } from "./ConfirmDialog";
-import { BulkSelectFilters, ThreadListFooter, deleteThreadsInBulk, useBulkSelect } from "./BulkSelectBar";
+import { BulkSelectFilters, ThreadListFooter, deleteThreadsInBulk, retitleThreadsInBulk, useBulkSelect } from "./BulkSelectBar";
import { RoomMark, StackedMauses } from "./StackedMauses";
import { LocalComputerAutoWarning } from "./LocalComputerAutoWarning";
@@ -451,7 +450,7 @@ export function currentArchivableBot(bots: readonly Bot[], id: string): Bot | un
const NO_FOLDERS: BotProject[] = [];
-export function BotThreadList({ bot, selected, query, pendingQueued, routineRuns, reveal, locale, generatedTitles, dispatch, activityLabel, hidden = false }: BotRowProps & {
+export function BotThreadList({ bot, selected, query, pendingQueued, routineRuns, reveal, locale, dispatch, activityLabel, hidden = false }: BotRowProps & {
activityLabel?: string;
hidden?: boolean;
}) {
@@ -501,7 +500,7 @@ export function BotThreadList({ bot, selected, query, pendingQueued, routineRuns
if (task.threadId !== latest.current.threadId) dispatch({ type: "switchTask", botId, threadId: task.threadId });
else dispatch({ type: "select", id: botId });
},
- ...threadRowActions(botId, dispatch, generatedTitles),
+ ...threadRowActions(botId, dispatch),
onRefreshPermissions: (task: { threadId: string }) => {
const current = latest.current;
const mode = approvalModeFor(current);
@@ -512,7 +511,7 @@ export function BotThreadList({ bot, selected, query, pendingQueued, routineRuns
}
dispatch({ type: "refreshTaskPermissions", botId, threadId: task.threadId });
},
- }), [botId, dispatch, generatedTitles]);
+ }), [botId, dispatch]);
const renderThread = (task: (typeof tasks)[number]) => {
const thread = currentTaskBot(bot, task.threadId);
return <SidebarThreadRow key={task.threadId} task={{ ...task, busy: thread.busy, activity: thread.activity, waitingForTeammates: thread.waitingForTeammates }} ownerId={bot.id} current={selected && task.threadId === bot.threadId} folders={projects}
@@ -629,7 +628,8 @@ export function BotThreadList({ bot, selected, query, pendingQueued, routineRuns
{ungrouped.map(renderThread)}
<HelperThreadGroup tasks={orderedThreadList(helpers)} renderThread={renderThread} />
<ThreadListFooter bulk={bulk} rows={shownRows} selected={selection} total={ownTasks.length} canShowAll={!query && !showAll && ownTasks.length > visibleTasks.length} canSelect={tasks.length > 1}
- onShowAll={() => setShowAll(true)} onShowFewer={showAll && !query && !bulk.active && visibleSidebarThreads(ownTasks, bot.threadId, query, projects, false, routineRuns).length < ownTasks.length ? () => setShowAll(false) : undefined} freshConversation onDelete={(threadIds) => deleteThreadsInBulk({ botId: bot.id }, threadIds, dispatch)} />
+ onShowAll={() => setShowAll(true)} onShowFewer={showAll && !query && !bulk.active && visibleSidebarThreads(ownTasks, bot.threadId, query, projects, false, routineRuns).length < ownTasks.length ? () => setShowAll(false) : undefined} freshConversation onDelete={(threadIds) => deleteThreadsInBulk({ botId: bot.id }, threadIds, dispatch)}
+ onRetitle={(threadIds) => retitleThreadsInBulk(bot.id, threadIds)} />
<LocalComputerAutoWarning
open={permissionRefresh?.kind === "local-auto"}
onCancel={() => setPermissionRefresh(null)}
@@ -655,7 +655,7 @@ export interface BotRowProps {
instances: InstanceInfo[];
liveCall: AppState["liveCall"];
locale: string;
- generatedTitles: boolean; /** Paused by the person, by itself or with its department: it takes no new work. */ held?: boolean;
+ /** Paused by the person, by itself or with its department: it takes no new work. */ held?: boolean;
density: SidebarDensity;
query: string;
dispatch: Dispatch<Action>;
@@ -685,7 +685,7 @@ export function botRowProps<State extends Pick<AppState, "activeView" | "selecte
instances: state.instances,
liveCall: state.liveCall,
locale: activeLocale(),
- generatedTitles: llmThreadTitlesEnabled(state.config), held: isBotHeld(state.config, bot.id),
+ held: isBotHeld(state.config, bot.id),
dispatch,
};
}
diff --git a/src/components/SidebarThreadRow.test.ts b/src/components/SidebarThreadRow.test.ts
index 6de1ba6e44..7a66bc54d4 100644
--- a/src/components/SidebarThreadRow.test.ts
+++ b/src/components/SidebarThreadRow.test.ts
@@ -2,7 +2,7 @@ import { createElement, type ComponentProps, type MemoExoticComponent, type Reac
import { renderToStaticMarkup } from "react-dom/server";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { setLocale } from "@/lib/i18n";
-import { formatUpdatedAt, nextSnoozeExpiry, orderedSidebarThreads, orderedThreadList, partitionHelperThreads, SidebarThreadRow, stampClock, threadByline, threadOpenerLabel, threadUpdatedLabel, visibleSidebarThreads } from "./SidebarThreadRow";
+import { formatUpdatedAt, nextSnoozeExpiry, orderedSidebarThreads, orderedThreadList, partitionHelperThreads, SidebarThreadRow, stampClock, threadRowActions, threadByline, threadOpenerLabel, threadUpdatedLabel, visibleSidebarThreads } from "./SidebarThreadRow";
type ThreadRowProps = ComponentProps<typeof SidebarThreadRow>;
@@ -645,6 +645,13 @@ describe("Refresh permissions", () => {
});
describe("Regenerate title", () => {
+ it("is in every bot thread menu, with automatic titles on or off, and asks for that thread", () => {
+ const dispatch = vi.fn();
+ const settled = vi.fn();
+ threadRowActions("scout", dispatch).onRegenerateTitle({ threadId: "t1" }, settled);
+ expect(dispatch).toHaveBeenCalledWith({ type: "regenerateTaskTitle", botId: "scout", threadId: "t1", onSettled: settled });
+ });
+
const openMenu = (tree: RowNode) => {
(moreMenuButton(tree)!.props!.onClick as (event: unknown) => void)({ currentTarget: { getBoundingClientRect: () => ({ left: 100, bottom: 200 }) } });
};
diff --git a/src/components/SidebarThreadRow.tsx b/src/components/SidebarThreadRow.tsx
index be7a43bcbe..f76481cb43 100644
--- a/src/components/SidebarThreadRow.tsx
+++ b/src/components/SidebarThreadRow.tsx
@@ -212,10 +212,10 @@ export function orderedSidebarThreads<T extends ThreadRowTask>(tasks: T[], activ
}
/** The store actions behind a bot's thread-row menu, for every list that draws that bot's threads. */
-export function threadRowActions(botId: string, dispatch: Dispatch<Action>, generatedTitles: boolean) {
+export function threadRowActions(botId: string, dispatch: Dispatch<Action>) {
return {
onRename: (task: { threadId: string }, title: string) => dispatch({ type: "renameTask", botId, threadId: task.threadId, title }),
- onRegenerateTitle: generatedTitles ? (task: { threadId: string }, onSettled: (ok: boolean) => void) => dispatch({ type: "regenerateTaskTitle", botId, threadId: task.threadId, onSettled }) : undefined,
+ onRegenerateTitle: (task: { threadId: string }, onSettled: (ok: boolean) => void) => dispatch({ type: "regenerateTaskTitle", botId, threadId: task.threadId, onSettled }),
onDelete: (task: { threadId: string }) => dispatch({ type: "deleteTask", botId, threadId: task.threadId }),
onMove: (task: { threadId: string }, projectId: string | null) => dispatch({ type: "updateTask", botId, threadId: task.threadId, patch: { projectId } }),
onArchive: (task: { threadId: string }, archivedAt: number | null) => dispatch({ type: "updateTask", botId, threadId: task.threadId, patch: { archivedAt } }),
diff --git a/src/components/bot-panel/Conversations.tsx b/src/components/bot-panel/Conversations.tsx
index a2eb9cf4b2..3e585e630d 100644
--- a/src/components/bot-panel/Conversations.tsx
+++ b/src/components/bot-panel/Conversations.tsx
@@ -2,7 +2,6 @@ import { useEffect, useMemo, useState } from "react";
import { ChevronDown, ChevronUp, Search, SquarePen } from "lucide-react";
import { cn } from "@/lib/cn";
-import { llmThreadTitlesEnabled } from "@/lib/feature-flags";
import { activeLocale, t } from "@/lib/i18n";
import { SIDEBAR_INLINE, useMediaQuery } from "@/lib/use-media-query";
import { api, currentTaskBot, openBotThread, useStore, visibleMessages, type Bot, type Message } from "@/state/store";
@@ -63,11 +62,10 @@ export function BotConversations({ bot }: { bot: Bot }) {
const [searching, setSearching] = useState(false);
const [expanded, setExpanded] = useState(false);
const [showArchived, setShowArchived] = useState(false);
- const generatedTitles = llmThreadTitlesEnabled(state.config);
const actions = useMemo(() => {
- const { onRename, onRegenerateTitle, onDelete, onMove, onPin, onArchive } = threadRowActions(bot.id, dispatch, generatedTitles);
+ const { onRename, onRegenerateTitle, onDelete, onMove, onPin, onArchive } = threadRowActions(bot.id, dispatch);
return { onRename, onRegenerateTitle, onDelete, onMove, onPin, onArchive };
- }, [bot.id, dispatch, generatedTitles]);
+ }, [bot.id, dispatch]);
const side = useConversationSide(bot);
const tasks = bot.tasks ?? [{ threadId: bot.threadId, title: t("task.newShort"), createdAt: 0 }];
diff --git a/src/locales/en.json b/src/locales/en.json
index b039eb520f..ac079152dd 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -3332,6 +3332,10 @@
"task.bulk.resultBusy": "Kept because they are running: {count}.",
"task.bulk.resultMissing": "Already gone: {count}.",
"task.bulk.resultError": "Stopped early: {message}",
+ "task.bulk.retitle": "Name by content",
+ "task.bulk.retitling": "Naming…",
+ "task.bulk.retitleResult": "Named by content: {count}.",
+ "task.bulk.retitleFailed": "Couldn't name {count}: {message}",
"task.archivedList": "Archived ({count})",
"task.empty": "No threads yet",
"task.newIn": "New thread in {name}",
diff --git a/src/locales/es.json b/src/locales/es.json
index ad50a259a0..8b83e8bd1f 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -2445,6 +2445,10 @@
"task.bulk.resultBusy": "Conservados porque están en ejecución: {count}.",
"task.bulk.resultMissing": "Ya no existían: {count}.",
"task.bulk.resultError": "Se detuvo antes de tiempo: {message}",
+ "task.bulk.retitle": "Nombrar por contenido",
+ "task.bulk.retitling": "Nombrando…",
+ "task.bulk.retitleResult": "Nombrados por contenido: {count}.",
+ "task.bulk.retitleFailed": "No se pudieron nombrar {count}: {message}",
"task.archivedList": "Archivados ({count})",
"task.empty": "Aún no hay hilos",
"task.newIn": "Nuevo hilo en {name}",
diff --git a/src/locales/it.json b/src/locales/it.json
index 87053dc525..c573af32a2 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -2526,6 +2526,10 @@
"task.bulk.resultBusy": "Tenute perché sono in corso: {count}.",
"task.bulk.resultMissing": "Già sparite: {count}.",
"task.bulk.resultError": "Interrotto in anticipo: {message}",
+ "task.bulk.retitle": "Dai un nome dal contenuto",
+ "task.bulk.retitling": "Assegnazione dei nomi…",
+ "task.bulk.retitleResult": "Nominate dal contenuto: {count}.",
+ "task.bulk.retitleFailed": "Impossibile dare un nome a {count}: {message}",
"task.archivedList": "Archiviate ({count})",
"task.empty": "Ancora nessuna conversazione",
"task.newIn": "Nuova conversazione in {name}",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 48db1728b1..19ac7ea664 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -2909,6 +2909,10 @@
"task.bulk.resultBusy": "実行中のため残したもの:{count}件。",
"task.bulk.resultMissing": "すでに存在しないもの:{count}件。",
"task.bulk.resultError": "途中で停止しました:{message}",
+ "task.bulk.retitle": "内容から名前を付ける",
+ "task.bulk.retitling": "名前を付けています…",
+ "task.bulk.retitleResult": "内容から名前を付けました:{count}件。",
+ "task.bulk.retitleFailed": "{count}件に名前を付けられませんでした:{message}",
"task.archivedList": "アーカイブ済み({count})",
"task.empty": "スレッドはまだありません",
"task.newIn": "{name} に新しいスレッド",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index d6694bd7bf..a8b4ceac3d 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -2778,6 +2778,10 @@
"task.bulk.resultBusy": "실행 중이라 유지됨: {count}개.",
"task.bulk.resultMissing": "이미 없어짐: {count}개.",
"task.bulk.resultError": "중간에 멈춤: {message}",
+ "task.bulk.retitle": "내용으로 이름 짓기",
+ "task.bulk.retitling": "이름 짓는 중…",
+ "task.bulk.retitleResult": "내용으로 이름 지음: {count}개.",
+ "task.bulk.retitleFailed": "{count}개의 이름을 짓지 못함: {message}",
"task.archivedList": "보관됨({count})",
"task.empty": "아직 스레드가 없어요",
"task.newIn": "{name}에서 새 스레드",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 0a7c21e14f..2627ea9adc 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -2581,6 +2581,10 @@
"task.bulk.resultBusy": "Zachowane, ponieważ są uruchomione: {count}.",
"task.bulk.resultMissing": "Już nieistniejące: {count}.",
"task.bulk.resultError": "Zatrzymano przedwcześnie: {message}",
+ "task.bulk.retitle": "Nazwij według treści",
+ "task.bulk.retitling": "Nadawanie nazw…",
+ "task.bulk.retitleResult": "Nazwane według treści: {count}.",
+ "task.bulk.retitleFailed": "Nie udało się nazwać ({count}): {message}",
"task.archivedList": "Zarchiwizowane ({count})",
"task.empty": "Brak wątków",
"task.newIn": "Nowy wątek w: {name}",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index b23cf93af5..aaa88d6cd7 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -3158,6 +3158,10 @@
"task.bulk.resultBusy": "Mantidas por estarem em andamento: {count}.",
"task.bulk.resultMissing": "Conversas que já não existiam: {count}.",
"task.bulk.resultError": "Parou antes do fim: {message}",
+ "task.bulk.retitle": "Nomear pelo conteúdo",
+ "task.bulk.retitling": "Nomeando…",
+ "task.bulk.retitleResult": "Nomeadas pelo conteúdo: {count}.",
+ "task.bulk.retitleFailed": "Não foi possível nomear {count}: {message}",
"task.archivedList": "Arquivadas ({count})",
"task.empty": "Nenhuma conversa ainda",
"task.newIn": "Nova conversa em {name}",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index c2fec6004b..6c48bb1e6f 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -2615,6 +2615,10 @@
"task.bulk.resultBusy": "Пропущены запущенные: {count}.",
"task.bulk.resultMissing": "Уже отсутствовали: {count}.",
"task.bulk.resultError": "Остановлено раньше времени: {message}",
+ "task.bulk.retitle": "Назвать по содержанию",
+ "task.bulk.retitling": "Даём названия…",
+ "task.bulk.retitleResult": "Названо по содержанию: {count}.",
+ "task.bulk.retitleFailed": "Не удалось назвать ({count}): {message}",
"task.archivedList": "В архиве ({count})",
"task.empty": "Пока нет диалогов",
"task.newIn": "Новый диалог в {name}",
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index f1d211c58d..851c2e7663 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -10498,7 +10498,11 @@
"chat.notice.devinAccountRefused": "6f12d9c4c2912bc75bfbc26d0b43a2da3b02c1e4e16a807a9162670fcdab80fc",
"devices.computers.pairButton": "60f8288e33f9f57d2b51409fdb540b47a89c25447061bd354122442818a36ee0",
"devices.computers.pairTitle": "b7cda6a11ab410daa4b8977624ca72261c0168e7c3d83ae0eed93ac4e3540bc8",
- "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174"
+ "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174",
+ "task.bulk.retitle": "70425d709318f9bdf8830f149b5298d8aab8df851a0631bdc40e58759e81296b",
+ "task.bulk.retitling": "6570061ecf4e09f529036fa3bba7e33b8150c83dd11cdf3792c435ed9469e4dc",
+ "task.bulk.retitleResult": "83306c1404f4170a9594bb2238aeac49e469b340b2f45b5c01952faaf5bc0eb5",
+ "task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6"
},
"fr": {
"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",
@@ -26078,7 +26082,11 @@
"chat.notice.devinAccountRefused": "6f12d9c4c2912bc75bfbc26d0b43a2da3b02c1e4e16a807a9162670fcdab80fc",
"devices.computers.pairButton": "60f8288e33f9f57d2b51409fdb540b47a89c25447061bd354122442818a36ee0",
"devices.computers.pairTitle": "b7cda6a11ab410daa4b8977624ca72261c0168e7c3d83ae0eed93ac4e3540bc8",
- "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174"
+ "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174",
+ "task.bulk.retitle": "70425d709318f9bdf8830f149b5298d8aab8df851a0631bdc40e58759e81296b",
+ "task.bulk.retitling": "6570061ecf4e09f529036fa3bba7e33b8150c83dd11cdf3792c435ed9469e4dc",
+ "task.bulk.retitleResult": "83306c1404f4170a9594bb2238aeac49e469b340b2f45b5c01952faaf5bc0eb5",
+ "task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6"
},
"pt-br": {
"voice.gemini.keyPlaceholder": "8c87ba2043a4a89d63c90cae8a6dafd5cbd193652e923b97988e381a74773e10",
@@ -36960,7 +36968,11 @@
"remote.diagnosis.next.otherCopy": "29f59104ac96620533eecfef5e6bd7e612e84c6b2a6f71ebdb02550d4cd3518e",
"devices.computers.pairButton": "60f8288e33f9f57d2b51409fdb540b47a89c25447061bd354122442818a36ee0",
"devices.computers.pairTitle": "b7cda6a11ab410daa4b8977624ca72261c0168e7c3d83ae0eed93ac4e3540bc8",
- "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174"
+ "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174",
+ "task.bulk.retitle": "70425d709318f9bdf8830f149b5298d8aab8df851a0631bdc40e58759e81296b",
+ "task.bulk.retitling": "6570061ecf4e09f529036fa3bba7e33b8150c83dd11cdf3792c435ed9469e4dc",
+ "task.bulk.retitleResult": "83306c1404f4170a9594bb2238aeac49e469b340b2f45b5c01952faaf5bc0eb5",
+ "task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6"
},
"zh": {
"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",
@@ -80905,7 +80917,11 @@
"chat.notice.devinAccountRefused": "6f12d9c4c2912bc75bfbc26d0b43a2da3b02c1e4e16a807a9162670fcdab80fc",
"devices.computers.pairButton": "60f8288e33f9f57d2b51409fdb540b47a89c25447061bd354122442818a36ee0",
"devices.computers.pairTitle": "b7cda6a11ab410daa4b8977624ca72261c0168e7c3d83ae0eed93ac4e3540bc8",
- "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174"
+ "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174",
+ "task.bulk.retitle": "70425d709318f9bdf8830f149b5298d8aab8df851a0631bdc40e58759e81296b",
+ "task.bulk.retitling": "6570061ecf4e09f529036fa3bba7e33b8150c83dd11cdf3792c435ed9469e4dc",
+ "task.bulk.retitleResult": "83306c1404f4170a9594bb2238aeac49e469b340b2f45b5c01952faaf5bc0eb5",
+ "task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6"
},
"ru": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -88232,7 +88248,11 @@
"chat.notice.devinAccountRefused": "6f12d9c4c2912bc75bfbc26d0b43a2da3b02c1e4e16a807a9162670fcdab80fc",
"devices.computers.pairButton": "60f8288e33f9f57d2b51409fdb540b47a89c25447061bd354122442818a36ee0",
"devices.computers.pairTitle": "b7cda6a11ab410daa4b8977624ca72261c0168e7c3d83ae0eed93ac4e3540bc8",
- "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174"
+ "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174",
+ "task.bulk.retitle": "70425d709318f9bdf8830f149b5298d8aab8df851a0631bdc40e58759e81296b",
+ "task.bulk.retitling": "6570061ecf4e09f529036fa3bba7e33b8150c83dd11cdf3792c435ed9469e4dc",
+ "task.bulk.retitleResult": "83306c1404f4170a9594bb2238aeac49e469b340b2f45b5c01952faaf5bc0eb5",
+ "task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6"
},
"it": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -95365,7 +95385,11 @@
"chat.notice.devinAccountRefused": "6f12d9c4c2912bc75bfbc26d0b43a2da3b02c1e4e16a807a9162670fcdab80fc",
"devices.computers.pairButton": "60f8288e33f9f57d2b51409fdb540b47a89c25447061bd354122442818a36ee0",
"devices.computers.pairTitle": "b7cda6a11ab410daa4b8977624ca72261c0168e7c3d83ae0eed93ac4e3540bc8",
- "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174"
+ "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174",
+ "task.bulk.retitle": "70425d709318f9bdf8830f149b5298d8aab8df851a0631bdc40e58759e81296b",
+ "task.bulk.retitling": "6570061ecf4e09f529036fa3bba7e33b8150c83dd11cdf3792c435ed9469e4dc",
+ "task.bulk.retitleResult": "83306c1404f4170a9594bb2238aeac49e469b340b2f45b5c01952faaf5bc0eb5",
+ "task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6"
},
"ko": {
"connectedWorkspaces.localTitle": "7d6deafeab011d734c3fdd1bfd6f69544fbb746a004019269bdb48544b01164b",
@@ -103159,7 +103183,11 @@
"chat.notice.devinAccountRefused": "6f12d9c4c2912bc75bfbc26d0b43a2da3b02c1e4e16a807a9162670fcdab80fc",
"devices.computers.pairButton": "60f8288e33f9f57d2b51409fdb540b47a89c25447061bd354122442818a36ee0",
"devices.computers.pairTitle": "b7cda6a11ab410daa4b8977624ca72261c0168e7c3d83ae0eed93ac4e3540bc8",
- "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174"
+ "devices.computers.typeCode": "2a528dfe78f6b331e8cca951872961169ca6f340a886e40e84cc0b53d441c174",
+ "task.bulk.retitle": "70425d709318f9bdf8830f149b5298d8aab8df851a0631bdc40e58759e81296b",
+ "task.bulk.retitling": "6570061ecf4e09f529036fa3bba7e33b8150c83dd11cdf3792c435ed9469e4dc",
+ "task.bulk.retitleResult": "83306c1404f4170a9594bb2238aeac49e469b340b2f45b5c01952faaf5bc0eb5",
+ "task.bulk.retitleFailed": "fe8013b5add18967ec7df89806ef632a9a0c40012e6f651c0b236cc4127fbab6"
}
}
}