Skip to content

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

Share and import polish: product name, plain taglines, folder pictures, Share in Advanced (#6279)

Milind Soni0ba0a035f33b
diff --git a/docs/verification/chat-polish.md b/docs/verification/chat-polish.md
index 85ad402cf6..ee64b12568 100644
--- a/docs/verification/chat-polish.md
+++ b/docs/verification/chat-polish.md
@@ -29,7 +29,7 @@ No personal provider account, real credentials, or user workspace is used.
5. Open Settings: search has focus. General uses aligned language/analytics
rows; Appearance retains the existing skins and flattens simple switches.
Search for Appearance, press Escape to clear search, then Escape to close.
- New or share displays the actual platform shortcut next to New Bot.
+ New or share displays the actual platform shortcut next to New bot.
6. Check 1280×900 and 390×844, in Midnight and Atelier. Controls must remain
reachable, filenames/results wrap or truncate within their surfaces, and the
document must not overflow horizontally. Restore the viewport afterward.
@@ -61,7 +61,7 @@ Manually driven with computer use against the isolated fixture:
Successful, failed, and missing tool results were observed; redacted details
survived reload. The local MP4 decoded at 1592×1524, duration 14.03 s, and playback
advanced without a media error. Both gallery expansion directions, the image
-dialog, settings search/Escape, and the New Bot shortcut hint were exercised.
+dialog, settings search/Escape, and the New bot shortcut hint were exercised.
At 390 px, document scroll width remained 390 px. No browser console errors were
reported in this run. The retained fixture log was
`server-1789307799660-26000.log` in the temporary `openmausbot-verification-evidence`
diff --git a/scripts/testing/team-lifecycle-ui.e2e.test.ts b/scripts/testing/team-lifecycle-ui.e2e.test.ts
index 2d56f985f9..23c048d5b9 100644
--- a/scripts/testing/team-lifecycle-ui.e2e.test.ts
+++ b/scripts/testing/team-lifecycle-ui.e2e.test.ts
@@ -136,7 +136,7 @@ if (!enabled) console.log("skipping team lifecycle UI e2e: set OMB_UI_E2E=1 to i
};
return true;
})()`);
- await click("New Bot");
+ await click("New bot");
let created: { id: string; name: string };
await expect.poll(async () => {
created = (await ui("eval", "--js", "window.createdTeamMember ?? null")).result;
diff --git a/scripts/testing/team-share-ui.e2e.test.ts b/scripts/testing/team-share-ui.e2e.test.ts
index 3a071b8e55..51abfed095 100644
--- a/scripts/testing/team-share-ui.e2e.test.ts
+++ b/scripts/testing/team-share-ui.e2e.test.ts
@@ -55,7 +55,8 @@ describe("Share a department in the real renderer", () => {
await click("Share");
await expect.poll(snapshot, { timeout: 20_000 }).toContain("Chats, memory and keys are never shared");
const dialog = await snapshot();
- for (const line of ["Share Sales desk", "Quote list prices only.", "Publishing isn't available here", "Upload on GitHub", "Save folder…"]) expect(dialog).toContain(line);
+ for (const line of ["Share Sales desk", "Publishing isn't available here", "Upload on GitHub", "Save folder…"]) expect(dialog).toContain(line);
+ expect(dialog, "shared instructions are not the card's line").not.toContain("Quote list prices only.");
expect(await evaluate("document.querySelector('[data-share-department]').closest('[role=dialog]').querySelectorAll('input, textarea, select, [role=checkbox]').length")).toBe(0);
await ui("screenshot", "--out", join(ROOT, ".omb-scratch", "verify-evidence", "share-department.png"));
await click("Save folder…");
diff --git a/scripts/testing/team-template-ui.e2e.test.ts b/scripts/testing/team-template-ui.e2e.test.ts
index 9d789ff47b..a97d9de080 100644
--- a/scripts/testing/team-template-ui.e2e.test.ts
+++ b/scripts/testing/team-template-ui.e2e.test.ts
@@ -69,8 +69,8 @@ describe("additive template imports in the real renderer", () => {
await click("New or share");
if (source === "library") {
await click("Templates");
- await expect.poll(snapshot, { timeout: 10_000 }).toContain('button "Load"');
- await click("Load");
+ await expect.poll(snapshot, { timeout: 10_000 }).toContain('button "Add Sales crew"');
+ await click("Add Sales crew");
await expect.poll(snapshot, { timeout: 10_000 }).toContain("Outreach writer");
await click("Add team");
} else {
diff --git a/server/package-export.ts b/server/package-export.ts
index 79a5c6b780..8c88465d66 100644
--- a/server/package-export.ts
+++ b/server/package-export.ts
@@ -1,5 +1,6 @@
import type { SkillFile } from "../shared/skill-files.ts";
import { parseBotPackage, type BotPackageDefinition, type BotPackagePlaybook, type BotPackageSkill, type ParsedBotPackage } from "./bot-package.ts";
+import { productName } from "./brand.ts";
import type { DefaultsPreset, PublishedLibrary } from "./presets.ts";
import type { PublishedTeam } from "./published-teams.ts";
import { nextPatchRelease } from "./published-teams.ts";
@@ -235,10 +236,10 @@ export function createBotPackageExport(input: {
id,
release: "1.0.0",
name: input.name,
- tagline: `A portable OpenMausBot setup with ${bots.length} ${bots.length === 1 ? "bot" : "bots"}.`,
- summary: "Exported from OpenMausBot. Review the roles, rooms, playbooks, connector requirements, and paused routines before sharing or publishing.",
+ tagline: `A portable ${productName()} setup with ${bots.length} ${bots.length === 1 ? "bot" : "bots"}.`,
+ summary: `Exported from ${productName()}. Review the roles, rooms, playbooks, connector requirements, and paused routines before sharing or publishing.`,
category: "Community",
- author: { name: input.authorName?.trim() || "OpenMausBot user" },
+ author: { name: input.authorName?.trim() || `${productName()} user` },
license: "Unspecified",
outcomes: ["Recreate this bot setup without copying private runtime state."],
setupMinutes: Math.min(240, Math.max(2, bots.length + requirements.size * 2)),
@@ -667,12 +668,12 @@ export function createTeamPackageExport(input: TeamExportInput): TeamExportResul
id: packageId,
release,
name: displayName,
- tagline: input.tagline?.trim() || `A portable OpenMausBot team with ${bots.length} ${bots.length === 1 ? "bot" : "bots"}.`,
+ tagline: input.tagline?.trim() || `A portable ${productName()} team with ${bots.length} ${bots.length === 1 ? "bot" : "bots"}.`,
summary: input.summary?.trim() ||
- "Shared from OpenMausBot. Bots, skills, group chats and routines arrive as new copies; routines start paused and chat history never travels.",
+ `Shared from ${productName()}. Bots, skills, group chats and routines arrive as new copies; routines start paused and chat history never travels.`,
...(notes ? { notes } : {}),
category: "Community",
- author: { name: input.authorName?.trim() || "OpenMausBot user" },
+ author: { name: input.authorName?.trim() || `${productName()} user` },
license: "Unspecified",
outcomes: ["Recreate this team without copying chat history or private settings."],
setupMinutes: Math.min(240, Math.max(2, bots.length + requirements.size * 2 + connections.length * 2)),
@@ -786,12 +787,12 @@ export function createLibraryPackageExport(input: LibraryExportInput): LibraryEx
id: packageId,
release,
name: displayName,
- tagline: input.tagline?.trim() || "A preset bot for OpenMausBot's New bot dialog.",
+ tagline: input.tagline?.trim() || `A preset bot for ${productName()}'s New bot dialog.`,
summary: input.summary?.trim() ||
- "Shared from OpenMausBot. Adds a preset bot to New bot. Its skills arrive switched off; model choices, computers, approval levels and connected apps never travel.",
+ `Shared from ${productName()}. Adds a preset bot to New bot. Its skills arrive switched off; model choices, computers, approval levels and connected apps never travel.`,
...(notes ? { notes } : {}),
category: "Community",
- author: { name: input.authorName?.trim() || "OpenMausBot user" },
+ author: { name: input.authorName?.trim() || `${productName()} user` },
license: "Unspecified",
outcomes: ["Start new bots from a shared preset."],
setupMinutes: 2,
diff --git a/server/share.test.ts b/server/share.test.ts
index db9047543a..4cf9d0901a 100644
--- a/server/share.test.ts
+++ b/server/share.test.ts
@@ -38,13 +38,13 @@ function bot(overrides: Partial<BotRecord> = {}): BotRecord {
const routine = { id: "r1", name: "Morning sweep", botId: "bot-1", prompt: "Sweep the inbox.", runOn: "maus", enabled: true,
schedule: { type: "daily", time: "09:00", weekdays: [1, 2, 3, 4, 5] }, durationMinutes: 30 } as unknown as Routine;
-function host(options: { submit?: (submission: unknown) => Promise<CommunityResult>; signedIn?: boolean; bots?: BotRecord[]; picture?: (bot: BotRecord) => string | undefined } = {}) {
+function host(options: { submit?: (submission: unknown) => Promise<CommunityResult>; signedIn?: boolean; bots?: BotRecord[]; picture?: (bot: BotRecord) => string | undefined; brief?: string } = {}) {
const dataDir = scratch(), botFolder = scratch();
const patches: Array<{ messageId: string; card: TemplateCard }> = [];
const bots = options.bots ?? [bot()];
const publisher = createCommunityPublisher({ access: () => options.signedIn === false ? null : { kind: "desktop", url: "https://admin.example.com/api/cloud/pages/token", token: "t" } });
const share = createShareHost({
- dataDir, bots: () => bots, groups: () => [], routines: () => [routine], brief: () => undefined,
+ dataDir, bots: () => bots, groups: () => [], routines: () => [routine], brief: () => options.brief,
collectTeamSkills: (list) => ({ ok: true, skipped: [], skillsByBot: new Map(list.map((each) => [each.id, [{ name: "triage", description: "Sort the inbox.", instructions: skillText, enabled: true }]])) }),
picture: options.picture ?? (() => undefined), botFolder: (id) => join(botFolder, id),
publisher: options.submit ? { ...publisher, submit: options.submit } : publisher,
@@ -72,6 +72,24 @@ describe("making a template", () => {
expect(folder.document.package).not.toHaveProperty("connections");
});
+ it("never shows a department's shared instructions as its line, and says what arrives for a bot or a department", () => {
+ const { share } = host({ brief: "We sell a team plan at 49 per seat.\nNever promise discounts." });
+ const department = share.export({ scope: "department", section: "Ops", bots: [bot()] }, [routine]);
+ expect(department.card.tagline).toBe("");
+ const departmentDetails = share.get(department.card.id).details;
+ expect(departmentDetails.summary).toMatch(/^Shared from MausBot\. Its bots, skills, group chats and routines arrive/);
+ expect(departmentDetails.brief).toContain("49 per seat");
+ const quiet = host({ bots: [bot({ title: undefined, description: undefined })] });
+ const lone = quiet.share.export({ scope: "bot", bot: bot({ title: undefined, description: undefined }) }, []);
+ expect(lone.card.tagline).toBe("");
+ const loneSummary = quiet.share.get(lone.card.id).details.summary ?? "";
+ expect(loneSummary).toMatch(/^Shared from MausBot\. The bot arrives as a new copy/);
+ expect(loneSummary).not.toMatch(/group chats|OpenMausBot/);
+ const titled = share.export({ scope: "bot", bot: bot() }, []);
+ expect(titled.card.tagline).toBe("Inbox helper");
+ expect(share.get(titled.card.id).details.summary).toBe("Keeps the inbox tidy.");
+ });
+
it("makes the same template again in the same folder and keeps its card", () => {
const { share } = host();
const first = share.export({ scope: "bot", bot: bot() }, [routine]);
diff --git a/server/share.ts b/server/share.ts
index 23dbb46496..1e89be2b7e 100644
--- a/server/share.ts
+++ b/server/share.ts
@@ -31,6 +31,7 @@ import {
} from "../shared/share-folder.ts";
import { admitSkillFiles, skillFileRefusalWords } from "../shared/skill-files.ts";
import { writeFileAtomic } from "./atomic.ts";
+import { productName } from "./brand.ts";
import { createTeamPackageExport, TeamExportError, type ExportablePackageSkill, type TeamExportSkip } from "./package-export.ts";
import type { Routine } from "./routines.ts";
import { COMMUNITY_MAX_BYTES, COMMUNITY_MAX_FILES, type CommunityPublisher } from "./share-publish.ts";
@@ -90,6 +91,11 @@ const SKIP_WORDS: Record<string, string> = {
lead_not_in_group_chat: "a group chat goal whose lead isn't in the chat", skill_changed: "a skill that changed while it was being shared",
skill_conflict: "a skill two bots have in different versions", bot_skill_limit: "skills past a bot's limit", team_skill_limit: "skills past the department's limit",
};
+/** The line a template gets when its bot or department has no words of its own; a card leaves it out. */
+const plainTagline = (scope: TemplateScope) => `A ${scope === "bot" ? "bot" : "department"} shared from ${productName()}.`;
+const plainSummary = (scope: TemplateScope) => scope === "bot"
+ ? `Shared from ${productName()}. The bot arrives as a new copy with its skills and routines; routines start paused and chat history never travels.`
+ : `Shared from ${productName()}. Its bots, skills, group chats and routines arrive as new copies; routines start paused and chat history never travels.`;
const skipWords = (skip: TeamExportSkip) => `${SKIP_WORDS[skip.reason] ?? "an item that can't be shared"} (${skip.part})`;
const slugOf = (name: string) => name.normalize("NFKD").replace(/[̀-ͯ]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "").slice(0, 48) || "template";
@@ -270,7 +276,7 @@ export function createShareHost(deps: ShareHostDeps) {
id: record.id,
scope: record.scope,
name: pkg?.name ?? record.slug,
- tagline: pkg?.tagline ?? "",
+ tagline: pkg && pkg.tagline !== plainTagline(record.scope) ? pkg.tagline : "",
avatars: record.avatars,
counts: {
bots: pkg?.agents.length ?? record.avatars.length,
@@ -337,9 +343,9 @@ export function createShareHost(deps: ShareHostDeps) {
exported = createTeamPackageExport({
team: target.scope === "bot" ? "" : target.section,
name: lead ? lead.name : target.scope === "department" ? target.section : undefined,
- tagline: lead ? firstLine(lead.title || lead.description, 160) || undefined : firstLine(brief, 160) || undefined,
- summary: lead ? (lead.description?.trim().slice(0, 2_000) || undefined) : brief?.slice(0, 2_000) || undefined,
- authorName: "MausBot user",
+ tagline: (lead && firstLine(lead.title || lead.description, 160)) || plainTagline(target.scope),
+ summary: lead?.description?.trim().slice(0, 2_000) || plainSummary(target.scope),
+ authorName: `${productName()} user`,
bots,
groups: target.scope === "bot" ? [] : deps.groups(),
routines: target.scope === "bot" ? routines.filter((routine) => routine.botId === target.bot.id && routine.target !== "room-goal") : routines,
diff --git a/src/components/ImportDialog.tsx b/src/components/ImportDialog.tsx
index 8233e0cc7e..02f1d59b3c 100644
--- a/src/components/ImportDialog.tsx
+++ b/src/components/ImportDialog.tsx
@@ -2,10 +2,12 @@ import { useEffect, useId, useRef, useState } from "react";
import { FolderOpen, Loader2, Trash2 } from "lucide-react";
import type { TeamTemplate, TemplateDetails } from "../../shared/share-card";
+import { cn } from "@/lib/cn";
import { t } from "@/lib/i18n";
import { relativeTime } from "@/lib/memory";
import { addImport, addedLine, folderFiles, previewImport, removeTeamTemplate, teamTemplates, type ImportSource } from "@/lib/template-share";
import { useStore } from "@/state/store";
+import { SETTINGS_INPUT } from "./SettingsPrimitives";
import { TemplateDetailsBody, TemplateModal, useTeamTemplatesOwner } from "./TemplateCard";
/** "From Acme's templates": each one's name, kind, who added it and when; opening one previews it, and its owner or an
@@ -128,7 +130,7 @@ export function ImportDialog({ initialUrl, onClose, onAdded }: { initialUrl?: st
<label htmlFor={fieldId} className="text-[13px] font-medium text-ink">{t("templateImport.linkLabel")}</label>
<div className="mt-1.5 flex gap-2">
<input id={fieldId} dir="auto" autoFocus value={url} onChange={(event) => setUrl(event.target.value)} inputMode="url" spellCheck={false}
- className="h-8 min-w-0 flex-1 rounded-lg border border-hairline bg-inset px-2.5 text-[13px] text-ink focus:border-focus focus:outline-none" />
+ className={cn(SETTINGS_INPUT, "min-w-0 flex-1")} />
<button type="submit" className="ui-button ui-button-md" disabled={!url.trim() || busy !== null}>
{busy === "preview" && spinner}{t("templateImport.open")}
</button>
diff --git a/src/components/Sidebar.simple-layout.test.ts b/src/components/Sidebar.simple-layout.test.ts
index 7ec7ca8acb..f8e1e3f259 100644
--- a/src/components/Sidebar.simple-layout.test.ts
+++ b/src/components/Sidebar.simple-layout.test.ts
@@ -331,7 +331,7 @@ describe("Simple-mode sidebar layout", () => {
expect(render().tree.some((node) => node.type === SimpleRailFooter)).toBe(false);
});
- it("New Bot makes a bot at once in both modes, Chief of Staff or not; both keep Add department and Templates", () => {
+ it("New bot makes a bot at once in both modes, Chief of Staff or not; both keep Add department and Templates", () => {
fixture.state = { ...fixture.state, bots: [bot("atlas", { chiefOfStaff: true }), bot("bea")] };
const openMenu = () => {
const plus = () => render().tree.find((node) => node.type === "button" && node.props["aria-label"] === "New or share")!;
@@ -347,7 +347,7 @@ describe("Simple-mode sidebar layout", () => {
const item = openMenu();
expect(item("Add department")).toBeDefined();
expect(item("Templates")).toBeDefined();
- (item("New Bot")!.props.onClick as () => void)();
+ (item("New bot")!.props.onClick as () => void)();
expect(fixture.dispatch.mock.calls.map(([action]) => action)).toEqual([{ type: "newBot" }]);
});
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index a7f46890a5..c5f29f4a99 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -1439,7 +1439,7 @@ export const Sidebar = memo(function Sidebar({ open, onClose, collapseToIcons =
attention={attention}
onToggle={layoutInteractive ? () => toggleSection(id) : undefined}
{...layout.header(id)} naming={drops.naming(sectionName)} dropInto={drops.into(sectionName)}
- onDelete={!simple && !remoteClient && sectionName ? () => setDeletingTeam(sectionName) : undefined}
+ onDelete={!simple && !remoteClient && sectionName ? () => setDeletingTeam(sectionName) : undefined} onShare={!simple && !remoteClient && sectionName ? () => setShareTeam(sectionName) : undefined}
/>
)}
{collapsed && queued.length > 0 && <button type="button" onClick={() => toggleSection(id)}
diff --git a/src/components/SidebarSectionHeader.test.ts b/src/components/SidebarSectionHeader.test.ts
index d017c74514..8f2dfbdba2 100644
--- a/src/components/SidebarSectionHeader.test.ts
+++ b/src/components/SidebarSectionHeader.test.ts
@@ -47,6 +47,22 @@ describe("SidebarSectionHeader", () => {
expect(html.indexOf("</button>")).toBeLessThan(html.indexOf('aria-label="Delete Work department"'));
});
+ it("offers Share beside Delete in Advanced, and calls it on click", () => {
+ const onShare = vi.fn();
+ const element = SidebarSectionHeader({ name: "Work", collapsed: false, onToggle: () => {}, onShare, onDelete: () => {}, reorderable: true, dragging: false });
+ const html = renderToStaticMarkup(element);
+ expect(html).toContain('aria-label="Share Work"');
+ expect(html.indexOf('aria-label="Share Work"')).toBeLessThan(html.indexOf('aria-label="Delete Work department"'));
+ const find = (node: ReactNode): ReactElement<{ "aria-label"?: string; onClick?: () => void }> | undefined => {
+ if (!isValidElement<{ "aria-label"?: string; children?: ReactNode }>(node)) return undefined;
+ if (node.props["aria-label"] === "Share Work") return node as ReactElement<{ onClick?: () => void }>;
+ for (const child of Children.toArray(node.props.children)) { const found = find(child); if (found) return found; }
+ return undefined;
+ };
+ find(element)!.props.onClick!();
+ expect(onShare).toHaveBeenCalledOnce();
+ });
+
it("renders collapsed attention signals in the heading", () => {
const html = renderToStaticMarkup(
createElement(SidebarSectionHeader, {
diff --git a/src/components/SidebarSectionHeader.tsx b/src/components/SidebarSectionHeader.tsx
index 5e17c4a25b..1f7e7b16ec 100644
--- a/src/components/SidebarSectionHeader.tsx
+++ b/src/components/SidebarSectionHeader.tsx
@@ -1,4 +1,4 @@
-import { ChevronDown, ChevronRight, GripVertical, MoreHorizontal, Trash2 } from "lucide-react";
+import { ChevronDown, ChevronRight, GripVertical, MoreHorizontal, Share2, Trash2 } from "lucide-react";
import { useEffect, useRef, useState, type DragEvent, type KeyboardEvent, type MouseEvent } from "react";
import { cn } from "@/lib/cn";
@@ -21,6 +21,7 @@ export function SidebarSectionHeader({
onDragEnd,
onMove,
onDelete,
+ onShare,
onContextMenu,
line = false,
onMenu,
@@ -40,6 +41,7 @@ export function SidebarSectionHeader({
onDragEnd?: () => void;
onMove?: (direction: -1 | 1) => void;
onDelete?: () => void;
+ onShare?: () => void;
onContextMenu?: (event: MouseEvent<HTMLDivElement>) => void;
line?: boolean;
onMenu?: (button: HTMLButtonElement) => void;
@@ -155,6 +157,17 @@ export function SidebarSectionHeader({
{attentionLabel && <span className="sr-only">{attentionLabel}</span>}
</div>
)}
+ {onShare && !naming && (
+ <button
+ type="button"
+ onClick={onShare}
+ aria-label={t("template.shareDepartment", { name })}
+ title={t("template.shareDepartment", { name })}
+ className="flex size-6 shrink-0 items-center justify-center rounded text-ink-secondary hover:bg-raised hover:text-ink"
+ >
+ <Share2 size={13} aria-hidden="true" />
+ </button>
+ )}
{onDelete && !naming && (
<button
type="button"
diff --git a/src/components/TeamLibraryPanel.tsx b/src/components/TeamLibraryPanel.tsx
index 641f28b95c..7b53877560 100644
--- a/src/components/TeamLibraryPanel.tsx
+++ b/src/components/TeamLibraryPanel.tsx
@@ -8,7 +8,7 @@ import { COMMUNITY_REPOSITORY_URL, type TemplateDetails } from "../../shared/sha
import type { Routine } from "@/lib/routines";
import { openExternalLink } from "@/lib/app-links";
import { api, useStore, type Bot, type Group } from "@/state/store";
-import { ArrowLeft, Check, ExternalLink, Github, Loader2, Search, Users, X } from "lucide-react";
+import { ArrowLeft, Check, ExternalLink, Github, Loader2, Plus, Search, Users, X } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import { createPortal } from "react-dom";
import { catalogCopy, catalogMatches, type TeamCatalog, type TeamCatalogEntry } from "@/lib/team-catalog";
@@ -357,18 +357,21 @@ export function TeamLibraryPanel({
<h3 className="truncate text-[13px] font-medium text-ink">{copy.name}</h3>
<p className="mt-0.5 truncate text-[13px] text-ink-secondary">{copy.outcome ?? copy.summary}</p>
<p className="mt-1 truncate text-[12px] text-ink-tertiary">
- {t("templates.botCount", { count: entry.members })} · {t("templates.playbookCount", { count: entry.skills.length })}
+ {entry.members === 1 ? t("template.botsOne") : t("template.botsMany", { count: entry.members })}
+ {entry.skills.length > 0 && ` · ${entry.skills.length === 1 ? t("template.skillsOne") : t("template.skillsMany", { count: entry.skills.length })}`}
{entry.requires.apps.length > 0 && ` · ${entry.requires.apps.join(", ")}`}
{entry.setupMinutes && ` · ${t("templates.minutes", { count: entry.setupMinutes })}`}
</p>
</div>
<button
+ type="button"
onClick={() => void loadLibraryTeam(entry)}
disabled={busySlug !== null}
- className="flex min-w-[72px] items-center justify-center gap-1.5 rounded-full bg-raised px-3.5 py-2 text-[13px] text-ink hover:bg-raised-hover disabled:opacity-40"
+ aria-label={busySlug === entry.slug ? undefined : t("orgLibrary.addAria", { name: copy.name })}
+ className="flex h-8 shrink-0 items-center gap-1 rounded-full bg-raised px-3 text-[13px] font-medium text-ink hover:bg-raised-hover disabled:opacity-40"
>
- {busySlug === entry.slug && <Loader2 size={13} className="animate-spin" />}
- {busySlug === entry.slug ? t("templates.loadingShort") : t("templates.load")}
+ {busySlug === entry.slug ? <Loader2 size={14} aria-hidden="true" className="animate-spin motion-reduce:animate-none" /> : <Plus size={14} aria-hidden="true" />}
+ {busySlug === entry.slug ? t("templates.loadingShort") : t("common.add")}
</button>
</article>
);
diff --git a/src/components/TemplateCard.test.ts b/src/components/TemplateCard.test.ts
index 3e6562b336..1c33b02ed9 100644
--- a/src/components/TemplateCard.test.ts
+++ b/src/components/TemplateCard.test.ts
@@ -181,6 +181,14 @@ describe("a template's details", () => {
expect(markup.match(/aria-expanded="false"/g)).toHaveLength(6);
});
+ it("shows a picture the folder carries, and the mascot for a bot without one", () => {
+ const picture = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==";
+ const markup = renderToStaticMarkup(createElement(TemplateDetailsBody, { details: { ...details, bots: [{ ...details.bots[0]!, picture }, details.bots[1]!] } }));
+ expect(markup.match(/data-template-picture/g)).toHaveLength(1);
+ expect(markup).toContain(`src="${picture}"`);
+ expect(renderToStaticMarkup(createElement(TemplateDetailsBody, { details: { ...details, bots: [{ ...details.bots[0]!, picture: "https://example.com/x.png" }] } }))).not.toContain("example.com");
+ });
+
it("leaves out the rows a template has nothing for", () => {
const words = text(renderToStaticMarkup(createElement(TemplateDetailsBody, { details: { ...details, skills: [], routines: [], apps: [], groupChats: [], brief: undefined } })));
expect(words).not.toContain("Routines (paused)");
diff --git a/src/components/TemplateCard.tsx b/src/components/TemplateCard.tsx
index f6773ee61b..3eda62ec01 100644
--- a/src/components/TemplateCard.tsx
+++ b/src/components/TemplateCard.tsx
@@ -30,7 +30,14 @@ const STATUS_KEY = {
const colorOf = (value: string): MausColor => (MAUS_COLOR_NAMES as readonly string[]).includes(value) ? value as MausColor : "cyan";
+/** A picture read from a template folder; a bot's own picture is a stored attachment and goes through BotAvatar. */
+const FOLDER_PICTURE = /^data:image\/(?:png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$/;
+
function Face({ avatar, size }: { avatar: TemplateAvatar; size: number }) {
+ if (avatar.picture && FOLDER_PICTURE.test(avatar.picture)) {
+ return <img data-template-picture src={avatar.picture} alt={t("avatar.alt", { name: avatar.name })} width={size} height={size} draggable={false}
+ className="block max-w-none shrink-0 rounded-full bg-raised object-cover" style={{ width: size, height: size }} />;
+ }
return <BotAvatar size={size} bot={{ name: avatar.name, color: colorOf(avatar.color), avatarUrl: avatar.picture ?? null,
...(avatar.picture ? { avatarCrop: "circle" as const } : {}), mascotBody: avatar.mascotBody ? botBodyId(avatar.mascotBody) : null }} />;
}
diff --git a/src/locales/en.json b/src/locales/en.json
index 02e9b4ee76..5532c72ae2 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -2409,7 +2409,7 @@
"sidebar.servers": "Servers",
"sidebar.switchServer": "Switch server: {name}",
"sidebar.switchServerError": "Could not open the server list. Try the Server menu.",
- "sidebar.newBot": "New Bot",
+ "sidebar.newBot": "New bot",
"sidebar.newBotSimple": "New bot",
"sidebar.newChat.title": "New chat",
"sidebar.newChat.to": "To:",
@@ -7787,8 +7787,6 @@
"templates.close": "Close templates",
"templates.openRepository": "Open the community templates repository",
"templates.communityRepo": "Community repo",
- "templates.botCount": "{count} bot(s)",
- "templates.playbookCount": "{count} playbook(s)",
"templates.minutes": "~{count} min",
"templates.catalog.seoGrowth.name": "SEO Growth Team",
"templates.catalog.seoGrowth.summary": "Find and prioritize the search work most likely to grow qualified traffic.",
@@ -7815,7 +7813,6 @@
"templates.communityTemplates": "Community templates",
"templates.loading": "Loading templates…",
"templates.loadingShort": "Loading",
- "templates.load": "Load",
"templates.noneFound": "No templates found",
"templates.tryDifferentSearch": "Try a different search.",
"common.tryAgain": "Try again",
diff --git a/src/locales/it.json b/src/locales/it.json
index 5174abfb09..3dde15a6b3 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -5913,8 +5913,6 @@
"templates.close": "Chiudi i modelli",
"templates.openRepository": "Apri il repository dei modelli della comunità",
"templates.communityRepo": "Repository della comunità",
- "templates.botCount": "{count} bot",
- "templates.playbookCount": "{count} playbook",
"templates.catalog.seoGrowth.name": "Team di crescita SEO",
"templates.catalog.seoGrowth.summary": "Trova e metti in priorità il lavoro sui motori di ricerca più utile a far crescere il traffico qualificato.",
"templates.catalog.seoGrowth.outcome": "Trova e metti in priorità il lavoro sui motori di ricerca più utile a far crescere il traffico qualificato.",
@@ -5940,7 +5938,6 @@
"templates.communityTemplates": "Modelli della comunità",
"templates.loading": "Caricamento dei modelli…",
"templates.loadingShort": "Caricamento",
- "templates.load": "Carica",
"templates.noneFound": "Nessun modello trovato",
"templates.tryDifferentSearch": "Prova un'altra ricerca.",
"common.tryAgain": "Riprova",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 7ebf8e0ea8..ee1292ff1e 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -6839,8 +6839,6 @@
"templates.close": "テンプレートを閉じる",
"templates.openRepository": "コミュニティテンプレートのリポジトリを開く",
"templates.communityRepo": "コミュニティリポジトリ",
- "templates.botCount": "ボット{count}体",
- "templates.playbookCount": "プレイブック{count}件",
"templates.minutes": "約{count}分",
"templates.catalog.seoGrowth.name": "SEOグロースチーム",
"templates.catalog.seoGrowth.summary": "見込み客のトラフィックを増やす可能性が最も高い検索施策を見つけ、優先順位を付けます。",
@@ -6867,7 +6865,6 @@
"templates.communityTemplates": "コミュニティのテンプレート",
"templates.loading": "テンプレートを読み込んでいます…",
"templates.loadingShort": "読み込み中",
- "templates.load": "読み込む",
"templates.noneFound": "テンプレートが見つかりません",
"templates.tryDifferentSearch": "別の検索語をお試しください。",
"common.tryAgain": "もう一度試す",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index cbf8613710..96bb19404f 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -6591,8 +6591,6 @@
"templates.close": "템플릿 닫기",
"templates.openRepository": "커뮤니티 템플릿 저장소 열기",
"templates.communityRepo": "커뮤니티 저장소",
- "templates.botCount": "봇 {count}개",
- "templates.playbookCount": "플레이북 {count}개",
"templates.minutes": "약 {count}분",
"templates.catalog.seoGrowth.name": "SEO 성장 팀",
"templates.catalog.seoGrowth.summary": "양질의 검색 유입을 늘릴 가능성이 가장 높은 작업을 찾아 우선순위를 정해요.",
@@ -6619,7 +6617,6 @@
"templates.communityTemplates": "커뮤니티 템플릿",
"templates.loading": "템플릿 불러오는 중…",
"templates.loadingShort": "불러오는 중",
- "templates.load": "불러오기",
"templates.noneFound": "템플릿을 찾지 못했어요",
"templates.tryDifferentSearch": "다른 검색어를 써 보세요.",
"common.tryAgain": "다시 시도",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 091b78c90a..0d5d92fb2e 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -6034,8 +6034,6 @@
"templates.close": "Zamknij szablony",
"templates.openRepository": "Otwórz repozytorium szablonów społeczności",
"templates.communityRepo": "Repozytorium społeczności",
- "templates.botCount": "Boty: {count}",
- "templates.playbookCount": "Scenariusze: {count}",
"templates.minutes": "~{count} min",
"templates.catalog.seoGrowth.name": "Zespół wzrostu SEO",
"templates.catalog.seoGrowth.summary": "Znajdź i ustal priorytety działań w wyszukiwarkach, które najpewniej zwiększą wartościowy ruch.",
@@ -6062,7 +6060,6 @@
"templates.communityTemplates": "Szablony społeczności",
"templates.loading": "Ładowanie szablonów…",
"templates.loadingShort": "Ładowanie",
- "templates.load": "Wczytaj",
"templates.noneFound": "Nie znaleziono szablonów",
"templates.tryDifferentSearch": "Spróbuj innego wyszukiwania.",
"common.tryAgain": "Spróbuj ponownie",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index 3d762b4740..eb6812f125 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -7436,8 +7436,6 @@
"templates.close": "Fechar modelos",
"templates.openRepository": "Abrir o repositório de modelos da comunidade",
"templates.communityRepo": "Repositório da comunidade",
- "templates.botCount": "Bots: {count}",
- "templates.playbookCount": "Playbooks: {count}",
"templates.minutes": "~{count} min",
"templates.catalog.seoGrowth.name": "Equipe de crescimento com SEO",
"templates.catalog.seoGrowth.summary": "Encontre e priorize as ações de SEO com mais chance de aumentar o tráfego qualificado.",
@@ -7464,7 +7462,6 @@
"templates.communityTemplates": "Modelos da comunidade",
"templates.loading": "Carregando modelos…",
"templates.loadingShort": "Carregando",
- "templates.load": "Carregar",
"templates.noneFound": "Nenhum modelo encontrado",
"templates.tryDifferentSearch": "Tente outra busca.",
"common.tryAgain": "Tentar novamente",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 9786e17666..7faf5717c3 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -6124,8 +6124,6 @@
"templates.close": "Закрыть шаблоны",
"templates.openRepository": "Открыть репозиторий шаблонов сообщества",
"templates.communityRepo": "Репозиторий сообщества",
- "templates.botCount": "ботов: {count}",
- "templates.playbookCount": "плейбуков: {count}",
"templates.minutes": "~{count} мин",
"templates.catalog.seoGrowth.name": "Команда роста SEO",
"templates.catalog.seoGrowth.summary": "Найти и приоритизировать работу над поиском, которая вероятнее всего растит целевой трафик.",
@@ -6152,7 +6150,6 @@
"templates.communityTemplates": "Шаблоны сообщества",
"templates.loading": "Загрузка шаблонов…",
"templates.loadingShort": "Загрузка",
- "templates.load": "Загрузить",
"templates.noneFound": "Шаблоны не найдены",
"templates.tryDifferentSearch": "Попробуйте изменить условия поиска.",
"common.tryAgain": "Повторить попытку",
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index f536fb9450..9e74d6f52f 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -424,7 +424,7 @@
"sidebar.archived.restoredMany": "df4d6a1f363c5b3a2ca3900bb237162053bc0b2bcc7de02b9c27cf0d13f7d78f",
"sidebar.new": "18fdd549b2ed367ac0c74cbec1214644728515b30edbcb78e7d322757a7c8359",
"sidebar.newOrShare": "d23251995ae60ba74b1e2d4de121199d7fc03aedd857c9cc567a350f98e13bcd",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.backup.hint": "267b923cecaa07b4ebb6296cbe68069a9d594f6196ba8b7d6bc64081efe9287d",
"sidebar.backup.exporting": "a2dd9cbb7013bb70fc7a4e5f3df1335bc1dd3e221592c9fef817d367341c39f4",
"sidebar.backup.export": "d6dfd0f0828004b8d9b5e268ba72d41106f93ae2800d18e3ce78bbfde25f601d",
@@ -5211,7 +5211,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
"sidebar.newChat.placeholder": "98340a82f198acc7eae206e00f919328e2ccaabfae3689498a1e6fa748f8e3b2",
@@ -10810,7 +10810,7 @@
"sidebar.archived.restoredMany": "df4d6a1f363c5b3a2ca3900bb237162053bc0b2bcc7de02b9c27cf0d13f7d78f",
"sidebar.new": "18fdd549b2ed367ac0c74cbec1214644728515b30edbcb78e7d322757a7c8359",
"sidebar.newOrShare": "d23251995ae60ba74b1e2d4de121199d7fc03aedd857c9cc567a350f98e13bcd",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.backup.hint": "267b923cecaa07b4ebb6296cbe68069a9d594f6196ba8b7d6bc64081efe9287d",
"sidebar.backup.exporting": "a2dd9cbb7013bb70fc7a4e5f3df1335bc1dd3e221592c9fef817d367341c39f4",
"sidebar.backup.export": "d6dfd0f0828004b8d9b5e268ba72d41106f93ae2800d18e3ce78bbfde25f601d",
@@ -14638,7 +14638,7 @@
"sidebar.archived.restoredMany": "df4d6a1f363c5b3a2ca3900bb237162053bc0b2bcc7de02b9c27cf0d13f7d78f",
"sidebar.new": "18fdd549b2ed367ac0c74cbec1214644728515b30edbcb78e7d322757a7c8359",
"sidebar.newOrShare": "d23251995ae60ba74b1e2d4de121199d7fc03aedd857c9cc567a350f98e13bcd",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.backup.hint": "267b923cecaa07b4ebb6296cbe68069a9d594f6196ba8b7d6bc64081efe9287d",
"sidebar.backup.exporting": "a2dd9cbb7013bb70fc7a4e5f3df1335bc1dd3e221592c9fef817d367341c39f4",
"sidebar.backup.export": "d6dfd0f0828004b8d9b5e268ba72d41106f93ae2800d18e3ce78bbfde25f601d",
@@ -19308,7 +19308,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
"sidebar.newChat.placeholder": "98340a82f198acc7eae206e00f919328e2ccaabfae3689498a1e6fa748f8e3b2",
@@ -27921,7 +27921,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newBotSimple": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
@@ -37734,7 +37734,7 @@
"sidebar.archived.restoredMany": "df4d6a1f363c5b3a2ca3900bb237162053bc0b2bcc7de02b9c27cf0d13f7d78f",
"sidebar.new": "18fdd549b2ed367ac0c74cbec1214644728515b30edbcb78e7d322757a7c8359",
"sidebar.newOrShare": "d23251995ae60ba74b1e2d4de121199d7fc03aedd857c9cc567a350f98e13bcd",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.backup.hint": "267b923cecaa07b4ebb6296cbe68069a9d594f6196ba8b7d6bc64081efe9287d",
"sidebar.backup.exporting": "a2dd9cbb7013bb70fc7a4e5f3df1335bc1dd3e221592c9fef817d367341c39f4",
"sidebar.backup.export": "d6dfd0f0828004b8d9b5e268ba72d41106f93ae2800d18e3ce78bbfde25f601d",
@@ -48032,7 +48032,7 @@
"sidebar.resize": "243854b4d0c709a06e41005bc74a72d6b49463cc2d9ac5bc2967666f6b988c88",
"sidebar.new": "18fdd549b2ed367ac0c74cbec1214644728515b30edbcb78e7d322757a7c8359",
"sidebar.newOrShare": "d23251995ae60ba74b1e2d4de121199d7fc03aedd857c9cc567a350f98e13bcd",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.backup.hint": "267b923cecaa07b4ebb6296cbe68069a9d594f6196ba8b7d6bc64081efe9287d",
"sidebar.backup.exporting": "a2dd9cbb7013bb70fc7a4e5f3df1335bc1dd3e221592c9fef817d367341c39f4",
"sidebar.backup.export": "d6dfd0f0828004b8d9b5e268ba72d41106f93ae2800d18e3ce78bbfde25f601d",
@@ -57883,7 +57883,7 @@
"sidebar.archived.restoredMany": "df4d6a1f363c5b3a2ca3900bb237162053bc0b2bcc7de02b9c27cf0d13f7d78f",
"sidebar.new": "18fdd549b2ed367ac0c74cbec1214644728515b30edbcb78e7d322757a7c8359",
"sidebar.newOrShare": "d23251995ae60ba74b1e2d4de121199d7fc03aedd857c9cc567a350f98e13bcd",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.backup.hint": "267b923cecaa07b4ebb6296cbe68069a9d594f6196ba8b7d6bc64081efe9287d",
"sidebar.backup.exporting": "a2dd9cbb7013bb70fc7a4e5f3df1335bc1dd3e221592c9fef817d367341c39f4",
"sidebar.backup.export": "d6dfd0f0828004b8d9b5e268ba72d41106f93ae2800d18e3ce78bbfde25f601d",
@@ -62498,7 +62498,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
"sidebar.newChat.placeholder": "98340a82f198acc7eae206e00f919328e2ccaabfae3689498a1e6fa748f8e3b2",
@@ -68419,7 +68419,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
"sidebar.newChat.placeholder": "98340a82f198acc7eae206e00f919328e2ccaabfae3689498a1e6fa748f8e3b2",
@@ -74683,7 +74683,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
"sidebar.newChat.placeholder": "98340a82f198acc7eae206e00f919328e2ccaabfae3689498a1e6fa748f8e3b2",
@@ -81826,7 +81826,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
"sidebar.newChat.placeholder": "98340a82f198acc7eae206e00f919328e2ccaabfae3689498a1e6fa748f8e3b2",
@@ -88972,7 +88972,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
"sidebar.newChat.placeholder": "98340a82f198acc7eae206e00f919328e2ccaabfae3689498a1e6fa748f8e3b2",
@@ -96266,7 +96266,7 @@
"sidebar.servers": "68d7beb6df59ee85bc11a6679c29ac3e6aab738833c6871c6df29ae0246d5d98",
"sidebar.switchServer": "1c7057c76ebd42cee1ad08ca5126ae029566b1131aa0c61433ae5fa573cd759d",
"sidebar.switchServerError": "a8ee1ec65d30a29574343cedbd9d5fa28a90d3d80e6879d1426122925a9d8e12",
- "sidebar.newBot": "58c1610feb66797946583e275e0a96b3ec05b554757e95d52a1c31e5ec8238a1",
+ "sidebar.newBot": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newBotSimple": "b88293aa253c9d4f06225b3c5c226dfcbf0d50301252e00a44ba66acc1574c72",
"sidebar.newChat.title": "db18382a249e0206bc28514931d423b77d55dce180c1eb8e4bf35f861c9a50ec",
"sidebar.newChat.to": "2b5fc5c94f64250c5600c58f0adc9e2ff34e333359d77b7649112fbed3554867",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 06efd1b2f3..9201f7539e 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -1356,7 +1356,7 @@
"sidebar.servers": "Sunucular",
"sidebar.switchServer": "Sunucu değiştir: {name}",
"sidebar.switchServerError": "Sunucu listesi açılamadı. Sunucu menüsünü deneyin.",
- "sidebar.newBot": "Yeni Bot",
+ "sidebar.newBot": "Yeni bot",
"sidebar.newChat.title": "Yeni sohbet",
"sidebar.newChat.to": "Kime:",
"sidebar.newChat.placeholder": "Şununla sohbet başlat…",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index 3d3deab583..fbff8656ad 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -7051,8 +7051,6 @@
"templates.close": "關閉範本",
"templates.openRepository": "開啟社群範本儲存庫",
"templates.communityRepo": "社群儲存庫",
- "templates.botCount": "{count} 個機器人",
- "templates.playbookCount": "{count} 份工作手冊",
"templates.minutes": "約 {count} 分鐘",
"templates.catalog.seoGrowth.name": "SEO 成長團隊",
"templates.catalog.seoGrowth.summary": "找出最有可能帶來優質流量的搜尋優化工作,並排定優先順序。",
@@ -7079,7 +7077,6 @@
"templates.communityTemplates": "社群範本",
"templates.loading": "正在載入範本…",
"templates.loadingShort": "載入中",
- "templates.load": "載入",
"templates.noneFound": "找不到範本",
"templates.tryDifferentSearch": "請試試其他搜尋字詞。",
"common.tryAgain": "再試一次",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 81dfa45877..10b7519897 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -7024,8 +7024,6 @@
"templates.close": "关闭模板",
"templates.openRepository": "打开社区模板仓库",
"templates.communityRepo": "社区仓库",
- "templates.botCount": "{count} 个机器人",
- "templates.playbookCount": "{count} 个操作手册",
"templates.minutes": "约 {count} 分钟",
"templates.catalog.seoGrowth.name": "SEO 增长团队",
"templates.catalog.seoGrowth.summary": "找出并安排最有可能带来合格流量的搜索工作。",
@@ -7052,7 +7050,6 @@
"templates.communityTemplates": "社区模板",
"templates.loading": "正在加载模板…",
"templates.loadingShort": "加载中",
- "templates.load": "加载",
"templates.noneFound": "未找到模板",
"templates.tryDifferentSearch": "换个关键词试试。",
"common.tryAgain": "重试",